=== PyGTK 2.8.3 === 2006-01-09 Johan Dahlin * NEWS: Update 2006-01-09 Johan Dahlin * Makefile.am: * configure.in: * dsextras.py: * gtk/Makefile.am: * pygobject-2.0.pc.in: * pygtk.py: * tests/Makefile.am: * tests/common.py: * tests/runtests.py: * tests/test-thread.c: * tests/test-thread.h: * tests/test-unknown.c: * tests/test-unknown.h: * tests/test_gtype.py: * tests/test_mainloop.py: * tests/test_properties.py: * tests/test_signal.py: * tests/test_source.py: * tests/test_subprocess.py: * tests/test_subtype.py: * tests/test_thread.py: * tests/test_unknown.py: * tests/testhelpermodule.c: * tests/testmodule.py: Remove gobject bindings and depend on pygobject 2.9.0. Bump version to 2.9.0 2006-01-04 Cedric Gustin * 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 * 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 * gobject/pygobject.c (pygobject_new_with_interfaces): We always need to free interfaces since its a null terminated array. 2005-11-13 Johan Dahlin * gobject/gobjectmodule.c (pyg_type_register): Remove deprecation warning. 2005-11-13 Gustavo J. A. M. Carneiro * 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 * 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 * examples/gtk/sizegroup.py: New example. 2005-11-09 Gustavo J. A. M. Carneiro * 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 reviewed by: Johan Dahlin * 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 * 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 * 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 * 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 * configure.in: post release version bump