commit 8ac474c15199ca00c729a73af9c926172657b842 Author: Sebastian Pölsterl Date: Mon Feb 6 19:11:52 2012 +0100 Prepare 3.1.0 release NEWS | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) commit 18996ae455fb01a1e53a3826f0a1e79d06097c5b Author: Sebastian Pölsterl Date: Mon Feb 6 19:04:41 2012 +0100 Updated DOAP file to only include people currently actively working on the project Removed obsolete MAINTAINERS file MAINTAINERS | 19 ------------------- pygobject.doap | 44 +++++++++++++++----------------------------- 2 files changed, 15 insertions(+), 48 deletions(-) commit 0285e107be581c4d594127dc06cd05df1f02fb3f Author: Sebastian Pölsterl Date: Mon Feb 6 18:57:01 2012 +0100 Revert "Convert all strings to utf-8 encoding when retrieving from TreeModel" This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706. Due to this commit breaking backwards compatability, we decided to revert this change gi/overrides/Gtk.py | 15 --------------- tests/compathelper.py | 2 -- tests/test_overrides.py | 31 +------------------------------ 3 files changed, 1 insertions(+), 47 deletions(-) commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6 Author: Sebastian Pölsterl Date: Sun Feb 5 13:47:10 2012 +0100 tests: Fixed issues with python3 tests/test_gi.py | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 Author: Sebastian Pölsterl Date: Sun Feb 5 11:59:51 2012 +0100 Properly distinguish between different integer types for properties https://bugzilla.gnome.org/show_bug.cgi?id=664150 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++--- tests/test_gi.py | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+), 4 deletions(-) commit c329bf2aee8d75ce452638db75e09197ff2b9b65 Author: Sebastian Pölsterl Date: Sun Feb 5 11:46:21 2012 +0100 Distinguish between GArray and GPtrArray when cleaning up This fixes a crash in test_gi.TestGPtrArray and makes sure memory is free'd correctly https://bugzilla.gnome.org/show_bug.cgi?id=669393 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++--------- 1 files changed, 23 insertions(+), 9 deletions(-) commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c Author: Paolo Borelli Date: Sun Feb 5 18:51:53 2012 +0100 Add null_gerror_callback unit test This models the case where the callback is successful and does not set an error. https://bugzilla.gnome.org/show_bug.cgi?id=669415 tests/test_everything.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit a41984780ee49dcf02c718ca1be87bba747472e5 Author: Martin Pitt Date: Mon Feb 6 09:34:28 2012 +0100 pyglib_error_check: Re-add missing NULL check Commit adcfe96d49b09bc accidentally dropped the check if *error is NULL, i. e. any error is actually set. Due to that, pyglib_error_check() always returned TRUE. Reintroduce the check. Thanks to Alberto Mardegan for spotting this! https://bugzilla.gnome.org/show_bug.cgi?id=669415 gi/_glib/pyglib.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 2c797c17913999379e277788d5e4cce8d68cebb0 Author: Michael Culbertson Date: Sat Feb 4 16:11:34 2012 +0100 Add tests/runtests-windows.py to source tarball https://bugzilla.gnome.org/show_bug.cgi?id=663288 tests/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit d6a899cdf70e978534326155e3fad75a705f4b20 Author: Sebastian Pölsterl Date: Sat Feb 4 15:55:55 2012 +0100 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag, even when unused https://bugzilla.gnome.org/show_bug.cgi?id=665553 gi/overrides/Gtk.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 534ec71c575a279ff1c05da20a8858bb1145b4d0 Author: Nirbheek Chauhan Date: Sat Feb 4 15:42:36 2012 +0100 Fix bool() operations on GLib.Variant objects Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant Also adds some tests for boolean comparisons. https://bugzilla.gnome.org/show_bug.cgi?id=647723 gi/overrides/GLib.py | 18 ++++++++++++++++++ tests/test_overrides.py | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 0 deletions(-) commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f Author: Nirbheek Chauhan Date: Sat Feb 4 15:41:08 2012 +0100 Fix hash() and __eq__() for GLib.Variant objects Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can be used in sets, dicts, and can be compared using == and != easily. Also adds some tests for this. https://bugzilla.gnome.org/show_bug.cgi?id=647725 gi/overrides/GLib.py | 23 +++++++++++++++++++ tests/test_overrides.py | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 0 deletions(-) commit f82404034be042bf2026bbb7f1e33b11d6e17a6f Author: Martin Pitt Date: Wed Jan 25 07:01:06 2012 +0100 Fix method names of callback tests Change test_everything.TestCallbacks.* test names from camelCase to the standard PEP-8 underscore_style. This is now consistent with all other test case names. tests/test_everything.py | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) commit e37ee78fbf0aa72159a40da4165a26bea065faf1 Author: Will Thompson Date: Mon Jan 23 13:10:30 2012 +0000 Cairo: add missing braces around array-of-struct definition This triggered a -Wmissing-braces warning. https://bugzilla.gnome.org/show_bug.cgi?id=668497 gi/pygi-foreign-cairo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e Author: Will Thompson Date: Mon Jan 23 13:06:41 2012 +0000 g_instance_init: cast to PyGObject * as needed This squashes a compiler warning. https://bugzilla.gnome.org/show_bug.cgi?id=668497 gi/_gobject/gobjectmodule.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd Author: Will Thompson Date: Mon Jan 23 13:01:27 2012 +0000 Fix a few set-but-not-used warnings. In a couple of cases, the variable in question was set to a value spelled out again later in the function. The 'sequence_cache' variable is re-declared five lines below. The return value of 'read' was previously completely ignored. The 'gssize ret' variable was in fact added to squash an unused-result warning. https://bugzilla.gnome.org/show_bug.cgi?id=668497 gi/_glib/pygiochannel.c | 2 +- gi/_glib/pygmainloop.c | 3 +-- gi/_gobject/pygobject.c | 2 +- gi/pygi-marshal-cleanup.c | 2 -- 4 files changed, 3 insertions(+), 6 deletions(-) commit 29a30490ed51e347e8f57d2bf9af69400734eee8 Author: Stefano Facchini Date: Thu Jan 19 18:09:07 2012 +0100 pygmainloop: allow for extra arguments in 'quit' method To allow for the common syntax: object.connect('signal-name', main_loop.quit) https://bugzilla.gnome.org/show_bug.cgi?id=668288 gi/_glib/pygmainloop.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 557a61c12c01137a0d7c679c4b053973df09d445 Author: Alexandre Rostovtsev Date: Mon Dec 26 00:44:56 2011 -0500 Fix bytearray test compatibility with python3 https://bugs.gentoo.org/show_bug.cgi?id=321879 https://bugzilla.gnome.org/show_bug.cgi?id=666852 tests/test_gi.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2 Author: Alberto Mardegan Date: Mon Jan 23 12:37:26 2012 +0200 Respect transfer-type when demarshalling GErrors The marshaller previously ignored "transfer full" on GError* arguments, causing crashes due to double-freeing them. This causes the testCallbackUserdata() test case to crash after the previous GError/GHashTable marshalling fix. https://bugzilla.gnome.org/show_bug.cgi?id=666270 gi/pygi-argument.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6 Author: Alberto Mardegan Date: Thu Dec 15 16:12:01 2011 +0200 Support GHashTable and GError as callback/closure arguments Marshalling of these types from C is already implemented, let's take it into use for calbacks and closures too. Add corresponding test cases. https://bugzilla.gnome.org/show_bug.cgi?id=666270 Signed-off-by: Martin Pitt gi/pygi-closure.c | 2 ++ tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 0 deletions(-) commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b Author: Will Thompson Date: Mon Jan 23 13:56:02 2012 +0000 Don't leak when marshalling GErrors to C Python-land GLib.GErrors are supposed to have three attributes: "message", "domain" and "code". If those attributes are missing, or they have the wrong types, the C GError is filled in with a message describing the error. The present-but-ill-typed code paths did not DECREF the ill-typed values. https://bugzilla.gnome.org/show_bug.cgi?id=666098 gi/_glib/pyglib.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit adcfe96d49b09bcc550653d73de196610fd5144d Author: Will Thompson Date: Fri Jan 20 16:20:10 2012 +0000 Support functions which return GError GStreamer has the following method: void gst_message_parse_error ( GstMessage *message, GError **error, gchar **debug_message); With this patch, we marshal the GError out parameter as a GObject.GError exception, but return it rather than throwing it. The test cases cover two variations on the theme of the function above (one with (transfer full), as in GStreamer, and another with (transfer none)) as well as a function with return type GError *. https://bugzilla.gnome.org/show_bug.cgi?id=666098 gi/_glib/pyglib.c | 46 +++++++++++++++++++++++++++++++++++----------- gi/_glib/pyglib.h | 1 + gi/pygi-marshal-to-py.c | 16 +++++++++++++--- tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+), 14 deletions(-) commit 09f003729eac9d553a208c343c2a14d253b77d9a Author: Alberto Mardegan Date: Mon Jan 23 12:42:21 2012 +0200 Fix indentation of _pygi_argument_to_object() Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270 Signed-off-by: Martin Pitt gi/pygi-argument.c | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) commit c71c010be01d706f90bc200194325fd82f4071b2 Author: Paolo Borelli Date: Sat Jan 14 14:24:23 2012 +0100 Avoid C99 syntax. gi/gimodule.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit c299d058c22385ececaec64c872d1dd1bc1ae17a Author: Paolo Borelli Date: Fri Jan 6 13:39:31 2012 +0100 Connect to first action of a radio group. gi/overrides/Gtk.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f Author: Paolo Borelli Date: Wed Jan 4 16:40:51 2012 +0100 Use g_slist_free_full in pygi-closure. gi/pygi-closure.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624 Author: Paolo Borelli Date: Wed Jan 4 15:24:13 2012 +0100 Avoid O(n^2) behavior when marshalling lists Appending requires walking the list every time: just prepend and reverse the list at the end. https://bugzilla.gnome.org/show_bug.cgi?id=667261 gi/pygi-marshal-from-py.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit d68455e99b1a9ebba31209b17a11317b1958678b Author: Paolo Borelli Date: Tue Jan 3 16:57:40 2012 +0100 Handle NULL as a valid case of a char** array Treat NULL as an empty array and add the corresponding testcase gi/pygi-marshal-to-py.c | 9 +++++---- tests/test_gi.py | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) commit e3451b8e6018bb76e9992fb6af24a71725de5cfd Author: Tomeu Vizoso Date: Fri Dec 23 12:01:43 2011 +0100 Branching, bump version to 3.1.0 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605 Author: Tomeu Vizoso Date: Mon Dec 12 18:35:30 2011 +0100 Add notes about branching to HACKING HACKING | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0 Author: Sebastian Pölsterl Date: Sat Dec 10 12:51:45 2011 +0100 Fixed bug where GObject.property did not respect minimum and maximum values https://bugzilla.gnome.org/show_bug.cgi?id=664864 gi/_gobject/propertyhelper.py | 2 +- tests/test_properties.py | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletions(-) commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452 Author: Tomeu Vizoso Date: Mon Dec 12 17:00:24 2011 +0100 Remove mention of removed option --enable-docs HACKING | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d Author: Tomeu Vizoso Date: Mon Dec 12 17:00:03 2011 +0100 Fix sebp's name in NEWS NEWS | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)