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
|
2009-02-28 Gian Mario Tagliaretti <gianmt@gnome.org>
gtk/gtk-2.14.defs: add gtk.PrintSettings.[get|set]_number_up_layout
which were forgotten in the last release.
2009-02-27 Gian Mario Tagliaretti <gianmt@gnome.org>
gtk/gtk-2.14.defs: gtk.show_uri should accept None for screen.
2009-02-27 Gian Mario Tagliaretti <gianmt@gnome.org>
gtk/gtk-2.14.defs: gtk.MountOperation set the default parent window
in constructor to None.
2009-02-26 Gian Mario Tagliaretti <gianmt@gnome.org>
gtk/gtk-2.14.defs: deprecate gtk.FontSelectionDialog.get_apply_button()
2009-02-22 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 311008 – pygtk-demo fixes
* examples/pygtk-demo/pygtk-demo.py: Apply a patch from Andi Albrecht.
* examples/pygtk-demo/demos/pixbufs.py: Remove deprecation Warnings.
2009-02-22 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 309180 – gtk.MessageDialog exposes private attributes
* gtk/gtk.override: add deprecation warnings using private attributes.
2009-02-22 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 447388 – pixbuf.get_pixels_array() doesn't correctly flag the array
as non-contiguous
gtk/gdkpixbuf.override: Fix the rowstride for pixbuf with padded rows.
Patch from Tim Evans
2009-02-20 James Henstridge <james@jamesh.id.au>
* ltihooks.py: relicense file from GPL to LGPL 2.1 for benefit of
pygst. Not sure why I used a GPL header to start with.
2009-02-15 Gian Mario Tagliaretti <gianmt@gnome.org>
gtk/gtk-base.defs: Fix a small typo.
2009-02-15 Gian Mario Tagliaretti <gianmt@gnome.org>
gtk/gtk-base.defs: Add deprecation warnings to the old gtk.Tooltips
2009-02-01 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtktextview.override
(_wrap_gtk_text_buffer_register_deserialize_format): Return the
deserialized string as a new memory buffer. Closes #567747.
(_wrap_gtk_text_buffer_serialize): We must free the original
deserialized string buffer (caller owns return).
2009-01-31 Gian Mario Tagliaretti <gianmt@gnome.org>
NEWS: update to reflect 2.14 branch
2009-01-30 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 563717 – GNOME Goal: Clean up GLib and GTK+ includes
gtk/gtk.override:
gtk/gtkunixprint.override:
gtk/pygtktreemodel.h:
gtk/gtkunixprintmodule.c:
gtk/pygtkcellrenderer.h: Clean up GLib and GTK+ includes,
patch from Przemysław Grzegorczyk.
2009-01-28 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 566493 – gtk_accel_groups_activate is not available
* gtk.override: clean up ignore section which contains lots of methods
that don't exist while closing the bug by removing
(gtk_accel_groups_activate) from ignore.
=== PyGTK 2.14.0 ===
2009-01-28 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 556130 – bogus override of python includes in configure.ac
* configure.ac: Don't override PYTHON_INCLUDES, it's already set
by AM_CHECK_PYTHON_HEADERS patch by Loïc Minier.
2009-01-27 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.ac: version bump to 2.15.0.
2008-12-02 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 562991 – memory leak in gdk.draw_indexed_image
* gtk/gdkdraw.override (_wrap_gdk_draw_indexed_image): Free
`colors' array.
2008-12-01 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/Makefile.am:
* gtk/gtkunixprint-2.12.defs:
* gtk/gtkunixprint-2.14.defs:
* gtk/gtkunixprint-base-types.defs:
* gtk/gtkunixprint-base.defs:
* gtk/gtkunixprint.defs: split gtkunixprint defs in order to support
multiple gtk versions.
2008-09-12 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.ac: remove pygobject version check for gtk+ 2.14
2008-09-11 Paul Pogonyshev <pogonyshev@gmx.net>
* configure.ac: PyGObject 2.15.5 is required to compile pygtk
2.14.
2008-09-11 Michiel de Hoon <mjldehoon@yahoo.com>
Bug 524327 – Interactive PyGTK
* gtk/gtk.override (_main_quit, _loop, _wrap_set_interactive): New
functions.
* gtk/__init__.py: Make PyGTK interactive.
2008-09-11 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 481715 – Need way to assign to a GtkTextIter
* gtk/gtktextview.override (_wrap_gtk_text_iter_assign): New
function (based on patch by Owen Taylor).
* tests/test_textview.py (TextIterTest): New test.
2008-09-10 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 550442 – gdk.c:19188: error: ‘GDK_TYPE_APP_LAUNCH_CONTEXT’
undeclared (first use in this function)
* gtk/gdk.override: Include <gdk/gdk.h> itself.
2008-09-09 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 551505 – set_parent_window(None) should work
* gtk/gtk-base.defs (gtk.Widget.set_parent_window): Accept None
too.
2008-09-09 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 539475 – gtk.gdk.threads_(enter|leave) promote dead-lock-prone
synchronization
* gtk/__init__.py (gdk.lock): New context manager.
2008-09-08 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 550754 – need to import GIO types from PyGObject package
* configure.ac: Determine if `gio-types.defs' is installed as part
of PyGObject.
* gtk/Makefile.am: Use it to register GIO types if installed.
* gtk/gdk.override: Make gio.AppLaunchContext import conditional.
Add conditional import of gio.Icon.
* gtk/gtk.override: Make gio.MountOperation import conditional.
Add conditional imports of gio.File and gio.Icon.
2008-09-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.14.defs: comment out for a while gtk_selection_data_get_data
waiting to fix a problem in codegen.
2008-09-01 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.ac: require GTK+ 2.13.8 for pygtk 2.14
* gtk/gtk-2.14.defs: update with latest API changes in GTK+
2008-09-01 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.ac: require pygobject 2.15.4 for pygtk 2.14
2008-09-01 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 309554 – gtk.Widget.list_accel_closures not wrapped
* gtk/gtkwidget.override:
* tests/Makefile.am:
* tests/test_accel_closures.py: Wrap gtk_widget_list_accel_closures
patch from Gustavo Carneiro.
2008-08-31 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/pygtktreemodel.c: Remove compiler warnings.
2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 541476 – Update pango examples
* examples/pango/utf8-demo.py: Fix interpreter line. Replace all
escapes with corresponding characters. Use gtk.main_quit()
instead of deprecated gtk.mainquit().
* examples/pango/extentdemo.py: Fix interpreter line.
2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 529623 – TypeError not raised when setting gtk.TreeView
adjustment property to None
* gtk/gtk-base.defs (gtk.ScrolledWindow.set_hadjustment): Allow
the argument to be None.
(gtk.ScrolledWindow.set_vadjustment): Likewise.
2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 526189 – add __str__ and/or __repr__ to several types
* gtk/gdk.override (_wrap_gdk_cursor_tp_repr): New function.
* gtk/gdkcolor.override (pygdk_color_to_string_smart)
(_wrap_gdk_color_tp_repr, _wrap_gdk_color_tp_str): New functions.
* gtk/gdkevent.override (_wrap_gdk_event_tp_repr): New function.
* gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_repr): New
function.
* tests/test_color.py (Tests.test_repr, Tests.test_str): New tests.
(Tests._test_color_list): New helper method.
* tests/test_rectangle.py (Tests.test_repr): New test.
(Tests._test_rectangle_list): New helper method.
2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 534658 – Avoid warning when compiling against Python 2.5 or
older
* gtk/gtk.override (pygtk_main_watch_prepare): Avoid GCC warning.
2008-08-26 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.14.defs: Include latest 2.14 API added in GTK+ itself.
2008-08-25 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 548602 – C-isms in pango.FontDescription
* pango.defs (pango.FontDescription.copy_static)
(pango.FontDescription.set_family_static)
(pango.FontDescription.merge_static): Deprecate.
2008-08-24 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.ac: post release version bump.
=== PyGTK 2.13.0 ===
2008-08-24 Gian Mario Tagliaretti <gianmt@gnome.org>
* NEWS: updated.
* README: updated.
2008-08-24 Gian Mario Tagliaretti <gianmt@gnome.org>
* tests/test_treeview.py: Comment out test_default_attributes until
we get a response on bugs #546005 and #498010.
2008-08-24 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk-base.defs (gtk.Toolbar.set_icon_size)
(gtk.Toolbar.unset_icon_size): Undeprecate based on the same move
in GTK+ itself (see bug #314172).
2008-08-24 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 548180 – install compatibility symlink for pygtk-codegen-2.0
* pygtk-codegen-2.0.in: New file.
* configure.ac:
* Makefile.am: Hook it up.
2008-08-21 Gian Mario Tagliaretti <gianmt@gnome.org>
* NEWS: Updated.
2008-08-21 Gian Mario Tagliaretti <gianmt@gnome.org>
* docs/Makefile.am: Fix a problem with distcheck and avoid including
.svn dir in the resulting tarball.
2008-08-18 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 548312 – gtk_font_selection_get_family_entry and
gtk_font_selection_get_face_entry are gone
* gtk/gtk-2.14.defs: remove gtk_font_selection_get_family_entry and
gtk_font_selection_get_face_entry since they are gone in GTK+ itself.
Patch by Björn Lindqvist.
2008-08-18 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 548349 – gtk_widget_get_snapshot(NULL) is allowed
* gtk/gtk-2.14.defs: (gtk.Widget.get_snapshot) Accept None and
default to None. Reported by Björn Lindqvist.
2008-08-09 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk-base.defs (gtk.CellViewset_background_color): Accept
None (bug #546733).
2008-08-03 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.14.defs: rename gtk_window_get_default to
gtk_window_get_default_widget see #65818.
* configure.ac: GTK+ 2.13.6 is required to compile pygtk.
2008-08-02 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 527212 – types with well-defined equality semantics are not
properly comparable
* gtk/gdk.override (_wrap_pygdk_region_tp_richcompare): New
function.
* gtk/gdkcolor.override (_wrap_gdk_color_tp_richcompare): New
function.
* gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_richcompare):
New function.
* tests/test_conversion.py (testColorCreation): Move to thematic
test file.
* tests/Makefile.am:
* tests/test_color.py:
* tests/test_rectangle.py: Two new test files.
2008-07-29 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.ac: pygobject 2.15.3 is required to compile pygtk 2.14.
2008-07-26 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtkbuilder.override (PyGCustomSignalNotify): Add
'missing_handlers' (Python list) and 'exception_pending' (boolean)
fields.
(connect_many, _wrap_gtk_builder_connect_signals): Warn user on
missing handlers and set/modify new fields as appropriate (bug
#543768).
2008-07-15 Johan Dahlin <johan@gnome.org>
* configure.ac: rename from configure.in
2008-07-26 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 544777 – Add GTK+ 2.14 API in PyGTK
* gtk/gdk.override:
* gtk/gtk.override:
* gtk/gdk-2.14.defs:
* gtk/gtk-2.14.defs:
* gtk/gtk-2.14-types.defs:
* gtk/gdk-base-types.defs:
* gtk/Makefile.am: Add GTK+ 2.14 API
* configure.in: Bump version to 2.13.0.
2008-07-19 Paul Pogonyshev <pogonyshev@gmx.net>
* docs/Makefile.am (EXTRA_DIST): Don't include full directories:
that drags in the '.svn's in them (bug #530142).
2008-07-15 Johan Dahlin <johan@gnome.org>
* gtk/libglade.override:
modulename should be gtk.glade, not just glade.
Spotted by pychecker.
2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk-base.defs (gtk.CellRenderer.do_start_editing): Mark
return value as optional (bug #542583).
bug 542821:
* codegen: Remove directory, we will use PyGObject's codegen from
now on.
* configure.in: Remove local codegen mentions.
(CODEGENDIR): New AC_SUBST: determine where installed PyGObject's
codegen is.
* Makefile.am:
* gtk/Makefile.am: Remove local codegen mentions and use
'CODEGENDIR' instead.
* MANIFEST.in:
* pygtk.spec.in:
* setup.py: Remove all mentions of codegen.
* pygobject-2.0.pc.in: Remove file (unused).
* pygtk-2.0.pc.in: Change 'codegendir' to refer to PyGObject's
codegen.
2008-07-08 Murray Cumming <murrayc@murrayc.com>
* codegen/h2def.py: clean_func(): Strip GSEAL out, to avoid
us thinking that there are many functions called GSEAL.
2008-06-26 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk.override (_wrap_gtk_plug_new): Fix to work also with
integer 'socket_id' argument (bug #539365).
* tests/Makefile.am:
* tests/test_plug.py: New test file.
* gtk/gtk-2.12.defs (gtk.Builder.add_from_string): Explain why
'length' is preserved in definition, but not mentioned in docs.
2008-06-24 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtktreeview.override (_wrap_gtk_tree_model_tp_getitem): Fix
logic in negative index branch to avoid refcount corruption.
(_wrap_gtk_tree_model_tp_setitem): Likewise (bug #537459).
* tests/test_liststore.py (ListStoreTest.testNegativeIndexGet)
(ListStoreTest.testNegativeIndexSet): Two new tests for the bug.
2008-06-23 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 539743 – Missing method gtk.IconView.get_tooltip_context
* gtk/gtk.override: wrap gtk.IconView.get_tooltip_context
* examples/pygtk-demo/demos/tooltip.py: use the above method.
2008-06-22 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk.override (_wrap_gtk_action_set_menu_item_type)
(_wrap_gtk_action_set_tool_item_type): Check that argument is a
subclass of gtk.MenuItem or gtk.ToolItem correspondingly (bug
#533644).
* tests/test_actiongroup.py (ActionTest.testSetItemClasses): New
test for the added type check.
2008-06-22 Gian Mario Tagliaretti <gianmt@gnome.org>
Bug 530145 – Missing method gtk.TreeView.get_tooltip_context
* gtk/gtk.override: wrap gtk.TreeView.get_tooltip_context
* examples/pygtk-demo/demos/tooltip.py: use the above method.
2008-06-21 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk.override (_wrap_gtk_button_new): Fix 'use_underline'
being ignored if neither 'text' nor 'stock' is set (bug #524187).
* tests/Makefile.am:
* tests/test_button.py: New test file.
2008-06-10 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk.override: wrap gtk.show_about_dialog()
fixes (bug #167603) patch from Christopher Aillon.
2008-06-09 Gian Mario Tagliaretti <gianmt@gnome.org>
* tests/Makefile.am:
* tests/test_filechooserdialog.py: New test
* gtk/gtk.override: Add a gtk.FileChooserDialog get_action method to
workaround an issue with the same mothos of gtk.Widget being called.
fixes (bug #534042).
2008-06-06 Johan Dahlin <johan@gnome.org>
* gtk/gtk-base.defs: Deprecate gtk.FileSelection
2008-06-06 Gian Mario Tagliaretti <gianmt@gnome.org>
* examples/Makefile.am: Ship tooltip.py example in pygtk-demo.
2008-06-06 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-1.12.defs: Allow None in gtk.recent_action_new_for_manager
params.
2008-06-06 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-1.12.defs: Allow None in gtk.RecentAction constructor params,
fixes (bug #536882).
2008-06-01 Björn Lindqvist <bjourne@gmail.com>
* docs/Makefile.am: Move CSS_DATA variable inside the if
ENABLE_DOCS block. Makes make work if --enable-docs=no is
specified and pygobject docs are not available. (bug #536077)
2008-05-20 Owen Taylor <otaylor@redhat.com>
* gtk/gtk.override: Allocate the right amount of memory
for PySignalWatchSource, fixing memory corruption.
(bug #534083)
2008-05-18 Gian Mario Tagliaretti <gianmt@gnome.org>
* examples/Makefile.am:
* examples/pygtk-demo/demos/textscroll.py: add new example
by Muntyan, fixes (bug #522047).
2008-05-18 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gdk-base.defs: gtk.gdk.DragContext.set_icon_widget allow mask
parameter to be NULL, fixes (bug #497781).
2008-05-08 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs: wrap gtk_widget_set_has_tooltip,
fixes (bug #524987).
2008-05-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gdk-2.12.defs: wrap gdk_notify_startup_complete_with_id,
fixes (bug #454985).
2008-05-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs: wrap set_tip_area of gtk.Tooltip,
fixes (bug #485171).
2008-05-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-base-types.defs: Wrap region field for expose event,
fixes (bug #495933).
2008-05-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-base-types.defs: wrap gtk.Border fields,
fixes (bug #484030).
2008-05-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-base-types.defs: wrap the requisition field of gtk.Widget,
fixes (bug #369311).
2008-05-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gdkevent.override: wrap is_modifier for key press/release,
fixes (bug #367970).
2008-05-02 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gdkcairo.override: cairo_set_source_pixmap should accept any
drawable not just pixmaps, fixes (bug #491256).
2008-05-01 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gdk.override: Wrap gdk_region_get_rectangles,
(bug #517099).
2008-04-27 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gdkcolor.override (_wrap_gdk_color_new): Add constructor
variant similar to what gtk.gdk.color_parse() done. Raise with
useful message in case of wrong arguments (bug #527718).
* tests/test_conversion.py (Tests.testColorCreation): Test the new
constructor with string argument.
2008-04-15 Johan Dahlin <jdahlin@async.com.br>
patch by: Johan Euphrosine <proppy@aminche.com>
* configure.in:
Unbreak pango/cairo dependency chains (bug #528217)
2008-03-24 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gdkevent.override (_wrap_gdk_event_tp_setattr): Fix several
bugs wrt 'y_root' caused by copy-paste (bug #519631).
2008-02-14 Johan Dahlin <jdahlin@async.com.br>
* examples/Makefile.am:
* examples/gtk/application.py:
Add an application example, which includes hoovering statusbar
updates using a ui manager.
2008-02-06 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gdk.override:
* gtk/gdk-base.defs: Create instance of GdkScreen using
gdk_screen_get_default() to avoid segfault. Fix #444974.
2008-02-01 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gdkpixbuf.override (_wrap_gdk_pixbuf_save): Detach from
Python interpreter while saving, which can take a long time.
2008-01-31 Nathaniel Smith <njs@pobox.com>
* examples/gtk/scrollable.py (Layout.do_realize, Layout.do_map):
Use conceptually correct set_flags() calls.
* examples/gtk/widget.py (PyGtkWidget.do_realize): Likewise.
2007-01-29 Olivier Crete <tester@tester.ca>
* codegen/h2def.py (DefsWriter.__init__): Fix copy-paste typos.
2008-01-29 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk-base.defs (insert_action_group): Add default value of -1
to `pos' argument.
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtk-2.12.defs (GtkBuilder.add_from_string): Set the default
length to -1.
2008-01-03 Johan Dahlin <johan@gnome.org>
* configure.in: Post release version bump
=== PyGTK 2.12.1 ===
2008-01-03 Johan Dahlin <johan@gnome.org>
* NEWS: Update
* configure.in:
* gtk/gtk.override (pygtk_main_watch_prepare):
Port PyGObject patch from #481569 over to PyGTK, this avoids
unnecessary wakeups every 100ms.
2007-12-16 Gian Mario Tagliaretti <gianmt@gnome.org>
* examples/pygtk-demo/demos/changedisplay.py: Fix change display demo,
patch by Yevgen Muntyan. fixes #354896.
2007-12-16 Paul Pogonyshev <pogonyshev@gmx.net>
* gtk/gtk-base.defs (get_cell_area): Accept null `column' (fixes
#358091).
2007-12-16 Guillaume Cottenceau <gcottenc@gmail.com>
* gtk/gdk-base.defs (flip): Add `caller-owns-return'.
2007-12-15 Gian Mario Tagliaretti <gianmt@gnome.org>
* examples/pango/extentdemo.py: add new example (by Adam Olsen,
and Behdad Esfahbod), fixes #400810.
2007-12-13 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gdk-base.defs:
(pixbuf_new_from_file)
(pixbuf_new_from_file_at_size): release the GIL, fixes #415611
patch by Jakub Stachowski
2007-12-12 Ed Catmur <ed@catmur.co.uk>
* Makefile.am (EXTRA_DIST): Also distribute m4 files.
2007-12-12 Sebastien Bacher <seb128@debian.org>
* examples/glade/README: Fix wrong command name.
2007-12-12 Richard Hult <richard@imendio.com>
* examples/pygtk-demo/demos/hypertext.py
(HypertextDemo.key_press_event): Use `gtk.keysyms', not `gtk.gdk'
where applicable.
2007-12-10 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk-base.defs (render_icon): Bug 502871:
gtk.Style.render_icon leaks a reference to the returned pixbuf.
2007-11-29 Dan Winship <danw@gnome.org>
* codegen/defsgen.py (GType): GType is a gulong, not a guint.
Fixes crash on x86_64. #500508
2007-11-25 Matthew Barnes <mbarnes@redhat.com>
* gtk/Makefile.am: Install gtk-extrafuncs.defs. Fixes #380020.
2007-11-16 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtk-base.defs: Add several `null-ok' for accel-related
functions.
2007-11-13 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtkcontainer.override: (_wrap_GtkContainer__proxy_do_forall):
do not leak allocated user data. Fixes #480306, patch by Mark Doffman.
2007-11-12 Yevgen Muntyan <muntyan@tamu.edu>
* autogen.sh: use absolute path of srcdir; and use it in ACLOCAL_FLAGS.
2007-11-03 Julien Moutinho <julien.moutinho@gmail.com>
* gtk/gtk.override (_wrap_gtk_clipboard_set_with_data): Fix typo
in the code.
2007-10-20 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.in: raise pygobject dependency to 2.14.0, fixes #478718
reported by Daniel Gryniewicz.
2007-10-18 Gian Mario Tagliaretti <gianmt@gnome.org>
* README: mention how to build docs, patch from Björn Lindqvist,
fixes #479379.
2007-10-18 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs:
(gtk_widget_set_tooltip_window) Allow None in parameter.
2007-10-16 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs:
(gtk_widget_set_tooltip_markup)
(gtk_widget_set_tooltip_text)
(gtk_icon_view_set_tooltip_cell)
(gtk_tool_item_set_tooltip_text)
(gtk_tool_item_set_tooltip_markup)
(gtk_tree_view_set_tooltip_cell) Allow None in parameters.
2007-09-21 Jeremy Katz <katzj@redhat.com>
* gtk/gtktreeview.override
(gtk_tree_view_convert_widget_to_bin_window_coords)
(gtk_tree_view_convert_widget_to_tree_coords)
(gtk_tree_view_convert_tree_to_widget_coords)
(gtk_tree_view_convert_tree_to_bin_window_coords)
(gtk_tree_view_convert_bin_window_to_widget_coords)
(gtk_tree_view_convert_bin_window_to_tree_coords): Fix wrapper (#479012)
2007-09-16 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Post-release bump.
=== 2.12.0 ===
2007-09-16 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Version 2.12.0.
* NEWS: Update.
2007-09-06 John Finlay <finlay@moeraki.com>
* docs/Makefile.am (install-data-hook): Add pygobject docs dir to
index dirs for fixxref.py
2007-09-04 John Finlay <finlay@moeraki.com>
* codegen/defsgen.py (main): Create a GObject to initialize param pool
Fixes #473576 (patch by Mark Doffman).
2007-09-02 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* pango.override:
* tests/test_pango.py:
Bug 472908 – Make pango.Context non-instantiable.
2007-09-01 John Finlay <finlay@moeraki.com>
* codegen/argtypes.py (StringArg.write_param)
* codegen/codegen.py (Wrapper.write_function_wrapper): Allow StringArg
to have default empty string ("")
2007-08-30 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gdk-2.12.defs: Put the X11 defs inside (ifdef GDK_TARGET_X11
...). Fixes Bug 471804 – X11 specific calls included in the gtk
module, breaking other backends.
2007-08-29 Johan Dahlin <jdahlin@async.com.br>
* pango.override: Make the bindings a bit more pythonic, implement
tp_str, tp_hash and tp_compare for a few objects.
* tests/test_pango.py: Add tests.
2007-08-27 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Post-release version bump.
=== 2.11.0 ===
2007-08-27 Johan Dahlin <jdahlin@async.com.br>
* README:
* NEWS: Update
2007-08-27 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in (gtk_version): Add -DHAVE_GTK_2_12 to
PYGTK_CODEGEN_DEFINES when compiling with gtk+ 2.12.
* gtk/gtk-base.defs (scroll_child): Idem. for
ScrolledWindow.scroll_child.
* gtk/gtk-2.10.defs (reorder_tab): Idem for reorder_tab.
* gtk/gtk-base.defs: Adjust GtkNotebook virtual
change_current_page return type to gboolean if compiling against
gtk+ >= 2.12.
* docs/Makefile.am (EXTRA_DIST): Add icons and cursors to dist.
* configure.in: Fix CFLAGS to allow compilation on Solaris.
2007-08-25 John Finlay <finlay@moeraki.com>
* Makefile.am (doc-dist): Copy icons and cursors when making doc-dist.
2007-08-23 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/Makefile.am: Fix makefile rules to regenerate the defs after
each configure.
2007-08-21 John Finlay <finlay@moeraki.com>
* docs/cursors: Add missing cursor images
* docs/icons: Add missing stock item icons
* docs/Makefile.am (install-data-local): Install the stock item icons
and cursor images in subdirectories of the reference docs.
2007-08-20 Johan Dahlin <jdahlin@async.com.br>
* tests/test_bin.py: New file.
* gtk/gtk.override (_wrap_gtk_bin__set_child): New function.
Closes #398155.
2007-08-14 Paul Pogonyshev <pogonyshev@gmx.net>
reviewed by: Gustavo Carneiro
* gtk/gtk-base.defs (GtkTextLayout.set_buffer): Allow None as
`buffer'.
(GtkTextView.set_buffer): Likewise. Closes #466375.
2007-08-15 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gdkevent.override:
Bug 466990 – GdkEventClient binding is 64-bit unclean.
2007-08-11 Paul Pogonyshev <pogonyshev@gmx.net>
reviewed by: Johan Dahlin
* gtk/gtk-base.defs (GtkContainer.set_focus_child): Allow None as
`widget'.
(GtkContainer.do_set_focus_child): Likewise.
(GtkWindow.do_set_focus): Likewise for `focus'. Closes #462368.
* tests/test_container.py (FocusContainer, FocusWindow): New
auxiliary classes.
(ContainerTest.testFocusSignalHandlers): New test.
2007-08-09 Tim Evans <t.evans@aranz.com>
reviewed by: Gustavo Carneiro
* gtk/gtk.override (_wrap_GtkCellRenderer__do_get_size): Fix
PyArg_ParseTupleAndKeywords() call. Allow `cell_area' to be None.
Closes #450770.
2007-08-09 Yevgen Muntyan <muntyan@tamu.edu>
reviewed by: Gustavo Carneiro
* gtk/gtk-base.defs (GtkWidget.style_set): Allow None for
`previous_style' argument. Closes #425759.
2007-08-09 Paul Pogonyshev <pogonyshev@gmx.net>
reviewed by: Gustavo Carneiro
* gtk/gtktreeview.override (pygtk_tree_sortable_sort_cb): Don't
leak `py_model'. Closes #361439.
2007-08-05 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs:
(gtk_tooltip_set_markup)
(gtk_tooltip_set_text)
(gtk_tooltip_set_icon_from_stock)
(gtk_tooltip_set_icon) Allow None in parameters.
2007-07-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs:
(gtk_widget_modify_cursor) Allow None in parameters.
2007-07-30 Paul Pogonyshev <pogonyshev@gmx.net>
reviewed by: Johan, Fix bug #388754
* examples/gtk/customtreemodel.py: Add usage example.
* gtk/gtk-extrafuncs.defs (get_user_data, create_tree_iter): New
methods of `gtk.GenericTreeModel'.
* gtk/pygtktreemodel.c (pygtk_generic_tree_model_get_user_data)
(pygtk_generic_tree_model_create_tree_iter): New functions.
2007-07-28 Gian Mario Tagliaretti <gianmt@gnome.org>
reviewed by: gjc, Fix bug #461245
* gtk/gtk.override:
(gtk_icon_theme_list_contexts)
(gtk_icon_theme_choose_icon) Add wrappers.
2007-07-27 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk.override:
(gtk_cell_layout_get_cells) Add wrapper.
* gtk/gtk-2.12.defs:
(gtk_entry_set_cursor_hadjustment) Allow None.
2007-07-27 Paul Pogonyshev <pogonyshev@gmx.net>
reviewed by: Johan, Fix bug #389777
* tests/test_container.py (MyAlignment): New auxiliary widget class.
(ContainerTest.testSuperclassForAll): New test case.
* gtk/gtkcontainer.override (_wrap_GtkContainer__do_forall_callback)
(_wrap_GtkContainer__do_forall): New functions.
2007-07-26 Gian Mario Tagliaretti <gianmt@gnome.org>
reviewed by: gjc, Fix bug #460200
* gtk/gtk.override:
(gtk_scale_button_new)
(gtk_scale_button_set_icons): Add wrappers.
* tests/test_scalebutton.py: Test the above.
* gtk/gtk-2.12.defs:
(gtk_buildable_add_child)
(gtk_builder_set_translation_domain): allow None according to C docs.
2007-07-21 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs: add more 2.12 API.
2007-07-21 Gian Mario Tagliaretti <gianmt@gnome.org>
* examples/pygtk-demo/tooltip.py: Add new tooltip demo.
* examples/pygtk-demo/builder.py
* examples/pygtk-demo/demo.ui: moved and adapted for pygtk-demo.
2007-07-17 Gian Mario Tagliaretti <gianmt@gnome.org>
reviewed by: Johan, Fix bug #4457195
* gtk/gtkbuilder.override: new file.
* gtk/Makefile.am,
* gtk/gtk.override: add gtkbuilder.override.
* examples/builder/*: add new builder example.
2007-07-15 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtk-2.12.defs: strip gtk_ prefix for new functions.
2007-07-14 Johan Dahlin <jdahlin@async.com.br>
* gtk/__init__.py: try/except around ltihooks.uninstall(),
as suggested by Brad Schick at the pygtk mailing list
2007-07-12 Gian Mario Tagliaretti <gianmt@gnome.org>
reviewed by: Johan, Fix bug #371293
* gtk/gtk-base.defs:
(gtk_image_new_from_file)
(gtk_image_new_from_pixbuf)
(gtk_image_new_from_pixmap)
(gtk_image_new_from_image): Add wrappers.
2007-07-12 Gian Mario Tagliaretti <gianmt@gnome.org>
reviewed by: Johan, Fix bug #456037
* gtk/gtktreeview.override:
(gtk_tree_view_convert_widget_to_bin_window_coords)
(gtk_tree_view_convert_widget_to_tree_coords)
(gtk_tree_view_convert_tree_to_widget_coords)
(gtk_tree_view_convert_tree_to_bin_window_coords)
(gtk_tree_view_convert_bin_window_to_widget_coords)
(gtk_tree_view_convert_bin_window_to_tree_coords): Add wrappers.
2007-07-11 Gian Mario Tagliaretti <gianmt@gnome.org>
* configure.in: fix a broken build if gtk+-2.12 is not present,
patch from Sébastien Granjoux.
2007-07-11 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/reversewrapper.py: Fix premature return of virtual
methods containing GError** parameters. Based on patch by
Sébastien Granjoux. Closes #455629.
2007-07-11 Gian Mario Tagliaretti <gianmt@gnome.org>
reviewed by: Johan
* configure.in: bump version to 2.11.0, bump pango required version
to 1.16.0, bump atk version to 1.12.0. Conditional build for gtk/gdk
2.12 API.
* pango-types.defs,
* pango.defs,
* pangocairo.defs: update with API up to 1.16.
* atk-types.defs,
* atk.defs: update with API up to 1.12.
* gtk/Makefile.am: conditional build for new API 2.12.
* gtk/gtk-2.12-types.defs,
* gtk/gtk-2.12.defs,
* gtk/gdk-2.12.defs: new files holding 2.12 API.
* gtk/gtkunixprint.defs: update with API 2.12.
2007-07-10 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* tests/test_actiongroup.py (ActionTest): Add a gtk.Action subclass test.
2007-07-08 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* codegen/codegen.py: Automatically define a __version__ attribute
in modules when VERSION is defined as preprocessor macro. This
allows modules to get __version__ defined almost automatically;
they only have to add #include "config.h" to the top of the
.override file.
2007-06-24 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk.override (_wrap_gtk_tooltips__get_tips_data_list): Do not
access GtkTooltips->tips_data_list, just return an empty list instead
since it's private and it was renamed on trunk (#449318)
2007-06-17 Yevgen Muntyan <muntyan@tamu.edu>
reviewed by: Gustavo Carneiro
* codegen/argtypes.py: Bug 448111 – Write const for boxed const
return values.
2007-06-16 Sebastien Bacher <seb128@ubuntu.com>
* m4/python.m4: use python-config to get python includes
(Closes #448176)
2007-06-14 Sébastien Granjoux <seb.sfo@free.fr>
reviewed and fixed by: Gustavo J. A. M. Carneiro.
* codegen/reversewrapper.py: Handle GError** in virtual
methods (bug #446470).
2007-06-11 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* codegen/reversewrapper.py (ReverseWrapper.generate): Special
case when only a single void return value exists; fix the return
value type checking in this case.
2007-05-23 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* codegen/reversewrapper.py (ReverseWrapper.generate): Refactor to
allow add_pyret_parse_item("", ""), which is used for 'void'
return type.
(VoidReturn.write_conversion): Fix bug #440059: Bad check for
direction "out" parameters with return-type "none".
2007-05-17 Tim Evans <t.evans@aranz.com>
Reviewed by: Gustavo Carneiro.
* codegen/reversewrapper.py (DoubleReturn.write_conversion): Fix
copy-paste error, and also support the new API that allows parsing
of multiple return values. Fixes Bug #439014.
2007-05-07 Richard Hult <richard@imendio.com>
* configure.in: Make --disable-docs actually work, OKed by Johan.
2007-05-03 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* tests/test_actiongroup.py,
* tests/test_gdk.py: Fix unit tests to account for the new memory
management model in pygobject 2.13.
2007-05-01 Andrew Cowie <andrew@operationaldynamics.com>
* gtk/gdk-base.defs: Fix return type of GdkRectangle.union
2007-02-23 Mariano Suarez-Alvarez <mariano@gnome.org>
* gtk/gtk-base.defs: Allow None for the string arguments
of gtk_rc_get_style_by_paths. (Fixes bug #411412)
2007-02-05 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Post release version bump
=== 2.10.4 ===
2007-02-05 Johan Dahlin <jdahlin@async.com.br>
* NEWS:
2.10.4
2007-01-31 Gian Mario Tagliaretti <gianmt@gnome.org>
* gtk/gtkcontainer.override: Fix a possible memory leak in
gtk.Container.child_get() (Fixes bug #404076)
2007-01-31 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkcontainer.override (_wrap_gtk_container_class_list_child_properties): Undeprecate
2007-01-20 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gdk.override (_wrap_gdk_display_close): Force keeping of a
reference to the display GObject even when we close() it.
* tests/test_gdk.py (GdkTest.testDisplay): Johan's unit test with
minor modifications.
* gtk/gdk.override (_wrap_gdk_display_close): Override and make it
aware that calling gdk_display_close unrefs the GdkDisplay.
2007-01-18 Johan Dahlin <jdahlin@async.com.br>
* gtk/gdk-base.defs: allow None
2007-01-09 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.ac: Turn the option --disable-docs into --enable-docs.
* docs/Makefile.am: Treat --enable-docs like --enable-gtk-doc in
gtk+, i.e. do not ever build docs unless requested, but always
install them if they are found already built.
2006-12-21 Sebastien Bacher <seb128@ubuntu.com>
* codegen/Makefile.am: install createdefs.py, fix dsextras.py,
patch by Michael Bienia (Fixes #385934)
2006-12-14 Kjartan Maraas <kmaraas@gnome.org>
* autogen.sh: Make it work with automake 1.10.
2006-12-05 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gdkevent.override (_wrap_gdk_event_tp_setattr): For the
attribute "string", free the old string and g_strdup the new one;
spotted by John Ehresman.
Fixes bug #382428.
2006-12-02 Manish Singh <yosh@gimp.org>
* codegen/codegen.py: fix code for generating defines in override
files, by using variables that actually exist in the context.
Fixes bug #381389.
2006-11-25 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtktreeview.override (pygtk_tree_foreach_marshal): Use
pygtk_boxed_unref_shared to unref py_iter. We need this because
the application may decided to keep a copy of the iterator passed
in to a gtk_tree_model_foreach callback.
2006-11-19 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* examples/Makefile.am (demo_PYTHON),
* examples/pygtk-demo/demos/statusicon.py: Add a gtk.StatusIcon
example by Nikos Kouremenos.
2006-11-15 Johan Dahlin <jdahlin@async.com.br>
* gtk/__init__.py: Do not rebind sys.path, restore the old one.
Thanks to Jp Calderone for pointing out.
2006-10-13 Paolo Borelli <pborelli@katamail.com>
* gtk/gtktextview.override
(pygtk_text_buffer_register_serialize_format_cb): set return
value to NULL in the error codepath.
2006-10-13 John Finlay <finlay@moeraki.com>
* docs/Makefile.am (HTMLFILES): Remove
html/pygtk-reference-copyright.html. Fixes #361906 (Marc-Andre Lureau)
2006-10-05 Cedric Gustin <cedric.gustin@gmail.com>
* setup.py: Initialize Templates and TemplateExtensions with
py_ssize_t_clean=True (required by codegen.SourceWriter).
2006-10-03 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* configure.in: Bump version.
=== 2.10.3 ===
2006-10-03 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* NEWS: Update.
* Makefile.am:
* atk.override:
* atkrectangle.override:
* codegen/argtypes.py:
* codegen/codegen.py:
* gtk/Makefile.am:
* gtk/gdk.override:
* gtk/gdkdraw.override:
* gtk/gdkpixbuf.override:
* gtk/gdkrectangle.override:
* gtk/gtk-types.c: (pygtk_style_helper_getitem),
(pygtk_style_helper_setitem), (pygtk_tree_model_row_getitem),
(pygtk_tree_model_row_setitem):
* gtk/gtk.override:
* gtk/gtkcontainer.override:
* gtk/gtktextview.override:
* gtk/gtktreeview.override:
* pango.override:
Support Python 2.5 + 64-bit architectures (#337368).
2006-10-03 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gtktreeview.override (pygtk_tree_sortable_sort_cb): Fix a
refcount problem accidentally introduced by me between 2.10.1 and
2.10.2 :P
2006-10-03 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Post-release version bump.
=== 2.10.2 ===
2006-10-03 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* NEWS: Update.
* tests/test_treeview.py: Add unit test for bug #347273.
2006-09-21 Cedric Gustin <cedric.gustin@gmail.com>
* pygtk_postinstall.py: Adapt the codegendir variable to the user
platform. Copy style.css from pygobject docs to pygtk docs. Run
fixxref on installed html files. Add functions to install
shortcuts in the Start menu to the reference manual (currently
disabled: see bug #353849).
* setup.py: Changed the way the VERSION macro is defined on
win32. Added 2.10 defs files for gdk and gtk when GTK+ 2.10 is
detected. Added gtk.keysyms, gtk._lazyutils, dsextras_gen and
codegen to the list of installed packages. Also install the html
reference documentation and run fixxref on the html files.
2006-09-16 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/pygtkcellrenderer.c (pygtk_generic_cell_renderer_activate):
Same fix as below.
* gtk/gtktreeview.override (pygtk_tree_selection_foreach_marshal):
Use pygtk_boxed_unref_shared to fix a side-effect of fixing bug
#347273.
(pygtk_tree_sortable_sort_cb): Add a similar fix.
* gtk/gtkobject-support.c (pygtk_boxed_unref_shared): Add a new
pygtk private API to unref a boxed type with a shared pointer.
2006-09-12 John Ehresman <jpe@wingware.com>
* gtk/gtk.override (_wrap_gtk_clipboard_wait_for_rich_text):
Declare variable at start of code block
2006-09-04 Johan Dahlin <jdahlin@async.com.br>
* configure.in: post release version bump.
=== 2.10.1 ===
2006-09-04 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkmodule.c (init_gtk): Require pygobject 2.12.0
* configure.in: post release version bump.
=== 2.10.0 ===
2006-09-04 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Bump version and require GTK+ 2.10 for 2.10 API
* README (http): Update
* NEWS: Update
2006-08-21 Johan Dahlin <jdahlin@async.com.br>
* docs/Makefile.am: Get rid of build_stamp, include the generated html
documentation in the tarball.
2006-08-14 John Finlay <finlay@moeraki.com>
* docs/Makefile.am (CSS_FILES):
* docs/style.css:
* configure.in (PYGOBJECT_PYGDOCS): Copy style.css from pygobject docs
when installing docs. Fixes #351385 (Gian Mario Tagliaretti)
2006-08-14 Johan Dahlin <jdahlin@async.com.br>
* gtk/__init__.py (_init): issue a warning instead of printing
to stdout, fixes #316877 regression. (Jeremey Katz)
2006-08-12 John Finlay <finlay@moeraki.com>
* docs/style.css: Add.
* docs/Makefile.am: Add install of style.css
2006-08-10 John Finlay <finlay@moeraki.com>
* configure.in:
* docs/Makefile.am:
* docs/reference/entities.docbook.in:
* docs/reference/pygtk2-ref.xml:
Use builddate.xml for the builddate entity and have builddate.xml be
updated when the docs are built not during configure time.
2006-08-08 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Post release version bump
=== 2.9.6 ===
2006-08-08 Johan Dahlin <jdahlin@async.com.br>
* README: Add PyGObject dependency
* NEWS: Update
2006-08-07 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/reversewrapper.py:
Introduce new ArgTypeError exceptions, use them everywhere to
raise catch codegen errors. Bare except: clauses are gone now.
2006-08-07 Johan Dahlin <jdahlin@async.com.br>
* docs/Makefile.am ($(HTML_DATA)): Fix parallel build
(#350225, Ed Catmur)
2006-08-07 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/argtypes.py: Don't allow overwrite a argtype
registration unless the new kwarg 'overwrite' is True.
Fixes bug #350252.
2006-08-07 Johan Dahlin <johan@gnome.org>
* tests/test_treeview.py (TreeViewTest._test_default_attributes): Add
a test for #350252
2006-08-06 Johan Dahlin <johan@gnome.org>
* docs/fixxref.py: Remove, it moved to PyGObject.
2006-08-06 John Finlay <finlay@moeraki.com>
* docs/fixxref.py (link_pat): Allow patterns that cross multiple lines.
2006-08-06 Johan Dahlin <johan@gnome.org>
* configure.in: Post release version bump
=== PyGTK 2.9.5 ===
2006-08-06 Johan Dahlin <johan@gnome.org>
* NEWS: 2.9.5
2006-08-05 Johan Dahlin <jdahlin@async.com.br>
* gtk/Makefile.am (GDK_TYPES_DEFS): Always include 2.10 defs in
EXTRA_DIST, fixes (#350008, Joseph Sacco)
* gtk/__init__.py (ver): Make it possible to reload the gtk+ module,
(#349026, Alexander Larsson)
* tests/test_api.py (APITest.testGlade): Add a test
* gtk/_lazyutils.py (LazyModule.__getattr__): Special case __members__
to dir on the real module, fixes (#349892, John Finlay)
* tests/test_api.py (APITest.testKeysyms):
Add a test
2006-08-05 John Finlay <finlay@moeraki.com>
* gtk/gtkunixprint.override (pygtk_custom_destroy_notify): Add this
back in.
2006-08-04 Johan Dahlin <jdahlin@async.com.br>
* configure.in: post release version bump
=== PyGTK 2.9.4 ===
2006-08-04 Johan Dahlin <jdahlin@async.com.br>
* configure.in:
* docs/Makefile.am:
* docs/reference/entities.docbook.in:
* docs/reference/pygtk2-ref.xml:
Clean up the build date/version mess I created.
Now it's created during configure time and properly included in
the docbook files. Also make sure distcheck passes
2006-08-04 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Add hack to disable libtool checking for g++ and
g77 (copied from libglade).
2006-07-31 John Finlay <finlay@moeraki.com>
* codegen/defsgen.py: Add new program to generate .defs files using
the ctypes module to extract info from the GTK libraries.
2006-07-30 John Finlay <finlay@moeraki.com>
* gtk/gtkunixprint.override: Remove pygtk_custom_destroy_notify.
2006-07-30 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/codegen.py (SourceWriter.write_class): Simplify code
that generates the call to pygobject_register_class; Correct the
fallback value of bases_str.
2006-07-28 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gtk.override (_wrap_gtk_print_context_get_cairo_context):
Someone forgot to rename the override function when gtk+ API
changed...
2006-07-27 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* atkrectangle.override:
* gtk/gdk.override:
* gtk/gdkevent.override:
* gtk/gdkgc.override:
* gtk/gdkpixbuf.override:
* gtk/gtk-types.c:
* gtk/gtkcontainer.override:
* gtk/gtkmodule.c:
* gtk/gtktextview.override:
* gtk/libglade.override:
Do not exports internal symbols, fixes #347825
2006-07-27 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.override (_wrap_gtk_main): Copy paste some code from
pygobject/gobject/pygmainloop written by Mark McLoughlin, to check
for signals inside the gtk main loop.
* gtk/gtkmodule.c (init_gtk): Remove the timer; no longer needed.
Fixes bug #348937: 100ms timeouts in pygtk.
2006-07-25 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkmodule.c (init_gtk):
* pangomodule.c (initpango): Check the required
PyGObject version in runtime too.
2006-07-24 John Finlay <finlay@moeraki.com>
* atk.defs (atk_role_get_localized_name, atk_role_get_name): Define as
functions.
* pango.defs (pango_script_get_sample_language): Define as function.
* gtk/gtkunixprint.defs (details_acquired)
(gtk_print_capabilities_get_type, status_changed): Add.
* gtk/gtk-base-types.defs (Editable): Add prerequisite.
* pangocairo.override (*_get_type): ignore-glob
(pango_cairo_update_context, pango_cairo_create_layout)
(pango_cairo_update_layout, pango_cairo_show_glyph_string)
(pango_cairo_show_layout_line, pango_cairo_show_layout)
(pango_cairo_glyph_string_path, pango_cairo_layout_line_path)
(pango_cairo_layout_path): ignore.
* pangocairo.defs (pango_cairo_update_context)
(pango_cairo_context_set_font_options)
(pango_cairo_context_get_font_options)
(pango_cairo_context_set_resolution)
(pango_cairo_context_get_resolution, pango_cairo_create_layout)
(pango_cairo_update_layout, pango_cairo_show_glyph_string)
(pango_cairo_show_layout_line, pango_cairo_show_layout)
(pango_cairo_glyph_string_path, pango_cairo_layout_line_path)
(pango_cairo_layout_path): Add.
* pango.override (*_get_type, *_ref, *_unref, *_free): ignore-glob
(pango_default_break): ignore
* pango.defs (pango_attr_shape_new_with_data, pango_default_break)
(pango_context_get_font_map, pango_context_set_matrix)
(pango_context_get_matrix, pango_itemize_with_base_dir)
(pango_coverage_new, pango_glyph_item_split, pango_glyph_item_free)
(pango_glyph_item_apply_attrs, pango_glyph_item_letter_space)
(pango_item_get_type, pango_item_new, pango_item_copy)
(pango_item_free, pango_item_split, pango_script_for_unichar)
(pango_script_iter_new, pango_script_iter_get_range)
(pango_script_iter_next, pango_script_iter_free)
(pango_script_get_sample_language, pango_script_includes_script)
(pango_matrix_get_type, pango_matrix_copy, pango_matrix_free)
(pango_matrix_translate, pango_matrix_scale, pango_matrix_rotate)
(pango_matrix_concat, pango_get_mirror_char, pango_unichar_direction)
(pango_find_base_dir): Add. Add virtuals.
(pango_font_metrics_new, pango_find_map, pango_map_get_engine)
(pango_map_get_engines, pango_module_register): Add with ifdef
PANGO_ENABLE_BACKEND
(pango_split_file_list, pango_trim_string, pango_read_line)
(pango_skip_space, pango_scan_word, pango_scan_string)
(pango_scan_int, pango_config_key_get, pango_lookup_aliases)
(pango_parse_style, pango_parse_variant, pango_parse_weight)
(pango_parse_stretch, pango_get_sysconf_subdirectory)
(pango_get_lib_subdirectory, pango_log2vis_get_embedding_levels)
(pango_get_sample_string, pango_is_zero_width): Add with ifdef
USE_PANGO_UTILS
* pango-types.defs (WrapMode): Add PANGO_WRAP_WORD_CHAR. Reorganize.
2006-07-23 John Finlay <finlay@moeraki.com>
* atk.override (AtkObjectFactory__do_create_accessible)
(AtkObjectFactory__proxy_do_create_accessible)
(AtkUtil__do_add_global_event_listener)
(AtkUtil__proxy_do_add_global_event_listener)
(AtkUtil__do_remove_global_event_listener)
(AtkUtil__proxy_do_remove_global_event_listener)
(AtkUtil__do_add_key_event_listener)
(AtkUtil__proxy_do_add_key_event_listener)
(AtkUtil__do_remove_key_event_listener)
(AtkUtil__proxy_do_remove_key_event_listener): Ignore.
* codegen/reversewrapper.py (StringReturn): Add const-gchar* as a
StringReturn match.
* codegen/codegen.py (GInterfaceWrapper.write_virtuals): Don't write
interface_init if no proxies.
* atk.defs: Add get_type defs from atk-enum-types.h.
Add virtuals for Action, Component, Document, EditableText, Hyperlink,
Hypertext, Image, ObjectFactory, ImplementorIface, Object, Selection,
StreamableContent, Table. Text, Util and Value.
* gtk/Makefile.am (libglade.c, gtkunixprint.c): Add dependencies on
gtk-types.defs and gdk-types.defs
* codegen/reversewrapper.py (PangoFontDescriptionReturn)
(PangoFontMetricsReturn, PangoLanguageReturn): Add
2006-07-23 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/Makefile.am: Remove back the install-exec-hook that removes _gtk.la.
2006-07-23 Johan Dahlin <johan@gnome.org>
* Makefile.am:
* gtk/Makefile.am:
* gtk/__init__.py:
* gtk/_gtk.py:
* gtk/_lazyutils.py:
* gtk/deprecation.py:
* gtk/gtk.override:
* gtk/gtkmodule.c: (init_gtk):
* gtk/libglademodule.c: (initglade):
Revert dynamic namespaces, it is not possible
to solve it without breaking the ABI.
2006-07-23 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/_gtk.py: Add _PyGtk_API alias from _gtkimpl, for
compatibility reasons.
* gtk/Makefile.am (install-exec-hook): Uninstall old _gtk.la, if
installed, else it may conflict with _gtkimpl.la.
2006-07-22 John Finlay <finlay@moeraki.com>
* atk.defs (atk_implementor_ref_accessible): Attach as
AtkImplementorIface method
* atk-types.defs (AtkImplementorIface): Revert to registered name.
* gtk/gtk-base-types.defs: Annotate interfaces with prerequisites
and objects with interface implementations
* gtk/gtk-2.10-types.defs: Annotate interfaces with prerequisites
and objects with interface implementations. Reorganize.
* codegen/reversewrapper.py (VoidReturn.write_conversion)
(DoubleReturn.write_conversion, GBoxedReturn.write_conversion): Use
failure_exception instead of failure_cleanup
(GtkTreePathReturn): Add.
* gtk/gdk-base.defs (get_display_name, get_n_screens, get_screen)
(get_default_screen, closed): Add GdkDisplay virtual defs
(create_gc, draw_rectangle, draw_arc, draw_polygon, draw_text)
(draw_text_wc, draw_drawable, draw_points, draw_segments)
(draw_lines, draw_glyphs, draw_image, get_depth, get_size)
(set_colormap, get_colormap, get_visual, get_screen, get_image)
(get_clip_region, get_visible_region, get_composite_drawable)
(draw_pixbuf, draw_glyphs_transformed, draw_trapezoids)
(ref_cairo_surface): Add GdkDrawable virtual defs
(get_values, set_values, set_dashes): Add GdkGC virtual defs
(direction_changed, keys_changed): Add GdkKeymap virtual defs
(size_changed): Add GdkScreen virtual def
(gdk_pixbuf_animation_ref, pixbuf_animation_unref): Add
GdkPixbufAnimation method defs
(non_anim_new, is_static_image, get_static_image, get_size)
(get_iter): Add GdkPixbufAnimation method and virtual defs with
GDK_PIXBUF_ENABLE_BACKEND ifdef
(get_delay_time, get_pixbuf, on_currently_loading_frame, advance): Add
GdkPixbufAnimationIter virtual defs with GDK_PIXBUF_ENABLE_BACKEND
ifdef
(pixbuf_error_quark, pixbuf_get_type, ref, unref)
(pixbuf_new_from_file_at_scale, save_to_callbackv)
(save_to_buffer, save_to_bufferv): Add misc GdkPixbuf method and
function defs
(is_scalable, is_disabled, set_disabled, get_license): Add
GdkPixbufFormat methods defs
(set_option): Add GdkPixbuf method def with GDK_PIXBUF_ENABLE_BACKEND
ifdef
(size_prepared, area_prepared, area_updated, closed): Add
GdkPixbufLoader virtual defs
(serialize, deserialize, from_pixbuf, pixbuf_from_pixdata)
(to_csource): Add GdkPixdata method and function defs
* gtk/gdk-2.10.defs (composited_changed): Add GdkScreen virtual def
* gtk/gdk.override (gdk_pixbuf_from_pixdata, gdk_pixdata_*): Ignore
* codegen/reversewrapper.py (GdkRegionPtrReturn): Add.
2006-07-22 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* Makefile.am (SUBDIRS): Make --disable-docs really work.
2006-07-22 John Finlay <finlay@moeraki.com>
* gtk/gdk-base.defs (gdk_pixbuf_simple_anim_add_frame)
(pixbuf_simple_anim_new, pixbuf_simple_anim_iter_get_type)
(pixbuf_simple_anim_get_type, gdk_pixbuf_flip): Add
* gtk/gdk.override: Add #define for GDK_TYPE_PIXBUF_SIMPLE_ANIM_ITER.
* gtk/gdk-base-types.defs (PixbufSimpleAnim)
(PixbufSimpleAnimIter, PixbufRotation): Add.
2006-07-20 Johan Dahlin <johan@gnome.org>
* gtk/gdk-base.defs:
Remove the leading gdk_ from a few functions.
2006-07-20 John Finlay <finlay@moeraki.com>
* docs/Makefile.am: Make builddate.xml dependent on REFERENCE_DEPS.
Make version.xml dependent on config.h. Add builddate.xml to pdf and
build-stamp dependencies. Clean pdf files.
2006-07-20 Johan Dahlin <jdahlin@async.com.br>
* configure.ac:
* docs/Makefile.am:
* docs/reference/.cvsignore:
* docs/reference/version.xml.in:
Generate builddate.xml and version.xml at build time instead on
configure time, add proper dependencies.
2006-07-20 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gtk-base.defs (lookup_icon, load_icon): Caller owns return.
Fixes leaks.
2006-07-20 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (GtkObject__do_set_arg, GtkObject__do_get_arg)
(GtkObject__proxy_do_set_arg, GtkObject__proxy_do_get_arg): Ignore.
#341633 (Johan Dahlin)
* gtk/gtk-types.c (pygtk_tree_model_row_getitem)
(pygtk_tree_model_row_setitem): Remove negative index readjustment
code. #311852 (Baiju M)
* codegen/codegen.py (Coverage.printstats): Fix typo.
#341668 (Yevgen Muntyan)
2006-07-19 John Finlay <finlay@moeraki.com>
* gtk/gtktreeview.override (_wrap_gtk_tree_store_insert): Fix typo
* docs/Makefile.am: Use more portable date generator.
2006-07-19 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkmodule.c (init_gtkimpl): Don't register constants
* codegen/codegen.py: Make enum/flags lazily created too.
* gtk/__init__.py:
* gtk/deprecation.py:
Make functions lazily loaded.
Make deprecation lazy too, to avoid refercing anything until it's called.
2006-07-19 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* atk.override (_wrap_atk_editable_text_set_run_attributes): Don't
ignore g_slist_append return value.
2006-07-19 Rafael Espíndola <rafael.espindola@gmail.com>
reviewed by: Gustavo Carneiro
* codegen/codegen.py: Mark generated PyTypeObject structures with
G_GNUC_INTERNAL to reduce the size of the PLT. Fixes #347825.
2006-07-19 John Finlay <finlay@moeraki.com>
* docs/fixxref.py: Add utility to fix links to pygobject docs.
* docs/Makefile.am : Add reference/version.xml and
reference/builddate.xml for auto generated version and build date for
docs
* docs/common.xsl:
* docs/devhelp.xsl:
* docs/html-style.xsl:
* docs/html.xsl: Remove.
* configure.in (AC_CONFIG_FILES): Add docs/reference/version.xml
2006-07-18 Johan Dahlin <johan@gnome.org>
* docs/Makefile.am (HTMLdir): Install book in $datadir/gtk-doc/html
2006-07-18 John Finlay <finlay@moeraki.com>
* gtk/gtktreeview.override (pygtk_cell_data_func_marshal)
(pygtk_tree_selection_foreach_marshal, pygtk_tree_sortable_sort_cb)
(pygtk_tree_foreach_marshal, pygtk_tree_model_filter_visible_cb)
(pygtk_filter_modify_func_marshal)
(pygtk_set_search_equal_func_marshal): Don't copy TreeIter when passing
to callback. #347273 (Stefano Maggiolo)
(_wrap_gtk_tree_selection_set_select_function): Optionally provide full
info to callback. #340475 (Wouter Bolsterlee)
2006-07-17 John Finlay <finlay@moeraki.com>
* gtk/gtktreeview.override:
(_wrap_gtk_tree_store_set_column_types): Add.
(_wrap_gtk_tree_store_insert): Use gtk_tree_store_insert_with_valuesv.
* gtk/_lazyutils.py (LazyNamespace.__getattribute__): Allow
'from gtk import *' to work
2006-07-17 Johan Dahlin <johan@gnome.org>
* configure.in:
* docs/.cvsignore:
* docs/Makefile.am:
* docs/reference/pygtk2-ref.xml:
Add non GObject parts of John Finlays reference manual
2006-07-17 John Finlay <finlay@moeraki.com>
* codegen/reversewrapper.py (GBoxedReturn.write_conversion): Specify
code arg is None
* gtk/gtk-2.10.defs: Add additional virtual defs.
* gtk/gtk-base.defs: Add additional virtual defs.
2006-07-14 John Finlay <finlay@moeraki.com>
* Makefile.am (.defs.c): Allow libglade and gtkunixprint code
generation in place.
2006-07-13 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10-types.defs (TargetList): Move from
gtk/gtk-base-types.defs
* gtk/gtk-base-types.defs (AccelMap): Add. #337011 (Sebastian Pölsterl)
(TipsQuery, TargetList, TreePath, FileInfo, FilePath): Add.
* gtk/gtk.override (_wrap_gtk_accel_map_foreach)
(_wrap_gtk_accel_map_foreach_unfiltered): Add.
Fixes #337011 (Sebastian Pölsterl)
(GtkTipsQuery, GtkTargetList, GtkTreePath, GtkFileInfo, GtkFilePath):
Ignore types.
* codegen/codegen.py (SourceWriter.write_registers): Don't write
registers for ignored types.
(SourceWriter.write_type_declarations): Don't write type declarations
for ignored types.
2006-07-13 Johan Dahlin <jdahlin@async.com.br>
* codegen/codegen.py:
* codegen/defsparser.py:
* configure.in:
* gtk/Makefile.am:
* gtk/__init__.py:
* gtk/_gtk.py:
* gtk/_lazyutils.py:
* gtk/deprecation.py:
* gtk/gtk.override:
* gtk/gtkmodule.c: (init_gtkimpl):
* gtk/libglade.override:
* gtk/libglademodule.c: (init_glade):
* gtk/pygtk.h:
* tests/common.py:
* tests/test_api.py:
Only load types in gtk when they are used, fixes #346946
2006-07-13 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* tests/test_container.py: New unit test to
set/get_child_property, etc. by Lorenzo Gil Sanchez.
* tests/Makefile.am (tests): Add test_container.py.
* gtk/gtkcontainer.override
(_wrap_GtkContainer__proxy_do_set_child_property): Add missing
param.
* gtk/gtkwidget.override (_wrap_gtk_widget_set_activate_signal)
(_wrap_gtk_widget_get_activate_signal): Add getter and setter for
GtkWidgetClass->activate_signal. Fixes #331445.
* gtk/gtk.override (_wrap_gtk_action_set_menu_item_type): Add
class method to change GtkActionClass->menu_item_type.
(_wrap_gtk_action_set_tool_item_type): idem for tool_item_type.
Fixes #331355.
* gtk/gtk-base.defs: Declare the missing
GtkAction.create_menu|tool_item virtuals.
* examples/gtk/scrollable.py (Layout.do_size_allocate): Save the
allocation (#341509, Muntyan).
* gtk/gtk.override (_wrap_GtkEditable__do_insert_text): Impl.
(_wrap_GtkEditable__do_get_selection_bounds): Impl.
* gtk/gtk-base.defs (insert_text): Add direction information to
the position parameter of gtk.Editbale.insert_text virtual.
* codegen/defsparser.py (IncludeParser.include): Fix including
absolute path names, #345073.
2006-07-12 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* NEWS: I forgot one NEWS item in the release :P
* configure.in: Post release version bump.
=== 2.9.3 ===
2006-07-12 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* NEWS: Update.
* tests/Makefile.am: Copy a few more gtk module support files for
running tests.
* tests/common.py: Don't hide import errors.
2006-07-13 Johan Dahlin <johan@gnome.org>
* gtk/gtk.override: Ignore gtk_recent_chooser_set_show_numbers and
gtk_recent_chooser_get_show_numbers,
see http://article.gmane.org/gmane.comp.gnome.language-bindings/805
2006-07-12 John Finlay <finlay@moeraki.com>
* gtk/gtkunixprint.override (_wrap_gtk_enumerate_printers): Add.
2006-07-11 John Finlay <finlay@moeraki.com>
* gtk/gtkunixprint.defs (gtk_printer_accepts_pdf)
(gtk_printer_accepts_ps, gtk_enumerate_printers): Add.
* gtk/gdk-base.defs (gdk_set_pointer_hooks): Remove dup.
2006-07-10 John Finlay <finlay@moeraki.com>
* gtk/gtk-base.defs (gtk_binding_entry_add_signal): Remove dup.
* gtk/gdk-base-types.defs (GdkColorspace): Remove duplicate.
* gtk/gdk-base.defs (gdk_color_change): Change to function to resolve
conflict with gdk_colormap_change.
(gdk_colormap_change): Note as deprecated.
(gdk_display_store_clipboard): Remove dup def
2006-07-08 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk-base.defs (clipboard_get_for_display): Add
"(caller-owns-return nil)"; Fixes #343960.
2006-07-07 John Finlay <finlay@moeraki.com>
* gtk/gdk.override: Ignore-glob *_libgtk_only. Fixes #321476.
2006-07-06 John Finlay <finlay@moeraki.com>
* pango.override (_wrap_pango_attr_underline_color_new)
(_wrap_pango_attr_strikethrough_color_new)
(_wrap_pango_attr_size_new_absolute)
(_wrap_pango_attr_letter_spacing_new): Add.
* pango.defs (AttrSizeAbsolute, AttrUnderlineColor)
(AttrStrikethroughColor, AttrLetterSpacing)
(pango_font_description_set_absolute_size)
(pango_font_description_get_size_is_absolute)
(pango_font_get_font_map): Add.
* gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string):
Allow colors to be a sequence.
* atk.override (_wrap_atk_state_set_contains_states)
(_wrap_atk_state_set_add_states): Fix reference leaks.
2006-07-06 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string):
Check that argument is a list of gdk.Color. Fixes #346745.
2006-07-06 John Finlay <finlay@moeraki.com>
* atk.override (atk_text_free_ranges): Ignore.
(_wrap_atk_value_get_current_value)
(_wrap_atk_value_get_maximum_value)
(_wrap_atk_value_get_current_value)
(_wrap_atk_value_set_current_value): Add.
* atkmodule.c (initatk): Add call to _pyatk_register_boxed_types()
* Makefile.am (ATK_OVERRIDES): Add atkrectangle.override
* atkrectangle.override: Add.
* atk.override (_wrap_atk_text_get_text_at_offset)
(_wrap_atk_text_get_text_before_offset)
(_wrap_atk_text_get_character_extents)
(_wrap_atk_text_get_run_attributes)
(_wrap_atk_text_get_default_attributes)
(_wrap_atk_text_get_bounded_ranges, _wrap_atk_text_get_selection)
(_wrap_atk_text_get_range_extents): Add,
* atk.defs (atk_rectangle_new): Add.
2006-07-05 John Finlay <finlay@moeraki.com>
* atk.override (_wrap_atk_state_set_contains_states)
(_wrap_atk_state_set_add_states):
(_wrap_atk_table_get_selected_rows)
(_wrap_atk_table_get_selected_columns):
(_wrap_atk_text_get_text_after_offset): Add.
* atk.defs (atk_relation_type_get_name): Define as function instead
of method.
(atk_state_type_get_name): Define as function instead of method.
(atk_state_set_new): Fix typo.
* atk.override (_wrap_atk_relation_get_target): Add.
(_wrap_atk_relation_new): Raise ValueError if targets is zero length.
2006-07-05 Johan Dahlin <jdahlin@async.com.br>
* gtk/Makefile.am:
* gtk/__init__.py:
* gtk/_lazyutils.py:
* tests/Makefile.am:
* tests/test_api.py:
Add infrastructure to handle lazy loading.
Move keysyms to be loaded lazily.
Add API tests to make sure keysyms works.
2006-07-05 Johan Dahlin <jdahlin@async.com.br>
* gtk/Makefile.am:
* gtk/__init__.py:
* gtk/deprecation.py:
Move deprecation related classes to a separate python file
2006-06-27 John Finlay <finlay@moeraki.com>
* atk-types.defs: Update defs for atk-1.8
* atk.defs: Update defs for atk-1.8
* atk.override (_wrap_atk_component_get_size)
(_wrap_atk_component_get_size, _wrap_atk_component_get_extents)
(_wrap_atk_editable_text_set_run_attributes)
(_wrap_atk_editable_text_insert_text)
(_wrap_atk_image_get_image_position)
(_wrap_atk_image_get_image_position): Add
2006-06-27 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gdk-2.10.defs, gtk/gdk-base.defs: It seems that all X11
specific functions are available in gtk+ 2.8 too; moving them from
gdk-2.10.defs to gdk-base.defs.
* gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Missing
PyErr_Clear() when first protype parsing fails.
2006-06-27 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (GtkPrintOperationPreview, GtkRecentChooser):
Add virtual defs for these interfaces.
2006-06-25 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (gtk_status_icon_set_from_pixbuf): Allow pixbuf
to be None
(gtk_status_icon_set_tooltip): Allow tooltip_text to be None
(print_run_page_setup_dialog): Allow parent to be None.
* gtk/gtk.override (_wrap_gtk_recent_manager_add_full): is_private
should be a boolean.
* gtk/gtk-2.10-types.defs: Add RecentChooser and
PrintOperationPreview implements interface notations
2006-06-25 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/argtypes.py (ArgMatcher.register_enum,
(ArgMatcher.register_flag): Use IntArg to handle enums and flags
with no typecode. This is to avoid the compiler warning
"dereferencing type-punned pointer will break strict-aliasing
rules" when converting enums or flags with no typecode.
(EnumArg.enum): Typecast to gpointer, not gint*, to avoid gcc type
punning warnings.
(FlagsArg.flag): idem.
* codegen/codegen.py (SourceWriter.write_enums): Typecast second
argument of PyModule_AddIntConstant to
(char*) to avoid const warning on python < 2.5.
2006-06-25 John Finlay <finlay@moeraki.com>
* gtk/gtkwidget.override (_wrap_gtk_widget_class_find_style_property):
Add.
2006-06-24 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_print_operation_get_error):
g_clear_error() is called in pyg_error_check()
* gtk/gtk-2.10.defs (gtk_print_settings_set): Allow value to be NULL.
2006-06-24 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.override (_wrap_gtk_print_operation_get_error):
s/g_error_clear/g_clear_error/.
(_wrap_gtk_print_operation_get_error): Return the exception value,
not just error->message, so that the programmer can consult
error.domain and error.code in addition to error.message.
2006-06-24 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_print_operation_get_error): Return
the error message if any.
2006-06-22 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10-types.defs (PrintOperationPreview): Identify as an
interface.
* gtk/gtk-2.10.defs (gtk_label_get_line_wrap_mode)
(gtk_label_set_line_wrap_mode): Add
* gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook):
Fix parse tuple format.
2006-06-22 Frederic Peters <fpeters@0d.be>
* gtk/gtkunixprint.override (_wrap_gtk_print_job_send): update to
latest GTK+ API change. #345623
2006-06-20 Elijah Newren <newren gmail com>
* gtk/gtk-2.10.defs (get_print_to_file, set_print_to_file): remove
these functions as the corresponding functions in gtk+ have
recently been removed as well. #345447
2006-06-15 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook): Add.
* gtk/gdk.override (_wrap_gdk_screen_set_font_options)
(_wrap_gdk_screen_set_font_options): Add.
* gtk/gtk-base.defs (accel_group_from_accel_closure): Remove duplicate.
* gtk/gdk.override (gdk_atom_intern_static_string): Ignore
2006-06-15 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Post-release version bump.
=== 2.9.2 ===
2006-06-15 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* examples/pygtk-demo/demos/print_editor.py: Update example to
API changes a couple of weeks ago.
* NEWS: Update.
* gtk/gtk-2.10.defs (target_list_add_rich_text_targets): Remove
"(of-object "GtkTargetList")", which is not valid for functions.
* gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb):
PycairoSurface_FromSurface API breakage happened since pycairo
1.1.6, not 1.1.7. Fixes #344957.
2006-06-14 John Finlay <finlay@moeraki.com>
* gtk/gtktextview.override (_wrap_gtk_text_buffer_serialize)
(_wrap_gtk_text_buffer_register_deserialize_format)
(_wrap_gtk_text_buffer_register_serialize_format)
(_wrap_gtk_text_buffer_get_serialize_formats)
(_wrap_gtk_text_buffer_get_serialize_formats): Add.
* codegen/argtypes.py (arg): Match const-guint8* as UCharArg
* gtk/gtktextview.override (_wrap_gtk_text_buffer_deserialize)
(_wrap_gtk_text_buffer_deserialize): Add.
2006-06-14 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* codegen/defsparser.py (IncludeParser.include): Fix a small typo
that caused bug #344845.
2006-06-14 John Finlay <finlay@moeraki.com>
* gtk/gtktextview.override
(_wrap_gtk_text_buffer_get_copy_target_list) : Add,
* gtk/gtk.override (_wrap_gtk_drag_dest_find_target)
(_wrap_gtk_drag_dest_get_target_list)
(_wrap_gtk_drag_dest_set_target_list, _wrap_gtk_drag_begin)
(_wrap_gtk_drag_source_get_target_list)
(_wrap_gtk_drag_source_set_target_list)
(_wrap_gtk_target_list_add_text_targets)
(_wrap_gtk_target_list_add_image_targets)
(_wrap_gtk_target_list_add_uri_targets)
(_wrap_gtk_target_list_add_rich_text_targets):
Use pygtk_target_list_from_sequence and pygtk_target_list_to_list.
* gtk/gtkobject-support.c (pygtk_target_list_from_sequence)
(pygtk_target_list_to_list): Add.
2006-06-13 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (gtk_tree_view_set_search_entry): Allow entry arg
to default to None.
* gtk/gtktreeview.override
(_wrap_gtk_tree_view_set_search_position_func): Add.
* gtk/gtk-2.10.defs (gtk_target_list_add_rich_text_targets): Change
to function.
* gtk/gtk.override (_wrap_gtk_target_list_add_rich_text_targets): Add.
2006-06-14 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Post-release version bump.
=== 2.9.1 ===
2006-06-14 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/defsparser.py (IncludeParser.include),
* codegen/codegen.py (main): Add a -I option to specify a path to
search for .defs files.
* gtk/Makefile.am (CREATEDEFS): Use $(top_srcdir) to find
createdefs.py.
(gtk.c): gtk.c depends also on gdk-types.defs.
(EXTRA_DIST): Add gtk-extrafuncs.defs.
* codegen/Makefile.am (EXTRA_DIST): Add createdefs.py.
2006-06-13 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtkmodule.c (pygtk_add_extra_constants): Don't add
GTK_PAPER_* constants with gtk+ 2.8.
* gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb):
Make it conditionally compile with both pycairo >= 1.1.7 and
earlier versions.
* configure.in: Explicitly require pycairo for module pangocairo.
Minimum pycairo version changed back to 1.0.2.
* NEWS: Updated.
* gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Make
gdk.CairoContext.rectangle() also accept (x, y, width, height)
parameters to avoid violating the Liskov substitution principle,
since it redefines cairo.Context.rectangle() with a different
signature.
2006-06-13 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_menu_popup): Improve anti-leak code.
(_wrap_gtk_init_check, _wrap_gtk_init_check): Ignore.
* gtk/pygtk-private.h: Add. pygdk_atom_vector_from_sequence
* gtk/gtkobject-support.c (pygdk_atom_vector_from_sequence): Add.
* gtk/gtk.override (_wrap_gtk_targets_include_rich_text)
(_wrap_gtk_targets_include_uri, _wrap_gtk_targets_include_text)
(_wrap_gtk_targets_include_image): Add.
2006-06-12 John Finlay <finlay@moeraki.com>
* gtk/gtkstyle.override (_wrap_gtk_style_lookup_color): Add.
* gtk/gtk-2.10-types.defs (enum TreeViewGridLines): Add.
* gtk/gtk-2.10.defs (gtk_tree_view_set_enable_tree_lines)
(gtk_tree_view_get_enable_tree_lines, gtk_tree_view_set_grid_lines)
(gtk_tree_view_get_grid_lines, gtk_tree_view_grid_lines_get_type)
(gtk_print_operation_action_get_type): Add.
* gtk/gtk.override (_wrap_gtk_status_icon_position_menu)
(_wrap_gtk_status_icon_position_menu): Add.
(_wrap_gtk_menu_popup): Recode to support passing
gtk.status_icon_position_menu as a position function while maintaining
backward compatibility.
2006-06-11 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_recent_manager_get_items)
(_wrap_gtk_recent_manager_add_full): Add.
* gtk/gtktreeview.override (gtk_tree_store_insert_with_values)
(gtk_tree_store_insert_with_valuesv): Ignore
* gtk/gtk.override (_wrap_gtk_size_group_get_widgets): Fix bug.
(_wrap_gtk_recent_filter_add_custom)
(_wrap_gtk_recent_filter_filter): Add.
* gtk/gtk-2.10.defs (register_serialize_tagset)
(register_deserialize_tagset): Allow NULL tagset_name arg.
* gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new): Note as
new-constructor.
(_wrap_gtk_size_group_get_widgets): Add.
2006-06-10 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager)
(recent_chooser_widget_new_for_manager): Use new object constructor.
2006-06-11 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Check for the X11 GDK target.
* gtk/gdk.override: Don't ignore gdk_x11_* any more.
* gtk/gdk-2.10.defs: Add x11 specific functions, scanned from
gdkx.h, corrected (function->method), and made conditionally
compile only on the X11 GDK target.
* gtk/gdk-base.defs: Removed x11 specific functions added by johan
after 2.8 (re-added in gdk-2.10.defs).
2006-06-10 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager)
(recent_chooser_widget_new_for_manager): : Set
as constructor and allow manager param to default to None.
* gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new)
(_wrap_gtk_recent_info_get_application_info)
(_wrap_gtk_recent_info_get_groups)
(_wrap_gtk_recent_info_get_applications)
(_wrap_gtk_recent_chooser_set_sort_func)
(_wrap_gtk_recent_chooser_list_filters): Add.
(gtk_print_error_quark, gtk_recent_chooser_error_quark)
(gtk_recent_chooser_dialog_new_for_manager)
(gtk_recent_chooser_menu_new)
(gtk_recent_chooser_widget_new, gtk_recent_manager_error_quark): Ignore
2006-06-09 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_recent_chooser_get_items)
(_wrap_gtk_recent_chooser_get_uris): Add.
* gtk/gtkiconview.override (_wrap_gtk_icon_view_selected_foreach):
Fix leaks.
* gtk/gtktextview.override (_wrap_gtk_text_tag_table_foreach):
Fix leaks.
* gtk/gtk.override (_wrap_gtk_print_settings_foreach)
(_wrap_gtk_print_settings_set_page_ranges)
(_wrap_gtk_print_settings_get_page_ranges): Add.
* gtk/gtk-2.10.defs (gtk_button_set_image_position)
(gtk_button_get_image_position, gtk_print_context_set_cairo_context)
(gtk_print_operation_set_track_print_status)
(gtk_print_operation_set_show_progress)
(gtk_print_operation_set_allow_async)
(gtk_print_operation_set_custom_tab_label)
(gtk_print_operation_get_error, gtk_print_operation_cancel
(gtk_status_icon_get_geometry): Add.
(gtk_print_operation_set_default_page_setup)
(gtk_print_operation_set_print_settings): Allow default NULL arg.
* gtk/gtk-2.10-types.defs: Add PrintOperationPreview, RecentFilter,
RecentInfo. Sync enums.
2006-06-08 Frederic Peters <fpeters@0d.be>
* configure.in, gtk/gtkunixprint.override: Updated pycairo dependencies
from 0.5.0 to 1.1.7 since PycairoSurface_FromSurface signature changed.
* gtk/gtk-2.10-types.defs, gtk/gtk-2.10.defs: Updated to new GTK+
Printing API changes.
2006-06-06 John Finlay <finlay@moeraki.com>
* gtk/gtkunixprintmodule.c (initunixprint):
Add pygtkunixprint_add_constants() call.
* gtk/gtkunixprint.defs:
* gtk/gtkunixprint.override: Add files for unixprint module.
* gtk/Makefile.am: Add support for gtk.unixprint module.
* configure.in: Add support for gtk.unixprint module.
2006-06-06 Johan Dahlin <johan@gnome.org>
* gtk/gtk-base.defs (set_mnemonic_widget): Allow widget to be null
2006-06-05 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (paper_size_new): Allow name to default to None.
* gtk/gtkmodule.c (pygtk_add_extra_constants): Add GTK_PAPER_NAME
constants.
2006-06-04 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (gtk_paper_size_free): Ignore
* gtk/gtk-2.10.defs (gtk_message_dialog_set_image): Add.
* gtk/gtk.override (_wrap_gtk_link_button_set_uri_hook): Add.
* gtk/gtk-2.10.defs (input_shape_combine_mask): Allow shape_mask
to be None.
(gtk_link_button_new_with_label): Set as constructor for GtkLinkButton.
Allow label param to default to None.
2006-06-04 Johan Dahlin <johan@gnome.org>
* pango.override (_wrap_pango_tab_array_get_tabs): Fix two
leaks found by coverity.
2006-06-04 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (drag_dest_set_track_motion)
(drag_dest_get_track_motion): Change to methods of GtkWidget.
* gtk/gtk.override (_wrap_gtk_clipboard_wait_for_rich_text)
(_wrap_gtk_clipboard_request_rich_text): Add.
* codegen/argtypes.py (AtomArg.write_return): Fix leak in GdkAtom
return.
2006-06-03 John Finlay <finlay@moeraki.com>
* gtk/gtk-2.10.defs (gtk_assistant_set_page_header_image)
(gtk_assistant_set_page_side_image): Allow
pixbuf param to be None and optional.
(gtk_entry_set_inner_border): Allow border param to be None.
2006-06-01 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_assistant_set_forward_page_func): Add.
* gtk/gdkevent.override (_wrap_gdk_event_tp_getattr): Output
"selection" as a gdk.OWNER_CHANGE member.
2006-06-01 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gtk-2.10.defs: gtk_print_context_create_context renamed to
gtk_print_context_create_pango_context;
gtk_print_context_create_layout renamed to
gtk_print_context_create_pango_layout;
gtk_print_context_get_fontmap renamed to
gtk_print_context_get_pango_fontmap; gtk_print_context_get_cairo
renamed to gtk_print_context_get_cairo_context.
* gtk/gtk.override
(_wrap_GtkCellLayout__proxy_do_set_cell_data_func):
s/Py_DECREF(py_ret)/Py_XDECREF(py_ret)/, thanks Paolo Borelli.
2006-05-31 John Finlay <finlay@moeraki.com>
* gtk/gdkdraw.override (_wrap_gdk_draw_layout_line): Add,
* gtk/gdkcairo.override (_wrap_gdk_cairo_set_source_pixmap)
(_wrap_gdk_cairo_region, _wrap_gdk_cairo_rectangle): Add as methods.
* gtk/gdk-base.defs (shape_combine_region): shape_region may be None.
* gtk/gdk.override (gdk_region_destroy): Ignore.
2006-05-26 John Finlay <finlay@moeraki.com>
* gtk/gtk-base.defs (set_cursor): Allow IconView.set_cursor method
params 'cell' and 'start_editing' to be optional.
Fixes #343039 (Ross Burton)
2006-05-20 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.override (_wrap_GtkCellRenderer__do_get_size): Impl.
Fixes #339431.
2006-05-20 John Finlay <finlay@moeraki.com>
* pangocairo.override (_wrap_context_set_font_options): Allow
font_options param to be None.
2006-05-20 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* examples/pygtk-demo/demos/print_editor.py (begin_print):
s/set_nr_of_pages/set_n_pages/ (gtk api change).
2006-05-18 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (clipboard_request_contents_cb)
(clipboard_clear_func, clipboard_get_func)
(clipboard_request_targets_cb, clipboard_request_image_cb): Fix
reference leaks (#342114).
2006-05-17 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gtk.override (clipboard_request_text_cb): Fix reference
leaks (#342114).
2006-05-14 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtkcontainer.override
(_wrap_GtkContainer__proxy_do_set_child_property)
(_wrap_GtkContainer__proxy_do_get_child_property)
(_wrap_GtkContainer__do_set_child_property)
(_wrap_GtkContainer__do_get_child_property): Impl. Fixes #341641.
* gtk/gtk.override (_wrap_GtkCellRenderer__proxy_do_get_size): Fix
reference leak on 'self' and 'py_ret'.
(_wrap_gtk_dialog_set_alternative_button_order): idem.
* codegen/reversewrapper.py: Fix registration of StringReturn type
handler; fixes #341634.
2006-05-14 Murray Cumming <murrayc@murrayc.com>
* gtk/gtk-2.10.defs: Updated to fix the build, because
- gtk_print_operation_set_nr_of_pages() changed to gtk_print_operation_set_n_pages()
- gtk_print_settings_get_num_copies() changed to gtk_print_settings_get_n_copies()
- gtk_print_settings_set_num_copies() changed to gtk_print_settings_set_n_copies()
- gtk_recent_manager_add_full() no longer has a GError* parameter.
2006-05-10 Johan Dahlin <johan@gnome.org>
* codegen/codegen.py: Refactor a big chunk into a class with methods.
* Makefile.am:
* gtk/Makefile.am: Use PYCAIRO_CFLAGS
* configure.in: Make pycairo a required dependency, make sure
the optional Gtk+ 2.10 dependency check work and only build
pangocairo if pycairo found and libglade if gtk can be built
2006-05-08 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* examples/pygtk-demo/demos/print_editor.py,
* examples/Makefile.am: Add Print Editor demo, originally found in
gtk+ sources and translated to Python.
* gtk/gtk-2.10.defs: gtk.print_run_page_setup_dialog second
argument can be None/NULL.
2006-05-07 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.override (_wrap_add_log_handlers)
(_wrap_remove_log_handlers): Try to use
pyg_add_warning_redirection and pyg_disable_warning_redirections
if available.
* pangomodule.c (initpango): idem.
* examples/gtk/testprint.py: Add a python print demonstration,
based on testprint.c in gtk+ sources. It is missing a print
dialog, though...
* examples/Makefile.am (EXTRA_DIST): add gtk/testprint.py.
* gtk/gtk.override: Include pycairo.
(_wrap_gtk_print_context_get_cairo): Override to make
gtk.PrintContext return a gtk.gdk.CairoContext object instead of a
cairo.Context one.
* configure.in: pycairo dependency no longer optional.
* gtk/gtk-2.10-types.defs (PrintContext): Missing gtk.PrintContext.
* gtk/gtk-2.10.defs: Make 'parent' parameter of
gtk_print_operation_run optional and None acceptable.
* gtk/gtk-2.10-types.defs: Declare type gtk.PageSetup.
(PrintSettings): idem for gtk.PrintSettings.
(PaperSize): Add boxed gtk.PaperSize.
* gtk/gdk.override (_wrap_gdk_bitmap_create_from_data)
(_wrap_gdk_pixmap_create_from_data): Override to fix a compilation
warning and add bounds check on the data parameter.
* gtk/gdkcairo.override: Add explicit braces to keep gcc happy.
* gtk/Makefile.am: Make sure the defs are regenerated when
configure runs, due to possible changes in gtk+ 2.10 detection.
(gtk.c): Make gtk.c depend on gdk-types.defs to force it to be
generated early.
(.defs.c): Remove the recursive make invocation, no longer needed.
* gtk/Makefile.am (defs_DATA): Install gdk.defs, gtk.defs,
gdk-types.defs, and gtk-types.defs. Thanks Olav Vitters
Fixes bug #340920.
2006-05-06 Johan Dahlin <jdahlin@async.com.br>
* codegen/createdefs.py:
* configure.in:
* gtk/Makefile.am:
* gtk/gdk-2.10.defs:
* gtk/gdk-base-types.defs:
* gtk/gdk-base.defs:
* gtk/gdk-types.defs:
* gtk/gdk.defs:
* gtk/gdk.override:
* gtk/gtk-2.10-types.defs:
* gtk/gtk-2.10.defs:
* gtk/gtk-base-types.defs:
* gtk/gtk-base.defs:
* gtk/gtk-types.defs:
* gtk/gtk.defs:
Add conditional support for Gtk+ 2.10 add new api.
2006-05-06 Johan Dahlin <jdahlin@async.com.br>
* codegen/h2def.py (main): Add support for filtering out definies
in existing files
* gtk/gtk.override: Ignore a bunch of stuff
* gtk/gtk.defs: Add deprecated, broken and unsupported API here,
to make it easier to merge in the future
* codegen/override.py (Overrides.__parse_override):
* codegen/codegen.py (main):
Add ignore-type statement in override
* codegen/h2def.py: Refactor to use OOP, remove duplicated code
2006-05-01 John Ehresman <jpe@wingware.com>
* gtk/gdk-types.defs:
* gtk/gdk.defs:
* gtk/gdk.override
* gtk/gtk.defs:
* gtk/pygtk-private.h:
GdkRegion wrapper
2006-05-01 John Ehresman <jpe@wingware.com>
* gtk/gtktreeview.override: Restore override for
TreeView.get_visible_rect
2006-05-01 Yevgen Muntyan <muntyan@tamu.edu>
* codegen/reversewrapper.py (ReverseWrapper.generate): Missing ()
in Py_BuildValue template string to force a tuple to be created
even when number of retvals is one. Reviewed by Gustavo. Fixes
Bug 340162 "Missing ()".
2006-04-26 Johan Dahlin <jdahlin@async.com.br>
* gtk/gdk.override (_wrap_gdk_event_handler_set):
* gtk/gdk.defs (event_handler_set):
Wrap gdk_event_handler_set
* gtk/Makefile.am:
* gtk/gdk.override:
* gtk/gdkcairo.override:
* gtk/gdkcolor.override:
* gtk/gdkdraw.override:
* gtk/gdkevent.override:
* gtk/gdkgc.override:
* gtk/gdkpixbuf.override:
* gtk/gdkrectangle.override:
* gtk/gdkwindow.override:
* gtk/gtktoolbar.override:
Split out a few more files
2006-04-23 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/codegen.py:
* codegen/definitions.py: Add support for (unblock-threads #t) in
functions and methods, which enables the generation of
pyg_(begin|end)_allow_threads around the C call.
* codegen/argtypes.py (ObjectArg.write_return): Follow up on
#169204 to add support for const-Object as return type. This
fixes a build problem in pygda.
2006-04-18 John Ehresman <jpe@wingware.com>
* setup.py: Remove support for building / installing gobject, pygtk.py,
and dsextras.py
2006-04-16 Richard Hult <richard@imendio.com>
* gtk/gtkmodule.c:
* gtk/gtk.override: Move locale.h include from gtkmodule.c here to
fix the build.
2006-04-13 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkcontainer.override (pygtk_container_for_common):
Set an exception and jump out (Coverity)
* gtk/gtk.override (_wrap_gtk_stock_list_ids): Decref py_item
after using it (Coverity)
2006-04-06 Johan Dahlin <johan@gnome.org>
* gtk/__init__.py (_init): Add log handlers here
(threads_init): Deprecated gtk.threads_*, gtk.gdk.threads_* should
be used instead, fixes #165927 (Steve Chaplin)
* gtk/gtk.override (_wrap_remove_log_handlers): New function,
makes it possible to remove the handlers pygtk installs.
Fixes #323786
* gtk/gtkmodule.c (init_gtk): Refactor, move init_check...
(init_gtk): Move the log handlers to gtk.override
* gtk/gtk.override (_wrap_gtk_init_check): ..to here
* gtk/__init__.py: Refactor, call init_check() and print warning
if DISPLAY is not set. Fixes #316877
2006-04-05 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtktreeview.override
(_wrap_gtk_tree_sortable_set_default_sort_func): Allow callback
to be set to None, found by Patrick O'Brien
* tests/test_liststore.py (ListStoreTest.testSetDefaultSortFunc):
Add test
2006-04-04 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Post release version bump
=== 2.9.0 ===
2006-04-04 Johan Dahlin <jdahlin@async.com.br>
* NEWS: Update
2006-04-04 John Ehresman <jpe@wingware.com>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* gtk/gtktreeview.override:
Make sure gtk.TreeView.cell_get_size() allows
the usage of the in argument. Fixes #326357
2006-04-03 Johan Dahlin <jdahlin@async.com.br>
* codegen/codegen.py:
Fit in 80 characters, do not use \
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsconvert.py:
* codegen/defsparser.py:
* codegen/docextract.py:
* codegen/docextract_to_xml.py:
* codegen/docgen.py:
* codegen/h2def.py:
* codegen/mkskel.py:
* codegen/override.py:
* codegen/reversewrapper.py:
* examples/glade/autoconnect.py:
* examples/gobject/editable-interface.py:
* examples/gobject/signal.py:
* examples/gtk/bin.py:
* examples/gtk/filechooser.py:
* examples/gtk/scrollable.py:
* examples/gtk/sizegroup.py:
* examples/gtk/uimanager.py:
* examples/ide/edit.py:
* examples/ide/gtkdb.py:
* examples/ide/gtkprof.py:
* examples/pango/pangocairo-simple.py:
* examples/pango/utf8-demo.py:
* examples/pygtk-demo/demos/changedisplay.py:
* examples/pygtk-demo/demos/dnd.py:
* examples/pygtk-demo/demos/dndpixmap.py:
* examples/pygtk-demo/demos/entry_completion.py:
* examples/pygtk-demo/demos/expander.py:
* examples/pygtk-demo/demos/hypertext.py:
* examples/pygtk-demo/demos/list_store.py:
* examples/pygtk-demo/demos/textview.py:
* examples/pygtk-demo/demos/tree_store.py:
* examples/pygtk-demo/demos/treemodel.py:
* examples/simple/dnd.py:
* examples/simple/dndpixmap.py:
* examples/simple/hello.py:
* examples/simple/scribble.py:
* examples/simple/simple.py:
* examples/simple/tooltip.py:
* gtk/__init__.py:
* gtk/compat.py:
* gtk/keysyms.py:
* ltihooks.py:
* setup.py:
* tests/common.py:
* tests/runtests.py:
* tests/test_actiongroup.py:
* tests/test_conversion.py:
* tests/test_dialog.py:
* tests/test_enum.py:
* tests/test_gdkevent.py:
* tests/test_liststore.py:
* tests/test_radiobutton.py:
* tests/test_style.py:
* tests/testmodule.py:
Run reindent.py on all python code.
2006-04-02 Johan Dahlin <johan@gnome.org>
* gtk/gdk.defs (rotate_simple): Add gdk.Pixbuf.rotate_simple,
fixes #314164 (Karel Vervaeke)
* examples/pygtk-demo/demos/treemodel.py:
Check for null, so it can be used with a model filter,
fixes #311459 (Stephen Kennedy)
* examples/gtk/widget.py: Remove tabs fixes #325320
(Dieter Verfaillie)
2006-04-02 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk-types.c (PyGdkWindow_PropertyGet): Change property size
limit from 9999 to G_MAXLONG. Thanks Wander Boessenkool.
Fixes #327778.
* pango.override (_wrap_pango_layout_line_index_to_x): First
keyword name should be index, not x_pos, as pointed out by John
Finlay. Fixes #316581.
* gtk/gtk.defs: Mark gtk_tree_row_reference_free as deprecated.
Fixes #309811.
* gtk/gtkcontainer.override
(_wrap_gtk_container_class_list_child_properties): Deprecate in
favour of gtk.Container.list_child_properties.
(_wrap_gtk_container_list_child_properties): Add
gtk.Container.list_child_properties as classmethod.
(_wrap_gtk_container_class_install_child_property): Deprecate in
favour of gtk.Container.install_child_property.
(_wrap_gtk_container_install_child_property): Add
gtk.Container.install_child_property as clasmethod. Fixes #308394.
* gtk/gtktreeview.override: Remove gtk_tree_view_get_visible_rect
duplicate override.
* gtk/gtk.override: Make the "new-constructor
GTK_TYPE_MESSAGE_DIALOG" declaration conditional on gtk+ >= 2.9,
to match the contents of the constructor.
2006-04-02 Johan Dahlin <johan@gnome.org>
* gtk/gdk.override (_wrap_gdk_draw_indexed_image):
wrap, Fixes #333431 (Hamish Moffatt)
* tests/test_gdk.py (GdkTest.testDrawIndexedImage): Add test
* gtk/gtk.defs (spin): Set default value of increment to
1, fixes #325452 (Sebastian Rittau)
* pango.override:
* tests/Makefile.am:
* tests/test_pango.py:
Set default markup accel marker to \x00, add tests,
Fixes #329658 (Johan Svedberg)
2006-04-02 Ben Caradoc-Davies <ben@wintersun.org>
reviewed by: Johan
* examples/pygtk-demo/demos/pixbufs.py: Remove
discontinuous motion, fixes #327931
2006-04-02 Johan Dahlin <johan@gnome.org>
* gtk/gtkmodule.c (init_gtk): GDK_PARENT_RELATIVE constant
* gtk/gtk-types.c (pygtk_style_helper_setitem): Add support for
GDK_PARENT_RELATIVE in style pixmaps.
Fixes #320248 (Nikos Kouremenos)
2006-04-01 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/override.py (Overrides.__parse_override): Check and
abort if a function is being overridden more than once.
2006-04-01 Rauli Ruohonen <raulir@iki.fi>
* codegen/codegen.py (Wrapper.write_functions): Add missing 'data'
parameter when calling self.write_function.
* pangocairo.override: Wrap pango_cairo_context_set_font_options
and pango_cairo_context_get_font_options. Fixes #328108.
Reviewed by Gustavo Carneiro.
2006-04-01 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/codegen.py (Wrapper.write_virtuals): Use
PyObject_GetAttrString, not PyDict_GetItemString, fixes #327715.
* gtk/pygtk.h, gtk/gtkmodule.c: Export pygtk_tree_path_to_pyobject
and pygtk_tree_path_from_pyobject as public APIs. Fixes #318021.
* codegen/argtypes.py: Add suppport for const object args.
Patch by wollny@cbs.mpg.de, plus some additional changes for code
style improvements and a bug fix. Fixes #169204.
* gtk/gtkmodule.c (_pygtk_log_func): Call g_log_default_handler
when python isn't initialized. Fixes #334188.
* examples/Makefile.am (EXTRA_DIST): Ship new editable interface example.
* examples/gobject/editable-interface.py: Add small example of
overriding GtkEditable interface method and chaining to parent.
* codegen/codegen.py: Bug 334986: "Make it possible to
re-implement interfaces and chain to parent impl."
2006-04-01 Johan Dahlin <johan@gnome.org>
* codegen/h2def.py (proto_pat): Allow whitespace before
last parenthesis. Fixes #317124
2006-04-01 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.defs (GtkSpinButton.input, GtkEditable.do_insert_text)
(GtkEditable.get_selection_bounds,
GtkMenuItem.toggle_size_request): Add (direction ...) specifiers
to these virtuals. Probably more of these are missing, though.
* codegen/codegen.py,
* codegen/definitions.py,
* codegen/reversewrapper.py:
Add support for int* and double* (and basic infrastructure to
support other types in the future) parameters for "reverse
wrappers". To use this feature one needs to help the
codegenerator by adding (direction "out") or (direction "inout") to
the parameter definitions as appropriate. Fixes #335964.
2006-04-01 John Finlay <finlay@moerari.com>
reviewed by: Johan
* gtk/gdk.defs:
* gtk/gtk.defs:
* gtk/gtk.override:
* gtk/gtktextview.override:
* gtk/gtktreeview.override:
* gtk/gtkwidget.override:
Add missing bindings, fixes #316881
2006-04-01 Johan Dahlin <johan@gnome.org>
* gtk/gdk.defs: Remove display_open_default_libgtk_only,
it should not be wrapped.
Fixes #321476
2006-04-01 Marco Cabizza <marco87@gmail.com>
reviewed by: Johan
* gtk/gdk.defs:
add gdk_screen_get_rgba_colormap and gdk_screen_get_rgba_visual,
Fixes 328996
2006-04-01 Johan Dahlin <johan@gnome.org>
* gtk/gtkmodule.c: (init_gtk):
* pangomodule.c: (initpango):
Set default encoding to utf-8 in pango instead of gtk.
Fixes #328031
2006-04-01 Johan Dahlin <johan@gnome.org>
* Makefile.am:
* configure.in:
* dsextras.py:
* gobject/Makefile.am:
* gobject/gobjectmodule.c:
* gobject/pygboxed.c:
* gobject/pygenum.c:
* gobject/pygflags.c:
* gobject/pygiochannel.c:
* gobject/pygmaincontext.c:
* gobject/pygmainloop.c:
* gobject/pygobject.c:
* gobject/pygparamspec.c:
* gobject/pygpointer.c:
* gobject/pygsource.c:
* gobject/pygtype.c:
* gtk/Makefile.am:
* pygtk.py:
* tests/Makefile.am:
Remove gobject and depend on pygobject 2.10.0
2006-04-01 Johan Dahlin <jdahlin@async.com.br>
* codegen/codegen.py: Mark function, methods and getsets as const.
2006-04-01 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.override (_wrap_gtk_message_dialog_new): Add missing
"new-constructor GTK_TYPE_MESSAGE_DIALOG" codegen declaration.
* codegen/codegen.py: Add support for docstrings in .defs. To use
it, add (docstring "foo bar") to class, function or method
definitions. Fixes bug #322843.
* pangocairomodule.c (initpangocairo): Fix compiler warning.
* m4/python.m4: Fix "underquoted definition of AM_CHECK_PYMOD" warning.
* gtk/gtk.override (_wrap_gtk_message_dialog_new): On gtk+ 2.9,
fix constructor to allow subclassing. Fixes bug #312056.
2006-03-30 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Post release version bump
=== PyGTK 2.8.5 ===
2006-03-30 Johan Dahlin <jdahlin@async.com.br>
* NEWS: Update.
2006-02-27 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* tests/test_dialog.py (MessageDialogTest.testDialogLeak): Add
test for bug #332771.
* tests/test_actiongroup.py (ActionGroupTest.timeout_cb): Use
self.assertEqual instead of plain assert.
* gtk/gtk.override (gtk_dialog_new_with_buttons): Remove one too
many g_object_ref. Fixes Bug 332771: "gtk.Dialog leak".
2006-02-20 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gtk/gdkcairo.override: Don't raise an exception if pangocairo
import fails, since in this case python itself had already raised
another exception with more information.
2006-02-14 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkclist.override (_wrap_gtk_clist_new_with_titles): Fix typos,
found by Padraig Brady
2006-02-06 Johan Dahlin <jdahlin@async.com.br>
* gtk/__init__.py (_is_pydoc): Do not print the deprecation warning
if we're running under pydoc.
2006-01-26 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* examples/pygtk-demo/demos/pixbufs.py (PixbufsDemo.expose_cb):
Remove the "FIXME: draw_rgb_image_dithalign seems not to be
available" comment.
* gtk/gdk.override (_wrap_gdk_draw_rgb_image): Add comment
explaining why we always call gdk_draw_rgb_image_dithalign instead
of gdk_draw_rgb_image.
(_wrap_gdk_draw_gray_image): idem.
2006-01-21 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.defs (cell_view_new_with_text): Add
caller-owns-return to fix a reference leak.
(cell_view_new_with_markup): idem.
(cell_view_new_with_pixbuf): idem.
(combo_box_new_text): idem.
(combo_box_entry_new_with_model): idem.
(combo_box_entry_new_text): idem.
(expander_new_with_mnemonic): idem.
(file_chooser_button_new_with_backend): idem.
(file_chooser_button_new_with_dialog): idem.
(file_chooser_widget_new_with_backend): idem.
(gtk_font_button_new_with_font): idem.
(icon_set_new): idem.
(gtk_icon_view_new_with_model): idem.
(gtk_menu_tool_button_new_from_stock): idem.
(toggle_tool_button_new_from_stock): idem.
(tool_button_new_from_stock): idem.
* gtk/gdk.defs (pixbuf_loader_new_with_mime_type): Add
caller-owns-return to fix a reference leak.
2006-01-20 John Ehresman <jpe@wingware.com>
* gtk/gdk.override (_wrap_gdk_window_new): Bump ref count
on x11 so destroy() works as expected
* tests/test_gdk.py: test for the above
2006-01-19 Johan Dahlin <jdahlin@async.com.br>
* examples/Makefile.am:
Install examples
* examples/gtk/widget.py:
Call unrealize too
* examples/gtk/scrollable.py:
Add example of a scrollable widget
2006-01-15 Christopher Aillon <caillon@redhat.com>
* gobject/gobjectmodule.c (pyg_strv_to_gvalue):
Don't call g_value_init since the other *_to_gvalue
methods expect an already inited GValue
2006-01-11 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Post release version bump
=== PyGTK 2.8.4 ===
2006-01-11 Johan Dahlin <jdahlin@async.com.br>
* NEWS: Update.
* Makefile.am: Only install pygtk.pth if we're building gobject.
2006-01-10 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-types.defs (IconView): should implement gtk.CellLayout
2006-01-09 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* Makefile.am,
* configure.in,
* gtk/Makefile.am,
* tests/Makefile.am: Fix pygobject check; Add external pygobject
include dir to include path instead of the internal one if
compiling with pygobject 2.9.
* Makefile.am: Don't build or install gobject bindings if
pygobject >= 2.9 was found.
* configure.in: Check for pygobject 2.9; create an AM conditional
based on it.
=== PyGTK 2.8.3 ===
2006-01-04 Cedric Gustin <cedric.gustin@gmail.com>
* dsextras.py (Template.generate): Pass GLOBAL_MACROS (in
particular HAVE_PYCAIRO) to codegen DefsParser.
* setup.py: If pangocairo is enabled, add pycairo to the list of
packages required to build the GTK+ module. Also set HAVE_PYCAIRO.
2005-12-24 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/pygflags.c (pyg_flags_add): Tolerate module == NULL,
which may happen when called from pyg_flags_from_gtype if a
wrapper for the GFlags was not registered.
2005-11-15 Johan Dahlin <johan@gnome.org>
* gobject/pygobject.c (pygobject_new_with_interfaces): We always
need to free interfaces since its a null terminated array.
2005-11-13 Johan Dahlin <johan@gnome.org>
* gobject/gobjectmodule.c (pyg_type_register): Remove deprecation
warning.
2005-11-13 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtk.defs (gtk_image_new_from_stock)
(gtk_image_new_from_icon_set, image_new_from_animation)
(gtk_image_new_from_icon_name)
(gtk_radio_menu_item_new_from_widget)
(gtk_radio_menu_item_new_with_mnemonic_from_widget)
(gtk_radio_menu_item_new_with_label_from_widget): Add missing
"(caller-owns-return #t)" -- fixes mem leaks.
2005-11-12 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gdk.override (_wrap_gdk_pixbuf_animation_iter_advance):
Missing g_object_unref(ret), since caller owns the return value.
2005-11-11 Johan Dahlin <jdahlin@async.com.br>
* examples/gtk/sizegroup.py: New example.
2005-11-09 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gobject/pygobject.c (CHECK_GOBJECT): Use %p formatter instead of 0x%x.
* gobject/pygobject-private.h (pyg_gil_state_ensure)
(pyg_gil_state_release): Sync these macro definitions with the
version in pygobject.h, i.e. don't call pygobject API
replacements, call the Python API directly.
* tests/Makefile.am (tests): Add test_glade.py.
* tests/test_glade.py: Add this file which was missing from CVS.
* gtk/gtk.defs (gtk_widget_render_icon): Add missing
"(caller-owns-return #t)" to plug a leak.
2005-11-03 Manish Singh <yosh@gimp.org>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (pyg_integer_richcompare):
* gobject/pygenum.c: (pyg_enum_richcompare):
* gobject/pygflags.c: (pyg_flags_richcompare):
* gobject/pygobject-private.h:
Prepare for Python 2.5 richcompare changes, fixes #320455.
2005-11-02 Johan Dahlin <jdahlin@async.com.br>
* gtk/__init__.py: Remove '' from sys.path if it was added by
PySys_SetArgv in init_gtk.
2005-10-15 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtkobject-support.c (pygtk_custom_destroy_notify): Add
g_return_if_fail to catch user_data == NULL.
* gtk/gtktreeview.override (pygtk_set_search_equal_func_marshal):
Add some NULL parameter checks. Use PyObject_IsTrue instead of
comparing agains PyTrue.
2005-10-14 Johan Dahlin <jdahlin@async.com.br>
* tests/Makefile.am (tests):
* tests/test_gdk.py: Add test
* gtk/gdk.defs (pixmap_create_from_data)
(bitmap_create_from_data): use guchar* instead of gchar,
fixes #318874 (Bob Gibbs)
2005-10-09 Johan Dahlin <jdahlin@async.com.br>
* configure.in: post release version bump
=== PyGTK 2.8.2 ===
2005-10-04 Johan Dahlin <jdahlin@async.com.br>
* NEWS: Update
2005-10-09 Johan Dahlin <johan@gnome.org>
* gobject/pygiochannel.c: (pyg_iowatch_marshal):
Use GIL state instead of block/unblock. Fixes crasher found
by Ole Andre Valda Ravnås.
2005-10-04 Johan Dahlin <jdahlin@async.com.br>
* configure.in: post release version bump
=== PyGTK 2.8.1 ===
2005-10-04 Johan Dahlin <jdahlin@async.com.br>
* NEWS: Update
2005-10-03 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygobject.c: (PyGProps_length):
* gtk/gdk.defs:
* gtk/gdk.override:
* gtk/gtk.defs:
* gtk/gtk.override:
Fix gcc 4.0 warnings.
2005-10-02 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* tests/test_properties.py (PropertyObject.__gproperties__)
(PropertyObject.do_get_property, PropertyObject.do_set_property)
(TestProperties.testUint64): Add guint64 property test case, by
Johan Dahlin.
* gobject/pygtype.c (pyg_value_from_pyobject): Accept conversion
from PyInt (not just PyLong) to guint64.
(_wrap_g_type_wrapper__get_children): Fix sign/unsigned warning.
(_wrap_g_type_wrapper__get_interfaces): idem.
(pyg_value_from_pyobject): idem.
2005-10-01 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* tests/test_subtype.py (TestSubType.testGObjectNewError): Add new
test for the bug below.
* gobject/gobjectmodule.c (pyg_object_new): don't unref/sink obj
if it is NULL.
2005-09-29 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name),
(pyg_type_parent), (pyg_type_is_a), (pyg_type_children),
(pyg_type_interfaces): Undeprecate for now.
2005-09-28 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* tests/Makefile.am (tests): Add test_textview.py.
* tests/test_textview.py: Test gtk.TextView.get_default_attributes().
* gtk/gtktextview.override
(_wrap_gtk_text_view_get_default_attributes): Override to
workaround gtk bug #317455.
* pangomodule.c (initpango): Fix values of pango.SCALE_X_LARGE and
pango.SCALE_XX_LARGE.
2005-09-25 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* tests/Makefile.am (EXTRA_DIST): Add leak.glade.
* tests/test_glade.py: Test case for the leak below.
* gtk/libglade.override (connect_many): Fix a reference leak in 'tuple'.
2005-09-22 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (pyg_type_from_name):
* gobject/pygobject.c: (pygobject_connect),
(pygobject_connect_after), (pygobject_connect_object),
(pygobject_connect_object_after), (pygobject_emit),
(pygobject_stop_emission):
Include the object and the name of the signal in TypeErrors
2005-09-20 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk.defs (Entry.set_completion): Add null-ok
2005-09-16 John Ehresman <jpe@wingware.com>
* gtk/gdk.override (_wrap_gdk_event_tp_setattr): Allow subwindow
to be set for enter & leave notify events.
2005-09-16 John Ehresman <jpe@wingware.com>
* gobjectmodule.c (initgobject): Add gobject.Warning Warning subclass
and redirect all g_log messages for the "GLib", "Glib-GObject", and
"GThread" domains to the python warning system
* pangomodule.c (initpango): Add pango.Warning Warning subclass
and redirect all g_log messages for the "Pango" domain to the
python warning system
* gtkmodule.c (initgtk): Move gtk Warning subclass from the gdk
module to the gtk module and added redirections for g_log messages
for the "Gdk" and "GdkPixbuf" domains to the python warning system
* gtk/__init__.py: Set gdk.Warning = gtk.Warning for backward
compatibility
2005-09-13 Johan Dahlin <jdahlin@async.com.br>
* gtk/gdk.defs:
* gtk/gtk.defs:
* gtk/gtk.override:
* gtk/gtktextview.override:
* gtk/gtktreeview.override:
* gtk/gtkwidget.override:
Revert Johns latest commit.
2005-09-13 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/gobjectmodule.c (add_properties): Append extra
information to the exception value strings to help contextualize
any errors that occur while registering properties.
2005-09-06 John Finlay <finlay@moeraki.com>
* gtk/gdk.defs (set_urgency_hint): Add.
* gtk/gtktreeview.override (_wrap_gtk_tree_view_get_visible_range):
Add.
* gtk/gtk.defs (set_drag_dest_item): Allow path to be None.
(get_visible_range): Add.
2005-09-05 John Finlay <finlay@moeraki.com>
* gtk/gtk.defs (set_cursor): Allow cell to be None
* gtk/gtkwidget.override (_wrap_gtk_drag_source_set_icon_name1): Add.
* gtk/gtk.defs (gtk_drag_source_set_icon_name): Add as a widget method
and deprecate function gtk.drag_source_set_icon_name.
* gtk/gdk.defs (set_icon_name): Add.
* gtk/gtktextview.override (_wrap_gtk_text_view_get_iter_at_position):
Add.
* gtk/gtk.override (_wrap_gtk_clipboard_request_image): Add.
* gtk/gtk.defs (gtk_alternative_dialog_button_order)
(gtk_clipboard_request_image, gtk_clipboard_wait_for_image)
(gtk_clipboard_set_image, gtk_clipboard_wait_is_image_available)
(drag_source_add_iamge_targets, drag_source_add_uri_targets):
Add defs.
2005-09-02 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygparamspec.c (pyg_param_spec_getattr): Sort all attributes
alphabetically, like python does. Set default value to None
(pyg_param_spec_getattr): Add default_values fallback, for backwards
compatibility.
2005-09-02 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/gobjectmodule.c (_wrap_pyg_type_register): Don't crash
when registering non-types.
* tests/test_subtype.py: Test registering non-types raises
TypeError.
Fixes #315100: "gobject.type_register crashes if parameter is not
a type."
2005-09-02 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (pyg_signal_list_names):
Also include interfaces, fixes #315038
2005-09-02 Johan Dahlin <jdahlin@async.com.br>
* configure.in: post release version bump
* Changelog.pre-2-8: Move old changelog
|