summaryrefslogtreecommitdiffstats
path: root/ChangeLog
blob: ce47388710bce5b981dc450088b07267697738fc (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
2008-07-26  Johan Dahlin  <johan@gnome.org>

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

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.