1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
|
commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 19 15:13:28 2012 +0100
release 3.7.2
NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
commit 29dc7425dd7584411b52ef07b50f929ed119a000
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 19 14:37:02 2012 +0100
Fix distcheck
Commit e617f76e forgot to rename the file in EXTRA_DIST
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 19 14:34:13 2012 +0100
tests: Fix unicode vs. str issues in Python 2
Some of the tests assumed a system default encoding of UTF-8, which
is not true
in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
this.
tests/test_gi.py | 8 ++++----
tests/test_iochannel.py | 16 +++++++++-------
2 files changed, 13 insertions(+), 11 deletions(-)
commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 19 14:20:56 2012 +0100
tests: Fix previous commit to fail properly on test failures
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 19 14:09:14 2012 +0100
tests: Run pygtkcompat tests separately
pygtkcompat changes the global namespace, in particular patching
Gdk and Gtk
overrides. Run the tests in a separate process so that the main
tests are not
potentially affected by the pygtkcompat test.
runtests.py runs all tests/test_*.py by default, so rename to
compat_test_pygtk.py and run that explicitly after successfully
running the
main tests.
See https://bugzilla.gnome.org/show_bug.cgi?id=688219
tests/Makefile.am | 3 +
tests/compat_test_pygtk.py | 147
+++++++++++++++++++++++++++++++++++++++++++++
tests/test_pygtkcompat.py | 147
---------------------------------------------
3 files changed, 150 insertions(+), 147 deletions(-)
commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Thu Nov 15 02:51:52 2012 -0800
Move pygtkcompat into sibling package of gi
Move the pygtkcompat module out of the gi package and into
a sibling package as follows:
pygobject/
gi/
pygtkcompat/
This allows for pygtkcompat to grow without affecting the gi package.
Add deprecation message to gi/pygtkcompat.py
https://bugzilla.gnome.org/show_bug.cgi?id=688219
Makefile.am | 2 +-
configure.ac | 1 +
gi/pygtkcompat.py | 524
+++------------------------------------------
pygtkcompat/Makefile.am | 15 ++
pygtkcompat/__init__.py | 20 ++
pygtkcompat/pygtkcompat.py | 501
+++++++++++++++++++++++++++++++++++++++++++
tests/test_pygtkcompat.py | 6 +-
7 files changed, 565 insertions(+), 504 deletions(-)
commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 19 13:59:20 2012 +0100
Bump g-i dependency to >= 1.34.2
We need this for updated GLib annotations and new test API.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f6c994c76cd8010460b76bf455e1a341348d735b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 19 10:39:26 2012 +0100
test_gi: Fix failing tests with g-i 1.34.x
Skip tests which require g-i test API from 1.35.x when building
with g-i
1.34.x.
tests/test_gi.py | 6 ++++++
1 file changed, 6 insertions(+)
commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 11:57:21 2012 +0100
test_gi: Add tests for type "filename"
tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
commit 3408a151e49d9520f54ad9bc04f620c7777125ec
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 11:09:33 2012 +0100
Drop foreign GVariant registration/support
This is dead code. We have tests for GVariant in and out method
arguments,
callback arguments and return values, properties, etc to ensure that
this stays
working.
gi/Makefile.am | 2 --
gi/pygi-foreign-gvariant.c | 63
----------------------------------------------
gi/pygi-foreign-gvariant.h | 41 ------------------------------
gi/pygi-foreign.c | 8 +-----
4 files changed, 1 insertion(+), 113 deletions(-)
commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 10:33:24 2012 +0100
test_properties.py: Fix PEP-8 errors
tests/test_properties.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 10:14:36 2012 +0100
Add support for GVariant properties defined in Python
gi/_gobject/gobjectmodule.c | 13 +++++++
gi/_gobject/propertyhelper.py | 11 ++++--
tests/test_properties.py | 81
+++++++++++++++++++++++++++++++++++++------
3 files changed, 91 insertions(+), 14 deletions(-)
commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 09:33:43 2012 +0100
pyg_value_from_pyobject(): Simplify GVariant type check
Use pyg_type_from_object_strict() instead of the much more expensive
and local
pyg_get_gvariant_type().
gi/_gobject/pygtype.c | 23 +----------------------
1 file changed, 1 insertion(+), 22 deletions(-)
commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 09:27:42 2012 +0100
test_everything: Add test for callback returning wrong type
This covers the "expected a GVariant, got something else" check in
pyg_value_from_pyobject().
tests/test_everything.py | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
commit 84db7109dfbaf443758a5a4871ee385686d2703d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 08:42:53 2012 +0100
Add type checking to GVariant argument assignment
gi/pygi-argument.c | 7 ++++++-
tests/test_gi.py | 5 ++---
2 files changed, 8 insertions(+), 4 deletions(-)
commit e944caf5ff53143a98dd4a5578530996358013ec
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 08:22:35 2012 +0100
Add support for GVariant properties defined in C
Note that trying to assign a non-GVariant value to a GVariant property
currently crashes.
gi/pygi-property.c | 6 +++++-
tests/test_gi.py | 21 +++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 07:09:58 2012 +0100
test_unknown.py: Check property interface
NB that the property implementation in test-unknown.c does not
actually do
anything, we just want to assert that the properties are properly
registered.
tests/test_unknown.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 9d7771affcf788d251cced65da56fc2773a278b3
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 07:01:24 2012 +0100
Fix previous commit for Python 2
gi/pygi-foreign-cairo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 997d4e70b2793039d916acf8921087576622152e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 06:57:04 2012 +0100
pygi-foreign-cairo.c: Use official py3cairo API
Do not clobber py3cairo's Pycairo_CAPI global variable, and use
import_cairo()
instead of our own code.
gi/pygi-foreign-cairo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 06:47:23 2012 +0100
Drop dead code from pygi-callbacks.[hc]
_pygi_create_callback() and _pygi_scan_for_callbacks() are not
used anywhere.
_pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
so move it
there, and drop pygi-callbacks.[hc] completely.
gi/Makefile.am | 2 -
gi/pygi-callbacks.c | 217
----------------------------------------------
gi/pygi-callbacks.h | 48 ----------
gi/pygi-marshal-from-py.c | 44 ++++++++++
gi/pygi-private.h | 1 -
5 files changed, 44 insertions(+), 268 deletions(-)
commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
Author: Carlos Garnacho <carlos@lanedo.com>
Date: Tue Nov 13 18:24:28 2012 +0100
Fix marshalling of arrays of struct pointers to Python
Fill in the pointer to the struct, not the pointer to the
array position. This makes the GdkAtom** argument in
gtk_clipboard_wait_for_targets() work.
https://bugzilla.gnome.org/show_bug.cgi?id=678620
gi/pygi-marshal-to-py.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit fc021516552b1720bacc4afe6b7a610c413194c4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 14 06:27:17 2012 +0100
test_atoms.py: Add test for out array
This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
tests/test_atoms.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
commit e2790d22610aae773635d4caef2458082a307283
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 13 16:38:36 2012 +0100
Fix Gdk.Atom str()/repr() fallback
Fix regression in commit 6713618: If an atom does not have a name,
do not
recursively call our own str()/repr() methods, but just print
"Gdk.Atom<atom_id>".
gi/overrides/Gdk.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 13 13:16:14 2012 +0100
test_gi: Stop using GLib.bytes.unref_to_array()
This method isn't safe for GI, and should be (skip)ed. Use get_data()
instead
which is safe and works fine.
See https://bugzilla.gnome.org/show_bug.cgi?id=688242
tests/test_gi.py | 6 ------
1 file changed, 6 deletions(-)
commit 671361841de797ef62b59d1d7568fc3d431898c7
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 13 12:56:11 2012 +0100
Fix Gdk.Atom to have a proper str() and repr()
Gdk.Atom is not proper GType'd class, so we cannot override the
whole class.
Just override its __str__() and __repr__() methods so that printing
atoms shows
something sensible. For nameless/invalid atoms, fall back to the old
<void at 0xdeadbeef> output to help with debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=678620
gi/overrides/Gdk.py | 21 +++++++++++++++++++++
tests/test_atoms.py | 12 ++++++++++++
2 files changed, 33 insertions(+)
commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Tue Nov 13 02:53:34 2012 -0800
Make sure g_value_set_boxed does not cause a buffer overrun with
GStrvs
Add NULL terminator to gchar** passed to g_value_set_boxed to
make sure it does not overrun memory in pygi_set_property_value_real.
Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
in these cases.
https://bugzilla.gnome.org/show_bug.cgi?id=688232
gi/pygi-property.c | 8 ++++++--
tests/Makefile.am | 1 +
2 files changed, 7 insertions(+), 2 deletions(-)
commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 12 08:35:28 2012 +0100
types.py: Fix PEP-8 violation
gi/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit df589458358d7e7bf178dff4e6ad937a70f806e3
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Sun Nov 11 22:26:19 2012 -0800
Fix leaks with GValues holding boxed and object types
Expose read access to PyGIBoxed.free_on_dealloc.
Add GObject.Value.__del__ override and call unset() to
correctly free reference counts.
https://bugzilla.gnome.org/show_bug.cgi?id=688137
gi/overrides/GObject.py | 9 +++++++++
gi/pygi-boxed.c | 12 ++++++++++++
tests/test_gi.py | 2 --
3 files changed, 21 insertions(+), 2 deletions(-)
commit c01c95b9fb3d726385efac945f6d1270ae65d109
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Sun Nov 11 19:46:15 2012 -0800
Add expectantly failing unittests for GValue boxed/object leaks
https://bugzilla.gnome.org/show_bug.cgi?id=688137
tests/test_gi.py | 80
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 80 insertions(+)
commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
Author: Simon Feltman <s.feltman@gmail.com>
Date: Thu Aug 16 15:09:08 2012 -0700
Add doc strings showing method signatures for gi methods
Add signature based doc string to all methods pulled in from
introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
icon_area:cairo.RectangleInt
https://bugzilla.gnome.org/show_bug.cgi?id=681967
gi/overrides/GIMarshallingTests.py | 1 +
gi/pygi-info.c | 103
+++++++++++++++++++++++++++++++++----
gi/pygi-type.c | 60 +++++++++++++++++++++
gi/pygi-type.h | 1 +
gi/types.py | 92
++++++++++++++++++++++++++-------
tests/test_gi.py | 30 +++++++++++
6 files changed, 259 insertions(+), 28 deletions(-)
commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Fri Nov 9 19:17:03 2012 -0800
Set Property instance doc string and blurb to getter doc string
Assign Property getter __doc__ strings or explicit blurb parameters
to the Property instances __doc__ attribute. This clobbers the
default Property classes lengthy and unhelpful doc string in the case
of instances.
https://bugzilla.gnome.org/show_bug.cgi?id=688025
gi/_gobject/propertyhelper.py | 10 +++++++---
tests/test_properties.py | 14 ++++++++++----
2 files changed, 17 insertions(+), 7 deletions(-)
commit c5343d329ebb452d97afac30e4120ebab8477556
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 12 07:47:02 2012 +0100
tests: Fix for Python 2
Add quirks for Python 2's string handling, and disable the
Everything.test_array_gint8_in() as there seems to be no way of
creating a byte
array in Python 2.
tests/test_everything.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 10 15:52:15 2012 +0100
test_everything: Add tests for more Regress data and container types
Add more tests for Regress' data and container type test API.
This detects a number of bugs, which have been marked as expected
failure, or
disabled completely for the cases where they cause crashes:
* unsigned enums with values >= 0x80000000 do not work
* nested ghashes in return values do not work
* array length arguments in callbacks are passed instead of
suppressed
tests/test_everything.py | 156
++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 154 insertions(+), 2 deletions(-)
commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 18:45:22 2012 +0100
test_everything: Add tests for Regress type tests
Add tests for all the data type handling tests of g-i's Regress
module.
tests/test_everything.py | 183
+++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 183 insertions(+)
commit 0d7974396e8379b518403983d9d13629066680d7
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 18:44:50 2012 +0100
Add GObject.G_MINSSIZE
gi/_gobject/gobjectmodule.c | 1 +
gi/overrides/GObject.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 16:02:00 2012 +0100
Fix marshalling of GByteArrays
In _pygi_marshal_from_py_array(), set the array length after copying
the data
in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
otherwise it
will always come out as zero length.
Enable the TestGByteArray.test_bytearray_none_in() test case as that
works now.
gi/pygi-marshal-from-py.c | 1 +
tests/test_gi.py | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
commit fa568949c46dd4b537357f1af74d1f675294b760
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 15:23:37 2012 +0100
Fix marshalling of ssize_t to smaller ints
Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
TestArray.test_array_in test, so drop the expected failure.
gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
tests/test_gi.py | 2 --
2 files changed, 29 insertions(+), 3 deletions(-)
commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 09:37:00 2012 +0100
test_gi: Enable GByteArray constructor tests
GByteArray annotations have been fixed in GLib now, enable the
test case.
Drop the redundant disabled_test_bytearray_none_in_from_bytes()
test, as this
is the same as disabled_test_bytearray_none_in().
tests/test_gi.py | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
commit e2c545896ab08b1f1885b502a8472db83f193d08
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 09:11:38 2012 +0100
test_gi: Enable GBytes test cases
GBytes annotations are fixed in GLib now, enable the test case and
add more
for g_bytes_new_take() and g_bytes_{compare,equal}().
Please note that calling unref_to_array() on a GBytes object that
we created
ourselves currently causes a double free crash, so disable that part
for now.
tests/test_gi.py | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 08:26:29 2012 +0100
test_gi: Add missing data type tests from GIMarshallingTests
Add tests for types time_t, GBytes, GByteArray, and various variants
of passing
around GValues, flags, enums, arrays, and boxed structs. This tests
API which
is provided by GIMarshallingTests, but which we did not cover yet.
This detects a number of bugs in annotations and our
marshalling. These have
been marked as expected failure, or disabled completely for the
cases where
they cause crashes.
tests/test_gi.py | 152
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 152 insertions(+)
commit 0456d9c892b76ed79134230a4a8610a23c602964
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 06:44:46 2012 +0100
autogen.sh: Only enable code coverage if lcov is installed
Otherwise we break minimal build environments.
autogen.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit 76a3acebf73f930c541d0f30249f67d254f948ab
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Nov 9 06:41:58 2012 +0100
Lower autoconf dependency to 2.68 again
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f1a5f1b92d577c542d4258e63e595d4da9acd484
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Nov 8 14:54:30 2012 +0100
Add support for lcov code coverage
Use gnome-common's new code coverage flags. Default to enabling
code coverage
in autogen.sh (but not for dist).
To use this, run "make check-code-coverage" after building.
.gitignore | 1 +
Makefile.am | 2 ++
autogen.sh | 2 +-
configure.ac | 6 ++++++
4 files changed, 10 insertions(+), 1 deletion(-)
commit e46af4aba220cfaf4b84a9be847f3363da556993
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 7 17:14:22 2012 +0100
Update documentation files
Update AUTHORS to have the current maintainers.
Update HACKING to drop Tomeu's GNOME login (this should be set in
~/.ssh/config)
Update INSTALL to current upstream version.
AUTHORS | 13 ++-
HACKING | 4 +-
INSTALL | 380
+++++++++++++++++++++++++++++++++++++++++++---------------------
3 files changed, 267 insertions(+), 130 deletions(-)
commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 7 17:08:11 2012 +0100
Quiesce automake output
Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
messages about
existing symlinks on rebuilds.
gi/Makefile.am | 2 +-
gi/_glib/Makefile.am | 2 +-
gi/_gobject/Makefile.am | 2 +-
tests/Makefile.am | 6 +++---
4 files changed, 6 insertions(+), 6 deletions(-)
commit 37270de8ead0b281a1824ff204a4aa9686a7225b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 7 16:50:07 2012 +0100
Drop unused variable, fail builds on those
Build with -Werror=unused-variable, as these could hide programming
errors or
incomplete refactoring, and are not platform dependent.
Drop unused variable in pyg_type_add_interfaces().
configure.ac | 1 +
gi/_gobject/gobjectmodule.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 7 16:37:04 2012 +0100
configure.ac: Drop maintainer mode, modernize libtool declarations
Use all arguments of AC_INIT.
AM_MAINTAINER_MODE is discouraged now, drop it.
Use LT_PREREQ and LT_INIT for libtool initialization instead of
the older
declarations.
See https://live.gnome.org/GnomeGoals/ModernAutotools
configure.ac | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 7 16:21:13 2012 +0100
autoupdate configure.ac
Result of "autoupdate", with slight manual beautification.
See https://live.gnome.org/GnomeGoals/ModernAutotools
configure.ac | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
commit a932446e6648ecd98c9038298b18c6fbd36c01aa
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Mon Nov 5 14:26:05 2012 -0300
pygi-convert: remove deprecated GLib → GObject conversions
Using these functions from the GObject module is deprecated now,
they should be
used from GLib.
pygi-convert.sh | 5 -----
1 file changed, 5 deletions(-)
commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Wed Nov 7 03:49:24 2012 -0800
Use hasattr when testing for __info__ when finding vfuncs
Change gi.types.find_vfunc_info_in_interface to use hasattr
when finding vfuncs. Using '__info__' in __dict__ was skipping
overridden interfaces which don't directly contain the __info__.
gi/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1b5c9b3d1499b3bc59afb297672abc671e175546
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Nov 7 12:05:24 2012 +0100
tests: Ensure that the fatal mask is always reset
On test case failures the fatal mask might be left in a wrong state,
so ensure
with "finally" that it is reset on failed tests as well, to avoid
hiding other
failures.
tests/test_gi.py | 11 ++++++-----
tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
tests/test_pygtkcompat.py | 6 ++++--
tests/test_signal.py | 6 ++++--
4 files changed, 33 insertions(+), 23 deletions(-)
commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Tue Nov 6 21:34:06 2012 -0800
Replace GObject notify methods with introspection and python
Replace static context managers for freeze_notify and
handler_block with python context managers. Remove notify,
freeze_notify, thaw_notify static methods as the introspection
versions work fine.
https://bugzilla.gnome.org/show_bug.cgi?id=672727
gi/_gobject/pygobject.c | 173
++----------------------------------------------
gi/overrides/GObject.py | 61 +++++++++++++++--
tests/test_gobject.py | 26 ++++++--
tests/test_signal.py | 13 +++-
4 files changed, 91 insertions(+), 182 deletions(-)
commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Tue Oct 23 13:56:32 2012 -0700
Add support for overriding GObject.Object
Shift pygi module mechanics so the introspection generated 'Object'
class becomes derived from the static GObject class. Add initial
GObject.Object override which sets all static methods back essentially
leapfrogging the introspection methods. This sets the stage for having
the ability to remove static methods piecemeal in favor of
introspection/python in future commits.
https://bugzilla.gnome.org/show_bug.cgi?id=672727
gi/module.py | 30 +++++++++++---------
gi/overrides/GObject.py | 74
++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygobject-external.h | 10 +------
gi/types.py | 7 +++++
tests/test_gobject.py | 31 ++++++++++++++++----
tests/testhelpermodule.c | 2 +-
6 files changed, 126 insertions(+), 28 deletions(-)
commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 6 13:55:21 2012 +0100
Bump glib dependency to >= 2.34.2
We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
fixes.
README | 2 +-
configure.ac | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 6 11:28:42 2012 +0100
Update README
Point to python-hackers-list instead of the old pygtk list, update
required
versions, and point to wiki page and IRC.
README | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 6 11:21:32 2012 +0100
Add --with-python configure option
This behaves like setting $PYTHON, but also works in build systems
like jhbuild
which do not support setting environment variables.
Update README accordingly.
README | 15 +++++++++------
configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
2 files changed, 43 insertions(+), 15 deletions(-)
commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 6 10:39:27 2012 +0100
python.m4: Add python3.3, do not prefer unversioned "python"
Add python 3.3 to the search list.
http://www.python.org/dev/peps/pep-0394/ broke the well-defined
meaning of
"python", so use that as last fallback if more specific versions do
not exist.
configure.ac | 2 +-
m4/python.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 6 09:48:50 2012 +0100
m4: Update py-compile to current upstream version
Update py-compile to current versions from automake 1.11.6.
m4/py-compile | 81
+++++++++++++++++++++++++++++++++++------------------------
1 file changed, 48 insertions(+), 33 deletions(-)
commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 6 09:57:00 2012 +0100
m4: Update introspection.m4 to current upstream version
m4/introspection.m4 | 4 ++++
1 file changed, 4 insertions(+)
commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Nov 6 09:53:15 2012 +0100
option.py: Fix PEP-8 error
gi/_glib/option.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Mon Nov 5 18:27:56 2012 -0800
Remove DynamicGLibModule and DynamicGObjectModule
Move final bits of _glib static binding imports directly into
the GLib override. Change _glib/option use the .so directly
rather than the staged variables in _glib/__init__.py.
Remove DynamicGLibModule and DynamicGObjectModule and update
unittest.
https://bugzilla.gnome.org/show_bug.cgi?id=687488
gi/_glib/__init__.py | 11 ----------
gi/_glib/option.py | 16 +++++++-------
gi/importer.py | 12 ++---------
gi/module.py | 60
----------------------------------------------------
gi/overrides/GLib.py | 14 ++++++++++++
tests/test_gi.py | 9 ++------
6 files changed, 26 insertions(+), 96 deletions(-)
commit 901c1b6e3722a9cd999e4948297e2c460f101d20
Author: Daniel Drake <dsd@laptop.org>
Date: Thu Nov 1 14:46:22 2012 +0000
Fix property lookup in class hierarchy
Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
a Python subclass of a gi-provided base class overrides a property
from the
base class.
The new behaviour in the above commit causes pygobject to seek
the property
in the base class and try to read it from there (resulting in
confusion)
rather than noticing that the property is overridden and present
in the
Python object instance.
To provide a nicer solution here, we can exploit the fact that
g_object_class_find_property() will traverse the hierarchy in order to
find the right GParamSpec, and the returned GParamSpec can tell
us exactly
which GType introduces the property. The strategy is:
1. Find pspec with g_object_class_find_property()
2. Find the class that owns that property (pspec->owner_type)
3. See if girepository owns that class.
3a. If yes, get property from there.
3b. If not, get property "directly"
And the same for property setting.
Now that _pygi_lookup_property_from_g_type is always passed the
type that
implements the property, it no longer has to go recursing through
parent
classes, which was the original cause of confusion.
https://bugzilla.gnome.org/show_bug.cgi?id=686942
gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
gi/pygi-property.c | 130
++++++++++++++++++++++-------------------------
gi/pygi-property.h | 4 +-
gi/pygi.h | 12 ++---
tests/test_properties.py | 30 +++++++++++
5 files changed, 164 insertions(+), 104 deletions(-)
commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 3 16:14:01 2012 +0100
Move property and signal creation into _class_init()
We must not add class interfaces after g_type_class_ref() has been
called the
first time. Move signal and property creation from pyg_type_register()
into
pyg_object_class_init(), and drop the hack of registering interfaces
twice.
This changed class initialization order now exposes GLib's warning
about
unknown signals, so adjust
test_signal.TestGSignalsError.test_invalid_name() to
not abort on that.
https://bugzilla.gnome.org/show_bug.cgi?id=686149
gi/_gobject/gobjectmodule.c | 177
++++++++++++++++++--------------------------
tests/test_signal.py | 6 +-
2 files changed, 75 insertions(+), 108 deletions(-)
commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Sat Nov 3 13:21:52 2012 -0300
Remove unused macro definitions
PYGLIB_*_VERSION are not used anywhere any more, remove those.
(dropped in commit 8d52bceb1)
gi/_glib/glibmodule.c | 5 -----
1 file changed, 5 deletions(-)
commit fa054fd15b8874760bee97d9af168a2969e6ece4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 5 14:38:07 2012 +0100
testhelpermodule.c: Drop obsolete g_thread_init()
We already require a new enough glib version as we dropped
g_thread_init() in
the main code a long time ago. But for formality's sake, bump glib
requirement
to >= 2.32.
configure.ac | 4 ++--
tests/testhelpermodule.c | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
commit 2e57530a27a44e94927d487cf2f2d9e543777654
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 5 14:37:11 2012 +0100
pygi-source.c: Drop dead code
gi/pygi-source.c | 2 --
1 file changed, 2 deletions(-)
commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Sun Nov 4 22:22:53 2012 -0800
Move TYPE constants from _gobject to GObject
Clear out TYPE constants from _gobject/__init__.py and move them
into the
GObject overrides. Disperse class imports among modules that use
them instead
of using _gobject/__init__.py as a staging area (e.g. GInterface).
https://bugzilla.gnome.org/show_bug.cgi?id=687487
gi/_gobject/__init__.py | 30 ------------------------------
gi/_gobject/constants.py | 2 +-
gi/module.py | 38 +++++++++++++++++++++++++-------------
gi/overrides/__init__.py | 9 ++++++---
gi/types.py | 10 ++++++----
5 files changed, 38 insertions(+), 51 deletions(-)
commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 5 13:10:05 2012 +0100
Move G_MIN/MAX constants into GObject overrides
These really ought to come from GLib's typelib, but are not right
now so we
need to keep the static bindings for those. But drop them from
gi/_gobject/ and
move them into the overrides where they belong.
gi/_gobject/__init__.py | 17 -----------------
gi/_gobject/constants.py | 21 ---------------------
gi/_gobject/propertyhelper.py | 2 +-
gi/overrides/GObject.py | 9 +++++++++
tests/test_gi.py | 32 ++++++++++++++++----------------
5 files changed, 26 insertions(+), 55 deletions(-)
commit 12b84727edc36f686a7031b5c4c6bf662838908d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 5 11:04:54 2012 +0100
Replace static OPTION_* constants with GI
Drop static definitions of GLib.OPTION_* constants and use the ones
from GI
instead.
https://bugzilla.gnome.org/show_bug.cgi?id=686765
gi/_glib/__init__.py | 13 -------------
gi/_glib/glibmodule.c | 32 --------------------------------
gi/_glib/option.py | 46
++++++++++++++++++++++++----------------------
gi/overrides/GLib.py | 13 +++++++++++++
gi/overrides/GObject.py | 2 +-
5 files changed, 38 insertions(+), 68 deletions(-)
commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Nov 5 10:14:52 2012 +0100
tests: Do not use deprecated assertRaisesRegexp()
Use assertRaisesRegex() instead and provide 2.7 compatibility in
tests/runtests.py.
tests/runtests.py | 3 +++
tests/test_signal.py | 8 ++++----
2 files changed, 7 insertions(+), 4 deletions(-)
commit da2106902eb3dabebdff1674743cb3040566a745
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Sun Nov 4 02:57:29 2012 -0800
Move gobject static functions and constants to gi
Replace the following functions with gi and overrides:
type_children, type_interfaces, signal_list_ids, signal_list_names,
signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
PARAM_* from gi SignalFlags and ParamFlags respectively.
Move module level assignments of a number of static functions to
the GObject.py overrides file.
https://bugzilla.gnome.org/show_bug.cgi?id=687487
docs/reference/pygobject-functions.xml | 25 ---
gi/_gobject/__init__.py | 72 +--------
gi/_gobject/gobjectmodule.c | 272
---------------------------------
gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
gi/overrides/__init__.py | 5 +-
tests/test_signal.py | 11 +-
6 files changed, 215 insertions(+), 378 deletions(-)
commit f4acd6a9d14248d459708f61fd01f6d4735f087d
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Sun Nov 4 02:52:19 2012 -0800
Make unitests for gobject functions moving to gi more strict
Add expected failure test for invalid SystemError's coming from
signal_lookup and signal_list_ids. Remove excessive type_name
tests and type_from_name tests.
https://bugzilla.gnome.org/show_bug.cgi?id=687487
tests/test_gtype.py | 53
----------------------------------------------------
tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
2 files changed, 25 insertions(+), 68 deletions(-)
commit 3267808318b284814e52f2803b17af56fca648ad
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 3 14:17:25 2012 +0100
[API change] Remove static filename_from_utf8() binding
Replace static GLib.filename_from_utf8() with GI. The old static
binding always
tried to convert the result to an Unicode object, which will fail
if the result
is not UTF-8 encoded (which is the whole point of this function
really!), so
return bytes now.
Although the static binding was rather useless before, this is
technically an
API break.
docs/reference/pyglib-functions.xml | 32 --------------------------------
gi/_glib/__init__.py | 1 -
gi/_glib/glibmodule.c | 26 --------------------------
gi/_gobject/__init__.py | 1 -
gi/overrides/GLib.py | 8 ++++++++
gi/overrides/GObject.py | 3 ++-
tests/test_glib.py | 8 ++++++++
7 files changed, 18 insertions(+), 61 deletions(-)
commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 3 13:14:15 2012 +0100
Drop static glib_version and pyglib_version constants
Use the GLib version from GI instead, and the already existing
gi.version_info.
docs/reference/pyglib-constants.xml | 50
----------------------------------
docs/reference/pygobject-constants.xml | 19 -------------
gi/_glib/__init__.py | 2 --
gi/_glib/glibmodule.c | 21 --------------
gi/_gobject/__init__.py | 1 -
gi/overrides/GLib.py | 8 +++++-
gi/overrides/GObject.py | 3 +-
tests/test_glib.py | 12 ++++++++
8 files changed, 21 insertions(+), 95 deletions(-)
commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 3 12:12:44 2012 +0100
Drop static G_MININT8 and related constants
Use the introspected constants from GLib instead.
gi/_gobject/__init__.py | 12 ------------
gi/_gobject/constants.py | 12 ------------
gi/_gobject/gobjectmodule.c | 18 +-----------------
gi/overrides/GObject.py | 17 +++++++++++++++++
tests/test_gobject.py | 4 ++++
5 files changed, 22 insertions(+), 41 deletions(-)
commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 3 11:58:40 2012 +0100
test_gobject: Add test case for min/max int constants
Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
tests/test_gobject.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Sat Oct 27 15:37:32 2012 -0300
Use g_object_info_find_signal()
Replace our custom code with a call to the corresponding
gobject-instrospection
function.
https://bugzilla.gnome.org/show_bug.cgi?id=687371
gi/pygi-signal-closure.c | 21 ++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)
commit ae6d0aada9587cd4dca168375527b80785b604a0
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 3 11:23:06 2012 +0100
GLib overrides: code cleanup
Factorize the logic to handle zero or multiple user_data arguments
into
user_data_varargs_shim(), and put code that handles deprecated API
into the
corresponding "then" branches, to improve readability.
gi/overrides/GLib.py | 87
++++++++++++++++++++++++++++------------------------
1 file changed, 47 insertions(+), 40 deletions(-)
commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Nov 3 09:33:08 2012 +0100
Restore actual GLib API after previous fix
Re-fix the acceptance of priority as first argument for idle_add(),
io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
that
this keeps supporting the backwards compatible API with supplying
multiple user
data arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=687047
gi/overrides/GLib.py | 117
+++++++++++++++++++++++++-----------------------
tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
tests/test_source.py | 30 +++++++++++++
3 files changed, 158 insertions(+), 63 deletions(-)
commit 648b653d85bf3bc28dc59c6d309f15d388076af9
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Fri Nov 2 21:01:38 2012 -0700
Add unittests for module level type and signal functions
Add tests for the following methods: signal_list_ids,
signal_name, signal_lookup, signal_query, type_children,
type_from_name, type_name, type_is_a, and type_interfaces.
https://bugzilla.gnome.org/show_bug.cgi?id=687487
tests/Makefile.am | 1 +
tests/test_gtype.py | 106
+++++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_signal.py | 43 +++++++++++++++++++++
3 files changed, 150 insertions(+)
commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Tue Oct 30 18:33:44 2012 -0700
Fix GLib override incompatibilities with old static API
Change idle_add, timeout_add, timeout_add_seconds, and
io_add_watch to accept *args and **kwargs as arguments
to the callback functions instead of only accepting a single
user_data arg. This ensures the new overridden introspection
methods are backwards compatible with the static versions
they replaced.
https://bugzilla.gnome.org/show_bug.cgi?id=687047
gi/overrides/GLib.py | 98
++++++++++++++++++++++++++++---------------------
tests/test_iochannel.py | 37 +++++++++++++++++--
2 files changed, 90 insertions(+), 45 deletions(-)
commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Tue Oct 30 12:01:44 2012 -0700
Fix IOChannel unittests for python 2.7
Use __future__ unicode_literals to minimize difference
between python 2.7 and 3. Comparisons need to encode arguments as
'UTF-8' for testing readline operations.
Add backwards compatible "next" to support the python 2.7 iteration.
Change isinstance(channel, file) to hasattr(channel, 'fileno') to
support all python versions (and duck typing).
https://bugzilla.gnome.org/show_bug.cgi?id=687047
gi/overrides/GLib.py | 4 +++-
tests/test_iochannel.py | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Oct 29 23:00:31 2012 +0100
Allow calling io_add_watch with a file object
The old static bindings allowed that, so we need to allow it to
maintain
backwards compatibility. Deprecate this mode as well, so that we
can get rid of
it at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=687047
gi/overrides/GLib.py | 7 +++++++
tests/test_glib.py | 26 ++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
commit 3ba67fd41944309077eb81c4c03397519ed29dc4
Author: John Ralls <jralls@ceridwen.us>
Date: Mon Oct 29 14:57:22 2012 -0700
Fix duplicate symbols error on OSX
gi/pygi-source.c | 1 +
1 file changed, 1 insertion(+)
commit 5a367aa067e369f2b1e713199614e3426fecc10e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Oct 28 17:42:34 2012 +0100
Drop removed markup-escape-text() from reference documentation
docs/reference/pyglib-functions.xml | 36
------------------------------------
1 file changed, 36 deletions(-)
commit 057b3d3791e6f1947004f2482c0ae40529de03ae
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Oct 28 17:41:03 2012 +0100
Drop some dead code from gi/_glib/glibmodule.c
gi/_glib/glibmodule.c | 45 ---------------------------------------------
1 file changed, 45 deletions(-)
commit 7b12803bce3418bb487127f497f022c973f35888
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Oct 28 17:37:29 2012 +0100
Remove static get_current_time() binding
Use GLib.get_real_time() through GI instead. Deprecate the function,
as
GLib.get_real_time() should be called directly.
docs/reference/pyglib-functions.xml | 26 --------------------------
gi/_glib/__init__.py | 1 -
gi/_glib/glibmodule.c | 11 -----------
gi/_glib/pyglib.c | 16 ----------------
gi/_glib/pyglib.h | 1 -
gi/_gobject/__init__.py | 1 -
gi/overrides/GLib.py | 8 ++++++++
gi/overrides/GObject.py | 2 +-
tests/test_glib.py | 6 +++++-
9 files changed, 14 insertions(+), 58 deletions(-)
commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Oct 28 17:23:23 2012 +0100
Add more tests for GLib.spawn_async()
Check spawn_async() with getting stdin/out/err pipes and specifying
envp.
tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Oct 28 14:15:05 2012 +0100
Remove static child_add_watch() binding
Use the GLib API through GI instead, and provide override to keep
backwards
compatible API. Also allow using the actual GLib API, and deprecate
the old
static API of calling without a priority as first argument.
docs/reference/pyglib-functions.xml | 61 ---------------------------
gi/_glib/__init__.py | 1 -
gi/_glib/glibmodule.c | 72 -------------------------------
gi/_gobject/__init__.py | 1 -
gi/overrides/GLib.py | 46 ++++++++++++++++++++
gi/overrides/GObject.py | 2 +-
tests/test_mainloop.py | 2 +-
tests/test_subprocess.py | 84
++++++++++++++++++++++++++++++++++---
8 files changed, 127 insertions(+), 142 deletions(-)
commit 4b16427714b850e33c6020d8de1833bae19a3b87
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Oct 28 13:44:23 2012 +0100
test_subprocess: Cover more child_watch_add() cases
Verify that priority is set correctly, and also test calling without
userdata.
tests/test_subprocess.py | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
commit 83ff5938612d37d52f112867a472777dd6786d69
Author: Colin Walters <walters@verbum.org>
Date: Sat Oct 27 12:22:53 2012 -0400
gi/__init__.py: Pacify pep8 style checker
It was complaining about finding only 1 blank line. Regression
likely introduced by f976d05b.
https://bugzilla.gnome.org/show_bug.cgi?id=686991
gi/__init__.py | 1 +
1 file changed, 1 insertion(+)
commit f976d05b04f26e733d19988e68989e340eb3a29e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Oct 26 10:39:28 2012 +0200
Use a custom deprecation warning to make them visible by default
DeprecationWarning is not shown by default, and is thus rather
useless for
developers. Use a custom PyGIDeprecationWarning class and derive
it from
RuntimeWarning to make it visible.
gi/__init__.py | 5 +++++
gi/overrides/GLib.py | 5 +++--
gi/overrides/Gtk.py | 5 +++--
gi/overrides/__init__.py | 4 ++--
gi/pygtkcompat.py | 4 ++--
tests/Makefile.am | 2 +-
tests/test_glib.py | 5 +++--
tests/test_gobject.py | 3 ++-
tests/test_iochannel.py | 5 +++--
tests/test_source.py | 3 ++-
10 files changed, 26 insertions(+), 15 deletions(-)
commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Oct 26 09:26:17 2012 +0200
Remove static io_add_watch() binding
Use the GLib API through GI instead, and provide override to keep
backwards
compatible API. Also allow using the actual GLib API, and deprecate
all other
variants:
- calling with an fd as first argument instead of an IOChannel
- calling without a priority as second argument
docs/reference/pyglib-functions.xml | 106
------------------------------------
gi/_glib/__init__.py | 1 -
gi/_glib/glibmodule.c | 98
---------------------------------
gi/_gobject/__init__.py | 1 -
gi/overrides/GLib.py | 51 ++++++++++++++---
gi/overrides/GObject.py | 3 +-
tests/test_glib.py | 15 ++++-
tests/test_iochannel.py | 70 +++++++++++++++++++++++-
8 files changed, 126 insertions(+), 219 deletions(-)
commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Oct 26 08:48:35 2012 +0200
Add tests for GLib.io_add_watch()
tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Oct 25 15:55:46 2012 +0200
Remove static GIOChannel bindings
Use the GLib API through GI instead, and provide overrides to keep
backwards
compatible API, including its bugs.
We still need to keep a static wrapper around
g_io_channel_read_chars() until
we teach PyGObject to correctly handle caller allocated out array
arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=686795
gi/_glib/Makefile.am | 2 -
gi/_glib/__init__.py | 1 -
gi/_glib/glibmodule.c | 2 -
gi/_glib/pygiochannel.c | 748
------------------------------------------------
gi/_glib/pygiochannel.h | 29 --
gi/_gobject/__init__.py | 1 -
gi/gimodule.c | 72 +++++
gi/overrides/GLib.py | 95 +++++-
8 files changed, 161 insertions(+), 789 deletions(-)
commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Oct 25 12:59:46 2012 +0200
test_iochannel.py: Fix data type of IOFlags
~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
so ensure that
the result is of type GLib.IOFlags again.
tests/test_iochannel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 25d12afd06863ce223a161ba1317bfe5503bca5c
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Oct 25 08:24:31 2012 +0200
Add environment variable to disable pep8 checks
pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
set, which
makes the test/fix turnaround time faster.
tests/Makefile.am | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Wed Oct 24 04:31:26 2012 -0700
[API add] Add get_introspection_module for getting un-overridden
modules
Add gi.module.get_introspection_module to explicitly get a
wrapped module pulled in through introspection without static
and python override handling. This API is intended for python
overrides to use rather than having them access
gi.importer.modules['<name>']._introspection_module directly.
Replace aforementioned usage in all overrides.
https://bugzilla.gnome.org/show_bug.cgi?id=686828
gi/module.py | 38
+++++++++++++++++++++++++++++++++++---
gi/overrides/GIMarshallingTests.py | 4 ++--
gi/overrides/GLib.py | 4 ++--
gi/overrides/Gdk.py | 6 +++---
gi/overrides/Gio.py | 4 ++--
gi/overrides/Gtk.py | 5 +++--
gi/overrides/Pango.py | 4 ++--
tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
8 files changed, 78 insertions(+), 16 deletions(-)
commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 15:16:13 2012 +0200
test_option: Use public API
Use GLib.option, not gi._glib.option.
tests/test_option.py | 42 ++++++++++++++++++++----------------------
1 file changed, 20 insertions(+), 22 deletions(-)
commit 6a586af41b8740c4ba590591d1068d80071ff2dc
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 14:12:05 2012 +0200
Drop static SPAWN_* constants
Use the introspected constants instead, which are identical. Add
backwards
compatible aliases.
These constants are covered by tests/test_subprocess.py.
https://bugzilla.gnome.org/show_bug.cgi?id=686765
docs/reference/pyglib-constants.xml | 68
----------------------------------
docs/reference/pyglib-functions.xml | 26 ++++++-------
docs/reference/pygobject-constants.xml | 67
---------------------------------
gi/_glib/__init__.py | 7 ----
gi/_glib/glibmodule.c | 15 --------
gi/_gobject/__init__.py | 7 ----
gi/overrides/GLib.py | 6 +++
gi/overrides/GObject.py | 6 ++-
tests/test_subprocess.py | 6 ++-
9 files changed, 29 insertions(+), 179 deletions(-)
commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 13:59:31 2012 +0200
Drop static IO_* constants
Use the introspected constants instead, which are identical. Add
backwards
compatible aliases.
These constants are covered by tests/test_iochannel.py.
docs/reference/pyglib-constants.xml | 52
-------------------------------------
gi/_glib/__init__.py | 19 --------------
gi/_glib/glibmodule.c | 32 -----------------------
gi/_gobject/__init__.py | 18 -------------
gi/overrides/GLib.py | 18 ++++++++++++-
gi/overrides/GObject.py | 8 +++++-
tests/test_iochannel.py | 1 +
tests/test_source.py | 2 +-
8 files changed, 26 insertions(+), 124 deletions(-)
commit 0e1a6ccee45ae2239da1c44de1866596343165ba
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 12:50:50 2012 +0200
Fix various bugs in GLib.IOChannel
- Fix segfault when using an IOChannel as an iterator: PyIter_Next()
returns
NULL on the last element, instead of raising a StopIteration.
- The default encoding of a stream is 'UTF-8', not NULL. NULL means
that the
stream is being used in binary mode; in that case, we should not
attempt to
do any automagic conversion to an Unicode object. As this special
case is
inconsistent and has never worked anyway, and the current buggy
implementation breaks binary streams, just drop it without
replacement.
(Introduced in commit de9eae4dfcce8)
These bugs were uncovered by the previously committed tests.
gi/_glib/pygiochannel.c | 25 +++++--------------------
1 file changed, 5 insertions(+), 20 deletions(-)
commit a98c37937a4f7cb81a0b02c023d12097f386a22c
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 12:49:04 2012 +0200
Add tests for GLib.IOChannel
This did not have any code coverage at all. The tests uncover a
range of bugs,
which will be fixed in the next commit.
tests/Makefile.am | 1 +
tests/test_iochannel.py | 262
++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 263 insertions(+)
commit 1b27432abf6004553e9476d5ffeb2bf603534419
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 08:50:37 2012 +0200
Remove static idle_add/timeout_add bindings
Use the GLib functions through GI instead. Add overrides to ensure
that default
arguments continue to work as before, and that callbacks are called
without an
userdata argument if it wasn't specified.
docs/reference/pyglib-functions.xml | 165
------------------------------------
gi/_glib/__init__.py | 3 -
gi/_glib/glibmodule.c | 139 ------------------------------
gi/_gobject/__init__.py | 3 -
gi/overrides/GLib.py | 31 +++++++
gi/overrides/GObject.py | 3 +-
tests/test_source.py | 19 +++++
7 files changed, 52 insertions(+), 311 deletions(-)
commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 09:14:57 2012 +0200
Add tests for priority argument of idle_add/timeout_add
There is a potential to treat the priority as user data in a call like
"GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
force
using a keyword argument for the priority (but silently ignore it
if you
specify both userdata and priority as a positional argument).
Test the correct handling of priority as well.
tests/test_source.py | 63
++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 59 insertions(+), 4 deletions(-)
commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 08:40:50 2012 +0200
Drop old ChangeLog.pre-2.18
This is ancient by now, quite sizable, and the complete history can
always be
seen in the git log.
ChangeLog.pre-2.18 | 3608
----------------------------------------------------
Makefile.am | 1 -
2 files changed, 3609 deletions(-)
commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 08:39:05 2012 +0200
Fix PEP-8 whitespace in previous commit
tests/test_source.py | 4 ++++
1 file changed, 4 insertions(+)
commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 08:33:49 2012 +0200
Add tests for idle_add()/timeout_add with and without user data
This is implicitly spread over various test cases, but let's test
it explicitly
to ensure that the behaviour stays consistent when moving this to GI.
tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 08:05:43 2012 +0200
tests: consitent naming style
Stop mixing camel case and underline naming, use the latter
consistently
in all tests.
tests/test_gobject.py | 64
+++++++++++++++++++++++------------------------
tests/test_interface.py | 4 +--
tests/test_option.py | 14 +++++------
tests/test_pygtkcompat.py | 32 ++++++++++++------------
tests/test_signal.py | 10 ++++----
tests/test_source.py | 23 ++++++++---------
tests/test_subprocess.py | 2 +-
tests/test_thread.py | 2 +-
tests/test_unknown.py | 2 +-
9 files changed, 76 insertions(+), 77 deletions(-)
commit 4b460e2eb18b8340fe99252063fdb08b0c222968
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Oct 24 07:28:10 2012 +0200
Work around wrong 64 bit constants in GLib Gir
GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
explicitly
set them in an override, until this gets fixed properly.
https://bugzilla.gnome.org/show_bug.cgi?id=685022
gi/overrides/GLib.py | 8 ++++++++
tests/test_gi.py | 9 +++++++++
2 files changed, 17 insertions(+)
commit f30efd2619911c89ca873fac6bec06a1b60fab82
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Oct 23 13:32:14 2012 +0200
Mark GLib.Source.get_current_time() as deprecated
This method has been deprecated in GLib long ago. We have a workaround
implementation using GLib.get_real_time(), but eventually this should
go away.
gi/overrides/GLib.py | 5 ++++-
tests/test_source.py | 8 +++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Oct 23 08:56:19 2012 +0200
Mark GLib API that is exposed in GObject as deprecated
A lot of API in GObject really belongs into GLib and is just there for
historical/backwards compatible reasons. Mark these methods as
deprecated so
that at some point we can drop them.
gi/overrides/GObject.py | 3 ++-
gi/overrides/__init__.py | 13 +++++++++++++
tests/test_gobject.py | 24 ++++++++++++++----------
3 files changed, 29 insertions(+), 11 deletions(-)
commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Oct 19 09:55:05 2012 +0200
Remove static MainLoop, MainContext, and some GSource bindings
glib's MainLoop and MainContext are fully introspectable these days,
so remove
our static bindings. This reduces our code, as well enables GLib
API which
hasn't been available through the static bindings before.
This also requires dropping our custom static types for GLib Source,
Timeout,
and Idle. The latter two work fine with introspection and just
need tiny
overrides for a backwards compatible API. g_source_new() is not
introspectable,
though, so we need to keep our static wrappers for that. Move
them from
gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
GI API.
Note that gi/_glib/pygsource.[hc] is still required for the static
PollFD type
which is used by the static IOChannel binding. Once the latter
goes away,
PollFD can be dropped as well.
https://bugzilla.gnome.org/show_bug.cgi?id=686443
docs/Makefile.am | 6 +-
docs/reference/pyglib-classes.xml | 2 -
docs/reference/pyglib-constants.xml | 53 ---
docs/reference/pyglib-functions.xml | 58 ---
docs/reference/pyglib-maincontext.xml | 152 --------
docs/reference/pyglib-mainloop.xml | 202 -----------
gi/Makefile.am | 2 +
gi/_glib/Makefile.am | 4 -
gi/_glib/__init__.py | 12 -
gi/_glib/glibmodule.c | 45 +--
gi/_glib/pyglib.c | 15 -
gi/_glib/pyglib.h | 1 -
gi/_glib/pygmaincontext.c | 126 -------
gi/_glib/pygmaincontext.h | 40 ---
gi/_glib/pygmainloop.c | 362 -------------------
gi/_glib/pygmainloop.h | 36 --
gi/_glib/pygsource.c | 640
----------------------------------
gi/_glib/pygsource.h | 3 -
gi/_gobject/__init__.py | 13 -
gi/gimodule.c | 9 +
gi/overrides/GLib.py | 116 +++++-
gi/overrides/GObject.py | 10 +-
gi/pygi-private.h | 1 +
gi/pygi-source.c | 247 +++++++++++++
gi/pygi-source.h | 31 ++
tests/test_glib.py | 22 +-
tests/test_gobject.py | 2 +
tests/test_source.py | 3 -
28 files changed, 437 insertions(+), 1776 deletions(-)
commit 326218a20681c1f2234a6eea1ed800382be57626
Author: Simon Feltman <s.feltman@gmail.com>
Date: Wed Sep 19 15:37:14 2012 -0700
Deprecate void pointer fields as general PyObject storage.
Complete deprecation of gpointer struct fields as general
PyObject storage. Only int types are now allowed.
Assignment of anything other than an int or None raises
a TypeError stating the error and associated bug URL.
https://bugzilla.gnome.org/show_bug.cgi?id=683599
gi/pygi-argument.c | 25 ++++++++++++++++-----
gi/pygi-info.c | 28 ++++--------------------
tests/test_everything.py | 53
+++++++++++++++++++++++++--------------------
tests/test_overrides_gtk.py | 41 -----------------------------------
4 files changed, 54 insertions(+), 93 deletions(-)
commit 3dba328010a4ffd9259700ffec95871c7341d491
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Oct 23 11:59:08 2012 +0200
Add some MainLoop, MainContext, and Source test cases
These cover the remaining static API and behaviour, so that we
have good
regression tests for converting them to GI.
See https://bugzilla.gnome.org/show_bug.cgi?id=686443
tests/test_glib.py | 21 +++++++++++++++++++++
tests/test_gobject.py | 11 +++++++++++
tests/test_mainloop.py | 16 ++++++++++++++++
tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 92 insertions(+)
commit 7635340271df0a135873459e6a2a365fd4b187a2
Author: Steve Frécinaux <code@istique.net>
Date: Wed Feb 9 18:37:33 2011 +0100
[API change] Do not bind gobject_get_data() and gobject_set_data()
They will basically cause a crash if misused, and you can always use a
python member attribute instead.
These methods were marked as deprecated for 3.4 and throwing a
warning, so
let's remove them for good now.
https://bugzilla.gnome.org/show_bug.cgi?id=641944
Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
docs/reference/pygobject.xml | 63
--------------------------------------------
gi/_gobject/pygobject.c | 44 -------------------------------
2 files changed, 107 deletions(-)
commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Oct 23 08:17:40 2012 +0200
Add test for GLib.get_current_time()
This adds a plausibility test, as well as ensuring the documented
return type.
This will be useful if/once we drop the static _glib binding.
tests/test_glib.py | 5 +++++
1 file changed, 5 insertions(+)
commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Oct 23 07:48:52 2012 +0200
Drop unnecessary static _glib bindings
Drop static pyglib bindings which have straightforward and working
GLib GI
bindings. Add tests for all dropped functions to ensure they keep
working.
docs/reference/pyglib-constants.xml | 59 -------
docs/reference/pyglib-functions.xml | 270 ------------------------------
gi/_glib/__init__.py | 24 ---
gi/_glib/glibmodule.c | 319
------------------------------------
gi/_gobject/__init__.py | 9 -
gi/overrides/GLib.py | 16 ++
gi/overrides/GObject.py | 32 ++++
gi/overrides/Makefile.am | 1 +
tests/Makefile.am | 1 -
tests/test_glib.py | 46 ++++++
tests/test_gobject.py | 4 +
tests/test_uris.py | 16 --
12 files changed, 99 insertions(+), 698 deletions(-)
commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Oct 23 06:12:08 2012 +0200
Fix OverflowError in source_remove()
GSource IDs are unsigned, so we must use 'I' for parsing then, not
'i'.
https://bugzilla.gnome.org/show_bug.cgi?id=684526
gi/_glib/glibmodule.c | 2 +-
tests/test_source.py | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Oct 22 13:38:23 2012 +0200
Fix TestSource.testSources() test case
PyGObject has established the assumption that the destruction of
a GLib.Source
Python object does not destroy the actual GSource, as shown in
TestSource.setup_timeout(), TestTimeout.test504337(), and
https://bugzilla.gnome.org/show_bug.cgi?id=504337.
So we need to explicitly destroy our MySource and Idle objects
after using
them, as their callbacks always return True and we do not want them
to spill
over into other tests.
Also fix the assertions to actually verify that MySources' callback
was callied
(pos > 0, not pos >= 0), and use the unittest comparison API instead
of a
simple assert statement.
https://bugzilla.gnome.org/show_bug.cgi?id=686627
tests/test_source.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit b984a5fe0d065818a153f259db4dbde79534f084
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Oct 22 17:38:56 2012 +0200
configure.ac: post-release bump to 3.7.2
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ce0825f58c3eba6084143e430605ffb597622369
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Oct 22 17:37:17 2012 +0200
release 3.7.1
NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Oct 22 17:33:12 2012 +0200
Bump version to 3.7.1
Let's follow the real GNOME versioning from now on.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3fb13cc05a281970c3a624c2dd152996031b482c
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Oct 22 11:36:49 2012 +0200
test_mainloop code cleanup
Ensure that sys.excepthook is always restored, even if the test
fails. Use the
assert{True,False,Equal} unittest API instead of simple asserts for
more useful
failure messages.
tests/test_mainloop.py | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
commit 31061f20083aa60919f6763a12addbf2b052cab7
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Sun Oct 21 18:55:24 2012 -0700
Change install_properties to not use getattr on classes
The usage of getattr for accessing a classes __gproperties__
variable can be problematic due to the potential of it returning
the parent classes variable when it does not exist on the sub-class.
Similar to the fix for
https://bugzilla.gnome.org/show_bug.cgi?id=686496,
cls.__dict__.get is used to ensure this does not happen.
https://bugzilla.gnome.org/show_bug.cgi?id=686559
gi/_gobject/propertyhelper.py | 2 +-
tests/test_properties.py | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
commit 438d3e68f19e2af5d027e18842ab05e0421d088d
Author: Simon Feltman <sfeltman@src.gnome.org>
Date: Sat Oct 20 19:56:04 2012 -0700
Move property install function into propertyhelper.py
Move _install_properties() into gi/_gobject/propertyhelper.py
and add unittests.
https://bugzilla.gnome.org/show_bug.cgi?id=686559
gi/_gobject/__init__.py | 45 +++----------------------------
gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
tests/test_properties.py | 63
+++++++++++++++++++++++++++++++++++++++++++
3 files changed, 111 insertions(+), 42 deletions(-)
commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
Author: Simon Feltman <s.feltman@gmail.com>
Date: Sat Oct 20 03:11:07 2012 -0700
Fix Signal decorator to not use base class gsignals dict
Fix install_signals to not use the parent classes __gsignals__
dict if one does not exist on the given class.
https://bugzilla.gnome.org/show_bug.cgi?id=686496
gi/_gobject/signalhelper.py | 2 +-
tests/test_signal.py | 43
+++++++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 1 deletion(-)
commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Oct 19 09:05:01 2012 +0200
tests: Consistently use GLib.MainLoop
... instead of mixing GObject.MainLoop and GLib.MainLoop.
tests/test_everything.py | 4 ++--
tests/test_gdbus.py | 11 +++++------
2 files changed, 7 insertions(+), 8 deletions(-)
commit ff7e7401b4cf50532fef70263f7559ea513b8333
Author: Kalev Lember <kalevlember@gmail.com>
Date: Wed Oct 17 18:27:14 2012 +0200
Install the .egg-info files into correct multilib directory
This makes sure the .egg-info files end up in the same python
top level
directory as the rest of the gi .py files.
https://bugzilla.gnome.org/show_bug.cgi?id=686315
Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
Author: Simon Feltman <s.feltman@gmail.com>
Date: Mon Oct 15 04:03:50 2012 -0700
Fix leaked vfunc return values
Simple fix to dec ref returned values from closures wrapping
python functions.
https://bugzilla.gnome.org/show_bug.cgi?id=686140
gi/pygi-closure.c | 1 +
tests/test_gi.py | 21 +++++++++++++++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Oct 15 07:42:05 2012 +0200
Skip Regress tests with --disable-cairo
We need cairo to build g-i's Regress library, gir, and typelib. Update
configure.ac to only require cairo if --disable-cairo was not
given. With
--disable-cairo, skip building the Regress library and skip all
tests which use
it.
https://bugzilla.gnome.org/show_bug.cgi?id=685094
configure.ac | 5 ++---
tests/Makefile.am | 45
+++++++++++++++++++++++++++------------------
tests/test_everything.py | 15 +++++++++++----
tests/test_overrides.py | 7 ++++++-
4 files changed, 46 insertions(+), 26 deletions(-)
commit a2ab72aa39824579d1767d1fdba7e1031341f86c
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Oct 12 11:05:24 2012 +0200
_pygi_marshal_from_py_uint64: Re-fix check of negative values
Fix regression from commit 1bfcd5d94 (exposed by several test cases)
when using
Python 2.x.
https://bugzilla.gnome.org/show_bug.cgi?id=685000
gi/pygi-marshal-from-py.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 22c22124b787ae67638aff89796d7ce14900ea8e
Author: Simon Feltman <s.feltman@gmail.com>
Date: Mon Oct 8 05:54:30 2012 -0700
Fix leak with python callables as closure argument.
The fix adds an extra args_data list to the PyGIInvokeState
structure. This list is used to track dynamically generated
closures that wrap python callables. This allows the ffi closure
and python callable to be freed when call scope has finished.
https://bugzilla.gnome.org/show_bug.cgi?id=685598
gi/pygi-cache.c | 1 +
gi/pygi-closure.c | 41 +++++++++----
gi/pygi-invoke-state-struct.h | 4 ++
gi/pygi-invoke.c | 7 +++
gi/pygi-marshal-cleanup.c | 14 +++++
gi/pygi-marshal-cleanup.h | 4 ++
gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
tests/test_everything.py | 137
+++++++++++++++++++++++++++++++-----------
8 files changed, 206 insertions(+), 59 deletions(-)
commit c0bc69906df2db64560f7c054277ad1956aab57f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Oct 11 17:49:30 2012 +0200
Gio overrides: Handle setting GSettings enum keys
https://bugzilla.gnome.org/show_bug.cgi?id=685947
gi/overrides/Gio.py | 9 ++++++++-
tests/test_overrides_gio.py | 3 +++
2 files changed, 11 insertions(+), 1 deletion(-)
commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Oct 11 17:20:38 2012 +0200
tests: Check reading GSettings enums in Gio overrides
Also split test_override() into several smaller test cases.
tests/org.gnome.test.gschema.xml | 9 +++++++++
tests/test_overrides_gio.py | 14 +++++++++-----
2 files changed, 18 insertions(+), 5 deletions(-)
commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Oct 11 16:08:11 2012 +0200
Fix unsigned values in GArray/GList/GSList/GHash
_pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
https://bugzilla.gnome.org/show_bug.cgi?id=685860
gi/pygi-argument.c | 9 +++++++++
tests/test_gi.py | 12 ++++++++++++
2 files changed, 21 insertions(+)
commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
Author: Colin Walters <walters@verbum.org>
Date: Thu Oct 4 20:13:55 2012 -0400
build: Fix srcdir != builddir
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
Author: Alban Browaeys <prahal@yahoo.com>
Date: Thu Sep 27 22:44:22 2012 +0200
_pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
Casting an unsigned to signed and checking if positive was not
good. Check the
unsigned 64 is below G_MAXUINT64 instead.
Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
gi/pygi-marshal-from-py.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit f0870336b9fc7797895f206e0d3ef17a19efe253
Author: Johan Dahlin <johan@gnome.org>
Date: Tue Oct 2 05:30:16 2012 -0700
Install an .egg-info file
This will help easy_install and pip to figure out that PyGObject
is already installed.
https://bugzilla.gnome.org/show_bug.cgi?id=680138
Makefile.am | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Oct 4 09:42:41 2012 +0200
PyGProps_getattro(): Fix GObjectClass leak
https://bugzilla.gnome.org/show_bug.cgi?id=685218
gi/_gobject/pygobject.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
Author: Olivier Crête <olivier.crete@collabora.com>
Date: Mon Sep 17 15:16:32 2012 -0400
pygobject.c: Don't leak GObjectClass reference
https://bugzilla.gnome.org/show_bug.cgi?id=684062
gi/_gobject/pygobject.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
Author: Alban Browaeys <prahal@yahoo.com>
Date: Sat Sep 29 01:17:14 2012 +0200
Fix memory leak in _pygi_argument_to_array()
Length arg and type info need to be unref'ed.
https://bugzilla.gnome.org/show_bug.cgi?id=685082
gi/pygi-argument.c | 3 +++
1 file changed, 3 insertions(+)
commit 34270a109d2af20391c80e88874ee7303eaf5c09
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Sep 28 07:42:51 2012 +0200
Fix error messages for out of range numbers
PyErr_Format() does not understand %lli and %li, it needs to be %lld
and %ld.
So we cannot use those and G_GINT64_FORMAT.
Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
check, as long_
is a gint64 which can't possibly overflow its own data type. It
would also have
an unprintable error message.
https://bugzilla.gnome.org/show_bug.cgi?id=684314
gi/pygi-marshal-from-py.c | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
commit 7f1422bf929976722edd6144beb0b4c96d74391b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Sep 28 06:59:38 2012 +0200
Kill dbus-daemon after running tests
dbus-launch does not kill the spawned dbus-daemon by itself (see
https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
after running
our tests. Take care to preserve the exit code.
https://bugzilla.gnome.org/show_bug.cgi?id=685009
tests/Makefile.am | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Sep 27 08:18:34 2012 +0200
GVariant overrides: Support empty tuple arrays
Implement the "empty value" branch in _create_tuple(), so that
_create_array()
can call it for parsing the element type for an empty array.
This fixes creating variants such as GLib.Variant('a(ii)', []).
https://bugzilla.gnome.org/show_bug.cgi?id=684928
gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 7 deletions(-)
commit 75d452ea5b179c3585adcf95356b4316c9180768
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Sep 27 06:50:12 2012 +0200
TestGVariant: Split creation test case into several smaller ones
tests/test_overrides_glib.py | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
commit 4a20bcb3f97614044d351f8e436a81d332db55ba
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Sep 25 09:10:10 2012 +0200
Fix unused variables and results
This gets rid of all warnings except the deprecated symbol ones.
gi/_glib/pygiochannel.c | 9 +++------
gi/pygi-argument.c | 4 +---
gi/pygi-callbacks.c | 4 ----
gi/pygi-ccallback.c | 1 -
gi/pygi-repository.c | 3 +--
5 files changed, 5 insertions(+), 16 deletions(-)
commit 5285f14fee93d2729d4422c40a945adc2be69c14
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Sep 25 08:56:20 2012 +0200
tests: Fix wrong return type in test_int64_callback()
https://bugzilla.gnome.org/show_bug.cgi?id=684700
tests/testhelpermodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e14ebab6099d082466ec11ca21d44de0d6017216
Author: Giovanni Campagna <gcampagna@src.gnome.org>
Date: Wed Sep 19 00:10:57 2012 +0200
Fix GValue marshalling of long and unsigned long
long can be equivalent to int64 or int32, depending on the
architecture,
and GI conflates this distinction in the typelib, but GType does
not, and
warns if the wrong accessor is used.
https://bugzilla.gnome.org/show_bug.cgi?id=684331
gi/pygi-argument.c | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
Author: Simon Feltman <s.feltman@gmail.com>
Date: Wed Sep 19 19:07:00 2012 -0700
Clean up deprecation message for assigning gpointers to objects.
The previous deprecation message was worded as if the deprecation
had already occurred and it has not.
https://bugzilla.gnome.org/show_bug.cgi?id=683599
gi/pygi-info.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 4bfe7972546413f46f5c36737ff03bb5612c1921
Author: Olivier Crête <olivier.crete@collabora.com>
Date: Tue Sep 18 08:52:02 2012 +0200
pygi-property: Lookup property in base classes of non-introspected
types
Look for introspection data in the base classes of non-introspected
gtypes.
This is necessary to look up introspection data for plugins.
https://bugzilla.gnome.org/show_bug.cgi?id=684058
gi/pygi-property.c | 28 ++++++++++++++--------------
tests/test_everything.py | 12 ++++++++++++
2 files changed, 26 insertions(+), 14 deletions(-)
commit 7aa94cc861082147b9c382b930f3257f0a842c84
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 24 09:41:10 2012 +0200
post-release bump to 3.4.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fcceed3adb8d78baba68861a1408627321b2c1ef
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 24 09:35:33 2012 +0200
release 3.4.0
NEWS | 3 +++
configure.ac | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 24 09:27:47 2012 +0200
Bump g-i dependency to 1.33.14
To ensure we have all the Regress test APIs that we use.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 17 22:52:49 2012 +0200
post-release bump to 3.3.93
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 17 22:48:13 2012 +0200
release 3.3.92
NEWS | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 17 22:32:55 2012 +0200
release-news: Generate HTML changelog
In addition to producing a NEWS paragraph from the changelog,
generate a
changelog HTML which can be put into blog announcements.
Update HACKING to point this out, too.
HACKING | 2 +-
Makefile.am | 22 ++++++++++++++++------
2 files changed, 17 insertions(+), 7 deletions(-)
commit be4a0682bdd189ee908ab1961001f759a80e133c
Author: Simon Feltman <s.feltman@gmail.com>
Date: Sun Sep 16 17:27:25 2012 -0700
[API add] Add ObjectInfo.get_abstract method
Adds exposure of g_object_info_get_abstract to python for
helping with analysis of non-constructable objects from
within python.
https://bugzilla.gnome.org/show_bug.cgi?id=675581
gi/pygi-info.c | 8 ++++++++
tests/test_gi.py | 12 ++++++++++++
2 files changed, 20 insertions(+)
commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
Author: Simon Feltman <s.feltman@gmail.com>
Date: Thu Sep 13 20:53:22 2012 -0700
Add deprecation warning when setting gpointers to anything other
than int.
This is a first pass which does not change anything except add
a warning
when anything other than an int is set on a gpointer on a boxed type.
https://bugzilla.gnome.org/show_bug.cgi?id=683599
gi/pygi-info.c | 8 ++++++++
1 file changed, 8 insertions(+)
commit a047f61f26d9c78b82d22948199313e5a389e918
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 17 09:41:24 2012 +0200
test_properties: Test accessing a property from a superclass
We already cover accessing the superclass' property if that was
defined in
Python. Add a corresponding test case for a property defined in C.
See https://bugzilla.gnome.org/show_bug.cgi?id=684058
tests/test_properties.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 17 09:31:05 2012 +0200
test_properties.py: Consistent test names
Use underscore style method/test case names consistently. Also rename
some test
cases to better describe what they do.
tests/test_properties.py | 78
++++++++++++++++++++++++------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
commit 4069c3d8547f35437e0cee175a5912febe25326d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Sep 12 06:51:24 2012 +0200
test_everything: Ensure TestSignals callback does get called
tests/test_everything.py | 3 +++
1 file changed, 3 insertions(+)
commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date: Fri Sep 7 17:17:09 2012 -0400
argument: Fix 64bit integer convertion from GValue
Trying to get a 64bit integer using the wrong getter was resulting
in an
assertion and 0 being returned.
Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=683596
gi/pygi-argument.c | 8 ++++++--
tests/test_everything.py | 52
++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+), 2 deletions(-)
commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Sep 11 12:32:10 2012 +0200
Add Simon Feltman as a project maintainer
Signed-off-By: Martin Pitt <martinpitt@gnome.org>
Signed-off-By: Paolo Borelli <pborelli@gnome.org>
pygobject.doap | 7 +++++++
1 file changed, 7 insertions(+)
commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Sep 11 10:17:50 2012 +0200
test_signals.py: Drop global type variables
Just use the real types and flags from GObject instead of redefining
aliases
for them. They weren't used consistently, make the tests harder to
read, and we
really do not want global single-letter variables like "f" and "l".
tests/test_signal.py | 38 ++++++++++++++++----------------------
1 file changed, 16 insertions(+), 22 deletions(-)
commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Sep 11 10:11:58 2012 +0200
test_signals.py: Consistent test names
Use underscore style method/test case names consistently.
tests/test_signal.py | 88
++++++++++++++++++++++++++--------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
commit 4559247553b792db956f69c9674c12344d719c82
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Sep 11 09:43:14 2012 +0200
Add test cases for GValue signal arguments
These cover various types, (u)int(64) and string.
Keep the test case for implicit int64 GValues disabled, as this
currently does
not work and it is not clear whether it should:
https://bugzilla.gnome.org/show_bug.cgi?id=683775
tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
tests/testhelpermodule.c | 17 +++++++++++++++++
2 files changed, 58 insertions(+)
commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Sep 11 09:31:18 2012 +0200
Add test for GValue signal return values
Another attempt to reproduce the reported error in
https://bugzilla.gnome.org/show_bug.cgi?id=683596
but this works already.
tests/test_signal.py | 13 +++++++++++++
tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
commit 4f77c7798563ea436ff5b6306a987f03de50b211
Author: Simon Feltman <s.feltman@gmail.com>
Date: Fri Sep 7 02:32:15 2012 -0700
Improve setting pointer fields/arguments to NULL using None
Setting gi pointers will set them to the address of the python object.
This is good except in the case of None which should be used to NULL
the pointer out as a special case.
Commit 21b1d17d2a already fixed this. This improved patch
does that in a cleaner and safer way and adds more comments.
https://bugzilla.gnome.org/show_bug.cgi?id=683150
gi/pygi-argument.c | 8 +-------
gi/pygi-info.c | 14 +++++++++++++-
2 files changed, 14 insertions(+), 8 deletions(-)
commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 10 16:46:30 2012 +0200
Test gint64 C signal arguments and return values
tests/test_signal.py | 12 ++++++++++++
tests/testhelpermodule.c | 14 ++++++++++++++
2 files changed, 26 insertions(+)
commit 822d9e07a95f706a40f64335765293542787da90
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 10 16:29:32 2012 +0200
Test in/out int64 GValue method arguments.
See https://bugzilla.gnome.org/show_bug.cgi?id=683596
tests/test_gi.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit 2d83e52233812618493af4b165615e8741ba41c8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Sep 5 08:54:53 2012 +0200
Bump g-i dependency to 1.33.10
To ensure we have all the Regress test APIs that we use.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
Author: Thibault Saunier <thibault.saunier@collabora.com>
Date: Wed Aug 8 12:57:41 2012 -0400
Fix -uninstalled.pc.in file
https://bugzilla.gnome.org/show_bug.cgi?id=683379
pygobject-3.0-uninstalled.pc.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit d8f1398dbc7fa7803639c542a607f24f18614ad6
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 22:16:47 2012 +0200
post-release bump to 3.3.92
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 22:04:01 2012 +0200
release 3.3.91
NEWS | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 21:57:00 2012 +0200
Fix exception test case for Python 2
Regression from commit 77844c5 which did not work with Python 2.
tests/test_everything.py | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 21:16:01 2012 +0200
Bump g-i dependency
Require at least 1.33.9, as we got a couple of bug fixes there which
the tests,
and for some cases the code, depend on. We actually require 1.33.10
for all
tests to succeed, but that hasn't been released yet.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 77844c571ad0badc189428b93de9f2572051b67e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 17:58:38 2012 +0200
Show proper exception when trying to allocate a disguised struct
Instead of a simple "MemoryError" with no details, raise a proper
TypeError with a traceback and an explanation what happened.
https://bugzilla.gnome.org/show_bug.cgi?id=639972
gi/pygi-struct.c | 7 +++++++
tests/test_everything.py | 13 +++++++++++++
2 files changed, 20 insertions(+)
commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date: Mon Sep 3 16:47:22 2012 +0200
Support marshalling GParamSpec signal arguments
Fix marshalling GParamSpec arguments from C to Python.
https://bugzilla.gnome.org/show_bug.cgi?id=683099
Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
gi/pygi-argument.c | 10 +++++++++-
tests/test_signal.py | 14 ++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 16:06:49 2012 +0200
Add test for a signal that returns a GParamSpec
https://bugzilla.gnome.org/show_bug.cgi?id=683265
tests/test_signal.py | 6 ++++++
tests/testhelpermodule.c | 12 ++++++++++++
2 files changed, 18 insertions(+)
commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
Author: Simon Feltman <s.feltman@gmail.com>
Date: Tue Mar 20 04:33:50 2012 -0700
[API add] Add Signal class for adding and connecting custom signals.
The Signal class provides easy creation of signals and removes the
need for __gsignals__ in client code. The Signal class can also be
used as a decorator for wrapping up the custom closure. As well as
providing a "BoundSignal" when accessed on an instance for making
connections without specifying a signal name string.
Python3 annotations can also be used to supply closure argument and
return types when Signal is used as a decorator. For example:
class Eggs(GObject.GObject):
@GObject.Signal
def spam(self, count:int):
pass
https://bugzilla.gnome.org/show_bug.cgi?id=434924
examples/signal.py | 34 ++++--
gi/_gobject/Makefile.am | 3 +-
gi/_gobject/__init__.py | 5 +
gi/_gobject/signalhelper.py | 251
++++++++++++++++++++++++++++++++++++++++++++
tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
5 files changed, 482 insertions(+), 19 deletions(-)
commit 96fa22369fd188465559fc904c7f76e73040e6dd
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 15:32:12 2012 +0200
Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
We have a proper implementation for insert_column_with_attributes()
now, so
drop pygtkcompat's empty stub for it.
Also improve test case for
Gtk.TreeView.insert_column_with_attributes().
gi/pygtkcompat.py | 6 ------
tests/test_overrides_gtk.py | 16 ++++++++--------
2 files changed, 8 insertions(+), 14 deletions(-)
commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
Author: Marta Maria Casetti <mmcasetti@gmail.com>
Date: Mon Sep 3 13:06:22 2012 +0200
Add override for Gtk.TreeView.insert_column_with_attributes()
https://bugzilla.gnome.org/show_bug.cgi?id=679415
Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
gi/overrides/Gtk.py | 7 +++++++
tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 11:09:55 2012 +0200
.gitignore: Add missing built files
.gitignore | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
commit 96431f393036a688666dcf67911bf12b9824b264
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 11:07:32 2012 +0200
Ship tests/gi in tarball
Spotted by distcheck.
tests/Makefile.am | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 10:18:45 2012 +0200
Fix separate build tree and distcheck
Fix regression from c7c95a79: We must set sys.path in runtests.py
properly and
cannot rely on setting $PYTHONPATH from Makefile.am only. Python
always
prepends the directory of the source file to sys.path, but that
points to the
source dir, not the build dir. The build dir has to take precedence,
otherwise
we fail to import the built libraries.
tests/runtests-windows.py | 10 +++++++---
tests/runtests.py | 13 ++++++++-----
2 files changed, 15 insertions(+), 8 deletions(-)
commit 2d8f48f4ff56bb75985136452b50b75895258608
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 07:57:01 2012 +0200
Split test_overrides.py
Split the huge test_overrides.py into separate files for gdk, gtk,
gio, glib,
and pango. Further split the monolithic classes for Gtk and Gio
into several
ones.
https://bugzilla.gnome.org/show_bug.cgi?id=683188
tests/Makefile.am | 5 +
tests/test_overrides.py | 2198
+----------------------------------------
tests/test_overrides_gdk.py | 119 +++
tests/test_overrides_gio.py | 114 +++
tests/test_overrides_glib.py | 445 +++++++++
tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
tests/test_overrides_pango.py | 32 +
7 files changed, 2234 insertions(+), 2196 deletions(-)
commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Sep 3 07:17:57 2012 +0200
_pygi_argument_to_object(): Clean up array unmarshalling
The NULL case is already handled at the top, so it does not need to be
re-checked again.
Emit a critical if we fail to allocate a Python array of the
requested size.
gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
1 file changed, 16 insertions(+), 31 deletions(-)
commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
Author: Alban Browaeys <prahal@yahoo.com>
Date: Wed Aug 29 21:24:17 2012 +0200
Fix memory leak in _pygi_argument_to_object()
Avoid leaking the item_type_info when breaking out of the
switch in _pygi_argument_to_object() for unmarshalling arrays.
https://bugzilla.gnome.org/show_bug.cgi?id=682979
gi/pygi-argument.c | 4 ++++
1 file changed, 4 insertions(+)
commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
Author: Simon Feltman <s.feltman@gmail.com>
Date: Sat Sep 1 03:40:31 2012 -0700
Fix setting pointer fields/arguments to NULL using None.
Setting gi pointers will set them to the address of the python object.
This is good except in the case of None which should be used to NULL
the pointer out as a special case.
https://bugzilla.gnome.org/show_bug.cgi?id=683150
gi/pygi-argument.c | 8 +++++++-
tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+), 1 deletion(-)
commit 6123e6f5001ca5eaea18123d8a53525abab31a45
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Aug 23 06:44:27 2012 +0200
Fix for python 2.6, drop support for < 2.6
Replace sys.version_info.major access to tuple access which also
works for
Python 2.6.
When building for Python 2.6, inject some missing unittest API such as
@unittest.skipUnless and assertGreaterEqual() into the unittest
module in
runtests.py, so that the tests have a chance to run.
As building with Python 2.5 has been broken for a long time with
nobody
complaining, and 2.5 is ancient, bump minimum Python requirement to
2.6. Drop
obsolete #ifdef paths which only apply to <= 2.5.
https://bugzilla.gnome.org/show_bug.cgi?id=682422
configure.ac | 2 +-
gi/_glib/pyglib-python-compat.h | 8 --------
gi/_gobject/gobjectmodule.c | 8 --------
gi/module.py | 2 +-
tests/runtests.py | 27 +++++++++++++++++++++++++++
tests/test_gi.py | 2 +-
6 files changed, 30 insertions(+), 19 deletions(-)
commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
Author: Thibault Saunier <thibault.saunier@collabora.com>
Date: Tue Aug 21 07:54:09 2012 +0200
Allow overrides in other directories than gi itself
Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
libraries can install overrides in a path that is different from
the one that
pygobject installs itself into. These overrides need to put this
into their
__init__.py at the top:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
and put themselves somewhere into the default PYTHONPATH.
https://bugzilla.gnome.org/show_bug.cgi?id=680913
Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
gi/__init__.py | 4 ++++
gi/overrides/__init__.py | 4 ++++
tests/gi/__init__.py | 2 ++
tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
tests/gi/overrides/__init__.py | 2 ++
tests/test_overrides.py | 6 ++++++
6 files changed, 44 insertions(+)
commit c7c95a795eee499373499ea5b771447746317bfb
Author: Simon Feltman <s.feltman@gmail.com>
Date: Thu Aug 23 06:03:09 2012 +0200
Clean up sys.path handling in tests
Only set sys.path once in runtests.py, not in the individual test
modules. This
reduces hidden dependencies between tests by building up a run
order dependent
search path, and also makes it easier in the future to run the
tests against
the installed system libraries.
Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
tests/runtests-windows.py | 6 +++++-
tests/runtests.py | 3 +++
tests/test_everything.py | 1 -
tests/test_gdbus.py | 3 ---
tests/test_overrides.py | 3 ---
tests/test_pygtkcompat.py | 3 ---
6 files changed, 8 insertions(+), 11 deletions(-)
commit 3e3525e93d852cde0f63e835b774a9b004773c69
Author: Simon Feltman <s.feltman@gmail.com>
Date: Sun Aug 19 02:30:39 2012 -0700
Fix dynamic creation of enum and flag gi types for Python 3.3
Importing Gtk was crashing on instantiation of dynamic Enum and Flag
subclasses due to what looks to be an unsupported technique. Change
tp_new() method for classes dynamically derived from PyGEnum_Type and
PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
to call
__new__() as a python method. This technique seems to work with all
versions of python so the previous python version checking also became
unnecessary.
https://bugzilla.gnome.org/show_bug.cgi?id=682323
gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
gi/_gobject/pygflags.c | 21 +++++++++------------
2 files changed, 25 insertions(+), 25 deletions(-)
commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Aug 22 10:45:39 2012 +0200
[API add] Override g_menu_item_set_attribute
This C utility API take a vararg, add a corresponding override that
takes a list of tuples
https://bugzilla.gnome.org/show_bug.cgi?id=682436
gi/overrides/Gio.py | 10 ++++++++++
tests/test_overrides.py | 11 +++++++++++
2 files changed, 21 insertions(+)
commit 836902801373e386d370c44e7487aac3432f19f6
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Aug 20 23:37:40 2012 +0200
post-release bump to 3.3.91
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6a629e23ff7b0d6f532184017577c7427d577e28
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Aug 20 23:05:49 2012 +0200
release 3.3.90
NEWS | 13 +++++++++++++
configure.ac | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Date: Mon Aug 20 22:54:52 2012 +0200
Implement marshalling for GParamSpec
https://bugzilla.gnome.org/show_bug.cgi?id=681565
Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
gi/pygi-marshal-to-py.c | 16 ++++++++++++----
tests/test_gi.py | 14 ++++++++++++++
2 files changed, 26 insertions(+), 4 deletions(-)
commit 16462de3f025f14706ec23fa9b3653feb66ad57f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Aug 20 15:24:10 2012 +0200
Fix pep8/pyflakes invocation
Fix regression from commit 1e056e4f4a: Do fail the tests if
pyflakes/pep8
exist, but fail.
tests/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
Author: Simon Feltman <s.feltman@gmail.com>
Date: Thu Aug 16 16:05:52 2012 -0700
Fix erronous import statements for Python 3.3
Update pygobject-external.h to use GType (which is what GTypeWrapper
is
exposed as) instead of GTypeWrapper when attempting import.
Catch ImportError around attempted imports of a typelibs override file
which don't always exist (GObject...). This is a behavioural change in
Python 3.3 (http://bugs.python.org/issue15715), but let's fix
it anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=682051
gi/module.py | 7 +++++--
gi/pygobject-external.h | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
commit 1e056e4f4a19fd1139187467677c2592c2722290
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Aug 20 11:52:08 2012 +0200
Do not fail tests if pyflakes or pep8 are not installed
These tools might not be desirable in restricted build environments or
backports, and e. g. Fedora patches those out. So let the tests
work without
these tools.
tests/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit c219fa6da89a7d55c5c111751684aae6876a9fe3
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Aug 20 11:42:47 2012 +0200
gtk-demo: Fix some PEP-8 whitespace issues
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
demos/gtk-demo/demos/dialogs.py | 2 +-
demos/gtk-demo/demos/rotatedtext.py | 3 +--
3 files changed, 3 insertions(+), 5 deletions(-)
commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Aug 20 11:38:50 2012 +0200
test_overrides.py: Fix PEP8 whitespacing
tests/test_overrides.py | 48
+++++++++++++++++++++++++-----------------------
1 file changed, 25 insertions(+), 23 deletions(-)
commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Aug 20 11:36:19 2012 +0200
Ignore E124 pep8 error
This is "closing bracket does not match visual indentation" which
is really
stupid. We do want the closing bracket at the same indentation level
as the
opening bracket, not the indentation level of the whole statement.
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
Author: David Malcolm <dmalcolm@redhat.com>
Date: Mon Aug 20 11:27:52 2012 +0200
Fix unmarshalling of gssize
Do not assume that the v_int union member always corresponds to a
gssize. This
is not true on big-endian 64 bit machines like ppc64, so add a new
gi_argument_to_gssize() and use it properly.
https://bugzilla.gnome.org/show_bug.cgi?id=680693
https://bugzilla.redhat.com/show_bug.cgi?id=842880
gi/pygi-argument.c | 53
+++++++++++++++++++++++++++++++++++++++++++++---
gi/pygi-argument.h | 1 +
gi/pygi-closure.c | 2 +-
gi/pygi-info.c | 4 ++--
gi/pygi-signal-closure.c | 2 +-
5 files changed, 55 insertions(+), 7 deletions(-)
commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
Author: David Malcolm <dmalcolm@redhat.com>
Date: Mon Aug 20 11:19:27 2012 +0200
Fix various endianess errors
Fix code which assumed little endian behaviour when mixing different
types of
ints, putting ints into pointers, etc.
https://bugzilla.gnome.org/show_bug.cgi?id=680692
https://bugzilla.redhat.com/show_bug.cgi?id=841596
gi/pygi-argument.c | 64 +++++++++++++--
gi/pygi-argument.h | 6 ++
gi/pygi-cache.c | 2 +
gi/pygi-closure.c | 57 ++++++++++++-
gi/pygi-marshal-from-py.c | 203
++++++++++++++++++++++++++++++++++++----------
gi/pygi-marshal-from-py.h | 3 +
gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
7 files changed, 391 insertions(+), 81 deletions(-)
commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Aug 15 13:16:11 2012 +0200
Add unit test for the TreeModelSort override
tests/test_overrides.py | 7 +++++++
1 file changed, 7 insertions(+)
commit 9f027daa5737107b5959964b699c0089aec8ab1e
Author: Simon Feltman <s.feltman@gmail.com>
Date: Thu Aug 9 03:33:06 2012 -0700
Gtk overrides: Add TreeModelSort.__init__(self, model)
This adds "model" as a required argument to TreeModelSort
instead of it being a hidden keyword argument. This is needed
because the model property is set to construct only and the
default value of None/NULL makes the object useless anyhow.
https://bugzilla.gnome.org/show_bug.cgi?id=681477
gi/overrides/Gtk.py | 8 ++++++++
1 file changed, 8 insertions(+)
commit c8424c2bb19356679e250e73542682dd5f4c74a5
Author: Manuel Quiñones <manuq@laptop.org>
Date: Fri Aug 10 09:38:24 2012 -0300
Convert Gtk.CellRendererState in the pygi-convert script
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
https://bugzilla.gnome.org/show_bug.cgi?id=681596
pygi-convert.sh | 5 +++++
1 file changed, 5 insertions(+)
commit 54d829b34a0d32d852db370f61cc7f25c149f373
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Aug 6 16:19:28 2012 +0200
More updates to the HACKING file
module-install has been replaced with 'ftpadmin install' and other
minor
changes
HACKING | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
commit 0788880c6cf4070d3db09896c165fe470d2ec186
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Aug 6 16:00:39 2012 +0200
Post-release version bump to 3.3.6
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 664403d953c3e07077d0db90bfae3b51c7f1767c
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Aug 6 15:52:22 2012 +0200
release 3.3.5
NEWS | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
commit b748753a2a9af018001213e2e58c48d6c8bfadbd
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Aug 6 15:44:32 2012 +0200
Update HACKING file to mention "make release-news"
HACKING | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
commit 587a0c33901383b891f8eb77351c17f06af20b4f
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Aug 6 15:38:23 2012 +0200
pygi-closure: remove unused variables
These variables are assigned but never actually used
gi/pygi-closure.c | 8 --------
1 file changed, 8 deletions(-)
commit dbc6df6aad7197fcf8721ade429baadd749f7069
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Aug 3 07:13:55 2012 +0200
tests: Do not break on Pango warnings
In some restricted environments (like chroots) we sometimes get
warnings from
Pango when it cannot find an appropriate font. Do not make the tests
fail on
those.
tests/test_overrides.py | 4 ++++
tests/test_pygtkcompat.py | 6 ++++++
2 files changed, 10 insertions(+)
commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Aug 3 06:45:48 2012 +0200
Fix list marshalling on big-endian machines
On big endian machines we cannot simply set e. g. GIArgument.v_int8
and expect
GIArgument.v_pointer to be a correct representation. This needs to use
GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
_pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
in marshalling
to and from GList and GSList, and handle int8 and int16 as well.
Part of porting pygobject to ppc64:
https://bugzilla.redhat.com/show_bug.cgi?id=842880
https://bugzilla.gnome.org/show_bug.cgi?id=680693
gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
gi/pygi-marshal-to-py.c | 54
+++++++++++++++++++++++++++--------------------
2 files changed, 60 insertions(+), 42 deletions(-)
commit b5cd13f47309ec26727b7574e33595a357602468
Author: Colin Walters <walters@verbum.org>
Date: Tue Jul 31 11:47:02 2012 -0400
pygi-marshal: One more 32-bit -Werror=format fix
gi/pygi-marshal-from-py.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 526bf43691cb6ed908589312b1693a6389eba00c
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jul 31 17:14:37 2012 +0200
Beautify class/interface type mismatch error messages
Avoid saying "<unknown module>.int", just skip the module name
completely if we do not have one.
gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jul 31 13:13:21 2012 +0200
Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
On initial jhbuild bootstrap or restricted environments, the Pango,
Atk, Gdk,
and Gtk typelibs might not be available. Skip tests which need these
instead of
failing the testsuite.
tests/test_atoms.py | 7 ++++++-
tests/test_everything.py | 9 ++++++++-
tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
4 files changed, 60 insertions(+), 18 deletions(-)
commit a2e73c109f3ed6080eabc85810e624b9f984317e
Author: Colin Walters <walters@verbum.org>
Date: Tue Jul 31 09:02:24 2012 -0400
pygi-argument: Fix -Wformat warning on 32 bit builds
gi/pygi-argument.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jul 31 11:14:36 2012 +0200
Fix tests for Python 2
In Python 2 we get different error messages for a mismatching self
type. Fixes
check after commit 121b14028.
tests/test_gi.py | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jul 31 10:30:22 2012 +0200
Build with -Werror=format
This catches format string problems on particular architectures like
in commit
dea24f8e12 much more insistently.
configure.ac | 1 +
1 file changed, 1 insertion(+)
commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
Author: Simon Feltman <s.feltman@gmail.com>
Date: Mon Jul 30 02:00:16 2012 -0700
[API add] pygtkcompat: Add more pixbuf creation functions
Add the following functions:
pixbuf_new_from_data
pixbuf_new_from_file_at_scale
pixbuf_new_from_file_at_size
pixbuf_new_from_inline
pixbuf_new_from_stream
pixbuf_new_from_stream_at_scale
pixbuf_new_from_xpm_data
pixbuf_get_file_info
https://bugzilla.gnome.org/show_bug.cgi?id=680814
gi/pygtkcompat.py | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
commit dea24f8e1221516b2d8ea578e55124b0409d6a76
Author: Colin Walters <walters@verbum.org>
Date: Mon Jul 30 22:17:44 2012 -0400
marshal: Fix a lot of format string warnings on 32 bit
G_GUINT64_FORMAT and friends handle "%lld" portably.
https://bugzilla.gnome.org/show_bug.cgi?id=680878
gi/pygi-marshal-from-py.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
Author: Colin Walters <walters@verbum.org>
Date: Mon Jul 30 22:30:07 2012 -0400
marshal: Fix build break on Python 2
I *think* using this wrapper function instead is right.
https://bugzilla.gnome.org/show_bug.cgi?id=680879
gi/pygi-marshal-from-py.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
Author: Manuel Quiñones <manuq@laptop.org>
Date: Mon Jul 30 12:53:36 2012 -0300
Improve testcase for tree_view_column_set_attributes
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
https://bugzilla.gnome.org/show_bug.cgi?id=680320
tests/test_overrides.py | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
commit 121b1402860407fe46f7501e42447bf3607872ec
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jul 31 00:37:55 2012 +0200
Fix error messages on interface/class type mismatches
Previously, when you called a function with an argument which was not
compatible with the expected class/interface type, you got an
error message
like
TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
which had the wrong (and useless) class name for the actual type,
and did not
tell you which argument caused the problem. With this it says e. g.
TypeError: argument column: Expected Gtk.TreeViewColumn, but
got Gtk.Button
instead.
gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
tests/test_gi.py | 57
++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 88 insertions(+), 10 deletions(-)
commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
Author: Simon Feltman <s.feltman@gmail.com>
Date: Sun Jul 29 23:36:25 2012 -0700
Fix crash when returning (False, None) from
Gtk.TreeModel.do_get_iter()
Add a Py_None check before attempting memcpy().
https://bugzilla.gnome.org/show_bug.cgi?id=680812
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygi-closure.c | 10 +++++++---
tests/test_overrides.py | 9 +++++++++
2 files changed, 16 insertions(+), 3 deletions(-)
commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 30 11:58:24 2012 +0200
Add test case for Gtk.TextIter.forward_search()
https://bugzilla.gnome.org/show_bug.cgi?id=679415
tests/test_overrides.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
commit aae4e77482c02e21154ab02b159f380f5f0f74be
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jul 27 23:06:39 2012 +0200
Add missing static declarations
This fixes a lot of -Wmissing-prototype warnings.
Also remove _pygi_marshal_cleanup_closure_unref() which is not
used anywhere.
gi/_gobject/gobjectmodule.c | 4 ++--
gi/_gobject/pygobject.c | 2 +-
gi/pygi-cache.c | 2 +-
gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
gi/pygi-foreign.c | 2 +-
gi/pygi-marshal-cleanup.c | 9 ---------
tests/test-unknown.c | 2 +-
tests/testhelpermodule.c | 4 ++--
8 files changed, 20 insertions(+), 29 deletions(-)
commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jul 27 23:01:08 2012 +0200
Fix more missing #includes
Add missing includes which caused -Wmissing-prototypes warnings.
gi/_gobject/pygenum.c | 2 ++
gi/_gobject/pyginterface.c | 2 ++
2 files changed, 4 insertions(+)
commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jul 27 22:59:21 2012 +0200
Make some warnings fatal
Add -Werror for some warnings which are real errors in the source
which we
really want to avoid. This includes -Wmissing-prototypes, but that
currently
breaks on building g-i's regress.c.
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jul 27 22:08:47 2012 +0200
Fix missing #includes
Add missing includes which caused -Wmissing-prototypes warnings.
gi/_glib/pygiochannel.c | 2 ++
gi/_glib/pygspawn.c | 2 ++
2 files changed, 4 insertions(+)
commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jul 27 20:52:00 2012 +0200
pygi-info.c: Robustify pointer arithmetic
In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
to point out
that we are using byte offsets. Fixes warnings:
pygi-info.c:1277:43: warning: pointer of type 'void *' used in
arithmetic [-Werror=pointer-arith]
gi/pygi-info.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jul 27 20:50:30 2012 +0200
pyglib.c: Remove some dead code
Drop unused pyglib_gil_state_ensure_py23() and
pyglib_gil_state_release_py23().
gi/_glib/pyglib.c | 18 ------------------
1 file changed, 18 deletions(-)
commit a46d165d906d0ac7613f4d946542423e979f39d5
Author: Manuel Quiñones <manuq@laptop.org>
Date: Fri Jul 20 10:37:04 2012 -0300
Add set_attributes() override to Gtk.TreeViewColumn
Looking at the C code, gtk_tree_view_column_set_attributesv just calls
gtk_cell_layout_clear_attributes and then
gtk_cell_layout_add_attribute for each (name, value) passed. This
patch makes the same in the overrides.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/overrides/Gtk.py | 7 +++++++
tests/test_overrides.py | 6 ++++++
2 files changed, 13 insertions(+)
commit 4df676e10a5ea595a0d491af10268f557dd722d7
Author: Daniel Narvaez <dwnarvaez@gmail.com>
Date: Tue Jul 24 13:49:15 2012 +0200
Drop git.mk
The autogenerated gitignores was missing several files. So we
was using a manual .gitignore at the root. But since it's
enough to add a couple of entries to it to cover the whole
tree, there is no much point in using git.mk at all.
https://bugzilla.gnome.org/show_bug.cgi?id=678192
Makefile.am | 3 -
docs/Makefile.am | 2 -
examples/Makefile.am | 3 -
gi/Makefile.am | 3 -
gi/_glib/Makefile.am | 3 -
gi/_gobject/Makefile.am | 2 -
gi/overrides/Makefile.am | 2 -
gi/repository/Makefile.am | 2 -
git.mk | 200
----------------------------------------------
tests/Makefile.am | 2 -
10 files changed, 222 deletions(-)
commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
Author: Simon Feltman <s.feltman@gmail.com>
Date: Fri Jul 20 19:55:46 2012 -0700
Gtk overrides: Add TreePath.__getitem__()
Use pythons sub-script operator for indexing into TreePaths
as was the case in PyGtk. Also changed __iter__ to use
TreePath.get_indices as opposed to formatting and re-parsing
a string for getting an index list.
https://bugzilla.gnome.org/show_bug.cgi?id=680353
gi/overrides/Gtk.py | 5 ++++-
tests/test_overrides.py | 4 ++++
2 files changed, 8 insertions(+), 1 deletion(-)
commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
Author: Simon Feltman <s.feltman@gmail.com>
Date: Fri Jul 20 21:34:33 2012 -0700
Fix property type mapping from int to TYPE_INT for python3.
Python3 does not have a long type, however, propertyhelper.py was
using long_ = int; to get things working. Type mapping code
was then checking for long_ first and always returning TYPE_LONG.
Additional refactoring was done to move large if/elif statements
into dictionary lookups and usage of tuples instead of lists
for simple 'in' list of items tests.
https://bugzilla.gnome.org/show_bug.cgi?id=679939
gi/_gobject/propertyhelper.py | 117
+++++++++++++++++++-----------------------
tests/test_properties.py | 55 +++++++++++++++-----
2 files changed, 96 insertions(+), 76 deletions(-)
commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
Author: Manuel Quiñones <manuq@laptop.org>
Date: Thu Jul 19 12:11:34 2012 -0300
Convert Gtk.DestDefaults constants in pygi-convert.sh script
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
https://bugzilla.gnome.org/show_bug.cgi?id=680259
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit d58c3553062fd8704a81a8233b4a1563a6611718
Author: Manuel Quiñones <manuq@laptop.org>
Date: Thu Jul 19 12:04:03 2012 -0300
Convert all Gdk.WindowState constants in pygi-convert.sh
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
https://bugzilla.gnome.org/show_bug.cgi?id=680257
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit a3aae2e152c0b955037b7b85e16d14d00881d870
Author: Joe R. Nassimian <placidrage@gmail.com>
Date: Thu Jul 19 15:48:20 2012 +0200
[API add] Add API for checking pygobject's version
Add a gi.__version__ attribute for the textual version, and
gi.version_info for
a version triple similar to sys.version_info.
Also add a gi.require_version(<minimum_version>) which raises an
exception if
the pygobject version is older.
https://bugzilla.gnome.org/show_bug.cgi?id=680176
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/__init__.py | 16 ++++++++++++++++
tests/test_gi.py | 16 ++++++++++++++++
2 files changed, 32 insertions(+)
commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
Author: Manuel Quiñones <manuq@laptop.org>
Date: Mon Jul 16 17:14:46 2012 -0300
pygi-convert.sh: Add some missing Gdk.CursorTypes
This patch adds WATCH, ARROW and CLOCK.
https://bugzilla.gnome.org/show_bug.cgi?id=680050
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
pygi-convert.sh | 3 +++
1 file changed, 3 insertions(+)
commit 0b08c01414ac73a4604acd9a846e7af09574929f
Author: Manuel Kaufmann <humitos@gmail.com>
Date: Tue Jul 17 09:05:27 2012 -0300
pygi-convert.sh: convert rsvg.Handle(data=...)
Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
https://bugzilla.gnome.org/show_bug.cgi?id=680092
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
pygi-convert.sh | 2 ++
1 file changed, 2 insertions(+)
commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 16 17:35:38 2012 +0200
configure.ac: post-release bump to 3.3.5
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 126842b7227fcc1381dc158acdc5a96d0a465515
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 16 17:33:08 2012 +0200
release 3.3.4
NEWS | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 16 17:29:22 2012 +0200
test_gi: Fix for Python 2
tests/test_gi.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 16 16:35:33 2012 +0200
pygi-convert.sh: Drop bogus filter_new() conversion
my_tree_model.filter_new() is still a method on GtkTreeModel, not a
constructor, so do not try to convert it to a constructor call.
https://bugzilla.gnome.org/show_bug.cgi?id=679999
pygi-convert.sh | 1 -
1 file changed, 1 deletion(-)
commit c0607d970fc59528ca27d518282cf2871b92e909
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 16 16:00:40 2012 +0200
Fix help() for GI modules
Derive DynamicModule from types.ModuleType, so that the inspect
modules'
ismodule() actually succeeds on those and generates useful help on
a GI
repository module.
https://bugzilla.gnome.org/show_bug.cgi?id=679804
gi/module.py | 3 ++-
tests/test_gi.py | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
commit 3235f1a397c334de5a7570f5ceed4da709fe1714
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 16 15:53:31 2012 +0200
Skip gi.CallbackInfo objects from a module's dir()
Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
as we do not
implement __getattr__ for those.
Add a test case that dir() works on GI modules, contain expected
identifiers,
and that all identifiers in dir() can actually be retrieved.
Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
gi/module.py | 7 +++++--
tests/test_gi.py | 14 ++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
commit f6cc039e014448a553d626aac4020ee69717edab
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jul 16 15:38:05 2012 +0200
Fix __path__ module attribute
get_typelib_path() returns bytes, not strings, so in Python 3 we
need to decode
it to get a proper __path__ attribute.
gi/module.py | 17 +++++++++++++++++
tests/test_gi.py | 10 ++++++++++
2 files changed, 27 insertions(+)
commit 858048f7cec78129aa914e2341ab80aac0e95cc5
Author: Joe R. Nassimian <placidrage@gmail.com>
Date: Mon Jul 16 15:02:10 2012 +0200
pygi-convert.sh: Fix some child → getChild() false positives
https://bugzilla.gnome.org/show_bug.cgi?id=680004
pygi-convert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a31fabdc12f1da301c8df0af319ca3f4181671ee
Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
Date: Thu Jul 12 09:19:42 2012 +0200
Fix array handling for interfaces, properties, and signals
Fix lots of corner cases where arrays are not handled properly.
_pygi_argument_to_object() now has the documented expectation of
getting arrays
packed in GArrays. This was implicit before and not correctly done
on most call
sites.
The helper _pygi_argument_to_array() has been improved to work on
any kind of
array. Fix all call sites of _pygi_argument_to_object() to do the
array conversion appropriately before calling
_pygi_argument_to_object().
Adds a test case that implements a GInterface with a method that
takes an array
of variants as input.
https://bugzilla.gnome.org/show_bug.cgi?id=667244
gi/pygi-argument.c | 156
++++++++++++++++++++++++++++++++---------------
gi/pygi-argument.h | 4 +-
gi/pygi-closure.c | 11 ++++
gi/pygi-info.c | 20 ++++--
gi/pygi-property.c | 1 +
gi/pygi-signal-closure.c | 14 ++++-
tests/test_gi.py | 18 ++++++
7 files changed, 167 insertions(+), 57 deletions(-)
commit bb80d124269ee2389c04d03a478475868fd9ff7b
Author: Manuel Quiñones <manuq@laptop.org>
Date: Wed Jul 11 22:05:41 2012 -0300
Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
https://bugzilla.gnome.org/show_bug.cgi?id=679775
pygi-convert.sh | 3 +++
1 file changed, 3 insertions(+)
commit e3a63eefa5fb2abeabd210790e12642e577363c8
Author: Manuel Quiñones <manuq@laptop.org>
Date: Wed Jul 11 13:18:16 2012 -0300
Add the same rules for pack_start to convert pack_end
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
https://bugzilla.gnome.org/show_bug.cgi?id=679760
pygi-convert.sh | 5 +++++
1 file changed, 5 insertions(+)
commit b4bef457c2d0ca6899e06a021f1f06252a37e326
Author: Dave Malcolm <dmalcolm@redhat.com>
Date: Wed Jul 11 08:21:27 2012 +0200
Add error-checking for the case where _arg_cache_new() fails
This can happen when a typelib and its underlying library are
out-of-sync. This
converts the segfault into a more helpful traceback.
https://bugzilla.gnome.org/show_bug.cgi?id=678914
gi/pygi-cache.c | 2 ++
1 file changed, 2 insertions(+)
commit 41287d8a439c656e4ac60361fddec643c713234c
Author: Manuel Quiñones <manuq@laptop.org>
Date: Wed Jul 11 11:13:38 2012 -0300
Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
script
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
https://bugzilla.gnome.org/show_bug.cgi?id=679754
pygi-convert.sh | 6 ++++++
1 file changed, 6 insertions(+)
commit 5403149b900d1b73cbc78767dc43be2eb344c836
Author: Simon Feltman <s.feltman@gmail.com>
Date: Tue Jul 10 19:07:32 2012 -0700
Fix PyObject_Repr and PyObject_Str reference leaks
Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
DECREF'd.
https://bugzilla.gnome.org/show_bug.cgi?id=675857
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_glib/glibmodule.c | 10 +++++++--
gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
gi/_gobject/pygobject.c | 53
++++++++++++++++++++++++++++++---------------
gi/pygi-marshal-from-py.c | 9 +++++---
4 files changed, 62 insertions(+), 27 deletions(-)
commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Jul 4 08:46:30 2012 +0200
[API add] Gtk overrides: Add TreePath.__len__()
Use the path depth as length of a Gtk.TreePath object.
https://bugzilla.gnome.org/show_bug.cgi?id=679199
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 4 ++++
2 files changed, 7 insertions(+)
commit e1e849d1a9af77c29ee35971db8d439bac60d573
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Jul 4 08:35:16 2012 +0200
GLib.Variant: Fix repr(), add proper str()
Fix the GLib.Variant override's repr() after commit 16280d6985. Also
add a
proper __str__() method, and tests for both.
Thanks to Rul Matos for spotting this!
https://bugzilla.gnome.org/show_bug.cgi?id=679336
gi/overrides/GLib.py | 6 +++++-
tests/test_overrides.py | 5 +++++
2 files changed, 10 insertions(+), 1 deletion(-)
commit af20d7c929b9c1888454b52932a308d346e1c12b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Jun 28 06:51:22 2012 +0200
m4/python.m4: Update Python version list
Thanks to Dieter Verfaillie for pointing this out.
m4/python.m4 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit a96a26234e2aaa157837d26094864e3ad9b63edf
Author: Micah Carrick <micah@quixotix.com>
Date: Mon Jun 25 09:05:59 2012 -0700
Remove "label" property from Gtk.MenuItem if it is not set
The Gtk.MenuItem will not render as a separator if the "label" or
"user-underline" properties have been accessed. The constructor
for Gtk.MenuItem override should not pass the "label" property
as an argument if it is None since that will still result in an
empty label widget which breaks Gtk.SeparatorMenuItem.
https://bugzilla.gnome.org/show_bug.cgi?id=670575
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/overrides/Gtk.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit afa12faf339efb4f7780168e884ecf49b630644a
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 16:36:31 2012 +0200
configure.ac: Post-release bump to 3.3.4.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 198066effc0ca44ccb897e9f0738ab627e8b3275
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 16:35:49 2012 +0200
release 3.3.3.1
NEWS | 3 +++
configure.ac | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 16:32:45 2012 +0200
Do not escape enum and flag names that are Python keywords
These are translated to upper case, and thus can never be
keywords. This broke
existing API such as Gtk.ShadowType.IN.
gi/module.py | 2 +-
gi/pygi-info.c | 7 +++++++
tests/test_gi.py | 3 +++
3 files changed, 11 insertions(+), 1 deletion(-)
commit f2524a982b0b8ba7cdbb77003372416af0b7a978
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 15:39:50 2012 +0200
configure.ac: Post-release version bump to 3.3.4
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fe56faa346c8e8f9fd5915602424778d458a776d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 15:36:37 2012 +0200
release 3.3.3
NEWS | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 15:35:19 2012 +0200
Bring back ChangeLog make target
This is being used by "make dist".
Makefile.am | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 760118e4ed73de2f022706ef897fcc848e90c005
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 15:31:14 2012 +0200
Remove obsolete ChangeLog and release-tag make targets
Makefile.am | 23 -----------------------
1 file changed, 23 deletions(-)
commit e92278692bb51679d6e957c2ac36db64498a7c73
Author: Simon Schampijer <simon@schampijer.de>
Date: Fri Jun 15 16:11:21 2012 +0200
Do not do any python calls when GObjects are destroyed after the
python interpreter has been finalized
This happens when pygobject_data_free () function is called after
the python
interpreter shuts down, we can't do python calls after that.
Benzea did the findings because of a bug in Sugar, and commented
in this
SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
https://bugzilla.gnome.org/show_bug.cgi?id=678046
Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
1 file changed, 22 insertions(+), 5 deletions(-)
commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 15:06:47 2012 +0200
Do not change constructor-only "type" Window property
When reading a Gtk.Window subclass from a GtkBuilder object,
the object's
properties are already set at __init__ time. Do not try to set it
again, to
avoid a warning.
https://bugzilla.gnome.org/show_bug.cgi?id=678510
gi/overrides/Gtk.py | 8 +++++++-
tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 1 deletion(-)
commit 16280d6985f2cf4db9cf062e857650e620fd9da8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Jun 25 09:40:38 2012 +0200
Escape identifiers which are Python keywords
Add a trailing underscore to identifiers which are Python keywords.
We use a per-major-version static identifier list derived from
keyword.kwlist
instead of calling out to Python's keyword.iskeyword(). This is
much faster,
and also allows us to tweak the result. For example, Python 3 dropped
"print"
as a keyword, but we still want to escape that to avoid breaking
the API
between different Python versions.
Error out when building with a major Python version not covered yet,
so that we
do not forget to update the list in the future.
https://bugzilla.gnome.org/show_bug.cgi?id=676746
gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
tests/test_gi.py | 17 +++++++++++++++++
2 files changed, 54 insertions(+), 1 deletion(-)
commit 3864d7a3b7def035ee2daf22ba717371c8d261de
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 22 13:13:37 2012 +0200
Ignore E123 in pep8 tests
This is "closing bracket does not match indentation of opening
bracket's line",
but it really looks better to have the closing bracket on the
indentation level
of the opening bracket instead of the indentation level of the
line that
contains the opening bracket.
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 22 13:08:34 2012 +0200
PEP8: Fix indentation
Spotted by current pep8 checker.
demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
demos/gtk-demo/demos/appwindow.py | 2 +-
demos/gtk-demo/demos/clipboard.py | 8 +--
demos/gtk-demo/demos/colorselector.py | 6 +--
demos/gtk-demo/demos/rotatedtext.py | 8 +--
demos/gtk-demo/gtk-demo.py | 6 +--
examples/option.py | 29 ++++++-----
examples/signal.py | 3 +-
gi/_glib/option.py | 6 +--
gi/_gobject/propertyhelper.py | 18 +++----
gi/module.py | 14 +++---
gi/overrides/GLib.py | 2 +-
gi/overrides/Gio.py | 11 +++--
gi/overrides/Gtk.py | 16 +++---
gi/pygtkcompat.py | 7 ++-
gi/types.py | 17 ++++---
tests/runtests.py | 2 +-
tests/test_gdbus.py | 55 +++++++++++----------
tests/test_gi.py | 15 +++---
tests/test_gobject.py | 18 +++----
tests/test_option.py | 26 +++++-----
tests/test_overrides.py | 67
+++++++++++++-------------
tests/test_properties.py | 30 ++++++------
tests/test_signal.py | 2 +-
tests/test_uris.py | 9 ++--
27 files changed, 200 insertions(+), 193 deletions(-)
commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 22 12:36:54 2012 +0200
PEP8: Use isinstance() instead of direct type comparisons
Spotted by current pep8 checker.
gi/overrides/GLib.py | 2 +-
gi/overrides/__init__.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 50e45a624e6301e65c150e137aad6d092f203f3f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 22 12:30:10 2012 +0200
PEP8: Fix continuation lines
Spotted by current pep8 checker.
demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
gi/__init__.py | 6 +++---
gi/_gobject/__init__.py | 6 ++----
gi/module.py | 6 +++---
tests/test_overrides.py | 11 +++--------
5 files changed, 14 insertions(+), 21 deletions(-)
commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 22 12:24:32 2012 +0200
PEP8: Consistent comparisons against True, False, and None
Spotted by current pep8 checker.
demos/gtk-demo/demos/clipboard.py | 4 ++--
demos/gtk-demo/demos/drawingarea.py | 4 ++--
demos/gtk-demo/gtk-demo.py | 8 ++++----
gi/overrides/Gdk.py | 2 +-
gi/overrides/Gtk.py | 2 +-
tests/test_gi.py | 4 ++--
tests/test_overrides.py | 3 +--
7 files changed, 13 insertions(+), 14 deletions(-)
commit 379c1474a071292a1e8da413af2f5438cff09fc8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Jun 20 12:23:12 2012 +0200
Fix crash in GLib.find_program_in_path()
We need to handle a NULL return value properly.
https://bugzilla.gnome.org/show_bug.cgi?id=678119
gi/_glib/glibmodule.c | 10 ++++++++--
tests/Makefile.am | 1 +
tests/test_glib.py | 15 +++++++++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
commit 73531fd7820bd1922347bd856298d68205a27877
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Jun 20 11:16:39 2012 +0200
Revert "Do not bind gobject_get_data() and gobject_set_data()"
We should have some deprecation period for this, so bring back
these two
methods and add deprecation warnings.
This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
https://bugzilla.gnome.org/show_bug.cgi?id=641944
gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
commit a0daa843801658929ffee5bcb9eb67d955dc7921
Author: David Keijser <keijser@gmail.com>
Date: Mon Jun 18 15:09:34 2012 +0200
GVariant: Raise proper TypeError on invalid tuple input
https://bugzilla.gnome.org/show_bug.cgi?id=678317
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/overrides/GLib.py | 4 ++--
tests/test_overrides.py | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jun 5 19:11:38 2012 +0200
configure.ac: Post-release bump to 3.3.3
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jun 5 19:09:12 2012 +0200
Release 3.3.2
NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
commit 8209c1ae1632c77768699481e574d5d378956e71
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Jun 5 19:04:49 2012 +0200
Fix "release-news" make target
Actually list changes since the previous release, not since 3.1.92.
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
Author: Bastian Winkler <buz@netbuz.org>
Date: Wed May 9 19:04:01 2012 +0200
foreign: Register cairo.Path and cairo.FontOptions foreign structs
They are rarely used, but they are used at least by Gdk, PangoCairo
and
Clutter.
clutter.Path is not used by any API that the test suite uses, so
leave that
without a test for now.
https://bugzilla.gnome.org/show_bug.cgi?id=677388
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygi-foreign-cairo.c | 85
++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_everything.py | 8 +++++
2 files changed, 93 insertions(+)
commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
Author: Marien Zwart <marien.zwart@gmail.com>
Date: Wed May 23 01:51:46 2012 +0200
Check types in GBoxed assignments
Check if the Python value is GBoxed instead of assuming it is.
Without this, the following segfaults:
from gi.repository import Soup
msg = Soup.Message()
msg.props.uri = 'http://www.gnome.org'
as we assume the new property is a GBoxed while it is actually a
string.
https://bugzilla.gnome.org/show_bug.cgi?id=676603
Co-authored-by: Martin Pitt <martinpitt@gnome.org>
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygi-argument.c | 10 +++++++---
tests/test_gi.py | 19 +++++++++++++++++++
2 files changed, 26 insertions(+), 3 deletions(-)
commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
Author: Bastian Winkler <buz@netbuz.org>
Date: Sat May 12 14:08:51 2012 +0200
[API add] Gtk overrides: Add TreeModelRow.get_previous()
TreeModelRow has get_next() and a next property, it should also have
get_previous() and previous.
https://bugzilla.gnome.org/show_bug.cgi?id=677389
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/overrides/Gtk.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit 5501fba534696974899f2591929bff9e1b6ecd65
Author: Bastian Winkler <buz@netbuz.org>
Date: Sat May 12 13:50:02 2012 +0200
[API add] Add missing GObject.TYPE_VARIANT
Add TYPE_VARIANT to constants to make it accessible as
GObject.TYPE_VARIANT.
https://bugzilla.gnome.org/show_bug.cgi?id=677387
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/__init__.py | 1 +
gi/_gobject/constants.py | 1 +
2 files changed, 2 insertions(+)
commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
Author: Jasper St. Pierre <jstpierre@mecheye.net>
Date: Fri Jun 1 02:53:13 2012 -0400
Fix boxed type equality
Each boxed type has its own Python type, not PyGBoxed_Type. Use
PyObject_IsInstance instead of comparing against PyGBoxed_Type
directly.
https://bugzilla.gnome.org/show_bug.cgi?id=677249
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygboxed.c | 3 ++-
tests/test_everything.py | 8 ++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
commit dc8eef26906753fcb3ce057b23ca110137897fa5
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Fri Jun 1 13:43:38 2012 +0200
Fix TestProperties.testBoxed test
A typo was preventing the test from being run.
https://bugzilla.gnome.org/show_bug.cgi?id=676644
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
tests/test_properties.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
Author: Carlos Garnacho <carlos@lanedo.com>
Date: Thu May 17 17:09:15 2012 +0200
Fix handling of by-reference structs as out parameters
When marshalling back from python, copy the result of by-reference
structs into the memory expected by the native caller, instead of
attempting to handle it as a pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=653151
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygi-closure.c | 17 +++++++++++++++++
tests/test_gi.py | 5 +++++
2 files changed, 22 insertions(+)
commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 1 12:28:53 2012 +0200
tests: Add more vfunc checks for GIMarshallingTestsObject
tests/test_gi.py | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 1 12:02:55 2012 +0200
Test caller-allocated GValue out parameter
This came up as a side issue in
https://bugzilla.gnome.org/show_bug.cgi?id=653151
tests/test_gi.py | 3 +++
1 file changed, 3 insertions(+)
commit edc17e703e1a05e20545d3df9167ceb076450443
Author: Bastian Winkler <buz@netbuz.org>
Date: Wed May 16 11:13:05 2012 +0200
GObject.bind_property: Support transform functions
Add support for optional transformation functions to
pygobject_bind_property(). It uses a custom PyGClosure to marshal the
return value correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=676169
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygobject.c | 130
+++++++++++++++++++++++++++++++++++++++++++++---
tests/test_gobject.py | 59 ++++++++++++++++++++++
2 files changed, 181 insertions(+), 8 deletions(-)
commit 07a08b49aae83a297e2f91240448314e4663f724
Author: Carlos Garnacho <carlos@lanedo.com>
Date: Mon May 14 15:31:14 2012 +0200
Fix lookup of vfuncs in parent classes
https://bugzilla.gnome.org/show_bug.cgi?id=672864.
As subclasses implemented in python override the attribute for the
vfunc, __mro__ has to be used so subclasses of the subclass overriding
methods may find the corresponding VFuncInfo.
Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
gi/types.py | 6 +++---
tests/test_gi.py | 27 +++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 3 deletions(-)
commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
Author: Martin Pitt <martinpitt@gnome.org>
Date: Fri Jun 1 08:18:40 2012 +0200
tests/test_properties.py: Fix whitespace
The pep8 check failed on this.
tests/test_properties.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
Author: Jasper St. Pierre <jstpierre@mecheye.net>
Date: Wed May 30 16:45:53 2012 -0400
gi: Support zero-terminated arrays with length arguments
Sometimes, you may see (array zero-terminated=1 length=length)
annotations.
Don't expose the length argument to the user in this case.
https://bugzilla.gnome.org/show_bug.cgi?id=677124
gi/pygi-cache.c | 13 ++++---------
tests/test_gi.py | 3 +++
2 files changed, 7 insertions(+), 9 deletions(-)
commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
Author: Jasper St. Pierre <jstpierre@mecheye.net>
Date: Fri May 25 17:09:55 2012 -0400
Fix build
libregress now needs cairo-gobject
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon May 14 15:48:34 2012 +0200
Fix comment in previous commit
tests/test_gobject.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6610428394d0c65987de5021bf2c38641cdb7116
Author: Simon Feltman <s.feltman@gmail.com>
Date: Tue May 8 20:04:09 2012 -0700
[API add] Add GObject.bind_property method
This adds the "bind_property" method for binding two gobject
properties
together. The method returns a weak reference to a GBinding object.
The BindingWeakRef object is used to manage GBinding objects within
python
created through GObject.bind_property. It is a sub-class
PyGObjectWeakRef so
that we can maintain the same reference counting semantics between
Python
and GObject Binding objects. This gives explicit direct control of the
binding lifetime by using the "unbind" method on the BindingWeakRef
object
along with implicit management based on the lifetime of the source or
target objects.
Note this does not yet include support for converter closures. This
can come
later after the initial implementation is accepted.
https://bugzilla.gnome.org/show_bug.cgi?id=675582
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygobject.c | 104
+++++++++++++++++++++++++++++++++++++++++++++++-
tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 193 insertions(+), 1 deletion(-)
commit 88babe7377402f6e6f912a8b83615aab848eae81
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Fri May 11 19:08:47 2012 -0300
pygtkcompat: Correctly set flags
https://bugzilla.gnome.org/show_bug.cgi?id=675911
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygtkcompat.py | 5 ++---
tests/test_pygtkcompat.py | 1 +
2 files changed, 3 insertions(+), 3 deletions(-)
commit 3f712b56397296bca2f5358cd52977b1a2011964
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Fri May 11 12:39:05 2012 -0300
Gtk overrides: Implement __delitem__ on TreeModel
https://bugzilla.gnome.org/show_bug.cgi?id=675892
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/overrides/Gtk.py | 16 ++++++++++++----
tests/test_overrides.py | 9 +++++++++
2 files changed, 21 insertions(+), 4 deletions(-)
commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
Author: Simon Feltman <s.feltman@gmail.com>
Date: Sun May 6 18:10:39 2012 -0700
Gdk Color override should support red/green/blue_float properties
Added red_float, green_float, and blue_float properties to Color.
Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
https://bugzilla.gnome.org/show_bug.cgi?id=675579
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
tests/Makefile.am | 2 +-
tests/test_overrides.py | 17 +++++++++++++++++
3 files changed, 62 insertions(+), 1 deletion(-)
commit d9608c332d9592f03545b110cfac8105453ea035
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat May 5 12:42:42 2012 -0700
Support marshalling of GVariants for closures
Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
closures can
be called with GVariant arguments and return GVariant.
Unmark the corresponding test case as "expected failure", and also
add cases
for None values and type mismatches.
https://bugzilla.gnome.org/show_bug.cgi?id=656554
gi/_gobject/pygtype.c | 47
+++++++++++++++++++++++++++++++++++++++++++++--
tests/test_everything.py | 16 ++++++++++++----
2 files changed, 57 insertions(+), 6 deletions(-)
commit e7a909c16dc1c625ab11e270f23d540f15c71767
Author: Johan Dahlin <johan@gnome.org>
Date: Mon May 7 10:33:40 2012 -0300
Require gobject-introspection 1.33.0
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9e8239684433631e0d1650d25416e4d7bf92a058
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 18:28:23 2012 -0700
NEWS: Add API additions since 3.2.0
NEWS | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 18:25:23 2012 -0700
NEWS: Mark API changes since 3.2.0
NEWS | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 18:19:35 2012 -0700
Fix commit 168a087 for Python 3
Simplify the type check and use the already existing one. Fix the
string check
to work with both Python 2 and 3.
gi/pygi-argument.c | 42 +++++++++---------------------------------
1 file changed, 9 insertions(+), 33 deletions(-)
commit 42c717ed77613e02f3c8ef2685bc071462b87d73
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 18:08:57 2012 -0700
pygtkcompat.py: Typo fix
Was missing a space around operator, causing the PEP8 check to fail.
gi/pygtkcompat.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 18:02:04 2012 -0700
_pygi_argument_from_object(): Check for compatible data type
Verify that the passed PyObject actually matches the expected type
of the
argument. With this, trying to assign a wrong type to a property
will now raise
a proper TypeError.
gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
gi/pygi-property.c | 3 +++
tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 82 insertions(+)
commit 5948b62ba3e08ea943e6965ee38c94c363186226
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 17:59:57 2012 -0700
pygtkcompat: Fix color conversion
gtk_style_context_get_background_color() returns a GdkRGBA value,
which has
float values between 0 and 1. However, we construct a GdkColor
object from
that, so we need to scale to 0..65535 and round to int.
gi/pygtkcompat.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 06:02:31 2012 -0700
test_gi: Check setting properties in constructor
tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
commit 9f50fd214e4214f83959b2883a0c667f7f157c97
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun May 6 05:50:00 2012 -0700
Support getting and setting GStrv properties
gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
tests/test_gi.py | 11 +++++++++++
2 files changed, 47 insertions(+)
commit 8321af2c7df499291e664c676376f149a0c3dcac
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat May 5 13:58:29 2012 -0700
Support defining GStrv properties from Python
gi/_gobject/propertyhelper.py | 10 ++++++--
tests/test_properties.py | 58
+++++++++++++++++++++++++++++++++++++++++--
2 files changed, 64 insertions(+), 4 deletions(-)
commit f2494526e1c579c41babfe7ff67deef0f6966adf
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat May 5 13:21:20 2012 -0700
Add GObject.TYPE_STRV constant
gi/_gobject/__init__.py | 1 +
gi/_gobject/constants.py | 1 +
tests/test_everything.py | 2 +-
tests/test_signal.py | 2 +-
4 files changed, 4 insertions(+), 2 deletions(-)
commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat May 5 09:28:36 2012 +0200
Unref GVariants when destroying the wrapper
https://bugzilla.gnome.org/show_bug.cgi?id=675472
gi/overrides/GLib.py | 3 +++
1 file changed, 3 insertions(+)
commit d6c091d87c86c8ccc7cb54347fbceccedac61633
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat May 5 09:23:55 2012 +0200
Fix TestArrayGVariant test cases
test_array_gvariant_container_in() and test_array_gvariant_full_in()
called
GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
error.
Actually do what they mean to do now and call the corresponding
GIMarshallingTests methods.
tests/test_gi.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit fda8a069d503e63c76a6b1ba285a181822549059
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Sat May 5 08:52:41 2012 +0200
pygtkcompat: Add gdk.pixbuf_get_formats compat code
https://bugzilla.gnome.org/show_bug.cgi?id=675489
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygtkcompat.py | 20 ++++++++++++++++++++
tests/test_pygtkcompat.py | 8 ++++++++
2 files changed, 28 insertions(+)
commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Mon Apr 30 13:44:19 2012 -0300
pygtkcompat: Add some more compat functions
https://bugzilla.gnome.org/show_bug.cgi?id=675489
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygtkcompat.py | 14 ++++++++++++++
1 file changed, 14 insertions(+)
commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu May 3 12:25:04 2012 +0200
Fix tests for Python 3
cmp() does not exist any more in Python 3, replace with comparison
operators.
GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
so we
can't pass a str (which is an Unicode object in Python 3). Pass a
byte array
instead.
tests/test_gi.py | 2 +-
tests/test_overrides.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu May 3 09:38:56 2012 +0200
Fix building with --disable-cairo
Build gobject-introspection's regress.c against cairo, not
pycairo/py3cairo. We
always need cairo to build, so unconditionally check for this in
configure.ac.
In test_everything.py, gracefully handle the absence of the "cairo"
Python
module, which we do not have when building without cairo support.
configure.ac | 3 +++
tests/Makefile.am | 4 ++--
tests/test_everything.py | 8 +++++++-
3 files changed, 12 insertions(+), 3 deletions(-)
commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu May 3 09:28:51 2012 +0200
tests: Fix deprecated assertions
assertAlmostEquals → assertAlmostEqual
assertNotEquals → assertNotEqual
tests/test_everything.py | 4 ++--
tests/test_gi.py | 12 ++++++------
tests/test_overrides.py | 10 +++++-----
3 files changed, 13 insertions(+), 13 deletions(-)
commit 07f312e66c07357168098d3f96813d2c997e8dc7
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed May 2 12:08:19 2012 +0200
Run tests with MALLOC_PERTURB_
We mostly use the glib allocation functions, but this might
help to uncover access to already freed or uninitialized memory in
a few edge
cases.
tests/Makefile.am | 1 +
1 file changed, 1 insertion(+)
commit b0740d386c2cbbd153878209b584b568968e4d98
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 30 16:26:57 2012 +0200
configure.ac: Post-release bump to 3.3.2
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d3977266faadacd3d05705497c1cf51a01a6606f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 30 16:08:09 2012 +0200
Release 3.3.1
NEWS | 66
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
Author: Giovanni Campagna <gcampagna@src.gnome.org>
Date: Sun Apr 29 23:55:15 2012 +0200
GSettings: allow extra keyword arguments
All GObject constructors are expected to accept any construct
property as keyword argument, and overrides should respect that.
In particular, not doing this for GSettings prevents using a custom
GSettingsSchema.
https://bugzilla.gnome.org/show_bug.cgi?id=675105
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/overrides/Gio.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
Author: Jose Rostagno <joserostagno@vijona.com.ar>
Date: Sun Apr 29 12:56:50 2012 -0300
pygtkcompat: Correct Userlist module use
https://bugzilla.gnome.org/show_bug.cgi?id=675084
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygtkcompat.py | 2 +-
tests/test_pygtkcompat.py | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
commit 3551462a429ef30274fa01fc8111da5025f9c342
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Apr 29 20:17:47 2012 +0200
Add release-news make rule
This produces a commit log since the previous release in our
current NEWS
format. This does not currently wrap long lines automatically, though.
Do include bug numbers from now on, as they are very useful.
Makefile.am | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
commit fe79ef612a7853f024b73c7997b8ec89015ae94c
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Apr 25 13:07:59 2012 +0200
Add "make check.nemiver" target
Similar to "check.gdb", but invokes nemiver.
Makefile.am | 3 +++
tests/Makefile.am | 3 +++
2 files changed, 6 insertions(+)
commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Apr 24 13:24:00 2012 +0200
Test flags and enums in GHash values
https://bugzilla.gnome.org/show_bug.cgi?id=637466
tests/test_everything.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
commit 88d189ec3e3d900a96496a50c1d6e76615b19558
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Apr 24 13:03:36 2012 +0200
tests: Activate test_hash_in and apply workaround
Work around pygobject's current inability to produce a GStrv object
from a
string array by explicitly producing a GStrV object, and reactivate
test case.
https://bugzilla.gnome.org/show_bug.cgi?id=666636
tests/test_everything.py | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 23 12:33:09 2012 +0200
Add special case for Gdk.Atom array entries from Python
Gdk.Atom pretends to be a struct pointer, but is really just an
int wrapped
into a pointer. So we must not dereference it directly, nor free
it, but
instead just copy the pointer value.
Also add a few other test cases for "single Atom return", "single
Atom argument
in", and Atom GList return", which already work fine.
https://bugzilla.gnome.org/show_bug.cgi?id=661709
gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
tests/Makefile.am | 1 +
tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 56 insertions(+), 4 deletions(-)
commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 23 20:09:43 2012 +0200
test_gdbus: Call GetConnectionUnixProcessID() with correct signature
https://bugzilla.gnome.org/show_bug.cgi?id=667954
tests/test_gdbus.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3ae38d7519524288a57e5d522954b9d6725f0185
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 23 18:47:34 2012 +0200
Add test case for Gtk.ListStore custom sort
This works in Python 2, but crashes in Python 3, another case of
the segfaults
we get when C calls a Python callback in Python 3.
https://bugzilla.gnome.org/show_bug.cgi?id=674475
tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 23 17:40:23 2012 +0200
GTK overrides: Add missing keyword arguments
Add missing **kwargs to overridden __init__() constructors, to
allow specifying
arbitrary widget properties.
https://bugzilla.gnome.org/show_bug.cgi?id=660018
gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
tests/test_overrides.py | 6 ++++++
2 files changed, 24 insertions(+), 16 deletions(-)
commit d37680bb9390426f7f58ea3d352c3e5e2106e978
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 23 15:24:04 2012 +0200
Add missing override for TreeModel.iter_previous()
This should behave like the override for TreeModel.iter_next().
https://bugzilla.gnome.org/show_bug.cgi?id=660018
gi/overrides/Gtk.py | 6 ++++++
tests/test_overrides.py | 4 ++++
2 files changed, 10 insertions(+)
commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sun Apr 22 16:45:06 2012 +0200
pygi-convert.py: Drop obsolete drag method conversions
Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
were
fixed a while ago to be proper Widget methods again.
https://bugzilla.gnome.org/show_bug.cgi?id=652860
pygi-convert.sh | 3 ---
1 file changed, 3 deletions(-)
commit f82eca6006dec21624796074af8ffe9b2256f7a4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Sat Apr 21 14:00:50 2012 +0200
tests: Replace deprecated assertEquals() with assertEqual()
tests/test_everything.py | 144 ++++++-------
tests/test_gi.py | 502
+++++++++++++++++++++++-----------------------
tests/test_gobject.py | 58 +++---
tests/test_option.py | 6 +-
tests/test_overrides.py | 352 ++++++++++++++++----------------
tests/test_properties.py | 18 +-
tests/test_pygtkcompat.py | 42 ++--
7 files changed, 561 insertions(+), 561 deletions(-)
commit ddb0bf01e694585d58af52673a21796e7c9578ea
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Apr 21 12:02:54 2012 +0200
Plug tiny leak in constant_info_get_value
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
gi/pygi-info.c | 1 +
1 file changed, 1 insertion(+)
commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
Author: Bastian Winkler <buz@netbuz.org>
Date: Thu Apr 12 20:30:05 2012 +0200
Fix len_arg_index for array arguments
Don't set len_arg_index for arrays without the length annotation
given.
This fixes methods like Clutter.Texture.set_from_rgb_data() and
Clutter.Image.set_data()
https://bugzilla.gnome.org/show_bug.cgi?id=674271
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/pygi-cache.c | 4 +++-
gi/pygi-marshal-cleanup.c | 4 ++--
tests/test_gi.py | 3 +++
3 files changed, 8 insertions(+), 3 deletions(-)
commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Apr 19 13:11:56 2012 +0200
Support defining GType properties from Python
Commit 84e3471 fixed the handling of GType properties for properties
that are
defined in the C library already. Add the missing support for
defining such
properties in Python as well.
https://bugzilla.gnome.org/show_bug.cgi?id=674351
gi/_gobject/gobjectmodule.c | 5 ++++-
gi/_gobject/propertyhelper.py | 9 ++++++---
tests/test_properties.py | 42
+++++++++++++++++++++++++++++++++++++++---
3 files changed, 49 insertions(+), 7 deletions(-)
commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Apr 19 16:12:29 2012 +0200
Fix typo in previous commit
In the test case, actually assign the newly created object, so that
we test the
properties of the right object.
tests/test_everything.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
Author: Bastian Winkler <buz@netbuz.org>
Date: Wed Apr 18 21:44:08 2012 +0200
Handle GType properties correctly
Fix conversion from/to properties of type G_TYPE_GTYPE
https://bugzilla.gnome.org/show_bug.cgi?id=674351
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygtype.c | 9 +++++++--
tests/test_everything.py | 15 +++++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
commit d1362451e070e156d2f49c9cde930cc38befb12b
Author: Martin Pitt <martinpitt@gnome.org>
Date: Thu Apr 19 07:27:10 2012 +0200
Add missing GObject.TYPE_GTYPE
gi/_gobject/__init__.py | 1 +
gi/_gobject/constants.py | 1 +
2 files changed, 2 insertions(+)
commit d3225f1540e09719caa73e52d402e946da3add24
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Apr 10 12:44:00 2012 +0200
Fix test_mainloop.py for Python 3
tests/test_mainloop.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
commit 903283119896f3e054694484da4147788b02ce60
Author: Martin Pitt <martinpitt@gnome.org>
Date: Mon Apr 9 15:20:39 2012 +0200
Make callback exception propagation test stricter
Propagating Python exceptions from callbacks through the C context
back to the
original caller does not currently happen, is nontrivial/unsafe
to implement,
and not desirable at this point any more as by now we have established
the
current behaviour. So remove the catching of ZeroDivisionError in
the tests.
https://bugzilla.gnome.org/show_bug.cgi?id=616279
tests/test_everything.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
Author: Simon Feltman <s.feltman@gmail.com>
Date: Sun Mar 18 15:59:58 2012 -0700
Add context management to freeze_notify() and handler_block().
These methods now return a context manager object. Within the
__exit__ method
thaw_notify() and handler_unblock() are called respectively. This
allows
statements like the following:
with obj.freeze_notify():
obj.props.width = 100
obj.props.height = 100
obj.props.opacity = 0.5
This does not affect standard usage of these methods.
https://bugzilla.gnome.org/show_bug.cgi?id=672324
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
tests/test_gobject.py | 158
++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 288 insertions(+), 8 deletions(-)
commit c0922589964c1d8bffe5a56d2f56df96eedfac10
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Apr 4 19:08:54 2012 +0200
Add support for GFlags properties
https://bugzilla.gnome.org/show_bug.cgi?id=620943
gi/_gobject/propertyhelper.py | 9 +++++++--
tests/test_properties.py | 28 +++++++++++++++++++++++++++-
2 files changed, 34 insertions(+), 3 deletions(-)
commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Apr 4 17:54:52 2012 +0200
Wrap GLib.Source.is_destroyed() method
Based on original patch from Bryan Silverthorn.
https://bugzilla.gnome.org/show_bug.cgi?id=524719
gi/_glib/pygsource.c | 15 +++++++++++++++
tests/test_source.py | 24 ++++++++++++++++++++++++
2 files changed, 39 insertions(+)
commit 05030a95a4d3090162ed5f510a26d69bbb152942
Author: Martin Pitt <martinpitt@gnome.org>
Date: Wed Apr 4 15:59:24 2012 +0200
Fix error message when trying to override a non-GI class
Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
https://bugzilla.gnome.org/show_bug.cgi?id=646667
gi/overrides/__init__.py | 7 ++++---
tests/test_overrides.py | 13 +++++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
Author: Steve Frécinaux <code@istique.net>
Date: Wed Apr 4 15:30:55 2012 +0200
Fix segfault when accessing __grefcount__ before creating the GObject
When creating a new instance using Type() and trying to access
__grefcount__ before calling the subclass's __init__ function, there
used to be a segmentation fault because we were trying to access the
not yet created object. Now raise a proper exception instead.
https://bugzilla.gnome.org/show_bug.cgi?id=640434
Co-authored-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygobject.c | 4 ++++
tests/test_gobject.py | 11 +++++++++++
2 files changed, 15 insertions(+)
commit 24cc09a7105299805fcc5bc151f53ac69958d728
Author: Steve Frécinaux <code@istique.net>
Date: Wed Feb 9 18:37:33 2011 +0100
Do not bind gobject_get_data() and gobject_set_data()
They will basically cause a crash if misused, and you can always use a
python member attribute instead.
https://bugzilla.gnome.org/show_bug.cgi?id=641944
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/_gobject/pygobject.c | 40 ----------------------------------------
1 file changed, 40 deletions(-)
commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
Author: Martin Pitt <martinpitt@gnome.org>
Date: Tue Apr 3 22:26:34 2012 +0200
Add test case for multiple GLib.MainLoop instances
Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
corresponding
test case.
https://bugzilla.gnome.org/show_bug.cgi?id=663068
tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 21 15:13:42 2012 +0100
Add a ccallback type which is used to invoke callbacks passed to
a vfunc
Used when overriding methods like gtk_container_forall wich pass in a
callback that needs to be executed on internal children:
def do_forall(self, callback, userdata):
callback(self.custom_child, userdata)
https://bugzilla.gnome.org/show_bug.cgi?id=644926
Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Co-authored-by: Simon Schampijer <simon@laptop.org>
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
gi/Makefile.am | 2 +
gi/gimodule.c | 1 +
gi/module.py | 5 +++
gi/pygi-argument.c | 12 +----
gi/pygi-cache.c | 28 ++++++++++--
gi/pygi-cache.h | 9 ++--
gi/pygi-ccallback.c | 100
++++++++++++++++++++++++++++++++++++++++++
gi/pygi-ccallback.h | 41 +++++++++++++++++
gi/pygi-closure.c | 50 ++++++++++++++++++++-
gi/pygi-invoke-state-struct.h | 2 +
gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
gi/pygi-invoke.h | 3 ++
gi/pygi-private.h | 1 +
gi/pygi.h | 10 +++++
tests/test_gi.py | 16 +++++++
15 files changed, 312 insertions(+), 41 deletions(-)
commit db7e1d078db16b6f11dee51aa97525c451346632
Author: Alberto Mardegan <alberto.mardegan@canonical.com>
Date: Tue Mar 27 17:34:48 2012 +0200
Regression test: marshalling GValues in GHashTable
https://bugzilla.gnome.org/show_bug.cgi?id=668903
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
tests/test_everything.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
commit 7c0017c30129a8db391f902ed592782200d69c64
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 26 17:55:41 2012 +0200
Bump version to 3.3.1
3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
released. So
continue with 3.3.x on master.
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 26 17:51:37 2012 +0200
Update .gitignore
- Ignore *.o, backup files, and generated Makefiles in all
subdirectories
- Ignore *.pyc files.
- Do not ignore .gitignore, we actually want to track this.
.gitignore | 61
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
commit 81de788a72b40acd2f857718d78bdeea01d12eb1
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 26 17:45:08 2012 +0200
Fix "distcheck" and tests with out-of-tree builds
- Symlink *.py files from srcdir into builddir during build, as
Python does not
accept the extensions and modules in different paths.
- "make clean" should remove *.pyc files
- tests/runtests.py: Look for tests in srcdir, not in builddir
Makefile.am | 6 ++++--
gi/Makefile.am | 13 +++++++++++--
gi/_glib/Makefile.am | 12 ++++++++++--
gi/_gobject/Makefile.am | 12 ++++++++++--
gi/overrides/Makefile.am | 10 ++++++++++
gi/repository/Makefile.am | 11 +++++++++++
tests/runtests.py | 6 ++++--
7 files changed, 60 insertions(+), 10 deletions(-)
commit f83d95e6fff572bda659a48e309b4524dafa4e83
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 11:14:03 2012 -0300
Add a pep8 check to the makefile
Also reorganize the pyflakes check, since target dependencies do not
take the exit status of the shell command into account.
https://bugzilla.gnome.org/show_bug.cgi?id=672627
tests/Makefile.am | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:56:59 2012 -0300
PEP8: Remaining whitespace fixes
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
demos/gtk-demo/demos/Tree View/liststore.py | 28
+++++++++++++-------------
demos/gtk-demo/demos/appwindow.py | 10 ++++-----
demos/gtk-demo/demos/rotatedtext.py | 2 +-
examples/cairo-demo.py | 4 ++--
tests/test_gi.py | 12 +++++------
tests/test_overrides.py | 2 +-
7 files changed, 32 insertions(+), 33 deletions(-)
commit 032fcce2bf6070a9001cbb780e90403051e303b1
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:56:03 2012 -0300
PEP8: Add spaces before #
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/drawingarea.py | 6 +++---
demos/gtk-demo/demos/images.py | 10 +++++-----
demos/gtk-demo/demos/rotatedtext.py | 2 +-
gi/__init__.py | 2 +-
gi/_glib/option.py | 2 +-
gi/_gobject/__init__.py | 2 +-
gi/overrides/GLib.py | 12 ++++++------
gi/types.py | 4 ++--
tests/runtests.py | 2 +-
tests/test_gdbus.py | 4 ++--
10 files changed, 23 insertions(+), 23 deletions(-)
commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:52:05 2012 -0300
PEP8: Add missing whitespace after : and ,
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
demos/gtk-demo/demos/appwindow.py | 2 +-
tests/test_everything.py | 23 +++++++++--------------
tests/test_gi.py | 2 +-
tests/test_overrides.py | 2 +-
5 files changed, 13 insertions(+), 18 deletions(-)
commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:49:52 2012 -0300
PEP8: Remove too whitespace before }
https://bugzilla.gnome.org/show_bug.cgi?id=672627
tests/test_overrides.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:49:27 2012 -0300
PEP8: Remove too many blank lines
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/rotatedtext.py | 1 -
tests/test_overrides.py | 1 -
2 files changed, 2 deletions(-)
commit 03e597cb8f3b075efae556ee51a598695a883ad3
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:48:59 2012 -0300
PEP8: Fix whitespace around operators
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/images.py | 2 +-
examples/cairo-demo.py | 8 ++++----
tests/test_gi.py | 4 ++--
tests/test_overrides.py | 8 ++++----
tests/test_properties.py | 14 +++++++-------
tests/test_signal.py | 2 +-
6 files changed, 19 insertions(+), 19 deletions(-)
commit 21aeb19107b718293116e51ecd6479d4d7198b8f
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:46:17 2012 -0300
PEP8: Remove whitespace before (
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
demos/gtk-demo/demos/dialogs.py | 12 ++---
demos/gtk-demo/demos/pickers.py | 8 ++--
demos/gtk-demo/demos/pixbuf.py | 4 +-
demos/gtk-demo/demos/printing.py | 8 ++--
demos/gtk-demo/demos/rotatedtext.py | 2 +-
demos/gtk-demo/gtk-demo.py | 4 +-
gi/module.py | 4 +-
gi/overrides/Pango.py | 2 +-
gi/pygtkcompat.py | 4 +-
tests/test_everything.py | 4 +-
tests/test_overrides.py | 62
+++++++++++++-------------
16 files changed, 68 insertions(+), 68 deletions(-)
commit b04d209930ab01bae6563b0d714aec829739bdc6
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:40:46 2012 -0300
PEP8: Remove whitespace around {}
https://bugzilla.gnome.org/show_bug.cgi?id=672627
tests/test_signal.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
commit 725483a5dc36739dc7836716b5d6d48091564bf8
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:38:59 2012 -0300
PEP8: run via --fix from craigds fork
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
demos/gtk-demo/demos/appwindow.py | 13 +++++-
demos/gtk-demo/demos/assistant.py | 1 +
demos/gtk-demo/demos/builder.py | 1 +
demos/gtk-demo/demos/button_box.py | 1 +
demos/gtk-demo/demos/clipboard.py | 2 +-
demos/gtk-demo/demos/colorselector.py | 1 +
demos/gtk-demo/demos/combobox.py | 4 +-
demos/gtk-demo/demos/dialogs.py | 2 +
demos/gtk-demo/demos/drawingarea.py | 1 +
demos/gtk-demo/demos/expander.py | 4 +-
demos/gtk-demo/demos/images.py | 10 +++--
demos/gtk-demo/demos/infobars.py | 2 +
demos/gtk-demo/demos/links.py | 2 +
demos/gtk-demo/demos/menus.py | 2 +
demos/gtk-demo/demos/pickers.py | 2 +
demos/gtk-demo/demos/pixbuf.py | 2 +
demos/gtk-demo/demos/printing.py | 5 ++-
demos/gtk-demo/demos/rotatedtext.py | 4 +-
demos/gtk-demo/demos/test.py | 1 +
demos/gtk-demo/gtk-demo.py | 9 ++--
examples/cairo-demo.py | 57
++++++++++++++----------
examples/option.py | 1 -
examples/properties.py | 1 +
examples/signal.py | 4 ++
gi/__init__.py | 2 +
gi/_glib/option.py | 4 +-
gi/_gobject/__init__.py | 1 +
gi/_gobject/propertyhelper.py | 5 ++-
gi/module.py | 3 ++
gi/overrides/GIMarshallingTests.py | 2 +
gi/overrides/GLib.py | 12 +++--
gi/overrides/Gdk.py | 9 ++++
gi/overrides/Gio.py | 4 ++
gi/overrides/Gtk.py | 56
++++++++++++++++++++---
gi/overrides/Pango.py | 2 +
gi/overrides/__init__.py | 5 ++-
gi/pygtkcompat.py | 16 +++++--
gi/types.py | 4 ++
tests/test_everything.py | 30 +++++++++----
tests/test_gdbus.py | 1 +
tests/test_gi.py | 30 +++++++------
tests/test_gobject.py | 3 +-
tests/test_mainloop.py | 1 +
tests/test_option.py | 1 +
tests/test_overrides.py | 55
++++++++++++-----------
tests/test_properties.py | 11 ++++-
tests/test_signal.py | 32 ++++++++++++-
tests/test_source.py | 1 +
tests/test_subprocess.py | 1 +
tests/test_thread.py | 1 +
tests/test_uris.py | 1 +
tests/testmodule.py | 1 +
58 files changed, 326 insertions(+), 111 deletions(-)
commit 917275d4aa81db39ccaca34fa514032fb80a3187
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:33:29 2012 -0300
PEP8: Remove spaces around = for keyword arguments
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/appwindow.py | 8 ++++----
demos/gtk-demo/demos/colorselector.py | 4 ++--
demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
examples/option.py | 4 ++--
gi/_glib/option.py | 2 +-
gi/overrides/Gtk.py | 2 +-
tests/test_gi.py | 26 +++++++++++++-------------
tests/test_option.py | 2 +-
tests/test_overrides.py | 8 ++++----
9 files changed, 40 insertions(+), 40 deletions(-)
commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:28:28 2012 -0300
PEP8: Remove trailing ;
https://bugzilla.gnome.org/show_bug.cgi?id=672627
demos/gtk-demo/demos/appwindow.py | 4 ++--
demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
demos/gtk-demo/demos/links.py | 2 +-
demos/gtk-demo/demos/pixbuf.py | 2 +-
demos/gtk-demo/demos/printing.py | 8 ++++----
gi/overrides/Gtk.py | 4 ++--
tests/test_everything.py | 22 +++++++++++-----------
tests/test_gi.py | 2 +-
tests/test_overrides.py | 8 ++++----
9 files changed, 41 insertions(+), 41 deletions(-)
commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 22 10:24:40 2012 -0300
Remove all tabs and fix indentation
By running the whole source tree via the indent.py script found
in the Python distribution.
demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
demos/gtk-demo/demos/appwindow.py | 18 +--
demos/gtk-demo/demos/dialogs.py | 26 ++---
demos/gtk-demo/demos/expander.py | 6 +-
demos/gtk-demo/demos/images.py | 2 +-
demos/gtk-demo/demos/links.py | 2 +-
demos/gtk-demo/demos/rotatedtext.py | 20 ++--
gi/_glib/option.py | 2 +-
gi/_gobject/constants.py | 1 -
gi/importer.py | 1 -
gi/module.py | 10 +-
gi/overrides/GLib.py | 11 +-
gi/overrides/Gdk.py | 30 ++---
gi/overrides/Gio.py | 4 +-
gi/overrides/Gtk.py | 150
++++++++++++-------------
gi/overrides/Pango.py | 1 -
gi/overrides/__init__.py | 10 +-
gi/pygtkcompat.py | 2 +-
tests/compathelper.py | 2 +-
tests/runtests.py | 19 ++--
tests/test_everything.py | 22 ++--
tests/test_gdbus.py | 11 +-
tests/test_gi.py | 38 +++----
tests/test_gobject.py | 2 +-
tests/test_interface.py | 1 -
tests/test_option.py | 1 -
tests/test_overrides.py | 78 ++++++-------
tests/test_properties.py | 2 +-
tests/test_uris.py | 1 -
31 files changed, 255 insertions(+), 271 deletions(-)
commit c375e3136f0f48eb8a6717c0053155db088b329d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Mar 22 10:32:43 2012 +0100
tests: Replace deprecated Python API
failIf → assertFalse, failUnless → assertTrue
Caught by the previous commit of making deprecations fatal.
tests/test_option.py | 10 +++----
tests/test_overrides.py | 66
+++++++++++++++++++++++------------------------
tests/test_properties.py | 14 +++++-----
tests/test_pygtkcompat.py | 18 ++++++-------
tests/test_signal.py | 4 +--
5 files changed, 56 insertions(+), 56 deletions(-)
commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Mar 22 10:31:22 2012 +0100
Fail tests if they use or encounter deprecations
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 65762243a34af014950527c323a51a29d40fb3e1
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Mar 22 10:15:16 2012 +0100
Do not run tests in two phases any more
As we dropped the static bindings a while ago, there is no need any
more to run
the tests in two phases (static/GI). Now just run them all in one go,
simplifying tests/Makefile.am.
As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
now
needs to happen even further, so move it from tests/test_overrides.py
to
tests/runtests.py.
tests/Makefile.am | 33 ++++++++++++---------------------
tests/runtests.py | 7 +++++++
tests/test_overrides.py | 6 ------
3 files changed, 19 insertions(+), 27 deletions(-)
commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Mar 22 09:58:21 2012 +0100
test_overrides: Find local gsettings schema with current glib
With current glib, gsettings now fails to find the gschemas.compiled
during the
tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
import,
which makes this work again.
tests/test_overrides.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Mar 21 21:09:24 2012 +0100
Add GtkComboBoxEntry compatibility
This widget has been removed in Gtk+ 3, add a small wrapper to the
compat module to make at least basic pygtk programs that use it work.
https://bugzilla.gnome.org/show_bug.cgi?id=672589
gi/pygtkcompat.py | 19 +++++++++++++++++++
tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
2 files changed, 41 insertions(+)
commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Mar 21 16:01:35 2012 -0300
Correct review comments from Martin
https://bugzilla.gnome.org/show_bug.cgi?id=672578
tests/test_everything.py | 4 ++--
tests/test_pygtkcompat.py | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Mar 21 14:45:53 2012 -0300
Correct pyflakes warnings/errors
And add a target to make check that runs pyflakes.
https://bugzilla.gnome.org/show_bug.cgi?id=672578
demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
demos/gtk-demo/demos/appwindow.py | 13 +-
demos/gtk-demo/demos/assistant.py | 4 +-
demos/gtk-demo/demos/builder.py | 4 +-
demos/gtk-demo/demos/button_box.py | 2 +-
demos/gtk-demo/demos/clipboard.py | 2 +-
demos/gtk-demo/demos/colorselector.py | 2 +-
demos/gtk-demo/demos/combobox.py | 4 +-
demos/gtk-demo/demos/dialogs.py | 4 +-
demos/gtk-demo/demos/drawingarea.py | 2 +-
demos/gtk-demo/demos/expander.py | 4 +-
demos/gtk-demo/demos/images.py | 8 +-
demos/gtk-demo/demos/infobars.py | 2 +-
demos/gtk-demo/demos/links.py | 2 +-
demos/gtk-demo/demos/menus.py | 5 +-
demos/gtk-demo/demos/pickers.py | 2 +-
demos/gtk-demo/demos/pixbuf.py | 2 +-
demos/gtk-demo/demos/printing.py | 3 +-
demos/gtk-demo/demos/rotatedtext.py | 6 +-
demos/gtk-demo/gtk-demo.py | 9 +-
examples/cairo-demo.py | 2 +-
gi/__init__.py | 4 +
gi/_glib/__init__.py | 101 ++++++++++-
gi/_glib/option.py | 1 +
gi/_gobject/__init__.py | 203
++++++++++++++++++++---
gi/_gobject/constants.py | 2 -
gi/_gobject/propertyhelper.py | 4 +-
gi/importer.py | 2 +-
gi/module.py | 1 -
gi/overrides/Gtk.py | 1 -
gi/overrides/__init__.py | 1 -
gi/pygtkcompat.py | 2 +
gi/types.py | 3 +
tests/Makefile.am | 5 +
tests/test_everything.py | 6 +-
tests/test_gi.py | 8 +-
tests/test_option.py | 10 +-
tests/test_overrides.py | 30 ++--
tests/test_properties.py | 12 +-
tests/test_pygtkcompat.py | 4 -
tests/test_signal.py | 4 +-
tests/test_source.py | 6 +-
47 files changed, 377 insertions(+), 138 deletions(-)
commit 39650906559fcc39b4be406fa7e25c4788d349a3
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Mar 21 16:59:33 2012 +0100
Make tests fail on CRITICAL logs, too, and apply to all tests
Instead of setting warnings/criticals to fatal in individual test
modules, do
it in runtests.py, so that it applies to all tests.
We currently have some tests which are known to generate CRITICALs
(now marked
with FIXME), and some WARNINGs (as they test behaviour with known-bad
values).
For these, warnings/criticals are now explicitly permitted.
tests/runtests.py | 1 +
tests/test_gi.py | 7 ++++++-
tests/test_overrides.py | 14 +++++++-------
tests/test_properties.py | 36 +++++++++++++++++++++---------------
4 files changed, 35 insertions(+), 23 deletions(-)
commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
Author: Alberto Mardegan <alberto.mardegan@canonical.com>
Date: Tue Mar 20 14:55:07 2012 +0400
Support marshalling GI_TYPE_TAG_INTERFACE
Marshalling of interfaces got broken with commit
7746d2188ac4933c2c9011d84525d1e62fc18953.
Also, do not abort on unsupported types, but log a critical failure
and
continue.
https://bugzilla.gnome.org/show_bug.cgi?id=668903
gi/pygi-marshal-from-py.c | 3 ++-
gi/pygi-marshal-to-py.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
commit 8d85d6639778ec6364235071d272d67e7aae49ae
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Mar 21 14:34:36 2012 +0100
Fix warnings on None values in added tree/list store rows
Commit bf8c95836e1c changed the List/TreeStore overrides to use
insert_with_valuesv(), but supplied all columns instead of just
those which are
not None. With this, None values cause warnings like
(runtests.py:12375): Gtk-WARNING **:
/build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
convert from (null) to gboolean
Update the tests to make warnings fatal, to catch this better.
Change _convert_row() to skip the None entries and return the list
of not-None
columns, and use the latter instead of a simple range(n_columns). This
matches
the behaviour before bf8c95836e1c, where columns with None values
were skipped
as well.
https://bugzilla.gnome.org/show_bug.cgi?id=672463
gi/overrides/Gtk.py | 26 ++++++++++++++------------
tests/test_overrides.py | 5 +++++
2 files changed, 19 insertions(+), 12 deletions(-)
commit 38aecc481741fd3a319a76a0ec8bf5329a483876
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Mar 21 15:21:02 2012 +0100
pygtkcompat test: Properly clean up PixbufLoader
Tests currently give
(runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
without calling gdk_pixbuf_loader_close() - this is not allowed. You
must explicitly end the data stream to the loader before dropping
the last reference.
Fix this by calling close().
tests/test_pygtkcompat.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 19 16:58:22 2012 +0100
post-release bump
Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 19 16:41:17 2012 +0100
Release 3.1.92
NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
commit b41e6139befb984c0b78bcefe2630ab1393b4b40
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 19 16:14:54 2012 +0100
README: Update current maintainers
Also update Martin's email address.
README | 10 ++++++----
pygobject.doap | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
commit 45e27ba7e447552057a2950fc768c63ff2e6612e
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 19 16:11:22 2012 +0100
Bump version to 3.1.92, in sync with GNOME
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 77d358f8c5f524259249ea686899e3a4da05562e
Author: Johan Dahlin <johan@gnome.org>
Date: Mon Mar 19 11:54:07 2012 -0300
Correct Gtk.TreePath.__iter__ to work with Python 3
gi/overrides/Gtk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 19 15:54:13 2012 +0100
Fix pygtkcompat.py to work with Python 3
gi/pygtkcompat.py | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
commit 96a9f92da801989464fbcedf6d849819f6dbea64
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 19 15:32:22 2012 +0100
Fix test_everything.TestSignals.test_object_param_signal test case
The callback gets two arguments, not one. This short-circuited
the actual
assertions. Fix the arguments and update the refcount check, as it
is not
exactly two at the moment.
tests/test_everything.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit ba00afb1e50759b2b321f16e05a15946053cdafa
Author: Johan Dahlin <johan@gnome.org>
Date: Mon Mar 19 10:58:09 2012 -0300
pygtkcompat: Remove first argument for get_origin()
gi/pygtkcompat.py | 5 +++++
tests/test_pygtkcompat.py | 5 +++++
2 files changed, 10 insertions(+)
commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 16:08:44 2012 -0300
GtkViewport: Add a default values for the adjustment constructor
parameters
https://bugzilla.gnome.org/show_bug.cgi?id=672260
gi/overrides/Gtk.py | 10 ++++++++++
tests/test_overrides.py | 11 +++++++++++
2 files changed, 21 insertions(+)
commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 16:08:23 2012 -0300
GtkIconSet: Add a default value for the pixbuf constructor parameter
https://bugzilla.gnome.org/show_bug.cgi?id=672260
gi/overrides/Gtk.py | 11 +++++++++++
tests/test_overrides.py | 6 ++++++
2 files changed, 17 insertions(+)
commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 16:07:30 2012 -0300
PangoLayout: Add a default value for set_markup()
https://bugzilla.gnome.org/show_bug.cgi?id=672260
gi/overrides/Pango.py | 3 +++
tests/test_overrides.py | 4 ++++
2 files changed, 7 insertions(+)
commit a3ca47b086b7fcf084282be788c5d737dde847ac
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 16:06:37 2012 -0300
Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
parameter
https://bugzilla.gnome.org/show_bug.cgi?id=672260
gi/overrides/Gtk.py | 15 +++++++++++++++
tests/test_overrides.py | 14 ++++++++++++++
2 files changed, 29 insertions(+)
commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 16:06:12 2012 -0300
GtkToolButton: Add a default value for the stock_id constructor
parameter
https://bugzilla.gnome.org/show_bug.cgi?id=672260
gi/overrides/Gtk.py | 10 ++++++++++
tests/test_overrides.py | 9 ++++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 16:05:55 2012 -0300
GtkIconView: Add a default value for the model constructor parameter
https://bugzilla.gnome.org/show_bug.cgi?id=672260
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 11 +++++++++++
2 files changed, 14 insertions(+)
commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 15 15:22:46 2012 -0300
Add a default value for column in Gtk.TreeView.get_cell_area()
https://bugzilla.gnome.org/show_bug.cgi?id=672260
gi/overrides/Gtk.py | 5 +++++
tests/test_overrides.py | 3 +++
2 files changed, 8 insertions(+)
commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Mar 15 09:48:10 2012 +0100
Atomic inserts in Gtk.{List,Tree}Store overrides
Gtk.{List,Tree}Store's overrides provide append(), insert()
etc. methods which
take an optional data row array. If this is given, use
insert_with_valuesv()
instead of creating a new iter and then filling it with data. The
latter sent a
row-added signal, at which time the row was still empty, and a
subsequent
row-changed signal. With this we only get a single row-added
signal with
complete row data.
Note that this does not change insert_{before,after}(), as there is no
counterpart of insert_with_valuesv() which takes a TreeIter instead
of a
position. For those you will still get two signals, and have to deal
with None
values.
https://bugzilla.gnome.org/show_bug.cgi?id=671610
gi/overrides/Gtk.py | 81
++++++++++++++++++++++++++++++-------------------
tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 124 insertions(+), 31 deletions(-)
commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Sun Mar 18 16:07:26 2012 +0100
Fix Gtk.Button constructor to accept use_stock parameter
Thanks to kalanzun@googlemail.com!
https://bugzilla.gnome.org/show_bug.cgi?id=672318
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/overrides/Gtk.py | 4 +---
tests/test_overrides.py | 6 ++++++
2 files changed, 7 insertions(+), 3 deletions(-)
commit 466337cf2fd091738eeab12c10d250a9d0827284
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 16:55:47 2012 -0300
Correct bad rebase, remove duplicate Window
gi/overrides/Gtk.py | 7 -------
1 file changed, 7 deletions(-)
commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Mar 15 15:42:28 2012 -0300
Add a PyGTK compatibility layer
This module tries quite a bit harder to maintain compatibility
with PyGTK, module names, enums, flags and some API.
https://bugzilla.gnome.org/show_bug.cgi?id=653462
gi/Makefile.am | 3 +-
gi/pygtkcompat.py | 421
++++++++++++++++++++++++++++++++++++++++++++++
tests/Makefile.am | 3 +-
tests/test_pygtkcompat.py | 77 +++++++++
4 files changed, 502 insertions(+), 2 deletions(-)
commit 680a2e04ac4f80ad16e820d3f753519477c988aa
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Mar 14 15:20:53 2012 -0300
Add bw-compatible arguments to Gtk.Adjustment
The argument used to be called page/step_incr, if they
are found map them to the existing properties for extra
compatibility.
https://bugzilla.gnome.org/show_bug.cgi?id=672087
gi/overrides/Gtk.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit fbd21ee7176bc1b70547ea464b512c8ffd674187
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Mar 14 17:13:04 2012 -0300
GtkTreePath: make it iterable
https://bugzilla.gnome.org/show_bug.cgi?id=672093
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 2 ++
2 files changed, 5 insertions(+)
commit a7b08cb75541612c78d123b1d968be7874e3c481
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Mar 14 13:32:31 2012 -0300
Add a default argument to TreeModelFilter.set_visible_func()
https://bugzilla.gnome.org/show_bug.cgi?id=672081
gi/overrides/Gtk.py | 14 ++++++++++++++
1 file changed, 14 insertions(+)
commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Mar 14 13:31:41 2012 -0300
Add a default argument to Gtk.TreeView.set_cursor
And also make sure that the path is a Gtk.TreePath.
https://bugzilla.gnome.org/show_bug.cgi?id=672081
gi/overrides/Gtk.py | 4 ++++
tests/test_overrides.py | 10 ++++++++++
2 files changed, 14 insertions(+)
commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Mar 14 13:31:06 2012 -0300
Add a default argument to Pango.Context.get_metrics()
https://bugzilla.gnome.org/show_bug.cgi?id=672081
gi/overrides/Pango.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Mar 16 13:27:56 2012 +0100
Fix double-freeing GValues in arrays
When marshalling a GValue array to C, the GValue items are copied
into a C
GValue array, not a C GValue pointer
array. _pygi_marshal_from_py_array()
already calls the cleanup_func for the original item;
_pygi_marshal_cleanup_from_py_array() must not do it again, as this
would try
to g_slice_free the array item.
https://bugzilla.gnome.org/show_bug.cgi?id=672224
gi/pygi-marshal-from-py.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
Author: Simon Feltman <s.feltman@gmail.com>
Date: Fri Mar 16 00:29:31 2012 -0700
Renamed "property" class to "Property"
Renamed to match the rest of the class names in GObject and also
not clobber the builtin python property.
Keep the old "property" identifier for backwards compatibility
for now.
https://bugzilla.gnome.org/show_bug.cgi?id=672168
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
examples/properties.py | 6 +--
gi/_gobject/__init__.py | 7 ++--
gi/_gobject/propertyhelper.py | 12 +++---
tests/test_interface.py | 4 +-
tests/test_properties.py | 94
+++++++++++++++++++++----------------------
5 files changed, 62 insertions(+), 61 deletions(-)
commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Mar 14 22:52:47 2012 +0100
Fix Python to C marshalling of GValue arrays
For GValues we cannot just copy the GValue memory in
_pygi_marshal_from_py_array(), as the from_py_cleanup() function
clears and
releases the GValue and with it its v_pointer. Use g_value_copy()
to copy by
value instead.
This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
It always
assumed that C arrays contained pointers, but this is not the case
for GValue
arrays: these are actual struct arrays, not struct pointer arrays
(cf. their
construction in _pygi_marshal_from_py_array()). Check if an array
contains
pointers or values and compute the correct array item pointer for
both cases.
Also add a corresponding test case for marshalling GValue arrays
from C back to
Python, which works fine.
https://bugzilla.gnome.org/show_bug.cgi?id=672065
gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
gi/pygi-marshal-from-py.c | 13 ++++++++++++-
tests/test_gi.py | 8 ++++++++
3 files changed, 34 insertions(+), 6 deletions(-)
commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Mar 16 09:59:57 2012 +0100
Correct the Gtk.Window hierarchy
We need to make sure that all Gtk.Dialog subclasses inherit from
the overridden Window class. For that to be done automaticly we need
to create the Window class before the Dialog class.
Now when it's inherited properly we need to avoid calling the Window
constructor twice as it passes in a construct-only parameter. So add
**kwargs to the Window constructor to allow us to pass in any kind
of GObject property to it and refactor the Dialog subclasses to pass
in all properties to the same constructor.
Also adds a bunch of tests to make sure that the hiearchy is correct.
https://bugzilla.gnome.org/show_bug.cgi?id=672158
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/overrides/Gtk.py | 56
++++++++++++++++++++++++-------------------------
tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
2 files changed, 61 insertions(+), 30 deletions(-)
commit 77ab27ab8a580d98f76730f075e083e1e870f55e
Author: simon <simon@gerty>
Date: Tue Mar 13 01:41:53 2012 -0700
Renamed getter/setter instance attributes to fget/fset respectively.
The python 'property' class allows for decoration of methods using
.getter and .setter. These were added as methods to the
GObject.property
class to match that of the python property class and allow for
decoratored
setter methods.
In addition, __call__ was added to allow an instantiated decorator
with
args to also decorate a method:
class C(GObject.GObject):
_value = 0
@GObject.property(type=int, default=0)
def propInt(self):
return self._value
@propInt.setter
def propInt(self, value):
self._value = value
https://bugzilla.gnome.org/show_bug.cgi?id=586181
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/_gobject/__init__.py | 10 ++++----
gi/_gobject/propertyhelper.py | 59
+++++++++++++++++++++++++++++++------------
tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
3 files changed, 89 insertions(+), 21 deletions(-)
commit 174a61fb3149c07dab5cc35e64825922cdefcb95
Author: Johan Dahlin <johan@gnome.org>
Date: Tue Mar 13 17:10:13 2012 -0300
Add Gtk.Arrow/Gtk.Window constructor override
Adds argument that makes them compatible with PyGTK.
https://bugzilla.gnome.org/show_bug.cgi?id=672045
gi/overrides/Gtk.py | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
commit 7746d2188ac4933c2c9011d84525d1e62fc18953
Author: Michel Dänzer <michel@daenzer.net>
Date: Fri Mar 9 12:26:53 2012 +0100
Fix marshalling to/from Python to work on big endian machines.
https://bugzilla.gnome.org/show_bug.cgi?id=668903
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/pygi-argument.c | 25 ++++++++++++++++---------
gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
3 files changed, 60 insertions(+), 16 deletions(-)
commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
Author: Michel Dänzer <michel@daenzer.net>
Date: Thu Mar 8 12:21:28 2012 +0100
Use gi_cclosure_marshal_generic instead of duplicating it.
Bump gobject-introspection dependency to ensure that we have the
corresponding
changes in g-i.
https://bugzilla.gnome.org/show_bug.cgi?id=668903
Signed-off-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
configure.ac | 3 +-
gi/_gobject/Makefile.am | 7 +-
gi/_gobject/ffi-marshaller.c | 194
-------------------------------------------
gi/_gobject/ffi-marshaller.h | 31 -------
gi/_gobject/gobjectmodule.c | 12 +--
5 files changed, 4 insertions(+), 243 deletions(-)
commit 8ca828825a2c47080055c5f986979aac8da9a93f
Author: René Stadler <rene.stadler@collabora.co.uk>
Date: Mon Mar 5 21:10:55 2012 +0100
Override Gtk.TreeView.get_visible_range to fix return
Just like IconView.
https://bugzilla.gnome.org/show_bug.cgi?id=671409
gi/overrides/Gtk.py | 5 +++++
1 file changed, 5 insertions(+)
commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Mar 4 16:41:18 2012 +0100
Plug memory leak in _is_union_member
When we found the member, unref the objects before breaking out of the
loop.
gi/pygi-marshal-from-py.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
commit c6ae29ac157978a61b11cc2de9e8485d8a175105
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Tue Feb 21 15:37:18 2012 +0100
tests: Split TestInterfaces into separate tests
tests/test_gi.py | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Feb 20 19:37:32 2012 +0100
Post release version bump to 3.1.2
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Feb 20 19:33:56 2012 +0100
Prepare 3.1.1 release
NEWS | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
commit 99485d96811667ef7a7a393b68b7361733157d61
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Feb 18 00:38:05 2012 +0100
Don't use C99 style
gi/pygi-cache.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 0739c39f6282d95fc17ee406fa1151d074b0450d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Feb 16 16:42:53 2012 +0100
Add test for GPtrArray with transfer full
This complements the already existing test for a "transfer container"
return
array. We can't verify the internal refcount as these arrays get
marshalled
internally, but at least we can verify that it does not crash due to
double-free.
tests/test_everything.py | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Feb 15 13:36:39 2012 +0100
Drop obsolete g_thread_init()
Not necessary any more since glib 2.24, and we depend on 2.31.
gi/_glib/pyglib.c | 3 ---
1 file changed, 3 deletions(-)
commit 66fb610e45912a7def29e5848577d280ef55643a
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Feb 15 13:35:33 2012 +0100
Fix deprecated g_source_get_current_time()
Use g_get_real_time() instead as recommended by the
documentation. This also
simplifies the code.
gi/_glib/pygsource.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Feb 15 13:31:23 2012 +0100
Fix deprecated g_value_[gs]et_char()
Replace with _schar(). We depend on glib >= 2.31 already.
gi/_gobject/ffi-marshaller.c | 2 +-
gi/_gobject/pygtype.c | 6 +++---
gi/pygi-argument.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
Author: Simon Schampijer <simon@schampijer.de>
Date: Thu Feb 2 19:06:01 2012 +0100
Make pygiconvert.sh correctly convert gtk.gdk.x11_*
Looking at the gir file gtk.gdk.x11_* should get converted to
GdkX11.x11_*. Fixing pygiconvert.sh to do so.
pygi-convert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Feb 10 13:29:41 2012 +0100
Raise required glib version to 2.31 because of g_value_(get|set)_schar
Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Feb 10 09:28:36 2012 +0100
Fix cset_first typo
https://bugzilla.gnome.org/show_bug.cgi?id=649267
gi/_gobject/pygparamspec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
Author: Bastian Winkler <buz@netbuz.org>
Date: Mon Nov 14 14:41:08 2011 +0100
pygi-convert: Handle Clutter and Cogl
https://bugzilla.gnome.org/show_bug.cgi?id=664496
pygi-convert.sh | 76
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
Author: Cédric Krier <cedric.krier@b2ck.com>
Date: Fri Feb 10 09:04:18 2012 +0100
Provide access to gpointer struct values
https://bugzilla.gnome.org/show_bug.cgi?id=668356
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/pygi-argument.c | 3 ++-
gi/pygi-info.c | 13 +++++++++++++
tests/test_everything.py | 21 +++++++++++++++++++++
3 files changed, 36 insertions(+), 1 deletion(-)
commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
Author: Paolo Borelli <pborelli@gnome.org>
Date: Thu Feb 9 18:15:42 2012 +0100
Add some GType tests
Use what was recently added in g-i
tests/test_gi.py | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
Author: Paolo Borelli <pborelli@gnome.org>
Date: Thu Feb 9 18:14:52 2012 +0100
Split GStrv and array variant tests in their own classes
Also tidy up the spacing a bit
tests/test_gi.py | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)
commit db7f9be319d3cf52aef300fbac60cabb7ff57276
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Feb 8 22:23:30 2012 +0100
Add unit test for builder's connect_after
tests/test_overrides.py | 8 ++++++++
1 file changed, 8 insertions(+)
commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
Author: Ryan Lortie <desrt@desrt.ca>
Date: Wed Feb 8 16:06:22 2012 -0500
fix GtkBuilder signal connection 'after' logic
All GtkBuilder signals are presently being connected 'after', ignoring
what is specified in the builder XML. This is due to an obvious logic
error.
https://bugzilla.gnome.org/show_bug.cgi?id=669705
gi/overrides/Gtk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1d23d8006be98b77a0134fddd23b76df05e489fa
Author: Patrick Welche <prlw1@cam.ac.uk>
Date: Tue Feb 7 11:49:58 2012 +0000
test(1) uses '=' to test if strings are identical
https://bugzilla.gnome.org/show_bug.cgi?id=669598
m4/python.m4 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
Author: Ryan Lortie <desrt@desrt.ca>
Date: Tue Feb 7 13:42:19 2012 -0500
pygspawn: improve error checking
gspawn 'argv' and 'envp' parameters expect sequences of strings. This
is enforced by checking that the passed argument is a sequence
and that
each item returned from it is a string.
We do now, however, verify that each item can be successfully
taken from
the sequence. 'os.environ' is an example of an object that passes
PySequence_Check() but fails to return objects from PySequence_ITEM().
Add a simple NULL check to avoid the crash.
https://bugzilla.gnome.org/show_bug.cgi?id=669594
gi/_glib/pygspawn.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Feb 6 19:15:53 2012 +0100
Post release version bump to 3.1.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Feb 6 19:11:52 2012 +0100
Prepare 3.1.0 release
NEWS | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Feb 6 19:04:41 2012 +0100
Updated DOAP file to only include people currently actively working
on the project
Removed obsolete MAINTAINERS file
MAINTAINERS | 19 -------------------
pygobject.doap | 44 +++++++++++++++-----------------------------
2 files changed, 15 insertions(+), 48 deletions(-)
commit 0285e107be581c4d594127dc06cd05df1f02fb3f
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Feb 6 18:57:01 2012 +0100
Revert "Convert all strings to utf-8 encoding when retrieving from
TreeModel"
This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
Due to this commit breaking backwards compatability, we decided to
revert this change
gi/overrides/Gtk.py | 15 ---------------
tests/compathelper.py | 2 --
tests/test_overrides.py | 31 +------------------------------
3 files changed, 1 insertion(+), 47 deletions(-)
commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sun Feb 5 13:47:10 2012 +0100
tests: Fixed issues with python3
tests/test_gi.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sun Feb 5 11:59:51 2012 +0100
Properly distinguish between different integer types for properties
https://bugzilla.gnome.org/show_bug.cgi?id=664150
gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
tests/test_gi.py | 62
++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+), 4 deletions(-)
commit c329bf2aee8d75ce452638db75e09197ff2b9b65
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sun Feb 5 11:46:21 2012 +0100
Distinguish between GArray and GPtrArray when cleaning up
This fixes a crash in test_gi.TestGPtrArray and makes sure
memory is free'd correctly
https://bugzilla.gnome.org/show_bug.cgi?id=669393
gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
1 file changed, 23 insertions(+), 9 deletions(-)
commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Feb 5 18:51:53 2012 +0100
Add null_gerror_callback unit test
This models the case where the callback is successful and does not set
an error.
https://bugzilla.gnome.org/show_bug.cgi?id=669415
tests/test_everything.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit a41984780ee49dcf02c718ca1be87bba747472e5
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Feb 6 09:34:28 2012 +0100
pyglib_error_check: Re-add missing NULL check
Commit adcfe96d49b09bc accidentally dropped the check if *error is
NULL, i. e.
any error is actually set. Due to that, pyglib_error_check()
always returned
TRUE. Reintroduce the check.
Thanks to Alberto Mardegan for spotting this!
https://bugzilla.gnome.org/show_bug.cgi?id=669415
gi/_glib/pyglib.c | 2 ++
1 file changed, 2 insertions(+)
commit 2c797c17913999379e277788d5e4cce8d68cebb0
Author: Michael Culbertson <michael.culbertson@gmail.com>
Date: Sat Feb 4 16:11:34 2012 +0100
Add tests/runtests-windows.py to source tarball
https://bugzilla.gnome.org/show_bug.cgi?id=663288
tests/Makefile.am | 1 +
1 file changed, 1 insertion(+)
commit d6a899cdf70e978534326155e3fad75a705f4b20
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Feb 4 15:55:55 2012 +0100
Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
even when unused
https://bugzilla.gnome.org/show_bug.cgi?id=665553
gi/overrides/Gtk.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
Author: Nirbheek Chauhan <nirbheek@gentoo.org>
Date: Sat Feb 4 15:42:36 2012 +0100
Fix bool() operations on GLib.Variant objects
Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
Also adds some tests for boolean comparisons.
https://bugzilla.gnome.org/show_bug.cgi?id=647723
gi/overrides/GLib.py | 18 ++++++++++++++++++
tests/test_overrides.py | 45
+++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
Author: Nirbheek Chauhan <nirbheek@gentoo.org>
Date: Sat Feb 4 15:41:08 2012 +0100
Fix hash() and __eq__() for GLib.Variant objects
Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
be used in sets, dicts, and can be compared using == and != easily.
Also adds some tests for this.
https://bugzilla.gnome.org/show_bug.cgi?id=647725
gi/overrides/GLib.py | 23 ++++++++++++++++++++
tests/test_overrides.py | 56
+++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 25 07:01:06 2012 +0100
Fix method names of callback tests
Change test_everything.TestCallbacks.* test names from camelCase
to the
standard PEP-8 underscore_style. This is now consistent with all
other test
case names.
tests/test_everything.py | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
commit e37ee78fbf0aa72159a40da4165a26bea065faf1
Author: Will Thompson <will.thompson@collabora.co.uk>
Date: Mon Jan 23 13:10:30 2012 +0000
Cairo: add missing braces around array-of-struct definition
This triggered a -Wmissing-braces warning.
https://bugzilla.gnome.org/show_bug.cgi?id=668497
gi/pygi-foreign-cairo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
Author: Will Thompson <will.thompson@collabora.co.uk>
Date: Mon Jan 23 13:06:41 2012 +0000
g_instance_init: cast to PyGObject * as needed
This squashes a compiler warning.
https://bugzilla.gnome.org/show_bug.cgi?id=668497
gi/_gobject/gobjectmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
Author: Will Thompson <will.thompson@collabora.co.uk>
Date: Mon Jan 23 13:01:27 2012 +0000
Fix a few set-but-not-used warnings.
In a couple of cases, the variable in question was set to a value
spelled out again later in the function.
The 'sequence_cache' variable is re-declared five lines below.
The return value of 'read' was previously completely ignored. The
'gssize ret' variable was in fact added to squash an unused-result
warning.
https://bugzilla.gnome.org/show_bug.cgi?id=668497
gi/_glib/pygiochannel.c | 2 +-
gi/_glib/pygmainloop.c | 3 +--
gi/_gobject/pygobject.c | 2 +-
gi/pygi-marshal-cleanup.c | 2 --
4 files changed, 3 insertions(+), 6 deletions(-)
commit 29a30490ed51e347e8f57d2bf9af69400734eee8
Author: Stefano Facchini <stefano.facchini@gmail.com>
Date: Thu Jan 19 18:09:07 2012 +0100
pygmainloop: allow for extra arguments in 'quit' method
To allow for the common syntax:
object.connect('signal-name', main_loop.quit)
https://bugzilla.gnome.org/show_bug.cgi?id=668288
gi/_glib/pygmainloop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 557a61c12c01137a0d7c679c4b053973df09d445
Author: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Mon Dec 26 00:44:56 2011 -0500
Fix bytearray test compatibility with python3
https://bugs.gentoo.org/show_bug.cgi?id=321879
https://bugzilla.gnome.org/show_bug.cgi?id=666852
tests/test_gi.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
Author: Alberto Mardegan <mardy@users.sourceforge.net>
Date: Mon Jan 23 12:37:26 2012 +0200
Respect transfer-type when demarshalling GErrors
The marshaller previously ignored "transfer full" on GError*
arguments, causing
crashes due to double-freeing them. This causes the
testCallbackUserdata() test
case to crash after the previous GError/GHashTable marshalling fix.
https://bugzilla.gnome.org/show_bug.cgi?id=666270
gi/pygi-argument.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
Author: Alberto Mardegan <mardy@users.sourceforge.net>
Date: Thu Dec 15 16:12:01 2011 +0200
Support GHashTable and GError as callback/closure arguments
Marshalling of these types from C is already implemented, let's
take it
into use for calbacks and closures too.
Add corresponding test cases.
https://bugzilla.gnome.org/show_bug.cgi?id=666270
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/pygi-closure.c | 2 ++
tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
Author: Will Thompson <will.thompson@collabora.co.uk>
Date: Mon Jan 23 13:56:02 2012 +0000
Don't leak when marshalling GErrors to C
Python-land GLib.GErrors are supposed to have three attributes:
"message", "domain" and "code". If those attributes are missing,
or they
have the wrong types, the C GError is filled in with a message
describing the error. The present-but-ill-typed code paths did not
DECREF the ill-typed values.
https://bugzilla.gnome.org/show_bug.cgi?id=666098
gi/_glib/pyglib.c | 3 +++
1 file changed, 3 insertions(+)
commit adcfe96d49b09bcc550653d73de196610fd5144d
Author: Will Thompson <will.thompson@collabora.co.uk>
Date: Fri Jan 20 16:20:10 2012 +0000
Support functions which return GError
GStreamer has the following method:
void gst_message_parse_error (
GstMessage *message,
GError **error,
gchar **debug_message);
With this patch, we marshal the GError out parameter as a
GObject.GError
exception, but return it rather than throwing it. The test cases cover
two variations on the theme of the function above (one with (transfer
full), as in GStreamer, and another with (transfer none)) as well as a
function with return type GError *.
https://bugzilla.gnome.org/show_bug.cgi?id=666098
gi/_glib/pyglib.c | 46
+++++++++++++++++++++++++++++++++++-----------
gi/_glib/pyglib.h | 1 +
gi/pygi-marshal-to-py.c | 16 +++++++++++++---
tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
4 files changed, 81 insertions(+), 14 deletions(-)
commit 09f003729eac9d553a208c343c2a14d253b77d9a
Author: Alberto Mardegan <mardy@users.sourceforge.net>
Date: Mon Jan 23 12:42:21 2012 +0200
Fix indentation of _pygi_argument_to_object()
Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/pygi-argument.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
commit c71c010be01d706f90bc200194325fd82f4071b2
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Jan 14 14:24:23 2012 +0100
Avoid C99 syntax.
gi/gimodule.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
commit c299d058c22385ececaec64c872d1dd1bc1ae17a
Author: Paolo Borelli <pborelli@gnome.org>
Date: Fri Jan 6 13:39:31 2012 +0100
Connect to first action of a radio group.
gi/overrides/Gtk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Jan 4 16:40:51 2012 +0100
Use g_slist_free_full in pygi-closure.
gi/pygi-closure.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Jan 4 15:24:13 2012 +0100
Avoid O(n^2) behavior when marshalling lists
Appending requires walking the list every time: just prepend and
reverse
the list at the end.
https://bugzilla.gnome.org/show_bug.cgi?id=667261
gi/pygi-marshal-from-py.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit d68455e99b1a9ebba31209b17a11317b1958678b
Author: Paolo Borelli <pborelli@gnome.org>
Date: Tue Jan 3 16:57:40 2012 +0100
Handle NULL as a valid case of a char** array
Treat NULL as an empty array and add the corresponding testcase
gi/pygi-marshal-to-py.c | 9 +++++----
tests/test_gi.py | 3 +++
2 files changed, 8 insertions(+), 4 deletions(-)
commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Fri Dec 23 12:01:43 2011 +0100
Branching, bump version to 3.1.0
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Mon Dec 12 18:35:30 2011 +0100
Add notes about branching to HACKING
HACKING | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Dec 10 12:51:45 2011 +0100
Fixed bug where GObject.property did not respect minimum and maximum
values
https://bugzilla.gnome.org/show_bug.cgi?id=664864
gi/_gobject/propertyhelper.py | 2 +-
tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 1 deletion(-)
commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Mon Dec 12 17:00:24 2011 +0100
Remove mention of removed option --enable-docs
HACKING | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Mon Dec 12 17:00:03 2011 +0100
Fix sebp's name in NEWS
NEWS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8c95981d0ba224a577f87998030c384b3dae3d80
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Mon Dec 12 16:20:09 2011 +0100
Release 3.0.3
NEWS | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Mon Dec 12 16:16:44 2011 +0100
Pre-release version bump
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
Author: Manuel Quiñones <manuq@laptop.org>
Date: Thu Dec 1 11:50:38 2011 -0300
Convert all modifier constants to Gdk.ModifierType
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
pygi-convert.sh | 14 ++++++++++++++
1 file changed, 14 insertions(+)
commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Tue Nov 8 12:38:12 2011 +0100
Convert all strings to utf-8 encoding when retrieving from TreeModel
https://bugzilla.gnome.org/show_bug.cgi?id=663610
gi/overrides/Gtk.py | 15 +++++++++++++++
tests/compathelper.py | 2 ++
tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
3 files changed, 47 insertions(+), 1 deletion(-)
commit 4f637212f13b197a95c824967a58496b9e3b877c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Nov 2 14:51:24 2011 -0400
add test for bytearray variants
tests/test_gi.py | 4 ++++
1 file changed, 4 insertions(+)
commit 20ca3f129d6cc662285cce8c732b55596016aefa
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Nov 2 14:50:42 2011 -0400
handle NULL arrays correctly for each array type
gi/pygi-marshal-to-py.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Nov 2 14:17:21 2011 -0400
Revert "Revert "Fix array termination and size calculation""
This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
gi/pygi-marshal-from-py.c | 6 +++++-
gi/pygi-marshal-to-py.c | 8 +++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
commit 832f16f96815adc22cc3acbeb3fa969631795a29
Author: Owen W. Taylor <otaylor@fishsoup.net>
Date: Sun Oct 30 18:08:57 2011 -0400
pygmainloop: avoid lockups if multiple glib.MainLoop exist
If multiple glib.MainLoop() sources exist, then we will add multiple
watches, and when python writes a byte to the wakeup pipe, all of the
sources will try to read it; only one will succeed and the others
will block. Set both ends of the pipe nonblocking to avoid this.
https://bugzilla.gnome.org/show_bug.cgi?id=663068
gi/_glib/pygmainloop.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Sat Oct 29 15:08:03 2011 +0200
Properly chain up to the class that implements a given vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=662994
gi/types.py | 22 +++++++++++++---------
tests/test_gi.py | 20 ++++++++++----------
2 files changed, 23 insertions(+), 19 deletions(-)
commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Date: Wed Nov 2 14:54:21 2011 +0100
Revert "Fix array termination and size calculation"
This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
gi/pygi-marshal-from-py.c | 6 +-----
gi/pygi-marshal-to-py.c | 8 +-------
2 files changed, 2 insertions(+), 12 deletions(-)
commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
Author: Holger Berndt <hb@gnome.org>
Date: Sun Oct 30 16:36:32 2011 +0100
Fix array termination and size calculation
When creating an array of element type uint8 and setting it directly
with
memcpy(), make sure that zero-termination is respected.
When calculating the length of a zero-terminated array of type uint8,
fall back to strlen() instead of g_strv_length().
https://bugzilla.gnome.org/show_bug.cgi?id=662550
gi/pygi-marshal-from-py.c | 6 +++++-
gi/pygi-marshal-to-py.c | 8 +++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
commit 4c1d9f01b8fa6702f73b290180f934250e179caa
Author: Daniel Drake <dsd@laptop.org>
Date: Sun Oct 30 09:20:45 2011 +0000
pygi-convert: fix for Pango.Alignment
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit e3abd76096cc9f335681c7225f452c286b9c59e2
Author: Daniel Drake <dsd@laptop.org>
Date: Sun Oct 30 07:06:57 2011 +0000
pygi-convert: fix for Gtk.Orientation
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Oct 27 07:16:24 2011 +0200
Add tests for calling closures
Add checks for correct handling of closure calls.
Regress.test_closure_one_arg() is working fine and should continue
to do so.
Regress.test_closure_variant() is known to not work yet, so mark
this as EXFAIL
for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
tests/test_everything.py | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
Date: Tue Oct 4 12:28:26 2011 +0200
fix marshaling of arrays of GVariants
Add unit tests for marshaling of arrays of variants with all
transfer modes. Requires latest gobject-introspection.
Plug potential leaks of GArray data members
Fix calling of wrong cleanup_from_py for arrays
Simplify and fix logic for cleaning up arrays both in from_py()
and to_py() code paths.
https://bugzilla.gnome.org/show_bug.cgi?id=638915
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
gi/pygi-cache.c | 2 +-
gi/pygi-marshal-cleanup.c | 81
++++++++++++++++++++++++++++++-----------------
gi/pygi-marshal-from-py.c | 10 ++++--
gi/pygi-marshal-to-py.c | 13 ++++++--
tests/test_gi.py | 14 +++++++-
5 files changed, 85 insertions(+), 35 deletions(-)
commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Sat Oct 22 00:20:57 2011 +0200
Release 3.0.2
NEWS | 8 ++++++++
1 file changed, 8 insertions(+)
commit 5c24760b797e985721f7fe51d52252e4dd54a417
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Oct 21 17:31:41 2011 +0200
Fix "Returns: (skip)" method calls without (out) arguments
When we have a method call with a skipped return value, but no
other out
arguments, we previously returned NULL to Python, which causes
"SystemError:
error return without exception set". Return None instead.
https://bugzilla.gnome.org/show_bug.cgi?id=662383
gi/pygi-invoke.c | 10 ++++++++++
tests/test_everything.py | 8 ++++++++
2 files changed, 18 insertions(+)
commit 585222915dc98b0e375de3db4771466278a32e81
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Oct 18 00:39:16 2011 -0400
Do union member checks for unions that are parameters
* before we were only doing checks if the union was an instance
https://bugzilla.gnome.org/show_bug.cgi?id=661673
gi/pygi-marshal-from-py.c | 121
++++++++++++++++++++++++++--------------------
1 file changed, 68 insertions(+), 53 deletions(-)
commit 8deaec6b9abd87f02060c9feec773d4693e89028
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Oct 19 14:35:11 2011 +0200
Gdk overrides: Unbreak for Gdk-2.0
Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
atom_intern(), so
only do this for Gdk >= 3.0.
https://launchpad.net/bugs/875399
gi/overrides/Gdk.py | 95
+++++++++++++++++++++++++++--------------------------
1 file changed, 48 insertions(+), 47 deletions(-)
commit f395fb131caf7ca550acd17138d8061926ef4f92
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Oct 14 17:19:45 2011 -0400
unit test for checking ref count of object param in signals
https://bugzilla.gnome.org/show_bug.cgi?id=661359
tests/test_everything.py | 11 +++++++++++
1 file changed, 11 insertions(+)
commit 611f58b99851328653af4930f188c33eccaa9f6f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Oct 14 16:42:32 2011 -0400
when converting an object with transfer none, make sure the wrapper
owns a ref
https://bugzilla.gnome.org/show_bug.cgi?id=661359
gi/pygi-argument.c | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
Author: Timo Vanwynsberghe <timovwb@gmail.com>
Date: Tue Oct 4 11:13:43 2011 +0200
Allow GBoxed types as property
Add the GBoxed type as valid type to the gobject property helper
https://bugzilla.gnome.org/show_bug.cgi?id=660798
gi/_gobject/propertyhelper.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit bef8d385117dd0295c9ba7567710d76fc2bb729a
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Mon Oct 10 11:24:42 2011 +0200
Add tests for boxed properties.
tests/test_properties.py | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Fri Sep 30 20:21:07 2011 +0200
Post release bump version
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Fri Sep 30 20:19:46 2011 +0200
Release 3.0.1
NEWS | 5 +++++
configure.ac | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 22 19:03:20 2011 -0400
when checking instances union members are same type as parent
* this is so we can support sending Gdk.Event members in place of
the Event union into methods
* we only support this if the union member has a type of GI_INTERFACE
for now
https://bugzilla.gnome.org/show_bug.cgi?id=659879
gi/pygi-marshal-from-py.c | 60
+++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 56 insertions(+), 4 deletions(-)
commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 21 21:50:48 2011 -0400
add a floating flag to pygobjects
* this allows us to correctly refcount when custom gobjects are
instantiated
via g_object_new
gi/_gobject/gobjectmodule.c | 5 +++++
gi/_gobject/pygobject-private.h | 3 +++
gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
gi/_gobject/pygobject.h | 3 ++-
4 files changed, 36 insertions(+), 2 deletions(-)
commit d2d29ae5845217254b9336fd8629f369cb119b25
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 21 21:13:22 2011 -0400
Revert "Fix refcount bug by not creating python wrapper during
gobject init stage"
This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
commit a24c10b779f2a1b0425d56d03d59c393389cad98
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 21 21:10:00 2011 -0400
make sure to commit the NEWS file
NEWS | 4 ++++
1 file changed, 4 insertions(+)
commit 2eed2940c9be099fb6305288d895265e6b35d3d2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Sep 19 13:19:57 2011 -0400
prep for 3.0 release
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Sep 16 14:19:15 2011 -0400
up version required of gobject-introspection to 1.29.0
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 225f21117b6b3546989abe22538c784291e86b2a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Sep 16 12:26:10 2011 -0400
fix most warnings
* remove some unused vars
* correctly cast vars
* handle deprecated enums in switch statments by using default:
* unused wanrings still remain in some places
gi/pygi-argument.c | 2 +-
gi/pygi-cache.c | 7 ++-----
gi/pygi-info.c | 6 ++++++
gi/pygi-invoke.c | 2 +-
gi/pygi-marshal-from-py.c | 17 +++++++++--------
gi/pygi-marshal-to-py.c | 3 +--
6 files changed, 20 insertions(+), 17 deletions(-)
commit 9a70f01288e1b049206d25d67938907f1b38a490
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Sep 16 12:24:38 2011 -0400
post release bump
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 18:12:01 2011 -0400
edit HACKING file to show correct tag format
HACKING | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 18:10:33 2011 -0400
update NEWS file to prep for release
NEWS | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
commit 0da687fa699aba4f42c42a924d6754e2bd47df50
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 17:59:31 2011 -0400
fix typo s/lenth/length
gi/overrides/Gtk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 17:48:58 2011 -0400
fix typo in docstring
gi/_gobject/propertyhelper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e7fcc326d64def610e5a1003cf6c7ca97023814d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 17:46:46 2011 -0400
do not pass in len(str) to the length argument of
gtk_test_buffer_insert* apis
* in python 3 len(str) returns the number of characters while
the length
parameter is expecting the number of bytes. It also excepts -1
for null
terminated string. Since all of our strings are null terminated,
just
set length to that.
gi/overrides/Gtk.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Sep 12 21:07:20 2011 +0200
Switch tarball compression format to tar.xz only.
See
http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
for more information.
https://bugzilla.gnome.org/show_bug.cgi?id=659140
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Thu Sep 15 14:18:57 2011 +0200
Remove pygtk_version attribute from internal gi._gobject module.
This used to be provided for backwards compatibility with older PyGTK
versions. As PyGObject3 no longer provides support for static bindings
like PyGTK, the pygtk_version attribute has become obsolete.
https://bugzilla.gnome.org/show_bug.cgi?id=659142
gi/_gobject/gobjectmodule.c | 4 ----
gi/_gobject/pygobject.h | 2 --
2 files changed, 6 deletions(-)
commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 15:52:18 2011 -0400
remove overridesdir from the .pc file and add it to the gi module
* having the variable in the .pc file caused issues parallel
installing
for different versions of python
* putting it into the module allows us to give the correct directory
based on which version of python you run the script from
* access the var as such:
import gi
installdir = gi._overridesdir
gi/__init__.py | 2 ++
pygobject-3.0.pc.in | 10 +++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
commit beea7072a5a989be47a755ac46647380d4dbd6b4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 00:11:09 2011 -0400
fix tests to correctly construct a dummy Gtk.TargetEntry
* structs are sometimes a pain in gi. Simply constructing them
using the
the standard constructor (e.g. Gtk.TargetEntry()) will malloc
the struct
but not correctly initialize the fields which can cause a crash.
* tests didn't crash before because they were sending in bogus
data that
somehow did not trigger the issue
* now with the C struct array marshallers doing the right thing,
the incorrect
use of TargetEntry was causing a crash
https://bugzilla.gnome.org/show_bug.cgi?id=627236
tests/test_overrides.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 00:08:31 2011 -0400
we now assume that C arrays of structs are flat so memcpy them
when marshalling
* there is no way in GI to tell if a C array is flat or an array
of pointers
so we assume that all arrays of simple structs and gvalues are
flat and
all arrays of objects and boxed structs are pointer arrays.
* this will be removed once GI gets the ability to annotate level
of indirection
for arrays
https://bugzilla.gnome.org/show_bug.cgi?id=627236
gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
tests/test_gi.py | 29 +++++++++++++++++++++++++++++
2 files changed, 61 insertions(+), 3 deletions(-)
commit e30a41592baa942188574e5c9f99572963e2e387
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 15 00:02:34 2011 -0400
only update the arg counts once if child arg comes before parent arg
* if the child arg comes before the parent arg we need to update the
argument counts and take the child arg out of the marshalling lists
since it is handled by the parent
* when two parents reference the same child arg as is the case with
two arrays which have a single length argument we only want
to update
the count once
* to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
meta type
and only do the count update if this is set
* APIs should keep in mind that this take extra processing so
child args
should really come after their parents
https://bugzilla.gnome.org/show_bug.cgi?id=627236
gi/pygi-cache.c | 30 ++++++++++++++++++++----------
gi/pygi-cache.h | 9 +++++++--
2 files changed, 27 insertions(+), 12 deletions(-)
commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 14 20:26:15 2011 -0400
Fix refcount bug by not creating python wrapper during gobject
init stage
* This only applys to python subclasses of GObject which are
instantiated
using GObject.new
* Because we were creating the wrapper when the gobject is
initialized
and then again calling pygobject_new_full the wrapper would get
ref'ed twice.
* we could not simply Py_DECREF the wrapper due to the fact that
non-subclassed objects (e.g. GObject.Object) instantiated via
new do not run the same initialization code and would not have the
extra ref
* solution was to simply not create the wrapper during initialization
because if it doesn't exist when pygobject_new_full is called
it gets created and registered there
* move the call to __init__ into pyg_object_new
https://bugzilla.gnome.org/show_bug.cgi?id=657403
gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)
commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 13 18:08:04 2011 -0400
don't destroy just created wrapper when object is created via
g_object_new
https://bugzilla.gnome.org/show_bug.cgi?id=657403
gi/_gobject/gobjectmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
Author: Steve Frécinaux <code@istique.net>
Date: Fri Aug 26 11:22:09 2011 +0200
Remove deprecated API from pygobject.h
https://bugzilla.gnome.org/show_bug.cgi?id=657416
gi/_gobject/pygobject.h | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
commit e1c71092af6e2cffa36248519adfceac1874051d
Author: Marcin Owsiany <marcin@owsiany.pl>
Date: Wed Aug 31 09:43:28 2011 +0100
Convert gtk.TRUE/FALSE to Python True/False.
https://bugzilla.gnome.org/show_bug.cgi?id=657785
pygi-convert.sh | 2 ++
1 file changed, 2 insertions(+)
commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
Author: Steve Frécinaux <code@istique.net>
Date: Fri Sep 2 08:37:15 2011 +0200
Drop legacy __gobject_init__ method of GObject.Object.
This method was used in gobject initialization at some point, but now
using GObject.__init__() is sufficient, so let's not keep this old
method around and let people misuse it.
https://bugzilla.gnome.org/show_bug.cgi?id=658032
examples/signal.py | 2 --
gi/_gobject/pygobject.c | 11 -----------
2 files changed, 13 deletions(-)
commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Sep 13 12:05:30 2011 +0200
AM_CHECK_PYTHON_LIBS does not work for lib64
But on Windows, Python extension modules need to be explicitly
linked to libpython.
https://bugzilla.gnome.org/show_bug.cgi?id=658856
configure.ac | 4 +++-
gi/Makefile.am | 9 ++++++---
gi/_glib/Makefile.am | 10 ++++++++--
gi/_gobject/Makefile.am | 8 +++++++-
4 files changed, 24 insertions(+), 7 deletions(-)
commit 863c087911203a8f3ebaa8e77622a3437a7cd320
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Sep 12 23:03:05 2011 +0200
Remove common_ldflags from Makefile.am as it is no longer used.
https://bugzilla.gnome.org/show_bug.cgi?id=658856
Makefile.am | 6 ------
1 file changed, 6 deletions(-)
commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 13 16:20:48 2011 -0400
cast params for PyObject_IsInstance to suppress warnings
gi/_gobject/pygobject-private.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 861369ec59b17f67151813dc2e87c6e86126b954
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 13 16:04:31 2011 -0400
check if object is actually a PyGFlag before trying to access g_type
* we are lucky this bit of code worked for as long as it did but when
checking if an object is a PyGFlag we can't just rely on looking
at the g_type field because if a regular gobject is passed in
as is the case when you compare a long to a gflag, the gobject
will not have a g_type field. Accessing a non-existant field
could at best give you a false positive and at worse read
memory beyond the bounds of the actual structure passed in
gi/_gobject/pygobject-private.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 13 16:03:02 2011 -0400
fix regression - add instance type checks since Py3 no longer does
this for us
gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
commit a4e4318b50a24a688e32579273fbcfa51d1b422a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Sep 2 18:39:51 2011 -0400
refactor in/out marshalling to be to_py/from_py
* in/out make sense from a C perspective but when you get to the
python layers it makes more sense to label them as to_py and
from_py to denote which way we are marshalling
* this helps clear up the difference between callbacks which
call into python and invoked functions which call into C
* in the callback case we marshal in values to Python objects
and out values to C types but in the invoke case we do the
reverse. Dealing with to_py/from_py makes the code much more
resuable and consistant
https://bugzilla.gnome.org/show_bug.cgi?id=658362
gi/Makefile.am | 8 +-
gi/pygi-cache.c | 673 ++++++++++-----------
gi/pygi-cache.h | 62 +-
gi/pygi-invoke.c | 144 ++---
gi/pygi-marshal-cleanup.c | 168 +++---
gi/pygi-marshal-cleanup.h | 128 ++--
gi/pygi-marshal-from-py.c | 1412
+++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-marshal-from-py.h | 186 ++++++
gi/pygi-marshal-in.c | 1412
---------------------------------------------
gi/pygi-marshal-in.h | 186 ------
gi/pygi-marshal-out.c | 768 ------------------------
gi/pygi-marshal-out.h | 144 -----
gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
gi/pygi-marshal-to-py.h | 144 +++++
14 files changed, 3122 insertions(+), 3081 deletions(-)
commit 45b0fcff9e948c65a3903c32a3957802034c5e47
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 16:50:25 2011 +0200
Examples: fix cairo-demo.py imports
examples/cairo-demo.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 15:08:27 2011 +0200
Fix paths and add missing overridesdir variable used in uninstalled
pkgconfig file
https://bugzilla.gnome.org/show_bug.cgi?id=658654
pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 15:08:04 2011 +0200
Remove no longer used variables from pkgconfig files
https://bugzilla.gnome.org/show_bug.cgi?id=658654
pygobject-3.0-uninstalled.pc.in | 6 ------
pygobject-3.0.pc.in | 5 +----
2 files changed, 1 insertion(+), 10 deletions(-)
commit 81d388780311311d8dc4a027a59d114edf9a00fc
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 14:57:58 2011 +0200
docs/Makefile.am and m4/python.m4: Python3 portability fixes
https://bugzilla.gnome.org/show_bug.cgi?id=658652
docs/Makefile.am | 2 +-
m4/python.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 7e692ee061406e48e4862b98a0829650b1d6d585
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 14:57:46 2011 +0200
Refactor and clean Makefile.am files
https://bugzilla.gnome.org/show_bug.cgi?id=658652
Makefile.am | 2 -
gi/Makefile.am | 81 +++++++++++++++++++++++--------------
gi/_glib/Makefile.am | 100
++++++++++++++++++++++++++++++----------------
gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
gi/overrides/Makefile.am | 4 +-
gi/repository/Makefile.am | 4 +-
6 files changed, 162 insertions(+), 114 deletions(-)
commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 14:57:36 2011 +0200
Remove all PLATFORM_VERSION = 2.0 traces
https://bugzilla.gnome.org/show_bug.cgi?id=658652
gi/Makefile.am | 2 --
gi/overrides/Makefile.am | 1 -
gi/repository/Makefile.am | 1 -
3 files changed, 4 deletions(-)
commit db1e484bfa157967de55ee2e0e18a82b8e388b61
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 14:57:25 2011 +0200
Remove gi/tests/ directory as all the tests now live in tests/
https://bugzilla.gnome.org/show_bug.cgi?id=658652
gi/tests/Makefile.am | 24 ------------------------
gi/tests/runtests.py | 21 ---------------------
2 files changed, 45 deletions(-)
commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 14:55:25 2011 +0200
autogen.sh: Use autoreconf instead of a custom script and honor
ACLOCAL_FLAGS
https://bugzilla.gnome.org/show_bug.cgi?id=658652
Makefile.am | 2 +-
autogen.sh | 95
+++++++------------------------------------------------------
2 files changed, 12 insertions(+), 85 deletions(-)
commit 4671f5397003f376f00830e3fd1c214de594619f
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Sep 9 14:55:01 2011 +0200
use improved python.m4 macros to search for Python headers and libs
https://bugzilla.gnome.org/show_bug.cgi?id=658652
configure.ac | 3 ++-
m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
2 files changed, 39 insertions(+), 11 deletions(-)
commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
Author: Javier Jardón <jjardon@gnome.org>
Date: Fri Sep 9 15:38:22 2011 +0100
Make maintiner mode enabled by default
See
http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b24dcb415406668931e02a1f669ef9861bb3a660
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Aug 24 09:58:10 2011 +0200
Disable documentation for now since they are completely wrong for GI.
https://bugzilla.gnome.org/show_bug.cgi?id=657054
Makefile.am | 2 +-
configure.ac | 25 -------------------------
2 files changed, 1 insertion(+), 26 deletions(-)
commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Sep 7 10:38:28 2011 +0200
Fix documentation installation directory
https://bugzilla.gnome.org/show_bug.cgi?id=657054
docs/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Sep 6 22:22:11 2011 +0200
Remove distutils based build system.
The only reason this might be brought back to life again is when
the whole stack can be built with Visual Studio (including
gobject-introspection) again. Building with MinGW/MSYS can now
be done with the usual autogen.sh/configure/make/make install dance.
https://bugzilla.gnome.org/show_bug.cgi?id=657054
MANIFEST.in | 7 -
Makefile.am | 25 +--
README.win32 | 21 --
dsextras.py | 509
-----------------------------------------------
pygobject_postinstall.py | 9 -
setup.py | 351 --------------------------------
6 files changed, 7 insertions(+), 915 deletions(-)
commit b82d916635aa0b732840548088a3fcfcb2e41bc4
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Sep 7 10:40:36 2011 +0200
[gtk-demo] Fix syntax highlighter encoding issue
With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
Python 2 however we get a str (not unicode). So with Python 2 the
tokenizer returned bogus data when ran over a demo that contains real
UTF-8 codepoints (like rotatedtext.py for example).
This patch thus fixes the "Gtk-CRITICAL **:
gtk_text_iter_set_line_offset:
assertion `char_on_line <= chars_in_line` failed" assertions when
selecting
the rotated text demo in the treeview.
demos/gtk-demo/gtk-demo.py | 3 +++
1 file changed, 3 insertions(+)
commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Tue Sep 6 22:13:54 2011 +0200
overrides: add constants for atoms
gi/overrides/Gdk.py | 49
+++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
commit 81861bc2d664eb38d46e5c38ff755d436f040f63
Author: Steve Frécinaux <code@istique.net>
Date: Wed Aug 31 14:18:56 2011 +0200
Drop pygobject_construct() from public API.
These functions were introduced in 2005 because python objects
could not
"just" be instantiated using g_object_new(), but this is not true
anymore since the introduction of new-style constructors. Hence
this API
has no reason to be there anymore.
Nowadays, people who want to construct GObjects defined in python
should
just use g_object_new().
https://bugzilla.gnome.org/show_bug.cgi?id=657814
gi/_gobject/gobjectmodule.c | 118
+++++++++-------------------------------
gi/_gobject/pygobject-private.h | 3 -
gi/_gobject/pygobject.h | 8 ---
3 files changed, 26 insertions(+), 103 deletions(-)
commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Aug 31 18:00:44 2011 +0200
post release version bump
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Aug 31 17:58:37 2011 +0200
Release 2.90.3
NEWS | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit 429569abddada5a3bad554de707ddf35b349936e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Aug 25 13:57:53 2011 -0400
support skip annotation for return values
* this is used for things like skiping gboolean returns that are
useful is C but useless in python
* cleans up after skipped returns that are also marked transfer
full
https://bugzilla.gnome.org/show_bug.cgi?id=650135
gi/pygi-cache.c | 1 +
gi/pygi-cache.h | 1 +
gi/pygi-invoke.c | 48
++++++++++++++++++++++++++++++------------------
tests/test_everything.py | 8 ++++++++
4 files changed, 40 insertions(+), 18 deletions(-)
commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
Author: Xavier Claessens <xclaesse@gmail.com>
Date: Tue Aug 2 12:05:12 2011 +0200
Test GPtrArray regression
tests/test_everything.py | 3 +++
1 file changed, 3 insertions(+)
commit 42fc9fa437102c882844a0e70a081ab08de92658
Author: Steve Frécinaux <code@istique.net>
Date: Fri Aug 26 10:53:43 2011 +0200
Drop support for old constructor style.
Bindings don't write their own constructors anymore, and the old style
has been deprecated for ages, so let's just drop them now and make
pygobject simpler.
https://bugzilla.gnome.org/show_bug.cgi?id=657413
gi/_gobject/gobjectmodule.c | 20 --------------------
gi/_gobject/pygobject-private.h | 1 -
gi/_gobject/pygobject.c | 1 -
gi/_gobject/pygobject.h | 2 --
gi/gimodule.c | 28 ----------------------------
gi/types.py | 2 --
tests/testhelpermodule.c | 5 -----
7 files changed, 59 deletions(-)
commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
Author: Steve Frécinaux <code@istique.net>
Date: Fri Aug 26 10:45:59 2011 +0200
Drop support for sink functions.
Sink functions were meant to deal with floating references in a custom
way. They are not useful anymore with the dynamic bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=642233
gi/_gobject/gobjectmodule.c | 1 -
gi/_gobject/pygobject.c | 53 ----------------------------------------
gi/_gobject/pygobject.h | 4 ---
tests/test-floating.c | 59
+++++++--------------------------------------
tests/test-floating.h | 42 +++++++++-----------------------
tests/test_gobject.py | 13 +++-------
tests/testhelpermodule.c | 32 +++++++-----------------
7 files changed, 32 insertions(+), 172 deletions(-)
commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
Author: Mike Gorse <mgorse@novell.com>
Date: Wed Aug 24 17:30:09 2011 -0500
Reinstate copying of in-line structs in arrays
For arrays of in-line, non-boxed structures with (transfer full),
_pygi_marshal_free_out_array eventually gets called and frees
the array
data, so we should copy it (IE, BGO#653588).
https://bugzilla.gnome.org/show_bug.cgi?id=657120
gi/pygi-marshal-out.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit f38511f251602e18551c04617cc2e2d42e812e1e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Aug 23 14:18:43 2011 -0400
fix inline struct array handling
* we now assume any non-boxed structs are inline in an array since
there is
no way to check in GI and this is the most common use for an
array of
non-boxed structs
https://bugzilla.gnome.org/show_bug.cgi?id=657120
gi/pygi-marshal-out.c | 23 +++++++++--------------
tests/test_gi.py | 8 ++++++++
2 files changed, 17 insertions(+), 14 deletions(-)
commit d92846a5446b0dd2e69c813f56224a1966ab1a33
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Aug 23 11:30:41 2011 +0200
[gtk-demo] printing.py: set print and error dialog transient parent
demos/gtk-demo/demos/printing.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 1aebc1565752840075027b9452fe2a67217bf53b
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Aug 23 11:28:05 2011 +0200
[gtk-demo] printing.py: exit Gtk mainloop when done and correctly
handle printing errors
demos/gtk-demo/demos/printing.py | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Aug 23 08:05:43 2011 +0200
[gtk-demo] show "activated" demo's in italic font in the TreeView
demos/gtk-demo/gtk-demo.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 971d063f7a36e13ef6621db7002b00af52f6292a
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 14:52:28 2011 +0200
[gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
token, so simply remove it
demos/gtk-demo/gtk-demo.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
commit c2979a37d6d505095b6e55789150a6498d95819d
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 14:22:18 2011 +0200
[gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
but Gtk.TextBuffer.insert expects a string.
Fixed by using codes.open() as hinted in
http://docs.python.org/dev/howto/pyporting.html#text-files
section "If pre-2.6 compatibility is needed" (because configure.ac
is still happy with Python 2.5.2).
demos/gtk-demo/gtk-demo.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 9ea56535f35abbea4cd977dea4c89247e4b01694
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 12:30:24 2011 +0200
[gtk-demo] images.py: fix 'Insensitive 'button mnenomic
demos/gtk-demo/demos/images.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 10:38:04 2011 +0200
[gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
& get_pixel_size
demos/gtk-demo/demos/printing.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 07f0274301d77d9bf62b49a14b059d9a52afb445
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 10:37:08 2011 +0200
[gtk-demo] printing.py: fix text file loading
demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 10:20:35 2011 +0200
[gtk-demo] pixbuf.py: fix image loading
demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
commit a93cae2c80e30a408f86e7e6c4d15a538011a189
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 10:10:02 2011 +0200
[gtk-demo] images.py: fix logo loading
demos/gtk-demo/demos/images.py | 70
+++++++++++++++++-------------------------
1 file changed, 29 insertions(+), 41 deletions(-)
commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Aug 24 12:19:21 2011 +0200
[gtk-demo] appwindow.py: set AboutDialog parent
demos/gtk-demo/demos/appwindow.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 07:58:25 2011 +0200
[gtk-demo] appwindow.py: fix logo loading
demos/gtk-demo/demos/appwindow.py | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
commit 62fda288c1c37167c589e8e9d49ed625f770a98a
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 07:57:31 2011 +0200
[gtk-demo] appwindow.py: fix callback signatures
demos/gtk-demo/demos/appwindow.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 07:48:28 2011 +0200
[gtk-demo] fix glib vs GLib usage
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
demos/gtk-demo/demos/appwindow.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit d29cad6976a80862e1fc590d3e7d190e8a234866
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Aug 24 12:19:02 2011 +0200
[gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
caused by improved GDK overrides
demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit f29d3a85a275a39e8481484779264b0dea1160ab
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Mon Aug 22 07:25:32 2011 +0200
[gtk-demo] optimize source colorizer by only preparing iters for
known colorized tokens
demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
commit ecd1eb00b19733da3f2e3d7935792378f34cab19
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 18:31:20 2011 +0200
[gtk-demo] small formatting fixes
demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
demos/gtk-demo/demos/assistant.py | 1 +
demos/gtk-demo/demos/builder.py | 4 +++-
demos/gtk-demo/demos/button_box.py | 1 +
demos/gtk-demo/demos/clipboard.py | 1 +
demos/gtk-demo/demos/colorselector.py | 1 +
demos/gtk-demo/demos/combobox.py | 1 +
demos/gtk-demo/demos/drawingarea.py | 4 +++-
demos/gtk-demo/demos/test.py | 2 ++
11 files changed, 19 insertions(+), 6 deletions(-)
commit c42cb4da399ff5732f4ca732b85134de796a60fa
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 18:30:50 2011 +0200
[gtk-demo] remove "is_fully_bound" from demos
demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
demos/gtk-demo/demos/appwindow.py | 3 ---
demos/gtk-demo/demos/assistant.py | 2 --
demos/gtk-demo/demos/builder.py | 2 --
demos/gtk-demo/demos/button_box.py | 2 --
demos/gtk-demo/demos/clipboard.py | 2 --
demos/gtk-demo/demos/colorselector.py | 2 --
demos/gtk-demo/demos/combobox.py | 2 --
demos/gtk-demo/demos/drawingarea.py | 2 --
demos/gtk-demo/demos/test.py | 1 -
11 files changed, 22 deletions(-)
commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 18:26:31 2011 +0200
[gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
and GTK+'s gtk-demo code
demos/gtk-demo/gtk-demo.py | 116
+++++++++++++++++++++++++++++++++++++++------
1 file changed, 101 insertions(+), 15 deletions(-)
commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 15:08:15 2011 +0200
[gtk-demo] remove C-isms
demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 14:54:39 2011 +0200
[gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
demos/gtk-demo/gtk-demo.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 241827208e25c72a990d8edd95a3b879470d6409
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 14:40:56 2011 +0200
[gtk-demo] remove duplicate storage of demos by only storing them
in a TreeStore subclass
This also moves demos loading code into the TreeStore subclass and
demo loading code into the Demo class
demos/gtk-demo/gtk-demo.py | 151
+++++++++++++++++++++------------------------
1 file changed, 70 insertions(+), 81 deletions(-)
commit 58797c355a08a35375988881a17958bb42ad54bb
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 14:40:00 2011 +0200
[gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
to demonstrate the GLib.MainLoop
demos/gtk-demo/gtk-demo.py | 43
++++++++++++++++++++++++++-----------------
1 file changed, 26 insertions(+), 17 deletions(-)
commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 11:46:17 2011 +0200
[gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
1 file changed, 23 insertions(+), 16 deletions(-)
commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 11:02:35 2011 +0200
[gtk-demo] drawingarea: fix labels
demos/gtk-demo/demos/drawingarea.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 09:57:31 2011 +0200
[gtk-demo] fix imports
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
demos/gtk-demo/demos/appwindow.py | 9 ++++++---
demos/gtk-demo/gtk-demo.py | 8 ++++----
3 files changed, 14 insertions(+), 9 deletions(-)
commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Aug 19 10:07:14 2011 +0200
[gtk-demo] fix shebang
demos/gtk-demo/gtk-demo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Aug 19 12:27:04 2011 +0200
Added support for __setitem__ to TreeModel and support for slices
to TreeModelRow
https://bugzilla.gnome.org/show_bug.cgi?id=656891
gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
tests/test_overrides.py | 57
+++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+), 2 deletions(-)
commit d6da96c65b2ed3cda238886990a624fbc31f6987
Author: Olav Vitters <olav@vitters.nl>
Date: Wed Aug 24 16:31:12 2011 +0200
Convert ACCEL_* constants into Gtk.AccelFlags.
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 0841d41698302abb5d987849a5874252564ed428
Author: Olav Vitters <olav@vitters.nl>
Date: Wed Aug 24 16:22:17 2011 +0200
Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Aug 18 14:06:32 2011 -0400
post commit version bump
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Aug 18 14:02:30 2011 -0400
release 2.90.2
NEWS | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Aug 18 13:50:51 2011 -0400
remove tests that were removed from gi
tests/test_gi.py | 11 -----------
1 file changed, 11 deletions(-)
commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Aug 18 13:48:57 2011 -0400
don't calculate item_size using is_pointer
* is_pointer is poorly defined and cacluating item_size for
arrays causes a crash in the tests because of this
* disregaurd is_pointer when cacluating item sizes
gi/pygi-info.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
Author: Timo Vanwynsberghe <timovwb@gmail.com>
Date: Wed Jul 6 01:50:31 2011 +0200
Updated signal example to use GObject introspection
https://bugzilla.gnome.org/show_bug.cgi?id=654162
examples/signal.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
commit 0332010e704e253380e993874eab9dd122e59a7e
Author: Timo Vanwynsberghe <timovwb@gmail.com>
Date: Wed Jul 6 01:54:50 2011 +0200
Updated properties example to use GObject introspection
https://bugzilla.gnome.org/show_bug.cgi?id=654162
examples/properties.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
commit c39f4555ebd703651eca6f978ed9870655b737f0
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Aug 12 22:55:02 2011 +0200
Add override for GLib.Variant.split_signature()
This is useful for e. g. iterating over method parameters which are
passed as a
single Variant. In particular we will need it for automatically
generating
introspection XML for exported DBus server objects.
gi/overrides/GLib.py | 50
+++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 22 ++++++++++++++++++++++
2 files changed, 72 insertions(+)
commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
Author: Timo Vanwynsberghe <timovwb@gmail.com>
Date: Mon Aug 15 18:58:31 2011 +0200
[pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
https://bugzilla.gnome.org/show_bug.cgi?id=654001
pygi-convert.sh | 2 ++
1 file changed, 2 insertions(+)
commit d0a96a0a75f2bc969522abce2d326ef440cf143a
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Mon Aug 15 13:12:49 2011 +0200
Install pygobject.h again.
This is needed by libpeas.
gi/_gobject/Makefile.am | 5 ++++-
pygobject-3.0-uninstalled.pc.in | 4 ++--
pygobject-3.0.pc.in | 6 +++---
3 files changed, 9 insertions(+), 6 deletions(-)
commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Aug 14 11:20:15 2011 -0400
update the doap file
pygobject.doap | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
commit 762a36d2343bc39a502507d600fd1b9db9649dae
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Aug 14 11:13:25 2011 -0400
prerelease bump
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d3f85a61ec4b1a1d04838f73dc8d862258150048
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Aug 14 10:13:37 2011 -0400
get things ready for release
NEWS | 194
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 194 insertions(+)
commit ffd057649380d4249c1c52e1225e3646f3994bc6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Aug 14 05:26:18 2011 -0400
pass exta keywords to the Box constructor
gi/overrides/Gtk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Aug 13 11:03:07 2011 -0400
add (Tree|List)Store set method override
gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
tests/test_overrides.py | 102
++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 149 insertions(+), 3 deletions(-)
commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Aug 13 09:19:29 2011 -0400
add test for object arrays
tests/test_everything.py | 6 ++++++
1 file changed, 6 insertions(+)
commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Aug 13 08:46:18 2011 -0400
only support C pointer arrays for structs and objects
* There is no way to know if an array of structs or objects are
pointer arrays
or flat arrays. Since pointer arrays are the most useful and
prevelant
it has been decided to only support those arrays
gi/pygi-marshal-out.c | 2 +-
tests/test_gi.py | 8 --------
2 files changed, 1 insertion(+), 9 deletions(-)
commit b12379de1790b72d51883bf7b63c892639a892e7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Aug 13 06:31:52 2011 -0400
revert Gtk.Window override because it causes issues with subclasses
gi/overrides/Gtk.py | 9 ---------
1 file changed, 9 deletions(-)
commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
Author: Jonathan Matthew <jonathan@d14n.org>
Date: Thu Apr 7 21:05:32 2011 +1000
take GIL in _pygi_invoke_closure_free (bug #647016)
gi/pygi-closure.c | 3 +++
1 file changed, 3 insertions(+)
commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 00:41:24 2011 -0300
Add a default parameter to GtkTreeModel.filter_new
https://bugzilla.gnome.org/show_bug.cgi?id=653462
gi/overrides/Gtk.py | 3 +++
1 file changed, 3 insertions(+)
commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 00:40:12 2011 -0300
Add vbox/action_area properties
Accessing vbox/action_area directly creates segmentation fault,
avoid that by mapping the fields to their getters for PyGTK
API compatibility
https://bugzilla.gnome.org/show_bug.cgi?id=653462
gi/overrides/Gtk.py | 3 +++
1 file changed, 3 insertions(+)
commit 017fdfc1dd06259006719e02ffa48883cee01ffd
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 00:39:41 2011 -0300
Add a couple of constructors
This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
works.
https://bugzilla.gnome.org/show_bug.cgi?id=653462
gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 00:38:30 2011 -0300
Do not always pass in user_data to callbacks.
This keeps API compatibility with PyGTK and avoids sending
in user_data if it's None.
https://bugzilla.gnome.org/show_bug.cgi?id=653462
gi/overrides/Gtk.py | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 00:38:20 2011 -0300
Add a default detail value for Widget.render_icon
https://bugzilla.gnome.org/show_bug.cgi?id=653462
gi/overrides/Gtk.py | 3 +++
1 file changed, 3 insertions(+)
commit 5b1c875269b7979caae97e84919a690a34d92f29
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 00:36:20 2011 -0300
Add an override for Gdk.color_parse()
Change Gdk.color_parse() to not return a tuple, instead just
return the created color or None if it wasn't possible to parse
the name into a color.
This keeps compatibility with PyGTK but breaks the current API.
https://bugzilla.gnome.org/show_bug.cgi?id=653462
gi/overrides/Gdk.py | 8 ++++++++
1 file changed, 8 insertions(+)
commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Mon Aug 8 12:06:18 2011 +0200
Support function calling with keyword arguments in invoke.
https://bugzilla.gnome.org/show_bug.cgi?id=625596
gi/pygi-cache.c | 39 ++++++++++++
gi/pygi-cache.h | 4 ++
gi/pygi-invoke.c | 162
+++++++++++++++++++++++++++++++++++++++++++++--
gi/types.py | 12 ++--
tests/test_everything.py | 2 +-
tests/test_gi.py | 58 +++++++++++++++++
6 files changed, 265 insertions(+), 12 deletions(-)
commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Aug 13 04:13:28 2011 -0400
remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
gi/pygi-info.c | 5 -----
1 file changed, 5 deletions(-)
commit 745001178fc72be5626c7211366d694f41162987
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Aug 11 15:11:42 2011 +0200
Fix gobject vs. gi.repository warning
Check the warning earlier and fix the operator, so that it actually
works. Also
update the warning to explain how to fix the problem.
gi/_gobject/__init__.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 15:46:31 2011 -0400
make GObject and GLib able to take overrides
* derive directly from DynamicModule instead of InterfaceModule
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/importer.py | 11 +++---
gi/module.py | 118
++++++++++++++++++++++++++++-----------------------------
2 files changed, 64 insertions(+), 65 deletions(-)
commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 15:45:09 2011 -0400
avoid dependency issue by importing the internal gobject
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 14:13:02 2011 -0400
fix tests to use the new GLib module
https://bugzilla.gnome.org/show_bug.cgi?id=642048
tests/test_mainloop.py | 7 +++----
tests/test_option.py | 3 ++-
tests/test_source.py | 24 +++++++++++-------------
tests/test_subprocess.py | 12 +++++-------
tests/test_thread.py | 10 ++++------
tests/test_uris.py | 4 ++--
6 files changed, 27 insertions(+), 33 deletions(-)
commit 191ef79315f8a5641699536fde58da18e23ef904
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 14:11:53 2011 -0400
add DynamicGLibModule which works like DynamicGObjectModule
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/importer.py | 7 +++++--
gi/module.py | 32 +++++++++++++++++++++++++++++---
2 files changed, 34 insertions(+), 5 deletions(-)
commit fbd4a8263260c187211799454c08b1e55e2cb998
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 12:27:41 2011 -0400
refactor, add objects and types to the correct internal module
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
gi/_glib/pygmaincontext.c | 2 +-
gi/_glib/pygmainloop.c | 4 ++--
gi/_glib/pygoptioncontext.c | 4 ++--
gi/_glib/pygoptiongroup.c | 4 ++--
gi/_glib/pygsource.c | 14 +++++++-------
gi/_glib/pygspawn.c | 14 +++++++-------
7 files changed, 40 insertions(+), 40 deletions(-)
commit 7431b49a161df9178c55b814d3adff992ac2d722
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 12:26:32 2011 -0400
rename the pyglib shared library so we don't load the old one
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/Makefile.am | 2 +-
gi/_glib/Makefile.am | 10 +++++-----
gi/_gobject/Makefile.am | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
commit b8700451acd4a19b59b64fc8641fca748d2189e2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 11:20:09 2011 -0400
refactor tests to only use PyGObject 3 syntax
* for PyGObject 3 we want to discourage the use of legacy
interfaces
* Using interfaces like from gi.repository import GObject makes
sure that the internal _gobject module is loaded and not
PyGObject 2's gobject module which would cause the application
to not work correctly
https://bugzilla.gnome.org/show_bug.cgi?id=642048
tests/runtests-windows.py | 4 +-
tests/test_gdbus.py | 12 ++---
tests/test_gi.py | 4 +-
tests/test_gobject.py | 31 ++++++------
tests/test_interface.py | 16 +++---
tests/test_mainloop.py | 3 +-
tests/test_overrides.py | 8 +--
tests/test_properties.py | 124
+++++++++++++++++++++++-----------------------
tests/test_signal.py | 98 ++++++++++++++++++------------------
tests/test_source.py | 5 +-
tests/test_subprocess.py | 3 +-
tests/test_thread.py | 5 +-
tests/test_unknown.py | 8 +--
tests/testhelpermodule.c | 2 +-
tests/testmodule.py | 10 ++--
15 files changed, 169 insertions(+), 164 deletions(-)
commit c980dae21468fe073cc8782608148c346bb90ad7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 11:16:00 2011 -0400
refactor the internal _glib module to import correct modules
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/_glib/__init__.py | 3 ++-
gi/_glib/glibmodule.c | 10 +++++-----
gi/_glib/option.py | 4 ++--
gi/_glib/pyglib.c | 18 +++++++++---------
4 files changed, 18 insertions(+), 17 deletions(-)
commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 11:10:46 2011 -0400
refactor to use the new internal _glib and _gobject modules
* use relative imports instead of aboslute
* fix the C imports to import the internal _gobject libs
* add a check to see if the PyGObject 2 gobject module
was already imported
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/_gobject/__init__.py | 20 +++++++++++++-------
gi/_gobject/constants.py | 3 +--
gi/_gobject/gobjectmodule.c | 2 +-
gi/_gobject/propertyhelper.py | 11 +++++------
gi/_gobject/pygobject.c | 16 ++++++++--------
gi/_gobject/pygobject.h | 2 +-
6 files changed, 29 insertions(+), 25 deletions(-)
commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 11:07:10 2011 -0400
refactor gi module to import and use internal _gobject module
https://bugzilla.gnome.org/show_bug.cgi?id=642048
gi/importer.py | 2 --
gi/module.py | 31 ++++++++++++++++---------------
gi/overrides/Gtk.py | 2 +-
gi/overrides/__init__.py | 6 +++---
gi/pygobject-external.h | 2 +-
gi/types.py | 12 ++++++------
6 files changed, 27 insertions(+), 28 deletions(-)
commit 6b9d738d78c6ac45d49f00402c89356887555069
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 22 11:02:49 2011 -0400
move the static bits internal to gi and refactor build files
* the glib module now becomes the gi._glib module
* the gobject module now becomes the gi._gobject module
* we do this so we can install in parallel with PyGObject 2
https://bugzilla.gnome.org/show_bug.cgi?id=642048
Makefile.am | 2 +-
configure.ac | 6 +-
gi/Makefile.am | 8 +-
gi/_glib/Makefile.am | 58 +
gi/_glib/__init__.py | 25 +
gi/_glib/glibmodule.c | 969 ++++++++++++++
gi/_glib/option.py | 358 ++++++
gi/_glib/pygiochannel.c | 764 ++++++++++++
gi/_glib/pygiochannel.h | 29 +
gi/_glib/pyglib-private.h | 49 +
gi/_glib/pyglib-python-compat.h | 245 ++++
gi/_glib/pyglib.c | 633 ++++++++++
gi/_glib/pyglib.h | 83 ++
gi/_glib/pygmaincontext.c | 126 ++
gi/_glib/pygmaincontext.h | 40 +
gi/_glib/pygmainloop.c | 360 ++++++
gi/_glib/pygmainloop.h | 36 +
gi/_glib/pygoptioncontext.c | 337 +++++
gi/_glib/pygoptioncontext.h | 39 +
gi/_glib/pygoptiongroup.c | 298 +++++
gi/_glib/pygoptiongroup.h | 42 +
gi/_glib/pygsource.c | 725 +++++++++++
gi/_glib/pygsource.h | 39 +
gi/_glib/pygspawn.c | 264 ++++
gi/_glib/pygspawn.h | 32 +
gi/_gobject/Makefile.am | 71 ++
gi/_gobject/__init__.py | 117 ++
gi/_gobject/constants.py | 83 ++
gi/_gobject/ffi-marshaller.c | 194 +++
gi/_gobject/ffi-marshaller.h | 31 +
gi/_gobject/gobjectmodule.c | 2638
+++++++++++++++++++++++++++++++++++++++
gi/_gobject/propertyhelper.py | 312 +++++
gi/_gobject/pygboxed.c | 234 ++++
gi/_gobject/pygboxed.h | 27 +
gi/_gobject/pygenum.c | 366 ++++++
gi/_gobject/pygenum.h | 27 +
gi/_gobject/pygflags.c | 485 +++++++
gi/_gobject/pygflags.h | 27 +
gi/_gobject/pyginterface.c | 122 ++
gi/_gobject/pyginterface.h | 40 +
gi/_gobject/pygobject-private.h | 241 ++++
gi/_gobject/pygobject.c | 2397
+++++++++++++++++++++++++++++++++++
gi/_gobject/pygobject.h | 667 ++++++++++
gi/_gobject/pygparamspec.c | 404 ++++++
gi/_gobject/pygparamspec.h | 31 +
gi/_gobject/pygpointer.c | 198 +++
gi/_gobject/pygpointer.h | 27 +
gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
gi/_gobject/pygtype.h | 28 +
glib/Makefile.am | 61 -
glib/__init__.py | 25 -
glib/glibmodule.c | 969 --------------
glib/option.py | 358 ------
glib/pygiochannel.c | 764 ------------
glib/pygiochannel.h | 29 -
glib/pyglib-private.h | 49 -
glib/pyglib-python-compat.h | 245 ----
glib/pyglib.c | 633 ----------
glib/pyglib.h | 83 --
glib/pygmaincontext.c | 126 --
glib/pygmaincontext.h | 40 -
glib/pygmainloop.c | 360 ------
glib/pygmainloop.h | 36 -
glib/pygoptioncontext.c | 337 -----
glib/pygoptioncontext.h | 39 -
glib/pygoptiongroup.c | 298 -----
glib/pygoptiongroup.h | 42 -
glib/pygsource.c | 725 -----------
glib/pygsource.h | 39 -
glib/pygspawn.c | 264 ----
glib/pygspawn.h | 32 -
gobject/Makefile.am | 73 --
gobject/__init__.py | 117 --
gobject/constants.py | 83 --
gobject/ffi-marshaller.c | 194 ---
gobject/ffi-marshaller.h | 31 -
gobject/gobjectmodule.c | 2638
---------------------------------------
gobject/propertyhelper.py | 312 -----
gobject/pygboxed.c | 234 ----
gobject/pygboxed.h | 27 -
gobject/pygenum.c | 366 ------
gobject/pygenum.h | 27 -
gobject/pygflags.c | 485 -------
gobject/pygflags.h | 27 -
gobject/pyginterface.c | 122 --
gobject/pyginterface.h | 40 -
gobject/pygobject-private.h | 241 ----
gobject/pygobject.c | 2397
-----------------------------------
gobject/pygobject.h | 667 ----------
gobject/pygparamspec.c | 404 ------
gobject/pygparamspec.h | 31 -
gobject/pygpointer.c | 198 ---
gobject/pygpointer.h | 27 -
gobject/pygtype.c | 1844 ---------------------------
gobject/pygtype.h | 28 -
tests/Makefile.am | 2 +-
96 files changed, 16172 insertions(+), 16175 deletions(-)
commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 18:46:31 2011 -0400
remove pygtk.py
https://bugzilla.gnome.org/show_bug.cgi?id=642048
Makefile.am | 5 ----
pygtk.py | 95
-------------------------------------------------------------
2 files changed, 100 deletions(-)
commit 75e9f7d80d9224c05e6063b88479f1baee48c489
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 18:41:41 2011 -0400
introspection is no longer optional
https://bugzilla.gnome.org/show_bug.cgi?id=642048
Makefile.am | 8 +-------
configure.ac | 43 +++++++++++++++++--------------------------
gi/pygi.h | 37 -------------------------------------
gobject/Makefile.am | 5 +----
tests/Makefile.am | 7 +------
5 files changed, 20 insertions(+), 80 deletions(-)
commit d862168d6a82edd59547d39f5b0ab8279b1e511c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 18:28:50 2011 -0400
up platform version to 3.0
https://bugzilla.gnome.org/show_bug.cgi?id=642048
Makefile.am | 2 +-
configure.ac | 4 ++--
pygobject-2.0-uninstalled.pc.in | 18 ------------------
pygobject-2.0.pc.in | 22 ----------------------
pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
6 files changed, 43 insertions(+), 43 deletions(-)
commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Aug 11 09:53:15 2011 +0200
[gi] Handle GVariants from callback return values
Callbacks still use GIArgument, add missing GVariant support for
return types.
gi/pygi-argument.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Aug 10 14:11:10 2011 +0200
Handle GVariants for callback arguments
Callbacks still use GIArgument, add missing GVariant support. This
is the
equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
gi/pygi-argument.c | 7 +++++++
1 file changed, 7 insertions(+)
commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Mon Aug 8 01:58:10 2011 +0200
[gi] Fix crash: check return value of
_invoke_state_init_from_callable_cache() before continuing.
gi/pygi-invoke.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Fri Aug 5 21:03:33 2011 +0200
[gi] Pass gtype as first parameter to vfuncs (instead of using
kwargs).
gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
gi/types.py | 2 +-
2 files changed, 19 insertions(+), 15 deletions(-)
commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 18:21:51 2011 -0400
remove codegen
Makefile.am | 2 +-
codegen/Makefile.am | 33 -
codegen/README.defs | 351 --------
codegen/__init__.py | 16 -
codegen/argtypes.py | 1043 -----------------------
codegen/code-coverage.py | 44 -
codegen/codegen.py | 1722
--------------------------------------
codegen/createdefs.py | 17 -
codegen/definitions.py | 575 -------------
codegen/defsconvert.py | 132 ---
codegen/defsgen.py | 737 ----------------
codegen/defsparser.py | 153 ----
codegen/docextract.py | 461 ----------
codegen/docextract_to_xml.py | 142 ----
codegen/docgen.py | 766 -----------------
codegen/h2def.py | 631 --------------
codegen/mergedefs.py | 26 -
codegen/missingdefs.py | 17 -
codegen/mkskel.py | 89 --
codegen/override.py | 285 -------
codegen/pygobject-codegen-2.0.in | 11 -
codegen/reversewrapper.py | 912 --------------------
codegen/scanvirtuals.py | 54 --
codegen/scmexpr.py | 143 ----
configure.ac | 5 -
pygobject-2.0-uninstalled.pc.in | 1 -
pygobject-2.0.pc.in | 1 -
27 files changed, 1 insertion(+), 8368 deletions(-)
commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 11:04:58 2011 -0400
remove some left over ifdefs to complete merge of the invoke-rewrite
branch
gi/pygi-cache.h | 2 --
gi/pygi-info.c | 2 --
gi/pygi-private.h | 5 +----
gi/pygi.h | 2 --
4 files changed, 1 insertion(+), 10 deletions(-)
commit 8c653ec3033fab47c4bb4071b5732a349357141f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 10:59:45 2011 -0400
rename pygi-invoke-ng to pygi-invoke
gi/Makefile.am | 3 +-
gi/pygi-invoke-ng.c | 464
----------------------------------------------------
gi/pygi-invoke.c | 464
++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 466 insertions(+), 465 deletions(-)
commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 10:56:36 2011 -0400
make invoke-ng the only invoker
configure.ac | 11 -
gi/Makefile.am | 10 +-
gi/pygi-invoke.c | 1030
------------------------------------------------------
3 files changed, 1 insertion(+), 1050 deletions(-)
commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
Merge: 519e556 917ea2d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 10:45:18 2011 -0400
Merge branch 'master' into invoke-rewrite
commit 519e556dc1e5874e1668bad93043fb9258c7ee79
Merge: bab7e88 38cca3c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 10:37:20 2011 -0400
Merge branch 'master' into invoke-rewrite
commit bab7e88251bffcd360186c6dedc26be8eb077084
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jul 18 10:35:10 2011 -0400
split the marshalling routines into two source files
* update copy and paste copyright info to list the correct owner
gi/Makefile.am | 6 +-
gi/pygi-cache.c | 3 +-
gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
gi/pygi-marshal-in.h | 186 +++++
gi/pygi-marshal-out.c | 767 ++++++++++++++++++
gi/pygi-marshal-out.h | 144 ++++
gi/pygi-marshal.c | 2145
-------------------------------------------------
gi/pygi-marshal.h | 303 -------
8 files changed, 2515 insertions(+), 2451 deletions(-)
commit 917ea2dfa2d097e563233145003a66b3e4423287
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jul 14 11:21:10 2011 +0200
Ship tests/te_ST@nouppera in release tarballs for tests to succeed
tests/Makefile.am | 1 +
1 file changed, 1 insertion(+)
commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jul 13 15:43:02 2011 -0400
[invoke] break out caller_allocates allocating into its own function
gi/pygi-invoke-ng.c | 78
+++++++++++++++++++++++++++++++++--------------------
1 file changed, 49 insertions(+), 29 deletions(-)
commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jul 13 15:42:26 2011 -0400
[invoke] missed a bit when removing constructor_class usage
gi/pygi-invoke-ng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jul 13 15:16:17 2011 -0400
[invoke] don't hold on to the constructor class, just add a TODO
gi/pygi-invoke-ng.c | 11 +++++------
gi/pygi-invoke-state-struct.h | 1 -
2 files changed, 5 insertions(+), 7 deletions(-)
commit c11d3195f324ea41e86e3da7ff99b55425c2faec
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jul 13 10:40:25 2011 +0200
[gi] Port test_properties from static gio to GI Gio
As we ripped out the static gio bindings a while ago, this test case
was using
the system installed gio bindings with Python 2, and now fails
completely with
Python 3. Rewrite it to use gi.repository.Gio.
tests/test_properties.py | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jul 13 08:42:22 2011 +0200
[python3] Fix maketrans import
Python3 moved the maketrans() function from the string module to a
str method.
This unbreaks gi/module.py for Python 3 again.
gi/module.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 8 14:39:22 2011 -0400
[caching] remove all inline compiler flags
gi/pygi-cache.c | 96
++++++++++++++++++++++++++++-----------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
commit bf7bb79b66ad406063fb443e7452d830c55986ef
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 8 14:35:20 2011 -0400
[caching] refactor function names to be less confusing
gi/pygi-cache.c | 307
+++++++++++++++++++++++++++-----------------------------
1 file changed, 150 insertions(+), 157 deletions(-)
commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 8 11:24:09 2011 -0400
[overrides] deprecate the use of type keyword MessageDialog
constructor
* pygtk used type to determine the "type" of message dialog to
display but we
use the proper property name "message_type" since we should not be
overriding a reserved word
* to keep compat with pygtk we check the kwds hash for the key
'type' and
assign it to message_type while throwing a deprecation warning
* also add a deprication warning when trying to use the depricated
NO_SEPARATOR
flag
gi/overrides/Gtk.py | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Jul 8 10:15:53 2011 +0200
gdbus tests: Fix hang if test case fails
In the TestGDBusClient.test_native_calls_async() test case, the main
loop was
never quit when the call failed.
tests/test_gdbus.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jul 7 19:30:11 2011 -0400
use an enum instead of booleans to denote function type
gi/pygi-cache.c | 85
++++++++++++++++++++++++++++++-----------------------
gi/pygi-cache.h | 18 +++++++++---
gi/pygi-invoke-ng.c | 8 ++---
3 files changed, 67 insertions(+), 44 deletions(-)
commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jul 7 15:18:03 2011 -0400
rename aux arguments to child arguments to make their purpose clearer
gi/pygi-cache.c | 64
++++++++++++++++++++++++++---------------------------
gi/pygi-cache.h | 29 ++++++++++++++++--------
gi/pygi-invoke-ng.c | 10 ++++-----
gi/pygi-marshal.c | 12 +++++-----
4 files changed, 63 insertions(+), 52 deletions(-)
commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
Author: Timo Vanwynsberghe <timovwb@gmail.com>
Date: Thu Jul 7 10:59:08 2011 +0200
Fixed the cairo example
https://bugzilla.gnome.org/show_bug.cgi?id=653844
examples/cairo-demo.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
Author: Adam Dingle <adam@yorba.org>
Date: Tue Jul 5 14:28:20 2011 -0700
Add override binding for Gtk.ListStore.prepend().
https://bugzilla.gnome.org/show_bug.cgi?id=654056
gi/overrides/Gtk.py | 8 ++++++++
tests/test_overrides.py | 13 ++++++++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jul 7 13:39:19 2011 +0200
Fix crash in Gtk.TextIter overrides
With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
returns undefined
pointers when the search was unsuccessful. Actually check the
"success" return
value; if it is False return None, just like PyGTK used to.
Thanks to Michael Vogt for discovering this and writing the test case!
Test case:
-------------- 8< -----------------
from gi.repository import Gtk
win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
textview = Gtk.TextView()
buffer = textview.get_buffer()
buffer.set_text("hello world")
win.add(textview)
win.show_all()
iter = buffer.get_start_iter()
end = buffer.get_end_iter()
ret = iter.forward_search("foo",
Gtk.TextSearchFlags.VISIBLE_ONLY,
end)
print "this is my return value"
print ret
print "now I crash"
print ret[0].get_offset()
Gtk.main()
-------------- 8< -----------------
gi/overrides/Gtk.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jul 5 15:57:23 2011 -0400
use gssize instead of int for arg indexes
gi/pygi-cache.c | 24 ++++++++++++------------
gi/pygi-cache.h | 6 +++---
gi/pygi-invoke-ng.c | 6 +++---
gi/pygi-marshal-cleanup.c | 6 +++---
4 files changed, 21 insertions(+), 21 deletions(-)
commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jul 5 14:17:30 2011 -0400
[cache] remove refrence to default value as it is not implemented yet
gi/pygi-cache.h | 1 -
1 file changed, 1 deletion(-)
commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Thu May 12 18:53:06 2011 +0200
Handle arguments that are flags correctly
https://bugzilla.gnome.org/show_bug.cgi?id=647581
gi/pygi-argument.c | 2 ++
1 file changed, 2 insertions(+)
commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 1 05:19:15 2011 -0400
correctly initialize the _gi_cairo_functions array to be zero filled
gi/pygi-foreign-cairo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 1 05:19:15 2011 -0400
correctly initialize the _gi_cairo_functions array to be zero filled
gi/pygi-foreign-cairo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 29 18:14:40 2011 -0400
pass in the address of the gerror, not the gerror itself
gi/pygi-argument.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 29 18:01:44 2011 -0400
[gi] handle marshalling gerrors arguments for signals
gi/pygi-argument.c | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
commit db9419fcef628e9ffee10591156007ea9c0bc1f0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 29 12:12:29 2011 -0400
[gi-invoke-ng] fix NULL check to check before we access the cache
struct
gi/pygi-cache.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 28 18:21:55 2011 -0400
[gi-tests] add test for PyGObject->PyObject TreeModel storage
* make sure we can store a custom GObject as a PyObject inside of
a TreeModel
tests/test_overrides.py | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
commit b6842e4b2a28733e143d4022864041ca82e91f7a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 28 18:13:38 2011 -0400
[gtk-overrides] special case TreeModel columns of PYGOBJECT types
* box the PYGOBJECT in a GValue so we can store PyGObjects in a
TreeModel row
gi/overrides/Gtk.py | 7 ++++---
gobject/pygtype.c | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 28 17:32:29 2011 -0400
[gi-invoke-ng] copy structs when transfer is full for array
gi/pygi-marshal.c | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 28 13:54:48 2011 -0400
[gtk-override] print warning if user imports Gtk 2.0
* this is needed because people file bugs not realizing they are
importing 2.0
which is not supported
gi/overrides/Gtk.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 28 13:08:49 2011 -0400
[gtk-overrides] allow the message_type keyword to be used for
MessageDialogs
* for pygtk compat we use the type keyword for message type but
we prefer
the use of message_type because it is more descriptive and does
not clash
with a python reserved word
* if you passed message_type into a MessageDialog constructor you
would get
an error because we also convert type to message_type when
calling the
parent constructor
* this patch looks to see if message_type was passed in as a
keyword and
assigns it to type while removing message_type from the keywords
dict
to avoid name clashing
gi/overrides/Gtk.py | 5 +++++
1 file changed, 5 insertions(+)
commit 2aa12267bee91aa696633a0cea2a0accae09250a
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 10:56:20 2011 -0300
Add support for enums in gobject.property
https://bugzilla.gnome.org/show_bug.cgi?id=653488
gobject/propertyhelper.py | 23 ++++++++++++++++-------
tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
2 files changed, 52 insertions(+), 11 deletions(-)
commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
Author: Johan Dahlin <jdahlin@litl.com>
Date: Mon Jun 27 10:56:20 2011 -0300
Add support for enums in gobject.property
https://bugzilla.gnome.org/show_bug.cgi?id=653488
gobject/propertyhelper.py | 23 ++++++++++++++++-------
tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
2 files changed, 52 insertions(+), 11 deletions(-)
commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jun 24 14:17:24 2011 -0400
[gi-invoke-ng] use g_slice for allocating GValues that are caller
allocated
gi/pygi-invoke-ng.c | 2 ++
gi/pygi-marshal-cleanup.c | 2 ++
2 files changed, 4 insertions(+)
commit eff65cd2ce490296865441c3c78b7846f380459c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jun 24 11:49:05 2011 -0400
[gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
integers
gi/pygi-marshal.c | 56
+++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 44 insertions(+), 12 deletions(-)
commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 22 12:26:39 2011 -0400
[gi-invoke-ng] only cache caller allocates for interfaces as some
API are broken
gi/pygi-cache.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 4fd957a5de364c0588168dee15e1e61d4f12e173
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jun 17 17:07:56 2011 -0400
[gi-invoke-ng] handle in pointer array marshalling
gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
Author: Alex Eftimie <alex@eftimie.ro>
Date: Fri Jun 10 08:44:04 2011 +0300
Adding GPtrArray tests
tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)
commit e32c2be53175014399d89e1e85c9afc6e53c94be
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jun 17 11:32:28 2011 -0400
[gi-invoke-ng] fix array element offset calculations
* use pointer arithmetic to calculate based on element size instead of
relying on the size of GIArgument
* special case GPtrArrays
gi/pygi-marshal.c | 27 +++++++++------------------
1 file changed, 9 insertions(+), 18 deletions(-)
commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 15 12:46:03 2011 -0400
[gi] don't clean up arguments that weren't yet processed during in
arg failure
gi/pygi-marshal-cleanup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit af7c93ea98b7f492eef265e58c8b3c878805524f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 15 12:06:47 2011 -0400
[gi-overrides] use new instead of init when constructing a
GLib.VariantBuilder
* init is now skipped in the gir
gi/overrides/GLib.py | 18 ++++++++----------
tests/test_overrides.py | 6 ++----
2 files changed, 10 insertions(+), 14 deletions(-)
commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 15 11:42:45 2011 -0400
[gi-invoke-ng] actual code to import overrides
gi/pygi-cache.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
commit 902575d857beffb14e56821ea8a52f705385f6bb
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 15 11:25:10 2011 -0400
[gi-invoke-ng] import pytypes so we get overrides
gi/pygi-marshal.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 14 16:13:37 2011 -0400
[gi-invoke-ng] handle gvariants now that they are not foreign
gi/pygi-marshal.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit c1f5651062687e800a52b5d8d16c88c0acde2934
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 14 16:12:43 2011 -0400
[gi-invoke-ng] do not try to clean up NULL arguments
gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
Merge: 499b68d 1491f62
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 13 17:28:23 2011 -0400
Merge branch 'master' into invoke-rewrite
commit 499b68d6c9040cffc6e43dc87789d68446564a92
Merge: 4c9bced 426c710
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 13 17:26:37 2011 -0400
Merge branch 'master' into invoke-rewrite
commit 1491f6225b9906bd369b5a42e6369ab6884736b7
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Fri Jun 10 14:01:32 2011 +0200
closure: avoid double free crash
gi/pygi-closure.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
Author: Jason Siefken <siefkenj@gmail.com>
Date: Fri Jun 3 23:11:17 2011 -0700
Added __eq__ method for Gdk.Color and Gdk.RGBA
Call Gdk.Color.equal and Gdk.RGBA.equal when
== equality testing is used.
gi/overrides/Gdk.py | 6 ++++++
tests/test_overrides.py | 4 ++++
2 files changed, 10 insertions(+)
commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Jun 8 19:13:48 2011 +0200
closure: Check the out arg is not null. Fixes bug #651812
gi/pygi-closure.c | 3 +++
1 file changed, 3 insertions(+)
commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jun 8 09:47:20 2011 +0200
Use constants instead of literals
tests/test_overrides.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 6 19:07:22 2011 +0200
GVariant has now a GType, take that into account
https://bugzilla.gnome.org/show_bug.cgi?id=647509
gi/pygi-argument.c | 8 ++++----
gi/pygi-invoke.c | 20 +++++++++++++-------
2 files changed, 17 insertions(+), 11 deletions(-)
commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 6 19:05:07 2011 +0200
GVariantType is a boxed struct
https://bugzilla.gnome.org/show_bug.cgi?id=647509
gi/gimodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 6 17:38:21 2011 +0200
Use _gi.Struct to wrap fundamentals
https://bugzilla.gnome.org/show_bug.cgi?id=647509
gi/module.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 6 17:24:28 2011 +0200
Merge gi/HACKING into /HACKING
HACKING | 16 ++++++++++++++++
gi/HACKING | 26 --------------------------
2 files changed, 16 insertions(+), 26 deletions(-)
commit 92aca4416a7930e5870b8d1a4016bae8140462ee
Author: Daniel Drake <dsd@laptop.org>
Date: Fri Jun 3 16:59:15 2011 +0100
Fix GC-related crash during PyGObject deallocation
Python-2.7.1's GC source has the following comment:
/* Python's cyclic gc should never see an incoming refcount
* of 0: if something decref'ed to 0, it should have been
* deallocated immediately at that time.
* Possible cause (if the assert triggers): a tp_dealloc
* routine left a gc-aware object tracked during its teardown
* phase, and did something-- or allowed something to
happen --
* that called back into Python. gc can trigger then, and may
* see the still-tracked dying object. Before this assert
* was added, such mistakes went on to allow gc to try to
* delete the object again. In a debug build, that caused
* a mysterious segfault, when _Py_ForgetReference tried
* to remove the object from the doubly-linked list of all
* objects a second time. In a release build, an actual
* double deallocation occurred, which leads to corruption
* of the allocator's internal bookkeeping pointers. That's
* so serious that maybe this should be a release-build
* check instead of an assert?
*/
As shown in a backtrace at
https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
is making
this exact mistake. Before untracking its object, pygobject_dealloc
calls PyObject_ClearWeakRefs() which can call back into python, create
new allocations, and trigger the GC.
This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
to
crash on a regular basis while interacting with widgets or launching
applications.
Fix this by untracking the object early. Also fix the same issue
spotted
in the GSource wrapper.
Thanks to Bernie Innocenti for initial diagnosis.
glib/pygsource.c | 6 ++++--
gobject/pygobject.c | 8 +++++++-
2 files changed, 11 insertions(+), 3 deletions(-)
commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue May 31 16:59:41 2011 -0400
[gi-invoke-ng] enable invoke-ng by default
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue May 31 16:37:21 2011 -0400
[gi-invoke-ng] add code to clean up when input values fail to marshal
gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue May 31 16:01:03 2011 -0400
[gi-invoke-ng] add hash cleanup routines
gi/pygi-cache.c | 2 ++
gi/pygi-marshal-cleanup.c | 64
+++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-marshal-cleanup.h | 10 ++++++--
3 files changed, 74 insertions(+), 2 deletions(-)
commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue May 31 14:47:30 2011 -0400
[gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
gi/pygi-marshal-cleanup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue May 31 14:40:49 2011 -0400
[gi-invoke-ng] add list cleanup routines
gi/pygi-cache.c | 8 ++---
gi/pygi-marshal-cleanup.c | 84
+++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-marshal-cleanup.h | 8 +++++
3 files changed, 96 insertions(+), 4 deletions(-)
commit 2e542c327cd52c1f77af28905557dd25c64175d8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu May 26 16:10:13 2011 -0400
indentation fix
gi/pygi-marshal.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 601aec11c49e821fe97dd30a2187fe3c75844712
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu May 26 16:09:38 2011 -0400
[gi-invoke-ng] add out array cleanup
gi/pygi-cache.c | 2 +-
gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
3 files changed, 56 insertions(+), 7 deletions(-)
commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu May 26 13:22:38 2011 -0400
[gi-invoke-ng] do not allocate null terminator for garray
* We are simply setting our own array so we don't want any allocate
null byte
gi/pygi-marshal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu May 26 13:21:55 2011 -0400
[gi-invoke-ng] add array cleanup for in arrays
gi/pygi-cache.c | 2 +-
gi/pygi-marshal-cleanup.c | 72
++++++++++++++++++++++++++++++++++++++++++++++-
gi/pygi-marshal-cleanup.h | 9 ++++++
gi/pygi-marshal.c | 13 +++++++--
4 files changed, 91 insertions(+), 5 deletions(-)
commit 990c60805c8ef718eb29e2e1b24f057552c6159e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon May 23 17:06:30 2011 -0400
[gi-invoke-ng] remove remaining bits of the invoke stage state machine
gi/pygi-invoke-ng.c | 7 +------
gi/pygi-invoke-state-struct.h | 14 --------------
2 files changed, 1 insertion(+), 20 deletions(-)
commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon May 23 16:59:57 2011 -0400
[gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
setup
* cleanup now has symmetry with setup so there are now in and out
cleanups
for each type that needs to be cleaned up
* no longer use state machine but instead call different cleanup
functions at
different stages of invoke, making it easier to understand what
happens at
each stage
gi/pygi-cache.c | 19 ++-
gi/pygi-cache.h | 7 +-
gi/pygi-invoke-ng.c | 10 +-
gi/pygi-invoke-state-struct.h | 2 +
gi/pygi-marshal-cleanup.c | 301
+++++++++++++++++-------------------------
gi/pygi-marshal-cleanup.h | 45 ++++---
gi/pygi-marshal.c | 15 +--
7 files changed, 174 insertions(+), 225 deletions(-)
commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu May 12 17:29:20 2011 -0400
[gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
* The state machine concept of cleaning up was getting a bit messy.
It was like we took a big bowl of spaghetti code and dumped it.
* Now we call specific cleanup functions at the point of failure (or
successful completion of a marshalling stage)
gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
gi/pygi-marshal-cleanup.c | 72
+++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-marshal-cleanup.h | 14 +++++++++
3 files changed, 135 insertions(+), 10 deletions(-)
commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Thu May 12 11:53:40 2011 -0400
Doc Extractor: Correct the logic of the --no-since option.
* codegen/docextract.py (process_final_sections): If the
--no-since
option has been specified and a "Since:" is encountered during the
processing of the final sections, simply don't append the
"Since: ..."
instead of reading the next line. This preserves the logical
flow of
processing.
codegen/docextract.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Mon May 9 17:32:09 2011 -0400
Doc Extractor: Add a --no-since option.
* codegen/docextract.py:
* codegen/docextract_to_xml.py: Modified so that if a --no-since
option is specified at the command line, the "Since: ..." portion
of
the gtkdoc function block is omitted. This is useful for C++
modules
such as gstreamermm where this information would not be useful
as long
as the C API is still unstable.
codegen/docextract.py | 15 ++++++++++++++-
codegen/docextract_to_xml.py | 9 ++++++---
2 files changed, 20 insertions(+), 4 deletions(-)
commit 4f615c6e300d6f2d7551b640efa301060206ab58
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu May 5 14:04:34 2011 -0400
[gi-invoke-ng] tweek cleanup routines
gi/pygi-cache.c | 5 +++
gi/pygi-marshal-cleanup.c | 87
+++++++++++++++++++++++++++++++++++------------
gi/pygi-marshal-cleanup.h | 6 ++--
gi/pygi-marshal.c | 11 ++----
4 files changed, 76 insertions(+), 33 deletions(-)
commit 63c7f17c224821cb7136d06e8ef87eab7291848d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon May 2 15:49:52 2011 +0200
Fix symbol names to be locale independent
We currently use upper() to present enum values, which are usually
defined in
lower case in the typelib, in upper cases. However, upper() is locale
dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
because Turkish has some extra variants of "i".
Use a local ASCII-only translate() call instead to avoid this. Thanks
to Nils
Philippsen for the idea!
This also adds a test locale "te_ST@nouppera" which defines
toupper('a') == 'a'.
Run the Enum tests under this locale to reproduce the bug and verify
the fix.
https://bugzilla.gnome.org/show_bug.cgi?id=649165
gi/module.py | 9 ++++++++-
tests/te_ST@nouppera | 50
++++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
3 files changed, 88 insertions(+), 1 deletion(-)
commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed May 4 08:35:27 2011 +0200
[gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Apr 29 17:41:08 2011 -0400
[gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
gi/pygi-cache.c | 2 ++
1 file changed, 2 insertions(+)
commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Apr 29 17:40:13 2011 -0400
[gi-invoke-ng] handle caller allocates cleanup
gi/pygi-invoke-ng.c | 5 ++-
gi/pygi-marshal-cleanup.c | 104
++++++++++++++++++++++++++++++++++++----------
gi/pygi-marshal-cleanup.h | 7 ++--
3 files changed, 90 insertions(+), 26 deletions(-)
commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Apr 28 19:16:02 2011 -0400
[gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
initial test
gi/pygi-cache.c | 15 ++-----------
gi/pygi-invoke-ng.c | 8 +++----
gi/pygi-invoke-state-struct.h | 2 ++
gi/pygi-marshal-cleanup.c | 51
++++++++++++++++++++++++++++++++++++++++++-
gi/pygi-marshal-cleanup.h | 3 +++
5 files changed, 60 insertions(+), 19 deletions(-)
commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Apr 27 15:47:19 2011 -0400
use PyCapsule when importing pycairo/require pycairo 1.10.0 for
python3 builds
* PyCObject is deprecated and pycairo 1.10.0 is first release to
fix this issue
configure.ac | 15 +++++++++++----
gi/pygi-foreign-cairo.c | 2 +-
2 files changed, 12 insertions(+), 5 deletions(-)
commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Thu Apr 21 16:52:20 2011 +0200
[python3] fix build. PYcairo_IMPORT doesn't exists anymore
gi/pygi-foreign-cairo.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit 3e933784df423757e591d703614cb700adb0bbe0
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Apr 18 18:36:25 2011 +0200
Updated DOAP file
pygobject.doap | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Apr 16 16:02:05 2011 +0200
[gi] Don't create variant twice
gi/overrides/GLib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8d8a84ea23d28d25851c5870f261c020d762cef4
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Apr 15 16:14:43 2011 +0200
pygi-convert.sh: Make sure the uppercase GObject module is imported
instead of the lowercase
https://bugzilla.gnome.org/show_bug.cgi?id=647736
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Apr 15 15:58:53 2011 +0200
[gi] Removed hack to avoid using GLib.Variant.new_variant.
The bug in the annotations of GLib is fixed now.
https://bugzilla.gnome.org/show_bug.cgi?id=639952
https://bugzilla.gnome.org/show_bug.cgi?id=647796
gi/overrides/GLib.py | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Apr 15 15:58:31 2011 +0200
[gi] Added additional test case for GVariant handling
tests/test_overrides.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 138df2778543409752e229a09828a805f68a420d
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Apr 11 18:34:31 2011 +0200
[gi] Added support for GVariant arguments
This is required in order for the "g-signal" signal of GDBusProxy
to work properly and thus to properly receive DBus signals with any
type of argument.
https://bugzilla.gnome.org/show_bug.cgi?id=647477
gi/pygi-argument.c | 2 ++
1 file changed, 2 insertions(+)
commit 985f239d891c7697d76ccecb797b189669ae6ee1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 18:46:28 2011 -0400
fix static ABI for setting string gvalues from python objects
* the static bindings used to be able to set a string gvalue to
any python
object that implemented __str__, for instance when setting a
treemodel column
* this restores that code while still keeping unicode and python 3
compatability
gobject/pygtype.c | 28 +++++++++++++++++++---------
tests/test_properties.py | 8 ++++++++
2 files changed, 27 insertions(+), 9 deletions(-)
commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Mar 22 20:47:51 2011 +0100
dsextras.py: ensure eol characters are preserved when writing template
files (so \n does not become \r\n)
dsextras.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 629d267478982c426ba61a639d5c9603fed856e6
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Mar 22 11:35:44 2011 +0100
dsextras.py: remove \r as wel as \n character
dsextras.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Apr 27 15:47:19 2011 -0400
use PyCapsule when importing pycairo/require pycairo 1.10.0 for
python3 builds
* PyCObject is deprecated and pycairo 1.10.0 is first release to
fix this issue
configure.ac | 15 +++++++++++----
gi/pygi-foreign-cairo.c | 2 +-
2 files changed, 12 insertions(+), 5 deletions(-)
commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Thu Apr 21 16:52:20 2011 +0200
[python3] fix build. PYcairo_IMPORT doesn't exists anymore
gi/pygi-foreign-cairo.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit 91ec337359720839862d3f5a8a0ea98f760a0752
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Apr 18 18:36:25 2011 +0200
Updated DOAP file
pygobject.doap | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 05c766044c83340c44564d0097514bfc1d1d9df7
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Apr 16 16:02:05 2011 +0200
[gi] Don't create variant twice
gi/overrides/GLib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit eb8f212e3687af30407cf01fcdfbf530257bcddb
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Apr 15 16:14:43 2011 +0200
pygi-convert.sh: Make sure the uppercase GObject module is imported
instead of the lowercase
https://bugzilla.gnome.org/show_bug.cgi?id=647736
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit af31729573de24161ee90563e5738187c749783c
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Apr 15 15:58:53 2011 +0200
[gi] Removed hack to avoid using GLib.Variant.new_variant.
The bug in the annotations of GLib is fixed now.
https://bugzilla.gnome.org/show_bug.cgi?id=639952
https://bugzilla.gnome.org/show_bug.cgi?id=647796
gi/overrides/GLib.py | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
commit 070f6688be4afb926656038dcceac4c8b8ed97c7
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Apr 15 15:58:31 2011 +0200
[gi] Added additional test case for GVariant handling
tests/test_overrides.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 65aa040e86d94ee6bb227a2bce09668b60208027
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Apr 12 14:51:35 2011 -0400
[gi-invoke-ng] fix prototype
gi/pygi-cache.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Apr 12 14:48:16 2011 -0400
[gi-invoke-ng] create new framework for cleaning up args
* we now have a state machine so we know what point in the marshalling
process
we are and which args need to be cleaned up
* call the cleanup functions after invoking the gi callable, after
marshalling
the out parameters and at any time an error occures
gi/Makefile.am | 4 ++-
gi/pygi-cache.c | 25 +++++++------
gi/pygi-cache.h | 5 ++-
gi/pygi-invoke-ng.c | 34 ++++++++++++++----
gi/pygi-invoke-state-struct.h | 13 +++++++
gi/pygi-marshal-cleanup.c | 81
+++++++++++++++++++++++++++++++++++++++++++
gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
gi/pygi-marshal.c | 1 +
8 files changed, 187 insertions(+), 19 deletions(-)
commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Apr 11 18:34:31 2011 +0200
[gi] Added support for GVariant arguments
This is required in order for the "g-signal" signal of GDBusProxy
to work properly and thus to properly receive DBus signals with any
type of argument.
https://bugzilla.gnome.org/show_bug.cgi?id=647477
gi/pygi-argument.c | 2 ++
1 file changed, 2 insertions(+)
commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Mar 30 16:40:31 2011 -0400
[gi-invoke-ng] fix marshal header that is no longer part of
pygi-arguments.h
gi/pygi-marshal.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Mar 30 15:53:13 2011 -0400
[gi-invoke-ng] code style space fixes
gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
gi/pygi-invoke-ng.c | 145 +++++++-------
gi/pygi-marshal.c | 565
++++++++++++++++++++++++++--------------------------
3 files changed, 566 insertions(+), 564 deletions(-)
commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 29 16:54:44 2011 -0400
[gi-invoke-ng] don't decref value taken from a dict as it is borrowed
gi/pygi-invoke-ng.c | 1 -
1 file changed, 1 deletion(-)
commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 29 15:23:06 2011 -0400
[gi-invoke-ng] return None when appropriate so we don't crash
gi/pygi-marshal.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 29 15:21:41 2011 -0400
[gi-invoke-ng] fix aux value caching
gi/pygi-cache.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 28 20:25:46 2011 -0400
[gi-invoke-ng] backport handling flags with no gtype
gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 28 18:32:00 2011 -0400
[gi-invoke-ng] backport raw gvalue handling
gi/pygi-marshal.c | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 28 18:30:31 2011 -0400
[gi-invoke-ng] marshal instances seperately since they differ slightly
from other args
gi/pygi-cache.c | 2 +-
gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 1 deletion(-)
commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 28 18:26:09 2011 -0400
[gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
gi/pygi-cache.c | 392
+++++++++++++++++++++++++++-------------------------
gi/pygi-cache.h | 12 +-
gi/pygi-info.c | 2 +-
gi/pygi-invoke-ng.c | 40 +++---
gi/pygi-marshal.c | 140 +++++++++----------
gi/pygi-marshal.h | 159 +++++++++------------
gi/pygi.h | 2 +-
7 files changed, 362 insertions(+), 385 deletions(-)
commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 28 15:01:12 2011 -0400
[gi-invoke-rewrite] backport glib error handling
gi/pygi-invoke-ng.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 25 18:48:42 2011 -0400
[gi-invoke-ng] backport closure passing from invoke
gi/pygi-marshal.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
commit cf7f97eabc9c49773c2916929b8c43ef453d0652
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 25 18:47:36 2011 -0400
[gi-invoke-ng] handle vfuncs and fix cosntrutors
gi/pygi-cache.c | 9 +++++++
gi/pygi-cache.h | 2 ++
gi/pygi-invoke-ng.c | 56
++++++++++++++++++++++++++++++++-----------
gi/pygi-invoke-state-struct.h | 2 ++
4 files changed, 55 insertions(+), 14 deletions(-)
commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 25 18:39:06 2011 -0400
[gi-invoke-ng] handle foreign types correctly
gi/pygi-cache.c | 22 ++++++----------------
gi/pygi-marshal.c | 3 +++
2 files changed, 9 insertions(+), 16 deletions(-)
commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 25 13:14:01 2011 -0400
[gi] remove the class parameter from the argument list of constructors
* constructors pass in their class to be constructed. Since we
use GI
and g_object_new to do the construction we ignore this for now but
keep it around in the state for future use.
gi/pygi-invoke-ng.c | 46
+++++++++++++++++++++++++++++++++++++------
gi/pygi-invoke-state-struct.h | 1 +
2 files changed, 41 insertions(+), 6 deletions(-)
commit 0534eb0e843cdf09611143da184052f7e549e4dc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 18:46:28 2011 -0400
fix static ABI for setting string gvalues from python objects
* the static bindings used to be able to set a string gvalue to
any python
object that implemented __str__, for instance when setting a
treemodel column
* this restores that code while still keeping unicode and python 3
compatability
gobject/pygtype.c | 28 +++++++++++++++++++---------
tests/test_properties.py | 8 ++++++++
2 files changed, 27 insertions(+), 9 deletions(-)
commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Mar 22 20:47:51 2011 +0100
dsextras.py: ensure eol characters are preserved when writing template
files (so \n does not become \r\n)
dsextras.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Mar 22 11:35:44 2011 +0100
dsextras.py: remove \r as wel as \n character
dsextras.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 86c436978c933f6ebe17627abe98325ce66f6baa
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 16:13:58 2011 -0400
[gi] make new invoke-ng codepath compile correctly
configure.ac | 4 +
gi/Makefile.am | 5 +-
gi/pygi-cache.c | 2 +-
gi/pygi-invoke-ng.c | 841 ----------------------
gi/pygi-marshal.c | 1962
+--------------------------------------------------
gi/pygi-private.h | 4 +-
6 files changed, 9 insertions(+), 2809 deletions(-)
commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 15:40:02 2011 -0400
[gi] conditionalize invoke code paths
configure.ac | 7 +++++++
gi/Makefile.am | 20 +++++++++++++++-----
gi/pygi-cache.h | 2 ++
gi/pygi-info.c | 4 +++-
gi/pygi-private.h | 9 +++++++--
gi/pygi.h | 4 +++-
6 files changed, 37 insertions(+), 9 deletions(-)
commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 15:37:24 2011 -0400
[gi] revert back to the type.py from master
gi/types.py | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 14:46:29 2011 -0400
[gi] revert pygi-argument.h and move the invoke-ng code to
pygi-marshal.h
gi/pygi-argument.h | 268 +-----------------------------------------
gi/pygi-marshal.h | 336
+++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 337 insertions(+), 267 deletions(-)
commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
Merge: 7332a1b 01596a9
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 13:34:36 2011 -0400
Merge branch 'master' into invoke-rewrite
Conflicts:
gi/Makefile.am
gi/pygi-argument.c
gi/pygi-foreign-cairo.c
gi/pygi-foreign-gvariant.c
gi/pygi-foreign-gvariant.h
gi/pygi-foreign.c
gi/pygi-foreign.h
gi/pygi-private.h
gi/pygi.h
commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 22 13:20:54 2011 -0400
[gi] foreign types now take interface infos instead of type infos
* this is a prep for the invoke-rewrite branch
* when marshalling foreign structs we may not have the type info but
we will always have the interface info to pass
* this simplifies the code because we were simply converting the
type info back to an interface info anyway so there is less
refcounting to keep track of
* also fixes a bug where we were leaking PyNone ref counts
gi/pygi-argument.c | 4 ++--
gi/pygi-foreign-cairo.c | 16 ++++++++--------
gi/pygi-foreign-gvariant.c | 12 ++++++------
gi/pygi-foreign.c | 32 +++++++++++++-------------------
gi/pygi-foreign.h | 8 ++++----
gi/pygi-invoke.c | 6 +++---
gi/pygi.h | 12 ++++++------
7 files changed, 42 insertions(+), 48 deletions(-)
commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Mar 22 15:04:01 2011 +0100
Fix GSchema tests for separate build tree
When using a separate build tree, the compiled GSettings schema will
be in the
build tree, but as the test scripts are only in the source tree they
won't find
the compiled schema. Pass the build dir as environment variable and
prefer it
over test_overrides.py's directory.
tests/Makefile.am | 3 ++-
tests/test_overrides.py | 4 +++-
2 files changed, 5 insertions(+), 2 deletions(-)
commit 7332a1b99775519fdc5500cab6628b713e946a8c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 21 19:03:29 2011 -0400
[gi] start of merge from master
* move some of the modified files that will cause merge conflicts
to their
own, nonconflicting files
* copy the old files out of master
gi/pygi-argument.c | 2101 +++------------------------
gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
gi/pygi-invoke.c | 421 ++----
gi/pygi-marshal.c | 3916
+++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 5389 insertions(+), 2228 deletions(-)
commit 62b49dae97441953452d097cb1751df14302547a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Mar 16 17:34:18 2011 -0400
[gi] marshal raw closures
* before we were able to marshal python callables into methods
that took
GClosures but we had no way to take a GClosure returned from one
method and pass it to another - this enables that usecase
https://bugzilla.gnome.org/show_bug.cgi?id=644757
gi/pygi-argument.c | 17 ++++++++++-------
tests/test_gi.py | 4 ++++
2 files changed, 14 insertions(+), 7 deletions(-)
commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
Author: John Stowers <john.stowers@gmail.com>
Date: Sun Mar 6 23:41:01 2011 +1300
pygi-convert.sh add GObject.xxx and webkit
https://bugzilla.gnome.org/show_bug.cgi?id=644347
pygi-convert.sh | 7 +++++++
1 file changed, 7 insertions(+)
commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
Author: John Stowers <john.stowers@gmail.com>
Date: Sun Mar 6 23:41:30 2011 +1300
pygi-convert.sh remove gobject tests, GObject works now
https://bugzilla.gnome.org/show_bug.cgi?id=644347
pygi-convert.sh | 28 ----------------------------
1 file changed, 28 deletions(-)
commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 11 14:09:02 2011 -0500
[gi-demos] add pickers demo
demos/gtk-demo/demos/pickers.py | 74
+++++++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Mar 10 18:12:50 2011 -0500
[gi-demos] add menu demo
demos/gtk-demo/demos/menus.py | 122
++++++++++++++++++++++++++++++++++++++++++
1 file changed, 122 insertions(+)
commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Mar 9 13:02:50 2011 -0500
[gi-overrides] fix exception block so it works in Python 2.5
gi/overrides/Gio.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Mar 21 13:19:58 2011 +0100
Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
This introduces additional libpython dependencies, which breaks
distributions
which support multiple Python versions, and also causes the python
interpreter
to be in memory twice in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=620215
gi/Makefile.am | 4 +---
glib/Makefile.am | 2 +-
m4/python.m4 | 7 ++-----
tests/Makefile.am | 2 +-
4 files changed, 5 insertions(+), 10 deletions(-)
commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Mar 18 17:06:08 2011 +0100
setup.py: fix user_access_control option
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Mar 16 10:22:35 2011 +0100
[gi] Respect the MessageType for Gtk.MessageDialog
Don't just ignore the type argument, actually pass it on. Thanks
to Tualatrix
Chou for spotting this!
gi/overrides/Gtk.py | 1 +
1 file changed, 1 insertion(+)
commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Mar 15 10:22:39 2011 +0100
[gi] Do not require signature for D-BUS methods without arguments
Calling methods on DBusProxy objects usually requires specifying
the signature
as first argument. However, if the D-BUS method does not take any
arguments,
specifying the empty '()' signature does not give any additional
information,
so allow the caller to just call the proxy method without any
arguments.
Also ensure that passing a non-string signature raises a
comprehensible
exception, instead of crashing deep in the GVariant leaf constructor.
https://bugzilla.gnome.org/show_bug.cgi?id=644260
gi/overrides/Gio.py | 16 +++++++++++++++-
tests/test_gdbus.py | 13 +++++++++++++
2 files changed, 28 insertions(+), 1 deletion(-)
commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
Author: John Stowers <john.stowers@gmail.com>
Date: Sun Mar 6 23:05:33 2011 +1300
[gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
https://bugzilla.gnome.org/show_bug.cgi?id=644343
gi/overrides/Gtk.py | 2 ++
1 file changed, 2 insertions(+)
commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
Author: John Stowers <john.stowers@gmail.com>
Date: Sun Mar 6 17:48:04 2011 +1300
[gi-demos] dont try and run demos that represent directories
demos/gtk-demo/gtk-demo.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 7 18:09:18 2011 -0500
[gi-demos] some python 3 compat fixes
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
demos/gtk-demo/demos/rotatedtext.py | 4 ++--
demos/gtk-demo/gtk-demo.py | 4 ++--
4 files changed, 11 insertions(+), 5 deletions(-)
commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 22 15:07:40 2011 -0500
[gi-demos] add liststore demo
demos/gtk-demo/demos/Tree View/liststore.py | 205
++++++++++++++++++++++++++++
1 file changed, 205 insertions(+)
commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Mar 7 18:08:40 2011 -0500
[gi-demos] catch the correct error class
demos/gtk-demo/demos/images.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
Author: Steve Frécinaux <code@istique.net>
Date: Sun Mar 6 21:18:36 2011 +0100
Do not leak python references when using the gobject.property()
helper.
Since this helper was storing plain references in a long-lived
dict, the
refcount for the instances would never drop to zero, and so they would
never get finalized.
https://bugzilla.gnome.org/show_bug.cgi?id=644039
gobject/propertyhelper.py | 5 ++---
tests/test_properties.py | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+), 3 deletions(-)
commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 4 12:25:49 2011 -0500
handle uchar as bytes, not strings in python 3
* This worked in Python2 because bytes and strings are equivilant
and the macro
PYGLIB_PyString_FromStringAndSize evaluated to a PyString
* In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
a PyUnicode
* PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
and a PyBytes object in Python 3
gobject/pygtype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 4 12:24:35 2011 -0500
[gi-overrides] handle unichar gvalues when setting treemodels
gi/overrides/Gtk.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 6367bffa006e94dc667d7008fccad8d47d8d3646
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 4 11:43:51 2011 -0500
[gi-overrides] special case python 2 keywords that crept in
gi/overrides/Gtk.py | 6 +++++-
tests/test_overrides.py | 8 ++++----
2 files changed, 9 insertions(+), 5 deletions(-)
commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 4 11:10:16 2011 -0500
check for the py3 _thread module in configure.ac if thread is
not found
configure.ac | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 4645af87d3c587f535404867dab56608719e5c7b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Mar 4 00:39:23 2011 -0500
[gi-demos] add iconview demo
demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
+++++++++++++++++++++++
1 file changed, 212 insertions(+)
commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Mar 3 18:39:16 2011 -0500
[gi] wrap the keyword argument in a dict so we don't break Python 2.5
* python < 2.6 does not allow sending in keyword litterals after
sending in
*args. You can only send in **kwds.
gi/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Mar 3 18:30:40 2011 -0500
[gi-demos] add the combobox with string ids section to the demos
demos/gtk-demo/demos/combobox.py | 49
+++++++++++++++++++++++++++++++++++++++-
1 file changed, 48 insertions(+), 1 deletion(-)
commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Mar 3 16:47:51 2011 -0500
[gi-overrides] add an override for Gdk.RGBA
gi/overrides/Gdk.py | 18 ++++++++++++++++++
tests/test_overrides.py | 10 ++++++++++
2 files changed, 28 insertions(+)
commit ee2b63f60f350332ed21927721ed9ddff3a8034e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Mar 3 16:10:17 2011 -0500
[gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
master
demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
commit cd046e4c355706ead5f512b810a2a48317f8c32e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Mar 2 18:13:43 2011 -0500
[gi-demos] add search entry demo
demos/gtk-demo/demos/Entry/search_entry.py | 257
+++++++++++++++++++++++++++++
1 file changed, 257 insertions(+)
commit d5ddaa92e6349c2f52b67317326060973cb69661
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Mar 2 15:37:27 2011 -0500
[gi] wrap map in a list for Python 3 compat
gi/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 1 14:52:00 2011 -0500
[gi-demos] fix up the validation combobox
demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Mar 1 12:31:35 2011 -0500
add overridesdir variable in the .pc file for 3rd party overrides
pygobject-2.0.pc.in | 1 +
1 file changed, 1 insertion(+)
commit 4a6b14a92a687a2311516b2c16c355216b5270a7
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Feb 11 17:14:11 2011 +0100
setup.py: Set bdist_wininst user-access-control property
setup.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit ad3ab659b83cb985730e19a83651da319d4bcb9c
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Mar 2 16:29:00 2011 +0100
Fix uninitialized variable in gi.require_version()
gi/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Mar 1 23:26:07 2011 +0100
Run tests with LC_MESSAGES="C"
Some tests, such as tests/test_gdbus.py check parts of error messages
or other
visible strings. Ensure that these do not get translated in the
test suite.
tests/runtests.py | 2 ++
1 file changed, 2 insertions(+)
commit 0461e05174637ae02f34029b85ba217d5ae48c53
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 28 18:21:43 2011 -0500
[gi-overrides] override Gtk.stock_lookup to not return success
demos/gtk-demo/demos/combobox.py | 2 +-
gi/overrides/Gtk.py | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 28 14:16:00 2011 -0500
update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
branch)
NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 28 14:08:05 2011 -0500
[gi-tests] use Gdk.test_simulate_button instead of emitting event
ourselves
* this function is available specifically so we can test events so
use this
instead of creating our own button press event
tests/test_overrides.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Thu Feb 24 19:30:32 2011 +0100
[gi-tests] tests for EventButton override.
* John (J5) Palmieri - fixed up original patch so that we actually
emit the event instead of just creating a Gdk.ButtonEvent object
https://bugzilla.gnome.org/show_bug.cgi?id=642554
tests/test_overrides.py | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 23 18:43:27 2011 -0500
[gi-overrides] Add event methods to all event union members
https://bugzilla.gnome.org/show_bug.cgi?id=642554
gi/overrides/Gdk.py | 70
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
commit 6e30c69d38fd382414eb820097c297a80be547ac
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 23 14:14:16 2011 -0500
[gi] check to see if object is a member of a union when validating
paramaters
* union members are not subclasses of the union they belong to so
if an
inteface requires you pass a union but you pass one of its members
there will be a type error
* this patch checks to see if the type you are passing is a member
of the
union and passes the checks if it is
* this works in python 3 but in python 2 methods do their own
isinstance
check on the instance parameter (e.g. self) so we need to figure
out how to override that for union methods
(e.g. Gdk.Event.get_state)
https://bugzilla.gnome.org/show_bug.cgi?id=642554
gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
commit 525f21d1365c24488b768955362085bf82512dee
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Feb 16 09:44:12 2011 +0100
Skip interfaces when checking for conflicts in the MRO
https://bugzilla.gnome.org/show_bug.cgi?id=642437
gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
gobject/gobjectmodule.c | 9 +++++++--
tests/test_gi.py | 16 ++++++++++++++++
3 files changed, 63 insertions(+), 2 deletions(-)
commit da212024772a7a0c32f04f3589bfb24d2eb5706f
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Thu Feb 24 18:46:15 2011 +0100
[gi] Remove DyanmicModule.load() to _load() to prevent overriding
GI attrs.
gi/importer.py | 2 +-
gi/module.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Wed Feb 23 12:05:03 2011 +0100
Test case with John's fix for crash with C arrays and a GError is set.
I have added a test case, and made a few fixes to John's patch,
but the
solution is the same his.
Workaround a bug when freeing C array types
* This is a hack and there is really no way around it without
ripping out
the current array handling code which spans between pygi-invoke.c
and
pygi-argument.c and completely rewriting it.
* The is no time before our stable release
* This patch trades a segfault for a leak in the very unusual
case where
an error occures inside an interface that takes one or more C
arrays. Since
we wrap C arrays in GArrays internally but have to unwrap them
to send them
to the introspected C function, there is a period of time where
an error
can occure with the C array in an unknown state (some being true
C arrays
and others still wrapped in a GArray)
* This patch adds a c_arrays_are_wrapped state to signal that it
is safe to
free them. However since c_arrays_are_wrapped can only track
arrays
as a group, not individually, if it is set to FALSE we can
not assume
that every array is a pure C array, so instead we will simply
leak them
to avoid incorrectly freeing one and causing a segfault.
* This issue is fixed in the invoke rewrite branch as it treats
C arrays and
GArrays separately, however that branch is not yet ready to be
merged and
won't be until the next release.
https://bugzilla.gnome.org/show_bug.cgi?id=642708
gi/pygi-invoke.c | 54
++++++++++++++++++++++++++++++++++++++++++++++++++----
tests/test_gi.py | 9 +++++++++
2 files changed, 59 insertions(+), 4 deletions(-)
commit 702a89beca92cab6b0142829b20281b9245f28b8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 23 15:11:59 2011 -0500
[gi-overrides] fix setting rows in treeview to accept None as a value
* as done in PyGTK None indicates the column should not be set
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 18 +++++++++++++-----
2 files changed, 16 insertions(+), 5 deletions(-)
commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Wed Feb 23 14:23:19 2011 +0100
[gi] Add value_name for enum and flags from introspection
"c:identifier" (if attr is available).
gi/gimodule.c | 22 ++++++++++++++++++----
tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 4 deletions(-)
commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Wed Feb 23 11:40:55 2011 +0100
Fix flags with multiple names for the same value.
Flags constructs a dict __flags_values__ and uses it to cache
instances. However some flags in Glib such as G_IO_FLAG_MASK and
G_IO_FLAG_GET_MASK are aliases for the same int value, and will
override each other's place in the dictionary.
The dict length check is not necessary. It only reduces the number
of duplicate instances we keep, because if an instance is not
found in the dict, a new one is created anyway.
gobject/pygflags.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3afbebeee486e14fd3f48552368903eb78f6b10c
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Tue Feb 22 21:37:33 2011 +0100
Don't force loading of DynamicModule until set in sys.modules
This fixes Tomeu's previous commit, which removed lazy loading.
Forcing the loading of a module before it is installed in sys.modules
prevents some overrides from being registered (namely Gtk.main_quit).
https://bugzilla.gnome.org/show_bug.cgi?id=642305
gi/importer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 21 17:20:57 2011 -0500
use GValue support to marshal GtkTreeModel values correctly
* needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
https://bugzilla.gnome.org/show_bug.cgi?id=642921
gi/overrides/Gtk.py | 37 ++++++++++++++++++---
tests/test_overrides.py | 87
+++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 107 insertions(+), 17 deletions(-)
commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 21 16:14:20 2011 -0500
[gi] pass raw GValues instead of trying to marshal them
* Right now GValues are transparent to the user but this leave us no
way to describe fundimental types other than those supported
directly
by python (e.g. int, str, etc)
* If an interface is expecting a uint or other GValue type a user
can now use
the raw GValue interfaces and expect paramaters that take
GValues to
marshal them correctly e.g.:
value = GObject.Value()
value.int(GObject.TYPE_UINT)
value.set_uint(1234)
* The objective here is to not for users to use this API but for
overrides
to be able to utilize them. For instance in the TreeModel API
we can
get the expected type for a column and them create a GValue with
the correct
type so that he underlying python object is marshalled correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=642914
gi/pygi-argument.c | 24 ++++++++++++++++++------
tests/test_gi.py | 9 ++++++++-
2 files changed, 26 insertions(+), 7 deletions(-)
commit b458f6f3424a04f6ceece09d443009372d70544c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Feb 19 19:42:41 2011 -0500
[gi-demos] add icon view edit and drag-and-drop demo
demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
+++++++++++++++++++++++++
1 file changed, 101 insertions(+)
commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Feb 19 17:26:42 2011 -0500
[gi-demos] add info bars demo
demos/gtk-demo/demos/infobars.py | 99
++++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
commit 76758efb6579752237a0dc4d56cf9518de6c6e55
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Feb 16 11:53:18 2011 +0100
Load typelibs at import time, add gi.require_version()
also adds Repository.get_loaded_namespaces()
https://bugzilla.gnome.org/show_bug.cgi?id=642305
gi/__init__.py | 29 ++++++++++++++++++++++++++++-
gi/importer.py | 1 +
gi/module.py | 21 ++++-----------------
gi/pygi-repository.c | 23 +++++++++++++++++++++++
4 files changed, 56 insertions(+), 18 deletions(-)
commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Sat Feb 19 23:11:25 2011 +0100
[gi] Register GType for non-GType enums and flags at runtime.
Note: rebuild of gobject-introspection is required for new tests.
Previously non-GType enums used a separate type implemented in
Python, and non-GType flags had no implementation at all. This
removes the separate type for enums, and registers a new GType at
runtime if there isn't one.
This allows non-GType enums and flags to use the same Python type
as GType enums and flags. This removes duplication of code, and
make both kinds behave identically.
https://bugzilla.gnome.org/show_bug.cgi?id=642607
gi/gimodule.c | 117
+++++++++++++++++++++++++++++++++++++++++++++++++++++
gi/module.py | 24 ++++++-----
gi/pygi-info.c | 15 +++++++
gi/types.py | 16 --------
gobject/pygflags.c | 13 ++++--
tests/test_gi.py | 35 ++++++++++++++++
6 files changed, 191 insertions(+), 29 deletions(-)
commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Feb 8 15:38:21 2011 +0100
[gi] Add Pythonic gdbus method invocation
Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
on a normal
Python object. This will handle the Python object <-> GVariant
conversion, and
optional keyword arguments for flags, timeout, and a result handler
for
asynchronous calls.
Require specifying the input argument signature as the first argument
of each
method call. This ensures that the types of e. g. integers are
always correct,
and avoids having to do expensive D-Bus introspection for each call.
https://bugzilla.gnome.org/show_bug.cgi?id=640181
gi/overrides/Gio.py | 99
++++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gdbus.py | 102
++++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 199 insertions(+), 2 deletions(-)
commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Fri Feb 18 22:48:59 2011 +0100
Skip GError out parameters in Python closure.
Python code should have never have to explicitely return a GError.
Once we are able to marshal exceptions the Python code should
throw an exception instead. Until then, set GError to NULL, and
don't complain if a Python function doesn't return an arg for it.
https://bugzilla.gnome.org/show_bug.cgi?id=642715
gi/pygi-closure.c | 8 ++++++++
1 file changed, 8 insertions(+)
commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Fri Feb 18 10:15:59 2011 +0100
Fix runtests.py to work with Python3 (print function syntax error).
tests/runtests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Feb 17 19:46:49 2011 -0500
[gi-demos] added rotate text demo
* needs some Pango Attr fixes to be 100% done, See FIXME
demos/gtk-demo/demos/rotatedtext.py | 196
++++++++++++++++++++++++++++++++++++
1 file changed, 196 insertions(+)
commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Feb 17 17:25:00 2011 -0500
[gi-demos] add images demo
* needs annotation fix from GdkPixbuf for ImageLoader to work
demos/gtk-demo/demos/images.py | 311
+++++++++++++++++++++++++++++++++++++++++
1 file changed, 311 insertions(+)
commit 13b06170b89b3468e6255be32af4833ffc675c9d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Feb 17 14:48:24 2011 -0500
[gi-demos] add pixbuf demo
demos/gtk-demo/demos/pixbuf.py | 183
+++++++++++++++++++++++++++++++++++++++++
1 file changed, 183 insertions(+)
commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Feb 17 14:47:12 2011 -0500
[gi-demos] remove fixmes from print demo, fixed in pango
demos/gtk-demo/demos/printing.py | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
commit 9b13f49356da7d71c69b82da2a59d92f456a6913
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 16 19:39:30 2011 -0500
[gi-demos] add printing demo
* needs some annotations for pango before it is 100% useful
demos/gtk-demo/demos/printing.py | 177
+++++++++++++++++++++++++++++++++++++++
1 file changed, 177 insertions(+)
commit 6025b62ee662af347e48b6752e6d5be74b4a8215
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 16 17:52:38 2011 -0500
[gi-overrides] add cursor overrides
https://bugzilla.gnome.org/show_bug.cgi?id=635947
gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 23 +++++++++++++++++++++++
2 files changed, 64 insertions(+)
commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 16 16:18:24 2011 -0500
[gi-demos] add the links demo
demos/gtk-demo/demos/links.py | 74
+++++++++++++++++++++++++++++++++++++++++++
1 file changed, 74 insertions(+)
commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 16 15:48:40 2011 -0500
[gi-demos] add expander demo
demos/gtk-demo/demos/expander.py | 60
++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
commit 76cdb13ab872f91f8384d26b0f2932087a746117
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 16 15:14:35 2011 -0500
[gi-overrides] use pop instead of del and add extra tests for
Gtk.Table kwargs
gi/overrides/Gtk.py | 6 ++----
tests/test_overrides.py | 8 ++++++++
2 files changed, 10 insertions(+), 4 deletions(-)
commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Tue Feb 15 20:07:42 2011 +0100
[tests] Separate processes for GI and static binding tests.
Importing and using both static gobject bindings and
introspection GObject bindings in the same process can cause
conflicts with types which otherwise wouldn't be there.
This patch changes "make check" to call runtests.py twice -- once
for each set of tests.
In the case of a test failure, runtests.py now sets the exit code
so that make does not continue. Otherwise you might miss the
failures from the first batch of tests in the scrollback.
tests/Makefile.am | 19 +++++++++++--------
tests/runtests.py | 4 +++-
2 files changed, 14 insertions(+), 9 deletions(-)
commit e0896b45f60f37097ec521f1bc38778383b78dd8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 15 14:47:10 2011 -0500
[gi-demos] add dialogs demo
demos/gtk-demo/demos/dialogs.py | 153
++++++++++++++++++++++++++++++++++++++++
1 file changed, 153 insertions(+)
commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 15 14:46:41 2011 -0500
[gi-overrides] fix typo in GtkTable constructor
gi/overrides/Gtk.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 9c277e1782c5a9d672d91fabf5289c5415891682
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 15 13:26:38 2011 -0500
[gi-demos] keep popup menu from destroying itself by holding a ref
in app class
demos/gtk-demo/demos/clipboard.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 15 13:25:13 2011 -0500
[gi-overrides] add a Gtk.Menu override for the popup method
gi/overrides/Gtk.py | 7 +++++++
1 file changed, 7 insertions(+)
commit ad93386ba9f73ef4c3826544b3868cf03c01225e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 15 13:24:33 2011 -0500
[gi-demos] fix the about dialog in appwindow demo
demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
commit d0c45c80974f05b6adfd3bb01d785be268a53a98
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 15 11:21:13 2011 -0500
[gi-demos] fix clipboard demo so DnD works
* menu popups don't work because the API takes a callback without
a destroy
notify
demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Feb 15 10:18:53 2011 -0500
[gi-demos] fix clipboard demo to reflect new API
demos/gtk-demo/demos/clipboard.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit aa006cad6990eff0cbb68fa9550e428f2bc96473
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 14 18:17:20 2011 -0500
[gi-demo] Fix color dialog demo to run with new draw, style and
color apis
demos/gtk-demo/demos/colorselector.py | 44
++++++++++++++---------------------
1 file changed, 17 insertions(+), 27 deletions(-)
commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 14 17:58:25 2011 -0500
[gi-demos] fix most of the combobox app
* Still having some issues with filtering the ComboBoxText widget
demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
commit 3606eb20ad1651af621bf1aa429ec102082565eb
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Mon Feb 14 19:36:27 2011 +0100
Use PyGI type conversion (to fix foreign types) for signal callbacks.
First attempt at patch to fix foreign types in signal callbacks.
Tests are not implemented yet.
https://bugzilla.gnome.org/show_bug.cgi?id=637601
gi/Makefile.am | 2 +
gi/gimodule.c | 1 +
gi/pygi-argument.c | 91 ++++++++++++++++++
gi/pygi-argument.h | 2 +
gi/pygi-private.h | 1 +
gi/pygi-signal-closure.c | 245
+++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-signal-closure.h | 46 +++++++++
gi/pygi.h | 28 ++++++
gobject/pygobject.c | 24 ++++-
9 files changed, 436 insertions(+), 4 deletions(-)
commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 14 16:47:03 2011 -0500
[gi-demos] fix drawingarea app to use the new draw api
demos/gtk-demo/demos/drawingarea.py | 144
+++++++++++++-----------------------
1 file changed, 50 insertions(+), 94 deletions(-)
commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 14 16:43:35 2011 -0500
[gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
* note this is the introspected gobject-cairo boxed type not the
static cairo
bindings
* we alias this so people do not get confused
gi/overrides/Gdk.py | 5 +++++
1 file changed, 5 insertions(+)
commit d491c369e049ab726f09002af0462391d5c2f3ec
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 14 15:07:11 2011 -0500
[gi-overrides] let user set the proper property names in Gtk.Table
* the old override added a columns and rows parameters to the Table
constuctor
to be in sync with PyGtk.
* The GTK properties are n_columns and n_rows
* support both
gi/overrides/Gtk.py | 8 ++++++++
1 file changed, 8 insertions(+)
commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 14 15:06:38 2011 -0500
[gi-demos] get appwindow demo working again
demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
1 file changed, 4 insertions(+), 20 deletions(-)
commit 015185f502c498c21cb108d3bb288c5b6dbf202f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Feb 14 15:05:44 2011 -0500
[gi-demos] fixed use of tree_iter_get
demos/gtk-demo/gtk-demo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0c20977e4598e5447dd07c069e91226efacb1160
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Fri Feb 11 22:02:03 2011 +0100
Remove last GIO-related bits
https://bugzilla.gnome.org/show_bug.cgi?id=638899
PKG-INFO.in | 2 +-
README | 3 +-
configure.ac | 3 --
examples/gio/directory-async.py | 33 ------------------
examples/gio/downloader.py | 77
-----------------------------------------
pygobject.doap | 2 +-
6 files changed, 3 insertions(+), 117 deletions(-)
commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Fri Feb 11 18:38:27 2011 +0100
Remove GIO documentation
https://bugzilla.gnome.org/show_bug.cgi?id=638899
docs/Makefile.am | 82 +-
docs/reference/pygio-appinfo.xml | 894 -----
docs/reference/pygio-applaunchcontext.xml | 194 --
docs/reference/pygio-asyncresult.xml | 117 -
docs/reference/pygio-bufferedinputstream.xml | 461 ---
docs/reference/pygio-bufferedoutputstream.xml | 275 --
docs/reference/pygio-cancellable.xml | 290 --
docs/reference/pygio-classes.xml | 47 -
docs/reference/pygio-constants.xml | 1540 ---------
docs/reference/pygio-datainputstream.xml | 799 -----
docs/reference/pygio-dataoutputstream.xml | 504 ---
docs/reference/pygio-drive.xml | 546 ---
docs/reference/pygio-emblem.xml | 232 --
docs/reference/pygio-emblemedicon.xml | 160 -
docs/reference/pygio-file.xml | 4534
-------------------------
docs/reference/pygio-fileattributeinfo.xml | 73 -
docs/reference/pygio-fileenumerator.xml | 488 ---
docs/reference/pygio-fileicon.xml | 109 -
docs/reference/pygio-fileinfo.xml | 346 --
docs/reference/pygio-fileinputstream.xml | 214 --
docs/reference/pygio-filemonitor.xml | 128 -
docs/reference/pygio-fileoutputstream.xml | 257 --
docs/reference/pygio-filterinputstream.xml | 152 -
docs/reference/pygio-filteroutputstream.xml | 152 -
docs/reference/pygio-functions.xml | 395 ---
docs/reference/pygio-icon.xml | 217 --
docs/reference/pygio-inputstream.xml | 730 ----
docs/reference/pygio-loadableicon.xml | 198 --
docs/reference/pygio-memoryinputstream.xml | 151 -
docs/reference/pygio-memoryoutputstream.xml | 175 -
docs/reference/pygio-mount.xml | 962 ------
docs/reference/pygio-mountoperation.xml | 726 ----
docs/reference/pygio-outputstream.xml | 140 -
docs/reference/pygio-seekable.xml | 231 --
docs/reference/pygio-simpleasyncresult.xml | 317 --
docs/reference/pygio-themedicon.xml | 204 --
docs/reference/pygio-unixinputstream.xml | 202 --
docs/reference/pygio-unixoutputstream.xml | 202 --
docs/reference/pygio-volume.xml | 718 ----
docs/reference/pygio-volumemonitor.xml | 844 -----
docs/reference/pygiounix-classes.xml | 13 -
docs/reference/pygobject-ref.xml | 2 -
42 files changed, 1 insertion(+), 19020 deletions(-)
commit abdebc7f6515f9658812c0355d8ad0892e5371e4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Feb 11 11:05:04 2011 -0500
bump version to reflect the master branch moving towards pygobject 3.0
* added NEWS file from branch pygobject-2-28
* bump to 2.90.1
* this branch will drop support for the static binding
* use the pygobject-2-28 branch for static binding fixes
NEWS | 289
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.ac | 4 +-
2 files changed, 291 insertions(+), 2 deletions(-)
commit 16140237aa45b4f188923da9f95b9d2af971011b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Feb 10 16:46:08 2011 -0500
fix build to correctly use python-config
autogen.sh | 3 +++
configure.ac | 6 ------
m4/python.m4 | 9 +++++----
tests/runtests.py | 1 +
4 files changed, 9 insertions(+), 10 deletions(-)
commit c2079f415638ef892b1e51f25eaafa3e1621667f
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Thu Feb 10 22:26:00 2011 +0100
Add missing libraries to link against
glib/Makefile.am | 2 +-
gobject/Makefile.am | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
Author: Steve Frécinaux <code@istique.net>
Date: Wed Jan 19 15:00:56 2011 +0100
Make runtests.py able to run command-line provided test files
With this patch we are now able to run ./runtests.py <somefile>, which
is more friendly than defining an environment variable to run some
specific tests.
https://bugzilla.gnome.org/show_bug.cgi?id=639948
tests/runtests.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit 14c4cf8e6edae893538680964380d543bde4a14d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Feb 9 11:34:59 2011 +0100
Run test suite under dbus-launch
When available, run the test suite in dbus-launch, so that the
GDBus tests
succeed even when building this in an environment without a running
session
D-BUS (such as distribution package builds).
tests/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Feb 8 15:46:36 2011 +0100
Fix test_gdbus.py to be Python3 friendly
- TestCase.assert_() has been deprecated by assertTrue().
- Exceptions don't have a message attribute any more, use str(e)
tests/test_gdbus.py | 34 +++++++++++++++-------------------
1 file changed, 15 insertions(+), 19 deletions(-)
commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Sat Jan 29 12:20:50 2011 +0100
[gi] Provide comfortable GSettings API
Make Gio.Settings behave like a dictionary, with transparent
conversion from/to
GVariants. Also provide a more comfortable constructor.
https://bugzilla.gnome.org/show_bug.cgi?id=640838
gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
tests/org.gnome.test.gschema.xml | 9 +++++
tests/test_overrides.py | 73
++++++++++++++++++++++++++++++++--------
3 files changed, 122 insertions(+), 14 deletions(-)
commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Fri Feb 4 16:36:07 2011 +0100
Fix vfunc search bug when using GInterfaces and a do_* method.
If a class inherits from a GInterface, as well as implements a do_*
method (which is not in a super class), all the base interfaces
will be searched for an __info__ attribute. GInterface doesn't
have one, causing an error on class creation.
https://bugzilla.gnome.org/show_bug.cgi?id=641493
gi/types.py | 4 +++-
tests/test_gi.py | 8 ++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Thu Feb 3 15:31:42 2011 +0100
[GI] Add tests for Gtk.Widget.drag_* methods.
Previously all the drag_* methods were accessible as Gtk.drag_*.
Now that the (method) attribute has been included for these
methods in Gtk+, this test checks that they are included as class
methods when using pygobject introspection.
https://bugzilla.gnome.org/show_bug.cgi?id=639945
tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
commit d57500537014b3da624be33b40401ba289fa22b8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Feb 3 09:02:16 2011 -0500
[gi] make caller allocates work again
gi/pygi-cache.c | 18 +++---------------
gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
2 files changed, 37 insertions(+), 18 deletions(-)
commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Feb 2 19:27:40 2011 -0500
[gi] fix container object reffing
gi/pygi-argument.c | 7 +++----
gi/pygi-cache.c | 12 ++++--------
2 files changed, 7 insertions(+), 12 deletions(-)
commit 09acaff29dfaabc77477cffca2c7137f68991e7f
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Feb 2 21:00:48 2011 +0100
[python 3] use the right syntaxis to raise exceptions
codegen/argtypes.py | 8 ++++----
codegen/definitions.py | 14 +++++++-------
gi/overrides/Gtk.py | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
commit 36094e5982d3e05d5662843b6d401f0974f5235f
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Feb 2 20:50:12 2011 +0100
[gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
tests/testhelpermodule.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit c913c1789296310c2cf27554ce719d7f6e9c94cd
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Feb 2 20:37:21 2011 +0100
[gi] return PYGLIB_MODULE_ERROR_RETURN on error
This is to avoid some warnings when building with python 3
gi/gimodule.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
Author: Steve Frécinaux <code@istique.net>
Date: Sat Jan 29 00:16:50 2011 +0100
Fix wrong refcount when calling introspected widget constructors
Introspected widget constructors, like Gtk.Button.new(), can return
objects with a floating reference, which was then reffed by pygobject,
resulting in two references, despite the object is not owned by
anyone.
This patch uses ref_sink() when pygobject takes its own reference, to
avoid adding that extra reference. Hence we now claim ownership on
objects returned by constructors with transfer=none (which is the case
for nearly all the widget constructors, despite the floating ref).
https://bugzilla.gnome.org/show_bug.cgi?id=640868
gobject/pygobject.c | 4 +++-
tests/test_everything.py | 9 ++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
Author: Simon Schampijer <simon@laptop.org>
Date: Wed Jan 19 16:19:46 2011 +0100
Gdk.Window: Map the standard constructor to the *new* constructor
Gdk.Window had to be made abstract
(see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
this override allows using the standard constructor
This commit adds as well a testcase.
https://bugzilla.gnome.org/show_bug.cgi?id=639936
gi/overrides/Gdk.py | 6 ++++++
tests/test_overrides.py | 8 ++++++++
2 files changed, 14 insertions(+)
commit 4a67f45880433905de33632fe0c32a13b44c0b33
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jan 31 16:51:37 2011 -0500
[gi] handle hash being NULL
gi/pygi-argument.c | 6 ++++++
1 file changed, 6 insertions(+)
commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jan 31 16:50:52 2011 -0500
[gi] handle the situation where an aux arg comes before its parent
gi/pygi-cache.c | 70
++++++++++++++++++++++++++++++++++++++++----------------
gi/pygi-invoke.c | 2 +-
2 files changed, 51 insertions(+), 21 deletions(-)
commit 858669f92c9907dd70b4966d6a8521ed122225be
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Jan 31 17:38:52 2011 +0100
Ship tests/org.gnome.test.gschema.xml in dist tarballs
tests/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 77d76df59606e470808085e977fb199cc76e8251
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jan 30 18:21:24 2011 -0500
[gi] allow caching and marshalling of ghash out
gi/pygi-argument.c | 155
+++++++++++++++++++++++++++++++++++++++++++++++++----
gi/pygi-cache.c | 27 ++++++----
2 files changed, 162 insertions(+), 20 deletions(-)
commit bd66af67f248a3ca90d2fa2626605263c2392e16
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jan 30 17:06:44 2011 -0500
[gi] whitespace fixes
gi/pygi-cache.c | 60
++++++++++++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jan 30 17:04:13 2011 -0500
[gi] added ugly aux arg counters
* we need to simplify the ffi invoke so we can simply reference args
at their position in the C parameter list
* this works for now but is fragile if new aux values are added in
the future
gi/pygi-argument.c | 12 ++++++++--
gi/pygi-cache.c | 66
+++++++++++++++++++++++++++++++++++++-----------------
gi/pygi-cache.h | 2 ++
gi/pygi-invoke.c | 12 +++++++---
4 files changed, 66 insertions(+), 26 deletions(-)
commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jan 30 11:30:54 2011 -0500
[gi] make inout marshalling work
* refactor cache generation so we can create caches and then fill
in their
values based on if they are in, out or inout
* in invoke we order the pointers based on their direction
gi/pygi-cache.c | 1445
++++++++++++++++++++++++++----------------------------
gi/pygi-invoke.c | 19 +-
2 files changed, 711 insertions(+), 753 deletions(-)
commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jan 29 13:49:36 2011 -0500
[gi] marshal arrays out
gi/pygi-argument.c | 101
+++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 99 insertions(+), 2 deletions(-)
commit e62e7062d5cfd782eac64852f681c63e2776b8d4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jan 29 13:48:23 2011 -0500
[gi] fix sequence caching to support out
gi/pygi-cache.c | 111
++++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 87 insertions(+), 24 deletions(-)
commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Jan 28 17:14:19 2011 +0100
[gi] Add GSettings tests
Ryan Lortie proposed an override for more convenient GSettings access,
so let's
first make sure that the canonical GLib API works.
tests/Makefile.am | 7 +++++--
tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
3 files changed, 52 insertions(+), 2 deletions(-)
commit 488478a83640d50baee963337fcc870fec76b784
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Jan 28 07:20:26 2011 +0100
[gi] Provide GtkTextBuffer.insert_with_tags_by_name()
Provide an actual insert_with_tags_by_name() instead of overloading
insert_with_tags() to handle both types. This keeps the overrides
consistent
with the actual GTK API.
gi/overrides/Gtk.py | 19 ++++++++++++++-----
tests/test_overrides.py | 4 ++--
2 files changed, 16 insertions(+), 7 deletions(-)
commit dace1a553793fb7fb054b60760f02c9e5cf00b38
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 27 13:37:18 2011 +0100
[gi] Support tag names in GtkTextBuffer.insert_with_tags()
Neither insert_with_tags() nor insert_with_tags_by_name() are
introspectable
due to using varargs. As both are useful, support both cases in
the override.
gi/overrides/Gtk.py | 5 +++++
tests/test_overrides.py | 9 +++++++++
2 files changed, 14 insertions(+)
commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Thu Jan 27 12:23:18 2011 +0100
Add MAINTAINERCLEANFILES
This var behaves like .gitignore and allows us to skip some specific
files.
Makefile.am | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
commit 8a98d26981ce68809a21c64cac4962e58c927905
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Thu Jan 27 12:15:30 2011 +0100
Remove .gitignore files and use git.mk
git.mk is a script maintained in pango. From time to time we must
check if it was updated and update it here.
.gitignore | 46 -----------
Makefile.am | 2 +
codegen/.gitignore | 2 -
codegen/Makefile.am | 2 +
docs/.gitignore | 7 --
docs/Makefile.am | 2 +
examples/Makefile.am | 2 +
gi/.gitignore | 40 ----------
gi/Makefile.am | 2 +
gi/overrides/Makefile.am | 2 +
gi/repository/Makefile.am | 2 +
gi/tests/Makefile.am | 2 +
git.mk | 200
++++++++++++++++++++++++++++++++++++++++++++++
glib/Makefile.am | 2 +
gobject/.gitignore | 3 -
gobject/Makefile.am | 2 +
tests/.gitignore | 2 -
tests/Makefile.am | 2 +
18 files changed, 222 insertions(+), 100 deletions(-)
commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 27 12:04:19 2011 +0100
pygi-convert.sh: Convert Pango.TabAlign.*
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 27 12:02:39 2011 +0100
pygi-convert.sh: Drop window -> get_window() conversion
It is doing more harm than good for projects which use things like
self.window.
pygi-convert.sh | 1 -
1 file changed, 1 deletion(-)
commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 27 11:58:26 2011 +0100
pygi-convert.sh: Don't convert self.window assignments
pygi-convert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 975341a26772966d4afc87a88a6a566d61237fa0
Author: Steve Frécinaux <code@istique.net>
Date: Fri Jan 21 18:41:54 2011 +0100
Fix leaked python reference in python-defined subclasses
https://bugzilla.gnome.org/show_bug.cgi?id=640184
gobject/gobjectmodule.c | 1 +
tests/test_gobject.py | 4 ++++
2 files changed, 5 insertions(+)
commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
Author: Steve Frécinaux <code@istique.net>
Date: Fri Jan 21 15:54:43 2011 +0100
Add some tests for the number of python refs held at creation time
https://bugzilla.gnome.org/show_bug.cgi?id=640184
tests/test_gobject.py | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
Author: Steve Frécinaux <code@istique.net>
Date: Fri Jan 21 17:24:49 2011 +0100
Factor out parameter marshalling from construction functions.
https://bugzilla.gnome.org/show_bug.cgi?id=640197
gobject/gobjectmodule.c | 35 ++--------------------
gobject/pygobject-private.h | 5 ++++
gobject/pygobject.c | 71
+++++++++++++++++++++++++++------------------
3 files changed, 50 insertions(+), 61 deletions(-)
commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 26 15:34:24 2011 -0500
[gi] in python 3 an array of uint8 can be bytes but not string
tests/test_gi.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 843553ea958eddec185bb660851a310dc050a14b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 26 15:30:06 2011 -0500
[gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
gi/overrides/Gio.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 26 15:17:03 2011 -0500
[gi] python 3 fixes
Patches need to work in Python 3 - here are some of the issues I
fixed up.
Patch submitters should keep this in mind. When I note to only
use something
in tests it means that there is a compat module that is only available
to the
tests. Actuall code should either add the workaround to the top
of their
module or try not to have a distinction between things such as
unicode and
longs which no longer exist in Python 3
* use range instead of xrange - loss of performance in Python 2 but
Python 3 i
treats range similarly to python 2's xrange
* use dict.items() instead of dict.iteritems() - same as the xrange
issue
* callable does not exist in 3.x, use hasattr(obj, '__call__') or
if sys.version_info > (3, 0):
def callable(obj):
return hasattr(obj, '__call__')
* using unicode in tests is tricky, you can't use u'' even in
a versioned
conditional as python3's parser chokes on it. Do this in tests
(and only i
in tests):
from compathelper import _unicode
unicode_string = _unicode('this is a unicode string')
* exception caching changed in 2.7, instead of except Exception,
e we now use
except Exception as e. Do this to be compatible with older
versions:
except Exception:
etype, e = sys.exc_info()[:2]
* Unbound methods with an im_func attribute no longer exits in 3.x.
Unbound methods are now just functions so class.method in 3.x is
equivalent to class.method.im_func in 2.x. If you have to go this
low level do this:
func = class1.method
if sys.version_info < (3,0):
func = func.im_func
* all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
only in tests) do this:
from compathelper import _long
l = _long(42)
gi/overrides/GLib.py | 16 ++++++++--------
gi/types.py | 5 ++++-
tests/compathelper.py | 19 +++++++++++++++++++
tests/test_gdbus.py | 12 ++++++++----
tests/test_gi.py | 19 ++++++++++++-------
tests/test_overrides.py | 8 +++++---
6 files changed, 56 insertions(+), 23 deletions(-)
commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 26 14:00:08 2011 -0500
[gi] fix try/except blocks using depricated raise format
gi/overrides/GLib.py | 4 ++--
gi/overrides/Gdk.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 26 19:03:48 2011 +0100
[gi] Add docstring to GLib.Variant constructor
gi/overrides/GLib.py | 11 +++++++++++
1 file changed, 11 insertions(+)
commit 963cd52fec26f7a4fb34414f8ac6662932ede322
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 26 18:45:38 2011 +0100
[gi] update gdbus test cases for previous GVariant change
tests/test_gdbus.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 26 18:39:17 2011 +0100
[gi] Accept only a single object in GLib.Variant constructor
We previously allowed flat arguments for tuple signatures, e. g.
GLib.Variant('(ii)', 1, 2)
However, that's not how GVariant is supposed to work. Remove the
special case
to handle flat argument lists, and only accept a single value, i. e.
GLib.Variant('(ii)', (1, 2))
Note that this breaks the current API, but as it is not used widely
yet, let's
better fix it now.
Thanks to Ryan Lortie for pointing this out!
gi/overrides/GLib.py | 25 ++++++++++---------------
tests/test_overrides.py | 32 +++++++++++++-------------------
2 files changed, 23 insertions(+), 34 deletions(-)
commit b15e8e2c0c933d0f827a70280faf875ac383d81b
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Wed Jan 26 00:40:49 2011 +0100
Speed up _setup_native_vfuncs()
This changes _setup_native_vfuncs() to only install native
vfunc wrappers from the current class on the current class.
Native vfuncs will not be propogated up or down the class
hierarchy as this is unnecessary and wastes CPU and memory.
Since the normal process in python to retrieve a method or
attribute recurses to the base classes if an attribute is not
found in the subclass, there is no need to setup all base class
virtual functions on a subclass.
This patch removes the recursion in _setup_native_vfuncs()
and lets Python find them in the base classes like a normal
Python class would work. This significantly increases the speed
of any class which is or inherits from a C class which includes
virtual methods.
https://bugzilla.gnome.org/show_bug.cgi?id=640629
gi/types.py | 26 +++++++++++++-------------
tests/test_gi.py | 13 +++++++++++++
2 files changed, 26 insertions(+), 13 deletions(-)
commit 569d42ac2f50fb706ef289ff631db743483f40ee
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Thu Jan 20 16:26:18 2011 +0100
Speed up class creation: rewrite _setup_vfuncs() to be much more
efficient.
This patch rewrites the _setup_vfuncs() method to remove recursion and
make the running time linear in the number of virtual functions to
hook up
(ie. methods starting with "do_") instead of linear in the number of
virtual functions in the base class which could possibly be
overridden.
Since most classes do not override all of the virtual functions in the
base class (and many override none), this runs much faster.
It is possible to not recurse on all base classes because
non-interface
base classes will have the virtual function installed as an attribute.
Thus getattr() can be called, which recurses to the base classes much
faster than a custom implementation in Python. If the method cannot be
found with getattr(), all interface bases classes are searched
manually.
The function is_function_in_classes() has been deleted. Because of the
above changes, it is not used anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=640073
gi/types.py | 104
++++++++++++++++++++++++++++++++++---------------------
tests/test_gi.py | 13 +++++++
2 files changed, 77 insertions(+), 40 deletions(-)
commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 24 19:23:19 2011 +0100
pygi-convert.sh: Convert gtk.UI_MANAGER_*
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Fri Jan 21 18:41:54 2011 +0100
pygi-convert.sh: Convert gdk.GRAB_*
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Fri Jan 21 16:45:07 2011 +0100
[gi] set the gtype GValue correctly
gi/pygi-property.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Fri Jan 21 16:20:23 2011 +0100
[gi] use the right argument type for callback
gi/pygi-foreign-cairo.c | 8 ++++----
gi/pygi-foreign-gvariant.c | 4 ++--
gi/pygi-foreign-gvariant.h | 2 +-
gi/pygi-foreign.c | 2 +-
gi/pygi.h | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jan 21 09:23:54 2011 -0500
[gi] marshal out flags and enum
gi/pygi-argument.c | 14 +++++++++-----
gi/pygi-cache.c | 24 ++++++++++++------------
2 files changed, 21 insertions(+), 17 deletions(-)
commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jan 21 08:18:37 2011 -0500
[gi] marshal unions
gi/pygi-cache.c | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
commit a060287d1a6d190acb9d344f08fd5662e3296da5
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Jan 21 11:00:27 2011 +0100
[gi] Add test cases for GDBus client operations
tests/Makefile.am | 1 +
tests/test_gdbus.py | 94
+++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 95 insertions(+)
commit e7699d9af41f8c374326b8a4ec0939ef1426e386
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jan 21 04:28:15 2011 -0500
[gi] error out if the constructor returns NULL
gi/pygi-invoke.c | 7 +++++++
1 file changed, 7 insertions(+)
commit 58ff2b2c38c1004861083ca88633be76767229f0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jan 21 04:26:45 2011 -0500
[gi] throw error for caller allocates until we can write code to
support it
gi/pygi-cache.c | 11 +++++++++++
1 file changed, 11 insertions(+)
commit 5eb779439daa8bf1e86df689377dc10ef1430eab
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jan 21 04:26:11 2011 -0500
[gi] support struct out
gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
gi/pygi-cache.c | 15 ++-------------
2 files changed, 28 insertions(+), 17 deletions(-)
commit 3133dc595adf44279397d30712c0f8595f0e1acc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jan 21 04:22:06 2011 -0500
[gi] move to using type_info and interface_info instead of arg_info
* only arguments have arg_infos, not return types and instances so
type_info is much better to pass. In fact most API that took an
arg_info simply converted it to a type_info
* In the case of instances for methods we don't even have a type_info.
Since all instances are interfaces, we also attach the
interface_info
to the interface cache
gi/pygi-argument.c | 20 ++++----------------
gi/pygi-cache.c | 43
++++++++++++++++++++++++++++++++-----------
gi/pygi-cache.h | 4 +++-
gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
gi/pygi-foreign-gvariant.c | 11 +++++------
gi/pygi-foreign-gvariant.h | 10 +++++-----
gi/pygi-foreign.c | 21 +++++++++------------
gi/pygi-foreign.h | 6 +++---
gi/pygi.h | 8 ++++----
9 files changed, 77 insertions(+), 70 deletions(-)
commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Jan 21 09:54:14 2011 +0100
[gi] Add Variant construction/unpack support for boxed Variants
Construction uses a GVariantBuilder for now, as the new_variant()
constructor
currently does not work (see
https://bugzilla.gnome.org/show_bug.cgi?id=639952)
gi/overrides/GLib.py | 18 +++++++++++++++++-
tests/test_overrides.py | 26 ++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 1 deletion(-)
commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
Merge: bc29600 bd002c7
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Fri Jan 21 09:33:16 2011 +0100
Merge branch 'windows-setup-fixes'
commit bc29600a2a04c972ceab7ef8d3292e8633977591
Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
Date: Thu Jan 20 19:48:23 2011 +0100
pygi-convert.sh: GdkPixbuf methods
GNOME bug #639880
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit d1b0fa501cc431baa530d96fb50f4c35590890ac
Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
Date: Thu Jan 20 19:45:01 2011 +0100
pygi-convert.sh: Gdk.COLORSPACE_RGB
GNOME bug #639880
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 19 11:41:11 2011 +0100
[gi] Support nested objects and empty sequences in GLib.Variant
building
The GVariant constructor (in the overrides) previously did not
support empty
arrays/dictionaries or nested structures. Rewrite the VariantCreator
class to
be fully recursive and determine the element types of
arrays/dictionaries.
This now also allows you to use actual tuples as input values for
GVariant
tuple types. Taking values from the flat argument list is still
supported for
convenience, though.
https://bugzilla.gnome.org/show_bug.cgi?id=639939
gi/overrides/GLib.py | 229
++++++++++++++++++++++++++----------------------
tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
2 files changed, 273 insertions(+), 115 deletions(-)
commit ac095f5435f106e175fa3297cb273e63c85d2809
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jan 20 15:55:45 2011 +0100
Uncomment test_gi.TestInterfaceClash
tests/test_gi.py | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
commit 1239f3709ba257c404dda72b7067b77b19c240fa
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jan 20 09:05:02 2011 -0500
[gi] add support for enum and flags
gi/pygi-argument.c | 121
+++++++++++++++++++++++++++++++++++++++++------------
gi/pygi-cache.c | 30 ++++++-------
2 files changed, 111 insertions(+), 40 deletions(-)
commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
Author: Steve Frécinaux <code@istique.net>
Date: Thu Jan 20 14:14:15 2011 +0100
Fix reference leaks for GInitiallyUnowned objects
References were leaked for GInitiallyUnowned objects which got their
wrappers created several times, because someone else holds reference
on it and it got out of python scope at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=639949
gobject/gobjectmodule.c | 2 ++
gobject/pygobject.c | 14 +++++------
tests/test-floating.c | 36 +++++++++++++++++++++++++++
tests/test-floating.h | 21 ++++++++++++++++
tests/test_gobject.py | 63
++++++++++++++++++++++++++++++++++++++++++++++++
tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
6 files changed, 179 insertions(+), 7 deletions(-)
commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
Author: Steve Frécinaux <code@istique.net>
Date: Wed Jan 19 16:57:57 2011 +0100
Add tests for refcount of a GObject owned by a library
When the object is constructed, its refcount is 2 because the library
refs it once. It should remain around until we ask the library to
release its reference.
https://bugzilla.gnome.org/show_bug.cgi?id=639949
tests/test-floating.c | 30 +++++++++++++++++++++++
tests/test-floating.h | 20 ++++++++++++++++
tests/test_gobject.py | 62
++++++++++++++++++++++++++++++++++++++++++++++++
tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
4 files changed, 163 insertions(+)
commit b6737b91938d527872eff1d645a205cacf94e15d
Author: Steve Frécinaux <code@istique.net>
Date: Wed Jan 19 14:52:41 2011 +0100
Add a test to check for regular object reference count
https://bugzilla.gnome.org/show_bug.cgi?id=639949
tests/test_gobject.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 20 14:15:52 2011 +0100
[gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
GTK master now landed a lot of annotation fixes which also correctly
marks the
array length argument of
Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
drop the explicit array length argument from the call in the override.
gi/overrides/Gtk.py | 2 --
1 file changed, 2 deletions(-)
commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
Author: Steve Frécinaux <code@istique.net>
Date: Wed Jan 19 18:04:10 2011 +0100
Fix a typo in a private symbol name.
gobject/gobjectmodule.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 20 11:49:08 2011 +0100
pygi-convert.sh: Convert glib.source_remove()
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 20 11:42:34 2011 +0100
Fix typo in previous commit to actually convert glib.GError
pygi-convert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b238cb614338f46e6feb7935cca0a55c7a929418
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Thu Jan 20 11:40:14 2011 +0100
pygi-convert.sh: Move some glib bits which are better handled
by gobject
pygi-convert.sh | 3 +++
1 file changed, 3 insertions(+)
commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Wed Jan 19 12:00:02 2011 +0100
Modify override for Gtk.Adjustment to allow position or keyword
arguments in __init__().
Previously passing no arguments was not working, because the default
value for each parameter was None, and GObject.__init__() refuses to
allow None for integer properties. This patch does not pass None up
to GObject.__init__. Instead it does not pass the parameter at all,
and uses the class's default values.
https://bugzilla.gnome.org/show_bug.cgi?id=639934
gi/overrides/Gtk.py | 14 ++++++++++++--
tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
2 files changed, 39 insertions(+), 9 deletions(-)
commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 19 22:52:51 2011 +0100
[gi] Fix small typo in previous commit
The GVariant signature of the self test had a trailing 'i'. The
current
GVariant builder doesn't mind, but the new implementation proposed
in bug
639939 does.
tests/test_overrides.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 19 20:18:19 2011 +0100
[gi] Add pythonic iterator and indexing for string GVariants
This extends commit b1a98083c to also work for strings.
gi/overrides/GLib.py | 8 +++++++-
tests/test_overrides.py | 13 +++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 14:08:03 2011 -0500
[gi] return NULL if out_marshaller fails
gi/pygi-invoke.c | 5 +++++
1 file changed, 5 insertions(+)
commit 5b1db41d60204c8021f47f43b85dac126c389c8d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 13:57:54 2011 -0500
[gi] fix some transfer issues and test case failures
gi/pygi-argument.c | 4 ++++
gi/pygi-cache.c | 11 ++++++++---
gi/pygi-invoke.c | 17 +++++++++--------
3 files changed, 21 insertions(+), 11 deletions(-)
commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jan 19 18:09:23 2011 +0100
Construct structs using default API constructor
If the struct has something that looks like a default constructor,
use it instead of trying to directly allocate it, as it will fail
if the struct fields are not exposed.
https://bugzilla.gnome.org/show_bug.cgi?id=627444
gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
gi/types.py | 7 +++++++
2 files changed, 44 insertions(+)
commit db7300e173388d9557dcd2333781bfaa6b021605
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 19 18:54:39 2011 +0100
pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
pygi-convert.sh | 2 ++
1 file changed, 2 insertions(+)
commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 19 18:43:29 2011 +0100
pygi-convert.sh: Handle .window attributes
In general, convert them to .get_window(). For some of them, prefer
calling the
GtkWidget methods instead.
pygi-convert.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit b1049b947d073fb569ba900a4d5c8519482d831e
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jan 19 17:35:09 2011 +0100
Also deal with foreign boxed structs
cairo.Context has been boxed and our tests started failing
https://bugzilla.gnome.org/show_bug.cgi?id=639967
gi/pygi-argument.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Wed Jan 19 17:45:11 2011 +0100
[gi] Convert GErrors to GObject.GError exceptions, and throw them
upon returning from calling the C function.
This changes gi to make use of pyglib_error_check() which already
exists in pyglib.
The included tests make use of the other patch attached to this bug,
to check that the right exception is thrown from the new function
in GIMarshallingTests.
two Gtk C functions.
https://bugzilla.gnome.org/show_bug.cgi?id=639834
gi/Makefile.am | 3 ++-
gi/pygi-invoke.c | 12 +++---------
tests/test_gi.py | 10 ++++++++++
3 files changed, 15 insertions(+), 10 deletions(-)
commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 12:05:45 2011 -0500
[gi] fix out marshalling for a couple of int types
gi/pygi-argument.c | 2 +-
gi/pygi-cache.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit c5d7c730008275b2c585b2609fc2ff5e051cce47
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 11:59:09 2011 -0500
[gi] fixed range checking and type conversion with unsigned and
large numbers
gi/pygi-argument.c | 90
+++++++++++++++++++++++++++++++++++++++++++++---------
gi/pygi-cache.c | 2 +-
2 files changed, 76 insertions(+), 16 deletions(-)
commit e6fcafc6179e963cbae7774e7ee50415bde2c523
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 19 17:03:06 2011 +0100
pygi-convert.sh: Don't convert glib -> GLib for now
This currently leads to a load of crashes, MemoryErrors, etc, as
GLib is not
very well introspectable, due to the low-level operations that
it performs.
John Palmieri confirms that using the static "glib" binding is
preferred for
now, so disable the replacement rules.
pygi-convert.sh | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
commit 167261d556eab0d2e448c7ed28eef540a024ba1d
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jan 19 16:47:08 2011 +0100
Link libregress.so to GIO_LIBS again
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Wed Jan 19 16:14:42 2011 +0100
Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
because in Python attributes starting with a numeral causes a
syntax error.
gi/overrides/Gdk.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 4f5d20966d4a8c649e5fae584039621edab178f3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 10:02:40 2011 -0500
[gi] use correct format stings when setting errors
gi/pygi-argument.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 09:45:09 2011 -0500
[gi] allow marshalling strings as None
gi/pygi-argument.c | 5 +++++
1 file changed, 5 insertions(+)
commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 09:41:56 2011 -0500
[gi] make error messages more detailed
gi/pygi-argument.c | 2 +-
gi/pygi-cache.c | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
commit f0b17605ed2eb917b350654b070984beb553eae3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 09:41:13 2011 -0500
[gi] allow marshalling None for hashes
gi/pygi-argument.c | 5 +++++
1 file changed, 5 insertions(+)
commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 09:40:37 2011 -0500
[gi] add marshalling to some out values
gi/pygi-argument.c | 50
+++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 41 insertions(+), 9 deletions(-)
commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Wed Jan 19 15:27:33 2011 +0100
[gi] Fixed typo in exception
gi/overrides/Gtk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 09:13:44 2011 -0500
[gi] fix marshalling structs
gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
gi/pygi-foreign.c | 18 ++++++++++++------
gi/pygi-foreign.h | 8 ++++----
3 files changed, 51 insertions(+), 22 deletions(-)
commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Wed Jan 19 15:12:25 2011 +0100
[gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
gi/overrides/Gdk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed Jan 19 14:54:57 2011 +0100
Revert "Fix Pango FontDescription override"
According to
http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
the default constructor actually does take no arguments; we should
actually fix
the MemoryError. Add a test case for this.
Remove the FIXME though, as pango_font_description_from_string()
is not a
FontDescription constructor, but a static factory method.
Thanks to Paolo Borelli for pointing this out!
This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
gi/overrides/Pango.py | 5 ++++-
tests/test_overrides.py | 5 +++++
2 files changed, 9 insertions(+), 1 deletion(-)
commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
Author: Tony Young <rofflwaffls@gmail.com>
Date: Thu Dec 16 23:39:33 2010 +0000
Python iterator interface support for GFileEnumerator.
gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
gi/overrides/Makefile.am | 1 +
tests/test_overrides.py | 20 ++++++++++++++++++++
3 files changed, 62 insertions(+)
commit bca5834fc8fa342149e0eec7b396877a2abe6d33
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jan 7 12:10:37 2011 +0100
Remove gio static bindings
https://bugzilla.gnome.org/show_bug.cgi?id=638899
Makefile.am | 2 +-
configure.ac | 25 -
gio/.gitignore | 3 -
gio/Makefile.am | 117 -
gio/__init__.py | 40 -
gio/gappinfo.override | 213 --
gio/gapplaunchcontext.override | 99 -
gio/gbufferedinputstream.override | 70 -
gio/gcancellable.override | 38 -
gio/gdatainputstream.override | 250 --
gio/gdrive.override | 347 --
gio/gfile.override | 2215 -----------
gio/gfileattribute.override | 153 -
gio/gfileenumerator.override | 184 -
gio/gfileinfo.override | 121 -
gio/gfileinputstream.override | 68 -
gio/gfileiostream.override | 68 -
gio/gfileoutputstream.override | 68 -
gio/gicon.override | 310 --
gio/ginputstream.override | 344 --
gio/gio-types.defs | 807 ----
gio/gio.defs | 7465
-------------------------------------
gio/gio.override | 409 --
gio/giomodule.c | 208 --
gio/giostream.override | 68 -
gio/gmemoryinputstream.override | 91 -
gio/gmemoryoutputstream.override | 45 -
gio/gmount.override | 454 ---
gio/goutputstream.override | 292 --
gio/gresolver.override | 312 --
gio/gsocket.override | 575 ---
gio/gvolume.override | 237 --
gio/gvolumemonitor.override | 94 -
gio/pygio-utils.c | 236 --
gio/pygio-utils.h | 49 -
gio/unix-types.defs | 55 -
gio/unix.defs | 475 ---
gio/unix.override | 62 -
gio/unixmodule.c | 52 -
tests/Makefile.am | 9 -
tests/runtests-windows.py | 3 -
tests/test_gcancellable.py | 15 -
tests/test_gicon.py | 112 -
tests/test_gio.py | 1138 ------
tests/test_gresolver.py | 68 -
tests/test_gsocket.py | 126 -
46 files changed, 1 insertion(+), 18191 deletions(-)
commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 07:56:16 2011 -0500
[gi] switch from using (*arg). to arg-> when referencing union
memebers
gi/pygi-argument.c | 54
+++++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 27 deletions(-)
commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 07:49:52 2011 -0500
[gi] return FALSE when setting errors in the marshaller
gi/pygi-argument.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 07:14:18 2011 -0500
[gi] do arg counting in new invoke
gi/pygi-cache.c | 2 ++
gi/pygi-cache.h | 14 ++++++++------
gi/pygi-invoke-state-struct.h | 2 +-
gi/pygi-invoke.c | 20 +++++++++++++++++++-
4 files changed, 30 insertions(+), 8 deletions(-)
commit f45033858bed70d7defec3f71f26aa5b3999d680
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 19 06:35:45 2011 -0500
[gi] set length for uint8 in arrays in new invoke marshaller
gi/pygi-argument.c | 1 +
1 file changed, 1 insertion(+)
commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Jan 19 12:04:15 2011 +0100
[gi] set length when marshalling guint8 erases
gi/pygi-argument.c | 1 +
tests/test_gi.py | 4 ++++
2 files changed, 5 insertions(+)
commit 22eee43e50a150ace80694213fb87be9f0c72f51
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Wed Jan 19 10:27:47 2011 +0100
Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit a4b210d69c832629894090b7154ae194209b0c60
Author: Arnaud Charlet <charlet@adacore.com>
Date: Tue Jan 18 18:31:29 2011 +0100
Disable calls to PyGILState_* when threads are disabled
Since threads may also be disabled in Python too, those symbols
may not
be resolved.
https://bugzilla.gnome.org/show_bug.cgi?id=374603
glib/pyglib.c | 12 ++++++++++++
gobject/pygobject-private.h | 6 ++++++
2 files changed, 18 insertions(+)
commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 18 12:31:57 2011 -0500
[gi] fix handling of garrays vs c arrays
gi/pygi-argument.c | 9 +++++++--
gi/pygi-cache.c | 2 ++
gi/pygi-cache.h | 1 +
3 files changed, 10 insertions(+), 2 deletions(-)
commit a000627ec3904b9414ce375aec8d144fc0c26248
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 18:29:50 2011 +0100
pygi-convert.sh: Do not comment out set_cell_data_func() calls;
these should be ported properly
pygi-convert.sh | 1 -
1 file changed, 1 deletion(-)
commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 18:26:01 2011 +0100
pygi-convert.sh: Fix match for adding missing imports
pygi-convert.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 3aa95011fad67df20370e92bf25236a34d7d08d3
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 18:09:30 2011 +0100
pygi-convert.sh: Fix Gtk.Label handling to be idempotent
As we are not replacing line by line, but the whole file at once,
this is a bit
hackish unfortunately. We can't use a match test or a lookahead/behind
assertion.
pygi-convert.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit f66051380c0432bf142774542ade2144adcd455e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 18 11:44:27 2011 -0500
[gi] use correct union memeber when marshalling floats
gi/pygi-argument.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Tue Jan 18 17:29:52 2011 +0100
Remove trailing whitespace from gi/overrides/Gtk.py
gi/overrides/Gtk.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
commit 1006df1929a667716c25e74b35b8f14643358732
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 18 11:24:06 2011 -0500
[gi] fix constructor invoking and add some support for interface
out values
* constructors are now simplified and are treated like normal
static methods
which happen to return an instance
gi/pygi-argument.c | 8 ++--
gi/pygi-cache.c | 132
+++++++++++++++++++++++++++++++++++++++++++++++++++--
gi/pygi-invoke.c | 9 ++--
gi/types.py | 21 +++------
4 files changed, 142 insertions(+), 28 deletions(-)
commit 8878c57676091c08e66bc6cbe735d898cb420582
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 16:47:10 2011 +0100
Fix Pango FontDescription override
Trying to call __new__() on a record crashes with a MemoryError,
so just call
the intended static factory method for a None argument as well
(which works
just fine now).
gi/overrides/Pango.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
commit efbbe71634037fa100b17327389b883b259cca54
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 16:23:39 2011 +0100
tests: Respect existing $GI_TYPELIB_PATH
This allows us to run the test suite against local typelibs.
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c96ca383350e5b9b079d9a86464922314939c006
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 18 07:16:40 2011 -0500
[gi] fix aux value offsets for methods and element size crashers
* if the callable is a method we need to add 1 to the aux index
for in values so we grab the right argument cache
* use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
support all types
gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
1 file changed, 24 insertions(+), 18 deletions(-)
commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
Merge: 84d6142 7d997b6
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Tue Jan 18 13:14:45 2011 +0100
Merge branch 'value'
commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Tue Jan 18 13:12:36 2011 +0100
GTK overrides: Do type conversion to column types of ListStore and
TreeStore in set_value
gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
tests/test_overrides.py | 12 +++++++++++-
2 files changed, 29 insertions(+), 11 deletions(-)
commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
Author: Steve Frécinaux <code@istique.net>
Date: Mon Jan 17 18:57:58 2011 +0100
Always register a new GType when a GObject class is subclassed
This patch makes the GType <-> python mapping much more predictible,
and fixes the bug caused by overriding methods without specifying a
__gtype_name__ member in the subclass, and makes type_register useless
for real :-)
It is still possible to provide an explicit __gtype_name__ member
in the
subclass as it allows having a predictible GType name, which is handy
for some of our tests. There is also an explicit special case for
overrides because we obviously do not want to register new GTypes for
those ones as it would clearly defeat the purpose of overrides.
https://bugzilla.gnome.org/show_bug.cgi?id=543056
gobject/__init__.py | 6 +++---
tests/test_gi.py | 21 ++-------------------
2 files changed, 5 insertions(+), 22 deletions(-)
commit 30750ccef31e6c864628f418fc00e8c573d29a1b
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Tue Jan 18 12:57:13 2011 +0100
Raise required versions of GLib and GObject-Introspection
https://bugzilla.gnome.org/show_bug.cgi?id=612126
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 12:52:32 2011 +0100
pygi-convert.sh: Handle keysyms
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 12:14:09 2011 +0100
GLib overrides: Add test case for array variant building
tests/test_overrides.py | 7 +++++++
1 file changed, 7 insertions(+)
commit 69a78307f3762e3f54d28d98514cec7d31ff20db
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jan 18 10:21:03 2011 +0100
Remove cairo.RectangleInt from the foreign module
https://bugzilla.gnome.org/show_bug.cgi?id=639824
gi/pygi-foreign-cairo.c | 96
-------------------------------------------------
1 file changed, 96 deletions(-)
commit 017680c9a5e163021628bf29543598861a3b600a
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jan 18 10:20:25 2011 +0100
Dont try to guess the transfer if its a boxed
https://bugzilla.gnome.org/show_bug.cgi?id=639823
gi/pygi-invoke.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 771ef76574690eb98926249f38661d741d1ebbb0
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Tue Jan 18 12:02:01 2011 +0100
The tags can be Empty not None.
gi/overrides/Gtk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 12:01:28 2011 +0100
Add Pythonic iterators and indexing to GVariant
Add the usual set of iterators and index accessors to GLib.Variant
objects
which are containers.
Add corresponding test cases.
gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 55
+++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 105 insertions(+)
commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Tue Jan 18 10:48:03 2011 +0100
Add GLib.Variant.unpack()
This method decomposes a GLib.Variant into a native Python object,
i. e. the
counterpart of _VariantCreator. This makes it a lot nicer for
application
developers to use e. g. return values from gdbus calls.
Add appropriate test case.
gi/overrides/GLib.py | 45
+++++++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
2 files changed, 77 insertions(+), 1 deletion(-)
commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Tue Jan 18 10:56:18 2011 +0100
Add override for gtk_text_buffer_insert_with_tags
gi/overrides/Gtk.py | 12 ++++++++++++
tests/test_overrides.py | 6 ++++++
2 files changed, 18 insertions(+)
commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Mon Jan 17 14:35:14 2011 +0100
Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
https://bugzilla.gnome.org/show_bug.cgi?id=620215
gi/Makefile.am | 6 ++++--
gio/Makefile.am | 2 +-
glib/Makefile.am | 2 +-
m4/python.m4 | 7 +++++--
tests/Makefile.am | 2 +-
5 files changed, 12 insertions(+), 7 deletions(-)
commit bceec758b27e6c396d17a79424633b5dc9116f54
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Mon Jan 17 14:20:55 2011 +0100
Kill JD_CHECK_PYTHON_HEADERS
Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
https://bugzilla.gnome.org/show_bug.cgi?id=620215
configure.ac | 2 +-
m4/python.m4 | 31 +------------------------------
2 files changed, 2 insertions(+), 31 deletions(-)
commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 19:09:27 2011 +0100
Revert "Override Gtk.Box.pack_start and pack_end to set default
values to be compliant with pygtk"
This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
Conflicts:
gi/overrides/Gtk.py
gi/overrides/Gtk.py | 10 ----------
1 file changed, 10 deletions(-)
commit 4fbae9629adc166627de05bb0946b71485343d69
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 19:08:23 2011 +0100
Revert "Override Gtk.CellLayout.pack_start and pack_end to add
default values to be compliant with pygtk"
This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
gi/overrides/Gtk.py | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
commit c054f0aca67952876b3519bb75ddc62c5517f7cb
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 19:08:06 2011 +0100
Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
set_cell_data_func to add default values to be compliant with pygtk"
This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
gi/overrides/Gtk.py | 9 ---------
1 file changed, 9 deletions(-)
commit 2d9534f347505573da46743b47318e08bf073aef
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Jan 17 18:54:10 2011 +0100
pygi-convert.sh: Handle gtk.combo_box_new_text()
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jan 17 12:31:03 2011 -0500
support callbacks
gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
gi/pygi-cache.c | 80
+++++++++++++++++++++++++++++++++++++++++-------------
gi/pygi-cache.h | 13 +++++++--
gi/pygi-invoke.c | 2 +-
4 files changed, 138 insertions(+), 25 deletions(-)
commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 16:57:53 2011 +0100
Override TreeSortable.set_sort_func and set_default_sort_func to
add default values to be pygtk compliant
gi/overrides/Gtk.py | 6 ++++++
1 file changed, 6 insertions(+)
commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 16:29:28 2011 +0100
Override Gtk.TreeViewColumn.pack_start, pack_end and
set_cell_data_func to add default values to be compliant with pygtk
gi/overrides/Gtk.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit 232841148f35684be83a2f47b5b18da4fb74f63a
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 16:28:51 2011 +0100
Override Gtk.CellLayout.pack_start and pack_end to add default values
to be compliant with pygtk
gi/overrides/Gtk.py | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
commit 1dec12826753756fcadefc8ef8c756fc902c320b
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 15:54:32 2011 +0100
Override Gtk.Paned pack1 and pack2 to add default values to be
compliant with pygtk
gi/overrides/Gtk.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit a8c727b9c4195d8085a45661683a18614ae84485
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Mon Jan 17 15:46:25 2011 +0100
Override Gtk.Box.pack_start and pack_end to set default values to
be compliant with pygtk
gi/overrides/Gtk.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
Author: Steve Frécinaux <code@istique.net>
Date: Wed Aug 4 00:30:05 2010 +0200
Handle GObject subclasses in the property helper.
https://bugzilla.gnome.org/show_bug.cgi?id=625982
gobject/propertyhelper.py | 26 +++++++++++++-------------
tests/test_properties.py | 9 +++++++++
2 files changed, 22 insertions(+), 13 deletions(-)
commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Jan 17 17:52:15 2011 +0100
Fix handling of unicode for GtkTreeModels
The code previously converted an unicode object into unicode, but
in Python 2.X
models actually have to specify 'str' (GTK expects a gchararray). So
encode to
UTF-8 instead to get what GTK expects.
Add corresponding test case.
gi/overrides/Gtk.py | 2 +-
tests/test_overrides.py | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
commit 09c21c79fb6063c8451f53d4588363d2be7239f4
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Mon Jan 17 16:46:08 2011 +0100
In IntrospectionModule and DynamicModule classes, make all instance
attributes start with an underscore.
This changes IntrospectionModule.version to _version and
DynamicModule.introspection_module to _introspection_module.
This is done to mark the attributes as private, and also avoid name
collisions with attributes from the typelib.
In Gstreamer, there is a function gst_version, which was previously
inaccessible because of IntrospectionModule.version overriding it.
gi/module.py | 26 +++++++++++++-------------
gi/overrides/GIMarshallingTests.py | 2 +-
gi/overrides/GLib.py | 2 +-
gi/overrides/Gdk.py | 10 +++++-----
gi/overrides/Gtk.py | 2 +-
gi/overrides/Pango.py | 2 +-
gi/overrides/__init__.py | 2 +-
tests/test_everything.py | 2 +-
8 files changed, 24 insertions(+), 24 deletions(-)
commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
Author: Laszlo Pandy <lpandy@src.gnome.org>
Date: Mon Jan 17 16:17:25 2011 +0100
Amend previous enum wrapping commit to remove redundant setting of
__info__ attribute.
gi/module.py | 2 +-
gi/types.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Jan 17 16:16:45 2011 +0100
pygi-convert.sh: Handle GdkPixbuf.InterpType
pygi-convert.sh | 2 ++
1 file changed, 2 insertions(+)
commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
Author: Laszlo Pandy <laszlok2@gmail.com>
Date: Mon Jan 17 15:43:34 2011 +0100
Fix wrapping of enums: Create new Python type for each non-gtype enum.
Previously non-gtype enums used the same class, which meant they
were all the same type.
This caused another problem that since they were all the same class,
attributes from different enums were available from each other.
A new test case is created to check for this bug. It requires a new
enum from the GIMarshallingTests (updating gobject-introspection
will be required).
gi/module.py | 2 +-
gi/types.py | 2 ++
tests/test_gi.py | 10 ++++++++++
3 files changed, 13 insertions(+), 1 deletion(-)
commit da50d5620a42046d4fc905bb28a0890d73533cb1
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Dec 13 18:03:51 2010 +0100
Use g_vfunc_info_invoke for chaining up in vfuncs
https://bugzilla.gnome.org/show_bug.cgi?id=637165
gi/pygi-info.c | 4 ++--
gi/pygi-invoke.c | 72
+++++++++++++++++++++++++++++++++++++++++++-------------
gi/pygi-invoke.h | 3 ++-
gi/types.py | 28 +++++++++++++++++++++-
tests/test_gi.py | 5 ++--
5 files changed, 89 insertions(+), 23 deletions(-)
commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Fri Dec 31 18:38:04 2010 +0100
Move pyglib_{main_context, option_context, option_group}_new into
_PyGLib_API
_PyG{MainContext, OptionContext, and OptionGroup_Type} were not
be initialized
when used inside the glib module, since pyglib_init is not called.
pyglib.c is compiled as a stand-alone library loaded by the _glib
module that
declares the above-mentioned types. Hence, they cannot be accessed
by the
former. This patch moves the functions that need those symbols
into the
glib._glib module and exports them to the pyglib library through
_PyGLib_API.
https://bugzilla.gnome.org/show_bug.cgi?id=636656
glib/glibmodule.c | 5 ++++-
glib/pyglib-private.h | 3 +++
glib/pyglib.c | 48
+++---------------------------------------------
glib/pygmaincontext.c | 22 ++++++++++++++++++++++
glib/pygmaincontext.h | 2 +-
glib/pygmainloop.c | 2 +-
glib/pygoptioncontext.c | 21 +++++++++++++++++++++
glib/pygoptioncontext.h | 2 ++
glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
glib/pygoptiongroup.h | 2 ++
glib/pygsource.c | 2 +-
11 files changed, 86 insertions(+), 49 deletions(-)
commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Jan 17 14:51:26 2011 +0100
pygi-convert.sh: Handle Gdk.DragAction
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Jan 17 14:46:58 2011 +0100
pygi-convert.sh: Generalize Gtk.Settings migration
There are other GSettings.get_* functions like get_for_screen().
pygi-convert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Mon Jan 17 11:22:46 2011 +0100
pygi-convert.sh: Don't change the name of "glib" submodules
This particular affects dbus.mainloop.glib.*
pygi-convert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Jan 16 22:09:56 2011 +0100
Plug another memory leak
Do not leak interface info in (g|s)_et_property.
gi/pygi-property.c | 4 ++++
1 file changed, 4 insertions(+)
commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Jan 16 21:43:30 2011 +0100
Plug a small memory leak.
Do not leak type_info in find_vfunc_info
gi/gimodule.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
commit d0cbcc45366d40702c69cef207d3c0f361260c02
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Jan 16 12:16:31 2011 +0100
Override Table.attach() to behave like pygtk
It is fairly common and even gtk itself still has attach_defaults.
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 4 ++++
2 files changed, 7 insertions(+)
commit 6409d659326bf3cefdf6051379e8bc2031f16733
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Sat Jan 15 11:20:23 2011 -0600
pygi-convert.sh: Convert Pango.WrapMode
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Sat Jan 15 11:17:09 2011 -0600
pygi-convert.sh: Don't change the name of "gtk" submodules
Some projects have local modules like "myproject.ui.gtk". Avoid
changing those,
just change module names which start with "gtk" or "gdk".
pygi-convert.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 9be0f1f2dfb89150faf1827ef482feea03645149
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jan 13 23:56:19 2011 -0500
[gi] implement aux arg handling for array lengths
gi/pygi-argument.c | 8 ++++++++
gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
gi/pygi-cache.h | 1 -
gi/pygi-invoke.c | 8 ++++++--
4 files changed, 42 insertions(+), 11 deletions(-)
commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jan 13 21:07:25 2011 -0500
[gi] marshal in hashes
gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
gi/pygi-cache.c | 122
+++++++++++++++++++++++++++++++++++++----------------
2 files changed, 176 insertions(+), 39 deletions(-)
commit c36fbf4918c8557a8e274a12004a412da3b22b2c
Author: Laszlo Pandy <git@laszlopandy.com>
Date: Tue Jan 11 21:41:47 2011 +0100
Fix the __dir__() methods on DynamicModule and IntrospectionModule
Previously the __dir__() methods did not list all attributes.
A simple test case is included. It does not test to see if
every attribute is listed, it just tests a few of each kind:
- (wrapped) typelib attributes
- class attributes and methods
- instance attributes
A set() is used to avoid returning duplicate attributes.
The test case checks for this as well.
https://bugzilla.gnome.org/show_bug.cgi?id=639229
gi/module.py | 28 +++++++++++++++++++++-------
tests/test_everything.py | 18 ++++++++++++++++++
2 files changed, 39 insertions(+), 7 deletions(-)
commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
Author: Paolo Borelli <pborelli@gnome.org>
Date: Thu Jan 13 00:02:20 2011 +0100
pygi-convert.sh: handle ReliefStyle
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 12 16:50:30 2011 -0500
[gi] support for GList and GSList in
gi/pygi-argument.c | 122
++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 116 insertions(+), 6 deletions(-)
commit 9baf3240fbac103823ad0feaaf1c82e46d276722
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 12 16:24:17 2011 -0500
[gi] handle allow_none for all args
gi/pygi-cache.c | 3 ++-
gi/pygi-cache.h | 1 +
gi/pygi-invoke.c | 7 +++++++
3 files changed, 10 insertions(+), 1 deletion(-)
commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jan 12 16:23:02 2011 -0500
[gi] fix marshalling fixed arrays
* get the correct item_size and pass the GArray data not the GArray
gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
gi/pygi-cache.c | 3 ++-
2 files changed, 24 insertions(+), 18 deletions(-)
commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 11 17:20:43 2011 -0500
[gi] implement out arg handling
gi/pygi-argument.c | 43 ++++++++++---------------------------
gi/pygi-cache.c | 22 ++++++++++++++-----
gi/pygi-invoke-state-struct.h | 13 +++++++++++
gi/pygi-invoke.c | 50
+++++++++++++++++++++++++++++++++++++++++--
4 files changed, 89 insertions(+), 39 deletions(-)
commit bd002c72675d35b5e60ab773181e7c36c30d2625
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Jan 11 22:21:18 2011 +0100
setup.py: fix the provides keyword argument
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Jan 11 22:19:18 2011 +0100
setup.py: use the same spaces-less format for all setup() parameters
setup.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit c5c149be171895d292852df364541f14f0ec423a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 11 15:39:09 2011 -0500
[gi] implemented return marshalling and started on out marshalling
gi/pygi-argument.c | 387
++++++++++++++++++++++++++++++++++++++++++++++++++++-
gi/pygi-argument.h | 117 ++++++++++++++++
gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
gi/pygi-cache.h | 8 +-
gi/pygi-invoke.c | 12 +-
5 files changed, 829 insertions(+), 11 deletions(-)
commit 4fcca8518774ab89607196dfc52037e3da30ac8a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 11 13:49:58 2011 -0500
[gi] flesh out interface in marshalling a bit more
gi/pygi-argument.c | 74
++++++++++++++++++++++++++++++++++++++++----------
gi/pygi-cache.c | 79
++++++++++++++++++++++++++++++++++++++++++------------
gi/pygi-cache.h | 1 +
3 files changed, 123 insertions(+), 31 deletions(-)
commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
Author: Laszlo Pandy <laszlok2@gmail.com>
Date: Tue Jan 11 19:30:38 2011 +0100
Add a __repr__() method to DynamicModule.
This patch adds a __repr__() method to DynamicModule so that modules
provide a
meaningful string with the typelib path included:
>>> from gi.repository import Gtk
>>> Gtk
<gi.module.DynamicModule 'Gtk' from
'/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
https://bugzilla.gnome.org/show_bug.cgi?id=639232
gi/module.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jan 11 19:40:19 2011 +0100
Go back to using getattr() in DynamicModule.__getattr__
Breaks marshalling of some types
gi/module.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 52a298cc0f05ceec96457f17f9a801e9838fb757
Author: Laszlo Pandy <laszlok2@gmail.com>
Date: Tue Jan 11 19:26:50 2011 +0100
Change __dir__() to report all the attributes that __getattr__
supports
Change DynamicModule.__dir__() to return the local class members as
well as the
typelib attributes.
Change DynamicModule.__getattr__() to call
IntrospectionModule.__getattr__()
directly, so that it won't inadvertently return class attributes from
IntrospectionModule.
https://bugzilla.gnome.org/show_bug.cgi?id=639229
gi/module.py | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jan 10 17:55:03 2011 -0500
[gi] add object and interface in marshalling
* also remove the PyGIArgCleanup sinature as GDestroyNotify works
just fine
gi/pygi-argument.c | 15 +++--
gi/pygi-cache.c | 182
++++++++++++++++++++++++++++++++++++++++++++++++-----
gi/pygi-cache.h | 1 -
gi/pygi-invoke.c | 1 +
4 files changed, 178 insertions(+), 21 deletions(-)
commit 88531c58d0491a31dd319387237a03df5c9edc07
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jan 10 15:33:56 2011 -0500
[gi] fix casting when marshaling a char to uint8
gi/pygi-argument.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jan 10 15:07:16 2011 -0500
[gi] hook up invoke to the cache
* We now can invoke with in values
* out, constructors and returns still don't work along with numerous
complex
in types
gi/Makefile.am | 1 +
gi/pygi-argument.c | 60 +++++++++--------
gi/pygi-argument.h | 60 ++++++++---------
gi/pygi-cache.h | 6 +-
gi/pygi-invoke-state-struct.h | 26 ++++++++
gi/pygi-invoke.c | 149
++++++++++++++++++++++++++++++++----------
gi/pygi-invoke.h | 2 +-
gi/pygi-private.h | 1 +
8 files changed, 208 insertions(+), 97 deletions(-)
commit f32b1f494aa5d09b9b198f607722c819c6bbd808
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jan 9 19:37:55 2011 -0500
hooked up caching stage and fixed segfaults
* caching stage is hooked up but not used yet
* throws exceptions for everything that can not be cached yet
gi/pygi-cache.c | 59
+++++++++++++++++++++++++++++++++++++++++++-------------
gi/pygi-info.c | 3 +++
gi/pygi-invoke.c | 5 +++++
gi/pygi.h | 2 ++
4 files changed, 56 insertions(+), 13 deletions(-)
commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jan 9 18:05:31 2011 -0500
[gi] fix some function names
gi/pygi-cache.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jan 9 15:58:06 2011 -0500
[gi] refactor cache structs so they inherit from ArgCache
gi/pygi-argument.c | 122 +++++++++----------
gi/pygi-cache.c | 344
+++++++++++++++++++++++++++++------------------------
gi/pygi-cache.h | 50 ++++----
3 files changed, 273 insertions(+), 243 deletions(-)
commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jan 8 20:45:11 2011 -0500
[gi]fix cache compile error - now compiles but cache still not
hooked up
gi/Makefile.am | 2 +
gi/pygi-argument.c | 100 +++++++++++++++---------------
gi/pygi-argument.h | 174
++++++++++++++++++++++++++++++++++++++++++++---------
gi/pygi-cache.c | 169
+++++++++++++++++++++++++--------------------------
gi/pygi-cache.h | 25 ++++----
5 files changed, 293 insertions(+), 177 deletions(-)
commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jan 8 19:10:29 2011 -0500
add sequence caching and array marshalling w/ item marshalling
* simplify what we pass into the arg cache generators so we may
use them
for geneating marshalling caches for container items, not just
arguments
gi/pygi-argument.c | 76 ++++++++++++++++-
gi/pygi-cache.c | 242
++++++++++++++++++++++-------------------------------
gi/pygi-cache.h | 4 +-
3 files changed, 175 insertions(+), 147 deletions(-)
commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
Date: Sat Jan 8 02:19:52 2011 +0000
Bump the minimum gio dependency
Needed for G_TYPE_CONVERTER_FLAGS and others.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c3aa36151fdef9ed9884d93114786bbe86387983
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jan 7 12:58:11 2011 +0100
Add test for incorrect attributes in Gdk.Event
tests/test_overrides.py | 4 ++++
1 file changed, 4 insertions(+)
commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Sun Jan 2 19:25:55 2011 +0100
Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
__getattr__ is only called when the attribute is not found through
the normal
mechanism, so getattr must not be called again in __getattr__
(which would
create an infinite loop).
Another possibility would be to implement __getattribute__ instead,
which is
called in place of the normal mechanism. In that case, calling
getattr would be
needed for normal attributes.
https://bugzilla.gnome.org/show_bug.cgi?id=638523
gi/overrides/Gdk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
Author: Mike Gorse <mgorse@novell.com>
Date: Fri Jan 7 09:08:31 2011 +0100
Release allocated array of arguments when handling closures
https://bugzilla.gnome.org/show_bug.cgi?id=638847
gi/pygi-closure.c | 3 +++
1 file changed, 3 insertions(+)
commit 1be76d5e006efa24598ff7bf26153660dbe0a890
Author: Mike Gorse <mgorse@novell.com>
Date: Fri Jan 7 09:07:35 2011 +0100
Release GIValueInfo when checking an enum argument
https://bugzilla.gnome.org/show_bug.cgi?id=638847
gi/pygi-argument.c | 1 +
1 file changed, 1 insertion(+)
commit 43849c51391fc9cd239697065c3d40fa02fb6783
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jan 6 17:30:14 2011 -0500
whitespace fixes
gi/pygi-cache.c | 24 ++++++++++++------------
gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
2 files changed, 33 insertions(+), 33 deletions(-)
commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jan 6 17:29:00 2011 -0500
add marshalling for basic types and add more skeleton code
* still doesn't compile
gi/pygi-argument.c | 708
+++++++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-argument.h | 35 ++-
gi/pygi-cache.c | 82 +++++--
gi/pygi-cache.h | 41 +++-
4 files changed, 832 insertions(+), 34 deletions(-)
commit f554cf62848104d31518138ae85bc51acaafda67
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jan 4 18:49:53 2011 -0500
first checkin of the new caching branch
* this does not compile and is not hooked up to the build system
* lays out the caching data structures and some skeleton functions
gi/pygi-cache.c | 480
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-cache.h | 104 ++++++++++++
2 files changed, 584 insertions(+)
commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
Author: Eitan Isaacson <eitan@monotonous.org>
Date: Wed Dec 22 12:34:10 2010 -0800
Respect different type lengths when assigning out-argument pointers.
https://bugzilla.gnome.org/show_bug.cgi?id=637832
gi/pygi-closure.c | 66
++++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 56 insertions(+), 10 deletions(-)
commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Dec 28 18:34:25 2010 +0100
Fix stupid name clash
gi/module.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 01b2a193d403beb861eab524300b4f1af63157ce
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Dec 28 13:49:18 2010 +0100
Add /usr/share to XDG_DATA_DIRS when running the tests
tests/Makefile.am | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit efc186f692f9eac781cc47456be74a3da7f14dcd
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Dec 28 13:25:34 2010 +0100
Comment out tests that require SRV lookups
tests/test_gresolver.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Dec 28 13:00:16 2010 +0100
Use suppresion file when running valgrind
tests/Makefile.am | 2 +-
tests/python.supp | 387
++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 388 insertions(+), 1 deletion(-)
commit 0ee58113ecbea72784c52de928c041fc8fc88984
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Thu Dec 23 00:10:41 2010 +0100
Fix warnings.
gi/pygi-argument.c | 16 +++++++---------
gi/pygi-foreign-cairo.c | 13 ++-----------
gio/gfile.override | 5 ++---
glib/pyglib-python-compat.h | 3 +++
glib/pyglib.c | 2 +-
glib/pygmainloop.c | 3 ++-
6 files changed, 17 insertions(+), 25 deletions(-)
commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
Date: Sun Dec 19 23:10:57 2010 +0100
Allow comparing Gtk.TreePath to None
https://bugzilla.gnome.org/show_bug.cgi?id=637615
gi/overrides/Gtk.py | 12 ++++++------
tests/test_overrides.py | 6 ++++++
2 files changed, 12 insertions(+), 6 deletions(-)
commit 046cc5915286e042d1040271a90676b77632409e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Dec 16 15:41:10 2010 -0500
handle unicode objects in properties
* There are still some cavets in Python 2:
- properties are returned as String objects with the unicode
code points
- you must add # coding=utf-8 to the top of your python file
or python
will error out if it sees embeded unicode charaters (such as when
supporting python 3 and python 2 from the same source)
https://bugzilla.gnome.org/show_bug.cgi?id=620579
gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
tests/test_properties.py | 16 ++++++++++++++++
2 files changed, 42 insertions(+), 9 deletions(-)
commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Dec 14 12:29:54 2010 +0100
dsextras.py: check if gcc is there when platform is win32 and compiler
is mingw32
dsextras.py | 6 ++++++
1 file changed, 6 insertions(+)
commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Dec 14 12:29:01 2010 +0100
dsextras.py: be consistent in how distutils imports are done
dsextras.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Dec 14 12:25:07 2010 +0100
dsextras.py: add have_gcc() function
dsextras.py | 5 +++++
1 file changed, 5 insertions(+)
commit 637c2c287cfb0e89365026531c651111f5593ac7
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Dec 14 12:24:41 2010 +0100
dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
dsextras.py | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Tue Dec 14 12:22:54 2010 +0100
setup.py: fix another case of use True/False instead of 1/0
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Dec 13 10:21:52 2010 +0100
pygi-convert.sh: improve GtkSourceView conversion
pygi-convert.sh | 7 +++++++
1 file changed, 7 insertions(+)
commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Dec 13 10:27:56 2010 +0100
pygi-convert.sh: Gtk.DialogFlags conversion
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Sun Dec 12 20:38:46 2010 -0500
Doc Extractor: Print the gtk-doc blocks sorted by function name.
* codegen/docextract_to_xml.py: Print the xml of the gtk-doc
block in
alphabetical order according to the identifier (function name)
so that
the generation of xml files in the C++ bindings is deterministic.
Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
recent commit.
codegen/docextract_to_xml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit db7ffa75b007074cb6b33b547c6d8140da300a3e
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Dec 13 00:17:26 2010 +0100
pygi-convert.sh: add more Gtk conversions and sort
pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 24 deletions(-)
commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Dec 13 00:01:40 2010 +0100
pygi-convert.sh: convert Atk
pygi-convert.sh | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Dec 12 23:48:48 2010 +0100
pygi-convert.sh: convert a few more Gio types
pygi-convert.sh | 9 +++++++++
1 file changed, 9 insertions(+)
commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Dec 12 14:19:00 2010 +0100
pygi-convert.sh: more GLib conversion
pygi-convert.sh | 7 +++++++
1 file changed, 7 insertions(+)
commit c903390814bebdc62d530472f6f94feecc59b8b3
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Dec 12 14:00:34 2010 +0100
pygi-convert.sh: remove two cases handled by overrides
pygi-convert.sh | 2 --
1 file changed, 2 deletions(-)
commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Dec 12 13:38:56 2010 +0100
Override Gtk.ScrolledWindow constructor
gi/overrides/Gtk.py | 7 +++++++
tests/test_overrides.py | 7 +++++++
2 files changed, 14 insertions(+)
commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Dec 12 12:32:39 2010 +0100
pygi-convert.sh: Fix 'find' syntax
pygi-convert.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Dec 12 12:29:38 2010 +0100
pygi-convert.sh: start handling Gio and GLib
pygi-convert.sh | 8 ++++++++
1 file changed, 8 insertions(+)
commit 365bf3251af3498dc797a58cce071805451b49b1
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 11 23:05:31 2010 +0100
pygi-convert.sh: convert Gdk.ScrollDirection.
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit bca603de0f217fb290189a0ea330f82961c46d5d
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 11 15:03:21 2010 +0100
Override Pango.Layout constructor.
I must take a Pango.Context argument. Unfortumately the context is
not a
gobject property so we need to jump through some oops.
gi/overrides/Pango.py | 13 +++++++++++++
tests/test_overrides.py | 6 ++++++
2 files changed, 19 insertions(+)
commit df233301802e3f7f9ce338cde015ca2a2fc648ab
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 11 14:18:53 2010 +0100
Remove Pango.FontDescription() conversion.
It is now properly handled by an override.
pygi-convert.sh | 1 -
1 file changed, 1 deletion(-)
commit d8abcc9463542af9cd43d71849d0ad4c183b570b
Author: Paolo Borelli <pborelli@gnome.org>
Date: Fri Dec 10 14:05:20 2010 +0100
Override GtkAction and GtkRadioAction constructors.
gi/overrides/Gtk.py | 20 +++++++++++++++++---
tests/test_overrides.py | 18 ++++++++++++++++++
2 files changed, 35 insertions(+), 3 deletions(-)
commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
Date: Sat Dec 4 22:13:28 2010 +0000
Override Adjustment constructor to behave like pygtk
https://bugzilla.gnome.org/show_bug.cgi?id=636486
gi/overrides/Gtk.py | 7 +++++++
tests/test_overrides.py | 9 +++++++++
2 files changed, 16 insertions(+)
commit e76352dd83c8706e68ad57d00d185da9afea99c4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Dec 9 13:23:10 2010 -0500
add secondary_text apis to MessageDialog
gi/overrides/Gtk.py | 8 ++++++++
tests/test_overrides.py | 8 ++++++++
2 files changed, 16 insertions(+)
commit de682b2d36c362140ab7d43c0743b01ec0865a74
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Dec 8 16:39:27 2010 -0500
[gi] get rid of some debug prints and fix error messages
gi/overrides/Gtk.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
commit dbb16571803bf51f497768bf80944514f4290ee5
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Dec 8 18:25:15 2010 +0100
Fix demo for override changes.
demos/gtk-demo/gtk-demo.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 2adcd95762944a4e27123093d3c8d080e49be1ea
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Dec 8 18:06:01 2010 +0100
Override Pango.FontDescription.
demos/gtk-demo/gtk-demo.py | 2 +-
gi/overrides/Makefile.am | 1 +
gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 7 +++++++
4 files changed, 49 insertions(+), 1 deletion(-)
commit 769da968c9187414d0420412d8fb8c833d12042a
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Dec 8 17:38:11 2010 +0100
Stop checking that all vfuncs are implemented
Because some methods are optionally implementable but g-i won't
tell us.
https://bugzilla.gnome.org/show_bug.cgi?id=619606
gi/gimodule.c | 4 +++-
gi/types.py | 12 ++----------
tests/test_gi.py | 10 ----------
3 files changed, 5 insertions(+), 21 deletions(-)
commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Dec 8 17:37:00 2010 +0100
Fix usage of TreeIter api that is now an override.
demos/gtk-demo/gtk-demo.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit d2cfd6e9250d40de7c715ac74e299deddf137683
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Dec 8 17:34:54 2010 +0100
Fix Gtk.Label(label="Foo")
Use 'label' as an argument name instead of 'str', otherwise we may
end up up with two 'label' in the kwds dict. Besides 'str' is a
reserved keyword.
gi/overrides/Gtk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Dec 8 14:16:39 2010 +0100
Fix typo when raising an exception
gi/types.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Wed Dec 8 10:46:27 2010 +0100
pygi-convert.sh: Added more conversions
pygi-convert.sh | 14 ++++++++++++++
1 file changed, 14 insertions(+)
commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
Author: Paolo Borelli <pborelli@gnome.org>
Date: Tue Dec 7 20:39:15 2010 +0100
Override LinkButton constructor to make 'uri' mandatory
gi/overrides/Gtk.py | 7 +++++++
tests/test_overrides.py | 6 ++++++
2 files changed, 13 insertions(+)
commit f4f7fb35af1b41598dc050f5df155a01c370a920
Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
Date: Sat Dec 4 19:19:19 2010 +0600
Container should be iterable.
gi/overrides/Gtk.py | 9 +++++++++
tests/test_overrides.py | 6 +++++-
2 files changed, 14 insertions(+), 1 deletion(-)
commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
Author: Paolo Borelli <pborelli@gnome.org>
Date: Tue Dec 7 14:13:00 2010 +0100
No need to import Gdk
gi/overrides/Gtk.py | 1 -
1 file changed, 1 deletion(-)
commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
Author: Paolo Borelli <pborelli@gnome.org>
Date: Tue Dec 7 14:07:53 2010 +0100
Remove semicolumns
gi/overrides/Gtk.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Dec 6 16:05:30 2010 -0500
[gi] make sure Gtk.Button override passes all keywords to parent
constructor
gi/overrides/Gtk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit cede81ad65db017e95543d8d35715751aa202fed
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Dec 5 13:31:20 2010 +0100
Fix cut&paste error in the Label override
gi/overrides/Gtk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 607c59b74ebbc1e39cb4121c870b689e1888c106
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 4 16:03:27 2010 +0100
pygi-convert.sh: handle TextWindowType
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit dfeabe0b68938e27da2e65903983b5113dc422f1
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 4 15:49:15 2010 +0100
Override Label constructor to behave like pygtk
gi/overrides/Gtk.py | 7 +++++++
tests/test_overrides.py | 4 ++++
2 files changed, 11 insertions(+)
commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 4 15:40:35 2010 +0100
Override GtkTable constructor to behave like pygtk
gi/overrides/Gtk.py | 7 +++++++
tests/test_overrides.py | 12 ++++++++++++
2 files changed, 19 insertions(+)
commit 81452c23ab1befa59ff375692e582791432796a5
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 4 12:59:43 2010 +0100
pygi-convert.sh: convert MovementStep
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 4d097eea94258eda0c328711491fd456cbd6741b
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Dec 4 11:57:02 2010 +0100
Update Gdk overrides to work with latest Gtk+ 3
For now added consitionals on version == 2.0, but maybe at some
point we
shuld just clean up the old stuff.
gi/overrides/Gdk.py | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
commit cda317195566711d66190145b545e26ed7226172
Author: Johan Dahlin <johan@gnome.org>
Date: Thu Dec 2 23:47:40 2010 -0200
Gtk: add an override for Gtk.main_quit
Override gtk.main_quit so that it can be used as a callback
to signals, most importantly to the destroy signal of a widget:
widget.connect('destroy', gtk.main_quit)
This is compatible with what PyGTK does.
https://bugzilla.gnome.org/show_bug.cgi?id=636336
gi/overrides/Gtk.py | 5 ++++-
gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
2 files changed, 29 insertions(+), 3 deletions(-)
commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Dec 2 16:27:04 2010 -0500
[gi] handle subtypes when inserting into tree models
* Often modules will give back basic types wrapped in a subtype.
This is the case with D-Bus where you may want to keep some of the
metadata around. More often than not, the developer is just looking
to use the basetype.
* This override checks the column type and handles basic types such as
gchararrays, ints, longs, floats and doubles, converting them
to their
base types before sending them to the generic GI type marshaller.
* More types may need to be supported but these are the common
cases where
apps break.
https://bugzilla.gnome.org/show_bug.cgi?id=635172
gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
tests/test_overrides.py | 8 +++++++-
2 files changed, 43 insertions(+), 3 deletions(-)
commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
Author: Paolo Borelli <pborelli@gnome.org>
Date: Fri Dec 3 23:39:50 2010 +0100
Override TreeSelection.select_path and TreeView.scroll_to_cell
The "path" argument may also be a string or a tuple
gi/overrides/Gtk.py | 10 ++++++++++
tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
Author: Paolo Borelli <pborelli@gnome.org>
Date: Fri Dec 3 23:29:00 2010 +0100
Override TreePath.__new__
Instead of having a private _tree_path_from_string it is cleaner to
override __new__ and it will be useful for all the api that take a
TreePath or a string or a tuple.
gi/overrides/Gtk.py | 33 +++++++++++++++------------------
tests/test_overrides.py | 18 ++++++++++++++++++
2 files changed, 33 insertions(+), 18 deletions(-)
commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Nov 28 13:02:30 2010 +0100
Override Container to behave like a sequence
gi/overrides/Gtk.py | 6 ++++++
tests/test_overrides.py | 11 +++++++++++
2 files changed, 17 insertions(+)
commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Nov 30 16:57:05 2010 -0500
refactor Jonathan Matthew recurse vfunc patch so it applys and clean
up a bit
* this patch does the recursion using the previous patche's support
functions
gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 45 insertions(+), 10 deletions(-)
commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
Author: Jonathan Matthew <jonathan@d14n.org>
Date: Thu Jul 22 23:19:51 2010 +1000
Recurse up through base classes when setting up vfuncs
* this patch adds the support methods to do the recursion
https://bugzilla.gnome.org/show_bug.cgi?id=625033
gi/gimodule.c | 130
++++++++++++++++++++++++++++++++++++++++---------------
tests/test_gi.py | 37 ++++++++++++++++
2 files changed, 131 insertions(+), 36 deletions(-)
commit 78358e1ab54d02317f397276adee03ecb2187588
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Nov 29 18:29:57 2010 -0500
add a profiling torture test for when we fix up invoke
tests/test_everything.py | 67
++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
commit 792e679c06df4357843fd310c7953a931172fc99
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Nov 29 16:41:38 2010 -0500
moved dynamic and base modules outside of gtk-2.0 directory
* do not move header files yet as they are mostly used by static
bindings
* do not remove pygtk.pth and pygtk.py files yet - there is a debate
on moving
these back to pygtk but you might want to import gio static
bindings without
having to have pygtk installed
* I have not tested this with pygtk, committing it so we can find
out if it
causes any issues with legacy modules and code
gi/Makefile.am | 2 +-
gi/overrides/Makefile.am | 2 +-
gi/repository/Makefile.am | 2 +-
glib/Makefile.am | 2 +-
gobject/Makefile.am | 2 +-
tests/test_gi.py | 2 --
tests/test_overrides.py | 3 ---
7 files changed, 5 insertions(+), 10 deletions(-)
commit c587e1ace7429195ac6fd4db03d2f33e2af09838
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Nov 29 15:11:46 2010 -0500
add test for inout argument count
tests/test_gi.py | 1 +
1 file changed, 1 insertion(+)
commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Nov 22 19:17:23 2010 -0500
[gi] add check for UNICHAR
https://bugzilla.gnome.org/show_bug.cgi?id=623615
gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
tests/test_everything.py | 17 +++++++++++++++--
2 files changed, 41 insertions(+), 3 deletions(-)
commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Nov 21 12:16:53 2010 +0100
Support gunichar
https://bugzilla.gnome.org/show_bug.cgi?id=623615
gi/pygi-argument.c | 60
++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-info.c | 5 ++++
tests/test_everything.py | 5 ++++
3 files changed, 70 insertions(+)
commit fd2c0288eb67823fca1265348a27a9f8f147ae50
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Nov 27 23:01:42 2010 +0100
pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
pygi-convert.sh | 1 +
1 file changed, 1 insertion(+)
commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Nov 27 22:34:13 2010 +0100
pygi-convert.sh: handle "from gtk import gdk"
pygi-convert.sh | 2 ++
1 file changed, 2 insertions(+)
commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Nov 27 22:23:24 2010 +0100
pygi-convert.sh: add some Pango special cases
pygi-convert.sh | 3 +++
1 file changed, 3 insertions(+)
commit 57e42bf4230d1aa20a47e3b0df2e509602333892
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Nov 27 19:51:38 2010 +0100
Override TextIter (begins|ends|toggles)_tag()
Make the tag argument optional.
gi/overrides/Gtk.py | 9 +++++++++
tests/test_overrides.py | 17 +++++++++++++++++
2 files changed, 26 insertions(+)
commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Nov 27 19:32:48 2010 +0100
Override TextBuffer.set_text() to make length optional
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 11 ++++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
commit bf55dc862755a57bb1b998702d284fc460e88a30
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Nov 27 16:46:40 2010 +0100
Override TextBuffer.create_mark()
Override create_mark to make the left_gravity argument optional
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 3 +++
2 files changed, 6 insertions(+)
commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sat Nov 27 16:10:33 2010 +0100
Fix TextBuffer.get_selection_bounds() override
Fix the override and add unit test
gi/overrides/Gtk.py | 8 +++++---
tests/test_overrides.py | 7 +++++++
2 files changed, 12 insertions(+), 3 deletions(-)
commit 0cd717e3926276540b9145e58a4a3368136b00de
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Nov 22 18:35:09 2010 -0500
[gi] fix ActionGroup constructor to allow other keyword properties
to be set
gi/overrides/Gtk.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 226777cdb70fc72d206664ffd8b6737f7239d23f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Nov 22 18:32:28 2010 -0500
[gi] require the name parameter when creatin a Gtk.ActionGroup
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 2 ++
2 files changed, 5 insertions(+)
commit d0049fa9982d13b3553b05569fb0a227e48b6647
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Nov 21 15:20:58 2010 +0100
Override UIManager.insert_action_group
https://bugzilla.gnome.org/show_bug.cgi?id=635437
gi/overrides/Gtk.py | 3 +++
tests/test_overrides.py | 34 +++++++++++++++++++++-------------
2 files changed, 24 insertions(+), 13 deletions(-)
commit e1db544e46aeed984133896af34b671a6a5547df
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Nov 21 23:03:25 2010 +0100
Override TreeModel.get() to return a tuple
https://bugzilla.gnome.org/show_bug.cgi?id=635466
gi/overrides/Gtk.py | 15 +++++++++++++++
tests/test_overrides.py | 6 ++++++
2 files changed, 21 insertions(+)
commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Nov 21 21:57:40 2010 +0100
Make TreeSelection.get_selected_rows compatible with PyGtk
https://bugzilla.gnome.org/show_bug.cgi?id=635464
gi/overrides/Gtk.py | 6 ++++++
1 file changed, 6 insertions(+)
commit 1c537bc67107948c92b51ba6ba749747e84263e2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Nov 22 15:04:00 2010 -0500
[gi] switch to using sequences/tuples when marshalling
cairo_rectangle_int_t
* Upstream pycairo didn't want to add a new wrapper for
cairo_rectangle_int_t
* this works around that issue by using 4 element squences instead
which
should be accepted by pycairo for any API that takes a rect
gi/pygi-foreign-cairo.c | 85
+++++++++++++++++++++++++++++++++++++------------
1 file changed, 64 insertions(+), 21 deletions(-)
commit 4cede8f12321bed6c3b71813a62c01b61853ba69
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Nov 19 16:46:53 2010 -0500
[gi] overrides for treeview Drag and Drop
https://bugzilla.gnome.org/show_bug.cgi?id=627367
gi/overrides/Gdk.py | 7 +++++++
gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
2 files changed, 32 insertions(+)
commit 3fd51bb903724b752f72f49c7cb35652b819791d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Nov 19 16:44:32 2010 -0500
[gi] when encountering guint8 arrays treat them as byte arrays
* In Python 2 this means returning a PyString object
* In Python 3 we return a PyBytes object
https://bugzilla.gnome.org/show_bug.cgi?id=627367
gi/pygi-argument.c | 65
++++++++++++++++++++++++++++++++++++++++++++----------
tests/test_gi.py | 6 +++--
2 files changed, 57 insertions(+), 14 deletions(-)
commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Nov 19 18:19:38 2010 +0100
pygi-convert.sh: Add pynotify -> Notify
pygi-convert.sh | 3 +++
1 file changed, 3 insertions(+)
commit bf03d4db03a7739ac16ddc4e614441557ede554d
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Nov 19 09:08:07 2010 +0100
pygi-convert.sh: Remove sugar specifics, and allow command line
file list
This script is generally useful for converting pygtk2 projects,
not just for
sugar. Remove the sugar specific bits, since they will just cause
errors.
Also allow the user to specify the files to convert as command line
arguments. If not given, all *.py files will be processed.
https://bugzilla.gnome.org/show_bug.cgi?id=635244
pygi-convert.sh | 25 +++++--------------------
1 file changed, 5 insertions(+), 20 deletions(-)
commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri Nov 19 09:00:35 2010 +0100
pygi-convert.sh: Cover Message and Buttons types
https://bugzilla.gnome.org/show_bug.cgi?id=635244
pygi-convert.sh | 2 ++
1 file changed, 2 insertions(+)
commit ef74273c2043944708515e59a654ebe4944b46ff
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Nov 18 13:54:48 2010 -0500
[gi] fix actiongroup test since actions are hashed
* when actions are listed they may not show up in the order they
were entered
since they reside in an unordered hash internally
tests/test_overrides.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
commit 2c25886bf6710568d0646f82dce4770faa44c40d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Nov 17 14:38:09 2010 -0500
[gi] when converting to UTF-8 accept Python Unicode objects as input
(Python 2)
https://bugzilla.gnome.org/show_bug.cgi?id=620579
gi/pygi-argument.c | 14 ++++++++++++--
glib/pyglib-python-compat.h | 5 +++++
tests/test_gi.py | 3 +++
3 files changed, 20 insertions(+), 2 deletions(-)
commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
Author: Damien Caliste <damien.caliste@cea.fr>
Date: Fri Nov 12 10:20:32 2010 +0100
Correct a bug in the freeing of memory in pygi-invoke.c.
When a method with inout arguments is called from Python with
a wrong number of arguments, the system crashs because of an
assertion fail. This patch corrects this behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=634671
gi/pygi-invoke.c | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Nov 10 14:11:56 2010 -0500
update news for release
NEWS | 73
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
Author: Jonathan Matthew <jonathan@d14n.org>
Date: Tue Sep 28 13:44:13 2010 +1000
Implement richcompare for GIBaseInfo
https://bugzilla.gnome.org/show_bug.cgi?id=625033
gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
commit 9ce3edf69824935aeca9e676eaa9782786c22a97
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Nov 9 22:57:41 2010 -0500
[gi] add the rectangle_int_t forign cairo type
* the pycairo maintainer is not being responsive so you will need
the patch at
https://bugs.freedesktop.org/show_bug.cgi?id=31111
* added conditionals, if the api doesn't exist in PyCairo we will
compile
without the forign structs
gi/pygi-foreign-cairo.c | 4 ++++
1 file changed, 4 insertions(+)
commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Oct 25 18:28:36 2010 -0400
add a foreign type for cairo_rectangle_int_t and allow it to be
caller-allocated
* this is needed because Gdk and Gtk switched from returning a
GdkRectangle
to a CairoRectangleInt structure
* the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
is required
for pycairo (however there is currently no patch for python 2)
* added fix for foreign types to allow them to be caller allocated
* in order for a type to be caller allocated it must be able to take
a NULL
and create an empty struct in foreign_struct_from_arg and it must
be able
to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
https://bugzilla.gnome.org/show_bug.cgi?id=627545
gi/pygi-foreign-cairo.c | 57
+++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-invoke.c | 15 +++++++++++--
2 files changed, 70 insertions(+), 2 deletions(-)
commit ce8b948310220288e9eef904eef4ec8f4e24a376
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Nov 9 22:11:51 2010 -0500
[gi] add overrides to Gtk.Editable
gi/overrides/Gtk.py | 17 +++++++++++++++++
tests/test_overrides.py | 12 ++++++++++++
2 files changed, 29 insertions(+)
commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Nov 9 21:12:54 2010 -0500
[gi] handle virtual invokers
* right now we check to see if there is an method with the same name
as the virtual method and assume that is the invoker
* some invokers are named different so we now ask the VFuncInfo if
the vfunc has an invoker
* this is still not completly correct, gi needs to support telling
us which vfuncs must be overridden.
* this keeps the old way of checking vfuncs while adding the edge case
where vfunc is named differently from their invoker
gi/pygi-info.c | 16 ++++++++++++++++
gi/types.py | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
commit 540e9f1f349ba3625e28b7673c92210eb8974098
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Nov 9 12:17:05 2010 -0500
add overrides for the insert* apis of list_store and tree_store
* add set_row to tree_model as convinience method for both list and
tree stores
https://bugzilla.gnome.org/show_bug.cgi?id=634423
gi/overrides/Gtk.py | 80
++++++++++++++++++++++++++++++++++++++-----------
tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
2 files changed, 114 insertions(+), 19 deletions(-)
commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Nov 5 13:56:12 2010 -0400
fix dialogs overrides which were relying on broken inheritance
behavior
gi/overrides/Gtk.py | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
commit 89c104d17d79d7b935cd76101cba19d49390f7be
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Nov 4 12:00:14 2010 -0400
Add a overrides registry so we can refrence overrides inside the
module
* Overrides have a reentrancy issue when doing inheritance. If an
override
inherits from another override down the stack it won't see the
override
because the module is not finished loading and will inherit from the
non-overriden object instead. This causes type errors later.
* By adding the overrides to a registry outside of the module we
can order
registration and make the override available as soon as the class
is parsed,
not when the whole module is parsed.
https://bugzilla.gnome.org/show_bug.cgi?id=633347
gi/module.py | 12 ++++++++++-
gi/overrides/GIMarshallingTests.py | 2 +-
gi/overrides/Gdk.py | 2 +-
gi/overrides/Gtk.py | 2 +-
gi/overrides/__init__.py | 43
++++++++++++++++++++++++++++++++++++++
gi/types.py | 8 -------
tests/test_overrides.py | 27 ++++++++++++++++++++++++
7 files changed, 84 insertions(+), 12 deletions(-)
commit 878b8f630acd2146bee364054acd45cd33eea37a
Merge: cdacaa9 e317838
Author: John Stowers <john.stowers@gmail.com>
Date: Fri Nov 5 11:40:22 2010 +1300
Merge remote branch 'dieterv/setup-fixes-for-merge'
commit e317838178fba5f0590fb8bd323f49602d564b53
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Thu Nov 4 11:16:43 2010 +0100
setup.py: ease maintenance burden for tests installation
setup.py | 23 +++--------------------
1 file changed, 3 insertions(+), 20 deletions(-)
commit cdacaa9572893796e0f3aa3730d0191911cb29ee
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Nov 3 09:51:09 2010 -0400
fix inheritence issues in overrides
gi/overrides/Gtk.py | 79
+++++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 39 deletions(-)
commit 3d5955767d81f45e796ab2af0707533375681774
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:38:56 2010 +0100
tests: add runtests-windows.py script
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
tests/runtests-windows.py | 47
+++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:35:52 2010 +0100
pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
postinstall as pkg-config on windows figures out the correct prefix
at runtime
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
pygobject_postinstall.py | 26 +++-----------------------
1 file changed, 3 insertions(+), 23 deletions(-)
commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:34:38 2010 +0100
pygobject_postinstall.py: remove shortcut creation
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
pygobject_postinstall.py | 35 +----------------------------------
1 file changed, 1 insertion(+), 34 deletions(-)
commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:31:14 2010 +0100
setup.py: formatting cleanup, makes things readable
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 56 ++++++++++++++++++++++++++------------------------------
1 file changed, 26 insertions(+), 30 deletions(-)
commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:28:36 2010 +0100
setup.py: build and install tests
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 61
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:26:59 2010 +0100
setup.py: install documentation when available on build system
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 3 +++
1 file changed, 3 insertions(+)
commit 78533d851ee1314686f18cfa793613a9cf7d6686
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:25:56 2010 +0100
setup.py: install pygobject-codegen script
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
commit ad40688df533dda0b1f7be8ea37c542b8796a26b
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:24:45 2010 +0100
setup.py: install fixxref.py script
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 3 +++
1 file changed, 3 insertions(+)
commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:23:05 2010 +0100
setup.py: rearrange constants
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
commit 7d353d04892de67265bf693f591f37fd393de639
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:18:11 2010 +0100
setup.py: check python version and pkgconig availability before
anything else
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
commit 286364ed39953e942e24d5911519bcac2f90975a
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:05:59 2010 +0100
setup.py: simplify sys.platform != 'win32' detection and error
reporting
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 29 +++++++++--------------------
1 file changed, 9 insertions(+), 20 deletions(-)
commit 3f70f92904c123e6cc40929c0affd3f75d061828
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 09:02:30 2010 +0100
setup.py: rearrange imports
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
setup.py | 31 ++++++++++++++++++++++---------
1 file changed, 22 insertions(+), 9 deletions(-)
commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 08:58:00 2010 +0100
README.win32: update build instructions
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
README.win32 | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 07:59:18 2010 +0100
dsextras.py: formatting cleanup, makes things readable
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
dsextras.py | 148
++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 93 insertions(+), 55 deletions(-)
commit d03503d0412d173acb383926ab3c2d640dad3e3f
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 07:00:40 2010 +0100
dsextras.py: add ggc4 to MSVC compatible struct packing comment
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
dsextras.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 8c62968e9f8467e24870b8c4f61112676eef4630
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 06:56:32 2010 +0100
dsextras.py: use the pkgc_ functions instead of repeating pgk-config
incantations all over the place
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
dsextras.py | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
commit b98277afc24886bbda400e0ad360992bffa77b7c
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 06:49:48 2010 +0100
dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
dsextras.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit a565558652ebc3fa49d7aea40d399b06bbe376c4
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 06:45:05 2010 +0100
dsextras.py: PEP8: Comparisons to singletons like None should always
be done with 'is' or 'is not', never the equality operators.
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
dsextras.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 06:44:21 2010 +0100
dsextras.py: use True/False instead of 1/0
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
dsextras.py | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
commit 819a21cea831c3892040390e9446b78a91d1cbbe
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 06:28:04 2010 +0100
dsextras.py: rearrange imports
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
dsextras.py | 58
+++++++++++++++++++++++++++++++---------------------------
1 file changed, 31 insertions(+), 27 deletions(-)
commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
Author: Dieter Verfaillie <dieterv@optionexplicit.be>
Date: Wed Nov 3 06:16:21 2010 +0100
Add distutils generated build/dist directories and eclipse
configuration files to .gitignore
Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
.gitignore | 7 +++++++
1 file changed, 7 insertions(+)
commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Oct 28 15:32:28 2010 -0400
[gi] add tests for calling dir on a dynamic module
tests/test_gi.py | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
Author: Deepankar Sharma <deepankar.sharma@gmail.com>
Date: Wed Oct 27 18:28:11 2010 -0400
[gi] dir() now works for modules
https://bugzilla.gnome.org/show_bug.cgi?id=625093
gi/module.py | 8 ++++++++
1 file changed, 8 insertions(+)
commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
Author: Simón Pena <spenap@gmail.com>
Date: Mon Sep 20 23:10:14 2010 +0200
Don't check the inner type when comparing gpointers
When using pyg_pointer_richcompare to compare two objects,
don't check their inner types. As we can't compare their private
fields, nor get a proper compare function, we can consider them
gpointers and compare them that way.
https://bugzilla.gnome.org/show_bug.cgi?id=629552
gobject/pygpointer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Oct 28 14:21:12 2010 -0400
Release GIL when calling into C functions
Author: Daniel P. Berrange <dan@berrange.com>
https://bugzilla.gnome.org/show_bug.cgi?id=629042
gi/pygi-invoke.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
commit 783e2e351ec7470bda6b441e51f387dd61543c4b
Author: José Aliste <jaliste@src.gnome.org>
Date: Fri Oct 15 14:30:10 2010 -0300
_gi.Repository : Implement missing info bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=632185
gi/pygi-info.c | 91
+++++++++++++++++++++++++++++++++++++++++++++++++---------
gi/pygi-info.h | 7 +++++
2 files changed, 84 insertions(+), 14 deletions(-)
commit 2ca897273f52ae38f5e06e72c773a048e199eee5
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Oct 28 13:49:15 2010 -0400
include Python.h so that PY_VERSION_HEX gets defined
gi/pygi-foreign-cairo.c | 1 +
1 file changed, 1 insertion(+)
commit 8b28b1d713df33931e255600ab98feda37a8e02a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Oct 28 13:47:34 2010 -0400
[gi] make overrides work for python 3.x protocols and alias for
python 2.x
gi/overrides/Gtk.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
commit 3c09710d2f68af9c16ce39fd25656147656a486a
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:24:24 2010 +0200
Override Gtk.Widget.translate_coordinates to not return success value
gi/overrides/Gtk.py | 11 +++++++++++
1 file changed, 11 insertions(+)
commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:22:36 2010 +0200
Override Gtk.TreeViewColumn.cell_get_position to not return success
value
gi/overrides/Gtk.py | 5 +++++
1 file changed, 5 insertions(+)
commit 6679d39ace06294e98f9d6fc911ed6fb27656010
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:21:36 2010 +0200
Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
not return success value
gi/overrides/Gtk.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 80b1b266fa68a5c67106871502017166628f71e4
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:20:38 2010 +0200
Override Gtk.TreeSortable.get_sort_column_id to not return success
value
gi/overrides/Gtk.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:19:20 2010 +0200
Override forward_search and backward_search of Gtk.TextIter to not
return success value
gi/overrides/Gtk.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:18:09 2010 +0200
Override Gtk.TextBuffer.get_selection_bounds to not return success
value
gi/overrides/Gtk.py | 5 +++++
1 file changed, 5 insertions(+)
commit da6d87460b9392c29d025a7eed9249fb604204bc
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:17:04 2010 +0200
Override Gtk.RecentInfo.get_application_info to not return success
value
gi/overrides/Gtk.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:16:21 2010 +0200
Override Gtk.IMContext.get_surrounding to not return success value
gi/overrides/Gtk.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit b85b445f15421209c0b4adf676d7c8218d6437c5
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:15:24 2010 +0200
Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
of Gtk.IconView to not return success value
gi/overrides/Gtk.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
commit 684d716192d58c972083e579e909bcd97f8a5025
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:13:47 2010 +0200
Override Gtk.Container.get_focus_chain to not return success value
gi/overrides/Gtk.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 23 14:12:44 2010 +0200
Override Gtk.ComboBox.get_active_iter to not return success value
gi/overrides/Gtk.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit b483852904468722230903989e3451c7c6a24c0f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Oct 12 12:18:33 2010 -0400
[gi] make parameter check less strict when dealing with GValue params
* Some GValue API can store a pointer to a python object for later
use but our parameter checking was too strict to allow this
* Add pyg_type_from_object_strict API which takes a strict boolean and
returns PY_TYPE_OBJECT if no other GType can be found
* Since we don't have enough info to genrically check GValue
parameters
use the less strict type guessing when encountering a GValue param
* Other API stays the same and continues to do strict testing
https://bugzilla.gnome.org/show_bug.cgi?id=622987
gi/pygi-argument.c | 17 ++++++---------
gobject/gobjectmodule.c | 4 ++--
gobject/pygobject-private.h | 1 +
gobject/pygobject.h | 2 ++
gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
tests/test_gi.py | 1 -
tests/test_overrides.py | 50
+++++++++++++++++++++++++++++++++++++++++----
7 files changed, 90 insertions(+), 22 deletions(-)
commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
Author: John Stowers <john.stowers@gmail.com>
Date: Fri Oct 22 13:28:31 2010 +1300
Shortcut removal is not needed on post-uninstall
pygobject_postinstall.py | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
Author: John Stowers <john.stowers@gmail.com>
Date: Thu Oct 21 13:25:35 2010 +1300
Disable shortcut creation in windows installer
pygobject_postinstall.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a3d6212b0abccef58f05d454c091936776413d98
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Oct 7 11:43:27 2010 -0400
overrides for all subclasses of dialog
https://bugzilla.gnome.org/show_bug.cgi?id=631634
gi/overrides/Gtk.py | 94
+++++++++++++++++++++++++++++++++++++++++++++----
tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
2 files changed, 151 insertions(+), 7 deletions(-)
commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Thu Oct 7 19:37:53 2010 +0200
Make TreeModel behave like in GTK-2.x
Moved stuff from __getitem__ to get_iter.
Added TreePath.__cmp__
get_iter_from_string throws ValueError.
iterchildren() does not return None.
Adjusted tests to new TreeModel and added TestGtk.test_tree_model
method
Added support for negative row and column indices
Use rich comparison methods instead of __cmp__
Added TreeModel.__bool__/__nonzero__
Raise Error if tree path string is empty
https://bugzilla.gnome.org/show_bug.cgi?id=631547
gi/overrides/Gtk.py | 195
++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
2 files changed, 349 insertions(+), 6 deletions(-)
commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
Author: John Stowers <john.stowers@gmail.com>
Date: Sat Oct 16 18:59:25 2010 +1300
Correctly build GIO on windows
setup.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
Author: John Stowers <john.stowers@gmail.com>
Date: Sat Oct 16 18:17:28 2010 +1300
Require Python >= 2.6.0 for Windows build
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
Author: John Stowers <john.stowers@gmail.com>
Date: Sat Oct 16 17:41:01 2010 +1300
Fix depreciation warning in dsextras.py
dsextras.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 239ff961778e4e1587404d8a70dfbe8630ab0623
Author: John Stowers <john.stowers@gmail.com>
Date: Sat Oct 16 17:34:50 2010 +1300
Fix build on windows
gi/pygi-foreign.c | 5 ++++-
gi/pygi.h | 5 ++++-
setup.py | 4 ++--
3 files changed, 10 insertions(+), 4 deletions(-)
commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
Author: Michael Culbertson <michael.culbertson@gmail.com>
Date: Sat Oct 16 17:08:11 2010 +1300
Support for GCC4 in Windows distutils build - bug 626548
dsextras.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
Author: John Stowers <john.stowers@gmail.com>
Date: Fri Oct 15 09:39:02 2010 +1300
Remove obsolete comments in dsextras.py
dsextras.py | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
commit b5f383f854fb8f72677828b029589320c59006d1
Author: John Stowers <john.stowers@gmail.com>
Date: Fri Oct 15 09:21:03 2010 +1300
Broken dsextras.py pkg-config check error message
* Fixes bug 631962
dsextras.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e1981da105b574e273ae6500fc6d25caf6af6aae
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 28 15:31:03 2010 -0400
add compat functions for the deprecated PyCObject api
* Moved to using the PyCapsule API for python >= 3
* PyCObject is removed from Python 3.2
* It has also been deprecated in 2.7 but since we use the API in
header files
which are consumed by static binding modules, appling this for
python 2.7
causes crashes unless the modules are recompiled, breaking ABI.
It is safe
to rely on for 2.7 because it will never be removed and there is
talk of
undeprecating it upstream.
* There is no issues with static bindings under python 3 because
they are not
supported yet and most likely never will be.
* Even if PyCObject is brought back in 3.2, PyCapsule is a much
safer API
which adds a poorman's type check when unboxing.
https://bugzilla.gnome.org/show_bug.cgi?id=630844
gi/gimodule.c | 2 +-
gi/pygi.h | 5 ++++-
glib/glibmodule.c | 2 +-
glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
glib/pyglib.c | 6 +++---
glib/pygoptioncontext.c | 2 +-
gobject/gobjectmodule.c | 2 +-
gobject/pygobject.h | 6 ++++++
gobject/pygtype.c | 10 +++++-----
9 files changed, 50 insertions(+), 13 deletions(-)
commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
Author: Damien Caliste <damien.caliste@cea.fr>
Date: Tue Sep 28 12:44:42 2010 +0200
Add __path__ attributes.
Add an attribute __path__ to DynamicModule and IntrospectionModule,
using the path of the typelib.
https://bugzilla.gnome.org/show_bug.cgi?id=630807
gi/module.py | 2 ++
1 file changed, 2 insertions(+)
commit 28f9366c9cb382801bad080864f667c867daa3c7
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date: Sat Oct 9 17:40:40 2010 +0200
Override Gtk.TreeSelection.get_selected to not return success value.
https://bugzilla.gnome.org/show_bug.cgi?id=631765
gi/overrides/Gtk.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
commit f01a7d9e8222663ce52100e061033f2745a5e7af
Author: Vincent Untz <vuntz@gnome.org>
Date: Thu Oct 7 09:42:24 2010 +0200
Make row optional in Gtk.TreeStore/ListStore.append override
https://bugzilla.gnome.org/show_bug.cgi?id=631548
gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Oct 4 12:50:55 2010 -0400
Revert "add compat functions for the deprecated PyCObject api"
This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
I ment to commit another patch and ended up comitting both
gi/gimodule.c | 2 +-
gi/pygi.h | 5 +----
glib/glibmodule.c | 2 +-
glib/pyglib-python-compat.h | 19 -------------------
glib/pyglib.c | 6 +++---
glib/pygoptioncontext.c | 2 +-
gobject/gobjectmodule.c | 2 +-
gobject/pygobject.h | 6 ------
gobject/pygtype.c | 10 +++++-----
9 files changed, 13 insertions(+), 41 deletions(-)
commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Oct 4 12:43:31 2010 -0400
return NULL instead of -1 which fixes crash when introspection is
turned off
* see https://bugzilla.gnome.org/show_bug.cgi?id=631158
gi/pygi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 28 15:31:03 2010 -0400
add compat functions for the deprecated PyCObject api
* Moved to using the PyCapsule API for python >= 2.7
https://bugzilla.gnome.org/show_bug.cgi?id=630844
gi/gimodule.c | 2 +-
gi/pygi.h | 5 ++++-
glib/glibmodule.c | 2 +-
glib/pyglib-python-compat.h | 19 +++++++++++++++++++
glib/pyglib.c | 6 +++---
glib/pygoptioncontext.c | 2 +-
gobject/gobjectmodule.c | 2 +-
gobject/pygobject.h | 6 ++++++
gobject/pygtype.c | 10 +++++-----
9 files changed, 41 insertions(+), 13 deletions(-)
commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 28 15:28:16 2010 -0400
fix commit 7fe83108 which didn't use the compat functions for
string handling
glib/glibmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 28 13:15:57 2010 -0400
Python 3 fixes for dsextras and the python.m4 distribution files
dsextras.py | 13 +++++++------
m4/python.m4 | 4 ++--
2 files changed, 9 insertions(+), 8 deletions(-)
commit 98f69957ee9e3037b0a05a037098e4d2133ca256
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Sep 27 14:01:31 2010 -0400
post release bump to 2.27.0 unstable
* update hacking to fill in some holes in the release instructions
HACKING | 6 ++++--
configure.ac | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
commit fd38010101411e6bc1ca9314657f418de660fa13
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Sep 27 12:03:10 2010 -0400
update NEWS for release
NEWS | 93
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 93 insertions(+)
commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Sun Sep 26 08:37:31 2010 +0200
Pre-release version bump 2.26.0
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
Author: John Stowers <john.stowers@gmail.com>
Date: Fri Sep 24 22:44:03 2010 +1200
Wrap g_get_system_{config,data}_dirs ()
* Also tidy up g_get_{cache,config,data}_dir
to share common code
glib/glibmodule.c | 68
++++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 50 insertions(+), 18 deletions(-)
commit 328aca600714bdca89dfdb531c222ee561ede27e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Sep 24 12:16:22 2010 -0400
fixed make check and make dist
tests/Makefile.am | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
Author: John Stowers <john.stowers@gmail.com>
Date: Fri Sep 24 21:20:53 2010 +1200
Disable GI tests when introspection disabled
tests/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Jul 18 19:35:08 2009 +0200
Wrap g_uri_list_extract_uris. Fixes bug #584431
glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
gobject/__init__.py | 2 +-
tests/Makefile.am | 3 ++-
tests/test_uris.py | 15 +++++++++++++++
4 files changed, 56 insertions(+), 2 deletions(-)
commit d6721a59c294f2471142b8c32de2f647b7084bca
Author: Paul Bolle <pebolle@tiscali.nl>
Date: Thu Sep 23 15:38:40 2010 -0400
Fix a few uses of TRUE and FALSE in the docs
docs/reference/pygio-mount.xml | 5 +++--
docs/reference/pyglib-functions.xml | 18 +++++++++---------
docs/reference/pyglib-maincontext.xml | 12 ++++++------
docs/reference/pyglib-mainloop.xml | 6 +++---
docs/reference/pygobject-functions.xml | 6 +++---
docs/reference/pygobject.xml | 4 ++--
6 files changed, 26 insertions(+), 25 deletions(-)
commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
Author: Damien Caliste <damien.caliste@cea.fr>
Date: Tue Sep 21 17:52:14 2010 +0200
pygi: always free the invocation_state struct
In pygi-invoke.c, the invocation_state struct is never freed
in case of success. Thus, always call _free_invocation_state()
before leaving.
Modify _free_invocation_state to avoid double free in case of
caller-allocated GValue, once as a released argument in the
_process routine and another time in the _free as the special
case. So move all argument releasing code from the _process
routine to the _free one.
Modify the tests for the callback routines to return an integer
value as specified in the GIR file.
Make check is as successful as before (already existing error
related to GVariant is still there).
https://bugzilla.gnome.org/show_bug.cgi?id=630271
gi/pygi-invoke.c | 83
+++++++++++++++++++++---------------------------
tests/test_everything.py | 4 ++-
2 files changed, 40 insertions(+), 47 deletions(-)
commit 9714d765a34e246899f11b6792eea3aecce0b7ec
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Sep 13 16:36:47 2010 +0200
Start implementing something equivalent to g_variant_new
https://bugzilla.gnome.org/show_bug.cgi?id=629367
gi/gimodule.c | 20 +++++++
gi/overrides/GLib.py | 131
++++++++++++++++++++++++++++++++++++++++++---
gi/pygi-foreign-gvariant.c | 2 +-
tests/test_everything.py | 16 ------
tests/test_overrides.py | 25 +++++++++
5 files changed, 170 insertions(+), 24 deletions(-)
commit fc45abdd9b55ab63556798ab0f04715be79dba08
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 23 10:49:36 2010 -0400
fixed typo - missing comma in glib.option module
* https://bugzilla.gnome.org/show_bug.cgi?id=627449
glib/option.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 4ed100f3183c6325dd04461484e877bb7d4131b1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Sep 17 12:08:09 2010 -0400
add checks so we can compile under python 3 by setting PYTHON=python3
* compile for python 3
* disables gio if compiling under python 3.x
* runs only pertinant tests
https://bugzilla.gnome.org/show_bug.cgi?id=615872
configure.ac | 32 +++++++++++++++++++++++++++++---
tests/Makefile.am | 35 ++++++++++++++++++++---------------
tests/runtests.py | 4 ++++
3 files changed, 53 insertions(+), 18 deletions(-)
commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Sep 17 15:50:47 2010 +0200
Rename static methods as functions
In recent gobject-introspection releases, static methods have been
removed and placed as functions in the namespace level. In a future
releases it's planned to become static methods again but for now
let's fix the tests.
tests/test_gi.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
commit 2da8da589644d6125101210712defb1272a8abb1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 13:52:14 2010 -0400
fix a couple of compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=629199
gi/pygi-argument.c | 4 ++--
gi/pygi-struct.c | 2 +-
gobject/gobjectmodule.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 13:55:17 2010 -0400
remove unused code
* we use richcompare now
https://bugzilla.gnome.org/show_bug.cgi?id=629198
gobject/pygtype.c | 9 ---------
1 file changed, 9 deletions(-)
commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Sep 14 14:10:49 2010 -0400
Check the type of the instance object
* in python 2 methods were added to classes as unbound methods and
they would
check the instance type to make sure it was correct
* in python 3 for perfomance reasons methods are added to classes
as simple
functions which treat the instance as an untyped argument so
no checks
are made.
* this patch adds a type check so that the correct errors are
thrown in
python 3 (python 2 this just adds another layer of redundancy should
something change with type checking in the future)
* since GI handles regular args and the instance arg slightly
differently
we had to split out the interface checks in
_pygi_g_type_info_check_object
in order to not duplicate code
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/pygi-argument.c | 182
++++++++++++++++++++++++++++-------------------------
gi/pygi-argument.h | 2 +
gi/pygi-invoke.c | 14 +++++
3 files changed, 112 insertions(+), 86 deletions(-)
commit 5d79498d38b147b66ae72c1481e397160491e8d6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 15 10:26:20 2010 -0400
include the correct pycairo version
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/pygi-foreign-cairo.c | 6 ++++++
1 file changed, 6 insertions(+)
commit b855562e5c0019cd7e4982fe00c467ede9e3926d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 22:16:58 2010 -0400
Use PyMapping_Keys to determine if an object is a dict (py3k fix)
* in Py3k PyMapping_Check returns true for sequences such as strings
and lists. Since we need to get the keys anyway, and it returns
NULL if this is not a dict, this is a much better test, even in
Py2
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/pygi-argument.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 18:44:11 2010 -0400
fix handling of UINT64 and INT64 arguments in py3k
* decode to the right sized C long
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/pygi-argument.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 17:35:10 2010 -0400
properly handle ulongs properties in py3k
* If this is a PyLong object pull use AsUnsignedLong
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gobject/pygtype.c | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Sep 17 12:14:56 2010 +0200
Specify encoding of tests/test_gi.py
tests/test_gi.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 13:24:30 2010 -0400
use actual unicode in the tests on py3k, not the byte representation
https://bugzilla.gnome.org/show_bug.cgi?id=615872
tests/test_gi.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 12:45:21 2010 -0400
s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
methods
* in Py3k the METH_KEYWORDS flag by itself is invalid. A method
must be defined
with both the METH_VARARGS and METH_KEYWORDS flags.
https://bugzilla.gnome.org/show_bug.cgi?id=615872
glib/pygiochannel.c | 30 +++++++++++++++---------------
glib/pygsource.c | 4 ++--
gobject/pygobject.c | 2 +-
3 files changed, 18 insertions(+), 18 deletions(-)
commit b5ee20afa4399c7689fbec8939fa20b927eeb782
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 08:04:40 2010 -0400
fix subclassing PyLong by calling __new__ correctly
https://bugzilla.gnome.org/show_bug.cgi?id=615872
glib/pygspawn.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit a499b2f0d622b671bd154544f66b73f1278e66ed
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 07:56:44 2010 -0400
minor py3k fixups for python modules
* add _basestring and _bytes and _callable wrappers
* use items instead of iteritems and range instead of xrange
fix py3k modules
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/overrides/Gtk.py | 24 ++++++++++++++++--------
glib/option.py | 16 ++++++++++++----
2 files changed, 28 insertions(+), 12 deletions(-)
commit dec9001d26c97949e7b3578086cb35e98075c047
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Sep 9 07:36:04 2010 -0400
minor fixes in tests for py3k compat
* add a _bytes wrapper for API that expects bytes in py3k but str
in py2
* fix some more exception handling using sys.exc_info()[:2]
* use range instead of xrange, items instead of iteritems since py3k
dropped support for the different ways of accessing iterators
- this is less efficient in py2 but we plan to target py3k as the
primary platform
* use list(dict.items()) since py3k only returns iterables which
are not
indexable
* missed some _long wrapping
https://bugzilla.gnome.org/show_bug.cgi?id=615872
tests/compathelper.py | 18 ++++++++++++++++++
tests/test_everything.py | 5 +++--
tests/test_mainloop.py | 3 ++-
tests/test_option.py | 6 ++++--
tests/test_overrides.py | 4 ++--
tests/test_properties.py | 6 +++---
6 files changed, 32 insertions(+), 10 deletions(-)
commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
Author: Colin Walters <walters@verbum.org>
Date: Thu Sep 9 16:25:51 2010 -0400
compilation: Fix syntax error
gi/pygi-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Sep 9 22:17:00 2010 +0200
Add missing file
gi/overrides/GLib.py | 48
++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
commit 306b792ac97a458ddee59fb86d66453495117f3e
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jul 22 13:48:51 2010 +0100
Add override for GLib.Variant.new_tuple
* gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
* gi/overrides/GLib.py: Override Variant.new_tuple and
Variant.get_string
* gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
_pygi_type_import_by_gi_info
* gi/types.py: Never override gobject.TYPE_NONE
* tests/test_everything.py: Add tests for GVariant tuples
https://bugzilla.gnome.org/show_bug.cgi?id=625050
gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
gi/overrides/Makefile.am | 1 +
gi/pygi-type.c | 15 +++++++++------
gi/pygi-type.h | 2 ++
gi/types.py | 1 +
tests/test_everything.py | 9 +++++++++
6 files changed, 60 insertions(+), 6 deletions(-)
commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 8 13:08:48 2010 -0400
fix for changes in the gi test libraries
tests/test_everything.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 8 13:08:07 2010 -0400
Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
gi/overrides/Gtk.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Sep 8 12:35:09 2010 -0400
no need to offset arg positions when is_method is true
* The old GI libraries required we offset arg positions for the
missing
self argument. The new library fixes this so we don't have
to offset
anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=629087
gi/pygi-callbacks.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
commit 8c517de2d278bdef641c72b8f2919a3924290ec1
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Aug 20 14:54:35 2010 +0200
gi: Add support for more property types
https://bugzilla.gnome.org/show_bug.cgi?id=627494
gi/pygi-property.c | 156
++++++++++++++++++++++++++++++++++++-----------
tests/test_everything.py | 34 +++++++++++
2 files changed, 154 insertions(+), 36 deletions(-)
commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Sep 3 12:04:16 2010 -0400
use PyObject_SetAttrString, not PyDict_SetItemString when setting
__gtype__
* When registering a gtype wrapper we used to set tp_dict
directly. This works
in python 2 but python 3 seems to handle attributes in a slightly
different
way where the tp_dict and attr get out of sync. By setting the attr
directly we avoid this issue.
* Note that there are many more places where we set __gtype__
using tp_dict
however for objects which are not instantiated yet we have to
set tp_dict
directly.
* Since this one change fixes a lot of failed tests, for now we
ignore the
other places where we set __gtype__. If we run into more issues
dealing
with __gtype__ we can take a closer look later.
https://bugzilla.gnome.org/show_bug.cgi?id=627878
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gobject/gobjectmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b7bf4269682a3335f5e0a52b46fa721af134d09a
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Sep 1 11:03:40 2010 +0200
Rename GArgument to GIArgument
gi/pygi-argument.c | 52
+++++++++++++++++++++++-----------------------
gi/pygi-argument.h | 10 ++++-----
gi/pygi-closure.c | 34 +++++++++++++++---------------
gi/pygi-foreign-cairo.c | 8 +++----
gi/pygi-foreign-gvariant.c | 4 ++--
gi/pygi-foreign-gvariant.h | 4 ++--
gi/pygi-foreign.c | 12 +++++------
gi/pygi-foreign.h | 8 +++----
gi/pygi-info.c | 8 +++----
gi/pygi-invoke.c | 28 ++++++++++++-------------
gi/pygi-property.c | 4 ++--
gi/pygi.h | 16 +++++++-------
12 files changed, 94 insertions(+), 94 deletions(-)
commit 7197f85c9be2b03636639ac909ca2c3170653509
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Aug 18 10:29:19 2010 -0400
fix up tests so they run in py3k
* add a compat helper that should only be used by tests
* fix long notation to use the compat helper instead
* add parens to print statements
* use compatable try/except pattern
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gobject/propertyhelper.py | 16 +++++++++++-----
tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
tests/test_option.py | 7 ++++++-
tests/test_properties.py | 24 ++++++++++++++----------
tests/test_signal.py | 14 +++++++-------
tests/test_source.py | 4 ++--
6 files changed, 72 insertions(+), 25 deletions(-)
commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
Author: Colin Walters <walters@verbum.org>
Date: Fri Aug 20 10:58:48 2010 -0400
tests: Port to new introspection tests
Everything is renamed "Regress", and both it and GIMarshallingTests
are now in source form, so we compile them.
The scanner now adds "static methods" to objects, structs, and unions,
so update the test code to use those.
In the tests, remove broken (inout) cases - the person writing these
tests misunderstood the semantics of (inout). It's not acceptable for
a C API to mutate e.g. a GSList* passed in, or unref an object.
The invocation code needed to be updated for this - remove some
broken hacks.
https://bugzilla.gnome.org/show_bug.cgi?id=627878
configure.ac | 5 +-
gi/pygi-argument.c | 9 +--
gi/pygi-invoke.c | 147
+++++----------------------------------------
tests/Makefile.am | 42 ++++++++++++-
tests/test_everything.py | 6 +-
tests/test_gi.py | 151
+++++++++--------------------------------------
6 files changed, 93 insertions(+), 267 deletions(-)
commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Aug 20 10:43:58 2010 -0400
we need to specify tp_hash since we overide tp_richcompare
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gobject/pygenum.c | 1 +
gobject/pygflags.c | 1 +
2 files changed, 2 insertions(+)
commit c03e6b482548aee99362356807c804f8834fad2b
Author: John Ehresman <jpe@wingware.com>
Date: Thu Apr 15 17:11:30 2010 -0400
working enum/flags/pid subclasses of long
https://bugzilla.gnome.org/show_bug.cgi?id=615872
glib/pygspawn.c | 7 ++---
gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
gobject/pygflags.c | 76
+++++++++++++++++++++++-------------------------------
3 files changed, 71 insertions(+), 73 deletions(-)
commit 0db676fd2296750a46ba0fb069e472da06ecc53a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Aug 18 11:03:32 2010 -0400
make vfuncs work in py3k
* methods now export __func__ instead of im_func for getting the
function
out of a method closure
* however classes no longer return unbound methods in py3k and instead
return the actual function
* in python 2 we use im_func when getting the function from the
vfunc closure
* in py3k we simply assign vfunc to the function
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/types.py | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Aug 17 15:43:42 2010 -0400
make cairo module compile in py3k
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/Makefile.am | 2 +-
gi/pygi-foreign-cairo.c | 17 +++++++----------
2 files changed, 8 insertions(+), 11 deletions(-)
commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Aug 17 02:33:45 2010 -0400
fix exceptions so they work in python 3.x
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/module.py | 2 +-
gi/types.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 427a3c8053feca35ccd746575760ac8a0ed50a12
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Aug 17 02:24:44 2010 -0400
make the gi module compile under 3.x
* include the compat macros
* use GLIB_MODULE_START/END to define module
* add PyInit__gi to the exported symbols
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/Makefile.am | 2 +-
gi/gimodule.c | 24 +++++++++---------------
2 files changed, 10 insertions(+), 16 deletions(-)
commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Aug 17 02:14:14 2010 -0400
fix up testshelper module so it compiles in python 3.x
* include the compat header
* fix up PyInts to be PYGLIB_Long
* Use PYGLIB_DEFINE_TYPE macros to define module objects
* Use PYGLIB_MODULE_START/END to define modules
https://bugzilla.gnome.org/show_bug.cgi?id=615872
tests/Makefile.am | 2 +-
tests/testhelpermodule.c | 221
++++++-----------------------------------------
2 files changed, 28 insertions(+), 195 deletions(-)
commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Aug 16 21:14:27 2010 -0400
convert to using PYGLIB_DEFINE_TYPE for module objects
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/pygi-boxed.c | 43 ++-----------
gi/pygi-info.c | 171
++++++++++++++++++++-------------------------------
gi/pygi-repository.c | 39 +++---------
gi/pygi-struct.c | 45 +++-----------
4 files changed, 88 insertions(+), 210 deletions(-)
commit 1efa2b12913b194d433c17014bc1077271a6ca32
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Aug 16 13:51:05 2010 -0400
some more p3k PyString and PyInt eradication in GI
* add the glib dir to the includes list in the build
* make sure we include the compat macros
* add GLIB_PyBytes_FromString to compat macros
* add GLIB_PyNumber_Long to compat macros
* use RichCompare instead of Compare
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/Makefile.am | 2 +-
gi/pygi-argument.c | 96
+++++++++++++++++++++++++++------------------
gi/pygi-boxed.c | 1 +
gi/pygi-info.c | 13 +++---
gi/pygi-private.h | 23 +++++++++++
gi/pygi-repository.c | 8 ++--
gi/pygi-struct.c | 1 +
glib/pyglib-python-compat.h | 6 +++
8 files changed, 103 insertions(+), 47 deletions(-)
commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Aug 20 09:28:57 2010 +0200
pyglib: Fix typo (Leo Singer)
https://bugzilla.gnome.org/show_bug.cgi?id=627408
glib/option.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Date: Thu Aug 19 18:45:05 2010 -0300
Add defines for size_t and ssize_t conversion functions
These missing defines cause the resulting module to have unresolved
symbols, rendering it unusable.
https://bugzilla.gnome.org/show_bug.cgi?id=627440
glib/pyglib-python-compat.h | 2 ++
1 file changed, 2 insertions(+)
commit d45c7031876f355e15409f00f3e50e77d18f8f4b
Author: Colin Walters <walters@verbum.org>
Date: Thu Aug 19 17:50:35 2010 -0400
pyglib: Fix a compiler warning
glib/pyglib.c | 1 +
1 file changed, 1 insertion(+)
commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Aug 18 20:36:51 2010 +0200
Don't force gtk 2.0
pygi-convert.sh | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
Author: Steve Frécinaux <code@istique.net>
Date: Tue Aug 17 14:49:30 2010 +0200
Fix some ref leaks in hook_up_vfunc_implementation()
https://bugzilla.gnome.org/show_bug.cgi?id=627143
gi/gimodule.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
commit 18ee0db673c2fa42244ab85950bbf4840edb674b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Aug 12 12:16:31 2010 -0400
handle strings correctly in gio
gio/gappinfo.override | 5 +++++
gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
2 files changed, 40 insertions(+), 7 deletions(-)
commit 45ab0c03110c911b47519941dfd753326891b5e0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Aug 11 16:13:59 2010 -0400
make giomodule compile under py3k
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gio/giomodule.c | 153
+++++++++++++++++++++++++++++---------------------------
1 file changed, 78 insertions(+), 75 deletions(-)
commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Aug 11 16:04:48 2010 -0400
for py3k we need to do some more processing to get bytes from a
unicode string
https://bugzilla.gnome.org/show_bug.cgi?id=615872
gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
1 file changed, 27 insertions(+), 4 deletions(-)
commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Aug 11 15:03:55 2010 -0400
use Bytes instead of Unicode when reading io
https://bugzilla.gnome.org/show_bug.cgi?id=615872
glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)
commit 5824ff98175b749dbcfa72d24b994230b6e05377
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Aug 9 15:16:51 2010 -0400
prefix compat macros with PYGLIB
* refactor from John Ehresman <jpe@wingware.com> py3k branch
* fix up some extranious PyString calls
* remove duplicate macros from pyglib.h that are in
pyglib-python-compat.h
* pygobject.h can't import pyglib-python-compat.h so add codepaths
for both Py3k and legacy code instead of using macros
https://bugzilla.gnome.org/show_bug.cgi?id=615872
glib/glibmodule.c | 48 +++++-----
glib/pygiochannel.c | 46 +++++-----
glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
glib/pyglib.c | 22 ++---
glib/pyglib.h | 14 ---
glib/pygoptioncontext.c | 4 +-
glib/pygsource.c | 16 ++--
glib/pygspawn.c | 32 +++----
gobject/gobjectmodule.c | 216
++++++++++++++++++++++----------------------
gobject/pygboxed.c | 2 +-
gobject/pygenum.c | 84 ++++++++---------
gobject/pygflags.c | 122 ++++++++++++-------------
gobject/pygobject-private.h | 12 +--
gobject/pygobject.c | 46 +++++-----
gobject/pygobject.h | 23 +++++
gobject/pygparamspec.c | 24 ++---
gobject/pygpointer.c | 2 +-
gobject/pygtype.c | 170 +++++++++++++++++-----------------
18 files changed, 563 insertions(+), 473 deletions(-)
commit 231e934cc01d061e81bb60d35127a133cd0e1793
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Aug 16 10:14:04 2010 +0200
Gtk.Button unit tests
https://bugzilla.gnome.org/show_bug.cgi?id=622606
tests/test_overrides.py | 10 ++++++++++
1 file changed, 10 insertions(+)
commit f07cfde377e42686c6b80f56cac62338ee333e61
Author: Johan Dahlin <johan@gnome.org>
Date: Mon Aug 16 10:08:38 2010 +0200
[Gtk] Add overrides for Button
https://bugzilla.gnome.org/show_bug.cgi?id=622606
gi/overrides/Gtk.py | 13 +++++++++++++
1 file changed, 13 insertions(+)
commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Thu Aug 12 16:18:58 2010 +0200
Make Cairo an optional dependency
Add the --enable-cairo configure argument.
https://bugzilla.gnome.org/show_bug.cgi?id=616732
configure.ac | 15 ++++++++++++---
gi/Makefile.am | 20 ++++++++++++--------
2 files changed, 24 insertions(+), 11 deletions(-)
commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Aug 16 09:55:35 2010 +0200
Don't import again PyGObject (John Ralls)
https://bugzilla.gnome.org/show_bug.cgi?id=626996
gi/pygi.h | 1 +
1 file changed, 1 insertion(+)
commit 0dc3656070f496431829c6e8441ca17129c569f8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Aug 9 16:11:55 2010 -0400
move to using richcompare slot instead of compare
https://bugzilla.gnome.org/show_bug.cgi?id=615872
glib/pygiochannel.c | 18 +++++++----
glib/pyglib.c | 85
+++++++++++++++++++++++++++++++++++++++++++++++++
glib/pyglib.h | 3 ++
glib/pygmaincontext.c | 17 ++++++----
glib/pygmainloop.c | 17 ++++++----
glib/pygoptioncontext.c | 18 +++++++----
glib/pygoptiongroup.c | 22 +++++++------
gobject/pygboxed.c | 18 +++++++----
gobject/pygobject.c | 44 ++++++++++++++++++-------
gobject/pygparamspec.c | 19 +++++++----
gobject/pygpointer.c | 17 ++++++----
gobject/pygtype.c | 26 +++++++++++----
12 files changed, 233 insertions(+), 71 deletions(-)
commit b426e531dc53d4b50e572a2da19733479635e662
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Thu Aug 12 18:09:33 2010 +0200
Replace autogen.sh by a newer version
It pulls automake 1.10 or 1.11.
Greatly inspired from GLib's.
https://bugzilla.gnome.org/show_bug.cgi?id=625661
autogen.sh | 506
+++++++------------------------------------------------------
1 file changed, 58 insertions(+), 448 deletions(-)
commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Thu Aug 12 14:11:55 2010 +0200
Fix some warnings
pyglib.c: In function ‘pyglib_gerror_exception_check’:
pyglib.c:362: warning: format not a string literal and no format
arguments
pyglib.c:371: warning: format not a string literal and no format
arguments
gio.override: In function 'pygio_notify_allocate_buffer':
gio.override:144:13: warning: format '%d' expects type 'int', but
argument 3
has type 'gsize'
https://bugzilla.gnome.org/show_bug.cgi?id=625437
gio/gio.override | 2 +-
glib/pyglib.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Thu Aug 12 11:09:37 2010 +0200
Fix caller-allocates emergency free.
In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
must not be
NULL in order to be able caller-allocates. This patch adds those
conditions.
Moreover, the interface info needs to be freed afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=626684
gi/pygi-invoke.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Thu Aug 12 10:46:17 2010 +0200
Remove useless checks.
No need to check for state->arg_infos, state->arg_type_infos, and
state->args_is_auxiliary to be NULL, they are always allocated.
https://bugzilla.gnome.org/show_bug.cgi?id=626684
gi/pygi-invoke.c | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
commit e17be9cd288fee5d7cb174d9d577eb9279044c67
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Aug 10 17:40:16 2010 +0200
Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8be59c37dd57acc51875c7189ca09d728b729013
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Aug 4 13:43:17 2010 +0200
Fix some warnings.
gi/pygi-argument.c | 2 --
gi/pygi-invoke.c | 2 +-
gi/pygi-struct.c | 1 -
3 files changed, 1 insertion(+), 4 deletions(-)
commit 529eca6054e9a7e2267f1529e317c2373932762f
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Fri Jul 30 22:39:40 2010 +0200
Add myself as a maintainer
MAINTAINERS | 4 ++++
1 file changed, 4 insertions(+)
commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jul 30 14:14:16 2010 +0200
Properly allocate boxed structs that are (caller-allocates)
* gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
* gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
are (caller-allocates)
* tests/test_overrides.py: Split the TreeView tests
https://bugzilla.gnome.org/show_bug.cgi?id=625653
gi/pygi-boxed.c | 50
++++++++++++++++++++++++++++++++-----------------
gi/pygi-boxed.h | 10 ++++++----
gi/pygi-invoke.c | 16 ++++++----------
tests/test_overrides.py | 39 +++++++++++++++++++-------------------
4 files changed, 64 insertions(+), 51 deletions(-)
commit 99c7322898c00a576c7319ea0a7c808446253133
Author: Toms Baugis <toms.baugis@gmail.com>
Date: Fri Jul 30 15:44:21 2010 +0200
override gdk.Event to return attribute from the proper event object
https://bugzilla.gnome.org/show_bug.cgi?id=620593
gi/overrides/Gdk.py | 48
++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-invoke.c | 4 ----
tests/test_overrides.py | 10 ++++++++++
3 files changed, 58 insertions(+), 4 deletions(-)
commit 55814e722c2ae11310f346790c9221e4fad92b50
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 30 06:30:48 2010 -0400
check if z# needs an int or Py_ssize_t
https://bugzilla.gnome.org/show_bug.cgi?id=625438
gio/gio.override | 5 +++++
1 file changed, 5 insertions(+)
commit 477315465d0a6d84b51e146e86e254873bc564ff
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 30 06:43:06 2010 -0400
make sure we parse parameters to python object vars not glib vars
* py_flags was already set up but due to a typo &flags was being
passed
instead
https://bugzilla.gnome.org/show_bug.cgi?id=625438
gio/gfile.override | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit faa7d4eece7ddb698725098970c2478a3b45c4d5
Author: Paul Bolle <pebolle@tiscali.nl>
Date: Fri Jul 30 10:56:01 2010 +0200
Make an example and a demo work out of the box
cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
regarding pygtk to work out of the box. So add those.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
https://bugzilla.gnome.org/show_bug.cgi?id=625638
demos/gtk-demo/gtk-demo.py | 2 ++
examples/cairo-demo.py | 2 ++
2 files changed, 4 insertions(+)
commit c9da5782e6c633d9af43ee85075e9ee65db09780
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jul 9 13:14:42 2010 -0400
make sure caller allocated structs are freed when they go out of scope
* Move struct transfer checks from pygi-arguments to pygi-invoke
* add better warning if an unknown struct is fully transfered
* only free GValues we create in the invoke cleanup. All other
structs
get cleaned up when they go out of scope in python
* Fixes issues with caller allocated treeiters getting freed to early
* this is a fix to crashes in the current test suite when API's
returning
TreeIters were annotated as out caller-allocates so no new tests
are needed
https://bugzilla.gnome.org/show_bug.cgi?id=623969
gi/pygi-argument.c | 13 +++++--------
gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
2 files changed, 45 insertions(+), 14 deletions(-)
commit e0a85305cd107aae5902e524afd074cd8c329927
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jul 30 10:35:33 2010 +0200
Revert "override gdk.Event to return attribute from the proper
event object."
Pushed by mistake, we still need testcases
This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
gi/overrides/Gdk.py | 44 --------------------------------------------
1 file changed, 44 deletions(-)
commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
Author: Paul Bolle <pebolle@tiscali.nl>
Date: Thu Jul 29 22:55:28 2010 +0200
PyGI: properly quit cairo-demo
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
https://bugzilla.gnome.org/show_bug.cgi?id=625619
examples/cairo-demo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e7bb3954880568884ca66e7751ede689dc2f24f6
Author: Toms Baugis <toms.baugis@gmail.com>
Date: Tue Jul 27 21:37:16 2010 +0200
override gdk.Event to return attribute from the proper event object.
https://bugzilla.gnome.org/show_bug.cgi?id=620593
gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Wed Jul 28 14:56:00 2010 +0200
Clean and improve the test infrastructure
To run select tests, use for instance:
% make check TEST_NAMES='test_everything test_gi.TestConstant'
It works with check.gdb and check.valgrind too.
https://bugzilla.gnome.org/show_bug.cgi?id=625488
Makefile.am | 5 ----
tests/Makefile.am | 65
+++++++++++++++++++++-------------------------
tests/common.py | 47 ---------------------------------
tests/runtests.py | 43 ++++++++++++------------------
tests/test_gcancellable.py | 4 +--
tests/test_gi.py | 3 ---
tests/test_gicon.py | 3 ++-
tests/test_gio.py | 3 ++-
tests/test_gobject.py | 3 ++-
tests/test_gresolver.py | 4 +--
tests/test_gsocket.py | 4 ++-
tests/test_interface.py | 6 ++++-
tests/test_mainloop.py | 11 +++-----
tests/test_signal.py | 4 ++-
tests/test_source.py | 4 +--
tests/test_subprocess.py | 5 +---
tests/test_thread.py | 5 +++-
tests/test_unknown.py | 5 +++-
18 files changed, 82 insertions(+), 142 deletions(-)
commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jul 29 12:34:19 2010 +0200
Add some more transformations to pygi-convert.sh
pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
commit de519adcd21947a0aef7932cdecb78cef200c85e
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jul 28 14:42:36 2010 +0200
Adapt to API changes: g_irepository_enumerate_versions
gi/importer.py | 2 +-
gi/pygi-repository.c | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jul 28 12:26:48 2010 +0200
Add GValue<->GArgument marshalling for some more types
gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
commit ddffa70c3ee0e837070f390632bc692430f79171
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jul 28 11:10:42 2010 +0200
Chain up with the non-introspection implementation for properties
if needed
gobject/pygobject.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit 045433a1f8167205dc8eae613dcb8835d02c8916
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jul 28 10:59:49 2010 +0200
Improve error reporting for missing attributes in introspection
modules
gi/module.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jul 27 21:52:49 2010 +0200
Implement getting and setting properties using introspection
information.
This allows us to use information not present in GObject such as
transfer and element types.
https://bugzilla.gnome.org/show_bug.cgi?id=620808
gi/Makefile.am | 2 +
gi/gimodule.c | 2 +
gi/pygi-argument.c | 2 +
gi/pygi-private.h | 1 +
gi/pygi-property.c | 226
+++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-property.h | 39 ++++++++
gi/pygi.h | 41 +++++++++
gobject/pygobject.c | 9 ++
tests/test_everything.py | 19 ++++
9 files changed, 341 insertions(+)
commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jul 27 21:32:41 2010 +0200
Readd Gdk.Rectangle override for Gtk-2.0
gi/overrides/Gdk.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jul 27 18:25:27 2010 +0200
Allow specifying a version when loading a typelib
* gi/importer.py: Defer loading the typelib until first usage.
* gi/module.py: Load the typelib in IntrospectionModule().
* gi/overrides/*.py: Adapt to API change.
* gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
g_irepository_get_version.
gi/importer.py | 26 ++++++-----------
gi/module.py | 58
+++++++++++++++++++++++++-------------
gi/overrides/GIMarshallingTests.py | 2 +-
gi/overrides/Gdk.py | 2 +-
gi/overrides/Gtk.py | 2 +-
gi/pygi-repository.c | 56
+++++++++++++++++++++++++++++++++++-
6 files changed, 105 insertions(+), 41 deletions(-)
commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
Author: Jonathan Matthew <jonathan@d14n.org>
Date: Tue Jul 13 20:27:28 2010 +1000
treat GFreeFunc as equivalent to GDestroyNotify when scanning
callbacks
https://bugzilla.gnome.org/show_bug.cgi?id=624232
gi/pygi-callbacks.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
Author: Simon van der Linden <svdlinden@gnome.org>
Date: Mon Jul 26 17:00:23 2010 +0200
Don't use == to compare doubles, use <= and =>.
This avoids inequality due to small precisions difference.
https://bugzilla.gnome.org/show_bug.cgi?id=625326
tests/testhelpermodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jul 8 11:36:12 2010 +0200
Allow passing ints as enum args
https://bugzilla.gnome.org/show_bug.cgi?id=622584
gi/pygi-argument.c | 23 +++++++++++++++++++++--
tests/test_gi.py | 6 ++++--
2 files changed, 25 insertions(+), 4 deletions(-)
commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Sun Jul 25 17:30:40 2010 +0100
Make error message less ambiguous
https://bugzilla.gnome.org/show_bug.cgi?id=625095
gi/pygi-callbacks.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jun 24 10:07:12 2010 -0400
fix passing in type names as a GType and add gtype unit tests
* a simple call to pyg_type_from_object covers all the bases
* added unit tests to check for correct GType value passing
* fixed up tree override tests to also check different ways of
passing GTypes
https://bugzilla.gnome.org/show_bug.cgi?id=622605
gi/pygi-argument.c | 8 +-------
tests/test_everything.py | 27 +++++++++++++++++++++++++++
tests/test_overrides.py | 6 ++----
3 files changed, 30 insertions(+), 11 deletions(-)
commit 8becd32fc042445d62b885bac12dac326b2dc1fa
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jul 26 11:54:47 2010 +0200
Increase a bit verbosity of tests so people know which test failed
tests/runtests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jul 15 15:17:53 2010 +0200
Actually add the files for GVariant foreign structs
gi/pygi-foreign-gvariant.c | 63
++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jul 15 13:31:33 2010 +0200
Add foreign struct support for GVariant
* gi/pygi-invoke.c: Wrap foreign structs returned by constructors
* gi/pygi-foreign.c: Register foreign support for GVariant
* gi/pygi-struct.c: properly release foreign structs
* gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
API changes
* tests/test_everything.py: Add basic tests for GVariant
https://bugzilla.gnome.org/show_bug.cgi?id=619501
gi/Makefile.am | 2 +
gi/pygi-argument.c | 2 +-
gi/pygi-foreign-cairo.c | 16 +++----
gi/pygi-foreign.c | 107
+++++++++++++++++++++++++++++------------------
gi/pygi-foreign.h | 7 ++--
gi/pygi-invoke.c | 18 ++++----
gi/pygi-struct.c | 10 ++++-
gi/pygi.h | 9 ++--
tests/test_everything.py | 8 ++++
9 files changed, 110 insertions(+), 69 deletions(-)
commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jul 12 11:19:06 2010 +0200
Add HACKING to MANIFEST.in
MANIFEST.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 40bf08ff001b119c7daf709197005ef6480216c5
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jul 12 11:18:04 2010 +0200
Add HACKING file with instructions for releasing
HACKING | 14 ++++++++++++++
1 file changed, 14 insertions(+)
commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jul 12 11:09:58 2010 +0200
Post release version bump to 2.21.6
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 42a5a0897b38156ae010c396ea254abf502f35de
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jul 12 11:00:29 2010 +0200
Update NEWS and release PyGObject-2.21.5
NEWS | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jul 12 11:00:20 2010 +0200
Pre-release version bump to 2.21.5
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
Author: Florian Müllner <florian.muellner@gmail.com>
Date: Sat Jul 10 22:35:13 2010 +0200
Shut up some compiler warnings
Remove unused variables, make sure variables are properly initialized.
https://bugzilla.gnome.org/show_bug.cgi?id=624066
gi/pygi-callbacks.c | 1 -
gi/pygi-closure.c | 2 +-
gi/pygi-invoke.c | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
Date: Mon Jul 12 10:31:42 2010 +0200
Adjust to API break in GObject-Introspection
As of commit 5cb925b20, many type_tags for standard C types have
been removed - namely machine-dependent integer types and derived
types (size_t, time_t).
Most removals are just synonyms of other types, so their removal
should not have too much impact, with the exception of time_t,
which was translated to a native datetime object before.
Also remove time_t tests (Tomeu Vizoso).
https://bugzilla.gnome.org/show_bug.cgi?id=624065
configure.ac | 2 +-
gi/importer.py | 7 +--
gi/pygi-argument.c | 146
-----------------------------------------------------
gi/pygi-closure.c | 10 ----
gi/pygi-info.c | 37 --------------
tests/test_gi.py | 21 --------
6 files changed, 5 insertions(+), 218 deletions(-)
commit 27a417c71f8c122e46c7472663bb25c17413f103
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jul 8 16:01:25 2010 -0400
pass in the demo app so demos can use utility methods like requesting
file paths
demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
demos/gtk-demo/demos/assistant.py | 2 +-
demos/gtk-demo/demos/builder.py | 14 ++++++++++----
demos/gtk-demo/demos/button_box.py | 2 +-
demos/gtk-demo/demos/clipboard.py | 8 +-------
demos/gtk-demo/demos/colorselector.py | 2 +-
demos/gtk-demo/demos/combobox.py | 8 +++++---
demos/gtk-demo/demos/drawingarea.py | 2 +-
demos/gtk-demo/demos/test.py | 2 +-
demos/gtk-demo/gtk-demo.py | 6 +++---
12 files changed, 37 insertions(+), 26 deletions(-)
commit e7daae919c2c6ae35d3927f0006252aacd49ea86
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jul 8 15:38:07 2010 -0400
demo fixes to keep up with Gtk+
* treeiter changes to reflect caller-allocate annotations
* fix some flag handling
* use get_indicies_with_depth instead of get_indices for paths
demos/gtk-demo/demos/appwindow.py | 10 +++++++---
demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
demos/gtk-demo/gtk-demo.py | 13 +++++--------
3 files changed, 24 insertions(+), 23 deletions(-)
commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jul 8 12:54:43 2010 -0400
override test fixes for new GTK+ annotations
tests/test_overrides.py | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
commit 7a400f8139b70ddfe7c949035e0851689951c647
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Thu Jul 8 12:42:25 2010 +0200
Fix warning.
gi/pygi-argument.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 39fd0a85a3de06b1b877d1125f91036409886373
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jul 7 15:48:36 2010 -0400
fix up treeiter usage due to caller-allocates annotations in gtk+
* we still don't pass tests because the caller-allocates code path
does not
handle the case where the parameter is followed by a regular
in parameter
gi/overrides/Gtk.py | 7 +++----
tests/test_overrides.py | 21 +++++++++++----------
2 files changed, 14 insertions(+), 14 deletions(-)
commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jul 6 17:50:10 2010 -0400
add entry completion demo
demos/gtk-demo/demos/Entry/entry_completion.py | 87
++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jul 6 17:49:18 2010 -0400
string changes
demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jul 6 17:27:04 2010 -0400
add the Entry demo directory and the entry_buffer demo
demos/gtk-demo/demos/Entry/entry_buffer.py | 73
++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
commit f2b1d222120f055bec9339cca55c9cc90f538c00
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jul 6 17:26:03 2010 -0400
fix loading of demo modules to support sub modules
demos/gtk-demo/gtk-demo.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jul 6 15:56:34 2010 -0400
add the ability to have demos in sub catagories
demos/gtk-demo/gtk-demo.py | 76
++++++++++++++++++++++++++++++++--------------
1 file changed, 54 insertions(+), 22 deletions(-)
commit dc2249a3ecf339008351316217191d0551ccc588
Author: Jose Aliste <jaliste@src.gnome.org>
Date: Mon Jul 5 14:36:59 2010 -0400
Add __name__ to DynamicModule class.
Fixes bug #623486.
gi/module.py | 1 +
1 file changed, 1 insertion(+)
commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Mon Jul 5 16:11:07 2010 +0200
Do not override GdkRectangle.
This class was lately removed from gtk+ 3, so there is no need
to override
it anymore.
gi/overrides/Gdk.py | 19 -------------------
1 file changed, 19 deletions(-)
commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date: Tue Jun 29 16:37:36 2010 +0100
Add override for TreeModel implementing __len__()
Closes: bgo#622882
gi/overrides/Gtk.py | 11 +++++++++--
tests/test_overrides.py | 5 +++++
2 files changed, 14 insertions(+), 2 deletions(-)
commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jun 29 11:27:13 2010 +0200
Update NEWS and release PyGObject-2.21.4
NEWS | 27 +++++++++++++++++++++++++--
1 file changed, 25 insertions(+), 2 deletions(-)
commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jun 29 10:55:03 2010 +0200
Remove files from the makefiles
gi/Makefile.am | 4 +---
gobject/Makefile.am | 3 +--
2 files changed, 2 insertions(+), 5 deletions(-)
commit 89827314fd183eac07443c8e9d275ca9d4ce59df
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jun 29 10:27:39 2010 +0200
Build the cairo shim as a python module so the _gi module stops
linking to it
https://bugzilla.gnome.org/show_bug.cgi?id=623021
configure.ac | 2 +
gi/Makefile.am | 38 ++++++++++-----
gi/gimodule.c | 8 +---
gi/pygi-argument.c | 10 +---
gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
gi/pygi-foreign-cairo.h | 55 ---------------------
gi/pygi-foreign.c | 125
++++++++++++++++++++++++++++--------------------
gi/pygi-foreign.h | 31 ++++++------
gi/pygi.h | 40 ++++++++++++++--
9 files changed, 196 insertions(+), 169 deletions(-)
commit a6a90551311bc64f037cbd442e13f70c30060871
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 28 14:20:43 2010 +0200
Remove pygi-external.h
https://bugzilla.gnome.org/show_bug.cgi?id=623021
gi/gimodule.c | 8 +++---
gi/pygi-type.c | 4 +--
gi/pygi-type.h | 2 +-
gi/pygi.h | 54 ++++++++++++++++-----------------------
gobject/Makefile.am | 6 +++++
gobject/pygboxed.c | 2 +-
gobject/pygenum.c | 2 +-
gobject/pygflags.c | 2 +-
gobject/pygi-external.h | 67
-------------------------------------------------
gobject/pygobject.c | 2 +-
gobject/pygpointer.c | 2 +-
11 files changed, 40 insertions(+), 111 deletions(-)
commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jun 25 13:54:57 2010 +0200
Revert "correctly handle floating objects in gtk"
This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
Conflicts:
gi/gimodule.c
tests/test_everything.py
gi/gimodule.c | 13 -------------
tests/test_everything.py | 3 ++-
2 files changed, 2 insertions(+), 14 deletions(-)
commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jun 25 13:49:04 2010 +0200
Make valgrind happy again
* gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
* gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
gi/pygi-argument.c | 1 +
gi/pygi-info.c | 2 ++
gi/pygi-invoke.c | 8 ++++++--
3 files changed, 9 insertions(+), 2 deletions(-)
commit 63afe55906c8637e913783e65b82b540b81bed65
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jun 24 16:13:37 2010 -0400
add drawing area demo
demos/gtk-demo/demos/drawingarea.py | 249
++++++++++++++++++++++++++++++++++++
1 file changed, 249 insertions(+)
commit 8bba5f842393a284367cdd15f3d32a8c7745516a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jun 24 14:11:00 2010 -0400
sort the demo list
demos/gtk-demo/gtk-demo.py | 2 ++
1 file changed, 2 insertions(+)
commit b9da82742701ed276b01dee39626cd71cbef8556
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jun 24 13:56:18 2010 -0400
rename iter to treeiter so we aren't using a python reserved word
demos/gtk-demo/gtk-demo.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Jun 24 13:47:54 2010 -0400
Fixup for change in buffer API
* Part of buffer API dealing with TextIter now marked (out
caller-allocates)
demos/gtk-demo/gtk-demo.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
commit 8d9516a593a515290109401a9db7aa259b5aa35c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 23 17:04:33 2010 -0400
add ListStore, TreeStore and TreeViewColumn APIs
* this is enough to support the gtk-demo.py shell
* TreeStore and ListStore allow passing in as an argument list
of either python or GLib types to the constructor as a description
of the columns in the model
* TreeStore and ListStore override the append method, allowing
the application developer to send in a list of column values
for one row in the model. Unlike the append in C which
just returns an iter that you can then add data to,
this append actualy appends data in one step
* TreeViewColumn overrides the constructor to allow the adding
of attributes and a cell renderer when constructing the
column
https://bugzilla.gnome.org/show_bug.cgi?id=620405
gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 69
+++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 128 insertions(+)
commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Jun 23 14:34:28 2010 -0300
[gi] Add -I../gobject to cflags
Since we're no longer pulling in pygobject cflags,
add this to be able to include pygobject.h
gi/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
commit 53a093198851e3ba5abd1f6c3314737decd401d8
Author: Ignacio Casal Quinteiro <icq@gnome.org>
Date: Wed Jun 23 18:09:19 2010 +0200
Add unit test for add_actions user data.
tests/test_overrides.py | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
Author: Paolo Borelli <pborelli@gnome.org>
Date: Wed Jun 23 18:06:46 2010 +0200
Pass user_data param when adding actions
gi/overrides/Gtk.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 23 12:02:04 2010 -0400
add an exception type to the try/except block
* we should always specify what exception types we are expecting
gi/overrides/Gtk.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit f140a8ebf59347162b67b550bd6f62d2eafad29a
Author: Johan Dahlin <johan@gnome.org>
Date: Wed Jun 23 12:31:51 2010 -0300
Avoid duplicating required versions
Avoid duplicating the version of all required packages.
Also remove cyclic dependency of pygobject
https://bugzilla.gnome.org/show_bug.cgi?id=622503
configure.ac | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 22 15:03:08 2010 -0400
return PyList instead of PyTuple for array, return empty list for
NULL arrays
* returns an empty list when a NULL array (empty array) is encountered
* fix tests to check for lists instead of tuples or None
* test the ability to send in both None and empty list for arrays
and lists
gi/pygi-argument.c | 7 ++--
tests/test_everything.py | 5 ++-
tests/test_gi.py | 84
++++++++++++++++++++++++------------------------
3 files changed, 49 insertions(+), 47 deletions(-)
commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jun 23 15:42:29 2010 +0200
Fix 'make distcheck'
* Makefile.am: put the tests dir to the end
* g*/Makefile.am: build the .so when running make check
* tests/Makefile.am: Don't pass the src dir to runtests.py and
remove (hopefully) unneeded cruft.
* tests/common.py: Don't add the src dir to the python path
* tests/runtests.py: Don't pass the src dir to common.py
Makefile.am | 4 +++-
gi/Makefile.am | 1 +
gio/Makefile.am | 1 +
glib/Makefile.am | 2 +-
gobject/Makefile.am | 1 +
tests/Makefile.am | 17 ++---------------
tests/common.py | 3 +--
tests/runtests.py | 12 +++++-------
8 files changed, 15 insertions(+), 26 deletions(-)
commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jun 23 13:59:14 2010 +0200
Allow building pygobject without introspection support by providing
--disable-introspection to configure.
Makefile.am | 6 +++++-
configure.ac | 15 ++++++++-------
gobject/pygi-external.h | 4 ++--
tests/Makefile.am | 8 ++++++--
tests/runtests.py | 21 +++++++--------------
5 files changed, 28 insertions(+), 26 deletions(-)
commit cc3ea77318ee572673d2a044deca9001366b0f08
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jun 23 12:26:51 2010 +0200
Make sure that sys.argv is a list and not a sequence.
Because Python's optparse will try to do things on it that can
only be done with list.
gi/overrides/Gtk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3d72b8248cc534a689dee5679a729b2fba56c528
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jun 23 12:26:02 2010 +0200
Force loading the GObject typelib so we have available the wrappers
for base classes such as GInitiallyUnowned.
gi/__init__.py | 3 +++
1 file changed, 3 insertions(+)
commit c7c94ef349c30597f2f10d90f74718d678ec7add
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 22 14:45:48 2010 -0400
we shouldn't g_array_free NULL pointers
https://bugzilla.gnome.org/show_bug.cgi?id=622425
gi/pygi-info.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit fb1ee243493616d7a7e4f6924c574db39f5a423d
Merge: acf7b43 5f9cb91
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed Jun 23 12:53:05 2010 +0200
Merge branch 'pygi'
commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 22 15:39:46 2010 -0400
remove unneeded TextIter creation in the tests
tests/test_overrides.py | 3 ---
1 file changed, 3 deletions(-)
commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 21 11:42:12 2010 -0400
add override for TextBuffer
* TextBuffer.create_tag takes vargs which we can't bind yet so
change it
to except a keyword list of properties
* override the insert* methods so the developer does not have to
enter a length
- lengths are already encapsulated by a string in Python
https://bugzilla.gnome.org/show_bug.cgi?id=620583
gi/overrides/Gtk.py | 51
+++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_overrides.py | 25 ++++++++++++++++++++++++
2 files changed, 76 insertions(+)
commit 1d89a88b212c7411ad28e74eda80ae751de92e50
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 22 12:46:39 2010 -0400
fix up some build issues
* configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
autoconf
was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
* tests/Makefile.am: fix check-local target to use EXEC_NAME so
targets like
make check.gdb work
configure.ac | 2 +-
tests/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 4fe0d94c219deb69a2309693202309c53a0e5e69
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 22 11:50:30 2010 -0400
make the overrides file git friendly by appending to __all__ after
each override
* modifying the __all__ line for each override would confuse git as
each override needs to get seperate approval before comitting.
Because of
this commits would not always go in in the same order as they
are created.
Also different people working on the same file would start from
different
commit states. This caused conflicts when patches were merged.
* instead of modifying a single hard coded list we now append to
the list
after each override. This creates distinct blocks of changed text
which will not conflict
gi/overrides/GIMarshallingTests.py | 10 ++++------
gi/overrides/Gdk.py | 8 ++++----
gi/overrides/Gtk.py | 7 +++++--
3 files changed, 13 insertions(+), 12 deletions(-)
commit 49321b934603e1ec69fb04082c63902970907d2b
Author: Paolo Borelli <pborelli@gnome.org>
Date: Sun Jun 20 13:27:34 2010 +0200
Override Dialog constructor and add_buttons method
gi/overrides/Gtk.py | 46
+++++++++++++++++++++++++++++++++++++++++++++-
tests/test_overrides.py | 16 ++++++++++++++++
2 files changed, 61 insertions(+), 1 deletion(-)
commit acf7b43a41ce814f0c57ce609a090826f04771db
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 21 18:17:38 2010 +0200
Post release version bump to 2.21.4
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a7fa8b80406227a06cf18f8675dbc1f471283829
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 21 18:10:32 2010 +0200
Update NEWS and release PyGObject-2.21.3
NEWS | 7 +++++++
1 file changed, 7 insertions(+)
commit 79acac7b86ec52cd3681d94d7f116314c3f00167
Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
Date: Tue Jul 21 16:28:34 2009 +0200
Proper handling of null-ok in virtual methods
https://bugzilla.gnome.org/show_bug.cgi?id=589253
codegen/codegen.py | 2 ++
codegen/reversewrapper.py | 18 +++++++++++++++---
2 files changed, 17 insertions(+), 3 deletions(-)
commit 259a4b08f009aa01451caed20dbb6e68b402da2a
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 21 17:34:54 2010 +0200
Add *~ and *.orig to .gitignore
.gitignore | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 21 17:33:56 2010 +0200
Fall back to use the floating references API in glib if there isn't
a sinkfunc defined.
* tests/*: Add ref counting tests for floating objects
* gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
g_object_ref_sink
or g_object_ref if there isn't a sinkfunc defined. Make sure that
pygobject_sink gets called only once per GObject instance.
https://bugzilla.gnome.org/show_bug.cgi?id=583909
gobject/gobjectmodule.c | 2 -
gobject/pygobject.c | 50 +++++++++++++---------
gobject/pygobject.h | 1 +
tests/Makefile.am | 2 +
tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
tests/test-floating.h | 60 ++++++++++++++++++++++++++
tests/test_gobject.py | 19 ++++++++-
tests/testhelpermodule.c | 109
+++++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 315 insertions(+), 23 deletions(-)
commit e71238a699ae783fd1a59c8a76e3555d8066cf82
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon Jun 21 13:06:13 2010 +0200
Revert "Drop sinkfuncs."
This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
gobject/gobjectmodule.c | 3 ++-
gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
gobject/pygobject.h | 1 -
3 files changed, 36 insertions(+), 10 deletions(-)
commit b2661054d6bde673484eab472e69ca021124528d
Author: Johan Dahlin <johan@gnome.org>
Date: Sun Jun 20 11:09:57 2010 -0300
Merge back pygi
For reasons outlined at:
http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
Makefile.am | 14 +-
configure.ac | 29 +-
demos/gtk-demo/demos/appwindow.py | 411 +++++
demos/gtk-demo/demos/assistant.py | 134 ++
demos/gtk-demo/demos/builder.py | 57 +
demos/gtk-demo/demos/button_box.py | 121 ++
demos/gtk-demo/demos/clipboard.py | 238 +++
demos/gtk-demo/demos/colorselector.py | 121 ++
demos/gtk-demo/demos/combobox.py | 282 ++++
demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
26529 bytes
demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
22219 bytes
demos/gtk-demo/demos/data/demo.ui | 258 ++++
demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
demos/gtk-demo/demos/test.py | 14 +
demos/gtk-demo/gtk-demo.py | 266 ++++
examples/Makefile.am | 2 +-
examples/cairo-demo.py | 121 ++
gi/Makefile.am | 4 +-
gi/demos/gtk-demo/demos/appwindow.py | 411 -----
gi/demos/gtk-demo/demos/assistant.py | 134 --
gi/demos/gtk-demo/demos/builder.py | 57 -
gi/demos/gtk-demo/demos/button_box.py | 121 --
gi/demos/gtk-demo/demos/clipboard.py | 238 ---
gi/demos/gtk-demo/demos/colorselector.py | 121 --
gi/demos/gtk-demo/demos/combobox.py | 282 ----
gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
0 bytes
gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
0 bytes
gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
.../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
gi/demos/gtk-demo/demos/test.py | 14 -
gi/demos/gtk-demo/gtk-demo.py | 266 ----
gi/examples/Makefile.am | 2 -
gi/examples/cairo-demo.py | 121 --
gi/tests/test_everything.py | 270 ----
gi/tests/test_gi.py | 1624
--------------------
gi/tests/test_overrides.py | 132 --
pygi-Makefile.am | 28 -
pygi-configure.ac | 60 -
pygi.doap | 34 -
pygobject.doap | 16 +-
tests/Makefile.am | 23 +-
tests/test_everything.py | 270 ++++
tests/test_gi.py | 1624
++++++++++++++++++++
tests/test_overrides.py | 132 ++
66 files changed, 4124 insertions(+), 4186 deletions(-)
commit 597bd64319d7966045b5b8613ca6fc85668c3f56
Merge: ec8d148 fa91dfd
Author: Johan Dahlin <johan@gnome.org>
Date: Sun Jun 20 10:53:46 2010 -0300
Merge branch 'pygi-merge'
commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
Author: Johan Dahlin <johan@gnome.org>
Date: Sun Jun 20 10:53:36 2010 -0300
Prepare pygi move
.gitignore | 40 -
HACKING | 26 -
Makefile.am | 28 -
autogen.sh | 166 --
configure.ac | 60 -
demos/gtk-demo/demos/appwindow.py | 411 -----
demos/gtk-demo/demos/assistant.py | 134 --
demos/gtk-demo/demos/builder.py | 57 -
demos/gtk-demo/demos/button_box.py | 121 --
demos/gtk-demo/demos/clipboard.py | 238 ---
demos/gtk-demo/demos/colorselector.py | 121 --
demos/gtk-demo/demos/combobox.py | 282 ----
demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
0 bytes
demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
0 bytes
demos/gtk-demo/demos/data/demo.ui | 258 ----
demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
demos/gtk-demo/demos/test.py | 14 -
demos/gtk-demo/gtk-demo.py | 266 ----
examples/Makefile.am | 2 -
examples/cairo-demo.py | 121 --
gi/.gitignore | 40 +
gi/HACKING | 26 +
gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
gi/demos/gtk-demo/demos/assistant.py | 134 ++
gi/demos/gtk-demo/demos/builder.py | 57 +
gi/demos/gtk-demo/demos/button_box.py | 121 ++
gi/demos/gtk-demo/demos/clipboard.py | 238 +++
gi/demos/gtk-demo/demos/colorselector.py | 121 ++
gi/demos/gtk-demo/demos/combobox.py | 282 ++++
gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
26529 bytes
gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
22219 bytes
gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
.../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
gi/demos/gtk-demo/demos/test.py | 14 +
gi/demos/gtk-demo/gtk-demo.py | 266 ++++
gi/examples/Makefile.am | 2 +
gi/examples/cairo-demo.py | 121 ++
gi/tests/Makefile.am | 22 +
gi/tests/runtests.py | 21 +
gi/tests/test_everything.py | 270 ++++
gi/tests/test_gi.py | 1624
++++++++++++++++++++
gi/tests/test_overrides.py | 132 ++
pygi-Makefile.am | 28 +
pygi-configure.ac | 60 +
tests/Makefile.am | 22 -
tests/runtests.py | 21 -
tests/test_everything.py | 270 ----
tests/test_gi.py | 1624
--------------------
tests/test_overrides.py | 132 --
71 files changed, 4248 insertions(+), 4414 deletions(-)
commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
Author: Johan Dahlin <johan@gnome.org>
Date: Sun Jun 20 10:49:55 2010 -0300
[giounix] Make it possible to compile on glib 2.20
gio/unix.override | 2 ++
1 file changed, 2 insertions(+)
commit 606018a2c551d890fc2bb987d99683f777598bda
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 7 16:32:29 2010 -0400
Don't free transfer full struct pointers because we can't do it safely
* Most libraries which are sending back structs as transfer-full
are either annotated incorrectly or should be sending boxed types
* It is much better to throw a warning and leak memory than it is to
call free on an unknown struct pointer. Doing so may cause
a double free
* Specific case is gdk_atom_intern where a GdkAtom is not actually
a pointer
but an integer stuffed into a pointer type
https://bugzilla.gnome.org/show_bug.cgi?id=620898
gi/pygi-argument.c | 9 ++++++++-
gi/pygi-invoke.c | 11 +++++++++--
2 files changed, 17 insertions(+), 3 deletions(-)
commit 433ee2aa029a1482961f478252a06492bd3498e6
Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Tue Jun 15 11:42:28 2010 +0200
Release the lock when potentially invoking Python code.
* gobject/pygobject.c: Release GIL lock when retrieving properties
and when clearing a PyGObject.
https://bugzilla.gnome.org/show_bug.cgi?id=530935
gobject/pygobject.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 14 18:36:57 2010 -0400
add combobox example
demos/gtk-demo/demos/combobox.py | 282
+++++++++++++++++++++++++++++++++++++++
1 file changed, 282 insertions(+)
commit a8668694da59c2dd959c875f13337e64ca22f7e9
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 14 13:43:53 2010 -0400
fix leak in the allow None callbacks patch
gi/pygi-callbacks.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 7 17:12:09 2010 -0400
Allow passing None for callbacks which are annotated allow-none
* Many callbacks are optional parameters yet we were asserting on
Py_None
* We now check to see if allow_none is set when setting up callbacks,
if it is set and py_function == Py_None, we set the closure to NULL
and return
* pygi-invoke.c now checks to see if the closure == NULL when setting
arguments
* if it is NULL there is no reason to set the the destroy notify
handler
so we skip that too
https://bugzilla.gnome.org/show_bug.cgi?id=620906
gi/pygi-callbacks.c | 7 +++++++
gi/pygi-invoke.c | 14 +++++++++++---
tests/test_everything.py | 4 ++++
3 files changed, 22 insertions(+), 3 deletions(-)
commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
Author: Paolo Borelli <pborelli@gnome.org>
Date: Mon Jun 14 19:06:45 2010 +0200
Fix to match latest gtk annotations
demos/gtk-demo/demos/appwindow.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 8 15:03:49 2010 -0400
fix variable member names in Gdk.Color override
* override was using r, g, and b for the red, green, blue components
but
the struct specifies red, green, blue so we need to use those names
https://bugzilla.gnome.org/show_bug.cgi?id=621007
gi/overrides/Gdk.py | 10 +++++-----
tests/test_overrides.py | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jun 10 20:23:13 2010 +0200
Post release version bump to 2.21.3
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jun 10 20:21:13 2010 +0200
Update NEWS and release PyGObject-2.21.2
NEWS | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jun 10 20:09:07 2010 +0200
Remove deleted files from the Makefile.
test_conversion.py
test_enum.py
test_gtype.py
test_subtype.py
tests/Makefile.am | 4 ----
1 file changed, 4 deletions(-)
commit 495a301cb81c5e914bcef905999265604faa27fc
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jun 10 19:39:09 2010 +0200
Add myself to the maintainers list in the README
README | 1 +
1 file changed, 1 insertion(+)
commit 04627488220b4f2a16e11f8982af7866fea9f7eb
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Thu Jun 10 19:24:31 2010 +0200
Drop sinkfuncs.
* use g_object methods to sink floating refs instead of allowing
custom sink functions to be registered
* we now sink inside of pygobject_new_full to handle cases where
a library creates its own gobject via g_object_new and just
needs a python wrapper
- a previous patch had done the sink when creating the gobject,
since it needs to call pygobject_new_full to wrap the object,
this patch handles both cases (e.g. pygobject created object
and externally created gobject)
https://bugzilla.gnome.org/show_bug.cgi?id=583909
gobject/gobjectmodule.c | 3 +--
gobject/pygobject.c | 42 ++++++++----------------------------------
gobject/pygobject.h | 1 +
3 files changed, 10 insertions(+), 36 deletions(-)
commit 07df124dc06cf506634e95d08397f50a2d07fce2
Author: Steve Frécinaux <code@istique.net>
Date: Mon Jun 7 09:47:23 2010 +0200
Make the "wrong argument count" exception more explicit.
Previously we had messages like this one:
TypeError: takes exactly 2 argument(s) (1 given)
With this patch, they become like this:
TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
It makes things much easier to debug when there are several pygi calls
on the same line.
https://bugzilla.gnome.org/show_bug.cgi?id=620804
gi/pygi-invoke.c | 3 ++-
tests/test_everything.py | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
commit b435319fe830a909cc4d414533b3b66574931e24
Author: Steve Frécinaux <code@istique.net>
Date: Mon Jun 7 09:54:06 2010 +0200
Use bash explicitely in the pre-commit hook.
The "builtin" command is not available in all sh flavours, so the
pre-commit hook is going to fail if you use dash or others instead of
bash as your default 'sh' alias.
https://bugzilla.gnome.org/show_bug.cgi?id=620805
pre-commit.hook | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Jun 8 16:55:26 2010 -0400
colorselector demo
demos/gtk-demo/demos/colorselector.py | 121
++++++++++++++++++++++++++++++++++
1 file changed, 121 insertions(+)
commit ec598128de9e90dccab662ed2f5511c8d659e156
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jun 8 15:48:33 2010 +0200
Update PyGObject dependency to 2.21.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jun 8 10:40:39 2010 +0200
Add myself to maintainers
MAINTAINERS | 4 ++++
pygobject.doap | 7 +++++++
2 files changed, 11 insertions(+)
commit 46c91a11d448e5e11d142d3362aff1483226bca4
Author: Colin Walters <walters@verbum.org>
Date: Wed May 5 13:54:27 2010 -0400
Clear error if we failed the import
Otherwise we leave the exception set which causes bizarre problems
later in unrelated code.
https://bugzilla.redhat.com/show_bug.cgi?id=569885
https://bugzilla.gnome.org/show_bug.cgi?id=617796
gobject/pygi-external.h | 2 ++
1 file changed, 2 insertions(+)
commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 7 17:19:30 2010 -0400
fix some typos and add a link to a patch which fixes a FIXME
demos/gtk-demo/demos/clipboard.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit e7fabb5024d94a3166766e5fca740741bc50380a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon Jun 7 16:21:42 2010 -0400
clipboard demo
demos/gtk-demo/demos/clipboard.py | 235
++++++++++++++++++++++++++++++++++++++
1 file changed, 235 insertions(+)
commit e0f1dce5ec58d071759f886697501da6eeea549d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sun Jun 6 13:27:46 2010 -0400
set is_fully_bound to false
demos/gtk-demo/demos/button_box.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jun 5 23:53:36 2010 -0400
new button box demo
demos/gtk-demo/demos/button_box.py | 121
+++++++++++++++++++++++++++++++++++++
1 file changed, 121 insertions(+)
commit e9f5f8a829121e59367bae690442150f144946ad
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jun 5 23:26:03 2010 -0400
set is_fully_bound to True fro builder example
demos/gtk-demo/demos/builder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jun 5 23:24:36 2010 -0400
fix up formatting in demos
demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
demos/gtk-demo/demos/builder.py | 2 +-
3 files changed, 21 insertions(+), 21 deletions(-)
commit ffca02536bafb55e8c3bce31cd992365207429f6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat Jun 5 14:54:47 2010 -0400
add the builder demo
demos/gtk-demo/demos/builder.py | 57
+++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jun 4 17:48:24 2010 -0400
add assistant demo
demos/gtk-demo/demos/assistant.py | 134
++++++++++++++++++++++++++++++++++++++
1 file changed, 134 insertions(+)
commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jun 4 16:56:46 2010 -0400
add formatting rules and copyright notice
demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
commit 03b99692b81631d397ab62dcd263341465bcee88
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Jun 4 16:26:54 2010 -0400
add the gtk-demo app along with a couple of demos
* note there are still a couple of patches in bugzilla that are
needed for this
to run correctly:
- http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
- http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
demos/gtk-demo/demos/appwindow.py | 393
+++++++++++++++++++++++
demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
demos/gtk-demo/demos/test.py | 14 +
demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
18 files changed, 931 insertions(+)
commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jun 4 11:25:08 2010 +0200
Update gobject-introspection dependency to 0.6.14
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jun 4 11:23:41 2010 +0200
Post-release version bump to 0.6.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Fri Jun 4 08:29:42 2010 +0200
Pre-release version bump 0.6.0
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri May 28 10:03:11 2010 -0400
support for caller-allocates annotations for structs
* out caller-allocates parameters expect an already constructed
structure
to be passed in by reference. It is then modified and the caller
uses the
modified value. We support this by using only one level of pointer
indirection.
* Only structs are considered to be caller-allocates parameters
even if
they are marked as such by GI. This is because the GI scanner
isn't smart
enough to correctly guess 100% of the time
* GValues are a special case of a caller-allocates parameter when
cleaning
up (e.g. g_value_unset is called). GValues make no sense in
a scripting
language. Developers should never deal with them.
https://bugzilla.gnome.org/show_bug.cgi?id=620406
gi/pygi-invoke.c | 73
+++++++++++++++++++++++++++++++++++++++++++++---
tests/test_everything.py | 28 +++++++++++++++++++
2 files changed, 97 insertions(+), 4 deletions(-)
commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Jun 2 14:14:16 2010 -0400
don't import gobject directly in the tests
* use from gi.repository import GObject
tests/test_overrides.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue Jun 1 14:28:57 2010 +0200
Wrap C arrays in structs as GArrays before converting to Python
https://bugzilla.gnome.org/show_bug.cgi?id=620247
gi/pygi-info.c | 11 +++++++++++
tests/test_gi.py | 17 +++++++++++++++++
2 files changed, 28 insertions(+)
commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed May 26 13:20:27 2010 +0200
Install pre-commit hook that checks the code changes for style
conformance
autogen.sh | 7 +++++++
pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
commit 1319da5b7f483e48a90b0b7489f77236ba26f479
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Wed May 26 12:19:17 2010 +0200
Apply consistent whitespace formatting with:
astyle -p -d -c -S -U -M60
This won't affect git blame nor git diff if the switch -w is used.
gi/gimodule.c | 138 +++----
gi/pygi-argument.c | 960
++++++++++++++++++++++++------------------------
gi/pygi-boxed.c | 108 +++---
gi/pygi-callbacks.c | 154 ++++----
gi/pygi-callbacks.h | 8 +-
gi/pygi-closure.c | 270 +++++++-------
gi/pygi-closure.h | 18 +-
gi/pygi-foreign-cairo.c | 36 +-
gi/pygi-foreign-cairo.h | 36 +-
gi/pygi-foreign.c | 54 +--
gi/pygi-foreign.h | 10 +-
gi/pygi-info.c | 646 ++++++++++++++++----------------
gi/pygi-invoke.c | 380 +++++++++----------
gi/pygi-repository.c | 114 +++---
gi/pygi-struct.c | 88 ++---
gi/pygi-type.c | 32 +-
gi/pygi.h | 20 +-
gi/pygobject-external.h | 14 +-
18 files changed, 1544 insertions(+), 1542 deletions(-)
commit 6156f15cb15b4c20e975527227135d49207c520a
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue May 25 14:08:51 2010 +0200
Prepend gi.repository to the __module__ attribute of wrapper classes.
https://bugzilla.gnome.org/show_bug.cgi?id=619597
gi/module.py | 4 ++--
tests/test_gi.py | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
commit 097b92983b7a322c58fecb1e691ba6ddf5035548
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Tue May 25 14:17:13 2010 +0200
Correctly identify at creation time:
* if the class is defined in python -> hook up vfuncs
* if the class wraps a type from a .typelib -> set atributes
* else (GLocalFile) -> do nothing
https://bugzilla.gnome.org/show_bug.cgi?id=619604
gi/types.py | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
commit 686e10fcdb108af9758eb025a3447813c3513a93
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Thu Apr 29 10:55:13 2010 +0200
Dont complain if another base has implemented the method
https://bugzilla.gnome.org/show_bug.cgi?id=617153
gi/types.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 9f34d120845d936b04546a5cea599ec67e9181a7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon May 24 16:16:50 2010 -0400
fix up Builder override, add new override methods, and add unit tests
* check for flags when connecting signals now that we get gi
GObject types
* override the add_from_string and add_objects_from string overrides
so
that you don't have to pass in the length of the buffer
* add test that loads objects from strings and connects them to
signals
gi/overrides/Gtk.py | 19 +++++++++++--
tests/test_overrides.py | 72
++++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 86 insertions(+), 5 deletions(-)
commit 1561d2977691f1cb8684f183a2e274c47960d931
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Mon May 24 18:48:10 2010 +0200
Improve handling of subclasses without __gtype_name__
Gives a better message at type registration.
https://bugzilla.gnome.org/show_bug.cgi?id=616849
gi/gimodule.c | 9 +++++++++
tests/test_gi.py | 13 ++++++++++++-
2 files changed, 21 insertions(+), 1 deletion(-)
commit c9d44d4d46c3da3a445000b1db592baa9c378a92
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Fri Apr 30 18:17:50 2010 +0200
Add support for GArray args
https://bugzilla.gnome.org/show_bug.cgi?id=617054
gi/pygi-invoke.c | 11 +++++++----
tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+), 4 deletions(-)
commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon May 24 11:48:16 2010 -0400
check refcounting of callback userdata in unit tests
tests/test_everything.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Sat May 22 15:12:37 2010 +0200
Add support for out args in callbacks
This patch refactors argument marshalling for closures in
preparation for more complete support.
Also fixes a bug in the memory management of user_data args.
https://bugzilla.gnome.org/show_bug.cgi?id=617780
gi/pygi-closure.c | 335
+++++++++++++++++++++++++++++++++++++++++-------------
tests/test_gi.py | 4 +
2 files changed, 263 insertions(+), 76 deletions(-)
commit 0df0c956bb2476392c9d81f0a243a7e84c067166
Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Date: Sun May 23 10:59:27 2010 +0200
If None is passed to an interface which takes an object, convert it to
NULL
* without this patch PyGI treats the None object as a PyGObject
and ends up
extracting garbage data causing a crash
* None's equivalent in C is NULL so we must provide a special case
where we
marshal the None as NULL
https://bugzilla.gnome.org/show_bug.cgi?id=617880
gi/pygi-argument.c | 5 +++++
tests/test_everything.py | 6 ++++++
2 files changed, 11 insertions(+)
commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat May 22 14:06:37 2010 +0200
correctly handle floating objects in gtk
* this is a stopgap so we work with older pygobject libraries
* there is a patch at
https://bugzilla.gnome.org/show_bug.cgi?id=583909
which adds the correct fix to pygobject
* once pygobject accepts the above patch this patch does not need to
be reverted because pygobject_register_sinkfunc becomes a noop
* add tests (Tomeu)
https://bugzilla.gnome.org/show_bug.cgi?id=619007
gi/gimodule.c | 12 ++++++++++++
tests/test_everything.py | 3 +++
2 files changed, 15 insertions(+)
commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat May 22 13:21:30 2010 +0200
Return an empty list when a NULL GList and GSList is returned
* In GTK a GList * and GSList set to NULL is equivilant to empty
list. All
GTK list methods can take a NULL and treat it as an empty list. e.g.
g_list_length(NULL) returns 0
* PyGtk consitently returns empty list when a NULL is returned for
GList or
GSList return
* Many PyGtk apps do this:
for i in range(len(obj.get_list())):
...
* If we were to continue to return None, they would have to add
a check
which is needlessly verbose and isn't very "pythonic"
https://bugzilla.gnome.org/show_bug.cgi?id=619232
gi/pygi-argument.c | 6 ------
tests/test_everything.py | 4 ++--
2 files changed, 2 insertions(+), 8 deletions(-)
commit 71a2148b00dfdda99e0d961ae39b901608724e59
Author: Steve Frécinaux <code@istique.net>
Date: Fri May 21 19:05:03 2010 +0200
Fix warning in configure.
The warning is caused by the use of the construction 'CFLAGS+=' in a
sh version that doesn't understand it (in this case, 'dash').
https://bugzilla.gnome.org/show_bug.cgi?id=619311
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Thu Apr 29 13:06:15 2010 +0200
GTypeInterface cannot be unrefed
https://bugzilla.gnome.org/show_bug.cgi?id=617159
gi/gimodule.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit ab1aaff108d23aabd28c3634edfb67236eb55460
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Sat May 22 13:09:48 2010 +0200
fix NULL array unit tests and fix crasher when sending None as
an array
* Unit tests were wrong given the annotation for
test_array_int_null_in and
test_array_int_null_out:
/**
* test_array_int_null_in:
* @arr: (array length=len) (allow-none):
* @len: length
*/
-- and --
/**
* test_array_int_null_out:
* @arr: (out) (array length=len) (allow-none):
* @len: (out) : length
*/
The (array length=len) annotation meant we don't pass in or
receive the len argument as this is handled under the hood
(Python's representation of an array, the list type, encapsulates
the length inside the type)
* Fixing up the tests revealed a latent crasher bug when passing
None to an
interface that accepts an array. The fix was to check for NULL
and set
the length argument to 0 when invoking the bound method.
https://bugzilla.gnome.org/show_bug.cgi?id=619235
gi/pygi-invoke.c | 6 +++++-
tests/test_everything.py | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
commit e928ea9b1df9d87314ff8e93479530e26be9bd87
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri May 14 14:57:27 2010 -0400
don't error out on methods with callbacks as return type
* Right now we just throw an error which means API's like
gtk_about_dialog_set_url_hook aren't able to be called,
* this allows us to call such APIs while printing a warning, in
most cases
API such as this doesn't need to be used anymore and is a result of
early GTK development
gi/pygi-argument.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
commit d963007aab123f4e53a944a66a935db2d22907c2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Mon May 17 11:54:34 2010 -0400
reset sys.argv to the return value of Gtk.init_check
* applications which check command line arguments will error out if it
encounters a GTK command line switch such as --g-fatal-warnings.
* The Gtk.init* API reads these switches and returns a new argv with
the GTK
switches stripped out
* In C argv is modified in place but in Python we must set sys.argv
to the
new modified argument list
* fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
gi/overrides/Gtk.py | 1 +
1 file changed, 1 insertion(+)
commit 897420ed97cc4a7b8a806894df5e76ed72617614
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed May 12 14:25:32 2010 -0400
add GtkUIManager and GtkActionGroup overrides
* fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
gi/overrides/Gtk.py | 167
+++++++++++++++++++++++++++++++++++++++++++++++-
tests/test_overrides.py | 45 +++++++++++++
2 files changed, 211 insertions(+), 1 deletion(-)
commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Thu May 13 01:02:24 2010 -0400
Bump version for development to 0.5.2 (hopefully 0.6)
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Wed May 5 15:54:39 2010 +0200
Fix overrides.Gdk.Color.__new__ args
https://bugzilla.gnome.org/show_bug.cgi?id=617757
gi/overrides/Gdk.py | 2 +-
tests/Makefile.am | 3 ++-
tests/test_overrides.py | 22 ++++++++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Thu Apr 29 14:55:33 2010 -0400
wrap GObject module so we can go through GI when requesting attrs
* This gives us the best of both worlds.
- We remain backwards compatable with pygobject by checking for
existing
attrs in the gobject module
- If an attr does not exist we use the GI mechanism to look it up
so that
things like flags look the same whether exported from GObject, Gtk
or any GI managed library
* add DynamicGObjectModule tests and make tests use the new module
- change import gobject to from gi.repository import GObject
gi/importer.py | 6 ++--
gi/module.py | 30 ++++++++++++++++
tests/test_everything.py | 6 ++--
tests/test_gi.py | 93
++++++++++++++++++++++++++----------------------
4 files changed, 87 insertions(+), 48 deletions(-)
commit 64324a4c629432b2e688299b6edbfd5da4439a2a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Fri Apr 30 14:11:55 2010 -0400
override Gdk.Drawable to add cairo_create convinience method
gi/overrides/Gdk.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Mon May 3 19:13:46 2010 +0200
Fix passing callbacks as constructor args
https://bugzilla.gnome.org/show_bug.cgi?id=617551
gi/pygi-callbacks.c | 3 ++-
gi/pygi-callbacks.h | 1 +
gi/pygi-invoke.c | 7 +++++--
tests/test_everything.py | 21 +++++++++++++++++++++
4 files changed, 29 insertions(+), 3 deletions(-)
commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Wed May 5 08:06:03 2010 +0200
Avoid freeing garbage
gi/pygi-invoke.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Thu Apr 29 13:09:03 2010 +0200
Only hookup vfunc implementations for locally-defined methods
https://bugzilla.gnome.org/show_bug.cgi?id=617160
gi/types.py | 10 +++++++++-
tests/test_gi.py | 10 ++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Mon May 3 18:35:13 2010 +0200
Fix passing GDestroyNotify
https://bugzilla.gnome.org/show_bug.cgi?id=617542
gi/pygi-invoke.c | 3 ++-
tests/test_everything.py | 10 ++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
commit 9669acd0fad193013ef3505ae231588307f9834c
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Mon May 3 12:23:58 2010 +0200
Move invocation code to its own file
https://bugzilla.gnome.org/show_bug.cgi?id=617107
gi/Makefile.am | 2 +
gi/pygi-info.c | 884
----------------------------------------------------
gi/pygi-invoke.c | 909
++++++++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-invoke.h | 37 +++
gi/pygi-private.h | 1 +
5 files changed, 949 insertions(+), 884 deletions(-)
commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Tue Apr 27 19:13:08 2010 -0400
Add the Gtk.Builder override
gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Fri Apr 30 15:00:52 2010 +0200
Fix GAsyncReadyCallback
https://bugzilla.gnome.org/show_bug.cgi?id=616236
gi/pygi-closure.c | 8 +++++++-
tests/test_everything.py | 16 ++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Thu Apr 29 18:32:50 2010 +0200
Add override for Gdk.Color
https://bugzilla.gnome.org/show_bug.cgi?id=617162
gi/overrides/Gdk.py | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Apr 28 13:19:48 2010 -0400
make __all__ be a list of strings, fix override mechanism to use
it correctly
* before we were adding classes to the __all__ module property but
the convention is to use the name of the class
* simplified the check to just check the name against __all__
instead of trying to get the class and then checking the class
against None as well as in __all__
* went through all the overrides and made __all__ be a list of strings
gi/module.py | 9 ++++-----
gi/overrides/GIMarshallingTests.py | 2 +-
gi/overrides/Gdk.py | 2 +-
3 files changed, 6 insertions(+), 7 deletions(-)
commit 64fa8f936bad9a90628df446e690d67d947a0a22
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Mon Apr 26 11:41:06 2010 +0200
One more step at refactoring _wrap_g_function_info_invoke
https://bugzilla.gnome.org/show_bug.cgi?id=616357
gi/pygi-callbacks.c | 22 +-
gi/pygi-callbacks.h | 4 +-
gi/pygi-info.c | 582
++++++++++++++++++++++++++++++----------------------
3 files changed, 346 insertions(+), 262 deletions(-)
commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Tue Apr 20 23:23:38 2010 -0400
Step 1 of refactoring _wrap_g_function_info_invoke
Original patch by David Malcom <dmalcolm@redhat.com>
This patch bitrots *REALLY* fast.
https://bugzilla.gnome.org/show_bug.cgi?id=616357
gi/pygi-info.c | 417
+++++++++++++++++++++++++++++----------------------------
1 file changed, 214 insertions(+), 203 deletions(-)
commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Tue Apr 27 10:24:35 2010 +0200
Dont force subclasses to implement all virtual methods of their bases
https://bugzilla.gnome.org/show_bug.cgi?id=616674
gi/types.py | 4 ++--
tests/test_gi.py | 15 +++++++++++++++
2 files changed, 17 insertions(+), 2 deletions(-)
commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Sun Apr 25 15:09:08 2010 -0400
Correct the reference counting of userdata in closure handling
Without this we lose references on every call and eventually end up
free'ing objects
while they are still in use.
https://bugzilla.gnome.org/show_bug.cgi?id=616786
gi/pygi-closure.c | 3 +++
tests/test_everything.py | 13 +++++++++++++
2 files changed, 16 insertions(+)
commit 2b12049306bf57513c43d08017185468bf897a4a
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Tue Apr 20 22:57:14 2010 -0400
Change SCOPE_TYPE_INVALID handling to be a more verbose error.
(Previous commit did not include the proper error message. I blame
git-bz)
https://bugzilla.gnome.org/show_bug.cgi?id=616356
gi/pygi-closure.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Tue Apr 20 23:53:57 2010 -0400
Force out arguments to be initialized as NULL. Comes with a test.
This fix was motivated by a real world library which had a transfer
full
utf8 out argument which sometimes was not set. We would leave
the pointer
dangling and try and free it at the end of invoke() and crash.
Library refused
to change their behavior so we're forced to take care of it on
our end.
https://bugzilla.gnome.org/show_bug.cgi?id=616043
gi/pygi-info.c | 1 +
tests/test_gi.py | 3 +++
2 files changed, 4 insertions(+)
commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Tue Apr 20 22:57:14 2010 -0400
Change SCOPE_TYPE_INVALID handling to be a warning and not an error
Be slightly nicer to library maintainers. It really isn't a fatal
condition
if we don't have a proper scope type, better to leave a good code
comment
and a warning than to cause their code to segv.
https://bugzilla.gnome.org/show_bug.cgi?id=616356
gi/pygi-closure.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Tue Apr 20 22:43:20 2010 -0400
Refactor implementation of scope call to allow for multiple calls
during lifetime of function invocation.
https://bugzilla.gnome.org/show_bug.cgi?id=616343
gi/pygi-closure.c | 10 +++++-----
gi/pygi-info.c | 9 +++++++--
tests/test_everything.py | 9 +++++++++
3 files changed, 21 insertions(+), 7 deletions(-)
commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Jan 2 16:31:55 2010 +0100
Add basic support for unions
https://bugzilla.gnome.org/show_bug.cgi?id=603598
gi/module.py | 3 +-
gi/pygi-argument.c | 24 +++-----------
gi/pygi-boxed.c | 18 +++++++++--
gi/pygi-info.c | 94
++++++++++++++++++++++++++++++++++++++++++++++++------
gi/pygi-info.h | 1 +
tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
6 files changed, 165 insertions(+), 31 deletions(-)
commit af9e4e086d160fe7fb24758ed81753e784b198a8
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Fri Jan 22 22:16:32 2010 +0100
Bump required GLib version to 2.22
Since PyGObject now depends on GLib 2.22.4, there is no need to
keep PyGI
backward-compatible.
configure.ac | 2 +-
gi/pygi-private.h | 20 --------------------
2 files changed, 1 insertion(+), 21 deletions(-)
commit c0f40de5648e2ebc556c449342a0025ffce2e33b
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Apr 18 11:50:14 2010 -0400
Refactor get_* methods in the *Info wrappers
https://bugzilla.gnome.org/show_bug.cgi?id=616108
gi/pygi-info.c | 360
+++++++++++++++++++++++++++------------------------------
1 file changed, 168 insertions(+), 192 deletions(-)
commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Tue Apr 20 15:12:47 2010 +0200
Print any error messages raised inside _pygi_closure_handle
https://bugzilla.gnome.org/show_bug.cgi?id=616279
gi/pygi-closure.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
commit d1ba23cdd05686ea721425f233371d573a2e9cce
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Thu Apr 22 19:57:17 2010 +0200
Rename variable with a very generic name
gi/module.py | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
commit 391640b30ede50af3667b1019edb72bd79f2c68c
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Thu Apr 22 19:53:06 2010 +0200
Add support for enums without GType
https://bugzilla.gnome.org/show_bug.cgi?id=616520
gi/module.py | 6 +++++-
gi/pygi-argument.c | 22 +++++++++++++++++++++-
gi/types.py | 14 ++++++++++++++
tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
4 files changed, 68 insertions(+), 4 deletions(-)
commit 89704f60ddae0c81f1383d86491ef2785590a353
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Tue Apr 20 22:20:42 2010 -0400
Bump version during development to 0.5.1
This follows what is, according to Colin Walters,
standard versioning practice. During development the
version in your config is the *next* version you will release,
not the version after. Thus after a release you make a new commit
bumping to the next development version.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
Author: John Ehresman <jpe@wingware.com>
Date: Tue Apr 20 20:40:02 2010 -0400
Added missing , to keyword list of gio.GFile.set_attribute
gio/gresolver.override | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
Author: John Ehresman <jpe@wingware.com>
Date: Tue Apr 20 20:37:12 2010 -0400
Fix arg conversion in gio.GFile.set_attribute
gio/gfile.override | 232
+++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 227 insertions(+), 5 deletions(-)
commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
Author: John Ehresman <jpe@wingware.com>
Date: Tue Apr 20 20:01:53 2010 -0400
Set constants under python 2.5 or before
gobject/gobjectmodule.c | 8 ++++++++
1 file changed, 8 insertions(+)
commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Sun Apr 18 20:22:21 2010 -0400
Doc Extractor: Use replacements that make sense for &...;
expressions.
* codegen/docextract_to_xml.py: Use # and   respectively
for
# (#) and . These are interpreted correctly in XML
and will
not make the parsing crash.
codegen/docextract_to_xml.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Sun Apr 18 14:32:06 2010 -0400
Bump version for release 0.5.0
HACKING | 7 +++++++
configure.ac | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
commit 3293c91d90c5c497b45e42a527d7f79f7435823e
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Apr 18 14:28:13 2010 -0400
One more missing file...
examples/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Apr 18 14:18:44 2010 -0400
Add more stuff to the tarballs
Makefile.am | 8 +++++++-
configure.ac | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Apr 18 13:48:45 2010 -0400
Add one more missing file to tarballs
gi/overrides/Makefile.am | 1 +
1 file changed, 1 insertion(+)
commit 979e01852fc7f830ee91093accdc387fa535075f
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Apr 18 13:45:29 2010 -0400
Add missing file to tarballs
tests/Makefile.am | 1 +
1 file changed, 1 insertion(+)
commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Apr 18 13:11:11 2010 -0400
Implement vfuncs.
https://bugzilla.gnome.org/show_bug.cgi?id=602736
gi/gimodule.c | 89
+++++++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-argument.c | 1 +
gi/pygi-callbacks.c | 3 +-
gi/pygi-closure.c | 4 +--
gi/pygi-closure.h | 2 +-
gi/pygi-info.c | 86
+++++++++++++++++++++++++++++++++++++++++++++++++--
gi/pygi-info.h | 1 +
gi/types.py | 44 +++++++++++++++++---------
tests/test_gi.py | 18 +++++++++++
9 files changed, 227 insertions(+), 21 deletions(-)
commit e239faacb4798fe2d166233ca1a19a843a6225e3
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Sun Apr 18 11:59:06 2010 -0400
Fix a typo in pygi-callbacks.c header
gi/pygi-callbacks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 79aa416ae8632b123da61d79fb820d9e2704209c
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Sat Apr 17 12:00:05 2010 -0400
Implement nullable argument support, including tests
https://bugzilla.gnome.org/show_bug.cgi?id=616035
gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
gi/pygi-argument.h | 3 ++-
gi/pygi-info.c | 19 +++++++++++++------
tests/test_everything.py | 28 ++++++++++++++++++++++++++++
4 files changed, 80 insertions(+), 13 deletions(-)
commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Sat Apr 17 12:56:19 2010 -0400
Move some tests from test_gi to test_everything
tests/test_everything.py | 60
++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gi.py | 62
+-----------------------------------------------
2 files changed, 61 insertions(+), 61 deletions(-)
commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Apr 18 10:44:35 2010 -0400
Update to latest version of the pygi-convert.sh script
pygi-convert.sh | 193
++++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 137 insertions(+), 56 deletions(-)
commit 34a39318c674737c6d64f2430456daef86ba1626
Author: Colin Walters <walters@verbum.org>
Date: Sun Apr 18 10:40:44 2010 -0400
Add Tomeu's prototype script for converting pygtk to pygi
pygi-convert.sh | 71
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
Author: Olav Vitters <olav@vitters.nl>
Date: Sun Apr 18 13:01:58 2010 +0200
Fix doap file
pygi.doap | 4 ++++
1 file changed, 4 insertions(+)
commit 0de73d0bba79f92af22f43693f3575c596712416
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Sat Apr 17 16:01:31 2010 -0400
Add Zach Goldberg as a pygi maintainer
pygi.doap | 5 +++++
1 file changed, 5 insertions(+)
commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Apr 17 11:47:54 2010 -0400
Require PyCairo
configure.ac | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Apr 17 11:40:14 2010 -0400
Add examples/cairo-demo.py
examples/cairo-demo.py | 121
+++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 121 insertions(+)
commit 610dd1eec87fab5c8c3badb4d104cba74477c745
Author: Zach Goldberg <zach@zachgoldberg.com>
Date: Sat Apr 17 09:17:14 2010 -0400
Implementation callback support with scoping and basic argument
support.
This patch was originally written by
Zach Goldberg <zach@zachgoldberg.com> with modifications and
review by Simon van der Linden <svdlinden@src.gnome.org> and
Colin Walters <walters@verbum.org>.
This impementation enforces the assumption that any one function
signature can only have one (callback, userdata, destronotify) tuple.
This allows us to move callback creation into the actual function
invoke pipeline and also to keep just one destroy notify callback
around, vastly simplifying the code.
https://bugzilla.gnome.org/show_bug.cgi?id=603095
configure.ac | 2 +
gi/Makefile.am | 4 +
gi/pygi-argument.c | 12 ++-
gi/pygi-callbacks.c | 216
++++++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-callbacks.h | 47 ++++++++++++
gi/pygi-closure.c | 205
+++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-closure.h | 57 ++++++++++++++
gi/pygi-info.c | 49 ++++++++++--
gi/pygi-private.h | 2 +
tests/test_gi.py | 64 +++++++++++++++-
10 files changed, 648 insertions(+), 10 deletions(-)
commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Apr 17 10:54:45 2010 -0400
Add support for foreign structs
https://bugzilla.gnome.org/show_bug.cgi?id=603712
configure.ac | 6 +++
gi/Makefile.am | 10 +++-
gi/gimodule.c | 7 +++
gi/pygi-argument.c | 27 ++++++++++-
gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
gi/pygi-foreign.c | 123
+++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-foreign.h | 52 ++++++++++++++++++++
gi/pygi-private.h | 1 +
tests/test_everything.py | 48 ++++++++++++++++++
10 files changed, 428 insertions(+), 4 deletions(-)
commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Fri Apr 16 14:35:13 2010 -0400
Allow creating structs with pointers
https://bugzilla.gnome.org/show_bug.cgi?id=603537
gi/pygi-struct.c | 6 ------
tests/test_gi.py | 3 ++-
2 files changed, 2 insertions(+), 7 deletions(-)
commit fc9ff02e53aacf9e77625c70985e99813544912a
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Fri Apr 16 10:40:40 2010 -0400
Add gdb and valgrind variants for the tests
HACKING | 19 +++++++++++++++++++
Makefile.am | 12 ++++++++++++
tests/Makefile.am | 14 +++++++++++++-
3 files changed, 44 insertions(+), 1 deletion(-)
commit 695ac7bc5c60371a32538d690c7a15509f3c9637
Author: John Stowers <john.stowers@gmail.com>
Date: Fri Apr 16 14:36:11 2010 +1200
Add build docs for windows
Makefile.am | 1 +
README.win32 | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
Author: John Stowers <john.stowers@gmail.com>
Date: Thu Apr 15 13:40:39 2010 +1200
Setup.py cosmetic tidy
* Remove local doc install, point to website instead
* link to versioned docs
pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
setup.py | 39 ++++++++++++++-------------------------
2 files changed, 40 insertions(+), 42 deletions(-)
commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
Author: John Stowers <john.stowers@gmail.com>
Date: Sat Jul 25 14:12:30 2009 +1200
Fix crash when importing gio
Only seems to be necessary on windows, but
no harm on linux as multiple calls to init
are OK
gio/giomodule.c | 3 +++
1 file changed, 3 insertions(+)
commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
Author: John Stowers <john.stowers@gmail.com>
Date: Thu Apr 15 22:52:48 2010 +1200
Bug 589671 - Dont use generate-constants
This breaks the build using distutils, and it is
largely unneeded. Just add the G_XXX constants
to the module directly
gobject/Makefile.am | 16 +--------
gobject/constants.py | 83
++++++++++++++++++++++++++++++++++++++++++++
gobject/constants.py.in | 50 --------------------------
gobject/generate-constants.c | 44 -----------------------
gobject/gobjectmodule.c | 35 +++++++++++++++++++
setup.py | 2 +-
tests/runtests.py | 3 +-
7 files changed, 121 insertions(+), 112 deletions(-)
commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
Author: John Stowers <john.stowers@gmail.com>
Date: Thu Apr 15 22:49:17 2010 +1200
Bug 589671 - Fix setup.py for windows build
* Building pyglib as a static private library
* Update to include new defs
* Modernise setup.py and add more util functions
to dsextras
dsextras.py | 32 ++++++++++++++++---
setup.py | 102
+++++++++++++++++++++++++++++++++++++++++++++++++++---------
2 files changed, 116 insertions(+), 18 deletions(-)
commit d11ef47072acae5801ce25c68d1289e425eb9fc2
Author: John Stowers <john.stowers@gmail.com>
Date: Thu Apr 15 22:48:28 2010 +1200
Include pygsource.h
glib/pygiochannel.c | 1 +
1 file changed, 1 insertion(+)
commit c5f6af4844c74354abc508d17969d9d45153acf2
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Thu Apr 15 14:25:59 2010 -0400
Add metadata to the .doap file
pygi.doap | 3 +++
1 file changed, 3 insertions(+)
commit 81796cb77cbe6b9598a652bd63c047af93e747ee
Author: John (J5) Palmieri <johnp@redhat.com>
Date: Wed Apr 14 12:01:43 2010 -0400
override that wasn't checked in - fixes some test cases
gi/overrides/GIMarshallingTests.py | 69
++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
commit de5d2ea1584b01af809346316c7fbd4955a9db1d
Author: Colin Walters <walters@verbum.org>
Date: Wed Apr 14 10:06:07 2010 -0400
[Makefile.am] Clean up CFLAGS handling, don't override all: target
First, we should move the CFLAGS into AM_CFLAGS, otherwise the
per-target CFLAGS forces Automake to prefix object files, which
is unnecessary since we only have one target.
More importantly, avoid overriding the all: target here; that's
owned by Automake. Use all-local instead to append things to
the end of the normal build.
gi/Makefile.am | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
commit 5a47e96e3f580c973e6880dafa747f54c144c760
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Tue Apr 13 19:15:49 2010 -0400
Use GIMarshallingTests (old TestGI) in gobject-introspection
gi/overrides/TestGI.py | 69 --
tests/Makefile.am | 40 -
tests/libtestgi.c | 2924
------------------------------------------------
tests/libtestgi.h | 628 -----------
tests/test_gi.py | 832 +++++++-------
5 files changed, 416 insertions(+), 4077 deletions(-)
commit 681832c3cd040433a488a400693b68f213bf7078
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Tue Apr 13 13:33:12 2010 -0400
codegen/docextract_to_xml.py: One more &...; replacement ( ).
* codegen/docextract_to_xml.py: Replace which also causes
errors with a regular space.
codegen/docextract_to_xml.py | 1 +
1 file changed, 1 insertion(+)
commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Tue Apr 13 12:28:10 2010 -0400
codegen/docextract_to_xml.py: Replace some &..; that cause errors.
* codegen/docextract_to_xml.py (escape_text): Replace some &..;
expressions that cause errors with more appropriate output.
codegen/docextract_to_xml.py | 4 ++++
1 file changed, 4 insertions(+)
commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Sun Apr 11 17:46:40 2010 -0400
codegen/docextract_to_xml.py: Handle C++ multi-line comments.
* codegen/docextract_to_xml.py (escape_text): Translate '/*'
and '*/'
in text to '/ *' and '* /' respectively so that comment errors
don't
show up when the descriptions that include C++ code with C++
multi-line comments are used in Doxygen blocks.
codegen/docextract_to_xml.py | 9 +++++++++
1 file changed, 9 insertions(+)
commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Sun Apr 11 16:15:01 2010 -0400
codegen/docextract.py: Stop final section processing on first
match.
* codegen/docextract.py (process_final_sections): Modify the final
section pattern matching for loop to stop on first match so
that it
doesn't match both a colon return ('Returns: ...') and a no colon
return ('Returns ...') which leads to annotation extraction
errors.
codegen/docextract.py | 4 ++++
1 file changed, 4 insertions(+)
commit 825fd305f03b726665edca34963978ce27448182
Author: José Alburquerque <jaalburqu@svn.gnome.org>
Date: Sun Apr 11 15:45:09 2010 -0400
Update doc extraction tool to handle GObjectIntrospection
annotations.
* codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
(GtkDoc::annotations): Added a list field to store annotations
which
are 2-tuples of (name, value).
(GtkDoc::ret): Modified field to store the return description
along
with a list of annotations as described above.
(GtkDoc::params): Now holds a list of 3-tupples: name,
description and
annotations (as described above).
(GtkDoc::block_type): Add a field to tell if the comment block
is a
function block, signal block or property block.
(GtkDoc::set_type):
(GtkDoc::get_type): Add methods for setting/getting the block
type.
(GtkDoc::add_param): Modified to also accept a list of
annotations to
be added with the parameter.
(GtkDoc::add_annotation):
(GtkDoc::get_annotations): Added methods to add/get annotations
for
the comment block.
(GtkDoc::append_description): Renamed to append_to_description().
(GtkDoc::get_param_description): Removed unused method.
(GtkDoc::get_description): Added method to get block description.
(GtkDoc::add_return): Added method to add a return accepting
the first
line of the description and its annotations.
(GtkDoc::append_return): Renamed to append_to_return().
(Regular expressions):
- Made the names of the variables un-abbreviated.
- Added 'since', 'deprecated' and 'rename to' regular
expressions.
- Modified the return matching regular expression so that
it doesn't
match descriptions that begin with 'Returns ...'.
This improves
the docs of many function.
- Added signal and property comment block identifier matching
regular
expressions in case those are useful.
- Modified existing identifier matching regular expressions
(function,
signal, and property regular expressions) to properly parse
annotations. Also added a regular expression for extracting
annotations from the parameter and return descriptions.
- Refined the function name matching regular expression to
only accept
identifiers that begin with a lowercase letter. This eliminates
'SECTION:' matches.
- Finally, grouped commonly related expressions like
return_pattern,
since_pattern, etc. into groups (in lists) so that matching
those
sections can be done using loops.
(Parsing algorithm): Modified the algorithm to use a functional
approach to parsing. Extra methods like skip_to_comment() and
processs_params() have been added and used in the parse_file()
function to now process the comment blocks.
(parse_dir): Added file processing output to stderr.
* codegen/docextract_to_xml.py (usage): Added function to
print out
the usage.
(print_annotations): Added function to print the given list of
annotations.
(options): Added --with-signals (-i), with-properties (-p) and
--with-annotation (-a) to the existing --source-dir (-s) option.
(algorithm): Now prints annotations, if specified. Also, prints
signals and properties correctly (using names like
Class::signal-one
for signals and Classs:property) with xml such as <signal
name="...">...</signal>. The return xml is slightly modified with
annotations but this would only be exhibited if annotation xml is
requested.
codegen/docextract.py | 439
++++++++++++++++++++++++++++++++++---------
codegen/docextract_to_xml.py | 87 ++++++---
2 files changed, 414 insertions(+), 112 deletions(-)
commit 9fef1acb42cd900d4a814a7378f60bc189121785
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Fri Apr 9 13:47:03 2010 +0200
Always create the .so link
gi/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
Author: Paul Bolle <pebolle@tiscali.nl>
Date: Thu Apr 8 11:52:25 2010 +0200
Docs: replace gio.IO_ERROR_* with gio.ERROR_*
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
docs/reference/pygio-file.xml | 58
++++++++++++++++++------------------
docs/reference/pygio-inputstream.xml | 22 +++++++-------
docs/reference/pygio-mount.xml | 10 +++----
3 files changed, 45 insertions(+), 45 deletions(-)
commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Apr 5 18:10:42 2010 +0200
Bug 613341 - pygobject tests seem to require pygtk causing a circular
dependencies problem
move tests that require pygtk to pygtk itself
tests/test_conversion.py | 83 --------------
tests/test_enum.py | 234 --------------------------------------
tests/test_gtype.py | 112 ------------------
tests/test_subtype.py | 289
-----------------------------------------------
4 files changed, 718 deletions(-)
commit ef0ceb266a45715ece58642fb0042e3376416755
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Wed Feb 3 20:33:03 2010 +0100
Add modelines and copyright information to overrides modules
gi/overrides/Gdk.py | 21 +++++++++++++++++++++
gi/overrides/Gtk.py | 21 +++++++++++++++++++++
gi/overrides/TestGI.py | 20 ++++++++++++++++++++
3 files changed, 62 insertions(+)
commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Wed Feb 3 20:29:55 2010 +0100
Fix and complete overrides tests
Those tests were missing in the last commit
https://bugzilla.gnome.org/show_bug.cgi?id=602830
gi/overrides/TestGI.py | 49
+++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gi.py | 8 +++++++-
2 files changed, 56 insertions(+), 1 deletion(-)
commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Thu Jan 21 17:30:51 2010 +0100
Don't raise an error in _pygi_import if pygi support is disabled
http://bugzilla.gnome.org/show_bug.cgi?id=607674
gobject/pygboxed.c | 6 +-----
gobject/pygi-external.h | 1 -
gobject/pygobject.c | 6 +-----
gobject/pygpointer.c | 6 +-----
4 files changed, 3 insertions(+), 16 deletions(-)
commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Fri Jan 22 22:22:37 2010 +0100
Remove support for pointers to basic types as input-only argument
and return value
There is no reason for an API to use such things, and
g_function_info_invoke
broke such features.
https://bugzilla.gnome.org/show_bug.cgi?id=607759
gi/pygi-argument.c | 586 ++++-------------------------------------------
gi/pygi-argument.h | 1 -
gi/pygi-info.c | 8 +-
tests/libtestgi.c | 660
-----------------------------------------------------
tests/libtestgi.h | 86 -------
tests/test_gi.py | 144 ------------
6 files changed, 47 insertions(+), 1438 deletions(-)
commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Fri Jan 22 13:41:21 2010 +0100
Restore the overrides support
Add a ModuleProxy in front of the DynamicModule when an overrides
module is
present. There is no need for an overrides module to be a class;
it can just be a module.
Add an override decorator to override the wrapper of a registered
type.
Adapt Gdk and Gtk accordingly.
Add tests.
https://bugzilla.gnome.org/show_bug.cgi?id=602830
gi/importer.py | 40 +++++++-------------
gi/module.py | 43 ++++++++++++++-------
gi/overrides/Gdk.py | 42 +++++++++++++--------
gi/overrides/Gtk.py | 16 ++++----
gi/types.py | 6 +++
tests/libtestgi.c | 105
++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/libtestgi.h | 49 ++++++++++++++++++++++++
tests/test_gi.py | 36 ++++++++++++++++++
8 files changed, 273 insertions(+), 64 deletions(-)
commit 289d641775d1ea52d2a5379126b70b7fcee46683
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Jan 10 21:01:59 2010 +0100
Initialize PyGPollFD_Type.fd_obj to NULL
https://bugzilla.gnome.org/show_bug.cgi?id=606582
gio/gcancellable.override | 1 +
1 file changed, 1 insertion(+)
commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Fri Jan 8 21:10:28 2010 +0100
Initialize struct fields to 0 when allocating
gi/pygi-struct.c | 2 +-
tests/test_gi.py | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Fri Jan 8 20:33:44 2010 +0100
Don't set a default constructor for structures.
Update tests accordingly.
The reason for this change is that setting __new__ in the metaclass
doesn't let
one overrides it afterwards, in a subclass (in my experience, at
least, even
though it seems weird).
https://bugzilla.gnome.org/show_bug.cgi?id=603536
gi/types.py | 35 +++++++----------------------------
tests/libtestgi.c | 33 ---------------------------------
tests/libtestgi.h | 7 -------
tests/test_gi.py | 21 ++++++++++-----------
4 files changed, 17 insertions(+), 79 deletions(-)
commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Tue Jan 5 13:36:44 2010 +0100
Suppress compilation warnings
gi/pygi-argument.c | 3 ++-
gi/pygi-boxed.c | 2 --
gi/pygobject-external.h | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jan 4 08:35:14 2010 +0100
Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
Committed a patch from Kevin Pyle
Makefile.am | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Fri Dec 11 22:24:30 2009 +0100
sys.path must be modified after pygtk is imported
Otherwise, sys.path is overridden by pygtk and gi.repository is
loaded from the
system's default site-package directory.
tests/runtests.py | 1 -
tests/test_gi.py | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun Jan 3 11:02:57 2010 +0100
Wrap gio.Cancellable.make_pollfd() and add a test
gio/Makefile.am | 1 +
gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
gio/gio.override | 3 +++
tests/test_gcancellable.py | 15 +++++++++++++++
4 files changed, 56 insertions(+)
commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Jan 2 23:15:56 2010 +0100
Make cancellable an optional parameter in many methods
gio/gio.defs | 102
+++++++++++++++++++++++++++++------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
commit 49a078cd22d55dc33a03ecfda235d63955edc741
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Jan 2 23:15:21 2010 +0100
Post release version bump to 2.21.2
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Jan 2 22:58:36 2010 +0100
Update NEWS and release PyGObject-2.21.1
NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
commit c1f34be73bd186d7b4682dfef133da2c4229d213
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 20:25:35 2010 +0100
Wrap gio.Volume.eject_with_operation()
gio/gvolume.override | 54
++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 20:22:21 2010 +0100
gio.Mount.unmount_with_operation() fix a copy/paste leftover
gio/gmount.override | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 6f459786dd641cd49d81eba403d940620f961cab
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 20:21:05 2010 +0100
Wrap gio.Mount.eject_with_operation()
gio/gmount.override | 54
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 20:15:38 2010 +0100
Wrap gio.Mount.unmount_mountable_with_operation()
gio/gmount.override | 54
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
commit e919d47c2430451b436cec955e9b99237f97028c
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 18:22:46 2010 +0100
Wrap File.unmount_mountable_with_operation()
gio/gfile.override | 54
++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
commit 5a614df9c5507d67f240462f7bf71b4cd411addf
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 18:14:11 2010 +0100
Wrap gio.File.stop_mountable()
gio/gfile.override | 52
++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
commit 6af506647f36f2b825bc6556df5ee57fa7721906
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 18:10:49 2010 +0100
Wrap gio.File.start_mountable()
gio/gfile.override | 52
++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
commit e700efc839fc0b651fc9794a1611190bffa80263
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 18:02:46 2010 +0100
Wrap gio.File.replace_readwrite_async()
gio/gfile.override | 55
++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
commit 92662f129fc728258fd5e34f53dcb081e3715017
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 17:00:26 2010 +0100
Wrap gio.File.poll_mountable()
gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
commit 99902b786500948c3278779841e4db54223b9256
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 16:56:26 2010 +0100
Wrap gio.File.open_readwrite_async()
gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 16:50:15 2010 +0100
Wrap gio.File.eject_mountable_with_operation()
gio/gfile.override | 54
++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 13:30:24 2010 +0100
Wrap gio.File.create_readwrite_async() and add a test
gio/gfile.override | 51
+++++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gio.py | 24 ++++++++++++++++++++++++
2 files changed, 75 insertions(+)
commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 13:20:11 2010 +0100
Wrap gio.Drive.stop()
gio/gdrive.override | 52
++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
commit 29043bade408338cefa13fb4b0c875aabd3ef05e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 13:00:42 2010 +0100
Wrap gio.Drive.start()
gio/gdrive.override | 52
++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
commit dff374287bbecc8af782bbc726fad86c6c867754
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 12:45:29 2010 +0100
Add more remainders on missing methods of gio.Socket and related types
gio/gsocket.override | 3 +++
1 file changed, 3 insertions(+)
commit b8c7e996498bd72df551011af85ff05ef7335b4f
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 12:41:08 2010 +0100
Wrap gio.SocketListener.accept_socket_async|finish() and add a test
gio/gsocket.override | 86
+++++++++++++++++++++++++++++++++++++++++++++++++--
tests/test_gsocket.py | 24 ++++++++++++++
2 files changed, 108 insertions(+), 2 deletions(-)
commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 12:28:53 2010 +0100
Wrap gio.SocketListener.accept_finish() and add a test
gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
tests/test_gsocket.py | 24 ++++++++++++++++++++++++
2 files changed, 66 insertions(+), 2 deletions(-)
commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 11:19:34 2010 +0100
Wrap gio.SocketListener.accept_async()
gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
commit c9496b29ef9ef232020a4044577d2947353953a5
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jan 1 11:14:35 2010 +0100
Wrap gio.SocketListener.accept_socket() and add a test
gio/gsocket.override | 48
+++++++++++++++++++++++++++++++++++++++++++++++-
tests/test_gsocket.py | 13 +++++++++++++
2 files changed, 60 insertions(+), 1 deletion(-)
commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 31 16:35:18 2009 +0100
Wrap gio.SocketListener.accept() and add a test
gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
tests/test_gsocket.py | 13 +++++++++++++
2 files changed, 58 insertions(+), 1 deletion(-)
commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 31 16:25:33 2009 +0100
Make cancellable optional in gio.SocketClient.connect_to_host()
gio/gio.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3829d7667b19126fb74562b28d271e616b154c99
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 31 15:25:10 2009 +0100
Wrap gio.SocketListener.add_address() and add a test
gio/gsocket.override | 57
++++++++++++++++++++++++++++++++++++++++++++++++++-
tests/test_gsocket.py | 9 ++++++++
2 files changed, 65 insertions(+), 1 deletion(-)
commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 31 10:19:47 2009 +0100
Add more remainders on missing methods of gio.Socket and related types
gio/gsocket.override | 8 ++++++++
1 file changed, 8 insertions(+)
commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 31 10:16:18 2009 +0100
Wrap gio.SocketClient.connect_to_service_async()
gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 31 10:10:43 2009 +0100
Wrap gio.SocketClient.connect_to_host_async()
gio/gsocket.override | 48
++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 31 09:59:46 2009 +0100
Wrap gio.SocketClient.connect_async()
gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
commit dff024256295c15e49888ad9d5fef74a7746edd7
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 23:44:25 2009 +0100
Wrap gio.SocketAddressEnumerator.next_async() and add a test
gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
tests/test_gsocket.py | 16 ++++++++++++++++
2 files changed, 58 insertions(+)
commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 23:43:14 2009 +0100
Add a missing object gio.InetSocketAddress new in GIO 2.22
gio/gio-types.defs | 7 +++++++
gio/gio.defs | 31 +++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 22:54:47 2009 +0100
Make cancellable optional for gio.SocketAddressEnumerator.next()
gio/gio.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b19f59790b9de943d69b6c5e483928e0443c3d20
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 22:17:44 2009 +0100
Add a remainder of the Socket methods that needs manual wrapping still
gio/gsocket.override | 5 +++++
1 file changed, 5 insertions(+)
commit 771a7c3fdef7b2e98e509293a8376a81c1282286
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 17:20:35 2009 +0100
Wrap gio.Socket.condition_wait() and add a test
gio/gsocket.override | 27 +++++++++++++++++++++++++++
tests/test_gsocket.py | 6 +++++-
2 files changed, 32 insertions(+), 1 deletion(-)
commit 50960656815b0897a5ebe5f011537b8dcbdc857e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 16:21:49 2009 +0100
Wrap gio.Socket.condition_check() and add a test
gio/Makefile.am | 1 +
gio/gio.override | 1 +
gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
tests/test_gsocket.py | 21 +++++++++++++++++++++
4 files changed, 64 insertions(+)
commit de7a359e81792ae8573ac944455ea289985449ed
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 14:07:52 2009 +0100
Wrap gio.Resolver.lookup_service_finish() and add a test
gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
tests/test_gresolver.py | 13 +++++++++++++
2 files changed, 50 insertions(+)
commit 308421789ce849040d645077c41c80b6e2e65e83
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 14:00:22 2009 +0100
Wrap gio.Resolver.lookup_service_async()
gio/gresolver.override | 48
++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Dec 30 11:11:32 2009 +0100
Wrap gio.Resolver.lookup_service() and add a test
gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
tests/test_gresolver.py | 5 +++++
2 files changed, 47 insertions(+)
commit 7fc71f490494dae73a5264869a97a9d30814930e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 22:12:50 2009 +0100
Wrap gio.Resolver.lookup_by_address_async() and add a test
gio/gresolver.override | 46
++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gresolver.py | 14 ++++++++++++++
2 files changed, 60 insertions(+)
commit c91656dbe56f07d3ebbad5113467c22427cf212a
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 21:41:30 2009 +0100
Wrap gio.Resolver.lookup_by_name_finish() and add a test
gio/gresolver.override | 82
+++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gresolver.py | 16 ++++++++--
2 files changed, 96 insertions(+), 2 deletions(-)
commit 45b477342fa1c2435917c6d97745ad57665c4734
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 17:15:44 2009 +0100
Wrap gio.Drive.eject_with_data()
gio/gdrive.override | 54
+++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
commit 635227480f9659a1f91ab1ec12536d3ed012a976
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 17:06:52 2009 +0100
Deprecate old gio.Drive methods
gio/gdrive.override | 7 ++++++-
gio/gio.defs | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 13:51:54 2009 +0100
Small fix in the header
gio/gdrive.override | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7589128515b79d836365247dc876538c6352da23
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 12:40:50 2009 +0100
Wrap gio.Resolver.lookup_by_name() and add a couple of tests
gio/Makefile.am | 1 +
gio/gio.override | 1 +
gio/gresolver.override | 57
+++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gresolver.py | 21 ++++++++++++++++++
4 files changed, 80 insertions(+)
commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 12:39:13 2009 +0100
Make cancellable an optional parameter in
gio.Resolver.lookup_by_address()
gio/gio.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 00029145f4cd10759b37b38fb9f72435bf26b28b
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 10:15:14 2009 +0100
Strip g_ prefix for many other functions
gio/gio.defs | 94
++++++++++++++++++++++++++++++------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 10:12:53 2009 +0100
Strip g_prefix from InetAddress functions
gio/gio.defs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 1d360301d51a587a36a59f5d62e354484bbd2b31
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 10:03:59 2009 +0100
Fix function name gio.resolver_get_default()
Strip the g_ prefix from function name
gio/gio.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Dec 29 09:54:05 2009 +0100
Wrap gio.FileIOStream.query_info_async() and add a test
gio/Makefile.am | 1 +
gio/gfileiostream.override | 68
++++++++++++++++++++++++++++++++++++++++++++++
gio/gio.override | 1 +
tests/test_gio.py | 18 ++++++++++++
4 files changed, 88 insertions(+)
commit 86783c695f3641b9491962e8f95a4dcb91f4017c
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Tue Dec 29 13:08:29 2009 +0100
Register enums and flags in PyGI if needed
https://bugzilla.gnome.org/show_bug.cgi?id=603534
gobject/pygenum.c | 20 ++++++++++++++------
gobject/pygflags.c | 19 +++++++++++++------
2 files changed, 27 insertions(+), 12 deletions(-)
commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Dec 28 22:41:54 2009 +0100
Wrap GIOStream.close_async() and add a test
gio/Makefile.am | 1 +
gio/gio.override | 1 +
gio/giostream.override | 68
++++++++++++++++++++++++++++++++++++++++++++++++++
tests/test_gio.py | 21 ++++++++++++++++
4 files changed, 91 insertions(+)
commit 0bff01bcee73a0e0d18342331136119c4e8bf151
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Dec 28 22:39:09 2009 +0100
Make cancellable an optional parameter in GFile.create_readwrite()
gio/gio.defs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1cabd733cde269ce3164834933f4a226673ecb0b
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Dec 28 21:39:50 2009 +0100
Remove a duplicate entry in gio.defs
gio/gio.defs | 9 ---------
1 file changed, 9 deletions(-)
commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Dec 28 21:37:49 2009 +0100
Wrap gio.FileInfo.set_modification_time and add a test
gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
tests/test_gio.py | 7 ++++++-
2 files changed, 38 insertions(+), 2 deletions(-)
commit 7bc2673f92138b1804d8eba091942d14d8884f90
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Dec 28 18:28:03 2009 +0100
Wrap gio.EmblemedIcon.get_emblems() and add a test
gio/gicon.override | 14 ++++++++++++++
tests/test_gicon.py | 7 +++++++
2 files changed, 21 insertions(+)
commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Dec 26 22:27:48 2009 +0100
Update Enums and Flags with new API
gio/gio-types.defs | 153
+++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 149 insertions(+), 4 deletions(-)
commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Dec 25 18:06:39 2009 +0100
Post release version bump to 2.21.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
Author: Bastian Winkler <buz@netbuz.org>
Date: Fri Aug 14 15:10:26 2009 +0200
Fix handling of uchar in pyg_value_from_pyobject
Set the value by g_value_set_uchar and allow to use integer types
from python.
gobject/pygtype.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
commit 828d0f042b59ea0319f33a23803c179af34ef2f1
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Tue Dec 22 18:05:47 2009 +0100
Add Gtk.keysyms to overrides
gi/overrides/Gtk.py | 2 +
gi/overrides/Makefile.am | 1 +
gi/overrides/keysyms.py | 1499
++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1502 insertions(+)
commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Wed Nov 25 10:33:56 2009 +0100
The array field 'length' starts to count from the C arg list, so
need to decrement when it's a method
https://bugzilla.gnome.org/show_bug.cgi?id=602640
gi/pygi-argument.c | 11 +++++++++-
gi/pygi-argument.h | 3 ++-
gi/pygi-info.c | 14 +++++++++++--
tests/libtestgi.c | 60
++++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/libtestgi.h | 4 ++++
tests/test_gi.py | 15 ++++++++++++++
6 files changed, 103 insertions(+), 4 deletions(-)
commit 867536c6734e606d045760837ed22583da06566e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Dec 18 10:50:09 2009 +0100
Update NEWS and README, release pygobject 2.21.0
NEWS | 18 ++++++++++++++++++
README | 6 +++---
2 files changed, 21 insertions(+), 3 deletions(-)
commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Dec 18 10:31:48 2009 +0100
Add pygi-external.h into Makefile SOURCES
gobject/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Dec 18 01:20:34 2009 +0100
Bug 598435 - No wrapping for g_find_program_in_path ()
glib/glibmodule.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 17 21:54:36 2009 +0100
Wrap new API added in GIO-UNIX 2.22
gio/unix-types.defs | 22 ++++++++++
gio/unix.defs | 115
+++++++++++++++++++++++++++++++++++++++++++++++++++-
gio/unix.override | 8 ++++
3 files changed, 144 insertions(+), 1 deletion(-)
commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 17 21:52:11 2009 +0100
Bump required glib version to 2.22.4
I've committed a patch to glib which will be released in the stable
branch.
Without the patch the unix module will fail, so I'm forced to bump.
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit b630c8d4b1e55938dac89729768c4a877b305215
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Dec 17 02:24:45 2009 +0100
Properly define Connectable as interface type and not object type
gio/gio-types.defs | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
commit e955b931b07113c7432f7a85f882f69f12d263ad
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Date: Mon Nov 30 22:01:25 2009 +0100
Depend on GLib 2.20 rather than 2.22
Backport g_array_get_element_size.
https://bugzilla.gnome.org/show_bug.cgi?id=603411
configure.ac | 2 +-
gi/pygi-private.h | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Nov 28 18:48:19 2009 +0000
Use the limit constants from glib and interpret G_MAXUINT32 as
PyLong_FromLongLong
https://bugzilla.gnome.org/show_bug.cgi?id=602384
gi/pygi-argument.c | 14 +++++++-------
tests/test_gi.py | 18 +++++++++---------
2 files changed, 16 insertions(+), 16 deletions(-)
commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Mon Nov 30 00:10:56 2009 +0100
Suppress warnings about format conversion
https://bugzilla.gnome.org/show_bug.cgi?id=603355
gobject/generate-constants.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sat Nov 28 00:22:21 2009 +0100
Remove global checks for pointers and move them in type cases that
need them
gi/pygi-argument.c | 516
+++++++++++++++++++++++++++++++++++++++++++----------
gi/pygi-info.c | 333 +++++++++++++++++-----------------
2 files changed, 596 insertions(+), 253 deletions(-)
commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
Author: Johan Dahlin <johan@gnome.org>
Date: Mon Nov 23 15:58:17 2009 -0200
Pythonify. Avoid ; and () around if statements
https://bugzilla.gnome.org/show_bug.cgi?id=602830
gi/types.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
Author: Johan Dahlin <johan@gnome.org>
Date: Tue Nov 24 10:36:18 2009 -0200
Remove trailing whitespace
https://bugzilla.gnome.org/show_bug.cgi?id=602830
gi/module.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Mon Nov 30 10:03:34 2009 +0000
Set a default constructor for boxed structs that don't have one
https://bugzilla.gnome.org/show_bug.cgi?id=602735
gi/Makefile.am | 2 +
gi/gimodule.c | 1 +
gi/module.py | 2 +-
gi/pygi-argument.c | 14 +++-
gi/pygi-boxed.c | 184
+++++++++++++++++++++++++++++++++++++++++++++++++++++
gi/pygi-boxed.h | 40 ++++++++++++
gi/pygi-info.c | 2 +-
gi/pygi-private.h | 1 +
gi/pygi.h | 6 ++
gi/types.py | 18 ------
tests/libtestgi.c | 72 ++++++++++-----------
tests/libtestgi.h | 18 +++---
tests/test_gi.py | 47 ++++++++------
13 files changed, 321 insertions(+), 86 deletions(-)
commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Mon Nov 30 10:53:57 2009 +0000
Revert "Use the limit constants from glib and interpret G_MAXUINT32
as PyLong_FromLongLong"
This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
gi/pygi-argument.c | 14 +++++++-------
tests/test_gi.py | 18 +++++++++---------
2 files changed, 16 insertions(+), 16 deletions(-)
commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Nov 28 18:48:19 2009 +0000
Use the limit constants from glib and interpret G_MAXUINT32 as
PyLong_FromLongLong
https://bugzilla.gnome.org/show_bug.cgi?id=602384
gi/pygi-argument.c | 14 +++++++-------
tests/test_gi.py | 18 +++++++++---------
2 files changed, 16 insertions(+), 16 deletions(-)
commit e24d155dd7b4a5b9c25c054137d1370c369d3192
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Nov 28 18:45:54 2009 +0000
Add the missing limit constants from glibconfig.h
https://bugzilla.gnome.org/show_bug.cgi?id=603244
gobject/generate-constants.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Nov 28 18:48:49 2009 +0100
Fix bad name when rebuilding the unix source module
gio/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Nov 28 18:47:26 2009 +0100
Wrap new API added in GIO 2.22
gio/gio-types.defs | 138 +++
gio/gio.defs | 2444
+++++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 2360 insertions(+), 222 deletions(-)
commit 96f6c638709636d7e2ddf560b877879691da3314
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sat Nov 28 11:03:51 2009 +0000
A few tests about interfaces
https://bugzilla.gnome.org/show_bug.cgi?id=601181
tests/libtestgi.c | 23 +++++++++++++++++++++++
tests/libtestgi.h | 16 ++++++++++++++++
tests/test_gi.py | 21 +++++++++++++++++++++
3 files changed, 60 insertions(+)
commit 076ba3156c13375a75983cef7a409c8c8afea119
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Thu Nov 26 23:50:54 2009 +0100
Fix members initialization in metaclasses
In metaclasses, the test for the name of the class was wrong, since it
prevented one to create a subclass with the same name (especially
annoying for
overrides). Now, if a GType is available from the info, the fact
that it
doesn't have any wrapper yet means that the metaclass is creating
the base
class, which will be registerd just after its creation. This is
true for
objects, and for structures registered as boxed or pointer too.
This patch includes a test for basic subclassing in Python. It
notably tests
that methods don't get overridden by the metaclass.
gi/types.py | 5 +++--
tests/test_gi.py | 19 +++++++++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
commit ac80e64c9f7d257865aa820753e52d56cf2871c8
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Fri Nov 27 12:06:59 2009 +0000
Structs in arrays are not marshalled correctly
https://bugzilla.gnome.org/show_bug.cgi?id=602709
gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
tests/libtestgi.c | 23 ++++++++++++++++++++++-
tests/libtestgi.h | 7 +++++--
tests/test_gi.py | 8 ++++++++
4 files changed, 59 insertions(+), 8 deletions(-)
commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Wed Nov 25 16:53:55 2009 +0100
Use the right variable when looking up in sys.modules
gi/importer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Tue Nov 24 15:52:47 2009 +0100
Accept 0 as a valid value for flag and enum arguments
https://bugzilla.gnome.org/show_bug.cgi?id=602638
gi/pygi-argument.c | 19 ++++++++++++++++++-
tests/libtestgi.c | 6 ++++++
tests/libtestgi.h | 1 +
tests/test_gi.py | 1 +
4 files changed, 26 insertions(+), 1 deletion(-)
commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Tue Nov 24 13:10:11 2009 +0100
Add stuff to .gitignore
.gitignore | 7 +++++++
1 file changed, 7 insertions(+)
commit 5c010fe673d9bd01c27c8d7d312064665275888c
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Mon Nov 23 22:39:12 2009 +0100
Remove the girepository module
Makefile.am | 2 +-
configure.ac | 17 -
girepository/Makefile.am | 54 --
girepository/__init__.py | 24 -
girepository/bank-argument.c | 379 -------------
girepository/bank-info.c | 1194
----------------------------------------
girepository/bank-repository.c | 236 --------
girepository/bank.c | 155 ------
girepository/bank.h | 80 ---
girepository/btypes.py | 300 ----------
girepository/importer.py | 51 --
girepository/module.py | 224 --------
girepository/overrides/Gdk.py | 14 -
girepository/overrides/Gtk.py | 8 -
girepository/repository.py | 51 --
tests/test_girepository.py | 386 -------------
16 files changed, 1 insertion(+), 3174 deletions(-)
commit a644edf0515c26ed027522891ccf02aceac764e8
Author: Johan Dahlin <johan@gnome.org>
Date: Mon Nov 23 15:32:16 2009 -0200
Create overridden modules in two passes
This patch splits overridden module creation into two passes. The
first pass
creates the auto-generated module normally before the overridden
module is
attempted to be imported. The second pass imports the overridden
module and
replaces the auto-generated module with the overridden. This is
necessary
for the overridden modules to be able to access the auto-generated
ones.
gi/importer.py | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
commit fad89e12a744b57e6348968f351d25d167de8248
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Nov 22 17:56:20 2009 +0100
Add support for Any arguments
https://bugzilla.gnome.org/show_bug.cgi?id=601253
gi/pygi-argument.c | 20 ++++++++++++--------
tests/libtestgi.c | 5 +++++
tests/libtestgi.h | 5 +++++
tests/test_gi.py | 5 +++++
4 files changed, 27 insertions(+), 8 deletions(-)
commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Nov 22 17:25:04 2009 +0100
Register interfaces
https://bugzilla.gnome.org/show_bug.cgi?id=601181
gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
gi/types.py | 5 ++++-
2 files changed, 37 insertions(+), 1 deletion(-)
commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sun Nov 22 18:23:02 2009 +0200
Ignore one more file.
.gitignore | 1 +
1 file changed, 1 insertion(+)
commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sun Nov 22 18:22:23 2009 +0200
Fix wrong minimum checking in float properties
Bug #587637. Test the fix.
gobject/propertyhelper.py | 5 +++--
tests/test_properties.py | 6 ++++++
2 files changed, 9 insertions(+), 2 deletions(-)
commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Mon Oct 26 18:06:06 2009 +0000
Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
gi/pygi-argument.c | 3 +++
1 file changed, 3 insertions(+)
commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sat Nov 14 21:42:43 2009 +0100
Import pygtk properly to avoid failure on some setups
tests/test_gi.py | 3 +++
1 file changed, 3 insertions(+)
commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
Author: Alex Dedul <rotmer@gmail.com>
Date: Sat Nov 14 21:39:15 2009 +0100
Search for python-config-${VERSION} when python${VERSION}-config is
not found
On Gentoo, notably, the config tool is named python-config-${VERSION},
while on
Fedora and Ubuntu, it is named python${VERSION}-config.
Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
configure.ac | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 4a887cfabb326cb99dc65073d592c03f59e2f141
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sat Nov 14 21:36:19 2009 +0100
Fix silent rules setup
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 602afea88c338a38327cd84e08703c5daa384ec6
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Tue Nov 10 22:32:33 2009 +0200
Move threads_init() function from 'gobject' to 'glib'
Retain in original place for backward compatibility, but remove it
from the docs.
docs/reference/pygobject-functions.xml | 36
+++++++---------------------------
glib/glibmodule.c | 16 +++++++++++++++
2 files changed, 23 insertions(+), 29 deletions(-)
commit 734755912fff11332dc0e96317b7d6b7c4014e6a
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Mon Nov 9 22:44:12 2009 +0100
Remove PyGObject patches since they've been merged to master
...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
patches/0002-Fix-girpository-build-setup.patch | 186
-------------------
...capabilities-to-import-wrappers-from-pygi.patch | 200
---------------------
...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
4 files changed, 493 deletions(-)
commit 6a69288941e65312fe82649ec72d2f21b2dc618f
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sat Nov 7 23:42:07 2009 +0100
Create instances by calling tp_alloc rather than PyObject_NEW
PyObject_NEW calls a generic allocator and should only be called by
tp_new, knowing
that the type's free function agrees. In pyg_boxed_new, we may
allocate
PyGBoxed subtypes, so the subtype's allocation function must be
called instead.
gobject/pygboxed.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sat Nov 7 16:43:35 2009 +0100
Add capabilities to import wrappers from pygi
At instance creation for boxed and pointers, at lookup for objects,
when the gtype has no wrapper yet, a wrapper may be imported from
pygi.
The feature is turned on at configure time by --enable-pygi.
Because we couldn't create a circular build dependency, PyGI's import
function and
API definition had to be copied in this tree.
configure.ac | 8 ++++++
gobject/pygboxed.c | 10 ++++++++
gobject/pygi-external.h | 66
+++++++++++++++++++++++++++++++++++++++++++++++++
gobject/pygobject.c | 10 ++++++++
gobject/pygpointer.c | 11 +++++++++
5 files changed, 105 insertions(+)
commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sun Nov 8 20:03:58 2009 +0100
Update PyGObject patches
A file, pygi-external.h, was missing in patch #3.
...capabilities-to-import-wrappers-from-pygi.patch | 74
++++++++++++++++++++--
...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
2 files changed, 69 insertions(+), 7 deletions(-)
commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
Author: Tomeu Vizoso <tomeu@sugarlabs.org>
Date: Sun Nov 8 16:52:18 2009 +0100
Add myself to pygi.doap
pygi.doap | 5 +++++
1 file changed, 5 insertions(+)
commit 6f50d5102aec9288e1851f12e9d232b9c141d524
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sun Nov 8 15:40:51 2009 +0100
Add a doap file
pygi.doap | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
commit ce673b9027868e6add4eeb438bc707eb40bfd046
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sun Nov 8 13:06:54 2009 +0100
Add PyGObject patches
...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
patches/0002-Fix-girpository-build-setup.patch | 186
+++++++++++++++++++++
...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
4 files changed, 431 insertions(+)
commit b24fd9633cabe1d95cde173a04e9a49833b06a26
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sun Nov 8 12:35:08 2009 +0100
Initial import
.gitignore | 33 +
Makefile.am | 10 +
autogen.sh | 159 +++
configure.ac | 53 +
gi/Makefile.am | 50 +
gi/__init__.py | 24 +
gi/gimodule.c | 144 ++
gi/importer.py | 89 ++
gi/module.py | 167 +++
gi/overrides/Gdk.py | 21 +
gi/overrides/Gtk.py | 13 +
gi/overrides/Makefile.am | 10 +
gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
gi/pygi-argument.h | 65 +
gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
gi/pygi-info.h | 64 +
gi/pygi-private.h | 55 +
gi/pygi-repository.c | 238 ++++
gi/pygi-repository.h | 39 +
gi/pygi-struct.c | 175 +++
gi/pygi-struct.h | 40 +
gi/pygi-type.c | 96 ++
gi/pygi-type.h | 43 +
gi/pygi.h | 99 ++
gi/pygobject-external.h | 83 ++
gi/repository/Makefile.am | 8 +
gi/repository/__init__.py | 30 +
gi/types.py | 163 +++
tests/Makefile.am | 48 +
tests/libtestgi.c | 3397
+++++++++++++++++++++++++++++++++++++++++++++
tests/libtestgi.h | 643 +++++++++
tests/runtests.py | 22 +
tests/test_gi.py | 1416 +++++++++++++++++++
33 files changed, 11566 insertions(+)
commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Sat Nov 7 13:23:53 2009 +0100
Fix girpository build setup
configure.ac | 21 ++++++-----
girepository/Makefile.am | 13 ++++---
m4/introspection.m4 | 92
++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 111 insertions(+), 15 deletions(-)
commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
Author: Simon van der Linden <svdlinden@src.gnome.org>
Date: Fri Nov 6 19:17:36 2009 +0100
Make GType.pytype aware of the interface, enum, flags, pointer and
boxed wrappers
gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
1 file changed, 33 insertions(+), 6 deletions(-)
commit a9c168c58cc6a449b51653417bf3f58bdd41457c
Author: Philippe Normad <phil@base-art.net>
Date: Wed Oct 21 18:01:16 2009 +0200
pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
Fixes bug #481569
glib/pygmainloop.c | 95
++++++++++++++++++++++++++++--------------------------
1 file changed, 50 insertions(+), 45 deletions(-)
commit c6a5750379354c12e2599b3c73b4f9a23fd39114
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Sep 25 20:12:21 2009 +0200
Post release version bump to 2.21.0
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 33920eb013628a5e22b7b32403fb965ae3210f47
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Sep 23 21:52:04 2009 +0200
Update NEWS and release 2.20.0
NEWS | 6 ++++++
1 file changed, 6 insertions(+)
commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed Sep 23 21:51:43 2009 +0200
Bump version to 2.20.0
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
Author: Brian Cameron <Brian.Cameron@sun.com>
Date: Wed Sep 23 12:11:50 2009 -0500
Updated uninstalled.pc file so that it contains the right paths for
defsdir files and codegen files. See bug #596023.
pygobject-2.0-uninstalled.pc.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Tue Sep 22 22:02:27 2009 +0300
Plug reference leak of GSource in pyg_main_loop_init()
Bug #579406, second change.
glib/pygmainloop.c | 1 +
1 file changed, 1 insertion(+)
commit 640be8109d066e85ed77c810830a5f73c750415b
Author: Frédéric Péters <fpeters@0d.be>
Date: Sun Aug 30 16:46:02 2009 +0200
Specify programming language in .devhelp file
This add a new language attribute (hardcoded to python) in the
.devhelp
file that is produced when using ref-html-style.xsl.
docs/xsl/devhelp.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c888b5ca722fcad6a03de585606c677c2969ebd6
Author: Paolo Borelli <pborelli@gnome.org>
Date: Thu Aug 13 21:32:07 2009 +0200
Allow to use automake 1.11
autogen.sh | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
commit 30deaba4bd1e199aab75cb346ee9237237807fbd
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Aug 11 22:19:50 2009 +0200
Update README
README | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
commit af165d350d0d1bb493be5140bf84376d3da1e4d8
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Aug 11 22:16:52 2009 +0200
Update AUTHORS
AUTHORS | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Aug 11 22:11:43 2009 +0200
Add myself and Paul as maintainers
MAINTAINERS | 8 ++++++++
pygobject.doap | 14 ++++++++++++++
2 files changed, 22 insertions(+)
commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Aug 11 20:52:44 2009 +0200
Update NEWS release 2.19.0
NEWS | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
commit e82a1841f31ad54dd50569d0d45290713409e0bf
Author: John Finlay <finlay@moeraki.com>
Date: Tue Aug 11 00:04:31 2009 -0700
Add macros to help with Python list to/from GList/GSList conversions.
gobject/pygobject.h | 242
+++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 241 insertions(+), 1 deletion(-)
commit f1fad96da2c531fbd3218923baa4fe806a2942d4
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Aug 8 21:37:54 2009 +0200
Bug 590063 – GFileInfo.list_attributes should accept None/NULL
gio/gfileinfo.override | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
Author: Johan Dahlin <johan@gnome.org>
Date: Fri Jul 24 14:30:37 2009 -0300
Remove myself as a maintainer
MAINTAINERS | 4 ----
pygobject.doap | 7 -------
2 files changed, 11 deletions(-)
commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
Author: John Finlay <finlay@moeraki.com>
Date: Wed Jul 8 15:47:44 2009 -0700
* codegen/defsgen.py (clean_patterns): Strip out Windows
DLL API macros.
codegen/defsgen.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 23 21:18:23 2009 +0200
Fix the gio.unix namespace in docs
docs/Makefile.am | 2 ++
docs/reference/pygio-classes.xml | 2 --
docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
docs/reference/pygiounix-classes.xml | 13 +++++++++++++
docs/reference/pygobject-ref.xml | 1 +
6 files changed, 42 insertions(+), 28 deletions(-)
commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 22 23:13:36 2009 +0200
Add docs for gio functions (mostly for content types)
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-functions.xml | 395
+++++++++++++++++++++++++++++++++++++
3 files changed, 398 insertions(+)
commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun Jun 21 18:35:56 2009 +0200
Add docs for gio.Unix[In|Out]putStream classes
docs/Makefile.am | 4 +
docs/reference/pygio-classes.xml | 2 +
docs/reference/pygio-unixinputstream.xml | 202
++++++++++++++++++++++++++++++
docs/reference/pygio-unixoutputstream.xml | 202
++++++++++++++++++++++++++++++
4 files changed, 410 insertions(+)
commit 5b71e58117c85634d95d08449eb54079b246e5be
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sun Jun 21 16:50:03 2009 +0300
Document that many functions got moved gobject -> glib
docs/reference/pygobject-functions.xml | 7 +++++++
1 file changed, 7 insertions(+)
commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Jun 20 19:23:25 2009 +0200
Add docs for class gio.DataOutputStream
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-dataoutputstream.xml | 504
++++++++++++++++++++++++++++++
3 files changed, 507 insertions(+)
commit 549313fc4886fa3deb31761de6f5400708165d86
Author: Murray Cumming <murrayc@murrayc.com>
Date: Thu Jun 18 18:48:37 2009 +0200
Allow h2def.py to work when there are tabs or multiple spaces after
the struct keyword.
codegen/h2def.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 5c36ef20dca8cd1793f2d3e88949675299097f40
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 15 23:02:34 2009 +0200
Add dpcs for class gio.DataInputStream
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-constants.xml | 66 +++
docs/reference/pygio-datainputstream.xml | 799
+++++++++++++++++++++++++++++++
4 files changed, 868 insertions(+)
commit a8b36c343c6850af929c1d5a930f923831b4e637
Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
Date: Mon Jun 15 23:25:01 2009 +0300
Fix build when builddir is not the same as srcdir
Bug #585817.
girepository/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Mon Jun 15 23:19:47 2009 +0300
Make gio.Emblem constructor new-style
Add optional 'origin' parameter. Expand gio.Emblem documentation and
mark gio.emblem_new_with_origin as sort-of-deprecated.
docs/reference/pygio-emblem.xml | 51
+++++++++++++++++++++++++++++++++++++++--
gio/gio.defs | 5 ++--
2 files changed, 52 insertions(+), 4 deletions(-)
commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Jun 13 14:44:47 2009 +0200
Add docs for gio.BufferedOutputStream class
docs/Makefile.am | 96 ++++-----
docs/reference/pygio-bufferedoutputstream.xml | 275
++++++++++++++++++++++++++
docs/reference/pygio-classes.xml | 1 +
3 files changed, 325 insertions(+), 47 deletions(-)
commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Jun 13 14:38:34 2009 +0200
Fix gio.BufferedInputStream docs
Added the constructor reference and fixed a typo in properties header
docs/reference/pygio-bufferedinputstream.xml | 34
++++++++++++++++++++++++++--
1 file changed, 32 insertions(+), 2 deletions(-)
commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat Jun 13 01:25:06 2009 +0200
Add docs for gio.BufferedInputStream
docs/Makefile.am | 2 +
docs/reference/pygio-bufferedinputstream.xml | 431
+++++++++++++++++++++++++++
docs/reference/pygio-classes.xml | 1 +
3 files changed, 434 insertions(+)
commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sun May 31 18:25:47 2009 +0300
Cleanup GIO overrides to use Python function/method names
Also move several gio.Mount overrides over from 'gio.override' to
existing 'gmount.override'. Part of bug #584289.
gio/gfile.override | 20 ++---
gio/gfileenumerator.override | 6 +-
gio/ginputstream.override | 2 +-
gio/gio.override | 204
-------------------------------------------
gio/gmount.override | 204
+++++++++++++++++++++++++++++++++++++++++++
5 files changed, 218 insertions(+), 218 deletions(-)
commit 07e9c18dc092f6546230168b6b69c1b3454e120a
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sun May 31 18:56:55 2009 +0300
Make codegen report errors using Python function/method names
Part of bug #584289.
codegen/codegen.py | 9 +++++----
codegen/definitions.py | 10 +++++++++-
2 files changed, 14 insertions(+), 5 deletions(-)
commit 235fde85d015382f2ba38b21968e82b3ac0b6612
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri Jun 12 00:12:17 2009 +0200
Fix object type in gio.BufferedInputStream_fill_async
gio/gbufferedinputstream.override | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 407b0e909056f15960e6a4e549896d786ce0a0b2
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 9 00:08:21 2009 +0200
Wrap gio.BufferedInputStream.fill_async
Wrap the method gio.BufferedInputStream.fill_async and add a test
gio/Makefile.am | 1 +
gio/gbufferedinputstream.override | 70
+++++++++++++++++++++++++++++++++++++++
gio/gio.override | 1 +
tests/test_gio.py | 25 ++++++++++++++
4 files changed, 97 insertions(+)
commit b7c96b41b287685fe57504e0add3a6f16e649975
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 8 15:42:40 2009 +0200
Add gio.BufferedOutputStream which was forgotten in the types
definition
gio/gio-types.defs | 7 +++++++
1 file changed, 7 insertions(+)
commit 3666f75af4ef2c8e038116aee5afada59d59f689
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 8 14:20:02 2009 +0200
Add docs for gio.MemoryOutputStream
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-memoryoutputstream.xml | 175
++++++++++++++++++++++++++++
3 files changed, 178 insertions(+)
commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 8 13:30:15 2009 +0200
Split overrides for gio.MemoryOutputStream
gio/Makefile.am | 1 +
gio/gio.override | 1 +
gio/gmemoryoutputstream.override | 45
++++++++++++++++++++++++++++++++++++++++
gio/goutputstream.override | 24 ---------------------
4 files changed, 47 insertions(+), 24 deletions(-)
commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 8 11:45:11 2009 +0200
Wrap gio.memory_input_stream_new_from_data
Add the wrapper for gio.memory_input_stream_new_from_data including
docs and a test.
docs/Makefile.am | 4 +-
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-memoryinputstream.xml | 151
+++++++++++++++++++++++++++++
gio/Makefile.am | 1 +
gio/ginputstream.override | 34 -------
gio/gio.override | 1 +
gio/gmemoryinputstream.override | 91 +++++++++++++++++
tests/test_gio.py | 4 +
8 files changed, 252 insertions(+), 35 deletions(-)
commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
Date: Mon Jun 8 19:15:24 2009 +0200
Fixes whitespaces style issues with girepository.
girepository/Makefile.am | 2 +-
girepository/bank-repository.c | 67
+++++++++++++++++++++---------------------
girepository/bank.h | 2 +-
girepository/btypes.py | 6 ++--
girepository/module.py | 2 +-
5 files changed, 39 insertions(+), 40 deletions(-)
commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
Date: Fri Jun 5 19:03:59 2009 +0200
Removes the header but the modeline in test_girepository.py.
tests/test_girepository.py | 26 +-------------------------
1 file changed, 1 insertion(+), 25 deletions(-)
commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
Date: Wed Jun 3 10:47:58 2009 +0200
Adds overrides modules from PyBank.
girepository/Makefile.am | 3 +++
girepository/importer.py | 3 +--
girepository/overrides/Gdk.py | 14 ++++++++++++++
girepository/overrides/Gtk.py | 8 ++++++++
4 files changed, 26 insertions(+), 2 deletions(-)
commit c12964e6a3354d8063355225c94e6d21d621e08b
Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
Date: Tue Jun 2 23:40:41 2009 +0200
Disables the tests that fail in tests/test_girepository.py.
tests/test_girepository.py | 242
++++++++++++++++++++++++++++++++++-----------
1 file changed, 182 insertions(+), 60 deletions(-)
commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
Date: Tue Jun 2 23:03:26 2009 +0200
Imports test_girepository.py from former PyBank's
everything_unittest.py.
tests/test_girepository.py | 288
+++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 288 insertions(+)
commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
Date: Thu May 28 17:45:11 2009 +0200
Introduces the girepository module from the former PyBank.
INSTALL | 69 +--
Makefile.am | 2 +-
configure.ac | 12 +
girepository/Makefile.am | 52 ++
girepository/__init__.py | 24 +
girepository/bank-argument.c | 379 +++++++++++++
girepository/bank-info.c | 1194
++++++++++++++++++++++++++++++++++++++++
girepository/bank-repository.c | 237 ++++++++
girepository/bank.c | 155 ++++++
girepository/bank.h | 80 +++
girepository/btypes.py | 300 ++++++++++
girepository/importer.py | 52 ++
girepository/module.py | 224 ++++++++
girepository/repository.py | 51 ++
14 files changed, 2799 insertions(+), 32 deletions(-)
commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 2 18:28:22 2009 +0200
Fix the docs for gio.FilterOutputStream
docs/reference/pygio-filteroutputstream.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 2 18:27:00 2009 +0200
Add gio.FilterOutputStream docs
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-filteroutputstream.xml | 152
++++++++++++++++++++++++++++
3 files changed, 155 insertions(+)
commit e2c31f916967229b6547e68013628ce0082cf875
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 2 13:29:59 2009 +0200
Add gio.FilterInputStream docs
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-filterinputstream.xml | 152
+++++++++++++++++++++++++++++
3 files changed, 155 insertions(+)
commit 49a467eee445bc75554db0374006722ac075194b
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 2 11:33:20 2009 +0200
Add API appeared in 2.20 but not marked as such in gio docs
gio/gio.defs | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 2 10:41:26 2009 +0200
Wrap gio.FileOutputStream.query_info_async
Add the wrapper for gio.FileOutputStream.query_info_async
including docs and a test.
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-fileoutputstream.xml | 257
++++++++++++++++++++++++++++++
gio/Makefile.am | 3 +-
gio/gfileoutputstream.override | 68 ++++++++
gio/gio.override | 1 +
tests/test_gio.py | 27 ++++
7 files changed, 358 insertions(+), 1 deletion(-)
commit 4673577d1f6c3d54423808dd575987092fb05ad2
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue Jun 2 10:17:41 2009 +0200
Fix gio.FileInputStream docs
Add implemented interface section and remove a method description
docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
commit 1e1cad02879d514745b5233658654cbe944530a5
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 1 22:54:26 2009 +0200
Fix the method name
gio/gfileinputstream.override | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
commit f605811afe8c91f121e89b6f9ec28c70b62f4110
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon Jun 1 22:40:56 2009 +0200
Wrap gio.FileInputStream.query_async
Add the wrapper for gio.FileInputStream.query_async including docs and
a test.
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-fileinputstream.xml | 221
+++++++++++++++++++++++++++++++
gio/Makefile.am | 1 +
gio/gfileinputstream.override | 68 ++++++++++
gio/gio.override | 1 +
tests/test_gio.py | 27 ++++
7 files changed, 321 insertions(+)
commit 08623e54a426377c1504b5c364aabae5a17f8ad8
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sun May 31 17:43:16 2009 +0300
Install executable codegen parts with executing permissions
Also add shebang where it was missing. Bug #583979.
codegen/Makefile.am | 23 ++++++++++++-----------
codegen/code-coverage.py | 2 ++
codegen/codegen.py | 2 ++
codegen/defsconvert.py | 2 ++
4 files changed, 18 insertions(+), 11 deletions(-)
commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sat May 30 16:57:49 2009 +0300
Wrap gio.DataInputStream.read_line_async and read_until_async
Wrap the functions and their corresponding *_finish() functions.
Create 'gdatainputstream.override' for these and move two existing
functions there. Add unit tests. Re-enable synchronous read_line
unit test and adjust it for new official GIO behavior. Bug #584285.
gio/Makefile.am | 1 +
gio/gdatainputstream.override | 250
++++++++++++++++++++++++++++++++++++++++++
gio/ginputstream.override | 65 -----------
gio/gio.defs | 4 +-
gio/gio.override | 1 +
tests/test_gio.py | 51 ++++++++-
6 files changed, 300 insertions(+), 72 deletions(-)
commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sat May 30 17:24:15 2009 +0300
Fix gio.OutputStream.splice_async
Bug #584290.
gio/goutputstream.override | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit e43fa429f6b4019a432acb481bbc07c8201cc46d
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Wed May 27 21:19:27 2009 +0300
Code maintenance: ignore one more file created by unit tests
tests/.gitignore | 1 +
1 file changed, 1 insertion(+)
commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon May 25 20:20:38 2009 +0200
Update the docs with new 2.20 API
docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
docs/reference/pygio-mount.xml | 156
+++++++++++++++++++++++++++++++++++++++
3 files changed, 367 insertions(+), 3 deletions(-)
commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon May 25 01:33:08 2009 +0200
Add gio 2.20 API
add the new API added in gio 2.20, some needs to be wrapped manually
gio/gio.defs | 106
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gio/unix.defs | 48 +++++++++++++++++++++-----
2 files changed, 146 insertions(+), 8 deletions(-)
commit 0d08df42514fba6abc896814abfee0d2d083c29e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon May 25 00:14:21 2009 +0200
Post release version bump 2.19.0
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun May 24 23:56:29 2009 +0200
Update NEWS, release 2.18.0
NEWS | 14 ++++++++++++++
configure.ac | 4 ++--
2 files changed, 16 insertions(+), 2 deletions(-)
commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun May 24 22:18:40 2009 +0200
Add documentation for the gio.OutputStream class
The docs for this class are not completed, missing methods
descriptions.
The index is complete though, it will be completed once all the
classes
are in place so we can ship a (almost) complete reference.
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 3 +-
docs/reference/pygio-outputstream.xml | 140
++++++++++++++++++++++++++++++++++
3 files changed, 144 insertions(+), 1 deletion(-)
commit 11524cdf6472d9115a812ce431f6767aec5627bc
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun May 24 22:12:04 2009 +0200
Wrap gio.OutputStream.splice_async()
wrap gio.OutputStream.splice_async() and add a test.
gio/goutputstream.override | 58
+++++++++++++++++++++++++++++++++++++++++++++-
tests/test_gio.py | 20 ++++++++++++++++
2 files changed, 77 insertions(+), 1 deletion(-)
commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
Date: Sun May 24 22:55:16 2009 +0300
Add Python version into installed libpyglib name
Do this now, while no-one (as far as we know) links to the library
besides PyGObject itself. Bug #550235.
configure.ac | 2 ++
gio/Makefile.am | 2 +-
glib/Makefile.am | 10 +++++-----
gobject/Makefile.am | 2 +-
4 files changed, 9 insertions(+), 7 deletions(-)
commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun May 24 11:44:24 2009 +0200
Wrap gio.OutputStream.flush_async()
wrap gio.OutputStream.flush_async() and add a test.
gio/goutputstream.override | 47
+++++++++++++++++++++++++++++++++++++++++++++-
tests/test_gio.py | 11 +++++++++++
2 files changed, 57 insertions(+), 1 deletion(-)
commit 84ab6178ed0033f69932df5bc73c86bdff80c953
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun May 17 17:29:37 2009 +0200
Add documentation for the gio.FileMonitor class
The docs for this class are not completed, missing methods
descriptions.
The index is complete though, it will be completed once all the
classes
are in place so we can ship a (almost) complete reference.
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-filemonitor.xml | 128
+++++++++++++++++++++++++++++++++++
3 files changed, 131 insertions(+)
commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
Author: Josselin Mouette <joss@malsain.org>
Date: Sun May 17 18:03:44 2009 +0300
Use 'Requires.private' for libffi in '.pc' files
Correction for patch in bug #550231.
pygobject-2.0-uninstalled.pc.in | 3 ++-
pygobject-2.0.pc.in | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Wed May 13 21:54:39 2009 +0200
Add wrapper for gio.FileAttributeMatcher
added a boxed type for gio.FileAttributeMatcher which has been
forgotten while
wrapping the gio API. This should probably be done in gio itself.
gio/gfileinfo.override | 24 ++++++++++++++++++++++--
gio/gio-types.defs | 7 +++++++
gio/gio.override | 2 ++
3 files changed, 31 insertions(+), 2 deletions(-)
commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Wed May 13 22:06:25 2009 +0300
Mark relevant glib.IOChannel methods as METH_NOARGS
Additionally fix glib.IOChannel.set_close_on_unref: was marked
METH_NOARGS but actually accepted arguments. Fixes bug #582427.
glib/pygiochannel.c | 83
+++++++++++++----------------------------------------
1 file changed, 20 insertions(+), 63 deletions(-)
commit 002915e5f458fec5a89766a54e8119a70a80caa7
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Tue May 12 20:37:24 2009 +0200
Add documentation for the gio.FileInfo class
The docs for this class are not completed, missing methods
descriptions.
The index is complete though, it will be completed once all the
classes
are in place so we can ship a (almost) complete reference.
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-fileinfo.xml | 346
++++++++++++++++++++++++++++++++++++++
3 files changed, 349 insertions(+)
commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sat May 9 16:46:04 2009 +0300
Retire hand-written ChangeLog; autocreate from Git history
Basically copied over from GLib source tree.
ChangeLog | 3606
---------------------------------------------------
ChangeLog.pre-2.18 | 3608
++++++++++++++++++++++++++++++++++++++++++++++++++++
Makefile.am | 32 +
3 files changed, 3640 insertions(+), 3606 deletions(-)
commit 23556bdbcf9cf06db866901fb822dd78a9043648
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat May 9 00:03:05 2009 +0200
Fix a bug in InputStream.skip_async
use the count argument instead of buffer_size which is always zero
gio/ginputstream.override | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit ed6b06315c17441b41c001d38537c904b8fe18de
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat May 9 00:02:33 2009 +0200
Add docs for the gio.InputStream class
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-inputstream.xml | 730
+++++++++++++++++++++++++++++++++++
3 files changed, 733 insertions(+)
commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Mon May 4 23:40:28 2009 +0200
Wrap gio.InputStream.skip_async()
wrap gio.InputStream.skip_async() and add a test.
gio/ginputstream.override | 50
++++++++++++++++++++++++++++++++++++++++++++++-
tests/test_gio.py | 20 +++++++++++++++++++
2 files changed, 69 insertions(+), 1 deletion(-)
commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
Author: Siavash Safi <siavash@siavashs.org>
Date: Mon May 4 15:46:49 2009 +0430
Add -n --namespace option and the code to remove
dll API in headers, Added documentation
Patch from bug #579275
ChangeLog | 8 ++++
codegen/h2def.py | 133
+++++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 117 insertions(+), 24 deletions(-)
commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Sat May 2 23:54:52 2009 +0300
Properly mark glib.get_user_special_dir() as a keywords method
Fixes bug #581082.
glib/glibmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f466dca880cc6ea68b9fe236943eea7a07d33520
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun May 3 11:03:25 2009 +0200
Add docs for the gio.LoadableIcon class
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-loadableicon.xml | 198
++++++++++++++++++++++++++++++++++
3 files changed, 201 insertions(+)
commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sun May 3 01:21:55 2009 +0200
Add docs for the gio.ThemedIcon class
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-themedicon.xml | 204
++++++++++++++++++++++++++++++++++++
3 files changed, 207 insertions(+)
commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Sat May 2 12:25:19 2009 +0200
post release version bump to 2.17.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri May 1 23:40:31 2009 +0200
Fix the class title
docs/reference/pygio-mountoperation.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Fri May 1 22:24:33 2009 +0200
Add docs for the gio.MountOperation class
docs/Makefile.am | 2 +
docs/reference/pygio-classes.xml | 1 +
docs/reference/pygio-constants.xml | 107 +++++
docs/reference/pygio-mountoperation.xml | 726
++++++++++++++++++++++++++++++++
4 files changed, 836 insertions(+)
commit fceea8e843e880f0469e454df23141e7dd2bc0cf
Author: Gian Mario Tagliaretti <gianmt@gnome.org>
Date: Thu Apr 30 22:13:06 2009 +0200
Update NEWS, release 2.17.0
NEWS | 93
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 93 insertions(+)
commit 47389217d1a65a8e3f404d486c508cf5d3164756
Author: Paul Pogonyshev <pogonyshev@gmx.net>
Date: Thu Apr 30 22:47:19 2009 +0300
Fix memory leak in gio.File.query_info_async()
After the recent patch it would leak exception data if old argument
order was used. Properly decref the objects.
gio/gfile.override | 4 ++++
1 file changed, 4 insertions(+)
|