2006-04-11 Johan Dahlin * NEWS: Update 2006-04-11 Andy Wingo reviewed by: Johan Dahlin * gobject/gobjectmodule.c (create_property): Parse unsigned int64 constraints in param spec declaration using the "K" ParseTuple format unit, not L -- allows the full range of the datatype to be parsed. K format unit added in python 2.3. 2006-04-01 Gustavo J. A. M. Carneiro * tests/test_properties.py: Add test for #335854. * pygtk.py.in (require): For version == '2.0', use a hardcoded pygtk path, recorded during build. * gobject/gobjectmodule.c (_pyg_strv_to_gvalue): Don't allow arbitrary sequences, only tuple or list, since a string is a sequence too. (pyg_object_new): Add a bit more detail to the exception string. 2006-01-16 Johan Dahlin * Makefile.am: Include dsextras.py in the dist and install it. 2006-03-19 Gustavo J. A. M. Carneiro * gobject/pygobject.c (pygobject_new_with_interfaces): Remove comment "It will currently not filter out interfaces already implemented by it parents.", since it is no longer true since 2006-01-13. === PyGObject 2.10.0 === 2006-01-16 Johan Dahlin * NEWS: Update 2006-03-09 Michael Smith reviewed by: Johan Dahlin * gobject/pygenum.c: (pyg_enum_new), (pyg_enum_from_gtype), (pyg_enum_add): * gobject/pygflags.c: (pyg_flags_new), (pyg_flags_from_gtype), (pyg_flags_add): Plug a couple of leaks, fixes #334027. 2006-01-19 Johan Dahlin * configure.ac (export_dynamic): * Makefile.am (egg): Add a make egg target 2006-01-16 Johan Dahlin * configure.ac: Post release version bump === PyGObject 2.9.1 === 2006-01-16 Johan Dahlin * NEWS: Update 2006-01-15 Christopher Aillon * gobject/gobjectmodule.c (pyg_strv_to_gvalue): Don't call g_value_init since the other *_to_gvalue methods expect an already inited GValue 2006-01-14 Gustavo J. A. M. Carneiro * gobject/gobjectmodule.c (iowatch_marshal): Warn if io callback returns None: almost always this is an error. 2006-01-13 Gustavo J. A. M. Carneiro * gobject/pygobject.c (pygobject_register_class): Change strategy a bit: don't ignore bases; use but augment it with missing bases extracted in runtime. * gobject/pygobject.c (pygobject_register_class): Don't use the passed in 'bases' parameter; instead find out in runtime the bases for any given gtype. (pyg_type_get_bases, pygobject_new_with_interfaces): Refactor code that dynamically discovers bases into a separate function; Override tp_dealloc, tp_alloc, tp_free, tp_traverse, and tp_clear, inherit them again from the parent type, since type_new inside Python core sets them to hardcoded functions subtype_xxx. Also call py_parent_type->ob_type, instead of fixed &PyType_Type. (pygobject_clear): Change a g_message to g_warning. 2006-01-13 Johan Dahlin * gobject/gobjectmodule.c: (pyg_io_add_watch), (marshal_emission_hook), (pyg_add_emission_hook), (pyg_remove_emission_hook): * gobject/pygobject.c: * tests/test_signal.py: Add add/remove_emission_hook and tests. Fixes #325977 2006-01-11 Gustavo J. A. M. Carneiro * gobject/gobjectmodule.c (_pyg_signal_accumulator), (create_signal, pyg_signal_accumulator_true_handled), (initgobject): Bug 155380 -- Add support for signal accumulators. * tests/runtests.py: Add 'test_enum', 'test_conversion' to SKIP_FILES, since they depend on pygtk modules so don't work anymore. This should be eventually fixed, though. * tests/test_signal.py: Test signal accumulators. * gobject/pygtype.c (object_doc_descr_get): Reorder properties/signals documentation more nicely: signals + properties from each type are presented, with types ranging from the leaf types to the base types. * configure.ac: Branch, bump version to 2.9.1. === PyGObject 2.8.0 === 2006-01-09 Johan Dahlin * MANIFEST.in: * Makefile.am: * tests/Makefile.am: Make dist/distcheck work again 2006-01-09 Johan Dahlin * setup.py: Add distutils support * dsextras.py (get_m4_define): Check for configure.ac aswell. * .cvsignore: * AUTHORS: * COPYING: * INSTALL: * Makefile.am: * PKG-INFO.in: * README: * autogen.sh: * configure.ac: * examples/.cvsignore: * examples/Makefile.am: * gobject/gobjectmodule.c: (initgobject): * m4/jhflags.m4: * m4/python.m4: * pygobject-2.0.pc.in: * tests/Makefile.am: * tests/common.py: * tests/leak.glade: * tests/runtests.py: * tests/test_actiongroup.py: * tests/test_dialog.py: * tests/test_gdk.py: * tests/test_gdkevent.py: * tests/test_glade.py: * tests/test_gtype.py: * tests/test_liststore.py: * tests/test_radiobutton.py: * tests/test_signal.py: * tests/test_subtype.py: * tests/test_textview.py: * tests/test_thread.py: * tests/testhelpermodule.c: (test_type_get_type), (_wrap_test_g_object_new): * tests/testmodule.py: Split out PyGObject from PyGTK.