commit fe56faa346c8e8f9fd5915602424778d458a776d Author: Martin Pitt Date: Mon Jun 25 15:36:37 2012 +0200 release 3.3.3 NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc Author: Martin Pitt Date: Mon Jun 25 15:35:19 2012 +0200 Bring back ChangeLog make target This is being used by "make dist". Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 760118e4ed73de2f022706ef897fcc848e90c005 Author: Martin Pitt Date: Mon Jun 25 15:31:14 2012 +0200 Remove obsolete ChangeLog and release-tag make targets Makefile.am | 23 ----------------------- 1 file changed, 23 deletions(-) commit e92278692bb51679d6e957c2ac36db64498a7c73 Author: Simon Schampijer Date: Fri Jun 15 16:11:21 2012 +0200 Do not do any python calls when GObjects are destroyed after the python interpreter has been finalized This happens when pygobject_data_free () function is called after the python interpreter shuts down, we can't do python calls after that. Benzea did the findings because of a bug in Sugar, and commented in this SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670 https://bugzilla.gnome.org/show_bug.cgi?id=678046 Signed-off-by: Benjamin Berg Signed-off-by: Martin Pitt gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit de4aa426002eeb09a060f8fd70bd6cb25a17766a Author: Martin Pitt Date: Mon Jun 25 15:06:47 2012 +0200 Do not change constructor-only "type" Window property When reading a Gtk.Window subclass from a GtkBuilder object, the object's properties are already set at __init__ time. Do not try to set it again, to avoid a warning. https://bugzilla.gnome.org/show_bug.cgi?id=678510 gi/overrides/Gtk.py | 8 +++++++- tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) commit 16280d6985f2cf4db9cf062e857650e620fd9da8 Author: Martin Pitt Date: Mon Jun 25 09:40:38 2012 +0200 Escape identifiers which are Python keywords Add a trailing underscore to identifiers which are Python keywords. We use a per-major-version static identifier list derived from keyword.kwlist instead of calling out to Python's keyword.iskeyword(). This is much faster, and also allows us to tweak the result. For example, Python 3 dropped "print" as a keyword, but we still want to escape that to avoid breaking the API between different Python versions. Error out when building with a major Python version not covered yet, so that we do not forget to update the list in the future. https://bugzilla.gnome.org/show_bug.cgi?id=676746 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++- tests/test_gi.py | 17 +++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) commit 3864d7a3b7def035ee2daf22ba717371c8d261de Author: Martin Pitt Date: Fri Jun 22 13:13:37 2012 +0200 Ignore E123 in pep8 tests This is "closing bracket does not match indentation of opening bracket's line", but it really looks better to have the closing bracket on the indentation level of the opening bracket instead of the indentation level of the line that contains the opening bracket. tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902 Author: Martin Pitt Date: Fri Jun 22 13:08:34 2012 +0200 PEP8: Fix indentation Spotted by current pep8 checker. demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +-- demos/gtk-demo/demos/Entry/entry_completion.py | 6 +-- demos/gtk-demo/demos/Entry/search_entry.py | 4 +- demos/gtk-demo/demos/appwindow.py | 2 +- demos/gtk-demo/demos/clipboard.py | 8 +-- demos/gtk-demo/demos/colorselector.py | 6 +-- demos/gtk-demo/demos/rotatedtext.py | 8 +-- demos/gtk-demo/gtk-demo.py | 6 +-- examples/option.py | 29 +++++----- examples/signal.py | 3 +- gi/_glib/option.py | 6 +-- gi/_gobject/propertyhelper.py | 18 +++---- gi/module.py | 14 ++--- gi/overrides/GLib.py | 2 +- gi/overrides/Gio.py | 11 ++-- gi/overrides/Gtk.py | 16 +++--- gi/pygtkcompat.py | 7 ++- gi/types.py | 17 +++--- tests/runtests.py | 2 +- tests/test_gdbus.py | 55 ++++++++++--------- tests/test_gi.py | 15 +++--- tests/test_gobject.py | 18 +++---- tests/test_option.py | 26 ++++----- tests/test_overrides.py | 67 ++++++++++++------------ tests/test_properties.py | 30 +++++------ tests/test_signal.py | 2 +- tests/test_uris.py | 9 ++-- 27 files changed, 200 insertions(+), 193 deletions(-) commit 129462ccc4a2191ecbb42247030c91bd0f1454f6 Author: Martin Pitt Date: Fri Jun 22 12:36:54 2012 +0200 PEP8: Use isinstance() instead of direct type comparisons Spotted by current pep8 checker. gi/overrides/GLib.py | 2 +- gi/overrides/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 50e45a624e6301e65c150e137aad6d092f203f3f Author: Martin Pitt Date: Fri Jun 22 12:30:10 2012 +0200 PEP8: Fix continuation lines Spotted by current pep8 checker. demos/gtk-demo/demos/Entry/search_entry.py | 6 +++--- gi/__init__.py | 6 +++--- gi/_gobject/__init__.py | 6 ++---- gi/module.py | 6 +++--- tests/test_overrides.py | 11 +++-------- 5 files changed, 14 insertions(+), 21 deletions(-) commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee Author: Martin Pitt Date: Fri Jun 22 12:24:32 2012 +0200 PEP8: Consistent comparisons against True, False, and None Spotted by current pep8 checker. demos/gtk-demo/demos/clipboard.py | 4 ++-- demos/gtk-demo/demos/drawingarea.py | 4 ++-- demos/gtk-demo/gtk-demo.py | 8 ++++---- gi/overrides/Gdk.py | 2 +- gi/overrides/Gtk.py | 2 +- tests/test_gi.py | 4 ++-- tests/test_overrides.py | 3 +-- 7 files changed, 13 insertions(+), 14 deletions(-) commit 379c1474a071292a1e8da413af2f5438cff09fc8 Author: Martin Pitt Date: Wed Jun 20 12:23:12 2012 +0200 Fix crash in GLib.find_program_in_path() We need to handle a NULL return value properly. https://bugzilla.gnome.org/show_bug.cgi?id=678119 gi/_glib/glibmodule.c | 10 ++++++++-- tests/Makefile.am | 1 + tests/test_glib.py | 15 +++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) commit 73531fd7820bd1922347bd856298d68205a27877 Author: Martin Pitt Date: Wed Jun 20 11:16:39 2012 +0200 Revert "Do not bind gobject_get_data() and gobject_set_data()" We should have some deprecation period for this, so bring back these two methods and add deprecation warnings. This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728. https://bugzilla.gnome.org/show_bug.cgi?id=641944 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit a0daa843801658929ffee5bcb9eb67d955dc7921 Author: David Keijser Date: Mon Jun 18 15:09:34 2012 +0200 GVariant: Raise proper TypeError on invalid tuple input https://bugzilla.gnome.org/show_bug.cgi?id=678317 Signed-off-by: Martin Pitt gi/overrides/GLib.py | 4 ++-- tests/test_overrides.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) commit fb39ba934180e1e48fd15774e69d1cecf47a4c84 Author: Martin Pitt Date: Tue Jun 5 19:11:38 2012 +0200 configure.ac: Post-release bump to 3.3.3 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)