summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: f9e322993d96aac2bd6a92c2331e1b5e6f8e3aec (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
=== 2.9.3 ===
2006-07-12  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* NEWS: Update.

	* tests/Makefile.am: Copy a few more gtk module support files for
	running tests.

	* tests/common.py: Don't hide import errors.

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

	* gtk/gtk.override: Ignore gtk_recent_chooser_set_show_numbers and
	gtk_recent_chooser_get_show_numbers, 
	see http://article.gmane.org/gmane.comp.gnome.language-bindings/805

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

	* gtk/gtkunixprint.override (_wrap_gtk_enumerate_printers): Add.

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

	* gtk/gtkunixprint.defs (gtk_printer_accepts_pdf)
	(gtk_printer_accepts_ps, gtk_enumerate_printers): Add.

	* gtk/gdk-base.defs (gdk_set_pointer_hooks): Remove dup.

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

	* gtk/gtk-base.defs (gtk_binding_entry_add_signal): Remove dup.

	* gtk/gdk-base-types.defs (GdkColorspace): Remove duplicate.

	* gtk/gdk-base.defs (gdk_color_change): Change to function to resolve
	conflict with gdk_colormap_change.
	(gdk_colormap_change): Note as deprecated.
	(gdk_display_store_clipboard): Remove dup def

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

	* gtk/gtk-base.defs (clipboard_get_for_display): Add
	"(caller-owns-return nil)"; Fixes #343960.

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

	* gtk/gdk.override: Ignore-glob *_libgtk_only. Fixes #321476.

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

	* pango.override (_wrap_pango_attr_underline_color_new) 
	(_wrap_pango_attr_strikethrough_color_new) 
	(_wrap_pango_attr_size_new_absolute) 
	(_wrap_pango_attr_letter_spacing_new): Add.

	* pango.defs (AttrSizeAbsolute, AttrUnderlineColor) 
	(AttrStrikethroughColor, AttrLetterSpacing)
	(pango_font_description_set_absolute_size)
	(pango_font_description_get_size_is_absolute)
	(pango_font_get_font_map): Add.

	* gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string):
	Allow colors to be a sequence.

	* atk.override (_wrap_atk_state_set_contains_states) 
	(_wrap_atk_state_set_add_states): Fix reference leaks.

2006-07-06  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gtk/gtk.override (_wrap_gtk_color_selection_palette_to_string):
	Check that argument is a list of gdk.Color.  Fixes #346745.

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

	* atk.override (atk_text_free_ranges): Ignore.
	(_wrap_atk_value_get_current_value) 
	(_wrap_atk_value_get_maximum_value) 
	(_wrap_atk_value_get_current_value)
	(_wrap_atk_value_set_current_value): Add.

	* atkmodule.c (initatk): Add call to _pyatk_register_boxed_types()

	* Makefile.am (ATK_OVERRIDES): Add atkrectangle.override

	* atkrectangle.override: Add.

	* atk.override (_wrap_atk_text_get_text_at_offset) 
	(_wrap_atk_text_get_text_before_offset) 
	(_wrap_atk_text_get_character_extents) 
	(_wrap_atk_text_get_run_attributes) 
	(_wrap_atk_text_get_default_attributes)
	(_wrap_atk_text_get_bounded_ranges, _wrap_atk_text_get_selection) 
	(_wrap_atk_text_get_range_extents): Add,

	* atk.defs (atk_rectangle_new): Add.

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

	* atk.override (_wrap_atk_state_set_contains_states)
	(_wrap_atk_state_set_add_states):
	(_wrap_atk_table_get_selected_rows) 
	(_wrap_atk_table_get_selected_columns):
	(_wrap_atk_text_get_text_after_offset): Add.

	* atk.defs (atk_relation_type_get_name): Define as function instead
	of method.
	(atk_state_type_get_name):  Define as function instead of method.
	(atk_state_set_new): Fix typo.

	* atk.override (_wrap_atk_relation_get_target): Add.
	(_wrap_atk_relation_new): Raise ValueError if targets is zero length.

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

	* gtk/Makefile.am:
	* gtk/__init__.py:
	* gtk/_lazyutils.py:
	* tests/Makefile.am:
	* tests/test_api.py:
	Add infrastructure to handle lazy loading.
	Move keysyms to be loaded lazily.
	Add API tests to make sure keysyms works.

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

	* gtk/Makefile.am:
	* gtk/__init__.py:
	* gtk/deprecation.py:
	Move deprecation related classes to a separate python file

2006-06-27  John Finlay  <finlay@moeraki.com>

	* atk-types.defs: Update defs for atk-1.8
	* atk.defs: Update defs for atk-1.8

	* atk.override (_wrap_atk_component_get_size) 
	(_wrap_atk_component_get_size, _wrap_atk_component_get_extents)
	(_wrap_atk_editable_text_set_run_attributes)
	(_wrap_atk_editable_text_insert_text)
	(_wrap_atk_image_get_image_position) 
	(_wrap_atk_image_get_image_position): Add

2006-06-27  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gtk/gdk-2.10.defs, gtk/gdk-base.defs: It seems that all X11
	specific functions are available in gtk+ 2.8 too; moving them from
	gdk-2.10.defs to gdk-base.defs.

	* gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Missing
	PyErr_Clear() when first protype parsing fails.

2006-06-27  John Finlay  <finlay@moeraki.com>

	* gtk/gtk-2.10.defs (GtkPrintOperationPreview, GtkRecentChooser):
	Add virtual defs for these interfaces.

2006-06-25  John Finlay  <finlay@moeraki.com>

	* gtk/gtk-2.10.defs (gtk_status_icon_set_from_pixbuf): Allow pixbuf
	to be None
	(gtk_status_icon_set_tooltip): Allow tooltip_text to be None
	(print_run_page_setup_dialog): Allow parent to be None.

	* gtk/gtk.override (_wrap_gtk_recent_manager_add_full): is_private
	should be a boolean.

	* gtk/gtk-2.10-types.defs:  Add RecentChooser and
	PrintOperationPreview implements interface notations

2006-06-25  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* codegen/argtypes.py (ArgMatcher.register_enum,
	(ArgMatcher.register_flag): Use IntArg to handle enums and flags
	with no typecode.  This is to avoid the compiler warning
	"dereferencing type-punned pointer will break strict-aliasing
	rules" when converting enums or flags with no typecode.
	(EnumArg.enum): Typecast to gpointer, not gint*, to avoid gcc type
	punning warnings.
	(FlagsArg.flag): idem.

	* codegen/codegen.py (SourceWriter.write_enums): Typecast second
	 argument of PyModule_AddIntConstant to
	 (char*) to avoid const warning on python < 2.5.

2006-06-25  John Finlay  <finlay@moeraki.com>

	* gtk/gtkwidget.override (_wrap_gtk_widget_class_find_style_property):
	Add.

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

	* gtk/gtk.override (_wrap_gtk_print_operation_get_error):
	g_clear_error() is called in pyg_error_check()

	* gtk/gtk-2.10.defs (gtk_print_settings_set): Allow value to be NULL.

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

	* gtk/gtk.override (_wrap_gtk_print_operation_get_error):
	s/g_error_clear/g_clear_error/.
	(_wrap_gtk_print_operation_get_error): Return the exception value,
	not just error->message, so that the programmer can consult
	error.domain and error.code in addition to error.message.

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

	* gtk/gtk.override (_wrap_gtk_print_operation_get_error): Return
	the error message if any.

2006-06-22  John Finlay  <finlay@moeraki.com>

	* gtk/gtk-2.10-types.defs (PrintOperationPreview): Identify as an
	interface.

	* gtk/gtk-2.10.defs (gtk_label_get_line_wrap_mode)
	(gtk_label_set_line_wrap_mode): Add

	* gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook):
	Fix parse tuple format.

2006-06-22  Frederic Peters  <fpeters@0d.be>

	* gtk/gtkunixprint.override (_wrap_gtk_print_job_send): update to
	latest GTK+ API change.  #345623

2006-06-20  Elijah Newren  <newren gmail com>

	* gtk/gtk-2.10.defs (get_print_to_file, set_print_to_file): remove
	these functions as the corresponding functions in gtk+ have
	recently been removed as well.  #345447

2006-06-15  John Finlay  <finlay@moeraki.com>

	* gtk/gtk.override (_wrap_gtk_notebook_set_window_creation_hook): Add.

	* gtk/gdk.override (_wrap_gdk_screen_set_font_options) 
	(_wrap_gdk_screen_set_font_options): Add.

	* gtk/gtk-base.defs (accel_group_from_accel_closure): Remove duplicate.

	* gtk/gdk.override (gdk_atom_intern_static_string): Ignore

2006-06-15  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.in: Post-release version bump.

=== 2.9.2 ===
2006-06-15  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* examples/pygtk-demo/demos/print_editor.py: Update example to
	API changes a couple of weeks ago.

	* NEWS: Update.

	* gtk/gtk-2.10.defs (target_list_add_rich_text_targets): Remove
	"(of-object "GtkTargetList")", which is not valid for functions.

	* gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb):
	PycairoSurface_FromSurface API breakage happened since pycairo
	1.1.6, not 1.1.7.  Fixes #344957.

2006-06-14  John Finlay  <finlay@moeraki.com>

	* gtk/gtktextview.override (_wrap_gtk_text_buffer_serialize) 
	(_wrap_gtk_text_buffer_register_deserialize_format) 
	(_wrap_gtk_text_buffer_register_serialize_format) 
	(_wrap_gtk_text_buffer_get_serialize_formats) 
	(_wrap_gtk_text_buffer_get_serialize_formats): Add.

	* codegen/argtypes.py (arg): Match const-guint8* as UCharArg

	* gtk/gtktextview.override (_wrap_gtk_text_buffer_deserialize) 
	(_wrap_gtk_text_buffer_deserialize): Add.

2006-06-14  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* codegen/defsparser.py (IncludeParser.include): Fix a small typo
	that caused bug #344845.

2006-06-14  John Finlay  <finlay@moeraki.com>

	* gtk/gtktextview.override
	(_wrap_gtk_text_buffer_get_copy_target_list) : Add,

	* gtk/gtk.override (_wrap_gtk_drag_dest_find_target) 
	(_wrap_gtk_drag_dest_get_target_list) 
	(_wrap_gtk_drag_dest_set_target_list, _wrap_gtk_drag_begin) 
	(_wrap_gtk_drag_source_get_target_list) 
	(_wrap_gtk_drag_source_set_target_list) 
	(_wrap_gtk_target_list_add_text_targets) 
	(_wrap_gtk_target_list_add_image_targets) 
	(_wrap_gtk_target_list_add_uri_targets) 
	(_wrap_gtk_target_list_add_rich_text_targets):
	Use pygtk_target_list_from_sequence and pygtk_target_list_to_list.

	* gtk/gtkobject-support.c (pygtk_target_list_from_sequence) 
	(pygtk_target_list_to_list): Add.

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

	* gtk/gtk-2.10.defs (gtk_tree_view_set_search_entry): Allow entry arg
	to default to None.

	* gtk/gtktreeview.override
	(_wrap_gtk_tree_view_set_search_position_func): Add.

	* gtk/gtk-2.10.defs (gtk_target_list_add_rich_text_targets): Change
	to function.

	* gtk/gtk.override (_wrap_gtk_target_list_add_rich_text_targets): Add.

2006-06-14  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.in: Post-release version bump.

=== 2.9.1 ===
2006-06-14  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* codegen/defsparser.py (IncludeParser.include),
	* codegen/codegen.py (main): Add a -I option to specify a path to
	search for .defs files.

	* gtk/Makefile.am (CREATEDEFS): Use $(top_srcdir) to find
	createdefs.py.
	(gtk.c): gtk.c depends also on gdk-types.defs.
	(EXTRA_DIST): Add gtk-extrafuncs.defs.

	* codegen/Makefile.am (EXTRA_DIST): Add createdefs.py.

2006-06-13  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtkmodule.c (pygtk_add_extra_constants): Don't add
	GTK_PAPER_* constants with gtk+ 2.8.

	* gtk/gtkunixprint.override (pygtk_print_job_complete_func_cb):
	Make it conditionally compile with both pycairo >= 1.1.7 and
	earlier versions.

	* configure.in: Explicitly require pycairo for module pangocairo.
	Minimum pycairo version changed back to 1.0.2.

	* NEWS: Updated.

	* gtk/gdkcairo.override (_wrap_gdk_cairo_rectangle): Make
	gdk.CairoContext.rectangle() also accept (x, y, width, height)
	parameters to avoid violating the Liskov substitution principle,
	since it redefines cairo.Context.rectangle() with a different
	signature.

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

	* gtk/gtk.override (_wrap_gtk_menu_popup): Improve anti-leak code.
	(_wrap_gtk_init_check, _wrap_gtk_init_check): Ignore.

	* gtk/pygtk-private.h: Add. pygdk_atom_vector_from_sequence

	* gtk/gtkobject-support.c (pygdk_atom_vector_from_sequence): Add.

	* gtk/gtk.override (_wrap_gtk_targets_include_rich_text) 
	(_wrap_gtk_targets_include_uri, _wrap_gtk_targets_include_text) 
	(_wrap_gtk_targets_include_image): Add.

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

	* gtk/gtkstyle.override (_wrap_gtk_style_lookup_color): Add.

	* gtk/gtk-2.10-types.defs (enum TreeViewGridLines): Add.

	* gtk/gtk-2.10.defs (gtk_tree_view_set_enable_tree_lines) 
	(gtk_tree_view_get_enable_tree_lines, gtk_tree_view_set_grid_lines)
	(gtk_tree_view_get_grid_lines, gtk_tree_view_grid_lines_get_type) 
	(gtk_print_operation_action_get_type): Add.

	* gtk/gtk.override (_wrap_gtk_status_icon_position_menu)
	(_wrap_gtk_status_icon_position_menu): Add.
	(_wrap_gtk_menu_popup): Recode to support passing
	gtk.status_icon_position_menu as a position function while maintaining
	backward compatibility.

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

	* gtk/gtk.override (_wrap_gtk_recent_manager_get_items) 
	(_wrap_gtk_recent_manager_add_full): Add.

	* gtk/gtktreeview.override (gtk_tree_store_insert_with_values)
	(gtk_tree_store_insert_with_valuesv): Ignore

	* gtk/gtk.override (_wrap_gtk_size_group_get_widgets): Fix bug.
	(_wrap_gtk_recent_filter_add_custom) 
	(_wrap_gtk_recent_filter_filter): Add.

	* gtk/gtk-2.10.defs (register_serialize_tagset) 
	(register_deserialize_tagset): Allow NULL tagset_name arg.

	* gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new): Note as
	new-constructor.
	(_wrap_gtk_size_group_get_widgets): Add.

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

	* gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager) 
	(recent_chooser_widget_new_for_manager): Use new object constructor.

2006-06-11  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* configure.in: Check for the X11 GDK target.

	* gtk/gdk.override: Don't ignore gdk_x11_* any more.

	* gtk/gdk-2.10.defs: Add x11 specific functions, scanned from
	gdkx.h, corrected (function->method), and made conditionally
	compile only on the X11 GDK target.

	* gtk/gdk-base.defs: Removed x11 specific functions added by johan
	after 2.8 (re-added in gdk-2.10.defs).

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

	* gtk/gtk-2.10.defs (gtk_recent_chooser_menu_new_for_manager)
	(recent_chooser_widget_new_for_manager): : Set
	as constructor and allow manager param to default to None.

	* gtk/gtk.override (_wrap_gtk_recent_chooser_dialog_new) 
	(_wrap_gtk_recent_info_get_application_info) 
	(_wrap_gtk_recent_info_get_groups) 
	(_wrap_gtk_recent_info_get_applications) 
	(_wrap_gtk_recent_chooser_set_sort_func) 
	(_wrap_gtk_recent_chooser_list_filters): Add.
	(gtk_print_error_quark, gtk_recent_chooser_error_quark)
	(gtk_recent_chooser_dialog_new_for_manager)
	(gtk_recent_chooser_menu_new)
	(gtk_recent_chooser_widget_new, gtk_recent_manager_error_quark): Ignore

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

	* gtk/gtk.override (_wrap_gtk_recent_chooser_get_items) 
	(_wrap_gtk_recent_chooser_get_uris): Add.

	* gtk/gtkiconview.override (_wrap_gtk_icon_view_selected_foreach):
	Fix leaks.

	* gtk/gtktextview.override (_wrap_gtk_text_tag_table_foreach):
	Fix leaks.

	* gtk/gtk.override (_wrap_gtk_print_settings_foreach)
	(_wrap_gtk_print_settings_set_page_ranges)
	(_wrap_gtk_print_settings_get_page_ranges): Add.

	* gtk/gtk-2.10.defs (gtk_button_set_image_position)
	(gtk_button_get_image_position, gtk_print_context_set_cairo_context)
	(gtk_print_operation_set_track_print_status)
	(gtk_print_operation_set_show_progress)
	(gtk_print_operation_set_allow_async)
	(gtk_print_operation_set_custom_tab_label)
	(gtk_print_operation_get_error, gtk_print_operation_cancel
	(gtk_status_icon_get_geometry): Add.
	(gtk_print_operation_set_default_page_setup)
	(gtk_print_operation_set_print_settings): Allow default NULL arg.

	* gtk/gtk-2.10-types.defs: Add PrintOperationPreview, RecentFilter,
	RecentInfo. Sync enums.

2006-06-08  Frederic Peters  <fpeters@0d.be>

	* configure.in, gtk/gtkunixprint.override: Updated pycairo dependencies
	from 0.5.0 to 1.1.7 since PycairoSurface_FromSurface signature changed.

	* gtk/gtk-2.10-types.defs, gtk/gtk-2.10.defs: Updated to new GTK+
	Printing API changes.

2006-06-06  John Finlay  <finlay@moeraki.com>

	* gtk/gtkunixprintmodule.c (initunixprint):
	Add pygtkunixprint_add_constants() call.

	* gtk/gtkunixprint.defs: 
	* gtk/gtkunixprint.override: Add files for unixprint module.

	* gtk/Makefile.am: Add support for gtk.unixprint module.

	* configure.in: Add support for gtk.unixprint module.

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

	* gtk/gtk-base.defs (set_mnemonic_widget): Allow widget to be null

2006-06-05  John Finlay  <finlay@moeraki.com>

	* gtk/gtk-2.10.defs (paper_size_new): Allow name to default to None.

	* gtk/gtkmodule.c (pygtk_add_extra_constants): Add GTK_PAPER_NAME
	constants.

2006-06-04  John Finlay  <finlay@moeraki.com>

	* gtk/gtk.override (gtk_paper_size_free): Ignore

	* gtk/gtk-2.10.defs (gtk_message_dialog_set_image): Add.

	* gtk/gtk.override (_wrap_gtk_link_button_set_uri_hook): Add.

	* gtk/gtk-2.10.defs (input_shape_combine_mask): Allow shape_mask
	to be None.
	(gtk_link_button_new_with_label): Set as constructor for GtkLinkButton.
	Allow label param to default to None.

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

	* pango.override (_wrap_pango_tab_array_get_tabs): Fix two
	leaks found by coverity.

2006-06-04  John Finlay  <finlay@moeraki.com>

	* gtk/gtk-2.10.defs (drag_dest_set_track_motion) 
	(drag_dest_get_track_motion): Change to methods of GtkWidget.

	* gtk/gtk.override (_wrap_gtk_clipboard_wait_for_rich_text) 
	(_wrap_gtk_clipboard_request_rich_text): Add.

	* codegen/argtypes.py (AtomArg.write_return): Fix leak in GdkAtom
	return.

2006-06-03  John Finlay  <finlay@moeraki.com>

	* gtk/gtk-2.10.defs (gtk_assistant_set_page_header_image)
	(gtk_assistant_set_page_side_image): Allow
	pixbuf param to be None and optional.
	(gtk_entry_set_inner_border): Allow border param to be None.

2006-06-01  John Finlay  <finlay@moeraki.com>

	* gtk/gtk.override (_wrap_gtk_assistant_set_forward_page_func): Add.

	* gtk/gdkevent.override (_wrap_gdk_event_tp_getattr): Output
	"selection" as a gdk.OWNER_CHANGE member.

2006-06-01  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gtk/gtk-2.10.defs: gtk_print_context_create_context renamed to
	gtk_print_context_create_pango_context;
	gtk_print_context_create_layout renamed to
	gtk_print_context_create_pango_layout;
	gtk_print_context_get_fontmap renamed to
	gtk_print_context_get_pango_fontmap; gtk_print_context_get_cairo
	renamed to gtk_print_context_get_cairo_context.

	* gtk/gtk.override
	(_wrap_GtkCellLayout__proxy_do_set_cell_data_func):
	s/Py_DECREF(py_ret)/Py_XDECREF(py_ret)/, thanks Paolo Borelli.

2006-05-31  John Finlay  <finlay@moeraki.com>

	* gtk/gdkdraw.override (_wrap_gdk_draw_layout_line): Add,

	* gtk/gdkcairo.override (_wrap_gdk_cairo_set_source_pixmap)
	(_wrap_gdk_cairo_region, _wrap_gdk_cairo_rectangle): Add as methods.

	* gtk/gdk-base.defs (shape_combine_region): shape_region may be None.

	* gtk/gdk.override (gdk_region_destroy): Ignore.

2006-05-26  John Finlay  <finlay@moeraki.com>

	* gtk/gtk-base.defs (set_cursor): Allow IconView.set_cursor method
	params 'cell' and 'start_editing' to be optional.
	Fixes #343039 (Ross Burton)

2006-05-20  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtk.override (_wrap_GtkCellRenderer__do_get_size): Impl.
	Fixes #339431.

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

	* pangocairo.override (_wrap_context_set_font_options): Allow
	font_options param to be None.

2006-05-20  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* examples/pygtk-demo/demos/print_editor.py (begin_print):
	s/set_nr_of_pages/set_n_pages/ (gtk api change).

2006-05-18  John Finlay  <finlay@moeraki.com>

	* gtk/gtk.override (clipboard_request_contents_cb) 
	(clipboard_clear_func, clipboard_get_func) 
	(clipboard_request_targets_cb, clipboard_request_image_cb): Fix
	reference leaks (#342114).

2006-05-17  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gtk/gtk.override (clipboard_request_text_cb): Fix reference
	leaks (#342114).

2006-05-14  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtkcontainer.override
	(_wrap_GtkContainer__proxy_do_set_child_property)
	(_wrap_GtkContainer__proxy_do_get_child_property)
	(_wrap_GtkContainer__do_set_child_property)
	(_wrap_GtkContainer__do_get_child_property): Impl.  Fixes #341641.

	* gtk/gtk.override (_wrap_GtkCellRenderer__proxy_do_get_size): Fix
	reference leak on 'self' and 'py_ret'.
	(_wrap_gtk_dialog_set_alternative_button_order): idem.

	* codegen/reversewrapper.py: Fix registration of StringReturn type
	handler; fixes #341634.

2006-05-14  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtk-2.10.defs: Updated to fix the build, because 
	- gtk_print_operation_set_nr_of_pages() changed to gtk_print_operation_set_n_pages()
	- gtk_print_settings_get_num_copies() changed to gtk_print_settings_get_n_copies()
	- gtk_print_settings_set_num_copies() changed to gtk_print_settings_set_n_copies()
	- gtk_recent_manager_add_full() no longer has a GError* parameter.

2006-05-10  Johan Dahlin  <johan@gnome.org>

	* codegen/codegen.py: Refactor a big chunk into a class with methods.

	* Makefile.am:
	* gtk/Makefile.am: Use PYCAIRO_CFLAGS

	* configure.in: Make pycairo a required dependency, make sure
	the optional Gtk+ 2.10 dependency check work and only build
	pangocairo if pycairo found and libglade if gtk can be built

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

	* examples/pygtk-demo/demos/print_editor.py,
	* examples/Makefile.am: Add Print Editor demo, originally found in
	gtk+ sources and translated to Python.

	* gtk/gtk-2.10.defs: gtk.print_run_page_setup_dialog second
	argument can be None/NULL.

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

	* gtk/gtk.override (_wrap_add_log_handlers)
	(_wrap_remove_log_handlers): Try to use
	pyg_add_warning_redirection and pyg_disable_warning_redirections
	if available.

	* pangomodule.c (initpango): idem.

	* examples/gtk/testprint.py: Add a python print demonstration,
	based on testprint.c in gtk+ sources.  It is missing a print
	dialog, though...

	* examples/Makefile.am (EXTRA_DIST): add gtk/testprint.py.

	* gtk/gtk.override: Include pycairo.
	(_wrap_gtk_print_context_get_cairo): Override to make
	gtk.PrintContext return a gtk.gdk.CairoContext object instead of a
	cairo.Context one.

	* configure.in: pycairo dependency no longer optional.

	* gtk/gtk-2.10-types.defs (PrintContext): Missing gtk.PrintContext.

	* gtk/gtk-2.10.defs: Make 'parent' parameter of
	gtk_print_operation_run optional and None acceptable.

	* gtk/gtk-2.10-types.defs: Declare type gtk.PageSetup.
	(PrintSettings): idem for gtk.PrintSettings.
	(PaperSize): Add boxed gtk.PaperSize.

	* gtk/gdk.override (_wrap_gdk_bitmap_create_from_data) 
	(_wrap_gdk_pixmap_create_from_data): Override to fix a compilation
	warning and add bounds check on the data parameter.

	* gtk/gdkcairo.override: Add explicit braces to keep gcc happy.

	* gtk/Makefile.am: Make sure the defs are regenerated when
	configure runs, due to possible changes in gtk+ 2.10 detection.
	(gtk.c): Make gtk.c depend on gdk-types.defs to force it to be
	generated early.
	(.defs.c): Remove the recursive make invocation, no longer needed.

	* gtk/Makefile.am (defs_DATA): Install gdk.defs, gtk.defs,
	gdk-types.defs, and gtk-types.defs.  Thanks Olav Vitters
	Fixes bug #340920.

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

	* codegen/createdefs.py:
	* configure.in:
	* gtk/Makefile.am:
	* gtk/gdk-2.10.defs:
	* gtk/gdk-base-types.defs:
	* gtk/gdk-base.defs:
	* gtk/gdk-types.defs:
	* gtk/gdk.defs:
	* gtk/gdk.override:
	* gtk/gtk-2.10-types.defs:
	* gtk/gtk-2.10.defs:
	* gtk/gtk-base-types.defs:
	* gtk/gtk-base.defs:
	* gtk/gtk-types.defs:
	* gtk/gtk.defs:

	Add conditional support for Gtk+ 2.10 add new api.

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

	* codegen/h2def.py (main): Add support for filtering out definies
	in existing files

	* gtk/gtk.override: Ignore a bunch of stuff

	* gtk/gtk.defs: Add deprecated, broken and unsupported API here,
	to make it easier to merge in the future

	* codegen/override.py (Overrides.__parse_override): 
	* codegen/codegen.py (main): 
	Add ignore-type statement in override

	* codegen/h2def.py: Refactor to use OOP, remove duplicated code

2006-05-01  John Ehresman <jpe@wingware.com>

	* gtk/gdk-types.defs:
	* gtk/gdk.defs:
	* gtk/gdk.override
	* gtk/gtk.defs:
	* gtk/pygtk-private.h:
	GdkRegion wrapper

2006-05-01  John Ehresman <jpe@wingware.com>

	* gtk/gtktreeview.override: Restore override for
	TreeView.get_visible_rect

2006-05-01  Yevgen Muntyan  <muntyan@tamu.edu>

	* codegen/reversewrapper.py (ReverseWrapper.generate): Missing ()
	in Py_BuildValue template string to force a tuple to be created
	even when number of retvals is one.  Reviewed by Gustavo.  Fixes
	Bug 340162 "Missing ()".

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

	* gtk/gdk.override (_wrap_gdk_event_handler_set): 
	* gtk/gdk.defs (event_handler_set): 
	Wrap gdk_event_handler_set

	* gtk/Makefile.am:
	* gtk/gdk.override:
	* gtk/gdkcairo.override:
	* gtk/gdkcolor.override:
	* gtk/gdkdraw.override:
	* gtk/gdkevent.override:
	* gtk/gdkgc.override:
	* gtk/gdkpixbuf.override:
	* gtk/gdkrectangle.override:
	* gtk/gdkwindow.override:
	* gtk/gtktoolbar.override:
	Split out a few more files

2006-04-23  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* codegen/codegen.py:
	* codegen/definitions.py:  Add support for (unblock-threads #t) in
	functions and methods, which enables the generation of
	pyg_(begin|end)_allow_threads around the C call.

	* codegen/argtypes.py (ObjectArg.write_return): Follow up on
	#169204 to add support for const-Object as return type.  This
	fixes a build problem in pygda.

2006-04-18  John Ehresman   <jpe@wingware.com>

	* setup.py: Remove support for building / installing gobject, pygtk.py,
	and dsextras.py

2006-04-16  Richard Hult  <richard@imendio.com>

	* gtk/gtkmodule.c: 
	* gtk/gtk.override: Move locale.h include from gtkmodule.c here to
	fix the build.

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

	* gtk/gtkcontainer.override (pygtk_container_for_common): 
	Set an exception and jump out (Coverity)
	
	* gtk/gtk.override (_wrap_gtk_stock_list_ids): Decref py_item
	after using it (Coverity)

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

	* gtk/__init__.py (_init): Add log handlers here
	(threads_init): Deprecated gtk.threads_*, gtk.gdk.threads_* should
	be used instead, fixes #165927 (Steve Chaplin)

	* gtk/gtk.override (_wrap_remove_log_handlers): New function,
	makes it possible to remove the handlers pygtk installs.
	Fixes #323786

	* gtk/gtkmodule.c (init_gtk): Refactor, move init_check...
	(init_gtk): Move the log handlers to gtk.override

	* gtk/gtk.override (_wrap_gtk_init_check): ..to here

	* gtk/__init__.py: Refactor, call init_check() and print warning
	if DISPLAY is not set. Fixes #316877

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

	* gtk/gtktreeview.override
	(_wrap_gtk_tree_sortable_set_default_sort_func): Allow callback 
	to be set to None, found by Patrick O'Brien

	* tests/test_liststore.py (ListStoreTest.testSetDefaultSortFunc): 
	Add test

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

	* configure.in: Post release version bump

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

	* NEWS: Update

2006-04-04  John Ehresman  <jpe@wingware.com>

    reviewed by: Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtktreeview.override:
	Make sure gtk.TreeView.cell_get_size() allows
	the usage of the in argument. Fixes #326357

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

	* codegen/codegen.py:
	Fit in 80 characters, do not use \

	* codegen/argtypes.py:
	* codegen/codegen.py:
	* codegen/definitions.py:
	* codegen/defsconvert.py:
	* codegen/defsparser.py:
	* codegen/docextract.py:
	* codegen/docextract_to_xml.py:
	* codegen/docgen.py:
	* codegen/h2def.py:
	* codegen/mkskel.py:
	* codegen/override.py:
	* codegen/reversewrapper.py:
	* examples/glade/autoconnect.py:
	* examples/gobject/editable-interface.py:
	* examples/gobject/signal.py:
	* examples/gtk/bin.py:
	* examples/gtk/filechooser.py:
	* examples/gtk/scrollable.py:
	* examples/gtk/sizegroup.py:
	* examples/gtk/uimanager.py:
	* examples/ide/edit.py:
	* examples/ide/gtkdb.py:
	* examples/ide/gtkprof.py:
	* examples/pango/pangocairo-simple.py:
	* examples/pango/utf8-demo.py:
	* examples/pygtk-demo/demos/changedisplay.py:
	* examples/pygtk-demo/demos/dnd.py:
	* examples/pygtk-demo/demos/dndpixmap.py:
	* examples/pygtk-demo/demos/entry_completion.py:
	* examples/pygtk-demo/demos/expander.py:
	* examples/pygtk-demo/demos/hypertext.py:
	* examples/pygtk-demo/demos/list_store.py:
	* examples/pygtk-demo/demos/textview.py:
	* examples/pygtk-demo/demos/tree_store.py:
	* examples/pygtk-demo/demos/treemodel.py:
	* examples/simple/dnd.py:
	* examples/simple/dndpixmap.py:
	* examples/simple/hello.py:
	* examples/simple/scribble.py:
	* examples/simple/simple.py:
	* examples/simple/tooltip.py:
	* gtk/__init__.py:
	* gtk/compat.py:
	* gtk/keysyms.py:
	* ltihooks.py:
	* setup.py:
	* tests/common.py:
	* tests/runtests.py:
	* tests/test_actiongroup.py:
	* tests/test_conversion.py:
	* tests/test_dialog.py:
	* tests/test_enum.py:
	* tests/test_gdkevent.py:
	* tests/test_liststore.py:
	* tests/test_radiobutton.py:
	* tests/test_style.py:
	* tests/testmodule.py:

	Run reindent.py on all python code.

2006-04-02  Johan Dahlin  <johan@gnome.org>

	* gtk/gdk.defs (rotate_simple): Add gdk.Pixbuf.rotate_simple,
	fixes #314164 (Karel Vervaeke)

	* examples/pygtk-demo/demos/treemodel.py:
	Check for null, so it can be used with a model filter,
	fixes #311459 (Stephen Kennedy)

	* examples/gtk/widget.py: Remove tabs fixes #325320
	(Dieter Verfaillie)

2006-04-02  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtk-types.c (PyGdkWindow_PropertyGet): Change property size
	limit from 9999 to G_MAXLONG.  Thanks Wander Boessenkool.
	Fixes #327778.

	* pango.override (_wrap_pango_layout_line_index_to_x): First
	keyword name should be index, not x_pos, as pointed out by John
	Finlay.  Fixes #316581.

	* gtk/gtk.defs: Mark gtk_tree_row_reference_free as deprecated.
	Fixes #309811.

	* gtk/gtkcontainer.override
	(_wrap_gtk_container_class_list_child_properties): Deprecate in
	favour of gtk.Container.list_child_properties.
	(_wrap_gtk_container_list_child_properties): Add
	gtk.Container.list_child_properties as classmethod.
	(_wrap_gtk_container_class_install_child_property): Deprecate in
	favour of gtk.Container.install_child_property.
	(_wrap_gtk_container_install_child_property): Add
	gtk.Container.install_child_property as clasmethod.  Fixes #308394.

	* gtk/gtktreeview.override: Remove gtk_tree_view_get_visible_rect
	duplicate override.

	* gtk/gtk.override: Make the "new-constructor
	GTK_TYPE_MESSAGE_DIALOG" declaration conditional on gtk+ >= 2.9,
	to match the contents of the constructor.

2006-04-02  Johan Dahlin  <johan@gnome.org>

	* gtk/gdk.override (_wrap_gdk_draw_indexed_image):
	wrap, Fixes #333431 (Hamish Moffatt)
	* tests/test_gdk.py (GdkTest.testDrawIndexedImage): Add test

	* gtk/gtk.defs (spin): Set default value of increment to
	1, fixes #325452 (Sebastian Rittau)

	* pango.override:
	* tests/Makefile.am:
	* tests/test_pango.py:

	Set default markup accel marker to \x00, add tests,
	Fixes #329658 (Johan Svedberg)

2006-04-02  Ben Caradoc-Davies  <ben@wintersun.org>

	reviewed by: Johan

	* examples/pygtk-demo/demos/pixbufs.py: Remove
	discontinuous motion, fixes #327931

2006-04-02  Johan Dahlin  <johan@gnome.org>


	* gtk/gtkmodule.c (init_gtk): GDK_PARENT_RELATIVE constant

	* gtk/gtk-types.c (pygtk_style_helper_setitem): Add support for
	GDK_PARENT_RELATIVE in style pixmaps.

	Fixes #320248 (Nikos Kouremenos)

2006-04-01  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* codegen/override.py (Overrides.__parse_override): Check and
	abort if a function is being overridden more than once.

2006-04-01  Rauli Ruohonen  <raulir@iki.fi>

	* codegen/codegen.py (Wrapper.write_functions): Add missing 'data'
	parameter when calling self.write_function.

	* pangocairo.override: Wrap pango_cairo_context_set_font_options
	and pango_cairo_context_get_font_options.  Fixes #328108.

	Reviewed by Gustavo Carneiro.

2006-04-01  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* codegen/codegen.py (Wrapper.write_virtuals): Use
	PyObject_GetAttrString, not PyDict_GetItemString, fixes #327715.

	* gtk/pygtk.h, gtk/gtkmodule.c: Export pygtk_tree_path_to_pyobject
	and pygtk_tree_path_from_pyobject as public APIs.  Fixes #318021.

	* codegen/argtypes.py: Add suppport for const object args.
	Patch by wollny@cbs.mpg.de, plus some additional changes for code
	style improvements and a bug fix.  Fixes #169204.

	* gtk/gtkmodule.c (_pygtk_log_func): Call g_log_default_handler
	when python isn't initialized.  Fixes #334188.

	* examples/Makefile.am (EXTRA_DIST): Ship new editable interface example.

	* examples/gobject/editable-interface.py: Add small example of
	overriding GtkEditable interface method and chaining to parent.

	* codegen/codegen.py: Bug 334986: "Make it possible to
	re-implement interfaces and chain to parent impl."

2006-04-01  Johan Dahlin  <johan@gnome.org>

	* codegen/h2def.py (proto_pat): Allow whitespace before
	last parenthesis. Fixes #317124

2006-04-01  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtk.defs (GtkSpinButton.input, GtkEditable.do_insert_text) 
	(GtkEditable.get_selection_bounds,
	GtkMenuItem.toggle_size_request): Add (direction ...) specifiers
	to these virtuals.  Probably more of these are missing, though.

	* codegen/codegen.py,
	* codegen/definitions.py,
	* codegen/reversewrapper.py:
	Add support for int* and double* (and basic infrastructure to
	support other types in the future) parameters for "reverse
	wrappers".  To use this feature one needs to help the
	codegenerator by adding (direction "out") or (direction "inout") to
	the parameter definitions as appropriate.  Fixes #335964.

2006-04-01  John Finlay  <finlay@moerari.com>

	reviewed by: Johan

	* gtk/gdk.defs:
	* gtk/gtk.defs:
	* gtk/gtk.override:
	* gtk/gtktextview.override:
	* gtk/gtktreeview.override:
	* gtk/gtkwidget.override:
	Add missing bindings, fixes #316881

2006-04-01  Johan Dahlin  <johan@gnome.org>

	* gtk/gdk.defs: Remove display_open_default_libgtk_only,
	it should not be wrapped.
	Fixes #321476

2006-04-01  Marco Cabizza  <marco87@gmail.com>

	reviewed by: Johan

	* gtk/gdk.defs:
	add gdk_screen_get_rgba_colormap and gdk_screen_get_rgba_visual,
	Fixes 328996

2006-04-01  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkmodule.c: (init_gtk):
	* pangomodule.c: (initpango):
	Set default encoding to utf-8 in pango instead of gtk.
	Fixes #328031

2006-04-01  Johan Dahlin  <johan@gnome.org>

	* Makefile.am:
	* configure.in:
	* dsextras.py:
	* gobject/Makefile.am:
	* gobject/gobjectmodule.c:
	* gobject/pygboxed.c:
	* gobject/pygenum.c:
	* gobject/pygflags.c:
	* gobject/pygiochannel.c:
	* gobject/pygmaincontext.c:
	* gobject/pygmainloop.c:
	* gobject/pygobject.c:
	* gobject/pygparamspec.c:
	* gobject/pygpointer.c:
	* gobject/pygsource.c:
	* gobject/pygtype.c:
	* gtk/Makefile.am:
	* pygtk.py:
	* tests/Makefile.am:
	Remove gobject and depend on pygobject 2.10.0

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

	* codegen/codegen.py: Mark function, methods and getsets as const.

2006-04-01  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtk.override (_wrap_gtk_message_dialog_new): Add missing
	"new-constructor GTK_TYPE_MESSAGE_DIALOG" codegen declaration.

	* codegen/codegen.py: Add support for docstrings in .defs.  To use
	it, add (docstring "foo bar") to class, function or method
	definitions.  Fixes bug #322843.

	* pangocairomodule.c (initpangocairo): Fix compiler warning.

	* m4/python.m4: Fix "underquoted definition of AM_CHECK_PYMOD" warning.

	* gtk/gtk.override (_wrap_gtk_message_dialog_new): On gtk+ 2.9,
	fix constructor to allow subclassing.  Fixes bug #312056.

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

	* configure.in: Post release version bump

=== PyGTK 2.8.5 ===
2006-03-30  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update.

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

	* tests/test_dialog.py (MessageDialogTest.testDialogLeak): Add
	test for bug #332771.

	* tests/test_actiongroup.py (ActionGroupTest.timeout_cb): Use
	self.assertEqual instead of plain assert.

	* gtk/gtk.override (gtk_dialog_new_with_buttons): Remove one too
	many g_object_ref.  Fixes Bug 332771: "gtk.Dialog leak".

2006-02-20  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gtk/gdkcairo.override: Don't raise an exception if pangocairo
	import fails, since in this case python itself had already raised
	another exception with more information.

2006-02-14  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkclist.override (_wrap_gtk_clist_new_with_titles): Fix typos,
	found by Padraig Brady

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

	* gtk/__init__.py (_is_pydoc): Do not print the deprecation warning
	if we're running under pydoc.

2006-01-26  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* examples/pygtk-demo/demos/pixbufs.py (PixbufsDemo.expose_cb):
	Remove the "FIXME: draw_rgb_image_dithalign seems not to be
	available" comment.

	* gtk/gdk.override (_wrap_gdk_draw_rgb_image): Add comment
	explaining why we always call gdk_draw_rgb_image_dithalign instead
	of gdk_draw_rgb_image.
	(_wrap_gdk_draw_gray_image): idem.

2006-01-21  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtk.defs (cell_view_new_with_text): Add
	caller-owns-return to fix a reference leak.
	(cell_view_new_with_markup): idem.
	(cell_view_new_with_pixbuf): idem.
	(combo_box_new_text): idem.
	(combo_box_entry_new_with_model): idem.
	(combo_box_entry_new_text): idem.
	(expander_new_with_mnemonic): idem.
	(file_chooser_button_new_with_backend): idem.
	(file_chooser_button_new_with_dialog): idem.
	(file_chooser_widget_new_with_backend): idem.
	(gtk_font_button_new_with_font): idem.
	(icon_set_new): idem.
	(gtk_icon_view_new_with_model): idem.
	(gtk_menu_tool_button_new_from_stock): idem.
	(toggle_tool_button_new_from_stock): idem.
	(tool_button_new_from_stock): idem.

	* gtk/gdk.defs (pixbuf_loader_new_with_mime_type): Add
	caller-owns-return to fix a reference leak.

2006-01-20  John Ehresman <jpe@wingware.com>

	* gtk/gdk.override (_wrap_gdk_window_new): Bump ref count
	on x11 so destroy() works as expected

	* tests/test_gdk.py: test for the above

2006-01-19  Johan Dahlin  <jdahlin@async.com.br>

	* examples/Makefile.am:
	Install examples
	
	* examples/gtk/widget.py:
	Call unrealize too
	
	* examples/gtk/scrollable.py: 
	Add example of a scrollable widget

2006-01-15  Christopher Aillon  <caillon@redhat.com>

	* gobject/gobjectmodule.c (pyg_strv_to_gvalue):
	Don't call g_value_init since the other *_to_gvalue
	methods expect an already inited GValue

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

	* configure.in: Post release version bump

=== PyGTK 2.8.4 ===
2006-01-11  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update.

	* Makefile.am: Only install pygtk.pth if we're building gobject.

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

	* gtk/gtk-types.defs (IconView): should implement gtk.CellLayout

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

	* Makefile.am,
	* configure.in,
	* gtk/Makefile.am,
	* tests/Makefile.am: Fix pygobject check; Add external pygobject
	include dir to include path instead of the internal one if
	compiling with pygobject 2.9.

	* Makefile.am: Don't build or install gobject bindings if
	pygobject >= 2.9 was found.

	* configure.in: Check for pygobject 2.9; create an AM conditional
	based on it.

=== PyGTK 2.8.3 ===
2006-01-04  Cedric Gustin  <cedric.gustin@gmail.com>

	* dsextras.py (Template.generate): Pass GLOBAL_MACROS (in
	particular HAVE_PYCAIRO) to codegen DefsParser.
	* setup.py: If pangocairo is enabled, add pycairo to the list of
	packages required to build the GTK+ module. Also set HAVE_PYCAIRO.

2005-12-24  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/pygflags.c (pyg_flags_add): Tolerate module == NULL,
	which may happen when called from pyg_flags_from_gtype if a
	wrapper for the GFlags was not registered.

2005-11-15  Johan Dahlin  <johan@gnome.org>

	* gobject/pygobject.c (pygobject_new_with_interfaces): We always
	need to free interfaces since its a null terminated array.

2005-11-13  Johan Dahlin  <johan@gnome.org>

	* gobject/gobjectmodule.c (pyg_type_register): Remove deprecation
	warning.
	
2005-11-13  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtk.defs (gtk_image_new_from_stock)
	(gtk_image_new_from_icon_set, image_new_from_animation)
	(gtk_image_new_from_icon_name)
	(gtk_radio_menu_item_new_from_widget)
	(gtk_radio_menu_item_new_with_mnemonic_from_widget)
	(gtk_radio_menu_item_new_with_label_from_widget): Add missing
	"(caller-owns-return #t)" -- fixes mem leaks.

2005-11-12  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gdk.override (_wrap_gdk_pixbuf_animation_iter_advance):
	Missing g_object_unref(ret), since caller owns the return value.

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

	* examples/gtk/sizegroup.py: New example.

2005-11-09  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* gobject/pygobject.c (CHECK_GOBJECT): Use %p formatter instead of 0x%x.

	* gobject/pygobject-private.h (pyg_gil_state_ensure)
	(pyg_gil_state_release): Sync these macro definitions with the
	version in pygobject.h, i.e. don't call pygobject API
	replacements, call the Python API directly.

	* tests/Makefile.am (tests): Add test_glade.py.

	* tests/test_glade.py: Add this file which was missing from CVS.

	* gtk/gtk.defs (gtk_widget_render_icon): Add missing
	"(caller-owns-return #t)" to plug a leak.

2005-11-03  Manish Singh  <yosh@gimp.org> 

	reviewed by: Johan Dahlin  <jdahlin@async.com.br>

	* gobject/gobjectmodule.c: (pyg_integer_richcompare):
	* gobject/pygenum.c: (pyg_enum_richcompare):
	* gobject/pygflags.c: (pyg_flags_richcompare):
	* gobject/pygobject-private.h:
	Prepare for Python 2.5 richcompare changes, fixes #320455.

2005-11-02  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/__init__.py: Remove '' from sys.path if it was added by
	PySys_SetArgv in init_gtk.

2005-10-15  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gtk/gtkobject-support.c (pygtk_custom_destroy_notify): Add
	g_return_if_fail to catch user_data == NULL.

	* gtk/gtktreeview.override (pygtk_set_search_equal_func_marshal):
	Add some NULL parameter checks.  Use PyObject_IsTrue instead of
	comparing agains PyTrue.

2005-10-14  Johan Dahlin  <jdahlin@async.com.br>

	* tests/Makefile.am (tests): 
	* tests/test_gdk.py: Add test

	* gtk/gdk.defs (pixmap_create_from_data)
	(bitmap_create_from_data): use guchar* instead of gchar,
	fixes #318874 (Bob Gibbs)

2005-10-09  Johan Dahlin  <jdahlin@async.com.br>

	* configure.in: post release version bump

=== PyGTK 2.8.2 ===
2005-10-04  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update

2005-10-09  Johan Dahlin  <johan@gnome.org>

	* gobject/pygiochannel.c: (pyg_iowatch_marshal):
	Use GIL state instead of block/unblock. Fixes crasher found
	by Ole Andre Valda RavnÄs.

2005-10-04  Johan Dahlin  <jdahlin@async.com.br>

	* configure.in: post release version bump

=== PyGTK 2.8.1 ===
2005-10-04  Johan Dahlin  <jdahlin@async.com.br>

	* NEWS: Update

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

	* gobject/pygobject.c: (PyGProps_length):
	* gtk/gdk.defs:
	* gtk/gdk.override:
	* gtk/gtk.defs:
	* gtk/gtk.override:
	Fix gcc 4.0 warnings.

2005-10-02  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/test_properties.py (PropertyObject.__gproperties__)
	(PropertyObject.do_get_property, PropertyObject.do_set_property)
	(TestProperties.testUint64): Add guint64 property test case, by
	Johan Dahlin.

	* gobject/pygtype.c (pyg_value_from_pyobject): Accept conversion
	from PyInt (not just PyLong) to guint64.
	(_wrap_g_type_wrapper__get_children): Fix sign/unsigned warning.
	(_wrap_g_type_wrapper__get_interfaces): idem.
	(pyg_value_from_pyobject): idem.

2005-10-01  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/test_subtype.py (TestSubType.testGObjectNewError): Add new
	test for the bug below.

	* gobject/gobjectmodule.c (pyg_object_new): don't unref/sink obj
	if it is NULL.

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

	* gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name),
	(pyg_type_parent), (pyg_type_is_a), (pyg_type_children),
	(pyg_type_interfaces): Undeprecate for now.

2005-09-28  Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>

	* tests/Makefile.am (tests): Add test_textview.py.

	* tests/test_textview.py: Test gtk.TextView.get_default_attributes().

	* gtk/gtktextview.override
	(_wrap_gtk_text_view_get_default_attributes): Override to
	workaround gtk bug #317455.

	* pangomodule.c (initpango): Fix values of pango.SCALE_X_LARGE and
	pango.SCALE_XX_LARGE.

2005-09-25  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* tests/Makefile.am (EXTRA_DIST): Add leak.glade.

	* tests/test_glade.py: Test case for the leak below.

	* gtk/libglade.override (connect_many): Fix a reference leak in 'tuple'.

2005-09-22  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/gobjectmodule.c: (pyg_type_from_name):
	* gobject/pygobject.c: (pygobject_connect),
	(pygobject_connect_after), (pygobject_connect_object),
	(pygobject_connect_object_after), (pygobject_emit),
	(pygobject_stop_emission):
	Include the object and the name of the signal in TypeErrors

2005-09-20  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk.defs (Entry.set_completion): Add null-ok

2005-09-16  John Ehresman  <jpe@wingware.com>

	* gtk/gdk.override (_wrap_gdk_event_tp_setattr): Allow subwindow
	to be set for enter & leave notify events.

2005-09-16  John Ehresman  <jpe@wingware.com>

	* gobjectmodule.c (initgobject): Add gobject.Warning Warning subclass
	and redirect all g_log messages for the "GLib", "Glib-GObject", and 
	"GThread" domains to the python warning system

	* pangomodule.c (initpango): Add pango.Warning Warning subclass
	and redirect all g_log messages for the "Pango" domain to the 
	python warning system

	* gtkmodule.c (initgtk): Move gtk Warning subclass from the gdk
	module to the gtk module and added redirections for g_log messages 
	for the "Gdk" and "GdkPixbuf" domains to the python warning system

	* gtk/__init__.py: Set gdk.Warning = gtk.Warning for backward
	compatibility

2005-09-13  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gdk.defs:
	* gtk/gtk.defs:
	* gtk/gtk.override:
	* gtk/gtktextview.override:
	* gtk/gtktreeview.override:
	* gtk/gtkwidget.override:

	Revert Johns latest commit.

2005-09-13  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (add_properties): Append extra
	information to the exception value strings to help contextualize
	any errors that occur while registering properties.

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

	* gtk/gdk.defs (set_urgency_hint): Add.

	* gtk/gtktreeview.override (_wrap_gtk_tree_view_get_visible_range):
	Add.

	* gtk/gtk.defs (set_drag_dest_item): Allow path to be None.
	(get_visible_range): Add.

2005-09-05  John Finlay  <finlay@moeraki.com>

	* gtk/gtk.defs (set_cursor): Allow cell to be None

	* gtk/gtkwidget.override (_wrap_gtk_drag_source_set_icon_name1): Add.

	* gtk/gtk.defs (gtk_drag_source_set_icon_name): Add as a widget method
	and deprecate function gtk.drag_source_set_icon_name.

	* gtk/gdk.defs (set_icon_name): Add.

	* gtk/gtktextview.override (_wrap_gtk_text_view_get_iter_at_position):
	Add.

	* gtk/gtk.override (_wrap_gtk_clipboard_request_image): Add.

	* gtk/gtk.defs (gtk_alternative_dialog_button_order)
	(gtk_clipboard_request_image, gtk_clipboard_wait_for_image)
	(gtk_clipboard_set_image, gtk_clipboard_wait_is_image_available)
	(drag_source_add_iamge_targets, drag_source_add_uri_targets):
	Add defs.

2005-09-02  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/pygparamspec.c (pyg_param_spec_getattr): Sort all attributes
	alphabetically, like python does. Set default value to None
	(pyg_param_spec_getattr): Add default_values fallback, for backwards
	compatibility.

2005-09-02  Gustavo J. A. M. Carneiro  <gjc@gnome.org>

	* gobject/gobjectmodule.c (_wrap_pyg_type_register): Don't crash
	when registering non-types.

	* tests/test_subtype.py: Test registering non-types raises
	TypeError.

	Fixes #315100: "gobject.type_register crashes if parameter is not
	a type."

2005-09-02  Johan Dahlin  <jdahlin@async.com.br>

	* gobject/gobjectmodule.c: (pyg_signal_list_names):
	Also include interfaces, fixes #315038

2005-09-02  Johan Dahlin  <jdahlin@async.com.br>

	* configure.in: post release version bump

	* Changelog.pre-2-8: Move old changelog