commit d3f85a61ec4b1a1d04838f73dc8d862258150048 Author: John (J5) Palmieri Date: Sun Aug 14 10:13:37 2011 -0400 get things ready for release NEWS | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 194 insertions(+), 0 deletions(-) commit ffd057649380d4249c1c52e1225e3646f3994bc6 Author: John (J5) Palmieri Date: Sun Aug 14 05:26:18 2011 -0400 pass exta keywords to the Box constructor gi/overrides/Gtk.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit cadbd4142bd0045368b5123d4b0a1876bdd5d798 Author: John (J5) Palmieri Date: Sat Aug 13 11:03:07 2011 -0400 add (Tree|List)Store set method override gi/overrides/Gtk.py | 50 +++++++++++++++++++++++ tests/test_overrides.py | 102 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 149 insertions(+), 3 deletions(-) commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5 Author: John (J5) Palmieri Date: Sat Aug 13 09:19:29 2011 -0400 add test for object arrays tests/test_everything.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc Author: John (J5) Palmieri Date: Sat Aug 13 08:46:18 2011 -0400 only support C pointer arrays for structs and objects * There is no way to know if an array of structs or objects are pointer arrays or flat arrays. Since pointer arrays are the most useful and prevelant it has been decided to only support those arrays gi/pygi-marshal-out.c | 2 +- tests/test_gi.py | 8 -------- 2 files changed, 1 insertions(+), 9 deletions(-) commit b12379de1790b72d51883bf7b63c892639a892e7 Author: John (J5) Palmieri Date: Sat Aug 13 06:31:52 2011 -0400 revert Gtk.Window override because it causes issues with subclasses gi/overrides/Gtk.py | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f Author: Jonathan Matthew Date: Thu Apr 7 21:05:32 2011 +1000 take GIL in _pygi_invoke_closure_free (bug #647016) gi/pygi-closure.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73 Author: Johan Dahlin Date: Mon Jun 27 00:41:24 2011 -0300 Add a default parameter to GtkTreeModel.filter_new https://bugzilla.gnome.org/show_bug.cgi?id=653462 gi/overrides/Gtk.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f Author: Johan Dahlin Date: Mon Jun 27 00:40:12 2011 -0300 Add vbox/action_area properties Accessing vbox/action_area directly creates segmentation fault, avoid that by mapping the fields to their getters for PyGTK API compatibility https://bugzilla.gnome.org/show_bug.cgi?id=653462 gi/overrides/Gtk.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 017fdfc1dd06259006719e02ffa48883cee01ffd Author: Johan Dahlin Date: Mon Jun 27 00:39:41 2011 -0300 Add a couple of constructors This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc works. https://bugzilla.gnome.org/show_bug.cgi?id=653462 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba Author: Johan Dahlin Date: Mon Jun 27 00:38:30 2011 -0300 Do not always pass in user_data to callbacks. This keeps API compatibility with PyGTK and avoids sending in user_data if it's None. https://bugzilla.gnome.org/show_bug.cgi?id=653462 gi/overrides/Gtk.py | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) commit 7914d814350af1a18bdeda64f049c8e9a68d1d18 Author: Johan Dahlin Date: Mon Jun 27 00:38:20 2011 -0300 Add a default detail value for Widget.render_icon https://bugzilla.gnome.org/show_bug.cgi?id=653462 gi/overrides/Gtk.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 5b1c875269b7979caae97e84919a690a34d92f29 Author: Johan Dahlin Date: Mon Jun 27 00:36:20 2011 -0300 Add an override for Gdk.color_parse() Change Gdk.color_parse() to not return a tuple, instead just return the created color or None if it wasn't possible to parse the name into a color. This keeps compatibility with PyGTK but breaks the current API. https://bugzilla.gnome.org/show_bug.cgi?id=653462 gi/overrides/Gdk.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8 Author: Laszlo Pandy Date: Mon Aug 8 12:06:18 2011 +0200 Support function calling with keyword arguments in invoke. https://bugzilla.gnome.org/show_bug.cgi?id=625596 gi/pygi-cache.c | 39 +++++++++++ gi/pygi-cache.h | 4 + gi/pygi-invoke.c | 162 ++++++++++++++++++++++++++++++++++++++++++++-- gi/types.py | 12 ++-- tests/test_everything.py | 2 +- tests/test_gi.py | 58 ++++++++++++++++ 6 files changed, 265 insertions(+), 12 deletions(-) commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549 Author: John (J5) Palmieri Date: Sat Aug 13 04:13:28 2011 -0400 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN gi/pygi-info.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit 745001178fc72be5626c7211366d694f41162987 Author: Martin Pitt Date: Thu Aug 11 15:11:42 2011 +0200 Fix gobject vs. gi.repository warning Check the warning earlier and fix the operator, so that it actually works. Also update the warning to explain how to fix the problem. gi/_gobject/__init__.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 25d2d05cba05414cd4551e0e06f6286a9b97a509 Author: John (J5) Palmieri Date: Fri Jul 22 15:46:31 2011 -0400 make GObject and GLib able to take overrides * derive directly from DynamicModule instead of InterfaceModule https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/importer.py | 11 ++--- gi/module.py | 118 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 64 insertions(+), 65 deletions(-) commit 698b2284e29c0f699198cf6a22eeb0e399daba6e Author: John (J5) Palmieri Date: Fri Jul 22 15:45:09 2011 -0400 avoid dependency issue by importing the internal gobject https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1 Author: John (J5) Palmieri Date: Fri Jul 22 14:13:02 2011 -0400 fix tests to use the new GLib module https://bugzilla.gnome.org/show_bug.cgi?id=642048 tests/test_mainloop.py | 7 +++---- tests/test_option.py | 3 ++- tests/test_source.py | 24 +++++++++++------------- tests/test_subprocess.py | 12 +++++------- tests/test_thread.py | 10 ++++------ tests/test_uris.py | 4 ++-- 6 files changed, 27 insertions(+), 33 deletions(-) commit 191ef79315f8a5641699536fde58da18e23ef904 Author: John (J5) Palmieri Date: Fri Jul 22 14:11:53 2011 -0400 add DynamicGLibModule which works like DynamicGObjectModule https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/importer.py | 7 +++++-- gi/module.py | 32 +++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 5 deletions(-) commit fbd4a8263260c187211799454c08b1e55e2cb998 Author: John (J5) Palmieri Date: Fri Jul 22 12:27:41 2011 -0400 refactor, add objects and types to the correct internal module https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++------------------- gi/_glib/pygmaincontext.c | 2 +- gi/_glib/pygmainloop.c | 4 ++-- gi/_glib/pygoptioncontext.c | 4 ++-- gi/_glib/pygoptiongroup.c | 4 ++-- gi/_glib/pygsource.c | 14 +++++++------- gi/_glib/pygspawn.c | 14 +++++++------- 7 files changed, 40 insertions(+), 40 deletions(-) commit 7431b49a161df9178c55b814d3adff992ac2d722 Author: John (J5) Palmieri Date: Fri Jul 22 12:26:32 2011 -0400 rename the pyglib shared library so we don't load the old one https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/Makefile.am | 2 +- gi/_glib/Makefile.am | 10 +++++----- gi/_gobject/Makefile.am | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) commit b8700451acd4a19b59b64fc8641fca748d2189e2 Author: John (J5) Palmieri Date: Fri Jul 22 11:20:09 2011 -0400 refactor tests to only use PyGObject 3 syntax * for PyGObject 3 we want to discourage the use of legacy interfaces * Using interfaces like from gi.repository import GObject makes sure that the internal _gobject module is loaded and not PyGObject 2's gobject module which would cause the application to not work correctly https://bugzilla.gnome.org/show_bug.cgi?id=642048 tests/runtests-windows.py | 4 +- tests/test_gdbus.py | 12 ++-- tests/test_gi.py | 4 +- tests/test_gobject.py | 31 ++++++------ tests/test_interface.py | 16 +++--- tests/test_mainloop.py | 3 +- tests/test_overrides.py | 8 ++-- tests/test_properties.py | 124 ++++++++++++++++++++++---------------------- tests/test_signal.py | 98 ++++++++++++++++++------------------ tests/test_source.py | 5 +- tests/test_subprocess.py | 3 +- tests/test_thread.py | 5 +- tests/test_unknown.py | 8 ++-- tests/testhelpermodule.c | 2 +- tests/testmodule.py | 10 ++-- 15 files changed, 169 insertions(+), 164 deletions(-) commit c980dae21468fe073cc8782608148c346bb90ad7 Author: John (J5) Palmieri Date: Fri Jul 22 11:16:00 2011 -0400 refactor the internal _glib module to import correct modules https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/_glib/__init__.py | 3 ++- gi/_glib/glibmodule.c | 10 +++++----- gi/_glib/option.py | 4 ++-- gi/_glib/pyglib.c | 18 +++++++++--------- 4 files changed, 18 insertions(+), 17 deletions(-) commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4 Author: John (J5) Palmieri Date: Fri Jul 22 11:10:46 2011 -0400 refactor to use the new internal _glib and _gobject modules * use relative imports instead of aboslute * fix the C imports to import the internal _gobject libs * add a check to see if the PyGObject 2 gobject module was already imported https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/_gobject/__init__.py | 20 +++++++++++++------- gi/_gobject/constants.py | 3 +-- gi/_gobject/gobjectmodule.c | 2 +- gi/_gobject/propertyhelper.py | 11 +++++------ gi/_gobject/pygobject.c | 16 ++++++++-------- gi/_gobject/pygobject.h | 2 +- 6 files changed, 29 insertions(+), 25 deletions(-) commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc Author: John (J5) Palmieri Date: Fri Jul 22 11:07:10 2011 -0400 refactor gi module to import and use internal _gobject module https://bugzilla.gnome.org/show_bug.cgi?id=642048 gi/importer.py | 2 -- gi/module.py | 31 ++++++++++++++++--------------- gi/overrides/Gtk.py | 2 +- gi/overrides/__init__.py | 6 +++--- gi/pygobject-external.h | 2 +- gi/types.py | 12 ++++++------ 6 files changed, 27 insertions(+), 28 deletions(-) commit 6b9d738d78c6ac45d49f00402c89356887555069 Author: John (J5) Palmieri Date: Fri Jul 22 11:02:49 2011 -0400 move the static bits internal to gi and refactor build files * the glib module now becomes the gi._glib module * the gobject module now becomes the gi._gobject module * we do this so we can install in parallel with PyGObject 2 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(-) commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3 Author: John (J5) Palmieri Date: Mon Jul 18 18:46:31 2011 -0400 remove pygtk.py https://bugzilla.gnome.org/show_bug.cgi?id=642048 Makefile.am | 5 --- pygtk.py | 95 ----------------------------------------------------------- 2 files changed, 0 insertions(+), 100 deletions(-) commit 75e9f7d80d9224c05e6063b88479f1baee48c489 Author: John (J5) Palmieri Date: Mon Jul 18 18:41:41 2011 -0400 introspection is no longer optional https://bugzilla.gnome.org/show_bug.cgi?id=642048 Makefile.am | 8 +------- configure.ac | 43 +++++++++++++++++-------------------------- gi/pygi.h | 37 ------------------------------------- gobject/Makefile.am | 5 +---- tests/Makefile.am | 7 +------ 5 files changed, 20 insertions(+), 80 deletions(-) commit d862168d6a82edd59547d39f5b0ab8279b1e511c Author: John (J5) Palmieri Date: Mon Jul 18 18:28:50 2011 -0400 up platform version to 3.0 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(-) commit 5189b360ccddbbaee267ce857968fbf1aafdd07a Author: Martin Pitt Date: Thu Aug 11 09:53:15 2011 +0200 [gi] Handle GVariants from callback return values Callbacks still use GIArgument, add missing GVariant support for return types. gi/pygi-argument.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63 Author: Martin Pitt Date: Wed Aug 10 14:11:10 2011 +0200 Handle GVariants for callback arguments Callbacks still use GIArgument, add missing GVariant support. This is the equivalent of what commit 9d5604220bd56 did for pygi_marshall_*(). gi/pygi-argument.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d Author: Laszlo Pandy Date: Mon Aug 8 01:58:10 2011 +0200 [gi] Fix crash: check return value of _invoke_state_init_from_callable_cache() before continuing. gi/pygi-invoke.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f Author: Laszlo Pandy Date: Fri Aug 5 21:03:33 2011 +0200 [gi] Pass gtype as first parameter to vfuncs (instead of using kwargs). gi/pygi-invoke.c | 32 ++++++++++++++++++-------------- gi/types.py | 2 +- 2 files changed, 19 insertions(+), 15 deletions(-) commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93 Author: John (J5) Palmieri Date: Mon Jul 18 18:21:51 2011 -0400 remove codegen Makefile.am | 2 +- codegen/Makefile.am | 33 - codegen/README.defs | 351 -------- codegen/__init__.py | 16 - codegen/argtypes.py | 1043 ----------------------- codegen/code-coverage.py | 44 - codegen/codegen.py | 1722 -------------------------------------- codegen/createdefs.py | 17 - codegen/definitions.py | 575 ------------- codegen/defsconvert.py | 132 --- codegen/defsgen.py | 737 ---------------- codegen/defsparser.py | 153 ---- codegen/docextract.py | 461 ---------- codegen/docextract_to_xml.py | 142 ---- codegen/docgen.py | 766 ----------------- codegen/h2def.py | 631 -------------- codegen/mergedefs.py | 26 - codegen/missingdefs.py | 17 - codegen/mkskel.py | 89 -- codegen/override.py | 285 ------- codegen/pygobject-codegen-2.0.in | 11 - codegen/reversewrapper.py | 912 -------------------- codegen/scanvirtuals.py | 54 -- codegen/scmexpr.py | 143 ---- configure.ac | 5 - pygobject-2.0-uninstalled.pc.in | 1 - pygobject-2.0.pc.in | 1 - 27 files changed, 1 insertions(+), 8368 deletions(-) commit bf284c7c47c3e52ab4d8700327a170903e9ebad2 Author: John (J5) Palmieri Date: Mon Jul 18 11:04:58 2011 -0400 remove some left over ifdefs to complete merge of the invoke-rewrite branch gi/pygi-cache.h | 2 -- gi/pygi-info.c | 2 -- gi/pygi-private.h | 5 +---- gi/pygi.h | 2 -- 4 files changed, 1 insertions(+), 10 deletions(-) commit 8c653ec3033fab47c4bb4071b5732a349357141f Author: John (J5) Palmieri 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(-) commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f Author: John (J5) Palmieri Date: Mon Jul 18 10:56:36 2011 -0400 make invoke-ng the only invoker configure.ac | 11 - gi/Makefile.am | 10 +- gi/pygi-invoke.c | 1030 ------------------------------------------------------ 3 files changed, 1 insertions(+), 1050 deletions(-) commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05 Merge: 519e556 917ea2d Author: John (J5) Palmieri Date: Mon Jul 18 10:45:18 2011 -0400 Merge branch 'master' into invoke-rewrite commit 519e556dc1e5874e1668bad93043fb9258c7ee79 Merge: bab7e88 38cca3c Author: John (J5) Palmieri Date: Mon Jul 18 10:37:20 2011 -0400 Merge branch 'master' into invoke-rewrite commit bab7e88251bffcd360186c6dedc26be8eb077084 Author: John (J5) Palmieri Date: Mon Jul 18 10:35:10 2011 -0400 split the marshalling routines into two source files * 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(-) commit 917ea2dfa2d097e563233145003a66b3e4423287 Author: Martin Pitt Date: Thu Jul 14 11:21:10 2011 +0200 Ship tests/te_ST@nouppera in release tarballs for tests to succeed tests/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e Author: John (J5) Palmieri Date: Wed Jul 13 15:43:02 2011 -0400 [invoke] break out caller_allocates allocating into its own function gi/pygi-invoke-ng.c | 78 ++++++++++++++++++++++++++++++++------------------- 1 files changed, 49 insertions(+), 29 deletions(-) commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0 Author: John (J5) Palmieri Date: Wed Jul 13 15:42:26 2011 -0400 [invoke] missed a bit when removing constructor_class usage gi/pygi-invoke-ng.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c94bcf4ae7e36f90c356c89712b00609f9f849bd Author: John (J5) Palmieri Date: Wed Jul 13 15:16:17 2011 -0400 [invoke] don't hold on to the constructor class, just add a TODO gi/pygi-invoke-ng.c | 11 +++++------ gi/pygi-invoke-state-struct.h | 1 - 2 files changed, 5 insertions(+), 7 deletions(-) commit c11d3195f324ea41e86e3da7ff99b55425c2faec Author: Martin Pitt Date: Wed Jul 13 10:40:25 2011 +0200 [gi] Port test_properties from static gio to GI Gio As we ripped out the static gio bindings a while ago, this test case was using the system installed gio bindings with Python 2, and now fails completely with Python 3. Rewrite it to use gi.repository.Gio. tests/test_properties.py | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed Author: Martin Pitt Date: Wed Jul 13 08:42:22 2011 +0200 [python3] Fix maketrans import Python3 moved the maketrans() function from the string module to a str method. This unbreaks gi/module.py for Python 3 again. gi/module.py | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1 Author: John (J5) Palmieri Date: Fri Jul 8 14:39:22 2011 -0400 [caching] remove all inline compiler flags gi/pygi-cache.c | 96 +++++++++++++++++++++++++++--------------------------- 1 files changed, 48 insertions(+), 48 deletions(-) commit bf7bb79b66ad406063fb443e7452d830c55986ef Author: John (J5) Palmieri Date: Fri Jul 8 14:35:20 2011 -0400 [caching] refactor function names to be less confusing gi/pygi-cache.c | 307 +++++++++++++++++++++++++++---------------------------- 1 files changed, 150 insertions(+), 157 deletions(-) commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d Author: John (J5) Palmieri Date: Fri Jul 8 11:24:09 2011 -0400 [overrides] deprecate the use of type keyword MessageDialog constructor * pygtk used type to determine the "type" of message dialog to display but we use the proper property name "message_type" since we should not be overriding a reserved word * to keep compat with pygtk we check the kwds hash for the key 'type' and assign it to message_type while throwing a deprecation warning * also add a deprication warning when trying to use the depricated NO_SEPARATOR flag gi/overrides/Gtk.py | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) commit 367e4ededd4a45125157050bcc9e4e685fd4a82d Author: Martin Pitt Date: Fri Jul 8 10:15:53 2011 +0200 gdbus tests: Fix hang if test case fails In the TestGDBusClient.test_native_calls_async() test case, the main loop was never quit when the call failed. tests/test_gdbus.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef Author: John (J5) Palmieri Date: Thu Jul 7 19:30:11 2011 -0400 use an enum instead of booleans to denote function type gi/pygi-cache.c | 85 +++++++++++++++++++++++++++++--------------------- gi/pygi-cache.h | 18 ++++++++-- gi/pygi-invoke-ng.c | 8 ++-- 3 files changed, 67 insertions(+), 44 deletions(-) commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70 Author: John (J5) Palmieri Date: Thu Jul 7 15:18:03 2011 -0400 rename aux arguments to child arguments to make their purpose clearer gi/pygi-cache.c | 64 +++++++++++++++++++++++++------------------------- gi/pygi-cache.h | 29 ++++++++++++++++------- gi/pygi-invoke-ng.c | 10 ++++---- gi/pygi-marshal.c | 12 ++++---- 4 files changed, 63 insertions(+), 52 deletions(-) commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7 Author: Timo Vanwynsberghe Date: Thu Jul 7 10:59:08 2011 +0200 Fixed the cairo example https://bugzilla.gnome.org/show_bug.cgi?id=653844 examples/cairo-demo.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b Author: Adam Dingle Date: Tue Jul 5 14:28:20 2011 -0700 Add override binding for Gtk.ListStore.prepend(). https://bugzilla.gnome.org/show_bug.cgi?id=654056 gi/overrides/Gtk.py | 8 ++++++++ tests/test_overrides.py | 13 ++++++++++++- 2 files changed, 20 insertions(+), 1 deletions(-) commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd Author: Martin Pitt Date: Thu Jul 7 13:39:19 2011 +0200 Fix crash in Gtk.TextIter overrides With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search() returns undefined pointers when the search was unsuccessful. Actually check the "success" return value; if it is False return None, just like PyGTK used to. Thanks to Michael Vogt for discovering this and writing the test case! Test case: -------------- 8< ----------------- from gi.repository import Gtk win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL) textview = Gtk.TextView() buffer = textview.get_buffer() buffer.set_text("hello world") win.add(textview) win.show_all() iter = buffer.get_start_iter() end = buffer.get_end_iter() ret = iter.forward_search("foo", Gtk.TextSearchFlags.VISIBLE_ONLY, end) print "this is my return value" print ret print "now I crash" print ret[0].get_offset() Gtk.main() -------------- 8< ----------------- gi/overrides/Gtk.py | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da Author: John (J5) Palmieri 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-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 [cache] remove refrence to default value as it is not implemented yet gi/pygi-cache.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 433e0fb259047d8c81e5949a31abb5e0feefd27b Author: Sebastian Pölsterl Date: Thu May 12 18:53:06 2011 +0200 Handle arguments that are flags correctly https://bugzilla.gnome.org/show_bug.cgi?id=647581 gi/pygi-argument.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 38cca3c14e79fbc383e3fc65a120bee03714b99f Author: John (J5) Palmieri Date: Fri Jul 1 05:19:15 2011 -0400 correctly initialize the _gi_cairo_functions array to be zero filled gi/pygi-foreign-cairo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6 Author: John (J5) Palmieri Date: Fri Jul 1 05:19:15 2011 -0400 correctly initialize the _gi_cairo_functions array to be zero filled gi/pygi-foreign-cairo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9 Author: John (J5) Palmieri Date: Wed Jun 29 18:14:40 2011 -0400 pass in the address of the gerror, not the gerror itself gi/pygi-argument.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 49dc98eb9339ea64355cd752ca000c79da56f3a2 Author: John (J5) Palmieri Date: Wed Jun 29 18:01:44 2011 -0400 [gi] handle marshalling gerrors arguments for signals gi/pygi-argument.c | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) commit db9419fcef628e9ffee10591156007ea9c0bc1f0 Author: John (J5) Palmieri Date: Wed Jun 29 12:12:29 2011 -0400 [gi-invoke-ng] fix NULL check to check before we access the cache struct gi/pygi-cache.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 9027e1a20fd06df5c26edcec1893ef0814ec938a Author: John (J5) Palmieri Date: Tue Jun 28 18:21:55 2011 -0400 [gi-tests] add test for PyGObject->PyObject TreeModel storage * make sure we can store a custom GObject as a PyObject inside of a TreeModel tests/test_overrides.py | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) commit b6842e4b2a28733e143d4022864041ca82e91f7a Author: John (J5) Palmieri Date: Tue Jun 28 18:13:38 2011 -0400 [gtk-overrides] special case TreeModel columns of PYGOBJECT types * box the PYGOBJECT in a GValue so we can store PyGObjects in a TreeModel row gi/overrides/Gtk.py | 7 ++++--- gobject/pygtype.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6 Author: John (J5) Palmieri Date: Tue Jun 28 17:32:29 2011 -0400 [gi-invoke-ng] copy structs when transfer is full for array gi/pygi-marshal.c | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8 Author: John (J5) Palmieri Date: Tue Jun 28 13:54:48 2011 -0400 [gtk-override] print warning if user imports Gtk 2.0 * this is needed because people file bugs not realizing they are importing 2.0 which is not supported gi/overrides/Gtk.py | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3 Author: John (J5) Palmieri Date: Tue Jun 28 13:08:49 2011 -0400 [gtk-overrides] allow the message_type keyword to be used for MessageDialogs * for pygtk compat we use the type keyword for message type but we prefer the use of message_type because it is more descriptive and does not clash with a python reserved word * if you passed message_type into a MessageDialog constructor you would get an error because we also convert type to message_type when calling the parent constructor * this patch looks to see if message_type was passed in as a keyword and assigns it to type while removing message_type from the keywords dict to avoid name clashing gi/overrides/Gtk.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 2aa12267bee91aa696633a0cea2a0accae09250a Author: Johan Dahlin Date: Mon Jun 27 10:56:20 2011 -0300 Add support for enums in gobject.property https://bugzilla.gnome.org/show_bug.cgi?id=653488 gobject/propertyhelper.py | 23 ++++++++++++++++------- tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 52 insertions(+), 11 deletions(-) commit dc62e67b447ef526a6f2d1aa8648ad101d95024b Author: Johan Dahlin Date: Mon Jun 27 10:56:20 2011 -0300 Add support for enums in gobject.property https://bugzilla.gnome.org/show_bug.cgi?id=653488 gobject/propertyhelper.py | 23 ++++++++++++++++------- tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 52 insertions(+), 11 deletions(-) commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d Author: John (J5) Palmieri 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-marshal-cleanup.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) commit eff65cd2ce490296865441c3c78b7846f380459c Author: John (J5) Palmieri Date: Fri Jun 24 11:49:05 2011 -0400 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling integers gi/pygi-marshal.c | 56 +++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 44 insertions(+), 12 deletions(-) commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d Author: John (J5) Palmieri Date: Wed Jun 22 12:26:39 2011 -0400 [gi-invoke-ng] only cache caller allocates for interfaces as some API are broken gi/pygi-cache.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 4fd957a5de364c0588168dee15e1e61d4f12e173 Author: John (J5) Palmieri Date: Fri Jun 17 17:07:56 2011 -0400 [gi-invoke-ng] handle in pointer array marshalling gi/pygi-marshal.c | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) commit df3911ad2ce83af9bf9679ed1b221847b23ba2de Author: Alex Eftimie Date: Fri Jun 10 08:44:04 2011 +0300 Adding GPtrArray tests tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 42 insertions(+), 1 deletions(-) commit e32c2be53175014399d89e1e85c9afc6e53c94be Author: John (J5) Palmieri Date: Fri Jun 17 11:32:28 2011 -0400 [gi-invoke-ng] fix array element offset calculations * use pointer arithmetic to calculate based on element size instead of relying on the size of GIArgument * special case GPtrArrays gi/pygi-marshal.c | 27 +++++++++------------------ 1 files changed, 9 insertions(+), 18 deletions(-) commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b Author: John (J5) Palmieri Date: Wed Jun 15 12:46:03 2011 -0400 [gi] don't clean up arguments that weren't yet processed during in arg failure gi/pygi-marshal-cleanup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit af7c93ea98b7f492eef265e58c8b3c878805524f Author: John (J5) Palmieri 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 ++++++++---------- 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 [gi-invoke-ng] actual code to import overrides gi/pygi-cache.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) commit 902575d857beffb14e56821ea8a52f705385f6bb Author: John (J5) Palmieri Date: Wed Jun 15 11:25:10 2011 -0400 [gi-invoke-ng] import pytypes so we get overrides gi/pygi-marshal.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 9d5604220bd56ae2708e9b74122c14208e0a30b4 Author: John (J5) Palmieri Date: Tue Jun 14 16:13:37 2011 -0400 [gi-invoke-ng] handle gvariants now that they are not foreign gi/pygi-marshal.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit c1f5651062687e800a52b5d8d16c88c0acde2934 Author: John (J5) Palmieri Date: Tue Jun 14 16:12:43 2011 -0400 [gi-invoke-ng] do not try to clean up NULL arguments gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) commit fbf5382fbc1aed49ed491d2255d616a1643a45fc Merge: 499b68d 1491f62 Author: John (J5) Palmieri 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 Merge branch 'master' into invoke-rewrite commit 1491f6225b9906bd369b5a42e6369ab6884736b7