commit b15201833ef7c738eea089affe21ec77b502619b Author: Martin Pitt Date: Mon Oct 15 08:36:28 2012 +0200 release 3.4.1 NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415 Author: Martin Pitt Date: Mon Oct 15 07:42:05 2012 +0200 Skip Regress tests with --disable-cairo We need cairo to build g-i's Regress library, gir, and typelib. Update configure.ac to only require cairo if --disable-cairo was not given. With --disable-cairo, skip building the Regress library and skip all tests which use it. https://bugzilla.gnome.org/show_bug.cgi?id=685094 configure.ac | 5 ++--- tests/Makefile.am | 45 +++++++++++++++++++++++++++------------------ tests/test_everything.py | 15 +++++++++++---- tests/test_overrides.py | 7 ++++++- 4 files changed, 46 insertions(+), 26 deletions(-) commit a2ab72aa39824579d1767d1fdba7e1031341f86c Author: Martin Pitt Date: Fri Oct 12 11:05:24 2012 +0200 _pygi_marshal_from_py_uint64: Re-fix check of negative values Fix regression from commit 1bfcd5d94 (exposed by several test cases) when using Python 2.x. https://bugzilla.gnome.org/show_bug.cgi?id=685000 gi/pygi-marshal-from-py.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22c22124b787ae67638aff89796d7ce14900ea8e Author: Simon Feltman Date: Mon Oct 8 05:54:30 2012 -0700 Fix leak with python callables as closure argument. The fix adds an extra args_data list to the PyGIInvokeState structure. This list is used to track dynamically generated closures that wrap python callables. This allows the ffi closure and python callable to be freed when call scope has finished. https://bugzilla.gnome.org/show_bug.cgi?id=685598 gi/pygi-cache.c | 1 + gi/pygi-closure.c | 41 ++++++++---- gi/pygi-invoke-state-struct.h | 4 ++ gi/pygi-invoke.c | 7 +++ gi/pygi-marshal-cleanup.c | 14 +++++ gi/pygi-marshal-cleanup.h | 4 ++ gi/pygi-marshal-from-py.c | 57 +++++++++++++---- tests/test_everything.py | 137 ++++++++++++++++++++++++++++++----------- 8 files changed, 206 insertions(+), 59 deletions(-) commit c0bc69906df2db64560f7c054277ad1956aab57f Author: Martin Pitt Date: Thu Oct 11 17:49:30 2012 +0200 Gio overrides: Handle setting GSettings enum keys https://bugzilla.gnome.org/show_bug.cgi?id=685947 gi/overrides/Gio.py | 9 ++++++++- tests/test_overrides_gio.py | 3 +++ 2 files changed, 11 insertions(+), 1 deletion(-) commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812 Author: Martin Pitt Date: Thu Oct 11 17:20:38 2012 +0200 tests: Check reading GSettings enums in Gio overrides Also split test_override() into several smaller test cases. tests/org.gnome.test.gschema.xml | 9 +++++++++ tests/test_overrides_gio.py | 14 +++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb Author: Martin Pitt Date: Thu Oct 11 16:08:11 2012 +0200 Fix unsigned values in GArray/GList/GSList/GHash _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well. https://bugzilla.gnome.org/show_bug.cgi?id=685860 gi/pygi-argument.c | 9 +++++++++ tests/test_gi.py | 12 ++++++++++++ 2 files changed, 21 insertions(+) commit d394acbb58b38e6f52ee71e8e663a892676ab9e4 Author: Colin Walters Date: Thu Oct 4 20:13:55 2012 -0400 build: Fix srcdir != builddir Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586 Author: Alban Browaeys Date: Thu Sep 27 22:44:22 2012 +0200 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check Casting an unsigned to signed and checking if positive was not good. Check the unsigned 64 is below G_MAXUINT64 instead. Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000 gi/pygi-marshal-from-py.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f0870336b9fc7797895f206e0d3ef17a19efe253 Author: Johan Dahlin Date: Tue Oct 2 05:30:16 2012 -0700 Install an .egg-info file This will help easy_install and pip to figure out that PyGObject is already installed. https://bugzilla.gnome.org/show_bug.cgi?id=680138 Makefile.am | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5 Author: Johan Dahlin Date: Thu Oct 4 09:42:41 2012 +0200 PyGProps_getattro(): Fix GObjectClass leak https://bugzilla.gnome.org/show_bug.cgi?id=685218 gi/_gobject/pygobject.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2aa61520eb4f293ce94d54605d7642a39e18e03d Author: Olivier CrĂȘte Date: Mon Sep 17 15:16:32 2012 -0400 pygobject.c: Don't leak GObjectClass reference https://bugzilla.gnome.org/show_bug.cgi?id=684062 gi/_gobject/pygobject.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 43d356d03d4c83e9de3c56f98a70d387b46f17af Author: Alban Browaeys Date: Sat Sep 29 01:17:14 2012 +0200 Fix memory leak in _pygi_argument_to_array() Length arg and type info need to be unref'ed. https://bugzilla.gnome.org/show_bug.cgi?id=685082 gi/pygi-argument.c | 3 +++ 1 file changed, 3 insertions(+) commit 34270a109d2af20391c80e88874ee7303eaf5c09 Author: Martin Pitt Date: Fri Sep 28 07:42:51 2012 +0200 Fix error messages for out of range numbers PyErr_Format() does not understand %lli and %li, it needs to be %lld and %ld. So we cannot use those and G_GINT64_FORMAT. Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)" check, as long_ is a gint64 which can't possibly overflow its own data type. It would also have an unprintable error message. https://bugzilla.gnome.org/show_bug.cgi?id=684314 gi/pygi-marshal-from-py.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 7f1422bf929976722edd6144beb0b4c96d74391b Author: Martin Pitt Date: Fri Sep 28 06:59:38 2012 +0200 Kill dbus-daemon after running tests dbus-launch does not kill the spawned dbus-daemon by itself (see https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that after running our tests. Take care to preserve the exit code. https://bugzilla.gnome.org/show_bug.cgi?id=685009 tests/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96 Author: Martin Pitt Date: Thu Sep 27 08:18:34 2012 +0200 GVariant overrides: Support empty tuple arrays Implement the "empty value" branch in _create_tuple(), so that _create_array() can call it for parsing the element type for an empty array. This fixes creating variants such as GLib.Variant('a(ii)', []). https://bugzilla.gnome.org/show_bug.cgi?id=684928 gi/overrides/GLib.py | 30 +++++++++++++++++++++++------- tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 7 deletions(-) commit 75d452ea5b179c3585adcf95356b4316c9180768 Author: Martin Pitt Date: Thu Sep 27 06:50:12 2012 +0200 TestGVariant: Split creation test case into several smaller ones tests/test_overrides_glib.py | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) commit 4a20bcb3f97614044d351f8e436a81d332db55ba Author: Martin Pitt Date: Tue Sep 25 09:10:10 2012 +0200 Fix unused variables and results This gets rid of all warnings except the deprecated symbol ones. gi/_glib/pygiochannel.c | 9 +++------ gi/pygi-argument.c | 4 +--- gi/pygi-callbacks.c | 4 ---- gi/pygi-ccallback.c | 1 - gi/pygi-repository.c | 3 +-- 5 files changed, 5 insertions(+), 16 deletions(-) commit 5285f14fee93d2729d4422c40a945adc2be69c14 Author: Martin Pitt Date: Tue Sep 25 08:56:20 2012 +0200 tests: Fix wrong return type in test_int64_callback() https://bugzilla.gnome.org/show_bug.cgi?id=684700 tests/testhelpermodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e14ebab6099d082466ec11ca21d44de0d6017216 Author: Giovanni Campagna Date: Wed Sep 19 00:10:57 2012 +0200 Fix GValue marshalling of long and unsigned long long can be equivalent to int64 or int32, depending on the architecture, and GI conflates this distinction in the typelib, but GType does not, and warns if the wrong accessor is used. https://bugzilla.gnome.org/show_bug.cgi?id=684331 gi/pygi-argument.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6 Author: Simon Feltman Date: Wed Sep 19 19:07:00 2012 -0700 Clean up deprecation message for assigning gpointers to objects. The previous deprecation message was worded as if the deprecation had already occurred and it has not. https://bugzilla.gnome.org/show_bug.cgi?id=683599 gi/pygi-info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4bfe7972546413f46f5c36737ff03bb5612c1921 Author: Olivier CrĂȘte Date: Tue Sep 18 08:52:02 2012 +0200 pygi-property: Lookup property in base classes of non-introspected types Look for introspection data in the base classes of non-introspected gtypes. This is necessary to look up introspection data for plugins. https://bugzilla.gnome.org/show_bug.cgi?id=684058 gi/pygi-property.c | 28 ++++++++++++++-------------- tests/test_everything.py | 12 ++++++++++++ 2 files changed, 26 insertions(+), 14 deletions(-) commit 7aa94cc861082147b9c382b930f3257f0a842c84 Author: Martin Pitt Date: Mon Sep 24 09:41:10 2012 +0200 post-release bump to 3.4.1 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcceed3adb8d78baba68861a1408627321b2c1ef Author: Martin Pitt Date: Mon Sep 24 09:35:33 2012 +0200 release 3.4.0 NEWS | 3 +++ configure.ac | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-)