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
|
2005-07-25 Johan Dahlin <jdahlin@async.com.br>
* tests/test_subtype.py:
* tests/testhelpermodule.c: (test_type_get_type),
(_wrap_get_unknown), (_wrap_test_g_object_new), (inittesthelper):
Clean up tests, we don't need a C binding to access tp_basicsize,
clean up the C tests, quite a bit aswell.
2005-07-22 Johan Dahlin <johan@gnome.org>
* gtk/Makefile.am:
* gtk/gtk-fake-win32.c:
* gtk/gtk.override:
* setup.py:
GtkPlug & GtkSocket is now available on win32, so remove hacks.
2005-07-22 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Post release version bump
=== PyGTK 2.7.1 ===
2005-07-22 Johan Dahlin <jdahlin@async.com.br>
* NEWS:
* README:
* configure.in: Update requirements
* tests/test_radiobutton.py (RadioToolButtonTest): Re-enable
* tests/test_dialog.py (MessageDialogTest.testSubclass): Add tests, for
#311226.
2005-07-22 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/pygobject.c (pygobjectmeta_register): Don't
automatically register gtype if neither one of __gtype_name__,
__properties__, or __gsignals__ is defined in the class
dictionary. Fixes #311226.
2005-07-17 Johan Dahlin <johan@gnome.org>
* gobject/pygobject.c: (pygobject_new_full), (pygobject_dealloc),
(pygobject_clear):
* gtk/gdk.override:
* gtk/gtk-types.c: (_pygtk_style_helper_new),
(pygtk_style_helper_dealloc), (pygtk_style_helper_setitem),
(pygtk_tree_model_row_dealloc),
(pygtk_tree_model_row_iter_dealloc):
* gtk/gtk.override:
* gtk/gtkwidget.override:
We have atomic ref counting in glib now, remove block/unblocking
around reference counting.
* gobject/pygobject.h:
* gobject/gobjectmodule.c (pyg_gil_state_ensure_py23)
(pyg_gil_state_release_py23): Remove pre python 2.3.5 compatibility.
Simplifies thread handling.
* configure.in: Require glib/gtk+ 2.7.3
* gtk/gtk.defs (get_model, set_do_overwrite_confirmation)
(get_do_overwrite_confirmation, queue_resize, get_visible_range): Add
* gtk/gtk-types.defs (FileChooserError): Add.
2005-07-15 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (create_property):
Allow enums to be specified in the constructor
* gobject/pygparamspec.c: (pyg_param_spec_getattr):
Return flags or enum object for pspec.default_value
* tests/test_enum.py: Remove usage of assert statement,
add default_value test, both for flags and enum
2005-07-10 Johan Dahlin <johan@gnome.org>
* configure.in: Post release version bump
=== PyGTK 2.7.0 ===
2005-07-10 Johan Dahlin <johan@gnome.org>
* configure.in: Bump glib/gtk+ requirements
* NEWS: Updated
* README: Updated
2005-07-10 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/pygiochannel.c (py_io_channel_win32_poll)
(py_io_channel_win32_make_pollfd): Change to use the new PyGPollFD
type instead of tuples.
* gobject/pygsource.c (pyg_poll_fd_dealloc): Change DECREF to
XDECREF on self->fd_obj. Moved PyGPollFD structure into
pygobject-private.h, to make it accessible from pygiochannel.c.
2005-07-10 Johan Dahlin <johan@gnome.org>
* gtk/gtkwidget.override (_wrap_gtk_widget_set_set_scroll_adjustments_signal)
(_wrap_gtk_widget_set_set_scroll_adjustments_signal): Impl.
Patch by Gustavo, fixes #155679
* tests/test_signal.py (TestOldStyleOverride):
Add unittests. Lazy Gustavo.
* gtk/gtkwidget.override (_wrap_gtk_widget_list_accel_closures):
Remove until we decide what we should return.
* gobject/pygobject.c: (PyGProps_setattro),
(pygobject_set_property):
* tests/test_properties.py:
Raise an exception if a construct only property is set after
construction time. Refactor property setting code and add some
more tests.
2005-07-10 Manish Singh <yosh@gimp.org>
* gobject/pygobject-private.h
* gobject/gobjectmodule.c
* gobject/Makefile.am
* gobject/pygsource.c: GSource wrapper, allows for pure python
GSource implementations, as well as objectifying Idle and Timeout
sources.
* tests/Makefile.am
* tests/test_source.py: Add test for the above.
* gobject/gobjectmodule.c: timeout_add should take an explicit
unsigned value. Also wrap g_get_current_time and g_main_depth.
* gobject/pygiochannel.c (py_io_channel_write_chars): fix thread
unblock/block logic.
2005-07-10 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gdk.defs,
* gtk/gdk.override (cairo_surface_create_for_pixbuf): Add utility
function cairo_surface_create_for_pixbuf, copy-pasted from
pycairo (cairo/cairogtkmodule.c).
* codegen/override.py (Overrides),
* codegen/codegen.py (Wrapper.get_methflags): Add support for
static/classmethod and METH_O overrides.
2005-07-09 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkwidget.override (_wrap_gtk_widget_list_accel_closures): Impl.
* gtk/gtk.defs: Remove gtk_ prefix on a couple of (unwrapped) functions
* gtk/gtk-types.defs:
(IconViewDropPosition, PackDirection): Add.
* gtk/gtkiconview.override:
(_wrap_gtk_icon_view_enable_model_drag_dest)
(_wrap_gtk_icon_view_enable_model_drag_source)
(_wrap_gtk_icon_view_get_dest_item_at_pos)
(_wrap_gtk_icon_view_get_drag_dest_item)
(_wrap_gtk_icon_view_get_cursor)
(_wrap_gtk_icon_view_get_visible_range)
(_wrap_gtk_icon_view_get_item_at_pos): Impl.
2005-07-09 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* codegen/codegen.py:
* codegen/definitions.py:
* gobject/gobjectmodule.c: (pygobject_init_wrapper_set),
(pygobject_init_wrapper_get), (pygobject__g_instance_init),
(pyg_type_register), (pyg_object_new), (pygobject_constructv),
(pygobject_construct), (pyg_set_object_has_new_constructor),
(initgobject):
* gobject/pygobject-private.h:
* gobject/pygobject.c: (pygobject_new_full), (pygobject_new),
(pygobject_init):
* gobject/pygobject.h:
* gtk/gtk.override:
* tests/Makefile.am:
* tests/runtests.py:
* tests/test_properties.py:
* tests/test_subtype.py:
* tests/testhelpermodule.c: (py_label_get_type),
(test_type_get_type), (_wrap_create_test_type),
(_wrap_test_g_object_new):
* tests/testmodule.py:
Bug 161177: Allow creation of python classes from g_object_new.
2005-07-09 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkcontainer.override: Implement tp_iter and
tp_as_sequence.sq_length.
2005-07-09 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/pygobject.c: Correct ob_size and tp_basicsize mixup in
PyGProps[Iter].
2005-07-08 Johan Dahlin <jdahlin@async.com.br>
* configure.in:
* gtk/Makefile.am:
* gtk/gdk-types.defs:
* gtk/gdk.defs:
* gtk/gdk.override:
* gtk/gtk.defs:
* pango-types.defs:
* pango.defs:
Merge new Gdk & Gtk API. pango.Renderer and functions/methods also
added. Bump required glib,gtk & pango versions.
2005-07-08 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (initgobject):
* gobject/pygobject-private.h:
* gobject/pygobject.c: (pyg_props_iter_dealloc),
(pygobject_props_iter_next), (PyGProps_dealloc),
(build_parameter_list), (PyGProps_getattro), (PyGProps_setattro),
(pygobject_props_traverse), (pygobject_props_get_iter),
(PyGProps_length), (pyg_props_descr_descr_get):
* tests/Makefile.am:
Add GObject support, patch mostly based on Iņaki and Gustavos work.
Unittests added, fixes #81879
2005-07-07 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (initgobject):
* gobject/pygobject-private.h:
* gobject/pygobject.h:
* gobject/pygtype.c: (pyg_type_lookup),
(pyg_register_gtype_custom), (pyg_value_from_pyobject),
(pyg_value_as_pyobject):
Rename pyg_register_boxed_custom to pyg_register_gtype_custom.
Add note about private fields in exported API structure.
Based on patch by Edward Hervey, fixes #309625
2005-07-05 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), (get_type_name_for_class), (initgobject):
* gobject/pygtype.c: (_wrap_g_type_is_a), (pyg_type_wrapper_init):
* tests/test_enum.py:
* tests/test_gtype.py:
* tests/test_unknown.py:
Add GType.is_a and deprecate gobject.type_*
Update tests
and make GType.is_a/gobject.type_is_a return a bool instead of int
2005-07-05 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (_wrap_pyg_type_register),
(get_type_name_for_class), (pyg_type_register):
* gobject/pygobject-private.h:
* gobject/pygobject.c: (pygobjectmeta_register),
(pygobjectmeta_init):
* tests/test_gtype.py:
Add support for specifying name for a GObject subclass,
using __gtype_name__. Add a unittest. Fixes #169498
2005-07-04 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (initgobject): Add GType to gobject
namespace
* gobject/pygtype.c: (_wrap_g_type_wrapper__get_pytype),
(_wrap_g_type_wrapper__get_name),
(_wrap_g_type_wrapper__get_parent),
(_wrap_g_type_wrapper__get_fundamental),
(_wrap_g_type_wrapper__get_children),
(_wrap_g_type_wrapper__get_interfaces),
(_wrap_g_type_wrapper__get_depth), (_wrap_g_type_is_interface),
(_wrap_g_type_is_classed), (_wrap_g_type_is_instantiatable),
(_wrap_g_type_is_derivable), (_wrap_g_type_is_deep_derivable),
(_wrap_g_type_is_abstract), (_wrap_g_type_is_value_abstract),
(_wrap_g_type_is_value_type), (_wrap_g_type_has_value_table),
(_wrap_g_type_from_name):
Wrap a number of GType utility functions
2005-07-04 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (pyg_object_new):
* tests/test_conversion.py:
Use pyg_param_gvalue_from_pyobject in gobject.new, fixes
unichar parameters specified from the constructor.
Added unittests.
2005-07-02 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gtk/gtkmodule.c (init_gtk): Check for cairo module import
failure.
* pangocairomodule.c (initpangocairo): Check for cairo module
import failure.
Fri Jul 1 18:51:15 PDT 2005 Manish Singh <yosh@gimp.org>
* gobject/pygmaincontext.c: unref the underlying GMainContext upon
object destruction. Some minor cleanups as well.
2005-07-01 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygtype.c: Extend to add some new fields, add a getter
for GType.type, which points to the python registered type
of a PyGTypeWrapper.
* gobject/gobjectmodule.c (initgobject): And register PyGTypeWrapper,
a side effect is that dir(gtype) also works now.
2005-06-27 John Finlay <finlay@moeraki.com>
* gtk/gtk.override (_wrap_gtk_file_chooser_dialog_new)
(_wrap_gtk_dialog_new): Allow defaults to be specified explicitly to
the constructor. Fixes #309108 (Steve Chaplin)
2005-06-21 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygparamspec.c: (pygenum_from_pspec),
(pygflags_from_pspec): Try to register unknown enums and flags on the fly.
Fixes #308536, patch by Edward Hervey
* gobject/pygflags.c: (pyg_flags_add): Make module optional.
2005-06-20 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/gobjectmodule.c (add_signals): Return a new dictionary
to replace __gsignals__, whith signal names canonicalized
(s/-/_/), for the signals that are being overridden, so that the
class_init functions can safely check for them.
* codegen/codegen.py (Wrapper.write_virtuals): Before overriding
virtual method, check if the corresponding signal is already being
overridden.
* gobject/gobjectmodule.c (pyg_type_register): Instead of deleting
__gsignals__, replace it with a dict containing only overridden
signals, as returned by add_signals(). This is so that class init
functions can inspect the signals that are being overridden.
__gsignals__ then get's deleted only after running
pyg_run_class_init.
Fixes Bug 308097: Overriden realize gets called twice.
* codegen/reversewrapper.py: Register GtkAllocation* as an alias
for GdkRectangle*. Fixes #Bug 308099: No GtkWidget proxy handler
for do_size_allocate.
* codegen/argtypes.py (ULongArg): Use the new (python 2.3) 'k'
template char to convert unsigned long, so that parsing of ULong
parameters accepts both int and long python values. Add new
UInt32Arg argtype for guint32, subclassing ULongArg and adding
range checking on platforms that require it. As a side effect,
guint32 return values are now always translated to python longs
( before they would be longs on 32-bit systems, or ints on 64-bit
systems ).
2005-06-20 Mark McLoughlin <mark@skynet.ie>
Fixes bug #308384
* gtk/gdk.override: make gtk.gdk.Window.set_user_data()
accept None
2005-06-20 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygobject.c (pygobject_new_with_interfaces): Fix
typo in documentation string. Fixes #171910 (Tuure Laurinolli
and Gian Mario Tagliaretti)
2005-06-17 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* examples/pango/pangocairo-simple.py (main): Demonstrate how to
output PDF file from the same drawing subroutine.
2005-06-14 Johan Dahlin <jdahlin@async.com.br>
* examples/ide/edit.py: Improve demo, patch by
Fernando San Martin Woerner, fixes #171148
2005-06-09 Cedric Gustin <cedric.gustin@swing.be>
* setup.py : Define HAVE_BIND_TEXTDOMAIN_CODESET on win32.
2005-06-09 Manish Singh <yosh@gimp.org>
* gobject/pygobject.h
* gtk/pygtk.h: Use G_STMT_START/END for init_ defines.
2005-06-07 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* pango.override (pypango_item_get_type): Define boxed type for
PangoItem.
(_wrap_pango_layout_line__get_runs): Override/implement getter for
pango.LayoutLine.runs.
* pango-types.defs (LayoutLine): Add PangoLayoutLine fields.
(Item): Declare PangoItem as boxed type.
2005-06-06 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* examples/gtk/widget.py: Render the sample widget with cairo, if
possible.
* examples/pango/pangocairo-simple.py: cairosimple.c example
ported to python.
* examples/Makefile.am (EXTRA_DIST): Add pango/pangocairo-simple.py.
* codegen/argtypes.py (CairoArg.write_return): Add cairo_t* argtype.
* gtk/Makefile.am (EXTRA_DIST): Add gdkcairo.override.
* gtk/gdk.defs: Optionally define method cairo_create of
gtk.gdk.Drawable.
* gtk/gdk.override (_wrap_gdk_cairo_create): Wrap gdk_cairo_create
as method cairo_create of gtk.gdk.Drawable.
* gtk/gdkcairo.override: If pycairo is available, define type
gtk.gdk.CairoContext as a subclass of pangocairo.CairoContext with
some additional methods.
* configure.in: Check for libraries to build pangocairo module.
Check for dependencies to optionally build gtk module with cairo
support.
* Makefile.am, pangocairomodule.c, pangocairo.defs,
* pangocairo.override: Python bindings for the new libpangocairo.
* codegen/codegen.py (Wrapper.write_getsets): Add support for
structured fields. For example, a field 'bar' inside a structure
'foo' is declared in the defs as "foo.bar" and mapped as "foo_bar"
python attribute.
* codegen/codegen.py, codegen/override.py: Add a 'body' override
section type, which includes code after headers, imports, and type
declarations. Useful if you write code that depends on imported
or declared types.
2005-05-30 Johan Dahlin <johan@gnome.org>
* gtk/gdk.defs (pixbuf_get_from_drawable): Add. We can't remove
the old method.
* gtk/gdk.override (_wrap_gdk_pixbuf_get_from_drawable2):
Rename it to ...2 and copy it to the override file since the code
generator can't handle two functions with the same name
2005-05-31 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* pango.override (pypango_layout_line_get_type): Fix copy function.
2005-05-29 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* pango.override (_wrap_pango_layout_line_x_to_index)
(_wrap_pango_layout_line_index_to_x)
(_wrap_pango_layout_line_get_extents)
(_wrap_pango_layout_line_get_pixel_extents): Impl.
* gtk/gdk.override: Ignore gdk_draw_layout_line and
gdk_draw_layout_line_with_colors, at least for now.
* pango-types.defs (LayoutLine): Declare LayoutLine as boxed type.
* pango.defs: pango_layout_line_ref and unref should not be
exposed as python API.
* pango.override (PANGO_TYPE_LAYOUT_LINE): Register boxed type for
PangoLayoutLine, unless it's already defined.
* pango.defs: Add defs for
pango_font_metrics_get_underline_thickness,
pango_font_metrics_get_underline_position,
pango_font_metrics_get_strikethrough_thickness, and
pango_font_metrics_get_strikethrough_position.
* gobject/pygobject.c (pygobjectmeta_init): Don't register types
that are already registered (have a __gtype__ attribute).
2005-05-28 Manish Singh <yosh@gimp.org>
* gobject/pygiochannel.c (pyg_iowatch_marshal): Pass the GIOCondition
to PyObject_CallFunction.
2005-05-28 Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (initgobject):
* gobject/pygobject-private.h:
* gobject/pygtype.c: (pyg_register_boxed_custom):
Sort quark names. Rename pyg_boxed_marshal_key to pygboxed_marshal_key.
Don't set the keys twice
2005-05-28 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/pygpointer.c (pyg_register_pointer): change quark name
from pointer_type_id to pygpointer_class_key, for consistency;
assume it to be already registered.
* gobject/pygenum.c (pyg_enum_add): pygenum_class_id is already
registered.
* gobject/pygtype.c (pyg_register_boxed_custom):
pyg_boxed_marshal_key is already registered.
* gobject/pygobject.c (pygobject_register_class):
pygobject_class_key is already registered.
(pygobject_register_wrapper): pygobject_wrapper_key is already
registered.
(pygobject_new_with_interfaces): idem.
(pygobject_new): pygobject_wrapper_key is already registered.
* gobject/pygboxed.c (pyg_register_boxed): Don't register
boxed_type_id, use pygboxed_type_key instead, which is assumed to
be already registered.
* gobject/gobjectmodule.c (initgobject): Register all the gquarks.
(global): Remove the *_id static const strings, they are redundant now.
* gobject/pygobject-private.h: Declare all the global gquarks.
2005-05-25 Manish Singh <yosh@gimp.org>
* gobject/pygiochannel.c: Pass gsize to GIOChannel functions that
expect them.
2005-05-25 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* examples/gtk/widget.py (PyGtkWidget.do_realize): move_resize()
window here as well.
(PyGtkWidget.do_expose_event): Fix rectangle coordinates.
(frame): Put custom widget in a frame (Christian Kirbach).
2005-05-22 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* tests/test_signal.py: Update tests to deal with automatic
registration.
* examples/gobject/signal.py: Update example to not call
gobject.type_register anymore.
* gobject/pygobject.c: Add PyGObject_MetaType impl.
(pygobject_register_class): Set the metaclass of new types to
&PyGObject_MetaType.
* gobject/gobjectmodule.c (pyg_type_register): split in two
functions; one (pyg_type_register) that does all the work and
return 0 on success or -1 on error; the other one
( _wrap_pyg_type_register ) does the python argument parsing and
calls the first one.
(initgobject): Register the new PyGObject_MetaType type, which is
a metaclass that automatically registers user defined GObject
subclasses.
Fixes #128765: GObject metaclass.
2005-05-22 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* gobject/gobjectmodule.c: Wrap g_markup_escape_text. Fixes #164665.
* gtk/gtk.defs: Add gtk.EntryCompletion.get_text_column.
Patch by Gian Mario Tagliaretti.
* gtk/gdk.defs (save_to_callback): Add.
* gtk/gdk.override (_wrap_gdk_pixbuf_save_to_callback): Wrap
gdk_pixbuf_save_to_callback. Fixes #172445.
* gobject/pygiochannel.c: Add; implements GIOChannel wrappers.
Fixes #139176: GIOChannel wrapper.
* gobject/gobjectmodule.c (initgobject): Register IOChannel type
and some constants.
* gtk/gdk.defs: Add functions notify_startup_complete,
get_display_arg_name, get_program_class, set_program_class, and
get_display. Fixes #167412.
2005-05-22 Tim Evans <t.evans@aranz.com>
* gtk/gtktreeview.override
(_wrap_gtk_tree_view_map_expanded_rows): Don't unref borrowed
reference data.user_data. Reviewed by Gustavo Carneiro; Fixes
#165373 (crash due to extra Py_XDECREF in
gtk.TreeView.map_expanded_rows)
2005-05-17 Manish Singh <yosh@gimp.org>
* gobject/pygparamspec.c (pyg_param_spec_getattr): make it build
again (missing })
2005-05-17 Johan Dahlin <jdahlin@async.com.br>
* gobject/pygparamspec.c: (pygenum_from_pspec),
(pygflags_from_pspec): Improve GParamSpec wrapping, fixes
bug #170614
2005-05-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c: (pyg_register_class_init),
(pyg_run_class_init): Allow multiple calls to
pyg_register_class_init, fixes bug #304353
2005-05-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c:
* gobject/pygobject-private.h:
* gobject/pygobject.h:
* gobject/pygtype.c: (pyg_closure_marshal),
(pyg_closure_set_exception_handler): Adds exception handling
support to closures, fixes bug #304357
2005-05-17 Johan Dahlin <jdahlin@async.com.br>
* configure.in: Bump version to 2.7.0
* pango-types.defs (EllipsizeMode): Remove commas
* pango.defs (get_font_description, get_ellipsize, set_ellipsize):
Add
2005-05-17 Johan Dahlin <jdahlin@async.com.br>
* ChangeLog.pre-2-6: Rename old ChangeLog
|