Hello community,
here is the log from the commit of package python-gobject for openSUSE:Factory checked in at 2015-10-28 17:28:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gobject (Old)
and /work/SRC/openSUSE:Factory/.python-gobject.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gobject"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gobject/python-gobject.changes 2015-10-06 16:33:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-gobject.new/python-gobject.changes 2015-10-28 17:28:58.000000000 +0100
@@ -1,0 +2,12 @@
+Sat Oct 24 23:21:59 UTC 2015 - zaitor@opensuse.org
+
+- Update to version 3.18.2:
+ + Reroll of tarball to correct the previous one.
+- Changes from version 3.18.1:
+ + Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+
+ 3.18 (bgo#756364).
+ + pep8: ignore new errors reported by pep8 1.6.
+ + Don't emit require_version warning if namespace was loaded
+ previously using g_irepository_require (bgo#754491).
+
+-------------------------------------------------------------------
python3-gobject.changes: same change
Old:
----
pygobject-3.18.0.tar.xz
New:
----
pygobject-3.18.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-gobject.spec ++++++
--- /var/tmp/diff_new_pack.SxWmIQ/_old 2015-10-28 17:28:59.000000000 +0100
+++ /var/tmp/diff_new_pack.SxWmIQ/_new 2015-10-28 17:28:59.000000000 +0100
@@ -39,7 +39,7 @@
Summary: Python bindings for GObject
License: LGPL-2.1+
Group: Development/Libraries/Python
-Version: 3.18.0
+Version: 3.18.2
Release: 0
Url: https://wiki.gnome.org/Projects/PyGObject/
Source: http://download.gnome.org/sources/pygobject/3.18/%{_name}-%{version}.tar.xz
python3-gobject.spec: same change
++++++ pygobject-3.18.0.tar.xz -> pygobject-3.18.2.tar.xz ++++++
++++ 3773 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/ChangeLog new/pygobject-3.18.2/ChangeLog
--- old/pygobject-3.18.0/ChangeLog 2015-09-22 09:13:49.000000000 +0200
+++ new/pygobject-3.18.2/ChangeLog 2015-10-24 18:58:53.000000000 +0200
@@ -1,8 +1,107 @@
-commit 7bd599e066c4bad84156e132c732abe3e78fffef
+commit 7dc01c05fc07433161be74509b985647f6bedd19
+Author: Christoph Reiter
+Date: Sat Oct 24 18:57:22 2015 +0200
+
+ release 3.18.2
+
+ NEWS | 3 +++
+ 1 file changed, 3 insertions(+)
+
+commit a93e821b31010869c2ffd1b3aba9583645294ee0
+Author: Christoph Reiter
+Date: Sat Oct 24 17:54:14 2015 +0200
+
+ configure.ac: post release version bump to 3.18.2
+
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 7bd1dbd08db591a7187b08e8392a85181f9db33b
+Author: Christoph Reiter
+Date: Sat Oct 24 12:00:21 2015 +0200
+
+ release 3.18.1
+
+ NEWS | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+commit 8e7f6f1458cf1c162c13422c72562b00433b762b
+Author: Christoph Reiter
+Date: Sun Oct 11 01:28:48 2015 +0200
+
+ Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
+
+ 3.18 added a Gdk.Rectangle type which changed these functions
+ to methods in the gir.
+
+ Fix by providing aliases in the Gdk overrides.
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=756364
+
+ gi/overrides/Gdk.py | 8 ++++++++
+ tests/test_overrides_gdk.py | 9 +++++++++
+ 2 files changed, 17 insertions(+)
+
+commit 6dc27765f409f080dece033a86fcdf0ce82e2875
+Author: Christoph Reiter
+Date: Sun Sep 27 11:19:14 2015 +0200
+
+ pep8: ignore new errors reported by pep8 1.6
+
+ Makes sure we get the same result for older and newer pep8.
+ Once 1.6 is more common, the ignored errors could be added back
+ and fixed (E402 might be impossible, see bug 755620)
+
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 5da4041629f833f66b76dc7dfcf5400153d22eb4
+Author: Christoph Reiter
+Date: Sun Sep 6 05:35:03 2015 +0200
+
+ Don't emit require_version warning if namespace was loaded previously
+ using g_irepository_require
+
+ Instead of tracking loaded dependencies ourself to hide warnings
+ if they
+ were loaded by a previous import just look if the namespace was loaded
+ before the import. This (a) makes the implementation much simpler and
+ (b) also takes into account namespaces loaded outside of
+ Python/PyGObject
+ using the libgirepository C API (as is common in applications using
+ libpeas with Python plugins)
+
+ This also introduces a new Python wrapper for
+ g_irepository_is_registered()
+ to allow checking the loading state of namespaces before imports.
+
+ This fixes unnecessary require_version warnings in gedit,
+ gnome-builder,
+ totem, rhythmbox etc.
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=754491
+
+ gi/importer.py | 93
+ +++++++++++-------------------------------
+ gi/pygi-repository.c | 19 +++++++++
+ tests/test_import_machinery.py | 9 ----
+ tests/test_repository.py | 11 +++++
+ 4 files changed, 54 insertions(+), 78 deletions(-)
+
+commit 701ec5b3e0a6f96898232d256a028bc4005cda92
+Author: Garrett Regier
+Date: Tue Sep 22 07:08:06 2015 -0700
+
+ configure.ac: post release version bump to 3.18.1
+
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
Author: Garrett Regier
Date: Tue Sep 22 00:10:35 2015 -0700
- Release 3.16.0
+ Release 3.18.0
NEWS | 2 ++
configure.ac | 4 ++--
@@ -2942,9 +3041,12 @@
https://bugzilla.gnome.org/show_bug.cgi?id=726877
- tests/Makefile.am | 2 +-
- tests/{test_overrides.py => test_import_machinery.py} | 0
- 2 files changed, 1 insertion(+), 1 deletion(-)
+ tests/Makefile.am | 2 +-
+ tests/test_import_machinery.py | 58
+ ++++++++++++++++++++++++++++++++++++++++++
+ tests/test_overrides.py | 58
+ ------------------------------------------
+ 3 files changed, 59 insertions(+), 59 deletions(-)
commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
Author: Simon Feltman
@@ -3543,22 +3645,22 @@
https://bugzilla.gnome.org/show_bug.cgi?id=709700
- gi/Makefile.am | 2 +
- gi/pygi-argument.c | 1 +
- gi/pygi-array.c | 3 +
- gi/pygi-cache.c | 72 +--
- gi/pygi-cache.h | 1 +
- gi/pygi-marshal-cleanup.c | 48 --
- gi/pygi-marshal-cleanup.h | 16 -
- gi/pygi-marshal-from-py.c | 288 ------------
- gi/pygi-marshal-from-py.h | 33 --
- gi/pygi-marshal-to-py.c | 120 -----
- gi/pygi-marshal-to-py.h | 27 --
- gi/pygi-object.c | 2 +-
- ...ygi-marshal-from-py.c => pygi-struct-marshal.c} | 500
- +++++++++++----------
- gi/pygi-struct-marshal.h | 73 +++
- 14 files changed, 352 insertions(+), 834 deletions(-)
+ gi/Makefile.am | 2 +
+ gi/pygi-argument.c | 1 +
+ gi/pygi-array.c | 3 +
+ gi/pygi-cache.c | 72 +------
+ gi/pygi-cache.h | 1 +
+ gi/pygi-marshal-cleanup.c | 48 -----
+ gi/pygi-marshal-cleanup.h | 16 --
+ gi/pygi-marshal-from-py.c | 288 --------------------------
+ gi/pygi-marshal-from-py.h | 33 ---
+ gi/pygi-marshal-to-py.c | 120 -----------
+ gi/pygi-marshal-to-py.h | 27 ---
+ gi/pygi-object.c | 2 +-
+ gi/pygi-struct-marshal.c | 516
+ ++++++++++++++++++++++++++++++++++++++++++++++
+ gi/pygi-struct-marshal.h | 73 +++++++
+ 14 files changed, 607 insertions(+), 595 deletions(-)
commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
Author: Simon Feltman
@@ -4013,15 +4115,18 @@
https://bugzilla.gnome.org/show_bug.cgi?id=712197
- Makefile.am | 3 ++-
- configure.ac | 1 -
- gi/Makefile.am | 1 -
- gi/_glib/Makefile.am | 21 ---------------------
- gi/_glib/__init__.py | 20 --------------------
- gi/{_glib/option.py => _option.py} | 2 +-
- gi/overrides/GLib.py | 2 +-
- gi/overrides/GObject.py | 2 +-
- 8 files changed, 5 insertions(+), 47 deletions(-)
+ Makefile.am | 3 +-
+ configure.ac | 1 -
+ gi/Makefile.am | 1 -
+ gi/_glib/Makefile.am | 21 ---
+ gi/_glib/__init__.py | 20 ---
+ gi/_glib/option.py | 363
+ ------------------------------------------------
+ gi/_option.py | 363
+ ++++++++++++++++++++++++++++++++++++++++++++++++
+ gi/overrides/GLib.py | 2 +-
+ gi/overrides/GObject.py | 2 +-
+ 9 files changed, 367 insertions(+), 409 deletions(-)
commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
Author: Simon Feltman
@@ -4038,27 +4143,37 @@
https://bugzilla.gnome.org/show_bug.cgi?id=712197
- gi/Makefile.am | 16 +++++--
- gi/_glib/Makefile.am | 74
- +-------------------------------
- gi/_glib/__init__.py | 5 ---
- gi/_glib/option.py | 2 +-
- gi/gimodule.c | 9 ++++
- gi/{_glib => }/glibmodule.c | 34 ++-------------
- gi/gobjectmodule.c | 5 +--
- gi/overrides/GLib.py | 2 +-
- gi/{_glib => }/pyglib-private.h | 14 ++----
- gi/{_glib => }/pyglib-python-compat.h | 0
- gi/{_glib => }/pyglib.c | 81
- ++---------------------------------
- gi/{_glib => }/pyglib.h | 10 -----
- gi/{_glib => }/pygoptioncontext.c | 0
- gi/{_glib => }/pygoptioncontext.h | 0
- gi/{_glib => }/pygoptiongroup.c | 0
- gi/{_glib => }/pygoptiongroup.h | 0
- gi/{_glib => }/pygspawn.c | 0
- gi/{_glib => }/pygspawn.h | 0
- 18 files changed, 40 insertions(+), 212 deletions(-)
+ gi/Makefile.am | 16 +-
+ gi/_glib/Makefile.am | 74 +------
+ gi/_glib/__init__.py | 5 -
+ gi/_glib/glibmodule.c | 103 ---------
+ gi/_glib/option.py | 2 +-
+ gi/_glib/pyglib-private.h | 49 -----
+ gi/_glib/pyglib-python-compat.h | 195 -----------------
+ gi/_glib/pyglib.c | 475
+ ----------------------------------------
+ gi/_glib/pyglib.h | 77 -------
+ gi/_glib/pygoptioncontext.c | 337 ----------------------------
+ gi/_glib/pygoptioncontext.h | 39 ----
+ gi/_glib/pygoptiongroup.c | 298 -------------------------
+ gi/_glib/pygoptiongroup.h | 42 ----
+ gi/_glib/pygspawn.c | 259 ----------------------
+ gi/_glib/pygspawn.h | 32 ---
+ gi/gimodule.c | 9 +
+ gi/glibmodule.c | 77 +++++++
+ gi/gobjectmodule.c | 5 +-
+ gi/overrides/GLib.py | 2 +-
+ gi/pyglib-private.h | 43 ++++
+ gi/pyglib-python-compat.h | 195 +++++++++++++++++
+ gi/pyglib.c | 402 ++++++++++++++++++++++++++++++++++
+ gi/pyglib.h | 67 ++++++
+ gi/pygoptioncontext.c | 337 ++++++++++++++++++++++++++++
+ gi/pygoptioncontext.h | 39 ++++
+ gi/pygoptiongroup.c | 298 +++++++++++++++++++++++++
+ gi/pygoptiongroup.h | 42 ++++
+ gi/pygspawn.c | 259 ++++++++++++++++++++++
+ gi/pygspawn.h | 32 +++
+ 29 files changed, 1819 insertions(+), 1991 deletions(-)
commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
Author: Simon Feltman
@@ -4077,25 +4192,28 @@
https://bugzilla.gnome.org/show_bug.cgi?id=712197
- Makefile.am | 5 ++-
- gi/__init__.py | 19 +++++-----
- gi/{_gobject/constants.py => _constants.py} | 5 ++-
- gi/_gobject/Makefile.am | 5 +--
- gi/_gobject/__init__.py | 42
- ++--------------------
- .../propertyhelper.py => _propertyhelper.py} | 4 +--
- gi/{_gobject/signalhelper.py => _signalhelper.py} | 5 ++-
- gi/module.py | 16 ++++-----
- gi/overrides/GObject.py | 7 ++--
- gi/overrides/__init__.py | 2 +-
- gi/types.py | 41
- ++++++++++++++++-----
- pygtkcompat/pygtkcompat.py | 4 +--
- tests/test_gi.py | 2 +-
- tests/test_gobject.py | 4 ++-
- tests/test_properties.py | 2 +-
- tests/test_signal.py | 2 +-
- 16 files changed, 78 insertions(+), 87 deletions(-)
+ Makefile.am | 5 +-
+ gi/__init__.py | 19 +-
+ gi/_constants.py | 49 +++++
+ gi/_gobject/Makefile.am | 5 +-
+ gi/_gobject/__init__.py | 42 +----
+ gi/_gobject/constants.py | 50 -----
+ gi/_gobject/propertyhelper.py | 417
+ ------------------------------------------
+ gi/_gobject/signalhelper.py | 259 --------------------------
+ gi/_propertyhelper.py | 417
+ ++++++++++++++++++++++++++++++++++++++++++
+ gi/_signalhelper.py | 258 ++++++++++++++++++++++++++
+ gi/module.py | 16 +-
+ gi/overrides/GObject.py | 7 +-
+ gi/overrides/__init__.py | 2 +-
+ gi/types.py | 41 ++++-
+ pygtkcompat/pygtkcompat.py | 4 +-
+ tests/test_gi.py | 2 +-
+ tests/test_gobject.py | 4 +-
+ tests/test_properties.py | 2 +-
+ tests/test_signal.py | 2 +-
+ 19 files changed, 796 insertions(+), 805 deletions(-)
commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
Author: Simon Feltman
@@ -4109,48 +4227,68 @@
https://bugzilla.gnome.org/show_bug.cgi?id=712197
- gi/Makefile.am | 31 ++++++++++++++--
- gi/_glib/pyglib-python-compat.h | 62
- +++++++++----------------------
- gi/_gobject/Makefile.am | 69
- +----------------------------------
- gi/_gobject/__init__.py | 4 +-
- gi/_gobject/constants.py | 3 +-
- gi/_gobject/propertyhelper.py | 16 +++++---
- gi/_gobject/signalhelper.py | 3 +-
- gi/gimodule.c | 13 ++++---
- gi/{_gobject => }/gobjectmodule.c | 0
- gi/module.py | 4 +-
- gi/{_gobject => }/pygboxed.c | 0
- gi/{_gobject => }/pygboxed.h | 0
- gi/{_gobject => }/pygenum.c | 0
- gi/{_gobject => }/pygenum.h | 0
- gi/{_gobject => }/pygflags.c | 0
- gi/{_gobject => }/pygflags.h | 0
- gi/pygi-argument.c | 3 +-
- gi/pygi-boxed.c | 2 +-
- gi/pygi-ccallback.c | 2 +-
- gi/pygi-foreign.c | 2 +-
- gi/pygi-info.c | 2 +-
- gi/pygi-marshal-to-py.c | 3 +-
- gi/pygi-private.h | 2 +-
- gi/pygi-source.c | 3 +-
- gi/pygi-struct.c | 2 +-
- gi/pygi.h | 3 +-
- gi/{_gobject => }/pyginterface.c | 0
- gi/{_gobject => }/pyginterface.h | 0
- gi/{_gobject => }/pygobject-private.h | 5 ++-
- gi/{_gobject => }/pygobject.c | 0
- gi/{_gobject => }/pygobject.h | 0
- gi/{_gobject => }/pygparamspec.c | 0
- gi/{_gobject => }/pygparamspec.h | 2 +
- gi/{_gobject => }/pygpointer.c | 0
- gi/{_gobject => }/pygpointer.h | 0
- gi/{_gobject => }/pygtype.c | 0
- gi/{_gobject => }/pygtype.h | 0
- gi/types.py | 3 +-
- tests/Makefile.am | 2 +-
- 39 files changed, 93 insertions(+), 148 deletions(-)
+ gi/Makefile.am | 31 +-
+ gi/_glib/pyglib-python-compat.h | 62 +-
+ gi/_gobject/Makefile.am | 69 +-
+ gi/_gobject/__init__.py | 4 +-
+ gi/_gobject/constants.py | 3 +-
+ gi/_gobject/gobjectmodule.c | 2213
+ -----------------------------------
+ gi/_gobject/propertyhelper.py | 16 +-
+ gi/_gobject/pygboxed.c | 235 ----
+ gi/_gobject/pygboxed.h | 27 -
+ gi/_gobject/pygenum.c | 371 ------
+ gi/_gobject/pygenum.h | 27 -
+ gi/_gobject/pygflags.c | 497 --------
+ gi/_gobject/pygflags.h | 27 -
+ gi/_gobject/pyginterface.c | 124 --
+ gi/_gobject/pyginterface.h | 40 -
+ gi/_gobject/pygobject-private.h | 204 ----
+ gi/_gobject/pygobject.c | 2473
+ ---------------------------------------
+ gi/_gobject/pygobject.h | 636 ----------
+ gi/_gobject/pygparamspec.c | 418 -------
+ gi/_gobject/pygparamspec.h | 31 -
+ gi/_gobject/pygpointer.c | 198 ----
+ gi/_gobject/pygpointer.h | 27 -
+ gi/_gobject/pygtype.c | 1927 ------------------------------
+ gi/_gobject/pygtype.h | 28 -
+ gi/_gobject/signalhelper.py | 3 +-
+ gi/gimodule.c | 13 +-
+ gi/gobjectmodule.c | 2213
+ +++++++++++++++++++++++++++++++++++
+ gi/module.py | 4 +-
+ gi/pygboxed.c | 235 ++++
+ gi/pygboxed.h | 27 +
+ gi/pygenum.c | 371 ++++++
+ gi/pygenum.h | 27 +
+ gi/pygflags.c | 497 ++++++++
+ gi/pygflags.h | 27 +
+ gi/pygi-argument.c | 3 +-
+ gi/pygi-boxed.c | 2 +-
+ gi/pygi-ccallback.c | 2 +-
+ gi/pygi-foreign.c | 2 +-
+ gi/pygi-info.c | 2 +-
+ gi/pygi-marshal-to-py.c | 3 +-
+ gi/pygi-private.h | 2 +-
+ gi/pygi-source.c | 3 +-
+ gi/pygi-struct.c | 2 +-
+ gi/pygi.h | 3 +-
+ gi/pyginterface.c | 124 ++
+ gi/pyginterface.h | 40 +
+ gi/pygobject-private.h | 205 ++++
+ gi/pygobject.c | 2473
+ +++++++++++++++++++++++++++++++++++++++
+ gi/pygobject.h | 636 ++++++++++
+ gi/pygparamspec.c | 418 +++++++
+ gi/pygparamspec.h | 33 +
+ gi/pygpointer.c | 198 ++++
+ gi/pygpointer.h | 27 +
+ gi/pygtype.c | 1927 ++++++++++++++++++++++++++++++
+ gi/pygtype.h | 28 +
+ gi/types.py | 3 +-
+ tests/Makefile.am | 2 +-
+ 57 files changed, 9594 insertions(+), 9649 deletions(-)
commit a329f559002f2be0898309c9d81cdf2c34aef158
Author: Simon Feltman
@@ -4192,12 +4330,14 @@
targets. Rename
python.supp to python2.7.supp
- tests/Makefile.am | 6 +-
- tests/{python.supp => python2.7.supp} | 0
- tests/{python.supp => python3.3.supp} | 118 +++++++++++++++++---
- tests/{python.supp => python3.3dm.supp} | 188
- +++++++++++++++++++++++---------
- 4 files changed, 240 insertions(+), 72 deletions(-)
+ tests/Makefile.am | 6 +-
+ tests/python.supp | 387 ----------------------------------------
+ tests/python2.7.supp | 387 ++++++++++++++++++++++++++++++++++++++++
+ tests/python3.3.supp | 471
+ +++++++++++++++++++++++++++++++++++++++++++++++++
+ tests/python3.3dm.supp | 471
+ +++++++++++++++++++++++++++++++++++++++++++++++++
+ 5 files changed, 1332 insertions(+), 390 deletions(-)
commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
Author: Simon Feltman
@@ -9962,9 +10102,12 @@
As we want to add more tests for non-overridden API.
- tests/Makefile.am | 2 +-
- tests/{test_overrides_gio.py => test_gio.py} | 0
- 2 files changed, 1 insertion(+), 1 deletion(-)
+ tests/Makefile.am | 2 +-
+ tests/test_gio.py | 121
+ ++++++++++++++++++++++++++++++++++++++++++++
+ tests/test_overrides_gio.py | 121
+ --------------------------------------------
+ 3 files changed, 122 insertions(+), 122 deletions(-)
commit 8117e6bce73581e89211371708ff7d5de7d870d4
Author: Martin Pitt
@@ -10612,9 +10755,12 @@
See https://bugzilla.gnome.org/show_bug.cgi?id=688219
- tests/Makefile.am | 3 +++
- tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0
- 2 files changed, 3 insertions(+)
+ tests/Makefile.am | 3 +
+ tests/compat_test_pygtk.py | 147
+ +++++++++++++++++++++++++++++++++++++++++++++
+ tests/test_pygtkcompat.py | 147
+ ---------------------------------------------
+ 3 files changed, 150 insertions(+), 147 deletions(-)
commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
Author: Simon Feltman
@@ -10634,15 +10780,16 @@
https://bugzilla.gnome.org/show_bug.cgi?id=688219
- Makefile.am | 2 +-
- configure.ac | 1 +
- gi/pygtkcompat.py | 524
- ++-----------------------------------
- pygtkcompat/Makefile.am | 15 ++
- pygtkcompat/__init__.py | 20 ++
- {gi => pygtkcompat}/pygtkcompat.py | 0
- tests/test_pygtkcompat.py | 6 +-
- 7 files changed, 64 insertions(+), 504 deletions(-)
+ Makefile.am | 2 +-
+ configure.ac | 1 +
+ gi/pygtkcompat.py | 524
+ +++------------------------------------------
+ pygtkcompat/Makefile.am | 15 ++
+ pygtkcompat/__init__.py | 20 ++
+ pygtkcompat/pygtkcompat.py | 501
+ +++++++++++++++++++++++++++++++++++++++++++
+ tests/test_pygtkcompat.py | 6 +-
+ 7 files changed, 565 insertions(+), 504 deletions(-)
commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
Author: Martin Pitt
@@ -13521,15 +13668,15 @@
https://bugzilla.gnome.org/show_bug.cgi?id=683188
- tests/Makefile.am | 5 +
- tests/test_overrides.py | 2198
- +-------------------
- tests/test_overrides_gdk.py | 119 ++
- tests/test_overrides_gio.py | 114 +
- tests/test_overrides_glib.py | 445 ++++
- tests/{test_overrides.py => test_overrides_gtk.py} | 1229 +++--------
- tests/test_overrides_pango.py | 32 +
- 7 files changed, 981 insertions(+), 3161 deletions(-)
+ tests/Makefile.am | 5 +
+ tests/test_overrides.py | 2198
+ +----------------------------------------
+ tests/test_overrides_gdk.py | 119 +++
+ tests/test_overrides_gio.py | 114 +++
+ tests/test_overrides_glib.py | 445 +++++++++
+ tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
+ tests/test_overrides_pango.py | 32 +
+ 7 files changed, 2234 insertions(+), 2196 deletions(-)
commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
Author: Martin Pitt
@@ -16073,23 +16220,23 @@
Signed-off-by: Martin Pitt
- gi/Makefile.am | 2 +
- gi/gimodule.c | 1 +
- gi/module.py | 5 ++
- gi/pygi-argument.c | 12 +---
- gi/pygi-cache.c | 28 +++++++--
- gi/pygi-cache.h | 9 ++-
- gi/pygi-ccallback.c | 100
- +++++++++++++++++++++++++++++++++
- gi/{pygi-invoke.h => pygi-ccallback.h} | 23 ++++----
- gi/pygi-closure.c | 50 ++++++++++++++++-
- gi/pygi-invoke-state-struct.h | 2 +
- gi/pygi-invoke.c | 73 ++++++++++++++++--------
- gi/pygi-invoke.h | 3 +
- gi/pygi-private.h | 1 +
- gi/pygi.h | 10 ++++
- tests/test_gi.py | 16 ++++++
- 15 files changed, 284 insertions(+), 51 deletions(-)
+ gi/Makefile.am | 2 +
+ gi/gimodule.c | 1 +
+ gi/module.py | 5 +++
+ gi/pygi-argument.c | 12 +----
+ gi/pygi-cache.c | 28 ++++++++++--
+ gi/pygi-cache.h | 9 ++--
+ gi/pygi-ccallback.c | 100
+ ++++++++++++++++++++++++++++++++++++++++++
+ gi/pygi-ccallback.h | 41 +++++++++++++++++
+ gi/pygi-closure.c | 50 ++++++++++++++++++++-
+ gi/pygi-invoke-state-struct.h | 2 +
+ gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
+ gi/pygi-invoke.h | 3 ++
+ gi/pygi-private.h | 1 +
+ gi/pygi.h | 10 +++++
+ tests/test_gi.py | 16 +++++++
+ 15 files changed, 312 insertions(+), 41 deletions(-)
commit db7e1d078db16b6f11dee51aa97525c451346632
Author: Alberto Mardegan
@@ -18661,20 +18808,23 @@
https://bugzilla.gnome.org/show_bug.cgi?id=658362
- gi/Makefile.am | 8 +-
- gi/pygi-cache.c | 673
- ++++++++++++-----------
- gi/pygi-cache.h | 62 ++-
- gi/pygi-invoke.c | 144 ++---
- gi/pygi-marshal-cleanup.c | 168 +++---
- gi/pygi-marshal-cleanup.h | 128 ++---
- gi/{pygi-marshal-in.c => pygi-marshal-from-py.c} | 372 ++++++-------
- gi/pygi-marshal-from-py.h | 186 +++++++
- gi/pygi-marshal-in.h | 186 -------
- gi/pygi-marshal-out.h | 144 -----
- gi/{pygi-marshal-out.c => pygi-marshal-to-py.c} | 278 +++++-----
- gi/pygi-marshal-to-py.h | 144 +++++
- 12 files changed, 1267 insertions(+), 1226 deletions(-)
+ gi/Makefile.am | 8 +-
+ gi/pygi-cache.c | 673 ++++++++++-----------
+ gi/pygi-cache.h | 62 +-
+ gi/pygi-invoke.c | 144 ++---
+ gi/pygi-marshal-cleanup.c | 168 +++---
+ gi/pygi-marshal-cleanup.h | 128 ++--
+ gi/pygi-marshal-from-py.c | 1412
+ +++++++++++++++++++++++++++++++++++++++++++++
+ gi/pygi-marshal-from-py.h | 186 ++++++
+ gi/pygi-marshal-in.c | 1412
+ ---------------------------------------------
+ gi/pygi-marshal-in.h | 186 ------
+ gi/pygi-marshal-out.c | 768 ------------------------
+ gi/pygi-marshal-out.h | 144 -----
+ gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
+ gi/pygi-marshal-to-py.h | 144 +++++
+ 14 files changed, 3122 insertions(+), 3081 deletions(-)
commit 45b0fcff9e948c65a3903c32a3957802034c5e47
Author: Dieter Verfaillie
@@ -19838,57 +19988,107 @@
https://bugzilla.gnome.org/show_bug.cgi?id=642048
- Makefile.am | 2 +-
- configure.ac | 6 +++---
- gi/Makefile.am | 8 +++++---
- {glib => gi/_glib}/Makefile.am | 5 +----
- {glib => gi/_glib}/__init__.py | 0
- {glib => gi/_glib}/glibmodule.c | 0
- {glib => gi/_glib}/option.py | 0
- {glib => gi/_glib}/pygiochannel.c | 0
- {glib => gi/_glib}/pygiochannel.h | 0
- {glib => gi/_glib}/pyglib-private.h | 0
- {glib => gi/_glib}/pyglib-python-compat.h | 0
- {glib => gi/_glib}/pyglib.c | 0
- {glib => gi/_glib}/pyglib.h | 0
- {glib => gi/_glib}/pygmaincontext.c | 0
- {glib => gi/_glib}/pygmaincontext.h | 0
- {glib => gi/_glib}/pygmainloop.c | 0
- {glib => gi/_glib}/pygmainloop.h | 0
- {glib => gi/_glib}/pygoptioncontext.c | 0
- {glib => gi/_glib}/pygoptioncontext.h | 0
- {glib => gi/_glib}/pygoptiongroup.c | 0
- {glib => gi/_glib}/pygoptiongroup.h | 0
- {glib => gi/_glib}/pygsource.c | 0
- {glib => gi/_glib}/pygsource.h | 0
- {glib => gi/_glib}/pygspawn.c | 0
- {glib => gi/_glib}/pygspawn.h | 0
- {gobject => gi/_gobject}/Makefile.am | 10 ++++------
- {gobject => gi/_gobject}/__init__.py | 0
- {gobject => gi/_gobject}/constants.py | 0
- {gobject => gi/_gobject}/ffi-marshaller.c | 0
- {gobject => gi/_gobject}/ffi-marshaller.h | 0
- {gobject => gi/_gobject}/gobjectmodule.c | 0
- {gobject => gi/_gobject}/propertyhelper.py | 0
- {gobject => gi/_gobject}/pygboxed.c | 0
- {gobject => gi/_gobject}/pygboxed.h | 0
- {gobject => gi/_gobject}/pygenum.c | 0
- {gobject => gi/_gobject}/pygenum.h | 0
- {gobject => gi/_gobject}/pygflags.c | 0
- {gobject => gi/_gobject}/pygflags.h | 0
- {gobject => gi/_gobject}/pyginterface.c | 0
- {gobject => gi/_gobject}/pyginterface.h | 0
- {gobject => gi/_gobject}/pygobject-private.h | 0
- {gobject => gi/_gobject}/pygobject.c | 0
- {gobject => gi/_gobject}/pygobject.h | 0
- {gobject => gi/_gobject}/pygparamspec.c | 0
- {gobject => gi/_gobject}/pygparamspec.h | 0
- {gobject => gi/_gobject}/pygpointer.c | 0
- {gobject => gi/_gobject}/pygpointer.h | 0
- {gobject => gi/_gobject}/pygtype.c | 0
- {gobject => gi/_gobject}/pygtype.h | 0
- tests/Makefile.am | 2 +-
- 50 files changed, 15 insertions(+), 18 deletions(-)
+ Makefile.am | 2 +-
+ configure.ac | 6 +-
+ gi/Makefile.am | 8 +-
+ gi/_glib/Makefile.am | 58 +
+ gi/_glib/__init__.py | 25 +
+ gi/_glib/glibmodule.c | 969 ++++++++++++++
+ gi/_glib/option.py | 358 ++++++
+ gi/_glib/pygiochannel.c | 764 ++++++++++++
+ gi/_glib/pygiochannel.h | 29 +
+ gi/_glib/pyglib-private.h | 49 +
+ gi/_glib/pyglib-python-compat.h | 245 ++++
+ gi/_glib/pyglib.c | 633 ++++++++++
+ gi/_glib/pyglib.h | 83 ++
+ gi/_glib/pygmaincontext.c | 126 ++
+ gi/_glib/pygmaincontext.h | 40 +
+ gi/_glib/pygmainloop.c | 360 ++++++
+ gi/_glib/pygmainloop.h | 36 +
+ gi/_glib/pygoptioncontext.c | 337 +++++
+ gi/_glib/pygoptioncontext.h | 39 +
+ gi/_glib/pygoptiongroup.c | 298 +++++
+ gi/_glib/pygoptiongroup.h | 42 +
+ gi/_glib/pygsource.c | 725 +++++++++++
+ gi/_glib/pygsource.h | 39 +
+ gi/_glib/pygspawn.c | 264 ++++
+ gi/_glib/pygspawn.h | 32 +
+ gi/_gobject/Makefile.am | 71 ++
+ gi/_gobject/__init__.py | 117 ++
+ gi/_gobject/constants.py | 83 ++
+ gi/_gobject/ffi-marshaller.c | 194 +++
+ gi/_gobject/ffi-marshaller.h | 31 +
+ gi/_gobject/gobjectmodule.c | 2638
+ +++++++++++++++++++++++++++++++++++++++
+ gi/_gobject/propertyhelper.py | 312 +++++
+ gi/_gobject/pygboxed.c | 234 ++++
+ gi/_gobject/pygboxed.h | 27 +
+ gi/_gobject/pygenum.c | 366 ++++++
+ gi/_gobject/pygenum.h | 27 +
+ gi/_gobject/pygflags.c | 485 +++++++
+ gi/_gobject/pygflags.h | 27 +
+ gi/_gobject/pyginterface.c | 122 ++
+ gi/_gobject/pyginterface.h | 40 +
+ gi/_gobject/pygobject-private.h | 241 ++++
+ gi/_gobject/pygobject.c | 2397
+ +++++++++++++++++++++++++++++++++++
+ gi/_gobject/pygobject.h | 667 ++++++++++
+ gi/_gobject/pygparamspec.c | 404 ++++++
+ gi/_gobject/pygparamspec.h | 31 +
+ gi/_gobject/pygpointer.c | 198 +++
+ gi/_gobject/pygpointer.h | 27 +
+ gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
+ gi/_gobject/pygtype.h | 28 +
+ glib/Makefile.am | 61 -
+ glib/__init__.py | 25 -
+ glib/glibmodule.c | 969 --------------
+ glib/option.py | 358 ------
+ glib/pygiochannel.c | 764 ------------
+ glib/pygiochannel.h | 29 -
+ glib/pyglib-private.h | 49 -
+ glib/pyglib-python-compat.h | 245 ----
+ glib/pyglib.c | 633 ----------
+ glib/pyglib.h | 83 --
+ glib/pygmaincontext.c | 126 --
+ glib/pygmaincontext.h | 40 -
+ glib/pygmainloop.c | 360 ------
+ glib/pygmainloop.h | 36 -
+ glib/pygoptioncontext.c | 337 -----
+ glib/pygoptioncontext.h | 39 -
+ glib/pygoptiongroup.c | 298 -----
+ glib/pygoptiongroup.h | 42 -
+ glib/pygsource.c | 725 -----------
+ glib/pygsource.h | 39 -
+ glib/pygspawn.c | 264 ----
+ glib/pygspawn.h | 32 -
+ gobject/Makefile.am | 73 --
+ gobject/__init__.py | 117 --
+ gobject/constants.py | 83 --
+ gobject/ffi-marshaller.c | 194 ---
+ gobject/ffi-marshaller.h | 31 -
+ gobject/gobjectmodule.c | 2638
+ ---------------------------------------
+ gobject/propertyhelper.py | 312 -----
+ gobject/pygboxed.c | 234 ----
+ gobject/pygboxed.h | 27 -
+ gobject/pygenum.c | 366 ------
+ gobject/pygenum.h | 27 -
+ gobject/pygflags.c | 485 -------
+ gobject/pygflags.h | 27 -
+ gobject/pyginterface.c | 122 --
+ gobject/pyginterface.h | 40 -
+ gobject/pygobject-private.h | 241 ----
+ gobject/pygobject.c | 2397
+ -----------------------------------
+ gobject/pygobject.h | 667 ----------
+ gobject/pygparamspec.c | 404 ------
+ gobject/pygparamspec.h | 31 -
+ gobject/pygpointer.c | 198 ---
+ gobject/pygpointer.h | 27 -
+ gobject/pygtype.c | 1844 ---------------------------
+ gobject/pygtype.h | 28 -
+ tests/Makefile.am | 2 +-
+ 96 files changed, 16172 insertions(+), 16175 deletions(-)
commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
Author: John (J5) Palmieri
@@ -19926,12 +20126,13 @@
https://bugzilla.gnome.org/show_bug.cgi?id=642048
- Makefile.am | 2 +-
- configure.ac |
- 4 ++--
- pygobject-2.0-uninstalled.pc.in => pygobject-3.0-uninstalled.pc.in | 0
- pygobject-2.0.pc.in => pygobject-3.0.pc.in | 0
- 4 files changed, 3 insertions(+), 3 deletions(-)
+ Makefile.am | 2 +-
+ configure.ac | 4 ++--
+ pygobject-2.0-uninstalled.pc.in | 18 ------------------
+ pygobject-2.0.pc.in | 22 ----------------------
+ pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
+ pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
+ 6 files changed, 43 insertions(+), 43 deletions(-)
commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
Author: Martin Pitt
@@ -20034,9 +20235,12 @@
rename pygi-invoke-ng to pygi-invoke
- gi/Makefile.am | 3 ++-
- gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0
- 2 files changed, 2 insertions(+), 1 deletion(-)
+ gi/Makefile.am | 3 +-
+ gi/pygi-invoke-ng.c | 464
+ ----------------------------------------------------
+ gi/pygi-invoke.c | 464
+ ++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 466 insertions(+), 465 deletions(-)
commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
Author: John (J5) Palmieri
@@ -20072,15 +20276,16 @@
* update copy and paste copyright info to list the correct owner
- gi/Makefile.am | 6 +-
- gi/pygi-cache.c | 3 +-
- gi/{pygi-marshal.c => pygi-marshal-in.c} | 739
- +----------------------------
- gi/{pygi-marshal.h => pygi-marshal-in.h} | 117 -----
- gi/pygi-marshal-out.c | 767
- +++++++++++++++++++++++++++++++
- gi/pygi-marshal-out.h | 144 ++++++
- 6 files changed, 920 insertions(+), 856 deletions(-)
+ gi/Makefile.am | 6 +-
+ gi/pygi-cache.c | 3 +-
+ gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
+ gi/pygi-marshal-in.h | 186 +++++
+ gi/pygi-marshal-out.c | 767 ++++++++++++++++++
+ gi/pygi-marshal-out.h | 144 ++++
+ gi/pygi-marshal.c | 2145
+ -------------------------------------------------
+ gi/pygi-marshal.h | 303 -------
+ 8 files changed, 2515 insertions(+), 2451 deletions(-)
commit 917ea2dfa2d097e563233145003a66b3e4423287
Author: Martin Pitt
@@ -21493,10 +21698,10 @@
[gi] revert pygi-argument.h and move the invoke-ng code to
pygi-marshal.h
- gi/pygi-argument.h | 268
- +--------------------------------
- gi/{pygi-argument.h => pygi-marshal.h} | 0
- 2 files changed, 1 insertion(+), 267 deletions(-)
+ gi/pygi-argument.h | 268 +-----------------------------------------
+ gi/pygi-marshal.h | 336
+ +++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 337 insertions(+), 267 deletions(-)
commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
Merge: 7332a1b 01596a9
@@ -21568,12 +21773,12 @@
own, nonconflicting files
* copy the old files out of master
- gi/pygi-argument.c | 2101
- +++-----------------------------
- gi/{pygi-invoke.c => pygi-invoke-ng.c} | 0
- gi/pygi-invoke.c | 421 ++-----
- gi/{pygi-argument.c => pygi-marshal.c} | 0
- 4 files changed, 294 insertions(+), 2228 deletions(-)
+ gi/pygi-argument.c | 2101 +++------------------------
+ gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
+ gi/pygi-invoke.c | 421 ++----
+ gi/pygi-marshal.c | 3916
+ +++++++++++++++++++++++++++++++++++++++++++++++++++
+ 4 files changed, 5389 insertions(+), 2228 deletions(-)
commit 62b49dae97441953452d097cb1751df14302547a
Author: John (J5) Palmieri
@@ -29180,47 +29385,81 @@
For reasons outlined at:
http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
- Makefile.am | 14 ++++-
- configure.ac | 29 ++++++++--
- {gi/demos => demos}/gtk-demo/demos/__init__.py | 0
- {gi/demos => demos}/gtk-demo/demos/appwindow.py | 0
- {gi/demos => demos}/gtk-demo/demos/assistant.py | 0
- {gi/demos => demos}/gtk-demo/demos/builder.py | 0
- {gi/demos => demos}/gtk-demo/demos/button_box.py | 0
- {gi/demos => demos}/gtk-demo/demos/clipboard.py | 0
- .../gtk-demo/demos/colorselector.py | 0
- {gi/demos => demos}/gtk-demo/demos/combobox.py | 0
- .../gtk-demo/demos/data/alphatest.png | Bin
- .../gtk-demo/demos/data/apple-red.png | Bin
- .../gtk-demo/demos/data/background.jpg | Bin
- {gi/demos => demos}/gtk-demo/demos/data/demo.ui | 0
- .../gtk-demo/demos/data/floppybuddy.gif | Bin
- .../gtk-demo/demos/data/gnome-applets.png | Bin
- .../gtk-demo/demos/data/gnome-calendar.png | Bin
- .../gtk-demo/demos/data/gnome-foot.png | Bin
- .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
- .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
- .../gtk-demo/demos/data/gnome-gimp.png | Bin
- .../gtk-demo/demos/data/gnome-gmush.png | Bin
- .../gtk-demo/demos/data/gnome-gsame.png | Bin
- .../gtk-demo/demos/data/gnu-keys.png | Bin
- .../gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
- {gi/demos => demos}/gtk-demo/demos/test.py | 0
- {gi/demos => demos}/gtk-demo/gtk-demo.py | 0
- examples/Makefile.am | 2 +-
- {gi/examples => examples}/cairo-demo.py | 0
- gi/Makefile.am | 4 +-
- gi/examples/Makefile.am | 2 -
- pygi-Makefile.am | 28 ----------
- pygi-configure.ac | 60
- ---------------------
- pygi.doap | 34 ------------
- pygobject.doap | 16 +++++-
- tests/Makefile.am | 23 ++++++--
- {gi/tests => tests}/test_everything.py | 0
- {gi/tests => tests}/test_gi.py | 0
- {gi/tests => tests}/test_overrides.py | 0
- 39 files changed, 75 insertions(+), 137 deletions(-)
+ Makefile.am | 14 +-
+ configure.ac | 29 +-
+ demos/gtk-demo/demos/__init__.py | 0
+ demos/gtk-demo/demos/appwindow.py | 411 +++++
+ demos/gtk-demo/demos/assistant.py | 134 ++
+ demos/gtk-demo/demos/builder.py | 57 +
+ demos/gtk-demo/demos/button_box.py | 121 ++
+ demos/gtk-demo/demos/clipboard.py | 238 +++
+ demos/gtk-demo/demos/colorselector.py | 121 ++
+ demos/gtk-demo/demos/combobox.py | 282 ++++
+ demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
+ 26529 bytes
+ demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
+ demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
+ 22219 bytes
+ demos/gtk-demo/demos/data/demo.ui | 258 ++++
+ demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
+ demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
+ demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
+ demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
+ demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
+ demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
+ demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
+ demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
+ demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
+ demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
+ demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
+ demos/gtk-demo/demos/test.py | 14 +
+ demos/gtk-demo/gtk-demo.py | 266 ++++
+ examples/Makefile.am | 2 +-
+ examples/cairo-demo.py | 121 ++
+ gi/Makefile.am | 4 +-
+ gi/demos/gtk-demo/demos/__init__.py | 0
+ gi/demos/gtk-demo/demos/appwindow.py | 411 -----
+ gi/demos/gtk-demo/demos/assistant.py | 134 --
+ gi/demos/gtk-demo/demos/builder.py | 57 -
+ gi/demos/gtk-demo/demos/button_box.py | 121 --
+ gi/demos/gtk-demo/demos/clipboard.py | 238 ---
+ gi/demos/gtk-demo/demos/colorselector.py | 121 --
+ gi/demos/gtk-demo/demos/combobox.py | 282 ----
+ gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
+ 0 bytes
+ gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
+ 0 bytes
+ gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
+ gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
+ .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
+ gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
+ gi/demos/gtk-demo/demos/test.py | 14 -
+ gi/demos/gtk-demo/gtk-demo.py | 266 ----
+ gi/examples/Makefile.am | 2 -
+ gi/examples/cairo-demo.py | 121 --
+ gi/tests/test_everything.py | 270 ----
+ gi/tests/test_gi.py | 1624
+ --------------------
+ gi/tests/test_overrides.py | 132 --
+ pygi-Makefile.am | 28 -
+ pygi-configure.ac | 60 -
+ pygi.doap | 34 -
+ pygobject.doap | 16 +-
+ tests/Makefile.am | 23 +-
+ tests/test_everything.py | 270 ++++
+ tests/test_gi.py | 1624
+ ++++++++++++++++++++
+ tests/test_overrides.py | 132 ++
+ 68 files changed, 4124 insertions(+), 4186 deletions(-)
commit 597bd64319d7966045b5b8613ca6fc85668c3f56
Merge: ec8d148 fa91dfd
@@ -29235,45 +29474,86 @@
Prepare pygi move
- autogen.sh | 166
- ---------------------
- .gitignore => gi/.gitignore | 0
- HACKING => gi/HACKING | 0
- {demos => gi/demos}/gtk-demo/demos/__init__.py | 0
- {demos => gi/demos}/gtk-demo/demos/appwindow.py | 0
- {demos => gi/demos}/gtk-demo/demos/assistant.py | 0
- {demos => gi/demos}/gtk-demo/demos/builder.py | 0
- {demos => gi/demos}/gtk-demo/demos/button_box.py | 0
- {demos => gi/demos}/gtk-demo/demos/clipboard.py | 0
- .../demos}/gtk-demo/demos/colorselector.py | 0
- {demos => gi/demos}/gtk-demo/demos/combobox.py | 0
- .../demos}/gtk-demo/demos/data/alphatest.png | Bin
- .../demos}/gtk-demo/demos/data/apple-red.png | Bin
- .../demos}/gtk-demo/demos/data/background.jpg | Bin
- {demos => gi/demos}/gtk-demo/demos/data/demo.ui | 0
- .../demos}/gtk-demo/demos/data/floppybuddy.gif | Bin
- .../demos}/gtk-demo/demos/data/gnome-applets.png | Bin
- .../demos}/gtk-demo/demos/data/gnome-calendar.png | Bin
- .../demos}/gtk-demo/demos/data/gnome-foot.png | Bin
- .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
- .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
- .../demos}/gtk-demo/demos/data/gnome-gimp.png | Bin
- .../demos}/gtk-demo/demos/data/gnome-gmush.png | Bin
- .../demos}/gtk-demo/demos/data/gnome-gsame.png | Bin
- .../demos}/gtk-demo/demos/data/gnu-keys.png | Bin
- .../demos}/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
- {demos => gi/demos}/gtk-demo/demos/test.py | 0
- {demos => gi/demos}/gtk-demo/gtk-demo.py | 0
- {examples => gi/examples}/Makefile.am | 0
- {examples => gi/examples}/cairo-demo.py | 0
- {tests => gi/tests}/Makefile.am | 0
- {tests => gi/tests}/runtests.py | 0
- {tests => gi/tests}/test_everything.py | 0
- {tests => gi/tests}/test_gi.py | 0
- {tests => gi/tests}/test_overrides.py | 0
- Makefile.am => pygi-Makefile.am | 0
- configure.ac => pygi-configure.ac | 0
- 37 files changed, 166 deletions(-)
+ .gitignore | 40 -
+ HACKING | 26 -
+ Makefile.am | 28 -
+ autogen.sh | 166 --
+ configure.ac | 60 -
+ demos/gtk-demo/demos/__init__.py | 0
+ demos/gtk-demo/demos/appwindow.py | 411 -----
+ demos/gtk-demo/demos/assistant.py | 134 --
+ demos/gtk-demo/demos/builder.py | 57 -
+ demos/gtk-demo/demos/button_box.py | 121 --
+ demos/gtk-demo/demos/clipboard.py | 238 ---
+ demos/gtk-demo/demos/colorselector.py | 121 --
+ demos/gtk-demo/demos/combobox.py | 282 ----
+ demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
+ 0 bytes
+ demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
+ demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
+ 0 bytes
+ demos/gtk-demo/demos/data/demo.ui | 258 ----
+ demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
+ demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
+ demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
+ demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
+ demos/gtk-demo/demos/test.py | 14 -
+ demos/gtk-demo/gtk-demo.py | 266 ----
+ examples/Makefile.am | 2 -
+ examples/cairo-demo.py | 121 --
+ gi/.gitignore | 40 +
+ gi/HACKING | 26 +
+ gi/demos/gtk-demo/demos/__init__.py | 0
+ gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
+ gi/demos/gtk-demo/demos/assistant.py | 134 ++
+ gi/demos/gtk-demo/demos/builder.py | 57 +
+ gi/demos/gtk-demo/demos/button_box.py | 121 ++
+ gi/demos/gtk-demo/demos/clipboard.py | 238 +++
+ gi/demos/gtk-demo/demos/colorselector.py | 121 ++
+ gi/demos/gtk-demo/demos/combobox.py | 282 ++++
+ gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
+ 26529 bytes
+ gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
+ gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
+ 22219 bytes
+ gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
+ gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
+ gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
+ gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
+ gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
+ .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
+ gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
+ gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
+ gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
+ gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
+ gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
+ gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
+ gi/demos/gtk-demo/demos/test.py | 14 +
+ gi/demos/gtk-demo/gtk-demo.py | 266 ++++
+ gi/examples/Makefile.am | 2 +
+ gi/examples/cairo-demo.py | 121 ++
+ gi/tests/Makefile.am | 22 +
+ gi/tests/runtests.py | 21 +
+ gi/tests/test_everything.py | 270 ++++
+ gi/tests/test_gi.py | 1624
+ ++++++++++++++++++++
+ gi/tests/test_overrides.py | 132 ++
+ pygi-Makefile.am | 28 +
+ pygi-configure.ac | 60 +
+ tests/Makefile.am | 22 -
+ tests/runtests.py | 21 -
+ tests/test_everything.py | 270 ----
+ tests/test_gi.py | 1624
+ --------------------
+ tests/test_overrides.py | 132 --
+ 73 files changed, 4248 insertions(+), 4414 deletions(-)
commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
Author: Johan Dahlin
@@ -30782,14 +31062,15 @@
largely unneeded. Just add the G_XXX constants
to the module directly
- gobject/Makefile.am | 16 +----------
- gobject/{constants.py.in => constants.py} | 33 +++++++++++++++++++++++
- gobject/generate-constants.c | 44
- -------------------------------
- gobject/gobjectmodule.c | 35 ++++++++++++++++++++++++
- setup.py | 2 +-
- tests/runtests.py | 3 +--
- 6 files changed, 71 insertions(+), 62 deletions(-)
+ gobject/Makefile.am | 16 +--------
+ gobject/constants.py | 83
+ ++++++++++++++++++++++++++++++++++++++++++++
+ gobject/constants.py.in | 50 --------------------------
+ gobject/generate-constants.c | 44 -----------------------
+ gobject/gobjectmodule.c | 35 +++++++++++++++++++
+ setup.py | 2 +-
+ tests/runtests.py | 3 +-
+ 7 files changed, 121 insertions(+), 112 deletions(-)
commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
Author: John Stowers
@@ -33305,9 +33586,12 @@
Basically copied over from GLib source tree.
- ChangeLog => ChangeLog.pre-2.18 | 2 ++
- Makefile.am | 32 ++++++++++++++++++++++++++++++++
- 2 files changed, 34 insertions(+)
+ ChangeLog | 3606
+ ---------------------------------------------------
+ ChangeLog.pre-2.18 | 3608
+ ++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Makefile.am | 32 +
+ 3 files changed, 3640 insertions(+), 3606 deletions(-)
commit 23556bdbcf9cf06db866901fb822dd78a9043648
Author: Gian Mario Tagliaretti
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/Makefile.am new/pygobject-3.18.2/Makefile.am
--- old/pygobject-3.18.0/Makefile.am 2015-06-03 17:02:58.000000000 +0200
+++ new/pygobject-3.18.2/Makefile.am 2015-10-11 14:42:04.000000000 +0200
@@ -184,7 +184,7 @@
@if test -z "$$SKIP_PEP8"; then \
echo " CHECK PEP8"; \
if type pep8 >/dev/null 2>&1; then \
- (cd $(abs_top_srcdir) && pep8 --ignore=E501,E123,E124 --repeat --show-source $(pycheck_dirs) ); \
+ (cd $(abs_top_srcdir) && pep8 --ignore=E501,E123,E124,E402,E731 --repeat --show-source $(pycheck_dirs) ); \
else echo "skipped, pep8 not installed"; \
fi; \
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/NEWS new/pygobject-3.18.2/NEWS
--- old/pygobject-3.18.0/NEWS 2015-09-22 09:10:07.000000000 +0200
+++ new/pygobject-3.18.2/NEWS 2015-10-24 18:56:49.000000000 +0200
@@ -1,4 +1,13 @@
-3.16.0 22-Sep-2015
+3.18.2 24-Oct-2015
+ - configure.ac: post release version bump to 3.18.2 (Christoph Reiter)
+
+3.18.1 23-Oct-2015
+ - Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18 (Christoph Reiter) (#756364)
+ - pep8: ignore new errors reported by pep8 1.6 (Christoph Reiter)
+ - Don't emit require_version warning if namespace was loaded previously using g_irepository_require (Christoph Reiter) (#754491)
+ - configure.ac: post release version bump to 3.18.1 (Garrett Regier)
+
+3.18.0 22-Sep-2015
3.17.90 19-Aug-2015
- Allow passing unicode lists to GStrv properties on Python 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/PKG-INFO new/pygobject-3.18.2/PKG-INFO
--- old/pygobject-3.18.0/PKG-INFO 2015-09-22 09:10:51.000000000 +0200
+++ new/pygobject-3.18.2/PKG-INFO 2015-10-24 18:56:31.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: PyGObject
-Version: 3.18.0
+Version: 3.18.2
Summary: Python bindings for GObject
Home-page: http://www.pygtk.org/
Author: James Henstridge
@@ -8,7 +8,7 @@
Maintainer: Simon Feltman
Maintainer-email: sfeltman@src.gnome.org
License: GNU LGPL
-Download-url: ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/3.18/pygobject-3.18.0.tar.gz
+Download-url: ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/3.18/pygobject-3.18.2.tar.gz
Description: Python bindings for GLib and GObject
Platform: POSIX, Windows
Classifier: Development Status :: 5 - Production/Stable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/compile new/pygobject-3.18.2/compile
--- old/pygobject-3.18.0/compile 2015-05-14 08:42:04.000000000 +0200
+++ new/pygobject-3.18.2/compile 2015-10-24 18:56:28.000000000 +0200
@@ -3,7 +3,7 @@
scriptversion=2012-10-14.11; # UTC
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Written by Tom Tromey .
#
# This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/configure.ac new/pygobject-3.18.2/configure.ac
--- old/pygobject-3.18.0/configure.ac 2015-09-22 09:09:41.000000000 +0200
+++ new/pygobject-3.18.2/configure.ac 2015-10-24 17:53:58.000000000 +0200
@@ -18,7 +18,7 @@
dnl the pygobject version number
m4_define(pygobject_major_version, 3)
m4_define(pygobject_minor_version, 18)
-m4_define(pygobject_micro_version, 0)
+m4_define(pygobject_micro_version, 2)
m4_define(pygobject_version, pygobject_major_version.pygobject_minor_version.pygobject_micro_version)
dnl versions of packages we require ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/gi/importer.py new/pygobject-3.18.2/gi/importer.py
--- old/pygobject-3.18.0/gi/importer.py 2015-09-22 09:09:03.000000000 +0200
+++ new/pygobject-3.18.2/gi/importer.py 2015-10-11 14:41:54.000000000 +0200
@@ -39,34 +39,6 @@
modules = {}
-def _get_all_dependencies(namespace):
- """Like get_dependencies() but will recurse and get all dependencies.
- The namespace has to be loaded before this can be called.
-
- ::
-
- _get_all_dependencies('Gtk') -> ['Atk-1.0', 'GObject-2.0', ...]
- """
-
- todo = repository.get_dependencies(namespace)
- dependencies = []
-
- while todo:
- current = todo.pop()
- if current in dependencies:
- continue
- ns, version = current.split("-", 1)
- todo.extend(repository.get_dependencies(ns))
- dependencies.append(current)
-
- return dependencies
-
-
-# See _check_require_version()
-_active_imports = []
-_implicit_required = {}
-
-
@contextmanager
def _check_require_version(namespace, stacklevel):
"""A context manager which tries to give helpful warnings
@@ -80,47 +52,30 @@
load_namespace_and_overrides()
"""
- global _active_imports, _implicit_required
+ was_loaded = repository.is_registered(namespace)
+
+ yield
- # This keeps track of the recursion level so we only check for
- # explicitly imported namespaces and not the ones imported in overrides
- _active_imports.append(namespace)
-
- try:
- yield
- except:
- raise
- else:
- # Keep track of all dependency versions forced due to this import, so
- # we don't warn for them in the future. This mirrors the import
- # behavior where importing will get an older version if a previous
- # import depended on it.
- for dependency in _get_all_dependencies(namespace):
- ns, version = dependency.split("-", 1)
- _implicit_required[ns] = version
- finally:
- _active_imports.remove(namespace)
-
- # Warn in case:
- # * this namespace was explicitly imported
- # * the version wasn't forced using require_version()
- # * the version wasn't forced implicitly by a previous import
- # * this namespace isn't part of glib (we have bigger problems if
- # versions change there)
- is_explicit_import = not _active_imports
- version_required = gi.get_required_version(namespace) is not None
- version_implicit = namespace in _implicit_required
- is_in_glib = namespace in ("GLib", "GObject", "Gio")
-
- if is_explicit_import and not version_required and \
- not version_implicit and not is_in_glib:
- version = repository.get_version(namespace)
- warnings.warn(
- "%(namespace)s was imported without specifying a version first. "
- "Use gi.require_version('%(namespace)s', '%(version)s') before "
- "import to ensure that the right version gets loaded."
- % {"namespace": namespace, "version": version},
- PyGIWarning, stacklevel=stacklevel)
+ if was_loaded:
+ # it was loaded before by another import which depended on this
+ # namespace or by C code like libpeas
+ return
+
+ if namespace in ("GLib", "GObject", "Gio"):
+ # part of glib (we have bigger problems if versions change there)
+ return
+
+ if gi.get_required_version(namespace) is not None:
+ # the version was forced using require_version()
+ return
+
+ version = repository.get_version(namespace)
+ warnings.warn(
+ "%(namespace)s was imported without specifying a version first. "
+ "Use gi.require_version('%(namespace)s', '%(version)s') before "
+ "import to ensure that the right version gets loaded."
+ % {"namespace": namespace, "version": version},
+ PyGIWarning, stacklevel=stacklevel)
class DynamicImporter(object):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/gi/overrides/Gdk.py new/pygobject-3.18.2/gi/overrides/Gdk.py
--- old/pygobject-3.18.0/gi/overrides/Gdk.py 2015-09-22 09:09:03.000000000 +0200
+++ new/pygobject-3.18.2/gi/overrides/Gdk.py 2015-10-11 14:42:08.000000000 +0200
@@ -134,6 +134,14 @@
Rectangle = _cairo.RectangleInt
__all__.append('Rectangle')
+ else:
+ # https://bugzilla.gnome.org/show_bug.cgi?id=756364
+ # These methods used to be functions, keep aliases for backwards compat
+ rectangle_intersect = Gdk.Rectangle.intersect
+ rectangle_union = Gdk.Rectangle.union
+
+ __all__.append('rectangle_intersect')
+ __all__.append('rectangle_union')
if Gdk._version == '2.0':
class Drawable(Gdk.Drawable):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/gi/pygi-repository.c new/pygobject-3.18.2/gi/pygi-repository.c
--- old/pygobject-3.18.0/gi/pygi-repository.c 2015-09-22 09:09:03.000000000 +0200
+++ new/pygobject-3.18.2/gi/pygi-repository.c 2015-10-11 14:41:54.000000000 +0200
@@ -108,6 +108,24 @@
}
static PyObject *
+_wrap_g_irepository_is_registered (PyGIRepository *self,
+ PyObject *args,
+ PyObject *kwargs)
+{
+ static char *kwlist[] = { "namespace", "version", NULL };
+ const char *namespace_;
+ const char *version = NULL;
+
+ if (!PyArg_ParseTupleAndKeywords (args, kwargs, "s|z:Repository.is_registered",
+ kwlist, &namespace_, &version)) {
+ return NULL;
+ }
+
+ return PyBool_FromLong (g_irepository_is_registered (self->repository,
+ namespace_, version));
+}
+
+static PyObject *
_wrap_g_irepository_find_by_name (PyGIRepository *self,
PyObject *args,
PyObject *kwargs)
@@ -311,6 +329,7 @@
{ "get_version", (PyCFunction) _wrap_g_irepository_get_version, METH_VARARGS | METH_KEYWORDS },
{ "get_loaded_namespaces", (PyCFunction) _wrap_g_irepository_get_loaded_namespaces, METH_NOARGS },
{ "get_dependencies", (PyCFunction) _wrap_g_irepository_get_dependencies, METH_VARARGS | METH_KEYWORDS },
+ { "is_registered", (PyCFunction) _wrap_g_irepository_is_registered, METH_VARARGS | METH_KEYWORDS },
{ NULL, NULL, 0 }
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/missing new/pygobject-3.18.2/missing
--- old/pygobject-3.18.0/missing 2015-05-14 08:42:04.000000000 +0200
+++ new/pygobject-3.18.2/missing 2015-10-24 18:56:28.000000000 +0200
@@ -3,7 +3,7 @@
scriptversion=2013-10-28.13; # UTC
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard , 1996.
# This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/py-compile new/pygobject-3.18.2/py-compile
--- old/pygobject-3.18.0/py-compile 2015-05-14 08:42:04.000000000 +0200
+++ new/pygobject-3.18.2/py-compile 2015-10-24 18:56:28.000000000 +0200
@@ -3,7 +3,7 @@
scriptversion=2011-06-08.12; # UTC
-# Copyright (C) 2000-2013 Free Software Foundation, Inc.
+# Copyright (C) 2000-2014 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/tests/test_import_machinery.py new/pygobject-3.18.2/tests/test_import_machinery.py
--- old/pygobject-3.18.0/tests/test_import_machinery.py 2015-09-22 09:09:03.000000000 +0200
+++ new/pygobject-3.18.2/tests/test_import_machinery.py 2015-10-11 14:41:54.000000000 +0200
@@ -118,15 +118,6 @@
else:
self.assertTrue('introspection typelib' in exception_string)
- def test__get_all_dependencies(self):
- get_all_dependencies = gi.importer._get_all_dependencies
- deps = set(get_all_dependencies("Regress"))
-
- self.assertTrue('Gio-2.0' in deps)
- self.assertTrue('GObject-2.0' in deps)
- self.assertTrue('GLib-2.0' in deps)
- self.assertTrue('cairo-1.0' in deps)
-
def test_require_version_warning(self):
check = gi.importer._check_require_version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/tests/test_overrides_gdk.py new/pygobject-3.18.2/tests/test_overrides_gdk.py
--- old/pygobject-3.18.0/tests/test_overrides_gdk.py 2015-09-22 09:09:03.000000000 +0200
+++ new/pygobject-3.18.2/tests/test_overrides_gdk.py 2015-10-11 14:42:08.000000000 +0200
@@ -184,3 +184,12 @@
rgba = Gdk.RGBA(red=1.0, green=0.8, blue=0.6, alpha=0.4)
self.assertEqual(eval(repr(rgba)), rgba)
+
+ def test_rectangle_functions(self):
+ # https://bugzilla.gnome.org/show_bug.cgi?id=756364
+ a = Gdk.Rectangle()
+ b = Gdk.Rectangle()
+ self.assertTrue(isinstance(Gdk.rectangle_union(a, b), Gdk.Rectangle))
+ intersect, rect = Gdk.rectangle_intersect(a, b)
+ self.assertTrue(isinstance(rect, Gdk.Rectangle))
+ self.assertTrue(isinstance(intersect, bool))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygobject-3.18.0/tests/test_repository.py new/pygobject-3.18.2/tests/test_repository.py
--- old/pygobject-3.18.0/tests/test_repository.py 2015-09-22 09:09:03.000000000 +0200
+++ new/pygobject-3.18.2/tests/test_repository.py 2015-10-11 14:41:54.000000000 +0200
@@ -63,6 +63,17 @@
self.assertEqual(repo.get_dependencies("GLib"), [])
self.assertEqual(repo.get_dependencies("GObject"), ["GLib-2.0"])
+ def test_repo_is_registered(self):
+ self.assertRaises(TypeError, repo.is_registered)
+ self.assertRaises(TypeError, repo.is_registered, None)
+ self.assertTrue(repo.is_registered("GIRepository"))
+ self.assertTrue(repo.is_registered("GIRepository", None))
+ self.assertTrue(isinstance(repo.is_registered("GIRepository"), bool))
+ self.assertTrue(repo.is_registered("GIRepository", "2.0"))
+ self.assertFalse(repo.is_registered("GIRepository", ""))
+ self.assertFalse(repo.is_registered("GIRepository", "99.0"))
+ self.assertFalse(repo.is_registered("GIRepository", "1.0"))
+
def test_arg_info(self):
func_info = repo.find_by_name('GIMarshallingTests', 'array_fixed_out_struct')
args = func_info.get_arguments()