commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a Author: Martin Pitt Date: Tue Feb 19 12:19:35 2013 +0100 Release 3.7.90 NEWS | 17 +++++++++++++++++ configure.ac | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df Author: Simon Feltman Date: Mon Feb 18 01:46:22 2013 -0800 overrides: Fix inconsistencies with drag and drop target list API Add support to Gtk.Widget.drag_dest_set_target_list and Gtk.Widget.drag_source_set_target_list to accept iterables containing mixed TargetEntry or a tuple of (target, flags, info). Add support to Gtk.TreeView.enable_model_drag_source and Gtk.TreeView.enable_model_drag_dest to accept a list of Gtk.TargetEntry items. https://bugzilla.gnome.org/show_bug.cgi?id=680640 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++----------- tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 11 deletions(-) commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7 Author: Simon Feltman Date: Mon Feb 18 03:19:34 2013 -0800 tests: Add test_marshaling_object to Makefile.am tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit a10fb7216de57046d1ecacb73dd032eaadcbad09 Author: Simon Feltman Date: Wed Aug 29 03:46:23 2012 -0700 pygtkcompat: Add pygtk compatible GenericTreeModel implementation Add Python implementation of the GenericTreeModel that was available in pygtk. The implementation attempts a better job than the original at ref counting by guaranteeing no leaks upon deletion of the model itself. Or by using the extra "node" argument to the row_deleted signal. The model is available in the pygtkcompat package directly as pygtkcompat.generictreemodel.GenericTreeModel or with as gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set. Add file list and tree demos making use of GenericTreeModel to gtk-demo. Auto-expand gtk-demo app tree to give a better overview of the demos available. https://bugzilla.gnome.org/show_bug.cgi?id=682933 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++ .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++ demos/gtk-demo/gtk-demo.py | 2 +- gi/pygtkcompat.py | 2 +- pygtkcompat/Makefile.am | 1 + pygtkcompat/generictreemodel.py | 420 +++++++++++++++++++++ pygtkcompat/pygtkcompat.py | 3 + tests/Makefile.am | 1 + tests/test_generictreemodel.py | 406 ++++++++++++++++++++ 9 files changed, 1346 insertions(+), 2 deletions(-) commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb Author: Simon Feltman Date: Mon Feb 18 02:54:14 2013 -0800 overrides: Add support for iterables besides tuples for TreePath creation Allow Gtk.TreePath to accept any iterable for creation of the path. https://bugzilla.gnome.org/show_bug.cgi?id=682933 gi/overrides/Gtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a Author: Simon Feltman Date: Fri Feb 15 22:56:29 2013 -0800 Unify Python callable to GClosure GI marshaling code Add pygi_marshal_from_py_gclosure which can be used for direct gi method call args and vfunc out args. https://bugzilla.gnome.org/show_bug.cgi?id=693405 gi/pygi-argument.c | 14 +----------- gi/pygi-marshal-from-py.c | 55 ++++++++++++++++++++++++++++------------------- gi/pygi-marshal-from-py.h | 3 +++ 3 files changed, 37 insertions(+), 35 deletions(-) commit 9e47afe459df942d9ffc4f71b39f1443976293df Author: Simon Feltman Date: Fri Feb 15 20:56:12 2013 -0800 Unify Python object to GValue GI marshaling code Add pygi_marshal_from_py_g_value which can be used for direct gi method call args and vfunc out args. The new method also adds an "is_allocated" parameter that will be used to fix leaks in the future. https://bugzilla.gnome.org/show_bug.cgi?id=693405 gi/pygi-argument.c | 43 +++++++-------------------- gi/pygi-marshal-from-py.c | 74 ++++++++++++++++++++++++++++++++--------------- gi/pygi-marshal-from-py.h | 5 ++++ 3 files changed, 65 insertions(+), 57 deletions(-) commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e Author: Simon Feltman Date: Fri Feb 15 23:07:57 2013 -0800 Rename pygi_marshal_from_py_object to make it more explicit Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject to make it more explicit and give consistency with future refactoring. https://bugzilla.gnome.org/show_bug.cgi?id=693405 gi/pygi-argument.c | 2 +- gi/pygi-marshal-from-py.c | 22 +++++++++++++--------- gi/pygi-marshal-from-py.h | 6 +++--- 3 files changed, 17 insertions(+), 13 deletions(-) commit 84103dfabd05742d1a18729663a609e9bf7c45f8 Author: Niklas Koep Date: Fri Feb 15 21:23:01 2013 -0800 Prefix __module__ attribute of function objects with gi.repository This allows gi module methods to work with pydoc and help(). Additionally correct typo in two docstrings of the same module. Co-authored-by: Simon Feltman https://bugzilla.gnome.org/show_bug.cgi?id=693839 gi/overrides/__init__.py | 3 ++- gi/types.py | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) commit f6d4d2da676ae63d7a24dd172775b488ce665fe4 Author: Jonathan Ballet Date: Thu Feb 14 07:50:02 2013 +0100 configure.ac: only enable code coverage when available When building with an older gnome-common which does not yet provide code coverage support, disable it instead of breaking the configure script. https://bugzilla.gnome.org/show_bug.cgi?id=693328 configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 42cbff60e2032f715d9be6ab280954211899e03c Author: Jonathan Ballet Date: Tue Feb 12 23:03:00 2013 +0100 Correctly set properties on object with statically defined properties Fix failures in GObject.Object.set_properties() when used with statically defined properties: * Calling the method was raising a "SystemError: error return without exception set" since `result` was (most of the time) still NULL at the end of pygobject_set_properties() * Calling the method with several properties would only set one of the properties, since the function was exiting too early. Signed-off-by: Simon Feltman https://bugzilla.gnome.org/show_bug.cgi?id=693618 gi/_gobject/pygobject.c | 19 +++++++++++-------- tests/test_gi.py | 6 ++++++ 2 files changed, 17 insertions(+), 8 deletions(-) commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5 Author: Martin Pitt Date: Mon Feb 11 18:08:37 2013 +0100 autogen.sh: Use gnome-autogen.sh We depend on gnome-common now anyway, so use gnome-autogen.sh. This will result in a much better error message when gnome-common is not installed, too. https://bugzilla.gnome.org/show_bug.cgi?id=693328 autogen.sh | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit c107bb1f9275a748b494d3f32818f227e07cadf0 Author: Christoph Reiter Date: Mon Feb 11 10:07:47 2013 +0100 GTK tests: Add and use context manager for realized widgets https://bugzilla.gnome.org/show_bug.cgi?id=693377 tests/test_overrides_gtk.py | 91 +++++++++++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 41 deletions(-) commit e6670ee26b7682e6213f71deef813ce2e7cd6730 Author: Martin Pitt Date: Mon Feb 11 08:55:19 2013 +0100 _pygi_marshal_from_py_array: Fix uninitialized variable gi/pygi-marshal-from-py.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62 Author: Christoph Reiter Date: Mon Feb 11 08:34:42 2013 +0100 Skip some vfunc tests with gi 1.34 https://bugzilla.gnome.org/show_bug.cgi?id=693374 tests/test_object_marshaling.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f Author: Simon Feltman Date: Sun Feb 10 13:40:45 2013 -0800 Remove workaround for g_struct_info_get_size reporting incorrect size Remove workaround for g_struct_info_get_size reporting incorrect size for boxed GValues. Verified this now returns the correct size of 24. https://bugzilla.gnome.org/show_bug.cgi?id=622711 gi/pygi-boxed.c | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4 Author: Simon Feltman Date: Mon Feb 4 20:50:10 2013 -0800 Fix reference leaks with transient floating objects Unify and refactor caller and callee GObject argument marshalers. Combine code from the large switch statement used to marshal arguments to and from vfuncs/closures with the marshalers used for direct calls to gi functions. This fixes a reference leak when marshalling GObjects to Python with transfer=full due to the diverging code paths. Replace ability in gobject_new_full to optionally sink objects with ability to optionaly "steal" objects. This fits the premise that binding layers should always sink objects initially. The steal argument is then used for marshalling arguments which are transfer=full. Add hacks and comments to work around GTK+ bugs 693393 and 693400. https://bugzilla.gnome.org/show_bug.cgi?id=687522 gi/_gobject/gobjectmodule.c | 10 +++++-- gi/_gobject/pygobject-private.h | 2 +- gi/_gobject/pygobject.c | 45 ++++++++++++++++++++---------- gi/_gobject/pygobject.h | 8 ++++-- gi/pygi-argument.c | 52 +++++++++++++++++------------------ gi/pygi-marshal-from-py.c | 61 +++++++++++++++++++++++++++++++++++++---- gi/pygi-marshal-from-py.h | 6 ++++ gi/pygi-marshal-to-py.c | 45 +++++++++++++++--------------- gi/pygi-marshal-to-py.h | 5 ++++ tests/test_object_marshaling.py | 44 ++++++++++++++--------------- 10 files changed, 181 insertions(+), 97 deletions(-) commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013 Author: Simon Feltman Date: Wed Feb 6 12:56:44 2013 -0800 tests: Fix spelling mistakes in new vfunc object marshalling tests tests/test_object_marshaling.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit cd96fd8b8e10add9890f36ec237bb78548de7002 Author: Martin Pitt Date: Tue Feb 5 07:53:38 2013 +0100 configure.ac: post-release bump to 3.7.6 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)