commit 902bb6685fd9c90c7d81127861a152b0fab4b107 Author: Martin Pitt Date: Tue Apr 30 11:49:03 2013 -0700 release 3.9.1 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit f463d7cfaf65e0f3594ec15d897325f84225f1c5 Author: Simon Feltman Date: Sun Apr 28 19:59:35 2013 -0700 gtk-demo: Wrap description strings at 80 characters Wrap trailing demo description strings so they are easier to read in a programming editor. The gtk-demo itself re-wraps this using textwrap and the Gtk.TextView dynamic wrapping. https://bugzilla.gnome.org/show_bug.cgi?id=698547 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++--- demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++---- demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++-- demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++- demos/gtk-demo/demos/images.py | 6 ++++-- demos/gtk-demo/demos/menus.py | 20 ++++++++++++++++---- demos/gtk-demo/demos/pickers.py | 4 ++-- demos/gtk-demo/demos/pixbuf.py | 5 +++-- demos/gtk-demo/demos/rotatedtext.py | 6 ++++-- 9 files changed, 43 insertions(+), 22 deletions(-) commit f0d4b963c42ac31d4d17ec0f2271940df2568644 Author: Simon Feltman Date: Sat Apr 27 22:30:35 2013 -0700 gtk-demo: Use textwrap to reformat description for Gtk.TextView https://bugzilla.gnome.org/show_bug.cgi?id=698547 demos/gtk-demo/gtk-demo.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ed41e260dcf5745fcc0656412be3c4a520ee20fc Author: Simon Feltman Date: Sat Apr 27 21:58:28 2013 -0700 gtk-demo: Use GtkSource.View for showing source code Replace manual syntax highlighting of Gtk.TextView with usage of GtkSource.View when available. Fall back to TextView with no hightlighting when GtkSource is not available. https://bugzilla.gnome.org/show_bug.cgi?id=698547 demos/gtk-demo/gtk-demo.py | 170 ++++++++++++--------------------------------- 1 file changed, 44 insertions(+), 126 deletions(-) commit 150104db47ac5ba32758fba0c156adaecc0fbcc0 Author: Mike Ruprecht Date: Sun Apr 28 01:40:34 2013 -0500 Use correct class for GtkEditable's get_selection_bounds() function https://bugzilla.gnome.org/show_bug.cgi?id=699096 gi/overrides/Gtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6 Author: Simon Feltman Date: Thu Apr 25 05:27:35 2013 -0700 Test results of g_base_info_get_name for NULL Block against potential NULL result when generating type hint with _g_arg_get_pytype_hint. https://bugzilla.gnome.org/show_bug.cgi?id=698829 gi/pygi-info.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446 Author: Jose Rostagno Date: Sun Apr 21 19:09:59 2013 -0300 Remove g_type_init conditional call It's deprecated in the glib version we depend on. https://bugzilla.gnome.org/show_bug.cgi?id=698763 gi/_gobject/gobjectmodule.c | 3 --- 1 file changed, 3 deletions(-) commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107 Author: Jose Rostagno Date: Sat Mar 30 20:59:44 2013 -0300 Update deps versions also in README commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update that file https://bugzilla.gnome.org/show_bug.cgi?id=698763 README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34 Author: Jose Rostagno Date: Sat Mar 30 20:50:35 2013 -0300 Drop compat code for old python version https://bugzilla.gnome.org/show_bug.cgi?id=698763 gi/_glib/pyglib-python-compat.h | 12 ------------ 1 file changed, 12 deletions(-) commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b Author: Niklas Koep Date: Thu Apr 25 06:14:12 2013 +0200 Remove duplicate call to _gi.Repository.require() repository.require() was called twice in IntrospectionModule's constructor. https://bugzilla.gnome.org/show_bug.cgi?id=698797 gi/module.py | 1 - 1 file changed, 1 deletion(-) commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6 Author: Johan Dahlin Date: Mon Oct 1 03:02:10 2012 -0700 Add ObjectInfo.get_class_struct() https://bugzilla.gnome.org/show_bug.cgi?id=685218 gi/pygi-info.c | 15 +++++++++++++++ tests/test_gi.py | 4 ++++ 2 files changed, 19 insertions(+) commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450 Author: Simon Feltman Date: Mon Apr 22 03:43:23 2013 -0700 Change interpretation of NULL pointer field from None to 0 The usage of 0 is needed because these fields should generally be used to store integer indices or hashes, not necessarily pointers to actual data. https://bugzilla.gnome.org/show_bug.cgi?id=698366 gi/pygi-argument.c | 11 +---------- tests/test_everything.py | 5 +++-- 2 files changed, 4 insertions(+), 12 deletions(-) commit 8d61ad38eb90d639da08289c036ae4cb99336c2a Author: Sobhan Mohammadpour Date: Fri Mar 8 08:25:58 2013 +0330 Do not build tests until needed Originally by [Alexandre Rostovtsev https://bugzilla.gnome.org/show_bug.cgi?id=698444 tests/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f61f23b999ae6e27ca852753da906de4ab8e6e25 Author: Kai Willadsen Date: Sun Apr 14 15:16:40 2013 +1000 pygi-convert: Support toolbar styles https://bugzilla.gnome.org/show_bug.cgi?id=698477 pygi-convert.sh | 1 + 1 file changed, 1 insertion(+) commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df Author: Kai Willadsen Date: Sun Apr 14 10:54:04 2013 +1000 pygi-convert: Support new-style constructors for Gio.File https://bugzilla.gnome.org/show_bug.cgi?id=698477 pygi-convert.sh | 2 ++ 1 file changed, 2 insertions(+) commit 1e8120992dc103ac817351be3c150e6cb25f719f Author: Kai Willadsen Date: Sun Apr 14 10:22:55 2013 +1000 pygi-convert: Add some support for recent manager constructs https://bugzilla.gnome.org/show_bug.cgi?id=698477 pygi-convert.sh | 3 +++ 1 file changed, 3 insertions(+) commit 17d349f98d62ea7947c1553e0ef7e867301523aa Author: Kai Willadsen Date: Sun Apr 14 07:37:24 2013 +1000 pygi-convert: Check for double quote in require statement https://bugzilla.gnome.org/show_bug.cgi?id=698477 pygi-convert.sh | 1 + 1 file changed, 1 insertion(+) commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200 Author: Kai Willadsen Date: Sun Apr 14 07:37:00 2013 +1000 pygi-convert: Don't transform arbitrary keysym imports https://bugzilla.gnome.org/show_bug.cgi?id=698477 pygi-convert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0 Author: Simon Feltman Date: Thu Apr 11 04:09:59 2013 -0700 Remove Python keyword escapement in Repository.find_by_name Strip trailing underscore from module level items before calling g_irepository_find_by_name. This fixes a problem with GI module level items having the same name as a Python keyword raising an AttributeError during access (Pango.break_). https://bugzilla.gnome.org/show_bug.cgi?id=697363 gi/pygi-info.c | 32 ++++++++++++++++++++++---------- gi/pygi-info.h | 2 ++ gi/pygi-repository.c | 16 ++++++++++++++++ tests/test_overrides_pango.py | 5 +++++ 4 files changed, 45 insertions(+), 10 deletions(-) commit c07404461b126206e369270b56e613f81369c70a Author: Daniel Drake Date: Mon Mar 18 16:08:09 2013 -0600 Optimize signal lookup in gi repository Now that we have GSignalQuery results available to us when connecting signals, we already know which GType implements the signal in question. Therefore there is no need to traverse the class parent hierarchy looking for this, which takes a considerable amount of CPU time. There is also no need to canonicalize the signal name; both before and after this patch, by the time we reach this point we have already successfully looked up the signal name as presented from Python. https://bugzilla.gnome.org/show_bug.cgi?id=696143 gi/_gobject/pygobject.c | 5 ++-- gi/pygi-signal-closure.c | 59 +++++++++++++----------------------------------- gi/pygi-signal-closure.h | 1 + gi/pygi.h | 4 +++- 4 files changed, 23 insertions(+), 46 deletions(-) commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0 Author: Daniel Drake Date: Mon Mar 18 15:38:19 2013 -0600 Optimize connection of Python-implemented signals Like properties, when working with signals we must detect if the signal is implemented in a Python class or if it originates from the gi repository, and act accordingly. Asking the gi repository if it can find a signal that is implemented in a Python class (it can't) takes a considerable amount of CPU time. Use g_signal_query() to find out which GType implements the signal. Then perform a simple test to see if this type is implemented at the Python level, allowing us to to skip the GI querying in this case. https://bugzilla.gnome.org/show_bug.cgi?id=696143 gi/_gobject/pygobject.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit e91b35d72f93678a79623347dce271148d57046f Author: Daniel Drake Date: Mon Mar 18 15:24:52 2013 -0600 Consolidate signal connection code This code was repeated 4 times with very little variance; consolidate it and add simple tests to ensure basic coverage. https://bugzilla.gnome.org/show_bug.cgi?id=696143 gi/_gobject/pygobject.c | 129 +++++++++++++++-------------------------------- tests/test_everything.py | 33 ++++++++++++ 2 files changed, 74 insertions(+), 88 deletions(-) commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6 Author: Daniel Drake Date: Mon Mar 18 15:11:16 2013 -0600 Fix setting of struct property values "goto out" in this context means that an error occurred, but this particular instance was sitting in the "good" codepath. Fixes setting of struct property values. gi/pygi-property.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8981ea0422c6837d488311dafe8937593372e736 Author: Daniel Drake Date: Mon Mar 18 14:25:45 2013 -0600 Optimize property get/set when using GObject.props Skip GI repository lookup for properties defined on Python defined GObject types. Signed-off-by: Simon Feltman https://bugzilla.gnome.org/show_bug.cgi?id=696143 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit 266e389ff90d982151bae3ac22b9b8b0739f520f Author: Christoph Reiter Date: Sat Apr 13 17:28:26 2013 +0200 configure.ac: Fix PYTHON_SO with Python3.3 https://bugzilla.gnome.org/show_bug.cgi?id=696646 configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a Author: Daniel Drake Date: Mon Mar 18 14:13:37 2013 -0600 Simplify registration of custom types Use custom quark data to track Python created GTypes. Remove previous mechanism to track registration of python-implemented GTypes as it was unused (no custom registration was ever tracked). Leave vtable pointer and set to NULL to avoid an ABI break. Signed-off-by: Simon Feltman https://bugzilla.gnome.org/show_bug.cgi?id=696143 gi/_gobject/gobjectmodule.c | 11 +++++-- gi/_gobject/pygobject-private.h | 8 ++--- gi/_gobject/pygobject.c | 8 ++--- gi/_gobject/pygobject.h | 9 +++--- gi/_gobject/pygtype.c | 69 +++-------------------------------------- 5 files changed, 22 insertions(+), 83 deletions(-) commit 50702a09344825e3a8aa54365d78de807f989d88