commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5 Author: Tomeu Vizoso Date: Tue Jun 29 11:27:13 2010 +0200 Update NEWS and release PyGObject-2.21.4 NEWS | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6 Author: Tomeu Vizoso Date: Tue Jun 29 10:55:03 2010 +0200 Remove files from the makefiles gi/Makefile.am | 4 +--- gobject/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) commit 89827314fd183eac07443c8e9d275ca9d4ce59df Author: Tomeu Vizoso 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 +--- gi/pygi-foreign-cairo.c | 56 ++++++++++++++++----- gi/pygi-foreign-cairo.h | 55 --------------------- gi/pygi-foreign.c | 125 ++++++++++++++++++++++++++++------------------- 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 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 +- gobject/pygi-external.h | 67 ----------------------------------------------- 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 Revert "correctly handle floating objects in gtk" This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca. Conflicts: gi/gimodule.c tests/test_everything.py 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 Make valgrind happy again * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances. * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state. gi/pygi-argument.c | 1 + gi/pygi-info.c | 2 ++ gi/pygi-invoke.c | 8 ++++++-- 3 files changed, 9 insertions(+), 2 deletions(-) commit 63afe55906c8637e913783e65b82b540b81bed65 Author: John (J5) Palmieri Date: Thu Jun 24 16:13:37 2010 -0400 add drawing area demo demos/gtk-demo/demos/drawingarea.py | 249 +++++++++++++++++++++++++++++++++++ 1 files changed, 249 insertions(+), 0 deletions(-) commit 8bba5f842393a284367cdd15f3d32a8c7745516a Author: John (J5) Palmieri Date: Thu Jun 24 14:11:00 2010 -0400 sort the demo list demos/gtk-demo/gtk-demo.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit b9da82742701ed276b01dee39626cd71cbef8556 Author: John (J5) Palmieri Date: Thu Jun 24 13:56:18 2010 -0400 rename iter to treeiter so we aren't using a python reserved word demos/gtk-demo/gtk-demo.py | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit c93935621f2fb1ff5e8c424ae884bd684ea68e50 Author: John (J5) Palmieri Date: Thu Jun 24 13:47:54 2010 -0400 Fixup for change in buffer API * Part of buffer API dealing with TextIter now marked (out caller-allocates) demos/gtk-demo/gtk-demo.py | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) commit 8d9516a593a515290109401a9db7aa259b5aa35c Author: John (J5) Palmieri Date: Wed Jun 23 17:04:33 2010 -0400 add ListStore, TreeStore and TreeViewColumn APIs * this is enough to support the gtk-demo.py shell * TreeStore and ListStore allow passing in as an argument list of either python or GLib types to the constructor as a description of the columns in the model * TreeStore and ListStore override the append method, allowing the application developer to send in a list of column values for one row in the model. Unlike the append in C which just returns an iter that you can then add data to, this append actualy appends data in one step * TreeViewColumn overrides the constructor to allow the adding of attributes and a cell renderer when constructing the column https://bugzilla.gnome.org/show_bug.cgi?id=620405 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 69 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+), 0 deletions(-) commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4 Author: Johan Dahlin Date: Wed Jun 23 14:34:28 2010 -0300 [gi] Add -I../gobject to cflags Since we're no longer pulling in pygobject cflags, add this to be able to include pygobject.h gi/Makefile.am | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 53a093198851e3ba5abd1f6c3314737decd401d8 Author: Ignacio Casal Quinteiro Date: Wed Jun 23 18:09:19 2010 +0200 Add unit test for add_actions user data. tests/test_overrides.py | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) commit 7f829af620cba768de619dd9f228d5d2ebf7fee4 Author: Paolo Borelli Date: Wed Jun 23 18:06:46 2010 +0200 Pass user_data param when adding actions gi/overrides/Gtk.py | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 8f537ccd62f41ebe0db3853e2ae08080666f598f Author: John (J5) Palmieri Date: Wed Jun 23 12:02:04 2010 -0400 add an exception type to the try/except block * we should always specify what exception types we are expecting gi/overrides/Gtk.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit f140a8ebf59347162b67b550bd6f62d2eafad29a Author: Johan Dahlin Date: Wed Jun 23 12:31:51 2010 -0300 Avoid duplicating required versions Avoid duplicating the version of all required packages. Also remove cyclic dependency of pygobject https://bugzilla.gnome.org/show_bug.cgi?id=622503 configure.ac | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f Author: John (J5) Palmieri Date: Tue Jun 22 15:03:08 2010 -0400 return PyList instead of PyTuple for array, return empty list for NULL arrays * returns an empty list when a NULL array (empty array) is encountered * fix tests to check for lists instead of tuples or None * test the ability to send in both None and empty list for arrays and lists gi/pygi-argument.c | 7 ++-- tests/test_everything.py | 5 ++- 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 Fix 'make distcheck' * Makefile.am: put the tests dir to the end * g*/Makefile.am: build the .so when running make check * tests/Makefile.am: Don't pass the src dir to runtests.py and remove (hopefully) unneeded cruft. * 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 + tests/Makefile.am | 17 ++--------------- 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 Allow building pygobject without introspection support by providing --disable-introspection to configure. Makefile.am | 6 +++++- configure.ac | 15 ++++++++------- gobject/pygi-external.h | 4 ++-- 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 Make sure that sys.argv is a list and not a sequence. Because Python's optparse will try to do things on it that can only be done with list. gi/overrides/Gtk.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3d72b8248cc534a689dee5679a729b2fba56c528 Author: Tomeu Vizoso 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. gi/__init__.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit c7c94ef349c30597f2f10d90f74718d678ec7add Author: John (J5) Palmieri Date: Tue Jun 22 14:45:48 2010 -0400 we shouldn't g_array_free NULL pointers https://bugzilla.gnome.org/show_bug.cgi?id=622425 gi/pygi-info.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit fb1ee243493616d7a7e4f6924c574db39f5a423d Merge: acf7b43 5f9cb91 Author: Tomeu Vizoso 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 remove unneeded TextIter creation in the tests tests/test_overrides.py | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 53c355d2cc0894e7f551e9b4eb719b89188a978e Author: John (J5) Palmieri Date: Mon Jun 21 11:42:12 2010 -0400 add override for TextBuffer * TextBuffer.create_tag takes vargs which we can't bind yet so change it to except a keyword list of properties * override the insert* methods so the developer does not have to enter a length - lengths are already encapsulated by a string in Python https://bugzilla.gnome.org/show_bug.cgi?id=620583 gi/overrides/Gtk.py | 51 +++++++++++++++++++++++++++++++++++++++++++++++ tests/test_overrides.py | 25 +++++++++++++++++++++++ 2 files changed, 76 insertions(+), 0 deletions(-) commit 1d89a88b212c7411ad28e74eda80ae751de92e50 Author: John (J5) Palmieri Date: Tue Jun 22 12:46:39 2010 -0400 fix up some build issues * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because autoconf was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0 * tests/Makefile.am: fix check-local target to use EXEC_NAME so targets like make check.gdb work 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 make the overrides file git friendly by appending to __all__ after each override * modifying the __all__ line for each override would confuse git as each override needs to get seperate approval before comitting. Because of this commits would not always go in in the same order as they are created. Also different people working on the same file would start from different commit states. This caused conflicts when patches were merged. * instead of modifying a single hard coded list we now append to the list after each override. This creates distinct blocks of changed text which will not conflict gi/overrides/GIMarshallingTests.py | 10 ++++------ 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 Override Dialog constructor and add_buttons method gi/overrides/Gtk.py | 46 +++++++++++++++++++++++++++++++++++++++++++++- tests/test_overrides.py | 16 ++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletions(-) commit acf7b43a41ce814f0c57ce609a090826f04771db Author: Tomeu Vizoso Date: Mon Jun 21 18:17:38 2010 +0200 Post release version bump to 2.21.4 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)