From c0f85ed2fe0536ac65ab16ad5a522516ea30555f Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Tue, 30 Oct 2018 10:29:11 +0900 Subject: [PATCH] Imported Upstream version 3.21.91 --- ChangeLog | 5240 ++++++++++++++++---------------- Makefile.am | 3 +- Makefile.in | 5 +- NEWS | 13 + PKG-INFO | 4 +- aclocal.m4 | 580 ++-- config.guess | 143 +- config.sub | 38 +- configure | 191 +- configure.ac | 2 +- examples/Makefile.in | 2 + gi/Makefile.am | 12 +- gi/Makefile.in | 46 +- gi/_gobject/Makefile.in | 2 + gi/gimodule.c | 23 +- gi/glibmodule.c | 1 - gi/gobjectmodule.c | 56 +- gi/gobjectmodule.h | 11 + gi/overrides/Gtk.py | 15 +- gi/overrides/Makefile.in | 2 + gi/pygboxed.c | 5 +- gi/pygboxed.h | 11 + gi/pygenum.c | 6 +- gi/pygenum.h | 22 + gi/pygflags.c | 8 +- gi/pygflags.h | 21 + gi/pygi-argument.c | 19 +- gi/pygi-array.c | 3 +- gi/pygi-basictype.c | 2 +- gi/pygi-boxed.c | 6 +- gi/pygi-boxed.h | 8 + gi/pygi-cache.c | 3 + gi/pygi-ccallback.c | 3 +- gi/pygi-ccallback.h | 11 + gi/pygi-closure.c | 5 +- gi/pygi-enum-marshal.c | 4 +- gi/pygi-error.c | 2 +- gi/pygi-foreign.c | 2 +- gi/pygi-hashtable.c | 2 +- gi/pygi-info.c | 8 +- gi/pygi-info.h | 22 + gi/pygi-invoke.c | 5 + gi/pygi-invoke.h | 2 +- gi/pygi-list.c | 2 +- gi/pygi-marshal-cleanup.c | 8 +- gi/pygi-marshal-cleanup.h | 4 +- gi/pygi-object.c | 2 +- gi/pygi-property.c | 4 +- gi/pygi-property.h | 2 +- gi/pygi-repository.c | 3 +- gi/pygi-repository.h | 6 + gi/pygi-resulttuple.c | 2 +- gi/pygi-signal-closure.c | 5 +- gi/pygi-signal-closure.h | 3 +- gi/pygi-source.c | 8 +- gi/pygi-struct-marshal.c | 9 +- gi/pygi-struct.c | 8 +- gi/pygi-struct.h | 6 + gi/pygi-type.c | 3 +- gi/pygi-util.c | 42 + gi/{pygi-private.h => pygi-util.h} | 49 +- gi/pygi-value.c | 6 +- gi/pygi.h | 82 - gi/pyginterface.c | 3 +- gi/pyglib-private.h | 40 - gi/pyglib.c | 1 - gi/pyglib.h | 6 + gi/pygobject-external.h | 73 - gi/pygobject-internal.h | 7 + gi/{pygobject.c => pygobject-object.c} | 30 +- gi/pygobject-object.h | 56 + gi/pygobject-private.h | 186 -- gi/pygoptioncontext.c | 1 - gi/pygoptiongroup.c | 1 - gi/pygparamspec.c | 5 +- gi/pygpointer.c | 4 +- gi/pygpointer.h | 8 + gi/pygspawn.c | 1 - gi/pygtype.c | 27 +- gi/pygtype.h | 25 + gi/repository/Makefile.in | 2 + install-sh | 23 +- ltmain.sh | 39 +- m4/libtool.m4 | 33 +- pygtkcompat/Makefile.in | 2 + setup.py | 105 + tests/Makefile.in | 2 + tests/test_docstring.py | 4 + tests/test_import_machinery.py | 4 +- tests/test_overrides_gtk.py | 46 + tests/test_properties.py | 6 +- tests/test_signal.py | 4 +- 92 files changed, 4047 insertions(+), 3520 deletions(-) create mode 100644 gi/gobjectmodule.h create mode 100644 gi/pygi-util.c rename gi/{pygi-private.h => pygi-util.h} (59%) delete mode 100644 gi/pygi.h delete mode 100644 gi/pyglib-private.h delete mode 100644 gi/pygobject-external.h create mode 100644 gi/pygobject-internal.h rename gi/{pygobject.c => pygobject-object.c} (98%) create mode 100644 gi/pygobject-object.h delete mode 100644 gi/pygobject-private.h create mode 100755 setup.py diff --git a/ChangeLog b/ChangeLog index 9e38966..92fedb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,276 @@ +commit f65bb1fc8f7f6172970545412fe56ab75f57904b +Author: Mathieu Bridon +Date: Thu Jun 23 22:35:42 2016 +0200 + + Allow installing with pip + + This commit adds a setup.py file which just calls the autotools to + configure/make/make install. + + It is heavily inspired by the similar work from Simon McVittie on + dbus-python. + + https://bugzilla.gnome.org/show_bug.cgi?id=767988 + + .gitignore | 3 ++ + Makefile.am | 3 +- + setup.py | 105 + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 110 insertions(+), 1 deletion(-) + +commit 14626ee5dcf380ae94680626607742a8cc048351 +Author: Christoph Reiter +Date: Mon Jun 6 20:08:18 2016 +0200 + + Skip a test with older glib + + https://bugzilla.gnome.org/show_bug.cgi?id=740301 + + tests/test_docstring.py | 4 ++++ + 1 file changed, 4 insertions(+) + +commit a12f7027adeb57fe1c0142c86d34d5ec8f6b6d9e +Author: Christoph Reiter +Date: Mon Jun 6 20:13:29 2016 +0200 + + Fix a test with Python 3.1/3.2 + + Fix Python version check in + TestImporter.test_invalid_repository_module_name() + to avoid failure with Python 3.1 and 3.2. + + Fix provided by Arfrever Frehtes Taifersar Arahesis at + https://bugzilla.gnome.org/show_bug.cgi?id=740324#c1 + + https://bugzilla.gnome.org/show_bug.cgi?id=740324 + + tests/test_import_machinery.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit f5cf74f3b8d285de3591d89c6f3b4b8d59bde35e +Author: Christoph Reiter +Date: Mon Jun 6 20:45:22 2016 +0200 + + tests: Use places kwarg for assertAlmostEqual + + Always pass 'places' argument of TestCase.assertAlmostEqual + as keyword argument. + + Fix by Arfrever Frehtes Taifersar Arahesis + https://bugzilla.gnome.org/show_bug.cgi?id=740337#c1 + + https://bugzilla.gnome.org/show_bug.cgi?id=740337 + + tests/test_properties.py | 6 +++--- + tests/test_signal.py | 4 ++-- + 2 files changed, 5 insertions(+), 5 deletions(-) + +commit e0b40099283a31ea23433f9d36dc9beebd4370c9 +Author: Christoph Reiter +Date: Mon Jun 6 11:34:47 2016 +0200 + + Print exception if marshalling a signal argument fails + + For example if cairo support is missing a Gtk.Widget::draw call + will result in + "TypeError: Couldn't find foreign struct converter for + 'cairo.Context'" + + https://bugzilla.gnome.org/show_bug.cgi?id=748198 + + gi/pygi-signal-closure.c | 1 + + 1 file changed, 1 insertion(+) + +commit 76e2e30bc586016eba8bcfdd753dc1f4672dced7 +Author: Marinus Schraal +Date: Fri May 20 01:26:27 2016 +0200 + + overrides: allow treemodel sequence shorthands + + Add get_ and set_ overrides for sequences of GtkTreeModel + indices. This + allows an arbitray list of indices to be retrieved or written in + one go + from or to a GtkTreeModel row: + + model[0][0, 1] = [True, "Hello"] + [foo, bar] = model[0][2, 7] + + https://bugzilla.gnome.org/show_bug.cgi?id=766580 + + gi/overrides/Gtk.py | 15 +++++++++++++-- + tests/test_overrides_gtk.py | 46 + +++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 59 insertions(+), 2 deletions(-) + +commit ff1a6f0f00e042c5addfa42231ec8927ebf1a1a6 +Author: Christoph Reiter +Date: Tue May 31 19:26:00 2016 +0200 + + Remove pygobject-external.h + + It's not used any more + + https://bugzilla.gnome.org/show_bug.cgi?id=767084 + + gi/Makefile.am | 1 - + gi/pygobject-external.h | 73 + ------------------------------------------------- + 2 files changed, 74 deletions(-) + +commit f5dd1551371308d33df9627bc8cc0e34fa68a2a8 +Author: Christoph Reiter +Date: Tue May 31 18:47:54 2016 +0200 + + Remove pygobject-private.h and rename pygobject.c to + pygobject-object.c + + Move all the random declarations in pygobject-private.h to their + respective header files. Rename pygobject.c to pygobject-object.c + so it's clearer that it's not the implementation of pygobject.h. + Add a new pygobject-internal.h which includes pygobject.h + with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did. + + In case you are looking at the git log and end up here due to the + rename try: + + git log --follow pygobject-object.c + + or on the web interface go to the history of the old file name: + + https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64 + + https://bugzilla.gnome.org/show_bug.cgi?id=767084 + + gi/Makefile.am | 7 +- + gi/gimodule.c | 10 +- + gi/gobjectmodule.c | 56 +--------- + gi/gobjectmodule.h | 11 ++ + gi/pygboxed.c | 4 +- + gi/pygboxed.h | 11 ++ + gi/pygenum.c | 4 +- + gi/pygenum.h | 22 ++++ + gi/pygflags.c | 4 +- + gi/pygflags.h | 21 ++++ + gi/pygi-argument.c | 4 +- + gi/pygi-basictype.c | 2 +- + gi/pygi-boxed.c | 3 +- + gi/pygi-boxed.h | 2 +- + gi/pygi-cache.c | 1 + + gi/pygi-ccallback.c | 1 - + gi/pygi-enum-marshal.c | 3 +- + gi/pygi-foreign.c | 2 +- + gi/pygi-info.c | 2 +- + gi/pygi-object.c | 2 +- + gi/pygi-property.c | 1 + + gi/pygi-property.h | 2 +- + gi/pygi-signal-closure.h | 2 +- + gi/pygi-source.c | 3 +- + gi/pygi-struct-marshal.c | 3 + + gi/pygi-struct.c | 3 +- + gi/pygi-struct.h | 2 +- + gi/pygi-type.c | 2 +- + gi/pygi-util.c | 42 ++++++++ + gi/pygi-util.h | 6 ++ + gi/pygi-value.c | 6 +- + gi/pyginterface.c | 3 +- + gi/pygobject-internal.h | 7 ++ + gi/{pygobject.c => pygobject-object.c} | 27 ++++- + gi/pygobject-object.h | 56 ++++++++++ + gi/pygobject-private.h | 186 + --------------------------------- + gi/pygparamspec.c | 5 +- + gi/pygpointer.c | 3 +- + gi/pygpointer.h | 8 ++ + gi/pygtype.c | 27 ++--- + gi/pygtype.h | 25 +++++ + 41 files changed, 305 insertions(+), 286 deletions(-) + +commit ef7a6dad8cea6a3b9547cfae00bf15ebb9eb756e +Author: Christoph Reiter +Date: Tue May 31 15:44:36 2016 +0200 + + Merge pyglib-private.h into pyglib.h + + No need for another header + + https://bugzilla.gnome.org/show_bug.cgi?id=767084 + + gi/Makefile.am | 1 - + gi/gimodule.c | 2 +- + gi/glibmodule.c | 1 - + gi/pygi-resulttuple.c | 2 +- + gi/pygi-source.c | 1 - + gi/pyglib-private.h | 40 ---------------------------------------- + gi/pyglib.c | 1 - + gi/pyglib.h | 6 ++++++ + gi/pygoptioncontext.c | 1 - + gi/pygoptiongroup.c | 1 - + gi/pygspawn.c | 1 - + 11 files changed, 8 insertions(+), 49 deletions(-) + +commit e1e05fb027c328ef41be0ba6d99883d2d7983f70 +Author: Christoph Reiter +Date: Tue May 31 15:31:38 2016 +0200 + + Remove pygi.h and pygi-private.h + + Instead include things where needed. + + https://bugzilla.gnome.org/show_bug.cgi?id=767084 + + gi/Makefile.am | 3 +- + gi/gimodule.c | 11 ++++- + gi/pygboxed.c | 1 - + gi/pygenum.c | 2 +- + gi/pygflags.c | 4 +- + gi/pygi-argument.c | 17 ++++++-- + gi/pygi-array.c | 3 +- + gi/pygi-basictype.c | 2 +- + gi/pygi-boxed.c | 3 +- + gi/pygi-boxed.h | 8 ++++ + gi/pygi-cache.c | 2 + + gi/pygi-ccallback.c | 2 +- + gi/pygi-ccallback.h | 11 +++++ + gi/pygi-closure.c | 5 ++- + gi/pygi-enum-marshal.c | 3 +- + gi/pygi-error.c | 2 +- + gi/pygi-hashtable.c | 2 +- + gi/pygi-info.c | 6 ++- + gi/pygi-info.h | 22 ++++++++++ + gi/pygi-invoke.c | 5 +++ + gi/pygi-invoke.h | 2 +- + gi/pygi-list.c | 2 +- + gi/pygi-marshal-cleanup.c | 8 ++-- + gi/pygi-marshal-cleanup.h | 4 +- + gi/pygi-object.c | 2 +- + gi/pygi-property.c | 3 +- + gi/pygi-property.h | 2 +- + gi/pygi-repository.c | 3 +- + gi/pygi-repository.h | 6 +++ + gi/pygi-signal-closure.c | 4 +- + gi/pygi-signal-closure.h | 3 +- + gi/pygi-source.c | 4 +- + gi/pygi-struct-marshal.c | 6 ++- + gi/pygi-struct.c | 5 ++- + gi/pygi-struct.h | 6 +++ + gi/pygi-type.c | 3 +- + gi/{pygi-private.h => pygi-util.h} | 47 ++-------------------- + gi/pygi.h | 82 + -------------------------------------- + gi/pygobject.c | 3 +- + gi/pygpointer.c | 1 - + 40 files changed, 146 insertions(+), 164 deletions(-) + +commit c86424c73725610ac2ef832c1fa41a777f9a5efa +Author: Simon Feltman +Date: Sun Apr 24 21:27:59 2016 -0700 + + configure.ac: post-release version bump to 3.21.1 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + commit febd211b6628a8f63d92ae011d68b845e9fe6ec8 Author: Simon Feltman Date: Sun Apr 24 21:19:39 2016 -0700 @@ -3723,12 +3996,9 @@ Date: Mon Mar 24 18:04:27 2014 -0700 https://bugzilla.gnome.org/show_bug.cgi?id=726877 - tests/Makefile.am | 2 +- - tests/test_import_machinery.py | 58 - ++++++++++++++++++++++++++++++++++++++++++ - tests/test_overrides.py | 58 - ------------------------------------------ - 3 files changed, 59 insertions(+), 59 deletions(-) + tests/Makefile.am | 2 +- + tests/{test_overrides.py => test_import_machinery.py} | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0 Author: Simon Feltman @@ -4797,18 +5067,15 @@ Date: Wed Jan 8 19:22:08 2014 -0800 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 | 363 - ------------------------------------------------ - gi/_option.py | 363 - ++++++++++++++++++++++++++++++++++++++++++++++++ - gi/overrides/GLib.py | 2 +- - gi/overrides/GObject.py | 2 +- - 9 files changed, 367 insertions(+), 409 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 => _option.py} | 2 +- + gi/overrides/GLib.py | 2 +- + gi/overrides/GObject.py | 2 +- + 8 files changed, 5 insertions(+), 47 deletions(-) commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3 Author: Simon Feltman @@ -4825,37 +5092,27 @@ Date: Wed Jan 8 18:57:58 2014 -0800 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/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(-) + 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(-) commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c Author: Simon Feltman @@ -4874,28 +5131,25 @@ Date: Thu Oct 31 03:13:53 2013 -0700 https://bugzilla.gnome.org/show_bug.cgi?id=712197 - 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(-) + 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(-) commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9 Author: Simon Feltman @@ -4909,68 +5163,48 @@ Date: Thu Oct 31 02:22:03 2013 -0700 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/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(-) + 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(-) commit a329f559002f2be0898309c9d81cdf2c34aef158 Author: Simon Feltman @@ -5012,14 +5246,13 @@ Date: Mon Jan 13 08:19:02 2014 -0800 targets. Rename python.supp to python2.7.supp - 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(-) + tests/Makefile.am | 6 +- + tests/{python.supp => python2.7.supp} | 0 + tests/python3.3.supp | 471 + ++++++++++++++++++++++++++++++++++ + tests/python3.3dm.supp | 471 + ++++++++++++++++++++++++++++++++++ + 4 files changed, 945 insertions(+), 3 deletions(-) commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05 Author: Simon Feltman @@ -10784,12 +11017,9 @@ Date: Thu Jan 10 13:56:11 2013 +0100 As we want to add more tests for non-overridden API. - tests/Makefile.am | 2 +- - tests/test_gio.py | 121 - ++++++++++++++++++++++++++++++++++++++++++++ - tests/test_overrides_gio.py | 121 - -------------------------------------------- - 3 files changed, 122 insertions(+), 122 deletions(-) + tests/Makefile.am | 2 +- + tests/{test_overrides_gio.py => test_gio.py} | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) commit 8117e6bce73581e89211371708ff7d5de7d870d4 Author: Martin Pitt @@ -11437,12 +11667,9 @@ Date: Mon Nov 19 14:09:14 2012 +0100 See https://bugzilla.gnome.org/show_bug.cgi?id=688219 - tests/Makefile.am | 3 + - tests/compat_test_pygtk.py | 147 - +++++++++++++++++++++++++++++++++++++++++++++ - tests/test_pygtkcompat.py | 147 - --------------------------------------------- - 3 files changed, 150 insertions(+), 147 deletions(-) + tests/Makefile.am | 3 +++ + tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0 + 2 files changed, 3 insertions(+) commit 8180b8092f99b7c9f0dee1742418efdbd23ab330 Author: Simon Feltman @@ -19490,23 +19717,20 @@ Date: Fri Sep 2 18:39:51 2011 -0400 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-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(-) + 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(-) commit 45b0fcff9e948c65a3903c32a3957802034c5e47 Author: Dieter Verfaillie @@ -20670,107 +20894,57 @@ Date: Fri Jul 22 11:02:49 2011 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=642048 - 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(-) + 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(-) commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3 Author: John (J5) Palmieri @@ -20808,13 +20982,12 @@ Date: Mon Jul 18 18:28:50 2011 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=642048 - 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(-) + 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(-) commit 5189b360ccddbbaee267ce857968fbf1aafdd07a Author: Martin Pitt @@ -20917,12 +21090,9 @@ Date: Mon Jul 18 10:59:45 2011 -0400 rename pygi-invoke-ng to pygi-invoke - gi/Makefile.am | 3 +- - gi/pygi-invoke-ng.c | 464 - ---------------------------------------------------- - gi/pygi-invoke.c | 464 - ++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 466 insertions(+), 465 deletions(-) + gi/Makefile.am | 3 ++- + gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f Author: John (J5) Palmieri @@ -20958,16 +21128,15 @@ Date: Mon Jul 18 10:35:10 2011 -0400 * update copy and paste copyright info to list the correct owner - 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(-) + 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(-) commit 917ea2dfa2d097e563233145003a66b3e4423287 Author: Martin Pitt @@ -21167,8 +21336,8 @@ Date: Thu Jul 7 13:39:19 2011 +0200 iter = buffer.get_start_iter() end = buffer.get_end_iter() ret = iter.forward_search("foo", - Gtk.TextSearchFlags.VISIBLE_ONLY, - end) + Gtk.TextSearchFlags.VISIBLE_ONLY, + end) print "this is my return value" print ret print "now I crash" @@ -21182,19 +21351,19 @@ Date: Thu Jul 7 13:39:19 2011 +0200 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da Author: John (J5) Palmieri -Date: Tue Jul 5 15:57:23 2011 -0400 +Date: Tue Jul 5 15:57:23 2011 -0400 use gssize instead of int for arg indexes - gi/pygi-cache.c | 24 ++++++++++++------------ - gi/pygi-cache.h | 6 +++--- - gi/pygi-invoke-ng.c | 6 +++--- + gi/pygi-cache.c | 24 ++++++++++++------------ + gi/pygi-cache.h | 6 +++--- + gi/pygi-invoke-ng.c | 6 +++--- gi/pygi-marshal-cleanup.c | 6 +++--- 4 files changed, 21 insertions(+), 21 deletions(-) commit ecc09749c34cd4eabf47cc722d768b042dc0be9f Author: John (J5) Palmieri -Date: Tue Jul 5 14:17:30 2011 -0400 +Date: Tue Jul 5 14:17:30 2011 -0400 [cache] remove refrence to default value as it is not implemented yet @@ -21203,7 +21372,7 @@ Date: Tue Jul 5 14:17:30 2011 -0400 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b Author: Sebastian Pölsterl -Date: Thu May 12 18:53:06 2011 +0200 +Date: Thu May 12 18:53:06 2011 +0200 Handle arguments that are flags correctly @@ -21214,7 +21383,7 @@ Date: Thu May 12 18:53:06 2011 +0200 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f Author: John (J5) Palmieri -Date: Fri Jul 1 05:19:15 2011 -0400 +Date: Fri Jul 1 05:19:15 2011 -0400 correctly initialize the _gi_cairo_functions array to be zero filled @@ -21223,7 +21392,7 @@ Date: Fri Jul 1 05:19:15 2011 -0400 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6 Author: John (J5) Palmieri -Date: Fri Jul 1 05:19:15 2011 -0400 +Date: Fri Jul 1 05:19:15 2011 -0400 correctly initialize the _gi_cairo_functions array to be zero filled @@ -21232,7 +21401,7 @@ Date: Fri Jul 1 05:19:15 2011 -0400 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9 Author: John (J5) Palmieri -Date: Wed Jun 29 18:14:40 2011 -0400 +Date: Wed Jun 29 18:14:40 2011 -0400 pass in the address of the gerror, not the gerror itself @@ -21241,7 +21410,7 @@ Date: Wed Jun 29 18:14:40 2011 -0400 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2 Author: John (J5) Palmieri -Date: Wed Jun 29 18:01:44 2011 -0400 +Date: Wed Jun 29 18:01:44 2011 -0400 [gi] handle marshalling gerrors arguments for signals @@ -21250,7 +21419,7 @@ Date: Wed Jun 29 18:01:44 2011 -0400 commit db9419fcef628e9ffee10591156007ea9c0bc1f0 Author: John (J5) Palmieri -Date: Wed Jun 29 12:12:29 2011 -0400 +Date: Wed Jun 29 12:12:29 2011 -0400 [gi-invoke-ng] fix NULL check to check before we access the cache struct @@ -21260,7 +21429,7 @@ Date: Wed Jun 29 12:12:29 2011 -0400 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a Author: John (J5) Palmieri -Date: Tue Jun 28 18:21:55 2011 -0400 +Date: Tue Jun 28 18:21:55 2011 -0400 [gi-tests] add test for PyGObject->PyObject TreeModel storage @@ -21272,7 +21441,7 @@ Date: Tue Jun 28 18:21:55 2011 -0400 commit b6842e4b2a28733e143d4022864041ca82e91f7a Author: John (J5) Palmieri -Date: Tue Jun 28 18:13:38 2011 -0400 +Date: Tue Jun 28 18:13:38 2011 -0400 [gtk-overrides] special case TreeModel columns of PYGOBJECT types @@ -21285,7 +21454,7 @@ Date: Tue Jun 28 18:13:38 2011 -0400 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6 Author: John (J5) Palmieri -Date: Tue Jun 28 17:32:29 2011 -0400 +Date: Tue Jun 28 17:32:29 2011 -0400 [gi-invoke-ng] copy structs when transfer is full for array @@ -21294,7 +21463,7 @@ Date: Tue Jun 28 17:32:29 2011 -0400 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8 Author: John (J5) Palmieri -Date: Tue Jun 28 13:54:48 2011 -0400 +Date: Tue Jun 28 13:54:48 2011 -0400 [gtk-override] print warning if user imports Gtk 2.0 @@ -21307,7 +21476,7 @@ Date: Tue Jun 28 13:54:48 2011 -0400 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3 Author: John (J5) Palmieri -Date: Tue Jun 28 13:08:49 2011 -0400 +Date: Tue Jun 28 13:08:49 2011 -0400 [gtk-overrides] allow the message_type keyword to be used for MessageDialogs @@ -21333,7 +21502,7 @@ Date: Tue Jun 28 13:08:49 2011 -0400 commit 2aa12267bee91aa696633a0cea2a0accae09250a Author: Johan Dahlin -Date: Mon Jun 27 10:56:20 2011 -0300 +Date: Mon Jun 27 10:56:20 2011 -0300 Add support for enums in gobject.property @@ -21345,7 +21514,7 @@ Date: Mon Jun 27 10:56:20 2011 -0300 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b Author: Johan Dahlin -Date: Mon Jun 27 10:56:20 2011 -0300 +Date: Mon Jun 27 10:56:20 2011 -0300 Add support for enums in gobject.property @@ -21357,18 +21526,18 @@ Date: Mon Jun 27 10:56:20 2011 -0300 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d Author: John (J5) Palmieri -Date: Fri Jun 24 14:17:24 2011 -0400 +Date: Fri Jun 24 14:17:24 2011 -0400 [gi-invoke-ng] use g_slice for allocating GValues that are caller allocated - gi/pygi-invoke-ng.c | 2 ++ + gi/pygi-invoke-ng.c | 2 ++ gi/pygi-marshal-cleanup.c | 2 ++ 2 files changed, 4 insertions(+) commit eff65cd2ce490296865441c3c78b7846f380459c Author: John (J5) Palmieri -Date: Fri Jun 24 11:49:05 2011 -0400 +Date: Fri Jun 24 11:49:05 2011 -0400 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling integers @@ -21379,7 +21548,7 @@ Date: Fri Jun 24 11:49:05 2011 -0400 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d Author: John (J5) Palmieri -Date: Wed Jun 22 12:26:39 2011 -0400 +Date: Wed Jun 22 12:26:39 2011 -0400 [gi-invoke-ng] only cache caller allocates for interfaces as some API are broken @@ -21389,7 +21558,7 @@ Date: Wed Jun 22 12:26:39 2011 -0400 commit 4fd957a5de364c0588168dee15e1e61d4f12e173 Author: John (J5) Palmieri -Date: Fri Jun 17 17:07:56 2011 -0400 +Date: Fri Jun 17 17:07:56 2011 -0400 [gi-invoke-ng] handle in pointer array marshalling @@ -21398,7 +21567,7 @@ Date: Fri Jun 17 17:07:56 2011 -0400 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de Author: Alex Eftimie -Date: Fri Jun 10 08:44:04 2011 +0300 +Date: Fri Jun 10 08:44:04 2011 +0300 Adding GPtrArray tests @@ -21407,7 +21576,7 @@ Date: Fri Jun 10 08:44:04 2011 +0300 commit e32c2be53175014399d89e1e85c9afc6e53c94be Author: John (J5) Palmieri -Date: Fri Jun 17 11:32:28 2011 -0400 +Date: Fri Jun 17 11:32:28 2011 -0400 [gi-invoke-ng] fix array element offset calculations @@ -21420,7 +21589,7 @@ Date: Fri Jun 17 11:32:28 2011 -0400 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b Author: John (J5) Palmieri -Date: Wed Jun 15 12:46:03 2011 -0400 +Date: Wed Jun 15 12:46:03 2011 -0400 [gi] don't clean up arguments that weren't yet processed during in arg failure @@ -21430,20 +21599,20 @@ Date: Wed Jun 15 12:46:03 2011 -0400 commit af7c93ea98b7f492eef265e58c8b3c878805524f Author: John (J5) Palmieri -Date: Wed Jun 15 12:06:47 2011 -0400 +Date: Wed Jun 15 12:06:47 2011 -0400 [gi-overrides] use new instead of init when constructing a GLib.VariantBuilder * init is now skipped in the gir - gi/overrides/GLib.py | 18 ++++++++---------- + gi/overrides/GLib.py | 18 ++++++++---------- tests/test_overrides.py | 6 ++---- 2 files changed, 10 insertions(+), 14 deletions(-) commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0 Author: John (J5) Palmieri -Date: Wed Jun 15 11:42:45 2011 -0400 +Date: Wed Jun 15 11:42:45 2011 -0400 [gi-invoke-ng] actual code to import overrides @@ -21452,7 +21621,7 @@ Date: Wed Jun 15 11:42:45 2011 -0400 commit 902575d857beffb14e56821ea8a52f705385f6bb Author: John (J5) Palmieri -Date: Wed Jun 15 11:25:10 2011 -0400 +Date: Wed Jun 15 11:25:10 2011 -0400 [gi-invoke-ng] import pytypes so we get overrides @@ -21461,7 +21630,7 @@ Date: Wed Jun 15 11:25:10 2011 -0400 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4 Author: John (J5) Palmieri -Date: Tue Jun 14 16:13:37 2011 -0400 +Date: Tue Jun 14 16:13:37 2011 -0400 [gi-invoke-ng] handle gvariants now that they are not foreign @@ -21470,7 +21639,7 @@ Date: Tue Jun 14 16:13:37 2011 -0400 commit c1f5651062687e800a52b5d8d16c88c0acde2934 Author: John (J5) Palmieri -Date: Tue Jun 14 16:12:43 2011 -0400 +Date: Tue Jun 14 16:12:43 2011 -0400 [gi-invoke-ng] do not try to clean up NULL arguments @@ -21480,20 +21649,20 @@ Date: Tue Jun 14 16:12:43 2011 -0400 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc Merge: 499b68d 1491f62 Author: John (J5) Palmieri -Date: Mon Jun 13 17:28:23 2011 -0400 +Date: Mon Jun 13 17:28:23 2011 -0400 Merge branch 'master' into invoke-rewrite commit 499b68d6c9040cffc6e43dc87789d68446564a92 Merge: 4c9bced 426c710 Author: John (J5) Palmieri -Date: Mon Jun 13 17:26:37 2011 -0400 +Date: Mon Jun 13 17:26:37 2011 -0400 Merge branch 'master' into invoke-rewrite commit 1491f6225b9906bd369b5a42e6369ab6884736b7 Author: Ignacio Casal Quinteiro -Date: Fri Jun 10 14:01:32 2011 +0200 +Date: Fri Jun 10 14:01:32 2011 +0200 closure: avoid double free crash @@ -21502,20 +21671,20 @@ Date: Fri Jun 10 14:01:32 2011 +0200 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6 Author: Jason Siefken -Date: Fri Jun 3 23:11:17 2011 -0700 +Date: Fri Jun 3 23:11:17 2011 -0700 Added __eq__ method for Gdk.Color and Gdk.RGBA Call Gdk.Color.equal and Gdk.RGBA.equal when == equality testing is used. - gi/overrides/Gdk.py | 6 ++++++ + gi/overrides/Gdk.py | 6 ++++++ tests/test_overrides.py | 4 ++++ 2 files changed, 10 insertions(+) commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a Author: Ignacio Casal Quinteiro -Date: Wed Jun 8 19:13:48 2011 +0200 +Date: Wed Jun 8 19:13:48 2011 +0200 closure: Check the out arg is not null. Fixes bug #651812 @@ -21524,7 +21693,7 @@ Date: Wed Jun 8 19:13:48 2011 +0200 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5 Author: Tomeu Vizoso -Date: Wed Jun 8 09:47:20 2011 +0200 +Date: Wed Jun 8 09:47:20 2011 +0200 Use constants instead of literals @@ -21533,7 +21702,7 @@ Date: Wed Jun 8 09:47:20 2011 +0200 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29 Author: Tomeu Vizoso -Date: Mon Jun 6 19:07:22 2011 +0200 +Date: Mon Jun 6 19:07:22 2011 +0200 GVariant has now a GType, take that into account @@ -21545,7 +21714,7 @@ Date: Mon Jun 6 19:07:22 2011 +0200 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31 Author: Tomeu Vizoso -Date: Mon Jun 6 19:05:07 2011 +0200 +Date: Mon Jun 6 19:05:07 2011 +0200 GVariantType is a boxed struct @@ -21556,7 +21725,7 @@ Date: Mon Jun 6 19:05:07 2011 +0200 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61 Author: Tomeu Vizoso -Date: Mon Jun 6 17:38:21 2011 +0200 +Date: Mon Jun 6 17:38:21 2011 +0200 Use _gi.Struct to wrap fundamentals @@ -21567,7 +21736,7 @@ Date: Mon Jun 6 17:38:21 2011 +0200 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf Author: Tomeu Vizoso -Date: Mon Jun 6 17:24:28 2011 +0200 +Date: Mon Jun 6 17:24:28 2011 +0200 Merge gi/HACKING into /HACKING @@ -21577,31 +21746,31 @@ Date: Mon Jun 6 17:24:28 2011 +0200 commit 92aca4416a7930e5870b8d1a4016bae8140462ee Author: Daniel Drake -Date: Fri Jun 3 16:59:15 2011 +0100 +Date: Fri Jun 3 16:59:15 2011 +0100 Fix GC-related crash during PyGObject deallocation Python-2.7.1's GC source has the following comment: - /* Python's cyclic gc should never see an incoming refcount - * of 0: if something decref'ed to 0, it should have been - * deallocated immediately at that time. - * Possible cause (if the assert triggers): a tp_dealloc - * routine left a gc-aware object tracked during its teardown - * phase, and did something-- or allowed something to - happen -- - * that called back into Python. gc can trigger then, and may - * see the still-tracked dying object. Before this assert - * was added, such mistakes went on to allow gc to try to - * delete the object again. In a debug build, that caused - * a mysterious segfault, when _Py_ForgetReference tried - * to remove the object from the doubly-linked list of all - * objects a second time. In a release build, an actual - * double deallocation occurred, which leads to corruption - * of the allocator's internal bookkeeping pointers. That's - * so serious that maybe this should be a release-build - * check instead of an assert? - */ + /* Python's cyclic gc should never see an incoming refcount + * of 0: if something decref'ed to 0, it should have been + * deallocated immediately at that time. + * Possible cause (if the assert triggers): a tp_dealloc + * routine left a gc-aware object tracked during its teardown + * phase, and did something-- or allowed something to + happen -- + * that called back into Python. gc can trigger then, and may + * see the still-tracked dying object. Before this assert + * was added, such mistakes went on to allow gc to try to + * delete the object again. In a debug build, that caused + * a mysterious segfault, when _Py_ForgetReference tried + * to remove the object from the doubly-linked list of all + * objects a second time. In a release build, an actual + * double deallocation occurred, which leads to corruption + * of the allocator's internal bookkeeping pointers. That's + * so serious that maybe this should be a release-build + * check instead of an assert? + */ As shown in a backtrace at https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject @@ -21627,7 +21796,7 @@ Date: Fri Jun 3 16:59:15 2011 +0100 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473 Author: John (J5) Palmieri -Date: Tue May 31 16:59:41 2011 -0400 +Date: Tue May 31 16:59:41 2011 -0400 [gi-invoke-ng] enable invoke-ng by default @@ -21636,7 +21805,7 @@ Date: Tue May 31 16:59:41 2011 -0400 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e Author: John (J5) Palmieri -Date: Tue May 31 16:37:21 2011 -0400 +Date: Tue May 31 16:37:21 2011 -0400 [gi-invoke-ng] add code to clean up when input values fail to marshal @@ -21645,11 +21814,11 @@ Date: Tue May 31 16:37:21 2011 -0400 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc Author: John (J5) Palmieri -Date: Tue May 31 16:01:03 2011 -0400 +Date: Tue May 31 16:01:03 2011 -0400 [gi-invoke-ng] add hash cleanup routines - gi/pygi-cache.c | 2 ++ + gi/pygi-cache.c | 2 ++ gi/pygi-marshal-cleanup.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++ gi/pygi-marshal-cleanup.h | 10 ++++++-- @@ -21657,7 +21826,7 @@ Date: Tue May 31 16:01:03 2011 -0400 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832 Author: John (J5) Palmieri -Date: Tue May 31 14:47:30 2011 -0400 +Date: Tue May 31 14:47:30 2011 -0400 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER @@ -21666,11 +21835,11 @@ Date: Tue May 31 14:47:30 2011 -0400 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9 Author: John (J5) Palmieri -Date: Tue May 31 14:40:49 2011 -0400 +Date: Tue May 31 14:40:49 2011 -0400 [gi-invoke-ng] add list cleanup routines - gi/pygi-cache.c | 8 ++--- + gi/pygi-cache.c | 8 ++--- gi/pygi-marshal-cleanup.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++ gi/pygi-marshal-cleanup.h | 8 +++++ @@ -21678,7 +21847,7 @@ Date: Tue May 31 14:40:49 2011 -0400 commit 2e542c327cd52c1f77af28905557dd25c64175d8 Author: John (J5) Palmieri -Date: Thu May 26 16:10:13 2011 -0400 +Date: Thu May 26 16:10:13 2011 -0400 indentation fix @@ -21687,18 +21856,18 @@ Date: Thu May 26 16:10:13 2011 -0400 commit 601aec11c49e821fe97dd30a2187fe3c75844712 Author: John (J5) Palmieri -Date: Thu May 26 16:09:38 2011 -0400 +Date: Thu May 26 16:09:38 2011 -0400 [gi-invoke-ng] add out array cleanup - gi/pygi-cache.c | 2 +- + gi/pygi-cache.c | 2 +- gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++ - gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------ + gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------ 3 files changed, 56 insertions(+), 7 deletions(-) commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e Author: John (J5) Palmieri -Date: Thu May 26 13:22:38 2011 -0400 +Date: Thu May 26 13:22:38 2011 -0400 [gi-invoke-ng] do not allocate null terminator for garray @@ -21710,30 +21879,30 @@ Date: Thu May 26 13:22:38 2011 -0400 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508 Author: John (J5) Palmieri -Date: Thu May 26 13:21:55 2011 -0400 +Date: Thu May 26 13:21:55 2011 -0400 [gi-invoke-ng] add array cleanup for in arrays - gi/pygi-cache.c | 2 +- + gi/pygi-cache.c | 2 +- gi/pygi-marshal-cleanup.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++- gi/pygi-marshal-cleanup.h | 9 ++++++ - gi/pygi-marshal.c | 13 +++++++-- + gi/pygi-marshal.c | 13 +++++++-- 4 files changed, 91 insertions(+), 5 deletions(-) commit 990c60805c8ef718eb29e2e1b24f057552c6159e Author: John (J5) Palmieri -Date: Mon May 23 17:06:30 2011 -0400 +Date: Mon May 23 17:06:30 2011 -0400 [gi-invoke-ng] remove remaining bits of the invoke stage state machine - gi/pygi-invoke-ng.c | 7 +------ + gi/pygi-invoke-ng.c | 7 +------ gi/pygi-invoke-state-struct.h | 14 -------------- 2 files changed, 1 insertion(+), 20 deletions(-) commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5 Author: John (J5) Palmieri -Date: Mon May 23 16:59:57 2011 -0400 +Date: Mon May 23 16:59:57 2011 -0400 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache setup @@ -21747,19 +21916,19 @@ Date: Mon May 23 16:59:57 2011 -0400 happens at each stage - gi/pygi-cache.c | 19 ++- - gi/pygi-cache.h | 7 +- - gi/pygi-invoke-ng.c | 10 +- + gi/pygi-cache.c | 19 ++- + gi/pygi-cache.h | 7 +- + gi/pygi-invoke-ng.c | 10 +- gi/pygi-invoke-state-struct.h | 2 + gi/pygi-marshal-cleanup.c | 301 +++++++++++++++++------------------------- gi/pygi-marshal-cleanup.h | 45 ++++--- - gi/pygi-marshal.c | 15 +-- + gi/pygi-marshal.c | 15 +-- 7 files changed, 174 insertions(+), 225 deletions(-) commit 198714dc4585f7463f38929f1ca4e4b60a27dadb Author: John (J5) Palmieri -Date: Thu May 12 17:29:20 2011 -0400 +Date: Thu May 12 17:29:20 2011 -0400 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves @@ -21768,7 +21937,7 @@ Date: Thu May 12 17:29:20 2011 -0400 * Now we call specific cleanup functions at the point of failure (or successful completion of a marshalling stage) - gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++------- + gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++------- gi/pygi-marshal-cleanup.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++ gi/pygi-marshal-cleanup.h | 14 +++++++++ @@ -21776,58 +21945,60 @@ Date: Thu May 12 17:29:20 2011 -0400 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5 Author: José Alburquerque -Date: Thu May 12 11:53:40 2011 -0400 +Date: Thu May 12 11:53:40 2011 -0400 Doc Extractor: Correct the logic of the --no-since option. - * codegen/docextract.py (process_final_sections): If the - --no-since - option has been specified and a "Since:" is encountered during the - processing of the final sections, simply don't append the - "Since: ..." - instead of reading the next line. This preserves the logical - flow of - processing. + * codegen/docextract.py (process_final_sections): If the + --no-since + option has been specified and a "Since:" is encountered + during the + processing of the final sections, simply don't append the + "Since: ..." + instead of reading the next line. This preserves the logical + flow of + processing. codegen/docextract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843 Author: José Alburquerque -Date: Mon May 9 17:32:09 2011 -0400 +Date: Mon May 9 17:32:09 2011 -0400 Doc Extractor: Add a --no-since option. - * codegen/docextract.py: - * codegen/docextract_to_xml.py: Modified so that if a --no-since - option is specified at the command line, the "Since: ..." portion - of - the gtkdoc function block is omitted. This is useful for C++ - modules - such as gstreamermm where this information would not be useful - as long - as the C API is still unstable. - - codegen/docextract.py | 15 ++++++++++++++- + * codegen/docextract.py: + * codegen/docextract_to_xml.py: Modified so that if a + --no-since + option is specified at the command line, the "Since: + ..." portion of + the gtkdoc function block is omitted. This is useful for + C++ modules + such as gstreamermm where this information would not be + useful as long + as the C API is still unstable. + + codegen/docextract.py | 15 ++++++++++++++- codegen/docextract_to_xml.py | 9 ++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) commit 4f615c6e300d6f2d7551b640efa301060206ab58 Author: John (J5) Palmieri -Date: Thu May 5 14:04:34 2011 -0400 +Date: Thu May 5 14:04:34 2011 -0400 [gi-invoke-ng] tweek cleanup routines - gi/pygi-cache.c | 5 +++ + gi/pygi-cache.c | 5 +++ gi/pygi-marshal-cleanup.c | 87 +++++++++++++++++++++++++++++++++++------------ gi/pygi-marshal-cleanup.h | 6 ++-- - gi/pygi-marshal.c | 11 ++---- + gi/pygi-marshal.c | 11 ++---- 4 files changed, 76 insertions(+), 33 deletions(-) commit 63c7f17c224821cb7136d06e8ef87eab7291848d Author: Martin Pitt -Date: Mon May 2 15:49:52 2011 +0200 +Date: Mon May 2 15:49:52 2011 +0200 Fix symbol names to be locale independent @@ -21848,7 +22019,7 @@ Date: Mon May 2 15:49:52 2011 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=649165 - gi/module.py | 9 ++++++++- + gi/module.py | 9 ++++++++- tests/te_ST@nouppera | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/test_gi.py | 30 ++++++++++++++++++++++++++++++ @@ -21856,7 +22027,7 @@ Date: Mon May 2 15:49:52 2011 +0200 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63 Author: Martin Pitt -Date: Wed May 4 08:35:27 2011 +0200 +Date: Wed May 4 08:35:27 2011 +0200 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR @@ -21865,7 +22036,7 @@ Date: Wed May 4 08:35:27 2011 +0200 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65 Author: John (J5) Palmieri -Date: Fri Apr 29 17:41:08 2011 -0400 +Date: Fri Apr 29 17:41:08 2011 -0400 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function @@ -21874,11 +22045,11 @@ Date: Fri Apr 29 17:41:08 2011 -0400 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b Author: John (J5) Palmieri -Date: Fri Apr 29 17:40:13 2011 -0400 +Date: Fri Apr 29 17:40:13 2011 -0400 [gi-invoke-ng] handle caller allocates cleanup - gi/pygi-invoke-ng.c | 5 ++- + gi/pygi-invoke-ng.c | 5 ++- gi/pygi-marshal-cleanup.c | 104 ++++++++++++++++++++++++++++++++++++---------- gi/pygi-marshal-cleanup.h | 7 ++-- @@ -21886,13 +22057,13 @@ Date: Fri Apr 29 17:40:13 2011 -0400 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7 Author: John (J5) Palmieri -Date: Thu Apr 28 19:16:02 2011 -0400 +Date: Thu Apr 28 19:16:02 2011 -0400 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as initial test - gi/pygi-cache.c | 15 ++----------- - gi/pygi-invoke-ng.c | 8 +++---- + gi/pygi-cache.c | 15 ++----------- + gi/pygi-invoke-ng.c | 8 +++---- gi/pygi-invoke-state-struct.h | 2 ++ gi/pygi-marshal-cleanup.c | 51 ++++++++++++++++++++++++++++++++++++++++++- @@ -21901,7 +22072,7 @@ Date: Thu Apr 28 19:16:02 2011 -0400 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79 Author: John (J5) Palmieri -Date: Wed Apr 27 15:47:19 2011 -0400 +Date: Wed Apr 27 15:47:19 2011 -0400 use PyCapsule when importing pycairo/require pycairo 1.10.0 for python3 builds @@ -21909,13 +22080,13 @@ Date: Wed Apr 27 15:47:19 2011 -0400 * PyCObject is deprecated and pycairo 1.10.0 is first release to fix this issue - configure.ac | 15 +++++++++++---- + configure.ac | 15 +++++++++++---- gi/pygi-foreign-cairo.c | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) commit 83b7823a510b0b391560c6deaf9d15d8303c7b14 Author: Ignacio Casal Quinteiro -Date: Thu Apr 21 16:52:20 2011 +0200 +Date: Thu Apr 21 16:52:20 2011 +0200 [python3] fix build. PYcairo_IMPORT doesn't exists anymore @@ -21924,7 +22095,7 @@ Date: Thu Apr 21 16:52:20 2011 +0200 commit 3e933784df423757e591d703614cb700adb0bbe0 Author: Sebastian Pölsterl -Date: Mon Apr 18 18:36:25 2011 +0200 +Date: Mon Apr 18 18:36:25 2011 +0200 Updated DOAP file @@ -21933,7 +22104,7 @@ Date: Mon Apr 18 18:36:25 2011 +0200 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2 Author: Sebastian Pölsterl -Date: Sat Apr 16 16:02:05 2011 +0200 +Date: Sat Apr 16 16:02:05 2011 +0200 [gi] Don't create variant twice @@ -21942,7 +22113,7 @@ Date: Sat Apr 16 16:02:05 2011 +0200 commit 8d8a84ea23d28d25851c5870f261c020d762cef4 Author: Sebastian Pölsterl -Date: Fri Apr 15 16:14:43 2011 +0200 +Date: Fri Apr 15 16:14:43 2011 +0200 pygi-convert.sh: Make sure the uppercase GObject module is imported instead of the lowercase @@ -21954,7 +22125,7 @@ Date: Fri Apr 15 16:14:43 2011 +0200 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8 Author: Sebastian Pölsterl -Date: Fri Apr 15 15:58:53 2011 +0200 +Date: Fri Apr 15 15:58:53 2011 +0200 [gi] Removed hack to avoid using GLib.Variant.new_variant. @@ -21967,7 +22138,7 @@ Date: Fri Apr 15 15:58:53 2011 +0200 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7 Author: Sebastian Pölsterl -Date: Fri Apr 15 15:58:31 2011 +0200 +Date: Fri Apr 15 15:58:31 2011 +0200 [gi] Added additional test case for GVariant handling @@ -21976,7 +22147,7 @@ Date: Fri Apr 15 15:58:31 2011 +0200 commit 138df2778543409752e229a09828a805f68a420d Author: Sebastian Pölsterl -Date: Mon Apr 11 18:34:31 2011 +0200 +Date: Mon Apr 11 18:34:31 2011 +0200 [gi] Added support for GVariant arguments @@ -21991,7 +22162,7 @@ Date: Mon Apr 11 18:34:31 2011 +0200 commit 985f239d891c7697d76ccecb797b189669ae6ee1 Author: John (J5) Palmieri -Date: Tue Mar 22 18:46:28 2011 -0400 +Date: Tue Mar 22 18:46:28 2011 -0400 fix static ABI for setting string gvalues from python objects @@ -22002,13 +22173,13 @@ Date: Tue Mar 22 18:46:28 2011 -0400 * this restores that code while still keeping unicode and python 3 compatability - gobject/pygtype.c | 28 +++++++++++++++++++--------- + gobject/pygtype.c | 28 +++++++++++++++++++--------- tests/test_properties.py | 8 ++++++++ 2 files changed, 27 insertions(+), 9 deletions(-) commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e Author: Dieter Verfaillie -Date: Tue Mar 22 20:47:51 2011 +0100 +Date: Tue Mar 22 20:47:51 2011 +0100 dsextras.py: ensure eol characters are preserved when writing template files (so \n does not become \r\n) @@ -22018,7 +22189,7 @@ Date: Tue Mar 22 20:47:51 2011 +0100 commit 629d267478982c426ba61a639d5c9603fed856e6 Author: Dieter Verfaillie -Date: Tue Mar 22 11:35:44 2011 +0100 +Date: Tue Mar 22 11:35:44 2011 +0100 dsextras.py: remove \r as wel as \n character @@ -22027,7 +22198,7 @@ Date: Tue Mar 22 11:35:44 2011 +0100 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8 Author: John (J5) Palmieri -Date: Wed Apr 27 15:47:19 2011 -0400 +Date: Wed Apr 27 15:47:19 2011 -0400 use PyCapsule when importing pycairo/require pycairo 1.10.0 for python3 builds @@ -22035,13 +22206,13 @@ Date: Wed Apr 27 15:47:19 2011 -0400 * PyCObject is deprecated and pycairo 1.10.0 is first release to fix this issue - configure.ac | 15 +++++++++++---- + configure.ac | 15 +++++++++++---- gi/pygi-foreign-cairo.c | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b Author: Ignacio Casal Quinteiro -Date: Thu Apr 21 16:52:20 2011 +0200 +Date: Thu Apr 21 16:52:20 2011 +0200 [python3] fix build. PYcairo_IMPORT doesn't exists anymore @@ -22050,7 +22221,7 @@ Date: Thu Apr 21 16:52:20 2011 +0200 commit 91ec337359720839862d3f5a8a0ea98f760a0752 Author: Sebastian Pölsterl -Date: Mon Apr 18 18:36:25 2011 +0200 +Date: Mon Apr 18 18:36:25 2011 +0200 Updated DOAP file @@ -22059,7 +22230,7 @@ Date: Mon Apr 18 18:36:25 2011 +0200 commit 05c766044c83340c44564d0097514bfc1d1d9df7 Author: Sebastian Pölsterl -Date: Sat Apr 16 16:02:05 2011 +0200 +Date: Sat Apr 16 16:02:05 2011 +0200 [gi] Don't create variant twice @@ -22068,7 +22239,7 @@ Date: Sat Apr 16 16:02:05 2011 +0200 commit eb8f212e3687af30407cf01fcdfbf530257bcddb Author: Sebastian Pölsterl -Date: Fri Apr 15 16:14:43 2011 +0200 +Date: Fri Apr 15 16:14:43 2011 +0200 pygi-convert.sh: Make sure the uppercase GObject module is imported instead of the lowercase @@ -22080,7 +22251,7 @@ Date: Fri Apr 15 16:14:43 2011 +0200 commit af31729573de24161ee90563e5738187c749783c Author: Sebastian Pölsterl -Date: Fri Apr 15 15:58:53 2011 +0200 +Date: Fri Apr 15 15:58:53 2011 +0200 [gi] Removed hack to avoid using GLib.Variant.new_variant. @@ -22093,7 +22264,7 @@ Date: Fri Apr 15 15:58:53 2011 +0200 commit 070f6688be4afb926656038dcceac4c8b8ed97c7 Author: Sebastian Pölsterl -Date: Fri Apr 15 15:58:31 2011 +0200 +Date: Fri Apr 15 15:58:31 2011 +0200 [gi] Added additional test case for GVariant handling @@ -22102,7 +22273,7 @@ Date: Fri Apr 15 15:58:31 2011 +0200 commit 65aa040e86d94ee6bb227a2bce09668b60208027 Author: John (J5) Palmieri -Date: Tue Apr 12 14:51:35 2011 -0400 +Date: Tue Apr 12 14:51:35 2011 -0400 [gi-invoke-ng] fix prototype @@ -22111,7 +22282,7 @@ Date: Tue Apr 12 14:51:35 2011 -0400 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8 Author: John (J5) Palmieri -Date: Tue Apr 12 14:48:16 2011 -0400 +Date: Tue Apr 12 14:48:16 2011 -0400 [gi-invoke-ng] create new framework for cleaning up args @@ -22122,20 +22293,20 @@ Date: Tue Apr 12 14:48:16 2011 -0400 marshalling the out parameters and at any time an error occures - gi/Makefile.am | 4 ++- - gi/pygi-cache.c | 25 +++++++------ - gi/pygi-cache.h | 5 ++- - gi/pygi-invoke-ng.c | 34 ++++++++++++++---- + gi/Makefile.am | 4 ++- + gi/pygi-cache.c | 25 +++++++------ + gi/pygi-cache.h | 5 ++- + gi/pygi-invoke-ng.c | 34 ++++++++++++++---- gi/pygi-invoke-state-struct.h | 13 +++++++ gi/pygi-marshal-cleanup.c | 81 +++++++++++++++++++++++++++++++++++++++++++ gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++ - gi/pygi-marshal.c | 1 + + gi/pygi-marshal.c | 1 + 8 files changed, 187 insertions(+), 19 deletions(-) commit 0463295cd046bd6382ad9dc71ea1518858d63c5f Author: Sebastian Pölsterl -Date: Mon Apr 11 18:34:31 2011 +0200 +Date: Mon Apr 11 18:34:31 2011 +0200 [gi] Added support for GVariant arguments @@ -22150,7 +22321,7 @@ Date: Mon Apr 11 18:34:31 2011 +0200 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060 Author: John (J5) Palmieri -Date: Wed Mar 30 16:40:31 2011 -0400 +Date: Wed Mar 30 16:40:31 2011 -0400 [gi-invoke-ng] fix marshal header that is no longer part of pygi-arguments.h @@ -22160,7 +22331,7 @@ Date: Wed Mar 30 16:40:31 2011 -0400 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3 Author: John (J5) Palmieri -Date: Wed Mar 30 15:53:13 2011 -0400 +Date: Wed Mar 30 15:53:13 2011 -0400 [gi-invoke-ng] code style space fixes @@ -22172,7 +22343,7 @@ Date: Wed Mar 30 15:53:13 2011 -0400 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4 Author: John (J5) Palmieri -Date: Tue Mar 29 16:54:44 2011 -0400 +Date: Tue Mar 29 16:54:44 2011 -0400 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed @@ -22181,7 +22352,7 @@ Date: Tue Mar 29 16:54:44 2011 -0400 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1 Author: John (J5) Palmieri -Date: Tue Mar 29 15:23:06 2011 -0400 +Date: Tue Mar 29 15:23:06 2011 -0400 [gi-invoke-ng] return None when appropriate so we don't crash @@ -22190,7 +22361,7 @@ Date: Tue Mar 29 15:23:06 2011 -0400 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a Author: John (J5) Palmieri -Date: Tue Mar 29 15:21:41 2011 -0400 +Date: Tue Mar 29 15:21:41 2011 -0400 [gi-invoke-ng] fix aux value caching @@ -22199,7 +22370,7 @@ Date: Tue Mar 29 15:21:41 2011 -0400 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167 Author: John (J5) Palmieri -Date: Mon Mar 28 20:25:46 2011 -0400 +Date: Mon Mar 28 20:25:46 2011 -0400 [gi-invoke-ng] backport handling flags with no gtype @@ -22208,7 +22379,7 @@ Date: Mon Mar 28 20:25:46 2011 -0400 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234 Author: John (J5) Palmieri -Date: Mon Mar 28 18:32:00 2011 -0400 +Date: Mon Mar 28 18:32:00 2011 -0400 [gi-invoke-ng] backport raw gvalue handling @@ -22217,7 +22388,7 @@ Date: Mon Mar 28 18:32:00 2011 -0400 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442 Author: John (J5) Palmieri -Date: Mon Mar 28 18:30:31 2011 -0400 +Date: Mon Mar 28 18:30:31 2011 -0400 [gi-invoke-ng] marshal instances seperately since they differ slightly from other args @@ -22228,23 +22399,23 @@ Date: Mon Mar 28 18:30:31 2011 -0400 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac Author: John (J5) Palmieri -Date: Mon Mar 28 18:26:09 2011 -0400 +Date: Mon Mar 28 18:26:09 2011 -0400 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache gi/pygi-cache.c | 392 +++++++++++++++++++++++++++------------------------- - gi/pygi-cache.h | 12 +- - gi/pygi-info.c | 2 +- - gi/pygi-invoke-ng.c | 40 +++--- + gi/pygi-cache.h | 12 +- + gi/pygi-info.c | 2 +- + gi/pygi-invoke-ng.c | 40 +++--- gi/pygi-marshal.c | 140 +++++++++---------- gi/pygi-marshal.h | 159 +++++++++------------ - gi/pygi.h | 2 +- + gi/pygi.h | 2 +- 7 files changed, 362 insertions(+), 385 deletions(-) commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396 Author: John (J5) Palmieri -Date: Mon Mar 28 15:01:12 2011 -0400 +Date: Mon Mar 28 15:01:12 2011 -0400 [gi-invoke-rewrite] backport glib error handling @@ -22253,7 +22424,7 @@ Date: Mon Mar 28 15:01:12 2011 -0400 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531 Author: John (J5) Palmieri -Date: Fri Mar 25 18:48:42 2011 -0400 +Date: Fri Mar 25 18:48:42 2011 -0400 [gi-invoke-ng] backport closure passing from invoke @@ -22262,20 +22433,20 @@ Date: Fri Mar 25 18:48:42 2011 -0400 commit cf7f97eabc9c49773c2916929b8c43ef453d0652 Author: John (J5) Palmieri -Date: Fri Mar 25 18:47:36 2011 -0400 +Date: Fri Mar 25 18:47:36 2011 -0400 [gi-invoke-ng] handle vfuncs and fix cosntrutors - gi/pygi-cache.c | 9 +++++++ - gi/pygi-cache.h | 2 ++ - gi/pygi-invoke-ng.c | 56 + gi/pygi-cache.c | 9 +++++++ + gi/pygi-cache.h | 2 ++ + gi/pygi-invoke-ng.c | 56 ++++++++++++++++++++++++++++++++----------- gi/pygi-invoke-state-struct.h | 2 ++ 4 files changed, 55 insertions(+), 14 deletions(-) commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce Author: John (J5) Palmieri -Date: Fri Mar 25 18:39:06 2011 -0400 +Date: Fri Mar 25 18:39:06 2011 -0400 [gi-invoke-ng] handle foreign types correctly @@ -22285,7 +22456,7 @@ Date: Fri Mar 25 18:39:06 2011 -0400 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e Author: John (J5) Palmieri -Date: Fri Mar 25 13:14:01 2011 -0400 +Date: Fri Mar 25 13:14:01 2011 -0400 [gi] remove the class parameter from the argument list of constructors @@ -22294,14 +22465,14 @@ Date: Fri Mar 25 13:14:01 2011 -0400 and g_object_new to do the construction we ignore this for now but keep it around in the state for future use. - gi/pygi-invoke-ng.c | 46 + gi/pygi-invoke-ng.c | 46 +++++++++++++++++++++++++++++++++++++------ gi/pygi-invoke-state-struct.h | 1 + 2 files changed, 41 insertions(+), 6 deletions(-) commit 0534eb0e843cdf09611143da184052f7e549e4dc Author: John (J5) Palmieri -Date: Tue Mar 22 18:46:28 2011 -0400 +Date: Tue Mar 22 18:46:28 2011 -0400 fix static ABI for setting string gvalues from python objects @@ -22312,13 +22483,13 @@ Date: Tue Mar 22 18:46:28 2011 -0400 * this restores that code while still keeping unicode and python 3 compatability - gobject/pygtype.c | 28 +++++++++++++++++++--------- + gobject/pygtype.c | 28 +++++++++++++++++++--------- tests/test_properties.py | 8 ++++++++ 2 files changed, 27 insertions(+), 9 deletions(-) commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a Author: Dieter Verfaillie -Date: Tue Mar 22 20:47:51 2011 +0100 +Date: Tue Mar 22 20:47:51 2011 +0100 dsextras.py: ensure eol characters are preserved when writing template files (so \n does not become \r\n) @@ -22328,7 +22499,7 @@ Date: Tue Mar 22 20:47:51 2011 +0100 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124 Author: Dieter Verfaillie -Date: Tue Mar 22 11:35:44 2011 +0100 +Date: Tue Mar 22 11:35:44 2011 +0100 dsextras.py: remove \r as wel as \n character @@ -22337,36 +22508,36 @@ Date: Tue Mar 22 11:35:44 2011 +0100 commit 86c436978c933f6ebe17627abe98325ce66f6baa Author: John (J5) Palmieri -Date: Tue Mar 22 16:13:58 2011 -0400 +Date: Tue Mar 22 16:13:58 2011 -0400 [gi] make new invoke-ng codepath compile correctly - configure.ac | 4 + - gi/Makefile.am | 5 +- - gi/pygi-cache.c | 2 +- - gi/pygi-invoke-ng.c | 841 ---------------------- + configure.ac | 4 + + gi/Makefile.am | 5 +- + gi/pygi-cache.c | 2 +- + gi/pygi-invoke-ng.c | 841 ---------------------- gi/pygi-marshal.c | 1962 +-------------------------------------------------- - gi/pygi-private.h | 4 +- + gi/pygi-private.h | 4 +- 6 files changed, 9 insertions(+), 2809 deletions(-) commit 35619fec43f4df85edf5456f3fc9733b16f2ba90 Author: John (J5) Palmieri -Date: Tue Mar 22 15:40:02 2011 -0400 +Date: Tue Mar 22 15:40:02 2011 -0400 [gi] conditionalize invoke code paths - configure.ac | 7 +++++++ + configure.ac | 7 +++++++ gi/Makefile.am | 20 +++++++++++++++----- gi/pygi-cache.h | 2 ++ gi/pygi-info.c | 4 +++- gi/pygi-private.h | 9 +++++++-- - gi/pygi.h | 4 +++- + gi/pygi.h | 4 +++- 6 files changed, 37 insertions(+), 9 deletions(-) commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90 Author: John (J5) Palmieri -Date: Tue Mar 22 15:37:24 2011 -0400 +Date: Tue Mar 22 15:37:24 2011 -0400 [gi] revert back to the type.py from master @@ -22375,7 +22546,7 @@ Date: Tue Mar 22 15:37:24 2011 -0400 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0 Author: John (J5) Palmieri -Date: Tue Mar 22 14:46:29 2011 -0400 +Date: Tue Mar 22 14:46:29 2011 -0400 [gi] revert pygi-argument.h and move the invoke-ng code to pygi-marshal.h @@ -22388,24 +22559,24 @@ Date: Tue Mar 22 14:46:29 2011 -0400 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74 Merge: 7332a1b 01596a9 Author: John (J5) Palmieri -Date: Tue Mar 22 13:34:36 2011 -0400 +Date: Tue Mar 22 13:34:36 2011 -0400 Merge branch 'master' into invoke-rewrite Conflicts: - gi/Makefile.am - gi/pygi-argument.c - gi/pygi-foreign-cairo.c - gi/pygi-foreign-gvariant.c - gi/pygi-foreign-gvariant.h - gi/pygi-foreign.c - gi/pygi-foreign.h - gi/pygi-private.h - gi/pygi.h + gi/Makefile.am + gi/pygi-argument.c + gi/pygi-foreign-cairo.c + gi/pygi-foreign-gvariant.c + gi/pygi-foreign-gvariant.h + gi/pygi-foreign.c + gi/pygi-foreign.h + gi/pygi-private.h + gi/pygi.h commit 01596a9b7cc0ceef3904da5b96939140ee0732fd Author: John (J5) Palmieri -Date: Tue Mar 22 13:20:54 2011 -0400 +Date: Tue Mar 22 13:20:54 2011 -0400 [gi] foreign types now take interface infos instead of type infos @@ -22417,18 +22588,18 @@ Date: Tue Mar 22 13:20:54 2011 -0400 refcounting to keep track of * also fixes a bug where we were leaking PyNone ref counts - gi/pygi-argument.c | 4 ++-- + gi/pygi-argument.c | 4 ++-- gi/pygi-foreign-cairo.c | 16 ++++++++-------- gi/pygi-foreign-gvariant.c | 12 ++++++------ - gi/pygi-foreign.c | 32 +++++++++++++------------------- - gi/pygi-foreign.h | 8 ++++---- - gi/pygi-invoke.c | 6 +++--- - gi/pygi.h | 12 ++++++------ + gi/pygi-foreign.c | 32 +++++++++++++------------------- + gi/pygi-foreign.h | 8 ++++---- + gi/pygi-invoke.c | 6 +++--- + gi/pygi.h | 12 ++++++------ 7 files changed, 42 insertions(+), 48 deletions(-) commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab Author: Martin Pitt -Date: Tue Mar 22 15:04:01 2011 +0100 +Date: Tue Mar 22 15:04:01 2011 +0100 Fix GSchema tests for separate build tree @@ -22440,13 +22611,13 @@ Date: Tue Mar 22 15:04:01 2011 +0100 prefer it over test_overrides.py's directory. - tests/Makefile.am | 3 ++- + tests/Makefile.am | 3 ++- tests/test_overrides.py | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) commit 7332a1b99775519fdc5500cab6628b713e946a8c Author: John (J5) Palmieri -Date: Mon Mar 21 19:03:29 2011 -0400 +Date: Mon Mar 21 19:03:29 2011 -0400 [gi] start of merge from master @@ -22457,14 +22628,14 @@ Date: Mon Mar 21 19:03:29 2011 -0400 gi/pygi-argument.c | 2101 +++------------------------ gi/pygi-invoke-ng.c | 1179 ++++++++++++++++ - gi/pygi-invoke.c | 421 ++---- + gi/pygi-invoke.c | 421 ++---- gi/pygi-marshal.c | 3916 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 5389 insertions(+), 2228 deletions(-) commit 62b49dae97441953452d097cb1751df14302547a Author: John (J5) Palmieri -Date: Wed Mar 16 17:34:18 2011 -0400 +Date: Wed Mar 16 17:34:18 2011 -0400 [gi] marshal raw closures @@ -22481,7 +22652,7 @@ Date: Wed Mar 16 17:34:18 2011 -0400 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8 Author: John Stowers -Date: Sun Mar 6 23:41:01 2011 +1300 +Date: Sun Mar 6 23:41:01 2011 +1300 pygi-convert.sh add GObject.xxx and webkit @@ -22492,7 +22663,7 @@ Date: Sun Mar 6 23:41:01 2011 +1300 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf Author: John Stowers -Date: Sun Mar 6 23:41:30 2011 +1300 +Date: Sun Mar 6 23:41:30 2011 +1300 pygi-convert.sh remove gobject tests, GObject works now @@ -22503,7 +22674,7 @@ Date: Sun Mar 6 23:41:30 2011 +1300 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2 Author: John (J5) Palmieri -Date: Fri Mar 11 14:09:02 2011 -0500 +Date: Fri Mar 11 14:09:02 2011 -0500 [gi-demos] add pickers demo @@ -22513,7 +22684,7 @@ Date: Fri Mar 11 14:09:02 2011 -0500 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3 Author: John (J5) Palmieri -Date: Thu Mar 10 18:12:50 2011 -0500 +Date: Thu Mar 10 18:12:50 2011 -0500 [gi-demos] add menu demo @@ -22523,7 +22694,7 @@ Date: Thu Mar 10 18:12:50 2011 -0500 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d Author: John (J5) Palmieri -Date: Wed Mar 9 13:02:50 2011 -0500 +Date: Wed Mar 9 13:02:50 2011 -0500 [gi-overrides] fix exception block so it works in Python 2.5 @@ -22532,7 +22703,7 @@ Date: Wed Mar 9 13:02:50 2011 -0500 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f Author: Martin Pitt -Date: Mon Mar 21 13:19:58 2011 +0100 +Date: Mon Mar 21 13:19:58 2011 +0100 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES" @@ -22548,13 +22719,13 @@ Date: Mon Mar 21 13:19:58 2011 +0100 gi/Makefile.am | 4 +--- glib/Makefile.am | 2 +- - m4/python.m4 | 7 ++----- + m4/python.m4 | 7 ++----- tests/Makefile.am | 2 +- 4 files changed, 5 insertions(+), 10 deletions(-) commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3 Author: Dieter Verfaillie -Date: Fri Mar 18 17:06:08 2011 +0100 +Date: Fri Mar 18 17:06:08 2011 +0100 setup.py: fix user_access_control option @@ -22563,7 +22734,7 @@ Date: Fri Mar 18 17:06:08 2011 +0100 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c Author: Martin Pitt -Date: Wed Mar 16 10:22:35 2011 +0100 +Date: Wed Mar 16 10:22:35 2011 +0100 [gi] Respect the MessageType for Gtk.MessageDialog @@ -22576,7 +22747,7 @@ Date: Wed Mar 16 10:22:35 2011 +0100 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0 Author: Martin Pitt -Date: Tue Mar 15 10:22:39 2011 +0100 +Date: Tue Mar 15 10:22:39 2011 +0100 [gi] Do not require signature for D-BUS methods without arguments @@ -22601,7 +22772,7 @@ Date: Tue Mar 15 10:22:39 2011 +0100 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6 Author: John Stowers -Date: Sun Mar 6 23:05:33 2011 +1300 +Date: Sun Mar 6 23:05:33 2011 +1300 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None @@ -22612,7 +22783,7 @@ Date: Sun Mar 6 23:05:33 2011 +1300 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62 Author: John Stowers -Date: Sun Mar 6 17:48:04 2011 +1300 +Date: Sun Mar 6 17:48:04 2011 +1300 [gi-demos] dont try and run demos that represent directories @@ -22621,30 +22792,30 @@ Date: Sun Mar 6 17:48:04 2011 +1300 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810 Author: John (J5) Palmieri -Date: Mon Mar 7 18:09:18 2011 -0500 +Date: Mon Mar 7 18:09:18 2011 -0500 [gi-demos] some python 3 compat fixes demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++ - demos/gtk-demo/demos/Tree View/liststore.py | 2 +- - demos/gtk-demo/demos/rotatedtext.py | 4 ++-- - demos/gtk-demo/gtk-demo.py | 4 ++-- + demos/gtk-demo/demos/Tree View/liststore.py | 2 +- + demos/gtk-demo/demos/rotatedtext.py | 4 ++-- + demos/gtk-demo/gtk-demo.py | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce Author: John (J5) Palmieri -Date: Tue Feb 22 15:07:40 2011 -0500 +Date: Tue Feb 22 15:07:40 2011 -0500 [gi-demos] add liststore demo - demos/gtk-demo/demos/Tree View/__init__.py | 0 + demos/gtk-demo/demos/Tree View/__init__.py | 0 demos/gtk-demo/demos/Tree View/liststore.py | 205 ++++++++++++++++++++++++++++ 2 files changed, 205 insertions(+) commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb Author: John (J5) Palmieri -Date: Mon Mar 7 18:08:40 2011 -0500 +Date: Mon Mar 7 18:08:40 2011 -0500 [gi-demos] catch the correct error class @@ -22653,7 +22824,7 @@ Date: Mon Mar 7 18:08:40 2011 -0500 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56 Author: Steve Frécinaux -Date: Sun Mar 6 21:18:36 2011 +0100 +Date: Sun Mar 6 21:18:36 2011 +0100 Do not leak python references when using the gobject.property() helper. @@ -22671,7 +22842,7 @@ Date: Sun Mar 6 21:18:36 2011 +0100 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d Author: John (J5) Palmieri -Date: Fri Mar 4 12:25:49 2011 -0500 +Date: Fri Mar 4 12:25:49 2011 -0500 handle uchar as bytes, not strings in python 3 @@ -22688,7 +22859,7 @@ Date: Fri Mar 4 12:25:49 2011 -0500 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240 Author: John (J5) Palmieri -Date: Fri Mar 4 12:24:35 2011 -0500 +Date: Fri Mar 4 12:24:35 2011 -0500 [gi-overrides] handle unichar gvalues when setting treemodels @@ -22697,17 +22868,17 @@ Date: Fri Mar 4 12:24:35 2011 -0500 commit 6367bffa006e94dc667d7008fccad8d47d8d3646 Author: John (J5) Palmieri -Date: Fri Mar 4 11:43:51 2011 -0500 +Date: Fri Mar 4 11:43:51 2011 -0500 [gi-overrides] special case python 2 keywords that crept in - gi/overrides/Gtk.py | 6 +++++- + gi/overrides/Gtk.py | 6 +++++- tests/test_overrides.py | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0 Author: John (J5) Palmieri -Date: Fri Mar 4 11:10:16 2011 -0500 +Date: Fri Mar 4 11:10:16 2011 -0500 check for the py3 _thread module in configure.ac if thread is not found @@ -22717,7 +22888,7 @@ Date: Fri Mar 4 11:10:16 2011 -0500 commit 4645af87d3c587f535404867dab56608719e5c7b Author: John (J5) Palmieri -Date: Fri Mar 4 00:39:23 2011 -0500 +Date: Fri Mar 4 00:39:23 2011 -0500 [gi-demos] add iconview demo @@ -22727,7 +22898,7 @@ Date: Fri Mar 4 00:39:23 2011 -0500 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80 Author: John (J5) Palmieri -Date: Thu Mar 3 18:39:16 2011 -0500 +Date: Thu Mar 3 18:39:16 2011 -0500 [gi] wrap the keyword argument in a dict so we don't break Python 2.5 @@ -22740,7 +22911,7 @@ Date: Thu Mar 3 18:39:16 2011 -0500 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd Author: John (J5) Palmieri -Date: Thu Mar 3 18:30:40 2011 -0500 +Date: Thu Mar 3 18:30:40 2011 -0500 [gi-demos] add the combobox with string ids section to the demos @@ -22750,17 +22921,17 @@ Date: Thu Mar 3 18:30:40 2011 -0500 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce Author: John (J5) Palmieri -Date: Thu Mar 3 16:47:51 2011 -0500 +Date: Thu Mar 3 16:47:51 2011 -0500 [gi-overrides] add an override for Gdk.RGBA - gi/overrides/Gdk.py | 18 ++++++++++++++++++ + gi/overrides/Gdk.py | 18 ++++++++++++++++++ tests/test_overrides.py | 10 ++++++++++ 2 files changed, 28 insertions(+) commit ee2b63f60f350332ed21927721ed9ddff3a8034e Author: John (J5) Palmieri -Date: Thu Mar 3 16:10:17 2011 -0500 +Date: Thu Mar 3 16:10:17 2011 -0500 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+ master @@ -22770,7 +22941,7 @@ Date: Thu Mar 3 16:10:17 2011 -0500 commit cd046e4c355706ead5f512b810a2a48317f8c32e Author: John (J5) Palmieri -Date: Wed Mar 2 18:13:43 2011 -0500 +Date: Wed Mar 2 18:13:43 2011 -0500 [gi-demos] add search entry demo @@ -22780,7 +22951,7 @@ Date: Wed Mar 2 18:13:43 2011 -0500 commit d5ddaa92e6349c2f52b67317326060973cb69661 Author: John (J5) Palmieri -Date: Wed Mar 2 15:37:27 2011 -0500 +Date: Wed Mar 2 15:37:27 2011 -0500 [gi] wrap map in a list for Python 3 compat @@ -22789,7 +22960,7 @@ Date: Wed Mar 2 15:37:27 2011 -0500 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af Author: John (J5) Palmieri -Date: Tue Mar 1 14:52:00 2011 -0500 +Date: Tue Mar 1 14:52:00 2011 -0500 [gi-demos] fix up the validation combobox @@ -22798,7 +22969,7 @@ Date: Tue Mar 1 14:52:00 2011 -0500 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff Author: John (J5) Palmieri -Date: Tue Mar 1 12:31:35 2011 -0500 +Date: Tue Mar 1 12:31:35 2011 -0500 add overridesdir variable in the .pc file for 3rd party overrides @@ -22807,7 +22978,7 @@ Date: Tue Mar 1 12:31:35 2011 -0500 commit 4a6b14a92a687a2311516b2c16c355216b5270a7 Author: Dieter Verfaillie -Date: Fri Feb 11 17:14:11 2011 +0100 +Date: Fri Feb 11 17:14:11 2011 +0100 setup.py: Set bdist_wininst user-access-control property @@ -22816,7 +22987,7 @@ Date: Fri Feb 11 17:14:11 2011 +0100 commit ad3ab659b83cb985730e19a83651da319d4bcb9c Author: Martin Pitt -Date: Wed Mar 2 16:29:00 2011 +0100 +Date: Wed Mar 2 16:29:00 2011 +0100 Fix uninitialized variable in gi.require_version() @@ -22825,7 +22996,7 @@ Date: Wed Mar 2 16:29:00 2011 +0100 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89 Author: Martin Pitt -Date: Tue Mar 1 23:26:07 2011 +0100 +Date: Tue Mar 1 23:26:07 2011 +0100 Run tests with LC_MESSAGES="C" @@ -22839,17 +23010,17 @@ Date: Tue Mar 1 23:26:07 2011 +0100 commit 0461e05174637ae02f34029b85ba217d5ae48c53 Author: John (J5) Palmieri -Date: Mon Feb 28 18:21:43 2011 -0500 +Date: Mon Feb 28 18:21:43 2011 -0500 [gi-overrides] override Gtk.stock_lookup to not return success demos/gtk-demo/demos/combobox.py | 2 +- - gi/overrides/Gtk.py | 9 +++++++++ + gi/overrides/Gtk.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec Author: John (J5) Palmieri -Date: Mon Feb 28 14:16:00 2011 -0500 +Date: Mon Feb 28 14:16:00 2011 -0500 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28 branch) @@ -22859,7 +23030,7 @@ Date: Mon Feb 28 14:16:00 2011 -0500 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a Author: John (J5) Palmieri -Date: Mon Feb 28 14:08:05 2011 -0500 +Date: Mon Feb 28 14:08:05 2011 -0500 [gi-tests] use Gdk.test_simulate_button instead of emitting event ourselves @@ -22873,7 +23044,7 @@ Date: Mon Feb 28 14:08:05 2011 -0500 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21 Author: Laszlo Pandy -Date: Thu Feb 24 19:30:32 2011 +0100 +Date: Thu Feb 24 19:30:32 2011 +0100 [gi-tests] tests for EventButton override. @@ -22887,7 +23058,7 @@ Date: Thu Feb 24 19:30:32 2011 +0100 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4 Author: John (J5) Palmieri -Date: Wed Feb 23 18:43:27 2011 -0500 +Date: Wed Feb 23 18:43:27 2011 -0500 [gi-overrides] Add event methods to all event union members @@ -22899,7 +23070,7 @@ Date: Wed Feb 23 18:43:27 2011 -0500 commit 6e30c69d38fd382414eb820097c297a80be547ac Author: John (J5) Palmieri -Date: Wed Feb 23 14:14:16 2011 -0500 +Date: Wed Feb 23 14:14:16 2011 -0500 [gi] check to see if object is a member of a union when validating paramaters @@ -22924,31 +23095,31 @@ Date: Wed Feb 23 14:14:16 2011 -0500 commit 525f21d1365c24488b768955362085bf82512dee Author: Tomeu Vizoso -Date: Wed Feb 16 09:44:12 2011 +0100 +Date: Wed Feb 16 09:44:12 2011 +0100 Skip interfaces when checking for conflicts in the MRO https://bugzilla.gnome.org/show_bug.cgi?id=642437 - gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++ + gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++ gobject/gobjectmodule.c | 9 +++++++-- - tests/test_gi.py | 16 ++++++++++++++++ + tests/test_gi.py | 16 ++++++++++++++++ 3 files changed, 63 insertions(+), 2 deletions(-) commit da212024772a7a0c32f04f3589bfb24d2eb5706f Author: Laszlo Pandy -Date: Thu Feb 24 18:46:15 2011 +0100 +Date: Thu Feb 24 18:46:15 2011 +0100 [gi] Remove DyanmicModule.load() to _load() to prevent overriding GI attrs. gi/importer.py | 2 +- - gi/module.py | 2 +- + gi/module.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495 Author: Laszlo Pandy -Date: Wed Feb 23 12:05:03 2011 +0100 +Date: Wed Feb 23 12:05:03 2011 +0100 Test case with John's fix for crash with C arrays and a GError is set. @@ -22960,35 +23131,35 @@ Date: Wed Feb 23 12:05:03 2011 +0100 * This is a hack and there is really no way around it without ripping out - the current array handling code which spans between pygi-invoke.c - and - pygi-argument.c and completely rewriting it. + the current array handling code which spans between pygi-invoke.c + and + pygi-argument.c and completely rewriting it. * The is no time before our stable release * This patch trades a segfault for a leak in the very unusual case where - an error occures inside an interface that takes one or more C - arrays. Since - we wrap C arrays in GArrays internally but have to unwrap them - to send them - to the introspected C function, there is a period of time where - an error - can occure with the C array in an unknown state (some being true - C arrays - and others still wrapped in a GArray) + an error occures inside an interface that takes one or more C + arrays. Since + we wrap C arrays in GArrays internally but have to unwrap them + to send them + to the introspected C function, there is a period of time where + an error + can occure with the C array in an unknown state (some being true + C arrays + and others still wrapped in a GArray) * This patch adds a c_arrays_are_wrapped state to signal that it is safe to - free them. However since c_arrays_are_wrapped can only track - arrays - as a group, not individually, if it is set to FALSE we can - not assume - that every array is a pure C array, so instead we will simply - leak them - to avoid incorrectly freeing one and causing a segfault. + free them. However since c_arrays_are_wrapped can only track + arrays + as a group, not individually, if it is set to FALSE we can + not assume + that every array is a pure C array, so instead we will simply + leak them + to avoid incorrectly freeing one and causing a segfault. * This issue is fixed in the invoke rewrite branch as it treats C arrays and - GArrays separately, however that branch is not yet ready to be - merged and - won't be until the next release. + GArrays separately, however that branch is not yet ready to be + merged and + won't be until the next release. https://bugzilla.gnome.org/show_bug.cgi?id=642708 @@ -22999,30 +23170,30 @@ Date: Wed Feb 23 12:05:03 2011 +0100 commit 702a89beca92cab6b0142829b20281b9245f28b8 Author: John (J5) Palmieri -Date: Wed Feb 23 15:11:59 2011 -0500 +Date: Wed Feb 23 15:11:59 2011 -0500 [gi-overrides] fix setting rows in treeview to accept None as a value * as done in PyGTK None indicates the column should not be set - gi/overrides/Gtk.py | 3 +++ + gi/overrides/Gtk.py | 3 +++ tests/test_overrides.py | 18 +++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) commit 498f0d9c903131aca5efe27ffaad7620e40f72ea Author: Laszlo Pandy -Date: Wed Feb 23 14:23:19 2011 +0100 +Date: Wed Feb 23 14:23:19 2011 +0100 [gi] Add value_name for enum and flags from introspection "c:identifier" (if attr is available). - gi/gimodule.c | 22 ++++++++++++++++++---- + gi/gimodule.c | 22 ++++++++++++++++++---- tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 4 deletions(-) commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b Author: Laszlo Pandy -Date: Wed Feb 23 11:40:55 2011 +0100 +Date: Wed Feb 23 11:40:55 2011 +0100 Fix flags with multiple names for the same value. @@ -23040,7 +23211,7 @@ Date: Wed Feb 23 11:40:55 2011 +0100 commit 3afbebeee486e14fd3f48552368903eb78f6b10c Author: Laszlo Pandy -Date: Tue Feb 22 21:37:33 2011 +0100 +Date: Tue Feb 22 21:37:33 2011 +0100 Don't force loading of DynamicModule until set in sys.modules @@ -23055,7 +23226,7 @@ Date: Tue Feb 22 21:37:33 2011 +0100 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6 Author: John (J5) Palmieri -Date: Mon Feb 21 17:20:57 2011 -0500 +Date: Mon Feb 21 17:20:57 2011 -0500 use GValue support to marshal GtkTreeModel values correctly @@ -23063,14 +23234,14 @@ Date: Mon Feb 21 17:20:57 2011 -0500 https://bugzilla.gnome.org/show_bug.cgi?id=642921 - gi/overrides/Gtk.py | 37 ++++++++++++++++++--- + gi/overrides/Gtk.py | 37 ++++++++++++++++++--- tests/test_overrides.py | 87 +++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 107 insertions(+), 17 deletions(-) commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e Author: John (J5) Palmieri -Date: Mon Feb 21 16:14:20 2011 -0500 +Date: Mon Feb 21 16:14:20 2011 -0500 [gi] pass raw GValues instead of trying to marshal them @@ -23083,9 +23254,9 @@ Date: Mon Feb 21 16:14:20 2011 -0500 the raw GValue interfaces and expect paramaters that take GValues to marshal them correctly e.g.: - value = GObject.Value() - value.int(GObject.TYPE_UINT) - value.set_uint(1234) + value = GObject.Value() + value.int(GObject.TYPE_UINT) + value.set_uint(1234) * The objective here is to not for users to use this API but for overrides to be able to utilize them. For instance in the TreeModel API @@ -23102,18 +23273,18 @@ Date: Mon Feb 21 16:14:20 2011 -0500 commit b458f6f3424a04f6ceece09d443009372d70544c Author: John (J5) Palmieri -Date: Sat Feb 19 19:42:41 2011 -0500 +Date: Sat Feb 19 19:42:41 2011 -0500 [gi-demos] add icon view edit and drag-and-drop demo - demos/gtk-demo/demos/Icon View/__init__.py | 0 + demos/gtk-demo/demos/Icon View/__init__.py | 0 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101 +++++++++++++++++++++++++ 2 files changed, 101 insertions(+) commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b Author: John (J5) Palmieri -Date: Sat Feb 19 17:26:42 2011 -0500 +Date: Sat Feb 19 17:26:42 2011 -0500 [gi-demos] add info bars demo @@ -23123,7 +23294,7 @@ Date: Sat Feb 19 17:26:42 2011 -0500 commit 76758efb6579752237a0dc4d56cf9518de6c6e55 Author: Tomeu Vizoso -Date: Wed Feb 16 11:53:18 2011 +0100 +Date: Wed Feb 16 11:53:18 2011 +0100 Load typelibs at import time, add gi.require_version() @@ -23133,13 +23304,13 @@ Date: Wed Feb 16 11:53:18 2011 +0100 gi/__init__.py | 29 ++++++++++++++++++++++++++++- gi/importer.py | 1 + - gi/module.py | 21 ++++----------------- + gi/module.py | 21 ++++----------------- gi/pygi-repository.c | 23 +++++++++++++++++++++++ 4 files changed, 56 insertions(+), 18 deletions(-) commit 96f7d1aed732db09a74cd463ed894b7347dbcb15 Author: Laszlo Pandy -Date: Sat Feb 19 23:11:25 2011 +0100 +Date: Sat Feb 19 23:11:25 2011 +0100 [gi] Register GType for non-GType enums and flags at runtime. @@ -23156,18 +23327,18 @@ Date: Sat Feb 19 23:11:25 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=642607 - gi/gimodule.c | 117 + gi/gimodule.c | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - gi/module.py | 24 ++++++----- + gi/module.py | 24 ++++++----- gi/pygi-info.c | 15 +++++++ - gi/types.py | 16 -------- + gi/types.py | 16 -------- gobject/pygflags.c | 13 ++++-- tests/test_gi.py | 35 ++++++++++++++++ 6 files changed, 191 insertions(+), 29 deletions(-) commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9 Author: Martin Pitt -Date: Tue Feb 8 15:38:21 2011 +0100 +Date: Tue Feb 8 15:38:21 2011 +0100 [gi] Add Pythonic gdbus method invocation @@ -23187,7 +23358,7 @@ Date: Tue Feb 8 15:38:21 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=640181 - gi/overrides/Gio.py | 99 + gi/overrides/Gio.py | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++ tests/test_gdbus.py | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++-- @@ -23195,7 +23366,7 @@ Date: Tue Feb 8 15:38:21 2011 +0100 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7 Author: Laszlo Pandy -Date: Fri Feb 18 22:48:59 2011 +0100 +Date: Fri Feb 18 22:48:59 2011 +0100 Skip GError out parameters in Python closure. @@ -23211,7 +23382,7 @@ Date: Fri Feb 18 22:48:59 2011 +0100 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f Author: Laszlo Pandy -Date: Fri Feb 18 10:15:59 2011 +0100 +Date: Fri Feb 18 10:15:59 2011 +0100 Fix runtests.py to work with Python3 (print function syntax error). @@ -23220,7 +23391,7 @@ Date: Fri Feb 18 10:15:59 2011 +0100 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3 Author: John (J5) Palmieri -Date: Thu Feb 17 19:46:49 2011 -0500 +Date: Thu Feb 17 19:46:49 2011 -0500 [gi-demos] added rotate text demo @@ -23232,7 +23403,7 @@ Date: Thu Feb 17 19:46:49 2011 -0500 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a Author: John (J5) Palmieri -Date: Thu Feb 17 17:25:00 2011 -0500 +Date: Thu Feb 17 17:25:00 2011 -0500 [gi-demos] add images demo @@ -23244,7 +23415,7 @@ Date: Thu Feb 17 17:25:00 2011 -0500 commit 13b06170b89b3468e6255be32af4833ffc675c9d Author: John (J5) Palmieri -Date: Thu Feb 17 14:48:24 2011 -0500 +Date: Thu Feb 17 14:48:24 2011 -0500 [gi-demos] add pixbuf demo @@ -23254,7 +23425,7 @@ Date: Thu Feb 17 14:48:24 2011 -0500 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994 Author: John (J5) Palmieri -Date: Thu Feb 17 14:47:12 2011 -0500 +Date: Thu Feb 17 14:47:12 2011 -0500 [gi-demos] remove fixmes from print demo, fixed in pango @@ -23263,7 +23434,7 @@ Date: Thu Feb 17 14:47:12 2011 -0500 commit 9b13f49356da7d71c69b82da2a59d92f456a6913 Author: John (J5) Palmieri -Date: Wed Feb 16 19:39:30 2011 -0500 +Date: Wed Feb 16 19:39:30 2011 -0500 [gi-demos] add printing demo @@ -23275,19 +23446,19 @@ Date: Wed Feb 16 19:39:30 2011 -0500 commit 6025b62ee662af347e48b6752e6d5be74b4a8215 Author: John (J5) Palmieri -Date: Wed Feb 16 17:52:38 2011 -0500 +Date: Wed Feb 16 17:52:38 2011 -0500 [gi-overrides] add cursor overrides https://bugzilla.gnome.org/show_bug.cgi?id=635947 - gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++ + gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 23 +++++++++++++++++++++++ 2 files changed, 64 insertions(+) commit 03c0aa498470037ef2aa6a8233198ff521f8d42f Author: John (J5) Palmieri -Date: Wed Feb 16 16:18:24 2011 -0500 +Date: Wed Feb 16 16:18:24 2011 -0500 [gi-demos] add the links demo @@ -23297,7 +23468,7 @@ Date: Wed Feb 16 16:18:24 2011 -0500 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832 Author: John (J5) Palmieri -Date: Wed Feb 16 15:48:40 2011 -0500 +Date: Wed Feb 16 15:48:40 2011 -0500 [gi-demos] add expander demo @@ -23307,18 +23478,18 @@ Date: Wed Feb 16 15:48:40 2011 -0500 commit 76cdb13ab872f91f8384d26b0f2932087a746117 Author: John (J5) Palmieri -Date: Wed Feb 16 15:14:35 2011 -0500 +Date: Wed Feb 16 15:14:35 2011 -0500 [gi-overrides] use pop instead of del and add extra tests for Gtk.Table kwargs - gi/overrides/Gtk.py | 6 ++---- + gi/overrides/Gtk.py | 6 ++---- tests/test_overrides.py | 8 ++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) commit 6ef83c049735689c42f085ca9d7b8e1f251c410f Author: Laszlo Pandy -Date: Tue Feb 15 20:07:42 2011 +0100 +Date: Tue Feb 15 20:07:42 2011 +0100 [tests] Separate processes for GI and static binding tests. @@ -23339,7 +23510,7 @@ Date: Tue Feb 15 20:07:42 2011 +0100 commit e0896b45f60f37097ec521f1bc38778383b78dd8 Author: John (J5) Palmieri -Date: Tue Feb 15 14:47:10 2011 -0500 +Date: Tue Feb 15 14:47:10 2011 -0500 [gi-demos] add dialogs demo @@ -23349,7 +23520,7 @@ Date: Tue Feb 15 14:47:10 2011 -0500 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd Author: John (J5) Palmieri -Date: Tue Feb 15 14:46:41 2011 -0500 +Date: Tue Feb 15 14:46:41 2011 -0500 [gi-overrides] fix typo in GtkTable constructor @@ -23358,7 +23529,7 @@ Date: Tue Feb 15 14:46:41 2011 -0500 commit 9c277e1782c5a9d672d91fabf5289c5415891682 Author: John (J5) Palmieri -Date: Tue Feb 15 13:26:38 2011 -0500 +Date: Tue Feb 15 13:26:38 2011 -0500 [gi-demos] keep popup menu from destroying itself by holding a ref in app class @@ -23368,7 +23539,7 @@ Date: Tue Feb 15 13:26:38 2011 -0500 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de Author: John (J5) Palmieri -Date: Tue Feb 15 13:25:13 2011 -0500 +Date: Tue Feb 15 13:25:13 2011 -0500 [gi-overrides] add a Gtk.Menu override for the popup method @@ -23377,7 +23548,7 @@ Date: Tue Feb 15 13:25:13 2011 -0500 commit ad93386ba9f73ef4c3826544b3868cf03c01225e Author: John (J5) Palmieri -Date: Tue Feb 15 13:24:33 2011 -0500 +Date: Tue Feb 15 13:24:33 2011 -0500 [gi-demos] fix the about dialog in appwindow demo @@ -23386,7 +23557,7 @@ Date: Tue Feb 15 13:24:33 2011 -0500 commit d0c45c80974f05b6adfd3bb01d785be268a53a98 Author: John (J5) Palmieri -Date: Tue Feb 15 11:21:13 2011 -0500 +Date: Tue Feb 15 11:21:13 2011 -0500 [gi-demos] fix clipboard demo so DnD works @@ -23399,7 +23570,7 @@ Date: Tue Feb 15 11:21:13 2011 -0500 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17 Author: John (J5) Palmieri -Date: Tue Feb 15 10:18:53 2011 -0500 +Date: Tue Feb 15 10:18:53 2011 -0500 [gi-demos] fix clipboard demo to reflect new API @@ -23408,7 +23579,7 @@ Date: Tue Feb 15 10:18:53 2011 -0500 commit aa006cad6990eff0cbb68fa9550e428f2bc96473 Author: John (J5) Palmieri -Date: Mon Feb 14 18:17:20 2011 -0500 +Date: Mon Feb 14 18:17:20 2011 -0500 [gi-demo] Fix color dialog demo to run with new draw, style and color apis @@ -23419,7 +23590,7 @@ Date: Mon Feb 14 18:17:20 2011 -0500 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad Author: John (J5) Palmieri -Date: Mon Feb 14 17:58:25 2011 -0500 +Date: Mon Feb 14 17:58:25 2011 -0500 [gi-demos] fix most of the combobox app @@ -23430,7 +23601,7 @@ Date: Mon Feb 14 17:58:25 2011 -0500 commit 3606eb20ad1651af621bf1aa429ec102082565eb Author: Laszlo Pandy -Date: Mon Feb 14 19:36:27 2011 +0100 +Date: Mon Feb 14 19:36:27 2011 +0100 Use PyGI type conversion (to fix foreign types) for signal callbacks. @@ -23439,21 +23610,21 @@ Date: Mon Feb 14 19:36:27 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=637601 - gi/Makefile.am | 2 + - gi/gimodule.c | 1 + - gi/pygi-argument.c | 91 ++++++++++++++++++ - gi/pygi-argument.h | 2 + - gi/pygi-private.h | 1 + + gi/Makefile.am | 2 + + gi/gimodule.c | 1 + + gi/pygi-argument.c | 91 ++++++++++++++++++ + gi/pygi-argument.h | 2 + + gi/pygi-private.h | 1 + gi/pygi-signal-closure.c | 245 +++++++++++++++++++++++++++++++++++++++++++++++ gi/pygi-signal-closure.h | 46 +++++++++ - gi/pygi.h | 28 ++++++ - gobject/pygobject.c | 24 ++++- + gi/pygi.h | 28 ++++++ + gobject/pygobject.c | 24 ++++- 9 files changed, 436 insertions(+), 4 deletions(-) commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff Author: John (J5) Palmieri -Date: Mon Feb 14 16:47:03 2011 -0500 +Date: Mon Feb 14 16:47:03 2011 -0500 [gi-demos] fix drawingarea app to use the new draw api @@ -23463,7 +23634,7 @@ Date: Mon Feb 14 16:47:03 2011 -0500 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e Author: John (J5) Palmieri -Date: Mon Feb 14 16:43:35 2011 -0500 +Date: Mon Feb 14 16:43:35 2011 -0500 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt @@ -23477,7 +23648,7 @@ Date: Mon Feb 14 16:43:35 2011 -0500 commit d491c369e049ab726f09002af0462391d5c2f3ec Author: John (J5) Palmieri -Date: Mon Feb 14 15:07:11 2011 -0500 +Date: Mon Feb 14 15:07:11 2011 -0500 [gi-overrides] let user set the proper property names in Gtk.Table @@ -23492,7 +23663,7 @@ Date: Mon Feb 14 15:07:11 2011 -0500 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36 Author: John (J5) Palmieri -Date: Mon Feb 14 15:06:38 2011 -0500 +Date: Mon Feb 14 15:06:38 2011 -0500 [gi-demos] get appwindow demo working again @@ -23501,7 +23672,7 @@ Date: Mon Feb 14 15:06:38 2011 -0500 commit 015185f502c498c21cb108d3bb288c5b6dbf202f Author: John (J5) Palmieri -Date: Mon Feb 14 15:05:44 2011 -0500 +Date: Mon Feb 14 15:05:44 2011 -0500 [gi-demos] fixed use of tree_iter_get @@ -23510,77 +23681,77 @@ Date: Mon Feb 14 15:05:44 2011 -0500 commit 0c20977e4598e5447dd07c069e91226efacb1160 Author: Simon van der Linden -Date: Fri Feb 11 22:02:03 2011 +0100 +Date: Fri Feb 11 22:02:03 2011 +0100 Remove last GIO-related bits https://bugzilla.gnome.org/show_bug.cgi?id=638899 - PKG-INFO.in | 2 +- - README | 3 +- - configure.ac | 3 -- + PKG-INFO.in | 2 +- + README | 3 +- + configure.ac | 3 -- examples/gio/directory-async.py | 33 ------------------ - examples/gio/downloader.py | 77 + examples/gio/downloader.py | 77 ----------------------------------------- - pygobject.doap | 2 +- + pygobject.doap | 2 +- 6 files changed, 3 insertions(+), 117 deletions(-) commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb Author: Simon van der Linden -Date: Fri Feb 11 18:38:27 2011 +0100 +Date: Fri Feb 11 18:38:27 2011 +0100 Remove GIO documentation https://bugzilla.gnome.org/show_bug.cgi?id=638899 - docs/Makefile.am | 82 +- - docs/reference/pygio-appinfo.xml | 894 ----- + docs/Makefile.am | 82 +- + docs/reference/pygio-appinfo.xml | 894 ----- docs/reference/pygio-applaunchcontext.xml | 194 -- - docs/reference/pygio-asyncresult.xml | 117 - + docs/reference/pygio-asyncresult.xml | 117 - docs/reference/pygio-bufferedinputstream.xml | 461 --- docs/reference/pygio-bufferedoutputstream.xml | 275 -- - docs/reference/pygio-cancellable.xml | 290 -- - docs/reference/pygio-classes.xml | 47 - - docs/reference/pygio-constants.xml | 1540 --------- + docs/reference/pygio-cancellable.xml | 290 -- + docs/reference/pygio-classes.xml | 47 - + docs/reference/pygio-constants.xml | 1540 --------- docs/reference/pygio-datainputstream.xml | 799 ----- docs/reference/pygio-dataoutputstream.xml | 504 --- - docs/reference/pygio-drive.xml | 546 --- - docs/reference/pygio-emblem.xml | 232 -- - docs/reference/pygio-emblemedicon.xml | 160 - - docs/reference/pygio-file.xml | 4534 + docs/reference/pygio-drive.xml | 546 --- + docs/reference/pygio-emblem.xml | 232 -- + docs/reference/pygio-emblemedicon.xml | 160 - + docs/reference/pygio-file.xml | 4534 ------------------------- docs/reference/pygio-fileattributeinfo.xml | 73 - docs/reference/pygio-fileenumerator.xml | 488 --- - docs/reference/pygio-fileicon.xml | 109 - - docs/reference/pygio-fileinfo.xml | 346 -- + docs/reference/pygio-fileicon.xml | 109 - + docs/reference/pygio-fileinfo.xml | 346 -- docs/reference/pygio-fileinputstream.xml | 214 -- - docs/reference/pygio-filemonitor.xml | 128 - + docs/reference/pygio-filemonitor.xml | 128 - docs/reference/pygio-fileoutputstream.xml | 257 -- docs/reference/pygio-filterinputstream.xml | 152 - docs/reference/pygio-filteroutputstream.xml | 152 - - docs/reference/pygio-functions.xml | 395 --- - docs/reference/pygio-icon.xml | 217 -- - docs/reference/pygio-inputstream.xml | 730 ---- - docs/reference/pygio-loadableicon.xml | 198 -- + docs/reference/pygio-functions.xml | 395 --- + docs/reference/pygio-icon.xml | 217 -- + docs/reference/pygio-inputstream.xml | 730 ---- + docs/reference/pygio-loadableicon.xml | 198 -- docs/reference/pygio-memoryinputstream.xml | 151 - docs/reference/pygio-memoryoutputstream.xml | 175 - - docs/reference/pygio-mount.xml | 962 ------ + docs/reference/pygio-mount.xml | 962 ------ docs/reference/pygio-mountoperation.xml | 726 ---- - docs/reference/pygio-outputstream.xml | 140 - - docs/reference/pygio-seekable.xml | 231 -- + docs/reference/pygio-outputstream.xml | 140 - + docs/reference/pygio-seekable.xml | 231 -- docs/reference/pygio-simpleasyncresult.xml | 317 -- - docs/reference/pygio-themedicon.xml | 204 -- + docs/reference/pygio-themedicon.xml | 204 -- docs/reference/pygio-unixinputstream.xml | 202 -- docs/reference/pygio-unixoutputstream.xml | 202 -- - docs/reference/pygio-volume.xml | 718 ---- + docs/reference/pygio-volume.xml | 718 ---- docs/reference/pygio-volumemonitor.xml | 844 ----- - docs/reference/pygiounix-classes.xml | 13 - - docs/reference/pygobject-ref.xml | 2 - + docs/reference/pygiounix-classes.xml | 13 - + docs/reference/pygobject-ref.xml | 2 - 42 files changed, 1 insertion(+), 19020 deletions(-) commit abdebc7f6515f9658812c0355d8ad0892e5371e4 Author: John (J5) Palmieri -Date: Fri Feb 11 11:05:04 2011 -0500 +Date: Fri Feb 11 11:05:04 2011 -0500 bump version to reflect the master branch moving towards pygobject 3.0 @@ -23589,26 +23760,26 @@ Date: Fri Feb 11 11:05:04 2011 -0500 * this branch will drop support for the static binding * use the pygobject-2-28 branch for static binding fixes - NEWS | 289 + NEWS | 289 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 +- 2 files changed, 291 insertions(+), 2 deletions(-) commit 16140237aa45b4f188923da9f95b9d2af971011b Author: John (J5) Palmieri -Date: Thu Feb 10 16:46:08 2011 -0500 +Date: Thu Feb 10 16:46:08 2011 -0500 fix build to correctly use python-config - autogen.sh | 3 +++ - configure.ac | 6 ------ - m4/python.m4 | 9 +++++---- + autogen.sh | 3 +++ + configure.ac | 6 ------ + m4/python.m4 | 9 +++++---- tests/runtests.py | 1 + 4 files changed, 9 insertions(+), 10 deletions(-) commit c2079f415638ef892b1e51f25eaafa3e1621667f Author: Simon van der Linden -Date: Thu Feb 10 22:26:00 2011 +0100 +Date: Thu Feb 10 22:26:00 2011 +0100 Add missing libraries to link against @@ -23618,7 +23789,7 @@ Date: Thu Feb 10 22:26:00 2011 +0100 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e Author: Steve Frécinaux -Date: Wed Jan 19 15:00:56 2011 +0100 +Date: Wed Jan 19 15:00:56 2011 +0100 Make runtests.py able to run command-line provided test files @@ -23633,7 +23804,7 @@ Date: Wed Jan 19 15:00:56 2011 +0100 commit 14c4cf8e6edae893538680964380d543bde4a14d Author: Martin Pitt -Date: Wed Feb 9 11:34:59 2011 +0100 +Date: Wed Feb 9 11:34:59 2011 +0100 Run test suite under dbus-launch @@ -23648,7 +23819,7 @@ Date: Wed Feb 9 11:34:59 2011 +0100 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e Author: Martin Pitt -Date: Tue Feb 8 15:46:36 2011 +0100 +Date: Tue Feb 8 15:46:36 2011 +0100 Fix test_gdbus.py to be Python3 friendly @@ -23660,7 +23831,7 @@ Date: Tue Feb 8 15:46:36 2011 +0100 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9 Author: Martin Pitt -Date: Sat Jan 29 12:20:50 2011 +0100 +Date: Sat Jan 29 12:20:50 2011 +0100 [gi] Provide comfortable GSettings API @@ -23670,15 +23841,15 @@ Date: Sat Jan 29 12:20:50 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=640838 - gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++ + gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++ tests/org.gnome.test.gschema.xml | 9 +++++ - tests/test_overrides.py | 73 + tests/test_overrides.py | 73 ++++++++++++++++++++++++++++++++-------- 3 files changed, 122 insertions(+), 14 deletions(-) commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e Author: Laszlo Pandy -Date: Fri Feb 4 16:36:07 2011 +0100 +Date: Fri Feb 4 16:36:07 2011 +0100 Fix vfunc search bug when using GInterfaces and a do_* method. @@ -23689,13 +23860,13 @@ Date: Fri Feb 4 16:36:07 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=641493 - gi/types.py | 4 +++- + gi/types.py | 4 +++- tests/test_gi.py | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) commit 2660be1f227be7a53092483bc9d8ead1bd1fb266 Author: Laszlo Pandy -Date: Thu Feb 3 15:31:42 2011 +0100 +Date: Thu Feb 3 15:31:42 2011 +0100 [GI] Add tests for Gtk.Widget.drag_* methods. @@ -23711,7 +23882,7 @@ Date: Thu Feb 3 15:31:42 2011 +0100 commit d57500537014b3da624be33b40401ba289fa22b8 Author: John (J5) Palmieri -Date: Thu Feb 3 09:02:16 2011 -0500 +Date: Thu Feb 3 09:02:16 2011 -0500 [gi] make caller allocates work again @@ -23721,7 +23892,7 @@ Date: Thu Feb 3 09:02:16 2011 -0500 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a Author: John (J5) Palmieri -Date: Wed Feb 2 19:27:40 2011 -0500 +Date: Wed Feb 2 19:27:40 2011 -0500 [gi] fix container object reffing @@ -23731,18 +23902,18 @@ Date: Wed Feb 2 19:27:40 2011 -0500 commit 09acaff29dfaabc77477cffca2c7137f68991e7f Author: Ignacio Casal Quinteiro -Date: Wed Feb 2 21:00:48 2011 +0100 +Date: Wed Feb 2 21:00:48 2011 +0100 [python 3] use the right syntaxis to raise exceptions - codegen/argtypes.py | 8 ++++---- + codegen/argtypes.py | 8 ++++---- codegen/definitions.py | 14 +++++++------- - gi/overrides/Gtk.py | 2 +- + gi/overrides/Gtk.py | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) commit 36094e5982d3e05d5662843b6d401f0974f5235f Author: Ignacio Casal Quinteiro -Date: Wed Feb 2 20:50:12 2011 +0100 +Date: Wed Feb 2 20:50:12 2011 +0100 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init @@ -23751,7 +23922,7 @@ Date: Wed Feb 2 20:50:12 2011 +0100 commit c913c1789296310c2cf27554ce719d7f6e9c94cd Author: Ignacio Casal Quinteiro -Date: Wed Feb 2 20:37:21 2011 +0100 +Date: Wed Feb 2 20:37:21 2011 +0100 [gi] return PYGLIB_MODULE_ERROR_RETURN on error @@ -23762,7 +23933,7 @@ Date: Wed Feb 2 20:37:21 2011 +0100 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4 Author: Steve Frécinaux -Date: Sat Jan 29 00:16:50 2011 +0100 +Date: Sat Jan 29 00:16:50 2011 +0100 Fix wrong refcount when calling introspected widget constructors @@ -23778,13 +23949,13 @@ Date: Sat Jan 29 00:16:50 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=640868 - gobject/pygobject.c | 4 +++- + gobject/pygobject.c | 4 +++- tests/test_everything.py | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) commit afeaaa126f7cd6556fb855ecd0facc174c0f946c Author: Simon Schampijer -Date: Wed Jan 19 16:19:46 2011 +0100 +Date: Wed Jan 19 16:19:46 2011 +0100 Gdk.Window: Map the standard constructor to the *new* constructor @@ -23796,13 +23967,13 @@ Date: Wed Jan 19 16:19:46 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=639936 - gi/overrides/Gdk.py | 6 ++++++ + gi/overrides/Gdk.py | 6 ++++++ tests/test_overrides.py | 8 ++++++++ 2 files changed, 14 insertions(+) commit 4a67f45880433905de33632fe0c32a13b44c0b33 Author: John (J5) Palmieri -Date: Mon Jan 31 16:51:37 2011 -0500 +Date: Mon Jan 31 16:51:37 2011 -0500 [gi] handle hash being NULL @@ -23811,7 +23982,7 @@ Date: Mon Jan 31 16:51:37 2011 -0500 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae Author: John (J5) Palmieri -Date: Mon Jan 31 16:50:52 2011 -0500 +Date: Mon Jan 31 16:50:52 2011 -0500 [gi] handle the situation where an aux arg comes before its parent @@ -23822,7 +23993,7 @@ Date: Mon Jan 31 16:50:52 2011 -0500 commit 858669f92c9907dd70b4966d6a8521ed122225be Author: Martin Pitt -Date: Mon Jan 31 17:38:52 2011 +0100 +Date: Mon Jan 31 17:38:52 2011 +0100 Ship tests/org.gnome.test.gschema.xml in dist tarballs @@ -23831,7 +24002,7 @@ Date: Mon Jan 31 17:38:52 2011 +0100 commit 77d76df59606e470808085e977fb199cc76e8251 Author: John (J5) Palmieri -Date: Sun Jan 30 18:21:24 2011 -0500 +Date: Sun Jan 30 18:21:24 2011 -0500 [gi] allow caching and marshalling of ghash out @@ -23842,7 +24013,7 @@ Date: Sun Jan 30 18:21:24 2011 -0500 commit bd66af67f248a3ca90d2fa2626605263c2392e16 Author: John (J5) Palmieri -Date: Sun Jan 30 17:06:44 2011 -0500 +Date: Sun Jan 30 17:06:44 2011 -0500 [gi] whitespace fixes @@ -23852,7 +24023,7 @@ Date: Sun Jan 30 17:06:44 2011 -0500 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86 Author: John (J5) Palmieri -Date: Sun Jan 30 17:04:13 2011 -0500 +Date: Sun Jan 30 17:04:13 2011 -0500 [gi] added ugly aux arg counters @@ -23870,7 +24041,7 @@ Date: Sun Jan 30 17:04:13 2011 -0500 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64 Author: John (J5) Palmieri -Date: Sun Jan 30 11:30:54 2011 -0500 +Date: Sun Jan 30 11:30:54 2011 -0500 [gi] make inout marshalling work @@ -23886,7 +24057,7 @@ Date: Sun Jan 30 11:30:54 2011 -0500 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e Author: John (J5) Palmieri -Date: Sat Jan 29 13:49:36 2011 -0500 +Date: Sat Jan 29 13:49:36 2011 -0500 [gi] marshal arrays out @@ -23896,7 +24067,7 @@ Date: Sat Jan 29 13:49:36 2011 -0500 commit e62e7062d5cfd782eac64852f681c63e2776b8d4 Author: John (J5) Palmieri -Date: Sat Jan 29 13:48:23 2011 -0500 +Date: Sat Jan 29 13:48:23 2011 -0500 [gi] fix sequence caching to support out @@ -23906,7 +24077,7 @@ Date: Sat Jan 29 13:48:23 2011 -0500 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3 Author: Martin Pitt -Date: Fri Jan 28 17:14:19 2011 +0100 +Date: Fri Jan 28 17:14:19 2011 +0100 [gi] Add GSettings tests @@ -23914,14 +24085,14 @@ Date: Fri Jan 28 17:14:19 2011 +0100 so let's first make sure that the canonical GLib API works. - tests/Makefile.am | 7 +++++-- + tests/Makefile.am | 7 +++++-- tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++ - tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++ + tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 2 deletions(-) commit 488478a83640d50baee963337fcc870fec76b784 Author: Martin Pitt -Date: Fri Jan 28 07:20:26 2011 +0100 +Date: Fri Jan 28 07:20:26 2011 +0100 [gi] Provide GtkTextBuffer.insert_with_tags_by_name() @@ -23930,13 +24101,13 @@ Date: Fri Jan 28 07:20:26 2011 +0100 consistent with the actual GTK API. - gi/overrides/Gtk.py | 19 ++++++++++++++----- + gi/overrides/Gtk.py | 19 ++++++++++++++----- tests/test_overrides.py | 4 ++-- 2 files changed, 16 insertions(+), 7 deletions(-) commit dace1a553793fb7fb054b60760f02c9e5cf00b38 Author: Martin Pitt -Date: Thu Jan 27 13:37:18 2011 +0100 +Date: Thu Jan 27 13:37:18 2011 +0100 [gi] Support tag names in GtkTextBuffer.insert_with_tags() @@ -23945,13 +24116,13 @@ Date: Thu Jan 27 13:37:18 2011 +0100 due to using varargs. As both are useful, support both cases in the override. - gi/overrides/Gtk.py | 5 +++++ + gi/overrides/Gtk.py | 5 +++++ tests/test_overrides.py | 9 +++++++++ 2 files changed, 14 insertions(+) commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb Author: Ignacio Casal Quinteiro -Date: Thu Jan 27 12:23:18 2011 +0100 +Date: Thu Jan 27 12:23:18 2011 +0100 Add MAINTAINERCLEANFILES @@ -23963,37 +24134,37 @@ Date: Thu Jan 27 12:23:18 2011 +0100 commit 8a98d26981ce68809a21c64cac4962e58c927905 Author: Ignacio Casal Quinteiro -Date: Thu Jan 27 12:15:30 2011 +0100 +Date: Thu Jan 27 12:15:30 2011 +0100 Remove .gitignore files and use git.mk git.mk is a script maintained in pango. From time to time we must check if it was updated and update it here. - .gitignore | 46 ----------- - Makefile.am | 2 + - codegen/.gitignore | 2 - - codegen/Makefile.am | 2 + - docs/.gitignore | 7 -- - docs/Makefile.am | 2 + - examples/Makefile.am | 2 + - gi/.gitignore | 40 ---------- - gi/Makefile.am | 2 + + .gitignore | 46 ----------- + Makefile.am | 2 + + codegen/.gitignore | 2 - + codegen/Makefile.am | 2 + + docs/.gitignore | 7 -- + docs/Makefile.am | 2 + + examples/Makefile.am | 2 + + gi/.gitignore | 40 ---------- + gi/Makefile.am | 2 + gi/overrides/Makefile.am | 2 + gi/repository/Makefile.am | 2 + - gi/tests/Makefile.am | 2 + - git.mk | 200 + gi/tests/Makefile.am | 2 + + git.mk | 200 ++++++++++++++++++++++++++++++++++++++++++++++ - glib/Makefile.am | 2 + - gobject/.gitignore | 3 - - gobject/Makefile.am | 2 + - tests/.gitignore | 2 - - tests/Makefile.am | 2 + + glib/Makefile.am | 2 + + gobject/.gitignore | 3 - + gobject/Makefile.am | 2 + + tests/.gitignore | 2 - + tests/Makefile.am | 2 + 18 files changed, 222 insertions(+), 100 deletions(-) commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347 Author: Martin Pitt -Date: Thu Jan 27 12:04:19 2011 +0100 +Date: Thu Jan 27 12:04:19 2011 +0100 pygi-convert.sh: Convert Pango.TabAlign.* @@ -24002,7 +24173,7 @@ Date: Thu Jan 27 12:04:19 2011 +0100 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689 Author: Martin Pitt -Date: Thu Jan 27 12:02:39 2011 +0100 +Date: Thu Jan 27 12:02:39 2011 +0100 pygi-convert.sh: Drop window -> get_window() conversion @@ -24014,7 +24185,7 @@ Date: Thu Jan 27 12:02:39 2011 +0100 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a Author: Martin Pitt -Date: Thu Jan 27 11:58:26 2011 +0100 +Date: Thu Jan 27 11:58:26 2011 +0100 pygi-convert.sh: Don't convert self.window assignments @@ -24023,19 +24194,19 @@ Date: Thu Jan 27 11:58:26 2011 +0100 commit 975341a26772966d4afc87a88a6a566d61237fa0 Author: Steve Frécinaux -Date: Fri Jan 21 18:41:54 2011 +0100 +Date: Fri Jan 21 18:41:54 2011 +0100 Fix leaked python reference in python-defined subclasses https://bugzilla.gnome.org/show_bug.cgi?id=640184 gobject/gobjectmodule.c | 1 + - tests/test_gobject.py | 4 ++++ + tests/test_gobject.py | 4 ++++ 2 files changed, 5 insertions(+) commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3 Author: Steve Frécinaux -Date: Fri Jan 21 15:54:43 2011 +0100 +Date: Fri Jan 21 15:54:43 2011 +0100 Add some tests for the number of python refs held at creation time @@ -24046,21 +24217,21 @@ Date: Fri Jan 21 15:54:43 2011 +0100 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33 Author: Steve Frécinaux -Date: Fri Jan 21 17:24:49 2011 +0100 +Date: Fri Jan 21 17:24:49 2011 +0100 Factor out parameter marshalling from construction functions. https://bugzilla.gnome.org/show_bug.cgi?id=640197 gobject/gobjectmodule.c | 35 ++-------------------- - gobject/pygobject-private.h | 5 ++++ - gobject/pygobject.c | 71 + gobject/pygobject-private.h | 5 ++++ + gobject/pygobject.c | 71 +++++++++++++++++++++++++++------------------ 3 files changed, 50 insertions(+), 61 deletions(-) commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62 Author: John (J5) Palmieri -Date: Wed Jan 26 15:34:24 2011 -0500 +Date: Wed Jan 26 15:34:24 2011 -0500 [gi] in python 3 an array of uint8 can be bytes but not string @@ -24069,7 +24240,7 @@ Date: Wed Jan 26 15:34:24 2011 -0500 commit 843553ea958eddec185bb660851a310dc050a14b Author: John (J5) Palmieri -Date: Wed Jan 26 15:30:06 2011 -0500 +Date: Wed Jan 26 15:30:06 2011 -0500 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol @@ -24078,13 +24249,13 @@ Date: Wed Jan 26 15:30:06 2011 -0500 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4 Author: John (J5) Palmieri -Date: Wed Jan 26 15:17:03 2011 -0500 +Date: Wed Jan 26 15:17:03 2011 -0500 [gi] python 3 fixes Patches need to work in Python 3 - here are some of the issues I fixed up. - Patch submitters should keep this in mind. When I note to only + Patch submitters should keep this in mind. When I note to only use something in tests it means that there is a compat module that is only available to the @@ -24101,9 +24272,9 @@ Date: Wed Jan 26 15:17:03 2011 -0500 issue * callable does not exist in 3.x, use hasattr(obj, '__call__') or - if sys.version_info > (3, 0): - def callable(obj): - return hasattr(obj, '__call__') + if sys.version_info > (3, 0): + def callable(obj): + return hasattr(obj, '__call__') * using unicode in tests is tricky, you can't use u'' even in a versioned @@ -24111,43 +24282,43 @@ Date: Wed Jan 26 15:17:03 2011 -0500 (and only i in tests): - from compathelper import _unicode - unicode_string = _unicode('this is a unicode string') + from compathelper import _unicode + unicode_string = _unicode('this is a unicode string') * exception caching changed in 2.7, instead of except Exception, e we now use except Exception as e. Do this to be compatible with older versions: - except Exception: - etype, e = sys.exc_info()[:2] + except Exception: + etype, e = sys.exc_info()[:2] * Unbound methods with an im_func attribute no longer exits in 3.x. Unbound methods are now just functions so class.method in 3.x is equivalent to class.method.im_func in 2.x. If you have to go this low level do this: - func = class1.method - if sys.version_info < (3,0): - func = func.im_func + func = class1.method + if sys.version_info < (3,0): + func = func.im_func * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and only in tests) do this: - from compathelper import _long - l = _long(42) + from compathelper import _long + l = _long(42) - gi/overrides/GLib.py | 16 ++++++++-------- - gi/types.py | 5 ++++- - tests/compathelper.py | 19 +++++++++++++++++++ - tests/test_gdbus.py | 12 ++++++++---- - tests/test_gi.py | 19 ++++++++++++------- + gi/overrides/GLib.py | 16 ++++++++-------- + gi/types.py | 5 ++++- + tests/compathelper.py | 19 +++++++++++++++++++ + tests/test_gdbus.py | 12 ++++++++---- + tests/test_gi.py | 19 ++++++++++++------- tests/test_overrides.py | 8 +++++--- 6 files changed, 56 insertions(+), 23 deletions(-) commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce Author: John (J5) Palmieri -Date: Wed Jan 26 14:00:08 2011 -0500 +Date: Wed Jan 26 14:00:08 2011 -0500 [gi] fix try/except blocks using depricated raise format @@ -24157,7 +24328,7 @@ Date: Wed Jan 26 14:00:08 2011 -0500 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1 Author: Martin Pitt -Date: Wed Jan 26 19:03:48 2011 +0100 +Date: Wed Jan 26 19:03:48 2011 +0100 [gi] Add docstring to GLib.Variant constructor @@ -24166,7 +24337,7 @@ Date: Wed Jan 26 19:03:48 2011 +0100 commit 963cd52fec26f7a4fb34414f8ac6662932ede322 Author: Martin Pitt -Date: Wed Jan 26 18:45:38 2011 +0100 +Date: Wed Jan 26 18:45:38 2011 +0100 [gi] update gdbus test cases for previous GVariant change @@ -24175,7 +24346,7 @@ Date: Wed Jan 26 18:45:38 2011 +0100 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094 Author: Martin Pitt -Date: Wed Jan 26 18:39:17 2011 +0100 +Date: Wed Jan 26 18:39:17 2011 +0100 [gi] Accept only a single object in GLib.Variant constructor @@ -24195,13 +24366,13 @@ Date: Wed Jan 26 18:39:17 2011 +0100 Thanks to Ryan Lortie for pointing this out! - gi/overrides/GLib.py | 25 ++++++++++--------------- + gi/overrides/GLib.py | 25 ++++++++++--------------- tests/test_overrides.py | 32 +++++++++++++------------------- 2 files changed, 23 insertions(+), 34 deletions(-) commit b15e8e2c0c933d0f827a70280faf875ac383d81b Author: Laszlo Pandy -Date: Wed Jan 26 00:40:49 2011 +0100 +Date: Wed Jan 26 00:40:49 2011 +0100 Speed up _setup_native_vfuncs() @@ -24223,13 +24394,13 @@ Date: Wed Jan 26 00:40:49 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=640629 - gi/types.py | 26 +++++++++++++------------- + gi/types.py | 26 +++++++++++++------------- tests/test_gi.py | 13 +++++++++++++ 2 files changed, 26 insertions(+), 13 deletions(-) commit 569d42ac2f50fb706ef289ff631db743483f40ee Author: Laszlo Pandy -Date: Thu Jan 20 16:26:18 2011 +0100 +Date: Thu Jan 20 16:26:18 2011 +0100 Speed up class creation: rewrite _setup_vfuncs() to be much more efficient. @@ -24257,14 +24428,14 @@ Date: Thu Jan 20 16:26:18 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=640073 - gi/types.py | 104 + gi/types.py | 104 ++++++++++++++++++++++++++++++++++--------------------- tests/test_gi.py | 13 +++++++ 2 files changed, 77 insertions(+), 40 deletions(-) commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be Author: Sebastian Pölsterl -Date: Mon Jan 24 19:23:19 2011 +0100 +Date: Mon Jan 24 19:23:19 2011 +0100 pygi-convert.sh: Convert gtk.UI_MANAGER_* @@ -24273,7 +24444,7 @@ Date: Mon Jan 24 19:23:19 2011 +0100 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2 Author: Sebastian Pölsterl -Date: Fri Jan 21 18:41:54 2011 +0100 +Date: Fri Jan 21 18:41:54 2011 +0100 pygi-convert.sh: Convert gdk.GRAB_* @@ -24282,7 +24453,7 @@ Date: Fri Jan 21 18:41:54 2011 +0100 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a Author: Ignacio Casal Quinteiro -Date: Fri Jan 21 16:45:07 2011 +0100 +Date: Fri Jan 21 16:45:07 2011 +0100 [gi] set the gtype GValue correctly @@ -24291,20 +24462,20 @@ Date: Fri Jan 21 16:45:07 2011 +0100 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5 Author: Ignacio Casal Quinteiro -Date: Fri Jan 21 16:20:23 2011 +0100 +Date: Fri Jan 21 16:20:23 2011 +0100 [gi] use the right argument type for callback gi/pygi-foreign-cairo.c | 8 ++++---- gi/pygi-foreign-gvariant.c | 4 ++-- gi/pygi-foreign-gvariant.h | 2 +- - gi/pygi-foreign.c | 2 +- - gi/pygi.h | 2 +- + gi/pygi-foreign.c | 2 +- + gi/pygi.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464 Author: John (J5) Palmieri -Date: Fri Jan 21 09:23:54 2011 -0500 +Date: Fri Jan 21 09:23:54 2011 -0500 [gi] marshal out flags and enum @@ -24314,7 +24485,7 @@ Date: Fri Jan 21 09:23:54 2011 -0500 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d Author: John (J5) Palmieri -Date: Fri Jan 21 08:18:37 2011 -0500 +Date: Fri Jan 21 08:18:37 2011 -0500 [gi] marshal unions @@ -24323,18 +24494,18 @@ Date: Fri Jan 21 08:18:37 2011 -0500 commit a060287d1a6d190acb9d344f08fd5662e3296da5 Author: Martin Pitt -Date: Fri Jan 21 11:00:27 2011 +0100 +Date: Fri Jan 21 11:00:27 2011 +0100 [gi] Add test cases for GDBus client operations - tests/Makefile.am | 1 + + tests/Makefile.am | 1 + tests/test_gdbus.py | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) commit e7699d9af41f8c374326b8a4ec0939ef1426e386 Author: John (J5) Palmieri -Date: Fri Jan 21 04:28:15 2011 -0500 +Date: Fri Jan 21 04:28:15 2011 -0500 [gi] error out if the constructor returns NULL @@ -24343,7 +24514,7 @@ Date: Fri Jan 21 04:28:15 2011 -0500 commit 58ff2b2c38c1004861083ca88633be76767229f0 Author: John (J5) Palmieri -Date: Fri Jan 21 04:26:45 2011 -0500 +Date: Fri Jan 21 04:26:45 2011 -0500 [gi] throw error for caller allocates until we can write code to support it @@ -24353,7 +24524,7 @@ Date: Fri Jan 21 04:26:45 2011 -0500 commit 5eb779439daa8bf1e86df689377dc10ef1430eab Author: John (J5) Palmieri -Date: Fri Jan 21 04:26:11 2011 -0500 +Date: Fri Jan 21 04:26:11 2011 -0500 [gi] support struct out @@ -24363,7 +24534,7 @@ Date: Fri Jan 21 04:26:11 2011 -0500 commit 3133dc595adf44279397d30712c0f8595f0e1acc Author: John (J5) Palmieri -Date: Fri Jan 21 04:22:06 2011 -0500 +Date: Fri Jan 21 04:22:06 2011 -0500 [gi] move to using type_info and interface_info instead of arg_info @@ -24375,21 +24546,21 @@ Date: Fri Jan 21 04:22:06 2011 -0500 interface_info to the interface cache - gi/pygi-argument.c | 20 ++++---------------- - gi/pygi-cache.c | 43 + gi/pygi-argument.c | 20 ++++---------------- + gi/pygi-cache.c | 43 ++++++++++++++++++++++++++++++++----------- - gi/pygi-cache.h | 4 +++- + gi/pygi-cache.h | 4 +++- gi/pygi-foreign-cairo.c | 24 ++++++++++++------------ gi/pygi-foreign-gvariant.c | 11 +++++------ gi/pygi-foreign-gvariant.h | 10 +++++----- - gi/pygi-foreign.c | 21 +++++++++------------ - gi/pygi-foreign.h | 6 +++--- - gi/pygi.h | 8 ++++---- + gi/pygi-foreign.c | 21 +++++++++------------ + gi/pygi-foreign.h | 6 +++--- + gi/pygi.h | 8 ++++---- 9 files changed, 77 insertions(+), 70 deletions(-) commit e97e28048efb966ecc1a03277d36cbaa81b8db7d Author: Martin Pitt -Date: Fri Jan 21 09:54:14 2011 +0100 +Date: Fri Jan 21 09:54:14 2011 +0100 [gi] Add Variant construction/unpack support for boxed Variants @@ -24398,20 +24569,20 @@ Date: Fri Jan 21 09:54:14 2011 +0100 currently does not work (see https://bugzilla.gnome.org/show_bug.cgi?id=639952) - gi/overrides/GLib.py | 18 +++++++++++++++++- + gi/overrides/GLib.py | 18 +++++++++++++++++- tests/test_overrides.py | 26 ++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a Merge: bc29600 bd002c7 Author: Dieter Verfaillie -Date: Fri Jan 21 09:33:16 2011 +0100 +Date: Fri Jan 21 09:33:16 2011 +0100 Merge branch 'windows-setup-fixes' commit bc29600a2a04c972ceab7ef8d3292e8633977591 Author: Thomas Hindoe Paaboel Andersen -Date: Thu Jan 20 19:48:23 2011 +0100 +Date: Thu Jan 20 19:48:23 2011 +0100 pygi-convert.sh: GdkPixbuf methods @@ -24422,7 +24593,7 @@ Date: Thu Jan 20 19:48:23 2011 +0100 commit d1b0fa501cc431baa530d96fb50f4c35590890ac Author: Thomas Hindoe Paaboel Andersen -Date: Thu Jan 20 19:45:01 2011 +0100 +Date: Thu Jan 20 19:45:01 2011 +0100 pygi-convert.sh: Gdk.COLORSPACE_RGB @@ -24433,7 +24604,7 @@ Date: Thu Jan 20 19:45:01 2011 +0100 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5 Author: Martin Pitt -Date: Wed Jan 19 11:41:11 2011 +0100 +Date: Wed Jan 19 11:41:11 2011 +0100 [gi] Support nested objects and empty sequences in GLib.Variant building @@ -24453,14 +24624,14 @@ Date: Wed Jan 19 11:41:11 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=639939 - gi/overrides/GLib.py | 229 + gi/overrides/GLib.py | 229 ++++++++++++++++++++++++++---------------------- tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++-- 2 files changed, 273 insertions(+), 115 deletions(-) commit ac095f5435f106e175fa3297cb273e63c85d2809 Author: Tomeu Vizoso -Date: Thu Jan 20 15:55:45 2011 +0100 +Date: Thu Jan 20 15:55:45 2011 +0100 Uncomment test_gi.TestInterfaceClash @@ -24469,7 +24640,7 @@ Date: Thu Jan 20 15:55:45 2011 +0100 commit 1239f3709ba257c404dda72b7067b77b19c240fa Author: John (J5) Palmieri -Date: Thu Jan 20 09:05:02 2011 -0500 +Date: Thu Jan 20 09:05:02 2011 -0500 [gi] add support for enum and flags @@ -24480,7 +24651,7 @@ Date: Thu Jan 20 09:05:02 2011 -0500 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42 Author: Steve Frécinaux -Date: Thu Jan 20 14:14:15 2011 +0100 +Date: Thu Jan 20 14:14:15 2011 +0100 Fix reference leaks for GInitiallyUnowned objects @@ -24491,17 +24662,17 @@ Date: Thu Jan 20 14:14:15 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=639949 gobject/gobjectmodule.c | 2 ++ - gobject/pygobject.c | 14 +++++------ - tests/test-floating.c | 36 +++++++++++++++++++++++++++ - tests/test-floating.h | 21 ++++++++++++++++ - tests/test_gobject.py | 63 + gobject/pygobject.c | 14 +++++------ + tests/test-floating.c | 36 +++++++++++++++++++++++++++ + tests/test-floating.h | 21 ++++++++++++++++ + tests/test_gobject.py | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 179 insertions(+), 7 deletions(-) commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f Author: Steve Frécinaux -Date: Wed Jan 19 16:57:57 2011 +0100 +Date: Wed Jan 19 16:57:57 2011 +0100 Add tests for refcount of a GObject owned by a library @@ -24511,16 +24682,16 @@ Date: Wed Jan 19 16:57:57 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=639949 - tests/test-floating.c | 30 +++++++++++++++++++++++ - tests/test-floating.h | 20 ++++++++++++++++ - tests/test_gobject.py | 62 + tests/test-floating.c | 30 +++++++++++++++++++++++ + tests/test-floating.h | 20 ++++++++++++++++ + tests/test_gobject.py | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 163 insertions(+) commit b6737b91938d527872eff1d645a205cacf94e15d Author: Steve Frécinaux -Date: Wed Jan 19 14:52:41 2011 +0100 +Date: Wed Jan 19 14:52:41 2011 +0100 Add a test to check for regular object reference count @@ -24531,7 +24702,7 @@ Date: Wed Jan 19 14:52:41 2011 +0100 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc Author: Martin Pitt -Date: Thu Jan 20 14:15:52 2011 +0100 +Date: Thu Jan 20 14:15:52 2011 +0100 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK @@ -24546,7 +24717,7 @@ Date: Thu Jan 20 14:15:52 2011 +0100 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a Author: Steve Frécinaux -Date: Wed Jan 19 18:04:10 2011 +0100 +Date: Wed Jan 19 18:04:10 2011 +0100 Fix a typo in a private symbol name. @@ -24555,7 +24726,7 @@ Date: Wed Jan 19 18:04:10 2011 +0100 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198 Author: Martin Pitt -Date: Thu Jan 20 11:49:08 2011 +0100 +Date: Thu Jan 20 11:49:08 2011 +0100 pygi-convert.sh: Convert glib.source_remove() @@ -24564,7 +24735,7 @@ Date: Thu Jan 20 11:49:08 2011 +0100 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b Author: Martin Pitt -Date: Thu Jan 20 11:42:34 2011 +0100 +Date: Thu Jan 20 11:42:34 2011 +0100 Fix typo in previous commit to actually convert glib.GError @@ -24573,7 +24744,7 @@ Date: Thu Jan 20 11:42:34 2011 +0100 commit b238cb614338f46e6feb7935cca0a55c7a929418 Author: Martin Pitt -Date: Thu Jan 20 11:40:14 2011 +0100 +Date: Thu Jan 20 11:40:14 2011 +0100 pygi-convert.sh: Move some glib bits which are better handled by gobject @@ -24583,7 +24754,7 @@ Date: Thu Jan 20 11:40:14 2011 +0100 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e Author: Laszlo Pandy -Date: Wed Jan 19 12:00:02 2011 +0100 +Date: Wed Jan 19 12:00:02 2011 +0100 Modify override for Gtk.Adjustment to allow position or keyword arguments in __init__(). @@ -24596,13 +24767,13 @@ Date: Wed Jan 19 12:00:02 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=639934 - gi/overrides/Gtk.py | 14 ++++++++++++-- + gi/overrides/Gtk.py | 14 ++++++++++++-- tests/test_overrides.py | 34 +++++++++++++++++++++++++++------- 2 files changed, 39 insertions(+), 9 deletions(-) commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78 Author: Martin Pitt -Date: Wed Jan 19 22:52:51 2011 +0100 +Date: Wed Jan 19 22:52:51 2011 +0100 [gi] Fix small typo in previous commit @@ -24617,19 +24788,19 @@ Date: Wed Jan 19 22:52:51 2011 +0100 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90 Author: Martin Pitt -Date: Wed Jan 19 20:18:19 2011 +0100 +Date: Wed Jan 19 20:18:19 2011 +0100 [gi] Add pythonic iterator and indexing for string GVariants This extends commit b1a98083c to also work for strings. - gi/overrides/GLib.py | 8 +++++++- + gi/overrides/GLib.py | 8 +++++++- tests/test_overrides.py | 13 +++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb Author: John (J5) Palmieri -Date: Wed Jan 19 14:08:03 2011 -0500 +Date: Wed Jan 19 14:08:03 2011 -0500 [gi] return NULL if out_marshaller fails @@ -24638,7 +24809,7 @@ Date: Wed Jan 19 14:08:03 2011 -0500 commit 5b1db41d60204c8021f47f43b85dac126c389c8d Author: John (J5) Palmieri -Date: Wed Jan 19 13:57:54 2011 -0500 +Date: Wed Jan 19 13:57:54 2011 -0500 [gi] fix some transfer issues and test case failures @@ -24649,7 +24820,7 @@ Date: Wed Jan 19 13:57:54 2011 -0500 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd Author: Tomeu Vizoso -Date: Wed Jan 19 18:09:23 2011 +0100 +Date: Wed Jan 19 18:09:23 2011 +0100 Construct structs using default API constructor @@ -24660,12 +24831,12 @@ Date: Wed Jan 19 18:09:23 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=627444 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++ - gi/types.py | 7 +++++++ + gi/types.py | 7 +++++++ 2 files changed, 44 insertions(+) commit db7300e173388d9557dcd2333781bfaa6b021605 Author: Martin Pitt -Date: Wed Jan 19 18:54:39 2011 +0100 +Date: Wed Jan 19 18:54:39 2011 +0100 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names @@ -24674,7 +24845,7 @@ Date: Wed Jan 19 18:54:39 2011 +0100 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70 Author: Martin Pitt -Date: Wed Jan 19 18:43:29 2011 +0100 +Date: Wed Jan 19 18:43:29 2011 +0100 pygi-convert.sh: Handle .window attributes @@ -24687,7 +24858,7 @@ Date: Wed Jan 19 18:43:29 2011 +0100 commit b1049b947d073fb569ba900a4d5c8519482d831e Author: Tomeu Vizoso -Date: Wed Jan 19 17:35:09 2011 +0100 +Date: Wed Jan 19 17:35:09 2011 +0100 Also deal with foreign boxed structs @@ -24700,7 +24871,7 @@ Date: Wed Jan 19 17:35:09 2011 +0100 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1 Author: Laszlo Pandy -Date: Wed Jan 19 17:45:11 2011 +0100 +Date: Wed Jan 19 17:45:11 2011 +0100 [gi] Convert GErrors to GObject.GError exceptions, and throw them upon returning from calling the C function. @@ -24722,7 +24893,7 @@ Date: Wed Jan 19 17:45:11 2011 +0100 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca Author: John (J5) Palmieri -Date: Wed Jan 19 12:05:45 2011 -0500 +Date: Wed Jan 19 12:05:45 2011 -0500 [gi] fix out marshalling for a couple of int types @@ -24732,7 +24903,7 @@ Date: Wed Jan 19 12:05:45 2011 -0500 commit c5d7c730008275b2c585b2609fc2ff5e051cce47 Author: John (J5) Palmieri -Date: Wed Jan 19 11:59:09 2011 -0500 +Date: Wed Jan 19 11:59:09 2011 -0500 [gi] fixed range checking and type conversion with unsigned and large numbers @@ -24744,7 +24915,7 @@ Date: Wed Jan 19 11:59:09 2011 -0500 commit e6fcafc6179e963cbae7774e7ee50415bde2c523 Author: Martin Pitt -Date: Wed Jan 19 17:03:06 2011 +0100 +Date: Wed Jan 19 17:03:06 2011 +0100 pygi-convert.sh: Don't convert glib -> GLib for now @@ -24762,7 +24933,7 @@ Date: Wed Jan 19 17:03:06 2011 +0100 commit 167261d556eab0d2e448c7ed28eef540a024ba1d Author: Tomeu Vizoso -Date: Wed Jan 19 16:47:08 2011 +0100 +Date: Wed Jan 19 16:47:08 2011 +0100 Link libregress.so to GIO_LIBS again @@ -24771,7 +24942,7 @@ Date: Wed Jan 19 16:47:08 2011 +0100 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794 Author: Laszlo Pandy -Date: Wed Jan 19 16:14:42 2011 +0100 +Date: Wed Jan 19 16:14:42 2011 +0100 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType. @@ -24784,7 +24955,7 @@ Date: Wed Jan 19 16:14:42 2011 +0100 commit 4f5d20966d4a8c649e5fae584039621edab178f3 Author: John (J5) Palmieri -Date: Wed Jan 19 10:02:40 2011 -0500 +Date: Wed Jan 19 10:02:40 2011 -0500 [gi] use correct format stings when setting errors @@ -24793,7 +24964,7 @@ Date: Wed Jan 19 10:02:40 2011 -0500 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19 Author: John (J5) Palmieri -Date: Wed Jan 19 09:45:09 2011 -0500 +Date: Wed Jan 19 09:45:09 2011 -0500 [gi] allow marshalling strings as None @@ -24802,7 +24973,7 @@ Date: Wed Jan 19 09:45:09 2011 -0500 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d Author: John (J5) Palmieri -Date: Wed Jan 19 09:41:56 2011 -0500 +Date: Wed Jan 19 09:41:56 2011 -0500 [gi] make error messages more detailed @@ -24812,7 +24983,7 @@ Date: Wed Jan 19 09:41:56 2011 -0500 commit f0b17605ed2eb917b350654b070984beb553eae3 Author: John (J5) Palmieri -Date: Wed Jan 19 09:41:13 2011 -0500 +Date: Wed Jan 19 09:41:13 2011 -0500 [gi] allow marshalling None for hashes @@ -24821,7 +24992,7 @@ Date: Wed Jan 19 09:41:13 2011 -0500 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f Author: John (J5) Palmieri -Date: Wed Jan 19 09:40:37 2011 -0500 +Date: Wed Jan 19 09:40:37 2011 -0500 [gi] add marshalling to some out values @@ -24831,7 +25002,7 @@ Date: Wed Jan 19 09:40:37 2011 -0500 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c Author: Sebastian Pölsterl -Date: Wed Jan 19 15:27:33 2011 +0100 +Date: Wed Jan 19 15:27:33 2011 +0100 [gi] Fixed typo in exception @@ -24840,7 +25011,7 @@ Date: Wed Jan 19 15:27:33 2011 +0100 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71 Author: John (J5) Palmieri -Date: Wed Jan 19 09:13:44 2011 -0500 +Date: Wed Jan 19 09:13:44 2011 -0500 [gi] fix marshalling structs @@ -24851,7 +25022,7 @@ Date: Wed Jan 19 09:13:44 2011 -0500 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1 Author: Sebastian Pölsterl -Date: Wed Jan 19 15:12:25 2011 +0100 +Date: Wed Jan 19 15:12:25 2011 +0100 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS @@ -24860,7 +25031,7 @@ Date: Wed Jan 19 15:12:25 2011 +0100 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe Author: Martin Pitt -Date: Wed Jan 19 14:54:57 2011 +0100 +Date: Wed Jan 19 14:54:57 2011 +0100 Revert "Fix Pango FontDescription override" @@ -24878,81 +25049,81 @@ Date: Wed Jan 19 14:54:57 2011 +0100 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582. - gi/overrides/Pango.py | 5 ++++- + gi/overrides/Pango.py | 5 ++++- tests/test_overrides.py | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845 Author: Tony Young -Date: Thu Dec 16 23:39:33 2010 +0000 +Date: Thu Dec 16 23:39:33 2010 +0000 Python iterator interface support for GFileEnumerator. - gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++ + gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++ gi/overrides/Makefile.am | 1 + tests/test_overrides.py | 20 ++++++++++++++++++++ 3 files changed, 62 insertions(+) commit bca5834fc8fa342149e0eec7b396877a2abe6d33 Author: Tomeu Vizoso -Date: Fri Jan 7 12:10:37 2011 +0100 +Date: Fri Jan 7 12:10:37 2011 +0100 Remove gio static bindings https://bugzilla.gnome.org/show_bug.cgi?id=638899 - Makefile.am | 2 +- - configure.ac | 25 - - gio/.gitignore | 3 - - gio/Makefile.am | 117 - - gio/__init__.py | 40 - - gio/gappinfo.override | 213 -- + Makefile.am | 2 +- + configure.ac | 25 - + gio/.gitignore | 3 - + gio/Makefile.am | 117 - + gio/__init__.py | 40 - + gio/gappinfo.override | 213 -- gio/gapplaunchcontext.override | 99 - gio/gbufferedinputstream.override | 70 - - gio/gcancellable.override | 38 - - gio/gdatainputstream.override | 250 -- - gio/gdrive.override | 347 -- - gio/gfile.override | 2215 ----------- - gio/gfileattribute.override | 153 - - gio/gfileenumerator.override | 184 - - gio/gfileinfo.override | 121 - - gio/gfileinputstream.override | 68 - - gio/gfileiostream.override | 68 - + gio/gcancellable.override | 38 - + gio/gdatainputstream.override | 250 -- + gio/gdrive.override | 347 -- + gio/gfile.override | 2215 ----------- + gio/gfileattribute.override | 153 - + gio/gfileenumerator.override | 184 - + gio/gfileinfo.override | 121 - + gio/gfileinputstream.override | 68 - + gio/gfileiostream.override | 68 - gio/gfileoutputstream.override | 68 - - gio/gicon.override | 310 -- - gio/ginputstream.override | 344 -- - gio/gio-types.defs | 807 ---- - gio/gio.defs | 7465 + gio/gicon.override | 310 -- + gio/ginputstream.override | 344 -- + gio/gio-types.defs | 807 ---- + gio/gio.defs | 7465 ------------------------------------- - gio/gio.override | 409 -- - gio/giomodule.c | 208 -- - gio/giostream.override | 68 - + gio/gio.override | 409 -- + gio/giomodule.c | 208 -- + gio/giostream.override | 68 - gio/gmemoryinputstream.override | 91 - gio/gmemoryoutputstream.override | 45 - - gio/gmount.override | 454 --- - gio/goutputstream.override | 292 -- - gio/gresolver.override | 312 -- - gio/gsocket.override | 575 --- - gio/gvolume.override | 237 -- - gio/gvolumemonitor.override | 94 - - gio/pygio-utils.c | 236 -- - gio/pygio-utils.h | 49 - - gio/unix-types.defs | 55 - - gio/unix.defs | 475 --- - gio/unix.override | 62 - - gio/unixmodule.c | 52 - - tests/Makefile.am | 9 - - tests/runtests-windows.py | 3 - - tests/test_gcancellable.py | 15 - - tests/test_gicon.py | 112 - - tests/test_gio.py | 1138 ------ - tests/test_gresolver.py | 68 - - tests/test_gsocket.py | 126 - + gio/gmount.override | 454 --- + gio/goutputstream.override | 292 -- + gio/gresolver.override | 312 -- + gio/gsocket.override | 575 --- + gio/gvolume.override | 237 -- + gio/gvolumemonitor.override | 94 - + gio/pygio-utils.c | 236 -- + gio/pygio-utils.h | 49 - + gio/unix-types.defs | 55 - + gio/unix.defs | 475 --- + gio/unix.override | 62 - + gio/unixmodule.c | 52 - + tests/Makefile.am | 9 - + tests/runtests-windows.py | 3 - + tests/test_gcancellable.py | 15 - + tests/test_gicon.py | 112 - + tests/test_gio.py | 1138 ------ + tests/test_gresolver.py | 68 - + tests/test_gsocket.py | 126 - 46 files changed, 1 insertion(+), 18191 deletions(-) commit 6ab3d8d286573289cf8e41eee31eb806621f6f43 Author: John (J5) Palmieri -Date: Wed Jan 19 07:56:16 2011 -0500 +Date: Wed Jan 19 07:56:16 2011 -0500 [gi] switch from using (*arg). to arg-> when referencing union memebers @@ -24963,7 +25134,7 @@ Date: Wed Jan 19 07:56:16 2011 -0500 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a Author: John (J5) Palmieri -Date: Wed Jan 19 07:49:52 2011 -0500 +Date: Wed Jan 19 07:49:52 2011 -0500 [gi] return FALSE when setting errors in the marshaller @@ -24972,19 +25143,19 @@ Date: Wed Jan 19 07:49:52 2011 -0500 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118 Author: John (J5) Palmieri -Date: Wed Jan 19 07:14:18 2011 -0500 +Date: Wed Jan 19 07:14:18 2011 -0500 [gi] do arg counting in new invoke - gi/pygi-cache.c | 2 ++ - gi/pygi-cache.h | 14 ++++++++------ + gi/pygi-cache.c | 2 ++ + gi/pygi-cache.h | 14 ++++++++------ gi/pygi-invoke-state-struct.h | 2 +- - gi/pygi-invoke.c | 20 +++++++++++++++++++- + gi/pygi-invoke.c | 20 +++++++++++++++++++- 4 files changed, 30 insertions(+), 8 deletions(-) commit f45033858bed70d7defec3f71f26aa5b3999d680 Author: John (J5) Palmieri -Date: Wed Jan 19 06:35:45 2011 -0500 +Date: Wed Jan 19 06:35:45 2011 -0500 [gi] set length for uint8 in arrays in new invoke marshaller @@ -24993,7 +25164,7 @@ Date: Wed Jan 19 06:35:45 2011 -0500 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5 Author: Ignacio Casal Quinteiro -Date: Wed Jan 19 12:04:15 2011 +0100 +Date: Wed Jan 19 12:04:15 2011 +0100 [gi] set length when marshalling guint8 erases @@ -25003,7 +25174,7 @@ Date: Wed Jan 19 12:04:15 2011 +0100 commit 22eee43e50a150ace80694213fb87be9f0c72f51 Author: Sebastian Pölsterl -Date: Wed Jan 19 10:27:47 2011 +0100 +Date: Wed Jan 19 10:27:47 2011 +0100 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf @@ -25012,7 +25183,7 @@ Date: Wed Jan 19 10:27:47 2011 +0100 commit a4b210d69c832629894090b7154ae194209b0c60 Author: Arnaud Charlet -Date: Tue Jan 18 18:31:29 2011 +0100 +Date: Tue Jan 18 18:31:29 2011 +0100 Disable calls to PyGILState_* when threads are disabled @@ -25022,13 +25193,13 @@ Date: Tue Jan 18 18:31:29 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=374603 - glib/pyglib.c | 12 ++++++++++++ - gobject/pygobject-private.h | 6 ++++++ + glib/pyglib.c | 12 ++++++++++++ + gobject/pygobject-private.h | 6 ++++++ 2 files changed, 18 insertions(+) commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f Author: John (J5) Palmieri -Date: Tue Jan 18 12:31:57 2011 -0500 +Date: Tue Jan 18 12:31:57 2011 -0500 [gi] fix handling of garrays vs c arrays @@ -25039,7 +25210,7 @@ Date: Tue Jan 18 12:31:57 2011 -0500 commit a000627ec3904b9414ce375aec8d144fc0c26248 Author: Martin Pitt -Date: Tue Jan 18 18:29:50 2011 +0100 +Date: Tue Jan 18 18:29:50 2011 +0100 pygi-convert.sh: Do not comment out set_cell_data_func() calls; these should be ported properly @@ -25049,7 +25220,7 @@ Date: Tue Jan 18 18:29:50 2011 +0100 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0 Author: Martin Pitt -Date: Tue Jan 18 18:26:01 2011 +0100 +Date: Tue Jan 18 18:26:01 2011 +0100 pygi-convert.sh: Fix match for adding missing imports @@ -25058,7 +25229,7 @@ Date: Tue Jan 18 18:26:01 2011 +0100 commit 3aa95011fad67df20370e92bf25236a34d7d08d3 Author: Martin Pitt -Date: Tue Jan 18 18:09:30 2011 +0100 +Date: Tue Jan 18 18:09:30 2011 +0100 pygi-convert.sh: Fix Gtk.Label handling to be idempotent @@ -25072,7 +25243,7 @@ Date: Tue Jan 18 18:09:30 2011 +0100 commit f66051380c0432bf142774542ade2144adcd455e Author: John (J5) Palmieri -Date: Tue Jan 18 11:44:27 2011 -0500 +Date: Tue Jan 18 11:44:27 2011 -0500 [gi] use correct union memeber when marshalling floats @@ -25081,7 +25252,7 @@ Date: Tue Jan 18 11:44:27 2011 -0500 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12 Author: Laszlo Pandy -Date: Tue Jan 18 17:29:52 2011 +0100 +Date: Tue Jan 18 17:29:52 2011 +0100 Remove trailing whitespace from gi/overrides/Gtk.py @@ -25090,7 +25261,7 @@ Date: Tue Jan 18 17:29:52 2011 +0100 commit 1006df1929a667716c25e74b35b8f14643358732 Author: John (J5) Palmieri -Date: Tue Jan 18 11:24:06 2011 -0500 +Date: Tue Jan 18 11:24:06 2011 -0500 [gi] fix constructor invoking and add some support for interface out values @@ -25099,16 +25270,16 @@ Date: Tue Jan 18 11:24:06 2011 -0500 static methods which happen to return an instance - gi/pygi-argument.c | 8 ++-- + gi/pygi-argument.c | 8 ++-- gi/pygi-cache.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++-- - gi/pygi-invoke.c | 9 ++-- - gi/types.py | 21 +++------ + gi/pygi-invoke.c | 9 ++-- + gi/types.py | 21 +++------ 4 files changed, 142 insertions(+), 28 deletions(-) commit 8878c57676091c08e66bc6cbe735d898cb420582 Author: Martin Pitt -Date: Tue Jan 18 16:47:10 2011 +0100 +Date: Tue Jan 18 16:47:10 2011 +0100 Fix Pango FontDescription override @@ -25123,7 +25294,7 @@ Date: Tue Jan 18 16:47:10 2011 +0100 commit efbbe71634037fa100b17327389b883b259cca54 Author: Martin Pitt -Date: Tue Jan 18 16:23:39 2011 +0100 +Date: Tue Jan 18 16:23:39 2011 +0100 tests: Respect existing $GI_TYPELIB_PATH @@ -25134,7 +25305,7 @@ Date: Tue Jan 18 16:23:39 2011 +0100 commit c96ca383350e5b9b079d9a86464922314939c006 Author: John (J5) Palmieri -Date: Tue Jan 18 07:16:40 2011 -0500 +Date: Tue Jan 18 07:16:40 2011 -0500 [gi] fix aux value offsets for methods and element size crashers @@ -25149,24 +25320,24 @@ Date: Tue Jan 18 07:16:40 2011 -0500 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3 Merge: 84d6142 7d997b6 Author: Sebastian Pölsterl -Date: Tue Jan 18 13:14:45 2011 +0100 +Date: Tue Jan 18 13:14:45 2011 +0100 Merge branch 'value' commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0 Author: Sebastian Pölsterl -Date: Tue Jan 18 13:12:36 2011 +0100 +Date: Tue Jan 18 13:12:36 2011 +0100 GTK overrides: Do type conversion to column types of ListStore and TreeStore in set_value - gi/overrides/Gtk.py | 28 ++++++++++++++++++---------- + gi/overrides/Gtk.py | 28 ++++++++++++++++++---------- tests/test_overrides.py | 12 +++++++++++- 2 files changed, 29 insertions(+), 11 deletions(-) commit 84d6142c14a7ebfb7284d3db52e14d3393f93905 Author: Steve Frécinaux -Date: Mon Jan 17 18:57:58 2011 +0100 +Date: Mon Jan 17 18:57:58 2011 +0100 Always register a new GType when a GObject class is subclassed @@ -25184,13 +25355,13 @@ Date: Mon Jan 17 18:57:58 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=543056 - gobject/__init__.py | 6 +++--- + gobject/__init__.py | 6 +++--- tests/test_gi.py | 21 ++------------------- 2 files changed, 5 insertions(+), 22 deletions(-) commit 30750ccef31e6c864628f418fc00e8c573d29a1b Author: Simon van der Linden -Date: Tue Jan 18 12:57:13 2011 +0100 +Date: Tue Jan 18 12:57:13 2011 +0100 Raise required versions of GLib and GObject-Introspection @@ -25201,7 +25372,7 @@ Date: Tue Jan 18 12:57:13 2011 +0100 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5 Author: Martin Pitt -Date: Tue Jan 18 12:52:32 2011 +0100 +Date: Tue Jan 18 12:52:32 2011 +0100 pygi-convert.sh: Handle keysyms @@ -25210,7 +25381,7 @@ Date: Tue Jan 18 12:52:32 2011 +0100 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8 Author: Martin Pitt -Date: Tue Jan 18 12:14:09 2011 +0100 +Date: Tue Jan 18 12:14:09 2011 +0100 GLib overrides: Add test case for array variant building @@ -25219,7 +25390,7 @@ Date: Tue Jan 18 12:14:09 2011 +0100 commit 69a78307f3762e3f54d28d98514cec7d31ff20db Author: Tomeu Vizoso -Date: Tue Jan 18 10:21:03 2011 +0100 +Date: Tue Jan 18 10:21:03 2011 +0100 Remove cairo.RectangleInt from the foreign module @@ -25231,7 +25402,7 @@ Date: Tue Jan 18 10:21:03 2011 +0100 commit 017680c9a5e163021628bf29543598861a3b600a Author: Tomeu Vizoso -Date: Tue Jan 18 10:20:25 2011 +0100 +Date: Tue Jan 18 10:20:25 2011 +0100 Dont try to guess the transfer if its a boxed @@ -25242,7 +25413,7 @@ Date: Tue Jan 18 10:20:25 2011 +0100 commit 771ef76574690eb98926249f38661d741d1ebbb0 Author: Ignacio Casal Quinteiro -Date: Tue Jan 18 12:02:01 2011 +0100 +Date: Tue Jan 18 12:02:01 2011 +0100 The tags can be Empty not None. @@ -25251,7 +25422,7 @@ Date: Tue Jan 18 12:02:01 2011 +0100 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d Author: Martin Pitt -Date: Tue Jan 18 12:01:28 2011 +0100 +Date: Tue Jan 18 12:01:28 2011 +0100 Add Pythonic iterators and indexing to GVariant @@ -25261,14 +25432,14 @@ Date: Tue Jan 18 12:01:28 2011 +0100 Add corresponding test cases. - gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++ + gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593 Author: Martin Pitt -Date: Tue Jan 18 10:48:03 2011 +0100 +Date: Tue Jan 18 10:48:03 2011 +0100 Add GLib.Variant.unpack() @@ -25280,24 +25451,24 @@ Date: Tue Jan 18 10:48:03 2011 +0100 Add appropriate test case. - gi/overrides/GLib.py | 45 + gi/overrides/GLib.py | 45 +++++++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 77 insertions(+), 1 deletion(-) commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d Author: Ignacio Casal Quinteiro -Date: Tue Jan 18 10:56:18 2011 +0100 +Date: Tue Jan 18 10:56:18 2011 +0100 Add override for gtk_text_buffer_insert_with_tags - gi/overrides/Gtk.py | 12 ++++++++++++ + gi/overrides/Gtk.py | 12 ++++++++++++ tests/test_overrides.py | 6 ++++++ 2 files changed, 18 insertions(+) commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9 Author: Simon van der Linden -Date: Mon Jan 17 14:35:14 2011 +0100 +Date: Mon Jan 17 14:35:14 2011 +0100 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES @@ -25306,13 +25477,13 @@ Date: Mon Jan 17 14:35:14 2011 +0100 gi/Makefile.am | 6 ++++-- gio/Makefile.am | 2 +- glib/Makefile.am | 2 +- - m4/python.m4 | 7 +++++-- + m4/python.m4 | 7 +++++-- tests/Makefile.am | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) commit bceec758b27e6c396d17a79424633b5dc9116f54 Author: Simon van der Linden -Date: Mon Jan 17 14:20:55 2011 +0100 +Date: Mon Jan 17 14:20:55 2011 +0100 Kill JD_CHECK_PYTHON_HEADERS @@ -25326,7 +25497,7 @@ Date: Mon Jan 17 14:20:55 2011 +0100 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0 Author: Sebastian Pölsterl -Date: Mon Jan 17 19:09:27 2011 +0100 +Date: Mon Jan 17 19:09:27 2011 +0100 Revert "Override Gtk.Box.pack_start and pack_end to set default values to be compliant with pygtk" @@ -25335,14 +25506,14 @@ Date: Mon Jan 17 19:09:27 2011 +0100 Conflicts: - gi/overrides/Gtk.py + gi/overrides/Gtk.py gi/overrides/Gtk.py | 10 ---------- 1 file changed, 10 deletions(-) commit 4fbae9629adc166627de05bb0946b71485343d69 Author: Sebastian Pölsterl -Date: Mon Jan 17 19:08:23 2011 +0100 +Date: Mon Jan 17 19:08:23 2011 +0100 Revert "Override Gtk.CellLayout.pack_start and pack_end to add default values to be compliant with pygtk" @@ -25354,7 +25525,7 @@ Date: Mon Jan 17 19:08:23 2011 +0100 commit c054f0aca67952876b3519bb75ddc62c5517f7cb Author: Sebastian Pölsterl -Date: Mon Jan 17 19:08:06 2011 +0100 +Date: Mon Jan 17 19:08:06 2011 +0100 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and set_cell_data_func to add default values to be compliant with pygtk" @@ -25366,7 +25537,7 @@ Date: Mon Jan 17 19:08:06 2011 +0100 commit 2d9534f347505573da46743b47318e08bf073aef Author: Martin Pitt -Date: Mon Jan 17 18:54:10 2011 +0100 +Date: Mon Jan 17 18:54:10 2011 +0100 pygi-convert.sh: Handle gtk.combo_box_new_text() @@ -25375,7 +25546,7 @@ Date: Mon Jan 17 18:54:10 2011 +0100 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67 Author: John (J5) Palmieri -Date: Mon Jan 17 12:31:03 2011 -0500 +Date: Mon Jan 17 12:31:03 2011 -0500 support callbacks @@ -25388,7 +25559,7 @@ Date: Mon Jan 17 12:31:03 2011 -0500 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a Author: Sebastian Pölsterl -Date: Mon Jan 17 16:57:53 2011 +0100 +Date: Mon Jan 17 16:57:53 2011 +0100 Override TreeSortable.set_sort_func and set_default_sort_func to add default values to be pygtk compliant @@ -25398,7 +25569,7 @@ Date: Mon Jan 17 16:57:53 2011 +0100 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599 Author: Sebastian Pölsterl -Date: Mon Jan 17 16:29:28 2011 +0100 +Date: Mon Jan 17 16:29:28 2011 +0100 Override Gtk.TreeViewColumn.pack_start, pack_end and set_cell_data_func to add default values to be compliant with pygtk @@ -25408,7 +25579,7 @@ Date: Mon Jan 17 16:29:28 2011 +0100 commit 232841148f35684be83a2f47b5b18da4fb74f63a Author: Sebastian Pölsterl -Date: Mon Jan 17 16:28:51 2011 +0100 +Date: Mon Jan 17 16:28:51 2011 +0100 Override Gtk.CellLayout.pack_start and pack_end to add default values to be compliant with pygtk @@ -25418,7 +25589,7 @@ Date: Mon Jan 17 16:28:51 2011 +0100 commit 1dec12826753756fcadefc8ef8c756fc902c320b Author: Sebastian Pölsterl -Date: Mon Jan 17 15:54:32 2011 +0100 +Date: Mon Jan 17 15:54:32 2011 +0100 Override Gtk.Paned pack1 and pack2 to add default values to be compliant with pygtk @@ -25428,7 +25599,7 @@ Date: Mon Jan 17 15:54:32 2011 +0100 commit a8c727b9c4195d8085a45661683a18614ae84485 Author: Sebastian Pölsterl -Date: Mon Jan 17 15:46:25 2011 +0100 +Date: Mon Jan 17 15:46:25 2011 +0100 Override Gtk.Box.pack_start and pack_end to set default values to be compliant with pygtk @@ -25438,7 +25609,7 @@ Date: Mon Jan 17 15:46:25 2011 +0100 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8 Author: Steve Frécinaux -Date: Wed Aug 4 00:30:05 2010 +0200 +Date: Wed Aug 4 00:30:05 2010 +0200 Handle GObject subclasses in the property helper. @@ -25450,7 +25621,7 @@ Date: Wed Aug 4 00:30:05 2010 +0200 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b Author: Martin Pitt -Date: Mon Jan 17 17:52:15 2011 +0100 +Date: Mon Jan 17 17:52:15 2011 +0100 Fix handling of unicode for GtkTreeModels @@ -25462,13 +25633,13 @@ Date: Mon Jan 17 17:52:15 2011 +0100 Add corresponding test case. - gi/overrides/Gtk.py | 2 +- + gi/overrides/Gtk.py | 2 +- tests/test_overrides.py | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) commit 09c21c79fb6063c8451f53d4588363d2be7239f4 Author: Laszlo Pandy -Date: Mon Jan 17 16:46:08 2011 +0100 +Date: Mon Jan 17 16:46:08 2011 +0100 In IntrospectionModule and DynamicModule classes, make all instance attributes start with an underscore. @@ -25480,19 +25651,19 @@ Date: Mon Jan 17 16:46:08 2011 +0100 In Gstreamer, there is a function gst_version, which was previously inaccessible because of IntrospectionModule.version overriding it. - gi/module.py | 26 +++++++++++++------------- + gi/module.py | 26 +++++++++++++------------- gi/overrides/GIMarshallingTests.py | 2 +- - gi/overrides/GLib.py | 2 +- - gi/overrides/Gdk.py | 10 +++++----- - gi/overrides/Gtk.py | 2 +- - gi/overrides/Pango.py | 2 +- - gi/overrides/__init__.py | 2 +- - tests/test_everything.py | 2 +- + gi/overrides/GLib.py | 2 +- + gi/overrides/Gdk.py | 10 +++++----- + gi/overrides/Gtk.py | 2 +- + gi/overrides/Pango.py | 2 +- + gi/overrides/__init__.py | 2 +- + tests/test_everything.py | 2 +- 8 files changed, 24 insertions(+), 24 deletions(-) commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9 Author: Laszlo Pandy -Date: Mon Jan 17 16:17:25 2011 +0100 +Date: Mon Jan 17 16:17:25 2011 +0100 Amend previous enum wrapping commit to remove redundant setting of __info__ attribute. @@ -25503,7 +25674,7 @@ Date: Mon Jan 17 16:17:25 2011 +0100 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca Author: Martin Pitt -Date: Mon Jan 17 16:16:45 2011 +0100 +Date: Mon Jan 17 16:16:45 2011 +0100 pygi-convert.sh: Handle GdkPixbuf.InterpType @@ -25512,7 +25683,7 @@ Date: Mon Jan 17 16:16:45 2011 +0100 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601 Author: Laszlo Pandy -Date: Mon Jan 17 15:43:34 2011 +0100 +Date: Mon Jan 17 15:43:34 2011 +0100 Fix wrapping of enums: Create new Python type for each non-gtype enum. @@ -25525,14 +25696,14 @@ Date: Mon Jan 17 15:43:34 2011 +0100 enum from the GIMarshallingTests (updating gobject-introspection will be required). - gi/module.py | 2 +- - gi/types.py | 2 ++ + gi/module.py | 2 +- + gi/types.py | 2 ++ tests/test_gi.py | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) commit da50d5620a42046d4fc905bb28a0890d73533cb1 Author: Tomeu Vizoso -Date: Mon Dec 13 18:03:51 2010 +0100 +Date: Mon Dec 13 18:03:51 2010 +0100 Use g_vfunc_info_invoke for chaining up in vfuncs @@ -25542,13 +25713,13 @@ Date: Mon Dec 13 18:03:51 2010 +0100 gi/pygi-invoke.c | 72 +++++++++++++++++++++++++++++++++++++++++++------------- gi/pygi-invoke.h | 3 ++- - gi/types.py | 28 +++++++++++++++++++++- + gi/types.py | 28 +++++++++++++++++++++- tests/test_gi.py | 5 ++-- 5 files changed, 89 insertions(+), 23 deletions(-) commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23 Author: Simon van der Linden -Date: Fri Dec 31 18:38:04 2010 +0100 +Date: Fri Dec 31 18:38:04 2010 +0100 Move pyglib_{main_context, option_context, option_group}_new into _PyGLib_API @@ -25568,23 +25739,23 @@ Date: Fri Dec 31 18:38:04 2010 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=636656 - glib/glibmodule.c | 5 ++++- - glib/pyglib-private.h | 3 +++ - glib/pyglib.c | 48 + glib/glibmodule.c | 5 ++++- + glib/pyglib-private.h | 3 +++ + glib/pyglib.c | 48 +++--------------------------------------------- - glib/pygmaincontext.c | 22 ++++++++++++++++++++++ - glib/pygmaincontext.h | 2 +- - glib/pygmainloop.c | 2 +- + glib/pygmaincontext.c | 22 ++++++++++++++++++++++ + glib/pygmaincontext.h | 2 +- + glib/pygmainloop.c | 2 +- glib/pygoptioncontext.c | 21 +++++++++++++++++++++ glib/pygoptioncontext.h | 2 ++ - glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++ - glib/pygoptiongroup.h | 2 ++ - glib/pygsource.c | 2 +- + glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++ + glib/pygoptiongroup.h | 2 ++ + glib/pygsource.c | 2 +- 11 files changed, 86 insertions(+), 49 deletions(-) commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76 Author: Martin Pitt -Date: Mon Jan 17 14:51:26 2011 +0100 +Date: Mon Jan 17 14:51:26 2011 +0100 pygi-convert.sh: Handle Gdk.DragAction @@ -25593,7 +25764,7 @@ Date: Mon Jan 17 14:51:26 2011 +0100 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917 Author: Martin Pitt -Date: Mon Jan 17 14:46:58 2011 +0100 +Date: Mon Jan 17 14:46:58 2011 +0100 pygi-convert.sh: Generalize Gtk.Settings migration @@ -25604,7 +25775,7 @@ Date: Mon Jan 17 14:46:58 2011 +0100 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2 Author: Martin Pitt -Date: Mon Jan 17 11:22:46 2011 +0100 +Date: Mon Jan 17 11:22:46 2011 +0100 pygi-convert.sh: Don't change the name of "glib" submodules @@ -25615,7 +25786,7 @@ Date: Mon Jan 17 11:22:46 2011 +0100 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6 Author: Paolo Borelli -Date: Sun Jan 16 22:09:56 2011 +0100 +Date: Sun Jan 16 22:09:56 2011 +0100 Plug another memory leak @@ -25626,7 +25797,7 @@ Date: Sun Jan 16 22:09:56 2011 +0100 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98 Author: Paolo Borelli -Date: Sun Jan 16 21:43:30 2011 +0100 +Date: Sun Jan 16 21:43:30 2011 +0100 Plug a small memory leak. @@ -25637,19 +25808,19 @@ Date: Sun Jan 16 21:43:30 2011 +0100 commit d0cbcc45366d40702c69cef207d3c0f361260c02 Author: Paolo Borelli -Date: Sun Jan 16 12:16:31 2011 +0100 +Date: Sun Jan 16 12:16:31 2011 +0100 Override Table.attach() to behave like pygtk It is fairly common and even gtk itself still has attach_defaults. - gi/overrides/Gtk.py | 3 +++ + gi/overrides/Gtk.py | 3 +++ tests/test_overrides.py | 4 ++++ 2 files changed, 7 insertions(+) commit 6409d659326bf3cefdf6051379e8bc2031f16733 Author: Martin Pitt -Date: Sat Jan 15 11:20:23 2011 -0600 +Date: Sat Jan 15 11:20:23 2011 -0600 pygi-convert.sh: Convert Pango.WrapMode @@ -25658,7 +25829,7 @@ Date: Sat Jan 15 11:20:23 2011 -0600 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711 Author: Martin Pitt -Date: Sat Jan 15 11:17:09 2011 -0600 +Date: Sat Jan 15 11:17:09 2011 -0600 pygi-convert.sh: Don't change the name of "gtk" submodules @@ -25671,7 +25842,7 @@ Date: Sat Jan 15 11:17:09 2011 -0600 commit 9be0f1f2dfb89150faf1827ef482feea03645149 Author: John (J5) Palmieri -Date: Thu Jan 13 23:56:19 2011 -0500 +Date: Thu Jan 13 23:56:19 2011 -0500 [gi] implement aux arg handling for array lengths @@ -25683,7 +25854,7 @@ Date: Thu Jan 13 23:56:19 2011 -0500 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72 Author: John (J5) Palmieri -Date: Thu Jan 13 21:07:25 2011 -0500 +Date: Thu Jan 13 21:07:25 2011 -0500 [gi] marshal in hashes @@ -25694,7 +25865,7 @@ Date: Thu Jan 13 21:07:25 2011 -0500 commit c36fbf4918c8557a8e274a12004a412da3b22b2c Author: Laszlo Pandy -Date: Tue Jan 11 21:41:47 2011 +0100 +Date: Tue Jan 11 21:41:47 2011 +0100 Fix the __dir__() methods on DynamicModule and IntrospectionModule @@ -25710,13 +25881,13 @@ Date: Tue Jan 11 21:41:47 2011 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=639229 - gi/module.py | 28 +++++++++++++++++++++------- + gi/module.py | 28 +++++++++++++++++++++------- tests/test_everything.py | 18 ++++++++++++++++++ 2 files changed, 39 insertions(+), 7 deletions(-) commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b Author: Paolo Borelli -Date: Thu Jan 13 00:02:20 2011 +0100 +Date: Thu Jan 13 00:02:20 2011 +0100 pygi-convert.sh: handle ReliefStyle @@ -25725,7 +25896,7 @@ Date: Thu Jan 13 00:02:20 2011 +0100 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f Author: John (J5) Palmieri -Date: Wed Jan 12 16:50:30 2011 -0500 +Date: Wed Jan 12 16:50:30 2011 -0500 [gi] support for GList and GSList in @@ -25735,7 +25906,7 @@ Date: Wed Jan 12 16:50:30 2011 -0500 commit 9baf3240fbac103823ad0feaaf1c82e46d276722 Author: John (J5) Palmieri -Date: Wed Jan 12 16:24:17 2011 -0500 +Date: Wed Jan 12 16:24:17 2011 -0500 [gi] handle allow_none for all args @@ -25746,7 +25917,7 @@ Date: Wed Jan 12 16:24:17 2011 -0500 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2 Author: John (J5) Palmieri -Date: Wed Jan 12 16:23:02 2011 -0500 +Date: Wed Jan 12 16:23:02 2011 -0500 [gi] fix marshalling fixed arrays @@ -25758,20 +25929,20 @@ Date: Wed Jan 12 16:23:02 2011 -0500 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee Author: John (J5) Palmieri -Date: Tue Jan 11 17:20:43 2011 -0500 +Date: Tue Jan 11 17:20:43 2011 -0500 [gi] implement out arg handling - gi/pygi-argument.c | 43 ++++++++++--------------------------- - gi/pygi-cache.c | 22 ++++++++++++++----- + gi/pygi-argument.c | 43 ++++++++++--------------------------- + gi/pygi-cache.c | 22 ++++++++++++++----- gi/pygi-invoke-state-struct.h | 13 +++++++++++ - gi/pygi-invoke.c | 50 + gi/pygi-invoke.c | 50 +++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 89 insertions(+), 39 deletions(-) commit bd002c72675d35b5e60ab773181e7c36c30d2625 Author: Dieter Verfaillie -Date: Tue Jan 11 22:21:18 2011 +0100 +Date: Tue Jan 11 22:21:18 2011 +0100 setup.py: fix the provides keyword argument @@ -25780,7 +25951,7 @@ Date: Tue Jan 11 22:21:18 2011 +0100 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857 Author: Dieter Verfaillie -Date: Tue Jan 11 22:19:18 2011 +0100 +Date: Tue Jan 11 22:19:18 2011 +0100 setup.py: use the same spaces-less format for all setup() parameters @@ -25789,7 +25960,7 @@ Date: Tue Jan 11 22:19:18 2011 +0100 commit c5c149be171895d292852df364541f14f0ec423a Author: John (J5) Palmieri -Date: Tue Jan 11 15:39:09 2011 -0500 +Date: Tue Jan 11 15:39:09 2011 -0500 [gi] implemented return marshalling and started on out marshalling @@ -25797,13 +25968,13 @@ Date: Tue Jan 11 15:39:09 2011 -0500 ++++++++++++++++++++++++++++++++++++++++++++++++++++- gi/pygi-argument.h | 117 ++++++++++++++++ gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++- - gi/pygi-cache.h | 8 +- + gi/pygi-cache.h | 8 +- gi/pygi-invoke.c | 12 +- 5 files changed, 829 insertions(+), 11 deletions(-) commit 4fcca8518774ab89607196dfc52037e3da30ac8a Author: John (J5) Palmieri -Date: Tue Jan 11 13:49:58 2011 -0500 +Date: Tue Jan 11 13:49:58 2011 -0500 [gi] flesh out interface in marshalling a bit more @@ -25816,7 +25987,7 @@ Date: Tue Jan 11 13:49:58 2011 -0500 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79 Author: Laszlo Pandy -Date: Tue Jan 11 19:30:38 2011 +0100 +Date: Tue Jan 11 19:30:38 2011 +0100 Add a __repr__() method to DynamicModule. @@ -25836,7 +26007,7 @@ Date: Tue Jan 11 19:30:38 2011 +0100 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369 Author: Tomeu Vizoso -Date: Tue Jan 11 19:40:19 2011 +0100 +Date: Tue Jan 11 19:40:19 2011 +0100 Go back to using getattr() in DynamicModule.__getattr__ @@ -25847,7 +26018,7 @@ Date: Tue Jan 11 19:40:19 2011 +0100 commit 52a298cc0f05ceec96457f17f9a801e9838fb757 Author: Laszlo Pandy -Date: Tue Jan 11 19:26:50 2011 +0100 +Date: Tue Jan 11 19:26:50 2011 +0100 Change __dir__() to report all the attributes that __getattr__ supports @@ -25868,7 +26039,7 @@ Date: Tue Jan 11 19:26:50 2011 +0100 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff Author: John (J5) Palmieri -Date: Mon Jan 10 17:55:03 2011 -0500 +Date: Mon Jan 10 17:55:03 2011 -0500 [gi] add object and interface in marshalling @@ -25878,13 +26049,13 @@ Date: Mon Jan 10 17:55:03 2011 -0500 gi/pygi-argument.c | 15 +++-- gi/pygi-cache.c | 182 ++++++++++++++++++++++++++++++++++++++++++++++++----- - gi/pygi-cache.h | 1 - - gi/pygi-invoke.c | 1 + + gi/pygi-cache.h | 1 - + gi/pygi-invoke.c | 1 + 4 files changed, 178 insertions(+), 21 deletions(-) commit 88531c58d0491a31dd319387237a03df5c9edc07 Author: John (J5) Palmieri -Date: Mon Jan 10 15:33:56 2011 -0500 +Date: Mon Jan 10 15:33:56 2011 -0500 [gi] fix casting when marshaling a char to uint8 @@ -25893,7 +26064,7 @@ Date: Mon Jan 10 15:33:56 2011 -0500 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b Author: John (J5) Palmieri -Date: Mon Jan 10 15:07:16 2011 -0500 +Date: Mon Jan 10 15:07:16 2011 -0500 [gi] hook up invoke to the cache @@ -25902,20 +26073,20 @@ Date: Mon Jan 10 15:07:16 2011 -0500 complex in types - gi/Makefile.am | 1 + - gi/pygi-argument.c | 60 +++++++++-------- - gi/pygi-argument.h | 60 ++++++++--------- - gi/pygi-cache.h | 6 +- + gi/Makefile.am | 1 + + gi/pygi-argument.c | 60 +++++++++-------- + gi/pygi-argument.h | 60 ++++++++--------- + gi/pygi-cache.h | 6 +- gi/pygi-invoke-state-struct.h | 26 ++++++++ - gi/pygi-invoke.c | 149 + gi/pygi-invoke.c | 149 ++++++++++++++++++++++++++++++++---------- - gi/pygi-invoke.h | 2 +- - gi/pygi-private.h | 1 + + gi/pygi-invoke.h | 2 +- + gi/pygi-private.h | 1 + 8 files changed, 208 insertions(+), 97 deletions(-) commit f32b1f494aa5d09b9b198f607722c819c6bbd808 Author: John (J5) Palmieri -Date: Sun Jan 9 19:37:55 2011 -0500 +Date: Sun Jan 9 19:37:55 2011 -0500 hooked up caching stage and fixed segfaults @@ -25926,12 +26097,12 @@ Date: Sun Jan 9 19:37:55 2011 -0500 +++++++++++++++++++++++++++++++++++++++++++------------- gi/pygi-info.c | 3 +++ gi/pygi-invoke.c | 5 +++++ - gi/pygi.h | 2 ++ + gi/pygi.h | 2 ++ 4 files changed, 56 insertions(+), 13 deletions(-) commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1 Author: John (J5) Palmieri -Date: Sun Jan 9 18:05:31 2011 -0500 +Date: Sun Jan 9 18:05:31 2011 -0500 [gi] fix some function names @@ -25940,7 +26111,7 @@ Date: Sun Jan 9 18:05:31 2011 -0500 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b Author: John (J5) Palmieri -Date: Sun Jan 9 15:58:06 2011 -0500 +Date: Sun Jan 9 15:58:06 2011 -0500 [gi] refactor cache structs so they inherit from ArgCache @@ -25952,12 +26123,12 @@ Date: Sun Jan 9 15:58:06 2011 -0500 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c Author: John (J5) Palmieri -Date: Sat Jan 8 20:45:11 2011 -0500 +Date: Sat Jan 8 20:45:11 2011 -0500 [gi]fix cache compile error - now compiles but cache still not hooked up - gi/Makefile.am | 2 + + gi/Makefile.am | 2 + gi/pygi-argument.c | 100 +++++++++++++++--------------- gi/pygi-argument.h | 174 ++++++++++++++++++++++++++++++++++++++++++++--------- @@ -25968,7 +26139,7 @@ Date: Sat Jan 8 20:45:11 2011 -0500 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d Author: John (J5) Palmieri -Date: Sat Jan 8 19:10:29 2011 -0500 +Date: Sat Jan 8 19:10:29 2011 -0500 add sequence caching and array marshalling w/ item marshalling @@ -25980,12 +26151,12 @@ Date: Sat Jan 8 19:10:29 2011 -0500 gi/pygi-argument.c | 76 ++++++++++++++++- gi/pygi-cache.c | 242 ++++++++++++++++++++++------------------------------- - gi/pygi-cache.h | 4 +- + gi/pygi-cache.h | 4 +- 3 files changed, 175 insertions(+), 147 deletions(-) commit 202a268db7f98f5a3c525c6e65ec4bff1917257e Author: Emilio Pozuelo Monfort -Date: Sat Jan 8 02:19:52 2011 +0000 +Date: Sat Jan 8 02:19:52 2011 +0000 Bump the minimum gio dependency @@ -25996,7 +26167,7 @@ Date: Sat Jan 8 02:19:52 2011 +0000 commit c3aa36151fdef9ed9884d93114786bbe86387983 Author: Tomeu Vizoso -Date: Fri Jan 7 12:58:11 2011 +0100 +Date: Fri Jan 7 12:58:11 2011 +0100 Add test for incorrect attributes in Gdk.Event @@ -26005,7 +26176,7 @@ Date: Fri Jan 7 12:58:11 2011 +0100 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee Author: Simon van der Linden -Date: Sun Jan 2 19:25:55 2011 +0100 +Date: Sun Jan 2 19:25:55 2011 +0100 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__ @@ -26028,7 +26199,7 @@ Date: Sun Jan 2 19:25:55 2011 +0100 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01 Author: Mike Gorse -Date: Fri Jan 7 09:08:31 2011 +0100 +Date: Fri Jan 7 09:08:31 2011 +0100 Release allocated array of arguments when handling closures @@ -26039,7 +26210,7 @@ Date: Fri Jan 7 09:08:31 2011 +0100 commit 1be76d5e006efa24598ff7bf26153660dbe0a890 Author: Mike Gorse -Date: Fri Jan 7 09:07:35 2011 +0100 +Date: Fri Jan 7 09:07:35 2011 +0100 Release GIValueInfo when checking an enum argument @@ -26050,7 +26221,7 @@ Date: Fri Jan 7 09:07:35 2011 +0100 commit 43849c51391fc9cd239697065c3d40fa02fb6783 Author: John (J5) Palmieri -Date: Thu Jan 6 17:30:14 2011 -0500 +Date: Thu Jan 6 17:30:14 2011 -0500 whitespace fixes @@ -26060,7 +26231,7 @@ Date: Thu Jan 6 17:30:14 2011 -0500 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1 Author: John (J5) Palmieri -Date: Thu Jan 6 17:29:00 2011 -0500 +Date: Thu Jan 6 17:29:00 2011 -0500 add marshalling for basic types and add more skeleton code @@ -26075,7 +26246,7 @@ Date: Thu Jan 6 17:29:00 2011 -0500 commit f554cf62848104d31518138ae85bc51acaafda67 Author: John (J5) Palmieri -Date: Tue Jan 4 18:49:53 2011 -0500 +Date: Tue Jan 4 18:49:53 2011 -0500 first checkin of the new caching branch @@ -26089,7 +26260,7 @@ Date: Tue Jan 4 18:49:53 2011 -0500 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0 Author: Eitan Isaacson -Date: Wed Dec 22 12:34:10 2010 -0800 +Date: Wed Dec 22 12:34:10 2010 -0800 Respect different type lengths when assigning out-argument pointers. @@ -26101,7 +26272,7 @@ Date: Wed Dec 22 12:34:10 2010 -0800 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca Author: Tomeu Vizoso -Date: Tue Dec 28 18:34:25 2010 +0100 +Date: Tue Dec 28 18:34:25 2010 +0100 Fix stupid name clash @@ -26110,7 +26281,7 @@ Date: Tue Dec 28 18:34:25 2010 +0100 commit 01b2a193d403beb861eab524300b4f1af63157ce Author: Tomeu Vizoso -Date: Tue Dec 28 13:49:18 2010 +0100 +Date: Tue Dec 28 13:49:18 2010 +0100 Add /usr/share to XDG_DATA_DIRS when running the tests @@ -26119,7 +26290,7 @@ Date: Tue Dec 28 13:49:18 2010 +0100 commit efc186f692f9eac781cc47456be74a3da7f14dcd Author: Tomeu Vizoso -Date: Tue Dec 28 13:25:34 2010 +0100 +Date: Tue Dec 28 13:25:34 2010 +0100 Comment out tests that require SRV lookups @@ -26128,7 +26299,7 @@ Date: Tue Dec 28 13:25:34 2010 +0100 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8 Author: Tomeu Vizoso -Date: Tue Dec 28 13:00:16 2010 +0100 +Date: Tue Dec 28 13:00:16 2010 +0100 Use suppresion file when running valgrind @@ -26139,33 +26310,33 @@ Date: Tue Dec 28 13:00:16 2010 +0100 commit 0ee58113ecbea72784c52de928c041fc8fc88984 Author: Ignacio Casal Quinteiro -Date: Thu Dec 23 00:10:41 2010 +0100 +Date: Thu Dec 23 00:10:41 2010 +0100 Fix warnings. - gi/pygi-argument.c | 16 +++++++--------- + gi/pygi-argument.c | 16 +++++++--------- gi/pygi-foreign-cairo.c | 13 ++----------- - gio/gfile.override | 5 ++--- - glib/pyglib-python-compat.h | 3 +++ - glib/pyglib.c | 2 +- - glib/pygmainloop.c | 3 ++- + gio/gfile.override | 5 ++--- + glib/pyglib-python-compat.h | 3 +++ + glib/pyglib.c | 2 +- + glib/pygmainloop.c | 3 ++- 6 files changed, 17 insertions(+), 25 deletions(-) commit 78ea84cd91392400ebac5a361ef8793bfe928fd0 Author: Jesse van den Kieboom -Date: Sun Dec 19 23:10:57 2010 +0100 +Date: Sun Dec 19 23:10:57 2010 +0100 Allow comparing Gtk.TreePath to None https://bugzilla.gnome.org/show_bug.cgi?id=637615 - gi/overrides/Gtk.py | 12 ++++++------ + gi/overrides/Gtk.py | 12 ++++++------ tests/test_overrides.py | 6 ++++++ 2 files changed, 12 insertions(+), 6 deletions(-) commit 046cc5915286e042d1040271a90676b77632409e Author: John (J5) Palmieri -Date: Thu Dec 16 15:41:10 2010 -0500 +Date: Thu Dec 16 15:41:10 2010 -0500 handle unicode objects in properties @@ -26174,18 +26345,18 @@ Date: Thu Dec 16 15:41:10 2010 -0500 code points - you must add # coding=utf-8 to the top of your python file or python - will error out if it sees embeded unicode charaters (such as when - supporting python 3 and python 2 from the same source) + will error out if it sees embeded unicode charaters (such as when + supporting python 3 and python 2 from the same source) https://bugzilla.gnome.org/show_bug.cgi?id=620579 - gobject/pygtype.c | 35 ++++++++++++++++++++++++++--------- + gobject/pygtype.c | 35 ++++++++++++++++++++++++++--------- tests/test_properties.py | 16 ++++++++++++++++ 2 files changed, 42 insertions(+), 9 deletions(-) commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb Author: Dieter Verfaillie -Date: Tue Dec 14 12:29:54 2010 +0100 +Date: Tue Dec 14 12:29:54 2010 +0100 dsextras.py: check if gcc is there when platform is win32 and compiler is mingw32 @@ -26195,7 +26366,7 @@ Date: Tue Dec 14 12:29:54 2010 +0100 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e Author: Dieter Verfaillie -Date: Tue Dec 14 12:29:01 2010 +0100 +Date: Tue Dec 14 12:29:01 2010 +0100 dsextras.py: be consistent in how distutils imports are done @@ -26204,7 +26375,7 @@ Date: Tue Dec 14 12:29:01 2010 +0100 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93 Author: Dieter Verfaillie -Date: Tue Dec 14 12:25:07 2010 +0100 +Date: Tue Dec 14 12:25:07 2010 +0100 dsextras.py: add have_gcc() function @@ -26213,7 +26384,7 @@ Date: Tue Dec 14 12:25:07 2010 +0100 commit 637c2c287cfb0e89365026531c651111f5593ac7 Author: Dieter Verfaillie -Date: Tue Dec 14 12:24:41 2010 +0100 +Date: Tue Dec 14 12:24:41 2010 +0100 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig() @@ -26222,7 +26393,7 @@ Date: Tue Dec 14 12:24:41 2010 +0100 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89 Author: Dieter Verfaillie -Date: Tue Dec 14 12:22:54 2010 +0100 +Date: Tue Dec 14 12:22:54 2010 +0100 setup.py: fix another case of use True/False instead of 1/0 @@ -26231,7 +26402,7 @@ Date: Tue Dec 14 12:22:54 2010 +0100 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9 Author: Paolo Borelli -Date: Mon Dec 13 10:21:52 2010 +0100 +Date: Mon Dec 13 10:21:52 2010 +0100 pygi-convert.sh: improve GtkSourceView conversion @@ -26240,7 +26411,7 @@ Date: Mon Dec 13 10:21:52 2010 +0100 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418 Author: Paolo Borelli -Date: Mon Dec 13 10:27:56 2010 +0100 +Date: Mon Dec 13 10:27:56 2010 +0100 pygi-convert.sh: Gtk.DialogFlags conversion @@ -26249,24 +26420,27 @@ Date: Mon Dec 13 10:27:56 2010 +0100 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb Author: José Alburquerque -Date: Sun Dec 12 20:38:46 2010 -0500 +Date: Sun Dec 12 20:38:46 2010 -0500 - Doc Extractor: Print the gtk-doc blocks sorted by function name. + Doc Extractor: Print the gtk-doc blocks sorted by function + name. - * codegen/docextract_to_xml.py: Print the xml of the gtk-doc - block in - alphabetical order according to the identifier (function name) - so that - the generation of xml files in the C++ bindings is deterministic. - Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm - recent commit. + * codegen/docextract_to_xml.py: Print the xml of the gtk-doc + block in + alphabetical order according to the identifier (function name) + so that + the generation of xml files in the C++ bindings is + deterministic. + Thanks to Krzesimir Nowak for suggesting this in a + gtksourceviewmm + recent commit. codegen/docextract_to_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit db7ffa75b007074cb6b33b547c6d8140da300a3e Author: Paolo Borelli -Date: Mon Dec 13 00:17:26 2010 +0100 +Date: Mon Dec 13 00:17:26 2010 +0100 pygi-convert.sh: add more Gtk conversions and sort @@ -26275,7 +26449,7 @@ Date: Mon Dec 13 00:17:26 2010 +0100 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733 Author: Paolo Borelli -Date: Mon Dec 13 00:01:40 2010 +0100 +Date: Mon Dec 13 00:01:40 2010 +0100 pygi-convert.sh: convert Atk @@ -26284,7 +26458,7 @@ Date: Mon Dec 13 00:01:40 2010 +0100 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9 Author: Paolo Borelli -Date: Sun Dec 12 23:48:48 2010 +0100 +Date: Sun Dec 12 23:48:48 2010 +0100 pygi-convert.sh: convert a few more Gio types @@ -26293,7 +26467,7 @@ Date: Sun Dec 12 23:48:48 2010 +0100 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24 Author: Paolo Borelli -Date: Sun Dec 12 14:19:00 2010 +0100 +Date: Sun Dec 12 14:19:00 2010 +0100 pygi-convert.sh: more GLib conversion @@ -26302,7 +26476,7 @@ Date: Sun Dec 12 14:19:00 2010 +0100 commit c903390814bebdc62d530472f6f94feecc59b8b3 Author: Paolo Borelli -Date: Sun Dec 12 14:00:34 2010 +0100 +Date: Sun Dec 12 14:00:34 2010 +0100 pygi-convert.sh: remove two cases handled by overrides @@ -26311,17 +26485,17 @@ Date: Sun Dec 12 14:00:34 2010 +0100 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be Author: Paolo Borelli -Date: Sun Dec 12 13:38:56 2010 +0100 +Date: Sun Dec 12 13:38:56 2010 +0100 Override Gtk.ScrolledWindow constructor - gi/overrides/Gtk.py | 7 +++++++ + gi/overrides/Gtk.py | 7 +++++++ tests/test_overrides.py | 7 +++++++ 2 files changed, 14 insertions(+) commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b Author: Paolo Borelli -Date: Sun Dec 12 12:32:39 2010 +0100 +Date: Sun Dec 12 12:32:39 2010 +0100 pygi-convert.sh: Fix 'find' syntax @@ -26330,7 +26504,7 @@ Date: Sun Dec 12 12:32:39 2010 +0100 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc Author: Paolo Borelli -Date: Sun Dec 12 12:29:38 2010 +0100 +Date: Sun Dec 12 12:29:38 2010 +0100 pygi-convert.sh: start handling Gio and GLib @@ -26339,7 +26513,7 @@ Date: Sun Dec 12 12:29:38 2010 +0100 commit 365bf3251af3498dc797a58cce071805451b49b1 Author: Paolo Borelli -Date: Sat Dec 11 23:05:31 2010 +0100 +Date: Sat Dec 11 23:05:31 2010 +0100 pygi-convert.sh: convert Gdk.ScrollDirection. @@ -26348,7 +26522,7 @@ Date: Sat Dec 11 23:05:31 2010 +0100 commit bca603de0f217fb290189a0ea330f82961c46d5d Author: Paolo Borelli -Date: Sat Dec 11 15:03:21 2010 +0100 +Date: Sat Dec 11 15:03:21 2010 +0100 Override Pango.Layout constructor. @@ -26356,13 +26530,13 @@ Date: Sat Dec 11 15:03:21 2010 +0100 not a gobject property so we need to jump through some oops. - gi/overrides/Pango.py | 13 +++++++++++++ + gi/overrides/Pango.py | 13 +++++++++++++ tests/test_overrides.py | 6 ++++++ 2 files changed, 19 insertions(+) commit df233301802e3f7f9ce338cde015ca2a2fc648ab Author: Paolo Borelli -Date: Sat Dec 11 14:18:53 2010 +0100 +Date: Sat Dec 11 14:18:53 2010 +0100 Remove Pango.FontDescription() conversion. @@ -26373,39 +26547,39 @@ Date: Sat Dec 11 14:18:53 2010 +0100 commit d8abcc9463542af9cd43d71849d0ad4c183b570b Author: Paolo Borelli -Date: Fri Dec 10 14:05:20 2010 +0100 +Date: Fri Dec 10 14:05:20 2010 +0100 Override GtkAction and GtkRadioAction constructors. - gi/overrides/Gtk.py | 20 +++++++++++++++++--- + gi/overrides/Gtk.py | 20 +++++++++++++++++--- tests/test_overrides.py | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+), 3 deletions(-) commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5 Author: Dmitrijs Ledkovs -Date: Sat Dec 4 22:13:28 2010 +0000 +Date: Sat Dec 4 22:13:28 2010 +0000 Override Adjustment constructor to behave like pygtk https://bugzilla.gnome.org/show_bug.cgi?id=636486 - gi/overrides/Gtk.py | 7 +++++++ + gi/overrides/Gtk.py | 7 +++++++ tests/test_overrides.py | 9 +++++++++ 2 files changed, 16 insertions(+) commit e76352dd83c8706e68ad57d00d185da9afea99c4 Author: John (J5) Palmieri -Date: Thu Dec 9 13:23:10 2010 -0500 +Date: Thu Dec 9 13:23:10 2010 -0500 add secondary_text apis to MessageDialog - gi/overrides/Gtk.py | 8 ++++++++ + gi/overrides/Gtk.py | 8 ++++++++ tests/test_overrides.py | 8 ++++++++ 2 files changed, 16 insertions(+) commit de682b2d36c362140ab7d43c0743b01ec0865a74 Author: John (J5) Palmieri -Date: Wed Dec 8 16:39:27 2010 -0500 +Date: Wed Dec 8 16:39:27 2010 -0500 [gi] get rid of some debug prints and fix error messages @@ -26414,7 +26588,7 @@ Date: Wed Dec 8 16:39:27 2010 -0500 commit dbb16571803bf51f497768bf80944514f4290ee5 Author: Paolo Borelli -Date: Wed Dec 8 18:25:15 2010 +0100 +Date: Wed Dec 8 18:25:15 2010 +0100 Fix demo for override changes. @@ -26423,19 +26597,19 @@ Date: Wed Dec 8 18:25:15 2010 +0100 commit 2adcd95762944a4e27123093d3c8d080e49be1ea Author: Paolo Borelli -Date: Wed Dec 8 18:06:01 2010 +0100 +Date: Wed Dec 8 18:06:01 2010 +0100 Override Pango.FontDescription. demos/gtk-demo/gtk-demo.py | 2 +- gi/overrides/Makefile.am | 1 + - gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++ + gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 7 +++++++ 4 files changed, 49 insertions(+), 1 deletion(-) commit 769da968c9187414d0420412d8fb8c833d12042a Author: Tomeu Vizoso -Date: Wed Dec 8 17:38:11 2010 +0100 +Date: Wed Dec 8 17:38:11 2010 +0100 Stop checking that all vfuncs are implemented @@ -26444,14 +26618,14 @@ Date: Wed Dec 8 17:38:11 2010 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=619606 - gi/gimodule.c | 4 +++- - gi/types.py | 12 ++---------- + gi/gimodule.c | 4 +++- + gi/types.py | 12 ++---------- tests/test_gi.py | 10 ---------- 3 files changed, 5 insertions(+), 21 deletions(-) commit 167a01c46b3fa0b3c8339502c875d32bd2bca974 Author: Paolo Borelli -Date: Wed Dec 8 17:37:00 2010 +0100 +Date: Wed Dec 8 17:37:00 2010 +0100 Fix usage of TreeIter api that is now an override. @@ -26460,7 +26634,7 @@ Date: Wed Dec 8 17:37:00 2010 +0100 commit d2cfd6e9250d40de7c715ac74e299deddf137683 Author: Paolo Borelli -Date: Wed Dec 8 17:34:54 2010 +0100 +Date: Wed Dec 8 17:34:54 2010 +0100 Fix Gtk.Label(label="Foo") @@ -26473,7 +26647,7 @@ Date: Wed Dec 8 17:34:54 2010 +0100 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656 Author: Paolo Borelli -Date: Wed Dec 8 14:16:39 2010 +0100 +Date: Wed Dec 8 14:16:39 2010 +0100 Fix typo when raising an exception @@ -26482,7 +26656,7 @@ Date: Wed Dec 8 14:16:39 2010 +0100 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301 Author: Sebastian Pölsterl -Date: Wed Dec 8 10:46:27 2010 +0100 +Date: Wed Dec 8 10:46:27 2010 +0100 pygi-convert.sh: Added more conversions @@ -26491,27 +26665,27 @@ Date: Wed Dec 8 10:46:27 2010 +0100 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff Author: Paolo Borelli -Date: Tue Dec 7 20:39:15 2010 +0100 +Date: Tue Dec 7 20:39:15 2010 +0100 Override LinkButton constructor to make 'uri' mandatory - gi/overrides/Gtk.py | 7 +++++++ + gi/overrides/Gtk.py | 7 +++++++ tests/test_overrides.py | 6 ++++++ 2 files changed, 13 insertions(+) commit f4f7fb35af1b41598dc050f5df155a01c370a920 Author: Dmitry Morozov -Date: Sat Dec 4 19:19:19 2010 +0600 +Date: Sat Dec 4 19:19:19 2010 +0600 Container should be iterable. - gi/overrides/Gtk.py | 9 +++++++++ + gi/overrides/Gtk.py | 9 +++++++++ tests/test_overrides.py | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308 Author: Paolo Borelli -Date: Tue Dec 7 14:13:00 2010 +0100 +Date: Tue Dec 7 14:13:00 2010 +0100 No need to import Gdk @@ -26520,7 +26694,7 @@ Date: Tue Dec 7 14:13:00 2010 +0100 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04 Author: Paolo Borelli -Date: Tue Dec 7 14:07:53 2010 +0100 +Date: Tue Dec 7 14:07:53 2010 +0100 Remove semicolumns @@ -26529,7 +26703,7 @@ Date: Tue Dec 7 14:07:53 2010 +0100 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b Author: John (J5) Palmieri -Date: Mon Dec 6 16:05:30 2010 -0500 +Date: Mon Dec 6 16:05:30 2010 -0500 [gi] make sure Gtk.Button override passes all keywords to parent constructor @@ -26539,7 +26713,7 @@ Date: Mon Dec 6 16:05:30 2010 -0500 commit cede81ad65db017e95543d8d35715751aa202fed Author: Paolo Borelli -Date: Sun Dec 5 13:31:20 2010 +0100 +Date: Sun Dec 5 13:31:20 2010 +0100 Fix cut&paste error in the Label override @@ -26548,7 +26722,7 @@ Date: Sun Dec 5 13:31:20 2010 +0100 commit 607c59b74ebbc1e39cb4121c870b689e1888c106 Author: Paolo Borelli -Date: Sat Dec 4 16:03:27 2010 +0100 +Date: Sat Dec 4 16:03:27 2010 +0100 pygi-convert.sh: handle TextWindowType @@ -26557,27 +26731,27 @@ Date: Sat Dec 4 16:03:27 2010 +0100 commit dfeabe0b68938e27da2e65903983b5113dc422f1 Author: Paolo Borelli -Date: Sat Dec 4 15:49:15 2010 +0100 +Date: Sat Dec 4 15:49:15 2010 +0100 Override Label constructor to behave like pygtk - gi/overrides/Gtk.py | 7 +++++++ + gi/overrides/Gtk.py | 7 +++++++ tests/test_overrides.py | 4 ++++ 2 files changed, 11 insertions(+) commit da4e045e5abbed2796cc4ed39df35a0dde2de31b Author: Paolo Borelli -Date: Sat Dec 4 15:40:35 2010 +0100 +Date: Sat Dec 4 15:40:35 2010 +0100 Override GtkTable constructor to behave like pygtk - gi/overrides/Gtk.py | 7 +++++++ + gi/overrides/Gtk.py | 7 +++++++ tests/test_overrides.py | 12 ++++++++++++ 2 files changed, 19 insertions(+) commit 81452c23ab1befa59ff375692e582791432796a5 Author: Paolo Borelli -Date: Sat Dec 4 12:59:43 2010 +0100 +Date: Sat Dec 4 12:59:43 2010 +0100 pygi-convert.sh: convert MovementStep @@ -26586,7 +26760,7 @@ Date: Sat Dec 4 12:59:43 2010 +0100 commit 4d097eea94258eda0c328711491fd456cbd6741b Author: Paolo Borelli -Date: Sat Dec 4 11:57:02 2010 +0100 +Date: Sat Dec 4 11:57:02 2010 +0100 Update Gdk overrides to work with latest Gtk+ 3 @@ -26599,7 +26773,7 @@ Date: Sat Dec 4 11:57:02 2010 +0100 commit cda317195566711d66190145b545e26ed7226172 Author: Johan Dahlin -Date: Thu Dec 2 23:47:40 2010 -0200 +Date: Thu Dec 2 23:47:40 2010 -0200 Gtk: add an override for Gtk.main_quit @@ -26612,19 +26786,19 @@ Date: Thu Dec 2 23:47:40 2010 -0200 https://bugzilla.gnome.org/show_bug.cgi?id=636336 - gi/overrides/Gtk.py | 5 ++++- + gi/overrides/Gtk.py | 5 ++++- gi/overrides/__init__.py | 27 +++++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a Author: John (J5) Palmieri -Date: Thu Dec 2 16:27:04 2010 -0500 +Date: Thu Dec 2 16:27:04 2010 -0500 [gi] handle subtypes when inserting into tree models * Often modules will give back basic types wrapped in a subtype. This is the case with D-Bus where you may want to keep some of the - metadata around. More often than not, the developer is just looking + metadata around. More often than not, the developer is just looking to use the basetype. * This override checks the column type and handles basic types such as @@ -26638,25 +26812,25 @@ Date: Thu Dec 2 16:27:04 2010 -0500 https://bugzilla.gnome.org/show_bug.cgi?id=635172 - gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++-- + gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++-- tests/test_overrides.py | 8 +++++++- 2 files changed, 43 insertions(+), 3 deletions(-) commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f Author: Paolo Borelli -Date: Fri Dec 3 23:39:50 2010 +0100 +Date: Fri Dec 3 23:39:50 2010 +0100 Override TreeSelection.select_path and TreeView.scroll_to_cell The "path" argument may also be a string or a tuple - gi/overrides/Gtk.py | 10 ++++++++++ + gi/overrides/Gtk.py | 10 ++++++++++ tests/test_overrides.py | 29 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9 Author: Paolo Borelli -Date: Fri Dec 3 23:29:00 2010 +0100 +Date: Fri Dec 3 23:29:00 2010 +0100 Override TreePath.__new__ @@ -26664,23 +26838,23 @@ Date: Fri Dec 3 23:29:00 2010 +0100 override __new__ and it will be useful for all the api that take a TreePath or a string or a tuple. - gi/overrides/Gtk.py | 33 +++++++++++++++------------------ + gi/overrides/Gtk.py | 33 +++++++++++++++------------------ tests/test_overrides.py | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+), 18 deletions(-) commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128 Author: Paolo Borelli -Date: Sun Nov 28 13:02:30 2010 +0100 +Date: Sun Nov 28 13:02:30 2010 +0100 Override Container to behave like a sequence - gi/overrides/Gtk.py | 6 ++++++ + gi/overrides/Gtk.py | 6 ++++++ tests/test_overrides.py | 11 +++++++++++ 2 files changed, 17 insertions(+) commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a Author: John (J5) Palmieri -Date: Tue Nov 30 16:57:05 2010 -0500 +Date: Tue Nov 30 16:57:05 2010 -0500 refactor Jonathan Matthew recurse vfunc patch so it applys and clean up a bit @@ -26693,7 +26867,7 @@ Date: Tue Nov 30 16:57:05 2010 -0500 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8 Author: Jonathan Matthew -Date: Thu Jul 22 23:19:51 2010 +1000 +Date: Thu Jul 22 23:19:51 2010 +1000 Recurse up through base classes when setting up vfuncs @@ -26701,14 +26875,14 @@ Date: Thu Jul 22 23:19:51 2010 +1000 https://bugzilla.gnome.org/show_bug.cgi?id=625033 - gi/gimodule.c | 130 + gi/gimodule.c | 130 ++++++++++++++++++++++++++++++++++++++++--------------- tests/test_gi.py | 37 ++++++++++++++++ 2 files changed, 131 insertions(+), 36 deletions(-) commit 78358e1ab54d02317f397276adee03ecb2187588 Author: John (J5) Palmieri -Date: Mon Nov 29 18:29:57 2010 -0500 +Date: Mon Nov 29 18:29:57 2010 -0500 add a profiling torture test for when we fix up invoke @@ -26718,7 +26892,7 @@ Date: Mon Nov 29 18:29:57 2010 -0500 commit 792e679c06df4357843fd310c7953a931172fc99 Author: John (J5) Palmieri -Date: Mon Nov 29 16:41:38 2010 -0500 +Date: Mon Nov 29 16:41:38 2010 -0500 moved dynamic and base modules outside of gtk-2.0 directory @@ -26733,18 +26907,18 @@ Date: Mon Nov 29 16:41:38 2010 -0500 out if it causes any issues with legacy modules and code - gi/Makefile.am | 2 +- + gi/Makefile.am | 2 +- gi/overrides/Makefile.am | 2 +- gi/repository/Makefile.am | 2 +- - glib/Makefile.am | 2 +- - gobject/Makefile.am | 2 +- - tests/test_gi.py | 2 -- + glib/Makefile.am | 2 +- + gobject/Makefile.am | 2 +- + tests/test_gi.py | 2 -- tests/test_overrides.py | 3 --- 7 files changed, 5 insertions(+), 10 deletions(-) commit c587e1ace7429195ac6fd4db03d2f33e2af09838 Author: John (J5) Palmieri -Date: Mon Nov 29 15:11:46 2010 -0500 +Date: Mon Nov 29 15:11:46 2010 -0500 add test for inout argument count @@ -26753,33 +26927,33 @@ Date: Mon Nov 29 15:11:46 2010 -0500 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce Author: John (J5) Palmieri -Date: Mon Nov 22 19:17:23 2010 -0500 +Date: Mon Nov 22 19:17:23 2010 -0500 [gi] add check for UNICHAR https://bugzilla.gnome.org/show_bug.cgi?id=623615 - gi/pygi-argument.c | 27 ++++++++++++++++++++++++++- + gi/pygi-argument.c | 27 ++++++++++++++++++++++++++- tests/test_everything.py | 17 +++++++++++++++-- 2 files changed, 41 insertions(+), 3 deletions(-) commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79 Author: Paolo Borelli -Date: Sun Nov 21 12:16:53 2010 +0100 +Date: Sun Nov 21 12:16:53 2010 +0100 Support gunichar https://bugzilla.gnome.org/show_bug.cgi?id=623615 - gi/pygi-argument.c | 60 + gi/pygi-argument.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-info.c | 5 ++++ + gi/pygi-info.c | 5 ++++ tests/test_everything.py | 5 ++++ 3 files changed, 70 insertions(+) commit fd2c0288eb67823fca1265348a27a9f8f147ae50 Author: Paolo Borelli -Date: Sat Nov 27 23:01:42 2010 +0100 +Date: Sat Nov 27 23:01:42 2010 +0100 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._ @@ -26788,7 +26962,7 @@ Date: Sat Nov 27 23:01:42 2010 +0100 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f Author: Paolo Borelli -Date: Sat Nov 27 22:34:13 2010 +0100 +Date: Sat Nov 27 22:34:13 2010 +0100 pygi-convert.sh: handle "from gtk import gdk" @@ -26797,7 +26971,7 @@ Date: Sat Nov 27 22:34:13 2010 +0100 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07 Author: Paolo Borelli -Date: Sat Nov 27 22:23:24 2010 +0100 +Date: Sat Nov 27 22:23:24 2010 +0100 pygi-convert.sh: add some Pango special cases @@ -26806,53 +26980,53 @@ Date: Sat Nov 27 22:23:24 2010 +0100 commit 57e42bf4230d1aa20a47e3b0df2e509602333892 Author: Paolo Borelli -Date: Sat Nov 27 19:51:38 2010 +0100 +Date: Sat Nov 27 19:51:38 2010 +0100 Override TextIter (begins|ends|toggles)_tag() Make the tag argument optional. - gi/overrides/Gtk.py | 9 +++++++++ + gi/overrides/Gtk.py | 9 +++++++++ tests/test_overrides.py | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) commit 828b698e47ee819a60d24a772a3cc51ff9cd6601 Author: Paolo Borelli -Date: Sat Nov 27 19:32:48 2010 +0100 +Date: Sat Nov 27 19:32:48 2010 +0100 Override TextBuffer.set_text() to make length optional - gi/overrides/Gtk.py | 3 +++ + gi/overrides/Gtk.py | 3 +++ tests/test_overrides.py | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) commit bf55dc862755a57bb1b998702d284fc460e88a30 Author: Paolo Borelli -Date: Sat Nov 27 16:46:40 2010 +0100 +Date: Sat Nov 27 16:46:40 2010 +0100 Override TextBuffer.create_mark() Override create_mark to make the left_gravity argument optional - gi/overrides/Gtk.py | 3 +++ + gi/overrides/Gtk.py | 3 +++ tests/test_overrides.py | 3 +++ 2 files changed, 6 insertions(+) commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9 Author: Paolo Borelli -Date: Sat Nov 27 16:10:33 2010 +0100 +Date: Sat Nov 27 16:10:33 2010 +0100 Fix TextBuffer.get_selection_bounds() override Fix the override and add unit test - gi/overrides/Gtk.py | 8 +++++--- + gi/overrides/Gtk.py | 8 +++++--- tests/test_overrides.py | 7 +++++++ 2 files changed, 12 insertions(+), 3 deletions(-) commit 0cd717e3926276540b9145e58a4a3368136b00de Author: John (J5) Palmieri -Date: Mon Nov 22 18:35:09 2010 -0500 +Date: Mon Nov 22 18:35:09 2010 -0500 [gi] fix ActionGroup constructor to allow other keyword properties to be set @@ -26862,41 +27036,41 @@ Date: Mon Nov 22 18:35:09 2010 -0500 commit 226777cdb70fc72d206664ffd8b6737f7239d23f Author: John (J5) Palmieri -Date: Mon Nov 22 18:32:28 2010 -0500 +Date: Mon Nov 22 18:32:28 2010 -0500 [gi] require the name parameter when creatin a Gtk.ActionGroup - gi/overrides/Gtk.py | 3 +++ + gi/overrides/Gtk.py | 3 +++ tests/test_overrides.py | 2 ++ 2 files changed, 5 insertions(+) commit d0049fa9982d13b3553b05569fb0a227e48b6647 Author: Paolo Borelli -Date: Sun Nov 21 15:20:58 2010 +0100 +Date: Sun Nov 21 15:20:58 2010 +0100 Override UIManager.insert_action_group https://bugzilla.gnome.org/show_bug.cgi?id=635437 - gi/overrides/Gtk.py | 3 +++ + gi/overrides/Gtk.py | 3 +++ tests/test_overrides.py | 34 +++++++++++++++++++++------------- 2 files changed, 24 insertions(+), 13 deletions(-) commit e1db544e46aeed984133896af34b671a6a5547df Author: Paolo Borelli -Date: Sun Nov 21 23:03:25 2010 +0100 +Date: Sun Nov 21 23:03:25 2010 +0100 Override TreeModel.get() to return a tuple https://bugzilla.gnome.org/show_bug.cgi?id=635466 - gi/overrides/Gtk.py | 15 +++++++++++++++ + gi/overrides/Gtk.py | 15 +++++++++++++++ tests/test_overrides.py | 6 ++++++ 2 files changed, 21 insertions(+) commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76 Author: Paolo Borelli -Date: Sun Nov 21 21:57:40 2010 +0100 +Date: Sun Nov 21 21:57:40 2010 +0100 Make TreeSelection.get_selected_rows compatible with PyGtk @@ -26907,7 +27081,7 @@ Date: Sun Nov 21 21:57:40 2010 +0100 commit 1c537bc67107948c92b51ba6ba749747e84263e2 Author: John (J5) Palmieri -Date: Mon Nov 22 15:04:00 2010 -0500 +Date: Mon Nov 22 15:04:00 2010 -0500 [gi] switch to using sequences/tuples when marshalling cairo_rectangle_int_t @@ -26924,19 +27098,19 @@ Date: Mon Nov 22 15:04:00 2010 -0500 commit 4cede8f12321bed6c3b71813a62c01b61853ba69 Author: John (J5) Palmieri -Date: Fri Nov 19 16:46:53 2010 -0500 +Date: Fri Nov 19 16:46:53 2010 -0500 [gi] overrides for treeview Drag and Drop https://bugzilla.gnome.org/show_bug.cgi?id=627367 - gi/overrides/Gdk.py | 7 +++++++ + gi/overrides/Gdk.py | 7 +++++++ gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+) commit 3fd51bb903724b752f72f49c7cb35652b819791d Author: John (J5) Palmieri -Date: Fri Nov 19 16:44:32 2010 -0500 +Date: Fri Nov 19 16:44:32 2010 -0500 [gi] when encountering guint8 arrays treat them as byte arrays @@ -26952,7 +27126,7 @@ Date: Fri Nov 19 16:44:32 2010 -0500 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26 Author: Martin Pitt -Date: Fri Nov 19 18:19:38 2010 +0100 +Date: Fri Nov 19 18:19:38 2010 +0100 pygi-convert.sh: Add pynotify -> Notify @@ -26961,7 +27135,7 @@ Date: Fri Nov 19 18:19:38 2010 +0100 commit bf03d4db03a7739ac16ddc4e614441557ede554d Author: Martin Pitt -Date: Fri Nov 19 09:08:07 2010 +0100 +Date: Fri Nov 19 09:08:07 2010 +0100 pygi-convert.sh: Remove sugar specifics, and allow command line file list @@ -26981,7 +27155,7 @@ Date: Fri Nov 19 09:08:07 2010 +0100 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12 Author: Martin Pitt -Date: Fri Nov 19 09:00:35 2010 +0100 +Date: Fri Nov 19 09:00:35 2010 +0100 pygi-convert.sh: Cover Message and Buttons types @@ -26992,7 +27166,7 @@ Date: Fri Nov 19 09:00:35 2010 +0100 commit ef74273c2043944708515e59a654ebe4944b46ff Author: John (J5) Palmieri -Date: Thu Nov 18 13:54:48 2010 -0500 +Date: Thu Nov 18 13:54:48 2010 -0500 [gi] fix actiongroup test since actions are hashed @@ -27005,21 +27179,21 @@ Date: Thu Nov 18 13:54:48 2010 -0500 commit 2c25886bf6710568d0646f82dce4770faa44c40d Author: John (J5) Palmieri -Date: Wed Nov 17 14:38:09 2010 -0500 +Date: Wed Nov 17 14:38:09 2010 -0500 [gi] when converting to UTF-8 accept Python Unicode objects as input (Python 2) https://bugzilla.gnome.org/show_bug.cgi?id=620579 - gi/pygi-argument.c | 14 ++++++++++++-- - glib/pyglib-python-compat.h | 5 +++++ - tests/test_gi.py | 3 +++ + gi/pygi-argument.c | 14 ++++++++++++-- + glib/pyglib-python-compat.h | 5 +++++ + tests/test_gi.py | 3 +++ 3 files changed, 20 insertions(+), 2 deletions(-) commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c Author: Damien Caliste -Date: Fri Nov 12 10:20:32 2010 +0100 +Date: Fri Nov 12 10:20:32 2010 +0100 Correct a bug in the freeing of memory in pygi-invoke.c. @@ -27034,7 +27208,7 @@ Date: Fri Nov 12 10:20:32 2010 +0100 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e Author: John (J5) Palmieri -Date: Wed Nov 10 14:11:56 2010 -0500 +Date: Wed Nov 10 14:11:56 2010 -0500 update news for release @@ -27044,7 +27218,7 @@ Date: Wed Nov 10 14:11:56 2010 -0500 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf Author: Jonathan Matthew -Date: Tue Sep 28 13:44:13 2010 +1000 +Date: Tue Sep 28 13:44:13 2010 +1000 Implement richcompare for GIBaseInfo @@ -27055,7 +27229,7 @@ Date: Tue Sep 28 13:44:13 2010 +1000 commit 9ce3edf69824935aeca9e676eaa9782786c22a97 Author: John (J5) Palmieri -Date: Tue Nov 9 22:57:41 2010 -0500 +Date: Tue Nov 9 22:57:41 2010 -0500 [gi] add the rectangle_int_t forign cairo type @@ -27071,7 +27245,7 @@ Date: Tue Nov 9 22:57:41 2010 -0500 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290 Author: John (J5) Palmieri -Date: Mon Oct 25 18:28:36 2010 -0400 +Date: Mon Oct 25 18:28:36 2010 -0400 add a foreign type for cairo_rectangle_int_t and allow it to be caller-allocated @@ -27093,22 +27267,22 @@ Date: Mon Oct 25 18:28:36 2010 -0400 gi/pygi-foreign-cairo.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-invoke.c | 15 +++++++++++-- + gi/pygi-invoke.c | 15 +++++++++++-- 2 files changed, 70 insertions(+), 2 deletions(-) commit ce8b948310220288e9eef904eef4ec8f4e24a376 Author: John (J5) Palmieri -Date: Tue Nov 9 22:11:51 2010 -0500 +Date: Tue Nov 9 22:11:51 2010 -0500 [gi] add overrides to Gtk.Editable - gi/overrides/Gtk.py | 17 +++++++++++++++++ + gi/overrides/Gtk.py | 17 +++++++++++++++++ tests/test_overrides.py | 12 ++++++++++++ 2 files changed, 29 insertions(+) commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e Author: John (J5) Palmieri -Date: Tue Nov 9 21:12:54 2010 -0500 +Date: Tue Nov 9 21:12:54 2010 -0500 [gi] handle virtual invokers @@ -27122,12 +27296,12 @@ Date: Tue Nov 9 21:12:54 2010 -0500 where vfunc is named differently from their invoker gi/pygi-info.c | 16 ++++++++++++++++ - gi/types.py | 2 +- + gi/types.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) commit 540e9f1f349ba3625e28b7673c92210eb8974098 Author: John (J5) Palmieri -Date: Tue Nov 9 12:17:05 2010 -0500 +Date: Tue Nov 9 12:17:05 2010 -0500 add overrides for the insert* apis of list_store and tree_store @@ -27136,14 +27310,14 @@ Date: Tue Nov 9 12:17:05 2010 -0500 https://bugzilla.gnome.org/show_bug.cgi?id=634423 - gi/overrides/Gtk.py | 80 + gi/overrides/Gtk.py | 80 ++++++++++++++++++++++++++++++++++++++----------- tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++- 2 files changed, 114 insertions(+), 19 deletions(-) commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a Author: John (J5) Palmieri -Date: Fri Nov 5 13:56:12 2010 -0400 +Date: Fri Nov 5 13:56:12 2010 -0400 fix dialogs overrides which were relying on broken inheritance behavior @@ -27153,7 +27327,7 @@ Date: Fri Nov 5 13:56:12 2010 -0400 commit 89c104d17d79d7b935cd76101cba19d49390f7be Author: John (J5) Palmieri -Date: Thu Nov 4 12:00:14 2010 -0400 +Date: Thu Nov 4 12:00:14 2010 -0400 Add a overrides registry so we can refrence overrides inside the module @@ -27172,26 +27346,26 @@ Date: Thu Nov 4 12:00:14 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=633347 - gi/module.py | 12 ++++++++++- + gi/module.py | 12 ++++++++++- gi/overrides/GIMarshallingTests.py | 2 +- - gi/overrides/Gdk.py | 2 +- - gi/overrides/Gtk.py | 2 +- - gi/overrides/__init__.py | 43 + gi/overrides/Gdk.py | 2 +- + gi/overrides/Gtk.py | 2 +- + gi/overrides/__init__.py | 43 ++++++++++++++++++++++++++++++++++++++ - gi/types.py | 8 ------- - tests/test_overrides.py | 27 ++++++++++++++++++++++++ + gi/types.py | 8 ------- + tests/test_overrides.py | 27 ++++++++++++++++++++++++ 7 files changed, 84 insertions(+), 12 deletions(-) commit 878b8f630acd2146bee364054acd45cd33eea37a Merge: cdacaa9 e317838 Author: John Stowers -Date: Fri Nov 5 11:40:22 2010 +1300 +Date: Fri Nov 5 11:40:22 2010 +1300 Merge remote branch 'dieterv/setup-fixes-for-merge' commit e317838178fba5f0590fb8bd323f49602d564b53 Author: Dieter Verfaillie -Date: Thu Nov 4 11:16:43 2010 +0100 +Date: Thu Nov 4 11:16:43 2010 +0100 setup.py: ease maintenance burden for tests installation @@ -27200,7 +27374,7 @@ Date: Thu Nov 4 11:16:43 2010 +0100 commit cdacaa9572893796e0f3aa3730d0191911cb29ee Author: John (J5) Palmieri -Date: Wed Nov 3 09:51:09 2010 -0400 +Date: Wed Nov 3 09:51:09 2010 -0400 fix inheritence issues in overrides @@ -27210,7 +27384,7 @@ Date: Wed Nov 3 09:51:09 2010 -0400 commit 3d5955767d81f45e796ab2af0707533375681774 Author: Dieter Verfaillie -Date: Wed Nov 3 09:38:56 2010 +0100 +Date: Wed Nov 3 09:38:56 2010 +0100 tests: add runtests-windows.py script @@ -27222,7 +27396,7 @@ Date: Wed Nov 3 09:38:56 2010 +0100 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8 Author: Dieter Verfaillie -Date: Wed Nov 3 09:35:52 2010 +0100 +Date: Wed Nov 3 09:35:52 2010 +0100 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from postinstall as pkg-config on windows figures out the correct prefix @@ -27235,7 +27409,7 @@ Date: Wed Nov 3 09:35:52 2010 +0100 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5 Author: Dieter Verfaillie -Date: Wed Nov 3 09:34:38 2010 +0100 +Date: Wed Nov 3 09:34:38 2010 +0100 pygobject_postinstall.py: remove shortcut creation @@ -27246,7 +27420,7 @@ Date: Wed Nov 3 09:34:38 2010 +0100 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef Author: Dieter Verfaillie -Date: Wed Nov 3 09:31:14 2010 +0100 +Date: Wed Nov 3 09:31:14 2010 +0100 setup.py: formatting cleanup, makes things readable @@ -27257,7 +27431,7 @@ Date: Wed Nov 3 09:31:14 2010 +0100 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d Author: Dieter Verfaillie -Date: Wed Nov 3 09:28:36 2010 +0100 +Date: Wed Nov 3 09:28:36 2010 +0100 setup.py: build and install tests @@ -27269,7 +27443,7 @@ Date: Wed Nov 3 09:28:36 2010 +0100 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8 Author: Dieter Verfaillie -Date: Wed Nov 3 09:26:59 2010 +0100 +Date: Wed Nov 3 09:26:59 2010 +0100 setup.py: install documentation when available on build system @@ -27280,7 +27454,7 @@ Date: Wed Nov 3 09:26:59 2010 +0100 commit 78533d851ee1314686f18cfa793613a9cf7d6686 Author: Dieter Verfaillie -Date: Wed Nov 3 09:25:56 2010 +0100 +Date: Wed Nov 3 09:25:56 2010 +0100 setup.py: install pygobject-codegen script @@ -27291,7 +27465,7 @@ Date: Wed Nov 3 09:25:56 2010 +0100 commit ad40688df533dda0b1f7be8ea37c542b8796a26b Author: Dieter Verfaillie -Date: Wed Nov 3 09:24:45 2010 +0100 +Date: Wed Nov 3 09:24:45 2010 +0100 setup.py: install fixxref.py script @@ -27302,7 +27476,7 @@ Date: Wed Nov 3 09:24:45 2010 +0100 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc Author: Dieter Verfaillie -Date: Wed Nov 3 09:23:05 2010 +0100 +Date: Wed Nov 3 09:23:05 2010 +0100 setup.py: rearrange constants @@ -27313,7 +27487,7 @@ Date: Wed Nov 3 09:23:05 2010 +0100 commit 7d353d04892de67265bf693f591f37fd393de639 Author: Dieter Verfaillie -Date: Wed Nov 3 09:18:11 2010 +0100 +Date: Wed Nov 3 09:18:11 2010 +0100 setup.py: check python version and pkgconig availability before anything else @@ -27325,7 +27499,7 @@ Date: Wed Nov 3 09:18:11 2010 +0100 commit 286364ed39953e942e24d5911519bcac2f90975a Author: Dieter Verfaillie -Date: Wed Nov 3 09:05:59 2010 +0100 +Date: Wed Nov 3 09:05:59 2010 +0100 setup.py: simplify sys.platform != 'win32' detection and error reporting @@ -27337,7 +27511,7 @@ Date: Wed Nov 3 09:05:59 2010 +0100 commit 3f70f92904c123e6cc40929c0affd3f75d061828 Author: Dieter Verfaillie -Date: Wed Nov 3 09:02:30 2010 +0100 +Date: Wed Nov 3 09:02:30 2010 +0100 setup.py: rearrange imports @@ -27348,7 +27522,7 @@ Date: Wed Nov 3 09:02:30 2010 +0100 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455 Author: Dieter Verfaillie -Date: Wed Nov 3 08:58:00 2010 +0100 +Date: Wed Nov 3 08:58:00 2010 +0100 README.win32: update build instructions @@ -27359,7 +27533,7 @@ Date: Wed Nov 3 08:58:00 2010 +0100 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0 Author: Dieter Verfaillie -Date: Wed Nov 3 07:59:18 2010 +0100 +Date: Wed Nov 3 07:59:18 2010 +0100 dsextras.py: formatting cleanup, makes things readable @@ -27371,7 +27545,7 @@ Date: Wed Nov 3 07:59:18 2010 +0100 commit d03503d0412d173acb383926ab3c2d640dad3e3f Author: Dieter Verfaillie -Date: Wed Nov 3 07:00:40 2010 +0100 +Date: Wed Nov 3 07:00:40 2010 +0100 dsextras.py: add ggc4 to MSVC compatible struct packing comment @@ -27382,7 +27556,7 @@ Date: Wed Nov 3 07:00:40 2010 +0100 commit 8c62968e9f8467e24870b8c4f61112676eef4630 Author: Dieter Verfaillie -Date: Wed Nov 3 06:56:32 2010 +0100 +Date: Wed Nov 3 06:56:32 2010 +0100 dsextras.py: use the pkgc_ functions instead of repeating pgk-config incantations all over the place @@ -27394,7 +27568,7 @@ Date: Wed Nov 3 06:56:32 2010 +0100 commit b98277afc24886bbda400e0ad360992bffa77b7c Author: Dieter Verfaillie -Date: Wed Nov 3 06:49:48 2010 +0100 +Date: Wed Nov 3 06:49:48 2010 +0100 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions @@ -27405,7 +27579,7 @@ Date: Wed Nov 3 06:49:48 2010 +0100 commit a565558652ebc3fa49d7aea40d399b06bbe376c4 Author: Dieter Verfaillie -Date: Wed Nov 3 06:45:05 2010 +0100 +Date: Wed Nov 3 06:45:05 2010 +0100 dsextras.py: PEP8: Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators. @@ -27417,7 +27591,7 @@ Date: Wed Nov 3 06:45:05 2010 +0100 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02 Author: Dieter Verfaillie -Date: Wed Nov 3 06:44:21 2010 +0100 +Date: Wed Nov 3 06:44:21 2010 +0100 dsextras.py: use True/False instead of 1/0 @@ -27428,7 +27602,7 @@ Date: Wed Nov 3 06:44:21 2010 +0100 commit 819a21cea831c3892040390e9446b78a91d1cbbe Author: Dieter Verfaillie -Date: Wed Nov 3 06:28:04 2010 +0100 +Date: Wed Nov 3 06:28:04 2010 +0100 dsextras.py: rearrange imports @@ -27440,7 +27614,7 @@ Date: Wed Nov 3 06:28:04 2010 +0100 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f Author: Dieter Verfaillie -Date: Wed Nov 3 06:16:21 2010 +0100 +Date: Wed Nov 3 06:16:21 2010 +0100 Add distutils generated build/dist directories and eclipse configuration files to .gitignore @@ -27452,7 +27626,7 @@ Date: Wed Nov 3 06:16:21 2010 +0100 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e Author: John (J5) Palmieri -Date: Thu Oct 28 15:32:28 2010 -0400 +Date: Thu Oct 28 15:32:28 2010 -0400 [gi] add tests for calling dir on a dynamic module @@ -27461,7 +27635,7 @@ Date: Thu Oct 28 15:32:28 2010 -0400 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0 Author: Deepankar Sharma -Date: Wed Oct 27 18:28:11 2010 -0400 +Date: Wed Oct 27 18:28:11 2010 -0400 [gi] dir() now works for modules @@ -27472,7 +27646,7 @@ Date: Wed Oct 27 18:28:11 2010 -0400 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6 Author: Simón Pena -Date: Mon Sep 20 23:10:14 2010 +0200 +Date: Mon Sep 20 23:10:14 2010 +0200 Don't check the inner type when comparing gpointers @@ -27488,7 +27662,7 @@ Date: Mon Sep 20 23:10:14 2010 +0200 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde Author: John (J5) Palmieri -Date: Thu Oct 28 14:21:12 2010 -0400 +Date: Thu Oct 28 14:21:12 2010 -0400 Release GIL when calling into C functions @@ -27501,7 +27675,7 @@ Date: Thu Oct 28 14:21:12 2010 -0400 commit 783e2e351ec7470bda6b441e51f387dd61543c4b Author: José Aliste -Date: Fri Oct 15 14:30:10 2010 -0300 +Date: Fri Oct 15 14:30:10 2010 -0300 _gi.Repository : Implement missing info bindings. @@ -27514,7 +27688,7 @@ Date: Fri Oct 15 14:30:10 2010 -0300 commit 2ca897273f52ae38f5e06e72c773a048e199eee5 Author: John (J5) Palmieri -Date: Thu Oct 28 13:49:15 2010 -0400 +Date: Thu Oct 28 13:49:15 2010 -0400 include Python.h so that PY_VERSION_HEX gets defined @@ -27523,7 +27697,7 @@ Date: Thu Oct 28 13:49:15 2010 -0400 commit 8b28b1d713df33931e255600ab98feda37a8e02a Author: John (J5) Palmieri -Date: Thu Oct 28 13:47:34 2010 -0400 +Date: Thu Oct 28 13:47:34 2010 -0400 [gi] make overrides work for python 3.x protocols and alias for python 2.x @@ -27533,7 +27707,7 @@ Date: Thu Oct 28 13:47:34 2010 -0400 commit 3c09710d2f68af9c16ce39fd25656147656a486a Author: Sebastian Pölsterl -Date: Sat Oct 23 14:24:24 2010 +0200 +Date: Sat Oct 23 14:24:24 2010 +0200 Override Gtk.Widget.translate_coordinates to not return success value @@ -27542,7 +27716,7 @@ Date: Sat Oct 23 14:24:24 2010 +0200 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:22:36 2010 +0200 +Date: Sat Oct 23 14:22:36 2010 +0200 Override Gtk.TreeViewColumn.cell_get_position to not return success value @@ -27552,7 +27726,7 @@ Date: Sat Oct 23 14:22:36 2010 +0200 commit 6679d39ace06294e98f9d6fc911ed6fb27656010 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:21:36 2010 +0200 +Date: Sat Oct 23 14:21:36 2010 +0200 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to not return success value @@ -27562,7 +27736,7 @@ Date: Sat Oct 23 14:21:36 2010 +0200 commit 80b1b266fa68a5c67106871502017166628f71e4 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:20:38 2010 +0200 +Date: Sat Oct 23 14:20:38 2010 +0200 Override Gtk.TreeSortable.get_sort_column_id to not return success value @@ -27572,7 +27746,7 @@ Date: Sat Oct 23 14:20:38 2010 +0200 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:19:20 2010 +0200 +Date: Sat Oct 23 14:19:20 2010 +0200 Override forward_search and backward_search of Gtk.TextIter to not return success value @@ -27582,7 +27756,7 @@ Date: Sat Oct 23 14:19:20 2010 +0200 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:18:09 2010 +0200 +Date: Sat Oct 23 14:18:09 2010 +0200 Override Gtk.TextBuffer.get_selection_bounds to not return success value @@ -27592,7 +27766,7 @@ Date: Sat Oct 23 14:18:09 2010 +0200 commit da6d87460b9392c29d025a7eed9249fb604204bc Author: Sebastian Pölsterl -Date: Sat Oct 23 14:17:04 2010 +0200 +Date: Sat Oct 23 14:17:04 2010 +0200 Override Gtk.RecentInfo.get_application_info to not return success value @@ -27602,7 +27776,7 @@ Date: Sat Oct 23 14:17:04 2010 +0200 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a Author: Sebastian Pölsterl -Date: Sat Oct 23 14:16:21 2010 +0200 +Date: Sat Oct 23 14:16:21 2010 +0200 Override Gtk.IMContext.get_surrounding to not return success value @@ -27611,7 +27785,7 @@ Date: Sat Oct 23 14:16:21 2010 +0200 commit b85b445f15421209c0b4adf676d7c8218d6437c5 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:15:24 2010 +0200 +Date: Sat Oct 23 14:15:24 2010 +0200 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos of Gtk.IconView to not return success value @@ -27621,7 +27795,7 @@ Date: Sat Oct 23 14:15:24 2010 +0200 commit 684d716192d58c972083e579e909bcd97f8a5025 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:13:47 2010 +0200 +Date: Sat Oct 23 14:13:47 2010 +0200 Override Gtk.Container.get_focus_chain to not return success value @@ -27630,7 +27804,7 @@ Date: Sat Oct 23 14:13:47 2010 +0200 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688 Author: Sebastian Pölsterl -Date: Sat Oct 23 14:12:44 2010 +0200 +Date: Sat Oct 23 14:12:44 2010 +0200 Override Gtk.ComboBox.get_active_iter to not return success value @@ -27639,7 +27813,7 @@ Date: Sat Oct 23 14:12:44 2010 +0200 commit b483852904468722230903989e3451c7c6a24c0f Author: John (J5) Palmieri -Date: Tue Oct 12 12:18:33 2010 -0400 +Date: Tue Oct 12 12:18:33 2010 -0400 [gi] make parameter check less strict when dealing with GValue params @@ -27654,19 +27828,19 @@ Date: Tue Oct 12 12:18:33 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=622987 - gi/pygi-argument.c | 17 ++++++--------- - gobject/gobjectmodule.c | 4 ++-- - gobject/pygobject-private.h | 1 + - gobject/pygobject.h | 2 ++ - gobject/pygtype.c | 37 +++++++++++++++++++++++++++++---- - tests/test_gi.py | 1 - + gi/pygi-argument.c | 17 ++++++--------- + gobject/gobjectmodule.c | 4 ++-- + gobject/pygobject-private.h | 1 + + gobject/pygobject.h | 2 ++ + gobject/pygtype.c | 37 +++++++++++++++++++++++++++++---- + tests/test_gi.py | 1 - tests/test_overrides.py | 50 +++++++++++++++++++++++++++++++++++++++++---- 7 files changed, 90 insertions(+), 22 deletions(-) commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2 Author: John Stowers -Date: Fri Oct 22 13:28:31 2010 +1300 +Date: Fri Oct 22 13:28:31 2010 +1300 Shortcut removal is not needed on post-uninstall @@ -27675,7 +27849,7 @@ Date: Fri Oct 22 13:28:31 2010 +1300 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7 Author: John Stowers -Date: Thu Oct 21 13:25:35 2010 +1300 +Date: Thu Oct 21 13:25:35 2010 +1300 Disable shortcut creation in windows installer @@ -27684,20 +27858,20 @@ Date: Thu Oct 21 13:25:35 2010 +1300 commit a3d6212b0abccef58f05d454c091936776413d98 Author: John (J5) Palmieri -Date: Thu Oct 7 11:43:27 2010 -0400 +Date: Thu Oct 7 11:43:27 2010 -0400 overrides for all subclasses of dialog https://bugzilla.gnome.org/show_bug.cgi?id=631634 - gi/overrides/Gtk.py | 94 + gi/overrides/Gtk.py | 94 +++++++++++++++++++++++++++++++++++++++++++++---- tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++- 2 files changed, 151 insertions(+), 7 deletions(-) commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f Author: Sebastian Pölsterl -Date: Thu Oct 7 19:37:53 2010 +0200 +Date: Thu Oct 7 19:37:53 2010 +0200 Make TreeModel behave like in GTK-2.x @@ -27720,14 +27894,14 @@ Date: Thu Oct 7 19:37:53 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=631547 - gi/overrides/Gtk.py | 195 + gi/overrides/Gtk.py | 195 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 349 insertions(+), 6 deletions(-) commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea Author: John Stowers -Date: Sat Oct 16 18:59:25 2010 +1300 +Date: Sat Oct 16 18:59:25 2010 +1300 Correctly build GIO on windows @@ -27736,7 +27910,7 @@ Date: Sat Oct 16 18:59:25 2010 +1300 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317 Author: John Stowers -Date: Sat Oct 16 18:17:28 2010 +1300 +Date: Sat Oct 16 18:17:28 2010 +1300 Require Python >= 2.6.0 for Windows build @@ -27745,7 +27919,7 @@ Date: Sat Oct 16 18:17:28 2010 +1300 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6 Author: John Stowers -Date: Sat Oct 16 17:41:01 2010 +1300 +Date: Sat Oct 16 17:41:01 2010 +1300 Fix depreciation warning in dsextras.py @@ -27754,18 +27928,18 @@ Date: Sat Oct 16 17:41:01 2010 +1300 commit 239ff961778e4e1587404d8a70dfbe8630ab0623 Author: John Stowers -Date: Sat Oct 16 17:34:50 2010 +1300 +Date: Sat Oct 16 17:34:50 2010 +1300 Fix build on windows gi/pygi-foreign.c | 5 ++++- - gi/pygi.h | 5 ++++- - setup.py | 4 ++-- + gi/pygi.h | 5 ++++- + setup.py | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6 Author: Michael Culbertson -Date: Sat Oct 16 17:08:11 2010 +1300 +Date: Sat Oct 16 17:08:11 2010 +1300 Support for GCC4 in Windows distutils build - bug 626548 @@ -27774,7 +27948,7 @@ Date: Sat Oct 16 17:08:11 2010 +1300 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27 Author: John Stowers -Date: Fri Oct 15 09:39:02 2010 +1300 +Date: Fri Oct 15 09:39:02 2010 +1300 Remove obsolete comments in dsextras.py @@ -27783,18 +27957,18 @@ Date: Fri Oct 15 09:39:02 2010 +1300 commit b5f383f854fb8f72677828b029589320c59006d1 Author: John Stowers -Date: Fri Oct 15 09:21:03 2010 +1300 +Date: Fri Oct 15 09:21:03 2010 +1300 Broken dsextras.py pkg-config check error message - * Fixes bug 631962 + * Fixes bug 631962 dsextras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e1981da105b574e273ae6500fc6d25caf6af6aae Author: John (J5) Palmieri -Date: Tue Sep 28 15:31:03 2010 -0400 +Date: Tue Sep 28 15:31:03 2010 -0400 add compat functions for the deprecated PyCObject api @@ -27818,20 +27992,20 @@ Date: Tue Sep 28 15:31:03 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=630844 - gi/gimodule.c | 2 +- - gi/pygi.h | 5 ++++- - glib/glibmodule.c | 2 +- + gi/gimodule.c | 2 +- + gi/pygi.h | 5 ++++- + glib/glibmodule.c | 2 +- glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++ - glib/pyglib.c | 6 +++--- - glib/pygoptioncontext.c | 2 +- - gobject/gobjectmodule.c | 2 +- - gobject/pygobject.h | 6 ++++++ - gobject/pygtype.c | 10 +++++----- + glib/pyglib.c | 6 +++--- + glib/pygoptioncontext.c | 2 +- + gobject/gobjectmodule.c | 2 +- + gobject/pygobject.h | 6 ++++++ + gobject/pygtype.c | 10 +++++----- 9 files changed, 50 insertions(+), 13 deletions(-) commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6 Author: Damien Caliste -Date: Tue Sep 28 12:44:42 2010 +0200 +Date: Tue Sep 28 12:44:42 2010 +0200 Add __path__ attributes. @@ -27845,7 +28019,7 @@ Date: Tue Sep 28 12:44:42 2010 +0200 commit 28f9366c9cb382801bad080864f667c867daa3c7 Author: Sebastian Pölsterl -Date: Sat Oct 9 17:40:40 2010 +0200 +Date: Sat Oct 9 17:40:40 2010 +0200 Override Gtk.TreeSelection.get_selected to not return success value. @@ -27856,7 +28030,7 @@ Date: Sat Oct 9 17:40:40 2010 +0200 commit f01a7d9e8222663ce52100e061033f2745a5e7af Author: Vincent Untz -Date: Thu Oct 7 09:42:24 2010 +0200 +Date: Thu Oct 7 09:42:24 2010 +0200 Make row optional in Gtk.TreeStore/ListStore.append override @@ -27867,7 +28041,7 @@ Date: Thu Oct 7 09:42:24 2010 +0200 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7 Author: John (J5) Palmieri -Date: Mon Oct 4 12:50:55 2010 -0400 +Date: Mon Oct 4 12:50:55 2010 -0400 Revert "add compat functions for the deprecated PyCObject api" @@ -27875,20 +28049,20 @@ Date: Mon Oct 4 12:50:55 2010 -0400 I ment to commit another patch and ended up comitting both - gi/gimodule.c | 2 +- - gi/pygi.h | 5 +---- - glib/glibmodule.c | 2 +- + gi/gimodule.c | 2 +- + gi/pygi.h | 5 +---- + glib/glibmodule.c | 2 +- glib/pyglib-python-compat.h | 19 ------------------- - glib/pyglib.c | 6 +++--- - glib/pygoptioncontext.c | 2 +- - gobject/gobjectmodule.c | 2 +- - gobject/pygobject.h | 6 ------ - gobject/pygtype.c | 10 +++++----- + glib/pyglib.c | 6 +++--- + glib/pygoptioncontext.c | 2 +- + gobject/gobjectmodule.c | 2 +- + gobject/pygobject.h | 6 ------ + gobject/pygtype.c | 10 +++++----- 9 files changed, 13 insertions(+), 41 deletions(-) commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b Author: John (J5) Palmieri -Date: Mon Oct 4 12:43:31 2010 -0400 +Date: Mon Oct 4 12:43:31 2010 -0400 return NULL instead of -1 which fixes crash when introspection is turned off @@ -27900,7 +28074,7 @@ Date: Mon Oct 4 12:43:31 2010 -0400 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0 Author: John (J5) Palmieri -Date: Tue Sep 28 15:31:03 2010 -0400 +Date: Tue Sep 28 15:31:03 2010 -0400 add compat functions for the deprecated PyCObject api @@ -27908,20 +28082,20 @@ Date: Tue Sep 28 15:31:03 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=630844 - gi/gimodule.c | 2 +- - gi/pygi.h | 5 ++++- - glib/glibmodule.c | 2 +- + gi/gimodule.c | 2 +- + gi/pygi.h | 5 ++++- + glib/glibmodule.c | 2 +- glib/pyglib-python-compat.h | 19 +++++++++++++++++++ - glib/pyglib.c | 6 +++--- - glib/pygoptioncontext.c | 2 +- - gobject/gobjectmodule.c | 2 +- - gobject/pygobject.h | 6 ++++++ - gobject/pygtype.c | 10 +++++----- + glib/pyglib.c | 6 +++--- + glib/pygoptioncontext.c | 2 +- + gobject/gobjectmodule.c | 2 +- + gobject/pygobject.h | 6 ++++++ + gobject/pygtype.c | 10 +++++----- 9 files changed, 41 insertions(+), 13 deletions(-) commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b Author: John (J5) Palmieri -Date: Tue Sep 28 15:28:16 2010 -0400 +Date: Tue Sep 28 15:28:16 2010 -0400 fix commit 7fe83108 which didn't use the compat functions for string handling @@ -27931,7 +28105,7 @@ Date: Tue Sep 28 15:28:16 2010 -0400 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda Author: John (J5) Palmieri -Date: Tue Sep 28 13:15:57 2010 -0400 +Date: Tue Sep 28 13:15:57 2010 -0400 Python 3 fixes for dsextras and the python.m4 distribution files @@ -27941,7 +28115,7 @@ Date: Tue Sep 28 13:15:57 2010 -0400 commit 98f69957ee9e3037b0a05a037098e4d2133ca256 Author: John (J5) Palmieri -Date: Mon Sep 27 14:01:31 2010 -0400 +Date: Mon Sep 27 14:01:31 2010 -0400 post release bump to 2.27.0 unstable @@ -27953,7 +28127,7 @@ Date: Mon Sep 27 14:01:31 2010 -0400 commit fd38010101411e6bc1ca9314657f418de660fa13 Author: John (J5) Palmieri -Date: Mon Sep 27 12:03:10 2010 -0400 +Date: Mon Sep 27 12:03:10 2010 -0400 update NEWS for release @@ -27963,7 +28137,7 @@ Date: Mon Sep 27 12:03:10 2010 -0400 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1 Author: Tomeu Vizoso -Date: Sun Sep 26 08:37:31 2010 +0200 +Date: Sun Sep 26 08:37:31 2010 +0200 Pre-release version bump 2.26.0 @@ -27972,12 +28146,12 @@ Date: Sun Sep 26 08:37:31 2010 +0200 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2 Author: John Stowers -Date: Fri Sep 24 22:44:03 2010 +1200 +Date: Fri Sep 24 22:44:03 2010 +1200 Wrap g_get_system_{config,data}_dirs () - * Also tidy up g_get_{cache,config,data}_dir - to share common code + * Also tidy up g_get_{cache,config,data}_dir + to share common code glib/glibmodule.c | 68 ++++++++++++++++++++++++++++++++++++++++--------------- @@ -27985,7 +28159,7 @@ Date: Fri Sep 24 22:44:03 2010 +1200 commit 328aca600714bdca89dfdb531c222ee561ede27e Author: John (J5) Palmieri -Date: Fri Sep 24 12:16:22 2010 -0400 +Date: Fri Sep 24 12:16:22 2010 -0400 fixed make check and make dist @@ -27994,7 +28168,7 @@ Date: Fri Sep 24 12:16:22 2010 -0400 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727 Author: John Stowers -Date: Fri Sep 24 21:20:53 2010 +1200 +Date: Fri Sep 24 21:20:53 2010 +1200 Disable GI tests when introspection disabled @@ -28003,33 +28177,33 @@ Date: Fri Sep 24 21:20:53 2010 +1200 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752 Author: Tomeu Vizoso -Date: Sat Jul 18 19:35:08 2009 +0200 +Date: Sat Jul 18 19:35:08 2009 +0200 Wrap g_uri_list_extract_uris. Fixes bug #584431 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++ - gobject/__init__.py | 2 +- - tests/Makefile.am | 3 ++- + gobject/__init__.py | 2 +- + tests/Makefile.am | 3 ++- tests/test_uris.py | 15 +++++++++++++++ 4 files changed, 56 insertions(+), 2 deletions(-) commit d6721a59c294f2471142b8c32de2f647b7084bca Author: Paul Bolle -Date: Thu Sep 23 15:38:40 2010 -0400 +Date: Thu Sep 23 15:38:40 2010 -0400 Fix a few uses of TRUE and FALSE in the docs - docs/reference/pygio-mount.xml | 5 +++-- - docs/reference/pyglib-functions.xml | 18 +++++++++--------- - docs/reference/pyglib-maincontext.xml | 12 ++++++------ - docs/reference/pyglib-mainloop.xml | 6 +++--- + docs/reference/pygio-mount.xml | 5 +++-- + docs/reference/pyglib-functions.xml | 18 +++++++++--------- + docs/reference/pyglib-maincontext.xml | 12 ++++++------ + docs/reference/pyglib-mainloop.xml | 6 +++--- docs/reference/pygobject-functions.xml | 6 +++--- - docs/reference/pygobject.xml | 4 ++-- + docs/reference/pygobject.xml | 4 ++-- 6 files changed, 26 insertions(+), 25 deletions(-) commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0 Author: Damien Caliste -Date: Tue Sep 21 17:52:14 2010 +0200 +Date: Tue Sep 21 17:52:14 2010 +0200 pygi: always free the invocation_state struct @@ -28049,30 +28223,30 @@ Date: Tue Sep 21 17:52:14 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=630271 - gi/pygi-invoke.c | 83 + gi/pygi-invoke.c | 83 +++++++++++++++++++++--------------------------- tests/test_everything.py | 4 ++- 2 files changed, 40 insertions(+), 47 deletions(-) commit 9714d765a34e246899f11b6792eea3aecce0b7ec Author: Tomeu Vizoso -Date: Mon Sep 13 16:36:47 2010 +0200 +Date: Mon Sep 13 16:36:47 2010 +0200 Start implementing something equivalent to g_variant_new https://bugzilla.gnome.org/show_bug.cgi?id=629367 - gi/gimodule.c | 20 +++++++ - gi/overrides/GLib.py | 131 + gi/gimodule.c | 20 +++++++ + gi/overrides/GLib.py | 131 ++++++++++++++++++++++++++++++++++++++++++--- - gi/pygi-foreign-gvariant.c | 2 +- + gi/pygi-foreign-gvariant.c | 2 +- tests/test_everything.py | 16 ------ tests/test_overrides.py | 25 +++++++++ 5 files changed, 170 insertions(+), 24 deletions(-) commit fc45abdd9b55ab63556798ab0f04715be79dba08 Author: John (J5) Palmieri -Date: Thu Sep 23 10:49:36 2010 -0400 +Date: Thu Sep 23 10:49:36 2010 -0400 fixed typo - missing comma in glib.option module @@ -28083,7 +28257,7 @@ Date: Thu Sep 23 10:49:36 2010 -0400 commit 4ed100f3183c6325dd04461484e877bb7d4131b1 Author: John (J5) Palmieri -Date: Fri Sep 17 12:08:09 2010 -0400 +Date: Fri Sep 17 12:08:09 2010 -0400 add checks so we can compile under python 3 by setting PYTHON=python3 @@ -28093,14 +28267,14 @@ Date: Fri Sep 17 12:08:09 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 - configure.ac | 32 +++++++++++++++++++++++++++++--- + configure.ac | 32 +++++++++++++++++++++++++++++--- tests/Makefile.am | 35 ++++++++++++++++++++--------------- tests/runtests.py | 4 ++++ 3 files changed, 53 insertions(+), 18 deletions(-) commit 269ff8564eeb597dc06c27e293354b7ff7a71a82 Author: Tomeu Vizoso -Date: Fri Sep 17 15:50:47 2010 +0200 +Date: Fri Sep 17 15:50:47 2010 +0200 Rename static methods as functions @@ -28114,20 +28288,20 @@ Date: Fri Sep 17 15:50:47 2010 +0200 commit 2da8da589644d6125101210712defb1272a8abb1 Author: John (J5) Palmieri -Date: Thu Sep 9 13:52:14 2010 -0400 +Date: Thu Sep 9 13:52:14 2010 -0400 fix a couple of compiler warnings https://bugzilla.gnome.org/show_bug.cgi?id=629199 - gi/pygi-argument.c | 4 ++-- - gi/pygi-struct.c | 2 +- + gi/pygi-argument.c | 4 ++-- + gi/pygi-struct.c | 2 +- gobject/gobjectmodule.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 6769a4704f0876ac3baacd4da03ff16d9f0906be Author: John (J5) Palmieri -Date: Thu Sep 9 13:55:17 2010 -0400 +Date: Thu Sep 9 13:55:17 2010 -0400 remove unused code @@ -28140,7 +28314,7 @@ Date: Thu Sep 9 13:55:17 2010 -0400 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d Author: John (J5) Palmieri -Date: Tue Sep 14 14:10:49 2010 -0400 +Date: Tue Sep 14 14:10:49 2010 -0400 Check the type of the instance object @@ -28166,13 +28340,13 @@ Date: Tue Sep 14 14:10:49 2010 -0400 gi/pygi-argument.c | 182 ++++++++++++++++++++++++++++------------------------- - gi/pygi-argument.h | 2 + + gi/pygi-argument.h | 2 + gi/pygi-invoke.c | 14 +++++ 3 files changed, 112 insertions(+), 86 deletions(-) commit 5d79498d38b147b66ae72c1481e397160491e8d6 Author: John (J5) Palmieri -Date: Wed Sep 15 10:26:20 2010 -0400 +Date: Wed Sep 15 10:26:20 2010 -0400 include the correct pycairo version @@ -28183,7 +28357,7 @@ Date: Wed Sep 15 10:26:20 2010 -0400 commit b855562e5c0019cd7e4982fe00c467ede9e3926d Author: John (J5) Palmieri -Date: Thu Sep 9 22:16:58 2010 -0400 +Date: Thu Sep 9 22:16:58 2010 -0400 Use PyMapping_Keys to determine if an object is a dict (py3k fix) @@ -28199,7 +28373,7 @@ Date: Thu Sep 9 22:16:58 2010 -0400 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd Author: John (J5) Palmieri -Date: Thu Sep 9 18:44:11 2010 -0400 +Date: Thu Sep 9 18:44:11 2010 -0400 fix handling of UINT64 and INT64 arguments in py3k @@ -28212,7 +28386,7 @@ Date: Thu Sep 9 18:44:11 2010 -0400 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e Author: John (J5) Palmieri -Date: Thu Sep 9 17:35:10 2010 -0400 +Date: Thu Sep 9 17:35:10 2010 -0400 properly handle ulongs properties in py3k @@ -28225,7 +28399,7 @@ Date: Thu Sep 9 17:35:10 2010 -0400 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2 Author: Tomeu Vizoso -Date: Fri Sep 17 12:14:56 2010 +0200 +Date: Fri Sep 17 12:14:56 2010 +0200 Specify encoding of tests/test_gi.py @@ -28234,7 +28408,7 @@ Date: Fri Sep 17 12:14:56 2010 +0200 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f Author: John (J5) Palmieri -Date: Thu Sep 9 13:24:30 2010 -0400 +Date: Thu Sep 9 13:24:30 2010 -0400 use actual unicode in the tests on py3k, not the byte representation @@ -28245,7 +28419,7 @@ Date: Thu Sep 9 13:24:30 2010 -0400 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4 Author: John (J5) Palmieri -Date: Thu Sep 9 12:45:21 2010 -0400 +Date: Thu Sep 9 12:45:21 2010 -0400 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object methods @@ -28257,13 +28431,13 @@ Date: Thu Sep 9 12:45:21 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 glib/pygiochannel.c | 30 +++++++++++++++--------------- - glib/pygsource.c | 4 ++-- - gobject/pygobject.c | 2 +- + glib/pygsource.c | 4 ++-- + gobject/pygobject.c | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) commit b5ee20afa4399c7689fbec8939fa20b927eeb782 Author: John (J5) Palmieri -Date: Thu Sep 9 08:04:40 2010 -0400 +Date: Thu Sep 9 08:04:40 2010 -0400 fix subclassing PyLong by calling __new__ correctly @@ -28274,7 +28448,7 @@ Date: Thu Sep 9 08:04:40 2010 -0400 commit a499b2f0d622b671bd154544f66b73f1278e66ed Author: John (J5) Palmieri -Date: Thu Sep 9 07:56:44 2010 -0400 +Date: Thu Sep 9 07:56:44 2010 -0400 minor py3k fixups for python modules @@ -28291,7 +28465,7 @@ Date: Thu Sep 9 07:56:44 2010 -0400 commit dec9001d26c97949e7b3578086cb35e98075c047 Author: John (J5) Palmieri -Date: Thu Sep 9 07:36:04 2010 -0400 +Date: Thu Sep 9 07:36:04 2010 -0400 minor fixes in tests for py3k compat @@ -28301,7 +28475,7 @@ Date: Thu Sep 9 07:36:04 2010 -0400 * use range instead of xrange, items instead of iteritems since py3k dropped support for the different ways of accessing iterators - this is less efficient in py2 but we plan to target py3k as the - primary platform + primary platform * use list(dict.items()) since py3k only returns iterables which are not indexable @@ -28309,17 +28483,17 @@ Date: Thu Sep 9 07:36:04 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 - tests/compathelper.py | 18 ++++++++++++++++++ + tests/compathelper.py | 18 ++++++++++++++++++ tests/test_everything.py | 5 +++-- tests/test_mainloop.py | 3 ++- - tests/test_option.py | 6 ++++-- + tests/test_option.py | 6 ++++-- tests/test_overrides.py | 4 ++-- tests/test_properties.py | 6 +++--- 6 files changed, 32 insertions(+), 10 deletions(-) commit 09a0daeedf49eaf376c1288be5743b57fbc76d51 Author: Colin Walters -Date: Thu Sep 9 16:25:51 2010 -0400 +Date: Thu Sep 9 16:25:51 2010 -0400 compilation: Fix syntax error @@ -28328,7 +28502,7 @@ Date: Thu Sep 9 16:25:51 2010 -0400 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc Author: Tomeu Vizoso -Date: Thu Sep 9 22:17:00 2010 +0200 +Date: Thu Sep 9 22:17:00 2010 +0200 Add missing file @@ -28338,7 +28512,7 @@ Date: Thu Sep 9 22:17:00 2010 +0200 commit 306b792ac97a458ddee59fb86d66453495117f3e Author: Tomeu Vizoso -Date: Thu Jul 22 13:48:51 2010 +0100 +Date: Thu Jul 22 13:48:51 2010 +0100 Add override for GLib.Variant.new_tuple @@ -28352,17 +28526,17 @@ Date: Thu Jul 22 13:48:51 2010 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=625050 - gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++ + gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++ gi/overrides/Makefile.am | 1 + - gi/pygi-type.c | 15 +++++++++------ - gi/pygi-type.h | 2 ++ - gi/types.py | 1 + + gi/pygi-type.c | 15 +++++++++------ + gi/pygi-type.h | 2 ++ + gi/types.py | 1 + tests/test_everything.py | 9 +++++++++ 6 files changed, 60 insertions(+), 6 deletions(-) commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f Author: John (J5) Palmieri -Date: Wed Sep 8 13:08:48 2010 -0400 +Date: Wed Sep 8 13:08:48 2010 -0400 fix for changes in the gi test libraries @@ -28371,7 +28545,7 @@ Date: Wed Sep 8 13:08:48 2010 -0400 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d Author: John (J5) Palmieri -Date: Wed Sep 8 13:08:07 2010 -0400 +Date: Wed Sep 8 13:08:07 2010 -0400 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0 @@ -28380,7 +28554,7 @@ Date: Wed Sep 8 13:08:07 2010 -0400 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22 Author: John (J5) Palmieri -Date: Wed Sep 8 12:35:09 2010 -0400 +Date: Wed Sep 8 12:35:09 2010 -0400 no need to offset arg positions when is_method is true @@ -28397,20 +28571,20 @@ Date: Wed Sep 8 12:35:09 2010 -0400 commit 8c517de2d278bdef641c72b8f2919a3924290ec1 Author: Tomeu Vizoso -Date: Fri Aug 20 14:54:35 2010 +0200 +Date: Fri Aug 20 14:54:35 2010 +0200 gi: Add support for more property types https://bugzilla.gnome.org/show_bug.cgi?id=627494 - gi/pygi-property.c | 156 + gi/pygi-property.c | 156 ++++++++++++++++++++++++++++++++++++----------- tests/test_everything.py | 34 +++++++++++ 2 files changed, 154 insertions(+), 36 deletions(-) commit 6d183d1fff55d54569ba3e1f90a10284df74fd40 Author: John (J5) Palmieri -Date: Fri Sep 3 12:04:16 2010 -0400 +Date: Fri Sep 3 12:04:16 2010 -0400 use PyObject_SetAttrString, not PyDict_SetItemString when setting __gtype__ @@ -28441,28 +28615,28 @@ Date: Fri Sep 3 12:04:16 2010 -0400 commit b7bf4269682a3335f5e0a52b46fa721af134d09a Author: Tomeu Vizoso -Date: Wed Sep 1 11:03:40 2010 +0200 +Date: Wed Sep 1 11:03:40 2010 +0200 Rename GArgument to GIArgument - gi/pygi-argument.c | 52 + gi/pygi-argument.c | 52 +++++++++++++++++++++++----------------------- - gi/pygi-argument.h | 10 ++++----- - gi/pygi-closure.c | 34 +++++++++++++++--------------- + gi/pygi-argument.h | 10 ++++----- + gi/pygi-closure.c | 34 +++++++++++++++--------------- gi/pygi-foreign-cairo.c | 8 +++---- gi/pygi-foreign-gvariant.c | 4 ++-- gi/pygi-foreign-gvariant.h | 4 ++-- - gi/pygi-foreign.c | 12 +++++------ - gi/pygi-foreign.h | 8 +++---- - gi/pygi-info.c | 8 +++---- - gi/pygi-invoke.c | 28 ++++++++++++------------- - gi/pygi-property.c | 4 ++-- - gi/pygi.h | 16 +++++++------- + gi/pygi-foreign.c | 12 +++++------ + gi/pygi-foreign.h | 8 +++---- + gi/pygi-info.c | 8 +++---- + gi/pygi-invoke.c | 28 ++++++++++++------------- + gi/pygi-property.c | 4 ++-- + gi/pygi.h | 16 +++++++------- 12 files changed, 94 insertions(+), 94 deletions(-) commit 7197f85c9be2b03636639ac909ca2c3170653509 Author: John (J5) Palmieri -Date: Wed Aug 18 10:29:19 2010 -0400 +Date: Wed Aug 18 10:29:19 2010 -0400 fix up tests so they run in py3k @@ -28474,16 +28648,16 @@ Date: Wed Aug 18 10:29:19 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 gobject/propertyhelper.py | 16 +++++++++++----- - tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++ - tests/test_option.py | 7 ++++++- + tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++ + tests/test_option.py | 7 ++++++- tests/test_properties.py | 24 ++++++++++++++---------- - tests/test_signal.py | 14 +++++++------- - tests/test_source.py | 4 ++-- + tests/test_signal.py | 14 +++++++------- + tests/test_source.py | 4 ++-- 6 files changed, 72 insertions(+), 25 deletions(-) commit 720e614acdbcf734d4bcccc403e639b5a5bcae24 Author: Colin Walters -Date: Fri Aug 20 10:58:48 2010 -0400 +Date: Fri Aug 20 10:58:48 2010 -0400 tests: Port to new introspection tests @@ -28502,19 +28676,19 @@ Date: Fri Aug 20 10:58:48 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=627878 - configure.ac | 5 +- - gi/pygi-argument.c | 9 +-- - gi/pygi-invoke.c | 147 + configure.ac | 5 +- + gi/pygi-argument.c | 9 +-- + gi/pygi-invoke.c | 147 +++++---------------------------------------- - tests/Makefile.am | 42 ++++++++++++- + tests/Makefile.am | 42 ++++++++++++- tests/test_everything.py | 6 +- - tests/test_gi.py | 151 + tests/test_gi.py | 151 +++++++++-------------------------------------- 6 files changed, 93 insertions(+), 267 deletions(-) commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd Author: John (J5) Palmieri -Date: Fri Aug 20 10:43:58 2010 -0400 +Date: Fri Aug 20 10:43:58 2010 -0400 we need to specify tp_hash since we overide tp_richcompare @@ -28526,7 +28700,7 @@ Date: Fri Aug 20 10:43:58 2010 -0400 commit c03e6b482548aee99362356807c804f8834fad2b Author: John Ehresman -Date: Thu Apr 15 17:11:30 2010 -0400 +Date: Thu Apr 15 17:11:30 2010 -0400 working enum/flags/pid subclasses of long @@ -28540,7 +28714,7 @@ Date: Thu Apr 15 17:11:30 2010 -0400 commit 0db676fd2296750a46ba0fb069e472da06ecc53a Author: John (J5) Palmieri -Date: Wed Aug 18 11:03:32 2010 -0400 +Date: Wed Aug 18 11:03:32 2010 -0400 make vfuncs work in py3k @@ -28560,19 +28734,19 @@ Date: Wed Aug 18 11:03:32 2010 -0400 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc Author: John (J5) Palmieri -Date: Tue Aug 17 15:43:42 2010 -0400 +Date: Tue Aug 17 15:43:42 2010 -0400 make cairo module compile in py3k https://bugzilla.gnome.org/show_bug.cgi?id=615872 - gi/Makefile.am | 2 +- + gi/Makefile.am | 2 +- gi/pygi-foreign-cairo.c | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) commit bda58ec34fc443fe1108afc8532bec50f6fd0b44 Author: John (J5) Palmieri -Date: Tue Aug 17 02:33:45 2010 -0400 +Date: Tue Aug 17 02:33:45 2010 -0400 fix exceptions so they work in python 3.x @@ -28584,7 +28758,7 @@ Date: Tue Aug 17 02:33:45 2010 -0400 commit 427a3c8053feca35ccd746575760ac8a0ed50a12 Author: John (J5) Palmieri -Date: Tue Aug 17 02:24:44 2010 -0400 +Date: Tue Aug 17 02:24:44 2010 -0400 make the gi module compile under 3.x @@ -28595,12 +28769,12 @@ Date: Tue Aug 17 02:24:44 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 gi/Makefile.am | 2 +- - gi/gimodule.c | 24 +++++++++--------------- + gi/gimodule.c | 24 +++++++++--------------- 2 files changed, 10 insertions(+), 16 deletions(-) commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db Author: John (J5) Palmieri -Date: Tue Aug 17 02:14:14 2010 -0400 +Date: Tue Aug 17 02:14:14 2010 -0400 fix up testshelper module so it compiles in python 3.x @@ -28611,14 +28785,14 @@ Date: Tue Aug 17 02:14:14 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 - tests/Makefile.am | 2 +- + tests/Makefile.am | 2 +- tests/testhelpermodule.c | 221 ++++++----------------------------------------- 2 files changed, 28 insertions(+), 195 deletions(-) commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7 Author: John (J5) Palmieri -Date: Mon Aug 16 21:14:27 2010 -0400 +Date: Mon Aug 16 21:14:27 2010 -0400 convert to using PYGLIB_DEFINE_TYPE for module objects @@ -28633,7 +28807,7 @@ Date: Mon Aug 16 21:14:27 2010 -0400 commit 1efa2b12913b194d433c17014bc1077271a6ca32 Author: John (J5) Palmieri -Date: Mon Aug 16 13:51:05 2010 -0400 +Date: Mon Aug 16 13:51:05 2010 -0400 some more p3k PyString and PyInt eradication in GI @@ -28645,20 +28819,20 @@ Date: Mon Aug 16 13:51:05 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 - gi/Makefile.am | 2 +- - gi/pygi-argument.c | 96 + gi/Makefile.am | 2 +- + gi/pygi-argument.c | 96 +++++++++++++++++++++++++++------------------ - gi/pygi-boxed.c | 1 + - gi/pygi-info.c | 13 +++--- - gi/pygi-private.h | 23 +++++++++++ - gi/pygi-repository.c | 8 ++-- - gi/pygi-struct.c | 1 + - glib/pyglib-python-compat.h | 6 +++ + gi/pygi-boxed.c | 1 + + gi/pygi-info.c | 13 +++--- + gi/pygi-private.h | 23 +++++++++++ + gi/pygi-repository.c | 8 ++-- + gi/pygi-struct.c | 1 + + glib/pyglib-python-compat.h | 6 +++ 8 files changed, 103 insertions(+), 47 deletions(-) commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa Author: Tomeu Vizoso -Date: Fri Aug 20 09:28:57 2010 +0200 +Date: Fri Aug 20 09:28:57 2010 +0200 pyglib: Fix typo (Leo Singer) @@ -28669,7 +28843,7 @@ Date: Fri Aug 20 09:28:57 2010 +0200 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3 Author: Gustavo Noronha Silva -Date: Thu Aug 19 18:45:05 2010 -0300 +Date: Thu Aug 19 18:45:05 2010 -0300 Add defines for size_t and ssize_t conversion functions @@ -28683,7 +28857,7 @@ Date: Thu Aug 19 18:45:05 2010 -0300 commit d45c7031876f355e15409f00f3e50e77d18f8f4b Author: Colin Walters -Date: Thu Aug 19 17:50:35 2010 -0400 +Date: Thu Aug 19 17:50:35 2010 -0400 pyglib: Fix a compiler warning @@ -28692,7 +28866,7 @@ Date: Thu Aug 19 17:50:35 2010 -0400 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9 Author: Tomeu Vizoso -Date: Wed Aug 18 20:36:51 2010 +0200 +Date: Wed Aug 18 20:36:51 2010 +0200 Don't force gtk 2.0 @@ -28701,7 +28875,7 @@ Date: Wed Aug 18 20:36:51 2010 +0200 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5 Author: Steve Frécinaux -Date: Tue Aug 17 14:49:30 2010 +0200 +Date: Tue Aug 17 14:49:30 2010 +0200 Fix some ref leaks in hook_up_vfunc_implementation() @@ -28712,7 +28886,7 @@ Date: Tue Aug 17 14:49:30 2010 +0200 commit 18ee0db673c2fa42244ab85950bbf4840edb674b Author: John (J5) Palmieri -Date: Thu Aug 12 12:16:31 2010 -0400 +Date: Thu Aug 12 12:16:31 2010 -0400 handle strings correctly in gio @@ -28722,7 +28896,7 @@ Date: Thu Aug 12 12:16:31 2010 -0400 commit 45ab0c03110c911b47519941dfd753326891b5e0 Author: John (J5) Palmieri -Date: Wed Aug 11 16:13:59 2010 -0400 +Date: Wed Aug 11 16:13:59 2010 -0400 make giomodule compile under py3k @@ -28734,7 +28908,7 @@ Date: Wed Aug 11 16:13:59 2010 -0400 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755 Author: John (J5) Palmieri -Date: Wed Aug 11 16:04:48 2010 -0400 +Date: Wed Aug 11 16:04:48 2010 -0400 for py3k we need to do some more processing to get bytes from a unicode string @@ -28746,7 +28920,7 @@ Date: Wed Aug 11 16:04:48 2010 -0400 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb Author: John (J5) Palmieri -Date: Wed Aug 11 15:03:55 2010 -0400 +Date: Wed Aug 11 15:03:55 2010 -0400 use Bytes instead of Unicode when reading io @@ -28757,7 +28931,7 @@ Date: Wed Aug 11 15:03:55 2010 -0400 commit 5824ff98175b749dbcfa72d24b994230b6e05377 Author: John (J5) Palmieri -Date: Mon Aug 9 15:16:51 2010 -0400 +Date: Mon Aug 9 15:16:51 2010 -0400 prefix compat macros with PYGLIB @@ -28770,30 +28944,30 @@ Date: Mon Aug 9 15:16:51 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=615872 - glib/glibmodule.c | 48 +++++----- - glib/pygiochannel.c | 46 +++++----- + glib/glibmodule.c | 48 +++++----- + glib/pygiochannel.c | 46 +++++----- glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++-------- - glib/pyglib.c | 22 ++--- - glib/pyglib.h | 14 --- - glib/pygoptioncontext.c | 4 +- - glib/pygsource.c | 16 ++-- - glib/pygspawn.c | 32 +++---- + glib/pyglib.c | 22 ++--- + glib/pyglib.h | 14 --- + glib/pygoptioncontext.c | 4 +- + glib/pygsource.c | 16 ++-- + glib/pygspawn.c | 32 +++---- gobject/gobjectmodule.c | 216 ++++++++++++++++++++++---------------------- - gobject/pygboxed.c | 2 +- - gobject/pygenum.c | 84 ++++++++--------- - gobject/pygflags.c | 122 ++++++++++++------------- - gobject/pygobject-private.h | 12 +-- - gobject/pygobject.c | 46 +++++----- - gobject/pygobject.h | 23 +++++ - gobject/pygparamspec.c | 24 ++--- - gobject/pygpointer.c | 2 +- - gobject/pygtype.c | 170 +++++++++++++++++----------------- + gobject/pygboxed.c | 2 +- + gobject/pygenum.c | 84 ++++++++--------- + gobject/pygflags.c | 122 ++++++++++++------------- + gobject/pygobject-private.h | 12 +-- + gobject/pygobject.c | 46 +++++----- + gobject/pygobject.h | 23 +++++ + gobject/pygparamspec.c | 24 ++--- + gobject/pygpointer.c | 2 +- + gobject/pygtype.c | 170 +++++++++++++++++----------------- 18 files changed, 563 insertions(+), 473 deletions(-) commit 231e934cc01d061e81bb60d35127a133cd0e1793 Author: John (J5) Palmieri -Date: Mon Aug 16 10:14:04 2010 +0200 +Date: Mon Aug 16 10:14:04 2010 +0200 Gtk.Button unit tests @@ -28804,7 +28978,7 @@ Date: Mon Aug 16 10:14:04 2010 +0200 commit f07cfde377e42686c6b80f56cac62338ee333e61 Author: Johan Dahlin -Date: Mon Aug 16 10:08:38 2010 +0200 +Date: Mon Aug 16 10:08:38 2010 +0200 [Gtk] Add overrides for Button @@ -28815,7 +28989,7 @@ Date: Mon Aug 16 10:08:38 2010 +0200 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6 Author: Simon van der Linden -Date: Thu Aug 12 16:18:58 2010 +0200 +Date: Thu Aug 12 16:18:58 2010 +0200 Make Cairo an optional dependency @@ -28823,13 +28997,13 @@ Date: Thu Aug 12 16:18:58 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=616732 - configure.ac | 15 ++++++++++++--- + configure.ac | 15 ++++++++++++--- gi/Makefile.am | 20 ++++++++++++-------- 2 files changed, 24 insertions(+), 11 deletions(-) commit b83507263231d9bf47f6c8450583e3d03f0a3b5b Author: Tomeu Vizoso -Date: Mon Aug 16 09:55:35 2010 +0200 +Date: Mon Aug 16 09:55:35 2010 +0200 Don't import again PyGObject (John Ralls) @@ -28840,30 +29014,30 @@ Date: Mon Aug 16 09:55:35 2010 +0200 commit 0dc3656070f496431829c6e8441ca17129c569f8 Author: John (J5) Palmieri -Date: Mon Aug 9 16:11:55 2010 -0400 +Date: Mon Aug 9 16:11:55 2010 -0400 move to using richcompare slot instead of compare https://bugzilla.gnome.org/show_bug.cgi?id=615872 - glib/pygiochannel.c | 18 +++++++---- - glib/pyglib.c | 85 + glib/pygiochannel.c | 18 +++++++---- + glib/pyglib.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ - glib/pyglib.h | 3 ++ - glib/pygmaincontext.c | 17 ++++++---- - glib/pygmainloop.c | 17 ++++++---- + glib/pyglib.h | 3 ++ + glib/pygmaincontext.c | 17 ++++++---- + glib/pygmainloop.c | 17 ++++++---- glib/pygoptioncontext.c | 18 +++++++---- - glib/pygoptiongroup.c | 22 +++++++------ - gobject/pygboxed.c | 18 +++++++---- - gobject/pygobject.c | 44 ++++++++++++++++++------- + glib/pygoptiongroup.c | 22 +++++++------ + gobject/pygboxed.c | 18 +++++++---- + gobject/pygobject.c | 44 ++++++++++++++++++------- gobject/pygparamspec.c | 19 +++++++---- - gobject/pygpointer.c | 17 ++++++---- - gobject/pygtype.c | 26 +++++++++++---- + gobject/pygpointer.c | 17 ++++++---- + gobject/pygtype.c | 26 +++++++++++---- 12 files changed, 233 insertions(+), 71 deletions(-) commit b426e531dc53d4b50e572a2da19733479635e662 Author: Simon van der Linden -Date: Thu Aug 12 18:09:33 2010 +0200 +Date: Thu Aug 12 18:09:33 2010 +0200 Replace autogen.sh by a newer version @@ -28878,7 +29052,7 @@ Date: Thu Aug 12 18:09:33 2010 +0200 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691 Author: Simon van der Linden -Date: Thu Aug 12 14:11:55 2010 +0200 +Date: Thu Aug 12 14:11:55 2010 +0200 Fix some warnings @@ -28896,12 +29070,12 @@ Date: Thu Aug 12 14:11:55 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=625437 gio/gio.override | 2 +- - glib/pyglib.c | 4 ++-- + glib/pyglib.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc Author: Simon van der Linden -Date: Thu Aug 12 11:09:37 2010 +0200 +Date: Thu Aug 12 11:09:37 2010 +0200 Fix caller-allocates emergency free. @@ -28919,7 +29093,7 @@ Date: Thu Aug 12 11:09:37 2010 +0200 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda Author: Simon van der Linden -Date: Thu Aug 12 10:46:17 2010 +0200 +Date: Thu Aug 12 10:46:17 2010 +0200 Remove useless checks. @@ -28933,7 +29107,7 @@ Date: Thu Aug 12 10:46:17 2010 +0200 commit e17be9cd288fee5d7cb174d9d577eb9279044c67 Author: Tomeu Vizoso -Date: Tue Aug 10 17:40:16 2010 +0200 +Date: Tue Aug 10 17:40:16 2010 +0200 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly @@ -28942,7 +29116,7 @@ Date: Tue Aug 10 17:40:16 2010 +0200 commit 8be59c37dd57acc51875c7189ca09d728b729013 Author: Ignacio Casal Quinteiro -Date: Wed Aug 4 13:43:17 2010 +0200 +Date: Wed Aug 4 13:43:17 2010 +0200 Fix some warnings. @@ -28953,7 +29127,7 @@ Date: Wed Aug 4 13:43:17 2010 +0200 commit 529eca6054e9a7e2267f1529e317c2373932762f Author: Simon van der Linden -Date: Fri Jul 30 22:39:40 2010 +0200 +Date: Fri Jul 30 22:39:40 2010 +0200 Add myself as a maintainer @@ -28962,7 +29136,7 @@ Date: Fri Jul 30 22:39:40 2010 +0200 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b Author: Tomeu Vizoso -Date: Fri Jul 30 14:14:16 2010 +0200 +Date: Fri Jul 30 14:14:16 2010 +0200 Properly allocate boxed structs that are (caller-allocates) @@ -28973,30 +29147,30 @@ Date: Fri Jul 30 14:14:16 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=625653 - gi/pygi-boxed.c | 50 + gi/pygi-boxed.c | 50 ++++++++++++++++++++++++++++++++----------------- - gi/pygi-boxed.h | 10 ++++++---- - gi/pygi-invoke.c | 16 ++++++---------- + gi/pygi-boxed.h | 10 ++++++---- + gi/pygi-invoke.c | 16 ++++++---------- tests/test_overrides.py | 39 +++++++++++++++++++------------------- 4 files changed, 64 insertions(+), 51 deletions(-) commit 99c7322898c00a576c7319ea0a7c808446253133 Author: Toms Baugis -Date: Fri Jul 30 15:44:21 2010 +0200 +Date: Fri Jul 30 15:44:21 2010 +0200 override gdk.Event to return attribute from the proper event object https://bugzilla.gnome.org/show_bug.cgi?id=620593 - gi/overrides/Gdk.py | 48 + gi/overrides/Gdk.py | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-invoke.c | 4 ---- + gi/pygi-invoke.c | 4 ---- tests/test_overrides.py | 10 ++++++++++ 3 files changed, 58 insertions(+), 4 deletions(-) commit 55814e722c2ae11310f346790c9221e4fad92b50 Author: John (J5) Palmieri -Date: Fri Jul 30 06:30:48 2010 -0400 +Date: Fri Jul 30 06:30:48 2010 -0400 check if z# needs an int or Py_ssize_t @@ -29007,7 +29181,7 @@ Date: Fri Jul 30 06:30:48 2010 -0400 commit 477315465d0a6d84b51e146e86e254873bc564ff Author: John (J5) Palmieri -Date: Fri Jul 30 06:43:06 2010 -0400 +Date: Fri Jul 30 06:43:06 2010 -0400 make sure we parse parameters to python object vars not glib vars @@ -29022,7 +29196,7 @@ Date: Fri Jul 30 06:43:06 2010 -0400 commit faa7d4eece7ddb698725098970c2478a3b45c4d5 Author: Paul Bolle -Date: Fri Jul 30 10:56:01 2010 +0200 +Date: Fri Jul 30 10:56:01 2010 +0200 Make an example and a demo work out of the box @@ -29039,7 +29213,7 @@ Date: Fri Jul 30 10:56:01 2010 +0200 commit c9da5782e6c633d9af43ee85075e9ee65db09780 Author: John (J5) Palmieri -Date: Fri Jul 9 13:14:42 2010 -0400 +Date: Fri Jul 9 13:14:42 2010 -0400 make sure caller allocated structs are freed when they go out of scope @@ -29062,7 +29236,7 @@ Date: Fri Jul 9 13:14:42 2010 -0400 commit e0a85305cd107aae5902e524afd074cd8c329927 Author: Tomeu Vizoso -Date: Fri Jul 30 10:35:33 2010 +0200 +Date: Fri Jul 30 10:35:33 2010 +0200 Revert "override gdk.Event to return attribute from the proper event object." @@ -29076,7 +29250,7 @@ Date: Fri Jul 30 10:35:33 2010 +0200 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d Author: Paul Bolle -Date: Thu Jul 29 22:55:28 2010 +0200 +Date: Thu Jul 29 22:55:28 2010 +0200 PyGI: properly quit cairo-demo @@ -29089,7 +29263,7 @@ Date: Thu Jul 29 22:55:28 2010 +0200 commit e7bb3954880568884ca66e7751ede689dc2f24f6 Author: Toms Baugis -Date: Tue Jul 27 21:37:16 2010 +0200 +Date: Tue Jul 27 21:37:16 2010 +0200 override gdk.Event to return attribute from the proper event object. @@ -29100,7 +29274,7 @@ Date: Tue Jul 27 21:37:16 2010 +0200 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888 Author: Simon van der Linden -Date: Wed Jul 28 14:56:00 2010 +0200 +Date: Wed Jul 28 14:56:00 2010 +0200 Clean and improve the test infrastructure @@ -29111,30 +29285,30 @@ Date: Wed Jul 28 14:56:00 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=625488 - Makefile.am | 5 ---- - tests/Makefile.am | 65 + Makefile.am | 5 ---- + tests/Makefile.am | 65 +++++++++++++++++++++------------------------- - tests/common.py | 47 --------------------------------- - tests/runtests.py | 43 ++++++++++++------------------ + tests/common.py | 47 --------------------------------- + tests/runtests.py | 43 ++++++++++++------------------ tests/test_gcancellable.py | 4 +-- - tests/test_gi.py | 3 --- - tests/test_gicon.py | 3 ++- - tests/test_gio.py | 3 ++- - tests/test_gobject.py | 3 ++- + tests/test_gi.py | 3 --- + tests/test_gicon.py | 3 ++- + tests/test_gio.py | 3 ++- + tests/test_gobject.py | 3 ++- tests/test_gresolver.py | 4 +-- - tests/test_gsocket.py | 4 ++- + tests/test_gsocket.py | 4 ++- tests/test_interface.py | 6 ++++- tests/test_mainloop.py | 11 +++----- - tests/test_signal.py | 4 ++- - tests/test_source.py | 4 +-- + tests/test_signal.py | 4 ++- + tests/test_source.py | 4 +-- tests/test_subprocess.py | 5 +--- - tests/test_thread.py | 5 +++- - tests/test_unknown.py | 5 +++- + tests/test_thread.py | 5 +++- + tests/test_unknown.py | 5 +++- 18 files changed, 82 insertions(+), 142 deletions(-) commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76 Author: Tomeu Vizoso -Date: Thu Jul 29 12:34:19 2010 +0200 +Date: Thu Jul 29 12:34:19 2010 +0200 Add some more transformations to pygi-convert.sh @@ -29143,7 +29317,7 @@ Date: Thu Jul 29 12:34:19 2010 +0200 commit de519adcd21947a0aef7932cdecb78cef200c85e Author: Tomeu Vizoso -Date: Wed Jul 28 14:42:36 2010 +0200 +Date: Wed Jul 28 14:42:36 2010 +0200 Adapt to API changes: g_irepository_enumerate_versions @@ -29153,7 +29327,7 @@ Date: Wed Jul 28 14:42:36 2010 +0200 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3 Author: Tomeu Vizoso -Date: Wed Jul 28 12:26:48 2010 +0200 +Date: Wed Jul 28 12:26:48 2010 +0200 Add GValue<->GArgument marshalling for some more types @@ -29162,7 +29336,7 @@ Date: Wed Jul 28 12:26:48 2010 +0200 commit ddffa70c3ee0e837070f390632bc692430f79171 Author: Tomeu Vizoso -Date: Wed Jul 28 11:10:42 2010 +0200 +Date: Wed Jul 28 11:10:42 2010 +0200 Chain up with the non-introspection implementation for properties if needed @@ -29172,7 +29346,7 @@ Date: Wed Jul 28 11:10:42 2010 +0200 commit 045433a1f8167205dc8eae613dcb8835d02c8916 Author: Tomeu Vizoso -Date: Wed Jul 28 10:59:49 2010 +0200 +Date: Wed Jul 28 10:59:49 2010 +0200 Improve error reporting for missing attributes in introspection modules @@ -29182,7 +29356,7 @@ Date: Wed Jul 28 10:59:49 2010 +0200 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00 Author: Tomeu Vizoso -Date: Tue Jul 27 21:52:49 2010 +0200 +Date: Tue Jul 27 21:52:49 2010 +0200 Implement getting and setting properties using introspection information. @@ -29192,21 +29366,21 @@ Date: Tue Jul 27 21:52:49 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=620808 - gi/Makefile.am | 2 + - gi/gimodule.c | 2 + - gi/pygi-argument.c | 2 + - gi/pygi-private.h | 1 + - gi/pygi-property.c | 226 + gi/Makefile.am | 2 + + gi/gimodule.c | 2 + + gi/pygi-argument.c | 2 + + gi/pygi-private.h | 1 + + gi/pygi-property.c | 226 +++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-property.h | 39 ++++++++ - gi/pygi.h | 41 +++++++++ - gobject/pygobject.c | 9 ++ + gi/pygi-property.h | 39 ++++++++ + gi/pygi.h | 41 +++++++++ + gobject/pygobject.c | 9 ++ tests/test_everything.py | 19 ++++ 9 files changed, 341 insertions(+) commit 85f4572b3ffbfa364ebb2e470eab759edc557b36 Author: Tomeu Vizoso -Date: Tue Jul 27 21:32:41 2010 +0200 +Date: Tue Jul 27 21:32:41 2010 +0200 Readd Gdk.Rectangle override for Gtk-2.0 @@ -29215,7 +29389,7 @@ Date: Tue Jul 27 21:32:41 2010 +0200 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989 Author: Tomeu Vizoso -Date: Tue Jul 27 18:25:27 2010 +0200 +Date: Tue Jul 27 18:25:27 2010 +0200 Allow specifying a version when loading a typelib @@ -29225,19 +29399,19 @@ Date: Tue Jul 27 18:25:27 2010 +0200 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and g_irepository_get_version. - gi/importer.py | 26 ++++++----------- - gi/module.py | 58 + gi/importer.py | 26 ++++++----------- + gi/module.py | 58 +++++++++++++++++++++++++------------- gi/overrides/GIMarshallingTests.py | 2 +- - gi/overrides/Gdk.py | 2 +- - gi/overrides/Gtk.py | 2 +- - gi/pygi-repository.c | 56 + gi/overrides/Gdk.py | 2 +- + gi/overrides/Gtk.py | 2 +- + gi/pygi-repository.c | 56 +++++++++++++++++++++++++++++++++++- 6 files changed, 105 insertions(+), 41 deletions(-) commit 6d7ed6c322234c240b1063a1dfaadd17157432a9 Author: Jonathan Matthew -Date: Tue Jul 13 20:27:28 2010 +1000 +Date: Tue Jul 13 20:27:28 2010 +1000 treat GFreeFunc as equivalent to GDestroyNotify when scanning callbacks @@ -29249,7 +29423,7 @@ Date: Tue Jul 13 20:27:28 2010 +1000 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65 Author: Simon van der Linden -Date: Mon Jul 26 17:00:23 2010 +0200 +Date: Mon Jul 26 17:00:23 2010 +0200 Don't use == to compare doubles, use <= and =>. @@ -29262,7 +29436,7 @@ Date: Mon Jul 26 17:00:23 2010 +0200 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384 Author: Tomeu Vizoso -Date: Thu Jul 8 11:36:12 2010 +0200 +Date: Thu Jul 8 11:36:12 2010 +0200 Allow passing ints as enum args @@ -29274,7 +29448,7 @@ Date: Thu Jul 8 11:36:12 2010 +0200 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a Author: Tomeu Vizoso -Date: Sun Jul 25 17:30:40 2010 +0100 +Date: Sun Jul 25 17:30:40 2010 +0100 Make error message less ambiguous @@ -29285,7 +29459,7 @@ Date: Sun Jul 25 17:30:40 2010 +0100 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753 Author: John (J5) Palmieri -Date: Thu Jun 24 10:07:12 2010 -0400 +Date: Thu Jun 24 10:07:12 2010 -0400 fix passing in type names as a GType and add gtype unit tests @@ -29296,14 +29470,14 @@ Date: Thu Jun 24 10:07:12 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=622605 - gi/pygi-argument.c | 8 +------- + gi/pygi-argument.c | 8 +------- tests/test_everything.py | 27 +++++++++++++++++++++++++++ tests/test_overrides.py | 6 ++---- 3 files changed, 30 insertions(+), 11 deletions(-) commit 8becd32fc042445d62b885bac12dac326b2dc1fa Author: Tomeu Vizoso -Date: Mon Jul 26 11:54:47 2010 +0200 +Date: Mon Jul 26 11:54:47 2010 +0200 Increase a bit verbosity of tests so people know which test failed @@ -29312,7 +29486,7 @@ Date: Mon Jul 26 11:54:47 2010 +0200 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38 Author: Tomeu Vizoso -Date: Thu Jul 15 15:17:53 2010 +0200 +Date: Thu Jul 15 15:17:53 2010 +0200 Actually add the files for GVariant foreign structs @@ -29323,7 +29497,7 @@ Date: Thu Jul 15 15:17:53 2010 +0200 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24 Author: Tomeu Vizoso -Date: Thu Jul 15 13:31:33 2010 +0200 +Date: Thu Jul 15 13:31:33 2010 +0200 Add foreign struct support for GVariant @@ -29336,21 +29510,21 @@ Date: Thu Jul 15 13:31:33 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=619501 - gi/Makefile.am | 2 + - gi/pygi-argument.c | 2 +- + gi/Makefile.am | 2 + + gi/pygi-argument.c | 2 +- gi/pygi-foreign-cairo.c | 16 +++---- - gi/pygi-foreign.c | 107 + gi/pygi-foreign.c | 107 +++++++++++++++++++++++++++++------------------ - gi/pygi-foreign.h | 7 ++-- - gi/pygi-invoke.c | 18 ++++---- - gi/pygi-struct.c | 10 ++++- - gi/pygi.h | 9 ++-- + gi/pygi-foreign.h | 7 ++-- + gi/pygi-invoke.c | 18 ++++---- + gi/pygi-struct.c | 10 ++++- + gi/pygi.h | 9 ++-- tests/test_everything.py | 8 ++++ 9 files changed, 110 insertions(+), 69 deletions(-) commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0 Author: Tomeu Vizoso -Date: Mon Jul 12 11:19:06 2010 +0200 +Date: Mon Jul 12 11:19:06 2010 +0200 Add HACKING to MANIFEST.in @@ -29359,7 +29533,7 @@ Date: Mon Jul 12 11:19:06 2010 +0200 commit 40bf08ff001b119c7daf709197005ef6480216c5 Author: Tomeu Vizoso -Date: Mon Jul 12 11:18:04 2010 +0200 +Date: Mon Jul 12 11:18:04 2010 +0200 Add HACKING file with instructions for releasing @@ -29368,7 +29542,7 @@ Date: Mon Jul 12 11:18:04 2010 +0200 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4 Author: Tomeu Vizoso -Date: Mon Jul 12 11:09:58 2010 +0200 +Date: Mon Jul 12 11:09:58 2010 +0200 Post release version bump to 2.21.6 @@ -29377,7 +29551,7 @@ Date: Mon Jul 12 11:09:58 2010 +0200 commit 42a5a0897b38156ae010c396ea254abf502f35de Author: Tomeu Vizoso -Date: Mon Jul 12 11:00:29 2010 +0200 +Date: Mon Jul 12 11:00:29 2010 +0200 Update NEWS and release PyGObject-2.21.5 @@ -29386,7 +29560,7 @@ Date: Mon Jul 12 11:00:29 2010 +0200 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7 Author: Tomeu Vizoso -Date: Mon Jul 12 11:00:20 2010 +0200 +Date: Mon Jul 12 11:00:20 2010 +0200 Pre-release version bump to 2.21.5 @@ -29395,7 +29569,7 @@ Date: Mon Jul 12 11:00:20 2010 +0200 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6 Author: Florian Müllner -Date: Sat Jul 10 22:35:13 2010 +0200 +Date: Sat Jul 10 22:35:13 2010 +0200 Shut up some compiler warnings @@ -29410,7 +29584,7 @@ Date: Sat Jul 10 22:35:13 2010 +0200 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= -Date: Mon Jul 12 10:31:42 2010 +0200 +Date: Mon Jul 12 10:31:42 2010 +0200 Adjust to API break in GObject-Introspection @@ -29426,8 +29600,8 @@ Date: Mon Jul 12 10:31:42 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=624065 - configure.ac | 2 +- - gi/importer.py | 7 +-- + configure.ac | 2 +- + gi/importer.py | 7 +-- gi/pygi-argument.c | 146 ----------------------------------------------------- gi/pygi-closure.c | 10 ---- @@ -29437,28 +29611,28 @@ Date: Mon Jul 12 10:31:42 2010 +0200 commit 27a417c71f8c122e46c7472663bb25c17413f103 Author: John (J5) Palmieri -Date: Thu Jul 8 16:01:25 2010 -0400 +Date: Thu Jul 8 16:01:25 2010 -0400 pass in the demo app so demos can use utility methods like requesting file paths - demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +- + demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +- demos/gtk-demo/demos/Entry/entry_completion.py | 2 +- - demos/gtk-demo/demos/appwindow.py | 13 +++++++++++-- - demos/gtk-demo/demos/assistant.py | 2 +- - demos/gtk-demo/demos/builder.py | 14 ++++++++++---- - demos/gtk-demo/demos/button_box.py | 2 +- - demos/gtk-demo/demos/clipboard.py | 8 +------- - demos/gtk-demo/demos/colorselector.py | 2 +- - demos/gtk-demo/demos/combobox.py | 8 +++++--- - demos/gtk-demo/demos/drawingarea.py | 2 +- - demos/gtk-demo/demos/test.py | 2 +- - demos/gtk-demo/gtk-demo.py | 6 +++--- + demos/gtk-demo/demos/appwindow.py | 13 +++++++++++-- + demos/gtk-demo/demos/assistant.py | 2 +- + demos/gtk-demo/demos/builder.py | 14 ++++++++++---- + demos/gtk-demo/demos/button_box.py | 2 +- + demos/gtk-demo/demos/clipboard.py | 8 +------- + demos/gtk-demo/demos/colorselector.py | 2 +- + demos/gtk-demo/demos/combobox.py | 8 +++++--- + demos/gtk-demo/demos/drawingarea.py | 2 +- + demos/gtk-demo/demos/test.py | 2 +- + demos/gtk-demo/gtk-demo.py | 6 +++--- 12 files changed, 37 insertions(+), 26 deletions(-) commit e7daae919c2c6ae35d3927f0006252aacd49ea86 Author: John (J5) Palmieri -Date: Thu Jul 8 15:38:07 2010 -0400 +Date: Thu Jul 8 15:38:07 2010 -0400 demo fixes to keep up with Gtk+ @@ -29468,12 +29642,12 @@ Date: Thu Jul 8 15:38:07 2010 -0400 demos/gtk-demo/demos/appwindow.py | 10 +++++++--- demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------ - demos/gtk-demo/gtk-demo.py | 13 +++++-------- + demos/gtk-demo/gtk-demo.py | 13 +++++-------- 3 files changed, 24 insertions(+), 23 deletions(-) commit 3d9fd6391710cc33058394d6821e4d4e11f09b22 Author: John (J5) Palmieri -Date: Thu Jul 8 12:54:43 2010 -0400 +Date: Thu Jul 8 12:54:43 2010 -0400 override test fixes for new GTK+ annotations @@ -29482,7 +29656,7 @@ Date: Thu Jul 8 12:54:43 2010 -0400 commit 7a400f8139b70ddfe7c949035e0851689951c647 Author: Ignacio Casal Quinteiro -Date: Thu Jul 8 12:42:25 2010 +0200 +Date: Thu Jul 8 12:42:25 2010 +0200 Fix warning. @@ -29491,7 +29665,7 @@ Date: Thu Jul 8 12:42:25 2010 +0200 commit 39fd0a85a3de06b1b877d1125f91036409886373 Author: John (J5) Palmieri -Date: Wed Jul 7 15:48:36 2010 -0400 +Date: Wed Jul 7 15:48:36 2010 -0400 fix up treeiter usage due to caller-allocates annotations in gtk+ @@ -29500,13 +29674,13 @@ Date: Wed Jul 7 15:48:36 2010 -0400 handle the case where the parameter is followed by a regular in parameter - gi/overrides/Gtk.py | 7 +++---- + gi/overrides/Gtk.py | 7 +++---- tests/test_overrides.py | 21 +++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) commit 4d970b75dc5c75c1bec04cb2954c9985b476070c Author: John (J5) Palmieri -Date: Tue Jul 6 17:50:10 2010 -0400 +Date: Tue Jul 6 17:50:10 2010 -0400 add entry completion demo @@ -29516,7 +29690,7 @@ Date: Tue Jul 6 17:50:10 2010 -0400 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8 Author: John (J5) Palmieri -Date: Tue Jul 6 17:49:18 2010 -0400 +Date: Tue Jul 6 17:49:18 2010 -0400 string changes @@ -29525,7 +29699,7 @@ Date: Tue Jul 6 17:49:18 2010 -0400 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6 Author: John (J5) Palmieri -Date: Tue Jul 6 17:27:04 2010 -0400 +Date: Tue Jul 6 17:27:04 2010 -0400 add the Entry demo directory and the entry_buffer demo @@ -29536,7 +29710,7 @@ Date: Tue Jul 6 17:27:04 2010 -0400 commit f2b1d222120f055bec9339cca55c9cc90f538c00 Author: John (J5) Palmieri -Date: Tue Jul 6 17:26:03 2010 -0400 +Date: Tue Jul 6 17:26:03 2010 -0400 fix loading of demo modules to support sub modules @@ -29545,7 +29719,7 @@ Date: Tue Jul 6 17:26:03 2010 -0400 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029 Author: John (J5) Palmieri -Date: Tue Jul 6 15:56:34 2010 -0400 +Date: Tue Jul 6 15:56:34 2010 -0400 add the ability to have demos in sub catagories @@ -29555,7 +29729,7 @@ Date: Tue Jul 6 15:56:34 2010 -0400 commit dc2249a3ecf339008351316217191d0551ccc588 Author: Jose Aliste -Date: Mon Jul 5 14:36:59 2010 -0400 +Date: Mon Jul 5 14:36:59 2010 -0400 Add __name__ to DynamicModule class. @@ -29566,7 +29740,7 @@ Date: Mon Jul 5 14:36:59 2010 -0400 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6 Author: Ignacio Casal Quinteiro -Date: Mon Jul 5 16:11:07 2010 +0200 +Date: Mon Jul 5 16:11:07 2010 +0200 Do not override GdkRectangle. @@ -29579,19 +29753,19 @@ Date: Mon Jul 5 16:11:07 2010 +0200 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7 Author: Philip Withnall -Date: Tue Jun 29 16:37:36 2010 +0100 +Date: Tue Jun 29 16:37:36 2010 +0100 Add override for TreeModel implementing __len__() Closes: bgo#622882 - gi/overrides/Gtk.py | 11 +++++++++-- + gi/overrides/Gtk.py | 11 +++++++++-- tests/test_overrides.py | 5 +++++ 2 files changed, 14 insertions(+), 2 deletions(-) commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5 Author: Tomeu Vizoso -Date: Tue Jun 29 11:27:13 2010 +0200 +Date: Tue Jun 29 11:27:13 2010 +0200 Update NEWS and release PyGObject-2.21.4 @@ -29600,7 +29774,7 @@ Date: Tue Jun 29 11:27:13 2010 +0200 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6 Author: Tomeu Vizoso -Date: Tue Jun 29 10:55:03 2010 +0200 +Date: Tue Jun 29 10:55:03 2010 +0200 Remove files from the makefiles @@ -29610,50 +29784,50 @@ Date: Tue Jun 29 10:55:03 2010 +0200 commit 89827314fd183eac07443c8e9d275ca9d4ce59df Author: Tomeu Vizoso -Date: Tue Jun 29 10:27:39 2010 +0200 +Date: Tue Jun 29 10:27:39 2010 +0200 Build the cairo shim as a python module so the _gi module stops linking to it https://bugzilla.gnome.org/show_bug.cgi?id=623021 - configure.ac | 2 + - gi/Makefile.am | 38 ++++++++++----- - gi/gimodule.c | 8 +--- - gi/pygi-argument.c | 10 +--- + configure.ac | 2 + + gi/Makefile.am | 38 ++++++++++----- + gi/gimodule.c | 8 +--- + gi/pygi-argument.c | 10 +--- gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------ gi/pygi-foreign-cairo.h | 55 --------------------- - gi/pygi-foreign.c | 125 + gi/pygi-foreign.c | 125 ++++++++++++++++++++++++++++-------------------- - gi/pygi-foreign.h | 31 ++++++------ - gi/pygi.h | 40 ++++++++++++++-- + gi/pygi-foreign.h | 31 ++++++------ + gi/pygi.h | 40 ++++++++++++++-- 9 files changed, 196 insertions(+), 169 deletions(-) commit a6a90551311bc64f037cbd442e13f70c30060871 Author: Tomeu Vizoso -Date: Mon Jun 28 14:20:43 2010 +0200 +Date: Mon Jun 28 14:20:43 2010 +0200 Remove pygi-external.h https://bugzilla.gnome.org/show_bug.cgi?id=623021 - gi/gimodule.c | 8 +++--- - gi/pygi-type.c | 4 +-- - gi/pygi-type.h | 2 +- - gi/pygi.h | 54 ++++++++++++++++----------------------- - gobject/Makefile.am | 6 +++++ - gobject/pygboxed.c | 2 +- - gobject/pygenum.c | 2 +- - gobject/pygflags.c | 2 +- + gi/gimodule.c | 8 +++--- + gi/pygi-type.c | 4 +-- + gi/pygi-type.h | 2 +- + gi/pygi.h | 54 ++++++++++++++++----------------------- + gobject/Makefile.am | 6 +++++ + gobject/pygboxed.c | 2 +- + gobject/pygenum.c | 2 +- + gobject/pygflags.c | 2 +- gobject/pygi-external.h | 67 ------------------------------------------------- - gobject/pygobject.c | 2 +- - gobject/pygpointer.c | 2 +- + gobject/pygobject.c | 2 +- + gobject/pygpointer.c | 2 +- 11 files changed, 40 insertions(+), 111 deletions(-) commit 8b3a3baacb45cb3f9112f7597607602fa89c6634 Author: Tomeu Vizoso -Date: Fri Jun 25 13:54:57 2010 +0200 +Date: Fri Jun 25 13:54:57 2010 +0200 Revert "correctly handle floating objects in gtk" @@ -29661,16 +29835,16 @@ Date: Fri Jun 25 13:54:57 2010 +0200 Conflicts: - gi/gimodule.c - tests/test_everything.py + gi/gimodule.c + tests/test_everything.py - gi/gimodule.c | 13 ------------- + gi/gimodule.c | 13 ------------- tests/test_everything.py | 3 ++- 2 files changed, 2 insertions(+), 14 deletions(-) commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426 Author: Tomeu Vizoso -Date: Fri Jun 25 13:49:04 2010 +0200 +Date: Fri Jun 25 13:49:04 2010 +0200 Make valgrind happy again @@ -29684,7 +29858,7 @@ Date: Fri Jun 25 13:49:04 2010 +0200 commit 63afe55906c8637e913783e65b82b540b81bed65 Author: John (J5) Palmieri -Date: Thu Jun 24 16:13:37 2010 -0400 +Date: Thu Jun 24 16:13:37 2010 -0400 add drawing area demo @@ -29694,7 +29868,7 @@ Date: Thu Jun 24 16:13:37 2010 -0400 commit 8bba5f842393a284367cdd15f3d32a8c7745516a Author: John (J5) Palmieri -Date: Thu Jun 24 14:11:00 2010 -0400 +Date: Thu Jun 24 14:11:00 2010 -0400 sort the demo list @@ -29703,7 +29877,7 @@ Date: Thu Jun 24 14:11:00 2010 -0400 commit b9da82742701ed276b01dee39626cd71cbef8556 Author: John (J5) Palmieri -Date: Thu Jun 24 13:56:18 2010 -0400 +Date: Thu Jun 24 13:56:18 2010 -0400 rename iter to treeiter so we aren't using a python reserved word @@ -29712,7 +29886,7 @@ Date: Thu Jun 24 13:56:18 2010 -0400 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50 Author: John (J5) Palmieri -Date: Thu Jun 24 13:47:54 2010 -0400 +Date: Thu Jun 24 13:47:54 2010 -0400 Fixup for change in buffer API @@ -29724,7 +29898,7 @@ Date: Thu Jun 24 13:47:54 2010 -0400 commit 8d9516a593a515290109401a9db7aa259b5aa35c Author: John (J5) Palmieri -Date: Wed Jun 23 17:04:33 2010 -0400 +Date: Wed Jun 23 17:04:33 2010 -0400 add ListStore, TreeStore and TreeViewColumn APIs @@ -29743,14 +29917,14 @@ Date: Wed Jun 23 17:04:33 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=620405 - gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++ + gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+) commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4 Author: Johan Dahlin -Date: Wed Jun 23 14:34:28 2010 -0300 +Date: Wed Jun 23 14:34:28 2010 -0300 [gi] Add -I../gobject to cflags @@ -29762,7 +29936,7 @@ Date: Wed Jun 23 14:34:28 2010 -0300 commit 53a093198851e3ba5abd1f6c3314737decd401d8 Author: Ignacio Casal Quinteiro -Date: Wed Jun 23 18:09:19 2010 +0200 +Date: Wed Jun 23 18:09:19 2010 +0200 Add unit test for add_actions user data. @@ -29771,7 +29945,7 @@ Date: Wed Jun 23 18:09:19 2010 +0200 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4 Author: Paolo Borelli -Date: Wed Jun 23 18:06:46 2010 +0200 +Date: Wed Jun 23 18:06:46 2010 +0200 Pass user_data param when adding actions @@ -29780,7 +29954,7 @@ Date: Wed Jun 23 18:06:46 2010 +0200 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f Author: John (J5) Palmieri -Date: Wed Jun 23 12:02:04 2010 -0400 +Date: Wed Jun 23 12:02:04 2010 -0400 add an exception type to the try/except block @@ -29791,7 +29965,7 @@ Date: Wed Jun 23 12:02:04 2010 -0400 commit f140a8ebf59347162b67b550bd6f62d2eafad29a Author: Johan Dahlin -Date: Wed Jun 23 12:31:51 2010 -0300 +Date: Wed Jun 23 12:31:51 2010 -0300 Avoid duplicating required versions @@ -29805,7 +29979,7 @@ Date: Wed Jun 23 12:31:51 2010 -0300 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f Author: John (J5) Palmieri -Date: Tue Jun 22 15:03:08 2010 -0400 +Date: Tue Jun 22 15:03:08 2010 -0400 return PyList instead of PyTuple for array, return empty list for NULL arrays @@ -29815,15 +29989,15 @@ Date: Tue Jun 22 15:03:08 2010 -0400 * test the ability to send in both None and empty list for arrays and lists - gi/pygi-argument.c | 7 ++-- + gi/pygi-argument.c | 7 ++-- tests/test_everything.py | 5 ++- - tests/test_gi.py | 84 + tests/test_gi.py | 84 ++++++++++++++++++++++++------------------------ 3 files changed, 49 insertions(+), 47 deletions(-) commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8 Author: Tomeu Vizoso -Date: Wed Jun 23 15:42:29 2010 +0200 +Date: Wed Jun 23 15:42:29 2010 +0200 Fix 'make distcheck' @@ -29834,33 +30008,33 @@ Date: Wed Jun 23 15:42:29 2010 +0200 * tests/common.py: Don't add the src dir to the python path * tests/runtests.py: Don't pass the src dir to common.py - Makefile.am | 4 +++- - gi/Makefile.am | 1 + - gio/Makefile.am | 1 + - glib/Makefile.am | 2 +- - gobject/Makefile.am | 1 + + Makefile.am | 4 +++- + gi/Makefile.am | 1 + + gio/Makefile.am | 1 + + glib/Makefile.am | 2 +- + gobject/Makefile.am | 1 + tests/Makefile.am | 17 ++--------------- - tests/common.py | 3 +-- + tests/common.py | 3 +-- tests/runtests.py | 12 +++++------- 8 files changed, 15 insertions(+), 26 deletions(-) commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371 Author: Tomeu Vizoso -Date: Wed Jun 23 13:59:14 2010 +0200 +Date: Wed Jun 23 13:59:14 2010 +0200 Allow building pygobject without introspection support by providing --disable-introspection to configure. - Makefile.am | 6 +++++- - configure.ac | 15 ++++++++------- + Makefile.am | 6 +++++- + configure.ac | 15 ++++++++------- gobject/pygi-external.h | 4 ++-- - tests/Makefile.am | 8 ++++++-- - tests/runtests.py | 21 +++++++-------------- + tests/Makefile.am | 8 ++++++-- + tests/runtests.py | 21 +++++++-------------- 5 files changed, 28 insertions(+), 26 deletions(-) commit cc3ea77318ee572673d2a044deca9001366b0f08 Author: Tomeu Vizoso -Date: Wed Jun 23 12:26:51 2010 +0200 +Date: Wed Jun 23 12:26:51 2010 +0200 Make sure that sys.argv is a list and not a sequence. @@ -29872,7 +30046,7 @@ Date: Wed Jun 23 12:26:51 2010 +0200 commit 3d72b8248cc534a689dee5679a729b2fba56c528 Author: Tomeu Vizoso -Date: Wed Jun 23 12:26:02 2010 +0200 +Date: Wed Jun 23 12:26:02 2010 +0200 Force loading the GObject typelib so we have available the wrappers for base classes such as GInitiallyUnowned. @@ -29882,7 +30056,7 @@ Date: Wed Jun 23 12:26:02 2010 +0200 commit c7c94ef349c30597f2f10d90f74718d678ec7add Author: John (J5) Palmieri -Date: Tue Jun 22 14:45:48 2010 -0400 +Date: Tue Jun 22 14:45:48 2010 -0400 we shouldn't g_array_free NULL pointers @@ -29894,13 +30068,13 @@ Date: Tue Jun 22 14:45:48 2010 -0400 commit fb1ee243493616d7a7e4f6924c574db39f5a423d Merge: acf7b43 5f9cb91 Author: Tomeu Vizoso -Date: Wed Jun 23 12:53:05 2010 +0200 +Date: Wed Jun 23 12:53:05 2010 +0200 Merge branch 'pygi' commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f Author: John (J5) Palmieri -Date: Tue Jun 22 15:39:46 2010 -0400 +Date: Tue Jun 22 15:39:46 2010 -0400 remove unneeded TextIter creation in the tests @@ -29909,7 +30083,7 @@ Date: Tue Jun 22 15:39:46 2010 -0400 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e Author: John (J5) Palmieri -Date: Mon Jun 21 11:42:12 2010 -0400 +Date: Mon Jun 21 11:42:12 2010 -0400 add override for TextBuffer @@ -29922,14 +30096,14 @@ Date: Mon Jun 21 11:42:12 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=620583 - gi/overrides/Gtk.py | 51 + gi/overrides/Gtk.py | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 25 ++++++++++++++++++++++++ 2 files changed, 76 insertions(+) commit 1d89a88b212c7411ad28e74eda80ae751de92e50 Author: John (J5) Palmieri -Date: Tue Jun 22 12:46:39 2010 -0400 +Date: Tue Jun 22 12:46:39 2010 -0400 fix up some build issues @@ -29940,13 +30114,13 @@ Date: Tue Jun 22 12:46:39 2010 -0400 targets like make check.gdb work - configure.ac | 2 +- + configure.ac | 2 +- tests/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4fe0d94c219deb69a2309693202309c53a0e5e69 Author: John (J5) Palmieri -Date: Tue Jun 22 11:50:30 2010 -0400 +Date: Tue Jun 22 11:50:30 2010 -0400 make the overrides file git friendly by appending to __all__ after each override @@ -29965,24 +30139,24 @@ Date: Tue Jun 22 11:50:30 2010 -0400 which will not conflict gi/overrides/GIMarshallingTests.py | 10 ++++------ - gi/overrides/Gdk.py | 8 ++++---- - gi/overrides/Gtk.py | 7 +++++-- + gi/overrides/Gdk.py | 8 ++++---- + gi/overrides/Gtk.py | 7 +++++-- 3 files changed, 13 insertions(+), 12 deletions(-) commit 49321b934603e1ec69fb04082c63902970907d2b Author: Paolo Borelli -Date: Sun Jun 20 13:27:34 2010 +0200 +Date: Sun Jun 20 13:27:34 2010 +0200 Override Dialog constructor and add_buttons method - gi/overrides/Gtk.py | 46 + gi/overrides/Gtk.py | 46 +++++++++++++++++++++++++++++++++++++++++++++- tests/test_overrides.py | 16 ++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) commit acf7b43a41ce814f0c57ce609a090826f04771db Author: Tomeu Vizoso -Date: Mon Jun 21 18:17:38 2010 +0200 +Date: Mon Jun 21 18:17:38 2010 +0200 Post release version bump to 2.21.4 @@ -29991,7 +30165,7 @@ Date: Mon Jun 21 18:17:38 2010 +0200 commit a7fa8b80406227a06cf18f8675dbc1f471283829 Author: Tomeu Vizoso -Date: Mon Jun 21 18:10:32 2010 +0200 +Date: Mon Jun 21 18:10:32 2010 +0200 Update NEWS and release PyGObject-2.21.3 @@ -30000,19 +30174,19 @@ Date: Mon Jun 21 18:10:32 2010 +0200 commit 79acac7b86ec52cd3681d94d7f116314c3f00167 Author: Ludovic L'Hours -Date: Tue Jul 21 16:28:34 2009 +0200 +Date: Tue Jul 21 16:28:34 2009 +0200 Proper handling of null-ok in virtual methods https://bugzilla.gnome.org/show_bug.cgi?id=589253 - codegen/codegen.py | 2 ++ + codegen/codegen.py | 2 ++ codegen/reversewrapper.py | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) commit 259a4b08f009aa01451caed20dbb6e68b402da2a Author: Tomeu Vizoso -Date: Mon Jun 21 17:34:54 2010 +0200 +Date: Mon Jun 21 17:34:54 2010 +0200 Add *~ and *.orig to .gitignore @@ -30021,7 +30195,7 @@ Date: Mon Jun 21 17:34:54 2010 +0200 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1 Author: Tomeu Vizoso -Date: Mon Jun 21 17:33:56 2010 +0200 +Date: Mon Jun 21 17:33:56 2010 +0200 Fall back to use the floating references API in glib if there isn't a sinkfunc defined. @@ -30035,211 +30209,136 @@ Date: Mon Jun 21 17:33:56 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=583909 gobject/gobjectmodule.c | 2 - - gobject/pygobject.c | 50 +++++++++++++--------- - gobject/pygobject.h | 1 + - tests/Makefile.am | 2 + - tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++ - tests/test-floating.h | 60 ++++++++++++++++++++++++++ - tests/test_gobject.py | 19 ++++++++- + gobject/pygobject.c | 50 +++++++++++++--------- + gobject/pygobject.h | 1 + + tests/Makefile.am | 2 + + tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++ + tests/test-floating.h | 60 ++++++++++++++++++++++++++ + tests/test_gobject.py | 19 ++++++++- tests/testhelpermodule.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 315 insertions(+), 23 deletions(-) commit e71238a699ae783fd1a59c8a76e3555d8066cf82 Author: Tomeu Vizoso -Date: Mon Jun 21 13:06:13 2010 +0200 +Date: Mon Jun 21 13:06:13 2010 +0200 Revert "Drop sinkfuncs." This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb. gobject/gobjectmodule.c | 3 ++- - gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++-------- - gobject/pygobject.h | 1 - + gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++-------- + gobject/pygobject.h | 1 - 3 files changed, 36 insertions(+), 10 deletions(-) commit b2661054d6bde673484eab472e69ca021124528d Author: Johan Dahlin -Date: Sun Jun 20 11:09:57 2010 -0300 +Date: Sun Jun 20 11:09:57 2010 -0300 Merge back pygi For reasons outlined at: http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html - 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(-) + 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(-) commit 597bd64319d7966045b5b8613ca6fc85668c3f56 Merge: ec8d148 fa91dfd Author: Johan Dahlin -Date: Sun Jun 20 10:53:46 2010 -0300 +Date: Sun Jun 20 10:53:46 2010 -0300 Merge branch 'pygi-merge' commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b Author: Johan Dahlin -Date: Sun Jun 20 10:53:36 2010 -0300 +Date: Sun Jun 20 10:53:36 2010 -0300 Prepare pygi move - .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(-) + 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(-) commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce Author: Johan Dahlin -Date: Sun Jun 20 10:49:55 2010 -0300 +Date: Sun Jun 20 10:49:55 2010 -0300 [giounix] Make it possible to compile on glib 2.20 @@ -30248,7 +30347,7 @@ Date: Sun Jun 20 10:49:55 2010 -0300 commit 606018a2c551d890fc2bb987d99683f777598bda Author: John (J5) Palmieri -Date: Mon Jun 7 16:32:29 2010 -0400 +Date: Mon Jun 7 16:32:29 2010 -0400 Don't free transfer full struct pointers because we can't do it safely @@ -30269,7 +30368,7 @@ Date: Mon Jun 7 16:32:29 2010 -0400 commit 433ee2aa029a1482961f478252a06492bd3498e6 Author: Sjoerd Simons -Date: Tue Jun 15 11:42:28 2010 +0200 +Date: Tue Jun 15 11:42:28 2010 +0200 Release the lock when potentially invoking Python code. @@ -30283,7 +30382,7 @@ Date: Tue Jun 15 11:42:28 2010 +0200 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96 Author: John (J5) Palmieri -Date: Mon Jun 14 18:36:57 2010 -0400 +Date: Mon Jun 14 18:36:57 2010 -0400 add combobox example @@ -30293,7 +30392,7 @@ Date: Mon Jun 14 18:36:57 2010 -0400 commit a8668694da59c2dd959c875f13337e64ca22f7e9 Author: John (J5) Palmieri -Date: Mon Jun 14 13:43:53 2010 -0400 +Date: Mon Jun 14 13:43:53 2010 -0400 fix leak in the allow None callbacks patch @@ -30302,7 +30401,7 @@ Date: Mon Jun 14 13:43:53 2010 -0400 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0 Author: John (J5) Palmieri -Date: Mon Jun 7 17:12:09 2010 -0400 +Date: Mon Jun 7 17:12:09 2010 -0400 Allow passing None for callbacks which are annotated allow-none @@ -30319,14 +30418,14 @@ Date: Mon Jun 7 17:12:09 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=620906 - gi/pygi-callbacks.c | 7 +++++++ - gi/pygi-invoke.c | 14 +++++++++++--- + gi/pygi-callbacks.c | 7 +++++++ + gi/pygi-invoke.c | 14 +++++++++++--- tests/test_everything.py | 4 ++++ 3 files changed, 22 insertions(+), 3 deletions(-) commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17 Author: Paolo Borelli -Date: Mon Jun 14 19:06:45 2010 +0200 +Date: Mon Jun 14 19:06:45 2010 +0200 Fix to match latest gtk annotations @@ -30335,7 +30434,7 @@ Date: Mon Jun 14 19:06:45 2010 +0200 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59 Author: John (J5) Palmieri -Date: Tue Jun 8 15:03:49 2010 -0400 +Date: Tue Jun 8 15:03:49 2010 -0400 fix variable member names in Gdk.Color override @@ -30345,13 +30444,13 @@ Date: Tue Jun 8 15:03:49 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=621007 - gi/overrides/Gdk.py | 10 +++++----- + gi/overrides/Gdk.py | 10 +++++----- tests/test_overrides.py | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f Author: Tomeu Vizoso -Date: Thu Jun 10 20:23:13 2010 +0200 +Date: Thu Jun 10 20:23:13 2010 +0200 Post release version bump to 2.21.3 @@ -30360,7 +30459,7 @@ Date: Thu Jun 10 20:23:13 2010 +0200 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b Author: Tomeu Vizoso -Date: Thu Jun 10 20:21:13 2010 +0200 +Date: Thu Jun 10 20:21:13 2010 +0200 Update NEWS and release PyGObject-2.21.2 @@ -30369,21 +30468,21 @@ Date: Thu Jun 10 20:21:13 2010 +0200 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf Author: Tomeu Vizoso -Date: Thu Jun 10 20:09:07 2010 +0200 +Date: Thu Jun 10 20:09:07 2010 +0200 Remove deleted files from the Makefile. - test_conversion.py - test_enum.py - test_gtype.py - test_subtype.py + test_conversion.py + test_enum.py + test_gtype.py + test_subtype.py tests/Makefile.am | 4 ---- 1 file changed, 4 deletions(-) commit 495a301cb81c5e914bcef905999265604faa27fc Author: Tomeu Vizoso -Date: Thu Jun 10 19:39:09 2010 +0200 +Date: Thu Jun 10 19:39:09 2010 +0200 Add myself to the maintainers list in the README @@ -30392,30 +30491,30 @@ Date: Thu Jun 10 19:39:09 2010 +0200 commit 04627488220b4f2a16e11f8982af7866fea9f7eb Author: Tomeu Vizoso -Date: Thu Jun 10 19:24:31 2010 +0200 +Date: Thu Jun 10 19:24:31 2010 +0200 Drop sinkfuncs. - * use g_object methods to sink floating refs instead of allowing - custom sink functions to be registered - * we now sink inside of pygobject_new_full to handle cases where - a library creates its own gobject via g_object_new and just - needs a python wrapper - - a previous patch had done the sink when creating the gobject, - since it needs to call pygobject_new_full to wrap the object, - this patch handles both cases (e.g. pygobject created object - and externally created gobject) + * use g_object methods to sink floating refs instead of allowing + custom sink functions to be registered + * we now sink inside of pygobject_new_full to handle cases where + a library creates its own gobject via g_object_new and just + needs a python wrapper + - a previous patch had done the sink when creating the gobject, + since it needs to call pygobject_new_full to wrap the object, + this patch handles both cases (e.g. pygobject created object + and externally created gobject) https://bugzilla.gnome.org/show_bug.cgi?id=583909 gobject/gobjectmodule.c | 3 +-- - gobject/pygobject.c | 42 ++++++++---------------------------------- - gobject/pygobject.h | 1 + + gobject/pygobject.c | 42 ++++++++---------------------------------- + gobject/pygobject.h | 1 + 3 files changed, 10 insertions(+), 36 deletions(-) commit 07df124dc06cf506634e95d08397f50a2d07fce2 Author: Steve Frécinaux -Date: Mon Jun 7 09:47:23 2010 +0200 +Date: Mon Jun 7 09:47:23 2010 +0200 Make the "wrong argument count" exception more explicit. @@ -30430,13 +30529,13 @@ Date: Mon Jun 7 09:47:23 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=620804 - gi/pygi-invoke.c | 3 ++- + gi/pygi-invoke.c | 3 ++- tests/test_everything.py | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) commit b435319fe830a909cc4d414533b3b66574931e24 Author: Steve Frécinaux -Date: Mon Jun 7 09:54:06 2010 +0200 +Date: Mon Jun 7 09:54:06 2010 +0200 Use bash explicitely in the pre-commit hook. @@ -30451,7 +30550,7 @@ Date: Mon Jun 7 09:54:06 2010 +0200 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a Author: John (J5) Palmieri -Date: Tue Jun 8 16:55:26 2010 -0400 +Date: Tue Jun 8 16:55:26 2010 -0400 colorselector demo @@ -30461,7 +30560,7 @@ Date: Tue Jun 8 16:55:26 2010 -0400 commit ec598128de9e90dccab662ed2f5511c8d659e156 Author: Tomeu Vizoso -Date: Tue Jun 8 15:48:33 2010 +0200 +Date: Tue Jun 8 15:48:33 2010 +0200 Update PyGObject dependency to 2.21.1 @@ -30470,17 +30569,17 @@ Date: Tue Jun 8 15:48:33 2010 +0200 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d Author: Tomeu Vizoso -Date: Tue Jun 8 10:40:39 2010 +0200 +Date: Tue Jun 8 10:40:39 2010 +0200 Add myself to maintainers - MAINTAINERS | 4 ++++ + MAINTAINERS | 4 ++++ pygobject.doap | 7 +++++++ 2 files changed, 11 insertions(+) commit 46c91a11d448e5e11d142d3362aff1483226bca4 Author: Colin Walters -Date: Wed May 5 13:54:27 2010 -0400 +Date: Wed May 5 13:54:27 2010 -0400 Clear error if we failed the import @@ -30496,7 +30595,7 @@ Date: Wed May 5 13:54:27 2010 -0400 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6 Author: John (J5) Palmieri -Date: Mon Jun 7 17:19:30 2010 -0400 +Date: Mon Jun 7 17:19:30 2010 -0400 fix some typos and add a link to a patch which fixes a FIXME @@ -30505,7 +30604,7 @@ Date: Mon Jun 7 17:19:30 2010 -0400 commit e7fabb5024d94a3166766e5fca740741bc50380a Author: John (J5) Palmieri -Date: Mon Jun 7 16:21:42 2010 -0400 +Date: Mon Jun 7 16:21:42 2010 -0400 clipboard demo @@ -30515,7 +30614,7 @@ Date: Mon Jun 7 16:21:42 2010 -0400 commit e0f1dce5ec58d071759f886697501da6eeea549d Author: John (J5) Palmieri -Date: Sun Jun 6 13:27:46 2010 -0400 +Date: Sun Jun 6 13:27:46 2010 -0400 set is_fully_bound to false @@ -30524,7 +30623,7 @@ Date: Sun Jun 6 13:27:46 2010 -0400 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948 Author: John (J5) Palmieri -Date: Sat Jun 5 23:53:36 2010 -0400 +Date: Sat Jun 5 23:53:36 2010 -0400 new button box demo @@ -30534,7 +30633,7 @@ Date: Sat Jun 5 23:53:36 2010 -0400 commit e9f5f8a829121e59367bae690442150f144946ad Author: John (J5) Palmieri -Date: Sat Jun 5 23:26:03 2010 -0400 +Date: Sat Jun 5 23:26:03 2010 -0400 set is_fully_bound to True fro builder example @@ -30543,7 +30642,7 @@ Date: Sat Jun 5 23:26:03 2010 -0400 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6 Author: John (J5) Palmieri -Date: Sat Jun 5 23:24:36 2010 -0400 +Date: Sat Jun 5 23:24:36 2010 -0400 fix up formatting in demos @@ -30554,7 +30653,7 @@ Date: Sat Jun 5 23:24:36 2010 -0400 commit ffca02536bafb55e8c3bce31cd992365207429f6 Author: John (J5) Palmieri -Date: Sat Jun 5 14:54:47 2010 -0400 +Date: Sat Jun 5 14:54:47 2010 -0400 add the builder demo @@ -30564,7 +30663,7 @@ Date: Sat Jun 5 14:54:47 2010 -0400 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb Author: John (J5) Palmieri -Date: Fri Jun 4 17:48:24 2010 -0400 +Date: Fri Jun 4 17:48:24 2010 -0400 add assistant demo @@ -30574,7 +30673,7 @@ Date: Fri Jun 4 17:48:24 2010 -0400 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94 Author: John (J5) Palmieri -Date: Fri Jun 4 16:56:46 2010 -0400 +Date: Fri Jun 4 16:56:46 2010 -0400 add formatting rules and copyright notice @@ -30583,41 +30682,41 @@ Date: Fri Jun 4 16:56:46 2010 -0400 commit 03b99692b81631d397ab62dcd263341465bcee88 Author: John (J5) Palmieri -Date: Fri Jun 4 16:26:54 2010 -0400 +Date: Fri Jun 4 16:26:54 2010 -0400 add the gtk-demo app along with a couple of demos * note there are still a couple of patches in bugzilla that are needed for this to run correctly: - - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682 - - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764 + - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682 + - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764 - demos/gtk-demo/demos/__init__.py | 0 - demos/gtk-demo/demos/appwindow.py | 393 + demos/gtk-demo/demos/__init__.py | 0 + demos/gtk-demo/demos/appwindow.py | 393 +++++++++++++++++++++++ - 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/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 +++++++++++++++ + 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 +++++++++++++++ 19 files changed, 931 insertions(+) commit b3b1f029d8d16cf9bd74160009808147d07e3b3f Author: Tomeu Vizoso -Date: Fri Jun 4 11:25:08 2010 +0200 +Date: Fri Jun 4 11:25:08 2010 +0200 Update gobject-introspection dependency to 0.6.14 @@ -30626,7 +30725,7 @@ Date: Fri Jun 4 11:25:08 2010 +0200 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4 Author: Tomeu Vizoso -Date: Fri Jun 4 11:23:41 2010 +0200 +Date: Fri Jun 4 11:23:41 2010 +0200 Post-release version bump to 0.6.1 @@ -30635,7 +30734,7 @@ Date: Fri Jun 4 11:23:41 2010 +0200 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e Author: Tomeu Vizoso -Date: Fri Jun 4 08:29:42 2010 +0200 +Date: Fri Jun 4 08:29:42 2010 +0200 Pre-release version bump 0.6.0 @@ -30644,7 +30743,7 @@ Date: Fri Jun 4 08:29:42 2010 +0200 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e Author: John (J5) Palmieri -Date: Fri May 28 10:03:11 2010 -0400 +Date: Fri May 28 10:03:11 2010 -0400 support for caller-allocates annotations for structs @@ -30667,14 +30766,14 @@ Date: Fri May 28 10:03:11 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=620406 - gi/pygi-invoke.c | 73 + gi/pygi-invoke.c | 73 +++++++++++++++++++++++++++++++++++++++++++++--- tests/test_everything.py | 28 +++++++++++++++++++ 2 files changed, 97 insertions(+), 4 deletions(-) commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd Author: John (J5) Palmieri -Date: Wed Jun 2 14:14:16 2010 -0400 +Date: Wed Jun 2 14:14:16 2010 -0400 don't import gobject directly in the tests @@ -30685,7 +30784,7 @@ Date: Wed Jun 2 14:14:16 2010 -0400 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c Author: Tomeu Vizoso -Date: Tue Jun 1 14:28:57 2010 +0200 +Date: Tue Jun 1 14:28:57 2010 +0200 Wrap C arrays in structs as GArrays before converting to Python @@ -30697,18 +30796,18 @@ Date: Tue Jun 1 14:28:57 2010 +0200 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead Author: Tomeu Vizoso -Date: Wed May 26 13:20:27 2010 +0200 +Date: Wed May 26 13:20:27 2010 +0200 Install pre-commit hook that checks the code changes for style conformance - autogen.sh | 7 +++++++ + autogen.sh | 7 +++++++ pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) commit 1319da5b7f483e48a90b0b7489f77236ba26f479 Author: Tomeu Vizoso -Date: Wed May 26 12:19:17 2010 +0200 +Date: Wed May 26 12:19:17 2010 +0200 Apply consistent whitespace formatting with: @@ -30716,42 +30815,42 @@ Date: Wed May 26 12:19:17 2010 +0200 This won't affect git blame nor git diff if the switch -w is used. - gi/gimodule.c | 138 +++---- - gi/pygi-argument.c | 960 + gi/gimodule.c | 138 +++---- + gi/pygi-argument.c | 960 ++++++++++++++++++++++++------------------------ - gi/pygi-boxed.c | 108 +++--- - gi/pygi-callbacks.c | 154 ++++---- - gi/pygi-callbacks.h | 8 +- - gi/pygi-closure.c | 270 +++++++------- - gi/pygi-closure.h | 18 +- + gi/pygi-boxed.c | 108 +++--- + gi/pygi-callbacks.c | 154 ++++---- + gi/pygi-callbacks.h | 8 +- + gi/pygi-closure.c | 270 +++++++------- + gi/pygi-closure.h | 18 +- gi/pygi-foreign-cairo.c | 36 +- gi/pygi-foreign-cairo.h | 36 +- - gi/pygi-foreign.c | 54 +-- - gi/pygi-foreign.h | 10 +- - gi/pygi-info.c | 646 ++++++++++++++++---------------- - gi/pygi-invoke.c | 380 +++++++++---------- - gi/pygi-repository.c | 114 +++--- - gi/pygi-struct.c | 88 ++--- - gi/pygi-type.c | 32 +- - gi/pygi.h | 20 +- + gi/pygi-foreign.c | 54 +-- + gi/pygi-foreign.h | 10 +- + gi/pygi-info.c | 646 ++++++++++++++++---------------- + gi/pygi-invoke.c | 380 +++++++++---------- + gi/pygi-repository.c | 114 +++--- + gi/pygi-struct.c | 88 ++--- + gi/pygi-type.c | 32 +- + gi/pygi.h | 20 +- gi/pygobject-external.h | 14 +- 18 files changed, 1544 insertions(+), 1542 deletions(-) commit 6156f15cb15b4c20e975527227135d49207c520a Author: Tomeu Vizoso -Date: Tue May 25 14:08:51 2010 +0200 +Date: Tue May 25 14:08:51 2010 +0200 Prepend gi.repository to the __module__ attribute of wrapper classes. https://bugzilla.gnome.org/show_bug.cgi?id=619597 - gi/module.py | 4 ++-- + gi/module.py | 4 ++-- tests/test_gi.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) commit 097b92983b7a322c58fecb1e691ba6ddf5035548 Author: Tomeu Vizoso -Date: Tue May 25 14:17:13 2010 +0200 +Date: Tue May 25 14:17:13 2010 +0200 Correctly identify at creation time: @@ -30766,7 +30865,7 @@ Date: Tue May 25 14:17:13 2010 +0200 commit 686e10fcdb108af9758eb025a3447813c3513a93 Author: Tomeu Vizoso -Date: Thu Apr 29 10:55:13 2010 +0200 +Date: Thu Apr 29 10:55:13 2010 +0200 Dont complain if another base has implemented the method @@ -30777,7 +30876,7 @@ Date: Thu Apr 29 10:55:13 2010 +0200 commit 9f34d120845d936b04546a5cea599ec67e9181a7 Author: John (J5) Palmieri -Date: Mon May 24 16:16:50 2010 -0400 +Date: Mon May 24 16:16:50 2010 -0400 fix up Builder override, add new override methods, and add unit tests @@ -30789,14 +30888,14 @@ Date: Mon May 24 16:16:50 2010 -0400 * add test that loads objects from strings and connects them to signals - gi/overrides/Gtk.py | 19 +++++++++++-- + gi/overrides/Gtk.py | 19 +++++++++++-- tests/test_overrides.py | 72 ++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 86 insertions(+), 5 deletions(-) commit 1561d2977691f1cb8684f183a2e274c47960d931 Author: Tomeu Vizoso -Date: Mon May 24 18:48:10 2010 +0200 +Date: Mon May 24 18:48:10 2010 +0200 Improve handling of subclasses without __gtype_name__ @@ -30804,13 +30903,13 @@ Date: Mon May 24 18:48:10 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=616849 - gi/gimodule.c | 9 +++++++++ + gi/gimodule.c | 9 +++++++++ tests/test_gi.py | 13 ++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) commit c9d44d4d46c3da3a445000b1db592baa9c378a92 Author: Tomeu Vizoso -Date: Fri Apr 30 18:17:50 2010 +0200 +Date: Fri Apr 30 18:17:50 2010 +0200 Add support for GArray args @@ -30822,7 +30921,7 @@ Date: Fri Apr 30 18:17:50 2010 +0200 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1 Author: John (J5) Palmieri -Date: Mon May 24 11:48:16 2010 -0400 +Date: Mon May 24 11:48:16 2010 -0400 check refcounting of callback userdata in unit tests @@ -30831,7 +30930,7 @@ Date: Mon May 24 11:48:16 2010 -0400 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4 Author: Tomeu Vizoso -Date: Sat May 22 15:12:37 2010 +0200 +Date: Sat May 22 15:12:37 2010 +0200 Add support for out args in callbacks @@ -30849,7 +30948,7 @@ Date: Sat May 22 15:12:37 2010 +0200 commit 0df0c956bb2476392c9d81f0a243a7e84c067166 Author: Tomeu Vizoso -Date: Sun May 23 10:59:27 2010 +0200 +Date: Sun May 23 10:59:27 2010 +0200 If None is passed to an interface which takes an object, convert it to NULL @@ -30863,13 +30962,13 @@ Date: Sun May 23 10:59:27 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=617880 - gi/pygi-argument.c | 5 +++++ + gi/pygi-argument.c | 5 +++++ tests/test_everything.py | 6 ++++++ 2 files changed, 11 insertions(+) commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca Author: John (J5) Palmieri -Date: Sat May 22 14:06:37 2010 +0200 +Date: Sat May 22 14:06:37 2010 +0200 correctly handle floating objects in gtk @@ -30883,13 +30982,13 @@ Date: Sat May 22 14:06:37 2010 +0200 https://bugzilla.gnome.org/show_bug.cgi?id=619007 - gi/gimodule.c | 12 ++++++++++++ + gi/gimodule.c | 12 ++++++++++++ tests/test_everything.py | 3 +++ 2 files changed, 15 insertions(+) commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f Author: John (J5) Palmieri -Date: Sat May 22 13:21:30 2010 +0200 +Date: Sat May 22 13:21:30 2010 +0200 Return an empty list when a NULL GList and GSList is returned @@ -30901,21 +31000,21 @@ Date: Sat May 22 13:21:30 2010 +0200 GList or GSList return * Many PyGtk apps do this: - for i in range(len(obj.get_list())): - ... + for i in range(len(obj.get_list())): + ... * If we were to continue to return None, they would have to add a check which is needlessly verbose and isn't very "pythonic" https://bugzilla.gnome.org/show_bug.cgi?id=619232 - gi/pygi-argument.c | 6 ------ + gi/pygi-argument.c | 6 ------ tests/test_everything.py | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) commit 71a2148b00dfdda99e0d961ae39b901608724e59 Author: Steve Frécinaux -Date: Fri May 21 19:05:03 2010 +0200 +Date: Fri May 21 19:05:03 2010 +0200 Fix warning in configure. @@ -30929,7 +31028,7 @@ Date: Fri May 21 19:05:03 2010 +0200 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3 Author: Tomeu Vizoso -Date: Thu Apr 29 13:06:15 2010 +0200 +Date: Thu Apr 29 13:06:15 2010 +0200 GTypeInterface cannot be unrefed @@ -30940,7 +31039,7 @@ Date: Thu Apr 29 13:06:15 2010 +0200 commit ab1aaff108d23aabd28c3634edfb67236eb55460 Author: John (J5) Palmieri -Date: Sat May 22 13:09:48 2010 +0200 +Date: Sat May 22 13:09:48 2010 +0200 fix NULL array unit tests and fix crasher when sending None as an array @@ -30970,19 +31069,19 @@ Date: Sat May 22 13:09:48 2010 +0200 * Fixing up the tests revealed a latent crasher bug when passing None to an - interface that accepts an array. The fix was to check for NULL + interface that accepts an array. The fix was to check for NULL and set the length argument to 0 when invoking the bound method. https://bugzilla.gnome.org/show_bug.cgi?id=619235 - gi/pygi-invoke.c | 6 +++++- + gi/pygi-invoke.c | 6 +++++- tests/test_everything.py | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) commit e928ea9b1df9d87314ff8e93479530e26be9bd87 Author: John (J5) Palmieri -Date: Fri May 14 14:57:27 2010 -0400 +Date: Fri May 14 14:57:27 2010 -0400 don't error out on methods with callbacks as return type @@ -30998,7 +31097,7 @@ Date: Fri May 14 14:57:27 2010 -0400 commit d963007aab123f4e53a944a66a935db2d22907c2 Author: John (J5) Palmieri -Date: Mon May 17 11:54:34 2010 -0400 +Date: Mon May 17 11:54:34 2010 -0400 reset sys.argv to the return value of Gtk.init_check @@ -31017,20 +31116,20 @@ Date: Mon May 17 11:54:34 2010 -0400 commit 897420ed97cc4a7b8a806894df5e76ed72617614 Author: John (J5) Palmieri -Date: Wed May 12 14:25:32 2010 -0400 +Date: Wed May 12 14:25:32 2010 -0400 add GtkUIManager and GtkActionGroup overrides * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476 - gi/overrides/Gtk.py | 167 + gi/overrides/Gtk.py | 167 +++++++++++++++++++++++++++++++++++++++++++++++- tests/test_overrides.py | 45 +++++++++++++ 2 files changed, 211 insertions(+), 1 deletion(-) commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f Author: Zach Goldberg -Date: Thu May 13 01:02:24 2010 -0400 +Date: Thu May 13 01:02:24 2010 -0400 Bump version for development to 0.5.2 (hopefully 0.6) @@ -31039,45 +31138,45 @@ Date: Thu May 13 01:02:24 2010 -0400 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9 Author: Tomeu Vizoso -Date: Wed May 5 15:54:39 2010 +0200 +Date: Wed May 5 15:54:39 2010 +0200 Fix overrides.Gdk.Color.__new__ args https://bugzilla.gnome.org/show_bug.cgi?id=617757 - gi/overrides/Gdk.py | 2 +- - tests/Makefile.am | 3 ++- + gi/overrides/Gdk.py | 2 +- + tests/Makefile.am | 3 ++- tests/test_overrides.py | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88 Author: John (J5) Palmieri -Date: Thu Apr 29 14:55:33 2010 -0400 +Date: Thu Apr 29 14:55:33 2010 -0400 wrap GObject module so we can go through GI when requesting attrs * This gives us the best of both worlds. - We remain backwards compatable with pygobject by checking for existing - attrs in the gobject module + attrs in the gobject module - If an attr does not exist we use the GI mechanism to look it up so that - things like flags look the same whether exported from GObject, Gtk - or any GI managed library + things like flags look the same whether exported from GObject, Gtk + or any GI managed library * add DynamicGObjectModule tests and make tests use the new module - change import gobject to from gi.repository import GObject - gi/importer.py | 6 ++-- - gi/module.py | 30 ++++++++++++++++ + gi/importer.py | 6 ++-- + gi/module.py | 30 ++++++++++++++++ tests/test_everything.py | 6 ++-- - tests/test_gi.py | 93 + tests/test_gi.py | 93 ++++++++++++++++++++++++++---------------------- 4 files changed, 87 insertions(+), 48 deletions(-) commit 64324a4c629432b2e688299b6edbfd5da4439a2a Author: John (J5) Palmieri -Date: Fri Apr 30 14:11:55 2010 -0400 +Date: Fri Apr 30 14:11:55 2010 -0400 override Gdk.Drawable to add cairo_create convinience method @@ -31086,21 +31185,21 @@ Date: Fri Apr 30 14:11:55 2010 -0400 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e Author: Tomeu Vizoso -Date: Mon May 3 19:13:46 2010 +0200 +Date: Mon May 3 19:13:46 2010 +0200 Fix passing callbacks as constructor args https://bugzilla.gnome.org/show_bug.cgi?id=617551 - gi/pygi-callbacks.c | 3 ++- - gi/pygi-callbacks.h | 1 + - gi/pygi-invoke.c | 7 +++++-- + gi/pygi-callbacks.c | 3 ++- + gi/pygi-callbacks.h | 1 + + gi/pygi-invoke.c | 7 +++++-- tests/test_everything.py | 21 +++++++++++++++++++++ 4 files changed, 29 insertions(+), 3 deletions(-) commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5 Author: Tomeu Vizoso -Date: Wed May 5 08:06:03 2010 +0200 +Date: Wed May 5 08:06:03 2010 +0200 Avoid freeing garbage @@ -31109,31 +31208,31 @@ Date: Wed May 5 08:06:03 2010 +0200 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba Author: Tomeu Vizoso -Date: Thu Apr 29 13:09:03 2010 +0200 +Date: Thu Apr 29 13:09:03 2010 +0200 Only hookup vfunc implementations for locally-defined methods https://bugzilla.gnome.org/show_bug.cgi?id=617160 - gi/types.py | 10 +++++++++- + gi/types.py | 10 +++++++++- tests/test_gi.py | 10 ++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d Author: Tomeu Vizoso -Date: Mon May 3 18:35:13 2010 +0200 +Date: Mon May 3 18:35:13 2010 +0200 Fix passing GDestroyNotify https://bugzilla.gnome.org/show_bug.cgi?id=617542 - gi/pygi-invoke.c | 3 ++- + gi/pygi-invoke.c | 3 ++- tests/test_everything.py | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) commit 9669acd0fad193013ef3505ae231588307f9834c Author: Tomeu Vizoso -Date: Mon May 3 12:23:58 2010 +0200 +Date: Mon May 3 12:23:58 2010 +0200 Move invocation code to its own file @@ -31150,7 +31249,7 @@ Date: Mon May 3 12:23:58 2010 +0200 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666 Author: John (J5) Palmieri -Date: Tue Apr 27 19:13:08 2010 -0400 +Date: Tue Apr 27 19:13:08 2010 -0400 Add the Gtk.Builder override @@ -31159,19 +31258,19 @@ Date: Tue Apr 27 19:13:08 2010 -0400 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e Author: Tomeu Vizoso -Date: Fri Apr 30 15:00:52 2010 +0200 +Date: Fri Apr 30 15:00:52 2010 +0200 Fix GAsyncReadyCallback https://bugzilla.gnome.org/show_bug.cgi?id=616236 - gi/pygi-closure.c | 8 +++++++- + gi/pygi-closure.c | 8 +++++++- tests/test_everything.py | 16 ++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e Author: Tomeu Vizoso -Date: Thu Apr 29 18:32:50 2010 +0200 +Date: Thu Apr 29 18:32:50 2010 +0200 Add override for Gdk.Color @@ -31182,7 +31281,7 @@ Date: Thu Apr 29 18:32:50 2010 +0200 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f Author: John (J5) Palmieri -Date: Wed Apr 28 13:19:48 2010 -0400 +Date: Wed Apr 28 13:19:48 2010 -0400 make __all__ be a list of strings, fix override mechanism to use it correctly @@ -31194,28 +31293,28 @@ Date: Wed Apr 28 13:19:48 2010 -0400 against None as well as in __all__ * went through all the overrides and made __all__ be a list of strings - gi/module.py | 9 ++++----- + gi/module.py | 9 ++++----- gi/overrides/GIMarshallingTests.py | 2 +- - gi/overrides/Gdk.py | 2 +- + gi/overrides/Gdk.py | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) commit 64fa8f936bad9a90628df446e690d67d947a0a22 Author: Tomeu Vizoso -Date: Mon Apr 26 11:41:06 2010 +0200 +Date: Mon Apr 26 11:41:06 2010 +0200 One more step at refactoring _wrap_g_function_info_invoke https://bugzilla.gnome.org/show_bug.cgi?id=616357 - gi/pygi-callbacks.c | 22 +- - gi/pygi-callbacks.h | 4 +- + gi/pygi-callbacks.c | 22 +- + gi/pygi-callbacks.h | 4 +- gi/pygi-info.c | 582 ++++++++++++++++++++++++++++++---------------------- 3 files changed, 346 insertions(+), 262 deletions(-) commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624 Author: Zach Goldberg -Date: Tue Apr 20 23:23:38 2010 -0400 +Date: Tue Apr 20 23:23:38 2010 -0400 Step 1 of refactoring _wrap_g_function_info_invoke @@ -31231,19 +31330,19 @@ Date: Tue Apr 20 23:23:38 2010 -0400 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22 Author: Tomeu Vizoso -Date: Tue Apr 27 10:24:35 2010 +0200 +Date: Tue Apr 27 10:24:35 2010 +0200 Dont force subclasses to implement all virtual methods of their bases https://bugzilla.gnome.org/show_bug.cgi?id=616674 - gi/types.py | 4 ++-- + gi/types.py | 4 ++-- tests/test_gi.py | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa Author: Zach Goldberg -Date: Sun Apr 25 15:09:08 2010 -0400 +Date: Sun Apr 25 15:09:08 2010 -0400 Correct the reference counting of userdata in closure handling @@ -31253,17 +31352,17 @@ Date: Sun Apr 25 15:09:08 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=616786 - gi/pygi-closure.c | 3 +++ + gi/pygi-closure.c | 3 +++ tests/test_everything.py | 13 +++++++++++++ 2 files changed, 16 insertions(+) commit 2b12049306bf57513c43d08017185468bf897a4a Author: Zach Goldberg -Date: Tue Apr 20 22:57:14 2010 -0400 +Date: Tue Apr 20 22:57:14 2010 -0400 Change SCOPE_TYPE_INVALID handling to be a more verbose error. - (Previous commit did not include the proper error message. I blame + (Previous commit did not include the proper error message. I blame git-bz) https://bugzilla.gnome.org/show_bug.cgi?id=616356 @@ -31273,7 +31372,7 @@ Date: Tue Apr 20 22:57:14 2010 -0400 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a Author: Zach Goldberg -Date: Tue Apr 20 23:53:57 2010 -0400 +Date: Tue Apr 20 23:53:57 2010 -0400 Force out arguments to be initialized as NULL. Comes with a test. @@ -31294,7 +31393,7 @@ Date: Tue Apr 20 23:53:57 2010 -0400 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13 Author: Zach Goldberg -Date: Tue Apr 20 22:57:14 2010 -0400 +Date: Tue Apr 20 22:57:14 2010 -0400 Change SCOPE_TYPE_INVALID handling to be a warning and not an error @@ -31311,27 +31410,27 @@ Date: Tue Apr 20 22:57:14 2010 -0400 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c Author: Zach Goldberg -Date: Tue Apr 20 22:43:20 2010 -0400 +Date: Tue Apr 20 22:43:20 2010 -0400 Refactor implementation of scope call to allow for multiple calls during lifetime of function invocation. https://bugzilla.gnome.org/show_bug.cgi?id=616343 - gi/pygi-closure.c | 10 +++++----- - gi/pygi-info.c | 9 +++++++-- + gi/pygi-closure.c | 10 +++++----- + gi/pygi-info.c | 9 +++++++-- tests/test_everything.py | 9 +++++++++ 3 files changed, 21 insertions(+), 7 deletions(-) commit 3ba666b7ab9c393963922c272e7d87bff50a93f9 Author: Tomeu Vizoso -Date: Sat Jan 2 16:31:55 2010 +0100 +Date: Sat Jan 2 16:31:55 2010 +0100 Add basic support for unions https://bugzilla.gnome.org/show_bug.cgi?id=603598 - gi/module.py | 3 +- + gi/module.py | 3 +- gi/pygi-argument.c | 24 +++----------- gi/pygi-boxed.c | 18 +++++++++-- gi/pygi-info.c | 94 @@ -31342,7 +31441,7 @@ Date: Sat Jan 2 16:31:55 2010 +0100 commit af9e4e086d160fe7fb24758ed81753e784b198a8 Author: Simon van der Linden -Date: Fri Jan 22 22:16:32 2010 +0100 +Date: Fri Jan 22 22:16:32 2010 +0100 Bump required GLib version to 2.22 @@ -31350,13 +31449,13 @@ Date: Fri Jan 22 22:16:32 2010 +0100 keep PyGI backward-compatible. - configure.ac | 2 +- + configure.ac | 2 +- gi/pygi-private.h | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) commit c0f40de5648e2ebc556c449342a0025ffce2e33b Author: Tomeu Vizoso -Date: Sun Apr 18 11:50:14 2010 -0400 +Date: Sun Apr 18 11:50:14 2010 -0400 Refactor get_* methods in the *Info wrappers @@ -31368,7 +31467,7 @@ Date: Sun Apr 18 11:50:14 2010 -0400 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd Author: Tomeu Vizoso -Date: Tue Apr 20 15:12:47 2010 +0200 +Date: Tue Apr 20 15:12:47 2010 +0200 Print any error messages raised inside _pygi_closure_handle @@ -31379,7 +31478,7 @@ Date: Tue Apr 20 15:12:47 2010 +0200 commit d1ba23cdd05686ea721425f233371d573a2e9cce Author: Tomeu Vizoso -Date: Thu Apr 22 19:57:17 2010 +0200 +Date: Thu Apr 22 19:57:17 2010 +0200 Rename variable with a very generic name @@ -31388,21 +31487,21 @@ Date: Thu Apr 22 19:57:17 2010 +0200 commit 391640b30ede50af3667b1019edb72bd79f2c68c Author: Tomeu Vizoso -Date: Thu Apr 22 19:53:06 2010 +0200 +Date: Thu Apr 22 19:53:06 2010 +0200 Add support for enums without GType https://bugzilla.gnome.org/show_bug.cgi?id=616520 - gi/module.py | 6 +++++- + gi/module.py | 6 +++++- gi/pygi-argument.c | 22 +++++++++++++++++++++- - gi/types.py | 14 ++++++++++++++ + gi/types.py | 14 ++++++++++++++ tests/test_gi.py | 30 ++++++++++++++++++++++++++++-- 4 files changed, 68 insertions(+), 4 deletions(-) commit 89704f60ddae0c81f1383d86491ef2785590a353 Author: Zach Goldberg -Date: Tue Apr 20 22:20:42 2010 -0400 +Date: Tue Apr 20 22:20:42 2010 -0400 Bump version during development to 0.5.1 @@ -31417,7 +31516,7 @@ Date: Tue Apr 20 22:20:42 2010 -0400 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75 Author: John Ehresman -Date: Tue Apr 20 20:40:02 2010 -0400 +Date: Tue Apr 20 20:40:02 2010 -0400 Added missing , to keyword list of gio.GFile.set_attribute @@ -31426,7 +31525,7 @@ Date: Tue Apr 20 20:40:02 2010 -0400 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e Author: John Ehresman -Date: Tue Apr 20 20:37:12 2010 -0400 +Date: Tue Apr 20 20:37:12 2010 -0400 Fix arg conversion in gio.GFile.set_attribute @@ -31436,7 +31535,7 @@ Date: Tue Apr 20 20:37:12 2010 -0400 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6 Author: John Ehresman -Date: Tue Apr 20 20:01:53 2010 -0400 +Date: Tue Apr 20 20:01:53 2010 -0400 Set constants under python 2.5 or before @@ -31445,23 +31544,23 @@ Date: Tue Apr 20 20:01:53 2010 -0400 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0 Author: José Alburquerque -Date: Sun Apr 18 20:22:21 2010 -0400 +Date: Sun Apr 18 20:22:21 2010 -0400 - Doc Extractor: Use replacements that make sense for &...; - expressions. + Doc Extractor: Use replacements that make sense for &...; + expressions. - * codegen/docextract_to_xml.py: Use # and   respectively - for - # (#) and  . These are interpreted correctly in XML - and will - not make the parsing crash. + * codegen/docextract_to_xml.py: Use # and   + respectively for + # (#) and  . These are interpreted correctly in + XML and will + not make the parsing crash. codegen/docextract_to_xml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b Author: Zach Goldberg -Date: Sun Apr 18 14:32:06 2010 -0400 +Date: Sun Apr 18 14:32:06 2010 -0400 Bump version for release 0.5.0 @@ -31471,7 +31570,7 @@ Date: Sun Apr 18 14:32:06 2010 -0400 commit 3293c91d90c5c497b45e42a527d7f79f7435823e Author: Tomeu Vizoso -Date: Sun Apr 18 14:28:13 2010 -0400 +Date: Sun Apr 18 14:28:13 2010 -0400 One more missing file... @@ -31480,7 +31579,7 @@ Date: Sun Apr 18 14:28:13 2010 -0400 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d Author: Tomeu Vizoso -Date: Sun Apr 18 14:18:44 2010 -0400 +Date: Sun Apr 18 14:18:44 2010 -0400 Add more stuff to the tarballs @@ -31490,17 +31589,17 @@ Date: Sun Apr 18 14:18:44 2010 -0400 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd Author: Tomeu Vizoso -Date: Sun Apr 18 13:48:45 2010 -0400 +Date: Sun Apr 18 13:48:45 2010 -0400 Add one more missing file to tarballs gi/overrides/GIMarshallingTests.py | 0 - gi/overrides/Makefile.am | 1 + + gi/overrides/Makefile.am | 1 + 2 files changed, 1 insertion(+) commit 979e01852fc7f830ee91093accdc387fa535075f Author: Tomeu Vizoso -Date: Sun Apr 18 13:45:29 2010 -0400 +Date: Sun Apr 18 13:45:29 2010 -0400 Add missing file to tarballs @@ -31509,28 +31608,28 @@ Date: Sun Apr 18 13:45:29 2010 -0400 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89 Author: Tomeu Vizoso -Date: Sun Apr 18 13:11:11 2010 -0400 +Date: Sun Apr 18 13:11:11 2010 -0400 Implement vfuncs. https://bugzilla.gnome.org/show_bug.cgi?id=602736 - gi/gimodule.c | 89 + gi/gimodule.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-argument.c | 1 + - gi/pygi-callbacks.c | 3 +- - gi/pygi-closure.c | 4 +-- - gi/pygi-closure.h | 2 +- + gi/pygi-argument.c | 1 + + gi/pygi-callbacks.c | 3 +- + gi/pygi-closure.c | 4 +-- + gi/pygi-closure.h | 2 +- gi/pygi-info.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++-- - gi/pygi-info.h | 1 + - gi/types.py | 44 +++++++++++++++++--------- + gi/pygi-info.h | 1 + + gi/types.py | 44 +++++++++++++++++--------- tests/test_gi.py | 18 +++++++++++ 9 files changed, 227 insertions(+), 21 deletions(-) commit e239faacb4798fe2d166233ca1a19a843a6225e3 Author: Zach Goldberg -Date: Sun Apr 18 11:59:06 2010 -0400 +Date: Sun Apr 18 11:59:06 2010 -0400 Fix a typo in pygi-callbacks.c header @@ -31539,33 +31638,33 @@ Date: Sun Apr 18 11:59:06 2010 -0400 commit 79aa416ae8632b123da61d79fb820d9e2704209c Author: Zach Goldberg -Date: Sat Apr 17 12:00:05 2010 -0400 +Date: Sat Apr 17 12:00:05 2010 -0400 Implement nullable argument support, including tests https://bugzilla.gnome.org/show_bug.cgi?id=616035 - gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------ - gi/pygi-argument.h | 3 ++- - gi/pygi-info.c | 19 +++++++++++++------ + gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------ + gi/pygi-argument.h | 3 ++- + gi/pygi-info.c | 19 +++++++++++++------ tests/test_everything.py | 28 ++++++++++++++++++++++++++++ 4 files changed, 80 insertions(+), 13 deletions(-) commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e Author: Zach Goldberg -Date: Sat Apr 17 12:56:19 2010 -0400 +Date: Sat Apr 17 12:56:19 2010 -0400 Move some tests from test_gi to test_everything tests/test_everything.py | 60 ++++++++++++++++++++++++++++++++++++++++++++++ - tests/test_gi.py | 62 + tests/test_gi.py | 62 +----------------------------------------------- 2 files changed, 61 insertions(+), 61 deletions(-) commit a90298cc9e6c0f336f887a71d80b1efd07ec2811 Author: Tomeu Vizoso -Date: Sun Apr 18 10:44:35 2010 -0400 +Date: Sun Apr 18 10:44:35 2010 -0400 Update to latest version of the pygi-convert.sh script @@ -31575,7 +31674,7 @@ Date: Sun Apr 18 10:44:35 2010 -0400 commit 34a39318c674737c6d64f2430456daef86ba1626 Author: Colin Walters -Date: Sun Apr 18 10:40:44 2010 -0400 +Date: Sun Apr 18 10:40:44 2010 -0400 Add Tomeu's prototype script for converting pygtk to pygi @@ -31585,7 +31684,7 @@ Date: Sun Apr 18 10:40:44 2010 -0400 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c Author: Olav Vitters -Date: Sun Apr 18 13:01:58 2010 +0200 +Date: Sun Apr 18 13:01:58 2010 +0200 Fix doap file @@ -31594,7 +31693,7 @@ Date: Sun Apr 18 13:01:58 2010 +0200 commit 0de73d0bba79f92af22f43693f3575c596712416 Author: Zach Goldberg -Date: Sat Apr 17 16:01:31 2010 -0400 +Date: Sat Apr 17 16:01:31 2010 -0400 Add Zach Goldberg as a pygi maintainer @@ -31603,7 +31702,7 @@ Date: Sat Apr 17 16:01:31 2010 -0400 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd Author: Tomeu Vizoso -Date: Sat Apr 17 11:47:54 2010 -0400 +Date: Sat Apr 17 11:47:54 2010 -0400 Require PyCairo @@ -31612,7 +31711,7 @@ Date: Sat Apr 17 11:47:54 2010 -0400 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad Author: Tomeu Vizoso -Date: Sat Apr 17 11:40:14 2010 -0400 +Date: Sat Apr 17 11:40:14 2010 -0400 Add examples/cairo-demo.py @@ -31622,7 +31721,7 @@ Date: Sat Apr 17 11:40:14 2010 -0400 commit 610dd1eec87fab5c8c3badb4d104cba74477c745 Author: Zach Goldberg -Date: Sat Apr 17 09:17:14 2010 -0400 +Date: Sat Apr 17 09:17:14 2010 -0400 Implementation callback support with scoping and basic argument support. @@ -31640,44 +31739,44 @@ Date: Sat Apr 17 09:17:14 2010 -0400 https://bugzilla.gnome.org/show_bug.cgi?id=603095 - configure.ac | 2 + - gi/Makefile.am | 4 + - gi/pygi-argument.c | 12 ++- + configure.ac | 2 + + gi/Makefile.am | 4 + + gi/pygi-argument.c | 12 ++- gi/pygi-callbacks.c | 216 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-callbacks.h | 47 ++++++++++++ + gi/pygi-callbacks.h | 47 ++++++++++++ gi/pygi-closure.c | 205 +++++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-closure.h | 57 ++++++++++++++ - gi/pygi-info.c | 49 ++++++++++-- - gi/pygi-private.h | 2 + - tests/test_gi.py | 64 +++++++++++++++- + gi/pygi-closure.h | 57 ++++++++++++++ + gi/pygi-info.c | 49 ++++++++++-- + gi/pygi-private.h | 2 + + tests/test_gi.py | 64 +++++++++++++++- 10 files changed, 648 insertions(+), 10 deletions(-) commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f Author: Tomeu Vizoso -Date: Sat Apr 17 10:54:45 2010 -0400 +Date: Sat Apr 17 10:54:45 2010 -0400 Add support for foreign structs https://bugzilla.gnome.org/show_bug.cgi?id=603712 - configure.ac | 6 +++ - gi/Makefile.am | 10 +++- - gi/gimodule.c | 7 +++ - gi/pygi-argument.c | 27 ++++++++++- + configure.ac | 6 +++ + gi/Makefile.am | 10 +++- + gi/gimodule.c | 7 +++ + gi/pygi-argument.c | 27 ++++++++++- gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++ gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++ - gi/pygi-foreign.c | 123 + gi/pygi-foreign.c | 123 +++++++++++++++++++++++++++++++++++++++++++++++ - gi/pygi-foreign.h | 52 ++++++++++++++++++++ - gi/pygi-private.h | 1 + + gi/pygi-foreign.h | 52 ++++++++++++++++++++ + gi/pygi-private.h | 1 + tests/test_everything.py | 48 ++++++++++++++++++ 10 files changed, 428 insertions(+), 4 deletions(-) commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155 Author: Tomeu Vizoso -Date: Fri Apr 16 14:35:13 2010 -0400 +Date: Fri Apr 16 14:35:13 2010 -0400 Allow creating structs with pointers @@ -31689,18 +31788,18 @@ Date: Fri Apr 16 14:35:13 2010 -0400 commit fc9ff02e53aacf9e77625c70985e99813544912a Author: Tomeu Vizoso -Date: Fri Apr 16 10:40:40 2010 -0400 +Date: Fri Apr 16 10:40:40 2010 -0400 Add gdb and valgrind variants for the tests - HACKING | 19 +++++++++++++++++++ - Makefile.am | 12 ++++++++++++ + HACKING | 19 +++++++++++++++++++ + Makefile.am | 12 ++++++++++++ tests/Makefile.am | 14 +++++++++++++- 3 files changed, 44 insertions(+), 1 deletion(-) commit 695ac7bc5c60371a32538d690c7a15509f3c9637 Author: John Stowers -Date: Fri Apr 16 14:36:11 2010 +1200 +Date: Fri Apr 16 14:36:11 2010 +1200 Add build docs for windows @@ -31710,7 +31809,7 @@ Date: Fri Apr 16 14:36:11 2010 +1200 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a Author: John Stowers -Date: Thu Apr 15 13:40:39 2010 +1200 +Date: Thu Apr 15 13:40:39 2010 +1200 Setup.py cosmetic tidy @@ -31718,12 +31817,12 @@ Date: Thu Apr 15 13:40:39 2010 +1200 * link to versioned docs pygobject_postinstall.py | 43 ++++++++++++++++++++++++++----------------- - setup.py | 39 ++++++++++++++------------------------- + setup.py | 39 ++++++++++++++------------------------- 2 files changed, 40 insertions(+), 42 deletions(-) commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959 Author: John Stowers -Date: Sat Jul 25 14:12:30 2009 +1200 +Date: Sat Jul 25 14:12:30 2009 +1200 Fix crash when importing gio @@ -31736,7 +31835,7 @@ Date: Sat Jul 25 14:12:30 2009 +1200 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b Author: John Stowers -Date: Thu Apr 15 22:52:48 2010 +1200 +Date: Thu Apr 15 22:52:48 2010 +1200 Bug 589671 - Dont use generate-constants @@ -31744,19 +31843,18 @@ Date: Thu Apr 15 22:52:48 2010 +1200 largely unneeded. Just add the G_XXX constants to the module directly - 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(-) + 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(-) commit 6d7a3ab9ce352692d0faccbf106974d264fa953d Author: John Stowers -Date: Thu Apr 15 22:49:17 2010 +1200 +Date: Thu Apr 15 22:49:17 2010 +1200 Bug 589671 - Fix setup.py for windows build @@ -31765,14 +31863,14 @@ Date: Thu Apr 15 22:49:17 2010 +1200 * Modernise setup.py and add more util functions to dsextras - dsextras.py | 32 ++++++++++++++++--- + dsextras.py | 32 ++++++++++++++++--- setup.py | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 116 insertions(+), 18 deletions(-) commit d11ef47072acae5801ce25c68d1289e425eb9fc2 Author: John Stowers -Date: Thu Apr 15 22:48:28 2010 +1200 +Date: Thu Apr 15 22:48:28 2010 +1200 Include pygsource.h @@ -31781,7 +31879,7 @@ Date: Thu Apr 15 22:48:28 2010 +1200 commit c5f6af4844c74354abc508d17969d9d45153acf2 Author: Tomeu Vizoso -Date: Thu Apr 15 14:25:59 2010 -0400 +Date: Thu Apr 15 14:25:59 2010 -0400 Add metadata to the .doap file @@ -31790,7 +31888,7 @@ Date: Thu Apr 15 14:25:59 2010 -0400 commit 81796cb77cbe6b9598a652bd63c047af93e747ee Author: John (J5) Palmieri -Date: Wed Apr 14 12:01:43 2010 -0400 +Date: Wed Apr 14 12:01:43 2010 -0400 override that wasn't checked in - fixes some test cases @@ -31800,7 +31898,7 @@ Date: Wed Apr 14 12:01:43 2010 -0400 commit de5d2ea1584b01af809346316c7fbd4955a9db1d Author: Colin Walters -Date: Wed Apr 14 10:06:07 2010 -0400 +Date: Wed Apr 14 10:06:07 2010 -0400 [Makefile.am] Clean up CFLAGS handling, don't override all: target @@ -31809,7 +31907,7 @@ Date: Wed Apr 14 10:06:07 2010 -0400 is unnecessary since we only have one target. More importantly, avoid overriding the all: target here; that's - owned by Automake. Use all-local instead to append things to + owned by Automake. Use all-local instead to append things to the end of the normal build. gi/Makefile.am | 15 +++++++++------ @@ -31817,174 +31915,189 @@ Date: Wed Apr 14 10:06:07 2010 -0400 commit 5a47e96e3f580c973e6880dafa747f54c144c760 Author: Tomeu Vizoso -Date: Tue Apr 13 19:15:49 2010 -0400 +Date: Tue Apr 13 19:15:49 2010 -0400 Use GIMarshallingTests (old TestGI) in gobject-introspection gi/overrides/TestGI.py | 69 -- - tests/Makefile.am | 40 - - tests/libtestgi.c | 2924 + tests/Makefile.am | 40 - + tests/libtestgi.c | 2924 ------------------------------------------------ - tests/libtestgi.h | 628 ----------- - tests/test_gi.py | 832 +++++++------- + tests/libtestgi.h | 628 ----------- + tests/test_gi.py | 832 +++++++------- 5 files changed, 416 insertions(+), 4077 deletions(-) commit 681832c3cd040433a488a400693b68f213bf7078 Author: José Alburquerque -Date: Tue Apr 13 13:33:12 2010 -0400 +Date: Tue Apr 13 13:33:12 2010 -0400 - codegen/docextract_to_xml.py: One more &...; replacement ( ). + codegen/docextract_to_xml.py: One more &...; replacement + ( ). - * codegen/docextract_to_xml.py: Replace   which also causes - errors with a regular space. + * codegen/docextract_to_xml.py: Replace   which also + causes + errors with a regular space. codegen/docextract_to_xml.py | 1 + 1 file changed, 1 insertion(+) commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb Author: José Alburquerque -Date: Tue Apr 13 12:28:10 2010 -0400 +Date: Tue Apr 13 12:28:10 2010 -0400 - codegen/docextract_to_xml.py: Replace some &..; that cause errors. + codegen/docextract_to_xml.py: Replace some &..; that cause + errors. - * codegen/docextract_to_xml.py (escape_text): Replace some &..; - expressions that cause errors with more appropriate output. + * codegen/docextract_to_xml.py (escape_text): Replace + some &..; + expressions that cause errors with more appropriate output. codegen/docextract_to_xml.py | 4 ++++ 1 file changed, 4 insertions(+) commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e Author: José Alburquerque -Date: Sun Apr 11 17:46:40 2010 -0400 +Date: Sun Apr 11 17:46:40 2010 -0400 - codegen/docextract_to_xml.py: Handle C++ multi-line comments. + codegen/docextract_to_xml.py: Handle C++ multi-line comments. - * codegen/docextract_to_xml.py (escape_text): Translate '/*' - and '*/' - in text to '/ *' and '* /' respectively so that comment errors - don't - show up when the descriptions that include C++ code with C++ - multi-line comments are used in Doxygen blocks. + * codegen/docextract_to_xml.py (escape_text): Translate '/*' + and '*/' + in text to '/ *' and '* /' respectively so that comment + errors don't + show up when the descriptions that include C++ code with C++ + multi-line comments are used in Doxygen blocks. codegen/docextract_to_xml.py | 9 +++++++++ 1 file changed, 9 insertions(+) commit a2fcdecbb5e109da5568084d7acb2332af83b6f5 Author: José Alburquerque -Date: Sun Apr 11 16:15:01 2010 -0400 +Date: Sun Apr 11 16:15:01 2010 -0400 - codegen/docextract.py: Stop final section processing on first - match. + codegen/docextract.py: Stop final section processing on + first match. - * codegen/docextract.py (process_final_sections): Modify the final - section pattern matching for loop to stop on first match so - that it - doesn't match both a colon return ('Returns: ...') and a no colon - return ('Returns ...') which leads to annotation extraction - errors. + * codegen/docextract.py (process_final_sections): Modify + the final + section pattern matching for loop to stop on first match so + that it + doesn't match both a colon return ('Returns: ...') and a + no colon + return ('Returns ...') which leads to annotation extraction + errors. codegen/docextract.py | 4 ++++ 1 file changed, 4 insertions(+) commit 825fd305f03b726665edca34963978ce27448182 Author: José Alburquerque -Date: Sun Apr 11 15:45:09 2010 -0400 - - Update doc extraction tool to handle GObjectIntrospection - annotations. - - * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc. - (GtkDoc::annotations): Added a list field to store annotations - which - are 2-tuples of (name, value). - (GtkDoc::ret): Modified field to store the return description - along - with a list of annotations as described above. - (GtkDoc::params): Now holds a list of 3-tupples: name, - description and - annotations (as described above). - (GtkDoc::block_type): Add a field to tell if the comment block - is a - function block, signal block or property block. - (GtkDoc::set_type): - (GtkDoc::get_type): Add methods for setting/getting the block - type. - (GtkDoc::add_param): Modified to also accept a list of - annotations to - be added with the parameter. - (GtkDoc::add_annotation): - (GtkDoc::get_annotations): Added methods to add/get annotations - for - the comment block. - (GtkDoc::append_description): Renamed to append_to_description(). - (GtkDoc::get_param_description): Removed unused method. - (GtkDoc::get_description): Added method to get block description. - (GtkDoc::add_return): Added method to add a return accepting - the first - line of the description and its annotations. - (GtkDoc::append_return): Renamed to append_to_return(). - (Regular expressions): - - Made the names of the variables un-abbreviated. - - - Added 'since', 'deprecated' and 'rename to' regular - expressions. - - - Modified the return matching regular expression so that - it doesn't - match descriptions that begin with 'Returns ...'. - This improves - the docs of many function. - - - Added signal and property comment block identifier matching - regular - expressions in case those are useful. - - - Modified existing identifier matching regular expressions - (function, - signal, and property regular expressions) to properly parse - annotations. Also added a regular expression for extracting - annotations from the parameter and return descriptions. - - - Refined the function name matching regular expression to - only accept - identifiers that begin with a lowercase letter. This eliminates - 'SECTION:' matches. - - - Finally, grouped commonly related expressions like - return_pattern, - since_pattern, etc. into groups (in lists) so that matching - those - sections can be done using loops. - - (Parsing algorithm): Modified the algorithm to use a functional - approach to parsing. Extra methods like skip_to_comment() and - processs_params() have been added and used in the parse_file() - function to now process the comment blocks. - (parse_dir): Added file processing output to stderr. - * codegen/docextract_to_xml.py (usage): Added function to - print out - the usage. - (print_annotations): Added function to print the given list of - annotations. - (options): Added --with-signals (-i), with-properties (-p) and - --with-annotation (-a) to the existing --source-dir (-s) option. - - (algorithm): Now prints annotations, if specified. Also, prints - signals and properties correctly (using names like - Class::signal-one - for signals and Classs:property) with xml such as .... The return xml is slightly modified with - annotations but this would only be exhibited if annotation xml is - requested. - - codegen/docextract.py | 439 +Date: Sun Apr 11 15:45:09 2010 -0400 + + Update doc extraction tool to handle GObjectIntrospection + annotations. + + * codegen/docextract.py (FunctionDoc): Renamed class to + GtkDoc. + (GtkDoc::annotations): Added a list field to store annotations + which + are 2-tuples of (name, value). + (GtkDoc::ret): Modified field to store the return description + along + with a list of annotations as described above. + (GtkDoc::params): Now holds a list of 3-tupples: name, + description and + annotations (as described above). + (GtkDoc::block_type): Add a field to tell if the comment + block is a + function block, signal block or property block. + (GtkDoc::set_type): + (GtkDoc::get_type): Add methods for setting/getting the + block type. + (GtkDoc::add_param): Modified to also accept a list of + annotations to + be added with the parameter. + (GtkDoc::add_annotation): + (GtkDoc::get_annotations): Added methods to add/get + annotations for + the comment block. + (GtkDoc::append_description): Renamed to + append_to_description(). + (GtkDoc::get_param_description): Removed unused method. + (GtkDoc::get_description): Added method to get block + description. + (GtkDoc::add_return): Added method to add a return accepting + the first + line of the description and its annotations. + (GtkDoc::append_return): Renamed to append_to_return(). + (Regular expressions): + - Made the names of the variables un-abbreviated. + + - Added 'since', 'deprecated' and 'rename to' regular + expressions. + + - Modified the return matching regular expression so that + it doesn't + match descriptions that begin with 'Returns ...'. + This improves + the docs of many function. + + - Added signal and property comment block identifier + matching regular + expressions in case those are useful. + + - Modified existing identifier matching regular expressions + (function, + signal, and property regular expressions) to properly parse + annotations. Also added a regular expression for extracting + annotations from the parameter and return descriptions. + + - Refined the function name matching regular expression to + only accept + identifiers that begin with a lowercase letter. + This eliminates + 'SECTION:' matches. + + - Finally, grouped commonly related expressions like + return_pattern, + since_pattern, etc. into groups (in lists) so that + matching those + sections can be done using loops. + + (Parsing algorithm): Modified the algorithm to use a + functional + approach to parsing. Extra methods like skip_to_comment() and + processs_params() have been added and used in the parse_file() + function to now process the comment blocks. + (parse_dir): Added file processing output to stderr. + * codegen/docextract_to_xml.py (usage): Added function to + print out + the usage. + (print_annotations): Added function to print the given list of + annotations. + (options): Added --with-signals (-i), with-properties (-p) and + --with-annotation (-a) to the existing --source-dir (-s) + option. + + (algorithm): Now prints annotations, if specified. Also, + prints + signals and properties correctly (using names like + Class::signal-one + for signals and Classs:property) with xml such as .... The return xml is slightly + modified with + annotations but this would only be exhibited if annotation + xml is + requested. + + codegen/docextract.py | 439 ++++++++++++++++++++++++++++++++++--------- codegen/docextract_to_xml.py | 87 ++++++--- 2 files changed, 414 insertions(+), 112 deletions(-) commit 9fef1acb42cd900d4a814a7378f60bc189121785 Author: Tomeu Vizoso -Date: Fri Apr 9 13:47:03 2010 +0200 +Date: Fri Apr 9 13:47:03 2010 +0200 Always create the .so link @@ -31993,13 +32106,13 @@ Date: Fri Apr 9 13:47:03 2010 +0200 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f Author: Paul Bolle -Date: Thu Apr 8 11:52:25 2010 +0200 +Date: Thu Apr 8 11:52:25 2010 +0200 Docs: replace gio.IO_ERROR_* with gio.ERROR_* Signed-off-by: Paul Bolle - docs/reference/pygio-file.xml | 58 + docs/reference/pygio-file.xml | 58 ++++++++++++++++++------------------ docs/reference/pygio-inputstream.xml | 22 +++++++------- docs/reference/pygio-mount.xml | 10 +++---- @@ -32007,7 +32120,7 @@ Date: Thu Apr 8 11:52:25 2010 +0200 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1 Author: Gian Mario Tagliaretti -Date: Mon Apr 5 18:10:42 2010 +0200 +Date: Mon Apr 5 18:10:42 2010 +0200 Bug 613341 - pygobject tests seem to require pygtk causing a circular dependencies problem @@ -32015,26 +32128,26 @@ Date: Mon Apr 5 18:10:42 2010 +0200 move tests that require pygtk to pygtk itself tests/test_conversion.py | 83 -------------- - tests/test_enum.py | 234 -------------------------------------- - tests/test_gtype.py | 112 ------------------ - tests/test_subtype.py | 289 + tests/test_enum.py | 234 -------------------------------------- + tests/test_gtype.py | 112 ------------------ + tests/test_subtype.py | 289 ----------------------------------------------- 4 files changed, 718 deletions(-) commit ef0ceb266a45715ece58642fb0042e3376416755 Author: Simon van der Linden -Date: Wed Feb 3 20:33:03 2010 +0100 +Date: Wed Feb 3 20:33:03 2010 +0100 Add modelines and copyright information to overrides modules - gi/overrides/Gdk.py | 21 +++++++++++++++++++++ - gi/overrides/Gtk.py | 21 +++++++++++++++++++++ + gi/overrides/Gdk.py | 21 +++++++++++++++++++++ + gi/overrides/Gtk.py | 21 +++++++++++++++++++++ gi/overrides/TestGI.py | 20 ++++++++++++++++++++ 3 files changed, 62 insertions(+) commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5 Author: Simon van der Linden -Date: Wed Feb 3 20:29:55 2010 +0100 +Date: Wed Feb 3 20:29:55 2010 +0100 Fix and complete overrides tests @@ -32044,26 +32157,26 @@ Date: Wed Feb 3 20:29:55 2010 +0100 gi/overrides/TestGI.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ - tests/test_gi.py | 8 +++++++- + tests/test_gi.py | 8 +++++++- 2 files changed, 56 insertions(+), 1 deletion(-) commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb Author: Simon van der Linden -Date: Thu Jan 21 17:30:51 2010 +0100 +Date: Thu Jan 21 17:30:51 2010 +0100 Don't raise an error in _pygi_import if pygi support is disabled http://bugzilla.gnome.org/show_bug.cgi?id=607674 - gobject/pygboxed.c | 6 +----- + gobject/pygboxed.c | 6 +----- gobject/pygi-external.h | 1 - - gobject/pygobject.c | 6 +----- - gobject/pygpointer.c | 6 +----- + gobject/pygobject.c | 6 +----- + gobject/pygpointer.c | 6 +----- 4 files changed, 3 insertions(+), 16 deletions(-) commit aefac8c5f64bf059dd6652f8a843d17b34fa0854 Author: Simon van der Linden -Date: Fri Jan 22 22:22:37 2010 +0100 +Date: Fri Jan 22 22:22:37 2010 +0100 Remove support for pointers to basic types as input-only argument and return value @@ -32075,8 +32188,8 @@ Date: Fri Jan 22 22:22:37 2010 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=607759 gi/pygi-argument.c | 586 ++++------------------------------------------- - gi/pygi-argument.h | 1 - - gi/pygi-info.c | 8 +- + gi/pygi-argument.h | 1 - + gi/pygi-info.c | 8 +- tests/libtestgi.c | 660 ----------------------------------------------------- tests/libtestgi.h | 86 ------- @@ -32085,7 +32198,7 @@ Date: Fri Jan 22 22:22:37 2010 +0100 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f Author: Simon van der Linden -Date: Fri Jan 22 13:41:21 2010 +0100 +Date: Fri Jan 22 13:41:21 2010 +0100 Restore the overrides support @@ -32103,20 +32216,20 @@ Date: Fri Jan 22 13:41:21 2010 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=602830 - gi/importer.py | 40 +++++++------------- - gi/module.py | 43 ++++++++++++++------- - gi/overrides/Gdk.py | 42 +++++++++++++-------- - gi/overrides/Gtk.py | 16 ++++---- - gi/types.py | 6 +++ + gi/importer.py | 40 +++++++------------- + gi/module.py | 43 ++++++++++++++------- + gi/overrides/Gdk.py | 42 +++++++++++++-------- + gi/overrides/Gtk.py | 16 ++++---- + gi/types.py | 6 +++ tests/libtestgi.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ - tests/libtestgi.h | 49 ++++++++++++++++++++++++ - tests/test_gi.py | 36 ++++++++++++++++++ + tests/libtestgi.h | 49 ++++++++++++++++++++++++ + tests/test_gi.py | 36 ++++++++++++++++++ 8 files changed, 273 insertions(+), 64 deletions(-) commit 289d641775d1ea52d2a5379126b70b7fcee46683 Author: Tomeu Vizoso -Date: Sun Jan 10 21:01:59 2010 +0100 +Date: Sun Jan 10 21:01:59 2010 +0100 Initialize PyGPollFD_Type.fd_obj to NULL @@ -32127,7 +32240,7 @@ Date: Sun Jan 10 21:01:59 2010 +0100 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355 Author: Simon van der Linden -Date: Fri Jan 8 21:10:28 2010 +0100 +Date: Fri Jan 8 21:10:28 2010 +0100 Initialize struct fields to 0 when allocating @@ -32137,7 +32250,7 @@ Date: Fri Jan 8 21:10:28 2010 +0100 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a Author: Simon van der Linden -Date: Fri Jan 8 20:33:44 2010 +0100 +Date: Fri Jan 8 20:33:44 2010 +0100 Don't set a default constructor for structures. @@ -32151,7 +32264,7 @@ Date: Fri Jan 8 20:33:44 2010 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=603536 - gi/types.py | 35 +++++++---------------------------- + gi/types.py | 35 +++++++---------------------------- tests/libtestgi.c | 33 --------------------------------- tests/libtestgi.h | 7 ------- tests/test_gi.py | 21 ++++++++++----------- @@ -32159,18 +32272,18 @@ Date: Fri Jan 8 20:33:44 2010 +0100 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b Author: Simon van der Linden -Date: Tue Jan 5 13:36:44 2010 +0100 +Date: Tue Jan 5 13:36:44 2010 +0100 Suppress compilation warnings - gi/pygi-argument.c | 3 ++- - gi/pygi-boxed.c | 2 -- + gi/pygi-argument.c | 3 ++- + gi/pygi-boxed.c | 2 -- gi/pygobject-external.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd Author: Gian Mario Tagliaretti -Date: Mon Jan 4 08:35:14 2010 +0100 +Date: Mon Jan 4 08:35:14 2010 +0100 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc @@ -32181,7 +32294,7 @@ Date: Mon Jan 4 08:35:14 2010 +0100 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40 Author: Simon van der Linden -Date: Fri Dec 11 22:24:30 2009 +0100 +Date: Fri Dec 11 22:24:30 2009 +0100 sys.path must be modified after pygtk is imported @@ -32195,19 +32308,19 @@ Date: Fri Dec 11 22:24:30 2009 +0100 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1 Author: Gian Mario Tagliaretti -Date: Sun Jan 3 11:02:57 2010 +0100 +Date: Sun Jan 3 11:02:57 2010 +0100 Wrap gio.Cancellable.make_pollfd() and add a test - gio/Makefile.am | 1 + + gio/Makefile.am | 1 + gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++ - gio/gio.override | 3 +++ + gio/gio.override | 3 +++ tests/test_gcancellable.py | 15 +++++++++++++++ 4 files changed, 56 insertions(+) commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56 Author: Gian Mario Tagliaretti -Date: Sat Jan 2 23:15:56 2010 +0100 +Date: Sat Jan 2 23:15:56 2010 +0100 Make cancellable an optional parameter in many methods @@ -32217,7 +32330,7 @@ Date: Sat Jan 2 23:15:56 2010 +0100 commit 49a078cd22d55dc33a03ecfda235d63955edc741 Author: Gian Mario Tagliaretti -Date: Sat Jan 2 23:15:21 2010 +0100 +Date: Sat Jan 2 23:15:21 2010 +0100 Post release version bump to 2.21.2 @@ -32226,7 +32339,7 @@ Date: Sat Jan 2 23:15:21 2010 +0100 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2 Author: Gian Mario Tagliaretti -Date: Sat Jan 2 22:58:36 2010 +0100 +Date: Sat Jan 2 22:58:36 2010 +0100 Update NEWS and release PyGObject-2.21.1 @@ -32235,7 +32348,7 @@ Date: Sat Jan 2 22:58:36 2010 +0100 commit c1f34be73bd186d7b4682dfef133da2c4229d213 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 20:25:35 2010 +0100 +Date: Fri Jan 1 20:25:35 2010 +0100 Wrap gio.Volume.eject_with_operation() @@ -32245,7 +32358,7 @@ Date: Fri Jan 1 20:25:35 2010 +0100 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 20:22:21 2010 +0100 +Date: Fri Jan 1 20:22:21 2010 +0100 gio.Mount.unmount_with_operation() fix a copy/paste leftover @@ -32254,7 +32367,7 @@ Date: Fri Jan 1 20:22:21 2010 +0100 commit 6f459786dd641cd49d81eba403d940620f961cab Author: Gian Mario Tagliaretti -Date: Fri Jan 1 20:21:05 2010 +0100 +Date: Fri Jan 1 20:21:05 2010 +0100 Wrap gio.Mount.eject_with_operation() @@ -32264,7 +32377,7 @@ Date: Fri Jan 1 20:21:05 2010 +0100 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d Author: Gian Mario Tagliaretti -Date: Fri Jan 1 20:15:38 2010 +0100 +Date: Fri Jan 1 20:15:38 2010 +0100 Wrap gio.Mount.unmount_mountable_with_operation() @@ -32274,7 +32387,7 @@ Date: Fri Jan 1 20:15:38 2010 +0100 commit e919d47c2430451b436cec955e9b99237f97028c Author: Gian Mario Tagliaretti -Date: Fri Jan 1 18:22:46 2010 +0100 +Date: Fri Jan 1 18:22:46 2010 +0100 Wrap File.unmount_mountable_with_operation() @@ -32284,7 +32397,7 @@ Date: Fri Jan 1 18:22:46 2010 +0100 commit 5a614df9c5507d67f240462f7bf71b4cd411addf Author: Gian Mario Tagliaretti -Date: Fri Jan 1 18:14:11 2010 +0100 +Date: Fri Jan 1 18:14:11 2010 +0100 Wrap gio.File.stop_mountable() @@ -32294,7 +32407,7 @@ Date: Fri Jan 1 18:14:11 2010 +0100 commit 6af506647f36f2b825bc6556df5ee57fa7721906 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 18:10:49 2010 +0100 +Date: Fri Jan 1 18:10:49 2010 +0100 Wrap gio.File.start_mountable() @@ -32304,7 +32417,7 @@ Date: Fri Jan 1 18:10:49 2010 +0100 commit e700efc839fc0b651fc9794a1611190bffa80263 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 18:02:46 2010 +0100 +Date: Fri Jan 1 18:02:46 2010 +0100 Wrap gio.File.replace_readwrite_async() @@ -32314,7 +32427,7 @@ Date: Fri Jan 1 18:02:46 2010 +0100 commit 92662f129fc728258fd5e34f53dcb081e3715017 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 17:00:26 2010 +0100 +Date: Fri Jan 1 17:00:26 2010 +0100 Wrap gio.File.poll_mountable() @@ -32323,7 +32436,7 @@ Date: Fri Jan 1 17:00:26 2010 +0100 commit 99902b786500948c3278779841e4db54223b9256 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 16:56:26 2010 +0100 +Date: Fri Jan 1 16:56:26 2010 +0100 Wrap gio.File.open_readwrite_async() @@ -32332,7 +32445,7 @@ Date: Fri Jan 1 16:56:26 2010 +0100 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 16:50:15 2010 +0100 +Date: Fri Jan 1 16:50:15 2010 +0100 Wrap gio.File.eject_mountable_with_operation() @@ -32342,7 +32455,7 @@ Date: Fri Jan 1 16:50:15 2010 +0100 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 13:30:24 2010 +0100 +Date: Fri Jan 1 13:30:24 2010 +0100 Wrap gio.File.create_readwrite_async() and add a test @@ -32353,7 +32466,7 @@ Date: Fri Jan 1 13:30:24 2010 +0100 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 13:20:11 2010 +0100 +Date: Fri Jan 1 13:20:11 2010 +0100 Wrap gio.Drive.stop() @@ -32363,7 +32476,7 @@ Date: Fri Jan 1 13:20:11 2010 +0100 commit 29043bade408338cefa13fb4b0c875aabd3ef05e Author: Gian Mario Tagliaretti -Date: Fri Jan 1 13:00:42 2010 +0100 +Date: Fri Jan 1 13:00:42 2010 +0100 Wrap gio.Drive.start() @@ -32373,7 +32486,7 @@ Date: Fri Jan 1 13:00:42 2010 +0100 commit dff374287bbecc8af782bbc726fad86c6c867754 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 12:45:29 2010 +0100 +Date: Fri Jan 1 12:45:29 2010 +0100 Add more remainders on missing methods of gio.Socket and related types @@ -32382,7 +32495,7 @@ Date: Fri Jan 1 12:45:29 2010 +0100 commit b8c7e996498bd72df551011af85ff05ef7335b4f Author: Gian Mario Tagliaretti -Date: Fri Jan 1 12:41:08 2010 +0100 +Date: Fri Jan 1 12:41:08 2010 +0100 Wrap gio.SocketListener.accept_socket_async|finish() and add a test @@ -32393,7 +32506,7 @@ Date: Fri Jan 1 12:41:08 2010 +0100 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c Author: Gian Mario Tagliaretti -Date: Fri Jan 1 12:28:53 2010 +0100 +Date: Fri Jan 1 12:28:53 2010 +0100 Wrap gio.SocketListener.accept_finish() and add a test @@ -32403,7 +32516,7 @@ Date: Fri Jan 1 12:28:53 2010 +0100 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 11:19:34 2010 +0100 +Date: Fri Jan 1 11:19:34 2010 +0100 Wrap gio.SocketListener.accept_async() @@ -32412,7 +32525,7 @@ Date: Fri Jan 1 11:19:34 2010 +0100 commit c9496b29ef9ef232020a4044577d2947353953a5 Author: Gian Mario Tagliaretti -Date: Fri Jan 1 11:14:35 2010 +0100 +Date: Fri Jan 1 11:14:35 2010 +0100 Wrap gio.SocketListener.accept_socket() and add a test @@ -32423,7 +32536,7 @@ Date: Fri Jan 1 11:14:35 2010 +0100 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70 Author: Gian Mario Tagliaretti -Date: Thu Dec 31 16:35:18 2009 +0100 +Date: Thu Dec 31 16:35:18 2009 +0100 Wrap gio.SocketListener.accept() and add a test @@ -32433,7 +32546,7 @@ Date: Thu Dec 31 16:35:18 2009 +0100 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7 Author: Gian Mario Tagliaretti -Date: Thu Dec 31 16:25:33 2009 +0100 +Date: Thu Dec 31 16:25:33 2009 +0100 Make cancellable optional in gio.SocketClient.connect_to_host() @@ -32442,7 +32555,7 @@ Date: Thu Dec 31 16:25:33 2009 +0100 commit 3829d7667b19126fb74562b28d271e616b154c99 Author: Gian Mario Tagliaretti -Date: Thu Dec 31 15:25:10 2009 +0100 +Date: Thu Dec 31 15:25:10 2009 +0100 Wrap gio.SocketListener.add_address() and add a test @@ -32453,7 +32566,7 @@ Date: Thu Dec 31 15:25:10 2009 +0100 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601 Author: Gian Mario Tagliaretti -Date: Thu Dec 31 10:19:47 2009 +0100 +Date: Thu Dec 31 10:19:47 2009 +0100 Add more remainders on missing methods of gio.Socket and related types @@ -32462,7 +32575,7 @@ Date: Thu Dec 31 10:19:47 2009 +0100 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d Author: Gian Mario Tagliaretti -Date: Thu Dec 31 10:16:18 2009 +0100 +Date: Thu Dec 31 10:16:18 2009 +0100 Wrap gio.SocketClient.connect_to_service_async() @@ -32471,7 +32584,7 @@ Date: Thu Dec 31 10:16:18 2009 +0100 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2 Author: Gian Mario Tagliaretti -Date: Thu Dec 31 10:10:43 2009 +0100 +Date: Thu Dec 31 10:10:43 2009 +0100 Wrap gio.SocketClient.connect_to_host_async() @@ -32481,7 +32594,7 @@ Date: Thu Dec 31 10:10:43 2009 +0100 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2 Author: Gian Mario Tagliaretti -Date: Thu Dec 31 09:59:46 2009 +0100 +Date: Thu Dec 31 09:59:46 2009 +0100 Wrap gio.SocketClient.connect_async() @@ -32490,7 +32603,7 @@ Date: Thu Dec 31 09:59:46 2009 +0100 commit dff024256295c15e49888ad9d5fef74a7746edd7 Author: Gian Mario Tagliaretti -Date: Wed Dec 30 23:44:25 2009 +0100 +Date: Wed Dec 30 23:44:25 2009 +0100 Wrap gio.SocketAddressEnumerator.next_async() and add a test @@ -32500,17 +32613,17 @@ Date: Wed Dec 30 23:44:25 2009 +0100 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229 Author: Gian Mario Tagliaretti -Date: Wed Dec 30 23:43:14 2009 +0100 +Date: Wed Dec 30 23:43:14 2009 +0100 Add a missing object gio.InetSocketAddress new in GIO 2.22 gio/gio-types.defs | 7 +++++++ - gio/gio.defs | 31 +++++++++++++++++++++++++++++++ + gio/gio.defs | 31 +++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b Author: Gian Mario Tagliaretti -Date: Wed Dec 30 22:54:47 2009 +0100 +Date: Wed Dec 30 22:54:47 2009 +0100 Make cancellable optional for gio.SocketAddressEnumerator.next() @@ -32519,7 +32632,7 @@ Date: Wed Dec 30 22:54:47 2009 +0100 commit b19f59790b9de943d69b6c5e483928e0443c3d20 Author: Gian Mario Tagliaretti -Date: Wed Dec 30 22:17:44 2009 +0100 +Date: Wed Dec 30 22:17:44 2009 +0100 Add a remainder of the Socket methods that needs manual wrapping still @@ -32528,7 +32641,7 @@ Date: Wed Dec 30 22:17:44 2009 +0100 commit 771a7c3fdef7b2e98e509293a8376a81c1282286 Author: Gian Mario Tagliaretti -Date: Wed Dec 30 17:20:35 2009 +0100 +Date: Wed Dec 30 17:20:35 2009 +0100 Wrap gio.Socket.condition_wait() and add a test @@ -32538,7 +32651,7 @@ Date: Wed Dec 30 17:20:35 2009 +0100 commit 50960656815b0897a5ebe5f011537b8dcbdc857e Author: Gian Mario Tagliaretti -Date: Wed Dec 30 16:21:49 2009 +0100 +Date: Wed Dec 30 16:21:49 2009 +0100 Wrap gio.Socket.condition_check() and add a test @@ -32550,7 +32663,7 @@ Date: Wed Dec 30 16:21:49 2009 +0100 commit de7a359e81792ae8573ac944455ea289985449ed Author: Gian Mario Tagliaretti -Date: Wed Dec 30 14:07:52 2009 +0100 +Date: Wed Dec 30 14:07:52 2009 +0100 Wrap gio.Resolver.lookup_service_finish() and add a test @@ -32560,7 +32673,7 @@ Date: Wed Dec 30 14:07:52 2009 +0100 commit 308421789ce849040d645077c41c80b6e2e65e83 Author: Gian Mario Tagliaretti -Date: Wed Dec 30 14:00:22 2009 +0100 +Date: Wed Dec 30 14:00:22 2009 +0100 Wrap gio.Resolver.lookup_service_async() @@ -32570,7 +32683,7 @@ Date: Wed Dec 30 14:00:22 2009 +0100 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3 Author: Gian Mario Tagliaretti -Date: Wed Dec 30 11:11:32 2009 +0100 +Date: Wed Dec 30 11:11:32 2009 +0100 Wrap gio.Resolver.lookup_service() and add a test @@ -32580,7 +32693,7 @@ Date: Wed Dec 30 11:11:32 2009 +0100 commit 7fc71f490494dae73a5264869a97a9d30814930e Author: Gian Mario Tagliaretti -Date: Tue Dec 29 22:12:50 2009 +0100 +Date: Tue Dec 29 22:12:50 2009 +0100 Wrap gio.Resolver.lookup_by_address_async() and add a test @@ -32591,7 +32704,7 @@ Date: Tue Dec 29 22:12:50 2009 +0100 commit c91656dbe56f07d3ebbad5113467c22427cf212a Author: Gian Mario Tagliaretti -Date: Tue Dec 29 21:41:30 2009 +0100 +Date: Tue Dec 29 21:41:30 2009 +0100 Wrap gio.Resolver.lookup_by_name_finish() and add a test @@ -32602,7 +32715,7 @@ Date: Tue Dec 29 21:41:30 2009 +0100 commit 45b477342fa1c2435917c6d97745ad57665c4734 Author: Gian Mario Tagliaretti -Date: Tue Dec 29 17:15:44 2009 +0100 +Date: Tue Dec 29 17:15:44 2009 +0100 Wrap gio.Drive.eject_with_data() @@ -32612,17 +32725,17 @@ Date: Tue Dec 29 17:15:44 2009 +0100 commit 635227480f9659a1f91ab1ec12536d3ed012a976 Author: Gian Mario Tagliaretti -Date: Tue Dec 29 17:06:52 2009 +0100 +Date: Tue Dec 29 17:06:52 2009 +0100 Deprecate old gio.Drive methods gio/gdrive.override | 7 ++++++- - gio/gio.defs | 1 + + gio/gio.defs | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c Author: Gian Mario Tagliaretti -Date: Tue Dec 29 13:51:54 2009 +0100 +Date: Tue Dec 29 13:51:54 2009 +0100 Small fix in the header @@ -32631,12 +32744,12 @@ Date: Tue Dec 29 13:51:54 2009 +0100 commit 7589128515b79d836365247dc876538c6352da23 Author: Gian Mario Tagliaretti -Date: Tue Dec 29 12:40:50 2009 +0100 +Date: Tue Dec 29 12:40:50 2009 +0100 Wrap gio.Resolver.lookup_by_name() and add a couple of tests - gio/Makefile.am | 1 + - gio/gio.override | 1 + + gio/Makefile.am | 1 + + gio/gio.override | 1 + gio/gresolver.override | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ tests/test_gresolver.py | 21 ++++++++++++++++++ @@ -32644,7 +32757,7 @@ Date: Tue Dec 29 12:40:50 2009 +0100 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e Author: Gian Mario Tagliaretti -Date: Tue Dec 29 12:39:13 2009 +0100 +Date: Tue Dec 29 12:39:13 2009 +0100 Make cancellable an optional parameter in gio.Resolver.lookup_by_address() @@ -32654,7 +32767,7 @@ Date: Tue Dec 29 12:39:13 2009 +0100 commit 00029145f4cd10759b37b38fb9f72435bf26b28b Author: Gian Mario Tagliaretti -Date: Tue Dec 29 10:15:14 2009 +0100 +Date: Tue Dec 29 10:15:14 2009 +0100 Strip g_ prefix for many other functions @@ -32664,7 +32777,7 @@ Date: Tue Dec 29 10:15:14 2009 +0100 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06 Author: Gian Mario Tagliaretti -Date: Tue Dec 29 10:12:53 2009 +0100 +Date: Tue Dec 29 10:12:53 2009 +0100 Strip g_prefix from InetAddress functions @@ -32673,7 +32786,7 @@ Date: Tue Dec 29 10:12:53 2009 +0100 commit 1d360301d51a587a36a59f5d62e354484bbd2b31 Author: Gian Mario Tagliaretti -Date: Tue Dec 29 10:03:59 2009 +0100 +Date: Tue Dec 29 10:03:59 2009 +0100 Fix function name gio.resolver_get_default() @@ -32684,20 +32797,20 @@ Date: Tue Dec 29 10:03:59 2009 +0100 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f Author: Gian Mario Tagliaretti -Date: Tue Dec 29 09:54:05 2009 +0100 +Date: Tue Dec 29 09:54:05 2009 +0100 Wrap gio.FileIOStream.query_info_async() and add a test - gio/Makefile.am | 1 + + gio/Makefile.am | 1 + gio/gfileiostream.override | 68 ++++++++++++++++++++++++++++++++++++++++++++++ - gio/gio.override | 1 + - tests/test_gio.py | 18 ++++++++++++ + gio/gio.override | 1 + + tests/test_gio.py | 18 ++++++++++++ 4 files changed, 88 insertions(+) commit 86783c695f3641b9491962e8f95a4dcb91f4017c Author: Tomeu Vizoso -Date: Tue Dec 29 13:08:29 2009 +0100 +Date: Tue Dec 29 13:08:29 2009 +0100 Register enums and flags in PyGI if needed @@ -32709,20 +32822,20 @@ Date: Tue Dec 29 13:08:29 2009 +0100 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a Author: Gian Mario Tagliaretti -Date: Mon Dec 28 22:41:54 2009 +0100 +Date: Mon Dec 28 22:41:54 2009 +0100 Wrap GIOStream.close_async() and add a test - gio/Makefile.am | 1 + - gio/gio.override | 1 + + gio/Makefile.am | 1 + + gio/gio.override | 1 + gio/giostream.override | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ - tests/test_gio.py | 21 ++++++++++++++++ + tests/test_gio.py | 21 ++++++++++++++++ 4 files changed, 91 insertions(+) commit 0bff01bcee73a0e0d18342331136119c4e8bf151 Author: Gian Mario Tagliaretti -Date: Mon Dec 28 22:39:09 2009 +0100 +Date: Mon Dec 28 22:39:09 2009 +0100 Make cancellable an optional parameter in GFile.create_readwrite() @@ -32731,7 +32844,7 @@ Date: Mon Dec 28 22:39:09 2009 +0100 commit 1cabd733cde269ce3164834933f4a226673ecb0b Author: Gian Mario Tagliaretti -Date: Mon Dec 28 21:39:50 2009 +0100 +Date: Mon Dec 28 21:39:50 2009 +0100 Remove a duplicate entry in gio.defs @@ -32740,27 +32853,27 @@ Date: Mon Dec 28 21:39:50 2009 +0100 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1 Author: Gian Mario Tagliaretti -Date: Mon Dec 28 21:37:49 2009 +0100 +Date: Mon Dec 28 21:37:49 2009 +0100 Wrap gio.FileInfo.set_modification_time and add a test gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++- - tests/test_gio.py | 7 ++++++- + tests/test_gio.py | 7 ++++++- 2 files changed, 38 insertions(+), 2 deletions(-) commit 7bc2673f92138b1804d8eba091942d14d8884f90 Author: Gian Mario Tagliaretti -Date: Mon Dec 28 18:28:03 2009 +0100 +Date: Mon Dec 28 18:28:03 2009 +0100 Wrap gio.EmblemedIcon.get_emblems() and add a test gio/gicon.override | 14 ++++++++++++++ - tests/test_gicon.py | 7 +++++++ + tests/test_gicon.py | 7 +++++++ 2 files changed, 21 insertions(+) commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172 Author: Gian Mario Tagliaretti -Date: Sat Dec 26 22:27:48 2009 +0100 +Date: Sat Dec 26 22:27:48 2009 +0100 Update Enums and Flags with new API @@ -32770,7 +32883,7 @@ Date: Sat Dec 26 22:27:48 2009 +0100 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd Author: Gian Mario Tagliaretti -Date: Fri Dec 25 18:06:39 2009 +0100 +Date: Fri Dec 25 18:06:39 2009 +0100 Post release version bump to 2.21.1 @@ -32779,7 +32892,7 @@ Date: Fri Dec 25 18:06:39 2009 +0100 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3 Author: Bastian Winkler -Date: Fri Aug 14 15:10:26 2009 +0200 +Date: Fri Aug 14 15:10:26 2009 +0200 Fix handling of uchar in pyg_value_from_pyobject @@ -32791,11 +32904,11 @@ Date: Fri Aug 14 15:10:26 2009 +0200 commit 828d0f042b59ea0319f33a23803c179af34ef2f1 Author: Tomeu Vizoso -Date: Tue Dec 22 18:05:47 2009 +0100 +Date: Tue Dec 22 18:05:47 2009 +0100 Add Gtk.keysyms to overrides - gi/overrides/Gtk.py | 2 + + gi/overrides/Gtk.py | 2 + gi/overrides/Makefile.am | 1 + gi/overrides/keysyms.py | 1499 ++++++++++++++++++++++++++++++++++++++++++++++ @@ -32803,7 +32916,7 @@ Date: Tue Dec 22 18:05:47 2009 +0100 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976 Author: Tomeu Vizoso -Date: Wed Nov 25 10:33:56 2009 +0100 +Date: Wed Nov 25 10:33:56 2009 +0100 The array field 'length' starts to count from the C arg list, so need to decrement when it's a method @@ -32821,17 +32934,17 @@ Date: Wed Nov 25 10:33:56 2009 +0100 commit 867536c6734e606d045760837ed22583da06566e Author: Gian Mario Tagliaretti -Date: Fri Dec 18 10:50:09 2009 +0100 +Date: Fri Dec 18 10:50:09 2009 +0100 Update NEWS and README, release pygobject 2.21.0 - NEWS | 18 ++++++++++++++++++ + NEWS | 18 ++++++++++++++++++ README | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae Author: Gian Mario Tagliaretti -Date: Fri Dec 18 10:31:48 2009 +0100 +Date: Fri Dec 18 10:31:48 2009 +0100 Add pygi-external.h into Makefile SOURCES @@ -32840,7 +32953,7 @@ Date: Fri Dec 18 10:31:48 2009 +0100 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe Author: Gian Mario Tagliaretti -Date: Fri Dec 18 01:20:34 2009 +0100 +Date: Fri Dec 18 01:20:34 2009 +0100 Bug 598435 - No wrapping for g_find_program_in_path () @@ -32849,19 +32962,19 @@ Date: Fri Dec 18 01:20:34 2009 +0100 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452 Author: Gian Mario Tagliaretti -Date: Thu Dec 17 21:54:36 2009 +0100 +Date: Thu Dec 17 21:54:36 2009 +0100 Wrap new API added in GIO-UNIX 2.22 - gio/unix-types.defs | 22 ++++++++++ - gio/unix.defs | 115 + gio/unix-types.defs | 22 ++++++++++ + gio/unix.defs | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++- - gio/unix.override | 8 ++++ + gio/unix.override | 8 ++++ 3 files changed, 144 insertions(+), 1 deletion(-) commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b Author: Gian Mario Tagliaretti -Date: Thu Dec 17 21:52:11 2009 +0100 +Date: Thu Dec 17 21:52:11 2009 +0100 Bump required glib version to 2.22.4 @@ -32874,7 +32987,7 @@ Date: Thu Dec 17 21:52:11 2009 +0100 commit b630c8d4b1e55938dac89729768c4a877b305215 Author: Gian Mario Tagliaretti -Date: Thu Dec 17 02:24:45 2009 +0100 +Date: Thu Dec 17 02:24:45 2009 +0100 Properly define Connectable as interface type and not object type @@ -32883,7 +32996,7 @@ Date: Thu Dec 17 02:24:45 2009 +0100 commit e955b931b07113c7432f7a85f882f69f12d263ad Author: Anderson Lizardo -Date: Mon Nov 30 22:01:25 2009 +0100 +Date: Mon Nov 30 22:01:25 2009 +0100 Depend on GLib 2.20 rather than 2.22 @@ -32891,13 +33004,13 @@ Date: Mon Nov 30 22:01:25 2009 +0100 https://bugzilla.gnome.org/show_bug.cgi?id=603411 - configure.ac | 2 +- + configure.ac | 2 +- gi/pygi-private.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a Author: Tomeu Vizoso -Date: Sat Nov 28 18:48:19 2009 +0000 +Date: Sat Nov 28 18:48:19 2009 +0000 Use the limit constants from glib and interpret G_MAXUINT32 as PyLong_FromLongLong @@ -32910,7 +33023,7 @@ Date: Sat Nov 28 18:48:19 2009 +0000 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd Author: Simon van der Linden -Date: Mon Nov 30 00:10:56 2009 +0100 +Date: Mon Nov 30 00:10:56 2009 +0100 Suppress warnings about format conversion @@ -32921,7 +33034,7 @@ Date: Mon Nov 30 00:10:56 2009 +0100 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736 Author: Simon van der Linden -Date: Sat Nov 28 00:22:21 2009 +0100 +Date: Sat Nov 28 00:22:21 2009 +0100 Remove global checks for pointers and move them in type cases that need them @@ -32933,7 +33046,7 @@ Date: Sat Nov 28 00:22:21 2009 +0100 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6 Author: Johan Dahlin -Date: Mon Nov 23 15:58:17 2009 -0200 +Date: Mon Nov 23 15:58:17 2009 -0200 Pythonify. Avoid ; and () around if statements @@ -32944,7 +33057,7 @@ Date: Mon Nov 23 15:58:17 2009 -0200 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177 Author: Johan Dahlin -Date: Tue Nov 24 10:36:18 2009 -0200 +Date: Tue Nov 24 10:36:18 2009 -0200 Remove trailing whitespace @@ -32955,23 +33068,23 @@ Date: Tue Nov 24 10:36:18 2009 -0200 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256 Author: Tomeu Vizoso -Date: Mon Nov 30 10:03:34 2009 +0000 +Date: Mon Nov 30 10:03:34 2009 +0000 Set a default constructor for boxed structs that don't have one https://bugzilla.gnome.org/show_bug.cgi?id=602735 - gi/Makefile.am | 2 + - gi/gimodule.c | 1 + - gi/module.py | 2 +- + gi/Makefile.am | 2 + + gi/gimodule.c | 1 + + gi/module.py | 2 +- gi/pygi-argument.c | 14 +++- gi/pygi-boxed.c | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++ gi/pygi-boxed.h | 40 ++++++++++++ - gi/pygi-info.c | 2 +- - gi/pygi-private.h | 1 + - gi/pygi.h | 6 ++ - gi/types.py | 18 ------ + gi/pygi-info.c | 2 +- + gi/pygi-private.h | 1 + + gi/pygi.h | 6 ++ + gi/types.py | 18 ------ tests/libtestgi.c | 72 ++++++++++----------- tests/libtestgi.h | 18 +++--- tests/test_gi.py | 47 ++++++++------ @@ -32979,7 +33092,7 @@ Date: Mon Nov 30 10:03:34 2009 +0000 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307 Author: Tomeu Vizoso -Date: Mon Nov 30 10:53:57 2009 +0000 +Date: Mon Nov 30 10:53:57 2009 +0000 Revert "Use the limit constants from glib and interpret G_MAXUINT32 as PyLong_FromLongLong" @@ -32992,7 +33105,7 @@ Date: Mon Nov 30 10:53:57 2009 +0000 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041 Author: Tomeu Vizoso -Date: Sat Nov 28 18:48:19 2009 +0000 +Date: Sat Nov 28 18:48:19 2009 +0000 Use the limit constants from glib and interpret G_MAXUINT32 as PyLong_FromLongLong @@ -33005,7 +33118,7 @@ Date: Sat Nov 28 18:48:19 2009 +0000 commit e24d155dd7b4a5b9c25c054137d1370c369d3192 Author: Tomeu Vizoso -Date: Sat Nov 28 18:45:54 2009 +0000 +Date: Sat Nov 28 18:45:54 2009 +0000 Add the missing limit constants from glibconfig.h @@ -33016,7 +33129,7 @@ Date: Sat Nov 28 18:45:54 2009 +0000 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909 Author: Gian Mario Tagliaretti -Date: Sat Nov 28 18:48:49 2009 +0100 +Date: Sat Nov 28 18:48:49 2009 +0100 Fix bad name when rebuilding the unix source module @@ -33025,18 +33138,18 @@ Date: Sat Nov 28 18:48:49 2009 +0100 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86 Author: Gian Mario Tagliaretti -Date: Sat Nov 28 18:47:26 2009 +0100 +Date: Sat Nov 28 18:47:26 2009 +0100 Wrap new API added in GIO 2.22 gio/gio-types.defs | 138 +++ - gio/gio.defs | 2444 + gio/gio.defs | 2444 +++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 2360 insertions(+), 222 deletions(-) commit 96f6c638709636d7e2ddf560b877879691da3314 Author: Tomeu Vizoso -Date: Sat Nov 28 11:03:51 2009 +0000 +Date: Sat Nov 28 11:03:51 2009 +0000 A few tests about interfaces @@ -33049,7 +33162,7 @@ Date: Sat Nov 28 11:03:51 2009 +0000 commit 076ba3156c13375a75983cef7a409c8c8afea119 Author: Simon van der Linden -Date: Thu Nov 26 23:50:54 2009 +0100 +Date: Thu Nov 26 23:50:54 2009 +0100 Fix members initialization in metaclasses @@ -33068,13 +33181,13 @@ Date: Thu Nov 26 23:50:54 2009 +0100 notably tests that methods don't get overridden by the metaclass. - gi/types.py | 5 +++-- + gi/types.py | 5 +++-- tests/test_gi.py | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) commit ac80e64c9f7d257865aa820753e52d56cf2871c8 Author: Tomeu Vizoso -Date: Fri Nov 27 12:06:59 2009 +0000 +Date: Fri Nov 27 12:06:59 2009 +0000 Structs in arrays are not marshalled correctly @@ -33088,7 +33201,7 @@ Date: Fri Nov 27 12:06:59 2009 +0000 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292 Author: Simon van der Linden -Date: Wed Nov 25 16:53:55 2009 +0100 +Date: Wed Nov 25 16:53:55 2009 +0100 Use the right variable when looking up in sys.modules @@ -33097,7 +33210,7 @@ Date: Wed Nov 25 16:53:55 2009 +0100 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968 Author: Tomeu Vizoso -Date: Tue Nov 24 15:52:47 2009 +0100 +Date: Tue Nov 24 15:52:47 2009 +0100 Accept 0 as a valid value for flag and enum arguments @@ -33111,7 +33224,7 @@ Date: Tue Nov 24 15:52:47 2009 +0100 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84 Author: Tomeu Vizoso -Date: Tue Nov 24 13:10:11 2009 +0100 +Date: Tue Nov 24 13:10:11 2009 +0100 Add stuff to .gitignore @@ -33120,33 +33233,33 @@ Date: Tue Nov 24 13:10:11 2009 +0100 commit 5c010fe673d9bd01c27c8d7d312064665275888c Author: Simon van der Linden -Date: Mon Nov 23 22:39:12 2009 +0100 +Date: Mon Nov 23 22:39:12 2009 +0100 Remove the girepository module - Makefile.am | 2 +- - configure.ac | 17 - - girepository/Makefile.am | 54 -- - girepository/__init__.py | 24 - - girepository/bank-argument.c | 379 ------------ - girepository/bank-info.c | 1194 + Makefile.am | 2 +- + configure.ac | 17 - + girepository/Makefile.am | 54 -- + girepository/__init__.py | 24 - + girepository/bank-argument.c | 379 ------------ + girepository/bank-info.c | 1194 ------------------------------------ girepository/bank-repository.c | 236 ------- - girepository/bank.c | 155 ----- - girepository/bank.h | 80 --- - girepository/btypes.py | 300 --------- - girepository/importer.py | 51 -- - girepository/module.py | 224 ------- - girepository/overrides/Gdk.py | 14 - - girepository/overrides/Gtk.py | 8 - - girepository/overrides/__init__.py | 0 - girepository/repository.py | 51 -- - tests/test_girepository.py | 386 ------------ + girepository/bank.c | 155 ----- + girepository/bank.h | 80 --- + girepository/btypes.py | 300 --------- + girepository/importer.py | 51 -- + girepository/module.py | 224 ------- + girepository/overrides/Gdk.py | 14 - + girepository/overrides/Gtk.py | 8 - + girepository/overrides/__init__.py | 0 + girepository/repository.py | 51 -- + tests/test_girepository.py | 386 ------------ 17 files changed, 1 insertion(+), 3174 deletions(-) commit a644edf0515c26ed027522891ccf02aceac764e8 Author: Johan Dahlin -Date: Mon Nov 23 15:32:16 2009 -0200 +Date: Mon Nov 23 15:32:16 2009 -0200 Create overridden modules in two passes @@ -33166,7 +33279,7 @@ Date: Mon Nov 23 15:32:16 2009 -0200 commit fad89e12a744b57e6348968f351d25d167de8248 Author: Tomeu Vizoso -Date: Sun Nov 22 17:56:20 2009 +0100 +Date: Sun Nov 22 17:56:20 2009 +0100 Add support for Any arguments @@ -33180,7 +33293,7 @@ Date: Sun Nov 22 17:56:20 2009 +0100 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034 Author: Tomeu Vizoso -Date: Sun Nov 22 17:25:04 2009 +0100 +Date: Sun Nov 22 17:25:04 2009 +0100 Register interfaces @@ -33192,7 +33305,7 @@ Date: Sun Nov 22 17:25:04 2009 +0100 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17 Author: Paul Pogonyshev -Date: Sun Nov 22 18:23:02 2009 +0200 +Date: Sun Nov 22 18:23:02 2009 +0200 Ignore one more file. @@ -33201,7 +33314,7 @@ Date: Sun Nov 22 18:23:02 2009 +0200 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e Author: Paul Pogonyshev -Date: Sun Nov 22 18:22:23 2009 +0200 +Date: Sun Nov 22 18:22:23 2009 +0200 Fix wrong minimum checking in float properties @@ -33213,7 +33326,7 @@ Date: Sun Nov 22 18:22:23 2009 +0200 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad Author: Tomeu Vizoso -Date: Mon Oct 26 18:06:06 2009 +0000 +Date: Mon Oct 26 18:06:06 2009 +0000 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT @@ -33222,7 +33335,7 @@ Date: Mon Oct 26 18:06:06 2009 +0000 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d Author: Simon van der Linden -Date: Sat Nov 14 21:42:43 2009 +0100 +Date: Sat Nov 14 21:42:43 2009 +0100 Import pygtk properly to avoid failure on some setups @@ -33231,7 +33344,7 @@ Date: Sat Nov 14 21:42:43 2009 +0100 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb Author: Alex Dedul -Date: Sat Nov 14 21:39:15 2009 +0100 +Date: Sat Nov 14 21:39:15 2009 +0100 Search for python-config-${VERSION} when python${VERSION}-config is not found @@ -33247,7 +33360,7 @@ Date: Sat Nov 14 21:39:15 2009 +0100 commit 4a887cfabb326cb99dc65073d592c03f59e2f141 Author: Simon van der Linden -Date: Sat Nov 14 21:36:19 2009 +0100 +Date: Sat Nov 14 21:36:19 2009 +0100 Fix silent rules setup @@ -33256,7 +33369,7 @@ Date: Sat Nov 14 21:36:19 2009 +0100 commit 602afea88c338a38327cd84e08703c5daa384ec6 Author: Paul Pogonyshev -Date: Tue Nov 10 22:32:33 2009 +0200 +Date: Tue Nov 10 22:32:33 2009 +0200 Move threads_init() function from 'gobject' to 'glib' @@ -33265,12 +33378,12 @@ Date: Tue Nov 10 22:32:33 2009 +0200 docs/reference/pygobject-functions.xml | 36 +++++++--------------------------- - glib/glibmodule.c | 16 +++++++++++++++ + glib/glibmodule.c | 16 +++++++++++++++ 2 files changed, 23 insertions(+), 29 deletions(-) commit 734755912fff11332dc0e96317b7d6b7c4014e6a Author: Simon van der Linden -Date: Mon Nov 9 22:44:12 2009 +0100 +Date: Mon Nov 9 22:44:12 2009 +0100 Remove PyGObject patches since they've been merged to master @@ -33284,7 +33397,7 @@ Date: Mon Nov 9 22:44:12 2009 +0100 commit 6a69288941e65312fe82649ec72d2f21b2dc618f Author: Simon van der Linden -Date: Sat Nov 7 23:42:07 2009 +0100 +Date: Sat Nov 7 23:42:07 2009 +0100 Create instances by calling tp_alloc rather than PyObject_NEW @@ -33300,7 +33413,7 @@ Date: Sat Nov 7 23:42:07 2009 +0100 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee Author: Simon van der Linden -Date: Sat Nov 7 16:43:35 2009 +0100 +Date: Sat Nov 7 16:43:35 2009 +0100 Add capabilities to import wrappers from pygi @@ -33314,17 +33427,17 @@ Date: Sat Nov 7 16:43:35 2009 +0100 function and API definition had to be copied in this tree. - configure.ac | 8 ++++++ - gobject/pygboxed.c | 10 ++++++++ + configure.ac | 8 ++++++ + gobject/pygboxed.c | 10 ++++++++ gobject/pygi-external.h | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ - gobject/pygobject.c | 10 ++++++++ - gobject/pygpointer.c | 11 +++++++++ + gobject/pygobject.c | 10 ++++++++ + gobject/pygpointer.c | 11 +++++++++ 5 files changed, 105 insertions(+) commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91 Author: Simon van der Linden -Date: Sun Nov 8 20:03:58 2009 +0100 +Date: Sun Nov 8 20:03:58 2009 +0100 Update PyGObject patches @@ -33337,7 +33450,7 @@ Date: Sun Nov 8 20:03:58 2009 +0100 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d Author: Tomeu Vizoso -Date: Sun Nov 8 16:52:18 2009 +0100 +Date: Sun Nov 8 16:52:18 2009 +0100 Add myself to pygi.doap @@ -33346,7 +33459,7 @@ Date: Sun Nov 8 16:52:18 2009 +0100 commit 6f50d5102aec9288e1851f12e9d232b9c141d524 Author: Simon van der Linden -Date: Sun Nov 8 15:40:51 2009 +0100 +Date: Sun Nov 8 15:40:51 2009 +0100 Add a doap file @@ -33355,7 +33468,7 @@ Date: Sun Nov 8 15:40:51 2009 +0100 commit ce673b9027868e6add4eeb438bc707eb40bfd046 Author: Simon van der Linden -Date: Sun Nov 8 13:06:54 2009 +0100 +Date: Sun Nov 8 13:06:54 2009 +0100 Add PyGObject patches @@ -33368,62 +33481,62 @@ Date: Sun Nov 8 13:06:54 2009 +0100 commit b24fd9633cabe1d95cde173a04e9a49833b06a26 Author: Simon van der Linden -Date: Sun Nov 8 12:35:08 2009 +0100 +Date: Sun Nov 8 12:35:08 2009 +0100 Initial import - .gitignore | 33 + - Makefile.am | 10 + - autogen.sh | 159 +++ - configure.ac | 53 + - gi/Makefile.am | 50 + - gi/__init__.py | 24 + - gi/gimodule.c | 144 ++ - gi/importer.py | 89 ++ - gi/module.py | 167 +++ - gi/overrides/Gdk.py | 21 + - gi/overrides/Gtk.py | 13 + + .gitignore | 33 + + Makefile.am | 10 + + autogen.sh | 159 +++ + configure.ac | 53 + + gi/Makefile.am | 50 + + gi/__init__.py | 24 + + gi/gimodule.c | 144 ++ + gi/importer.py | 89 ++ + gi/module.py | 167 +++ + gi/overrides/Gdk.py | 21 + + gi/overrides/Gtk.py | 13 + gi/overrides/Makefile.am | 10 + - gi/overrides/__init__.py | 0 - gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++ - gi/pygi-argument.h | 65 + - gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++ - gi/pygi-info.h | 64 + - gi/pygi-private.h | 55 + - gi/pygi-repository.c | 238 ++++ - gi/pygi-repository.h | 39 + - gi/pygi-struct.c | 175 +++ - gi/pygi-struct.h | 40 + - gi/pygi-type.c | 96 ++ - gi/pygi-type.h | 43 + - gi/pygi.h | 99 ++ + gi/overrides/__init__.py | 0 + gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++ + gi/pygi-argument.h | 65 + + gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++ + gi/pygi-info.h | 64 + + gi/pygi-private.h | 55 + + gi/pygi-repository.c | 238 ++++ + gi/pygi-repository.h | 39 + + gi/pygi-struct.c | 175 +++ + gi/pygi-struct.h | 40 + + gi/pygi-type.c | 96 ++ + gi/pygi-type.h | 43 + + gi/pygi.h | 99 ++ gi/pygobject-external.h | 83 ++ - gi/repository/Makefile.am | 8 + + gi/repository/Makefile.am | 8 + gi/repository/__init__.py | 30 + - gi/types.py | 163 +++ - tests/Makefile.am | 48 + - tests/libtestgi.c | 3397 + gi/types.py | 163 +++ + tests/Makefile.am | 48 + + tests/libtestgi.c | 3397 +++++++++++++++++++++++++++++++++++++++++++++ - tests/libtestgi.h | 643 +++++++++ - tests/runtests.py | 22 + - tests/test_gi.py | 1416 +++++++++++++++++++ + tests/libtestgi.h | 643 +++++++++ + tests/runtests.py | 22 + + tests/test_gi.py | 1416 +++++++++++++++++++ 34 files changed, 11566 insertions(+) commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc Author: Simon van der Linden -Date: Sat Nov 7 13:23:53 2009 +0100 +Date: Sat Nov 7 13:23:53 2009 +0100 Fix girpository build setup - configure.ac | 21 ++++++----- + configure.ac | 21 ++++++----- girepository/Makefile.am | 13 ++++--- - m4/introspection.m4 | 92 + m4/introspection.m4 | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+), 15 deletions(-) commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5 Author: Simon van der Linden -Date: Fri Nov 6 19:17:36 2009 +0100 +Date: Fri Nov 6 19:17:36 2009 +0100 Make GType.pytype aware of the interface, enum, flags, pointer and boxed wrappers @@ -33433,7 +33546,7 @@ Date: Fri Nov 6 19:17:36 2009 +0100 commit a9c168c58cc6a449b51653417bf3f58bdd41457c Author: Philippe Normad -Date: Wed Oct 21 18:01:16 2009 +0200 +Date: Wed Oct 21 18:01:16 2009 +0200 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops @@ -33445,7 +33558,7 @@ Date: Wed Oct 21 18:01:16 2009 +0200 commit c6a5750379354c12e2599b3c73b4f9a23fd39114 Author: Gian Mario Tagliaretti -Date: Fri Sep 25 20:12:21 2009 +0200 +Date: Fri Sep 25 20:12:21 2009 +0200 Post release version bump to 2.21.0 @@ -33454,7 +33567,7 @@ Date: Fri Sep 25 20:12:21 2009 +0200 commit 33920eb013628a5e22b7b32403fb965ae3210f47 Author: Gian Mario Tagliaretti -Date: Wed Sep 23 21:52:04 2009 +0200 +Date: Wed Sep 23 21:52:04 2009 +0200 Update NEWS and release 2.20.0 @@ -33463,7 +33576,7 @@ Date: Wed Sep 23 21:52:04 2009 +0200 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6 Author: Gian Mario Tagliaretti -Date: Wed Sep 23 21:51:43 2009 +0200 +Date: Wed Sep 23 21:51:43 2009 +0200 Bump version to 2.20.0 @@ -33472,7 +33585,7 @@ Date: Wed Sep 23 21:51:43 2009 +0200 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617 Author: Brian Cameron -Date: Wed Sep 23 12:11:50 2009 -0500 +Date: Wed Sep 23 12:11:50 2009 -0500 Updated uninstalled.pc file so that it contains the right paths for defsdir files and codegen files. See bug #596023. @@ -33482,7 +33595,7 @@ Date: Wed Sep 23 12:11:50 2009 -0500 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3 Author: Paul Pogonyshev -Date: Tue Sep 22 22:02:27 2009 +0300 +Date: Tue Sep 22 22:02:27 2009 +0300 Plug reference leak of GSource in pyg_main_loop_init() @@ -33493,7 +33606,7 @@ Date: Tue Sep 22 22:02:27 2009 +0300 commit 640be8109d066e85ed77c810830a5f73c750415b Author: Frédéric Péters -Date: Sun Aug 30 16:46:02 2009 +0200 +Date: Sun Aug 30 16:46:02 2009 +0200 Specify programming language in .devhelp file @@ -33506,7 +33619,7 @@ Date: Sun Aug 30 16:46:02 2009 +0200 commit c888b5ca722fcad6a03de585606c677c2969ebd6 Author: Paolo Borelli -Date: Thu Aug 13 21:32:07 2009 +0200 +Date: Thu Aug 13 21:32:07 2009 +0200 Allow to use automake 1.11 @@ -33515,7 +33628,7 @@ Date: Thu Aug 13 21:32:07 2009 +0200 commit 30deaba4bd1e199aab75cb346ee9237237807fbd Author: Gian Mario Tagliaretti -Date: Tue Aug 11 22:19:50 2009 +0200 +Date: Tue Aug 11 22:19:50 2009 +0200 Update README @@ -33524,7 +33637,7 @@ Date: Tue Aug 11 22:19:50 2009 +0200 commit af165d350d0d1bb493be5140bf84376d3da1e4d8 Author: Gian Mario Tagliaretti -Date: Tue Aug 11 22:16:52 2009 +0200 +Date: Tue Aug 11 22:16:52 2009 +0200 Update AUTHORS @@ -33533,17 +33646,17 @@ Date: Tue Aug 11 22:16:52 2009 +0200 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2 Author: Gian Mario Tagliaretti -Date: Tue Aug 11 22:11:43 2009 +0200 +Date: Tue Aug 11 22:11:43 2009 +0200 Add myself and Paul as maintainers - MAINTAINERS | 8 ++++++++ + MAINTAINERS | 8 ++++++++ pygobject.doap | 14 ++++++++++++++ 2 files changed, 22 insertions(+) commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775 Author: Gian Mario Tagliaretti -Date: Tue Aug 11 20:52:44 2009 +0200 +Date: Tue Aug 11 20:52:44 2009 +0200 Update NEWS release 2.19.0 @@ -33552,7 +33665,7 @@ Date: Tue Aug 11 20:52:44 2009 +0200 commit e82a1841f31ad54dd50569d0d45290713409e0bf Author: John Finlay -Date: Tue Aug 11 00:04:31 2009 -0700 +Date: Tue Aug 11 00:04:31 2009 -0700 Add macros to help with Python list to/from GList/GSList conversions. @@ -33562,7 +33675,7 @@ Date: Tue Aug 11 00:04:31 2009 -0700 commit f1fad96da2c531fbd3218923baa4fe806a2942d4 Author: Gian Mario Tagliaretti -Date: Sat Aug 8 21:37:54 2009 +0200 +Date: Sat Aug 8 21:37:54 2009 +0200 Bug 590063 – GFileInfo.list_attributes should accept None/NULL @@ -33571,58 +33684,58 @@ Date: Sat Aug 8 21:37:54 2009 +0200 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de Author: Johan Dahlin -Date: Fri Jul 24 14:30:37 2009 -0300 +Date: Fri Jul 24 14:30:37 2009 -0300 Remove myself as a maintainer - MAINTAINERS | 4 ---- + MAINTAINERS | 4 ---- pygobject.doap | 7 ------- 2 files changed, 11 deletions(-) commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2 Author: John Finlay -Date: Wed Jul 8 15:47:44 2009 -0700 +Date: Wed Jul 8 15:47:44 2009 -0700 - * codegen/defsgen.py (clean_patterns): Strip out Windows - DLL API macros. + * codegen/defsgen.py (clean_patterns): Strip out Windows + DLL API macros. codegen/defsgen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2214cad3529979e29342a7e1fdc2915b90ce9c10 Author: Gian Mario Tagliaretti -Date: Tue Jun 23 21:18:23 2009 +0200 +Date: Tue Jun 23 21:18:23 2009 +0200 Fix the gio.unix namespace in docs - docs/Makefile.am | 2 ++ - docs/reference/pygio-classes.xml | 2 -- + docs/Makefile.am | 2 ++ + docs/reference/pygio-classes.xml | 2 -- docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++------------- docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++------------- - docs/reference/pygiounix-classes.xml | 13 +++++++++++++ - docs/reference/pygobject-ref.xml | 1 + + docs/reference/pygiounix-classes.xml | 13 +++++++++++++ + docs/reference/pygobject-ref.xml | 1 + 6 files changed, 42 insertions(+), 28 deletions(-) commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2 Author: Gian Mario Tagliaretti -Date: Mon Jun 22 23:13:36 2009 +0200 +Date: Mon Jun 22 23:13:36 2009 +0200 Add docs for gio functions (mostly for content types) - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-functions.xml | 395 +++++++++++++++++++++++++++++++++++++ 3 files changed, 398 insertions(+) commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881 Author: Gian Mario Tagliaretti -Date: Sun Jun 21 18:35:56 2009 +0200 +Date: Sun Jun 21 18:35:56 2009 +0200 Add docs for gio.Unix[In|Out]putStream classes - docs/Makefile.am | 4 + - docs/reference/pygio-classes.xml | 2 + + docs/Makefile.am | 4 + + docs/reference/pygio-classes.xml | 2 + docs/reference/pygio-unixinputstream.xml | 202 ++++++++++++++++++++++++++++++ docs/reference/pygio-unixoutputstream.xml | 202 @@ -33631,7 +33744,7 @@ Date: Sun Jun 21 18:35:56 2009 +0200 commit 5b71e58117c85634d95d08449eb54079b246e5be Author: Paul Pogonyshev -Date: Sun Jun 21 16:50:03 2009 +0300 +Date: Sun Jun 21 16:50:03 2009 +0300 Document that many functions got moved gobject -> glib @@ -33640,19 +33753,19 @@ Date: Sun Jun 21 16:50:03 2009 +0300 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754 Author: Gian Mario Tagliaretti -Date: Sat Jun 20 19:23:25 2009 +0200 +Date: Sat Jun 20 19:23:25 2009 +0200 Add docs for class gio.DataOutputStream - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-dataoutputstream.xml | 504 ++++++++++++++++++++++++++++++ 3 files changed, 507 insertions(+) commit 549313fc4886fa3deb31761de6f5400708165d86 Author: Murray Cumming -Date: Thu Jun 18 18:48:37 2009 +0200 +Date: Thu Jun 18 18:48:37 2009 +0200 Allow h2def.py to work when there are tabs or multiple spaces after the struct keyword. @@ -33662,20 +33775,20 @@ Date: Thu Jun 18 18:48:37 2009 +0200 commit 5c36ef20dca8cd1793f2d3e88949675299097f40 Author: Gian Mario Tagliaretti -Date: Mon Jun 15 23:02:34 2009 +0200 +Date: Mon Jun 15 23:02:34 2009 +0200 Add dpcs for class gio.DataInputStream - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + - docs/reference/pygio-constants.xml | 66 +++ + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + + docs/reference/pygio-constants.xml | 66 +++ docs/reference/pygio-datainputstream.xml | 799 +++++++++++++++++++++++++++++++ 4 files changed, 868 insertions(+) commit a8b36c343c6850af929c1d5a930f923831b4e637 Author: Theppitak Karoonboonyanan -Date: Mon Jun 15 23:25:01 2009 +0300 +Date: Mon Jun 15 23:25:01 2009 +0300 Fix build when builddir is not the same as srcdir @@ -33686,7 +33799,7 @@ Date: Mon Jun 15 23:25:01 2009 +0300 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7 Author: Paul Pogonyshev -Date: Mon Jun 15 23:19:47 2009 +0300 +Date: Mon Jun 15 23:19:47 2009 +0300 Make gio.Emblem constructor new-style @@ -33695,24 +33808,24 @@ Date: Mon Jun 15 23:19:47 2009 +0300 docs/reference/pygio-emblem.xml | 51 +++++++++++++++++++++++++++++++++++++++-- - gio/gio.defs | 5 ++-- + gio/gio.defs | 5 ++-- 2 files changed, 52 insertions(+), 4 deletions(-) commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde Author: Gian Mario Tagliaretti -Date: Sat Jun 13 14:44:47 2009 +0200 +Date: Sat Jun 13 14:44:47 2009 +0200 Add docs for gio.BufferedOutputStream class - docs/Makefile.am | 96 ++++----- + docs/Makefile.am | 96 ++++----- docs/reference/pygio-bufferedoutputstream.xml | 275 ++++++++++++++++++++++++++ - docs/reference/pygio-classes.xml | 1 + + docs/reference/pygio-classes.xml | 1 + 3 files changed, 325 insertions(+), 47 deletions(-) commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416 Author: Gian Mario Tagliaretti -Date: Sat Jun 13 14:38:34 2009 +0200 +Date: Sat Jun 13 14:38:34 2009 +0200 Fix gio.BufferedInputStream docs @@ -33724,49 +33837,49 @@ Date: Sat Jun 13 14:38:34 2009 +0200 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591 Author: Gian Mario Tagliaretti -Date: Sat Jun 13 01:25:06 2009 +0200 +Date: Sat Jun 13 01:25:06 2009 +0200 Add docs for gio.BufferedInputStream - docs/Makefile.am | 2 + + docs/Makefile.am | 2 + docs/reference/pygio-bufferedinputstream.xml | 431 +++++++++++++++++++++++++++ - docs/reference/pygio-classes.xml | 1 + + docs/reference/pygio-classes.xml | 1 + 3 files changed, 434 insertions(+) commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1 Author: Paul Pogonyshev -Date: Sun May 31 18:25:47 2009 +0300 +Date: Sun May 31 18:25:47 2009 +0300 Cleanup GIO overrides to use Python function/method names Also move several gio.Mount overrides over from 'gio.override' to existing 'gmount.override'. Part of bug #584289. - gio/gfile.override | 20 ++--- + gio/gfile.override | 20 ++--- gio/gfileenumerator.override | 6 +- gio/ginputstream.override | 2 +- - gio/gio.override | 204 + gio/gio.override | 204 ------------------------------------------- - gio/gmount.override | 204 + gio/gmount.override | 204 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 218 insertions(+), 218 deletions(-) commit 07e9c18dc092f6546230168b6b69c1b3454e120a Author: Paul Pogonyshev -Date: Sun May 31 18:56:55 2009 +0300 +Date: Sun May 31 18:56:55 2009 +0300 Make codegen report errors using Python function/method names Part of bug #584289. - codegen/codegen.py | 9 +++++---- + codegen/codegen.py | 9 +++++---- codegen/definitions.py | 10 +++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) commit 235fde85d015382f2ba38b21968e82b3ac0b6612 Author: Gian Mario Tagliaretti -Date: Fri Jun 12 00:12:17 2009 +0200 +Date: Fri Jun 12 00:12:17 2009 +0200 Fix object type in gio.BufferedInputStream_fill_async @@ -33775,22 +33888,22 @@ Date: Fri Jun 12 00:12:17 2009 +0200 commit 407b0e909056f15960e6a4e549896d786ce0a0b2 Author: Gian Mario Tagliaretti -Date: Tue Jun 9 00:08:21 2009 +0200 +Date: Tue Jun 9 00:08:21 2009 +0200 Wrap gio.BufferedInputStream.fill_async Wrap the method gio.BufferedInputStream.fill_async and add a test - gio/Makefile.am | 1 + + gio/Makefile.am | 1 + gio/gbufferedinputstream.override | 70 +++++++++++++++++++++++++++++++++++++++ - gio/gio.override | 1 + - tests/test_gio.py | 25 ++++++++++++++ + gio/gio.override | 1 + + tests/test_gio.py | 25 ++++++++++++++ 4 files changed, 97 insertions(+) commit b7c96b41b287685fe57504e0add3a6f16e649975 Author: Gian Mario Tagliaretti -Date: Mon Jun 8 15:42:40 2009 +0200 +Date: Mon Jun 8 15:42:40 2009 +0200 Add gio.BufferedOutputStream which was forgotten in the types definition @@ -33800,66 +33913,66 @@ Date: Mon Jun 8 15:42:40 2009 +0200 commit 3666f75af4ef2c8e038116aee5afada59d59f689 Author: Gian Mario Tagliaretti -Date: Mon Jun 8 14:20:02 2009 +0200 +Date: Mon Jun 8 14:20:02 2009 +0200 Add docs for gio.MemoryOutputStream - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-memoryoutputstream.xml | 175 ++++++++++++++++++++++++++++ 3 files changed, 178 insertions(+) commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78 Author: Gian Mario Tagliaretti -Date: Mon Jun 8 13:30:15 2009 +0200 +Date: Mon Jun 8 13:30:15 2009 +0200 Split overrides for gio.MemoryOutputStream - gio/Makefile.am | 1 + - gio/gio.override | 1 + + gio/Makefile.am | 1 + + gio/gio.override | 1 + gio/gmemoryoutputstream.override | 45 ++++++++++++++++++++++++++++++++++++++++ - gio/goutputstream.override | 24 --------------------- + gio/goutputstream.override | 24 --------------------- 4 files changed, 47 insertions(+), 24 deletions(-) commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff Author: Gian Mario Tagliaretti -Date: Mon Jun 8 11:45:11 2009 +0200 +Date: Mon Jun 8 11:45:11 2009 +0200 Wrap gio.memory_input_stream_new_from_data Add the wrapper for gio.memory_input_stream_new_from_data including docs and a test. - docs/Makefile.am | 4 +- - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 4 +- + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-memoryinputstream.xml | 151 +++++++++++++++++++++++++++++ - gio/Makefile.am | 1 + - gio/ginputstream.override | 34 ------- - gio/gio.override | 1 + - gio/gmemoryinputstream.override | 91 +++++++++++++++++ - tests/test_gio.py | 4 + + gio/Makefile.am | 1 + + gio/ginputstream.override | 34 ------- + gio/gio.override | 1 + + gio/gmemoryinputstream.override | 91 +++++++++++++++++ + tests/test_gio.py | 4 + 8 files changed, 252 insertions(+), 35 deletions(-) commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259 Author: Simon van der Linden -Date: Mon Jun 8 19:15:24 2009 +0200 +Date: Mon Jun 8 19:15:24 2009 +0200 Fixes whitespaces style issues with girepository. - girepository/Makefile.am | 2 +- + girepository/Makefile.am | 2 +- girepository/bank-repository.c | 67 +++++++++++++++++++++--------------------- - girepository/bank.h | 2 +- - girepository/btypes.py | 6 ++-- - girepository/module.py | 2 +- + girepository/bank.h | 2 +- + girepository/btypes.py | 6 ++-- + girepository/module.py | 2 +- 5 files changed, 39 insertions(+), 40 deletions(-) commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0 Author: Simon van der Linden -Date: Fri Jun 5 19:03:59 2009 +0200 +Date: Fri Jun 5 19:03:59 2009 +0200 Removes the header but the modeline in test_girepository.py. @@ -33868,20 +33981,20 @@ Date: Fri Jun 5 19:03:59 2009 +0200 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c Author: Simon van der Linden -Date: Wed Jun 3 10:47:58 2009 +0200 +Date: Wed Jun 3 10:47:58 2009 +0200 Adds overrides modules from PyBank. - girepository/Makefile.am | 3 +++ - girepository/importer.py | 3 +-- - girepository/overrides/Gdk.py | 14 ++++++++++++++ - girepository/overrides/Gtk.py | 8 ++++++++ + girepository/Makefile.am | 3 +++ + girepository/importer.py | 3 +-- + girepository/overrides/Gdk.py | 14 ++++++++++++++ + girepository/overrides/Gtk.py | 8 ++++++++ girepository/overrides/__init__.py | 0 5 files changed, 26 insertions(+), 2 deletions(-) commit c12964e6a3354d8063355225c94e6d21d621e08b Author: Simon van der Linden -Date: Tue Jun 2 23:40:41 2009 +0200 +Date: Tue Jun 2 23:40:41 2009 +0200 Disables the tests that fail in tests/test_girepository.py. @@ -33891,7 +34004,7 @@ Date: Tue Jun 2 23:40:41 2009 +0200 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140 Author: Simon van der Linden -Date: Tue Jun 2 23:03:26 2009 +0200 +Date: Tue Jun 2 23:03:26 2009 +0200 Imports test_girepository.py from former PyBank's everything_unittest.py. @@ -33902,30 +34015,30 @@ Date: Tue Jun 2 23:03:26 2009 +0200 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a Author: Simon van der Linden -Date: Thu May 28 17:45:11 2009 +0200 +Date: Thu May 28 17:45:11 2009 +0200 Introduces the girepository module from the former PyBank. - INSTALL | 69 +-- - Makefile.am | 2 +- - configure.ac | 12 + - girepository/Makefile.am | 52 ++ - girepository/__init__.py | 24 + - girepository/bank-argument.c | 379 +++++++++++++ - girepository/bank-info.c | 1194 + INSTALL | 69 +-- + Makefile.am | 2 +- + configure.ac | 12 + + girepository/Makefile.am | 52 ++ + girepository/__init__.py | 24 + + girepository/bank-argument.c | 379 +++++++++++++ + girepository/bank-info.c | 1194 ++++++++++++++++++++++++++++++++++++++++ girepository/bank-repository.c | 237 ++++++++ - girepository/bank.c | 155 ++++++ - girepository/bank.h | 80 +++ - girepository/btypes.py | 300 ++++++++++ - girepository/importer.py | 52 ++ - girepository/module.py | 224 ++++++++ - girepository/repository.py | 51 ++ + girepository/bank.c | 155 ++++++ + girepository/bank.h | 80 +++ + girepository/btypes.py | 300 ++++++++++ + girepository/importer.py | 52 ++ + girepository/module.py | 224 ++++++++ + girepository/repository.py | 51 ++ 14 files changed, 2799 insertions(+), 32 deletions(-) commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e Author: Gian Mario Tagliaretti -Date: Tue Jun 2 18:28:22 2009 +0200 +Date: Tue Jun 2 18:28:22 2009 +0200 Fix the docs for gio.FilterOutputStream @@ -33934,31 +34047,31 @@ Date: Tue Jun 2 18:28:22 2009 +0200 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6 Author: Gian Mario Tagliaretti -Date: Tue Jun 2 18:27:00 2009 +0200 +Date: Tue Jun 2 18:27:00 2009 +0200 Add gio.FilterOutputStream docs - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-filteroutputstream.xml | 152 ++++++++++++++++++++++++++++ 3 files changed, 155 insertions(+) commit e2c31f916967229b6547e68013628ce0082cf875 Author: Gian Mario Tagliaretti -Date: Tue Jun 2 13:29:59 2009 +0200 +Date: Tue Jun 2 13:29:59 2009 +0200 Add gio.FilterInputStream docs - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-filterinputstream.xml | 152 +++++++++++++++++++++++++++++ 3 files changed, 155 insertions(+) commit 49a467eee445bc75554db0374006722ac075194b Author: Gian Mario Tagliaretti -Date: Tue Jun 2 11:33:20 2009 +0200 +Date: Tue Jun 2 11:33:20 2009 +0200 Add API appeared in 2.20 but not marked as such in gio docs @@ -33967,26 +34080,26 @@ Date: Tue Jun 2 11:33:20 2009 +0200 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0 Author: Gian Mario Tagliaretti -Date: Tue Jun 2 10:41:26 2009 +0200 +Date: Tue Jun 2 10:41:26 2009 +0200 Wrap gio.FileOutputStream.query_info_async Add the wrapper for gio.FileOutputStream.query_info_async including docs and a test. - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-fileoutputstream.xml | 257 ++++++++++++++++++++++++++++++ - gio/Makefile.am | 3 +- - gio/gfileoutputstream.override | 68 ++++++++ - gio/gio.override | 1 + - tests/test_gio.py | 27 ++++ + gio/Makefile.am | 3 +- + gio/gfileoutputstream.override | 68 ++++++++ + gio/gio.override | 1 + + tests/test_gio.py | 27 ++++ 7 files changed, 358 insertions(+), 1 deletion(-) commit 4673577d1f6c3d54423808dd575987092fb05ad2 Author: Gian Mario Tagliaretti -Date: Tue Jun 2 10:17:41 2009 +0200 +Date: Tue Jun 2 10:17:41 2009 +0200 Fix gio.FileInputStream docs @@ -33997,7 +34110,7 @@ Date: Tue Jun 2 10:17:41 2009 +0200 commit 1e1cad02879d514745b5233658654cbe944530a5 Author: Gian Mario Tagliaretti -Date: Mon Jun 1 22:54:26 2009 +0200 +Date: Mon Jun 1 22:54:26 2009 +0200 Fix the method name @@ -34006,44 +34119,44 @@ Date: Mon Jun 1 22:54:26 2009 +0200 commit f605811afe8c91f121e89b6f9ec28c70b62f4110 Author: Gian Mario Tagliaretti -Date: Mon Jun 1 22:40:56 2009 +0200 +Date: Mon Jun 1 22:40:56 2009 +0200 Wrap gio.FileInputStream.query_async Add the wrapper for gio.FileInputStream.query_async including docs and a test. - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-fileinputstream.xml | 221 +++++++++++++++++++++++++++++++ - gio/Makefile.am | 1 + - gio/gfileinputstream.override | 68 ++++++++++ - gio/gio.override | 1 + - tests/test_gio.py | 27 ++++ + gio/Makefile.am | 1 + + gio/gfileinputstream.override | 68 ++++++++++ + gio/gio.override | 1 + + tests/test_gio.py | 27 ++++ 7 files changed, 321 insertions(+) commit 08623e54a426377c1504b5c364aabae5a17f8ad8 Author: Paul Pogonyshev -Date: Sun May 31 17:43:16 2009 +0300 +Date: Sun May 31 17:43:16 2009 +0300 Install executable codegen parts with executing permissions Also add shebang where it was missing. Bug #583979. - codegen/Makefile.am | 23 ++++++++++++----------- + codegen/Makefile.am | 23 ++++++++++++----------- codegen/code-coverage.py | 2 ++ - codegen/codegen.py | 2 ++ - codegen/createdefs.py | 0 + codegen/codegen.py | 2 ++ + codegen/createdefs.py | 0 codegen/defsconvert.py | 2 ++ - codegen/defsgen.py | 0 - codegen/docgen.py | 0 - codegen/scmexpr.py | 0 + codegen/defsgen.py | 0 + codegen/docgen.py | 0 + codegen/scmexpr.py | 0 8 files changed, 18 insertions(+), 11 deletions(-) commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2 Author: Paul Pogonyshev -Date: Sat May 30 16:57:49 2009 +0300 +Date: Sat May 30 16:57:49 2009 +0300 Wrap gio.DataInputStream.read_line_async and read_until_async @@ -34052,18 +34165,18 @@ Date: Sat May 30 16:57:49 2009 +0300 functions there. Add unit tests. Re-enable synchronous read_line unit test and adjust it for new official GIO behavior. Bug #584285. - gio/Makefile.am | 1 + + gio/Makefile.am | 1 + gio/gdatainputstream.override | 250 ++++++++++++++++++++++++++++++++++++++++++ gio/ginputstream.override | 65 ----------- - gio/gio.defs | 4 +- - gio/gio.override | 1 + - tests/test_gio.py | 51 ++++++++- + gio/gio.defs | 4 +- + gio/gio.override | 1 + + tests/test_gio.py | 51 ++++++++- 6 files changed, 300 insertions(+), 72 deletions(-) commit 2cb569c0ced49f9ed5ca83292d5f15c837066688 Author: Paul Pogonyshev -Date: Sat May 30 17:24:15 2009 +0300 +Date: Sat May 30 17:24:15 2009 +0300 Fix gio.OutputStream.splice_async @@ -34074,7 +34187,7 @@ Date: Sat May 30 17:24:15 2009 +0300 commit e43fa429f6b4019a432acb481bbc07c8201cc46d Author: Paul Pogonyshev -Date: Wed May 27 21:19:27 2009 +0300 +Date: Wed May 27 21:19:27 2009 +0300 Code maintenance: ignore one more file created by unit tests @@ -34083,19 +34196,19 @@ Date: Wed May 27 21:19:27 2009 +0300 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f Author: Gian Mario Tagliaretti -Date: Mon May 25 20:20:38 2009 +0200 +Date: Mon May 25 20:20:38 2009 +0200 Update the docs with new 2.20 API docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++ - docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++- + docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++- docs/reference/pygio-mount.xml | 156 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 367 insertions(+), 3 deletions(-) commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd Author: Gian Mario Tagliaretti -Date: Mon May 25 01:33:08 2009 +0200 +Date: Mon May 25 01:33:08 2009 +0200 Add gio 2.20 API @@ -34108,7 +34221,7 @@ Date: Mon May 25 01:33:08 2009 +0200 commit 0d08df42514fba6abc896814abfee0d2d083c29e Author: Gian Mario Tagliaretti -Date: Mon May 25 00:14:21 2009 +0200 +Date: Mon May 25 00:14:21 2009 +0200 Post release version bump 2.19.0 @@ -34117,17 +34230,17 @@ Date: Mon May 25 00:14:21 2009 +0200 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764 Author: Gian Mario Tagliaretti -Date: Sun May 24 23:56:29 2009 +0200 +Date: Sun May 24 23:56:29 2009 +0200 Update NEWS, release 2.18.0 - NEWS | 14 ++++++++++++++ + NEWS | 14 ++++++++++++++ configure.ac | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4 Author: Gian Mario Tagliaretti -Date: Sun May 24 22:18:40 2009 +0200 +Date: Sun May 24 22:18:40 2009 +0200 Add documentation for the gio.OutputStream class @@ -34137,7 +34250,7 @@ Date: Sun May 24 22:18:40 2009 +0200 classes are in place so we can ship a (almost) complete reference. - docs/Makefile.am | 2 + + docs/Makefile.am | 2 + docs/reference/pygio-classes.xml | 3 +- docs/reference/pygio-outputstream.xml | 140 ++++++++++++++++++++++++++++++++++ @@ -34145,7 +34258,7 @@ Date: Sun May 24 22:18:40 2009 +0200 commit 11524cdf6472d9115a812ce431f6767aec5627bc Author: Gian Mario Tagliaretti -Date: Sun May 24 22:12:04 2009 +0200 +Date: Sun May 24 22:12:04 2009 +0200 Wrap gio.OutputStream.splice_async() @@ -34153,27 +34266,27 @@ Date: Sun May 24 22:12:04 2009 +0200 gio/goutputstream.override | 58 +++++++++++++++++++++++++++++++++++++++++++++- - tests/test_gio.py | 20 ++++++++++++++++ + tests/test_gio.py | 20 ++++++++++++++++ 2 files changed, 77 insertions(+), 1 deletion(-) commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19 Author: Emilio Pozuelo Monfort -Date: Sun May 24 22:55:16 2009 +0300 +Date: Sun May 24 22:55:16 2009 +0300 Add Python version into installed libpyglib name Do this now, while no-one (as far as we know) links to the library besides PyGObject itself. Bug #550235. - configure.ac | 2 ++ - gio/Makefile.am | 2 +- + configure.ac | 2 ++ + gio/Makefile.am | 2 +- glib/Makefile.am | 10 +++++----- - gobject/Makefile.am | 2 +- + gobject/Makefile.am | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) commit 59da8cd24ea390b6c983995833ec6b0e5d028b35 Author: Gian Mario Tagliaretti -Date: Sun May 24 11:44:24 2009 +0200 +Date: Sun May 24 11:44:24 2009 +0200 Wrap gio.OutputStream.flush_async() @@ -34181,12 +34294,12 @@ Date: Sun May 24 11:44:24 2009 +0200 gio/goutputstream.override | 47 +++++++++++++++++++++++++++++++++++++++++++++- - tests/test_gio.py | 11 +++++++++++ + tests/test_gio.py | 11 +++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) commit 84ab6178ed0033f69932df5bc73c86bdff80c953 Author: Gian Mario Tagliaretti -Date: Sun May 17 17:29:37 2009 +0200 +Date: Sun May 17 17:29:37 2009 +0200 Add documentation for the gio.FileMonitor class @@ -34196,7 +34309,7 @@ Date: Sun May 17 17:29:37 2009 +0200 classes are in place so we can ship a (almost) complete reference. - docs/Makefile.am | 2 + + docs/Makefile.am | 2 + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-filemonitor.xml | 128 +++++++++++++++++++++++++++++++++++ @@ -34204,19 +34317,19 @@ Date: Sun May 17 17:29:37 2009 +0200 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a Author: Josselin Mouette -Date: Sun May 17 18:03:44 2009 +0300 +Date: Sun May 17 18:03:44 2009 +0300 Use 'Requires.private' for libffi in '.pc' files Correction for patch in bug #550231. pygobject-2.0-uninstalled.pc.in | 3 ++- - pygobject-2.0.pc.in | 3 ++- + pygobject-2.0.pc.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b Author: Gian Mario Tagliaretti -Date: Wed May 13 21:54:39 2009 +0200 +Date: Wed May 13 21:54:39 2009 +0200 Add wrapper for gio.FileAttributeMatcher @@ -34225,13 +34338,13 @@ Date: Wed May 13 21:54:39 2009 +0200 wrapping the gio API. This should probably be done in gio itself. gio/gfileinfo.override | 24 ++++++++++++++++++++++-- - gio/gio-types.defs | 7 +++++++ - gio/gio.override | 2 ++ + gio/gio-types.defs | 7 +++++++ + gio/gio.override | 2 ++ 3 files changed, 31 insertions(+), 2 deletions(-) commit e707447d9313f2f2ecba395cfe3682d5a5e859f4 Author: Paul Pogonyshev -Date: Wed May 13 22:06:25 2009 +0300 +Date: Wed May 13 22:06:25 2009 +0300 Mark relevant glib.IOChannel methods as METH_NOARGS @@ -34244,7 +34357,7 @@ Date: Wed May 13 22:06:25 2009 +0300 commit 002915e5f458fec5a89766a54e8119a70a80caa7 Author: Gian Mario Tagliaretti -Date: Tue May 12 20:37:24 2009 +0200 +Date: Tue May 12 20:37:24 2009 +0200 Add documentation for the gio.FileInfo class @@ -34254,7 +34367,7 @@ Date: Tue May 12 20:37:24 2009 +0200 classes are in place so we can ship a (almost) complete reference. - docs/Makefile.am | 2 + + docs/Makefile.am | 2 + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-fileinfo.xml | 346 ++++++++++++++++++++++++++++++++++++++ @@ -34262,22 +34375,19 @@ Date: Tue May 12 20:37:24 2009 +0200 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1 Author: Paul Pogonyshev -Date: Sat May 9 16:46:04 2009 +0300 +Date: Sat May 9 16:46:04 2009 +0300 Retire hand-written ChangeLog; autocreate from Git history Basically copied over from GLib source tree. - ChangeLog | 3606 - --------------------------------------------------- - ChangeLog.pre-2.18 | 3608 - ++++++++++++++++++++++++++++++++++++++++++++++++++++ - Makefile.am | 32 + - 3 files changed, 3640 insertions(+), 3606 deletions(-) + ChangeLog => ChangeLog.pre-2.18 | 2 ++ + Makefile.am | 32 ++++++++++++++++++++++++++++++++ + 2 files changed, 34 insertions(+) commit 23556bdbcf9cf06db866901fb822dd78a9043648 Author: Gian Mario Tagliaretti -Date: Sat May 9 00:03:05 2009 +0200 +Date: Sat May 9 00:03:05 2009 +0200 Fix a bug in InputStream.skip_async @@ -34288,11 +34398,11 @@ Date: Sat May 9 00:03:05 2009 +0200 commit ed6b06315c17441b41c001d38537c904b8fe18de Author: Gian Mario Tagliaretti -Date: Sat May 9 00:02:33 2009 +0200 +Date: Sat May 9 00:02:33 2009 +0200 Add docs for the gio.InputStream class - docs/Makefile.am | 2 + + docs/Makefile.am | 2 + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-inputstream.xml | 730 +++++++++++++++++++++++++++++++++++ @@ -34300,7 +34410,7 @@ Date: Sat May 9 00:02:33 2009 +0200 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507 Author: Gian Mario Tagliaretti -Date: Mon May 4 23:40:28 2009 +0200 +Date: Mon May 4 23:40:28 2009 +0200 Wrap gio.InputStream.skip_async() @@ -34308,26 +34418,26 @@ Date: Mon May 4 23:40:28 2009 +0200 gio/ginputstream.override | 50 ++++++++++++++++++++++++++++++++++++++++++++++- - tests/test_gio.py | 20 +++++++++++++++++++ + tests/test_gio.py | 20 +++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) commit 2311187824d1b48a996ee2620fd3c9a63e3edd66 Author: Siavash Safi -Date: Mon May 4 15:46:49 2009 +0430 +Date: Mon May 4 15:46:49 2009 +0430 Add -n --namespace option and the code to remove dll API in headers, Added documentation Patch from bug #579275 - ChangeLog | 8 ++++ + ChangeLog | 8 ++++ codegen/h2def.py | 133 +++++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 117 insertions(+), 24 deletions(-) commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1 Author: Paul Pogonyshev -Date: Sat May 2 23:54:52 2009 +0300 +Date: Sat May 2 23:54:52 2009 +0300 Properly mark glib.get_user_special_dir() as a keywords method @@ -34338,11 +34448,11 @@ Date: Sat May 2 23:54:52 2009 +0300 commit f466dca880cc6ea68b9fe236943eea7a07d33520 Author: Gian Mario Tagliaretti -Date: Sun May 3 11:03:25 2009 +0200 +Date: Sun May 3 11:03:25 2009 +0200 Add docs for the gio.LoadableIcon class - docs/Makefile.am | 2 + + docs/Makefile.am | 2 + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-loadableicon.xml | 198 ++++++++++++++++++++++++++++++++++ @@ -34350,19 +34460,19 @@ Date: Sun May 3 11:03:25 2009 +0200 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60 Author: Gian Mario Tagliaretti -Date: Sun May 3 01:21:55 2009 +0200 +Date: Sun May 3 01:21:55 2009 +0200 Add docs for the gio.ThemedIcon class - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + docs/reference/pygio-themedicon.xml | 204 ++++++++++++++++++++++++++++++++++++ 3 files changed, 207 insertions(+) commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672 Author: Gian Mario Tagliaretti -Date: Sat May 2 12:25:19 2009 +0200 +Date: Sat May 2 12:25:19 2009 +0200 post release version bump to 2.17.1 @@ -34371,7 +34481,7 @@ Date: Sat May 2 12:25:19 2009 +0200 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e Author: Gian Mario Tagliaretti -Date: Fri May 1 23:40:31 2009 +0200 +Date: Fri May 1 23:40:31 2009 +0200 Fix the class title @@ -34380,20 +34490,20 @@ Date: Fri May 1 23:40:31 2009 +0200 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e Author: Gian Mario Tagliaretti -Date: Fri May 1 22:24:33 2009 +0200 +Date: Fri May 1 22:24:33 2009 +0200 Add docs for the gio.MountOperation class - docs/Makefile.am | 2 + - docs/reference/pygio-classes.xml | 1 + - docs/reference/pygio-constants.xml | 107 +++++ + docs/Makefile.am | 2 + + docs/reference/pygio-classes.xml | 1 + + docs/reference/pygio-constants.xml | 107 +++++ docs/reference/pygio-mountoperation.xml | 726 ++++++++++++++++++++++++++++++++ 4 files changed, 836 insertions(+) commit fceea8e843e880f0469e454df23141e7dd2bc0cf Author: Gian Mario Tagliaretti -Date: Thu Apr 30 22:13:06 2009 +0200 +Date: Thu Apr 30 22:13:06 2009 +0200 Update NEWS, release 2.17.0 @@ -34403,7 +34513,7 @@ Date: Thu Apr 30 22:13:06 2009 +0200 commit 47389217d1a65a8e3f404d486c508cf5d3164756 Author: Paul Pogonyshev -Date: Thu Apr 30 22:47:19 2009 +0300 +Date: Thu Apr 30 22:47:19 2009 +0300 Fix memory leak in gio.File.query_info_async() diff --git a/Makefile.am b/Makefile.am index 1a984e1..186cfd7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,7 +23,8 @@ EXTRA_DIST = \ pygi-convert.sh \ m4/as-ac-expand.m4 \ m4/jhflags.m4 \ - m4/python.m4 + m4/python.m4 \ + setup.py MAINTAINERCLEANFILES = \ $(srcdir)/INSTALL \ diff --git a/Makefile.in b/Makefile.in index d3d243f..2353779 100644 --- a/Makefile.in +++ b/Makefile.in @@ -283,6 +283,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -407,6 +408,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ @@ -437,7 +439,8 @@ EXTRA_DIST = \ pygi-convert.sh \ m4/as-ac-expand.m4 \ m4/jhflags.m4 \ - m4/python.m4 + m4/python.m4 \ + setup.py MAINTAINERCLEANFILES = \ $(srcdir)/INSTALL \ diff --git a/NEWS b/NEWS index c3cf4e0..abbb672 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,16 @@ +3.21.91 25-Aug-2016 + - Allow installing with pip (Mathieu Bridon) (#767988) + - Skip a test with older glib (Christoph Reiter) (#740301) + - Fix a test with Python 3.1/3.2 (Arfrever Frehtes Taifersar Arahesis, Christoph Reiter) (#740324) + - tests: Use places kwarg for assertAlmostEqual (Arfrever Frehtes Taifersar Arahesis, Christoph Reiter) (#740337) + - Print exception if marshalling a signal argument fails (Christoph Reiter) (#748198) + - overrides: allow treemodel sequence shorthands (Marinus Schraal) (#766580) + - Remove pygobject-external.h (Christoph Reiter) (#767084) + - Remove pygobject-private.h and rename pygobject.c to pygobject-object.c (Christoph Reiter) (#767084) + - Merge pyglib-private.h into pyglib.h (Christoph Reiter) (#767084) + - Remove pygi.h and pygi-private.h (Christoph Reiter) (#767084) + - configure.ac: post-release version bump to 3.21.1 (Simon Feltman) + 3.21.0 24-Apr-2016 - gi: Add require_versions() function (Dustin Falgout) (#761141) - test_gerror_novalue: Don't assign the error to a variable diff --git a/PKG-INFO b/PKG-INFO index 679a677..38a3d8a 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: PyGObject -Version: 3.21.0 +Version: 3.21.91 Summary: Python bindings for GObject Home-page: http://www.pygtk.org/ Author: James Henstridge @@ -8,7 +8,7 @@ Author-email: james@daa.com.au Maintainer: Simon Feltman Maintainer-email: sfeltman@src.gnome.org License: GNU LGPL -Download-url: ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/3.21/pygobject-3.21.0.tar.gz +Download-url: ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/3.21/pygobject-3.21.91.tar.gz Description: Python bindings for GLib and GObject Platform: POSIX, Windows Classifier: Development Status :: 5 - Production/Stable diff --git a/aclocal.m4 b/aclocal.m4 index 515bcc2..3241747 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -20,221 +20,10 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# serial 1 (pkg-config-0.24) -# -# Copyright © 2004 Scott James Remnant . +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_code_coverage.html +# =========================================================================== # -# 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 -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) -# ---------------------------------- -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) -m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi -fi[]dnl -])# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -# only at the first occurence in configure.ac, so if the first place -# it's called might be skipped (such as if it is within an "if", you -# have to call PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_default([$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -# --------------------------------------------- -m4_define([_PKG_CONFIG], -[if test -n "$$1"; then - pkg_cv_[]$1="$$1" - elif test -n "$PKG_CONFIG"; then - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes ], - [pkg_failed=yes]) - else - pkg_failed=untried -fi[]dnl -])# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND]) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - AC_MSG_RESULT([no]) - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - m4_default([$4], [AC_MSG_ERROR( -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT])[]dnl - ]) -elif test $pkg_failed = untried; then - AC_MSG_RESULT([no]) - m4_default([$4], [AC_MSG_FAILURE( -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])[]dnl - ]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - $3 -fi[]dnl -])# PKG_CHECK_MODULES - - -# PKG_INSTALLDIR(DIRECTORY) -# ------------------------- -# Substitutes the variable pkgconfigdir as the location where a module -# should install pkg-config .pc files. By default the directory is -# $libdir/pkgconfig, but the default can be changed by passing -# DIRECTORY. The user can override through the --with-pkgconfigdir -# parameter. -AC_DEFUN([PKG_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([pkgconfigdir], - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, - [with_pkgconfigdir=]pkg_default) -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -]) dnl PKG_INSTALLDIR - - -# PKG_NOARCH_INSTALLDIR(DIRECTORY) -# ------------------------- -# Substitutes the variable noarch_pkgconfigdir as the location where a -# module should install arch-independent pkg-config .pc files. By -# default the directory is $datadir/pkgconfig, but the default can be -# changed by passing DIRECTORY. The user can override through the -# --with-noarch-pkgconfigdir parameter. -AC_DEFUN([PKG_NOARCH_INSTALLDIR], -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) -m4_pushdef([pkg_description], - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) -AC_ARG_WITH([noarch-pkgconfigdir], - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, - [with_noarch_pkgconfigdir=]pkg_default) -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) -m4_popdef([pkg_default]) -m4_popdef([pkg_description]) -]) dnl PKG_NOARCH_INSTALLDIR - - -# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, -# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# ------------------------------------------- -# Retrieves the value of the pkg-config variable for the given module. -AC_DEFUN([PKG_CHECK_VAR], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl - -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) -AS_VAR_COPY([$1], [pkg_cv_][$1]) - -AS_VAR_IF([$1], [""], [$5], [$4])dnl -])# PKG_CHECK_VAR - # SYNOPSIS # # AX_CODE_COVERAGE() @@ -250,47 +39,87 @@ AS_VAR_IF([$1], [""], [$5], [$4])dnl # corresponds to the value of the --enable-code-coverage option, which # defaults to being disabled. # +# Test also for gcov program and create GCOV variable that could be +# substituted. +# # Note that all optimisation flags in CFLAGS must be disabled when code # coverage is enabled. # # Usage example: +# # configure.ac: -# AX_CODE_COVERAGE +# +# AX_CODE_COVERAGE # # Makefile.am: -# @CODE_COVERAGE_RULES@ -# my_program_LIBS = … $(CODE_COVERAGE_LDFLAGS) … -# my_program_CFLAGS = … $(CODE_COVERAGE_CFLAGS) … # -# This results in a “check-code-coverage” rule being added to any Makefile.am -# which includes “@CODE_COVERAGE_RULES@” (assuming the module has been -# configured with --enable-code-coverage). Running `make check-code-coverage` -# in that directory will run the module’s test suite (`make check`) and build -# a code coverage report detailing the code which was touched, then print the -# URI for the report. +# @CODE_COVERAGE_RULES@ +# my_program_LIBS = ... $(CODE_COVERAGE_LDFLAGS) ... +# my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ... +# +# This results in a "check-code-coverage" rule being added to any +# Makefile.am which includes "@CODE_COVERAGE_RULES@" (assuming the module +# has been configured with --enable-code-coverage). Running `make +# check-code-coverage` in that directory will run the module's test suite +# (`make check`) and build a code coverage report detailing the code which +# was touched, then print the URI for the report. +# +# This code was derived from Makefile.decl in GLib, originally licenced +# under LGPLv2.1+. # # LICENSE # -# Copyright © 2012, 2014 Philip Withnall -# Copyright © 2012 Xan Lopez -# Copyright © 2012 Christian Persch -# Copyright © 2012 Paolo Borelli -# Copyright © 2012 Dan Winship +# Copyright (c) 2012 Philip Withnall +# Copyright (c) 2012 Xan Lopez +# Copyright (c) 2012 Christian Persch +# Copyright (c) 2012 Paolo Borelli +# Copyright (c) 2012 Dan Winship +# Copyright (c) 2015 Bastien ROUCARIES # -# Derived from Makefile.decl in GLib, originally licenced under LGPLv2.1+. -# This file is licenced under LGPLv2.1+. +# This library is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or (at +# your option) any later version. +# +# This library is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser +# General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . -#serial 1 +#serial 5 AC_DEFUN([AX_CODE_COVERAGE],[ dnl Check for --enable-code-coverage + AC_REQUIRE([AC_PROG_SED]) + + # allow to override gcov location + AC_ARG_WITH([gcov], + [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])], + [_AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov], + [_AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov]) + AC_MSG_CHECKING([whether to build with code coverage support]) - AC_ARG_ENABLE([code-coverage], AS_HELP_STRING([--enable-code-coverage], [Whether to enable code coverage support]),, enable_code_coverage=no) + AC_ARG_ENABLE([code-coverage], + AS_HELP_STRING([--enable-code-coverage], + [Whether to enable code coverage support]),, + enable_code_coverage=no) + AM_CONDITIONAL([CODE_COVERAGE_ENABLED], [test x$enable_code_coverage = xyes]) AC_SUBST([CODE_COVERAGE_ENABLED], [$enable_code_coverage]) AC_MSG_RESULT($enable_code_coverage) AS_IF([ test "$enable_code_coverage" = "yes" ], [ + # check for gcov + AC_CHECK_TOOL([GCOV], + [$_AX_CODE_COVERAGE_GCOV_PROG_WITH], + [:]) + AS_IF([test "X$GCOV" = "X:"], + [AC_MSG_ERROR([gcov is needed to do coverage])]) + AC_SUBST([GCOV]) + dnl Check if gcc is being used AS_IF([ test "$GCC" = "no" ], [ AC_MSG_ERROR([not compiling with gcc, which is required for gcov code coverage]) @@ -349,8 +178,11 @@ CODE_COVERAGE_RULES=' # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage # reports to be created. (Default: # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) +# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov +# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the lcov instance. +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance. -# (Default: empty) +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml # instance. (Default: empty) # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore @@ -363,7 +195,9 @@ CODE_COVERAGE_RULES=' CODE_COVERAGE_DIRECTORY ?= $(top_builddir) CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage -CODE_COVERAGE_LCOV_OPTIONS ?= +CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" +CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) +CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) CODE_COVERAGE_GENHTML_OPTIONS ?= CODE_COVERAGE_IGNORE_PATTERN ?= @@ -855,6 +689,282 @@ AU_DEFUN([GNOME_CXX_WARNINGS],[ eliminate use of --enable-iso-cxx. See: http://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html#ax_compiler_flags]]) +dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +dnl serial 11 (pkg-config-0.29) +dnl +dnl Copyright © 2004 Scott James Remnant . +dnl Copyright © 2012-2015 Dan Nicholson +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl As a special exception to the GNU General Public License, if you +dnl distribute this file as part of a program that contains a +dnl configuration script generated by Autoconf, you may include it under +dnl the same distribution terms that you use for the rest of that +dnl program. + +dnl PKG_PREREQ(MIN-VERSION) +dnl ----------------------- +dnl Since: 0.29 +dnl +dnl Verify that the version of the pkg-config macros are at least +dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's +dnl installed version of pkg-config, this checks the developer's version +dnl of pkg.m4 when generating configure. +dnl +dnl To ensure that this macro is defined, also add: +dnl m4_ifndef([PKG_PREREQ], +dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) +dnl +dnl See the "Since" comment for each macro you use to see what version +dnl of the macros you require. +m4_defun([PKG_PREREQ], +[m4_define([PKG_MACROS_VERSION], [0.29]) +m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, + [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) +])dnl PKG_PREREQ + +dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) +dnl ---------------------------------- +dnl Since: 0.16 +dnl +dnl Search for the pkg-config tool and set the PKG_CONFIG variable to +dnl first found in the path. Checks that the version of pkg-config found +dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is +dnl used since that's the first version where most current features of +dnl pkg-config existed. +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])dnl PKG_PROG_PKG_CONFIG + +dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------------------------------- +dnl Since: 0.18 +dnl +dnl Check to see whether a particular set of modules exists. Similar to +dnl PKG_CHECK_MODULES(), but does not set variables or print errors. +dnl +dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +dnl only at the first occurence in configure.ac, so if the first place +dnl it's called might be skipped (such as if it is within an "if", you +dnl have to call PKG_CHECK_EXISTS manually +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +dnl --------------------------------------------- +dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting +dnl pkg_failed based on the result. +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])dnl _PKG_CONFIG + +dnl _PKG_SHORT_ERRORS_SUPPORTED +dnl --------------------------- +dnl Internal check to see if pkg-config supports short errors. +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])dnl _PKG_SHORT_ERRORS_SUPPORTED + + +dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl -------------------------------------------------------------- +dnl Since: 0.4.0 +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES might not happen, you should be sure to include an +dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT])[]dnl + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see .])[]dnl + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])dnl PKG_CHECK_MODULES + + +dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +dnl [ACTION-IF-NOT-FOUND]) +dnl --------------------------------------------------------------------- +dnl Since: 0.29 +dnl +dnl Checks for existence of MODULES and gathers its build flags with +dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags +dnl and VARIABLE-PREFIX_LIBS from --libs. +dnl +dnl Note that if there is a possibility the first call to +dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to +dnl include an explicit call to PKG_PROG_PKG_CONFIG in your +dnl configure.ac. +AC_DEFUN([PKG_CHECK_MODULES_STATIC], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +_save_PKG_CONFIG=$PKG_CONFIG +PKG_CONFIG="$PKG_CONFIG --static" +PKG_CHECK_MODULES($@) +PKG_CONFIG=$_save_PKG_CONFIG[]dnl +])dnl PKG_CHECK_MODULES_STATIC + + +dnl PKG_INSTALLDIR([DIRECTORY]) +dnl ------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable pkgconfigdir as the location where a module +dnl should install pkg-config .pc files. By default the directory is +dnl $libdir/pkgconfig, but the default can be changed by passing +dnl DIRECTORY. The user can override through the --with-pkgconfigdir +dnl parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_INSTALLDIR + + +dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) +dnl -------------------------------- +dnl Since: 0.27 +dnl +dnl Substitutes the variable noarch_pkgconfigdir as the location where a +dnl module should install arch-independent pkg-config .pc files. By +dnl default the directory is $datadir/pkgconfig, but the default can be +dnl changed by passing DIRECTORY. The user can override through the +dnl --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +])dnl PKG_NOARCH_INSTALLDIR + + +dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +dnl ------------------------------------------- +dnl Since: 0.28 +dnl +dnl Retrieves the value of the pkg-config variable for the given module. +AC_DEFUN([PKG_CHECK_VAR], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl + +_PKG_CONFIG([$1], [variable="][$3]["], [$2]) +AS_VAR_COPY([$1], [pkg_cv_][$1]) + +AS_VAR_IF([$1], [""], [$5], [$4])dnl +])dnl PKG_CHECK_VAR + # Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation diff --git a/config.guess b/config.guess index dbfb978..0967f2a 100755 --- a/config.guess +++ b/config.guess @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2015 Free Software Foundation, Inc. +# Copyright 1992-2016 Free Software Foundation, Inc. -timestamp='2015-01-01' +timestamp='2016-04-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ timestamp='2015-01-01' # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to . @@ -50,7 +50,7 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2015 Free Software Foundation, Inc. +Copyright 1992-2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -168,20 +168,27 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ + /sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || \ + echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; + earmv*) + arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` + endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` + machine=${arch}${endian}-unknown + ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) + arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ @@ -197,6 +204,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in os=netbsd ;; esac + # Determine ABI tags. + case "${UNAME_MACHINE_ARCH}" in + earm*) + expr='s/^earmv[0-9]/-eabi/;s/eb$//' + abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` + ;; + esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need @@ -207,13 +221,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in release='-gnu' ;; *) - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" + echo "${machine}-${os}${release}${abi}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` @@ -223,6 +237,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; + *:LibertyBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} + exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; @@ -235,6 +253,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; + *:Sortix:*:*) + echo ${UNAME_MACHINE}-unknown-sortix + exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) @@ -251,42 +272,42 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; + UNAME_MACHINE=alpha ;; "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; + UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; + UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; + UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; + UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; + UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; + UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; + UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; + UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; + UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; + UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 @@ -359,16 +380,16 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build - SUN_ARCH="i386" + SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then - SUN_ARCH="x86_64" + SUN_ARCH=x86_64 fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` @@ -393,7 +414,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} @@ -618,13 +639,13 @@ EOF sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 + 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + 32) HP_ARCH=hppa2.0n ;; + 64) HP_ARCH=hppa2.0w ;; + '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi @@ -663,11 +684,11 @@ EOF exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac - if [ ${HP_ARCH} = "hppa2.0w" ] + if [ ${HP_ARCH} = hppa2.0w ] then eval $set_cc_for_build @@ -680,12 +701,12 @@ EOF # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then - HP_ARCH="hppa2.0w" + HP_ARCH=hppa2.0w else - HP_ARCH="hppa64" + HP_ARCH=hppa64 fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} @@ -790,14 +811,14 @@ EOF echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) @@ -879,7 +900,7 @@ EOF exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix @@ -902,7 +923,7 @@ EOF EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="gnulibc1" ; fi + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) @@ -933,6 +954,9 @@ EOF crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; + e2k:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; @@ -945,6 +969,9 @@ EOF ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; + k1om:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; @@ -1021,7 +1048,7 @@ EOF echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} @@ -1100,7 +1127,7 @@ EOF # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub - # prints for the "djgpp" host, or else GDB configury will decide that + # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; @@ -1249,6 +1276,9 @@ EOF SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; + SX-ACE:SUPER-UX:*:*) + echo sxace-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; @@ -1262,9 +1292,9 @@ EOF UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in @@ -1286,7 +1316,7 @@ EOF exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then + if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi @@ -1317,7 +1347,7 @@ EOF # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. - if test "$cputype" = "386"; then + if test "$cputype" = 386; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" @@ -1359,7 +1389,7 @@ EOF echo i386-pc-xenix exit ;; i*86:skyos:*:*) - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos @@ -1370,6 +1400,9 @@ EOF x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; + amd64:Isilon\ OneFS:*:*) + echo x86_64-unknown-onefs + exit ;; esac cat >&2 <. # @@ -591,8 +591,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='pygobject' PACKAGE_TARNAME='pygobject' -PACKAGE_VERSION='3.21.0' -PACKAGE_STRING='pygobject 3.21.0' +PACKAGE_VERSION='3.21.91' +PACKAGE_STRING='pygobject 3.21.91' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject' PACKAGE_URL='https://wiki.gnome.org/Projects/PyGObject/' @@ -643,6 +643,7 @@ CODE_COVERAGE_LDFLAGS CODE_COVERAGE_CFLAGS GENHTML LCOV +GCOV CODE_COVERAGE_ENABLED CODE_COVERAGE_ENABLED_FALSE CODE_COVERAGE_ENABLED_TRUE @@ -793,6 +794,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -832,6 +834,7 @@ enable_cairo with_common enable_compile_warnings enable_iso_c +with_gcov enable_code_coverage ' ac_precious_vars='build_alias @@ -896,6 +899,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1148,6 +1152,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1285,7 +1298,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1398,7 +1411,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pygobject 3.21.0 to adapt to many kinds of systems. +\`configure' configures pygobject 3.21.91 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1438,6 +1451,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -1468,7 +1482,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pygobject 3.21.0:";; + short | recursive ) echo "Configuration of pygobject 3.21.91:";; esac cat <<\_ACEOF @@ -1512,6 +1526,7 @@ Optional Packages: few standard names such as "python3" or "python2" --without-common For package maintainers: do not install Python version independent files + --with-gcov=GCOV use given GCOV for coverage (GCOV=gcov). Some influential environment variables: CC C compiler command @@ -1611,7 +1626,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pygobject configure 3.21.0 +pygobject configure 3.21.91 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1889,7 +1904,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pygobject $as_me 3.21.0, which was +It was created by pygobject $as_me 3.21.91, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2253,9 +2268,9 @@ $as_echo "#define PYGOBJECT_MINOR_VERSION 21" >>confdefs.h PYGOBJECT_MINOR_VERSION=21 -$as_echo "#define PYGOBJECT_MICRO_VERSION 0" >>confdefs.h +$as_echo "#define PYGOBJECT_MICRO_VERSION 91" >>confdefs.h -PYGOBJECT_MICRO_VERSION=0 +PYGOBJECT_MICRO_VERSION=91 ac_config_headers="$ac_config_headers config.h" @@ -2777,7 +2792,7 @@ fi # Define the identity of the package. PACKAGE='pygobject' - VERSION='3.21.0' + VERSION='3.21.91' cat >>confdefs.h <<_ACEOF @@ -5256,7 +5271,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; -netbsd*) +netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -9242,6 +9257,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie openbsd* | bitrig*) with_gnu_ld=no ;; + linux* | k*bsd*-gnu | gnu*) + link_all_deplibs=no + ;; esac ld_shlibs=yes @@ -9496,7 +9514,7 @@ _LT_EOF fi ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -10166,6 +10184,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi + link_all_deplibs=no else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' @@ -10187,7 +10206,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; } esac ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -11282,9 +11301,6 @@ fi # before this can be enabled. hardcode_into_libs=yes - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command @@ -11293,7 +11309,7 @@ fi # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -11305,6 +11321,18 @@ fi dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -14930,7 +14958,19 @@ $as_echo_n "checking for Gnome code coverage support... " >&6; } $as_echo "yes" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 + + + # allow to override gcov location + +# Check whether --with-gcov was given. +if test "${with_gcov+set}" = set; then : + withval=$with_gcov; _AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov +else + _AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with code coverage support" >&5 $as_echo_n "checking whether to build with code coverage support... " >&6; } # Check whether --enable-code-coverage was given. if test "${enable_code_coverage+set}" = set; then : @@ -14939,6 +14979,7 @@ else enable_code_coverage=no fi + if test x$enable_code_coverage = xyes; then CODE_COVERAGE_ENABLED_TRUE= CODE_COVERAGE_ENABLED_FALSE='#' @@ -14954,6 +14995,104 @@ $as_echo "$enable_code_coverage" >&6; } if test "$enable_code_coverage" = "yes" ; then : + # check for gcov + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. +set dummy ${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_GCOV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$GCOV"; then + ac_cv_prog_GCOV="$GCOV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_GCOV="${ac_tool_prefix}$_AX_CODE_COVERAGE_GCOV_PROG_WITH" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +GCOV=$ac_cv_prog_GCOV +if test -n "$GCOV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5 +$as_echo "$GCOV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_GCOV"; then + ac_ct_GCOV=$GCOV + # Extract the first word of "$_AX_CODE_COVERAGE_GCOV_PROG_WITH", so it can be a program name with args. +set dummy $_AX_CODE_COVERAGE_GCOV_PROG_WITH; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_GCOV+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_GCOV"; then + ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_GCOV="$_AX_CODE_COVERAGE_GCOV_PROG_WITH" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_GCOV=$ac_cv_prog_ac_ct_GCOV +if test -n "$ac_ct_GCOV"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5 +$as_echo "$ac_ct_GCOV" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_GCOV" = x; then + GCOV=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + GCOV=$ac_ct_GCOV + fi +else + GCOV="$ac_cv_prog_GCOV" +fi + + if test "X$GCOV" = "X:"; then : + as_fn_error $? "gcov is needed to do coverage" "$LINENO" 5 +fi + + if test "$GCC" = "no" ; then : as_fn_error $? "not compiling with gcc, which is required for gcov code coverage" "$LINENO" 5 @@ -15099,8 +15238,11 @@ CODE_COVERAGE_RULES=' # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage # reports to be created. (Default: # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) +# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov +# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the lcov instance. +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance. -# (Default: empty) +# (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml # instance. (Default: empty) # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore @@ -15113,7 +15255,9 @@ CODE_COVERAGE_RULES=' CODE_COVERAGE_DIRECTORY ?= $(top_builddir) CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage -CODE_COVERAGE_LCOV_OPTIONS ?= +CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" +CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) +CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) CODE_COVERAGE_GENHTML_OPTIONS ?= CODE_COVERAGE_IGNORE_PATTERN ?= @@ -15861,7 +16005,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pygobject $as_me 3.21.0, which was +This file was extended by pygobject $as_me 3.21.91, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15928,7 +16072,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pygobject config.status 3.21.0 +pygobject config.status 3.21.91 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -17059,7 +17203,6 @@ $as_echo X"$file" | cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. diff --git a/configure.ac b/configure.ac index fff1863..0bed67f 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ m4_define(python3_min_ver, 3.1) dnl the pygobject version number m4_define(pygobject_major_version, 3) m4_define(pygobject_minor_version, 21) -m4_define(pygobject_micro_version, 0) +m4_define(pygobject_micro_version, 91) m4_define(pygobject_version, pygobject_major_version.pygobject_minor_version.pygobject_micro_version) dnl versions of packages we require ... diff --git a/examples/Makefile.in b/examples/Makefile.in index dab6464..3e74ec7 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -158,6 +158,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -282,6 +283,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/gi/Makefile.am b/gi/Makefile.am index 314fd41..319f2ce 100644 --- a/gi/Makefile.am +++ b/gi/Makefile.am @@ -36,6 +36,7 @@ pygi_LTLIBRARIES = _gi.la _gi_la_SOURCES = \ gobjectmodule.c \ + gobjectmodule.h \ pygboxed.c \ pygboxed.h \ pygenum.c \ @@ -44,9 +45,10 @@ _gi_la_SOURCES = \ pygflags.h \ pyginterface.c \ pyginterface.h \ - pygobject.c \ pygobject.h \ - pygobject-private.h \ + pygobject-internal.h \ + pygobject-object.c \ + pygobject-object.h \ pygparamspec.c \ pygparamspec.h \ pygpointer.c \ @@ -62,7 +64,6 @@ _gi_la_SOURCES = \ pygspawn.h \ pyglib.c \ pyglib.h \ - pyglib-private.h \ pyglib-python-compat.h \ gimodule.c \ pygi-repository.c \ @@ -88,13 +89,12 @@ _gi_la_SOURCES = \ pygi-closure.h \ pygi-ccallback.c \ pygi-ccallback.h \ - pygi.h \ - pygi-private.h \ + pygi-util.c \ + pygi-util.h \ pygi-property.c \ pygi-property.h \ pygi-signal-closure.c \ pygi-signal-closure.h \ - pygobject-external.h \ pygi-invoke.c \ pygi-invoke.h \ pygi-invoke-state-struct.h \ diff --git a/gi/Makefile.in b/gi/Makefile.in index ea510fe..805a6d3 100644 --- a/gi/Makefile.in +++ b/gi/Makefile.in @@ -142,7 +142,7 @@ _gi_la_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__gi_la_OBJECTS = _gi_la-gobjectmodule.lo _gi_la-pygboxed.lo \ _gi_la-pygenum.lo _gi_la-pygflags.lo _gi_la-pyginterface.lo \ - _gi_la-pygobject.lo _gi_la-pygparamspec.lo \ + _gi_la-pygobject-object.lo _gi_la-pygparamspec.lo \ _gi_la-pygpointer.lo _gi_la-pygtype.lo _gi_la-glibmodule.lo \ _gi_la-pygoptioncontext.lo _gi_la-pygoptiongroup.lo \ _gi_la-pygspawn.lo _gi_la-pyglib.lo _gi_la-gimodule.lo \ @@ -151,11 +151,11 @@ am__gi_la_OBJECTS = _gi_la-gobjectmodule.lo _gi_la-pygboxed.lo \ _gi_la-pygi-source.lo _gi_la-pygi-argument.lo \ _gi_la-pygi-resulttuple.lo _gi_la-pygi-type.lo \ _gi_la-pygi-boxed.lo _gi_la-pygi-closure.lo \ - _gi_la-pygi-ccallback.lo _gi_la-pygi-property.lo \ - _gi_la-pygi-signal-closure.lo _gi_la-pygi-invoke.lo \ - _gi_la-pygi-cache.lo _gi_la-pygi-marshal-cleanup.lo \ - _gi_la-pygi-basictype.lo _gi_la-pygi-list.lo \ - _gi_la-pygi-array.lo _gi_la-pygi-error.lo \ + _gi_la-pygi-ccallback.lo _gi_la-pygi-util.lo \ + _gi_la-pygi-property.lo _gi_la-pygi-signal-closure.lo \ + _gi_la-pygi-invoke.lo _gi_la-pygi-cache.lo \ + _gi_la-pygi-marshal-cleanup.lo _gi_la-pygi-basictype.lo \ + _gi_la-pygi-list.lo _gi_la-pygi-array.lo _gi_la-pygi-error.lo \ _gi_la-pygi-object.lo _gi_la-pygi-value.lo \ _gi_la-pygi-enum-marshal.lo _gi_la-pygi-struct-marshal.lo \ _gi_la-pygi-hashtable.lo @@ -318,6 +318,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -442,6 +443,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ @@ -474,6 +476,7 @@ pygidir = $(pyexecdir)/gi pygi_LTLIBRARIES = _gi.la $(am__append_2) _gi_la_SOURCES = \ gobjectmodule.c \ + gobjectmodule.h \ pygboxed.c \ pygboxed.h \ pygenum.c \ @@ -482,9 +485,10 @@ _gi_la_SOURCES = \ pygflags.h \ pyginterface.c \ pyginterface.h \ - pygobject.c \ pygobject.h \ - pygobject-private.h \ + pygobject-internal.h \ + pygobject-object.c \ + pygobject-object.h \ pygparamspec.c \ pygparamspec.h \ pygpointer.c \ @@ -500,7 +504,6 @@ _gi_la_SOURCES = \ pygspawn.h \ pyglib.c \ pyglib.h \ - pyglib-private.h \ pyglib-python-compat.h \ gimodule.c \ pygi-repository.c \ @@ -526,13 +529,12 @@ _gi_la_SOURCES = \ pygi-closure.h \ pygi-ccallback.c \ pygi-ccallback.h \ - pygi.h \ - pygi-private.h \ + pygi-util.c \ + pygi-util.h \ pygi-property.c \ pygi-property.h \ pygi-signal-closure.c \ pygi-signal-closure.h \ - pygobject-external.h \ pygi-invoke.c \ pygi-invoke.h \ pygi-invoke-state-struct.h \ @@ -710,10 +712,11 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygi-struct-marshal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygi-struct.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygi-type.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygi-util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygi-value.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pyginterface.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pyglib.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygobject.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygobject-object.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygoptioncontext.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygoptiongroup.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_gi_la-pygparamspec.Plo@am__quote@ @@ -777,12 +780,12 @@ _gi_la-pyginterface.lo: pyginterface.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -c -o _gi_la-pyginterface.lo `test -f 'pyginterface.c' || echo '$(srcdir)/'`pyginterface.c -_gi_la-pygobject.lo: pygobject.c -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -MT _gi_la-pygobject.lo -MD -MP -MF $(DEPDIR)/_gi_la-pygobject.Tpo -c -o _gi_la-pygobject.lo `test -f 'pygobject.c' || echo '$(srcdir)/'`pygobject.c -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/_gi_la-pygobject.Tpo $(DEPDIR)/_gi_la-pygobject.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pygobject.c' object='_gi_la-pygobject.lo' libtool=yes @AMDEPBACKSLASH@ +_gi_la-pygobject-object.lo: pygobject-object.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -MT _gi_la-pygobject-object.lo -MD -MP -MF $(DEPDIR)/_gi_la-pygobject-object.Tpo -c -o _gi_la-pygobject-object.lo `test -f 'pygobject-object.c' || echo '$(srcdir)/'`pygobject-object.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/_gi_la-pygobject-object.Tpo $(DEPDIR)/_gi_la-pygobject-object.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pygobject-object.c' object='_gi_la-pygobject-object.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -c -o _gi_la-pygobject.lo `test -f 'pygobject.c' || echo '$(srcdir)/'`pygobject.c +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -c -o _gi_la-pygobject-object.lo `test -f 'pygobject-object.c' || echo '$(srcdir)/'`pygobject-object.c _gi_la-pygparamspec.lo: pygparamspec.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -MT _gi_la-pygparamspec.lo -MD -MP -MF $(DEPDIR)/_gi_la-pygparamspec.Tpo -c -o _gi_la-pygparamspec.lo `test -f 'pygparamspec.c' || echo '$(srcdir)/'`pygparamspec.c @@ -924,6 +927,13 @@ _gi_la-pygi-ccallback.lo: pygi-ccallback.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -c -o _gi_la-pygi-ccallback.lo `test -f 'pygi-ccallback.c' || echo '$(srcdir)/'`pygi-ccallback.c +_gi_la-pygi-util.lo: pygi-util.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -MT _gi_la-pygi-util.lo -MD -MP -MF $(DEPDIR)/_gi_la-pygi-util.Tpo -c -o _gi_la-pygi-util.lo `test -f 'pygi-util.c' || echo '$(srcdir)/'`pygi-util.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/_gi_la-pygi-util.Tpo $(DEPDIR)/_gi_la-pygi-util.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pygi-util.c' object='_gi_la-pygi-util.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -c -o _gi_la-pygi-util.lo `test -f 'pygi-util.c' || echo '$(srcdir)/'`pygi-util.c + _gi_la-pygi-property.lo: pygi-property.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(_gi_la_CPPFLAGS) $(CPPFLAGS) $(_gi_la_CFLAGS) $(CFLAGS) -MT _gi_la-pygi-property.lo -MD -MP -MF $(DEPDIR)/_gi_la-pygi-property.Tpo -c -o _gi_la-pygi-property.lo `test -f 'pygi-property.c' || echo '$(srcdir)/'`pygi-property.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/_gi_la-pygi-property.Tpo $(DEPDIR)/_gi_la-pygi-property.Plo diff --git a/gi/_gobject/Makefile.in b/gi/_gobject/Makefile.in index be0586e..c49b614 100644 --- a/gi/_gobject/Makefile.in +++ b/gi/_gobject/Makefile.in @@ -191,6 +191,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -315,6 +316,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/gi/gimodule.c b/gi/gimodule.c index 44f0901..d60a6a5 100644 --- a/gi/gimodule.c +++ b/gi/gimodule.c @@ -21,14 +21,26 @@ * USA */ -#include "pyglib-private.h" -#include "pygobject-private.h" +#include + +#include "pyglib.h" #include "pyginterface.h" -#include "pygi-private.h" -#include "pygi.h" +#include "pygi-repository.h" #include "pyglib.h" +#include "pygtype.h" +#include "pygenum.h" +#include "pygboxed.h" +#include "pygflags.h" #include "pygi-error.h" #include "pygi-foreign.h" +#include "pygi-resulttuple.h" +#include "pygi-source.h" +#include "pygi-ccallback.h" +#include "pygi-closure.h" +#include "pygi-type.h" +#include "pygi-boxed.h" +#include "pygi-info.h" +#include "pygi-struct.h" #include @@ -37,6 +49,9 @@ PyObject *PyGIDeprecationWarning; PyObject *_PyGIDefaultArgPlaceholder; +/* Defined by PYGLIB_MODULE_START */ +extern PyObject *pyglib__gobject_module_create (void); + /* Returns a new flag/enum type or %NULL */ static PyObject * flags_enum_from_gtype (GType g_type, diff --git a/gi/glibmodule.c b/gi/glibmodule.c index 297805a..63b84c8 100644 --- a/gi/glibmodule.c +++ b/gi/glibmodule.c @@ -26,7 +26,6 @@ #include #include #include "pyglib.h" -#include "pyglib-private.h" #include "pygoptioncontext.h" #include "pygoptiongroup.h" #include "pygspawn.h" diff --git a/gi/gobjectmodule.c b/gi/gobjectmodule.c index 726216d..0dc2670 100644 --- a/gi/gobjectmodule.c +++ b/gi/gobjectmodule.c @@ -27,7 +27,7 @@ #include #include #include -#include "pygobject-private.h" +#include "gobjectmodule.h" #include "pygboxed.h" #include "pygenum.h" #include "pygflags.h" @@ -36,6 +36,7 @@ #include "pygpointer.h" #include "pygtype.h" #include "pygoptiongroup.h" +#include "pygobject-object.h" #include "pygi-value.h" #include "pygi-error.h" @@ -47,6 +48,7 @@ static gboolean log_handlers_disabled = FALSE; static void pyg_flags_add_constants(PyObject *module, GType flags_type, const gchar *strip_prefix); +static int pyg_type_register(PyTypeObject *class, const char *type_name); /* -------------- GDK threading hooks ---------------------------- */ @@ -72,7 +74,7 @@ _pyg_set_thread_block_funcs (PyGThreadBlockFunc block_threads_func, * A function that can be used as a GDestroyNotify callback that will * call Py_DECREF on the data. */ -void +static void pyg_destroy_notify(gpointer user_data) { PyObject *obj = (PyObject *)user_data; @@ -1098,7 +1100,7 @@ pyg_type_add_interfaces(PyTypeObject *class, GType instance_type, } } -int +static int pyg_type_register(PyTypeObject *class, const char *type_name) { PyObject *gtype; @@ -1390,33 +1392,6 @@ pyg_object_new (PyGObject *self, PyObject *args, PyObject *kwargs) return (PyObject *) self; } -gboolean -pyg_handler_marshal(gpointer user_data) -{ - PyObject *tuple, *ret; - gboolean res; - PyGILState_STATE state; - - g_return_val_if_fail(user_data != NULL, FALSE); - - state = pyglib_gil_state_ensure(); - - tuple = (PyObject *)user_data; - ret = PyObject_CallObject(PyTuple_GetItem(tuple, 0), - PyTuple_GetItem(tuple, 1)); - if (!ret) { - PyErr_Print(); - res = FALSE; - } else { - res = PyObject_IsTrue(ret); - Py_DECREF(ret); - } - - pyglib_gil_state_release(state); - - return res; -} - static int pygobject_gil_state_ensure (void) { @@ -1797,27 +1772,6 @@ pyg_parse_constructor_args(GType obj_type, return TRUE; } -PyObject * -pyg_integer_richcompare(PyObject *v, PyObject *w, int op) -{ - PyObject *result; - gboolean t; - - switch (op) { - case Py_EQ: t = PYGLIB_PyLong_AS_LONG(v) == PYGLIB_PyLong_AS_LONG(w); break; - case Py_NE: t = PYGLIB_PyLong_AS_LONG(v) != PYGLIB_PyLong_AS_LONG(w); break; - case Py_LE: t = PYGLIB_PyLong_AS_LONG(v) <= PYGLIB_PyLong_AS_LONG(w); break; - case Py_GE: t = PYGLIB_PyLong_AS_LONG(v) >= PYGLIB_PyLong_AS_LONG(w); break; - case Py_LT: t = PYGLIB_PyLong_AS_LONG(v) < PYGLIB_PyLong_AS_LONG(w); break; - case Py_GT: t = PYGLIB_PyLong_AS_LONG(v) > PYGLIB_PyLong_AS_LONG(w); break; - default: g_assert_not_reached(); - } - - result = t ? Py_True : Py_False; - Py_INCREF(result); - return result; -} - static void _log_func(const gchar *log_domain, GLogLevelFlags log_level, diff --git a/gi/gobjectmodule.h b/gi/gobjectmodule.h new file mode 100644 index 0000000..11f99cf --- /dev/null +++ b/gi/gobjectmodule.h @@ -0,0 +1,11 @@ +#ifndef _PYGOBJECT_GOBJECTMODULE_H_ +#define _PYGOBJECT_GOBJECTMODULE_H_ + + +#include "pygobject-internal.h" + +int pygobject_constructv (PyGObject *self, + guint n_parameters, + GParameter *parameters); + +#endif /*_PYGOBJECT_GOBJECTMODULE_H_*/ diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py index 05ef403..831401c 100644 --- a/gi/overrides/Gtk.py +++ b/gi/overrides/Gtk.py @@ -1079,8 +1079,11 @@ class TreeModelRow(object): for i in range(start, stop, step): alist.append(self.model.get_value(self.iter, i)) return alist + elif isinstance(key, tuple): + return [self[k] for k in key] else: - raise TypeError("indices must be integers, not %s" % type(key).__name__) + raise TypeError("indices must be integers, slice or tuple, not %s" + % type(key).__name__) def __setitem__(self, key, value): if isinstance(key, int): @@ -1099,8 +1102,16 @@ class TreeModelRow(object): for i, v in enumerate(indexList): self.model.set_value(self.iter, v, value[i]) + elif isinstance(key, tuple): + if len(key) != len(value): + raise ValueError( + "attempt to assign sequence of size %d to sequence of size %d" + % (len(value), len(key))) + for k, v in zip(key, value): + self[k] = v else: - raise TypeError("index must be an integer or slice, not %s" % type(key).__name__) + raise TypeError("indices must be an integer, slice or tuple, not %s" + % type(key).__name__) def _convert_negative_index(self, index): new_index = self.model.get_n_columns() + index diff --git a/gi/overrides/Makefile.in b/gi/overrides/Makefile.in index d44e71b..da8e432 100644 --- a/gi/overrides/Makefile.in +++ b/gi/overrides/Makefile.in @@ -191,6 +191,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -315,6 +316,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/gi/pygboxed.c b/gi/pygboxed.c index cdb766c..2eaff85 100644 --- a/gi/pygboxed.c +++ b/gi/pygboxed.c @@ -22,11 +22,12 @@ # include #endif +#include + #include -#include "pygobject-private.h" #include "pygboxed.h" +#include "pygtype.h" -#include "pygi.h" #include "pygi-type.h" GQuark pygboxed_type_key; diff --git a/gi/pygboxed.h b/gi/pygboxed.h index 86f72d5..93b3de6 100644 --- a/gi/pygboxed.h +++ b/gi/pygboxed.h @@ -20,6 +20,17 @@ #ifndef __PYGOBJECT_BOXED_H__ #define __PYGOBJECT_BOXED_H__ +extern GQuark pygboxed_type_key; + +extern PyTypeObject PyGBoxed_Type; + +void pyg_register_boxed (PyObject *dict, const gchar *class_name, + GType boxed_type, PyTypeObject *type); +PyObject * pyg_boxed_new (GType boxed_type, gpointer boxed, + gboolean copy_boxed, gboolean own_ref); + +const gchar * pyg_constant_strip_prefix(const gchar *name, const gchar *strip_prefix); + void pygobject_boxed_register_types(PyObject *d); #endif /* __PYGOBJECT_BOXED_H__ */ diff --git a/gi/pygenum.c b/gi/pygenum.c index fe78fb9..cea9c0f 100644 --- a/gi/pygenum.c +++ b/gi/pygenum.c @@ -24,11 +24,13 @@ #endif #include -#include "pygobject-private.h" -#include "pygi.h" +#include "pyglib-python-compat.h" #include "pygi-type.h" +#include "pygi-util.h" +#include "pygtype.h" #include "pygenum.h" +#include "pygboxed.h" GQuark pygenum_class_key; diff --git a/gi/pygenum.h b/gi/pygenum.h index 6c01ec9..0625a94 100644 --- a/gi/pygenum.h +++ b/gi/pygenum.h @@ -20,6 +20,28 @@ #ifndef __PYGOBJECT_ENUM_H__ #define __PYGOBJECT_ENUM_H__ +extern GQuark pygenum_class_key; + +#define PyGEnum_Check(x) (PyObject_IsInstance((PyObject *)x, (PyObject *)&PyGEnum_Type) && g_type_is_a(((PyGFlags*)x)->gtype, G_TYPE_ENUM)) + +typedef struct { + PYGLIB_PyLongObject parent; + int zero_pad; /* must always be 0 */ + GType gtype; +} PyGEnum; + +extern PyTypeObject PyGEnum_Type; + +PyObject * pyg_enum_add (PyObject * module, + const char * type_name, + const char * strip_prefix, + GType gtype); + +PyObject * pyg_enum_from_gtype (GType gtype, + int value); + +gint pyg_enum_get_value (GType enum_type, PyObject *obj, gint *val); + void pygobject_enum_register_types(PyObject *d); #endif /* __PYGOBJECT_ENUM_H__ */ diff --git a/gi/pygflags.c b/gi/pygflags.c index ce146ae..693fca0 100644 --- a/gi/pygflags.c +++ b/gi/pygflags.c @@ -24,11 +24,11 @@ #endif #include -#include "pygobject-private.h" -#include "pygflags.h" - -#include "pygi.h" #include "pygi-type.h" +#include "pygi-util.h" +#include "pygtype.h" +#include "pygflags.h" +#include "pygboxed.h" GQuark pygflags_class_key; diff --git a/gi/pygflags.h b/gi/pygflags.h index 3c7b0e8..9555b94 100644 --- a/gi/pygflags.h +++ b/gi/pygflags.h @@ -20,6 +20,27 @@ #ifndef __PYGOBJECT_FLAGS_H__ #define __PYGOBJECT_FLAGS_H__ +extern GQuark pygflags_class_key; + +typedef struct { + PYGLIB_PyLongObject parent; + int zero_pad; /* must always be 0 */ + GType gtype; +} PyGFlags; + +extern PyTypeObject PyGFlags_Type; + +#define PyGFlags_Check(x) (PyObject_IsInstance((PyObject *)x, (PyObject *)&PyGFlags_Type) && g_type_is_a(((PyGFlags*)x)->gtype, G_TYPE_FLAGS)) + +extern PyObject * pyg_flags_add (PyObject * module, + const char * type_name, + const char * strip_prefix, + GType gtype); +extern PyObject * pyg_flags_from_gtype (GType gtype, + guint value); + +gint pyg_flags_get_value (GType flag_type, PyObject *obj, guint *val); + void pygobject_flags_register_types(PyObject *d); #endif /* __PYGOBJECT_FLAGS_H__ */ diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c index fdd461a..e9bfe3b 100644 --- a/gi/pygi-argument.c +++ b/gi/pygi-argument.c @@ -19,20 +19,33 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" -#include "pygobject-private.h" - #include #include +#include "pygobject-internal.h" + #include #include +#include +#include +#include "pygi-argument.h" +#include "pygi-info.h" #include "pygi-value.h" #include "pygi-basictype.h" #include "pygi-object.h" #include "pygi-struct-marshal.h" #include "pygi-error.h" +#include "pygi-foreign.h" +#include "pygi-type.h" +#include "pygi-util.h" + +/* Redefine g_array_index because we want it to return the i-th element, casted + * to the type t, of the array a, and not the i-th element of the array a + * casted to the type t. */ +#define _g_array_index(a,t,i) \ + *(t *)((a)->data + g_array_get_element_size(a) * (i)) + gboolean pygi_argument_to_gssize (GIArgument *arg_in, diff --git a/gi/pygi-array.c b/gi/pygi-array.c index 5c34467..61d0617 100644 --- a/gi/pygi-array.c +++ b/gi/pygi-array.c @@ -23,9 +23,10 @@ #include #include "pygi-array.h" -#include "pygi-private.h" +#include "pygi-info.h" #include "pygi-marshal-cleanup.h" #include "pygi-basictype.h" +#include "pygi-util.h" /* Needed for _pygi_marshal_cleanup_from_py_interface_struct_gvalue hack */ #include "pygi-struct-marshal.h" diff --git a/gi/pygi-basictype.c b/gi/pygi-basictype.c index 432559d..b6515c3 100644 --- a/gi/pygi-basictype.c +++ b/gi/pygi-basictype.c @@ -21,9 +21,9 @@ #include #include +#include "pygtype.h" #include "pygi-basictype.h" #include "pygi-argument.h" -#include "pygi-private.h" #ifdef G_OS_WIN32 #include diff --git a/gi/pygi-boxed.c b/gi/pygi-boxed.c index d5faeb1..e9014f2 100644 --- a/gi/pygi-boxed.c +++ b/gi/pygi-boxed.c @@ -19,8 +19,10 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" -#include "pygobject-private.h" +#include "pygi-boxed.h" +#include "pygi-info.h" +#include "pygboxed.h" +#include "pygtype.h" #include #include diff --git a/gi/pygi-boxed.h b/gi/pygi-boxed.h index c8f40b7..8679322 100644 --- a/gi/pygi-boxed.h +++ b/gi/pygi-boxed.h @@ -21,9 +21,17 @@ #define __PYGI_BOXED_H__ #include +#include +#include "pygobject-internal.h" G_BEGIN_DECLS +typedef struct { + PyGBoxed base; + gboolean slice_allocated; + gsize size; +} PyGIBoxed; + extern PyTypeObject PyGIBoxed_Type; PyObject * _pygi_boxed_new (PyTypeObject *pytype, diff --git a/gi/pygi-cache.c b/gi/pygi-cache.c index 62b0961..5080b66 100644 --- a/gi/pygi-cache.c +++ b/gi/pygi-cache.c @@ -22,6 +22,7 @@ #include #include "pyglib.h" +#include "pygtype.h" #include "pygi-info.h" #include "pygi-cache.h" #include "pygi-marshal-cleanup.h" @@ -35,6 +36,8 @@ #include "pygi-object.h" #include "pygi-struct-marshal.h" #include "pygi-enum-marshal.h" +#include "pygi-resulttuple.h" +#include "pygi-invoke.h" /* _arg_info_default_value diff --git a/gi/pygi-ccallback.c b/gi/pygi-ccallback.c index 9c6e47e..3fe5366 100644 --- a/gi/pygi-ccallback.c +++ b/gi/pygi-ccallback.c @@ -19,8 +19,7 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" -#include "pygobject-private.h" +#include "pygi-ccallback.h" #include #include diff --git a/gi/pygi-ccallback.h b/gi/pygi-ccallback.h index f286171..dcd9e6b 100644 --- a/gi/pygi-ccallback.h +++ b/gi/pygi-ccallback.h @@ -21,9 +21,20 @@ #define __PYGI_CCLOSURE_H__ #include +#include "pygi-cache.h" G_BEGIN_DECLS +typedef struct { + PyObject_HEAD + GCallback callback; + GIFunctionInfo *info; + gpointer user_data; + GIScopeType scope; + GDestroyNotify destroy_notify_func; + PyGICCallbackCache *cache; +} PyGICCallback; + extern PyTypeObject PyGICCallback_Type; PyObject * _pygi_ccallback_new (GCallback callback, diff --git a/gi/pygi-closure.c b/gi/pygi-closure.c index 6a68e2b..a75e358 100644 --- a/gi/pygi-closure.c +++ b/gi/pygi-closure.c @@ -17,11 +17,14 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" #include "pygi-closure.h" #include "pygi-error.h" #include "pygi-marshal-cleanup.h" +#include "pygi-invoke.h" +#include "pygi-ccallback.h" +#include "pygi-info.h" +extern PyObject *_PyGIDefaultArgPlaceholder; typedef struct _PyGICallbackCache { diff --git a/gi/pygi-enum-marshal.c b/gi/pygi-enum-marshal.c index e1a7028..11c2049 100644 --- a/gi/pygi-enum-marshal.c +++ b/gi/pygi-enum-marshal.c @@ -23,7 +23,9 @@ #include #include "pygi-enum-marshal.h" -#include "pygi-private.h" +#include "pygi-type.h" +#include "pygenum.h" +#include "pygflags.h" static gboolean gi_argument_from_c_long (GIArgument *arg_out, diff --git a/gi/pygi-error.c b/gi/pygi-error.c index d86021c..45ca2eb 100644 --- a/gi/pygi-error.c +++ b/gi/pygi-error.c @@ -21,9 +21,9 @@ */ #include "pyglib.h" -#include "pygi-private.h" #include "pygi-error.h" #include "pygtype.h" +#include PyObject *PyGError = NULL; diff --git a/gi/pygi-foreign.c b/gi/pygi-foreign.c index 82392be..f74b1e7 100644 --- a/gi/pygi-foreign.c +++ b/gi/pygi-foreign.c @@ -26,7 +26,7 @@ # include #endif -#include "pygobject-private.h" +#include "pygobject-internal.h" #include "pygi-foreign.h" #include diff --git a/gi/pygi-hashtable.c b/gi/pygi-hashtable.c index d785daa..84155d7 100644 --- a/gi/pygi-hashtable.c +++ b/gi/pygi-hashtable.c @@ -21,7 +21,7 @@ #include #include "pygi-hashtable.h" #include "pygi-argument.h" -#include "pygi-private.h" +#include "pygi-util.h" typedef struct _PyGIHashCache { diff --git a/gi/pygi-info.c b/gi/pygi-info.c index cc8656b..09c513b 100644 --- a/gi/pygi-info.c +++ b/gi/pygi-info.c @@ -20,9 +20,13 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" +#include "pygi-info.h" #include "pygi-cache.h" -#include "pygobject-private.h" +#include "pygi-invoke.h" +#include "pygi-type.h" +#include "pygi-argument.h" +#include "pygi-util.h" +#include "pygtype.h" #include diff --git a/gi/pygi-info.h b/gi/pygi-info.h index a0c6680..16371c8 100644 --- a/gi/pygi-info.h +++ b/gi/pygi-info.h @@ -23,9 +23,31 @@ #include #include +#include "pygi-cache.h" G_BEGIN_DECLS +typedef struct { + PyObject_HEAD + GIBaseInfo *info; + PyObject *inst_weakreflist; + PyGICallableCache *cache; +} PyGIBaseInfo; + +typedef struct { + PyGIBaseInfo base; + + /* Reference the unbound version of this struct. + * We use this for the actual call to invoke because it manages the cache. + */ + struct PyGICallableInfo *py_unbound_info; + + /* Holds bound argument for instance, class, and vfunc methods. */ + PyObject *py_bound_arg; + +} PyGICallableInfo; + + gboolean pygi_g_struct_info_is_simple (GIStructInfo *struct_info); diff --git a/gi/pygi-invoke.c b/gi/pygi-invoke.c index 02de46e..619fe40 100644 --- a/gi/pygi-invoke.c +++ b/gi/pygi-invoke.c @@ -24,6 +24,11 @@ #include "pygi-invoke.h" #include "pygi-marshal-cleanup.h" #include "pygi-error.h" +#include "pygi-resulttuple.h" +#include "pygi-foreign.h" +#include "pygi-boxed.h" + +extern PyObject *_PyGIDefaultArgPlaceholder; static gboolean _check_for_unexpected_kwargs (PyGICallableCache *cache, diff --git a/gi/pygi-invoke.h b/gi/pygi-invoke.h index dfed2e0..aa51f3f 100644 --- a/gi/pygi-invoke.h +++ b/gi/pygi-invoke.h @@ -24,7 +24,7 @@ #include -#include "pygi-private.h" +#include "pygi-info.h" #include "pygi-invoke-state-struct.h" G_BEGIN_DECLS diff --git a/gi/pygi-list.c b/gi/pygi-list.c index 41a3d32..3eee849 100644 --- a/gi/pygi-list.c +++ b/gi/pygi-list.c @@ -21,7 +21,7 @@ #include #include "pygi-list.h" #include "pygi-argument.h" -#include "pygi-private.h" +#include "pygi-util.h" typedef PyGISequenceCache PyGIArgGList; diff --git a/gi/pygi-marshal-cleanup.c b/gi/pygi-marshal-cleanup.c index b2e91eb..b4d04bc 100644 --- a/gi/pygi-marshal-cleanup.c +++ b/gi/pygi-marshal-cleanup.c @@ -16,9 +16,11 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ - - #include "pygi-marshal-cleanup.h" - #include + +#include "pygi-marshal-cleanup.h" +#include "pygi-foreign.h" +#include + static inline void _cleanup_caller_allocates (PyGIInvokeState *state, PyGIArgCache *cache, diff --git a/gi/pygi-marshal-cleanup.h b/gi/pygi-marshal-cleanup.h index 56bf383..18ba007 100644 --- a/gi/pygi-marshal-cleanup.h +++ b/gi/pygi-marshal-cleanup.h @@ -20,7 +20,9 @@ #ifndef __PYGI_MARSHAL_CLEANUP_H__ #define __PYGI_MARSHAL_CLEANUP_H__ -#include "pygi-private.h" +#include "pygi-struct.h" +#include "pygi-invoke-state-struct.h" +#include "pygi-cache.h" G_BEGIN_DECLS diff --git a/gi/pygi-object.c b/gi/pygi-object.c index a082992..35a2790 100644 --- a/gi/pygi-object.c +++ b/gi/pygi-object.c @@ -23,7 +23,7 @@ #include #include "pygi-object.h" -#include "pygi-private.h" +#include "pygobject-object.h" #include "pygparamspec.h" /* diff --git a/gi/pygi-property.c b/gi/pygi-property.c index cc4e839..19cdb44 100644 --- a/gi/pygi-property.c +++ b/gi/pygi-property.c @@ -21,9 +21,11 @@ * IN THE SOFTWARE. */ -#include "pygi-private.h" +#include "pygi-property.h" #include "pygi-value.h" +#include "pygi-argument.h" #include "pygparamspec.h" +#include "pygtype.h" #include diff --git a/gi/pygi-property.h b/gi/pygi-property.h index 064a062..d641b01 100644 --- a/gi/pygi-property.h +++ b/gi/pygi-property.h @@ -27,7 +27,7 @@ #include #include -#include "pygobject.h" +#include "pygobject-internal.h" PyObject * pygi_get_property_value (PyGObject *instance, diff --git a/gi/pygi-repository.c b/gi/pygi-repository.c index 16356f9..62ef3b6 100644 --- a/gi/pygi-repository.c +++ b/gi/pygi-repository.c @@ -19,7 +19,8 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" +#include "pygi-repository.h" +#include "pygi-info.h" #include diff --git a/gi/pygi-repository.h b/gi/pygi-repository.h index 6f0928b..6199712 100644 --- a/gi/pygi-repository.h +++ b/gi/pygi-repository.h @@ -21,9 +21,15 @@ #define __PYGI_REPOSITORY_H__ #include +#include G_BEGIN_DECLS +typedef struct { + PyObject_HEAD + GIRepository *repository; +} PyGIRepository; + /* Private */ extern PyTypeObject PyGIRepository_Type; diff --git a/gi/pygi-resulttuple.c b/gi/pygi-resulttuple.c index 9d0b455..8ddfeae 100644 --- a/gi/pygi-resulttuple.c +++ b/gi/pygi-resulttuple.c @@ -18,7 +18,7 @@ */ #include "pygi-resulttuple.h" -#include "pyglib-private.h" +#include "pyglib.h" static char repr_format_key[] = "__repr_format"; static char tuple_indices_key[] = "__tuple_indices"; diff --git a/gi/pygi-signal-closure.c b/gi/pygi-signal-closure.c index 652ac99..f2698d5 100644 --- a/gi/pygi-signal-closure.c +++ b/gi/pygi-signal-closure.c @@ -16,8 +16,10 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" +#include "pygi-signal-closure.h" #include "pygi-value.h" +#include "pygi-argument.h" +#include "pygi-boxed.h" static GISignalInfo * _pygi_lookup_signal_from_g_type (GType g_type, @@ -179,6 +181,7 @@ pygi_signal_closure_marshal(GClosure *closure, } if (item == NULL) { + PyErr_Print (); goto out; } PyTuple_SetItem(params, i, item); diff --git a/gi/pygi-signal-closure.h b/gi/pygi-signal-closure.h index 5cc191b..92e1870 100644 --- a/gi/pygi-signal-closure.h +++ b/gi/pygi-signal-closure.h @@ -24,7 +24,8 @@ #ifndef __PYGI_SIGNAL_CLOSURE_H__ #define __PYGI_SIGNAL_CLOSURE_H__ -#include "pygobject.h" +#include +#include "pygobject-internal.h" G_BEGIN_DECLS diff --git a/gi/pygi-source.c b/gi/pygi-source.c index afc43e6..154b1cd 100644 --- a/gi/pygi-source.c +++ b/gi/pygi-source.c @@ -23,11 +23,11 @@ * IN THE SOFTWARE. */ -#include "pygobject-private.h" - -#include "pygi-private.h" +#include "pygi-info.h" +#include "pygi-boxed.h" +#include "pygi-type.h" #include "pyglib.h" -#include "pyglib-private.h" +#include "pygboxed.h" #include "pygi-source.h" typedef struct diff --git a/gi/pygi-struct-marshal.c b/gi/pygi-struct-marshal.c index 353a2d1..a4276a4 100644 --- a/gi/pygi-struct-marshal.c +++ b/gi/pygi-struct-marshal.c @@ -23,8 +23,15 @@ #include #include "pygi-struct-marshal.h" -#include "pygi-private.h" +#include "pygi-struct.h" +#include "pygi-foreign.h" #include "pygi-value.h" +#include "pygi-type.h" +#include "pygi-boxed.h" +#include "pygi-info.h" +#include "pygpointer.h" +#include "pygboxed.h" +#include "pygtype.h" /* * _is_union_member - check to see if the py_arg is actually a member of the diff --git a/gi/pygi-struct.c b/gi/pygi-struct.c index c379a88..4d5b541 100644 --- a/gi/pygi-struct.c +++ b/gi/pygi-struct.c @@ -19,8 +19,12 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" -#include "pygobject-private.h" +#include "pygi-struct.h" +#include "pygi-foreign.h" +#include "pygi-info.h" +#include "pygi-type.h" +#include "pygtype.h" +#include "pygpointer.h" #include #include diff --git a/gi/pygi-struct.h b/gi/pygi-struct.h index 347c55f..8796a5e 100644 --- a/gi/pygi-struct.h +++ b/gi/pygi-struct.h @@ -21,9 +21,15 @@ #define __PYGI_STRUCT_H__ #include +#include G_BEGIN_DECLS +typedef struct { + PyGPointer base; + gboolean free_on_dealloc; +} PyGIStruct; + extern PyTypeObject PyGIStruct_Type; PyObject * diff --git a/gi/pygi-type.c b/gi/pygi-type.c index 924e0b8..06d773a 100644 --- a/gi/pygi-type.c +++ b/gi/pygi-type.c @@ -19,7 +19,8 @@ * License along with this library; if not, see . */ -#include "pygi-private.h" +#include "pygtype.h" +#include "pygi-type.h" #include diff --git a/gi/pygi-util.c b/gi/pygi-util.c new file mode 100644 index 0000000..1d9201e --- /dev/null +++ b/gi/pygi-util.c @@ -0,0 +1,42 @@ +/* -*- Mode: C; c-basic-offset: 4 -*- + * pygtk- Python bindings for the GTK toolkit. + * Copyright (C) 1998-2003 James Henstridge + * + * gobjectmodule.c: wrapper for the gobject library. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + */ + +#include "pygi-util.h" + +PyObject * +pyg_integer_richcompare(PyObject *v, PyObject *w, int op) +{ + PyObject *result; + gboolean t; + + switch (op) { + case Py_EQ: t = PYGLIB_PyLong_AS_LONG(v) == PYGLIB_PyLong_AS_LONG(w); break; + case Py_NE: t = PYGLIB_PyLong_AS_LONG(v) != PYGLIB_PyLong_AS_LONG(w); break; + case Py_LE: t = PYGLIB_PyLong_AS_LONG(v) <= PYGLIB_PyLong_AS_LONG(w); break; + case Py_GE: t = PYGLIB_PyLong_AS_LONG(v) >= PYGLIB_PyLong_AS_LONG(w); break; + case Py_LT: t = PYGLIB_PyLong_AS_LONG(v) < PYGLIB_PyLong_AS_LONG(w); break; + case Py_GT: t = PYGLIB_PyLong_AS_LONG(v) > PYGLIB_PyLong_AS_LONG(w); break; + default: g_assert_not_reached(); + } + + result = t ? Py_True : Py_False; + Py_INCREF(result); + return result; +} diff --git a/gi/pygi-private.h b/gi/pygi-util.h similarity index 59% rename from gi/pygi-private.h rename to gi/pygi-util.h index f70aec4..c7a6ca7 100644 --- a/gi/pygi-private.h +++ b/gi/pygi-util.h @@ -1,40 +1,14 @@ -/* -*- Mode: C; c-basic-offset: 4 -*- - * vim: tabstop=4 shiftwidth=4 expandtab - */ -#ifndef __PYGI_PRIVATE_H__ -#define __PYGI_PRIVATE_H__ +#ifndef __PYGI_UTIL_H__ +#define __PYGI_UTIL_H__ -#ifdef __PYGI_H__ -# error "Import pygi.h or pygi-private.h, but not both" -#endif - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include - -#include "pygi.h" +#include +#include "pygobject-internal.h" +#include -#include "pygobject-private.h" +G_BEGIN_DECLS -#include "pygi-repository.h" -#include "pygi-info.h" -#include "pygi-struct.h" -#include "pygi-boxed.h" -#include "pygi-argument.h" -#include "pygi-type.h" -#include "pygi-foreign.h" -#include "pygi-closure.h" -#include "pygi-ccallback.h" -#include "pygi-property.h" -#include "pygi-signal-closure.h" -#include "pygi-invoke.h" -#include "pygi-cache.h" -#include "pygi-source.h" -#include "pygi-resulttuple.h" +PyObject * pyg_integer_richcompare(PyObject *v, PyObject *w, int op); -G_BEGIN_DECLS #if PY_VERSION_HEX >= 0x03000000 #define _PyGI_ERROR_PREFIX(format, ...) G_STMT_START { \ @@ -76,13 +50,6 @@ G_BEGIN_DECLS #endif -/* Redefine g_array_index because we want it to return the i-th element, casted - * to the type t, of the array a, and not the i-th element of the array a - * casted to the type t. */ -#define _g_array_index(a,t,i) \ - *(t *)((a)->data + g_array_get_element_size(a) * (i)) - - G_END_DECLS -#endif /* __PYGI_PRIVATE_H__ */ +#endif /* __PYGI_UTIL_H__ */ diff --git a/gi/pygi-value.c b/gi/pygi-value.c index 9da87a5..88faf63 100644 --- a/gi/pygi-value.c +++ b/gi/pygi-value.c @@ -20,8 +20,12 @@ #include "pygi-value.h" #include "pygi-struct.h" #include "pyglib-python-compat.h" -#include "pygobject-private.h" +#include "pygobject-object.h" #include "pygtype.h" +#include "pygenum.h" +#include "pygpointer.h" +#include "pygboxed.h" +#include "pygflags.h" #include "pygparamspec.h" GIArgument diff --git a/gi/pygi.h b/gi/pygi.h deleted file mode 100644 index 3caf6f3..0000000 --- a/gi/pygi.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -*- Mode: C; c-basic-offset: 4 -*- - * vim: tabstop=4 shiftwidth=4 expandtab - * - * Copyright (C) 2005-2009 Johan Dahlin - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see . - */ - -#ifndef __PYGI_H__ -#define __PYGI_H__ - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include - -#include -#include "pygi-cache.h" - -extern PyObject *PyGIDeprecationWarning; -extern PyObject *_PyGIDefaultArgPlaceholder; - -typedef struct { - PyObject_HEAD - GIRepository *repository; -} PyGIRepository; - -typedef struct { - PyObject_HEAD - GIBaseInfo *info; - PyObject *inst_weakreflist; - PyGICallableCache *cache; -} PyGIBaseInfo; - -typedef struct { - PyGIBaseInfo base; - - /* Reference the unbound version of this struct. - * We use this for the actual call to invoke because it manages the cache. - */ - struct PyGICallableInfo *py_unbound_info; - - /* Holds bound argument for instance, class, and vfunc methods. */ - PyObject *py_bound_arg; - -} PyGICallableInfo; - -typedef struct { - PyGPointer base; - gboolean free_on_dealloc; -} PyGIStruct; - -typedef struct { - PyGBoxed base; - gboolean slice_allocated; - gsize size; -} PyGIBoxed; - -typedef struct { - PyObject_HEAD - GCallback callback; - GIFunctionInfo *info; - gpointer user_data; - GIScopeType scope; - GDestroyNotify destroy_notify_func; - PyGICCallbackCache *cache; -} PyGICCallback; - - -#endif /* __PYGI_H__ */ diff --git a/gi/pyginterface.c b/gi/pyginterface.c index 40d54f7..1737de5 100644 --- a/gi/pyginterface.c +++ b/gi/pyginterface.c @@ -23,10 +23,11 @@ #endif #include +#include #include "pyglib.h" -#include "pygobject-private.h" #include "pyginterface.h" +#include "pygtype.h" GQuark pyginterface_type_key; GQuark pyginterface_info_key; diff --git a/gi/pyglib-private.h b/gi/pyglib-private.h deleted file mode 100644 index 78dd489..0000000 --- a/gi/pyglib-private.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- Mode: C; c-basic-offset: 4 -*- - * pyglib - Python bindings for GLib toolkit. - * Copyright (C) 1998-2003 James Henstridge - * 2004-2008 Johan Dahlin - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see . - */ - -#ifndef __PYGLIB_PRIVATE_H__ -#define __PYGLIB_PRIVATE_H__ - -#include -#include - -#include -#include - -G_BEGIN_DECLS - -gboolean _pyglib_handler_marshal(gpointer user_data); -void _pyglib_destroy_notify(gpointer user_data); - -extern PyObject *pyglib__glib_module_create (void); - -G_END_DECLS - -#endif /* __PYGLIB_PRIVATE_H__ */ - - diff --git a/gi/pyglib.c b/gi/pyglib.c index 8db9b17..b83d605 100644 --- a/gi/pyglib.c +++ b/gi/pyglib.c @@ -24,7 +24,6 @@ #include #include #include "pyglib.h" -#include "pyglib-private.h" #include "pygoptioncontext.h" #include "pygoptiongroup.h" diff --git a/gi/pyglib.h b/gi/pyglib.h index 00228dd..37bdfa5 100644 --- a/gi/pyglib.h +++ b/gi/pyglib.h @@ -24,6 +24,8 @@ #include +#include + G_BEGIN_DECLS typedef void (*PyGLibThreadsEnabledFunc) (void); @@ -53,6 +55,10 @@ PyObject* _pyglib_generic_long_richcompare(long a, long b, int op); return; \ PyDict_SetItemString(d, name, (PyObject *)&type); +gboolean _pyglib_handler_marshal(gpointer user_data); +void _pyglib_destroy_notify(gpointer user_data); + +extern PyObject *pyglib__glib_module_create (void); G_END_DECLS diff --git a/gi/pygobject-external.h b/gi/pygobject-external.h deleted file mode 100644 index 49313a5..0000000 --- a/gi/pygobject-external.h +++ /dev/null @@ -1,73 +0,0 @@ -/* -*- Mode: C; c-basic-offset: 4 -*- - * vim: tabstop=4 shiftwidth=4 expandtab - * - * Copyright (C) 2009 Simon van der Linden - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see . - */ - -#ifndef __PYGOBJECT_EXTERN_H__ -#define __PYGOBJECT_EXTERN_H__ - -#include - -G_BEGIN_DECLS - -static PyTypeObject *_PyGTypeWrapper_Type; - -#define PyGTypeWrapper_Type (*_PyGTypeWrapper_Type) - -G_GNUC_UNUSED -static int -_pygobject_import (void) -{ - static gboolean imported = FALSE; - PyObject *from_list; - PyObject *module; - int retval = 0; - - if (imported) { - return 1; - } - - from_list = Py_BuildValue ("(s)", "GType"); - if (from_list == NULL) { - return -1; - } - - module = PyImport_ImportModuleEx ("gi._gobject", NULL, NULL, from_list); - - Py_DECREF (from_list); - - if (module == NULL) { - return -1; - } - - _PyGTypeWrapper_Type = (PyTypeObject *) PyObject_GetAttrString (module, "GType"); - if (_PyGTypeWrapper_Type == NULL) { - retval = -1; - goto out; - } - - imported = TRUE; - -out: - Py_DECREF (module); - - return retval; -} - -G_END_DECLS - -#endif /* __PYGOBJECT_EXTERN_H__ */ diff --git a/gi/pygobject-internal.h b/gi/pygobject-internal.h new file mode 100644 index 0000000..2cd82c5 --- /dev/null +++ b/gi/pygobject-internal.h @@ -0,0 +1,7 @@ +#ifndef _PYGOBJECT_INTERNAL_H_ +#define _PYGOBJECT_INTERNAL_H_ + +#define _INSIDE_PYGOBJECT_ +#include "pygobject.h" + +#endif /*_PYGOBJECT_INTERNAL_H_*/ diff --git a/gi/pygobject.c b/gi/pygobject-object.c similarity index 98% rename from gi/pygobject.c rename to gi/pygobject-object.c index a09ae36..b2fe471 100644 --- a/gi/pygobject.c +++ b/gi/pygobject-object.c @@ -23,16 +23,20 @@ #endif #include -#include "pygobject-private.h" +#include "pygobject-object.h" #include "pyginterface.h" #include "pygparamspec.h" +#include "pygtype.h" +#include "pygboxed.h" +#include "gobjectmodule.h" -#include "pygi.h" #include "pygi-value.h" #include "pygi-type.h" #include "pygi-property.h" #include "pygi-signal-closure.h" +extern PyObject *PyGIDeprecationWarning; + static void pygobject_dealloc(PyGObject *self); static int pygobject_traverse(PyGObject *self, visitproc visit, void *arg); static int pygobject_clear(PyGObject *self); @@ -52,6 +56,26 @@ GQuark pygobject_wrapper_key; GQuark pygobject_has_updated_constructor_key; GQuark pygobject_instance_data_key; +GClosure * +gclosure_from_pyfunc(PyGObject *object, PyObject *func) +{ + GSList *l; + PyGObjectData *inst_data; + inst_data = pyg_object_peek_inst_data(object->obj); + if (inst_data) { + for (l = inst_data->closures; l; l = l->next) { + PyGClosure *pyclosure = l->data; + int res = PyObject_RichCompareBool(pyclosure->callback, func, Py_EQ); + if (res == -1) { + PyErr_Clear(); /* Is there anything else to do? */ + } else if (res) { + return (GClosure*)pyclosure; + } + } + } + return NULL; +} + /* Copied from glib. gobject uses hyphens in property names, but in Python * we can only represent hyphens as underscores. Convert underscores to * hyphens for glib compatibility. */ @@ -74,7 +98,7 @@ canonicalize_key (gchar *key) /* -------------- class <-> wrapper manipulation --------------- */ -void +static void pygobject_data_free(PyGObjectData *data) { /* This function may be called after the python interpreter has already diff --git a/gi/pygobject-object.h b/gi/pygobject-object.h new file mode 100644 index 0000000..fb39a25 --- /dev/null +++ b/gi/pygobject-object.h @@ -0,0 +1,56 @@ +#ifndef _PYGOBJECT_OBJECT_H_ +#define _PYGOBJECT_OBJECT_H_ + +#include +#include +#include "pyglib-python-compat.h" +#include "pygobject-internal.h" + +/* Data that belongs to the GObject instance, not the Python wrapper */ +struct _PyGObjectData { + PyTypeObject *type; /* wrapper type for this instance */ + GSList *closures; +}; + +extern GType PY_TYPE_OBJECT; +extern GQuark pygobject_instance_data_key; +extern GQuark pygobject_custom_key; +extern GQuark pygobject_wrapper_key; +extern GQuark pygobject_class_key; +extern GQuark pygobject_class_init_key; + +extern PyTypeObject PyGObjectWeakRef_Type; +extern PyTypeObject PyGPropsIter_Type; +extern PyTypeObject PyGPropsDescr_Type; +extern PyTypeObject PyGProps_Type; +extern PyTypeObject PyGObject_Type; +extern PyTypeObject *PyGObject_MetaType; + +static inline PyGObjectData * +pyg_object_peek_inst_data(GObject *obj) +{ + return ((PyGObjectData *) + g_object_get_qdata(obj, pygobject_instance_data_key)); +} + +gboolean pygobject_prepare_construct_properties (GObjectClass *class, + PyObject *kwargs, + guint *n_params, + GParameter **params); +void pygobject_register_class (PyObject *dict, + const gchar *type_name, + GType gtype, PyTypeObject *type, + PyObject *bases); +void pygobject_register_wrapper (PyObject *self); +PyObject * pygobject_new (GObject *obj); +PyObject * pygobject_new_full (GObject *obj, gboolean steal, gpointer g_class); +void pygobject_sink (GObject *obj); +PyTypeObject *pygobject_lookup_class (GType gtype); +void pygobject_watch_closure (PyObject *self, GClosure *closure); +void pygobject_object_register_types(PyObject *d); +void pygobject_ref_float(PyGObject *self); +void pygobject_ref_sink(PyGObject *self); + +GClosure * gclosure_from_pyfunc(PyGObject *object, PyObject *func); + +#endif /*_PYGOBJECT_OBJECT_H_*/ diff --git a/gi/pygobject-private.h b/gi/pygobject-private.h deleted file mode 100644 index b6242cd..0000000 --- a/gi/pygobject-private.h +++ /dev/null @@ -1,186 +0,0 @@ -#ifndef _PYGOBJECT_PRIVATE_H_ -#define _PYGOBJECT_PRIVATE_H_ - -#ifdef _PYGOBJECT_H_ -# error "include pygobject.h or pygobject-private.h, but not both" -#endif - -#define _INSIDE_PYGOBJECT_ -#include "pygobject.h" - -#include "pyglib-python-compat.h" - -#define PYGOBJECT_REGISTER_GTYPE(d, type, name, gtype) \ - { \ - PyObject *o; \ - PYGLIB_REGISTER_TYPE(d, type, name); \ - PyDict_SetItemString(type.tp_dict, "__gtype__", \ - o=pyg_type_wrapper_new(gtype)); \ - Py_DECREF(o); \ -} - -/* from gobjectmodule.c */ -extern struct _PyGObject_Functions pygobject_api_functions; - - -#ifndef Py_CLEAR /* since Python 2.4 */ -# define Py_CLEAR(op) \ - do { \ - if (op) { \ - PyObject *tmp = (PyObject *)(op); \ - (op) = NULL; \ - Py_DECREF(tmp); \ - } \ - } while (0) -#endif - -extern GType PY_TYPE_OBJECT; - -extern GQuark pygboxed_type_key; -extern GQuark pygboxed_marshal_key; -extern GQuark pygenum_class_key; -extern GQuark pygflags_class_key; -extern GQuark pyginterface_type_key; -extern GQuark pyginterface_info_key; -extern GQuark pygobject_class_init_key; -extern GQuark pygobject_class_key; -extern GQuark pygobject_wrapper_key; -extern GQuark pygpointer_class_key; -extern GQuark pygobject_has_updated_constructor_key; -extern GQuark pygobject_instance_data_key; -extern GQuark pygobject_custom_key; - -void pygobject_data_free (PyGObjectData *data); -void pyg_destroy_notify (gpointer user_data); -gboolean pyg_handler_marshal (gpointer user_data); -int pygobject_constructv (PyGObject *self, - guint n_parameters, - GParameter *parameters); - -PyObject *pyg_integer_richcompare(PyObject *v, - PyObject *w, - int op); - -void pygobject_ref_float(PyGObject *self); -void pygobject_ref_sink(PyGObject *self); - -/* from pygtype.h */ -extern PyTypeObject PyGTypeWrapper_Type; - -PyObject *pyg_type_wrapper_new (GType type); -GType pyg_type_from_object_strict (PyObject *obj, gboolean strict); -GType pyg_type_from_object (PyObject *obj); - -gint pyg_enum_get_value (GType enum_type, PyObject *obj, gint *val); -gint pyg_flags_get_value (GType flag_type, PyObject *obj, guint *val); -int pyg_pyobj_to_unichar_conv (PyObject* py_obj, void* ptr); - -GClosure *pyg_closure_new(PyObject *callback, PyObject *extra_args, PyObject *swap_data); -void pyg_closure_set_exception_handler(GClosure *closure, - PyClosureExceptionHandler handler); -GClosure *pyg_signal_class_closure_get(void); -GClosure *gclosure_from_pyfunc(PyGObject *object, PyObject *func); - -PyObject *pyg_object_descr_doc_get(void); -void pygobject_object_register_types(PyObject *d); - -extern PyTypeObject *PyGObject_MetaType; - -/* from pygobject.h */ -extern PyTypeObject PyGObject_Type; -extern PyTypeObject PyGProps_Type; -extern PyTypeObject PyGPropsDescr_Type; -extern PyTypeObject PyGPropsIter_Type; - - /* Data that belongs to the GObject instance, not the Python wrapper */ -struct _PyGObjectData { - PyTypeObject *type; /* wrapper type for this instance */ - GSList *closures; -}; - -void pygobject_register_class (PyObject *dict, - const gchar *type_name, - GType gtype, PyTypeObject *type, - PyObject *bases); -void pygobject_register_wrapper (PyObject *self); -PyObject * pygobject_new (GObject *obj); -PyObject * pygobject_new_full (GObject *obj, gboolean steal, gpointer g_class); -void pygobject_sink (GObject *obj); -PyTypeObject *pygobject_lookup_class (GType gtype); -void pygobject_watch_closure (PyObject *self, GClosure *closure); -int pyg_type_register (PyTypeObject *class, - const gchar *type_name); - -/* from pygboxed.c */ -extern PyTypeObject PyGBoxed_Type; - -void pyg_register_boxed (PyObject *dict, const gchar *class_name, - GType boxed_type, PyTypeObject *type); -PyObject * pyg_boxed_new (GType boxed_type, gpointer boxed, - gboolean copy_boxed, gboolean own_ref); - -extern PyTypeObject PyGPointer_Type; - -void pyg_register_pointer (PyObject *dict, const gchar *class_name, - GType pointer_type, PyTypeObject *type); -PyObject * pyg_pointer_new (GType pointer_type, gpointer pointer); - -const gchar * pyg_constant_strip_prefix(const gchar *name, const gchar *strip_prefix); - -/* pygflags */ -typedef struct { - PYGLIB_PyLongObject parent; - int zero_pad; /* must always be 0 */ - GType gtype; -} PyGFlags; - -extern PyTypeObject PyGFlags_Type; - -#define PyGFlags_Check(x) (PyObject_IsInstance((PyObject *)x, (PyObject *)&PyGFlags_Type) && g_type_is_a(((PyGFlags*)x)->gtype, G_TYPE_FLAGS)) - -extern PyObject * pyg_flags_add (PyObject * module, - const char * type_name, - const char * strip_prefix, - GType gtype); -extern PyObject * pyg_flags_from_gtype (GType gtype, - guint value); - -/* pygenum */ -#define PyGEnum_Check(x) (PyObject_IsInstance((PyObject *)x, (PyObject *)&PyGEnum_Type) && g_type_is_a(((PyGFlags*)x)->gtype, G_TYPE_ENUM)) - -typedef struct { - PYGLIB_PyLongObject parent; - int zero_pad; /* must always be 0 */ - GType gtype; -} PyGEnum; - -extern PyTypeObject PyGEnum_Type; - -extern PyObject * pyg_enum_add (PyObject * module, - const char * type_name, - const char * strip_prefix, - GType gtype); -extern PyObject * pyg_enum_from_gtype (GType gtype, - int value); - -/* pygtype.c */ -extern gboolean pyg_gtype_is_custom (GType gtype); - -/* pygobject.c */ -extern PyTypeObject PyGObjectWeakRef_Type; - -static inline PyGObjectData * -pyg_object_peek_inst_data(GObject *obj) -{ - return ((PyGObjectData *) - g_object_get_qdata(obj, pygobject_instance_data_key)); -} - -gboolean pygobject_prepare_construct_properties (GObjectClass *class, - PyObject *kwargs, - guint *n_params, - GParameter **params); -/* Defined by PYGLIB_MODULE_START */ -extern PyObject *pyglib__gobject_module_create (void); - -#endif /*_PYGOBJECT_PRIVATE_H_*/ diff --git a/gi/pygoptioncontext.c b/gi/pygoptioncontext.c index ab439f0..3b2babd 100644 --- a/gi/pygoptioncontext.c +++ b/gi/pygoptioncontext.c @@ -23,7 +23,6 @@ #endif #include -#include "pyglib-private.h" #include "pygoptioncontext.h" #include "pygi-error.h" diff --git a/gi/pygoptiongroup.c b/gi/pygoptiongroup.c index 3248b18..bd57489 100644 --- a/gi/pygoptiongroup.c +++ b/gi/pygoptiongroup.c @@ -23,7 +23,6 @@ #endif #include -#include "pyglib-private.h" #include "pygoptiongroup.h" #include "pygi-error.h" diff --git a/gi/pygparamspec.c b/gi/pygparamspec.c index ff53243..0982b99 100644 --- a/gi/pygparamspec.c +++ b/gi/pygparamspec.c @@ -24,8 +24,11 @@ #endif #include +#include -#include "pygobject-private.h" +#include "pygenum.h" +#include "pygflags.h" +#include "pygtype.h" #include "pygparamspec.h" PYGLIB_DEFINE_TYPE("gobject.GParamSpec", PyGParamSpec_Type, PyGParamSpec); diff --git a/gi/pygpointer.c b/gi/pygpointer.c index d728a40..64ca983 100644 --- a/gi/pygpointer.c +++ b/gi/pygpointer.c @@ -23,10 +23,10 @@ #endif #include -#include "pygobject-private.h" +#include #include "pygpointer.h" +#include "pygtype.h" -#include "pygi.h" #include "pygi-type.h" diff --git a/gi/pygpointer.h b/gi/pygpointer.h index 792846e..363362c 100644 --- a/gi/pygpointer.h +++ b/gi/pygpointer.h @@ -20,6 +20,14 @@ #ifndef __PYGOBJECT_POINTER_H__ #define __PYGOBJECT_POINTER_H__ +extern GQuark pygpointer_class_key; + +extern PyTypeObject PyGPointer_Type; + +void pyg_register_pointer (PyObject *dict, const gchar *class_name, + GType pointer_type, PyTypeObject *type); +PyObject * pyg_pointer_new (GType pointer_type, gpointer pointer); + void pygobject_pointer_register_types(PyObject *d); #endif /* __PYGOBJECT_POINTER_H__ */ diff --git a/gi/pygspawn.c b/gi/pygspawn.c index 3851ad9..c66c50f 100644 --- a/gi/pygspawn.c +++ b/gi/pygspawn.c @@ -23,7 +23,6 @@ #include #include "pyglib.h" -#include "pyglib-private.h" #include "pygspawn.h" #include "pygi-error.h" diff --git a/gi/pygtype.c b/gi/pygtype.c index a3784c8..32132ad 100644 --- a/gi/pygtype.c +++ b/gi/pygtype.c @@ -24,9 +24,14 @@ #include -#include "pygobject-private.h" +#include "pygobject-object.h" +#include "pygboxed.h" +#include "pygenum.h" +#include "pygflags.h" #include "pygparamspec.h" #include "pygtype.h" +#include "pygpointer.h" +#include "pyginterface.h" #include "pygi-type.h" #include "pygi-value.h" @@ -945,26 +950,6 @@ pyg_signal_class_closure_get(void) return closure; } -GClosure * -gclosure_from_pyfunc(PyGObject *object, PyObject *func) -{ - GSList *l; - PyGObjectData *inst_data; - inst_data = pyg_object_peek_inst_data(object->obj); - if (inst_data) { - for (l = inst_data->closures; l; l = l->next) { - PyGClosure *pyclosure = l->data; - int res = PyObject_RichCompareBool(pyclosure->callback, func, Py_EQ); - if (res == -1) { - PyErr_Clear(); /* Is there anything else to do? */ - } else if (res) { - return (GClosure*)pyclosure; - } - } - } - return NULL; -} - /* ----- __doc__ descriptor for GObject and GInterface ----- */ static void diff --git a/gi/pygtype.h b/gi/pygtype.h index f21cf1f..82c2523 100644 --- a/gi/pygtype.h +++ b/gi/pygtype.h @@ -23,6 +23,18 @@ #include #include +#include "pygobject-internal.h" + +#define PYGOBJECT_REGISTER_GTYPE(d, type, name, gtype) \ + { \ + PyObject *o; \ + PYGLIB_REGISTER_TYPE(d, type, name); \ + PyDict_SetItemString(type.tp_dict, "__gtype__", \ + o=pyg_type_wrapper_new(gtype)); \ + Py_DECREF(o); \ +} + +extern PyTypeObject PyGTypeWrapper_Type; typedef PyObject *(* fromvaluefunc)(const GValue *value); typedef int (*tovaluefunc)(GValue *value, PyObject *obj); @@ -34,10 +46,23 @@ typedef struct { PyGTypeMarshal *pyg_type_lookup(GType type); +gboolean pyg_gtype_is_custom (GType gtype); + void pyg_register_gtype_custom(GType gtype, fromvaluefunc from_func, tovaluefunc to_func); void pygobject_type_register_types(PyObject *d); +PyObject *pyg_object_descr_doc_get(void); +PyObject *pyg_type_wrapper_new (GType type); +GType pyg_type_from_object_strict (PyObject *obj, gboolean strict); +GType pyg_type_from_object (PyObject *obj); + +int pyg_pyobj_to_unichar_conv (PyObject* py_obj, void* ptr); + +GClosure *pyg_closure_new(PyObject *callback, PyObject *extra_args, PyObject *swap_data); +GClosure *pyg_signal_class_closure_get(void); +void pyg_closure_set_exception_handler(GClosure *closure, + PyClosureExceptionHandler handler); #endif /* __PYGOBJECT_TYPE_H__ */ diff --git a/gi/repository/Makefile.in b/gi/repository/Makefile.in index dc5dcb0..df445ce 100644 --- a/gi/repository/Makefile.in +++ b/gi/repository/Makefile.in @@ -191,6 +191,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -315,6 +316,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/install-sh b/install-sh index 0b0fdcb..59990a1 100755 --- a/install-sh +++ b/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2013-12-25.23; # UTC +scriptversion=2014-09-12.12; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -324,34 +324,41 @@ do # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) + # $RANDOM is not portable (e.g. dash); use it when possible to + # lower collision chance tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 + # As "mkdir -p" follows symlinks and we work in /tmp possibly; so + # create the $tmpdir first (and fail if unsuccessful) to make sure + # that nobody tries to guess the $tmpdir name. if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + $mkdirprog $mkdir_mode "$tmpdir" && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. - ls_ld_tmpdir=`ls -ld "$tmpdir"` + test_tmpdir="$tmpdir/a" + ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi - rmdir "$tmpdir/d" "$tmpdir" + rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac;; diff --git a/ltmain.sh b/ltmain.sh index 0f0a2da..a736cf9 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -31,7 +31,7 @@ PROGRAM=libtool PACKAGE=libtool -VERSION=2.4.6 +VERSION="2.4.6 Debian-2.4.6-2" package_revision=2.4.6 @@ -2068,12 +2068,12 @@ include the following information: compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) - version: $progname (GNU libtool) 2.4.6 + version: $progname $scriptversion Debian-2.4.6-2 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . -GNU libtool home page: . +GNU libtool home page: . General help using GNU software: ." exit 0 } @@ -7272,10 +7272,13 @@ func_mode_link () # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang + # -fsanitize=* Clang/GCC memory and address sanitizer -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*) + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ + -specs=*|-fsanitize=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" @@ -7568,7 +7571,10 @@ func_mode_link () case $pass in dlopen) libs=$dlfiles ;; dlpreopen) libs=$dlprefiles ;; - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + link) + libs="$deplibs %DEPLIBS%" + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" + ;; esac fi if test lib,dlpreopen = "$linkmode,$pass"; then @@ -7887,19 +7893,19 @@ func_mode_link () # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done elif test prog != "$linkmode" && test lib != "$linkmode"; then func_fatal_error "'$lib' is not a convenience library" fi - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_preserve_dup_deps; then - case "$tmp_libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append tmp_libs " $deplib" - done continue fi # $pass = conv @@ -8823,6 +8829,9 @@ func_mode_link () revision=$number_minor lt_irix_increment=no ;; + *) + func_fatal_configuration "$modename: unknown library version type '$version_type'" + ;; esac ;; no) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index a644432..ee80844 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -728,7 +728,6 @@ _LT_CONFIG_SAVE_COMMANDS([ cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. @@ -2867,9 +2866,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) # before this can be enabled. hardcode_into_libs=yes - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command @@ -2878,7 +2874,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -2890,6 +2886,18 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -3549,7 +3557,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; -netbsd*) +netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else @@ -4427,7 +4435,7 @@ m4_if([$1], [CXX], [ ;; esac ;; - netbsd*) + netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -4939,6 +4947,9 @@ m4_if([$1], [CXX], [ ;; esac ;; + linux* | k*bsd*-gnu | gnu*) + _LT_TAGVAR(link_all_deplibs, $1)=no + ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; @@ -5001,6 +5012,9 @@ dnl Note also adjust exclude_expsyms for C++ above. openbsd* | bitrig*) with_gnu_ld=no ;; + linux* | k*bsd*-gnu | gnu*) + _LT_TAGVAR(link_all_deplibs, $1)=no + ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes @@ -5255,7 +5269,7 @@ _LT_EOF fi ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -5776,6 +5790,7 @@ _LT_EOF if test yes = "$lt_cv_irix_exported_symbol"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi + _LT_TAGVAR(link_all_deplibs, $1)=no else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' @@ -5797,7 +5812,7 @@ _LT_EOF esac ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else diff --git a/pygtkcompat/Makefile.in b/pygtkcompat/Makefile.in index 003d8b5..351e59b 100644 --- a/pygtkcompat/Makefile.in +++ b/pygtkcompat/Makefile.in @@ -191,6 +191,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -315,6 +316,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..0da9ed9 --- /dev/null +++ b/setup.py @@ -0,0 +1,105 @@ +#!/usr/bin/env python + + +import os +import re +import subprocess +import sys + +from distutils.command.build import build as orig_build +from setuptools.command.build_ext import build_ext as orig_build_ext +from setuptools.command.build_py import build_py as orig_build_py +from setuptools import setup, Extension + + +with open("configure.ac", "r") as h: + version = ".".join(re.findall("pygobject_[^\s]+_version,\s*(\d+)\)", h.read())) + + +def makedirs(dirpath): + """Safely make directories + + By default, os.makedirs fails if the directory already exists. + + Python 3.2 introduced the `exist_ok` argument, but we can't use it because + we want to keep supporting Python 2 for some time. + """ + import errno + + try: + os.makedirs(dirpath) + + except OSError as e: + if e.errno == errno.EEXIST: + return + + raise + + +class Build(orig_build): + """Dummy version of distutils build which runs an Autotools build system + instead. + """ + def run(self): + srcdir = os.getcwd() + builddir = os.path.join(srcdir, self.build_temp) + makedirs(builddir) + configure = os.path.join(srcdir, 'configure') + + if not os.path.exists(configure): + configure = os.path.join(srcdir, 'autogen.sh') + + subprocess.check_call([ + configure, + 'PYTHON=%s' % sys.executable, + # Put the documentation, etc. out of the way: we only want + # the Python code and extensions + '--prefix=' + os.path.join(builddir, 'prefix'), + ], + cwd=builddir) + make_args = [ + 'pythondir=%s' % os.path.join(srcdir, self.build_lib), + 'pyexecdir=%s' % os.path.join(srcdir, self.build_lib), + ] + subprocess.check_call(['make', '-C', builddir] + make_args) + subprocess.check_call(['make', '-C', builddir, 'install'] + make_args) + + +class BuildExt(orig_build_ext): + def run(self): + pass + + +class BuildPy(orig_build_py): + def run(self): + pass + + +setup( + name='pygobject', + version=version, + description='Python bindings for GObject Introspection', + maintainer='The pygobject maintainers', + maintainer_email='http://mail.gnome.org/mailman/listinfo/python-hackers-list', + download_url='http://download.gnome.org/sources/pygobject/', + url='https://wiki.gnome.org/Projects/PyGObject', + packages=['gi', 'pygtkcompat'], + ext_modules=[ + Extension( + '_gi', sources=['gi/gimodule.c']) + ], + license='LGPL', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', + 'Programming Language :: C', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: Implementation :: CPython', + ], + cmdclass={ + 'build': Build, + 'build_py': BuildPy, + 'build_ext': BuildExt, + }, +) diff --git a/tests/Makefile.in b/tests/Makefile.in index 05005e4..c2f2d6c 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -238,6 +238,7 @@ EXEEXT = @EXEEXT@ FFI_CFLAGS = @FFI_CFLAGS@ FFI_LIBS = @FFI_LIBS@ FGREP = @FGREP@ +GCOV = @GCOV@ GENHTML = @GENHTML@ GIO_CFLAGS = @GIO_CFLAGS@ GIO_LIBS = @GIO_LIBS@ @@ -362,6 +363,7 @@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ +runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ diff --git a/tests/test_docstring.py b/tests/test_docstring.py index aa000b4..d520b04 100644 --- a/tests/test_docstring.py +++ b/tests/test_docstring.py @@ -5,6 +5,7 @@ import gi.docstring from gi.repository import GIMarshallingTests from gi.repository import Gio from gi.repository import GObject +from gi.repository import GLib try: import cairo @@ -63,6 +64,9 @@ class Test(unittest.TestCase): self.assertEqual(GIMarshallingTests.boolean_return_true.__doc__, 'boolean_return_true() -> bool') + @unittest.skipUnless((GLib.MAJOR_VERSION, GLib.MINOR_VERSION) >= (2, 42), + "nullable was added in newer glib/gi") + # https://bugzilla.gnome.org/show_bug.cgi?id=740301 def test_may_return_none(self): self.assertEqual(Gio.File.get_basename.__doc__, 'get_basename(self) -> str or None') diff --git a/tests/test_import_machinery.py b/tests/test_import_machinery.py index 8cc37cb..dac48af 100644 --- a/tests/test_import_machinery.py +++ b/tests/test_import_machinery.py @@ -125,8 +125,8 @@ class TestImporter(unittest.TestCase): self.assertTrue('InvalidGObjectRepositoryModuleName' in exception_string) - # The message of the custom exception in gi/importer.py is eaten in Python 2.7 - if sys.version_info.major < 3: + # The message of the custom exception in gi/importer.py is eaten in Python <3.3 + if sys.version_info < (3, 3): self.assertTrue('introspection typelib' not in exception_string) else: self.assertTrue('introspection typelib' in exception_string) diff --git a/tests/test_overrides_gtk.py b/tests/test_overrides_gtk.py index f184152..f47c63b 100644 --- a/tests/test_overrides_gtk.py +++ b/tests/test_overrides_gtk.py @@ -1587,6 +1587,52 @@ class TestTreeModel(unittest.TestCase): self.assertRaises(TypeError, set_row3) + def test_tree_row_sequence(self): + model = Gtk.ListStore(int, str, float) + model.append([1, "one", -0.1]) + + self.assertEqual([1, "one", -0.1], model[0][0, 1, 2]) + self.assertEqual([1, "one"], model[0][0, 1]) + self.assertEqual(["one", -0.1], model[0][1, 2]) + self.assertEqual("one", model[0][1]) + self.assertEqual([1, -0.1], model[0][0, 2]) + self.assertEqual([-0.1, 1], model[0][2, 0]) + + model[0][0, 1, 2] = (2, "two", -0.2) + self.assertEqual([2, "two", -0.2], model[0][0, 1, 2]) + + model[0][0, 1] = (3, "three") + self.assertEqual([3, "three"], model[0][0, 1]) + + model[0][1, 2] = ("four", -0.4) + self.assertEqual(["four", -0.4], model[0][1, 2]) + + model[0][0, 2] = (5, -0.5) + self.assertEqual([5, -0.5], model[0][0, 2]) + + model[0][0, 1, 2] = (6, "six", -0.6) + self.assertEqual([-0.6, 6, "six"], model[0][2, 0, 1]) + + def set_row1(): + model[0][4, 5] = ("shouldn't", "work",) + + self.assertRaises(IndexError, set_row1) + + def set_row2(): + model[0][0, 1] = (0, "zero", 0) + + self.assertRaises(ValueError, set_row2) + + def set_row3(): + model[0][0, 1] = ("shouldn't", 0) + + self.assertRaises(TypeError, set_row3) + + def set_row4(): + model[0][0, "two"] = (0, "zero") + + self.assertRaises(TypeError, set_row4) + def test_tree_model_set_value_to_none(self): # Tests allowing the usage of None to set an empty value on a model. store = Gtk.ListStore(str) diff --git a/tests/test_properties.py b/tests/test_properties.py index d8d5a10..ab71000 100644 --- a/tests/test_properties.py +++ b/tests/test_properties.py @@ -1068,15 +1068,15 @@ class CPropertiesTestBase(object): self.assertEqual(self.get_prop(self.obj, 'some-float'), GLib.MAXFLOAT) obj = GIMarshallingTests.PropertiesObject(some_float=42.42) - self.assertAlmostEqual(self.get_prop(obj, 'some-float'), 42.42, 4) + self.assertAlmostEqual(self.get_prop(obj, 'some-float'), 42.42, places=4) obj = GIMarshallingTests.PropertiesObject(some_float=42) - self.assertAlmostEqual(self.get_prop(obj, 'some-float'), 42.0, 4) + self.assertAlmostEqual(self.get_prop(obj, 'some-float'), 42.0, places=4) self.assertRaises(TypeError, self.set_prop, self.obj, 'some-float', 'foo') self.assertRaises(TypeError, self.set_prop, self.obj, 'some-float', None) - self.assertAlmostEqual(self.get_prop(obj, 'some-float'), 42.0, 4) + self.assertAlmostEqual(self.get_prop(obj, 'some-float'), 42.0, places=4) def test_double(self): self.assertEqual(self.get_prop(self.obj, 'some-double'), 0) diff --git a/tests/test_signal.py b/tests/test_signal.py index 01e4b00..92db5a0 100644 --- a/tests/test_signal.py +++ b/tests/test_signal.py @@ -621,11 +621,11 @@ class _TestCMarshaller: # explicit float v = GObject.Value(GObject.TYPE_FLOAT, 1.234) rv = self.obj.emit("test-gvalue", v) - self.assertAlmostEqual(rv, 1.234, 4) + self.assertAlmostEqual(rv, 1.234, places=4) # implicit float rv = self.obj.emit("test-gvalue", 1.234) - self.assertAlmostEqual(rv, 1.234, 4) + self.assertAlmostEqual(rv, 1.234, places=4) # explicit int64 v = GObject.Value(GObject.TYPE_INT64, GLib.MAXINT64) -- 2.7.4