summaryrefslogtreecommitdiffstats
path: root/ChangeLog.pre-2.18
blob: 2fb8ef43619d31aa8c4a461c73310bfe99f988df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
=== ChangeLog discontinued ===

2009-05-04  Siavash Safi  <siavash@siavashs.org>

	Bug 579275 – Patch which removes dll api in headers and adds
	a namespace option

	* codegen/h2def.py: Add -n --namespace option and the code to remove
	dll API in headers, Added documentation

2009-04-17  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 568499 – CellRendererPixbuf stock-size property has wrong type

	* gobject/pygtype.c (pyg_enum_get_value): Also accept long
	integers.

2009-04-15  Götz Waschk  <waschk@mandriva.org>

	Bug 550231 – missing dep on libffi in pygobject-2.0.pc

	* configure.ac: Define `LIBFFI_PC' subst.

	* pygobject-2.0.pc.in:
	* pygobject-2.0-uninstalled.pc.in: Use it.

2009-04-15  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 555613 – gio.VolumeMonitor segfaults

	* gio/gvolumemonitor.override (_wrap_g_volume_monitor_tp_new): New
	function, return the singleton object.

2009-04-14  James Westby  <jw+debian@jameswestby.net>

	Bug 573753 – DeprecationWarning under python 2.6

	* codegen/definitions.py (ReturnType.__init__): Don't pass
	'type_name' argument to super __init__.

2009-04-14  Krzesimir Nowak  <krnowak@svn.gnome.org>

	Bug 576566 – several scripts from codegen directory are not
	distributed

	* codegen/Makefile.am (codegen_PYTHON): List several missing
	scripts.

2009-04-14  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override: (_wrap_g_file_copy_async) change argument order
	to keep it consistent with the other methods.

2009-04-13  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 578870 – memory leak in gio.File.copy_async

	* gio/gio.override (PyGIONotify): Add 'slaves' field.
	(pygio_notify_new_slave): New function.
	(pygio_notify_reference_callback): Recurse for slaves, if any.
	(pygio_notify_free): Likewise.

	* gio/gfile.override (file_progress_callback_marshal): Use new
	chaining functionality to avoid leaking the second PyGIONotify
	structure.  Rename 'callback' as 'progress_callback' for clarity.

2009-04-12  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gio.defs: (g_file_monitor) should accept None
	for cancellable and set the default flag to G_FILE_MONITOR_NONE.

2009-04-09  Jonathan Matthew  <jonathan@d14n.org>

	Bug 575781 – pyg_notify_free needs to ensure it has GIL before calling
	Py_XDECREF

	* gio/gio.override:  Ensure we're holding the GIL before potentially
	destroying the callback and data.

2009-04-05  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override:
	(_wrap_g_file_set_display_name_async) Wrap new GFile method.
	
	* tests/test_gio.py: Test the above methods.

2009-04-05  Tristan Hill  <stan@saticed.me.uk>

	reviewed by: Gustavo J. A. M. Carneiro.

	* glib/pygoptioncontext.c (pyg_option_get_context): Add a
	semi-private method to return the option context C object from an
	option context wrapper.  Used in gnome-python for fixing Bug
	#507174.

2009-04-05  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygtype.c (pyg_value_from_pyobject): Bug 577999 –
	converting a negative long Python value to a GUINT64 GValue
	doesn't error out as it should.

2009-04-04  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override:
	(_wrap_g_file_set_attributes_async)
	(_wrap_g_file_set_attributes_finish) Wrap new GFile methods.
	
	* tests/test_gio.py: Test the above methods.

2009-03-31  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override:
	(_wrap_g_file_query_filesystem_info_async) Fix a typo.

2009-03-31  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override:
	(_wrap_g_file_query_filesystem_info_async) Wrap new GFile method.

2009-03-31  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gio.defs: Add missing g_file_query_filesystem_info_async and
	g_file_query_filesystem_info_finish

2009-03-30  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override: (_wrap_g_file_mount_mountable)
	Swap kwargs names to reflect the code.

2009-03-30  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override: (_wrap_g_file_mount_enclosing_volume)
	Swap kwargs names to reflect the code.

2009-03-30  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override:
	(_wrap_g_file_find_enclosing_mount_async) Wrap new GFile method.

2009-03-30  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override:
	(_wrap_g_file_eject_mountable) Wrap new GFile method.

2009-03-30  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override: (_wrap_g_file_copy) revert previous commit.

2009-03-30  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override: (_wrap_g_file_copy) callback cannot be optional.

2009-03-29  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gvolume.override: (_wrap_g_volume_mount) should accept None
	for mount_operation.

2009-03-29  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gvolume.override: Swap kwargs names to reflect the code.

2009-03-29  Tobias Mueller  <tobiasmue@gnome.org>

	* ltihooks.py:
	* pygtk.py:
	* COPYING:
	* gobject/pygparamspec.h:
	* gobject/pygpointer.c:
	* gobject/ffi-marshaller.h:
	* gobject/pygtype.c:
	* gobject/__init__.py:
	* gobject/pygpointer.h:
	* gobject/pygtype.h:
	* gobject/pygflags.c:
	* gobject/pyginterface.c:
	* gobject/pygflags.h:
	* gobject/pygboxed.c:
	* gobject/gobjectmodule.c:
	* gobject/pygenum.c:
	* gobject/pyginterface.h:
	* gobject/pygboxed.h:
	* gobject/pygobject.c:
	* gobject/constants.py.in:
	* gobject/pygenum.h:
	* gobject/propertyhelper.py:
	* gobject/pygparamspec.c:
	* gobject/ffi-marshaller.c:
	* glib/pygmainloop.c:
	* glib/pygoptioncontext.h:
	* glib/pygmainloop.h:
	* glib/pyglib-private.h:
	* glib/__init__.py:
	* glib/pygoptiongroup.c:
	* glib/pygspawn.c:
	* glib/pygmaincontext.c:
	* glib/pygoptiongroup.h:
	* glib/pygspawn.h:
	* glib/pygmaincontext.h:
	* glib/option.py:
	* glib/pygsource.c:
	* glib/glibmodule.c:
	* glib/pygiochannel.h:
	* glib/pygsource.h:
	* glib/pyglib.c:
	* glib/pyglib.h:
	* glib/pyglib-python-compat.h:
	* glib/pygoptioncontext.c:
	* gio/gfileinfo.override:
	* gio/gappinfo.override:
	* gio/__init__.py:
	* gio/gfileattribute.override:
	* gio/gvolume.override:
	* gio/gio.override:
	* gio/ginputstream.override:
	* gio/goutputstream.override:
	* gio/unix.override:
	* gio/gfile.override:
	* gio/gvolumemonitor.override:
	* gio/gapplaunchcontext.override:
	* gio/giomodule.c:
	* gio/gfileenumerator.override:
	* gio/pygio-utils.c:
	* gio/unixmodule.c:
	* gio/pygio-utils.h:
	* gio/gicon.override:
	Update the address of the FSF, by replacing old bits of the address 
	with new ones.
	Fixes bug 577134

2009-03-29  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gio.defs: Add g_volume_should_automount

2009-03-28  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/pygio-utils.[hc]: (strv_to_pylist) (pylist_to_strv) add a couple
	of convinence functions to convert from/to a python list and an array
	of strings.

	* gio/Makefile.am
	* gio/gdrive.override:
	* gio/gio.override: Strip GDrive overrides and
	wrap g_drive_enumerate_identifiers
	
	* tests/test_gio.py:
	* gio/gvolume.override: wrap g_volume_enumerate_identifiers

	* gio/gio.defs: add missing g_drive_get_identifier and
	g_drive_enumerate_identifiers

2009-03-22  Mark Lee  <marklee@svn.gnome.org>

	Bug 559001 – Allow setting pytype wrapper class

	initial patch by: John Ehresman  <jpe@wingware.com>

	* gobject/pygtype.c (_wrap_g_type_wrapper__set_pytype): New function.

	* tests/test_gtype.py (GTypeTest.assertPyType),
	(GTypeTest.setInvalidPyType), (GTypeTest.testPyType),
	(GTypeTest.testInvalidPyType): Two new testcases to test the above,
	with accompanying helper methods.

2009-03-22  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gio.defs: Add g_file_enumerator_get_container, new in 2.18

2009-03-22  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfileenumerator.override (_wrap_g_file_enumerator_close_async)
	wrap new method.

	* tests/test_gio.py (TestGFileEnumerator.testCloseFilesAsync):
	Test the above.

2009-03-09  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* docs/reference/Changelog: Create a dedicated Changelog for the docs
	and move the latest entries in there.

2009-02-20  James Henstridge  <james@jamesh.id.au>

	* ltihooks.py: pull in changes from pygtk (updating license header
	from GPL to LGPL).

2009-02-18  Andre Klapper  <a9016009@gmx.de>

	* gobject/pygobject.h:
	Change comment to avoid false positives when grep'ing for 
	deprecated gtk functions

2009-02-17  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gio/gfile.override, gio/gio.defs, gio/gio.override: Bug 556250
	again.  I screwed up and gave misinformation about how to fix it.
	It must be pyg_begin/end_allow_threads, pyg_block/unblock_threads
	is only to be used for async callbacks.

2009-02-10  Gian Mario Tagliaretti  <gianmt@gnome.org>

	Bug 556250 – non-async functions don't release python locks before
	calling blocking C functions

	* gio/gio.override:
	* gio/gfile.override:
	* gio/gio.defs: release the thread lock.

2009-02-10  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gio.defs:
	* gio/gio-types.defs:
	* gio/unix.defs: Add 2.18 gio API.

2009-02-08  Gian Mario Tagliaretti  <gianmt@gnome.org>

	Bug 568427 – "gio.Error: Too many open files" without too many
	open files
	
	* gobject/pygtype.c (_wrap_g_type_wrapper__get_name):
	* gobject/gobjectmodule.c (get_type_name_for_class):
	* gobject/pygobject.c (build_parameter_list), (PyGProps_length):
	* gio/gfileinfo.override (_wrap_g_file_info_list_attributes):
	* gio/gio.override (_wrap_g_content_type_guess):
	* gio/gfile.override (_wrap__file_init), (_wrap_g_file_load_contents)
	(_wrap_g_file_load_contents_finish): Remove some memory leaks.
	
	* gio/gio.defs: add (caller-owns-return #t) all over the place to
	prevent memory leaks.
	
	patch contributed by Paul Pogonyshev, Paolo Borelli and
	Gian Mario Tagliaretti.

2009-02-06  Murray Cumming  <murrayc@murrayc.com>

	* codegen/h2def.py DefsWriter::write_enum_defs(): Prevent an exception 
	when the prefix is empty.

2009-01-29  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 569350 – Inconsistent use of tabs and spaces in pygtk.py

	* pygtk.py: Replace all tabs with spaces.

2009-01-29  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 567792 – gio.InputStream.read_async can cause memory
	corruption

	* gio/gio.override (py_decref_callback): Remove (unused now).
	(pygio_notify_allocate_buffer, pygio_notify_attach_to_result)
	(pygio_notify_get_attached): New functions.
	(async_result_callback_marshal): Attach to the result object if
	asked and then don't free self.  Fix reference leak (spotted by
	Gustavo).

	* gio/ginputstream.override (async_result_callback_marshal_read):
	Remove.  Use new attachment functionality in
	async_result_callback_marshal() instead.
	(_wrap_g_input_stream_read_async): Use the new functions (also
	those mentioned in the cleanup log below).
	(_wrap_g_input_stream_read_finish): Use the new functions.

2009-01-27  Daniel Elstner  <danielk@openismus.com>

	* codegen/docextract_to_xml.py (escape_text): Do not escape the
	ampersand "&" in entity references (bug #568485).  Replace some
	unusual entity references in the output with their literal values.

2009-01-14  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 566571 – gtk.Buildable interface method override is not
	recognized

	* gobject/gobjectmodule.c (pyg_type_add_interfaces): New function,
	break out code repetition out of pyg_type_register().

	* tests/test_subtype.py
	(TestSubType.test_gtk_buildable_virtual_method): New test
	case (inactive).

2009-01-14  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 566706 – cleanup GIO overrides

	* gio/gio.override (pygio_notify_new)
	(pygio_notify_using_optional_callback)
	(pygio_notify_callback_is_valid_full)
	(pygio_notify_callback_is_valid)
	(pygio_notify_reference_callback): New functions.
	(pygio_notify_free): Rename from pygio_free_notify() and extend.
	(async_result_callback_marshal): Warn if new `referenced' field is
	not set (programming error).
	(_wrap_g_drive_eject, _wrap_g_drive_poll_for_media)
	(_wrap_g_mount_unmount, _wrap_g_mount_eject)
	(_wrap_g_mount_remount): Lots of cleanup: use new functions
	instead of repeating code, unify and fix error handling.

	* gio/gfile.override (_wrap_g_file_read_async)
	(_wrap_g_file_load_contents_async)
	(_wrap_g_file_enumerate_children_async)
	(_wrap_g_file_mount_mountable, _wrap_g_file_unmount_mountable)
	(_wrap_g_file_mount_enclosing_volume, _wrap_g_file_copy)
	(_wrap_g_file_copy_async, _wrap_g_file_move)
	(_wrap_g_file_append_to_async, _wrap_g_file_create_async)
	(_wrap_g_file_replace_async, _wrap_g_file_query_info_async)
	(_wrap_g_file_replace_contents_async): Similar cleanup.

	* gio/gfileenumerator.override
	(_wrap_g_file_enumerator_next_files_async): Similar cleanup.

	* gio/gicon.override (_wrap_g_loadable_icon_load_async): Similar
	cleanup.

	* gio/ginputstream.override (_wrap_g_input_stream_close_async):
	Similar cleanup.

	* gio/goutputstream.override (_wrap_g_output_stream_write_async)
	(_wrap_g_output_stream_close_async): Similar cleanup.

	* gio/gvolume.override (_wrap_g_volume_mount)
	(_wrap_g_volume_eject): Similar cleanup.

	* tests/test_gio.py (TestFile.test_copy_async): Fix the test.

2009-01-09  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_type_register): Add a comment
	explaining why the two for loops for registering interfaces.

2009-01-07  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 566744 – _wrap_g_input_stream_read_async() argument parsing
	has incorrect keyword args

	* gio/ginputstream.override (_wrap_g_input_stream_read_async): Fix
	keyword list to be in sync with positional arguments.

2009-01-06  Gian Mario Tagliaretti  <gianmt@gnome.org>

	Bug 566737 – Bad -I ordering can break build

	* Makefile.am:
	* gobject/Makefile.am:
	* gio/Makefile.am:
	* tests/Makefile.am:
	Commit a patch from [dmacks at netspace dot org]

2009-01-04  Mads Chr. Olesen  <gnome-bugzilla@shiyee.dk>

	* gio/gio.defs (gio.File.copy_async, gio.File.copy_finish): Define
	methods.

	* gio/gfile.override (_wrap_g_file_copy_async): New function.

	* tests/test_gio.py (TestFile.test_copy_async): Test the methods.

2009-01-04  Przemysław Grzegorczyk  <pgrzegorczyk@gmail.com>

	Bug 563714 – GNOME Goal: Clean up GLib and GTK+ includes

	* gobject/generate-constants.c:
	* glib/pygspawn.c: Only include toplevel <glib.h>.

2009-01-04  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 564018 – pygobject libtool-2.2 patch

	* configure.ac: Apply the patch provided by Cygwin Ports
	maintainer.

2009-01-04  Paul Pogonyshev  <pogonyshev@gmx.net>

	* configure.ac: Branch, bump version to 2.17.0.

=== 2.16.0 ===
2008-12-24  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547119 – gobject.timeout_add_seconds() not found in docs

	* docs/reference/pyglib-functions.xml (glib.timeout_add_seconds):
	Describe.

2008-12-21  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 564102 – _wrap_g_output_stream_write_async not adding a
	reference to the buffer passed

	* gio/gio.override (pygio_notify_copy_buffer): New function.
	(pygio_free_notify): Free new `buffer' field if it is set.

	* gio/goutputstream.override (_wrap_g_output_stream_write_async):
	Copy the buffer with new pygio_notify_copy_buffer() and use the
	copy for g_output_stream_write_async() call.

	* gio/gfile.override (_wrap_g_file_replace_contents_async): Same
	as for _wrap_g_output_stream_write_async().

2008-12-03  Paul Pogonyshev  <pogonyshev@gmx.net>

	* glib/pyglib.c (pyglib_error_check): Test if `domain' is not-null
	before using it (avoids segfaults, see bug #561826).

2008-10-31  John Finlay  <finlay@moeraki.com>

	* codegen/__init__.py (__all__): Add defsgen to __all__ list.

	* codegen/h2def.py (find_enum_defs): Strip out # directives from
	enum defintions.
	(clean_func): Change ' * G_CONST_RETURN * ' to '** '

	* codegen/Makefile.am (codegen_PYTHON): Add defsgen.py

	* codegen/defsgen.py (typecode): Use the passed in prefix as a
	hint when creating a typecode.
	(split_prefix,write_enum_defs,_write_obj_helper): Add function to
	use passed in prefix as a hint when splitting an object name into
	module and name.

	* codegen/h2def.py (DefsWriter.write_enum_defs): Make sure the
	prefix ends with a _ i.e. really handle the GDK_FONT_FONT,
	GDK_FONT_FONTSET case.

2008-09-12  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/goutputstream.override
	(g_output_stream_write_all): use gsize instead of gssize.

2008-09-10  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 530935 – pygobject_set_properties doesnt release the GIL

	* gobject/pygobject.c (pygobject_set_properties): Reuse
	set_property_from_pspec() which release GIL for us.  Also make
	sure that g_object_thaw_notify() is called even after error.

2008-09-09  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 549517 – add __repr__ to gio.Drive, gio.Mount and gio.Volume

	* gio/gio.override (_wrap_g_drive_tp_repr, _wrap_g_mount_tp_repr):
	New functions.

	* gio/gvolume.override (_wrap_g_volume_tp_repr): New function.

2008-09-09  Loïc Minier  <lool@dooz.org>

	Bug 551227 – Missing AC_CONFIG_MACRO_DIR([m4])

	* configure.ac: Add AC_CONFIG_MACRO_DIR.

2008-09-08  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 551056 – make codegen not import when corresponding argument
	types are not registered

	* codegen/override.py (import_pat): Add support for optional 'for'
	clause.
	(Overrides.__parse_override): Handle it.

	* codegen/codegen.py (SourceWriter.write_imports)
	(SourceWriter.write_object_imports): Adapt for changes in
	get_imports() return value.
	(is_registered_object): New function.

2008-09-07  Frederic Peters  <fpeters@0d.be>

	* gio/gfile.override (_wrap_g_file_load_contents)
	(_wrap_g_file_load_contents_finish): Fix typos breaking
	compilation (bug #551212).

2008-09-07  Jonathan Matthew  <jonathan@d14n.org>

	Bug 551059 – GFile load_contents methods chop data at first \0

	* gio/gfile.override:
	Use 's#' (length specified) rather than 's' when constructing
	result values in load_contents and load_contents_finish.

2008-09-03  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	Post release version bump

=== 2.15.4 ===
2008-09-03  Johan Dahlin  <johan@gnome.org>

	* NEWS: Update

2008-09-03  Loïc Minier  <lool@dooz.org>

	* gobject/pygpointer.c: (pyg_register_pointer):
	Fix typo (s/&type/type) introduced in r886 causing weird crashes on
	x86-64; bug #550463.

2008-09-01  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* codegen/argtypes.py: add G_TYPE_CLOSURE boxed type in codegen.

2008-08-31  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	Post release version bump

=== 2.15.3 ===
2008-08-31  Johan Dahlin  <johan@gnome.org>

	* NEWS: Update

2008-08-30  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* glib/pyglib.h: * gobject/pygobject.c: Fix memory problems
	reported by valgrind due to invalid tp_basicsize in
	PyGPropsDescr_Type.  Closes #549945.

2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 549191 – Constructor of gtk.TreeView raises TypeError when
	model is None

	* gobject/pygtype.c (pyg_value_from_pyobject): Handle None in
	G_TYPE_INTERFACE branch.

2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 549351 – an unitialized variable in PyGLib

	* glib/pygmainloop.c (pyg_main_loop_init): Initialize
	`is_running'.

2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547633 – cannot create new threads when pygtk is used

	* glib/pyglib.c (_pyglib_notify_on_enabling_threads): New
	function.
	(pyglib_enable_threads): Invoke all callbacks added with new
	_pyglib_notify_on_enabling_threads().

	* gobject/gobjectmodule.c (pyg_note_threads_enabled): New
	function (callback for new _pyglib_notify_on_enabling_threads()).
	(PYGLIB_MODULE_START): Initialize
	'pygobject_api_functions.threads_enabled' and also watch for
	thread being enabled later on.

2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547088 – wrap g_content_types_get_registered()

	* gio/gio.override (_wrap_g_drive_get_volumes): Fix refleak.
	(_wrap_g_content_types_get_registered): New function.

	* gio/gfileenumerator.override (_wrap_g_file_enumerator_next_files_finish):
	Fix refleak.

	* gio/gvolumemonitor.override (_wrap_g_volume_monitor_get_connected_drives):
	Fix refleak.
	(_wrap_g_volume_monitor_get_volumes): Likewise.
	(_wrap_g_volume_monitor_get_mounts): Likewise.

2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547494 – gio.InputStream.read() looks broken

	* gio/gio.defs (gio.InputStream.read_part): Rename from read(),
	document.
	(gio.InputStream.read): Rename from read_all(), document.
	(gio.OutputStream.write_part): Rename from write(), document.
	(gio.OutputStream.write): Rename from write_all(), document.

	* gio/ginputstream.override (_wrap_g_input_stream_read): Fix
	several bugs.
	(_wrap_g_input_stream_read_all): New function.

	* gio/goutputstream.override (_wrap_g_output_stream_write_all):
	New function.

	* tests/test_gio.py (TestInputStream.testRead): Add more tests.
	(TestInputStream.test_read_part): New test.
	(TestInputStream._read_in_loop): New helper method.
	(TestOutputStream.test_write_part): New test.

2008-08-16  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gio/gfile.override (_wrap_g_file_enumerate_children_async): Fix
	keywords getting out of sync with actual argument order.

2008-08-13  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547495 – wrap four important asynchronous methods in gio.Drive
	and gio.Mount

	* gio/gio.defs (gio.Drive.eject, gio.Drive.poll_for_media)
	(gio.Mount.remount): Document.

	* gio/gio.override (_wrap_g_drive_eject)
	(_wrap_g_drive_poll_for_media, _wrap_g_mount_eject)
	(_wrap_g_mount_remount): New functions.

2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until

	* tests/test_gio.py (TestDataInputStream): New test case.

	* gio/gio.defs (gio.DataInputStream.read_line)
	(gio.DataInputStream.read_until): Document.

	* gio/ginputstream.override (_wrap_g_data_input_stream_read_line)
	(_wrap_g_data_input_stream_read_until): New functions.

2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547354 – wrap a few memory stream methods

	* gio/ginputstream.override (_wrap_g_memory_input_stream_add_data):
	New function.

	* gio/gio.defs (gio.MemoryOutputStream.get_contents): Rename from
	get_data() to avoid name clash.

	* gio/goutputstream.override (_wrap_g_memory_output_stream_new)
	(_wrap_g_memory_output_stream_get_data): New functions.

	* tests/test_gio.py (TestMemoryInputStream)
	(TestMemoryOutputStream): New test cases.

2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gio/gio.override: Ignore `g_io_module*' and `g_io_scheduler_*'.

2008-08-11  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 540376 – No TypeError raised when type is None

	* gobject/gobjectmodule.c (pyg_signal_new): Add check on second
	argument type.

	* tests/test_signal.py (TestSignalCreation): New test case.

2008-08-11  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547104 – improve type wrapper creation

	* gio/gappinfo.override (_wrap_g_app_info_tp_richcompare)
	(_wrap_g_app_info_tp_repr): New functions.

	* tests/test_gio.py (TestAppInfo.test_eq): New test.

2008-08-11  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547104 – improve type wrapper creation

	* gobject/pygobject.c (pygobject_register_class): Use new
	pygobject_inherit_slots() to propagate custom slots in normal
	types too.
	(pygobject_inherit_slots): New function, break out of
	pygobject_new_with_interfaces() and rewrite a bit.
	(pygobject_find_slot_for): Add new argument that can forbid
	overriding non-NULL slots.

	* gio/gicon.override (pygio_do_icon_richcompare): Remove, the code
	is now directly in _wrap_g_icon_tp_richcompare().
	(_wrap_g_file_icon_tp_richcompare, _wrap_g_file_icon_tp_hash)
	(_wrap_g_themed_icon_tp_richcompare, _wrap_g_themed_icon_tp_hash):
	Remove, duplicating code in this way is not needed anymore.

2008-08-10  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 546120 – make gio.File more Pythonic

	* gio/gfile.override (_wrap_g_file_tp_richcompare)
	(_wrap_g_file_tp_hash, _wrap_g_file_tp_repr): New functions.

	* tests/test_gio.py (TestFile.test_eq, TestFile.test_hash): New
	tests.

2008-08-10  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 547104 – improve runtime type wrapper creation

	* gobject/pygobject.c (pygobject_new_with_interfaces): Use new
	pygobject_find_slot_for() for `tp_richcompare', `tp_compare`,
	`tp_hash', `tp_iter', `tp_repr', `tp_str' and `tp_print'.
	(pygobject_find_slot_for): New static function.

2008-08-10  Jonathan Matthew  <jonathan@d14n.org>

	Bug 547134 – fix docstring line length

	* gio/gio.defs:
	Fix docstring line lengths so they don't wrap across lines in an 80
	column terminal.

2008-08-10  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gio.defs:
	Add GFile.query_default_handler which was missing from the defs.

2008-08-10  Jonathan Matthew  <jonathan@d14n.org>

	Bug 547067 – add File.replace_contents, replace_contents_async,
	replace_contents_finish.

	* gio/gfile.override:
	* gio/gio.defs:
	* tests/test_gio.py:
	Add overrides, docs, and tests for File.replace_contents,
	replace_contents_async, and replace_contents_finish.

2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>

	* tests/test_gicon.py (TestThemedIcon.test_constructor): Fix to
	not use `use_default_fallbacks' property (it's new).

2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 546135 – GIcon and implementations improvements

	* gio/gio.defs (g_file_icon_new): Change from method of gio.File
	to constructor of gio.FileIcon.

	* tests/test_gicon.py (TestIcon.test_eq, Test_Eq.test_hash)
	(TestLoadableIcon.setUp): Adapt accordingly.
	(TestFileIcon): New test case.

2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 546591 – File.copy progress_callback does not work

	* gio/gfile.override (file_progress_callback_marshal): Use
	PyObject_CallFunction() instead of PyEval_CallFunction().  Use "K"
	instead of "k" (the latter is not correct for 32-bit platforms).
	Don't free 'notify' here.
	(_wrap_g_file_copy): Free 'notify'.
	(_wrap_g_file_move): Likewise.

	* gio/gio.override (pygio_free_notify): New function.
	(async_result_callback_marshal): Use it.

	* tests/test_gio.py (TestFile.test_copy_progress.progress): New
	test.

2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 546135 – GIcon and implementations improvements

	* gio/gio.defs (gio.LoadableIcon.load)
	(gio.LoadableIcon.load_async, gio.LoadableIcon.load_finish):
	Document.

	* gio/Makefile.am:
	* gio/gicon.override: New file: parts of 'gio.override', three
	methods of gio.LoadableIcon and gio.ThemedIcon constructor.

	* gio/gio.override: Move over all icon-related overrides to
	'gicon.override'.

	* tests/Makefile.am:
	* tests/test_gicon.py: New file: parts of 'test_gio.py' and
	several new gio.Icon tests.

	* tests/test_gio.py (TestThemedIcon): Move over to
	'test_gicon.py'.

2008-08-07  Jonathan Matthew  <jonathan@d14n.org>

	Bug 546734 – Missing Py_INCREFs for some file async methods

	* gio/gfile.override:
	Increment refcounts on callbacks and callback data for
	append_to_async, create_async, replace_async, query_info_async and
	load_contents_async as for all other async methods.

2008-08-06  Johan Dahlin  <johan@gnome.org>

	* gio/gfile.override:
	* gio/gio.defs:
	Move the progress callback for move/copy so it's consistent with
	the documentation and positional arguments. Update documentation as well

2008-08-06  Johan Dahlin  <johan@gnome.org>

	* glib/pyglib.c (pyglib_enable_threads):
	* gobject/gobjectmodule.c (pyg_threads_init),
	(pygobject_enable_threads):
	Add a pygobject_enable_threads wrapper around pyglib_threads_enable
	and return 0/-1 which existing gobject based applications expect.

2008-08-06  Johan Dahlin  <johan@gnome.org>

	* glib/pyglib.c (pyglib_init):
	return in case of error instead of trying to access the internal
	types.

2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gio/gio.override: Add 'pygio_do_icon_richcompare' prototype to
	header.
	(_wrap_g_file_icon_tp_repr, _wrap_g_themed_icon_tp_repr): Fix
	return value type in signature.

2008-08-05  Paul Pogonyshev  <pogonyshev@gmx.net>

	Bug 546135 – GIcon and implementations improvements

	* gio/gio-types.defs (FileIcon): New 'define-object'.

	* gio/gio.override (pygio_do_icon_richcompare)
	(_wrap_g_icon_tp_richcompare, _wrap_g_icon_tp_hash)
	(_wrap_g_file_icon_tp_richcompare, _wrap_g_file_icon_tp_hash)
	(_wrap_g_file_icon_tp_repr, _wrap_g_themed_icon_tp_richcompare)
	(_wrap_g_themed_icon_tp_hash, _wrap_g_themed_icon_tp_repr): New
	functions.

2008-08-03  Gian Mario Tagliaretti  <gianmt@gnome.org>

	Bug 546046 – Wrap GFile.replace_async and query_info_async

	* tests/test_gio.py:
	* gio/gfile.override:
	* gio/gio.defs:
	Wrap GFile.replace_async and query_info_async with docs and test.

2008-08-03  Paul Pogonyshev  <pogonyshev@gmx.net>

	* glib/pyglib.h:
	* glib/pyglib.c (pyglib_enable_threads): Change return value from
	'gboolean' to 'int' and changed semantics to Pythonic: restores
	backwards compatibility.

	* gobject/gobjectmodule.c (pyg_threads_init): Treat return value
	accordingly (bug #544946).

2008-08-02  Gian Mario Tagliaretti  <gianmt@gnome.org>

	Bug 546020 – Wrap GFile.create_async

	* tests/test_gio.py:
	* gio/gfile.override:
	* gio/gio.defs:
	Wrap GFile.create_async with docs and test

2008-08-02  Johan Dahlin  <johan@gnome.org>

	* codegen/docgen.py:
	Remove SGML support, require python 2.4, modernize,
	PEP-8ify. Make it run on gio.

	* codegen/definitions.py:
	Make property iterable

	* gio/gio.defs:
	Include the gio-types.defs file.

2008-08-02  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (pyglib_set_prgname):
	* glib/pygoptioncontext.c (pyg_option_context_init),
	(pyg_option_context_set_help_enabled),
	(pyg_option_context_set_ignore_unknown_options),
	(pyg_option_context_set_main_group),
	(pyg_option_context_add_group):
	* glib/pygoptiongroup.c (arg_func), (pyg_option_group_add_entries),
	(pyg_option_group_set_translation_domain),
	(pyg_option_group_compare), (pyglib_option_group_register_types):
	Fix compilation warnings, clean up style and indentation.

2008-08-02  Gian Mario Tagliaretti  <gianmt@gnome.org>

	Bug 545959 – Wrap GFile.append_to_async

	* tests/test_gio.py:
	* gio/gfile.override:
	* gio/gio.defs:
	Wrap GFile.append_to_async with docs and test

2008-08-02  Johan Dahlin  <johan@gnome.org>

	* gio/gfileinfo.override:
	* gio/gio.override:
	* glib/glibmodule.c (pyglib_get_current_time):
	* glib/pyglib.c (pyglib_float_from_timeval):
	* glib/pyglib.h:
	Add pyglib_float_from_timeval and use it

2008-08-02  Johan Dahlin  <johan@gnome.org>

	* docs/Makefile.am:
	* docs/reference/pyglib-constants.xml:
	* docs/reference/pyglib-functions.xml:
	* docs/reference/pyglib-maincontext.xml:
	* docs/reference/pyglib-mainloop.xml:
	* docs/reference/pygobject-classes.xml:
	* docs/reference/pygobject-constants.xml:
	* docs/reference/pygobject-functions.xml:
	* docs/reference/pygobject-maincontext.xml:
	* docs/reference/pygobject-mainloop.xml:
	Separate the glib and gobject bindings in the manual.

2008-08-02  Gian Mario Tagliaretti  <gianmt@gnome.org>

	Bug 545920 – Wrap GFile.query_writable_namespaces

	* tests/test_gio.py:
	* gio/gfile.override:
	* gio/gio.defs:
	Wrap GFile.query_writable_namespaces with docs and test

2008-08-02  Johan Dahlin  <johan@gnome.org>

	* gio/gio.defs:
	* gio/gfile.override:
	* tests/test_gio.py:
	Wrap gio.File.move

2008-08-02  Johan Dahlin  <johan@gnome.org>

	* gio/Makefile.am:
	* gio/gfile.override:
	* gio/gio.defs:
	* gio/gio.override:
	* gio/gvolume.override:
	Wrap gio.Volume.mount and gio.Volume.eject

2008-08-01  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gio.defs:
	Add docstring for gio.FileInfo.list_attributes

2008-08-01  Johan Dahlin  <johan@gnome.org>

	Bug 545861 – g_file_info_get_modification_time is missing
	* gio/gfileinfo.override:
	* gio/gio.defs:
	* tests/test_gio.py:
	Wrap, add test and documentation

2008-08-01  Johan Dahlin  <johan@gnome.org>

	Bug 545846 – g_vfs_get_supported_uri_schemes is missing

	* gio/gio.defs:
	* gio/gio.override:
	* tests/test_gio.py:
	Wrap, add test and documentation

2008-08-01  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (pyglib_set_application_name):
	Use %r instead of %s, this is not python!

2008-07-31  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (pyglib_set_prgname)
	(pyglib_set_application_name): Use METH_O instead of METH_VARARGS.
	(_glib_functions): Add doc strings for idle_add, timeout_add,
	timeout_add_seconds, io_add_watch, child_watch_add, source_remove,
	main_depth and main_context_default.

2008-07-29  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* tests/test_gio.py:
	* gio/gfileattribute.override:
	* gio/gio.override:
	* gio/gio.defs:
	* gio/gfile.override:
	* gio/Makefile.am: Wrap new object gio.FileAttributeInfo,
	g_file_set_attribute and g_file_query_settable_attributes methods.

2008-07-29  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/unix-types.defs: Wrap gio.unix.DesktopAppInfo

	* gio/gappinfo.override:
	* gio/gio.override:
	* gio/gio.defs:
	* gio/gapplaunchcontext.override:
	* gio/Makefile.am: Wrap g_app_info_launch_uris,
	g_app_info_launch, g_app_launch_context_get_display and
	g_app_launch_context_get_startup_notify_id

	* gio/pygio-utils.c:
	* gio/pygio-utils.h: Add a couple of useful function to reduce the
	code in wrapped methods.

2008-07-29  Johan Dahlin  <johan@gnome.org>

	* examples/gio/downloader.py:
	* gio/giomodule.c (init_gio):
	Add gio.FILE_ATTRIBUTE_* constants and update the examples to use them.

2008-07-29  Johan Dahlin  <johan@gnome.org>

	* examples/gio/downloader.py:
	Add a new example

	* gio/ginputstream.override:
	Use a string internally instead of a PyStringObject when
	in read_async. Create a new python string in finish and
	honor the number of bytes read.

2008-07-28  Johan Dahlin  <johan@gnome.org>

	* glib/pyglib-python-compat.h:
	* gobject/pygobject-private.h:
	Move all compatibility into the same place, fixes build
	on python 2.4.

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* glib/option.py:
	Remove tabs. Use sys.exc_info()[1] to fetch the exception value

	* gobject/__init__.py:
	* gobject/propertyhelper.py:
	Import gobject._gobject instead of just gobject.

	* gobject/Makefile.am:
	* gobject/constants.py.in:
	* gobject/generate-constants.c (main):
	Don't add long suffix if python >= 3.0

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* glib/pyglib-python-compat.h:
	* gobject/gobjectmodule.c (pyg_object_new),
	(pyg__install_metaclass):
	* gobject/pygboxed.c (pyg_boxed_dealloc), (pyg_boxed_init),
	(pyg_register_boxed):
	* gobject/pygenum.c (pyg_enum_reduce):
	* gobject/pyginterface.c (pyg_interface_init),
	(pyg_register_interface):
	* gobject/pygobject.c (pygobject_get_inst_data),
	(pygobject_register_class), (pygobject_new_with_interfaces),
	(pygobject_dealloc), (pygobject_repr), (pygobject_emit),
	(pygobject_chain_from_overridden), (pygobject_weak_ref_notify):
	* gobject/pygparamspec.c (pygobject_paramspec_register_types):
	* gobject/pygpointer.c (pyg_pointer_dealloc), (pyg_pointer_init),
	(pyg_register_pointer):
	* gobject/pygtype.c (pyg_type_from_object),
	(pyg_value_array_from_pyobject), (pyg_value_from_pyobject),
	(pyg_object_descr_doc_get):
	Use the Py_TYPE macro everywhere.

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* glib/pyglib-python-compat.h:
	Add a Py_TYPE macro for accessing ob_type.
	* glib/glibmodule.c (pyglib_register_constants):
	* gobject/gobjectmodule.c (pygobject__g_instance_init),
	(pyg_integer_richcompare):
	* gobject/pygenum.c (pyg_enum_repr), (pyg_enum_from_gtype),
	(pyg_enum_add), (pyg_enum_get_value_name),
	(pyg_enum_get_value_nick):
	* gobject/pygflags.c (pyg_flags_repr), (pyg_flags_from_gtype),
	(pyg_flags_add), (pyg_flags_and), (pyg_flags_or), (pyg_flags_xor),
	(pyg_flags_get_first_value_name), (pyg_flags_get_first_value_nick),
	(pyg_flags_get_value_names), (pyg_flags_get_value_nicks):
	Use Py_TYPE and PyLong macros to access struct fields

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* gobject/gobjectmodule.c (pyg_param_spec_from_object),
	(add_properties), (pyg_signal_new), (pyg_signal_list_ids),
	(pyg_signal_lookup), (pyg_signal_query):
	* gobject/pygenum.c (pyg_enum_richcompare), (pyg_enum_new),
	(pyg_enum_from_gtype), (pyg_enum_add), (pyg_enum_reduce),
	(pygobject_enum_register_types):
	* gobject/pygflags.c (pyg_flags_richcompare), (pyg_flags_new),
	(pyg_flags_from_gtype), (pyg_flags_add), (pyg_flags_and),
	(pyg_flags_or), (pyg_flags_xor), (pygobject_flags_register_types):
	* gobject/pygobject-private.h:
	* gobject/pygobject.c (pygobject_disconnect_by_func),
	(pygobject_handler_block_by_func),
	(pygobject_handler_unblock_by_func), (pygobject_get_refcount):
	* gobject/pygparamspec.c (pyg_param_spec_getattr):
	* gobject/pygtype.c (_wrap_g_type_wrapper__get_depth),
	(pyg_type_from_object), (pyg_enum_get_value),
	(pyg_flags_get_value), (pyg_value_from_pyobject),
	(pyg_value_as_pyobject):
	Use _PyLong macros.

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* gobject/pygboxed.c (pygobject_boxed_register_types):
	* gobject/pygenum.c (pygobject_enum_register_types):
	* gobject/pygflags.c (pygobject_flags_register_types):
	* gobject/pygobject.c (pygobject_object_register_types):
	* gobject/pygparamspec.c (pygobject_paramspec_register_types):
	* gobject/pygpointer.c (pygobject_pointer_register_types):
	* gobject/pygtype.c (pygobject_type_register_types):
	Use PYGLIB_DEFINE_TYPE macro and move struct field initialization
	to the registration methods.

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* glib/pyglib-python-compat.h:
	Add _PyUnicode_Type macro

	* gobject/gobjectmodule.c (pyg_type_name), (pyg_type_from_name),
	(_pyg_signal_accumulator), (add_signals), (add_properties),
	(get_type_name_for_class), (pyg_signal_list_names),
	(pyg_signal_name), (pyg_signal_query), (pyg_object_new),
	(pyg_add_emission_hook), (pyg_remove_emission_hook):
	* gobject/pygboxed.c (pyg_boxed_repr):
	* gobject/pygenum.c (pyg_enum_repr), (pyg_enum_add),
	(pyg_enum_get_value_name), (pyg_enum_get_value_nick):
	* gobject/pygflags.c (pyg_flags_repr), (pyg_flags_add),
	(pyg_flags_get_first_value_name), (pyg_flags_get_first_value_nick),
	(pyg_flags_get_value_names), (pyg_flags_get_value_nicks):
	* gobject/pygobject.c (build_parameter_list), (PyGProps_getattro),
	(PyGProps_setattro), (pygobject_register_class), (pygobject_repr),
	(pygobject_init), (pygobject_get_properties),
	(pygobject_set_properties), (pygobject_connect),
	(pygobject_connect_after), (pygobject_connect_object),
	(pygobject_connect_object_after), (pygobject_emit),
	(pygobject_stop_emission), (pygobject_disconnect_by_func),
	(pygobject_handler_block_by_func),
	(pygobject_handler_unblock_by_func),
	(pygobject_object_register_types):
	* gobject/pygparamspec.c (pyg_param_spec_repr),
	(pyg_param_spec_getattr):
	* gobject/pygpointer.c (pyg_pointer_repr):
	* gobject/pygtype.c (pyg_type_wrapper_repr),
	(_wrap_g_type_wrapper__get_name), (pyg_type_from_object),
	(pyg_enum_get_value), (pyg_flags_get_value),
	(pyg_value_from_pyobject), (pyg_value_as_pyobject),
	(object_doc_descr_get), (_pyg_strv_from_gvalue),
	(_pyg_strv_to_gvalue):

	Use _PyUnicode_* macros in the gobject module

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* gobject/Makefile.am:
	* gobject/gobjectmodule.c (PYGLIB_MODULE_START):
	* gobject/pygobject-private.h:
	Use glib macros to define the module, update export regexp.

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* gobject/Makefile.am:
	* gobject/gobjectmodule.c (init_gobject):
	* gobject/pygboxed.c (pygobject_boxed_register_types):
	* gobject/pygboxed.h:
	* gobject/pygenum.c (pygobject_enum_register_types):
	* gobject/pygenum.h:
	* gobject/pygflags.c (pygobject_flags_register_types):
	* gobject/pygflags.h:
	* gobject/pygpointer.c (pygobject_pointer_register_types):
	* gobject/pygpointer.h:
	Split out quark and type registration to the respective
	implementation source files, add headers.

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* gobject/Makefile.am:
	* gobject/gobjectmodule.c (pygobject_register_api),
	(pygobject_register_constants), (pygobject_register_features),
	(pygobject_register_version_tuples), (pygobject_register_warnings),
	(init_gobject):
	* gobject/pygobject-private.h:
	* gobject/pygobject.c (pyobject_copy), (pyobject_free),
	(pygobject_object_register_types):
	* gobject/pygtype.c (_pyg_strv_from_gvalue), (_pyg_strv_to_gvalue),
	(pygobject_type_register_types):
	* gobject/pygtype.h:
	Move off a bit more to separate functions, cleaning up the init_glib
	a bit more.

2008-07-27  Johan Dahlin  <johan@gnome.org>

	* gobject/Makefile.am:
	* gobject/gobjectmodule.c (init_gobject):
	* gobject/pygobject-private.h:
	* gobject/pygobject.c:
	* gobject/pygparamspec.c (pygobject_paramspec_register_types):
	* gobject/pygparamspec.h:
	* gobject/pygtype.c:
	Move paramspec registration to a separate file, add a header
	for the internal API.

2008-07-27  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gobject/pygtype.c (pyg_enum_get_value): Issue warning if 'obj'
	is a PyGEnum of wrong type, i.e. not matching 'enum_type' (bug
	#503771).

2008-07-26  Johan Dahlin  <johan@gnome.org>

	reviewed by: <delete if not using a buddy>

	* glib/pyglib-python-compat.h:
	* glib/pyglib.h:
	Make a few macros public

	* gobject/Makefile.am:
	* gobject/gobjectmodule.c (init_gobject):
	* gobject/pyginterface.c (pyg_interface_init),
	(pyg_interface_free), (pyg_register_interface),
	(pyg_register_interface_info), (pyg_lookup_interface_info),
	(pygobject_interface_register_types):
	* gobject/pyginterface.h:
	* gobject/pygobject-private.h:
	* gobject/pygobject.c:
	Move GInterface wrapper into its own file

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/Makefile.am:
	Also export PyInit_glib
	* glib/__init__.py:
	import glib._glib instead of just _glib
	* glib/pyglib-python-compat.h:
	* glib/pygoptioncontext.c (pyg_option_context_parse):
	* glib/pygsource.c (source_repr), (pyg_source_attach),
	(pyg_source_get_priority), (pyg_source_set_priority),
	(pyg_source_get_id), (pyg_source_prepare), (pyg_poll_fd_repr):
	* glib/pygspawn.c (pyg_pid_close), (pyg_pid_free), (pyg_pid_new),
	(pyglib_spawn_async), (pyglib_spawn_register_types):
	Go over the rest and replace missing symbols on python3.
	the glib module successfully compiles and runs now.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/pygiochannel.c (py_io_channel_shutdown),
	(py_io_channel_set_buffer_size), (py_io_channel_get_buffer_size),
	(py_io_channel_set_buffered), (py_io_channel_get_buffered),
	(py_io_channel_set_encoding), (py_io_channel_get_encoding),
	(py_io_channel_read_chars), (py_io_channel_write_chars),
	(py_io_channel_write_lines), (py_io_channel_flush),
	(py_io_channel_set_flags), (py_io_channel_get_flags),
	(py_io_channel_get_buffer_condition),
	(py_io_channel_set_close_on_unref), (py_io_channel_add_watch),
	(py_io_channel_win32_poll), (py_io_channel_win32_make_pollfd),
	(py_io_channel_read_line), (py_io_channel_read_lines),
	(py_io_channel_seek), (py_io_channel_init):
	* glib/pyglib.c (pyglib_gerror_exception_check):
	* glib/pygoptioncontext.c (pyg_option_context_init):
	* glib/pygoptiongroup.c (check_if_owned):
	* glib/pygsource.c (pyg_idle_init), (pyg_timeout_init),
	(pyg_poll_fd_init):
	gobject -> glib

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/pygmaincontext.c (pyglib_maincontext_register_types):
	* glib/pygmainloop.c (pyg_main_loop_init),
	(pyglib_mainloop_register_types):
	* glib/pygoptioncontext.c (pyg_option_context_set_main_group),
	(pyglib_option_context_register_types):
	* glib/pygoptiongroup.c (pyglib_option_group_register_types):
	* glib/pygspawn.c (pyglib_spawn_register_types):
	Convert the pid/mainloop/maincontext/optiongroup/optioncontext.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/pygsource.c (pyglib_source_register_types):
	Convert the source objects to use macros, saves ~150 lines of code!

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (get_handler_priority), (pyglib_idle_add),
	(pyglib_timeout_add), (pyglib_timeout_add_seconds),
	(pyglib_io_add_watch), (pyglib_child_watch_add),
	(pyglib_markup_escape_text), (pyglib_main_depth),
	(pyglib_filename_from_utf8), (pyglib_get_application_name),
	(pyglib_get_prgname), (PYGLIB_MODULE_START):
	* glib/pygiochannel.c (py_io_channel_next),
	(py_io_channel_shutdown), (py_io_channel_get_buffer_size),
	(py_io_channel_get_buffered), (py_io_channel_get_encoding),
	(py_io_channel_read_chars), (py_io_channel_write_chars),
	(py_io_channel_write_lines), (py_io_channel_flush),
	(py_io_channel_set_flags), (py_io_channel_get_flags),
	(py_io_channel_get_buffer_condition), (py_io_channel_win32_poll),
	(py_io_channel_read_line), (py_io_channel_read_lines),
	(py_io_channel_seek), (pyglib_iochannel_register_types):
	* glib/pyglib-private.h:
	* glib/pyglib-python-compat.h:
	* glib/pyglib.c (pyglib_init), (pyglib_error_check),
	(pyglib_gerror_exception_check),
	(pyglib_register_exception_for_domain):
	Add macros for supporting additional python versions.
	Start using them for the glib module. Tested on python 2.5 and 3.0.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	* m4/python.m4:
	Add macros which are compatible with python > 2.6.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	Post release version bump

=== 2.15.2 ===
2008-07-26  Johan Dahlin  <johan@gnome.org>

	* NEWS: Update

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* gobject/Makefile.am (_gobject_la_SOURCES): Build fix, remove
	extra \

	* examples/gio/directory-async.py:
	* gio/Makefile.am:
	* gio/giomodule.c (init_gio):
	* glib/pyglib.c (pyglib_error_check),
	(pyglib_register_exception_for_domain):
	* glib/pyglib.h:
	* tests/test_gio.py:
	Add a new API for registering exceptions for a GError domain.
	Register a new exception for G_IO_ERROR, update tests
	and examples to use the new exception.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/pygoptioncontext.c (pyg_option_context_set_main_group),
	(pyg_option_context_add_group):
	Send in a PyObject instead of a PyGOptionGroup object.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/Makefile.am:
	* glib/glibmodule.c (pyglib_register_constants), (init_glib):
	* glib/option.py:
	* glib/pyglib.c (pyglib_init),
	(pyglib_option_group_transfer_group), (pyglib_option_group_new),
	(pyglib_option_context_new):
	* glib/pyglib.h:
	* glib/pygoptioncontext.c (pyg_option_context_parse),
	(pyg_option_context_set_main_group),
	(pyg_option_context_add_group),
	(pyglib_option_context_register_types):
	* glib/pygoptioncontext.h:
	* glib/pygoptiongroup.c (arg_func),
	(pyglib_option_group_register_types):
	* glib/pygoptiongroup.h:
	* gobject/Makefile.am:
	* gobject/__init__.py:
	* gobject/gobjectmodule.c (init_gobject):
	* gobject/option.py:
	* gobject/pygobject-private.h:
	* gobject/pygoptioncontext.c:
	* gobject/pygoptiongroup.c:
	Move option over from gobject to glib.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* tests/common.py:
	* tests/test_conversion.py:
	* tests/test_enum.py:
	* tests/test_interface.py:
	* tests/test_option.py:
	* tests/test_source.py:
	* tests/test_subprocess.py:
	* tests/test_subtype.py:
	* tests/test_thread.py:
	* tests/test_unknown.py:
	Run pyflakes on the testsuite, remove unused imports
	and reorganize others.

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (pyglib_register_constants), (init_glib):
	* gobject/__init__.py:
	* gobject/gobjectmodule.c (init_gobject):
	Move over glib constants to gobject
	* tests/test_gio.py:
	* tests/test_mainloop.py:
	* tests/test_source.py:
	* tests/test_subprocess.py:
	* tests/test_thread.py:
	Update tests to refer to glib when appropriate

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* README:
	* configure.ac:
	Bump required glib version to 2.10

2008-07-26  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (child_watch_dnotify),
	(pyglib_child_watch_add):
	* glib/pygiochannel.c (pyg_iowatch_data_free),
	(py_io_channel_add_watch):
	* glib/pygspawn.c (_pyg_spawn_async_callback),
	(pyglib_spawn_async):
	Use g_slice_new instead of g_new

2008-07-25  Johan Dahlin  <johan@gnome.org>

	* gobject/Makefile.am:
	* tests/Makefile.am:
	Make distcheck pass

2008-07-25  Johan Dahlin  <johan@gnome.org>

	* gobject/gobjectmodule.c (init_gobject):
	* gobject/pygobject-private.h:
	Remove private structures which moved to pyglib.

2008-07-24  Johan Dahlin  <johan@gnome.org>

	Bug 544600 – pygobject building failed since 839 revision,
	error : "Py_ssize_t" undeclared

	* glib/pyglib-private.h: Add backward compatibility macros for
	python 2.4.

	* gio/gfile.override:
	* gio/gfileenumerator.override:
	* gio/ginputstream.override:
	* gio/gio.defs:
	* gio/gio.override:
	* gio/goutputstream.override:
	* tests/test_gio.py:
	Wrap gio.File.copy, add tests and documentation.
	Rename PyGAsyncRequestNotify to PyGIONotify and reuse it.

2008-07-23  Johan Dahlin  <johan@gnome.org>

	* glib/pyglib.c (_pyglib_destroy_notify):
	Rename the function too, not just the prototype!

2008-07-21  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (pyglib_idle_add), (pyglib_timeout_add),
	(pyglib_timeout_add_seconds), (pyglib_io_add_watch):
	* glib/pyglib-private.h:
	* glib/pyglib.c (pyglib_destroy_notify), (_pyglib_handler_marshal):
	* glib/pyglib.h:
	* glib/pygsource.c (pyg_source_set_callback):
	Make pyglib_destroy_notify and pyglib_handler_marshal private.
	Add a few public prototypes.

2008-07-21  Johan Dahlin  <johan@gnome.org>

	* glib/glibmodule.c (pyglib_idle_add), (pyglib_timeout_add),
	(pyglib_timeout_add_seconds), (pyglib_io_add_watch),
	(pyglib_source_remove), (pyglib_child_watch_add),
	(pyglib_markup_escape_text), (pyglib_get_current_time),
	(pyglib_main_depth), (pyglib_filename_display_name),
	(pyglib_filename_display_basename), (pyglib_filename_from_utf8),
	(pyglib_get_application_name), (pyglib_set_application_name),
	(pyglib_get_prgname), (pyglib_set_prgname), (pyglib_register_api),
	(pyglib_register_error):
	Mark as static, rename from pyg_* -> pyglib_*. Fill in api struct,
	rename struct and remove function suffix.

2008-07-21  Johan Dahlin  <johan@gnome.org>

	* glib/Makefile.am:
	* glib/glibmodule.c (pyg_idle_add), (pyg_timeout_add),
	(pyg_timeout_add_seconds), (pyg_io_add_watch),
	(pyglib_register_api), (pyglib_register_error),
	(pyglib_register_version_tuples), (init_glib):
	* glib/pygiochannel.c (py_io_channel_next),
	(py_io_channel_shutdown), (py_io_channel_set_encoding),
	(py_io_channel_read_chars), (py_io_channel_write_chars),
	(py_io_channel_write_lines), (py_io_channel_flush),
	(py_io_channel_set_flags), (py_io_channel_read_line),
	(py_io_channel_read_lines), (py_io_channel_seek),
	(py_io_channel_init), (pyglib_iochannel_register_types):
	* glib/pygiochannel.h:
	* glib/pyglib-private.h:
	* glib/pyglib.c (pyglib_threads_enabled),
	(pyglib_gil_state_ensure), (pyglib_gil_state_release),
	(pyglib_enable_threads), (pyglib_block_threads),
	(pyglib_unblock_threads), (pyglib_set_thread_block_funcs),
	(pyglib_handler_marshal), (pyglib_destroy_notify):
	* glib/pyglib.h:
	* glib/pygsource.c (pyg_source_set_callback),
	(pyglib_source_register_types):
	* glib/pygsource.h:
	* glib/pygspawn.c (pyglib_spawn_register_types):
	* glib/pygspawn.h:
	* gobject/Makefile.am:
	* gobject/__init__.py:
	* gobject/gobjectmodule.c (pyg_set_thread_block_funcs),
	(init_gobject):
	* gobject/pygiochannel.c:
	* gobject/pygobject-private.h:
	* gobject/pygsource.c:
	Move over Source, IOChannel, Idle, Timeout and PollFD to glib from
	gobject.
	Clean up and add a bit of new api for glib.

2008-07-21  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	Use yes/no instead of true/false. Avoid bashism.
	Fix another logic bug, and let's hope I didn't break anything

2008-07-20  Paul Pogonyshev  <pogonyshev@gmx.net>

	* configure.ac (pygobject_CODEGEN_DEFINES): Fix libffi check
	logic.

2008-07-20  Johan Dahlin  <johan@gnome.org>

	* glib/Makefile.am:
	* glib/glibmodule.c (pyglib_main_context_default), (init_glib):
	* glib/pyglib.c (pyglib_init), (pyglib_threads_enabled),
	(pyglib_main_context_new):
	* glib/pyglib.h:
	* glib/pygmaincontext.c (_wrap_g_main_context_iteration),
	(pyglib_maincontext_register_types):
	* glib/pygmaincontext.h:
	* glib/pygmainloop.c (pyg_signal_watch_prepare),
	(pyg_signal_watch_check), (pyg_main_loop_new),
	(_wrap_g_main_loop_get_context), (_wrap_g_main_loop_run),
	(pyglib_mainloop_register_types):
	* glib/pygmainloop.h:
	* gobject/Makefile.am:
	* gobject/__init__.py:
	* gobject/gobjectmodule.c (pyg_destroy_notify), (pyobject_free),
	(pyg_object_set_property), (pyg_object_get_property),
	(_pyg_signal_accumulator), (pygobject__g_instance_init),
	(pyg_handler_marshal), (pygobject_gil_state_ensure),
	(pygobject_gil_state_release), (marshal_emission_hook),
	(_log_func), (init_gobject):
	* gobject/pygboxed.c (pyg_boxed_dealloc), (pyg_boxed_new):
	* gobject/pygenum.c (pyg_enum_add):
	* gobject/pygflags.c (pyg_flags_add):
	* gobject/pygiochannel.c (pyg_iowatch_marshal):
	* gobject/pygmaincontext.c:
	* gobject/pygmainloop.c:
	* gobject/pygobject-private.h:
	* gobject/pygobject.c (pygobject_data_free), (pyg_toggle_notify),
	(pygobject_new_with_interfaces), (pygobject_weak_ref_notify):
	* gobject/pygobject.h:
	* gobject/pygoptiongroup.c (destroy_g_group), (arg_func):
	* gobject/pygpointer.c (pyg_pointer_new):
	* gobject/pygsource.c (pyg_source_get_context),
	(pyg_source_prepare), (pyg_source_check), (pyg_source_dispatch),
	(pyg_source_finalize):
	* gobject/pygtype.c (pyg_closure_invalidate),
	(pyg_closure_marshal), (pyg_signal_class_closure_marshal):
	* tests/common.py:

	Move maincontext and mainloop over to glib.
	Update the threadstate api to use the variant in glib.

2008-07-20  Johan Dahlin  <johan@gnome.org>

	* glib/Makefile.am:
	* gobject/Makefile.am:
	* gobject/__init__.py:
	* gobject/gobjectmodule.c (pyg_threads_init), (pyg_error_check),
	(pyg_gerror_exception_check), (init_gobject):
	* gobject/option.py:
	Install the glib module, the helper library and the headers.
	Use it from gobject and remove the old glib specific code from there.

2008-07-20  Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	* gobject/Makefile.am:
	Use pkg-config to check for libffi again.

2008-07-20  Johan Dahlin  <johan@gnome.org>

	* glib/Makefile.am:
	* glib/glibmodule.c (pyg_main_context_default):
	* glib/pyglib.c (pyglib_gerror_exception_check):
	* glib/pyglib.h:
	Rename helper library to libpyglib-2.0.
	Move over pyg_gerror_exception_check as well.

2008-07-20  Johan Dahlin  <johan@gnome.org>

	* Makefile.am:
	* configure.ac:
	* glib/Makefile.am:
	* glib/__init__.py:
	* glib/glibmodule.c (pyg_destroy_notify), (get_handler_priority),
	(pyg_handler_marshal), (pyg_idle_add), (pyg_timeout_add),
	(pyg_timeout_add_seconds), (iowatch_marshal), (pyg_io_add_watch),
	(pyg_source_remove), (pyg_main_context_default),
	(child_watch_func), (child_watch_dnotify), (pyg_child_watch_add),
	(pyg_markup_escape_text), (pyg_get_current_time), (pyg_main_depth),
	(pyg_filename_display_name), (pyg_filename_display_basename),
	(pyg_filename_from_utf8), (pyg_get_application_name),
	(pyg_set_application_name), (pyg_get_prgname), (pyg_set_prgname),
	(pyg_register_api), (pyg_register_error),
	(pyg_register_version_tuples), (init_glib):
	* glib/pyglib-private.h:
	* glib/pyglib.c (pyglib_init), (pyglib_init_internal),
	(pyglib_gil_state_ensure), (pyglib_gil_state_release),
	(pyglib_enable_threads), (pyglib_gil_state_ensure_py23),
	(pyglib_gil_state_release_py23), (pyglib_error_check):
	* glib/pyglib.h:
	* glib/pygspawn.c (pyg_pid_close), (pyg_pid_free),
	(pyg_pid_tp_init), (pyg_pid_new), (_pyg_spawn_async_callback),
	(pyglib_spawn_async), (pyg_spawn_register_types):
	* glib/pygspawn.h:
	Add glib bindings, currently not installed or used.
	Add some internal API and move over a couple of functions
	from the gobject module. Still very much a work in progress.

2008-07-19  Johan Dahlin  <johan@gnome.org>

	* gio/gio.override:
	Ignore a bunch of functions which are not relevant.

2008-07-19  Johan Dahlin  <johan@gnome.org>

	* gio/gfile.override:
	* gio/gio.defs:
	* gio/gio.override:
	* tests/test_gio.py:
	Bind gio.Mount.unmount, gio.File.mount_mountable,
	gio.File.unmount_mountable and gio.File.mount_enclosing_volume.
	Add documents and tests.

2008-07-19  Johan Dahlin  <johan@gnome.org>

	* gio/gio.override: Set module name back to
	gio, as setting it to gio._gio breaks pydoc.

	* gio/gio.defs:
	Use property based constructors when possible.

2008-07-19  Johan Dahlin  <johan@gnome.org>

	* examples/gio/directory-async.py:
	* gio/gfileenumerator.override:
	* gio/gio.defs:
	* tests/test_gio.py:
	Wrap gio.FileEnumerator.next_files_async/next_files_done.
	Update the example to use them instead of the synchronous versions,
	add documentation and tests.

2008-07-19  Johan Dahlin  <johan@gnome.org>

	* examples/gio/directory-async.py:
	Only fetch name, saves a couple of syscalls.
	* gio/gio.override:
	Set name to gio._gio so pychecker/pydoc works.

2008-07-18  Johan Dahlin  <johan@gnome.org>

	* examples/gio/directory-async.py:
	* gio/gfile.override:
	* gio/gfileenumerator.override:
	* gio/gio.defs:
	* tests/test_gio.py:
	Wrap gio.File.enumerate_children_async, add tests, docstring
	and an example.
	Also document gio.File.enumerate while we're at it.

2008-07-18  Johan Dahlin  <johan@gnome.org>

	* gio/gfile.override:
	Use %zd instead of %d since it's a Py_ssize_t and not an int.

2008-07-18  Johan Dahlin  <johan@gnome.org>

	* gio/pygio-utils.h:
	define NO_IMPORT_PYGOBJECT before including pygobject.h

2008-07-18  Johan Dahlin  <johan@gnome.org>

	* gio/giomodule.c (init_gio):
	Require pygobject 2.15.2

2008-07-17  Johan Dahlin  <johan@gnome.org>

	* gio/giomodule.c (init_gio):
	Add a pygio_version module attribute
	(DL_EXPORT): The module is called gio._gio, not just _gio.

2008-07-17  Johan Dahlin  <johan@gnome.org>

	* gio/gio-types.defs:
	Rename gio.IOErrorEnum to gio.ErrorEnum

2008-07-17  Johan Dahlin  <johan@gnome.org>

	* gio/giomodule.c (init_gio):
	Add gio.ERROR which maps to the G_IO_ERROR quark.

2008-07-17  Johan Dahlin  <johan@gnome.org>

	* gio/giomodule.c (init_gio):
	Use the prefix G_IO_ for stripping constants instead of just G_
	* gobject/gobjectmodule.c (pyg_constant_strip_prefix):
	Check so the fist part of name and strip_prefix are the same,
	if they don't, just strip of the part of strip_prefix which
	matches.

	This removes the initial IO_* prefix for some constants in gio.
	Eg, gio.IO_ERROR_* -> gio.ERROR_*

2008-07-16  Johan Dahlin  <johan@gnome.org>

	* configure.ac: Post release version bump

=== 2.15.1 ===
2008-07-16  Johan Dahlin  <johan@gnome.org>

	* NEWS: Update

2008-07-15  Paul Pogonyshev  <pogonyshev@gmx.net>

	* codegen/pygobject-codegen-2.0.in: Rename from
	'pygtk-codegen-2.0.in'.

	* configure.ac:
	* codegen/Makefile.am: Update accordingly.

2008-07-15  Johan Dahlin  <johan@gnome.org>

	* configure.ac: Post release version bump

=== 2.15.0 ===
2008-07-15  Johan Dahlin  <johan@gnome.org>

	New version

	* NEWS: Update

	* tests/Makefile.am:
	Make sure we can distcheck the gio module properly

2008-07-15  Johan Dahlin  <johan@gnome.org>

	Bug 450659 – h2def.py - export 'typedef struct' object definitions not
	working

	* codegen/h2def.py:
	Patch by Lauro Moura

2008-07-14  Johan Dahlin  <johan@gnome.org>

	Bug 471559 – add AM_PROG_CC_C_O to configure.ac for recent automake

	* configure.ac:
	Patch by Tim Mooney

2008-07-14  Johan Dahlin  <johan@gnome.org>

	Bug 448173 – use python-config to get python includes

	* configure.ac:
	Really close the by, patch by Matthias Klose

2008-07-14  Johan Dahlin  <johan@gnome.org>

	Bug 378704 – OptionParser.parse_args() returns unexpected results

	* gobject/option.py:
	Patch by Johannes Hölzl

2008-07-14  Johan Dahlin  <johan@gnome.org>

	Bug 491773 – autoconf failure: .m4 files cannot be found

	* Makefile.am:
	Patch by macks@netspace.org

2008-07-14  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override: wrap File.load_contents_async and
	File.load_contents_finish

	* gio/gio.defs: Add docstring for the above methods.

	* tests/test_gio.py: Add a test for the above methods.

2008-07-14  Johan Dahlin  <johan@gnome.org>

	Bug 487523 – Add xslfiles variable to .pc.in files

	* pygobject-2.0-uninstalled.pc.in:
	Add xslfiles variable, patch by Damien Carbery

2008-07-14  Johan Dahlin  <johan@gnome.org>

	* gio/gio.defs:
	Remove g_file_input_stream_seek and g_file_output_stream_seek,
	they already implement the seekable interface.

2008-07-14  Johan Dahlin  <johan@gnome.org>

	Bug 504337 - crash bug in gobject.Timeout and gobject.Idle

	* gobject/pygsource.c:
	* tests/test_source.py:
	Fix crash in Timeout and Idle, patch by Bryan Silverthorn.

2008-07-14  Johan Dahlin  <johan@gnome.org>

	* codegen/argtypes.py:
	Map GSeekType to an int

	* gio/gfileinfo.override:
	* gio/ginputstream.override:
	* gio/goutputstream.override:
	Add comments for missing API

2008-07-14  Johan Dahlin  <johan@gnome.org>

	* gio/Makefile.am:
	* gio/gfile.override:
	* gio/ginputstream.override:
	* gio/gio.override:
	* gio/goutputstream.override:
	* gio/pygio-utils.c (pygio_check_cancellable):
	* gio/pygio-utils.h:
	Refactor cancellable check to a utility function, avoids
	plenty of code duplication.

2008-07-14  Paul Pogonyshev  <pogonyshev@gmx.net>

	* codegen/definitions.py (ReturnType): New class.
	(MethodDefBase.__init__): Make 'self.ret' a 'ReturnType' instance,
	not string.  Accept 'optional' flag.

	* codegen/argtypes.py (ArgMatcher.get_reverse_ret): Test if
	'ptype' has true 'optional' attribute and copy it to 'props' then.

	* codegen/reversewrapper.py (ReturnType.support_optional): New
	class field, False by default.
	(GObjectReturn.support_optional, GObjectReturn.write_decl)
	(GObjectReturn.write_conversion): Support optional return.

	* pygobject-2.0.pc.in: Add 'codegendir' variable.
	* codegen/pygtk-codegen-2.0.in: Make 'codegendir' refer to
	PyGObject's codegen, not PyGTK's one --- the latter will be
	removed (first part of bug #542821).

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 (merge from
	PyGTK).

2008-01-29  Olivier Crete  <tester@tester.ca>

	* codegen/h2def.py (DefsWriter.__init__): Fix copy-paste
	typos (merge from PyGTK).

2008-07-11  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gio/gfile.override: wrap File.load_contents, fix a typo.

	* gio/gio.defs: Add docstring for File.load_contents.

	* tests/test_gio.py: Add a test for the above method.

2008-07-09  Juha Sahakangas  <voas0113@saunalahti.fi>

	* gobject/gobjectmodule.c (pyg_io_add_watch): Fix error message
	referencing wrong argument.

2008-06-29  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_markup_escape_text): text_size
	should be Py_ssize_t instead of int.
	Bug 540696 – gobject.markup_escape_text() causes python to segfault.

2008-06-28  Johan Dahlin  <jdahlin@async.com.br>

	* docs/reference/pygobject.xml:
	Document GObject.handler_block_by_func/handler_unblock_by_func

2008-06-17  Johan Dahlin  <jdahlin@async.com.br>

	* gio/gio-types.defs:
	* tests/test_gio.py:
	Sort out confusion between interfaces and objects, add test.
	Fixes #538601

2008-06-09  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gobject/pygobject.c (pygobject_copy, pygobject_deepcopy): New
	functions, unconditionally raise TypeError.
	(pygobject_methods): Hook them up. (bug #482370)

2008-05-31  Johan Dahlin  <johan@gnome.org>

    * setup.py: set FFI_LIBS to '', since this is mostly used on win32.

2008-05-30  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (init_gobject): Call PyType_Ready for
	PyGParamSpec_Type, and add it to the module dict.

2008-05-23  Johan Dahlin  <jdahlin@async.com.br>

	* gio/gio.defs:
	Add default values for all GSeekType variables.

2008-05-21  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_spawn_async): Accept None for the
	child_setup parameter of gobject.spawn_async().  Also check that
	it is callable.

2008-04-27  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gobject/pygenum.c (pyg_enum_richcompare): Fix: raise warning as
	exception if asked by PyErr_Warn().

	* gobject/pygflags.c (pyg_flags_richcompare):  Don't return NULL
	after warning; more useful warning message.

	(#480424, borrowing code by Mark Doffman)

2008-04-21  Johan Dahlin  <johan@gnome.org>

	* codegen/h2def.py: Update link to defs format discussion

2008-04-15  Johan Dahlin  <johan@gnome.org>

	* gobject/gobjectmodule.c (init_gobject): Set
	gobject.GObject.__module__ to gobject._gobject, this
	helps pylint to check public methods of GObject subclasses

	* tests/Makefile.am (tests):
	* tests/test_gobject.py (TestGObjectAPI.testGObjectModule):
	Add a test for this

	(#523821, Simon Schampijer)

2008-04-11  Johan Dahlin  <jdahlin@async.com.br>

	* gio/gio.defs (write_async): document.
	Add default values to all flags parameters.

2008-04-11  Johan Dahlin  <johan@gnome.org>

	* gio/gio.defs (read_async, read): document.
	Set io_priority default to G_PRIORITY_DEFAULT.

2008-04-11  Johan Dahlin  <jdahlin@async.com.br>

	* gio/gfile.override:
	* gio/ginputstream.override:
	* gio/goutputstream.override:
	* tests/test_gio.py:
	Move around the order of the callback argument to async methods,
	so it comes before priority and cancellable, which can have default
	values.

2008-04-08  Johan Dahlin  <jdahlin@async.com.br>

	* gio/Makefile.am:
	* gio/__init__.py:
	* gio/gappinfo.override:
	* gio/gio.defs:
	* gio/gio.override:
	* tests/test_gio.py:
	Implement GAppInfo constructor, add tests.

2008-04-08  Johan Dahlin  <jdahlin@async.com.br>

	* gio/Makefile.am:
	* gio/gfileinfo.override:
	* gio/gio.defs:
	* gio/gio.override:
	* tests/test_gio.py:
	Wrap GFileInfo.list_attributes(), add tests and
	set the default of GFileQueryInfoFlags args to G_FILE_QUERY_INFO_NONE.

2008-04-08  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/option.py: Fix a typo
	* tests/test_option.py:
	Update the tests after the latest "refactoring".
	The testsuite should run fine now again, finally.

2008-04-08  Johan Dahlin  <johan@gnome.org>

	* tests/test_gio.py (TestOutputStream.testWriteAsyncError):
	(TestInputStream._testCloseAsync.callback):
	Disable these tests until we can figure why they freeze during
	make check.

2008-04-08  Johan Dahlin  <jdahlin@async.com.br>

	* gio/gio.defs:
	* gio/gio.override:
	* tests/test_gio.py:
	Add bindings for content_type_guess.
	Based on patch by Thomas Leonard (#525113)

2008-04-08  Johan Dahlin  <jdahlin@async.com.br>

	* gio/gio-types.defs:
	* gio/gio.defs:
	* gio/gio.override:
	* tests/test_gio.py:
	Add basic support for GThemedIcon, based on patch by
	Thomas Leonard (#521883)

2008-04-08  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygsource.c:
	* tests/test_source.py:
	Unbreak Source.prepare (#523075, Bryan Silverthorn)

2008-04-08  Johan Dahlin  <johan@gnome.org>

	* gio/gfile.override (_wrap__install_file_meta): Fix a couple of
	silly typos and use gio.File instead of GFile in exceptions.

2008-04-07  Johan Dahlin  <johan@gnome.org>

	* gio/__init__.py:
	* gio/gfile.override:
	* gio/gio-types.defs:
	* gio/gio.override:
	* tests/test_gio.py:
	Make gio.File() (calling on an interface) a factory for creating
	files. Add tests and a docstring.

2008-04-07  Johan Dahlin  <johan@gnome.org>

	* gio/Makefile.am (pygiodir): Install gio in the right location

2008-04-06  Johan Dahlin  <johan@gnome.org>

	* tests/test_gio.py: Add tests for recently added features.

	* gio/goutputstream.override:
	(_wrap_g_output_stream_write_asyn,_wrap_g_output_stream_close_async):
	* gio/ginputstream.override (async_result_callback_marshal_read):
	Add wrappers.

	* gio/gio.override: Ignore vararg functions and remove a couple
	of left overs in the generic marshaller.

	* gio/gio.defs: Remove g_file_output_stream_truncate,
	g_file_output_stream_tell and g_file_input_stream_tell

	* Makefile.am:
	* gio/gfileenumerator.override (_wrap_g_file_enumerator_tp_iter):
	Implement the python iteration protocol on GFileEnumerator

	* codegen/argtypes.py (arg): Add goffset to the int64 arg type

2008-04-02  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gobject/pygenum.c: bug #428732
	(pyg_enum_new): Fix two wrong assertions about '__enum_values__'
	size and contents.
	(pyg_enum_reduce): New function (based on patch by Phil Dumont).
	(pyg_enum_methods): Hook it up.

2008-03-24  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gobject/pygenum.c (pyg_enum_richcompare): Don't return NULL
	after warning; more useful warning message (bug #519631).

2008-03-22  Johan Dahlin  <johan@gnome.org>

	* gio/ginputstream.override:
	* gio/gio.override:
	* tests/test_gio.py:

	Make read_finish() return the string, remove the get_buffer method.
	This is more pythonic, as it mimics the normal read() behavior of
	python.
	Update the tests and use a separate marshaller for read.

2008-03-21  Johan Dahlin  <johan@gnome.org>

	* gobject/__init__.py:
	* tests/test_properties.py:
	Allow gobject.property work with subclasses. Add tests.

	(#523352, Tomeu Vizoso)

2008-03-10  Johan Dahlin  <johan@gnome.org>

	* configure.ac: Require gio and giounix 2.15.7.

2008-03-09  Johan Dahlin  <johan@gnome.org>

	* gio/gio-types.defs:
	* gio/gio.defs:
	* tests/test_gio.py:
	Update to SVN of gio:
	g_file_contains_file -> g_file_has_prefix
	can_seek and can_truncate are now only on the GSeekable interface
	Add tests

	(#521207, Thomas Leonard)

2008-03-08  Johan Dahlin  <jdahlin@async.com.br>

	* gio/ginputstream.override:
	Pass in l instead of i to PyArg_ParseTupleAndKeywords when
	parsing a long. Fixes the build on 64-bit systems.
	(#521165, Thomas Leonard)

2008-03-02  Johan Dahlin  <johan@gnome.org>

	* Makefile.am: Dist .m4 files.
	(#496011, Ed Catmur)

2008-03-02  Paul Pogonyshev  <pogonyshev@gmx.net>

	* gobject/gobjectmodule.c (REGISTER_TYPE): Never override customly
	set 'tp_new' and 'tp_alloc'.

2008-02-01  Dan Winship  <danw@gnome.org>

	* pygobject-2.0.pc.in (defsdir): Add this so other bindings can
	find gio.defs

2008-01-21  Johan Dahlin  <johan@gnome.org>

	* gio/gio.override (async_result_callback_marshal):
	Don't assume the buffer is set, use Py_XINCREF instead of Py_INCREF.

	* gio/Makefile.am:
	* gio/ginputstream.override:
	* gio/goutputstream.override:
	* gio/gvolumemonitor.override:
	* gio/gfile.override:
	* tests/test_gio.py:
	Implement and test GFile.read_async. Use try/finally to always quit
	the mainloop, even if the test fail.
	Update source comment headers.

2008-01-20  Johan Dahlin  <johan@gnome.org>

	* tests/test_gio.py (TestVolumeMonitor): New test

	* gio/Makefile.am:
	* gio/ginputstream.override:
	* gio/gio.override:
	* gio/giomodule.c:
	* gio/goutputstream.override:
	* gio/gvolumemonitor.override:
	* gio/unix.override:
	* gio/unixmodule.c:

	Split out overrides into more files. Fix up module description in
	comments

2008-01-20  Johan Dahlin  <johan@gnome.org>

	* gio/gio.override (_wrap_g_simple_async_result_get_buffer): Add
	a new method, to fetch the buffer
	(_wrap_g_input_stream_read_async): Save a reference to the buffer.
	* tests/test_gio.py (TestInputStream.testReadAsync.callback):
	Check the content

	* tests/test_gio.py (TestInputStream.testReadAsyncError):
	New function to test error condition of async read.

	* gio/gio.override (async_result_callback_marshal): Grab a reference
	to callback/data.

2008-01-19  Johan Dahlin  <johan@gnome.org>

	* gio/gio.override (_wrap_g_output_stream_write): Impl.
	* gio/gio.override:
	* gio/unix.defs:
	Add GUnixInputStream type and methods

	* tests/common.py:
	* tests/test_gio.py:
	Add GIO tests.

	* gio/gio.override (_wrap_g_app_info_get_all_for_type),
	(_wrap_g_app_info_get_all),
	(_wrap_g_drive_get_volumes): Implement.

	* gio/gio.override (async_result_callback_marshal): New marshaller
	for async results
	(_wrap_g_input_stream_read_async): Impl.
	* gio/gio-types.defs: Add SimpleAsyncRequest
	* gio/giomodule.c: Register enums/constants

	* gio/gio.override: Fix a silly bug so it possible to read files
	larger than 8192 bytes.

	* gio/gio.defs: Set null-ok for all cancelable as well.

	* gio/__init__.py: set gio.unix to None if it's not available

	* gio/gio.override: Implement InputStream.read efficiently without
	copying the strings, based on the standard libararys file.read()
	implementation.

	* gio/gio-types.defs (Cancellable): Add wrapper.

	* gio/gio.defs (replace): Do not require cancellable argument
	to be specified, default to NULL if not.

	* Makefile.am:
	* codegen/Makefile.am:
	* codegen/README.defs:
	* codegen/__init__.py:
	* codegen/argtypes.py:
	* codegen/code-coverage.py:
	* codegen/codegen.py:
	* codegen/createdefs.py:
	* codegen/definitions.py:
	* codegen/defsconvert.py:
	* codegen/defsgen.py:
	* codegen/defsparser.py:
	* codegen/docextract.py:
	* codegen/docextract_to_xml.py:
	* codegen/docgen.py:
	* codegen/h2def.py:
	* codegen/mergedefs.py:
	* codegen/missingdefs.py:
	* codegen/mkskel.py:
	* codegen/override.py:
	* codegen/pygtk-codegen-2.0.in:
	* codegen/reversewrapper.py:
	* codegen/scanvirtuals.py:
	* codegen/scmexpr.py:

	* configure.ac:
	* gio/Makefile.am:
	* gio/__init__.py:
	* gio/gio-types.defs:
	* gio/gio.defs:
	* gio/gio.override:
	* gio/giomodule.c: (init_gio):
	* gio/unix-types.defs:
	* gio/unix.defs:
	* gio/unix.override:
	* gio/unixmodule.c: (initunix):

	Import codegen from pygtk.
	Add initial gio and gio.unix bindings.

2008-01-11  Johan Dahlin  <johan@gnome.org>

	* configure.ac: Don't link against libffi if we cannot find libffi
	on the system. (#496006, Ed Catmur)

2008-01-03  Johan Dahlin  <johan@gnome.org>

	Reviewed by: Gustavo

	* configure.ac:
	* gobject/pygmainloop.c (pyg_signal_watch_prepare): Optinally
	use PySignal_SetWakeupFd to avoid having to do a timeout to find
	out if there are any pending signals from python.
	Fixes #481569

	* configure.ac (CPPFLAGS):
	Include -Wall and -Werror when checking for PySignal_SetWakeupFd

2008-01-02  Sebastian Rittau  <srittau@jroger.in-berlin.de>

	* gobject/gobjectmodule.c
	* gobject/gobjectmodule.c (pyg_get_application_name)
	(pyg_get_prgname): Add wrappers for g_get_application_name and
	g_get_prgname.

2007-11-30  Rafael Villar Burke  <pachi@rvburke.com>

	* docs/reference/pygobject.xml: Add props attribute

2007-11-24  Paolo Borelli  <pborelli@katamail.com>

	* gobject/gobjectmodule.c (pyg_type_register): check for NULL before
	dereferencing.

2007-11-24  Paolo Borelli  <pborelli@katamail.com>

	* gobject/gobjectmodule.c (pyg_type_register): do not use a
	potentially uninitialized variable. Bug #499334.

2007-11-12  Johan Dahlin  <johan@gnome.org>

	* gobject/option.py (OptionParser.parse_args):
	Set the default value of old_args to 0, so we don't end
	up slicing with None. Fixes #496278 (Vincent Untz)

2007-11-06  Johan Dahlin  <johan@gnome.org>

	* gobject/option.py (OptionParser.parse_args): Merge in values
	from all groups to the global option group. Slice up args
	so it doesn't return too much.

	* tests/test_option.py: Refactor to be unittesty,
	Add new tests to test what options returns.

2007-11-05  Johan Dahlin  <johan@gnome.org>

	* gobject/pygobject.h:
	* gobject/gobjectmodule.c:
	Add pyg_option_group_new to the public API

	* configure.ac: Branch, bump version to 2.15.0.

2007-10-16  Damien Carbery   <damien.carbery@sun.com>

	reviewed by: Johan Dahlin.

	* pygobject-2.0-uninstalled.pc.in: uninstalled.pc file missing
	'datadir' value. Fixes #486876.

2007-09-16  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.ac: Post-relase version bump.

=== 2.14.0 ===
2007-09-16  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.ac: Bump version to 2.14.0.

	* NEWS: Update NEWS for next release.

2007-09-06  John Finlay  <finlay@moeraki.com>

	* docs/xsl/fixxref.py.in: Remove DATADIR substitution since it now
	gets substituted as ${prefix}/share which doesn't work in a Python
	script.

2007-08-27  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/propertyhelper.py (property.__metaclass__.__repr__): Avoid
	exporting the metaclass, just define it where it will be used.

	* gobject/__init__.py (GObjectMeta._install_properties):
	Refactor a bit to make sure that it is possible to use in subclasses,
	fixes #470718 (Marco Giusti)

2007-08-27   Marco Giusti  <marco.giusti@gmail.com>

	reviewed by: Gustavo J. A. M. Carneiro

	* gobject/propertyhelper.py:
	* tests/test_properties.py:
	Bug 470230 – check for default value in boolean type is wrong.

2007-08-27  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/Makefile.am,
	* gobject/Makefile.am: Remove -D_XOPEN_SOURCE=600
	-D__EXTENSIONS__, no longer needed.

	* configure.ac: Don't add -std=c9x CFLAG on Solaris.  Fixes
	#339924 again.

	* gobject/pygtype.c (pyg_type_wrapper_repr): Typecast self->type
	to (unsigned long int) to fix a compilation warning.

2007-08-14   Ed Catmur   <ed@catmur.co.uk>

	reviewed by: Gustavo J. A. M. Carneiro

	* gobject/pygobject.c (pygobject_new_full, pygobject_clear),
	(pygobject_get_dict): Bug 466082 – pygobject_new_full not fully
	initialising PyGObject, chaos results.

2007-08-13  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/test_subtype.py (TestSubType.testGetDict): Add unit test
	exercising a bug when GObject.__dict__ is accessed directly.

2007-07-08  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pygobject_functions)
	(pyg_timeout_add_seconds): Wrap g_timeout_add_seconds,
	conditionally compiled if glib version >= 2.13.5.

2007-07-08   Johannes Hölzl   <johannes.hoelzl@gmx.de>

	reviewed by: Gustavo Carneiro

	* gobject/gobjectmodule.c (build_gerror, init_gobject): Work
	around the deprecation warning of BaseException.message in Python
	2.6+ affecting GError exceptions.  Fixes #342948.

2007-07-07  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.ac: Post-release version bump.

=== 2.13.2 ===
2007-07-07  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

2007-07-07  Damien Carbery   <damien.carbery@sun.com>

	reviewed by: Gustavo Carneiro.

	* configure.ac: Bug 339924 – pygobject doesn't compile on opensolaris.

2007-04-30  Johannes Hölzl  <johannes.hoelzl@gmx.de>

	* gobject/gobjectmodule.c (init_gobjectmodule),
	* gobject/pygoptiongroup.c (arg_func),
	* gobject/option.py (OptionParser._parse_args, OptionGroup._to_goptiongroup),
	* tests/test_option.py: OptParse-Exceptions in GOption-callbacks
	are now convertet into an GError.  GError from the
	GOptionGroup.run is convertet into an OptParse-Exception.
	Fixes #342948.

2007-07-06  Ed Catmur  <ed@catmur.co.uk>

	* gobject/pygtype.c (pyg_param_gvalue_from_pyobject),
	(pyg_param_gvalue_as_pyobject): Applied patch from Ed Catmur to
	support G_TYPE_VALUE boxed args/signals, and add a test, Fixes
	#351072

2007-07-06  Carlos Martin  <inean@users.sf.net>

	* tests/test_gtype.py:
	* tests/testhelpermodule.c: add test for #351072

2007-07-04  Murray Cumming  <murrayc@murrayc.com>

	* gobject/pygobject.c: (pygobject_switch_to_toggle_ref):
	* gobject/pygobject.h: Rename the private struct field to
	private_flags, because private is a C++ keyword, so this broke
	builds of some C++ applications, such as Glom.

2007-07-02  Sebastian Granjoux  <seb.sfo@free.fr>

	reviewed by: Johan Dahlin

	* gobject/gobjectmodule.c: (pyg_gerror_exception_check):
	* tests/test_gtype.py:
	* tests/testhelpermodule.c: (_wrap_test_gerror_exception):

	Fix a bug in pyg_error_exception_check, add a test, Fixes #449879

2007-06-17  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygobject.h: Add a flags field to PyGObject; uses
	structure space formerly occupied by the now stale "GSList
	*closures" field.

	* gobject/pygobject.c (pygobject_switch_to_toggle_ref): Do nothing
	if the wrapper is already in toggle reference mode.  Closes #447271.

	* tests/test_subtype.py: Test case for #447271.

2007-06-17  Sebastien Bacher  <seb128@ubuntu.com>

	* m4/python.m4: use python-config to get python includes
          (Closes #448173)

2007-06-16  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/propertyhelper.py,
	* tests/test_properties.py: Support type=GObject or
	type=TYPE_OBJECT in the new properties API.

2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>

	OK'd by Johan

	* gobject/generate-constants.c: Return 0 from main().

	* gobject/Makefile.am: use generate-constants$(EXEEXT) instead
	of generate-constants in the constants.py target rule.

2007-05-30  Yevgen Muntyan  <muntyan@tamu.edu>

	reviewed by: Gustavo Carneiro

	* autogen.sh: Allow running autogen.sh from outside $srcdir.

2007-05-09  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/Makefile.am (INCLUDES): Idem.

	* gobject/Makefile.am (INCLUDES): Add -D_XOPEN_SOURCE=600 and
	-D__EXTENSIONS__ to make it compile with c99 and Sun C compiler.

	Fixes #339924: gnome-python doesn't compile on opensolaris.

2007-05-02  Johan Dahlin  <jdahlin@async.com.br>

	* configure.ac: Post-release version bump.

=== 2.13.1 ===
2007-05-02  Johan Dahlin  <jdahlin@async.com.br>

	* pygobject-2.0-uninstalled.pc.in: Add libdir.
	Fixes #435132 (Luca Ferretti)

2007-05-01  Johan Dahlin  <johan@gnome.org>

	* gobject/propertyhelper.py:
	* tests/test_properties.py:

	Store property values in the descriptor per instance, add a test.

	* examples/properties.py:
	* gobject/Makefile.am:
	* gobject/__init__.py:
	* gobject/constants.py.in:
	* gobject/generate-constants.c: (main):
	* gobject/propertyhelper.py:
	* tests/Makefile.am:
	* tests/test_enum.py:
	* tests/test_interface.py:
	* tests/test_properties.py:

	Add a property helper, fixes #338098

2007-04-30  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* tests/common.py (importModules): Import testhelper first so that
	g_thread_init is called before init_pygobject.

	* tests/testhelpermodule.c (inittesthelper): Call g_thread_init
	before init_pygobject.

	* tests/test_subtype.py (TestSubType.testDescriptor): Unit test
	for the bug below.

	* gobject/pygobject.c (pygobject_setattro): Account for the case
	when attribute setting doesn't actually create an instance
	dictionary, in which case pygobject_switch_to_toggle_ref would be
	called twice, thereby causing gobject error.
	Fixes #434659

2007-04-29  James Livingstone  <doclivingstone@gmail.com>

	reviewed by: Johan Dahlin  <johan@gnome.org>

	* gobject/pygtype.c: (pyg_value_from_pyobject):
	* tests/test_signal.py:

	Add a missing else to avoid throwing a TypeError.
	Includes a test written by Ed Catmur.
	Fixes #374653

2007-04-29  Johan Dahlin  <johan@gnome.org>

	* gobject/pygtype.c: (pyg_value_array_from_pyobject):
	* tests/test_gtype.py:
	* tests/testhelpermodule.c: (_wrap_test_value_array):

	Treat None in a GValueArray as pointer/NULL, patch by
	Ed Catmur, fixes #352209.

2007-04-29  Loïc Minier  <lool+gnome@via.ecp.fr>

	reviewed by: Johan Dahlin  <johan@gnome.org>

	* autogen.sh:

	Use dirname $0 instead of pwd to compute srcdir in autogen,
	fixes #409234

2007-04-29  Damien Carbery <damien.carbery@sun.com>

	reviewed by: Johan Dahlin  <johan@gnome.org>

	* tests/test-unknown.c: (test_interface_iface_method):

	Do not return in a void function, fixes #385127

2007-04-29  Johan Dahlin  <johan@gnome.org>

	* gobject/pygflags.c: (pyg_flags_from_gtype):
	Fix leak, patch by Daniel Berrange. Fixes #428726 (Phil Dumont)

2007-04-29  Damien Carbery <damien.carbery@sun.com>

	reviewed by: Johan Dahlin  <johan@gnome.org>

	* configure.ac:
	* pygobject-2.0-uninstalled.pc.in:

	Add an uninstalled pkg-config file, fixes #385129

2007-04-29  Johan Dahlin  <johan@gnome.org>

	* README:
	* configure.ac:
	* gobject/Makefile.am:
	* gobject/ffi-marshaller.c: (g_value_to_ffi_type),
	(g_value_from_ffi_type), (g_cclosure_marshal_generic_ffi):
	* gobject/ffi-marshaller.h:
	* gobject/gobjectmodule.c: (create_signal), (init_gobject):
	* pygobject-2.0.pc.in:
	* tests/test_signal.py:
	* tests/testhelpermodule.c: (test1_callback),
	(test1_callback_swapped), (test2_callback), (test3_callback),
	(test4_callback), (test_float_callback), (test_double_callback),
	(test_string_callback), (test_object_callback), (connectcallbacks),
	(_wrap_connectcallbacks), (inittesthelper):

	Add a generic CClosure marshaller based on ffi.
	This makes it possible to connect to signals on PyGObjects from C.
	libffi is now an optional dependency
	Fixes #353816 (Edward Hervey)

2007-04-23  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* configure.ac: Post-release version bump.

=== 2.13.0 ===
2007-04-23  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* configure.ac: Bump version to 2.13.0.

	* tests/test_properties.py (TestProperties.testMulti): Unit test
	for get/set_properties.

2007-04-23  Gian Mario Tagliaretti  <gianmt@gnome.org>

	* gobject/pygobject.c: Implemented pygobject_set_properties and
	pygobject_get_properties in order to set multiple properties using
	keyword arguments. Fixes 403212

	* docs/reference/pygobject.xml: Docs for the above new methods.

2007-04-14  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c, gobject/pygobject.h: Add a new
	pyg_gerror_exception_check API.  Fixes #425242.

	* gobject/gobjectmodule.c (pyg_set_application_name)
	(pyg_set_prgname): Add wrappers for g_set_application_name and
	g_set_prgname.  Patch by Havoc Pennington.  Fixes #415853.

	* gobject/pygobject.h: Bug #419379: Modernize init_pygobject: use
	static inline functions instead of macros.

	* gobject/gobjectmodule.c (init_gobject):
	* gobject/pygobject-private.h:
	* gobject/pygobject.c (pygobject_data_free, pygobject_data_new),
	(pygobject_get_inst_data, pyg_toggle_notify),
	(pygobject_switch_to_toggle_ref),
	(pygobject_register_wrapper_full, pygobject_register_wrapper),
	(pygobject_new_full, pygobject_unwatch_closure),
	(pygobject_watch_closure, pygobject_dealloc, pygobject_repr),
	(pygobject_traverse, pygobject_clear, pygobject_weak_ref),
	(pygobject_setattro, pygobject_weak_ref_traverse),
	(pygobject_weak_ref_notify, pygobject_weak_ref_clear),
	(pygobject_weak_ref_dealloc, pygobject_weak_ref_new),
	(pygobject_weak_ref_unref, pygobject_weak_ref_call):
	* gobject/pygobject.h:
	* gobject/pygtype.c (gclosure_from_pyfunc):
	* tests/test_subtype.py:
	Bug #320428: Break PyGObject<->GObject reference cycle (patch
	v7.1; thanks John Ehresman for the help with this patch).

2007-03-17  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygobject.c (pygobject_emit): Fix %ld vs int warning.
	(pygobject_chain_from_overridden): Idem.

2007-03-06  Richard Hult  <richard@imendio.com>

	* configure.ac: Fix the docs option so that it's possible to disable
	building the docs.

2007-03-03  Edward Hervey  <edward@fluendo.com>

	* gobject/pygobject.c: (set_property_from_pspec):
	Release the GIL when calling g_object_set_property, since setting a
	property might trigger some code that might come back in python land.
	Fixes #395048

2007-01-09  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.ac:  Turn the option --disable-docs into --enable-docs.
	* docs/Makefile.am:  Tread --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-14  Kjartan Maraas  <kmaraas@gnome.org>

	* autogen.sh: Make this work with automake 1.10 too.

2006-11-18  Johan Dahlin  <jdahlin@async.com.br>

	* configure.ac: Post release version bump

=== 2.12.3 ===
2006-11-18  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update

	* gobject/pygoptiongroup.c (pyg_option_group_dealloc):
	* tests/test_option.py (TestOption.testBadConstructor):
	Make sure an exception is raised when we pass in invalid arguments
	to the optiongroup constructor, add a test. #364576 (Laszlo Pandy)

	* gobject/pygobject.c (pygobject_register_class): set __module__ on
	gobject derived types, fixes #376099 (Osmo Salomaa)

2006-11-18  Yevgen Muntyan  <muntyan@tamu.edu>

	reviewed by: Johan Dahlin  <johan@gnome.org>

	* gobject/gobjectmodule.c: (create_property):
	* gobject/pygparamspec.c: (pyg_param_spec_getattr):
	* tests/test_properties.py:

	Avoid truncating in pyg_param_spec_getattr, add test for all non-float
	numeric types. Fixes #353943

2006-11-18  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygtype.c (gclosure_from_pyfunc): Use PyObject_Cmp instead
	of comparing function closure addresses, which makes it possible
	to use any callable and not just functions.
	Fixes #375589 (Dima)

2006-10-13  John Finlay  <finlay@moeraki.com>

	* docs/Makefile.am (HTML_FILES): Remove
	html/pygobject-reference-copyright.html.
	Fixes #361906 (Marc-Andre Lureau)

2006-10-11  John Finlay  <finlay@moeraki.com>

	* docs/reference/pygobject-introduction.xml: Remove Copyright and
	License section.

	* docs/reference/pygobject-ref.xml: Remove author info

2006-10-05  Cedric Gustin  <cedric.gustin@gmail.com>

	* dsextras.py (Template) (TemplateExtension): Add
	py_ssize_t_clean flag to be passed to codegen.SourceWriter.

2006-10-04  Cedric Gustin  <cedric.gustin@gmail.com>

	* Makefile.am: Add pygobject_postinstall.py to EXTRA_DIST.

2006-10-03  Johan Dahlin  <jdahlin@async.com.br>

	* configure.ac: Post release version bump

=== 2.12.2 ===
2006-10-03  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS:
	* configure.ac: 2.12.2

2006-10-03  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/Makefile.am:
	* gobject/gobjectmodule.c: (add_signals), (add_properties),
	(pyg_signal_new), (pyg_object_new), (get_handler_priority),
	(pyg_io_add_watch), (pyg_spawn_async), (pyg_add_emission_hook),
	(pyg_remove_emission_hook), (pyg_filename_from_utf8),
	(_pyg_strv_to_gvalue):
	* gobject/pygiochannel.c: (py_io_channel_write_chars),
	(py_io_channel_write_lines):
	* gobject/pygobject-private.h:
	* gobject/pygobject.c: (PyGProps_length), (pygobject_init),
	(pygobject_connect), (pygobject_connect_after),
	(pygobject_connect_object), (pygobject_connect_object_after),
	(pygobject_disconnect), (pygobject_handler_is_connected),
	(pygobject_handler_block), (pygobject_handler_unblock),
	(pygobject_emit), (pygobject_chain_from_overridden):
	* gobject/pygoptioncontext.c: (pyg_option_context_parse):
	* gobject/pygtype.c: (pyg_value_from_pyobject):

	Python 2.5 and 64 bits fixes (Py_ssize_t), closes bug #338487.

	* gobject/pygenum.c (pyg_enum_repr): Const warning fix.

2006-09-29  Johan Dahlin  <jdahlin@async.com.br>

	* pygtk.py: LGPL, not GPL header

2006-09-24  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygobject.h (init_pygobject_check): Add parentheses
	"around && within ||" to please gcc.

2006-09-21  Cedric Gustin  <cedric.gustin@gmail.com>

	* dsextras.py: Catch ImportError exception when codegen is not
	available: disable Template and TemplateExtension, redirect the
	user to the pygtk installer and raise a NameError
	exception. check_date has also been rewritten and now uses
	distutils.dep_util.newer_group(). defs files can also be built
	using createdefs by passing tuples as keyword argument to Template
	(see for example the gdk and gtk templates in setup.py).
	* setup.py: Changed the way the VERSION macro is defined on win32.
	Also install the html reference documentation, the xsl files and
	fixxref.
	* pygobject_postinstall.py: Set the value of DATADIR in
	fixxref.py. Add functions to install shortcuts in the Start menu
	to the reference manual (currently disabled: see bug #353849).

2006-09-16  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/test_signal.py (TestEmissionHook.testCallbackReturnFalse)
	(TestEmissionHook.testCallbackReturnTrue)
	(TestEmissionHook.testCallbackReturnTrueButRemove): Add a few more
	emission hook tests.

	* gobject/gobjectmodule.c (pyg_add_emission_hook): One too many
	DECREF on 'extra_args'.

2006-09-12  John Ehresman  <jpe@wingware.com>

	* gobject/pygobject.h (init_pygobject_check): Declare variables
	at start of code block

2006-09-06  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygmainloop.c (pyg_signal_watch_prepare): Increase the timeout
	to 1000ms instead of 100.

=== 2.12.1 ===
2006-09-04  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygobject.h (_PYGOBJECT_H_): Corrected version check,
	(Sebastian Dröge, #354364)

	* configure.ac: Post release version bump

=== 2.12.0 ===
2006-09-04  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS:
	* configure.ac: 2.12.0

2006-08-28  Johan Dahlin  <jdahlin@async.com.br>

	* docs/Makefile.am: Install html files regardless even when passing
	in --disable-docs, fixes #353159 (Matthias Clasen)

2006-08-27  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.ac: Post-release version bump.

=== 2.11.4 ===
2006-08-27  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

	* gobject/gobjectmodule.c (pyg_type_register): Correct a bug in
	the code that checks if parent already implements an interface or not.

	* tests/test-unknown.c (test_interface_base_init),
	(test_interface_get_type): Add a property to the interface, for
	better testing.
	(test_unknown_get_property),
	(test_unknown_set_property, test_unknown_class_init): Add a
	property to the class as required by the interface.

	* tests/test_interface.py: More thorough interface testing, with
	properties and test both the case of implementing an interface
	from scratch, and re-implementing and interface that a parent
	already implements.

2006-08-27  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pygobject__g_instance_init): If
	necessary, attach the GObject to the PyGObject here.
	(pygobject_constructv): Cope with the fact that wrapper->obj may
	have already been set due to the change above.

	* tests/test_signal.py: Add test case fixed by the changes above,
	basically calling self.emit() inside do_set_property called
	implicitly by the constructor due to a CONSTRUCT property.

	Fixes bug 353039: "Failure in signal emission during
	do_set_property invoked from constructor".

2006-08-26  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_type_register): Fix type
	registration once more to account for all corner cases.  This time
	we register interfaces in two stages: first, before properties and
	signals are registered, we register the interfaces that are
	already implemented in the parent type and are being overridden;
	second, after registration of properties and signals, we register
	the remaining interfaces.

2006-08-21  Johan Dahlin  <jdahlin@async.com.br>

	* docs/Makefile.am (EXTRA_DIST): Remove build_stamp, include generated .html
	in the distributed tarball. Remove builddate.xml, reference directory and fixxref.py
	dependencies to avoid regenerating the tarball when it's not needed.

	* configure.ac: Post release version bump

=== 2.11.3 ===
2006-08-21  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update

	* Makefile.am:
	* docs/Makefile.am:
	Always install the xsl files & css files, regardless if the
	documentation was actually built or not. Also clean it up considerably.

2006-08-17  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_type_register): Move the interface
	registration code up, to run before properties and signals
	registration, because glib doesn't allow us to add interfaces
	after the first call to g_class_ref.

2006-08-16  John Finlay  <finlay@moeraki.com>

	* docs/reference/pygobject-functions.xml: Update docs for
	gobject functions.

2006-08-15  Murray Cumming  <murrayc@murrayc.com>

	* gobject/pygobject-private.h:
	* gobject/pygobject.h:
	Replace uses of typename with type_name, because that is a
	reserved C++ keyword. This was breaking compilation of Glom
	due its use in the new type_register_custom function pointer in
	pygobject.h.

2006-08-12  John Finlay  <finlay@moeraki.com>

	* pygobject-2.0.pc.in: Add reference to installed pygobject docs
	* docs/Makefile.am: Add install of style.css
	* docs/xsl/html.xsl: Define stylesheet as style.css
	* docs/style.css: Add.

2006-08-10  John Finlay  <finlay@moeraki.com>

	* docs/reference/entities.docbook.in:
	* docs/reference/pygobject-ref.xml:
	* docs/Makefile.am:
	* configure.ac:
	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.ac:  Post release version bump.

=== 2.11.2 ===
2006-08-08  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update

2006-08-07  Johan Dahlin  <jdahlin@async.com.br>

	* docs/Makefile.am ($(HTML_DATA)): Fix parallel build
	(#350225, Ed Catmur)

2006-08-06  Johan Dahlin  <johan@gnome.org>

	* m4/as-expand.m4: New file to workaround automake silliness

	* docs/xsl/fixxref.py.in: New script

	* docs/Makefile.am (XSLFILES): Add fixxref.py script, moved in from
	PyGTK.

	* docs/xsl/html.xsl: Do not use shade.verbatim, set the background
	color and border as a normal html tag to avoid an external
	stylesheet.

2006-08-04  Johan Dahlin  <jdahlin@async.com.br>

	* configure.ac: Post release version bump

=== 2.11.1 ===
2006-08-04  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update

	* README: Update, some s/PyGTK/PyGObject/

	* configure.ac:
	* docs/Makefile.am:
	* docs/reference/.cvsignore:
	* docs/reference/entities.docbook.in:
	* docs/reference/pygobject-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-29  John Finlay  <finlay@moeraki.com>

	* gobject/pygobject.h (pyg_param_gvalue_from_pyobject): Fix define
	to point to the correct function pointer field.

2006-07-29  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygflags.c (pyg_flags_add): idem.

	* gobject/pygenum.c (pyg_enum_add): Give a more explicit error
	message when the gtype is not an enum.

2006-07-25  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygobject.h (init_pygobject_check): Add a macro to easily
	check the installed pygobject version.

	* gobject/pygflags.c (pyg_flags_add)
	* gobject/pygenum.c (pyg_enum_add): Duplicate the string before
	sending it to python. Fixes GCC warnings.

2006-07-24  John Finlay  <finlay@moeraki.com>

	* gobject/pygflags.c (pyg_flags_get_first_value_name)
	(pyg_flags_get_first_value_nick): Avoid segfault when
	g_flags_get_first_value returns NULL.

2006-07-20  John Finlay  <finlay@moeraki.com>

	* docs/Makefile.am: Make version.xml dependent on config.h
	Make builddate.xml dependent on REFERENCE_DEPS. Add builddate.xml to
	build_stamp and pdf dependencies. Add pdf files to cleanup.

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-19  John Finlay  <finlay@moeraki.com>

	* docs/Makefile.am: Use more portable date generator.

	* docs/xsl/ref-html-style.xsl: Add book to list of indexed items.

	* docs/xsl/html.xsl: Output xref links for unknown links.

	* docs/xsl/ref-html-style.xsl: Include refsect1 and refsect2 in
	indexed items but only if they have ids.

	* configure.ac (AC_CONFIG_FILES) : Add docs/reference/version.xml

	* docs/reference/pygobject-ref.xml: Add pygobject-introduction.xml
	and version and builddate entities. Remove commented out items.

	* docs/Makefile.am: Add reference/pygobject-introduction.xml and
	 reference/version.xml.in

2006-07-18  Johan Dahlin  <johan@gnome.org>

	* docs/Makefile.am (HTMLdir): Install book in $datadir/gtk-doc/html

2006-07-13  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/gobjectmodule.c: (pyg_type_from_name),
	(get_type_name_for_class):
	* gobject/pygobject-private.h:
	* gobject/pygobject.c: (pygobject_new_with_interfaces),
	(pygobject_lookup_class), (pygobject_emit):
	* gobject/pygobject.h:
	* gobject/pygtype.c: (_wrap_g_type_from_name),
	(pyg_type_from_object), (pyg_type_register_custom_callback),
	(pyg_type_get_custom), (_pyg_type_from_name):
	Add infrastructure for lazy type registration, fixes #346947

2006-07-13  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* m4/python.m4: Properly quote AM_CHECK_PYMOD definition.

	* gobject/pygoptioncontext.c (pyg_option_context_parse): Fix mem
	leak.

2006-07-12  Johan Dahlin  <jdahlin@async.com.br>

	* Makefile.am:
	* configure.ac:
	* docs/.cvsignore:
	* docs/Makefile.am:
	* docs/common.xsl:
	* docs/devhelp.xsl:
	* docs/html.xsl:
	* docs/pdf-style.xsl:
	* docs/pdf.xsl:
	* docs/ref-html-style.xsl:
	* docs/reference/.cvsignore:
	* docs/reference/pygobject-classes.xml:
	* docs/reference/pygobject-constants.xml:
	* docs/reference/pygobject-functions.xml:
	* docs/reference/pygobject-gboxed.xml:
	* docs/reference/pygobject-ginterface.xml:
	* docs/reference/pygobject-gpointer.xml:
	* docs/reference/pygobject-maincontext.xml:
	* docs/reference/pygobject-mainloop.xml:
	* docs/reference/pygobject-ref.xml:
	* docs/reference/pygobject.xml:
	Import GObject part of John Finlay's PyGTK Reference Manual, copy
	over infrastructure from the pygtk-web module.

2006-07-12  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* configure.ac: Post-release version bump to 2.11.1.

=== PyGObject 2.11.0 ===
2006-07-09  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_type_register): Make interface_data
	point to the python type before adding the interface to the new
	type.  This should fix interface implementation (actually I
	thought such code had already been added earlier but can't find it
	now and it is obviously needed...)
	(pyg_type_register): move the code that needs g_type_class_ref
	until after interface registration (more code that I already wrote
	in the past but got lost).

2006-07-05  John Finlay  <finlay@moeraki.com>

	* gobject/pygiochannel.c (py_io_channel_init): Fix message typo.

2006-06-28  Cedric Gustin  <cedric.gustin@gmail.com>

	* dsextras.py (InstallData): Set datarootdir in .pc file.

	* pygobject_postinstall.py (replace_prefix): Do not parse
	pygtk-codegen-2.0 as it is part of pygtk.

	* setup.py: Create gobject extension as gobject._gobject. Add
	pygoptioncontext.c and pygoptiongroup.c to the list of source
	files. Add option.py to the module files. Changed name of
	distutils package from pygtk to pygobject.

2006-06-24  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_filename_from_utf8): Wrap
	g_filename_from_utf8.

	* tests/test_signal.py (TestClosures.testGString): Add unit test
	for signals using the type TYPE_GSTRING.

	* gobject/pygtype.c (pyg_value_as_pyobject)
	(pyg_value_from_pyobject): Implement conversion code for the type
	G_TYPE_GSTRING.

	* gobject/gobjectmodule.c (pyg_filename_display_basename)
	(pyg_filename_display_name): Add bindings for
	g_filename_display_basename and g_filename_display_name.
	(init_gobject): Add a TYPE_GSTRING definition.

	* gobject/pygobject.h,
	* gobject/pygobject-private.h: Make pyg_constant_strip_prefix
	receive and return const gchar*, to indicate it does not change
	the string.  Unfortunately since PyModule_AddIntConst is broken in
	python < 2.5 this introduces const warnings elsewhere :-(

	* gobject/gobjectmodule.c (pyg_flags_add_constants)
	(pyg_enum_add_constants): Fix const warnings.

2006-06-23  John Finlay  <finlay@moeraki.com>

	* gobject/gobjectmodule.c (pyg_object_class_list_properties)
	(pyg_signal_list_ids, pyg_signal_lookup, pyg_signal_query): Add
	support for retrieving signal and propertie info from interface types.

2006-06-04  Johan Dahlin  <johan@gnome.org>

	* gobject/gobjectmodule.c (pyg_spawn_async)
	(pyg_signal_new): Fix two leaks in error cases, found by
	Coverity.

2006-05-28  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/test_subtype.py: Uncomment Johan's "subsubtype" test case.

	* gobject/gobjectmodule.c (pygobject__g_instance_init): Pass the
	g_class to pygobject_new_full, because during the instance init
	function instances are temporarily assigned the parent's GType.

	* gobject/pygobject-private.h,
	* gobject/pygobject.c (pygobject_new_full): Make
	pygobject_new_full accept an optional g_class parameter; If
	present, the GType is extracted from the class instead of from the
	instance.

2006-05-20  Yevgen Muntyan  <muntyan@tamu.edu>

	reviewed by: Gustavo Carneiro

	* gobject/pygobject.c (pygobject_init, pygobject_get_property),
	(pygobject_set_property): Bug 341174: Be more specific in
	set/get_property error messages.

2006-05-07  Yevgen Muntyan  <muntyan@tamu.edu>

	reviewed by: Gustavo Carneiro

	* gobject/gobjectmodule.c (_log_func, add_warning_redirection),
	(remove_handler, disable_warning_redirections, init_gobject):
	* gobject/pygobject.h:  Add new pyg_add_warning_redirection and
	pyg_disable_warning_redirections APIs (bug #323786 again).

2006-05-07  Johan Dahlin  <johan@gnome.org>

	* Makefile.am (CLEANFILES): Remove pygtk.py, it's not
	auto-generated any longer. Thanks to Kjartan for noticing.

2006-05-07  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygoptioncontext.c:
	s/sizeof(PyGMainContext)/sizeof(PyGOptionContext)/ (copy-paste error).

2006-05-01  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (pyg_pid_close): Add a close() method
	to the GPid wrapper.

	* gobject/gobjectmodule.c (pyg_pid_free, pyg_pid_new),
	(pyg_spawn_async, init_gobject): Wrap GPid in an object whose
	destructor calls g_spawn_close_pid.  Fixes #340160.

2006-04-29  Johannes Hölzl <johannes.hoelzl@gmx.de>

	reviewed by: Johan Dahlin  <jdahlin@async.com.br>

	* examples/Makefile.am:
	* examples/option.py:
	* gobject/Makefile.am:
	* gobject/gobjectmodule.c: (init_gobject):
	* gobject/option.py:
	* gobject/pygobject-private.h:
	* gobject/pygoptioncontext.c: (pyg_option_context_init),
	(pyg_option_context_dealloc), (pyg_option_context_parse),
	(pyg_option_context_set_help_enabled),
	(pyg_option_context_get_help_enabled),
	(pyg_option_context_set_ignore_unknown_options),
	(pyg_option_context_get_ignore_unknown_options),
	(pyg_option_context_set_main_group),
	(pyg_option_context_get_main_group),
	(pyg_option_context_add_group), (pyg_option_context_compare),
	(pyg_option_context_new):
	* gobject/pygoptiongroup.c: (check_if_owned), (destroy_g_group),
	(pyg_option_group_init), (pyg_option_group_dealloc), (arg_func),
	(pyg_option_group_add_entries),
	(pyg_option_group_set_translation_domain),
	(pyg_option_group_compare), (pyg_option_group_transfer_group),
	(pyg_option_group_new):
	* tests/test_option.py:

	Add support for GOption, fixes #163645

2006-04-29  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygtype.c (gclosure_from_pyfunc):

	* gobject/pygobject.c (pygobject_disconnect_by_func)
	(pygobject_handler_block_by_func)
	(pygobject_handler_unblock_by_func):

	* tests/test_signal.py (TestEmissionHook._callback):

	Fix #154845, add tests and a private method.

2006-04-23  John Ehresman   <jpe@wingware.com>

	reviewed by: Gustavo

	* Makefile.am:
	* pygtk.py:
	* pygtk.py.in:
	Bug 338945: Make pygtk.py relocatable

2006-04-18  John Ehresman   <jpe@wingware.com>

	* dsextras.py: Add compiler / linker flags from pkgconfig-2.0.pc
	by default, with an override mechanism.  Filter out -lc & -lm if
	compiling with msvc.

	* setup.py: Change C extension name to _gobject and don't use the
	pkgconfig-2.0.pc when compiling

2006-04-15  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/__init__.py (_PyGObject_API): Copy _PyGObject_API from
	gobject._gobject into gobject in order to preserve binary
	compatibility with 3rd party modules.

	* gobject/pygobject.h (init_pygobject): Import gobject, gobject._gobject.

	* gobject/Makefile.am: Fix pygobject installation dir: install
	both _gobject.la and __init__.py into
	$(pyexecdir)/gtk-2.0/gobject.

2006-04-11  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/gobjectmodule.c (init_gobject):
	* gobject/__init__.py:
	Move over almost all GType constants from C to Python.

2006-04-11  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/__init__.py:
	* gobject/gobjectmodule.c (_wrap_pyg_type_register),
	(pyg__install_metaclass, init_gobject):  GObjectMeta now moved to
	python-land (__init__.py).

	* gobject/pygobject-private.h:
	* gobject/pygobject.c (pygobject_register_class):
	PyGObject_MetaType is now a pointer, not structure.

	* gobject/gobjectmodule.c (_wrap_pyg_type_register): Add optional
	type name parameter.

	* tests/common.py (importModule): Include original exception
	string in the raised SystemExit.

2006-04-11  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/.cvsignore:
	* gobject/Makefile.am:
	* gobject/__init__.py:
	* gobject/gobjectmodule.c: (init_gobject):
	* gobject/pygobject.h:
	* tests/Makefile.am:
	* tests/common.py:

	Turn gobject into a package; move _gobject to gobject._gobject and
	add gobject/__init__.py. Update macros and testsuite.

2006-04-11  Johan Dahlin  <jdahlin@async.com.br>

	* configure.ac: Post release version bump

=== PyGObject 2.10.1 ===
2006-04-11  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update

2006-04-11  Andy Wingo  <wingo@pobox.com>

	reviewed by: Johan Dahlin  <jdahlin@async.com.br>

	* gobject/gobjectmodule.c (create_property): Parse unsigned int64
	constraints in param spec declaration using the "K" ParseTuple
	format unit, not L -- allows the full range of the datatype to be
	parsed. K format unit added in python 2.3.

2006-04-01  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/test_properties.py: Add test for #335854.

	* pygtk.py.in (require): For version == '2.0', use a hardcoded
	pygtk path, recorded during build.

	* gobject/gobjectmodule.c (_pyg_strv_to_gvalue): Don't allow
	arbitrary sequences, only tuple or list, since a string is a
	sequence too.
	(pyg_object_new): Add a bit more detail to the exception string.

2006-01-16  Johan Dahlin  <johan@gnome.org>

	* Makefile.am: Include dsextras.py in the dist and install it.

2006-03-19  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygobject.c (pygobject_new_with_interfaces): Remove
	comment "It will currently not filter out interfaces already
	implemented by it parents.", since it is no longer true since
	2006-01-13.

=== PyGObject 2.10.0 ===
2006-01-16  Johan Dahlin  <johan@gnome.org>

	* NEWS: Update

2006-03-09 Michael Smith  <msmith@fluendo.com>

	reviewed by: Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygenum.c: (pyg_enum_new), (pyg_enum_from_gtype),
	(pyg_enum_add):
	* gobject/pygflags.c: (pyg_flags_new), (pyg_flags_from_gtype),
	(pyg_flags_add):
	Plug a couple of leaks, fixes #334027.

2006-01-19  Johan Dahlin  <johan@gnome.org>

	* configure.ac (export_dynamic):
	* Makefile.am (egg):
	Add a make egg target

2006-01-16  Johan Dahlin  <johan@gnome.org>

	* configure.ac: Post release version bump

=== PyGObject 2.9.1 ===
2006-01-16  Johan Dahlin  <johan@gnome.org>

	* NEWS: Update

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-14  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (iowatch_marshal): Warn if io callback
	returns None: almost always this is an error.

2006-01-13  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygobject.c (pygobject_register_class): Change strategy
	a bit: don't ignore bases; use but augment it with missing bases
	extracted in runtime.

	* gobject/pygobject.c (pygobject_register_class): Don't use the
	passed in 'bases' parameter; instead find out in runtime the bases
	for any given gtype.
	(pyg_type_get_bases, pygobject_new_with_interfaces): Refactor code
	that dynamically discovers bases into a separate function;
	Override tp_dealloc, tp_alloc, tp_free, tp_traverse, and tp_clear,
	inherit them again from the parent type, since type_new inside
	Python core sets them to hardcoded functions subtype_xxx.  Also
	call py_parent_type->ob_type, instead of fixed &PyType_Type.
	(pygobject_clear): Change a g_message to g_warning.

2006-01-13  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/gobjectmodule.c: (pyg_io_add_watch),
	(marshal_emission_hook), (pyg_add_emission_hook),
	(pyg_remove_emission_hook):
	* gobject/pygobject.c:
	* tests/test_signal.py:

	Add add/remove_emission_hook and tests. Fixes #325977

2006-01-11  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gobject/gobjectmodule.c (_pyg_signal_accumulator),
	(create_signal, pyg_signal_accumulator_true_handled),
	(initgobject): Bug 155380 -- Add support for signal accumulators.

	* tests/runtests.py: Add 'test_enum', 'test_conversion' to
	SKIP_FILES, since they depend on pygtk modules so don't work
	anymore.  This should be eventually fixed, though.

	* tests/test_signal.py: Test signal accumulators.

	* gobject/pygtype.c (object_doc_descr_get): Reorder
	properties/signals documentation more nicely: signals + properties
	from each type are presented, with types ranging from the leaf
	types to the base types.

	* configure.ac: Branch, bump version to 2.9.1.

=== PyGObject 2.8.0 ===
2006-01-09  Johan Dahlin  <jdahlin@async.com.br>

	* MANIFEST.in:
	* Makefile.am:
	* tests/Makefile.am:

	Make dist/distcheck work again

2006-01-09  Johan Dahlin  <jdahlin@async.com.br>

	* setup.py: Add distutils support

	* dsextras.py (get_m4_define): Check for configure.ac aswell.

	* .cvsignore:
	* AUTHORS:
	* COPYING:
	* INSTALL:
	* Makefile.am:
	* PKG-INFO.in:
	* README:
	* autogen.sh:
	* configure.ac:
	* examples/.cvsignore:
	* examples/Makefile.am:
	* gobject/gobjectmodule.c: (initgobject):
	* m4/jhflags.m4:
	* m4/python.m4:
	* pygobject-2.0.pc.in:
	* tests/Makefile.am:
	* tests/common.py:
	* tests/leak.glade:
	* tests/runtests.py:
	* tests/test_actiongroup.py:
	* tests/test_dialog.py:
	* tests/test_gdk.py:
	* tests/test_gdkevent.py:
	* tests/test_glade.py:
	* tests/test_gtype.py:
	* tests/test_liststore.py:
	* tests/test_radiobutton.py:
	* tests/test_signal.py:
	* tests/test_subtype.py:
	* tests/test_textview.py:
	* tests/test_thread.py:
	* tests/testhelpermodule.c: (test_type_get_type),
	(_wrap_test_g_object_new):
	* tests/testmodule.py:

	Split out PyGObject from PyGTK.