summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: d52fbae65f4e53b76d52014ff0d5a01b68e2daae (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
2001-09-20  James Henstridge  <james@daa.com.au>

	* pygobject.h (_PyGObject_Functions.newgobj): rename from new, so
	that the header is includable in C++ programs.

2001-09-19  Matt Wilson  <msw@redhat.com>

	* gtk/gtk.defs (gtk_message_dialog_new): define defaults

	* gtk/gtk.override (_wrap_gtk_message_dialog_new): override this
	function so we can use "%s" as the format string and pass the
	entire last argument as a string securely.

2001-09-19  James Henstridge  <james@daa.com.au>

	* pango.defs: update for newer Pango API.

2001-09-19  James Henstridge  <james@daa.com.au>

	* pango.defs (FontDescription): remove fields from
	PangoFontDescription, as it is an opaque type now.

	* configure.in (ACLOCAL): require glib 1.3.8, pango 0.19 and gtk+
	1.3.8.

2001-09-18  Matt Wilson  <msw@redhat.com>

	* gtk/gtk.override (_wrap_gtk_dialog_new_with_buttons): add a cast
	in pointer comparison to squelch compiler warning.

2001-09-18  Matt Wilson  <msw@redhat.com>

	* gtk/gtk.defs (gtk_dialog_new_with_buttons): note the defaults in
	the definition.

	* gtk/gtk.override (_wrap_gtk_dialog_new_with_buttons): implement
	a full-featured constructor for GtkDialog that will allow flags
	(as well as other parameters) to be passed in during object
	construction.  The form is a bit different than the C version,
	which uses varargs.  To pass a list of buttons at construction
	time, pass a tuple of text/id pairs as the 4th argument or in the
	buttons keyword.

	* gtk/gtk.defs (CTree): add selection to the fields
	(GtkCTree::insert_node): note the defaults in the definition.
	(GtkCTree::base_nodes): added base_nodes method back into GtkCTree
	
	* gtk/gtk.override (_wrap_gtk_ctree_insert_node): only require the
	first three parameters and use the defaults from previous versions
	for all the other values.
	(override-attr GtkCTree.selection): implementation for getting the
	selection of a CTree
	(_wrap_gtk_ctree_base_nodes): ported old base_nodes method to new
	binding.

	* gtk/gtk.defs (CList): add columns and selection to the fields

	* gtk/gtk.override (GtkCList.selection): implementation for
	getting the selection of a CList

2001-09-18  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_object_class_list_properties): rename to
	gobject.list_properties.

2001-09-18  Matt Wilson  <msw@redhat.com>

	* examples/pygtk-demo/demos/treemodel.py: fixed to work with new
	namespace

	* gtk/gdk.defs (pixbuf_new_from_file): don't defined
	gdk_pixbuf_new_from_file as a constructor of GdkPixbuf.  Define it
	as pixbuf_new_from_file to match pixbuf_new_from_stream.

	* gtk/gtk.defs (gtk_aspect_frame_new): add defaults to match old
	behavior
	(gtk_alignment_new): likewise
	(GtkCTree::construct): likewise
	(gtk_clist_new): likewise
	(gtk_clist_new_with_titles): likewise
	(gtk_ctree_new): likewise
	(gtk_ctree_new_with_titles): likewise
	(GtkImage::construct): use gtk_image_new to construct GtkImages -
	this allows us to use more than just pixmaps to create them.
	(gtk_image_new): new definition.

2001-09-18  James Henstridge  <james@daa.com.au>

	* pygobject.h (pyg_type_wrapper_new): export this function.

	* codegen/argtypes.py (GTypeArg.write_return): wrap GType return
	values as PyGTypeWrappers rather than ints.

	* codegen/codegen.py (write_source): pass the typecode macros to
	pygobject_register_class and pyg_register_interface rather than
	references to the get_type functions.

	* pygobject.h (_PyGObject_Functions): fix up prototypes.

	* gobjectmodule.c (check_bases): check if the base class is an
	extensionclass before poking around in class->bases.
	(pyg_type_*): don't bother storing the _get_type() function for
	lazy initialisation.  Instead, just store the GType.  Also, remove
	code for coercing them into numbers.
	(pygobject_register_class): take the type, rather that get_type
	routine as an argument.
	(pyg_register_interface): same here.
	(pyg_type_from_object): don't accept types that convert to ints as
	being equivalent to GTypes.
	(pyg_register_boxed): set the __gtype__ attribute to a
	PyGTypeWrapper.
	(pyg_type_register): set __gtype__ to a PyGTypeWrapper.
	(pyg_type_name): use pyg_type_from_name
	(pyg_type_from_name): return a PyGTypeWrapper object.
	(pyg_type_parent): update.
	(pyg_type_is_a): update.
	(pyg_type_children): update.
	(pyg_type_interfaces): update.
	(initgobject): set __gtype__ attributes to PyGTypeWrapper objects.
	(initgobject): make type constants PyGTypeWrapper objects.

2001-09-17  James Henstridge  <james@daa.com.au>

	* gtk/gdk.override: don't #define these types to G_TYPE_INVALID,
	as they are now valid.

	* gtk/gdk.defs: remove the FrameAction enum -- it is private to
	the GIF loader module.

2001-09-16  James Henstridge  <james@daa.com.au>

	* gtk/Makefile.am (pygtk_PYTHON): install keysyms.py and not GDK.py

	* gtk/__init__.py: import keysyms, rather than GDK.py

	* gtk/gtk.defs: add missing enums.

	* gtk/gdk.defs: add missing enums.

	* gtk/GDK.py: remove this file.

	* gtk/keysyms.py: put all keysyms here.

2001-09-15  James Henstridge  <james@daa.com.au>

	* gtk/libglademodule.c (initglade): fix name of init function.

	* codegen/codegen.py (write_enums): don't write out the
	add_constants fucntion if there are no enums/flags.

	* gtk/libglade.override (connect_many): fix small bug in
	connection function.

	* gtk/Makefile.am (pygtk_PYTHON): don't install the GTK.py header.
	(glademodule_la_SOURCES): rename the libglade module to gtk.glade.

	* pygtk.spec: update spec file, and add -devel sub package.

	* configure.in: use AC_HELP_STRING to format help strings, update
	version number.

	* acinclude.m4: remove the AM_PATH_PYTHON macro, as it is in
	automake 1.5.

	* Makefile.am: require automake 1.5 to build.

2001-09-15  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_enum_add_constants): allow '_' as start of
	constant name.
	(pyg_flags_add_constants): same here.

	* gtk/__init__.py (TRUE): don't import GTK.

	* gtk/gtkmodule.c (init_gtk): same here.

	* pangomodule.c (initpango): add constants to the pango module.

	* codegen/codegen.py (write_enums): new function that writes a
	function to add constants for all the enums and flags in the
	parser.
	(write_source): call write_enums().

	* gtk/gtkmodule.c (init_gtk): add test use of add_constants.

	* pygobject.h (_PyGObject_Functions): add new functions to header.

	* gobjectmodule.c (pyg_enum_add_constants): new function for
	adding constants to a module dictionary from a particular GType.
	(pyg_flags_add_constants): similar for flag types.
	(functions): add to export function vtable.

2001-09-14  James Henstridge  <james@daa.com.au>

	* pygtk-2.0.pc.in (defsdir): fix up defsdir definition.

	* Makefile.am (pkginclude_HEADERS): install ExtensionClass.h
	header (this can go when we switch over to python2.2 type/class
	stuff.

	* pygobject.h (pyg_register_boxed_custom): same change.

	* gobjectmodule.c (pyg_register_boxed_custom): rename from
	pyg_boxed_register to avoid confusion.

2001-09-14  James Henstridge  <james@daa.com.au>

	merge from short-class-names-branch

2001-09-12  James Henstridge  <james@daa.com.au>

	* codegen/codegen.py (write_class, write_interface): set the short
	name as the class name here.

	* gobjectmodule.c (pygobject_register_class): pass ec->tp_name as
	the name for the class passed to PyExtensionClass_Export*.

	* codegen/codegen.py (write_source): pass the C name to
	pygobject_register_class again.

2001-09-11  James Henstridge  <james@daa.com.au>

	* gtk/__init__.py (create_pixmap): few fixups to get things to
	import correctly.

	* gtk/gtkmodule.c (init_gtk): there is no _pygdk_register_boxed().

	* gtk/libglade.override (init): same here.

	* gtk/gtk.override (init): same here.

	* gtk/gdk.override (init): use short class names here.

	* gtk/gtkmodule.c (init_gtk): initialise both the gtk._gtk and
	gtk.gdk modules.

	* gtk/gtk.defs: don't include gdk.defs

	* gtk/gtk.override: remove all GDK override wrappers.

	* gtk/gdk.override: new file taking the overrides for GDK
	functions.

	* codegen/codegen.py (write_source): register only the short name
	of the GObject, interface or boxed type.

2001-09-13  Johan Dahlin  <zilch.am@home.se>

	* gtk/gtk.defs (CellRendererTextPixbuf): removed.
	(gtk_cell_renderer_text_pixbuf_get_type): removed.
	(gtk_cell_renderer_text_pixbuf_new): removed.	
	(gtk_cell_renderer_text_iter_spew): removed.		
	(row_changed): Renamed.
	(row_inserted): Renamed.
	(row_has_child_toggled): Renamed.
	(row_deleted): Renamed.
	(rows_reordered): Renamed, and fixed.
	(set_fixed_width): Renamed.
	(get_fixed_width): Added.

	* gobjectmodule.c (initgobject): Adjust
	g_boxed_type_register_static to compile under latest cvs.

2001-09-10  Johan Dahlin  <zilch.am@home.se>

	* autogen.sh: add check and usage for AUTOMAKE and ACLOCAL.

2001-09-06  James Henstridge  <james@daa.com.au>

	* gtk/GTK.py: fix up enums.

	* gobjectmodule.c (pyg_closure_marshal): if return_value is NULL,
	don't set it.
	(pyg_signal_class_closure_marshal): same here.

	* gtk/gtk.defs: various updates to make it compile.

	* gtk/gtk-types.c (pygdk_atom_str): fallback to returning the repr
	of the atom if we can't resolve its name, rather than returning
	NULL.  Patch from Skip.

	* gobjectmodule.c (pyg_value_from_pyobject): look at the
	fundamental type in this function so we can use a switch statement
	that catches the fundamental types easily, reducing the number of
	type checks.
	(pyg_value_as_pyobject): similar here.  Also handle boolean types
	using patch from Skip.

	* gtk/GDK.py: add extra constants from Skip.

2001-08-23  James Henstridge  <james@daa.com.au>

	* configure.in (build_libglade): add forth argument to
	PKG_CHECK_MODULES call so that configure doesn't die a horrible
	death when it can't find libglade.

2001-08-22  James Henstridge  <james@daa.com.au>

	* gtk/libglade.override: add signal connection function overrieds.

	* pygtk-2.0.pc.in: add a pkg-config data file that contains some
	information about how to link other wrapper modules, and where
	pygtk installs its defs files.

2001-08-21  James Henstridge  <james@daa.com.au>

	* configure.in (build_libglade): add checks for libglade.

	* gtk/libglade*: add the libglade module to the build

	* configure.in: update for autoconf 2.52

	* gtk/gtk.defs: make GtkAccelGroup a GObject rather than a boxed
	type.  remove the gtk_tree_model_get_first function.

2001-07-09  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (initgobject): add a gobject.TYPE_PYOBJECT
	constant for the PyObject boxed typecode.

2001-07-08  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_signal_new): fix argument type for
	return_type.
	(initgobject): register a "PyObject" boxed type with glib..
	(pyg_value_from_pyobject): if the value holds a PY_TYPE_OBJECT,
	set the value directly.
	(pyg_value_as_pyobject): special case the PY_TYPE_OBJECT case
	again.

	* gtk/gdk.defs, gtk/gtk-extrafuncs.defs, gtk/gtk.defs: update to
	new format.

	* pango.defs: update to new format.

	* codegen/codegen.py: various fixes to make it work with the new
	defs format.

	* codegen/argtypes.py (ObjectArg.__init__): take the typecode as
	an argument, and use it to deduce the cast macro (s/_TYPE_/_/).
	(BoxedArg.__init__): take typecode as argument explicitly.
	(EnumArg.__init__): take typecode as argument explicitly.
	(FlagsArg.__init__): take typecode as argument explicitly.
	(ArgMatcher.register_enum): pass typecode argument.
	(ArgMatcher.register_flag): same here.
	(ArgMatcher.register_object): same here.
	(ArgMatcher.register_boxed): same here.

	* codegen/definitions.py (ObjectDef): update parser for new format.
	(InterfaceDef): same here.
	(EnumDef): same here.
	(BoxedDef): same here.
	(MethodDef): same here.
	(FunctionDef): same here.

	* codegen/defsparser.py (DefsParser): add define- prefix to the
	defs we look for.

	* codegen/defsconvert.py (convert): new program to convert v2 defs
	to v3 defs.  It will probably only work with files in the style
	created by the h2def.py program.

2001-07-07  James Henstridge  <james@daa.com.au>

	* codegen/h2def.py (to_upper_str): add function to convert a type
	name to upper case with underscores using the same algorithm as
	gtk+ (with an extra rule to catch cases like GObject.
	(typecode): function to create a typecode like GTK_TYPE_WIDGET
	from the type name.
	(write_obj_defs): output v3 defs.
	(write_enum_defs): output v3 defs.
	(define_func): replace 'G_CONST_RETURN ' to 'const-' for return
	value.
	(write_func): output v3 defs.

	* codegen/scmexpr.py (parse): make the parser ignore single
	quotes, which are used in the new defs format.

2001-07-03  James Henstridge  <james@daa.com.au>

	* gtk/gtk.override (_wrap_gtk_list_store_new): fix up function
	call.
	(_wrap_gtk_tree_store_new): fix up function call.

	* configure.in (AC_OUTPUT): add pygtk-codegen-2.0 to list of files
	to be processed.

	* codegen/codegen.py (register_types): fix typo s/parser/defsparser/

	* gtk/Makefile.am ($(srcdir)/gtk.c): register types from
	pango.defs.

	* gtk/gtk.override (init): import the PangoContext and PangoLayout
	classes from the pango module.

2001-07-02  James Henstridge  <james@daa.com.au>

	* pango.defs: add is-constructor-of arguments to some defs, and
	add fields to some object and boxed defs.

	* pango.override: add more overrides.

	* pango.defs: add more boxed type defs.

	* gtk/gtk.defs (dequeue_resize_handler): remove removed function.

	* codegen/override.py (Overrides.__parse_override): fix bug here.
	string.find returns negative value on error -- not zero.

	* codegen/argtypes.py (GTypeArg.write_param): fix up arg handler.

	* Makefile.am (pangomodule_la_SOURCES): fix up makefile rules to
	build the pango module.

	* pango.override: changes so that it builds properly.

	* configure.in: add line to check for pango and set PANGO_CFLAGS
	and PANGO_LIBS.

	* Makefile.am (pangomodule_la_SOURCES): add rules to build pango
	module.

	* pango.defs:
	* pango.override: 
	* pangomodule.c: new files for the pango wrapper module.

2001-07-01  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_signal_list_names): function to list the
	signals of an object type.  From patch by Skip Montanaro
	(pyg_object_class_list_properties): function to list the
	properties of a GObject.  Also from Skip.

	* gtk/gtk.override (_wrap_gtk_list_store_new): fix to use
	gtk_list_store_newv.
	(_wrap_gtk_tree_store_new): similar fix here.

2001-06-30  James Henstridge  <james@daa.com.au>

	* gtk/gtk-types.c: remove GdkDevice stuff from this file.

	* gtk/gtk.override: add attribute getters for some GdkDevice
	attributes, and overrides for some GdkDevice methods.
	(_wrap_gdk_event_getattr): change stuff for GdkDevices, as they
	are now GObjects.

	* gtk/gdk.defs (Device): add device boxed type here.

	* gtk/gtk.override (_wrap_gtk_selection_add_targets): fix up to
	use PyGBoxed version of GdkEvent.

	* gtk/gtk-types.c: remove GdkEvent stuff from here.  Also delete
	the commented out GdkDragContext code, as the current GObject
	implementation has the same features now.

	* gtk/gtk.override (_wrap_gdk_event_getattr): implement the
	getattr method for GdkEvents.

	* gtk/gdk.defs (Event): add boxed type here.

	* gobjectmodule.c (initgobject): remove g_type_init() argument.

	* gtk/gdk.defs (Visual): make GdkVisual a boxed.

	* gtk/gtk.override (GdkDragContext.targets): override getter for
	this attribute.
	(_wrap_gtk_list_store_new): comment out most of this function as
	there is no way to construct a GtkListStore without C varargs as
	of the last GtkTree related commit.

	* gtk/gtk-types.c: remove uses of GtkSelectionData.

	* gtk/gtk.override (GtkSelectionData.data): override the data
	attribute for GtkSelectionData types.
	(_wrap_gtk_selection_data_set): override method.

	* gtk/gtk.defs (SelectionData): add GtkSelectionData boxed type
	here.

2001-06-29  James Henstridge  <james@daa.com.au>

	* codegen/codegen.py (write_getattr): add code to allow overriding
	the getter for a single attribute.
	(write_boxed_getattr): same here.

	* codegen/override.py (Overrides): add code to handle
	"override_attr" statements in an overrides file.

	* codegen/codegen.py (write_getattr): add support for overriding
	the complete getattr method for a GObject class.
	(write_boxed_getattr): similar change here.

	* configure.in: require 1.3.7 versions of glib and gtk+.
	(AC_ARG_ENABLE): fix --disable-thread argument.  It was actually
	looking for --disable-numpy, which causes all kinds of weirdness.

	* gtk/gtk.override (_wrap_gdk_cursor_new): constructor for
	GdkCursor that handles both the standard and pixmap cases for
	cursors.

	* gtk/gtk-types.c: remove GdkCursor related stuff from this file.

	* gtk/gdk.defs (Cursor): add boxed type for cursor.
	(cursor_new): mark as constructor.
	(cursor_new_from_pixmap): mark this one as a constructor as well.

2001-06-27  James Henstridge  <james@daa.com.au>

	* codegen/argtypes.py (arg): don't register a boxed handler for
	GtkTextIter here.

	* gtk/gtk.override: add overrides for various GtkTextIter methods.

	* codegen/argtypes.py (BoxedArg.write_param): fix up variable type.

	* gtk/gtk.override (_wrap_gtk_text_iter_copy): implement text iter
	copy function, and ignore the gtk_text_iter_free function (it
	could cause troubles).
	(*): replace function calls using the old GtkTextIter wrapper.

	* gtk/gtk.defs: update defs for GtkTextIter.
	(TextIter): add text iter boxed type here.

	* examples/pygtk-demo/demos/toolbar.py (main): fix up toolbar
	constructor.

	* examples/pygtk-demo/demos/treemodel.py: add on_get_iter()
	method, and put tree view in a scrolled window.

	* gtk/pygtktreemodel.c (pygtk_tree_model_get_iter): add missing
	function to GtkTreeModel implementation.

	* codegen/argtypes.py (arg): remove registrations for `custom'
	boxed types for objects converted to PyGBoxed.

	* gtk/gtk.override: use PyGBoxed calls fro GtkTreeIters.

	* gtk/gtk-types.c: remove GtkTreeIter stuff from here.

	* gtk/gtk.defs (TreeIter): add boxed type here.

2001-06-26  James Henstridge  <james@daa.com.au>

	* gtk/gtk-types.c: remove traces of GdkColor from this file.

	* gtk/gtk.override: convert occurences of PyGdkColor_* with
	correct PyGBoxed calls.

	* gtk/gdk.defs (Color): add GdkColor boxed type here.

2001-06-25  James Henstridge  <james@daa.com.au>

	* gtk/gtk.override (_wrap_gtk_binding_entry_add_signal): new
	function, based on implementation from Skip.  Some small cleanups
	applied.

	* gtk/gtkobject-support.c: remove dead code for GtkArg handling,
	etc.  (also tidied up references to it in other files).

2001-06-24  James Henstridge  <james@daa.com.au>

	* gtk/gtk-types.c: removed all traces of GdkFont.

	* gtk/gdk.defs (Font): add boxed type for font.

	* gtk/gtk-types.c: removed all traces of GdkVisual.

	* gtk/gdk.defs (Visual): add boxed type for visual.

	* gtk/gtk-types.c: remove all traces of GtkAccelGroup from this
	file -- GtkAccelGroup is now generated code.

	* gtk/gtk.defs (AccelGroup): add boxed type here.

2001-06-23  James Henstridge  <james@daa.com.au>

	* codegen/codegen.py: generate wrappers for boxed types as well.

	* codegen/defsparser.py (DefsParser.boxed): handle (boxed ...)
	lines.

	* codegen/definitions.py (BoxedDef): add a class for holding a
	Boxed definition.

	* gobjectmodule.c (pyg_signal_new): more fixups to use
	pyg_type_from_object.

	* gtk/gtk.override (_wrap_gtk_accel_group_new): don't use
	PyGtkAccelGroup_New (not sure why I am fixing this -- will change
	soon anyway).
	(_wrap_gtk_tree_store_set_value): use pyg_type_from_object here.
	(_wrap_gtk_list_store_set_value): same here.

	* codegen/argtypes.py (CustomBoxedArg): rename from BoxedArg.
	(BoxedArg): new code for standardised PyGBoxed handling.
	(ArgMatcher.register_custom_boxed): rename from register_boxed
	(ArgMatcher.register_boxed): new function for PyGBoxed types.
	(arg): use ArgMatcher.register_boxed to register GtkAccelGroup.

	* pygobject.h (pyg_boxed_check): change macro to check against the
	typecode, rather than python wrapper type.

2001-06-22  James Henstridge  <james@daa.com.au>

	* codegen/argtypes.py (GTypeArg.write_param): new arg type for
	GType and GtkType args that uses pyg_type_from_object.

	* gobjectmodule.c (pyg_type_from_object): new function to get a
	type code from various types of python objects (currently, integer
	like objects, strings and other objects that have a __gtype__
	attribute).
	(pygobject__init__): use pyg_type_from_object to get the object
	type.
	(pyg_signal_new): same here.

2001-06-21  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_boxed_getattro): allow getattr to work on
	PyGBoxed types (while not overloading tp_getattr).  We fall back
	to tp_getattr if provided by the boxed type.
	(pyg_register_boxed): make sure tp_getattro is set correctly.

	* gtk/gtk-types.c (_pygtk_register_boxed_types): convert
	GtkAccelGroup to a PyGBoxed type.

	* gtk/gtkobject-support.c (pygtk_dict_as_container_args): comment
	out, as container args have been switched to properties now.

2001-06-19  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_value_from_pyobject): handle PyGBoxed
	types.
	(pyg_value_as_pyobject): pass out PyGBoxed types if no custom
	handler is found, rather than straight CObjects.  Will need to do
	something about cases where we want mutable values (ie. don't copy
	the boxed type).

	* configure.in: require glib/gtk+ 1.3.6

2001-06-13  James Henstridge  <james@daa.com.au>

	* gtk/gtk.defs (Dialog): add fields that were missing (pointed out
	by Skip).

	* gtk/gtk.override: various updates to overrides file.

2001-06-12  James Henstridge  <james@daa.com.au>

	* gtk/gtk.override (_wrap_gtk_tree_view_get_path_at_pos): fix bug
	when no keyword arguments are passed in.  Bug found by Skip
	Montanaro.

	* examples/pygtk-demo/pygtk-demo.py (create_list): correct signal
	name.

	* gtk/gtk.defs: update for changes made to gtk.

2001-06-09  James Henstridge  <james@daa.com.au>

	* codegen/codegen.py (write_interface): remove the constructor
	from interfaces.  It is now provided by GInterface.
	(write_source): use pyg_register_interface to register interfaces.

	* gobjectmodule.c (PyGInterface_Type): add a GInterface class that
	is the base of all interfaces.  It prevents subclassing of
	interface objects, etc.

2001-06-08  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_register_boxed): function to register a new
	boxed type ExtensionClass.
	(pyg_boxed_new): new function to create wrapper instances for a
	particular boxed type (given its typecode).

2001-06-07  James Henstridge  <james@daa.com.au>

	* pygobject.h (pyg_boxed_get): add prototypes for a PyGBoxed type
	that will be used for all boxed types in pygtk (well, I can hope
	:)

	* gobjectmodule.c (pyg_register_interface): new function to
	register interfaces with.  Makes sure I don't accidentally give
	the interface a parent class :).  Also adds a __gtype__ class
	attribute similar to GObject classes.  May also make interfaces
	subclasses of GInterface at some point.

2001-05-29  James Henstridge  <james@daa.com.au>

	* codegen/Makefile.am: install the code generator

	* gtk/Makefile.am: install the pygtk.h header

	* Makefile.am: install the pygobject.h header

	* gtk/gdk.defs, gtk/gtk.defs, gtk/gtk-types.c: changes to make
	things compile.

2001-05-28  James Henstridge  <james@daa.com.au>

	* codegen/codegen.py (write_source): add code to reorder object
	definitions if necessary.  To catch ordering problems in .defs
	file.

2001-05-27  James Henstridge  <james@daa.com.au>

	* codegen/codegen.py (write_source): interfaces don't have
	parents.

	* codegen/definitions.py (InterfaceDef.write_defs): don't look for
	(parent ...) sections in interface definitions.

	* gtk/gtk.defs (Editable): interfaces don't have parents.

2001-05-07  James Henstridge  <james@daa.com.au>

	* examples/gobject/signal.py: register new types.

2001-05-06  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pygobject__init__): make the __init__ function
	choose what GType to pass to g_object_new based on the __gtype__
	attribute.
	(pygobject_methods): make __gobject_init__ an alias for
	GObject.__init__.
	(pyg_type_register): new function for registering new GTypes.
	(pyg_type_register): register the type as "module+class" rather
	than "module.class", as the second form is considered bad (would
	like to use the second form though.

	* configure.in: require 1.3.5 versions of glib and gtk+. 

2001-05-05  James Henstridge  <james@daa.com.au>

	* codegen/docgen.py (DocbookDocWriter.output_toc): Produce kind of
	nice docbook documentation.  Example output available at
	http://www.gnome.org/~james/pygtk-docs/.

2001-05-03  James Henstridge  <james@daa.com.au>

	* codegen/docgen.py (DocWriter): handle output of constructor and
	method docs.  Use overrides file so as not to output info about
	methods we don't actually wrap.

	* codegen/Makefile.am (noinst_PYTHON): update file list.

	* codegen/__init__.py (__all__): update module list.

	* codegen/mergedefs.py: same here.

	* codegen/docgen.py (DocWriter.__init__): same here.

	* codegen/codegen.py: import defsparser instead.

	* codegen/defsparser.py: rename from parser.py.

2001-05-01  James Henstridge  <james@daa.com.au>

	* autogen.sh: fix up autogen script to call autoheader

	* gtk/gtk.defs: remove colorsel palette manipulation functions.

2001-05-01  Matthew Wilson  <msw@redhat.com>

	* acinclude.m4 (AM_PATH_PYTHON_JH): only run the AC_PATH_PROGS
	check if we don't have a PYTHON environment variable set

	* autogen.sh: run autoheader

	* acinclude.m4 (AM_PATH_PYTHON_JH): s/AC_PATH_PROG/AC_PATH_PROGS/
	so we check for more than one python interpreter.

2001-04-28  James Henstridge  <james@daa.com.au>

	* Makefile.am, pygtk/Makefile.am: limit the symbols exported by
	the various modules to just their module init function.

	* gtk/Makefile.am (_gtkmodule_la_LDFLAGS): only export the
	init_gtk symbol.

	* examples/pygtk-demo/demos/toolbar.py (main): remove buttons that
	called set_space_size method.

	* gtk/__init__.py: remove __all__ definition.  It causes problems
	with python 2.1.

	* gtk/gtk.override: updated GtkColorSelection method overrides
	(ignore): remove gtk_entry_new from ignore list, as other entry
	constructor is gone.

	* gtk/gtk.defs: updates to make it work with current gtk+

2001-04-21  James Henstridge  <james@daa.com.au>

	* codegen/docgen.py, codegen/docextract.py: start of automatic
	documentation generator.

2001-04-08  James Henstridge  <james@daa.com.au>

	* gtk/gtk.override: same here.

	* gtk/gtk-types.c (_pygtk_register_boxed_types): more fixups

	* gtk/gtkobject-support.c: lots of similar fixups.

	* codegen/argtypes.py (_enum_name): gdk type codes now seem to be
	named GDK_TYPE_... and not GTK_TYPE_GDK_...

2001-04-07  James Henstridge  <james@daa.com.au>

	* gtk/gtk.defs: lots of defs file updates.

2001-04-06  James Henstridge  <james@daa.com.au>

	* codegen/h2def.py: add --onlyobjdefs flag to script.

2001-03-30  James Henstridge  <james@daa.com.au>

	* examples/pygtk-demo/demos/toolbar.py (main): toolbar demo.

	* examples/pygtk-demo/demos/buttonbox.py (main): add button box
	demo.

	* examples/pygtk-demo: moved rewritten testgtk demo here, and make
	changes to account for renamings in gtk.

	* gobjectmodule.c (pygobject_set_property): initialise the GValue
	to { 0, }, so set_property actually works.
	(pygobject_get_property): same here.

	* gtk/gtk.defs: updated enum/flag defs.

	* gtk/gdk.defs: updated enum/flag defs.

	* examples/gobject/signal.py (D.do_my_signal): add small example
	of overriding class closure for a signal introduced from python
	code.

	* codegen/h2def.py: add --onlyenums flag to only output enum defs.

2001-03-27  James Henstridge  <james@daa.com.au>

	* examples/gobject/signal.py: simple example program that adds a
	signal to a class, connects a handler to an instance of that
	class, and finally emits that signal.  Messages are printed by
	both the signal handler and class method closure.

	* gobjectmodule.c (pyg_signal_class_closure_marshal): convert
	dashes in signal name to underscores.  Why does g_siganl_name use
	dashes?
	(pyg_signal_class_closure_marshal): fix off by one error when
	setting up the python argument tuple.  The first element was
	getting left uninitialised.  Signals introduced in python now
	work.

	* gtk/gtk.defs (GtkFileSelection.get_filename): return value is
	const.

	* gtk/gtk.override (_wrap_gtk_list_store_set_value): change name.
	(_wrap_gtk_tree_store_insert): change name.

	* gtk/gtk.defs (GtkListStore.set_value): change from set_cell to
	set_value.
	(GtkListStore.set_value): same here.

	* gobjectmodule.c (pyg_signal_class_closure_get): new function to
	get the closure used as the `class closure' for signals.  We only
	need one, as we can get all the information we need from the
	invocation hint.
	(pyg_signal_new): new function to create new signals.  Doesn't
	work right yet.

2001-03-26  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pygobject__class_init__): add some comments
	about creating new GTypes here.

	* gobjectmodule.c: add type info functions to module.

2001-03-24  James Henstridge  <james@daa.com.au>

	* gtk/gtk-types.c (pygtk_text_iter_is_end): s/is_last/is_end/

	* gobjectmodule.c (pyg_closure_new):
	s/add_fnotify/add_finalize_notifier/

	* gtk/gdk.defs, gtk/gtk.defs, gtk/gtk.override: various changes to
	make it compile again.

2001-03-18  James Henstridge  <james@daa.com.au>

	* gtk/pygtktreemodel.c (pygtk_tree_model_class_init): signals are
	now created in the gtktreemodel.c, so we don't need to.

	* gtk/gtk.defs (Adjustment): make parent GtkObject, as GtkData is
	gone.
	(GtkText): remove from binding.

	* codegen/codegen.py (write_source): pass in the get_type function
	when registering classes.
	(gettypetmpl): remove template.
	(write_class): remove get_type method generator.  Handled by __gtype__ 

	* gobjectmodule.c (initgobject): add argument to g_type_init call.
	(pyg_value_from_pyobject): use G_VALUE_HOLDS_* rather than
	G_IS_VALUE_*.
	(pyg_value_as_pyobject): same here.
	(pygobject_register_class): add an argument that takes the
	get_type function for the GObject.  This is used to add a
	__gtype__ attribute to the class (the get_type function is not
	actually called until __gtype__ is accessed).

2001-02-03  James Henstridge  <james@daa.com.au>

	* gtk/pygtktreemodel.c (*): s/tree_node/user_data/

	* gtk/gtk-types.c (pygtk_text_iter_forward_to_line_end): rename
	function.
	(pygtk_tree_iter_compare): fix compare function.
	(pygtk_tree_iter_hash): fix hash function.

2000-12-16  James Henstridge  <james@daa.com.au>

	* gtk/gtk-types.c (pygtk_text_iter_forward_to_delimiters): rename
	function.

2000-12-14  James Henstridge  <james@daa.com.au>

	* examples/testgtk/demos/menu.py (main): destroy window on
	button's clicked signal rather than destroy signal.

	* gtk/gtk.defs: remove gtk_object_default_construct and
	gtk_object_constructed.

	* gobjectmodule.c: change over to new notification functions.

	* gtk/gtk-types.c: rename functions.

	* gobjectmodule.c (pygobject_get_property):
	(pygobject_set_property): change function names to match changes
	in glib.
	(...connect|emit): use g_signal_parse_name instead of
	g_signal_lookup, so we can parse the detail out of the signal name
	string.

2000-12-07  James Henstridge  <james@daa.com.au>

	* examples/testgtk/demos/treemodel.py (MyTreeModel.on_get_path):
	fix small typo.

2000-12-06  James Henstridge  <james@daa.com.au>

	* gtk/pygtktreemodel.c: fix PyObject_CallMethod calls to add
	parentheses around argument type list.
	(pygtk_tree_model_get_flags): decref py_ret -- not Py_None
	(pygtk_tree_model_get_n_columns): same here.
	(pygtk_tree_model_get_column_type): same here.
	(*): conditionally print out debugging messages.

	* examples/testgtk/demos/treemodel.py: simple test of
	PyGtkTreeModel.

	* gtk/pygtktreemodel.c: set iter->tree_node to NULL when returning
	FALSE, as GTK sometimes ignores the return value :(

	* codegen/codegen.py (interfacetypetmpl): don't set the interface
	type as having an instance dictionary.
	(write_interface): actually use interfacetypetmpl when writing out
	the interface type def.

	* codegen/argtypes.py (_conv_special_cases): add a special case
	for the underscore version of PyGtkTreeModel.

	* gtk/gtk.override: include pygtktreemodel.h

	* gtk/__init__.py: don't error out if we can't import ltihooks.

	* gtk/gtk-extrafuncs.defs: include defs for PyGtkTreeModel type.

	* gtk/Makefile.am (_gtkmodule_la_SOURCES): compile PyGtkTreeModel
	into pygtk.

	* gtk/pygtktreemodel.c: fix errors.

	* gtk/pygtktreemodel.[ch]: check in initial leaky implementation
	of the GtkTreeModel for use from python.  Can't test it right now
	because gtk head is broken.

2000-11-29  James Henstridge  <james@daa.com.au>

	* configure.in (enable_thread): update checks for glib/gtk+ to
	require at least 1.3.2.

	* codegen/h2def.py (write_enum_defs): Havoc's enum handling patch.

	* TODO: add todo item about creating real GObject subclasses, and
	add some info on the GInterface stuff.

	* examples/testgtk/testgtk.py (load_module): fix bug where
	mod.__file__ is the .pyc file rather than the .py file.

	* gtk/gtk.defs: change parent type for some classes to GtkDialog
	to match changes in gtk+.

	* gtk/Makefile.am (pysitedir, pyexecdir): fix up directory names.
	It wasn't installing these files in a gtk/ subdirectory :(

2000-11-16  James Henstridge  <james@daa.com.au>

	* gtk/gtk.defs: make changes to make GtkEditable into an
	interface.

	* examples/testgtk/demos/__init__.py (demos): create the list of
	example modules on the fly, rather than having them hard coded
	into a list.

2000-11-11  James Henstridge  <james@daa.com.au>

	* examples/testgtk/testgtk.py: start of a revamped testgtk
	example, similar to the new one in gtk.

	* gtk/gtk-types.c (PyGdkEvent_New): guard against a NULL axes
	member in the GdkEvent structure.

	* gtk/gtk.override (_wrap_gtk_tree_view_get_path_at_pos):
	implementation of this function.

	* codegen/argtypes.py (GtkTreePathArg): add an arg matcher for
	GtkTreePath objects, that represents them as tuples of integers.

	* gtk/gtk-types.c (_pygtk_register_boxed_types): add marshalers
	for GtkTreeIter and GtkTreePath so they can be used from signal
	handlers now.

	* gtk/gtk.override, gtk/gtk.defs: make name change for
	GtkTreeStore constructor.

2000-11-10  James Henstridge  <james@daa.com.au>

	* gtk/gtk.override: ignore the gtk_tree_view_new function, so
	gtk_tree_view_new_with_model gets chosen as the constructor.
	(_wrap_gtk_tree_store_...): fix up the iterator creation methods
	so that they can take NULL arguments.
	(_wrap_gtk_tree_view_column_new): new implementation of this
	constructor.  Map keyword arguments to column attributes.

	* gtk/gtk.defs (gtk_tree_view_new_with_model, GtkTreeView.set_model):
	Allow NULL to be passed in as the model argument.

	* gtk/gtk.override: add gtk_tree_model_get_{iter,path,value}
	functions.
	(_wrap_gtk_list_store_*): add constructor and set_cell
	implementations, and impls of the insertion functions that return
	the new GtkTreeIter, rather than treating it as an out argument.
	(_wrap_gtk_list_store_set_cell): allow string versions of type
	codes for convenience.
	(_wrap_gtk_list_store_insert): directly access column_headers
	structure member as the get_column_type method doesn't exist.
	(_wrap_gtk_tree_store_*): constructor, set_cell and tree iter
	creation methods added.  Ignore [gs]et{,v}.

2000-11-09  James Henstridge  <james@daa.com.au>

	* gtk/gtk.defs (ListStore, TreeStore): these implement the
	GtkTreeModel interface.
	(TreeModel): add interface definition here.

	* codegen/codegen.py (register_types): register interfaces into
	the argument type matcher.
	(write_source): write out interface source.  Register interface
	class types before object types, as they may be used by objects.
	(write_source): set multiple base classes if an object implements
	an interface.
	(write_interface): function to write out the code for an
	interface.  It is really a simplified version of write_class.

	* codegen/parser.py (DefsParser.interface): handle interface
	clauses.

	* codegen/definitions.py (InterfaceDef): add a class for interface
	definitions.
	(ObjectDef): add support for an implements keyword.

	* codegen/codegen.py (write_source): change code generator to pass
	bases in as a tuple rather than a single PyExtensionClass
	structure.

	* pygobject.h: change prototype.

	* gobjectmodule.c (pygobject_register_class): allow for registerin
	a type with multiple base classes.

2000-11-08  James Henstridge  <james@daa.com.au>

	* codegen/argtypes.py (_conv_special_cases): add a special case
	for converting GObject -> G_OBJECT.

	* gobjectmodule.c (pygobject_connect*): g_signal_connect_closure
	renaming.

	* codegen/argtypes.py (arg): add GtkTreeIter support.

	* gtk/gtk-types.c, gtk/pygtk.h, gtk/pygtk-private.h: add a
	skeleton for the GtkTreeIter wrapper.

2000-11-04  James Henstridge  <james@daa.com.au>

	* TODO: todo file with a few items needed for the gtk 2.0 based
	pygtk.

	* gtk/gtk.defs: add new GtkTree widget definitions.
	(GtkTreeViewColumn.get_justification): comment out as it doesn't
	exist.

2000-11-02  James Henstridge  <james@daa.com.au>

	* gtk/gtk-types.c (_pygtk_register_boxed_types): small changes to
	handle GtkTextIter objects as arguments to signals, now that Havoc
	made the appropriate changes in gtk.

2000-10-30  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pyg_closure_marshal): reorder parameters to
	make it work with latest glib.
	(pygobject_connect*): pass 0 for the new detail parameter.  Don't
	know what it is for.
	(pygobject_emit): pass 0 for detail parameter.
	(pygobject_stop_emission): pass 0 for detail parameter.

	* gtk/gtkmodule.c (init_gtk): init as module gtk._gtk.  Using just
	_gtk doesn't seem to work with python 2.0

2000-10-29  James Henstridge  <james@james.daa.com.au>

	* examples/ide/gtkcons.py: small changes to make example run.

	* gtk/gtk-types.c: add GtkTextIter.forward_search implementation.

	* gtk/gtk.override: more override functions.

	* gtk/gtkobject-support.c: remove some of the unused functions from
	this file.

2000-10-28  James Henstridge  <james@james.daa.com.au>

	* gtk/gtk.override: override the functions used to initialise
	GtkTextIter objects so that they return the iterator rather than
	setting up an static GtkTextIter structure.

	* gtk/gtk.defs (TextMark): add missing GtkTextMark object.  Don't
	know why h2defs missed it.
	("gtk-extrafuncs.defs"): include gtk-extrafuncs.defs.

	* codegen/argtypes.py: add GdkDevice and GtkTextIter to list of
	recognised boxed types.

	* gtk/gtk-types.c: add skeleton implementation of GtkTextIter.

	* gtk/pygtk.h, gtk/pygtk-private.h: add prototypes for GtkTextIter
	wrapper.

	* gtk/gtk.override: ref and sink GtkObjects which have their
	constructors listed in the overrides file.  This should get rid of
	the last few warnings on exit related to reference counting.

	* codegen/codegen.py: use the keyword module to check for method
	and argument names that conflict with the python keywords.  By
	using this module, we shouldn't have problems with new keywords in
	future versions of python.

2000-10-27  James Henstridge  <james@james.daa.com.au>

	* gobjectmodule.c (pygobject_emit): support for emiting signals on
	GObjects from python.
	
	* codegen/codegen.py (write_constructor): sink GtkObjects.  This
	prevents us losing our reference to the object if it is sunk.

	* codegen/argtypes.py (ArgMatcher.object_is_a): function to check
	if one object type is another type.

	* codegen/codegen.py (register_types): pass the parent type when
	registering a new GObject type.

	* gtk/gtk-types.c (_pygtk_register_boxed_types): register
	marshalers for the various boxed types, so that they work as
	expected inside the signal handlers.

	* gobjectmodule.c (pygobject_repr): small change to match style of
	other repr functions in python.

	* gtk/gtkmodule.c (init_gtk): only call g_thread_init() if pygtk
	threading support is enabled.

	* configure.in (enable_thread): add configure checks so that
	threading support can be disabled even if python was compiled with
	it.  It defaults to off for now because GSignal has some mutex
	deadlocks at the moment.

2000-10-26  James Henstridge  <james@daa.com.au>

	* gtk/gtkmodule.c (init_gtk): remove gtk_signal_set_funcs call.

	* gobjectmodule.c (pyg_value_from_pyobject): default to using
	CObject for unknown boxed values and pointer values.
	(pyg_value_as_pyobject): same here.
	(pygobject_connect*): Add signal connection functions.

	* gobjectmodule.c (pyg_boxed_register): new function for
	registering functions to marshal boxed GValues to/from their
	python wrappers.
	(pyg_value_from_pyobject): add boxed support.
	(pyg_value_as_pyobject): add boxed support.
	(pyg_closure_new): new function to create a python GClosure.
	(pyg_closure_destroy): cleanup function for a PyGClosure.
	(pyg_closure_marshal): marshaler for PyGClosure.
	(pyg_value_as_pyobject): add const to GValue argument.

	* pygobject.h: export a pyg_boxed_register function to register
	new boxed types for use with pyg_value_from_pyobject and
	pyg_value_as_pyobject.

2000-10-25  James Henstridge  <james@daa.com.au>

	* gtk/gtkmodule.c (init_gtk): set the default python character
	encoding to UTF-8.

	* gtk/gtk.defs: more setting constructors and default arguments.

	* gtk/gtk.defs: more updates.

	* gobjectmodule.c (pygobject_getattro): return NULL on error.
	This fixes the segfault :)

	* gtk/gtk.defs (Bin): add a field just to test pygobject_getattro.
	It isn't working quite properly at the moment though :(

	* gobjectmodule.c (check_bases): class->bases is a tuple -- not a
	list.
	(check_bases): check if class->bases != NULL before using it :(

	* gtk/gtk.defs: comment out new tree widget stuff at hp and owen's
	suggestion.

	* gtk/__init__.py: import gobject here as well to prevent weirdness.

	* gtk/gtk.defs: more updates, adding (is-constructor-of ...) and
	(default "...") clauses.

	* gtk/gtk.override (_wrap_gtk_button_new): handle the accel_group
	argument, and try to create a stock button if possible.

	* gtk/gtk.defs, gtk/gdk.defs: various small fixes.

	* gtk/gtk.override: fix lots of overrides to work with gtk 2.0

2000-10-24  James Henstridge  <james@daa.com.au>

	* gtk/gdk.defs: remove unneeded gdk_input_* functions.

	* gtk/gtk.override: small updates.

	* gtk/gtk.defs: update with defs from all of gtk.

	* codegen/h2def.py (find_enum_defs): small fix to enums parsing.

	* gtk/gtk-types.c: add support for GdkDevice and convert function
	names to lowercase.

	* gtk/gtkmodule.c: add GdkDevice stuff to PyGtk_API.

	* gtk/pygtk.h, gtk/pygtk-private.h: add GdkDevice to list of boxed
	types.

2000-10-23  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c: don't set the getattr method on objects if it
	isn't already set.  Also, install a getattro handler that will
	perform the usual method/attribute lookup and then call the
	getattr method for all base classes to allow specifying of class
	specific attributes

2000-07-03  James Henstridge  <james@daa.com.au>

	* gtk/gtkmodule.c (init_gtk): actually initialise the gobject stuff
	for gtk._gtk.

	* pygobject.h (pygobject_check): call the correct ExtensionClass
	check macro.
	(init_pygobject): small fixup here.

	* codegen/codegen.py (noconstructor): handle the null constructor
	better.
	(consttmpl): use pygobject_register_wrapper.
	(getattrtmpl): make the getattr function raise an exception on
	unhandled attributes.  I will use a tp_getattro function to bind
	all the getattr functions of base classes together.

	* gtk/gtk-types.c (_pygtk_register_boxed_types): commented out the
	object implementations for types that have been converted to
	GObjects.

	* gtk/gtkobject-support.c: commented out some of this code to get
	it to compile again.  Also converted some functions over to GObject.

	* codegen/argtypes.py (EnumArg,FlagsArg): use the version from gobject.

	* gtk/gtkmodule.c: update 

	* gtk/gtk.override: fix up the overrides for the new gdk.defs stuff.
	(GTK_TYPE_GDK_*): add some dummy defines to make things compile until
	the gdk-pixbuf enums are added to 

	* codegen/argtypes.py (ObjectArg.write_param): use PyGObject
	rather than PyGtk_Object.

	* pygobject.h (pygobject_check): add check function.  Just a wrapper
	around ExtensionClassSubclassInstance.

	* codegen/codegen.py: updated to use PyGObject rather than
	PyGtk_Object.

	* gtk/gtk.defs: removed most of the stuff here so I can test out
	the gdk stuff.

	* gtk/gdk.defs: updated to gdk-1.3.  A lot of stuff in here.

	* codegen/h2def.py (verbose): remove the special case for GtkObject.
	(find_obj_defs): amend regexes so that GObject is considered a valid
	object name.

2000-06-29  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c: use pygobject.h.
	(pygobject_[gs]et_param): free the GValue afterwards so as not to
	leak memory.

	* pygobject.h: header for modules that want to use GObject.

2000-06-28  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c: add get_data / set_data methods.
	Add get_param / set_param methods.
	(pygobject__init__): simple init function for GObjects.  Doesn't
	handle params yet.
	(pygobject_register_wrapper): don't ref the GObject -- it isn't like
	GtkObjects where we ref/sink them.
	(pygobject_queue_param_changed): add queue_param_changed method.

2000-06-27  James Henstridge  <james@daa.com.au>

	* gobjectmodule.c (pygobject_dealloc): start of gobject wrapper.

2000-06-19  Frederic Gobry  <frederic.gobry@epfl.ch>

	* gdkimlibmodule.c: do an actual call to create_from_array instead
	of create_from_data, and fixed broken test on alpha channel

2000-04-15  James Henstridge  <james@daa.com.au>

	* gtkmodule.c: move gtk_set_locale here, and set LC_NUMERIC back to
	"C" after call.  Python's numeric locale should be fixed on C.

2000-04-07  James Henstridge  <james@daa.com.au>

	* NEWS: added news items.

	* pygtk.spec, configure.in: updated version number.

	* configure.in (enable_numpy): added --disable-numpy argument that
	disables numeric python support even if numpy is found.

	* gtkmodule.c (PyGdkWindow_{Pointer,Keyboard}{Grab,Ungrab}): new
	GdkWindow methods.

	* gtk.py (rc_reparse_all): fix spelling mistake.
	(GtkTreeItem.__getattr__): fix bug reported by Aaron Digulla.

	* generate/gtklists.defs (gtk_clist_get_selectable): fix bug in
	return type.

2000-04-06  James Henstridge  <james@daa.com.au>

	* (lots of files): switch over to using libtool and automake-1.4a.

2000-03-13  James Henstridge  <james@daa.com.au>

	* pyglade/__init__.py: remove python-1.4 ni stuff, and put in a
	warning message that you should think of switching over to libglade.

	* pygtk.spec: incremented version number.  Code gtk+ dependency into
	spec file.  Made auxillary packages depend on the pygtk package of
	the same version.

	* configure.in: incremented version number.  Incremented minimum
	required GTK+ so that when threading is compiled in we don't get
	problems caused by using old buggy versions of GTK+.

	* gtkmodule.c (PyGdkWindow_PropertyChange): fixed the 32 bit data
	part of the case statement correctly this time :)

2000-03-08  James Henstridge  <james@daa.com.au>

	* gtkmodule.c (PyGdkWindow_PropertyChange): fixed up problem in
	property_change method that could cause a crash if data of
	size 16 or 32 was set.
	(PyGtkStyleHelper_SetItem): added missing return that could cause
	a fallthrough to the g_assert_not_reached() call when setting a
	bg_pixmap element on a GtkStyle.

2000-03-03  James Henstridge  <james@daa.com.au>

	The following is from Paul Clifford <paul@plasma.demon.co.uk>

	* libglade.py (GladeXML.signal_autoconnect): pass all the extra
	arguments to autoconnect.

	* libglademodule.c (connect_many): don't exit if the handler is
	a tuple instead of a function.

	The following fixes are from John Ehresman <jpe@archaeopteryx.com>
	
	* gtk.py (GtkWidget.set_scroll_adjustments): return the value to
	user.

	* gtkmodule.c (GtkArg_AsPyObject): check if GtkObject is not NULL.
	(_wrap_gtk_clist_get_pixmap, _gtk_clist_get_pixtext): check that
	returned pixmap is not NULL.
	(_wrap_gtk_ctree_node_get_pixmap, _gtk_ctree_node_get_pixtext): check
	that returned pixmap is not NULL.

	* gtk.py (GtkToolbar): wrap callbacks when inserting a toolbar item.
	(GtkNotebook.set_menu_label_text): fixed typo
	(GtkTreeItem.__getattr__): wrap subtree attribute.

2000-03-01  Frederic Gobry  <gobry@lith.di.epfl.ch>

	* gtkmodule.c (PyGtkSelectionData_GetAttr): added .length field,
	so that it is possible to check for invalid selection during
	copy/paste.
	
2000-02-23  Frederic Gobry  <gobry@lith.di.epfl.ch>
	
	* gtkmodule (GtkRet_FromPyObject): added missing break in switch.

2000-02-21  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkTable.resize): added missing function.  Patch from
	wrobell <wrobell@posexperts.com.pl>.

	* generate/gtkcontainers.defs (gtk_table_resize): added missing
	function.

2000-02-20  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkCList.get_[hv]adjustment): apply fix from Martin
	Preishuber.

2000-02-16  James Henstridge  <james@daa.com.au>

	* configure.in, pygtk.spec: updated version to 0.6.4

2000-01-27 Elliot Lee <sopwith@redhat.com>
	* gtk.py: s/sel/self/ in GtkSpinButton.get_adjustment()

2000-01-26  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkObject.__hash__): use C level GtkObject for hash
	function.
	(GtkAccelGroup.__cmp__): use C level object for comparisons.
	(GtkAccelGroup.__hash__): use C level object for hashing.

	* gtkmodule.c: added hash functions for many object types.

2000-01-25  Kelly Lynn Martin  <kelly@poverty.bloomington.in.us>

	* gtk.py (gdk_beep): new wrapper
	* gtkmodule.c (_wrap_gdk_beep): new implementation

2000-01-21  Matt Wilson  <msw@redhat.com>

	* generate/generate.py: add a hack to allow a null-ok flag on the
	return type.  This lets us create wrappers which return None if
	the C function returns NULL.

	* generate/gtklists.defs (gtk_ctree_node_nth): return None when
	gtk_ctree_node_nth returns NULL.

2000-01-20  Matt Wilson  <msw@redhat.com>

	* gtkmodule.c (PyGtk_New): disable object sinking for now, until
	we rework the .def file and generation routines to know which
	functions are creators.

2000-01-20  Matt Wilson  <msw@redhat.com>

	* gtk.py (GtkCList.row_move): s/soure_row/source_row/g typo

2000-01-17  Matt Wilson  <msw@redhat.com>

	* gtkmodule.c: following changes from ChiDeok Hwang
	<cdhwang@sr.hei.co.kr>

	* gtkmodule.c (_wrap_gtk_adjustment_set_all): parse the 6 optional
	arguments.

	* gtkmodule.c (_wrap_gtk_widget_draw,
	_wrap_gtk_widget_size_allocate, _wrap_gtk_widget_intersect,
	_wrap_gdk_color_alloc): fix PyArg_ParseTuple format strings to use
	shorts instead of ints where necessary.

	* gtkmodule.c (_wrap_gtk_toolbar_insert_item): check to make sure
	callback isn't Py_None before Py_INCREF()

	* gtkmodule.c (_wrap_gtk_toolbar_insert_item,
	_wrap_gtk_toolbar_append_item, _wrap_gtk_toolbar_prepend_item):
	fix broken ParseTuple specification strings.

	* gtkmodule.c (_wrap_gtk_clist_get_selection): use
	GPOINTER_TO_UINT to get row.
	
2000-01-17  Matt Wilson  <msw@redhat.com>

	* libglademodule.c (connect_one, _wrap_glade_xml_signal_connect):
	don't INCREF objects passed into Py_BuildValue as they are
	INCREF'ed for you automatically.  Pass new PyObjects in with 'N'
	to consume the reference.

	* gtkmodule.c (PyGtk_New): sink the object upon creation.  We
	don't want floating GtkObjects.

	* gtkmodule.c: general cleanups, testing for success of PyObject
	creation, reference count fixes.  Several functions used
	Py_BuildValue with 'O' format strings.  This increfs the object
	passed into the tuple where.  When using Py*New in Py_BuildValue,
	use 'N' in the format string to consume the reference of the new
	object.

2000-01-05  Matt Wilson  <msw@redhat.com>

	* gdkimlibmodule.c, gtkglmodule.c, gtkmodule.c: Patch from ChiDeok
	Hwang <cdhwang@sr.hei.co.kr> to decref PyObjects retrieved by
	PySequence_GetItem.

1999-12-18  Matt Wilson  <msw@redhat.com>

	* gtkmodule.c (_wrap_gtk_clist_get_rows): removed function

	* generate/gtklists.defs (GtkCList): add field for rows

1999-12-16  Matt Wilson  <msw@redhat.com>

	* gtk.py (GtkCList.__getattr__): oops - left out the _gtk. part

1999-12-15  Matt Wilson  <msw@redhat.com>

	* gtk.py (GdkColor): added a function to create a GdkColor
	object.  You should use this if you don't want to allocate a color
	before passing it into functions that don't need an allocated
	color.

	* gtkmodule.c (_wrap_gdk_color_new, PyGdkColor_GetAttr): add a
	functions to create and modify a GdkColor object.

1999-12-15  Matt Wilson  <msw@redhat.com>

	* gtk.py (GtkCList.__getattr__): added 'rows' attribute.

	* gtkmodule.c (_wrap_gtk_clist_get_rows): added wrapper to get
	number of rows in a clist

	* gtkmodule.c (PyGtkStyle_New): If the GtkStyle passed in is NULL,
	return a None object.  This is a bit of a hack, but without it
	you'll fail NULL assertions when you attach to the style_set
	signal.

	* generate/gtkmisc.defs (gtk_pixmap_new): mask is null-ok.

	* generate/gtklists.defs (gtk_clist_set_pixmap): likewise.

	* pygtk.h (PyGdkBitmap_Check): define PyGdkBitmap_Check to be the
	same as PyGdkWindow_Check.

	* gtkmodule.c: -Wall cleanups

	* libglademodule.c (init_libglade): removed unused variable

	* gdkimlibmodule.c (_wrap_gdk_imlib_init): s/static/static int/

1999-12-12  Matt Wilson  <msw@redhat.com>

	* generate/generate.py (FunctionDefsParser.define_func): added new
	string_or_null type to check for NULL when passing strings back

1999-09-30  James Henstridge  <james@daa.com.au>

	* pygtk.spec: updated spec file.
	
	* NEWS: added news items
	
	* configure.in: updated version number.

	* libglademodule.c: don't segfault when a widget name does not exist.

1999-09-28  James Henstridge  <james@daa.com.au>

	* libglade.py: enable gnome functionality if it is available.

	* gtk.py (GtkEditable.__getattr__): added accessors to GtkEditable.

	* generate/gtkedit.defs (GtkEditable): added accessors for some
	fields of the GtkEditable.

	* gtkmodule.c: added _raise, lower and input_get_pointer methods to
	the GdkWindow wrapper.

	* gtk.py (GtkAspectFrame.__init__): fixed prototype for GtkAspectFrame

1999-08-25  Matt Wilson  <msw@redhat.com>

	* gtkmodule.c (_wrap_gdk_char_width): added wrapper for gdk_char_width
	* gtk.py (gdk_char_width): added wrapper for gdk_char_width

1999-08-09  James Henstridge  <james@daa.com.au>

	* pygtk.spec: updated spec file, and added subpackages pygtk-glarea
	and pygtk-libglade.  Also incremented version number.

1999-08-08  James Henstridge  <james@daa.com.au>

	* NEWS: updated news file.

	* configure.in: increased version number to 0.6.2.

	* gdkimlibmodule.c (_wrap_gdk_imlib_image_get_array): make sure that
	the image data is not freed while the returned array is in use, so
	that we don't get into an inconsistent state.

	* gtk.py: added gdkrgb functions to this file.

	* gtkmodule.c: added the gdkrgb functions for drawing rgb and greyscale
	images.
	(gdk_draw_array): a new function that will draw a numpy array to a
	drawable with gdkrgb.  It is written so that it can handle slicing
	on the first two axes -- it does not handle non contiguous data on
	the third axis.

1999-08-04  Matt Wilson  <msw@redhat.com>

	* GdkImlib.py (create_image_from_xpm): new wrapper for creating
	imlib images from xpm data
	
	* gdkimlibmodule.c (_wrap_gdk_imlib_create_image_from_xpm): New
	wrapper

1999-08-03  James Henstridge  <james@daa.com.au>

	* description.py (GdkWindow): added descriptions of the new routines.

	* gtkmodule.c (GdkWindow.property_{get,change,delete}): new functions
	for manipulating the properties on a window.
	
	* gtk.py (_window_foreign_new, _root_window): added wrappers for
	the new functions.

	* gtkmodule.c: added xid attribute to GdkWindow's, and added functions
	gdk_window_foreign_new and gdk_get_root_win.  The second function is
	simply a wrapper that returns a GdkWindow for the root window.

1999-08-02  James Henstridge  <james@daa.com.au>

	* libglade.py: new file that wraps the _libglade module.

	* libglademodule.c: handle connecting to another object correctly.

	* gtkmodule.c: added support for passing an object for
	gtk_signal_connect_object type behaviour.
	(_wrap_gtk_signal_connect_object)
	(_wrap_gtk_signal_connect_object_after): new wrappers.

	* gtk.py (idle_add, timeout_add, quit_add): pass extra arguments to
	the callback.

	* libglademodule.c (_wrap_glade_xml_signal_connect): fixed a small
	problem with reference counting here.

	* gtkmodule.c: added support for passing arguments to timeout, quit
	and idle functions.

1999-08-01  James Henstridge  <james@daa.com.au>

	* pyglade/build.py (optionmenu_new): a small fix from David Cole.

	* configure.in: added tests to see if libglade is installed.

	* libglademodule.c: the rest of the libglade module

	* generate/libglade.defs: a .defs file for libglade.

1999-07-31  James Henstridge  <james@daa.com.au>

	* gtkmodule.c: put in Paul Fisher's enhancements to the threading
	code.  It should now work better with multiple threads calling
	GTK+ routines (remember to use threads_enter/threads_leave), and
	doesn't reintroduce the global interpreter lock problems that
	Duncan's original code worked around.

	* configure.in: added a check for the numpy header.
	
	* GdkImlib.py: added wrappers for the numpy routines.

	* gdkimlibmodule.c: added Travis Oliphant's Numeric python stuff to
	the imlib module.

1999-07-20  Matt Wilson  <msw@redhat.com>

	* gtk.py (gdk_flush): new wrapper
	* gtkmodule.c (_wrap_gdk_flush): new implementation

1999-07-19  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkAdjustment.set_all): a wrapper for the new function.

	* gtkmodule.c (_wrap_gtk_adjustment_set_all): simple wrapper for
	setting values on an adjustment.

	* gtk.py (GtkCList.get_column_width): a wrapper for this new function.

	* gtkmodule.c (_wrap_gtk_clist_get_column_width): a function to get
	the column width for a column in a clist.

	* gtk.py (_filtprops): convert GtkAccelGroup and GdkImlibImage types
	back to the C equivalents.  This makes adding GnomeCanvasImage items
	to the GnomeCanvas easier.
	(GtkCTree.node_get_selectable): added wrapper function.

1999-07-18  James Henstridge  <james@daa.com.au>

	* gtkmodule.c (_wrap_gdk_threads_enter): don't use PyGTK_BLOCK_THREADS,
	since it should only be called outside the gtk main loop.  Instead
	use Py_BEGIN_ALLOW_THREADS.

	* examples/gl/*: new examples of use of gtkgl.
	
	* gtkgl.py: renamed from GtkGL.py.
	
	* gtkglmodule.c (_wrap_gtk_gl_area_new, _wrap_gtk_gl_area_share_new):
	fixed small typo.

	* GtkGL.py: added constants.

1999-07-15  James Henstridge  <james@daa.com.au>

	* configure.in, Makefile.am: added tests for gtkglarea.
	
	* GtkGL.py: python wrapper for the GtkGLArea widget, and a few extra
	functions for use with the widget.

	* generate/gtkgl.defs, gtkglmodule.c: added wrapper for gtkglarea.

1999-07-14  James Henstridge  <james@daa.com.au>

	* gdkimlibmodule.c: modified to use the pygdkimlib.h header.

	* pygdkimlib.h: new file similar to pygtk.h, but for _gdkimlib module.

	* gdkimlibmodule.c: modified to use the pygtk.h header.

	* gtkmodule.c: modified file to use the pygtk.h header, and set
	up the _gtk._PyGtk_API object correctly.

	* pygtk.h: a new file with a similar use to the arrayobject.h in
	numeric python.  I will convert over to using this in pygtk and
	gnome-python.

1999-07-13  James Henstridge  <james@daa.com.au>

	* gtkmodule.c (_wrap_gdk_threads_enter): unblock threads when waiting
	for the GDK lock.  This allows other threads to unlock it, and should
	prevent some deadlocks.

	* gtkmodule.c (gtk_main_iteration, gtk_events_pending): removed code
	to unlock gtk thread -- Owen fixed this properly in gtk.

1999-07-12  James Henstridge  <james@daa.com.au>

	* gtk.py: fixed a few bugs reported by Ville Lauriki.

	* generate/gtkmenus.defs (gtk_item_factory_add_foreign): fix a typo.

	* gtkmodule.c: fixed problems if gdk_atom_name returns NULL.
	
	(_wrap_gtk_main_iteration, _wrap_gtk_events_pending): added
	GDK_THREADS_LEAVE() and GDK_THREADS_ENTER() calls round these
	functions.  Without this, it deadlocks if threads are enabled.

	* generate/gtklists.defs (GtkTreeItem): added wrapper for
	treeitem->subtree attribute.

	* pyglade/build.py (text_new): small fix.

1999-05-19  James Henstridge  <james@daa.com.au>

	* NEWS: added news about changes in this version.

	* configure.in, pygtk.spec: updated version number to 0.6.1.

1999-05-13  James Henstridge  <james@daa.com.au>

	* gtkmodule.c (PyGtk_item_factory_cb): forgot to wrap the function
	call in PyGTK_{,UN}BLOCK_THREADS -- this was causing seg faults
	for people with threading built into their python.
	(PyGtk_MenuPosition): similar fix.

1999-04-25  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkWidget.get_allocation): a wrapper for the new function.

	* gtkmodule.c: added a routine for getting the allocation of a widget.

1999-04-22  James Henstridge  <james@daa.com.au>

	* NEWS: added a summary of the new features.

	* pygtk.spec: upped version number.

	* configure.in: upped version number to 0.6.0.  I think thread support
	is a big enough feature to bump it up to 0.6.

1999-04-21  James Henstridge  <james@daa.com.au>

	* gtk.py (create_bitmap_from_data): added new wrapper.

	* gtkmodule.c: added gdk_bitmap_create_from_data function.  Also
	export PyGtk_BlockThreads and PyGtk_UnblockThreads through the
	_private dictionary, so they can be used from within other modules
	(gnome-python in particular).

1999-04-20  James Henstridge  <james@daa.com.au>

	* pygtk.spec: updated package version number.

	* configure.in: added a check for the python thread module.  If it
	is found, then also link _gtkmodule to the gthread library.
	Incremented minimum GTK version to 1.2.1.
	Incremented version to 0.5.13.

	* gtkmodule.c: call g_thread_init if python was built with thread
	support.  This is required to turn thread support on inside gdk/gtk.

	* gtk.py: added new functions.
	(GtkList.insert_items): this function wasn't looking at the internal
	GtkObject for the children to insert, so would fail.

	* generate/gtkbase.defs (gtk_widget_accelerators_locked): new func.

	* generate/gtkmenus.defs (gtk_item_factory_add_foreign): new func.
	(gtk_menu_get_accel_group): new func.
	(gtk_menu_reorder_child): new func.
	(gtk_menu_shell_deselect): new func.

	* gtkmodule.c (_wrap_gtk_combo_set_popdown_strings): accept any
	sequence for the second argument, rather than just lists.
	(_wrap_gtk_init): check the return value, and throw an exception
	when a connection to the X server could not be made, rather than
	exiting.

	* gtk.py: got rid of some warnings when pygtk is imported when
	DISPLAY is not set.  Not completely necessary, but it doesn't hurt.
	(GtkObject.remove_data) fixed small bug pointed out by Duncan Grisby.

1999-04-08  James Henstridge  <james@daa.com.au>

	* gtk.py (threads_enter,threads_leave): export these two new functions.

	* gtkmodule.c: applied a modified version of Duncan Grisby's threading
	patch.  The changes were mainly inlining some of the code with macros
	and making it so that the extra code was not added unless python
	was compiled with thread support.  Also added wrappers for
	gdk_thread_enter and gdk_thread_leave.

	* gtk.py (GtkList.{,un}select_item): fixed small bug reported by
	Ben Darnell.

	* gtkmodule.c: fixed some small bugs in gtk_ctree stuff.  Thanks go
	to Chi-Deok Hwang.  Also fixed the bug in gtk_clist where I copy
	and pasted from.

	* gtk.py (GtkNotebook.set_tab_label_text): Small typo.  Fix from
	Toby D. Reeves.

1999-03-13  James Henstridge  <james@daa.com.au>

	* examples/testgtk/testgtk.py: Applied some fixes from Chi-Deok Hwang
	to this example.  Mainly clean ups needed because of me not changing
	testgtk with the rest of pygtk.

1999-03-12  James Henstridge  <james@daa.com.au>

	* configure.in, pygtk.spec: increased version number to 0.5.12.
	
	* gtkmodule.c: added optional support for not catching exceptions in
	callbacks.  This way it should be a lot easier to debug a pygtk
	program with pdb.
	
	* gtkmodule.c, gtk.py: a few fixes for problems sent in by
	Chi-Deok Hwang.  This includes a fix to GtkWidget.event(),
	assignments to GtkStyle attributes throwing exceptions,
	font loading getting reference counting correct and throwing
	exceptions for bad font names and allowing None to be passed
	as a colour to GnomeCanvasItem.set() (the fix is in pygtk).

	* generate/gtklists.defs (gtk_ctree_new): I had missed this
	function in previous releases.

1999-02-24  James Henstridge  <james@daa.com.au>

	* gtk.py: made changes to match those in the defs files and _gtk.

	* description.py (GdkGC.set_dashes): describe new GdkGC method.

	* generate/gtkcontainers.defs: removed gtk_window_set{focus,default},
	since these are internal to GtkWindow.  Also added
	gtk_handle_box_set_handle_position and gtk_handle_box_set_snap_edge.

	* gtkmodule.c: added gtk_widget_get_child_requisition.
	(PyGdkGC_GetAttr): added method GdkGC.set_dashes to set the dash
	pattern for this GC.

1999-02-23  James Henstridge  <james@daa.com.au>

	* pyglade/build.py: added some code to get the option menu creation
	code working.

	* pyglade/xmlparse.py: check if xmllib is included in the standard
	python library, use it for the XML parser -- it is much more complete,
	and doesn't barf on some valid XML files like the old one does.  If
	xmllib is not found, the old parser is used.

	* README, Makefile.am, pygtk.spec: added references to the MAPPING
	file.

	* MAPPING: new file describing the mapping of GTK+ onto python as
	pygtk does it.

1999-02-22  James Henstridge  <james@daa.com.au>

	* description.py (GdkCursor): added information about this type.

	* gtk.py: commented out the __getattr__, __setattr__ and __delattr__
	methods of GtkObject.  There were too many things that broke because
	of these changes.  If I can get these to work correctly in the
	future, I will consider re-enabling it, but not till then.
	
	* examples/testgtk/testgtk.py (create_cursor_test): added a cursor
	test to the python testgtk.  It is adapted from the translation sent
	in by Osamu Tanimoto.

	* gtkmodule.c: fixed a bit of bad copy'n'paste in the GC part of the
	style wrapper code.  Thanks go to Osamu Tanimoto <tanimoto@rios.co.jp>.
	(PyGdkCursor_GetAttr): now GdkCursor objects have a type attribute
	that returns the type number for the object, and a name attribute
	that gives a string representation of that type number.

1999-02-20  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkTooltips.set_tip): made tip_private argument optional.
	(GtkObject.__[gs]etattr__, GtkObject.__delattr__): added some more
	fixes to this code so that it shouldn't throw exceptions as much
	when it shouldn't.

	* gtkmodule.c: PyGdkEvent_New wasn't interpreting GDK_BUTTON_RELEASE
	events correctly.  Also some fix ups for gtk_menu_popup.

	* generate/gtkcontainers.defs (gtk_container_set_focus_child): allow
	null child argument.

1999-02-19  James Henstridge  <james@daa.com.au>

	* gtk.py: added __getattr__ and __setattr__ methods to GtkObject so
	that you can set data on a GtkObject directly in a persistent way
	(reference counting problems prevent pygtk from always passing the
	same python object to a callback).  These functions ignore attributes
	starting with an underscore.
	Also modified all the other __getattr__ methods to call their
	parent class's __getattr__ method when they fail instead of
	raising an exception.
	
	* gtk.py: some changes to make use of the new null-ok flags.
	
	* generate/*.defs: added some null-ok tags where appropriate.
	
	* gtkmodule.c: removed gtk_frame_new, as the null-ok change in
	generate.py makes it unnecessary.  Also gtk_spin_button_new_no_adj
	has been removed because it is no longer necessary.
	
	* generate/generate.py (FunctionDefsParser.define_func): altered the
	code generation routines so that they recognise the (null-ok) tag in
	the .defs file.  This should give a lot more flexibility to the
	generator, and allow me to move some of the special case code in
	gtkmodule.c back to the .defs files.  The null-ok tag is currently
	only recognised for string, object and boxed type arguments.

	* gtkmodule.c: fixes to the gtk_window_set_geometry_hints function to
	throw an exception for bad aspect values.  Also let it understand
	integers for aspect values.
	Also fixed up gtk_menu_popup so that you could give None for a few
	more arguments.

1999-02-16  James Henstridge  <james@daa.com.au>

	* description.py: added documentation about GtkStyle changes to this
	pseudo module.

	* gtkmodule.c: added a new python type GtkStyleHelper that is used
	by python GtkStyle objects as a sequence type that alows us to write
	back to the arrays in the GtkStyle object.  I have also made it
	possible to update the font and (black|white){,_gc}.  I also added
	a GtkStyle.copy() method.  This gives the user everything they need
	to alter styles inside their applications.  I still believe that
	rc files are better, but there seem to be a lot of people who want
	this functionality.
	
	* gtkmodule.c (_wrap_gtk_window_set_geometry_hints): made changes so
	apect ratios can be set to integers.  Also made it throw an exception
	for aspect ratios of zero, since this caused my X server to crash
	a few times.

1999-02-15  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkPaned.set_position): added function.

	* generate/gtkcontainers.defs (gtk_paned_set_position): added new
	function

1999-02-14  James Henstridge  <james@daa.com.au>

	* gtk.py: added GtkWindow.set_geometry_hints to match below addition.
	
	* gtkmodule.c: added gtk_window_set_geometry_hints.

1999-02-08  James Henstridge  <james@daa.com.au>

	* description.py (GdkWindow.depth): documented presence of this
	attribute.

	* gtk.py (GtkFileSelection.complete): I had left out the argument in
	this prototype.  Fixed now.

1999-02-04  James Henstridge  <james@daa.com.au>

	* gtk.py (create_pixmap_from_xpm,create_pixmap_from_xpm_d): altered
	these functions to use the gdk_pixmap_colormap_create variants if
	the first argument is a GtkWidget or GtkStyle.  This means you
	don't have to realise the widget before creating pixmaps from it.
	(GtkCheckMenuItem.set_state, GtkToggleButton.set_state): removed
	these compatibility routines so they don't mask GtkWidget.set_state.

	* gtkmodule.c: moved gtk_item_factory_get_widget here so I can catch
	NULL returns and convert them to None returns.  Also added the
	depth attribute to GdkWindow objects.
	Also added gdk_pixmap_colormap_create_* variants.  These can be used
	if you only have a colormap reference, rather than a window.

	* GtkExtra.py: there were a couple of calls to
	GtkContainer.border_width which is deprecated.

	* examples/testgtk/testgtk.py: fixes to dnd code in this example.  I
	hadn't looked at it since Owen made the dnd changes.

	* examples/simple/tooltip2.py: fixed small bug pointed out by Markus
	Oberhumer.

	* pyglade/build.py (clist_new): fixes to make it parse after clist
	changes.

1999-02-02  James Henstridge  <james@daa.com.au>

	* generate/gtklists.defs, gtk.py: added GtkCList.focus_row.
	
	* _gdkimlibmodule.c, GdkImlib.py: added push_visual and pop_visual,
	that can be used to easily set GTK to use the imlib visual/colormap
	combination.

	* gtkmodule.c: the PyObject -> GtkArg conversion routines were not
	catching some exceptions that they generated.  This would cause
	wierd problems if you passed the wrong argument types to signal
	handlers.  This was found by Chi-Deok Hwang <cdhwang@sr.hei.co.kr>

	* examples/simple/dnd.py, examples/simple/dndpixmaps.py: and example
	of drag and drop contributed by Chi-Deok Hwang <cdhwang@sr.hei.co.kr>
	
	* gtkmodule.c: added gtk_ctree_get_selection, that returns nodes
	rather than pointers.

	* gtk.py: made changes to reflect those below.  Also added
	GtkWidget.get_colormap() (it was missing previously).

	* generate/gtkedit.defs (gtk_spin_button_update): added function.

	* generate/gtkmenus.defs (gtk_check_menu_item_set_active): function
	renaming.
	(gtk_menu_set_title): added function.

	* generate/gtkmisc.defs (gtk_toggle_button_[sg]et_active): added
	functions, and removed gtk_toggle_button_set_state.

1999-01-27  James Henstridge  <james@daa.com.au>

	* gtkmodule.c: fixed some typos in _wrap_gtk_ctree_get_row_data and
	_wrap_gtk_ctree_base_nodes.  This fix was sent to me by Jim
	Robinson <robinson@ipsg.mot.com>.

1999-01-26  James Henstridge  <james@daa.com.au>

	* gtk.py: fixed typo in GtkProgress.configure.

1999-01-22  James Henstridge  <james@daa.com.au>

	* gdkimlibmodule.c: (_wrap_gdk_imlib_create_image_from_data): function
	would raise an exception if there was a null in the data or alpha
	arguments.  Also added some sanity checks on the lengths of data
	and alpha.  This patch was submitted by Toby D. Reeves.

1999-01-21  James Henstridge  <james@daa.com.au>

	* examples/testgtk/testgtk.py (create_scrolled_windows): changed
	a call to GtkContainer.add to GtkScrolledWindow.add_with_viewport.

	* gtk.py (GtkPacker.add): Added defaults for the arguments.

1999-01-11  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkProgress.get_current_percentage): fixed function call

	* gtk.py (GtkScrolledWindow): changed so it inherits from GtkBin
	instead of GtkContainer, to match changes in GTK.

	* GDK.py (DRAG_PROTO_ROOTWIN): Added the constant.

	* gtkmodule.c: forgot to include GTK_TYPE_DOUBLE in one of the GtkArg
	processing routines.  Also fixed a problem for events with a NULL
	window.

1998-12-24  James Henstridge  <james@daa.com.au>

	* gdkimlibmodule.c(_wrap_gdk_imlib_get_rgb_height): I accidentally
	returned rgb_width instead of rgb_height.  This bug report was from
	Osamu Tanimoto <tanimoto@rios.co.jp>.

1998-12-22  James Henstridge  <james@daa.com.au>

	* GtkExtra.py: modified the signal connect bit in the MenuFactory
	code so it is a bit more sane.

1998-12-21  James Henstridge  <james@daa.com.au>

	* pygtk.spec: updated version here as well.

	* README: updated required GTK version to 1.1.9

	* configure.in: Updated version for pygtk to 0.5.9, increased
	GTK version check to 1.1.9.

1998-12-20  James Henstridge  <james@daa.com.au>

	* gtkmodule.c, generate/gtkmisc.defs: moved gtk_preview_draw_row here
	because python's string conversion routines do not like nuls in a
	string, but you quite often want them in image data.

1998-12-17  James Henstridge  <james@daa.com.au>

	* examples/*/*.py: changed calls to GtkLabel.set to GtkLabel.set_text.
	
	* gtk.py: made changes to reflect those below.

	* generate/gtkbase.defs (gtk_widget_set_app_paintable): added this
	stub.

	* generate/gtkmisc.defs (gtk_label_set_text): renamed gtk_label_set to
	this, added gtk_label_set_line_wrap.

	* generate/gtkdnd.defs: Added gtk_drag_source_unset.

	* generate/gtklists.defs: moved reordering function stubs from ctree
	to clist.

	* generate/gtkcontainers.defs: removed GtkDrawWindow.  Added
	gtk_paned_pack[12]

	* GtkExtra.py (MenuFactory.create): wasn't passing extra arguments
	onto signal connect.  Bug fix from Sam Tannous <stannous@cisco.com>

	* gtkmodule.c: Applied some fixes to the ctree code from
	A.Hartgers@phys.tue.nl

1998-12-09  James Henstridge  <james@daa.com.au>

	* gtk.py, generate/gtkmisc.defs, GTK.py: Added
	gtk_toolbar_set_space_style and the required enum.

1998-12-08  James Henstridge  <james@daa.com.au>

	* gtkmodule.c: fixed up the toolbar functions, so they also use
	gtk_signal_connect_full, and now return the added child, like
	the C functions do.

	* examples/testgtk/testgtk.py: fixed up some stuff in the main
	function and clist test.

	* gtk.py, generate/gtkcontainers.defs: added
	gtk_window_set_transient_for and gtk_window_set_default_size.

	* gtkmodule.c: Changed to use _full functions instead of _interp
	functions.  Also made gtk_signal_connect and friends use the
	gtk_signal_connect_full function rather than the default marshaller
	method.

1998-12-07  James Henstridge  <james@daa.com.au>

	* generate/gtkcontainers.defs (gtk_viewport_new): Accept NULL
	arguments for adjustments of a viewport.  This is the correct
	fix for Michael's other patch.

	* examples/*/*.py: got rid of deprecation messages.  Put scrolled
	windows round all clists.
	
	* pyglade/build.py: Fixes a bug in scrolledwindow_new pointed out
	by Michael Hudson.  Also made some changes so that it doesn't use
	any deprecated functions.

	* gtkmodule.c: fixed two typos pointed out by Michael Hudson

1998-12-05  James Henstridge  <james@daa.com.au>

	* gtkmodule.c, generate/*.defs, gtk.py: updated to latest CVS.  This
	includes the function name changes Tim Janik introduced.  I have
	added backward compatibility wrappers for the old functions in gtk.py,
	which also print out a deprecation message.

1998-12-01  James Henstridge  <james@daa.com.au>

	* gtk.py (GtkLayout): I had left a few remnants from when this class
	was in gnome.ui.  This is now fixed.

1998-11-29  James Henstridge  <james@daa.com.au>

	* description.py: Added a description of the GtkCTreeNode type.

	* gtk.py (GtkCTree): Added the GtkCTree class to this layer.
	Hopefully I haven't made any mistakes.

1998-11-28  James Henstridge  <james@daa.com.au>

	* generate/gtklists.defs: added entries for GtkCTree.

	* gtkmodule.c: Added the GtkCTreeNode type.  It exports some of the
	attributes of the GtkCTreeRow associated with the node.  Specifically,
	the parent, next sibling links, and a list of children.  This should
	be enough attributes to make the type useful.
	Also added extra functions for GtkCTree.
	
1998-11-27  James Henstridge  <james@daa.com.au>

	* generate/gtk*.defs: updated for GTK+-1.1.5.
	
	* gtkmodule.c: added the PyGtk_RegisterBoxed function, exported through
	the _private dictionary.  This allows adding extra boxed types so they
	will be recognised in signal handlers and the like.
	
	* gtk.py: this file used to be Gtkinter.py.  People should make this
	change in their programs.  Also updated for changes to the API.
	
	* Gtkinter.py: new file.  Simply does a "from gtk import *", so old
	programs will still run properly.

	* examples/*/*.py, pyglade/*.py, GdkImlib.py, GtkExtra.py: changed
	occurences of Gtkinter to gtk.

1998-11-17  James Henstridge  <james@daa.com.au>
	
	* GdkImlib.py: missed a closing parenthesis.  This caused problems.
	
	* generate/gtk.defs(gtk_rc_add_*_style): removed these functions.
	They weren't exported by Gtkinter, and their declaration has changed
	in newer GTK+'s.  Now pygtk should compile with both GTK+-1.1.3 and
	CVS GTK (tested for a 1998-11-16 checkout).
	
	* configure.in, NEWS: bumped version up to 0.5.5, and made new release.
	
	* generate/gtkmisc.defs, Gtkinter.py: added the GtkCalendar widget.

1998-11-15  James Henstridge  <james@daa.com.au>
	
	* gtkmodule.c: added GdkCursor type.
	
	* gtkmodule.c(GdkWindow.set_cursor): function to set cursor for window
	
	* generate/gtk.defs (gtk_cursor_*): new functions to create cursors
	
	* gtkmodule.c(gtk_pixmap_create_from_xpm_d): new function to create
	a GdkPixmap from a list of strings (XPM data).  This allows you to
	store pixmaps inline with your program for distribution.
	
	* gdkimlibmodule.c: export the GdkImlibImageType, and a _private
	dictionary that holds exported functions.  I should be able to
	add the GdkImlibImage dependent functions to _gnomeui now.
	
	* GDK.py, GTK.py: updated with new constants.
	
	* examples/simple/*1.py: stopped importing _gtkbase, and don't call
	_gtk.pygtk_init().
	
	* pyglade/build.py: added menu widgets to the interface building code.
	
	* pygtk.spec: new file -- an RPM spec file for this package.
	
	* NEWS: add information about this new version.

1998-11-15  James Henstridge  <james@daa.com.au>
	
	* gtkmodule.c: added GdkAtom handling.  There is now a special type for
	GdkAtoms that can be cast to string and int with str() and int()
	respectively, and it supports coercions, so it should act like an
	int in most cases.  Functions that take GdkAtom's as arguments
	actually take ints, so backward compatibility is kept, but functions
	that return GdkAtoms now return this special type.
	
	* gtkmodule.c, generate/gtkdnd.defs, Gtkinter.py: added the new DnD
	code, and support for selections.  The gtk_selection_* functions have
	been mapped to GtkWidget.selection_*, and the gtk_drag_* functions
	have been mapped to GtkWidget.drag_*
	
	* GdkImlib.py: added function create_image_from_data, so you can
	create an image from raw RGB data.  Also added the Image.get_pixmap
	method, which is like Image.make_pixmap, except it returns the
	GdkPixmap,GdkBitmap pair, instead of a GtkPixmap widget.

1998-11-14  James Henstridge  <james@daa.com.au>

	* generate/*.defs: changes to bring pygtk up to date with GTK+-1.1.3

1998-11-13  James Henstridge  <james@daa.com.au>
	
	* gtkmodule.c: added wrappers for GdkDragContext and GtkSelectionData.
	Also removed all the old DnD GdkEvent mappings, and added the
	GdkEventDND mapping.  This should be enough to get the new Dnd signals
	working.
	
	* generate/gtkbase.defs, gtkmodule.c(_wrap_gtk_widget_dnd_*): removed
	the old gtk_widget_dnd_* functions from the bindings.

1998-11-10  James Henstridge  <james@daa.com.au>
	
	* build system: Converted over to using automake.  Note thay some
	modifications have been made to the original version of automake,
	so you will need to apply my patches if you want to modify pygtk.
	
	* swigsrc/*: removed.  I am now using some code generation tools
	that take .defs files as input.
	
	* gdkimlibmodule.c: got rid of all the swig stuff, and cleaned up the
	code a bit.  This has reduced the source code size by half.

1998-11-10  James Henstridge  <james@daa.com.au>
	
	* ChangeLog: started change log.  Old Changelog file has been moved
	to NEWS
	
	* NEWS: used to be Changelog