1 commit febd211b6628a8f63d92ae011d68b845e9fe6ec8
2 Author: Simon Feltman <sfeltman@src.gnome.org>
3 Date: Sun Apr 24 21:19:39 2016 -0700
8 1 file changed, 7 insertions(+)
10 commit 1bb267f1755b2ec314c751b27931cbe7032f3c36
11 Author: Dustin Falgout <dustin@falgout.us>
12 Date: Sun Mar 20 03:21:02 2016 -0500
14 gi: Add require_versions() function
16 Adds a new function that accepts a dict of one or more namespace,
18 pairs through which it iterates and calls `gi.require_version()`
19 for each pair. Also adds a test for the new function.
21 https://bugzilla.gnome.org/show_bug.cgi?id=761141
23 gi/__init__.py | 33 +++++++++++++++++++++++++++++++++
24 tests/test_import_machinery.py | 6 ++++++
25 2 files changed, 39 insertions(+)
27 commit b3f897b98c5a2c59ea34a8afcce0448b1ffb0731
28 Author: Iain Lane <iain@orangesquash.org.uk>
29 Date: Thu Mar 24 18:04:40 2016 +0000
31 test_gerror_novalue: Don't assign the error to a variable
33 Otherwise the build fails with:
35 CHECK Pyflakes examples gi tests pygtkcompat
36 tests/test_gobject.py:689: local variable 'error' is assigned to
39 https://bugzilla.gnome.org/show_bug.cgi?id=764165
41 tests/test_gobject.py | 2 +-
42 1 file changed, 1 insertion(+), 1 deletion(-)
44 commit 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32
45 Author: Emmanuele Bassi <ebassi@gnome.org>
46 Date: Wed Mar 23 13:59:53 2016 +0000
48 build: Do not enable code coverage based on lcov
50 Code coverage turns on various slow paths and disables
52 should be, and it usually is, an opt in configuration flag.
54 Enabling it should not be conditional on the existence of the lcov
55 binary on the system, otherwise anybody building PyGObject from Git on
56 any moderately complete development environment will automatically
57 enable code coverage even when not wanted.
59 https://bugzilla.gnome.org/show_bug.cgi?id=764075
61 autogen.sh | 10 +---------
62 1 file changed, 1 insertion(+), 9 deletions(-)
64 commit c2a66daf3ac62e3e97f8d7fe16afccf37f413305
65 Author: Simon Feltman <sfeltman@src.gnome.org>
66 Date: Mon Mar 21 21:00:37 2016 -0700
68 configure.ac: post-release version bump to 3.21.0
71 1 file changed, 1 insertion(+), 1 deletion(-)
73 commit ce3034544f126f196cad57485f126f1246cd1acf
74 Author: Simon Feltman <sfeltman@src.gnome.org>
75 Date: Mon Mar 21 20:34:50 2016 -0700
80 1 file changed, 2 insertions(+)
82 commit eee366401383f92a2b2b233b2cd0db2ad50b6cb2
83 Author: Simon Feltman <sfeltman@src.gnome.org>
84 Date: Mon Mar 21 20:33:13 2016 -0700
86 configure.ac: pre-release version bump to 3.20.0
89 1 file changed, 2 insertions(+), 2 deletions(-)
91 commit f4401234cdc9be784eea9347fec349e7cba0a153
92 Author: Simon Feltman <sfeltman@src.gnome.org>
93 Date: Tue Mar 15 22:56:10 2016 -0700
98 1 file changed, 2 insertions(+)
100 commit 3d8860c2d0a95cff38f7eaa65c38521654a162ae
101 Author: Simon Feltman <sfeltman@src.gnome.org>
102 Date: Tue Mar 1 22:10:21 2016 -0800
104 post-release version bump to 3.19.92
107 1 file changed, 1 insertion(+), 1 deletion(-)
109 commit a4865ef2f8c70b93f84f93236786c65ad5f973af
110 Author: Simon Feltman <sfeltman@src.gnome.org>
111 Date: Tue Mar 1 21:46:21 2016 -0800
115 NEWS | 11 +++++++++++
116 1 file changed, 11 insertions(+)
118 commit cc75f994a07639b9ffcc6afef757768780a076de
119 Author: Thibault Saunier <tsaunier@gnome.org>
120 Date: Fri Feb 5 15:00:10 2016 +0100
122 tests: check passing Boxed type in GValue as function parameters
124 https://bugzilla.gnome.org/show_bug.cgi?id=761592
126 tests/Makefile.am | 13 +++++++++++--
127 tests/gimarshallingtestsextra.c | 37
128 +++++++++++++++++++++++++++++++++++++
129 tests/gimarshallingtestsextra.h | 26 ++++++++++++++++++++++++++
130 tests/test_error.py | 6 ++++++
131 4 files changed, 80 insertions(+), 2 deletions(-)
133 commit 5f4b08f4e8a98046eab71537c7827edde2ca8742
134 Author: Simon Feltman <sfeltman@src.gnome.org>
135 Date: Mon Feb 29 22:50:32 2016 -0800
137 gerror: Add special case marshaling for boxing GErrors
139 Transfer gtype from introspection GError class to Python GError
141 Expose the PyGError pointer as an extern so other C files can pick
143 Add custom to/from GValue marshalers for GError.
144 Add tests for both complete and incomplete (no boxed pointer held).
146 https://bugzilla.gnome.org/show_bug.cgi?id=761592
148 gi/overrides/GLib.py | 1 +
149 gi/pygi-error.c | 32 +++++++++++++++++++++++++++++++-
150 gi/pygi-error.h | 2 ++
151 gi/pygi-value.c | 1 +
152 tests/test_gobject.py | 17 +++++++++++++++++
153 5 files changed, 52 insertions(+), 1 deletion(-)
155 commit cfca1457c39e3c4c7ef97e7b46a73c19e5adf305
156 Author: Simon Feltman <sfeltman@src.gnome.org>
157 Date: Sun Feb 28 01:39:31 2016 -0800
159 gerror: Add support for marshaling GError from Python to C
161 Refactor pygi_gerror_exception_check() to use a new broken out
163 pygi_error_marshal_from_py(). This allows re-use for argument
165 of a Python GError to a C GError.
166 Remove PYGI_META_ARG_TYPE_CHILD setting for GError out argument
168 This was incorrect since GError exception arguments are not specified
169 explicitly and instead uses the "throws" option.
171 https://bugzilla.gnome.org/show_bug.cgi?id=685197
173 gi/pygi-error.c | 132
174 +++++++++++++++++++++++++++++--------------
175 gi/pygi-error.h | 3 +
176 tests/test_overrides_glib.py | 30 ++++++++++
177 3 files changed, 123 insertions(+), 42 deletions(-)
179 commit 2fc1a689a81614649d042965997f4546b0a58ada
180 Author: Simon Feltman <sfeltman@src.gnome.org>
181 Date: Sat Feb 27 17:21:53 2016 -0800
183 gerror: Add "_to_py" suffix to pygi_error_marshal
185 This will allow for the a pygi_error_marshal_from_py function.
187 https://bugzilla.gnome.org/show_bug.cgi?id=685197
189 gi/pygi-error.c | 8 ++++----
190 gi/pygi-error.h | 2 +-
191 2 files changed, 5 insertions(+), 5 deletions(-)
193 commit 7e29227b6f58cfcc96118a4af83658ca1a6fa1f4
194 Author: Christoph Reiter <creiter@src.gnome.org>
195 Date: Sat Jul 4 22:09:46 2015 +0200
197 Some error handling/reporting fixes.
199 * Check in pyg_boxed_new() if the passed type is an actual subclass
200 * Don't replace existing exceptions in pyg_value_as_pyobject()
201 * Print an error in pyg_closure_marshal() in case marshalling
204 https://bugzilla.gnome.org/show_bug.cgi?id=751956
206 gi/pygboxed.c | 8 +++++++-
207 gi/pygi-value.c | 15 ++++++++++-----
208 gi/pygtype.c | 11 ++++++++++-
209 3 files changed, 27 insertions(+), 7 deletions(-)
211 commit 49880800b35029de3731523eede1b3174f10c1db
212 Author: Christoph Reiter <creiter@src.gnome.org>
213 Date: Sat Jul 4 21:40:04 2015 +0200
215 GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but
218 This only worked because they share the same struct layout.
219 This adds a new constructor for creating a new PyGIStruct instance
222 https://bugzilla.gnome.org/show_bug.cgi?id=751956
224 gi/pygi-struct.c | 32 ++++++++++++++++++++++++++++++++
225 gi/pygi-struct.h | 5 +++++
226 gi/pygi-value.c | 3 ++-
227 3 files changed, 39 insertions(+), 1 deletion(-)
229 commit f27b1976ea325fcd55359888401dd08ac8fb074a
230 Author: Mikhail Fludkov <misha@pexip.com>
231 Date: Tue Sep 1 17:54:17 2015 +0200
233 pygi-value: special case for NULL GValueArray
235 Don't segfault when dealing with GValue of GValueArray type containing
236 NULL. Return empty list in this case.
238 https://bugzilla.gnome.org/show_bug.cgi?id=754359
240 gi/pygi-value.c | 5 +++--
241 tests/test_gobject.py | 6 ++++++
242 2 files changed, 9 insertions(+), 2 deletions(-)
244 commit c8176dfabea694ce738ff4633e7522b0d1fc1c51
245 Author: Simon Feltman <sfeltman@src.gnome.org>
246 Date: Sat Feb 20 20:42:40 2016 -0800
248 post-release version bump to 3.19.91
251 1 file changed, 1 insertion(+), 1 deletion(-)
253 commit d16ae38f0a12653557bdeba17eb155144d91bff4
254 Author: Simon Feltman <sfeltman@src.gnome.org>
255 Date: Sat Feb 20 19:56:24 2016 -0800
260 1 file changed, 9 insertions(+)
262 commit 0190fb84fc1f88ba4c0623bf1b29fe3ca4f80932
263 Author: Simon Feltman <sfeltman@src.gnome.org>
264 Date: Sat Feb 20 19:49:31 2016 -0800
266 pre-release version bump to 3.19.90
269 1 file changed, 1 insertion(+), 1 deletion(-)
271 commit 0467808b97f89c5a36c01f5b7cba013acaef6851
272 Author: Simon Feltman <sfeltman@src.gnome.org>
273 Date: Sat Feb 20 19:40:45 2016 -0800
275 tests: Set the active style context state before retrieving values
277 compat_test_pygtk.TestGTKCompat.test_style() was giving a warning due
278 to set/get state mismatch. Set the current state before getting values
281 tests/compat_test_pygtk.py | 1 +
282 1 file changed, 1 insertion(+)
284 commit 8145fa69c8ace9772687f26f782acb5e461776be
285 Author: Simon Feltman <sfeltman@src.gnome.org>
286 Date: Sat Feb 20 17:32:01 2016 -0800
288 tests: Fix crash with empty drag source icon names
290 Add "_About" argument when testing call to
291 drag_source_set_icon_name().
292 Add Gtk.STOCK_ABOUT argument when testing call to
293 drag_source_set_icon_stock().
294 This avoids crashes due to GTK+ drag source attempting to unref a
297 https://bugzilla.gnome.org/show_bug.cgi?id=762392
299 tests/test_overrides_gtk.py | 4 ++--
300 1 file changed, 2 insertions(+), 2 deletions(-)
302 commit 6a26d3f2b25b3fbbd87def14f1df17b96ed23a0d
303 Author: Christoph Reiter <creiter@src.gnome.org>
304 Date: Sun Oct 4 11:18:04 2015 +0200
306 Try to import GdkX11 in Gdk overrides
308 pygobject will not provide GdkX11 instances until the namespace
309 is loaded so try to load it in the overrides.
311 This makes Gdk.Display.get_default() return a GdkX11.X11Display
312 instead of a dummy Gdk.Display subclass instance.
314 https://bugzilla.gnome.org/show_bug.cgi?id=673396
316 gi/overrides/Gdk.py | 11 ++++++++++-
317 1 file changed, 10 insertions(+), 1 deletion(-)
319 commit 12022437d663f49ba3a2a2f884da30dd5ca08ff6
320 Author: Christoph Reiter <creiter@src.gnome.org>
321 Date: Fri Oct 30 13:07:57 2015 +0100
323 Fix import warnings pointing to the wrong code with CPython 3.3/3.5
325 For making warnings point to the code doing the import, the stack
327 of the import system need to be skipped. The frame count number
329 between CPython versions and in 3.5 all frames of the import
331 skipped for warnings (https://bugs.python.org/issue24305).
333 This hardcodes the frame counts for all supported CPython versions
334 which fixes the import warning output for CPython 3.3 and 3.5.
336 This also fixes/works around a bug in CPython 3 where if a too
337 large stacklevel value was passed to warn(), CPython would try to
338 interpret a file called "sys" in the same directory of the
339 executed script (https://bugs.python.org/issue25493
340 and https://bugzilla.gnome.org/show_bug.cgi?id=757184).
342 https://bugzilla.gnome.org/show_bug.cgi?id=757184
344 gi/importer.py | 28 +++++++++++++++++++++++-----
345 tests/test_import_machinery.py | 4 ++++
346 2 files changed, 27 insertions(+), 5 deletions(-)
348 commit 72ab17963e81fb63f7238123c359be8d83a529f4
349 Author: Christoph Reiter <creiter@src.gnome.org>
350 Date: Sun Oct 25 11:39:22 2015 +0100
352 Bump automake version to 1.12.6
354 Required to a get a new enough py-compile which supports
355 the __pycache__ directories for newer Python 3 versions.
356 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847
358 Also remove m4/py-compile which doesn't seem to get used in
359 either 1.11 or 1.15 here.
361 https://bugzilla.gnome.org/show_bug.cgi?id=757086
365 ----------------------------------------------------------
366 2 files changed, 3 insertions(+), 162 deletions(-)
368 commit b71f76af163c1d43b9f11e6a6362e7510d84c231
369 Author: Simon Feltman <sfeltman@src.gnome.org>
370 Date: Sat Oct 31 14:55:46 2015 -0700
372 post-release version bump to 3.19.3
375 1 file changed, 1 insertion(+), 1 deletion(-)
377 commit bedc7b883febceb3470f1b8e909cfab696d1fc5f
378 Author: Simon Feltman <sfeltman@src.gnome.org>
379 Date: Sat Oct 31 14:47:07 2015 -0700
384 1 file changed, 7 insertions(+)
386 commit 4164e7088be446fcab65cef642c6853aad3b6a69
387 Author: Simon Feltman <sfeltman@src.gnome.org>
388 Date: Sat Oct 31 14:06:40 2015 -0700
390 tests: Fix failure due to new GTK+ warning regarding size_allocate()
392 Call get_preferred_size() to avoid size_allocated() warning in
393 size-allocated signal handler test.
395 tests/test_overrides_gtk.py | 1 +
396 1 file changed, 1 insertion(+)
398 commit a8293f411234180d70e9ff979954b28381842e1f
399 Author: Simon Feltman <sfeltman@src.gnome.org>
400 Date: Sat Oct 31 14:03:21 2015 -0700
402 Fix build warnings regarding _POSIX_C_SOURCE redefinition
404 Move Python.h includes above glib includes to avoid build
405 warnings with Python 2 as noted here:
406 https://docs.python.org/2/c-api/intro.html#include-files
408 gi/gobjectmodule.c | 1 +
409 gi/pygi-array.c | 2 +-
410 gi/pygi-cache.c | 2 +-
411 gi/pygi-enum-marshal.c | 2 +-
412 gi/pygi-hashtable.c | 1 +
413 gi/pygi-hashtable.h | 2 +-
415 gi/pygi-object.c | 2 +-
416 gi/pygi-struct-marshal.c | 2 +-
417 gi/pygi-value.c | 1 +
418 10 files changed, 10 insertions(+), 6 deletions(-)
420 commit 3b1d130174951f7648beceac270daa8ac65939c7
421 Author: Matthias Clasen <mclasen@redhat.com>
422 Date: Fri Oct 30 12:15:26 2015 -0400
424 Drop -std=c90 for now
426 glib headers have a problem with it, and sorting it out on the
427 glib side will take a while, so drop this for now.
429 configure.ac | 9 ---------
430 1 file changed, 9 deletions(-)
432 commit ef219cc74a7c6803795692664fc3b2c8ebbb4fe4
433 Author: Christoph Reiter <creiter@src.gnome.org>
434 Date: Fri Oct 30 16:23:11 2015 +0100
436 configure.ac: post release version bump to 3.19.2
439 1 file changed, 1 insertion(+), 1 deletion(-)
441 commit 98a4bfe4606bd2c7534533633a20a998f732e248
442 Author: Christoph Reiter <creiter@src.gnome.org>
443 Date: Fri Oct 30 16:13:46 2015 +0100
447 NEWS | 20 ++++++++++++++++++++
448 1 file changed, 20 insertions(+)
450 commit 175d10665472e6f4090d707e3b89255814c932b1
451 Author: Christoph Reiter <creiter@src.gnome.org>
452 Date: Mon Jun 8 18:14:08 2015 +0200
454 Use a named tuple for returning multiple values
456 >>> v = Gtk.Button().get_alignment()
458 (xalign=0.5, yalign=0.5)
462 For each GICallable a new gi._gi.ResultTuple subclass
463 is created which knows the return value names of that
464 callable and displays them in __repr__, __dir__ and
465 allows to access tuple items by name.
467 The subclass is cached in PyGICallableCache.
469 To reduce the number of small tuple allocations use a free list
470 similar to the one used for pure tuples in CPython.
472 https://bugzilla.gnome.org/show_bug.cgi?id=727374
476 gi/pygi-cache.c | 34 +++++
477 gi/pygi-cache.h | 6 +
478 gi/pygi-invoke.c | 35 ++---
479 gi/pygi-private.h | 1 +
480 gi/pygi-resulttuple.c | 354
481 ++++++++++++++++++++++++++++++++++++++++++++++
482 gi/pygi-resulttuple.h | 34 +++++
483 gi/pyglib-python-compat.h | 5 +
484 tests/Makefile.am | 1 +
485 tests/test_resulttuple.py | 87 ++++++++++++
486 11 files changed, 543 insertions(+), 17 deletions(-)
488 commit b1788c9a445c8a820121c42260bcbdbc3ae8dfba
489 Author: Christoph Reiter <creiter@src.gnome.org>
490 Date: Mon Oct 26 11:17:34 2015 +0100
492 enum/flags: use gir info for type names and __repr__ instead of the
495 For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
496 and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.
498 https://bugzilla.gnome.org/show_bug.cgi?id=657915
500 gi/gimodule.c | 35 ++++++++++++++++++++++++----
502 +++++++++++++++++++++++++++++++--------------
503 gi/pygflags.c | 31 +++++++++++++++++++-----
504 tests/test_gi.py | 41 ++++++++++++++++++++++++++++++++
505 tests/test_overrides_gdk.py | 6 ++---
506 5 files changed, 139 insertions(+), 31 deletions(-)
508 commit 6b702c052e9f26e809cff494f0c896d17a514c64
509 Author: Christoph Reiter <creiter@src.gnome.org>
510 Date: Wed Jun 10 18:24:44 2015 +0200
512 Improve and unify __repr__ format for PyGObject, PyGBoxed and
515 Includes the module, Python type name, pointer and wrapper pointer
517 "<Gtk.Border object at 0x7f26bee9e4c8 (GtkBorder at 0x1c72e30)>"
519 In case of PyGObjects created from GType set the module to __gi__
520 instead of guessing the old static binding name. Also
521 remove the code that tries to add them to the guessed static bindings
522 module while at it. The __repr__ will now return
523 "<__gi__.X11Keymap ..." instead of "<gtk.gdk.X11Keymap ..."
525 https://bugzilla.gnome.org/show_bug.cgi?id=657915
527 gi/pygboxed.c | 31 +++++++++++++++++++++----
528 gi/pygi-struct.c | 23 ++++++++++++++++++
530 +++++++++++++++++++++++++-------------------------------
531 tests/test_gi.py | 33 ++++++++++++++++++++++++++
532 4 files changed, 113 insertions(+), 45 deletions(-)
534 commit 9b821aa0d60857e612cde9dabe9c8f9f9c60214c
535 Author: Christoph Reiter <creiter@src.gnome.org>
536 Date: Sun Oct 4 11:13:37 2015 +0200
538 Don't leak internal RepositoryError on import.
540 In case a dependency of the imported namespace has a version
541 conflict with an already loaded version, import would raise
544 This fixes it to raise an ImportError instead.
546 https://bugzilla.gnome.org/show_bug.cgi?id=756033
548 gi/importer.py | 7 +++++--
549 gi/module.py | 4 ++++
550 2 files changed, 9 insertions(+), 2 deletions(-)
552 commit dba1da9b0770c7dec1abd82303b9b4266fe2ce3f
553 Author: Christoph Reiter <creiter@src.gnome.org>
554 Date: Sun Oct 4 10:13:35 2015 +0200
556 Import dependencies when importing typelibs from gi.repository
558 Recursively import a modules dependencies when importing from
561 This fixes the case where a library depends on initialization
562 code of dependency overrides. For example libwnck expects
563 gdk_init to be called before using its API and gdk_init
564 gets called in the Gdk overrrides.
566 https://bugzilla.gnome.org/show_bug.cgi?id=656314
568 gi/importer.py | 12 +++++++++++-
569 gi/pygi-repository.c | 35 +++++++++++++++++++++++++++++++++++
570 tests/test_import_machinery.py | 13 +++++++++++++
571 tests/test_repository.py | 10 ++++++++++
572 4 files changed, 69 insertions(+), 1 deletion(-)
574 commit dfa3a85290dd97ecd7cbe8f12fbc1ff2db5a1155
575 Author: Christoph Reiter <creiter@src.gnome.org>
576 Date: Sun Oct 11 01:28:48 2015 +0200
578 Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
580 3.18 added a Gdk.Rectangle type which changed these functions
581 to methods in the gir.
583 Fix by providing aliases in the Gdk overrides.
585 https://bugzilla.gnome.org/show_bug.cgi?id=756364
587 gi/overrides/Gdk.py | 8 ++++++++
588 tests/test_overrides_gdk.py | 9 +++++++++
589 2 files changed, 17 insertions(+)
591 commit 98726caff183491cde1e145861adfcff0c243d9b
592 Author: Christoph Reiter <creiter@src.gnome.org>
593 Date: Sun Oct 4 09:53:27 2015 +0200
595 Don't import inspect at module level
597 Move it to the only user instead as importing inspect
600 gi/_signalhelper.py | 3 ++-
601 1 file changed, 2 insertions(+), 1 deletion(-)
603 commit e1921b7224ca1e909d9fe5483a09414742d0baf4
604 Author: Christoph Reiter <creiter@src.gnome.org>
605 Date: Sat Sep 26 21:29:54 2015 +0200
607 invoke state: add a free memory cache for PyGIInvokeArgState
609 Keep one free allocation per argument count around
610 to reduce g_slice_alloc/free usage.
612 Reduces CPU time for simple functions by 10% and 5% for closures.
614 https://bugzilla.gnome.org/show_bug.cgi?id=750658
616 gi/pygi-closure.c | 6 ++----
617 gi/pygi-invoke.c | 61
618 +++++++++++++++++++++++++++++++++++++++++++++++++------
619 gi/pygi-invoke.h | 4 ++++
620 3 files changed, 61 insertions(+), 10 deletions(-)
622 commit f72b6434de82ffa1950ff45a4daf80c84f58eca6
623 Author: Christoph Reiter <creiter@src.gnome.org>
624 Date: Sat Sep 26 21:25:38 2015 +0200
626 invoke/closure: reduce g_slice_alloc usage
628 Instead of allocating multiple arrays, combine argument
629 data in a new PyGIInvokeArgState and allocate it in one go.
631 This reduces CPU time by 20% for simple functions and by 15%
634 https://bugzilla.gnome.org/show_bug.cgi?id=750658
636 gi/pygi-array.c | 6 +--
637 gi/pygi-closure.c | 99
638 +++++++++++++++++++------------------------
639 gi/pygi-invoke-state-struct.h | 34 +++++++++------
640 gi/pygi-invoke.c | 50 +++++++---------------
641 gi/pygi-marshal-cleanup.c | 10 ++---
642 5 files changed, 86 insertions(+), 113 deletions(-)
644 commit 640221c099031a55cbc32f5cdac3e6e018256fff
645 Author: Christoph Reiter <creiter@src.gnome.org>
646 Date: Sun Sep 27 11:19:14 2015 +0200
648 pep8: ignore new errors reported by pep8 1.6
650 Makes sure we get the same result for older and newer pep8.
651 Once 1.6 is more common, the ignored errors could be added back
652 and fixed (E402 might be impossible, see bug 755620)
655 1 file changed, 1 insertion(+), 1 deletion(-)
657 commit 5fcc0b49e5988bfb6893bd56dd25a6257cd9720d
658 Author: Garrett Regier <garrett.regier@riftio.com>
659 Date: Tue Sep 22 14:57:13 2015 -0700
661 Bump g-i dependency to latest stable
663 This is required for throwing exceptions in closures.
667 2 files changed, 2 insertions(+), 2 deletions(-)
669 commit 0acbf6ad543a928ce75fc6d6839d3e6aa2e9a3d3
670 Author: Garrett Regier <garrett.regier@riftio.com>
671 Date: Tue Jun 9 07:11:51 2015 -0700
673 Avoid calling g_slist_length() during invoke
675 We already know the number of Python args.
677 gi/pygi-invoke.c | 3 +--
678 1 file changed, 1 insertion(+), 2 deletions(-)
680 commit 216e94cff0bbe5436efe423b197c9cfc4a00a02d
681 Author: Garrett Regier <garrett.regier@riftio.com>
682 Date: Wed Jun 3 08:14:08 2015 -0700
684 Simplify closure_convert_arguments()
686 This chunk of work should really be done
687 in convert_ffi_arguments().
689 gi/pygi-closure.c | 65
690 +++++++++++++++++++++++++------------------------------
691 1 file changed, 29 insertions(+), 36 deletions(-)
693 commit 7f7d0c52c9b364ba0ec92c9415298c26b103a077
694 Author: Garrett Regier <garrett.regier@riftio.com>
695 Date: Wed Jun 3 08:09:31 2015 -0700
697 Remove a level of indentation in convert_ffi_arguments()
699 gi/pygi-closure.c | 138
700 ++++++++++++++++++++++++++----------------------------
701 1 file changed, 67 insertions(+), 71 deletions(-)
703 commit 3066f3a88103f02c7e22db22efbeb501f4e30d32
704 Author: Garrett Regier <garrett.regier@riftio.com>
705 Date: Wed Jun 3 07:50:37 2015 -0700
707 Prevent passing the user data multiple times to callbacks
709 This can happen when a callback has multiple gpointers.
710 Also, store the closure index as it is hopefully more reliable
713 https://bugzilla.gnome.org/show_bug.cgi?id=750347
715 gi/pygi-cache.c | 24 ++++++++++++++++++++++++
716 gi/pygi-cache.h | 3 +++
717 gi/pygi-closure.c | 8 ++------
718 3 files changed, 29 insertions(+), 6 deletions(-)
720 commit 40bba555c835cf53d6aa2645329631e6abe57e6c
721 Author: Garrett Regier <garrett.regier@riftio.com>
722 Date: Wed Jun 3 07:06:40 2015 -0700
724 Support throwing exceptions in closures
726 This allows exceptions raised in vfunc implemntations
727 and callbacks to be turned into GErrors.
729 NOTE: this requires matchs in
730 https://bugzilla.gnome.org/show_bug.cgi?id=729543
731 thus we must bump the GI req once they are commited.
733 https://bugzilla.gnome.org/show_bug.cgi?id=710671
735 gi/pygi-closure.c | 113
736 ++++++++++++++++++++++++++++++----------------------
737 tests/test_error.py | 22 ++++++++++
738 2 files changed, 88 insertions(+), 47 deletions(-)
740 commit ea75a89a7d2bdabc7a29f7f20f792211765f2ac7
741 Author: Christoph Reiter <creiter@src.gnome.org>
742 Date: Sun Sep 6 05:35:03 2015 +0200
744 Don't emit require_version warning if namespace was loaded previously
745 using g_irepository_require
747 Instead of tracking loaded dependencies ourself to hide warnings
749 were loaded by a previous import just look if the namespace was loaded
750 before the import. This (a) makes the implementation much simpler and
751 (b) also takes into account namespaces loaded outside of
753 using the libgirepository C API (as is common in applications using
754 libpeas with Python plugins)
756 This also introduces a new Python wrapper for
757 g_irepository_is_registered()
758 to allow checking the loading state of namespaces before imports.
760 This fixes unnecessary require_version warnings in gedit,
762 totem, rhythmbox etc.
764 https://bugzilla.gnome.org/show_bug.cgi?id=754491
767 +++++++++++-------------------------------
768 gi/pygi-repository.c | 19 +++++++++
769 tests/test_import_machinery.py | 9 ----
770 tests/test_repository.py | 11 +++++
771 4 files changed, 54 insertions(+), 78 deletions(-)
773 commit 65726314de2833ce0364a3f3e23f344d122b342f
774 Author: Garrett Regier <garrett.regier@riftio.com>
775 Date: Tue Sep 22 00:17:00 2015 -0700
777 configure.ac: post release version bump to 3.19.1
779 configure.ac | 4 ++--
780 1 file changed, 2 insertions(+), 2 deletions(-)
782 commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
783 Author: Garrett Regier <garrettregier@gmail.com>
784 Date: Tue Sep 22 00:10:35 2015 -0700
789 configure.ac | 4 ++--
790 2 files changed, 4 insertions(+), 2 deletions(-)
792 commit e2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e
793 Author: Simon Feltman <sfeltman@src.gnome.org>
794 Date: Wed Aug 19 21:04:37 2015 -0700
796 configure.ac: post-release version bump to 3.17.91
799 1 file changed, 1 insertion(+), 1 deletion(-)
801 commit 6392b2727e7ed391683bebbf69fbc8b474e99a5f
802 Author: Simon Feltman <sfeltman@src.gnome.org>
803 Date: Wed Aug 19 21:02:44 2015 -0700
807 NEWS | 14 ++++++++++++++
808 1 file changed, 14 insertions(+)
810 commit 1da98892cf505b35ce0280db22e1e8ba31c095e0
811 Author: Simon Feltman <sfeltman@src.gnome.org>
812 Date: Wed Aug 19 20:57:37 2015 -0700
814 configure.ac: pre-release version bump to 3.17.90
817 1 file changed, 1 insertion(+), 1 deletion(-)
819 commit 79d23e9accd331d954007dcae6b6b7fa2837cfa7
820 Author: Christoph Reiter <reiter.christoph@gmail.com>
821 Date: Wed Feb 18 19:30:30 2015 +0100
823 Allow passing unicode lists to GStrv properties on Python 2
825 https://bugzilla.gnome.org/show_bug.cgi?id=744745
827 gi/pygi-value.c | 41 ++++++++++++++++++++++++++++++++---------
828 tests/test_properties.py | 8 +++++++-
829 2 files changed, 39 insertions(+), 10 deletions(-)
831 commit 8aa3d5935b4541be6e76e8792e58bb301fa4f7d1
832 Author: Rui Matos <tiagomatos@gmail.com>
833 Date: Thu May 21 17:53:17 2015 +0200
835 Avoid a silent long to int truncation
837 If the python object contains a value bigger than MAXUINT we'd
838 silently truncate it when assigning to 'val' and the if condition
839 would always be true.
841 This was caught by a coverity scan.
843 https://bugzilla.gnome.org/show_bug.cgi?id=749698
845 gi/pygi-value.c | 4 ++--
846 1 file changed, 2 insertions(+), 2 deletions(-)
848 commit 5af6c722e5b7db90a3ca0832c46efe0c9142a0d1
849 Author: Christoph Reiter <creiter@src.gnome.org>
850 Date: Sun Jul 5 11:58:50 2015 +0200
852 tests: add a test for test_glist_gtype_container_in()
854 https://bugzilla.gnome.org/show_bug.cgi?id=749696
856 tests/test_everything.py | 6 ++++++
857 1 file changed, 6 insertions(+)
859 commit f69ce9f5f6cd81b057ed0006d1fe7f71fa294943
860 Author: Mathieu Bridon <bochecha@daitauha.fr>
861 Date: Sun Jul 5 11:07:00 2015 +0200
863 Handle gtype marshalling
865 https://bugzilla.gnome.org/show_bug.cgi?id=749696
867 gi/pygi-argument.c | 5 +++++
868 1 file changed, 5 insertions(+)
870 commit 0ee1f562c975df51ce93578d35678ef1e915e202
871 Author: Daniel Hahler <git@thequod.de>
872 Date: Wed Mar 25 14:37:29 2015 +0100
874 pygi-foreign-cairo.c: fix include for py3cairo.h
876 The pkg-config info includes the "pycairo" folder already.
878 https://bugzilla.gnome.org/show_bug.cgi?id=746742
880 gi/pygi-foreign-cairo.c | 2 +-
881 1 file changed, 1 insertion(+), 1 deletion(-)
883 commit fea15145c2a3e6aac73350241a982a095e16c7d8
884 Author: Christoph Reiter <creiter@src.gnome.org>
885 Date: Thu Jun 18 13:36:52 2015 +0200
887 tests: Silence various error messages and warnings.
889 This silences glib warnings which are due to testing
890 of error handling, deprecation warnings which we ignore
891 since we want to continue testing deprecated code and
892 other error output of code which is supposed to fail.
894 To reduce code duplication and make things easier
895 this introduces a shared helper module containing
896 various context managers and decorators which allow
897 testing and silencing of warnings and errors.
899 https://bugzilla.gnome.org/show_bug.cgi?id=751156
901 tests/Makefile.am | 1 +
902 tests/compat_test_pygtk.py | 27 +++------
903 tests/compathelper.py | 8 +++
904 tests/helper.py | 132
905 ++++++++++++++++++++++++++++++++++++++++++++
906 tests/test_everything.py | 28 ++++++----
907 tests/test_gi.py | 6 +-
908 tests/test_gio.py | 3 +
909 tests/test_iochannel.py | 20 +++----
910 tests/test_overrides_gdk.py | 18 +++---
911 tests/test_overrides_gtk.py | 20 +++----
912 tests/test_properties.py | 21 +++----
913 tests/test_repository.py | 13 ++---
914 tests/test_signal.py | 24 +++-----
915 tests/test_source.py | 8 +--
916 14 files changed, 231 insertions(+), 98 deletions(-)
918 commit 619777730891b42b98da556c3aa9ca5a1b3f617b
919 Author: Christoph Reiter <creiter@src.gnome.org>
920 Date: Thu Jun 18 13:30:03 2015 +0200
922 Fix gcc warning regarding uninitialized use of variable
924 https://bugzilla.gnome.org/show_bug.cgi?id=751156
926 gi/pygobject.c | 4 +++-
927 1 file changed, 3 insertions(+), 1 deletion(-)
929 commit 1ed8200abefc3e51e4d2083b1372695aaf4163fb
930 Author: Christoph Reiter <creiter@src.gnome.org>
931 Date: Sun Jun 21 23:55:02 2015 +0200
933 Fix test regression when xdg-user-dirs is not installed.
935 GLib.get_user_special_dir is only guaranteed to always return
936 a path in case GLib.UserDirectory.DIRECTORY_DESKTOP is passed.
937 This was unintentionally changed to DIRECTORY_MUSIC
938 in 9948a67e677c8a351f2de1708.
940 https://bugzilla.gnome.org/show_bug.cgi?id=751299
942 tests/test_glib.py | 2 +-
943 1 file changed, 1 insertion(+), 1 deletion(-)
945 commit 79cf1f70d247b5a4d33d1e60107e47903ca76055
946 Author: Garrett Regier <garrett.regier@riftio.com>
947 Date: Mon May 18 02:32:18 2015 -0700
949 Explicitly check if an override exists instead of ImportError
951 If an override depended on another module and it did not
952 exist then the raised ImportError was consumed and assumed
953 to mean that the override did not exist. This makes it
954 difficult to diagnose issues with overrides.
956 This uses pkgutil.get_loader() as it is the easier way to
957 determine if a module exists in both Python 2 and 3
958 and avoid deprecated functions.
960 https://bugzilla.gnome.org/show_bug.cgi?id=749532
962 gi/overrides/__init__.py | 17 +++++++++++++++--
963 1 file changed, 15 insertions(+), 2 deletions(-)
965 commit d2faa619f5e204b75315a42fec99dd48fe7fb31c
966 Author: Simon Feltman <sfeltman@src.gnome.org>
967 Date: Mon Jun 15 01:24:16 2015 -0700
969 configure.ac: post-release version bump to 3.17.2
972 1 file changed, 1 insertion(+), 1 deletion(-)
974 commit 6fa54fe868d0e2a9a9d4dc300a61cbfa079681a8
975 Author: Simon Feltman <sfeltman@src.gnome.org>
976 Date: Mon Jun 15 01:20:47 2015 -0700
980 NEWS | 16 ++++++++++++++++
981 1 file changed, 16 insertions(+)
983 commit 2048dc8d1d708abce7037f96483c6d776567d6b5
984 Author: Christoph Reiter <creiter@src.gnome.org>
985 Date: Mon Mar 2 20:58:04 2015 +0100
987 Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in
988 case the version to import wasn't specified.
990 This makes the warning visible by default.
991 See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info
994 https://bugzilla.gnome.org/show_bug.cgi?id=727379
996 gi/__init__.py | 2 ++
997 gi/gimodule.c | 6 ++++++
998 gi/importer.py | 3 ++-
999 tests/test_gi.py | 15 +++++++++++++++
1000 4 files changed, 25 insertions(+), 1 deletion(-)
1002 commit 7a3bb6971f22accd25e987496d377e1879f6e1ba
1003 Author: Christoph Reiter <creiter@src.gnome.org>
1004 Date: Sat May 30 17:46:54 2015 +0200
1006 Remove Gdk.Rectangle alias with newer gobject-introspection and GTK+
1008 The new GdkRectangle in the typelib confuses the marshalling code
1009 as PyGObject uses the Python class from the overrides for marshalling
1010 to Python but uses the gtype from the typelib to do
1011 type checking when marshalling from Python.
1013 https://bugzilla.gnome.org/show_bug.cgi?id=749625
1015 gi/overrides/Gdk.py | 12 ++++++++----
1016 1 file changed, 8 insertions(+), 4 deletions(-)
1018 commit 64be2069d39b4d2767eb1efd47bb3f268ad7fb0d
1019 Author: Christoph Reiter <creiter@src.gnome.org>
1020 Date: Thu Apr 23 22:03:54 2015 +0200
1022 overrides: Provide _overrides_module attribute to make gst-python
1023 overrides work again.
1025 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
1027 the Gst.Fraction class through
1028 gi.repository.Gst._overrides_module.Fraction
1029 and failed since _overrides_module was removed in revision
1032 This adds it back pointing to the proxy itself which also contains
1035 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
1037 gi/overrides/__init__.py | 7 +++++++
1038 1 file changed, 7 insertions(+)
1040 commit 6772e990ad889af817b9224e88ea9d79a04caef7
1041 Author: Simon Feltman <sfeltman@src.gnome.org>
1042 Date: Mon Apr 13 19:33:40 2015 -0700
1044 overrides: Conditionalize touch override support in Gdk
1046 Conditionalize Gdk.EventTouch union discrimination. This fixes the
1047 Gdk overrides to continue working with versions of Gdk less than 3.4.
1049 https://bugzilla.gnome.org/show_bug.cgi?id=747717
1051 gi/overrides/Gdk.py | 18 +++++++++++++-----
1052 1 file changed, 13 insertions(+), 5 deletions(-)
1054 commit 26c015b177ddcc0f35c97bcd7a4f2114fb2e8e2a
1055 Author: Christoph Reiter <reiter.christoph@gmail.com>
1056 Date: Sun Mar 29 23:23:09 2015 +0200
1058 Field setters: Remove unneeded type/range checks and resulting
1061 These checks are performed in the actual marshalling code
1062 paths as well, no need to do them twice.
1064 Also move _pygi_g_registered_type_info_check_object() to pygi-info.c
1065 as it's the only place where it is still used.
1067 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1069 gi/pygi-argument.c | 626
1070 ---------------------------------------------------
1071 gi/pygi-argument.h | 12 -
1072 gi/pygi-info.c | 90 ++++++--
1073 tests/test_fields.py | 14 +-
1074 4 files changed, 83 insertions(+), 659 deletions(-)
1076 commit dbb0b199268ece884e19eb99093fc26bd7bf92af
1077 Author: Christoph Reiter <reiter.christoph@gmail.com>
1078 Date: Sun Mar 29 21:51:42 2015 +0200
1080 pygi-argument: Remove unused imports/includes
1082 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1085 gi/pygi-argument.c | 7 -------
1086 gi/pygi-argument.h | 2 --
1087 3 files changed, 10 deletions(-)
1089 commit 7dee04efff418677eead36ee9ed497cc3eadf8f7
1090 Author: Christoph Reiter <reiter.christoph@gmail.com>
1091 Date: Sun Mar 29 21:47:47 2015 +0200
1093 Improve test coverage for field setters/getters.
1095 Field setters are the sole users of the GIArgument value validation
1096 code and the error handling is hardly tested. This tries to improve
1097 the coverage for the field types available in
1098 GLib/Regress/GIMarshallingTests.
1100 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1102 tests/Makefile.am | 1 +
1103 tests/test_fields.py | 186
1104 +++++++++++++++++++++++++++++++++++++++++++++++++++
1105 2 files changed, 187 insertions(+)
1107 commit b0170220fabbf878a36e0c14b0a3024973b7355f
1108 Author: Simon Feltman <sfeltman@src.gnome.org>
1109 Date: Sun Mar 29 16:35:47 2015 -0700
1111 configure.ac: post release version bump to 3.17.1
1113 configure.ac | 4 ++--
1114 1 file changed, 2 insertions(+), 2 deletions(-)
1116 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
1117 Author: Simon Feltman <sfeltman@src.gnome.org>
1118 Date: Tue Mar 24 01:25:25 2015 -0700
1123 configure.ac | 4 ++--
1124 2 files changed, 4 insertions(+), 2 deletions(-)
1126 commit bf802599f5d0d13cc4b69f1716400561a16a2443
1127 Author: Simon Feltman <sfeltman@src.gnome.org>
1128 Date: Thu Mar 5 01:09:12 2015 -0800
1130 configure.ac: post release version bump to 3.15.92
1133 1 file changed, 1 insertion(+), 1 deletion(-)
1135 commit a86f309066f007f9787a6d1ac679dc041740d8dc
1136 Author: Simon Feltman <sfeltman@src.gnome.org>
1137 Date: Thu Mar 5 01:08:03 2015 -0800
1141 NEWS | 14 ++++++++++++++
1143 2 files changed, 15 insertions(+), 1 deletion(-)
1145 commit 9948a67e677c8a351f2de17080d7a671882570f3
1146 Author: Christoph Reiter <reiter.christoph@gmail.com>
1147 Date: Tue Jan 27 17:47:49 2015 +0100
1149 tests: Don't use deprecated override attributes
1151 In case the test explicitly tests the deprecated attribute
1152 silence the resulting warnings.
1154 Instead of replacing GObject.PARAM_READWRITE with
1155 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
1156 to not depend on a newer glib version.
1158 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1160 tests/test_everything.py | 168
1161 ++++++++++++++++++++++----------------------
1162 tests/test_gi.py | 66 ++++++++---------
1163 tests/test_glib.py | 33 +++++----
1164 tests/test_gobject.py | 21 +++---
1165 tests/test_internal_api.py | 4 +-
1166 tests/test_iochannel.py | 11 +--
1167 tests/test_overrides_gtk.py | 20 +++---
1168 tests/test_properties.py | 100 ++++++++++++++------------
1169 tests/test_signal.py | 111 ++++++++++++++---------------
1170 tests/test_source.py | 8 +--
1171 tests/test_subprocess.py | 7 +-
1172 tests/testmodule.py | 3 +-
1173 12 files changed, 292 insertions(+), 260 deletions(-)
1175 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
1176 Author: Christoph Reiter <reiter.christoph@gmail.com>
1177 Date: Tue Jan 27 16:36:02 2015 +0100
1179 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
1181 They are defined in glib, not gobject and not included in the gir;
1182 Similar constants like G_MAXINT64 are defined in GLib gir and marked
1183 deprecated in the GObject overrides already.
1185 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1187 gi/overrides/GLib.py | 12 ++++++++++++
1188 gi/overrides/GObject.py | 4 +++-
1189 tests/test_overrides_glib.py | 7 +++++++
1190 3 files changed, 22 insertions(+), 1 deletion(-)
1192 commit f74acb38f1410982f3419acb134adf173600e497
1193 Author: Christoph Reiter <reiter.christoph@gmail.com>
1194 Date: Tue Jan 27 16:06:03 2015 +0100
1196 Emit PyGIDeprecationWarning when accessing deprecated override
1199 Adds a new helper function for overrides to mark a module level
1201 as deprecated. A warning will be emitted every time the attribute gets
1204 e.g. when marking GObject.STATUS_FOO as deprecated using
1206 STATUS_FOO = GLib.Status.FOO
1207 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
1208 __all__.append("STATUS_FOO")
1210 accessing it will emit
1212 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
1214 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1216 gi/overrides/GLib.py | 44 ++++++++++++++++-------
1217 gi/overrides/GObject.py | 90
1218 +++++++++++++++++++++++++-----------------------
1219 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
1220 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
1221 4 files changed, 221 insertions(+), 57 deletions(-)
1223 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
1224 Author: Christoph Reiter <reiter.christoph@gmail.com>
1225 Date: Tue Jan 27 19:13:54 2015 +0100
1227 Add namespace and container name to callable cache and include them
1228 in all warnings/error messages.
1230 https://bugzilla.gnome.org/show_bug.cgi?id=743468
1232 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
1233 gi/pygi-cache.h | 5 +++++
1234 gi/pygi-closure.c | 4 +++-
1235 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
1236 tests/test_everything.py | 2 +-
1237 tests/test_gi.py | 28 ++++++++++++++++++----------
1238 6 files changed, 90 insertions(+), 29 deletions(-)
1240 commit 747fc3754c296ad5481d354bbf35521f886c5c61
1241 Author: Garrett Regier <garrettregier@gmail.com>
1242 Date: Sun Mar 1 03:30:46 2015 -0800
1244 tests: Add test for GIRepository.UnionInfo.get_size()
1246 https://bugzilla.gnome.org/show_bug.cgi?id=745362
1248 tests/test_repository.py | 1 +
1249 1 file changed, 1 insertion(+)
1251 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
1252 Author: Garrett Regier <garrettregier@gmail.com>
1253 Date: Fri Jan 23 01:37:35 2015 -0800
1255 Avoid duping filenames when marshalling from Python to C
1257 https://bugzilla.gnome.org/show_bug.cgi?id=744719
1259 gi/pygi-basictype.c | 12 ++++++------
1260 1 file changed, 6 insertions(+), 6 deletions(-)
1262 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
1263 Author: Simon Feltman <sfeltman@src.gnome.org>
1264 Date: Fri Feb 20 22:06:24 2015 -0800
1266 configure.ac: post release version bump to 3.15.1
1269 1 file changed, 1 insertion(+), 1 deletion(-)
1271 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
1272 Author: Simon Feltman <sfeltman@src.gnome.org>
1273 Date: Fri Feb 20 22:04:43 2015 -0800
1277 NEWS | 10 ++++++++++
1278 1 file changed, 10 insertions(+)
1280 commit 5dc113283c0a721c4027026bb8de7243585f1289
1281 Author: Simon Feltman <sfeltman@src.gnome.org>
1282 Date: Fri Feb 20 21:59:10 2015 -0800
1284 Ignore deprecation warning for g_option_group_free()
1286 gi/pygoptiongroup.c | 5 ++++-
1287 1 file changed, 4 insertions(+), 1 deletion(-)
1289 commit d8961622ea748c42171bdb4703e70022035ec3cc
1290 Author: Simon Feltman <sfeltman@src.gnome.org>
1291 Date: Fri Feb 20 21:52:58 2015 -0800
1293 tests: Make get_all_dependendencies() test more robust
1295 Replace array comparison with checking if individual items are in
1297 This solves a problem where the returned array might be in a
1299 as well as future proofs the test in case more dependencies are added.
1301 tests/test_import_machinery.py | 8 +++++---
1302 1 file changed, 5 insertions(+), 3 deletions(-)
1304 commit b10ab49afb97655507e2d3b92f621387287a2928
1305 Author: Simon Feltman <sfeltman@src.gnome.org>
1306 Date: Fri Feb 20 20:16:35 2015 -0800
1308 tests: Fix PEP8 error with commented code in test
1310 tests/test_gi.py | 1 -
1311 1 file changed, 1 deletion(-)
1313 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
1314 Author: Garrett Regier <garrett.regier@riftio.com>
1315 Date: Tue Jan 27 10:39:53 2015 -0800
1317 Avoid copying bytearrays from Python to C when transfer nothing
1319 https://bugzilla.gnome.org/show_bug.cgi?id=743278
1321 gi/pygi-array.c | 23 +++++++++++++++++++----
1322 tests/test_gi.py | 14 +++++++++++++-
1323 2 files changed, 32 insertions(+), 5 deletions(-)
1325 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
1326 Author: Garrett Regier <garrett.regier@riftio.com>
1327 Date: Mon Jan 19 14:53:53 2015 -0800
1329 Allows passing arguments to opaque Boxed types
1331 https://bugzilla.gnome.org/show_bug.cgi?id=743214
1333 gi/pygi-info.c | 7 +++++++
1334 gi/types.py | 10 +++++++++-
1335 tests/test_everything.py | 9 +++++++++
1336 tests/test_glib.py | 6 +++---
1337 4 files changed, 28 insertions(+), 4 deletions(-)
1339 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
1340 Author: Christoph Reiter <reiter.christoph@gmail.com>
1341 Date: Sat Jan 24 20:01:00 2015 +0100
1343 Emit ImportWarning when gi.require_version() is not used
1345 gi tries to import the latest version of typelibs which can cause
1346 existing code to break when a newer typelib is released.
1347 Emit an ImportWarning when gi.require_version() is not used to give
1348 developers this awareness so they can future proof their code.
1350 https://bugzilla.gnome.org/show_bug.cgi?id=727379
1353 +++++++++++++++++++++++++++++++++++++++++-
1354 gi/pygi-repository.c | 35 +++++++++++++++
1355 tests/compat_test_pygtk.py | 7 ++-
1356 tests/test_atoms.py | 6 ++-
1357 tests/test_import_machinery.py | 22 ++++++++++
1358 tests/test_overrides_gtk.py | 7 ++-
1359 tests/test_overrides_pango.py | 5 ++-
1360 tests/test_properties.py | 5 ++-
1361 tests/test_repository.py | 10 +++++
1362 9 files changed, 187 insertions(+), 9 deletions(-)
1364 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
1365 Author: Christoph Reiter <reiter.christoph@gmail.com>
1366 Date: Tue Dec 2 15:38:57 2014 +0100
1368 Refactor overrides import/modules
1370 Removes Registry and DynamicModule in favor of a simple module
1372 contains only overrides and falls back to the introspection module.
1373 Moves all the overrides logic into gi.overrides; Speeds up module
1376 https://bugzilla.gnome.org/show_bug.cgi?id=736678
1378 gi/importer.py | 11 ++--
1379 gi/module.py | 68 ---------------------
1380 gi/overrides/__init__.py | 131
1381 ++++++++++++++++++++++++++++++-----------
1382 tests/test_gi.py | 4 --
1383 tests/test_import_machinery.py | 32 +++++++---
1384 5 files changed, 126 insertions(+), 120 deletions(-)
1386 commit 4d0ab13a8461f781986accc637fada3909cfb91a
1387 Author: Simon Feltman <sfeltman@src.gnome.org>
1388 Date: Thu Aug 21 15:11:39 2014 -0700
1390 Replace statically bound GLib.Variant.new_tuple() with GI
1392 Remove the static implementation of _wrap_pyg_variant_new_tuple with
1393 usage of the dynamic version coming from GI. Array marshalling has
1394 drastically improved in recent years making the dynamic version usable
1395 with a small compatibility shim for the arguments.
1397 https://bugzilla.gnome.org/show_bug.cgi?id=735199
1399 gi/gimodule.c | 39 ---------------------------------------
1400 gi/overrides/GLib.py | 12 +++++-------
1401 2 files changed, 5 insertions(+), 46 deletions(-)
1403 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
1404 Author: Simon Feltman <sfeltman@src.gnome.org>
1405 Date: Wed Sep 10 13:30:48 2014 -0700
1407 overrides: Add Gdk.EventTouch union discrimination
1409 Add EventTouch to get/setattr pass-through to support BEGIN,
1411 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
1412 get_axis(), get_coords(), and get_root_coords() are patched onto
1415 https://bugzilla.gnome.org/show_bug.cgi?id=736380
1417 gi/overrides/Gdk.py | 5 +++++
1418 tests/test_overrides_gdk.py | 12 ++++++++++++
1419 2 files changed, 17 insertions(+)
1421 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
1422 Author: Simon Feltman <sfeltman@src.gnome.org>
1423 Date: Sat Jan 3 17:20:14 2015 -0800
1425 tests: Update pixbuf loader test to not raise exception when closing
1428 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
1429 changed the close() method to raise if the a loader is prematurely
1431 Update the test to write a 1x1 PNG stream to ensure close() will
1434 tests/compat_test_pygtk.py | 9 +++++++++
1435 1 file changed, 9 insertions(+)
1437 commit fd3935541ab4baddb504e000ec659b80923afa13
1438 Author: Murray Cumming <murrayc@murrayc.com>
1439 Date: Tue Dec 2 19:55:51 2014 +0100
1441 PyGObjectFlags: Remove a trailing comma on the enum.
1443 Because this produces a g++ pedantic warning.
1445 gi/pygobject.h | 2 +-
1446 1 file changed, 1 insertion(+), 1 deletion(-)
1448 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
1449 Author: Simon Feltman <sfeltman@src.gnome.org>
1450 Date: Mon Oct 27 20:19:23 2014 -0700
1452 Remove redefinitions of function and vfunc cache typedefs
1454 https://bugzilla.gnome.org/show_bug.cgi?id=737874
1456 gi/pygi-cache.h | 8 ++++----
1457 1 file changed, 4 insertions(+), 4 deletions(-)
1459 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
1460 Author: Simon Feltman <sfeltman@src.gnome.org>
1461 Date: Mon Sep 22 13:26:24 2014 -0700
1463 configure.ac: post release version bump to 3.15.0
1466 1 file changed, 1 insertion(+), 1 deletion(-)
1468 commit f20df385f480b65a8128986ce3df4022b324ade0
1469 Author: Simon Feltman <sfeltman@src.gnome.org>
1470 Date: Mon Sep 22 12:38:35 2014 -0700
1475 1 file changed, 3 insertions(+)
1477 commit 309d4100a08867d18420586c3b1f8709c360250f
1478 Author: Simon Feltman <sfeltman@src.gnome.org>
1479 Date: Mon Sep 22 12:24:32 2014 -0700
1481 configure.ac: pre release version bump to 3.14.0
1483 configure.ac | 4 ++--
1484 1 file changed, 2 insertions(+), 2 deletions(-)
1486 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
1487 Author: Simon Feltman <sfeltman@src.gnome.org>
1488 Date: Mon Sep 15 15:46:04 2014 -0700
1493 1 file changed, 7 insertions(+)
1495 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
1496 Author: Simon Feltman <sfeltman@src.gnome.org>
1497 Date: Fri Sep 12 17:10:04 2014 -0700
1499 tests: Add test for Gio.Application.add_main_option()
1501 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
1502 1 file changed, 29 insertions(+)
1504 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
1505 Author: Simon Feltman <sfeltman@src.gnome.org>
1506 Date: Thu Sep 11 19:32:53 2014 -0700
1508 Split test_everything.TestEverything.test_string() into multiple tests
1510 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1512 tests/test_everything.py | 25 +++++++++++++++++++------
1513 1 file changed, 19 insertions(+), 6 deletions(-)
1515 commit 6674701b6de02353738b9dc04ab88de23996704e
1516 Author: Simon Feltman <sfeltman@src.gnome.org>
1517 Date: Thu Sep 11 19:08:53 2014 -0700
1519 tests: Split array tests up
1521 Split test_everything.TestEverything.test_array(),
1522 test_array_fixed_size(),
1523 and test_ptrarray() into functions of a finer granularity. This
1525 easier diagnosis of problems and leaks when they occur.
1527 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1529 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
1530 1 file changed, 32 insertions(+), 5 deletions(-)
1532 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
1533 Author: Simon Feltman <sfeltman@src.gnome.org>
1534 Date: Thu Sep 11 16:17:13 2014 -0700
1536 tests: Split test_strv() into multiple tests
1538 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1540 tests/test_everything.py | 10 +++++++++-
1541 1 file changed, 9 insertions(+), 1 deletion(-)
1543 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
1544 Author: Simon Feltman <sfeltman@src.gnome.org>
1545 Date: Wed Sep 10 19:06:35 2014 -0700
1547 Fix invalid read error in argument cleanup code
1549 Always set initial length argument index for arrays to -1. Ensure
1551 attempt retrieving Python cleanup arguments until we know it is valid.
1552 This was causing an invalid read in test_gi.TestArray.test_array_out()
1554 gi/pygi-array.c | 1 +
1555 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
1556 2 files changed, 9 insertions(+), 5 deletions(-)
1558 commit 972e944ad4b2aac03c61633b8c277e35395c114c
1559 Author: Simon Feltman <sfeltman@src.gnome.org>
1560 Date: Wed Sep 10 18:55:45 2014 -0700
1562 tests: Increase num-callers for valgrind runs
1564 Additionally split valgrind check variations over multiple lines
1567 tests/Makefile.am | 23 ++++++++++++++++++++---
1568 1 file changed, 20 insertions(+), 3 deletions(-)
1570 commit d70b300c7415dd7b20ff88b09fe835690da19831
1571 Author: Simon Feltman <sfeltman@src.gnome.org>
1572 Date: Sat Sep 6 23:58:25 2014 -0700
1574 Fix memory management problems with struct arguments to signals
1576 Replicate struct marshaling logic for determining if struct arguments
1577 to signals should be passed by reference to callbacks.
1578 Maintain a list of these structs and apply an in-place copy of
1580 pointer if the struct wrapper is held longer than the duration of the
1581 Python callback. This allows for both mutation of struct arguments
1583 callbacks as well as memory safety incase a callbacks holds onto
1586 https://bugzilla.gnome.org/show_bug.cgi?id=736175
1588 gi/pygi-boxed.c | 20 ++++++++++++++++++++
1589 gi/pygi-boxed.h | 2 ++
1590 gi/pygi-signal-closure.c | 43
1591 +++++++++++++++++++++++++++++++++++++------
1592 tests/test_overrides_gtk.py | 1 -
1593 tests/test_signal.py | 27 +++++++++++++++++++++++++++
1594 5 files changed, 86 insertions(+), 7 deletions(-)
1596 commit 09161ff690ad37c94668d5d65191f4d84829d41f
1597 Author: Simon Feltman <sfeltman@src.gnome.org>
1598 Date: Sun Sep 7 15:53:35 2014 -0700
1600 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
1602 Add struct type check before calling g_struct_info_is_foreign().
1604 https://bugzilla.gnome.org/show_bug.cgi?id=736175
1606 gi/pygi-argument.c | 11 ++++++++---
1607 gi/pygi-struct-marshal.c | 7 +++++--
1608 2 files changed, 13 insertions(+), 5 deletions(-)
1610 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
1611 Author: Simon Feltman <sfeltman@src.gnome.org>
1612 Date: Sat Sep 6 15:16:06 2014 -0700
1614 tests: Add failing regression test for Gtk.TextBuffer.insert-text
1617 https://bugzilla.gnome.org/show_bug.cgi?id=736175
1619 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
1620 1 file changed, 19 insertions(+)
1622 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
1623 Author: Simon Feltman <sfeltman@src.gnome.org>
1624 Date: Mon Sep 1 17:36:46 2014 -0700
1626 configure.ac: post release version bump to 3.13.92
1629 1 file changed, 1 insertion(+), 1 deletion(-)
1631 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
1632 Author: Simon Feltman <sfeltman@src.gnome.org>
1633 Date: Mon Sep 1 17:31:39 2014 -0700
1637 NEWS | 15 +++++++++++++++
1638 1 file changed, 15 insertions(+)
1640 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
1641 Author: Simon Feltman <sfeltman@src.gnome.org>
1642 Date: Mon Sep 1 16:48:15 2014 -0700
1644 docs: Skip "Constructors" header for anonymous structs
1646 Structs which don't have a size or constructor should not procuce
1648 string. The trailing "::" was causing a problem with sphinx.
1650 gi/docstring.py | 8 ++++++--
1651 tests/test_docstring.py | 3 ++-
1652 2 files changed, 8 insertions(+), 3 deletions(-)
1654 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
1655 Author: Simon Feltman <sfeltman@src.gnome.org>
1656 Date: Mon Sep 1 15:21:04 2014 -0700
1658 docs: Fix error when using may_return_null()
1660 Fix error with an untested code path opened up by commit 1f78dc0ace.
1662 gi/docstring.py | 3 ++-
1663 tests/test_docstring.py | 4 ++++
1664 2 files changed, 6 insertions(+), 1 deletion(-)
1666 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
1667 Author: Simon Feltman <sfeltman@src.gnome.org>
1668 Date: Fri Aug 29 16:49:14 2014 -0700
1670 docs: Fix function doc string generator return types
1672 Change skip_return() access into a function call. This was causing
1673 return type doc strings to always be skipped.
1675 gi/docstring.py | 2 +-
1676 tests/test_docstring.py | 8 ++++++--
1677 2 files changed, 7 insertions(+), 3 deletions(-)
1679 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
1680 Author: Simon Feltman <sfeltman@src.gnome.org>
1681 Date: Fri Aug 29 14:18:28 2014 -0700
1683 Special case signal output arguments which are structs as
1686 Add a special case which avoids copying of struct arguments marked
1688 to signals. Since we don't currently support output arguments,
1690 come to rely on a pass-by-reference bug which was fixed and caused
1692 regress (bug 722899). Add unittest which is currently failing due
1694 of issues with emit() not supporting type annotations or output
1698 https://bugzilla.gnome.org/show_bug.cgi?id=735486
1700 gi/pygi-signal-closure.c | 41
1701 +++++++++++++++++++++++++++++++++++------
1702 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
1703 2 files changed, 59 insertions(+), 6 deletions(-)
1705 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
1706 Author: Simon Feltman <sfeltman@src.gnome.org>
1707 Date: Wed Aug 27 23:55:06 2014 -0700
1709 Ignore closure callbacks when Python is not initialized
1711 Add an immediate return in ffi closures if Python is not initialized.
1712 This fixes rare events when which lead to a segfault when a process
1715 https://bugzilla.gnome.org/show_bug.cgi?id=722562
1717 gi/pygi-closure.c | 7 +++++++
1718 1 file changed, 7 insertions(+)
1720 commit 27a14679dce33f64bbb5d77677eba83849f168ff
1721 Author: Christoph Reiter <reiter.christoph@gmail.com>
1722 Date: Fri Aug 22 21:51:31 2014 -0700
1724 Change boxed init with args to warn instead of raise
1726 Replace raising a TypeError in gi.types.Boxed() with a warning.
1727 Even though passing arguments or keywords to the parent class is
1728 incorrect here, raising an exception was causing a bit of fallout
1729 in some apps (Gramps).
1731 https://bugzilla.gnome.org/show_bug.cgi?id=727810
1733 gi/pygi-boxed.c | 5 ++++-
1734 tests/test_gi.py | 13 +++++++++++--
1735 2 files changed, 15 insertions(+), 3 deletions(-)
1737 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
1738 Author: Simon Feltman <sfeltman@src.gnome.org>
1739 Date: Fri Aug 22 02:16:10 2014 -0700
1741 tests: Add test for GLib.spawn_async_with_pipes()
1743 https://bugzilla.gnome.org/show_bug.cgi?id=735213
1745 tests/test_signal.py | 2 +-
1746 tests/test_subprocess.py | 17 +++++++++++++++++
1747 2 files changed, 18 insertions(+), 1 deletion(-)
1749 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
1750 Author: Simon Feltman <sfeltman@src.gnome.org>
1751 Date: Thu Aug 21 17:16:31 2014 -0700
1753 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
1755 This was accidentally pushed.
1756 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
1758 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
1759 gi/overrides/GLib.py | 12 +++++++-----
1760 2 files changed, 46 insertions(+), 5 deletions(-)
1762 commit b7a4e68a224ab66f67e45667023f74dd743e6177
1763 Author: Christoph Reiter <reiter.christoph@gmail.com>
1764 Date: Fri Aug 22 01:04:40 2014 +0200
1766 Fix crash in GList/GSList marshaling error handling path.
1768 In case PySequence_GetItem() failed, the retured NULL was passed
1771 https://bugzilla.gnome.org/show_bug.cgi?id=735201
1773 gi/pygi-list.c | 4 ++--
1774 tests/test_gi.py | 16 ++++++++++++++++
1775 2 files changed, 18 insertions(+), 2 deletions(-)
1777 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
1778 Author: Simon Feltman <sfeltman@src.gnome.org>
1779 Date: Thu Aug 21 15:11:39 2014 -0700
1781 Replace statically bound GLib.Variant.new_tuple() with GI
1783 Remove the static implementation of _wrap_pyg_variant_new_tuple with
1784 usage of the dynamic version coming from GI. Array marshalling has
1785 drastically improved in recent years making the dynamic version usable
1786 with a small compatibility shim for the arguments.
1788 https://bugzilla.gnome.org/show_bug.cgi?id=735199
1790 gi/gimodule.c | 39 ---------------------------------------
1791 gi/overrides/GLib.py | 12 +++++-------
1792 2 files changed, 5 insertions(+), 46 deletions(-)
1794 commit c1d387540a0b2db66e860c574b070051a5431914
1795 Author: Simon Feltman <sfeltman@src.gnome.org>
1796 Date: Thu Aug 21 14:37:14 2014 -0700
1798 Fix reference counting problems with GLib.Variant.new_tuple()
1800 Always sink the results of g_variant_new_tuple() in the statically
1801 bound wrapper. This matches the generic GI marshalling behavior
1802 of passing GVariants to Python with transfer-none.
1804 https://bugzilla.gnome.org/show_bug.cgi?id=735166
1807 tests/test_overrides_glib.py | 7 +++++++
1808 2 files changed, 8 insertions(+)
1810 commit 9ce261f27742ba200f70003f162291a375d244d3
1811 Author: Simon Feltman <sfeltman@src.gnome.org>
1812 Date: Tue Aug 19 14:57:31 2014 -0700
1814 configure.ac: Fix darwin builds
1816 Merge platform_win32 and os_win32 variables/case statements and
1817 define "link_python_libs" for win32 as well as darwin.
1819 https://bugzilla.gnome.org/show_bug.cgi?id=735068
1821 configure.ac | 30 +++++++++++-------------------
1822 1 file changed, 11 insertions(+), 19 deletions(-)
1824 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
1825 Author: Simon Feltman <sfeltman@src.gnome.org>
1826 Date: Wed Aug 20 13:39:31 2014 -0700
1828 Skip marshalling NULL output arguments in Python closures
1830 Skip marshalling optional output arguments which are passed NULL
1831 as the memory location. This fixes fallout from bug 727004.
1833 https://bugzilla.gnome.org/show_bug.cgi?id=735090
1835 gi/pygi-closure.c | 3 ++-
1836 1 file changed, 2 insertions(+), 1 deletion(-)
1838 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
1839 Author: Simon Feltman <sfeltman@src.gnome.org>
1840 Date: Mon Aug 18 19:10:36 2014 -0700
1842 configure.ac: post release version bump to 3.13.91
1845 1 file changed, 1 insertion(+), 1 deletion(-)
1847 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
1848 Author: Simon Feltman <sfeltman@src.gnome.org>
1849 Date: Mon Aug 18 19:07:10 2014 -0700
1853 NEWS | 15 +++++++++++++++
1854 1 file changed, 15 insertions(+)
1856 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
1857 Author: Simon Feltman <sfeltman@src.gnome.org>
1858 Date: Mon Aug 18 18:57:28 2014 -0700
1860 configure.ac: pre release version bump to 3.13.90
1863 1 file changed, 1 insertion(+), 1 deletion(-)
1865 commit 3b5b590599ca98cc51871878618cd59fc05212d1
1866 Author: Simon Feltman <sfeltman@src.gnome.org>
1867 Date: Mon Aug 18 02:33:54 2014 -0700
1869 gtk-demo: Don't use deprecated constructor for Gtk.Label
1871 demos/gtk-demo/demos/pickers.py | 2 +-
1872 1 file changed, 1 insertion(+), 1 deletion(-)
1874 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
1875 Author: Simon Feltman <sfeltman@src.gnome.org>
1876 Date: Sat Aug 9 02:30:43 2014 -0700
1878 Fast path Python Property getter when accessed through GObject
1881 Break do_get_property() call into a re-usable function.
1882 Call do_get_property() Python implementations instead of going
1884 machinery for Python GObjects. This gives a performance boost
1886 GObject properties when accessed via. obj.get_property() and
1889 https://bugzilla.gnome.org/show_bug.cgi?id=723872
1891 gi/gobjectmodule.c | 11 ++++-------
1892 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
1893 gi/pygi-property.h | 3 +++
1894 3 files changed, 34 insertions(+), 15 deletions(-)
1896 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
1897 Author: Simon Feltman <sfeltman@src.gnome.org>
1898 Date: Sat Aug 9 02:10:11 2014 -0700
1900 Fast path Python Property getter when accessing descriptor directly
1902 Call the Python implemented fget() when a property is accessed
1904 on a Python implemented GObject. This skips going through the GObject
1905 machinery which ends up calling fget() and marshalling the results
1908 https://bugzilla.gnome.org/show_bug.cgi?id=723872
1910 gi/_propertyhelper.py | 19 +++++++++++++++----
1911 1 file changed, 15 insertions(+), 4 deletions(-)
1913 commit 74722386192ad27aac8855d4603d8120af82c98e
1914 Author: Simon Feltman <sfeltman@src.gnome.org>
1915 Date: Mon Aug 18 02:05:58 2014 -0700
1917 Don't use GI type for determining pointer extraction from GValues
1919 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
1920 pointers from GValues being marshalled from properties and signals.
1921 This fixes fallout from commit abdfb0f.
1923 gi/pygi-value.c | 10 ++++------
1924 1 file changed, 4 insertions(+), 6 deletions(-)
1926 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
1927 Author: Simon Feltman <sfeltman@src.gnome.org>
1928 Date: Fri Aug 8 23:58:17 2014 -0700
1930 Fast path property access for basic types
1932 Attempt marshalling with pygi_value_to_py_basic_type() prior to
1934 GI info. This gives a quick conversion for basic types like bools,
1936 strings without having to go through GIArgument and GI
1938 gives approximately a 3x performance boost for accessing these
1940 the unified GValue marshaller.
1942 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1944 gi/pygi-property.c | 9 +++++++++
1945 gi/pygi-value.c | 26 ++++++++++++++++++--------
1946 2 files changed, 27 insertions(+), 8 deletions(-)
1948 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
1949 Author: Simon Feltman <sfeltman@src.gnome.org>
1950 Date: Fri Aug 8 16:31:01 2014 -0700
1952 Break pyg_value_as_pyobject into two functions
1954 Add pygi_value_to_py_basic_type() which is limited to handling basic
1955 types that don't need introspection information when marshalling
1957 Add pygi_value_to_py_structured_type() for marshalling of structured
1959 which can eventually accept GI type hints.
1961 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1963 gi/pygi-value.c | 74
1964 +++++++++++++++++++++++++++++++++++++++++++++++----------
1965 gi/pygi-value.h | 6 +++++
1966 2 files changed, 68 insertions(+), 12 deletions(-)
1968 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
1969 Author: Simon Feltman <sfeltman@src.gnome.org>
1970 Date: Fri Aug 8 20:55:28 2014 -0700
1972 Unify property getters
1974 Consolidate duplicate logic into pygi_get_property_value().
1975 Use the function for GObject.get_property(), GObject.get_properties(),
1977 Remove overridden expected failures in TestCGetPropertyMethod which
1978 now work due to the unification.
1980 https://bugzilla.gnome.org/show_bug.cgi?id=733893
1981 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1983 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
1984 gi/pygi-property.h | 4 ++
1986 +++++++-----------------------------------------
1987 tests/test_properties.py | 38 -------------------
1988 4 files changed, 77 insertions(+), 147 deletions(-)
1990 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
1991 Author: Simon Feltman <sfeltman@src.gnome.org>
1992 Date: Mon Jul 28 19:09:30 2014 -0700
1994 Merge pygi_get_property_value and _pygi_argument_from_g_value
1996 Merge duplicated GValue marshaling code which has diverged over time
1997 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
1999 Use _pygi_argument_to_array within pygi_get_property_value. This
2001 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
2003 Side effects of this change also include support for properties
2005 G_TYPE_FLAGS and G_TYPE_PARAM.
2007 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2009 gi/pygi-property.c | 140
2010 +++++------------------------------------------------
2011 gi/pygi-value.c | 24 ++++++---
2012 2 files changed, 28 insertions(+), 136 deletions(-)
2014 commit 142ff1903d34876db3d1bee5e9782ac49de12313
2015 Author: Simon Feltman <sfeltman@src.gnome.org>
2016 Date: Mon Jul 28 04:40:36 2014 -0700
2018 Never dup data structures when marshaling signal in arguments
2020 Always assume transfer-none of GValue arguments to signal handlers.
2021 A signal handler with arguments marked as transfer-full does not
2022 make any sense, so assume they are always transfer-none.
2024 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2026 gi/pygi-signal-closure.c | 4 +---
2027 gi/pygi-value.c | 4 +++-
2028 2 files changed, 4 insertions(+), 4 deletions(-)
2030 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
2031 Author: Simon Feltman <sfeltman@src.gnome.org>
2032 Date: Mon Jul 28 04:23:39 2014 -0700
2034 Never dup data structures when marshaling from g_object_get_property()
2036 Always use transfer-none with the results of g_object_get_property()
2037 and assume g_value_unset() will cleanup the results. This gives us
2038 control over memory of properties and limits property anotations to
2041 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2043 gi/pygi-property.c | 24 +++++++-----------------
2044 1 file changed, 7 insertions(+), 17 deletions(-)
2046 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
2047 Author: Simon Feltman <sfeltman@src.gnome.org>
2048 Date: Tue Jul 29 19:29:28 2014 -0700
2050 Refactor boxed wrapper memory management strategy
2052 Change pygi_boxed_new() to accept "copy_boxed" instead of
2054 This changes memory management so the PyGIBoxed wrapper owns the boxed
2055 pointer given to it. Use __del__ instead of dealloc for freeing
2057 memory. This is needed for edge cases where objects like GSource can
2058 trigger the finalized callback during de-alloc, resulting in the
2060 references counts being manipulated and triggering a re-entrant
2062 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
2064 which rely on pass-by-reference.
2065 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
2067 https://bugzilla.gnome.org/show_bug.cgi?id=722899
2069 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2071 gi/gimodule.c | 6 +++-
2072 gi/overrides/GLib.py | 4 ---
2073 gi/overrides/GObject.py | 3 ++
2074 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
2075 gi/pygi-boxed.h | 4 +--
2076 gi/pygi-source.c | 6 ++--
2077 gi/pygi-struct-marshal.c | 81
2078 +++++++++++++++++++++++++++++++++++++++++++++---
2079 tests/test_gi.py | 1 -
2080 tests/test_source.py | 8 +++--
2081 9 files changed, 140 insertions(+), 27 deletions(-)
2083 commit 62aed0977090f7099a5e538209f7c680ea22fe12
2084 Author: Simon Feltman <sfeltman@src.gnome.org>
2085 Date: Sun Aug 17 19:04:51 2014 -0700
2087 Replace GObject.signal_query with introspected version
2089 Remove the static bindings for GObject.signal_query and replace with a
2090 Python compatibility shim which utilizes the introspection exposed
2094 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2096 gi/gobjectmodule.c | 89
2097 -------------------------------------------------
2098 gi/overrides/GObject.py | 39 ++++++++++++----------
2099 2 files changed, 21 insertions(+), 107 deletions(-)
2101 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
2102 Author: Simon Feltman <sfeltman@src.gnome.org>
2103 Date: Sun Aug 17 19:03:32 2014 -0700
2105 Use array lengths specified on struct fields
2107 Add array length marshalling policy for struct fields. This fixes
2109 C array fields on structs which also specify a length field.
2111 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2113 gi/pygi-argument.c | 14 ++++++-------
2114 gi/pygi-argument.h | 4 ++++
2116 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
2117 3 files changed, 68 insertions(+), 9 deletions(-)
2119 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
2120 Author: Simon Feltman <sfeltman@src.gnome.org>
2121 Date: Sun Aug 17 18:15:23 2014 -0700
2123 Refactor signal array length marshalling to support a length policy
2125 Replace passing arrays of data to non-caching array marshallers with
2127 closure that can be customized depending on context. In the case
2129 this is mostly scaffolding which will be replaced with caching
2131 However, it opens the legacy marshaller for usage with struct
2135 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2137 gi/pygi-argument.c | 70
2138 ++++++++++++++++++++++++++++++++----------------
2139 gi/pygi-argument.h | 14 +++++++---
2140 gi/pygi-signal-closure.c | 8 ++++--
2141 3 files changed, 64 insertions(+), 28 deletions(-)
2143 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
2144 Author: Simon Feltman <sfeltman@src.gnome.org>
2145 Date: Sun Aug 17 13:58:10 2014 -0700
2147 Remove dead code for marshalling array lengths in the context
2150 Remove usage of the args parameter from _pygi_argument_to_array. This
2152 longer used because array marshalling for vfuncs is now handled by
2156 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2158 gi/pygi-argument.c | 24 +++++++++---------------
2159 1 file changed, 9 insertions(+), 15 deletions(-)
2161 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
2162 Author: Simon Feltman <sfeltman@src.gnome.org>
2163 Date: Sun Aug 17 21:53:55 2014 -0700
2165 Fix memory leak with unboxed caller allocated structs
2167 Take caller-allocates into account when wrapping unboxed structures.
2168 This will free the allocated memory when the Python object is
2171 gi/pygi-struct-marshal.c | 2 +-
2172 1 file changed, 1 insertion(+), 1 deletion(-)
2174 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
2175 Author: Simon Feltman <sfeltman@src.gnome.org>
2176 Date: Sat Aug 16 22:34:29 2014 -0700
2178 tests: Add reference count test for signal connection arguments
2180 Add tests for ensuring reference counts are what we expect for
2181 connect() callback, user_data, and swap object (currently broken
2184 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2186 tests/test_signal.py | 133
2187 +++++++++++++++++++++++++++++++++++++++++++++++++++
2188 1 file changed, 133 insertions(+)
2190 commit 7076669aadfc5227144df87277d69ae66865770a
2191 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
2192 Date: Sat Aug 16 17:46:50 2014 -0700
2194 Don't mask GObject sub-class doc strings in meta-class
2196 If a class has a __doc__ attribute explicitly set, always return it.
2197 Only generate doc strings for classes coming from gi.repository
2200 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2202 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2204 https://bugzilla.gnome.org/show_bug.cgi?id=734926
2206 gi/types.py | 12 +++++++++++-
2207 tests/test_docstring.py | 2 --
2208 2 files changed, 11 insertions(+), 3 deletions(-)
2210 commit 4cdca4328da7442be247e775294fc676cf677bb7
2211 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
2212 Date: Sat Aug 16 15:06:40 2014 -0700
2214 tests: Add failing tests for GObject sub-class doc-strings
2216 Add tests for sub-class docstrings set with either doc-string
2217 syntax and by setting the __doc__ attribute directly.
2219 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2221 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2223 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
2224 1 file changed, 39 insertions(+)
2226 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
2227 Author: Simon Feltman <sfeltman@src.gnome.org>
2228 Date: Thu Aug 14 22:47:14 2014 -0700
2230 configure.ac: post release version bump to 3.13.5
2233 1 file changed, 1 insertion(+), 1 deletion(-)
2235 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
2236 Author: Simon Feltman <sfeltman@src.gnome.org>
2237 Date: Thu Aug 14 22:42:27 2014 -0700
2241 NEWS | 22 ++++++++++++++++++++++
2242 1 file changed, 22 insertions(+)
2244 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
2245 Author: Simon Feltman <sfeltman@src.gnome.org>
2246 Date: Thu Aug 14 18:33:06 2014 -0700
2248 Fix invalid unref after getting callable container
2250 Don't unref the results of g_base_info_get_container() because it is
2251 transfer-none. This was causing an attempted unref on an invalid
2253 when setting up callback caches for signals.
2255 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2257 gi/pygi-cache.c | 2 --
2258 1 file changed, 2 deletions(-)
2260 commit 654c28faffc8d956bd31987adca092fa014cc897
2261 Author: Simon Feltman <sfeltman@src.gnome.org>
2262 Date: Thu Aug 14 21:31:33 2014 -0700
2264 tests: Silence valgrindlog and valgrindxml output from forked procs
2266 This is needed to properly diff valgrind runs between commits.
2268 tests/Makefile.am | 4 ++--
2269 1 file changed, 2 insertions(+), 2 deletions(-)
2271 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
2272 Author: Simon Feltman <sfeltman@src.gnome.org>
2273 Date: Wed Aug 13 10:27:01 2014 -0700
2275 Remove ffi wrapped destroy notify used for closure cleanup
2277 Remove global ffi wrapper for _pygi_invoke_closure_free() and
2279 a pointer to _pygi_invoke_closure_free() directly. There is no need
2281 a known single use function with an ffi closure. Originally
2283 commit 610dd1eec87f.
2285 gi/pygi-closure.c | 49 +------------------------------------------------
2286 1 file changed, 1 insertion(+), 48 deletions(-)
2288 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
2289 Author: Simon Feltman <sfeltman@src.gnome.org>
2290 Date: Tue Aug 12 22:19:24 2014 -0700
2292 tests: Update tests for static binding protection to check
2295 tests/test_import_machinery.py | 10 +++++-----
2296 1 file changed, 5 insertions(+), 5 deletions(-)
2298 commit e674340db90c29c556b45e0a8f8b2da72661b738
2299 Author: Simon Feltman <sfeltman@src.gnome.org>
2300 Date: Mon Aug 11 23:12:38 2014 -0700
2302 Use AttributeError for static binding protection
2304 Replace usage of RuntimeError with AttributeError in the dummy module
2305 protecting importing of static bindings. This is needed so we
2307 modules like inspect which is used by ipython.
2309 gi/__init__.py | 2 +-
2310 1 file changed, 1 insertion(+), 1 deletion(-)
2312 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
2313 Author: Simon Feltman <sfeltman@src.gnome.org>
2314 Date: Mon Aug 11 22:47:14 2014 -0700
2316 Add deprecation warning for connect_object() with non-GObject argument
2318 GObject.connect_object() accepts any Python object and holds a strong
2319 reference to it in the closure defeating the purpose of
2321 Add a warning so we can eventually limit connect_object() to GObject
2323 use the underlying g_signal_connect_object() which holds a weak
2326 https://bugzilla.gnome.org/show_bug.cgi?id=688064
2328 gi/pygobject.c | 9 +++++++++
2329 1 file changed, 9 insertions(+)
2331 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
2332 Author: Simon Feltman <sfeltman@src.gnome.org>
2333 Date: Mon Aug 11 22:39:13 2014 -0700
2335 tests: Add tests for connect_object()
2337 Add tests for both introspected and non-introspected signals
2339 of connect_object() and connect_object_after() in combination
2341 and Python object swap data.
2343 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2345 tests/test_signal.py | 139
2346 +++++++++++++++++++++++++++++++++++++++++++--------
2347 1 file changed, 117 insertions(+), 22 deletions(-)
2349 commit 581acc4c56be127b3a724df504bb46a40959fdd9
2350 Author: Simon Feltman <sfeltman@src.gnome.org>
2351 Date: Mon Aug 11 21:21:42 2014 -0700
2353 Add Python implementation of Object.connect_data()
2355 Add GObject.Object.connect_data() which takes an optional
2357 keyword argument accepting GObject.ConnectFlags enum values. This is
2358 for supporting user data swapping (ConnectFlags.SWAPPED).
2360 https://bugzilla.gnome.org/show_bug.cgi?id=701843
2362 gi/overrides/GObject.py | 37 ++++++++++++++++
2363 tests/test_signal.py | 109
2364 ++++++++++++++++++++++++++++++++++++++++++++++++
2365 2 files changed, 146 insertions(+)
2367 commit b1caef95c4b68b65f3f159563162afde5a0b0939
2368 Author: Simon Feltman <sfeltman@src.gnome.org>
2369 Date: Sat Aug 9 02:14:23 2014 -0700
2371 tests: Add failing tests which verify exceptions raised in property
2374 https://bugzilla.gnome.org/show_bug.cgi?id=575652
2376 tests/test_properties.py | 17 +++++++++++++++++
2377 1 file changed, 17 insertions(+)
2379 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
2380 Author: Garrett Regier <Garrett.Regier@riftio.com>
2381 Date: Fri Aug 8 10:08:23 2014 -0400
2383 Cleanup input args when marshaling in closures
2385 The cleanup must happen before setting the out args otherwise
2386 the args that cleanup would free are the just set args, not the
2389 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2391 gi/pygi-closure.c | 2 +-
2392 1 file changed, 1 insertion(+), 1 deletion(-)
2394 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
2395 Author: Simon Feltman <sfeltman@src.gnome.org>
2396 Date: Fri Aug 8 02:47:11 2014 -0700
2398 tests: Fix Python 2 build for newly added test_array_parm()
2400 Use @unittest.skip() with a string argument as required by Python 2.
2402 tests/test_signal.py | 2 +-
2403 1 file changed, 1 insertion(+), 1 deletion(-)
2405 commit 3165c17a455652de9a61439428fa40f30120dc6a
2406 Author: Simon Feltman <sfeltman@src.gnome.org>
2407 Date: Fri Aug 8 02:46:26 2014 -0700
2409 Remove incorrect and unused casts from tp_free calls
2411 Arguments to Py_TYPE() do not need to be cast since the macro
2413 to a PyObject* internall.
2415 gi/pygi-boxed.c | 2 +-
2416 gi/pygi-ccallback.c | 2 +-
2417 gi/pygi-info.c | 2 +-
2418 gi/pygi-struct.c | 2 +-
2419 4 files changed, 4 insertions(+), 4 deletions(-)
2421 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
2422 Author: Simon Feltman <sfeltman@src.gnome.org>
2423 Date: Fri Aug 8 02:33:51 2014 -0700
2425 Fix GCallback Python wrapper leak
2427 The PyObject wrapper for GCallbacks was not calling tp_free in
2429 tp_dealloc class method.
2431 https://bugzilla.gnome.org/show_bug.cgi?id=695130
2433 gi/pygi-ccallback.c | 2 ++
2434 1 file changed, 2 insertions(+)
2436 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
2437 Author: Martin Pitt <martinpitt@gnome.org>
2438 Date: Fri Aug 8 01:55:21 2014 -0700
2440 tests: Add failing test for marshalling an array of GValues through
2443 https://bugzilla.gnome.org/show_bug.cgi?id=669496
2445 tests/test_signal.py | 12 ++++++++++++
2446 1 file changed, 12 insertions(+)
2448 commit d689d24f271c30612c6a86b5c51d50a1179aedad
2449 Author: Simon Feltman <sfeltman@src.gnome.org>
2450 Date: Thu Aug 7 17:52:35 2014 -0700
2452 tests: Add tests for GApplication local command line handling
2454 Add various tests which override Gio.Appliction.do_command_line and
2455 do_local_command_line.
2457 https://bugzilla.gnome.org/show_bug.cgi?id=690851
2459 tests/test_gio.py | 65
2460 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2461 1 file changed, 65 insertions(+)
2463 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
2464 Author: Garrett Regier <Garrett.Regier@riftio.com>
2465 Date: Thu Aug 7 12:25:59 2014 -0400
2467 Add test for a callback with an inout array
2469 This was broken until the closures used the caches for marshaling.
2471 https://bugzilla.gnome.org/show_bug.cgi?id=702508
2473 tests/test_everything.py | 19 +++++++++++++++++++
2474 1 file changed, 19 insertions(+)
2476 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
2477 Author: Garrett Regier <Garrett.Regier@riftio.com>
2478 Date: Thu Aug 7 12:06:30 2014 -0400
2480 Fix raising an error in a constructor
2482 It should raise a Python exception instead of warnings about
2483 a constructor returning NULL.
2485 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2487 gi/pygi-cache.c | 6 +++---
2488 tests/test_gi.py | 6 ++++++
2489 2 files changed, 9 insertions(+), 3 deletions(-)
2491 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
2492 Author: Garrett Regier <Garrett.Regier@riftio.com>
2493 Date: Wed Aug 6 15:30:58 2014 -0400
2495 Use the caches for marshaling the arguments in closures
2497 Changes to object marshaling when the calling context is from
2498 C was required to correctly keep the correct floating status.
2500 The array cache has been modified to set to/from_py_marshaller
2501 for the length arg cache. This is required for closures which include
2502 the length arg for backwards compatibility. The closure cache takes
2503 care to change the length arg cache's meta type so it gets marshalled
2506 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2508 gi/pygi-array.c | 5 +-
2509 gi/pygi-basictype.c | 4 +-
2510 gi/pygi-basictype.h | 36 +++--
2511 gi/pygi-cache.c | 30 +++-
2512 gi/pygi-closure.c | 403
2513 ++++++++++++++++++++++++++++------------------------
2514 gi/pygi-invoke.c | 3 +-
2515 6 files changed, 271 insertions(+), 210 deletions(-)
2517 commit 9337acf98d783777c94d4bcb912a185ba6791efb
2518 Author: Garrett Regier <Garrett.Regier@riftio.com>
2519 Date: Wed Aug 6 12:14:27 2014 -0400
2521 Specialize GObject marshaling when called from C
2523 These are needed otherwise the floating status of
2524 the GObject will not be kept.
2526 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2528 gi/pygi-object.c | 86
2529 +++++++++++++++++++++++++++++++++++++++++++++++---------
2530 1 file changed, 72 insertions(+), 14 deletions(-)
2532 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
2533 Author: Garrett Regier <Garrett.Regier@riftio.com>
2534 Date: Wed Aug 6 11:59:09 2014 -0400
2536 Move special handling of GObject from Python when calling from C
2538 This will soon be used in the GObject arg cache marshaling when
2539 the calling context is C.
2541 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2543 gi/pygi-argument.c | 21 +--------------------
2544 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
2545 gi/pygi-object.h | 5 +++++
2546 3 files changed, 36 insertions(+), 20 deletions(-)
2548 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
2549 Author: Garrett Regier <Garrett.Regier@riftio.com>
2550 Date: Wed Aug 6 11:53:39 2014 -0400
2552 Always pass along the callable cache to the arg cache constructors
2554 This will be needed in a future patch which requires that the callable
2555 cache is always available.
2557 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2559 gi/pygi-array.c | 20 ++++++++++++--------
2560 gi/pygi-array.h | 9 +++++----
2561 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
2562 gi/pygi-cache.h | 7 ++++---
2563 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
2564 gi/pygi-hashtable.h | 9 +++++----
2565 gi/pygi-list.c | 30 +++++++++++++++++++-----------
2566 gi/pygi-list.h | 9 +++++----
2567 gi/pygi-object.c | 25 ++++++++++++++-----------
2568 gi/pygi-object.h | 3 ++-
2569 10 files changed, 103 insertions(+), 74 deletions(-)
2571 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
2572 Author: Garrett Regier <Garrett.Regier@riftio.com>
2573 Date: Tue Aug 5 10:42:46 2014 -0400
2575 Set the correct meta type for GErrors when marshaling to Python
2577 Otherwise we do not pass the GError into python callbacks and
2578 we also want to convert these into Python Exceptions.
2580 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2582 gi/pygi-error.c | 2 +-
2583 1 file changed, 1 insertion(+), 1 deletion(-)
2585 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
2586 Author: Garrett Regier <Garrett.Regier@riftio.com>
2587 Date: Tue Aug 5 10:37:58 2014 -0400
2589 Pass the GIArgument to the closure assign functions
2591 This will be required once we use the caches for marshaling.
2593 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2595 gi/pygi-closure.c | 102
2596 ++++++++++++++++++++++++++----------------------------
2597 1 file changed, 50 insertions(+), 52 deletions(-)
2599 commit ca3579db14df278923674c294d07481a7255510f
2600 Author: Garrett Regier <Garrett.Regier@riftio.com>
2601 Date: Tue Aug 5 10:25:40 2014 -0400
2603 Use the caches for closures, but not yet for marshaling the arguments
2605 Instead of using the various GI functions we use the data from
2607 This also fixes generating an arg cache for a closure as it was
2609 data or simply setting incorrect data. Also, always included the
2611 until the closures no longer need it for marshaling the arguments.
2613 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2615 gi/pygi-cache.c | 33 +++++++-
2616 gi/pygi-cache.h | 4 +
2617 gi/pygi-closure.c | 245
2618 +++++++++++++++++++++++++-----------------------------
2619 gi/pygi-closure.h | 2 +
2620 4 files changed, 150 insertions(+), 134 deletions(-)
2622 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
2623 Author: Garrett Regier <Garrett.Regier@riftio.com>
2624 Date: Tue Aug 5 10:16:45 2014 -0400
2626 Correctly set the destroy notify for callbacks in closures
2628 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2630 gi/pygi-closure.c | 2 +-
2631 1 file changed, 1 insertion(+), 1 deletion(-)
2633 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
2634 Author: Garrett Regier <Garrett.Regier@riftio.com>
2635 Date: Fri Aug 1 11:40:08 2014 -0400
2637 Split the callable cache into the different types
2639 Instead of doing different things based on the various function types
2640 this adds vfuncs for generate_args_cache() and invoke() which are then
2641 specialized for the various function types. Also add a calling context
2642 to the callable cache which is then used to determine the direction
2643 when generating the arg caches.
2645 This is in preparation for adding closure caches.
2647 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2649 gi/pygi-cache.c | 514
2650 +++++++++++++++++++++++++++++++-----------
2651 gi/pygi-cache.h | 96 +++++---
2652 gi/pygi-ccallback.c | 16 +-
2653 gi/pygi-info.c | 3 +-
2654 gi/pygi-invoke-state-struct.h | 2 -
2655 gi/pygi-invoke.c | 244 ++++++++------------
2656 gi/pygi-invoke.h | 4 +
2658 8 files changed, 564 insertions(+), 317 deletions(-)
2660 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
2661 Author: Ignacio Casal Quinteiro <icq@gnome.org>
2662 Date: Wed Aug 6 08:27:43 2014 +0200
2664 Generate .dll libraries on windows
2666 https://bugzilla.gnome.org/show_bug.cgi?id=734288
2668 configure.ac | 8 ++++++++
2669 tests/Makefile.am | 8 ++++----
2670 2 files changed, 12 insertions(+), 4 deletions(-)
2672 commit d70403357d6b510356dd375304fb97e458fd12b2
2673 Author: Simon Feltman <sfeltman@src.gnome.org>
2674 Date: Tue Aug 5 22:45:46 2014 -0700
2676 Add protection against attempts at importing static bindings
2678 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
2680 gi with dummy modules which produce an error upon access.
2682 https://bugzilla.gnome.org/show_bug.cgi?id=709183
2684 gi/__init__.py | 25 ++++++++++++++++++++++---
2685 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
2686 2 files changed, 46 insertions(+), 3 deletions(-)
2688 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
2689 Author: Simon Feltman <sfeltman@src.gnome.org>
2690 Date: Tue Dec 31 16:15:04 2013 -0800
2692 Update and deprecate gi.overrides.keysyms
2694 Replace manually assigned keysyms with a dynamically generated version
2695 pulling names and values from Gdk via GI. Add a runtime warning when
2696 this module is imported.
2698 https://bugzilla.gnome.org/show_bug.cgi?id=721295
2700 gi/overrides/keysyms.py | 1490
2701 +-------------------------------------------
2702 pygtkcompat/pygtkcompat.py | 14 +-
2703 2 files changed, 27 insertions(+), 1477 deletions(-)
2705 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
2706 Author: Alexey Pavlov <alexpux@gmail.com>
2707 Date: Tue Aug 5 19:03:38 2014 -0700
2709 Use -no-undefined for building on Windows
2711 See LT_INIT([win32-dll]):
2712 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
2714 Additionally add PYTHON_LIBS to testhelper.la linking.
2716 https://bugzilla.gnome.org/show_bug.cgi?id=734284
2718 tests/Makefile.am | 6 +++---
2719 1 file changed, 3 insertions(+), 3 deletions(-)
2721 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
2722 Author: Alexey Pavlov <alexpux@gmail.com>
2723 Date: Tue Aug 5 18:40:53 2014 -0700
2725 Use python-config for libs when available
2727 https://bugzilla.gnome.org/show_bug.cgi?id=734289
2729 m4/python.m4 | 7 ++++++-
2730 1 file changed, 6 insertions(+), 1 deletion(-)
2732 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
2733 Author: Alexey Pavlov <alexpux@gmail.com>
2734 Date: Tue Aug 5 18:20:25 2014 -0700
2736 Link gi.so with FFI_LIBS
2738 https://bugzilla.gnome.org/show_bug.cgi?id=734286
2740 gi/Makefile.am | 3 ++-
2741 1 file changed, 2 insertions(+), 1 deletion(-)
2743 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
2744 Author: Alexey Pavlov <alexpux@gmail.com>
2745 Date: Tue Aug 5 15:45:04 2014 +0200
2747 Include math headers also on mingw
2749 https://bugzilla.gnome.org/show_bug.cgi?id=734287
2751 gi/pygi-basictype.c | 2 --
2752 1 file changed, 2 deletions(-)
2754 commit 964ced98e03c704074d10cc362abfa14c00457ba
2755 Author: Garrett Regier <Garrett.Regier@riftio.com>
2756 Date: Thu Jul 31 10:16:47 2014 -0400
2758 Added args_offset to the cache instead of checking the function type
2760 gi/pygi-array.c | 6 ++----
2761 gi/pygi-cache.c | 6 +++---
2762 gi/pygi-cache.h | 3 +++
2763 gi/pygi-closure.c | 4 +---
2764 4 files changed, 9 insertions(+), 10 deletions(-)
2766 commit 9943d876059201cbee87f072a84234ed774ed932
2767 Author: Simon Feltman <sfeltman@src.gnome.org>
2768 Date: Thu Jul 31 21:51:00 2014 -0700
2770 doap: Update homepage URL and email address
2772 pygobject.doap | 4 ++--
2773 1 file changed, 2 insertions(+), 2 deletions(-)
2775 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
2776 Author: Simon Feltman <sfeltman@src.gnome.org>
2777 Date: Thu Jul 31 21:46:37 2014 -0700
2779 Change maintainer in PKG-INFO to self
2781 PKG-INFO.in | 4 ++--
2782 1 file changed, 2 insertions(+), 2 deletions(-)
2784 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
2785 Author: Andre Klapper <a9016009@gmx.de>
2786 Date: Thu Jul 31 21:28:12 2014 +0200
2788 doap: add <programming-language>
2790 pygobject.doap | 2 ++
2791 1 file changed, 2 insertions(+)
2793 commit f30001f2b01896577a2b4d956bc4658350e56b8d
2794 Author: Simon Feltman <sfeltman@src.gnome.org>
2795 Date: Wed Jul 30 00:29:01 2014 -0700
2797 Add GClosure marshalling cleanup
2799 Add marshalling cleanup for Python callables and boxed GClosures
2800 passed as arguments. Make sure the marshaller owns a reference
2801 until clean. Fix transfer everything case by adding a new reference.
2802 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
2804 https://bugzilla.gnome.org/show_bug.cgi?id=695128
2806 gi/pygi-struct-marshal.c | 46
2807 ++++++++++++++++++++++++++++++++++++++--------
2808 gi/pygi-struct-marshal.h | 4 ----
2809 2 files changed, 38 insertions(+), 12 deletions(-)
2811 commit cf4e830f1b613736ef9586562eb6c0b354165925
2812 Author: Simon Feltman <sfeltman@src.gnome.org>
2813 Date: Wed Jul 30 12:42:15 2014 -0700
2815 Remove decrementing argument index for failed marshalling cleanup
2817 Remove index decrement when cleanup function is called for failed
2819 marshalling. The decrement is incorrect and causes the failed argument
2820 cleanup to be skipped. The decrement also causes cleanup for arguments
2821 prior to the failed argument to receive "was_successful" as FALSE,
2825 https://bugzilla.gnome.org/show_bug.cgi?id=695128
2827 gi/pygi-invoke.c | 10 +++++-----
2828 1 file changed, 5 insertions(+), 5 deletions(-)
2830 commit 662a4421125d126a11ca163c362d205f0c2147c4
2831 Author: Simon Feltman <sfeltman@src.gnome.org>
2832 Date: Wed Jul 30 12:46:18 2014 -0700
2834 Use cleanup data for argument marshalling failures
2836 Use state->args_cleanup_data when cleaning up failed argument
2838 This was overlooked when cleanup data tracking was implemented
2841 https://bugzilla.gnome.org/show_bug.cgi?id=695128
2843 gi/pygi-marshal-cleanup.c | 14 +++++++-------
2844 1 file changed, 7 insertions(+), 7 deletions(-)
2846 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
2847 Author: Olav Vitters <olav@vitters.nl>
2848 Date: Wed Jul 30 20:41:37 2014 +0200
2852 pygobject.doap | 2 +-
2853 1 file changed, 1 insertion(+), 1 deletion(-)
2855 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
2856 Author: Simon Feltman <sfeltman@src.gnome.org>
2857 Date: Mon Jul 28 23:51:19 2014 -0700
2859 tests: Move object property reference count tests to test_properties
2861 Move and consolidate tests for object property reference counts from
2862 tests_object_marshaling to test_properties.
2864 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2866 tests/test_object_marshaling.py | 68
2867 -----------------------------------------
2868 tests/test_properties.py | 36 ++++++++++++++++++++++
2869 2 files changed, 36 insertions(+), 68 deletions(-)
2871 commit 15b795354ca5a8f436779ee5d81936af8961acb5
2872 Author: Simon Feltman <sfeltman@src.gnome.org>
2873 Date: Mon Jul 28 22:20:44 2014 -0700
2875 tests: Move test_everything.TestProperties into test_properties
2877 Consolidate property tests found in test_everything into test_property
2878 removing redundant tests already found in test_property.
2880 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2882 tests/test_everything.py | 69
2883 +-----------------------------------------------
2884 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
2885 2 files changed, 60 insertions(+), 68 deletions(-)
2887 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
2888 Author: Simon Feltman <sfeltman@src.gnome.org>
2889 Date: Mon Jul 28 21:32:44 2014 -0700
2891 tests: Add tests for get/set_property()
2893 Re-use the new CPropertiesTestBase class for testing
2897 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2899 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
2900 1 file changed, 32 insertions(+)
2902 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
2903 Author: Simon Feltman <sfeltman@src.gnome.org>
2904 Date: Mon Jul 28 21:32:00 2014 -0700
2906 tests: Break TestPropertiesObject up for re-use
2908 Refactor TestPropertiesObject into a base class which abstracts
2910 property methods. This will allow re-use for testing both
2912 and the props accessor.
2914 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2916 tests/test_properties.py | 221
2917 +++++++++++++++++++++++++----------------------
2918 1 file changed, 118 insertions(+), 103 deletions(-)
2920 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
2921 Author: Simon Feltman <sfeltman@src.gnome.org>
2922 Date: Mon Jul 28 19:32:00 2014 -0700
2924 tests: Move test_gi.TestPropertiesObject into test_properties
2926 Move all property testing code into the test_properties module.
2928 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2930 tests/test_gi.py | 233
2931 ----------------------------------------------
2932 tests/test_properties.py | 235
2933 +++++++++++++++++++++++++++++++++++++++++++++++
2934 2 files changed, 235 insertions(+), 233 deletions(-)
2936 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
2937 Author: Simon Feltman <sfeltman@src.gnome.org>
2938 Date: Fri Jul 25 18:33:15 2014 -0700
2940 pyflakes: Fix legacy print and exception usage under Python 3
2942 Fix print statements and legacy exception usage in examples.
2944 https://bugzilla.gnome.org/show_bug.cgi?id=731042
2946 examples/properties.py | 12 ++++++------
2947 tests/runtests-windows.py | 4 ++--
2948 2 files changed, 8 insertions(+), 8 deletions(-)
2950 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
2951 Author: Simon Feltman <sfeltman@src.gnome.org>
2952 Date: Fri Jul 25 17:49:57 2014 -0700
2954 tests: Ignore warnings for GtkAlignment
2956 This was causing unittests to bail. Even though this is deprecated,
2957 we still need to test its usage in the context of pygtkcompat.
2959 tests/compat_test_pygtk.py | 15 ++++++++++++++-
2960 1 file changed, 14 insertions(+), 1 deletion(-)
2962 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
2963 Author: Simon Feltman <sfeltman@src.gnome.org>
2964 Date: Fri Jul 25 17:40:36 2014 -0700
2966 tests: Remove usage of deprecated "schema" property in GSettings
2969 Use new and new_with_path instead as the schema property was causing a
2970 hard warning which fails the test suite.
2972 tests/test_gio.py | 6 +++---
2973 1 file changed, 3 insertions(+), 3 deletions(-)
2975 commit 6b806137825891cc6bdad82a68cf3deb087feb70
2976 Author: Simon Feltman <sfeltman@src.gnome.org>
2977 Date: Fri Jul 25 17:35:06 2014 -0700
2979 tests: Ignore stock-id usage warnings
2981 Add ignore_glib_warnings context manager for easily ignoring warnings
2982 caused by stock-id usage. Even though stock-id is deprecated, we still
2983 need to test the related Python binding overrides.
2985 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
2986 1 file changed, 24 insertions(+), 16 deletions(-)
2988 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
2989 Author: Simon Feltman <sfeltman@src.gnome.org>
2990 Date: Mon Jun 23 15:55:57 2014 -0700
2992 configure.ac: post release version bump to 3.13.4
2995 1 file changed, 1 insertion(+), 1 deletion(-)
2997 commit 58198b6ae426448cde82cad7304018c7c770c0ea
2998 Author: Simon Feltman <sfeltman@src.gnome.org>
2999 Date: Mon Jun 23 15:53:03 2014 -0700
3004 1 file changed, 8 insertions(+)
3006 commit cdf8c40768b00d08a1facca696a042efc6e8988f
3007 Author: Simon Feltman <sfeltman@src.gnome.org>
3008 Date: Thu May 29 13:02:44 2014 -0700
3010 demos: Cleanup CSS accordion demo to use a loop for adding buttons
3012 Also use Gtk.main_quit directly since it has been overridden to accept
3015 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
3016 1 file changed, 3 insertions(+), 18 deletions(-)
3018 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
3019 Author: Simon Feltman <sfeltman@src.gnome.org>
3020 Date: Tue May 27 19:24:20 2014 -0700
3022 refactor: Move builder connection utilities outside of Builder class
3024 Move _extract_handler_and_args and _builder_connect_callback into
3026 scope for re-use by GTK+ Composite Templates.
3028 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3030 gi/overrides/Gtk.py | 83
3031 ++++++++++++++++++++++++---------------------
3032 tests/test_overrides_gtk.py | 8 ++---
3033 2 files changed, 48 insertions(+), 43 deletions(-)
3035 commit f127fabe9664b243774b76a68e6fce5986aa23a0
3036 Author: Simon Feltman <sfeltman@src.gnome.org>
3037 Date: Tue May 27 15:52:10 2014 -0700
3039 tests: Move TestSignals from test_everything into test_signal
3041 Move these tests into a more meaningful location.
3043 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3045 tests/test_everything.py | 123
3046 --------------------------------------------
3047 tests/test_signal.py | 131
3048 +++++++++++++++++++++++++++++++++++++++++++++++
3049 2 files changed, 131 insertions(+), 123 deletions(-)
3051 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
3052 Author: Simon Feltman <sfeltman@src.gnome.org>
3053 Date: Mon May 26 04:21:07 2014 -0700
3055 configure.ac: post release version bump to 3.13.2
3058 1 file changed, 1 insertion(+), 1 deletion(-)
3060 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
3061 Author: Simon Feltman <sfeltman@src.gnome.org>
3062 Date: Mon May 26 04:18:55 2014 -0700
3066 NEWS | 21 +++++++++++++++++++++
3067 1 file changed, 21 insertions(+)
3069 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
3070 Author: Simon Feltman <sfeltman@src.gnome.org>
3071 Date: Mon May 26 03:01:13 2014 -0700
3073 Python 3.4 make check fixes
3075 Bump GI required version to 1.39.0. This is needed to get rid of
3076 expectedFailures which pass when built with 1.39.0 (unexpected
3078 fail unittesting in Python 3.4).
3079 Silence deprecation warning when using imp.reload.
3081 https://bugzilla.gnome.org/show_bug.cgi?id=730411
3084 pygtkcompat/pygtkcompat.py | 4 +++-
3085 tests/test_gi.py | 1 -
3086 tests/test_repository.py | 2 --
3087 4 files changed, 4 insertions(+), 5 deletions(-)
3089 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
3090 Author: Simon Feltman <sfeltman@src.gnome.org>
3091 Date: Mon May 26 01:53:14 2014 -0700
3093 tests: Don't use deprecated positional argument for Gio.Settings
3096 tests/test_gio.py | 6 +++---
3097 1 file changed, 3 insertions(+), 3 deletions(-)
3099 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
3100 Author: Simon Feltman <sfeltman@src.gnome.org>
3101 Date: Sun May 25 23:03:35 2014 -0700
3103 overrides: Add Gtk.Container.child_get/set overrides
3105 Add overrides for child_get and child_set to Gtk.Container since these
3106 are not introspectable methods.
3108 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3110 gi/overrides/Gtk.py | 10 ++++++++++
3111 tests/test_overrides_gtk.py | 16 ++++++++++++++++
3112 2 files changed, 26 insertions(+)
3114 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
3115 Author: Simon Feltman <sfeltman@src.gnome.org>
3116 Date: Sun May 25 22:07:07 2014 -0700
3118 overrides: Make value argument to Widget.style_get_property optional
3120 Override Gtk.Widget.style_get_property to optionally accept the
3122 argument. If "value" is not supplied, the override will locate
3124 property value type and create the GValue. Additionally return
3126 GValue converted to a native Python value.
3128 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3130 gi/overrides/Gtk.py | 11 +++++++++++
3131 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
3132 2 files changed, 40 insertions(+)
3134 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
3135 Author: Simon Feltman <sfeltman@src.gnome.org>
3136 Date: Sun May 25 21:08:47 2014 -0700
3138 overrides: Make value argument to Container.child_get_property
3141 Override Gtk.Container.child_get_property to optionally accept the
3143 argument. If "value" is not supplied, the override will locate
3145 property value type and create the GValue. Additionally return
3147 GValue converted to a native Python value.
3149 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3151 gi/overrides/Gtk.py | 11 +++++++++++
3152 tests/test_overrides_gtk.py | 47
3153 +++++++++++++++++++++++++++++++++++++++++++++
3154 2 files changed, 58 insertions(+)
3156 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
3157 Author: Johan Dahlin <johan@gnome.org>
3158 Date: Mon Oct 1 06:42:24 2012 -0700
3160 Add GTypeClass methods as Python GObject class methods
3162 Take all the methods from an objects type classs and add them
3163 as class methods. For instance, GObject.ObjectClass.list_properties
3164 is available as GObject.Object.list_properties().
3166 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
3168 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3170 gi/types.py | 13 +++++++++++++
3171 tests/test_typeclass.py | 13 +++++++++++++
3172 2 files changed, 26 insertions(+)
3174 commit 778d05c93e079ba207a250b754bda9377cb47457
3175 Author: Simon Feltman <sfeltman@src.gnome.org>
3176 Date: Sun May 25 19:05:56 2014 -0700
3178 Add marshalling coercion for Python classes and instances to
3181 Automatically marshal Python GObject classes and instances to
3183 structs (GObjectClass). This allows usage of the GTypeClass methods by
3184 passing a Python GObject class or instance to the GTypeClass method.
3185 This is needed to support usage of GTypeClass methods since we don't
3186 manually bind GTypeClasses and they are not very well supported with
3189 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3191 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
3192 tests/Makefile.am | 1 +
3193 tests/test_typeclass.py | 67
3194 ++++++++++++++++++++++++++++++++++++++++++++++++
3195 3 files changed, 117 insertions(+), 5 deletions(-)
3197 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
3198 Author: Simon Feltman <sfeltman@src.gnome.org>
3199 Date: Sun May 25 02:00:00 2014 -0700
3201 Cleanup struct marshalling function names
3203 Use a consistent naming scheme for struct marshalling cache related
3204 functions. This removes prefixed underscores from function names
3205 as well as redundant wording.
3207 To ignore this commit with git blame use:
3208 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
3210 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3212 gi/pygi-argument.c | 34 ++++----
3213 gi/pygi-array.c | 2 +-
3214 gi/pygi-struct-marshal.c | 221
3215 ++++++++++++++++++++---------------------------
3216 gi/pygi-struct-marshal.h | 56 ++++++------
3217 4 files changed, 142 insertions(+), 171 deletions(-)
3219 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
3220 Author: Simon Feltman <sfeltman@src.gnome.org>
3221 Date: Fri May 16 15:08:35 2014 -0700
3223 Use accessors for getting and setting PyGParamSpec pointers
3225 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
3226 setting the GParamSpec pointer field held by the Python wrapper. This
3227 is preliminary cleanup work for supporting fundamental types.
3229 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3231 gi/pygi-value.c | 2 +-
3232 gi/pygobject.h | 9 +++++++--
3233 gi/pygparamspec.c | 22 +++++++++++-----------
3234 3 files changed, 19 insertions(+), 14 deletions(-)
3236 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
3237 Author: Simon Feltman <sfeltman@src.gnome.org>
3238 Date: Fri May 16 14:50:57 2014 -0700
3240 Use accessors for getting and setting PyGPointer fields
3242 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
3243 setting the pointer field. This is preliminary cleanup work for
3247 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3249 gi/gimodule.c | 2 +-
3250 gi/pygi-struct.c | 6 +++---
3251 gi/pygobject.h | 2 ++
3252 gi/pygpointer.c | 14 +++++++-------
3253 4 files changed, 13 insertions(+), 11 deletions(-)
3255 commit 92fe52243d819ffe91597744a6a1c2362a295bce
3256 Author: Simon Feltman <sfeltman@src.gnome.org>
3257 Date: Fri May 16 14:19:47 2014 -0700
3259 Use accessors for getting and setting PyGBoxed pointers
3261 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
3263 the boxed pointer field. This is preliminary cleanup work for
3267 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3269 gi/pygboxed.c | 20 ++++++++++----------
3270 gi/pygi-boxed.c | 6 +++---
3271 gi/pygobject.h | 2 ++
3272 gi/pygtype.c | 3 ++-
3273 4 files changed, 17 insertions(+), 14 deletions(-)
3275 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
3276 Author: Simon Feltman <sfeltman@src.gnome.org>
3277 Date: Sun May 11 16:04:55 2014 -0700
3279 tests: Use assertRaises as a context manager for GError test
3281 Simplify tests/test_error.py:TestMarshalling.test_exception so that
3282 it no longer needs to pull exception information out of sys.exc_info.
3284 tests/test_error.py | 14 ++++++--------
3285 1 file changed, 6 insertions(+), 8 deletions(-)
3287 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
3288 Author: Andrew Grigorev <andrew@ei-grad.ru>
3289 Date: Sun May 11 23:54:46 2014 +0400
3291 Replace direct parent class call by super()
3293 Super works, it just needs the correct class.
3295 https://bugzilla.gnome.org/show_bug.cgi?id=729970
3297 demos/gtk-demo/gtk-demo.py | 6 ++----
3298 1 file changed, 2 insertions(+), 4 deletions(-)
3300 commit de827d00762f2a741f90bc38f8b55518593f4509
3301 Author: Simon Feltman <sfeltman@src.gnome.org>
3302 Date: Sun Mar 23 01:59:00 2014 -0700
3304 Add cairo marshaling support for non-introspected signals
3306 Add link dependency of cairo-gobject to _gi_cairo_la needed for
3308 the GTypes of cairo classes.
3309 Add GValue marshalers for cairo Context, Surface, FontFace,
3311 and Pattern classes.
3313 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3315 gi/Makefile.am | 2 +
3316 gi/pygi-foreign-cairo.c | 186
3317 ++++++++++++++++++++++++++++++++++++++++++++++++
3318 gi/pygi-type.h | 1 +
3320 tests/test_cairo.py | 65 +++++++++++++++++
3321 5 files changed, 256 insertions(+)
3323 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
3324 Author: Simon Feltman <sfeltman@src.gnome.org>
3325 Date: Mon May 5 19:37:18 2014 -0700
3327 [New API] Add gi.require_foreign
3329 Add gi.require_foreign(namespace, symbol=None) API for determining
3330 if a foreign marshaling module is available. This can be used in an
3331 applications import statement block to verify the existence of a
3332 specific foreign marshaling module (cairo).
3333 Additionally it forces loading of the foreign marshaling module as
3334 well as the GI repository module. This allows non-introspected signal
3335 closures to correctly marshal their arguments (bug 694604).
3337 https://bugzilla.gnome.org/show_bug.cgi?id=707735
3339 gi/__init__.py | 28 +++++++++++++++++++++++++
3340 gi/gimodule.c | 2 ++
3341 gi/pygi-foreign.c | 60
3342 ++++++++++++++++++++++++++++++++++++++++++++++-------
3343 gi/pygi-foreign.h | 4 ++++
3344 tests/test_cairo.py | 9 ++++++++
3345 5 files changed, 95 insertions(+), 8 deletions(-)
3347 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
3348 Author: Simon Feltman <sfeltman@src.gnome.org>
3349 Date: Mon May 5 19:48:06 2014 -0700
3351 tests: Move cairo tests into test_cairo.py
3353 Move cairo related tests from test_everything.py into test_cairo.py
3355 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3357 tests/Makefile.am | 1 +
3358 tests/test_cairo.py | 67
3359 ++++++++++++++++++++++++++++++++++++++++++++++++
3360 tests/test_everything.py | 43 +------------------------------
3361 3 files changed, 69 insertions(+), 42 deletions(-)
3363 commit 31ecd935564984068e6646676392122bdc03e42e
3364 Author: Simon Feltman <sfeltman@src.gnome.org>
3365 Date: Mon May 5 19:42:59 2014 -0700
3367 Initialize the foreign API at PyGI load time
3369 Initialize the foreign struct list at gi._gi module load time. This
3371 we always have a valid (non-null) list of foreign marshalers outside
3373 context of marshaling.
3375 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3377 gi/gimodule.c | 3 ++-
3378 gi/pygi-foreign.c | 12 ++++++++----
3379 gi/pygi-foreign.h | 2 ++
3380 3 files changed, 12 insertions(+), 5 deletions(-)
3382 commit def47144b63a1492ebf47a4eadb535f45253ff3a
3383 Author: Simon Feltman <sfeltman@src.gnome.org>
3384 Date: Sat Mar 22 14:13:01 2014 -0700
3386 Move pygi foreign API into pygi-foreign-api.h
3388 Move limited set of APIs necessary for registering foreign marshalers
3390 pygi-foreign-api.h. Remove "_real" from internally used APIs and
3392 includes to the rest of pygobject for calling directly (instead of
3394 the PyCapsule API within PyGI itself).
3395 This is needed to avoid compilation errors when including pygobject.h
3397 foreign marshaling plugins which conflicts with pygobject-private.h.
3399 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3401 gi/Makefile.am | 1 +
3402 gi/gimodule.c | 6 +--
3406 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
3407 gi/pygi-foreign-cairo.c | 8 ++--
3408 gi/pygi-foreign.c | 10 ++---
3409 gi/pygi-foreign.h | 14 +++----
3410 gi/pygi-property.c | 8 ++--
3411 gi/pygi-property.h | 14 ++++---
3412 gi/pygi-signal-closure.c | 12 +++---
3413 gi/pygi-signal-closure.h | 15 +++----
3414 gi/pygi-type.c | 4 +-
3415 gi/pygi-type.h | 2 +-
3417 -----------------------------------------------
3418 gi/pygobject.c | 3 ++
3419 gi/pygpointer.c | 1 +
3420 18 files changed, 139 insertions(+), 154 deletions(-)
3422 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
3423 Author: Simon Feltman <sfeltman@src.gnome.org>
3424 Date: Sun May 4 23:19:30 2014 -0700
3426 Clobber GLib.Error with custom implementation
3428 Clobber the introspection GLib.Error class with the custom Python
3429 implementation found in gi._error.GError. Update references to
3433 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3435 gi/_error.py | 3 ++-
3436 gi/overrides/GLib.py | 9 ++++++---
3437 gi/pygi-error.c | 10 +++++-----
3438 tests/test_error.py | 24 ++++++++++++------------
3439 4 files changed, 25 insertions(+), 21 deletions(-)
3441 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
3442 Author: Simon Feltman <sfeltman@src.gnome.org>
3443 Date: Sun May 4 23:43:50 2014 -0700
3445 Simplify pygi_error_marshal to use GError initializer arguments
3447 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3449 gi/pygi-error.c | 25 ++++++-------------------
3450 1 file changed, 6 insertions(+), 19 deletions(-)
3452 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
3453 Author: Simon Feltman <sfeltman@src.gnome.org>
3454 Date: Sun May 4 04:13:46 2014 -0700
3456 Add Python implementation of GError
3458 Add internally used gi/_error.py module as a basis for implementing
3459 a unified GError between introspection and static bindings. Patch
3461 implementations of GError.matches and GError.new_literal in the GLib
3464 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3468 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3469 gi/_option.py | 3 ++-
3470 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
3471 gi/pygi-error.c | 18 +++++++-----------
3472 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
3473 6 files changed, 125 insertions(+), 14 deletions(-)
3475 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
3476 Author: Simon Feltman <sfeltman@src.gnome.org>
3477 Date: Sun May 4 23:14:27 2014 -0700
3479 tests: Move GError tests into test_error.py
3481 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3483 tests/Makefile.am | 1 +
3484 tests/test_error.py | 81
3485 +++++++++++++++++++++++++++++++++++++++++++++++++++++
3486 tests/test_gi.py | 49 --------------------------------
3487 3 files changed, 82 insertions(+), 49 deletions(-)
3489 commit 649895d83a90cd3a370da215a6f98a606b987419
3490 Author: Simon Feltman <sfeltman@src.gnome.org>
3491 Date: Sun May 4 00:18:41 2014 -0700
3493 Consolidate GError related code into pygi-error
3495 Rename all pyglib_error_* functions to pygi_error_* and move them into
3497 Register GError as part of the gi._gi module instead of gi._gi._glib.
3498 Update all code to use new naming.
3500 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3502 gi/_option.py | 6 +-
3503 gi/gimodule.c | 4 +-
3504 gi/glibmodule.c | 19 -----
3505 gi/gobjectmodule.c | 54 +-----------
3506 gi/overrides/GLib.py | 3 +-
3507 gi/pygi-argument.c | 6 +-
3508 gi/pygi-cache.c | 4 +-
3509 gi/pygi-error.c | 222
3510 ++++++++++++++++++++++++++++++++++++++++++++++++-
3511 gi/pygi-error.h | 21 ++++-
3512 gi/pygi-invoke.c | 5 +-
3513 gi/pyglib-private.h | 1 -
3514 gi/pyglib.c | 199 --------------------------------------------
3516 gi/pygobject-private.h | 3 -
3517 gi/pygoptioncontext.c | 3 +-
3518 gi/pygoptiongroup.c | 3 +-
3519 gi/pygspawn.c | 3 +-
3520 17 files changed, 262 insertions(+), 299 deletions(-)
3522 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
3523 Author: Simon Feltman <sfeltman@src.gnome.org>
3524 Date: Sat May 3 22:56:49 2014 -0700
3526 Add gi.CallableInfo.can_throw_gerror()
3528 Add static binding for g_callable_info_can_throw_gerror.
3530 gi/pygi-info.c | 10 ++++++++++
3531 tests/test_repository.py | 16 ++++++++++++++++
3532 2 files changed, 26 insertions(+)
3534 commit f129e78d579b7897cb86111c524d87b5b12019ad
3535 Author: Simon Feltman <sfeltman@src.gnome.org>
3536 Date: Sat May 3 22:56:03 2014 -0700
3538 Derive PyCallbackInfo from PyCallableInfo
3540 Update the static GI bindings for PyGICallbackInfo to derive
3541 from PyGICallableInfo. This makes all the gi.CallableInfo methods
3542 available to gi.CallbackInfo for use from Python.
3544 gi/pygi-info.c | 4 ++--
3545 tests/test_repository.py | 7 +++++++
3546 2 files changed, 9 insertions(+), 2 deletions(-)
3548 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
3549 Author: Simon Feltman <sfeltman@src.gnome.org>
3550 Date: Fri May 2 21:36:25 2014 -0700
3554 Use infix 'not' instead of prefixed.
3555 Don't use double comments (##).
3556 Use space between comment and text.
3557 Un-comment tests that now work.
3558 Move broken (and won't fix) implicit int64 signal tests into
3559 a new skipped test function.
3561 gi/overrides/GIMarshallingTests.py | 4 ++--
3562 gi/overrides/Gio.py | 4 ++--
3563 gi/overrides/Gtk.py | 6 +++---
3565 pygtkcompat/pygtkcompat.py | 4 ++--
3566 tests/test_everything.py | 1 -
3567 tests/test_gi.py | 9 +++------
3568 tests/test_iochannel.py | 2 +-
3569 tests/test_option.py | 2 +-
3570 tests/test_signal.py | 28 +++++++++++++---------------
3571 10 files changed, 28 insertions(+), 34 deletions(-)
3573 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
3574 Author: Simon Feltman <sfeltman@src.gnome.org>
3575 Date: Mon Apr 28 14:06:30 2014 -0700
3577 configure.ac: post release version bump to 3.13.2
3580 1 file changed, 1 insertion(+), 1 deletion(-)
3582 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
3583 Author: Simon Feltman <sfeltman@src.gnome.org>
3584 Date: Mon Apr 28 14:00:59 2014 -0700
3588 NEWS | 14 ++++++++++++++
3589 1 file changed, 14 insertions(+)
3591 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
3592 Author: Christoph Reiter <reiter.christoph@gmail.com>
3593 Date: Mon Apr 14 23:33:52 2014 +0200
3595 Raise TypeError if arguments are passed to Boxed.__init__
3597 This is a partial revert of
3598 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
3599 which removed a type check in __new__. This adds it back
3600 into __init__. Overrides which define __new__ now have to
3601 filter out any arguments in __init__ and not the other way
3602 around, which is a bit less surprising in the common case.
3604 https://bugzilla.gnome.org/show_bug.cgi?id=727810
3606 gi/overrides/GLib.py | 6 ++++++
3607 gi/overrides/Gtk.py | 6 ++++++
3608 gi/overrides/Pango.py | 3 +++
3609 gi/pygi-boxed.c | 6 ++++++
3610 tests/test_gi.py | 4 ++++
3611 5 files changed, 25 insertions(+)
3613 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
3614 Author: Christoph Reiter <reiter.christoph@gmail.com>
3615 Date: Mon Apr 14 15:40:50 2014 +0200
3617 Gdk.Event: Override __setattr__ to set fields based on the event type
3619 Pass the setting of attributes through to the underlying union based
3620 on event type. This mirrors the logic in __getattr__.
3622 https://bugzilla.gnome.org/show_bug.cgi?id=727810
3624 gi/overrides/Gdk.py | 7 +++++++
3625 tests/test_overrides_gdk.py | 13 ++++++++++---
3626 2 files changed, 17 insertions(+), 3 deletions(-)
3628 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
3629 Author: Christoph Reiter <reiter.christoph@gmail.com>
3630 Date: Mon Apr 14 13:06:02 2014 +0200
3632 Gdk.Event: Include GdkEventType in __repr__
3634 https://bugzilla.gnome.org/show_bug.cgi?id=727810
3636 gi/overrides/Gdk.py | 4 ++++
3637 tests/test_overrides_gdk.py | 4 ++++
3638 2 files changed, 8 insertions(+)
3640 commit 23965455f060793ffcbc0d8288527d41a667579c
3641 Author: Simon Feltman <sfeltman@src.gnome.org>
3642 Date: Mon Apr 14 15:10:01 2014 -0700
3644 Fix crash with type checking for GObject arguments
3646 Ensure we have a valid GObject before attempting to call g_type_is_a.
3647 Swap conditional blocks to make if condition more readable.
3649 https://bugzilla.gnome.org/show_bug.cgi?id=727604
3651 gi/pygi-object.c | 19 ++++++++++---------
3652 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
3653 2 files changed, 45 insertions(+), 9 deletions(-)
3655 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
3656 Author: Paolo Borelli <pborelli@gnome.org>
3657 Date: Sun Mar 30 18:27:59 2014 +0200
3659 Do not leak info of destroy notify
3661 gi/pygi-closure.c | 11 ++++++-----
3662 1 file changed, 6 insertions(+), 5 deletions(-)
3664 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
3665 Author: Simon Feltman <sfeltman@src.gnome.org>
3666 Date: Fri Mar 28 19:51:58 2014 -0700
3668 configure.ac: Update PyGObject wiki link in AC_INIT
3671 1 file changed, 1 insertion(+), 1 deletion(-)
3673 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
3674 Author: Simon Feltman <sfeltman@src.gnome.org>
3675 Date: Mon Mar 24 18:57:56 2014 -0700
3677 Ignore GValueArray deprecations
3679 Wrap calls to GValueArray related calls with
3680 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
3681 Although GValueArray is deprecated, we still need to support the
3683 them in PyGObject. The deprecations add noise to the build processes
3685 new warnings could be lost. Essentially losing the element of surprise
3687 warning should have on maintainers.
3689 gi/pygi-value.c | 23 ++++++++++++++++++++---
3690 tests/testhelpermodule.c | 3 +++
3691 2 files changed, 23 insertions(+), 3 deletions(-)
3693 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
3694 Author: Simon Feltman <sfeltman@src.gnome.org>
3695 Date: Mon Mar 24 18:09:10 2014 -0700
3697 Raise ImportError when importing modules not found in repository
3699 Raise an ImportError with extra information noting the typelib was not
3700 found. This removes the need to log a similar message which adds
3702 noise when attempting controlled imports within try/except statements.
3703 In Python 2, the additional information is lost but in Python 3 it
3706 https://bugzilla.gnome.org/show_bug.cgi?id=726877
3708 gi/importer.py | 9 ++++-----
3709 tests/test_import_machinery.py | 18 ++++++++++++++++++
3710 2 files changed, 22 insertions(+), 5 deletions(-)
3712 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
3713 Author: Simon Feltman <sfeltman@src.gnome.org>
3714 Date: Mon Mar 24 18:04:27 2014 -0700
3716 tests: Rename test_overrides to test_import_machinery
3718 Rename this test to better suit the contents of the file. This
3720 us a more concise location to grow other tests related to import
3724 https://bugzilla.gnome.org/show_bug.cgi?id=726877
3726 tests/Makefile.am | 2 +-
3727 tests/test_import_machinery.py | 58
3728 ++++++++++++++++++++++++++++++++++++++++++
3729 tests/test_overrides.py | 58
3730 ------------------------------------------
3731 3 files changed, 59 insertions(+), 59 deletions(-)
3733 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
3734 Author: Simon Feltman <sfeltman@src.gnome.org>
3735 Date: Mon Mar 24 04:39:47 2014 -0700
3737 HACKING: Update branch creation instructions to include -b
3740 1 file changed, 1 insertion(+), 1 deletion(-)
3742 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
3743 Author: Simon Feltman <sfeltman@src.gnome.org>
3744 Date: Mon Mar 24 04:35:52 2014 -0700
3746 configure.ac: post release version bump to 3.13.1
3748 configure.ac | 4 ++--
3749 1 file changed, 2 insertions(+), 2 deletions(-)
3751 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
3752 Author: Simon Feltman <sfeltman@src.gnome.org>
3753 Date: Mon Mar 24 03:35:21 2014 -0700
3758 1 file changed, 2 insertions(+)
3760 commit 70020e9934abb39cbccfa49e582fb838465c0490
3761 Author: Simon Feltman <sfeltman@src.gnome.org>
3762 Date: Mon Mar 24 03:05:16 2014 -0700
3764 pre-release version bump to 3.12.0
3766 configure.ac | 4 ++--
3767 1 file changed, 2 insertions(+), 2 deletions(-)
3769 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
3770 Author: Simon Feltman <sfeltman@src.gnome.org>
3771 Date: Mon Mar 17 15:17:12 2014 -0700
3773 configure.ac: post release version bump to 3.11.93
3776 1 file changed, 1 insertion(+), 1 deletion(-)
3778 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
3779 Author: Simon Feltman <sfeltman@src.gnome.org>
3780 Date: Mon Mar 17 15:12:33 2014 -0700
3785 1 file changed, 6 insertions(+)
3787 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
3788 Author: Simon Feltman <sfeltman@src.gnome.org>
3789 Date: Mon Mar 17 14:55:52 2014 -0700
3791 configure.ac: Remove option to build without libffi
3793 We've always had a hard dependency on libffi headers.
3794 Commit 5798f94b6a727b93 added a direct module dependency on libffi
3795 instead of indirect via GI. Remove the option to build without libffi.
3797 configure.ac | 21 +++------------------
3798 1 file changed, 3 insertions(+), 18 deletions(-)
3800 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
3801 Author: Simon Feltman <sfeltman@src.gnome.org>
3802 Date: Sat Mar 15 00:50:14 2014 -0700
3804 docs: Standardize Python doc strings
3806 Use consistent doc string quotations (three double quotes).
3807 Update usage of GObject.GObject in docs to GObject.Object.
3808 Use reStructuredText markup for parameter annotations, instance
3810 admonitions, and code examples.
3811 This allows for better Sphinx documentation generation for the
3813 Preliminary style guide:
3814 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
3816 gi/_option.py | 67 +++++++++++++++------------
3817 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
3818 gi/_signalhelper.py | 117
3819 ++++++++++++++++++++++++-----------------------
3820 gi/docstring.py | 17 ++++---
3821 gi/glibmodule.c | 3 +-
3822 gi/overrides/GLib.py | 20 ++++----
3823 gi/overrides/GObject.py | 39 ++++++++++------
3824 gi/overrides/Gtk.py | 28 ++++++++----
3825 gi/overrides/__init__.py | 66 +++++++++++++-------------
3827 10 files changed, 242 insertions(+), 203 deletions(-)
3829 commit 2d268ef661badabcb63e696dab01857d57cb3371
3830 Author: Simon Feltman <sfeltman@src.gnome.org>
3831 Date: Sat Mar 15 00:49:00 2014 -0700
3833 Quote argument names in initializer deprecation warning
3835 Add quotation marks around names of deprecated positional arguments.
3836 This makes the message clearer in stating what has been deprecated
3837 in cases when only a single argument is displayed.
3839 gi/overrides/__init__.py | 2 +-
3840 tests/test_gi.py | 6 +++---
3841 2 files changed, 4 insertions(+), 4 deletions(-)
3843 commit a070e712526e433c236753813acc3ef300f0d203
3844 Author: Simon Feltman <sfeltman@src.gnome.org>
3845 Date: Sat Mar 15 00:35:03 2014 -0700
3847 docs: Ignore meta-class bases in dynamic docstring generation
3849 Skip attempts at generating a doc string for GObject meta-class bases
3850 since they do not contain an __info__ attribute.
3851 This circumvents errors with documentation generators (Sphinx).
3853 gi/types.py | 7 ++++++-
3854 1 file changed, 6 insertions(+), 1 deletion(-)
3856 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
3857 Author: Simon Feltman <sfeltman@src.gnome.org>
3858 Date: Thu Mar 13 10:13:34 2014 -0700
3860 Update Free Software Foundation addresses
3862 Update all references to the FSF physical address
3863 to use the web address: http://www.gnu.org/licenses
3865 gi/_constants.py | 4 +---
3866 gi/_gobject/__init__.py | 4 +---
3867 gi/_option.py | 4 +---
3868 gi/_propertyhelper.py | 4 +---
3869 gi/_signalhelper.py | 4 +---
3870 gi/glibmodule.c | 4 +---
3871 gi/gobjectmodule.c | 4 +---
3872 gi/overrides/keysyms.py | 4 +---
3873 gi/pygboxed.c | 4 +---
3874 gi/pygboxed.h | 4 +---
3875 gi/pygenum.c | 4 +---
3876 gi/pygenum.h | 4 +---
3877 gi/pygflags.c | 4 +---
3878 gi/pygflags.h | 4 +---
3879 gi/pygi-argument.c | 4 +---
3880 gi/pygi-argument.h | 4 +---
3881 gi/pygi-boxed.c | 4 +---
3882 gi/pygi-boxed.h | 4 +---
3883 gi/pygi-cache.c | 4 +---
3884 gi/pygi-cache.h | 4 +---
3885 gi/pygi-ccallback.c | 4 +---
3886 gi/pygi-ccallback.h | 4 +---
3887 gi/pygi-info.c | 4 +---
3888 gi/pygi-info.h | 4 +---
3889 gi/pygi-invoke.c | 4 +---
3890 gi/pygi-invoke.h | 4 +---
3891 gi/pygi-marshal-cleanup.c | 4 +---
3892 gi/pygi-marshal-cleanup.h | 4 +---
3893 gi/pygi-repository.c | 4 +---
3894 gi/pygi-repository.h | 4 +---
3895 gi/pygi-signal-closure.c | 4 +---
3896 gi/pygi-struct.c | 4 +---
3897 gi/pygi-struct.h | 4 +---
3898 gi/pygi-type.c | 4 +---
3899 gi/pygi-type.h | 4 +---
3901 gi/pyginterface.c | 4 +---
3902 gi/pyginterface.h | 4 +---
3903 gi/pyglib-private.h | 4 +---
3904 gi/pyglib-python-compat.h | 4 +---
3905 gi/pyglib.c | 4 +---
3906 gi/pyglib.h | 4 +---
3907 gi/pygobject-external.h | 4 +---
3908 gi/pygobject.c | 4 +---
3909 gi/pygoptioncontext.c | 4 +---
3910 gi/pygoptioncontext.h | 4 +---
3911 gi/pygoptiongroup.c | 4 +---
3912 gi/pygoptiongroup.h | 4 +---
3913 gi/pygparamspec.c | 4 +---
3914 gi/pygparamspec.h | 4 +---
3915 gi/pygpointer.c | 4 +---
3916 gi/pygpointer.h | 4 +---
3917 gi/pygspawn.c | 4 +---
3918 gi/pygspawn.h | 4 +---
3919 gi/pygtype.c | 4 +---
3920 gi/pygtype.h | 4 +---
3921 pygtkcompat/generictreemodel.py | 4 +---
3922 tests/test_generictreemodel.py | 4 +---
3923 58 files changed, 58 insertions(+), 174 deletions(-)
3925 commit bbfcebdfdc5e574999221b60520422ea6da82435
3926 Author: Owen W. Taylor <otaylor@fishsoup.net>
3927 Date: Wed Mar 12 18:32:47 2014 -0400
3929 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
3931 Any (transfer full) return of a cairo type other than a path
3934 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
3935 it for the cairo foreign type. For paths we can only handle
3936 (transfer full) so throw an error for (transfer none).
3938 https://bugzilla.gnome.org/show_bug.cgi?id=726206
3940 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
3941 gi/pygi-foreign.c | 3 ++-
3942 gi/pygi-foreign.h | 1 +
3943 gi/pygi-invoke.c | 1 +
3944 gi/pygi-struct-marshal.c | 1 +
3946 6 files changed, 31 insertions(+), 8 deletions(-)
3948 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
3949 Author: Simon Feltman <sfeltman@src.gnome.org>
3950 Date: Mon Mar 3 15:20:02 2014 -0800
3952 configure.ac: post release version bump to 3.11.92
3955 1 file changed, 1 insertion(+), 1 deletion(-)
3957 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
3958 Author: Simon Feltman <sfeltman@src.gnome.org>
3959 Date: Mon Mar 3 15:16:43 2014 -0800
3964 1 file changed, 7 insertions(+)
3966 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
3967 Author: Simon Feltman <sfeltman@src.gnome.org>
3968 Date: Mon Mar 3 06:49:09 2014 -0800
3970 build: Update release-news to use srcdir
3972 Use $(top_srcdir)/NEWS for pulling in news items to ensure
3973 "make release-news" works in a vpath build environment.
3976 1 file changed, 1 insertion(+), 1 deletion(-)
3978 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
3979 Author: Simon Feltman <sfeltman@src.gnome.org>
3980 Date: Fri Feb 7 20:16:21 2014 -0800
3982 Use ffi_call directly instead of g_callable_info_invoke
3984 Cleanup internal callable cache and state tracking by removing
3986 counting schemes for differently sized "in" and "out" argument arrays.
3987 Use a single count based on the total number of arguments passed to C
3988 (inclusive of instance argument and GError exception where
3990 Size all state tracking arrays to the same size and ensure argument
3992 indices always line up with these arrays. This cleans up logic
3994 required by g_callable_info_invoke for splitting "in" and "out"
3998 Cleanup array marshaling which can now rely on the new scheme
4000 the "arg_values" array always points to the correct location for
4004 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
4006 related GI methods. Overall, these changes can give a performance
4008 almost 2x for simple function calls (see ticket for micro benchmarks).
4010 https://bugzilla.gnome.org/show_bug.cgi?id=723642
4012 gi/pygi-array.c | 26 ++---
4013 gi/pygi-cache.c | 61 +++++++++--
4014 gi/pygi-cache.h | 10 +-
4015 gi/pygi-ccallback.c | 3 +-
4016 gi/pygi-closure.c | 6 +-
4017 gi/pygi-invoke-state-struct.h | 42 +++++---
4018 gi/pygi-invoke.c | 241
4019 +++++++++++++++++++++++-------------------
4020 gi/pygi-invoke.h | 2 +-
4021 gi/pygi-marshal-cleanup.c | 4 +-
4022 9 files changed, 230 insertions(+), 165 deletions(-)
4024 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
4025 Author: Simon Feltman <sfeltman@src.gnome.org>
4026 Date: Mon Mar 3 04:51:09 2014 -0800
4028 tests: Move class definition depending on GTK+ within function
4031 Move the definition of WindowWithSizeAllocOverride inside of the test
4032 function call to so it is lazily defined. This avoids problems
4034 on systems without GTK+ installed.
4036 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
4037 1 file changed, 16 insertions(+), 16 deletions(-)
4039 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
4040 Author: Simon Feltman <sfeltman@src.gnome.org>
4041 Date: Mon Mar 3 04:45:59 2014 -0800
4043 tests: Conditionalize usage of GTK+ in tests_generictreemodel
4045 This allows running make check without GTK+ installed.
4047 tests/test_generictreemodel.py | 16 +++++++++++++---
4048 1 file changed, 13 insertions(+), 3 deletions(-)
4050 commit 038563ed620e0d966e385a1779455d9b0e148c41
4051 Author: Simon Feltman <sfeltman@src.gnome.org>
4052 Date: Mon Mar 3 04:39:35 2014 -0800
4054 tests: Conditionalize usage of regress typelib in test_properties
4056 Unconditional usage of regress breaks tests when PyGObject is
4060 tests/test_properties.py | 27 +++++++++++++++++----------
4061 1 file changed, 17 insertions(+), 10 deletions(-)
4063 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
4064 Author: Simon Feltman <sfeltman@src.gnome.org>
4065 Date: Mon Mar 3 02:44:12 2014 -0800
4067 configure.ac: Use -std=c90 and error on declaration-after-statement
4069 Replace gcc option of -std=c9x with c90 and add
4070 -Werror=declaration-after-statement
4071 This ensures we keep compatibility with msvc builds.
4073 configure.ac | 3 ++-
4074 1 file changed, 2 insertions(+), 1 deletion(-)
4076 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
4077 Author: Simon Feltman <sfeltman@src.gnome.org>
4078 Date: Mon Mar 3 02:38:30 2014 -0800
4080 Use g_snprintf instead of snprintf
4082 Use g_snprintf for consistency with the rest of gobjectmodule.c
4084 gi/gobjectmodule.c | 2 +-
4085 1 file changed, 1 insertion(+), 1 deletion(-)
4087 commit b016ae6793839b2a6a00a69d00de30937bc611be
4088 Author: Simon Feltman <sfeltman@src.gnome.org>
4089 Date: Thu Feb 27 04:27:41 2014 -0800
4091 Use C style comments
4093 Update various locations which use C99 single line comments to
4095 C90 style comments. Found with: make CFLAGS="-std=C90"
4097 gi/gimodule.c | 2 +-
4098 gi/pygi-array.c | 3 ++-
4099 gi/pygi-property.c | 2 +-
4101 4 files changed, 5 insertions(+), 4 deletions(-)
4103 commit df7cba1495c167f1019dec7f4398dc5de62a5937
4104 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4105 Date: Tue Feb 25 14:38:41 2014 +0800
4107 Fix Build on Visual Studio
4109 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
4111 included the use of the NAN and INFINITY macros/constants, so the
4112 definitions for those need to be moved to pygi-basictype.c as well.
4114 avoid defining a variable in the middle of the block.
4116 https://bugzilla.gnome.org/show_bug.cgi?id=725122
4118 gi/pygi-basictype.c | 16 ++++++++++++++++
4119 gi/pygi-cache.c | 3 ++-
4120 gi/pygi-enum-marshal.c | 16 ----------------
4121 3 files changed, 18 insertions(+), 17 deletions(-)
4123 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
4124 Author: Simon Feltman <sfeltman@src.gnome.org>
4125 Date: Mon Feb 17 17:22:40 2014 -0800
4127 Update release steps to be more explicit in regards to NEWS
4129 Add an explicit step to commit the NEWS changes and push prior
4132 HACKING | 11 ++++++-----
4133 1 file changed, 6 insertions(+), 5 deletions(-)
4135 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
4136 Author: Simon Feltman <sfeltman@src.gnome.org>
4137 Date: Mon Feb 17 17:18:10 2014 -0800
4139 configure.ac: post release version bump to 3.11.91
4142 1 file changed, 1 insertion(+), 1 deletion(-)
4144 commit f87e341c5528d066371d4ec493956db28dd0bafa
4145 Author: Simon Feltman <sfeltman@src.gnome.org>
4146 Date: Mon Feb 17 17:08:13 2014 -0800
4151 1 file changed, 4 insertions(+)
4153 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
4154 Author: Simon Feltman <sfeltman@src.gnome.org>
4155 Date: Wed Feb 12 10:28:35 2014 -0800
4157 Use GObject type checking for instance arguments
4159 Add a g_type_is_a check to interface/object instance arguments
4161 to the Python IsInstance check. This loosens restrictions on
4163 don't use gi.overrides.override() and is needed to keep API
4165 which broke with commit:
4166 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
4168 https://bugzilla.gnome.org/show_bug.cgi?id=724009
4170 gi/pygi-object.c | 6 +++++-
4171 1 file changed, 5 insertions(+), 1 deletion(-)
4173 commit 419e13e1717b725d5c6815bae9672649b0afddd4
4174 Author: Simon Feltman <sfeltman@src.gnome.org>
4175 Date: Mon Feb 3 15:58:30 2014 -0800
4177 configure.ac: post release version bump to 3.11.90
4180 1 file changed, 1 insertion(+), 1 deletion(-)
4182 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
4183 Author: Simon Feltman <sfeltman@src.gnome.org>
4184 Date: Mon Feb 3 15:51:27 2014 -0800
4188 NEWS | 16 ++++++++++++++++
4189 1 file changed, 16 insertions(+)
4191 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
4192 Author: Simon Feltman <sfeltman@src.gnome.org>
4193 Date: Mon Feb 3 06:45:09 2014 -0800
4195 Restore pygobject_version API needed for pygobject.h
4197 Add gi._gobject.pygobject_version which was removed with commit:
4198 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
4199 This is needed for pygobject.h to function properly.
4201 gi/_gobject/__init__.py | 1 +
4202 1 file changed, 1 insertion(+)
4204 commit f3be4cedcb1d395a3fabee95d7460bce86268153
4205 Author: Simon Feltman <sfeltman@src.gnome.org>
4206 Date: Mon Feb 3 06:29:07 2014 -0800
4208 cache refactoring: Add comments to arg cache setup functions
4210 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4212 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
4213 1 file changed, 36 insertions(+)
4215 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
4216 Author: Simon Feltman <sfeltman@src.gnome.org>
4217 Date: Mon Feb 3 06:24:18 2014 -0800
4219 cache refactoring: Use consistent prefix for arg cache functions
4221 Use "pygi_arg_cache" as the prefix for arg cache memory related
4224 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4226 gi/pygi-array.c | 6 ++--
4227 gi/pygi-basictype.c | 4 +--
4228 gi/pygi-cache.c | 74
4229 ++++++++++++++++++++++++------------------------
4230 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
4231 gi/pygi-ccallback.c | 2 +-
4232 gi/pygi-closure.c | 6 ++--
4233 gi/pygi-enum-marshal.c | 4 +--
4234 gi/pygi-error.c | 4 +--
4235 gi/pygi-hashtable.c | 30 ++++++++++----------
4236 gi/pygi-info.c | 2 +-
4237 gi/pygi-invoke.c | 2 +-
4238 gi/pygi-list.c | 2 +-
4239 gi/pygi-object.c | 2 +-
4240 gi/pygi-struct-marshal.c | 2 +-
4241 14 files changed, 102 insertions(+), 96 deletions(-)
4243 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
4244 Author: Simon Feltman <sfeltman@src.gnome.org>
4245 Date: Sun Jan 12 12:26:30 2014 -0800
4247 marshal refactoring: Move GValue marshaling from pytype into
4250 Move marshaling of GValues to and from PyObjects into
4252 PyGTypeMarshal struct and related functions accessible via pygtype.h.
4254 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4256 gi/gobjectmodule.c | 2 +
4257 gi/pygi-struct-marshal.c | 1 +
4258 gi/pygi-value.c | 720
4259 +++++++++++++++++++++++++++++++++++++++++++++-
4260 gi/pygi-value.h | 12 +
4261 gi/pygobject-private.h | 16 --
4262 gi/pygobject.c | 2 +-
4264 +----------------------------------------------
4265 gi/pygtype.h | 17 ++
4266 8 files changed, 757 insertions(+), 741 deletions(-)
4268 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
4269 Author: Simon Feltman <sfeltman@src.gnome.org>
4270 Date: Sun Jan 12 11:41:20 2014 -0800
4272 marshal refactoring: Move GIArgument from GValue code to new file
4274 Add gi/pygi-value.h and .c files with initial contents of
4275 _pygi_argument_from_g_value. Eventually this file will contain
4277 related to GValue marshaling from various code locations in the
4280 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4282 gi/Makefile.am | 2 +
4283 gi/pygi-argument.c | 126 +----------------------------------------
4284 gi/pygi-argument.h | 3 -
4285 gi/pygi-signal-closure.c | 1 +
4286 gi/pygi-value.c | 144
4287 +++++++++++++++++++++++++++++++++++++++++++++++
4288 gi/pygi-value.h | 32 +++++++++++
4289 6 files changed, 180 insertions(+), 128 deletions(-)
4291 commit c2d5857e9b964427190e1230be32ae7919e86bc0
4292 Author: Simon Feltman <sfeltman@src.gnome.org>
4293 Date: Sat Oct 12 21:26:55 2013 -0700
4295 cache refactoring: Move enum and flags arg setup and marshaling to
4298 Move enum and flags argument cache setup and marshaling fragments into
4299 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
4301 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4303 gi/Makefile.am | 6 +-
4304 gi/pygi-argument.c | 2 -
4305 gi/pygi-cache.c | 74 ++-------
4306 gi/pygi-enum-marshal.c | 408
4307 ++++++++++++++++++++++++++++++++++++++++++++++
4308 gi/pygi-enum-marshal.h | 42 +++++
4309 gi/pygi-marshal-from-py.c | 206 -----------------------
4310 gi/pygi-marshal-from-py.h | 57 -------
4311 gi/pygi-marshal-to-py.c | 152 -----------------
4312 gi/pygi-marshal-to-py.h | 34 ----
4313 9 files changed, 464 insertions(+), 517 deletions(-)
4315 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
4316 Author: Simon Feltman <sfeltman@src.gnome.org>
4317 Date: Sat Oct 12 20:00:12 2013 -0700
4319 cache refactoring: Move various struct arg setup and marshaling to
4322 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
4324 cache setup and marshaling fragments into isolated file:
4325 pygi-struct-marshal.c.
4326 Remove redundant and dead code related to boxed and union marshaling.
4328 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4330 gi/Makefile.am | 2 +
4331 gi/pygi-argument.c | 1 +
4332 gi/pygi-array.c | 3 +
4333 gi/pygi-cache.c | 72 +------
4334 gi/pygi-cache.h | 1 +
4335 gi/pygi-marshal-cleanup.c | 48 -----
4336 gi/pygi-marshal-cleanup.h | 16 --
4337 gi/pygi-marshal-from-py.c | 288 --------------------------
4338 gi/pygi-marshal-from-py.h | 33 ---
4339 gi/pygi-marshal-to-py.c | 120 -----------
4340 gi/pygi-marshal-to-py.h | 27 ---
4341 gi/pygi-object.c | 2 +-
4342 gi/pygi-struct-marshal.c | 516
4343 ++++++++++++++++++++++++++++++++++++++++++++++
4344 gi/pygi-struct-marshal.h | 73 +++++++
4345 14 files changed, 607 insertions(+), 595 deletions(-)
4347 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
4348 Author: Simon Feltman <sfeltman@src.gnome.org>
4349 Date: Sat Oct 12 16:40:58 2013 -0700
4351 cache refactoring: Move GObject arg setup and marshaling into new file
4353 Move GObject argument cache setup and marshaling fragments into
4354 isolated file: pygi-object.c.
4355 Break GIInterfaceCache creation and setup into API for interface based
4356 argument cache usage.
4358 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4360 gi/Makefile.am | 2 +
4361 gi/pygi-argument.c | 7 +-
4362 gi/pygi-cache.c | 183 ++++++++++++++-----------------
4363 gi/pygi-cache.h | 7 ++
4364 gi/pygi-marshal-cleanup.c | 27 -----
4365 gi/pygi-marshal-cleanup.h | 10 --
4366 gi/pygi-marshal-from-py.c | 123 ---------------------
4367 gi/pygi-marshal-from-py.h | 12 --
4368 gi/pygi-marshal-to-py.c | 31 ------
4369 gi/pygi-marshal-to-py.h | 8 --
4370 gi/pygi-object.c | 273
4371 ++++++++++++++++++++++++++++++++++++++++++++++
4372 gi/pygi-object.h | 46 ++++++++
4373 12 files changed, 416 insertions(+), 313 deletions(-)
4375 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
4376 Author: Simon Feltman <sfeltman@src.gnome.org>
4377 Date: Sat Oct 12 12:39:20 2013 -0700
4379 cache refactoring: Move closure setup and marshaling into pygi-closure
4381 Move closure argument caching and marshaling fragments into
4384 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4386 gi/pygi-cache.c | 111 ++--------------
4387 gi/pygi-cache.h | 9 --
4388 gi/pygi-closure.c | 314
4389 +++++++++++++++++++++++++++++++++++++++++++++-
4390 gi/pygi-closure.h | 13 +-
4391 gi/pygi-marshal-cleanup.c | 14 ---
4392 gi/pygi-marshal-cleanup.h | 5 -
4393 gi/pygi-marshal-from-py.c | 160 -----------------------
4394 gi/pygi-marshal-from-py.h | 6 -
4395 gi/pygi-marshal-to-py.c | 13 --
4396 gi/pygi-marshal-to-py.h | 4 -
4397 10 files changed, 333 insertions(+), 316 deletions(-)
4399 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
4400 Author: Simon Feltman <sfeltman@src.gnome.org>
4401 Date: Sat Oct 12 11:30:36 2013 -0700
4403 cache refactoring: Move GError arg setup and marshaling to new file
4405 Move GError argument caching and marshaling fragments into
4406 isolated file: pygi-error.c.
4408 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4410 gi/Makefile.am | 2 +
4411 gi/pygi-cache.c | 93 ++++++++++++---------------------------
4412 gi/pygi-error.c | 109
4413 ++++++++++++++++++++++++++++++++++++++++++++++
4414 gi/pygi-error.h | 35 +++++++++++++++
4415 gi/pygi-marshal-from-py.c | 13 ------
4416 gi/pygi-marshal-from-py.h | 6 ---
4417 gi/pygi-marshal-to-py.c | 22 ----------
4418 gi/pygi-marshal-to-py.h | 4 --
4419 8 files changed, 174 insertions(+), 110 deletions(-)
4421 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
4422 Author: Simon Feltman <sfeltman@src.gnome.org>
4423 Date: Sat Oct 12 03:07:53 2013 -0700
4425 cache refactoring: Move GArray arg setup and marshaling into new file
4427 Move GArray argument caching and marshaling fragments into an
4428 isolated file: pygi-array.c.
4430 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4432 gi/Makefile.am | 2 +
4433 gi/pygi-array.c | 906
4434 ++++++++++++++++++++++++++++++++++++++++++++++
4435 gi/pygi-array.h | 42 +++
4436 gi/pygi-cache.c | 236 +-----------
4437 gi/pygi-marshal-cleanup.c | 150 --------
4438 gi/pygi-marshal-cleanup.h | 10 -
4439 gi/pygi-marshal-from-py.c | 354 ------------------
4440 gi/pygi-marshal-from-py.h | 6 -
4441 gi/pygi-marshal-to-py.c | 210 -----------
4442 gi/pygi-marshal-to-py.h | 4 -
4443 10 files changed, 963 insertions(+), 957 deletions(-)
4445 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
4446 Author: Simon Feltman <sfeltman@src.gnome.org>
4447 Date: Fri Oct 11 23:26:08 2013 -0700
4449 cache refactoring: Move GList/GSList arg setup and marshaling into
4452 Move GList and GSList argument caching and marshaling fragments
4454 isolated file: pygi-list.c.
4456 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4458 gi/Makefile.am | 2 +
4459 gi/pygi-cache.c | 71 ++-----
4460 gi/pygi-list.c | 466
4461 ++++++++++++++++++++++++++++++++++++++++++++++
4462 gi/pygi-list.h | 38 ++++
4463 gi/pygi-marshal-cleanup.c | 80 --------
4464 gi/pygi-marshal-cleanup.h | 10 -
4465 gi/pygi-marshal-from-py.c | 156 ----------------
4466 gi/pygi-marshal-from-py.h | 12 --
4467 gi/pygi-marshal-to-py.c | 98 ----------
4468 gi/pygi-marshal-to-py.h | 8 -
4469 10 files changed, 517 insertions(+), 424 deletions(-)
4471 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
4472 Author: Simon Feltman <sfeltman@src.gnome.org>
4473 Date: Fri Oct 11 21:30:45 2013 -0700
4475 cache refactoring: Break sequence cache up for array vs list
4477 Add new arg cache type specialized for arrays. This cleans up
4479 sequence cache type which does not need length and size related
4481 fixed length checks from GList and GSList from_py marshaling
4485 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4487 gi/pygi-cache.c | 160
4488 +++++++++++++++++++++++++++++++++++-----------
4489 gi/pygi-cache.h | 16 ++++-
4490 gi/pygi-invoke.c | 4 +-
4491 gi/pygi-marshal-cleanup.c | 28 ++++----
4492 gi/pygi-marshal-from-py.c | 37 ++++-------
4493 gi/pygi-marshal-to-py.c | 23 +++----
4494 6 files changed, 177 insertions(+), 91 deletions(-)
4496 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
4497 Author: Simon Feltman <sfeltman@src.gnome.org>
4498 Date: Fri Oct 11 20:12:01 2013 -0700
4500 cache refactoring: Move basic type arg setup and marshaling into
4503 Move all basic type arg caching and marshaling fragments into
4505 file where most functions are made static. pygi-basictype.h exposes:
4506 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
4508 _pygi_marshal_to_py_basic_type which allows continued use for all
4512 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4514 gi/Makefile.am | 2 +
4515 gi/pygi-argument.c | 1 +
4516 gi/pygi-basictype.c | 824
4517 ++++++++++++++++++++++++++++++++++++++++++++++
4518 gi/pygi-basictype.h | 42 +++
4519 gi/pygi-cache.c | 82 +----
4520 gi/pygi-cache.h | 1 +
4521 gi/pygi-marshal-cleanup.c | 26 --
4522 gi/pygi-marshal-cleanup.h | 10 -
4523 gi/pygi-marshal-from-py.c | 478 ---------------------------
4524 gi/pygi-marshal-from-py.h | 18 -
4525 gi/pygi-marshal-to-py.c | 155 ---------
4526 gi/pygi-marshal-to-py.h | 11 -
4527 12 files changed, 880 insertions(+), 770 deletions(-)
4529 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
4530 Author: Simon Feltman <sfeltman@src.gnome.org>
4531 Date: Fri Oct 11 17:39:31 2013 -0700
4533 cache refactoring: Move PyGIHashCache and related marshaling into
4536 Re-organize hash table arg cache and its marshaling by moving all
4537 related code fragments into an isolated file where most of it is made
4538 static. pygi-hashtable.h exposes a single function:
4539 pygi_arg_hash_table_new_from_info. This is all the caching system
4541 produce the proper bits for handling hash table marshaling.
4543 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4545 gi/Makefile.am | 4 +-
4546 gi/pygi-cache.c | 103 +-----------
4547 gi/pygi-cache.h | 21 ++-
4548 gi/pygi-hashtable.c | 413
4549 ++++++++++++++++++++++++++++++++++++++++++++++
4550 gi/pygi-hashtable.h | 35 ++++
4551 gi/pygi-marshal-cleanup.c | 63 -------
4552 gi/pygi-marshal-cleanup.h | 10 --
4553 gi/pygi-marshal-from-py.c | 125 --------------
4554 gi/pygi-marshal-from-py.h | 6 -
4555 gi/pygi-marshal-to-py.c | 85 ----------
4556 gi/pygi-marshal-to-py.h | 4 -
4557 11 files changed, 471 insertions(+), 398 deletions(-)
4559 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
4560 Author: Simon Feltman <sfeltman@src.gnome.org>
4561 Date: Fri Oct 11 15:49:32 2013 -0700
4563 cache refactoring: Separate ArgCache creation and setup
4565 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
4566 functions: pygi_arg_base_setup and pygi_arg_interface_setup
4568 Shift argument order and move arguments which will eventually
4570 from the signature into the tail with comment. Isolate special
4572 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
4573 _arg_cache_new_for_interface.
4575 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4577 gi/pygi-cache.c | 263
4578 ++++++++++++++++++++++++++++++++------------------------
4579 gi/pygi-cache.h | 15 ++++
4580 2 files changed, 167 insertions(+), 111 deletions(-)
4582 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
4583 Author: Simon Feltman <sfeltman@src.gnome.org>
4584 Date: Sun Feb 2 15:52:24 2014 -0800
4586 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
4588 https://bugzilla.gnome.org/show_bug.cgi?id=722899
4590 tests/test_gi.py | 3 +++
4591 1 file changed, 3 insertions(+)
4593 commit e79d2acc54c1e3b052835de5de20feb0b7069476
4594 Author: Mike Gorse <mgorse@suse.com>
4595 Date: Fri Jan 24 05:17:06 2014 -0600
4597 tests: Add test for an owned boxed struct passed in a callback
4599 https://bugzilla.gnome.org/show_bug.cgi?id=722899
4601 tests/test_gi.py | 11 +++++++++++
4602 1 file changed, 11 insertions(+)
4604 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
4605 Author: Simon Feltman <sfeltman@src.gnome.org>
4606 Date: Thu Jan 23 17:19:12 2014 -0800
4608 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
4610 Rename GIObjectMeta to GObjectMeta reverting it to its original
4612 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
4613 That change could have been considered an API break for anyone
4615 gi.types.GObjectMeta since it is essentially public API. Rename
4617 class to _GObjectMetaBase which was previously gi._gobject before
4618 commit 2624bd2b (private API).
4620 gi/module.py | 8 ++++----
4621 gi/types.py | 10 +++++-----
4622 2 files changed, 9 insertions(+), 9 deletions(-)
4624 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
4625 Author: Patrick Welche <prlw1@cam.ac.uk>
4626 Date: Thu Jan 23 23:49:51 2014 +0000
4628 build: Add --without-common configure option for package maintainers
4630 https://bugzilla.gnome.org/show_bug.cgi?id=721646
4633 configure.ac | 7 +++++++
4634 gi/Makefile.am | 2 ++
4635 3 files changed, 11 insertions(+)
4637 commit df21dbbc84fa319af2a0f0664de436ca30df616e
4638 Author: Simon Feltman <sfeltman@src.gnome.org>
4639 Date: Thu Jan 16 16:33:41 2014 -0800
4641 tests: Add skipped test for GLib.Source inheritance problems
4643 Add test showing memory problems with sub-classes of GLib.Source.
4645 https://bugzilla.gnome.org/show_bug.cgi?id=722387
4647 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
4648 1 file changed, 45 insertions(+)
4650 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
4651 Author: Simon Feltman <sfeltman@src.gnome.org>
4652 Date: Wed Jan 15 12:51:57 2014 -0800
4654 Fix reference sharing of gi sub-modules in Python 2
4656 Ensure we add a new reference to sub-modules added to gi._gi. This may
4657 have caused GC errors upon exiting the Python process since a
4659 shared by sys.modules and gi._gi.
4661 https://bugzilla.gnome.org/show_bug.cgi?id=722274
4663 gi/gimodule.c | 11 +++++++++++
4664 1 file changed, 11 insertions(+)
4666 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
4667 Author: Simon Feltman <sfeltman@src.gnome.org>
4668 Date: Tue Jan 14 23:46:44 2014 -0800
4670 demo: Add TreeModel interface implementation demonstration
4672 Add demo which shows how to implement the Gtk.TreeModel interfaces
4676 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
4677 +++++++++++++++++++++++
4678 1 file changed, 143 insertions(+)
4680 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
4681 Author: Simon Feltman <sfeltman@src.gnome.org>
4682 Date: Tue Jan 14 23:33:16 2014 -0800
4684 demo: Remove "Icon View" and "Tree View" directories
4686 demos/gtk-demo/demos/Icon View/__init__.py | 0
4687 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
4688 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
4689 demos/gtk-demo/demos/Tree View/__init__.py | 0
4690 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
4691 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
4693 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
4694 ---------------------
4695 7 files changed, 1041 deletions(-)
4697 commit f89fa08ba756a1c529ff48beb39025f834a249bf
4698 Author: Simon Feltman <sfeltman@src.gnome.org>
4699 Date: Tue Jan 14 23:08:33 2014 -0800
4701 demo: Remove spaces from demo sub-directories
4703 Move "Icon View" to IconView and "Tree View" to TreeView. This
4705 ability to package the demos in tarball releases in future versions.
4707 demos/gtk-demo/demos/IconView/__init__.py | 0
4708 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
4709 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
4710 demos/gtk-demo/demos/TreeView/__init__.py | 0
4711 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
4712 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
4714 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
4715 +++++++++++++++++++++
4716 7 files changed, 1041 insertions(+)
4718 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
4719 Author: Simon Feltman <sfeltman@src.gnome.org>
4720 Date: Tue Jan 14 14:28:52 2014 -0800
4722 build: Remove _glib directory include from testhelper CFLAGS
4724 tests/Makefile.am | 2 +-
4725 1 file changed, 1 insertion(+), 1 deletion(-)
4727 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
4728 Author: Colin Walters <walters@verbum.org>
4729 Date: Tue Jan 14 16:33:38 2014 -0500
4731 build: Set PLATFORM_VERSION again to 3.0
4733 We are installing headers to:
4734 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
4736 If the variable isn't set, then things attempting to use pygobject
4739 This was a regression from a build system refactoring.
4741 gi/Makefile.am | 2 ++
4742 1 file changed, 2 insertions(+)
4744 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
4745 Author: Simon Feltman <sfeltman@src.gnome.org>
4746 Date: Tue Jan 14 12:54:42 2014 -0800
4748 Fix Python 2 build warning for module definitions
4750 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
4752 needed now that the function signature created with
4753 PYGLIB_MODULE_START is
4754 consistent between the two versions.
4756 gi/pyglib-python-compat.h | 5 ++---
4757 1 file changed, 2 insertions(+), 3 deletions(-)
4759 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
4760 Author: Simon Feltman <sfeltman@src.gnome.org>
4761 Date: Tue Jan 14 12:26:16 2014 -0800
4763 tests: Run PyFlakes and PEP8 only on SUBDIRS
4765 Move PyFlakes and PEP8 checks into check-local of the root
4767 run these tools on selective subdirs of top_srcdir. This fixes
4769 where vpath build directories within the srcdir would contain links
4771 source files, causing these tools to run multiple times slowing
4775 Makefile.am | 21 ++++++++++++++++++++-
4776 tests/Makefile.am | 6 ------
4777 2 files changed, 20 insertions(+), 7 deletions(-)
4779 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
4780 Author: Simon Feltman <sfeltman@src.gnome.org>
4781 Date: Tue Jan 14 12:25:09 2014 -0800
4783 Remove _glib include path from gi module target
4785 gi/Makefile.am | 7 ++-----
4786 1 file changed, 2 insertions(+), 5 deletions(-)
4788 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
4789 Author: Simon Feltman <sfeltman@src.gnome.org>
4790 Date: Wed Jan 8 19:22:08 2014 -0800
4792 Move Python glib options module into gi package
4794 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
4798 https://bugzilla.gnome.org/show_bug.cgi?id=712197
4802 gi/Makefile.am | 1 -
4803 gi/_glib/Makefile.am | 21 ---
4804 gi/_glib/__init__.py | 20 ---
4805 gi/_glib/option.py | 363
4806 ------------------------------------------------
4808 ++++++++++++++++++++++++++++++++++++++++++++++++
4809 gi/overrides/GLib.py | 2 +-
4810 gi/overrides/GObject.py | 2 +-
4811 9 files changed, 367 insertions(+), 409 deletions(-)
4813 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
4814 Author: Simon Feltman <sfeltman@src.gnome.org>
4815 Date: Wed Jan 8 18:57:58 2014 -0800
4817 Merge static PyGLib module into PyGI
4819 Remove gi._glib._glib as a separately compiled module. Move all C
4821 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
4823 shared dependency since we do not distribute header files for it.
4824 Remove unused threading macros.
4826 https://bugzilla.gnome.org/show_bug.cgi?id=712197
4828 gi/Makefile.am | 16 +-
4829 gi/_glib/Makefile.am | 74 +------
4830 gi/_glib/__init__.py | 5 -
4831 gi/_glib/glibmodule.c | 103 ---------
4832 gi/_glib/option.py | 2 +-
4833 gi/_glib/pyglib-private.h | 49 -----
4834 gi/_glib/pyglib-python-compat.h | 195 -----------------
4835 gi/_glib/pyglib.c | 475
4836 ----------------------------------------
4837 gi/_glib/pyglib.h | 77 -------
4838 gi/_glib/pygoptioncontext.c | 337 ----------------------------
4839 gi/_glib/pygoptioncontext.h | 39 ----
4840 gi/_glib/pygoptiongroup.c | 298 -------------------------
4841 gi/_glib/pygoptiongroup.h | 42 ----
4842 gi/_glib/pygspawn.c | 259 ----------------------
4843 gi/_glib/pygspawn.h | 32 ---
4845 gi/glibmodule.c | 77 +++++++
4846 gi/gobjectmodule.c | 5 +-
4847 gi/overrides/GLib.py | 2 +-
4848 gi/pyglib-private.h | 43 ++++
4849 gi/pyglib-python-compat.h | 195 +++++++++++++++++
4850 gi/pyglib.c | 402 ++++++++++++++++++++++++++++++++++
4851 gi/pyglib.h | 67 ++++++
4852 gi/pygoptioncontext.c | 337 ++++++++++++++++++++++++++++
4853 gi/pygoptioncontext.h | 39 ++++
4854 gi/pygoptiongroup.c | 298 +++++++++++++++++++++++++
4855 gi/pygoptiongroup.h | 42 ++++
4856 gi/pygspawn.c | 259 ++++++++++++++++++++++
4857 gi/pygspawn.h | 32 +++
4858 29 files changed, 1819 insertions(+), 1991 deletions(-)
4860 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
4861 Author: Simon Feltman <sfeltman@src.gnome.org>
4862 Date: Thu Oct 31 03:13:53 2013 -0700
4864 Move gobject sub-module Python files into the main gi package
4866 This moves the signalhelper, propertyhelper, and constants Python
4868 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
4870 still needed to maintain the "_PyGObject_API" exposed by
4872 allows external modules compiled with prior versions of PyGObject to
4873 continue working with newer versions.
4875 https://bugzilla.gnome.org/show_bug.cgi?id=712197
4878 gi/__init__.py | 19 +-
4879 gi/_constants.py | 49 +++++
4880 gi/_gobject/Makefile.am | 5 +-
4881 gi/_gobject/__init__.py | 42 +----
4882 gi/_gobject/constants.py | 50 -----
4883 gi/_gobject/propertyhelper.py | 417
4884 ------------------------------------------
4885 gi/_gobject/signalhelper.py | 259 --------------------------
4886 gi/_propertyhelper.py | 417
4887 ++++++++++++++++++++++++++++++++++++++++++
4888 gi/_signalhelper.py | 258 ++++++++++++++++++++++++++
4889 gi/module.py | 16 +-
4890 gi/overrides/GObject.py | 7 +-
4891 gi/overrides/__init__.py | 2 +-
4892 gi/types.py | 41 ++++-
4893 pygtkcompat/pygtkcompat.py | 4 +-
4894 tests/test_gi.py | 2 +-
4895 tests/test_gobject.py | 4 +-
4896 tests/test_properties.py | 2 +-
4897 tests/test_signal.py | 2 +-
4898 19 files changed, 796 insertions(+), 805 deletions(-)
4900 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
4901 Author: Simon Feltman <sfeltman@src.gnome.org>
4902 Date: Thu Oct 31 02:22:03 2013 -0700
4904 Merge gobject static code into the gi module
4906 Remove gi._gobject._gobject as a separately compiled static module and
4907 move all the files into gi._gi.
4908 Remove dead module initialization macros from "pyglib-python-compat.h"
4910 https://bugzilla.gnome.org/show_bug.cgi?id=712197
4912 gi/Makefile.am | 31 +-
4913 gi/_glib/pyglib-python-compat.h | 62 +-
4914 gi/_gobject/Makefile.am | 69 +-
4915 gi/_gobject/__init__.py | 4 +-
4916 gi/_gobject/constants.py | 3 +-
4917 gi/_gobject/gobjectmodule.c | 2213
4918 -----------------------------------
4919 gi/_gobject/propertyhelper.py | 16 +-
4920 gi/_gobject/pygboxed.c | 235 ----
4921 gi/_gobject/pygboxed.h | 27 -
4922 gi/_gobject/pygenum.c | 371 ------
4923 gi/_gobject/pygenum.h | 27 -
4924 gi/_gobject/pygflags.c | 497 --------
4925 gi/_gobject/pygflags.h | 27 -
4926 gi/_gobject/pyginterface.c | 124 --
4927 gi/_gobject/pyginterface.h | 40 -
4928 gi/_gobject/pygobject-private.h | 204 ----
4929 gi/_gobject/pygobject.c | 2473
4930 ---------------------------------------
4931 gi/_gobject/pygobject.h | 636 ----------
4932 gi/_gobject/pygparamspec.c | 418 -------
4933 gi/_gobject/pygparamspec.h | 31 -
4934 gi/_gobject/pygpointer.c | 198 ----
4935 gi/_gobject/pygpointer.h | 27 -
4936 gi/_gobject/pygtype.c | 1927 ------------------------------
4937 gi/_gobject/pygtype.h | 28 -
4938 gi/_gobject/signalhelper.py | 3 +-
4939 gi/gimodule.c | 13 +-
4940 gi/gobjectmodule.c | 2213
4941 +++++++++++++++++++++++++++++++++++
4943 gi/pygboxed.c | 235 ++++
4944 gi/pygboxed.h | 27 +
4945 gi/pygenum.c | 371 ++++++
4947 gi/pygflags.c | 497 ++++++++
4948 gi/pygflags.h | 27 +
4949 gi/pygi-argument.c | 3 +-
4950 gi/pygi-boxed.c | 2 +-
4951 gi/pygi-ccallback.c | 2 +-
4952 gi/pygi-foreign.c | 2 +-
4953 gi/pygi-info.c | 2 +-
4954 gi/pygi-marshal-to-py.c | 3 +-
4955 gi/pygi-private.h | 2 +-
4956 gi/pygi-source.c | 3 +-
4957 gi/pygi-struct.c | 2 +-
4959 gi/pyginterface.c | 124 ++
4960 gi/pyginterface.h | 40 +
4961 gi/pygobject-private.h | 205 ++++
4962 gi/pygobject.c | 2473
4963 +++++++++++++++++++++++++++++++++++++++
4964 gi/pygobject.h | 636 ++++++++++
4965 gi/pygparamspec.c | 418 +++++++
4966 gi/pygparamspec.h | 33 +
4967 gi/pygpointer.c | 198 ++++
4968 gi/pygpointer.h | 27 +
4969 gi/pygtype.c | 1927 ++++++++++++++++++++++++++++++
4972 tests/Makefile.am | 2 +-
4973 57 files changed, 9594 insertions(+), 9649 deletions(-)
4975 commit a329f559002f2be0898309c9d81cdf2c34aef158
4976 Author: Simon Feltman <sfeltman@src.gnome.org>
4977 Date: Tue Jan 14 10:15:53 2014 -0800
4979 tests: Fix test_torture_profile to return a number from its callback
4981 Return a number from rather than None from the callback passed to
4982 regress_test_torture_signature_2. This fixes a TypeError being
4984 callback return argument marshaling which was ignored by the test
4987 tests/test_everything.py | 2 +-
4988 1 file changed, 1 insertion(+), 1 deletion(-)
4990 commit a50a8386aae54dace7e46569415fdef85758fb9c
4991 Author: Martin Pitt <martinpitt@gnome.org>
4992 Date: Tue Jan 14 08:53:25 2014 +0100
4994 Add test for callback user data arguments with following arguments
4996 In this case we can't use the varargs userdata handling. Provides
4998 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
5000 tests/test_everything.py | 48
5001 ++++++++++++++++++++++++++++++++++++++++++++++++
5002 1 file changed, 48 insertions(+)
5004 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
5005 Author: Simon Feltman <sfeltman@src.gnome.org>
5006 Date: Mon Jan 13 08:19:02 2014 -0800
5008 valgrind: Add suppression files for python3.3 and python3.3dm
5010 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
5011 suppression filename in the various make check.valgrind
5013 python.supp to python2.7.supp
5015 tests/Makefile.am | 6 +-
5016 tests/python.supp | 387 ----------------------------------------
5017 tests/python2.7.supp | 387 ++++++++++++++++++++++++++++++++++++++++
5018 tests/python3.3.supp | 471
5019 +++++++++++++++++++++++++++++++++++++++++++++++++
5020 tests/python3.3dm.supp | 471
5021 +++++++++++++++++++++++++++++++++++++++++++++++++
5022 5 files changed, 1332 insertions(+), 390 deletions(-)
5024 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
5025 Author: Simon Feltman <sfeltman@src.gnome.org>
5026 Date: Mon Jan 13 18:53:55 2014 -0800
5028 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
5030 Make sure NEWS generation uses top_srcdir to allow "make release-news"
5032 work under a vpath build (directory outside the source tree).
5033 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
5035 where running "make dist" under a vpath build directory would
5039 Makefile.am | 6 +++---
5040 1 file changed, 3 insertions(+), 3 deletions(-)
5042 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
5043 Author: Simon Feltman <sfeltman@src.gnome.org>
5044 Date: Mon Jan 13 18:53:02 2014 -0800
5046 Update HACKING to include better release tagging instructions
5048 HACKING | 15 ++++++++-------
5049 1 file changed, 8 insertions(+), 7 deletions(-)
5051 commit c0a43d259c003c5d06db23debd0675b87e805b74
5052 Author: Simon Feltman <sfeltman@src.gnome.org>
5053 Date: Mon Jan 13 17:20:17 2014 -0800
5055 configure.ac: post release version bump to 3.11.5
5057 NEWS | 16 ++++++++++++++++
5059 2 files changed, 17 insertions(+), 1 deletion(-)
5061 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
5062 Author: Simon Feltman <sfeltman@src.gnome.org>
5063 Date: Mon Jan 13 16:51:41 2014 -0800
5065 Fix mid-argument list callback user data expecting a tuple
5067 Ensure user data arguments are always packed into a tuple during
5069 marshaling. This fixes cases where there is mid-argument user data
5071 not in the form of a variable length tuple.
5073 https://bugzilla.gnome.org/show_bug.cgi?id=722104
5075 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
5076 1 file changed, 15 insertions(+), 1 deletion(-)
5078 commit 415b240e3baab522f3bf9752995610f950ba609e
5079 Author: Simon Feltman <sfeltman@src.gnome.org>
5080 Date: Tue Oct 15 03:57:52 2013 -0700
5082 Remove special case GObject base class check when creating GI classes
5084 Replace explicit GObject.Object string name check when calculating the
5085 introspection class hierarchy with a more generalized technique. This
5087 any C based wrapper of a GType to "underride" an introspection class
5088 automatically. This currently only handles the case of GObject.Object,
5090 will be used for fundamentals and GParamSpec.
5092 https://bugzilla.gnome.org/show_bug.cgi?id=631901
5094 gi/module.py | 17 +++++++++++------
5095 1 file changed, 11 insertions(+), 6 deletions(-)
5097 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
5098 Author: Simon Feltman <sfeltman@src.gnome.org>
5099 Date: Tue Jan 7 09:16:54 2014 -0800
5101 overrides: Fix __repr__ for various Gdk structs
5103 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
5105 string reprentation that is valid Python given an expected
5107 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
5109 gi/overrides/Gdk.py | 10 +++++-----
5110 tests/test_atoms.py | 7 +++++--
5111 tests/test_overrides_gdk.py | 9 +++++++++
5112 3 files changed, 19 insertions(+), 7 deletions(-)
5114 commit f6a87935596a3b59c238a5572b288f34691b53d1
5115 Author: Simon Feltman <sfeltman@src.gnome.org>
5116 Date: Tue Jan 7 07:31:22 2014 -0800
5118 docs: Fix array length argument skipping with preceding out arguments
5120 Remove split_function_info_args and use a list of all arguments for
5121 generating skipped index lists. Determine argument skipping based
5123 full argument list in each in/inout and out/inout argument list
5125 This fixes a problem where out arguments preceding array length
5127 would still show array length arguments in the docstring. This was
5129 index mismatch when using split lists instead of list of all
5132 gi/docstring.py | 38 ++++++++++++--------------------------
5133 tests/test_docstring.py | 37 +++++++++++++++----------------------
5134 2 files changed, 27 insertions(+), 48 deletions(-)
5136 commit f114edc0a0afa64077a13459034afc4255b7a3f1
5137 Author: Simon Feltman <sfeltman@src.gnome.org>
5138 Date: Mon Jan 6 22:10:47 2014 -0800
5140 overrides: Remove GLib.Source.attach
5142 Remove GLib.Source.attach override now that tail end allow-none
5144 default to None when not specified.
5146 gi/overrides/GLib.py | 5 -----
5147 tests/test_glib.py | 7 +++++++
5148 2 files changed, 7 insertions(+), 5 deletions(-)
5150 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
5151 Author: Simon Feltman <sfeltman@src.gnome.org>
5152 Date: Mon Jan 6 21:42:09 2014 -0800
5154 overrides: Remove Gtk overrides with tail end allow-none keywords
5156 Remove overrides for Widget.render_icon, TextIter.begins_tag,
5158 toggles_tag, and TreeModel.filter_new. These overrides added an
5159 optional keyword=None for allow-none arguments. This is now implicitly
5160 accepted by the PyGObject machinery so the overrides can go away.
5162 gi/overrides/Gtk.py | 16 ----------------
5163 tests/test_overrides_gtk.py | 11 +++++++++++
5164 2 files changed, 11 insertions(+), 16 deletions(-)
5166 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
5167 Author: Simon Feltman <sfeltman@src.gnome.org>
5168 Date: Mon Jan 6 21:22:41 2014 -0800
5170 overrides: Remove Pango.Context.get_metrics
5172 Remove the override for Pango.Context and the get_metrics method. This
5174 be done now that tail end method arguments with "allow-none"
5176 defaulted to use None/NULL.
5178 gi/overrides/Pango.py | 9 ---------
5179 tests/test_overrides_pango.py | 12 ++++++++++++
5180 2 files changed, 12 insertions(+), 9 deletions(-)
5182 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
5183 Author: Simon Feltman <sfeltman@src.gnome.org>
5184 Date: Mon Jan 6 17:35:04 2014 -0800
5186 Add enum and flags member methods
5188 Add all methods from GIEnumInfo to both enums and flags classes.
5190 https://bugzilla.gnome.org/show_bug.cgi?id=693099
5193 tests/test_gi.py | 9 +++++++++
5194 2 files changed, 11 insertions(+)
5196 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
5197 Author: Patrick Welche <prlw1@cam.ac.uk>
5198 Date: Mon Jan 6 22:31:48 2014 +0000
5200 python.m4: g/c JD_PYTHON_CHECK_VERSION
5202 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
5203 is identical (made here).
5205 https://bugzilla.gnome.org/show_bug.cgi?id=721662
5207 configure.ac | 4 ++--
5208 m4/python.m4 | 23 ++---------------------
5209 2 files changed, 4 insertions(+), 23 deletions(-)
5211 commit aaaead18e2167c2becb309f1d9ae199222c0256b
5212 Author: Simon Feltman <sfeltman@src.gnome.org>
5213 Date: Sat Jan 4 16:31:56 2014 -0800
5215 Support union creation with PyGIStruct
5217 Add additional case for allowing the creation bare unions wrapped with
5218 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
5221 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
5222 tests/test_repository.py | 13 +++++++++++++
5223 2 files changed, 47 insertions(+), 5 deletions(-)
5225 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
5226 Author: Simon Feltman <sfeltman@src.gnome.org>
5227 Date: Sat Jan 4 16:07:44 2014 -0800
5229 Fix crash in error handling when creating struct with mismatched
5232 Error handling code was attempting to get the PyType of a pointer to a
5233 pointer. Use the correct amount of indirection so an exception is
5235 intended rather than a segfault.
5237 gi/pygi-info.c | 2 +-
5238 1 file changed, 1 insertion(+), 1 deletion(-)
5240 commit 07abf8343bbeac6f36d370ced654fa6506b22175
5241 Author: Simon Feltman <sfeltman@src.gnome.org>
5242 Date: Wed Jan 1 20:23:17 2014 -0800
5244 docs: Skip display of default constructor for disguised structs
5246 Structs which have zero length should now show a default constructor.
5247 Structs with a length should not show keyword arguments in the default
5250 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5252 gi/docstring.py | 9 ++++++++-
5253 tests/test_docstring.py | 18 ++++++++++++++++--
5254 2 files changed, 24 insertions(+), 3 deletions(-)
5256 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
5257 Author: Simon Feltman <sfeltman@src.gnome.org>
5258 Date: Wed Jan 1 19:57:06 2014 -0800
5260 Cleanup disguised struct constructor error and add it to boxed
5262 Give a cleaner error message when an attempt is made to create
5264 struct which also gives a hint to look at the pydoc. Add similar
5266 disguised boxed/unions.
5268 https://bugzilla.gnome.org/show_bug.cgi?id=647249
5270 gi/pygi-boxed.c | 17 ++++++++++++++---
5271 gi/pygi-struct.c | 2 +-
5272 tests/test_everything.py | 1 -
5273 tests/test_glib.py | 4 ++++
5274 4 files changed, 19 insertions(+), 5 deletions(-)
5276 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
5277 Author: Simon Feltman <sfeltman@src.gnome.org>
5278 Date: Wed Jan 1 19:54:59 2014 -0800
5280 docs: List default constructor in doc strings
5282 Add default constructor to class docs strings as:
5283 Object(**properties)
5285 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5287 gi/docstring.py | 10 ++++------
5288 1 file changed, 4 insertions(+), 6 deletions(-)
5290 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
5291 Author: Simon Feltman <sfeltman@src.gnome.org>
5292 Date: Wed Jan 1 17:34:32 2014 -0800
5294 docs: List constructors in object and struct doc strings
5296 Add type dispatching to gi.docstring documentation generator for
5298 of StructInfo and ObjectInfo. Add lazy doc string generation to
5299 Object and Struct meta classes by using a property for __doc__. This
5301 available constructors immediately in all GObject.Object and Struct
5307 Button(**properties)
5309 new_from_icon_name(icon_name:str, size:int)
5310 new_from_stock(stock_id:str)
5311 new_with_label(label:str)
5312 new_with_mnemonic(label:str)
5314 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5316 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
5317 gi/types.py | 9 +++++++++
5318 tests/test_docstring.py | 8 ++++++++
5319 3 files changed, 46 insertions(+), 7 deletions(-)
5321 commit 44612636575dd93c97210a7255c4490e2c84db67
5322 Author: Simon Feltman <sfeltman@src.gnome.org>
5323 Date: Wed Jan 1 17:10:15 2014 -0800
5325 docs: Cleanup PyGIBaseInfo repr
5327 Remove angle brackets and pointer address from
5328 PyGIBaseInfo.__repr__. This
5329 cleans up documentation and makes it easier to read.
5331 gi/pygi-info.c | 5 ++---
5332 1 file changed, 2 insertions(+), 3 deletions(-)
5334 commit 826c0e63eabac68fd665335950d311988a1405e3
5335 Author: Simon Feltman <sfeltman@src.gnome.org>
5336 Date: Tue Dec 31 21:45:21 2013 -0800
5338 docs: Add return values and skip implicit out arguments in functions
5340 Add gi.CallableInfo.skip_return static binding for testing if
5342 value should show up in docs. Skip implicit list index arguments
5346 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5348 gi/docstring.py | 26 +++++++++++++++++++++-----
5349 gi/pygi-info.c | 7 +++++++
5350 tests/test_docstring.py | 6 ++++++
5351 3 files changed, 34 insertions(+), 5 deletions(-)
5353 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
5354 Author: Simon Feltman <sfeltman@src.gnome.org>
5355 Date: Tue Dec 31 21:15:27 2013 -0800
5357 docs: Replace usage of functools.wraps with a custom version
5359 Using functools.wraps in overrides would cause docstring evaluation
5361 can hurt performance during overrides loading. Add custom wraps
5363 which only copies __name__ and __module__ attributes. Remove function
5364 wrapping used within gi.overrides.overridefunc because the wrapping
5366 doing anything, this preserves __doc__ ability without causing an
5370 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5372 gi/overrides/GObject.py | 3 +--
5373 gi/overrides/__init__.py | 21 ++++++++++++---------
5374 2 files changed, 13 insertions(+), 11 deletions(-)
5376 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
5377 Author: Simon Feltman <sfeltman@src.gnome.org>
5378 Date: Tue Dec 31 19:42:02 2013 -0800
5380 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
5382 Move the C implementation of pytype hinting into pure Python. Now that
5383 doc strings are lazily evaluated we can simplify this tedious bit of C
5384 code with Python. This is precursory work for getting return
5386 function doc strings.
5388 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5390 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
5391 gi/pygi-info.c | 49 ----------------------------------------
5393 ------------------------------------------------
5394 gi/pygi-type.h | 2 --
5395 tests/test_docstring.py | 8 ++++---
5396 tests/test_repository.py | 1 -
5397 6 files changed, 52 insertions(+), 116 deletions(-)
5399 commit 28a178e385e32c56910f1c430b370a8872218081
5400 Author: Simon Feltman <sfeltman@src.gnome.org>
5401 Date: Tue Dec 31 17:50:36 2013 -0800
5403 docs: Skip implicit array length args when building function doc
5406 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5408 gi/docstring.py | 8 ++++++--
5409 tests/test_docstring.py | 4 ++++
5410 2 files changed, 10 insertions(+), 2 deletions(-)
5412 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
5413 Author: Simon Feltman <sfeltman@src.gnome.org>
5414 Date: Tue Dec 31 13:41:20 2013 -0800
5416 gtk-demo: Avoid crash in CSS demos
5418 Avoid a potential crash in the CSS demos where the text editing
5420 out of sync with the last good CSS parsing buffer. In the case of CSS
5421 warnings, we get a parsing-error callback but no exception is raised.
5422 This would cause the buffers to become out of sync and accessing
5424 information from the parsing-error section would crash the text
5426 to an out of range iterator being created.
5428 demos/gtk-demo/demos/Css/css_basics.py | 31
5429 +++++++++++++++++++++--------
5430 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
5431 +++++++++++++++++++++--------
5432 2 files changed, 46 insertions(+), 16 deletions(-)
5434 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
5435 Author: Simon Feltman <sfeltman@src.gnome.org>
5436 Date: Tue Dec 31 02:05:46 2013 -0800
5438 gtk-demo: Add info bar and better error handling to CSS demos
5440 Use an info bar for displaying CSS parsing errors. Store the last good
5441 stylesheet text for use as a backup when a parsing error occures. This
5443 a seamless look while typing changes into the text editor.
5445 https://bugzilla.gnome.org/show_bug.cgi?id=719722
5447 demos/gtk-demo/demos/Css/css_basics.py | 28
5448 +++++++++++++++++++++-------
5449 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
5450 ++++++++++++++++++++++-------
5451 2 files changed, 43 insertions(+), 14 deletions(-)
5453 commit becb56734e13df182fd31cfe46c465477dfc4d2c
5454 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
5455 Date: Mon Dec 30 16:36:28 2013 +0100
5457 gtk-demo: Add CSS demos
5459 Add a couple of demos demostrating the use of CSS, the css files are
5460 stored into a GResource binary file compiled with
5461 glib-compile-resources,
5462 the comments in gtk-demo.py explain the usage of GResource.
5464 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
5466 https://bugzilla.gnome.org/show_bug.cgi?id=719722
5469 demos/gtk-demo/demos/Css/__init__.py | 0
5470 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
5471 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
5472 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
5473 ++++++++++++++++++++++++++
5474 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
5475 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
5476 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
5477 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
5478 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
5479 ++++++++++++++++++++++
5480 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
5481 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
5482 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
5483 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
5484 demos/gtk-demo/gtk-demo.py | 16 ++-
5485 15 files changed, 723 insertions(+), 1 deletion(-)
5487 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
5488 Author: Colin Watson <cjwatson@ubuntu.com>
5489 Date: Tue Dec 24 22:19:02 2013 +0000
5491 build: Avoid clash between gi/types.py and stdlib
5493 Use non-recursive make for the Python modules in gi/ to work around a
5494 clash between gi/types.py and the standard library's types module when
5497 https://bugzilla.gnome.org/show_bug.cgi?id=721025
5499 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5501 Makefile.am | 24 ++++++++++++++++++++++++
5502 gi/Makefile.am | 20 ++------------------
5503 2 files changed, 26 insertions(+), 18 deletions(-)
5505 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
5506 Author: Simon Feltman <sfeltman@src.gnome.org>
5507 Date: Mon Dec 16 04:17:28 2013 -0800
5509 configure.ac: post-release bump to 3.11.4
5512 1 file changed, 1 insertion(+), 1 deletion(-)
5514 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
5515 Author: Simon Feltman <sfeltman@src.gnome.org>
5516 Date: Mon Dec 16 04:10:54 2013 -0800
5521 1 file changed, 4 insertions(+)
5523 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
5524 Author: Simon Feltman <sfeltman@src.gnome.org>
5525 Date: Thu Dec 12 01:35:11 2013 -0800
5527 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
5529 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
5531 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
5532 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
5533 we can use the GIStructInfo API for boxed types because we also
5535 base classes on GType checks as seen in:
5536 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
5537 This fixes some of the issues noted in bug 581525.
5539 https://bugzilla.gnome.org/show_bug.cgi?id=581525
5541 gi/pygi-info.c | 13 +------------
5542 1 file changed, 1 insertion(+), 12 deletions(-)
5544 commit b3c85eec75c62c138c136531ebe49a33351941f0
5545 Author: Simon Feltman <sfeltman@src.gnome.org>
5546 Date: Sun Nov 17 20:12:50 2013 -0800
5548 configure.ac: post release version bump to 3.11.3
5551 1 file changed, 1 insertion(+), 1 deletion(-)
5553 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
5554 Author: Simon Feltman <sfeltman@src.gnome.org>
5555 Date: Sun Nov 17 20:04:49 2013 -0800
5560 1 file changed, 6 insertions(+)
5562 commit 6fc3d977f17397e514aed492055e93d03c410f60
5563 Author: Simon Feltman <sfeltman@src.gnome.org>
5564 Date: Tue Nov 12 23:04:50 2013 -0800
5566 gtk-demo: Fix pyflakes error after recent commit
5568 demos/gtk-demo/demos/pixbuf.py | 2 +-
5569 1 file changed, 1 insertion(+), 1 deletion(-)
5571 commit a309b3baf5ee99139cc2d1817339233e24391bc2
5572 Author: Simon Feltman <sfeltman@src.gnome.org>
5573 Date: Tue Nov 12 18:41:35 2013 -0800
5575 gkt-demo: Change main info/source notebook into a GtkStack
5577 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
5579 and Source tabs. Beyond giving a newer look and feel to the demo,
5581 provides an example for how to use a GtkStack.
5583 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
5584 1 file changed, 17 insertions(+), 6 deletions(-)
5586 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
5587 Author: Simon Feltman <sfeltman@src.gnome.org>
5588 Date: Tue Nov 12 19:32:18 2013 -0800
5590 gtk-demo: Cleanup deprecated calls throughout demo code
5592 Specify constructor arguments as keyword args for various object
5593 creation calls. Update combobox demo to use bind_property instead
5595 signal connections with update callbacks.
5597 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
5598 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
5599 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
5600 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
5601 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
5602 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
5603 demos/gtk-demo/demos/appwindow.py | 4 +--
5604 demos/gtk-demo/demos/combobox.py | 30
5605 +++-------------------
5606 demos/gtk-demo/demos/dialogs.py | 26
5608 demos/gtk-demo/demos/expander.py | 9 +++----
5609 demos/gtk-demo/demos/images.py | 2 +-
5610 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
5611 demos/gtk-demo/demos/links.py | 10 ++++----
5612 demos/gtk-demo/demos/menus.py | 4 +--
5613 demos/gtk-demo/demos/pickers.py | 8 +++---
5614 demos/gtk-demo/demos/pixbuf.py | 4 +--
5615 demos/gtk-demo/demos/rotatedtext.py | 2 +-
5616 17 files changed, 64 insertions(+), 90 deletions(-)
5618 commit 890fb7b97823985d5c800284ead43a49174db244
5619 Author: Simon Feltman <sfeltman@src.gnome.org>
5620 Date: Tue Nov 12 18:19:34 2013 -0800
5622 Revert TreeStore and ListStore initializer replacements
5624 Revert changes to Tree/ListStore where the __init__ overrides were
5626 with __new__ overrides which accept column types directly. The
5628 the change is sub-classes of these types can override __init__
5630 passing in their own column types to the super class. These
5632 expect the super class to handle column type setup via __init__
5634 the change described is an API break. This reverts parts of commit:
5635 2f2069c9efcd8f312ce9ffa572df371fbc08822d
5637 gi/overrides/Gtk.py | 10 ++++++----
5638 1 file changed, 6 insertions(+), 4 deletions(-)
5640 commit 795201873a3aae530598f5e16470b6a8d2d55c23
5641 Author: Simon Feltman <sfeltman@src.gnome.org>
5642 Date: Thu Aug 15 20:01:48 2013 -0700
5644 Deprecate Gdk.Cursor constructor dispatching
5646 Give deprecation warning for the overridden __new__ method on
5647 Gdk.Cursor when more than one argument is used. Recommend using
5648 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
5651 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5653 gi/overrides/Gdk.py | 48
5654 ++++++++++++++++++++++++++-------------------
5655 tests/test_overrides_gdk.py | 17 ++++++++++++----
5656 2 files changed, 41 insertions(+), 24 deletions(-)
5658 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
5659 Author: Simon Feltman <sfeltman@src.gnome.org>
5660 Date: Thu Aug 15 19:23:18 2013 -0700
5662 Cleanup overzealous new and init implementations
5664 Remove PyGObject initializer code attempting to set properties on
5665 GObjects that have already been created. There were a number of
5666 overridden __new__ and __init__ methods that stripped away
5667 arguments before calling the base class to work around attempted
5668 property sets and argument count errors (fixing the symptom not
5670 Use Gtk.ListStore/TreeStore.new with __new__ override instead
5671 of __init__ with set_column_types.
5673 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5675 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
5676 gi/_gobject/pygobject.c | 16 ++++++++++++++--
5677 gi/overrides/GObject.py | 3 ---
5678 gi/overrides/Gdk.py | 15 ---------------
5679 gi/overrides/Gtk.py | 11 ++++-------
5680 gi/overrides/Pango.py | 5 -----
5681 gi/pygi-boxed.c | 6 ------
5682 7 files changed, 32 insertions(+), 59 deletions(-)
5684 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
5685 Author: Simon Feltman <sfeltman@src.gnome.org>
5686 Date: Tue Aug 13 18:02:54 2013 -0700
5688 Add deprecation warnings and cleanup class initializer overrides
5690 Print deprecation warnings for calls to class initializers which
5691 don't explicitly specify keywords. Print deprecation warning
5692 for overrides that have renamed keywords (Gtk.Table.rows should
5693 be n_rows). Additionally deprecate non-standard defaults with
5694 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
5695 and VERTICAL in PyGI).
5696 Remove AboutDialog override because it doesn't do anything.
5698 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5700 gi/overrides/Gio.py | 6 +-
5701 gi/overrides/Gtk.py | 367
5702 ++++++++++++++++++++++----------------------
5703 gi/overrides/__init__.py | 88 +++++++++++
5704 tests/test_gi.py | 75 +++++++++
5705 tests/test_overrides_gtk.py | 95 ++++++++----
5706 5 files changed, 411 insertions(+), 220 deletions(-)
5708 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
5709 Author: Simon Feltman <sfeltman@src.gnome.org>
5710 Date: Tue Aug 13 17:42:11 2013 -0700
5712 tests: Use explicit keywords args when calling initializers
5714 Replace all usage of GObject creation that relies on positional
5715 arguments from overrides. Positional initializer args will be
5716 deprecated, updating the tests as a first pass proves backwards
5717 and forwards compatibility of the deprecation.
5719 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5721 tests/test_overrides_gtk.py | 107
5722 +++++++++++++++++++++++---------------------
5723 1 file changed, 55 insertions(+), 52 deletions(-)
5725 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
5726 Author: Simon Feltman <sfeltman@src.gnome.org>
5727 Date: Tue Nov 12 03:46:08 2013 -0800
5729 Revert "Add type checking to positional Gtk.Box and Gtk.Window
5732 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
5734 gi/overrides/Gtk.py | 7 -------
5735 tests/test_overrides_gtk.py | 18 ------------------
5736 tests/test_properties.py | 9 ---------
5737 3 files changed, 34 deletions(-)
5739 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
5740 Author: Simon Feltman <sfeltman@src.gnome.org>
5741 Date: Sun Nov 10 03:26:10 2013 -0800
5743 Fix dir method for static GParamSpec in Python 3
5745 Add a __dir__ method which lists GParamSpec attributes and remove
5747 getattr which made use of the deprecated __members__ technique for dir
5748 (removed in Python 3). This makes dir(pspec) work again in Python 3.
5750 gi/_gobject/pygparamspec.c | 218
5751 ++++++++++++++++++++++++---------------------
5752 tests/test_gi.py | 10 +++
5753 2 files changed, 126 insertions(+), 102 deletions(-)
5755 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
5756 Author: Martin Pitt <martinpitt@gnome.org>
5757 Date: Tue Nov 5 15:28:12 2013 +0100
5759 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
5761 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
5763 when trying to create a subclass of them through the GObject
5765 positional arguments by at least verifying that their type is
5767 you can do things like
5769 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
5771 which succeeds, but does not have the desired effect (it sets the
5773 property of the Gtk.Box superclass instead).
5775 https://bugzilla.gnome.org/show_bug.cgi?id=711487
5777 gi/overrides/Gtk.py | 7 +++++++
5778 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
5779 tests/test_properties.py | 9 +++++++++
5780 3 files changed, 34 insertions(+)
5782 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
5783 Author: Simon Feltman <sfeltman@src.gnome.org>
5784 Date: Mon Nov 4 03:29:57 2013 -0800
5786 Remove overzealous argument checking for callback userdata
5788 Remove check which ensures userdata is None if the callback is None.
5789 This check would need to become more complicated with recent
5791 PyGObject where userdata can be variable (would also need to check
5793 a tuple containing None). Instead of adding more complex checking,
5795 remove the checking as it is unnecessary to begin with.
5797 https://bugzilla.gnome.org/show_bug.cgi?id=711173
5799 gi/pygi-marshal-from-py.c | 7 -------
5800 tests/test_overrides_gtk.py | 11 +++++++----
5801 2 files changed, 7 insertions(+), 11 deletions(-)
5803 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
5804 Author: Martin Pitt <martinpitt@gnome.org>
5805 Date: Mon Oct 28 16:00:57 2013 +0100
5807 configure.ac: post-release bump to 3.11.2
5810 1 file changed, 1 insertion(+), 1 deletion(-)
5812 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
5813 Author: Martin Pitt <martinpitt@gnome.org>
5814 Date: Mon Oct 28 15:59:51 2013 +0100
5818 NEWS | 27 +++++++++++++++++++++++++++
5819 1 file changed, 27 insertions(+)
5821 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
5822 Author: Simon Feltman <sfeltman@src.gnome.org>
5823 Date: Sun Oct 27 22:09:27 2013 -0700
5825 Fix toggleref safety problems by always enabling the GIL
5827 Call PyEval_InitThreads for the base gi module import. This forces the
5828 Python internals create the GIL and always support threading with the
5829 various thread state enter/exit funcs. This is needed since we cannot
5830 predict which GI repositories might accept Python callbacks and run
5832 non-Python threads or trigger toggle ref notifications in a thread
5836 https://bugzilla.gnome.org/show_bug.cgi?id=709223
5838 gi/__init__.py | 2 --
5839 gi/gimodule.c | 18 +++++++-----------
5840 gi/overrides/GLib.py | 8 ++------
5841 3 files changed, 9 insertions(+), 19 deletions(-)
5843 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
5844 Author: Simon Feltman <sfeltman@src.gnome.org>
5845 Date: Sun Oct 27 16:02:13 2013 -0700
5847 Add consistent GLib.MainLoop SIGINT cleanup
5849 Remove auto cleanup of SIGINT source handling by returning True
5851 signal callback. This gives the __del__ method consistent cleanup
5853 regardless of whether or not a SIGINT occurred.
5855 https://bugzilla.gnome.org/show_bug.cgi?id=710978
5857 gi/overrides/GLib.py | 4 ++++
5858 1 file changed, 4 insertions(+)
5860 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
5861 Author: Simon Feltman <sfeltman@src.gnome.org>
5862 Date: Sun Oct 27 15:16:09 2013 -0700
5864 tests: Fix source testing to handle critical with non-existing sources
5866 Silence new critical coming from g_source_remove on non-existing
5868 This function still returns False, but we need to silence the new
5870 so the test suite doesn't fail. See bug 710724.
5872 https://bugzilla.gnome.org/show_bug.cgi?id=710978
5874 tests/test_source.py | 18 ++++++++++++------
5875 1 file changed, 12 insertions(+), 6 deletions(-)
5877 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
5878 Author: Simon Feltman <sfeltman@src.gnome.org>
5879 Date: Sun Jul 28 00:01:35 2013 -0700
5881 docs: Add a keyword value of None for allow-none annotations
5883 Update documentation generator for allow-none arguments and
5884 user_data arguments to show a keyword value of None.
5885 Add skip for GDestroyNotify closure arguments.
5887 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5889 gi/docstring.py | 20 +++++++++++++++++---
5890 tests/test_docstring.py | 10 ++++++++++
5891 2 files changed, 27 insertions(+), 3 deletions(-)
5893 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
5894 Author: Simon Feltman <sfeltman@src.gnome.org>
5895 Date: Sat Oct 19 19:03:12 2013 -0700
5897 Remove overrides for supporting pre-3.10 GObject signal functions
5899 Remove GObject override code for supporting pre-3.10 signal functions
5901 annotate the object argument as "gpointer". With PyGObject 3.11
5903 dependency on GObject 3.10, clear the special case overrides out.
5905 gi/overrides/GObject.py | 76
5906 ++++++-------------------------------------------
5907 1 file changed, 9 insertions(+), 67 deletions(-)
5909 commit 0c308de528c402f67808b13760ca30d55d4c99d7
5910 Author: Simon Feltman <sfeltman@src.gnome.org>
5911 Date: Fri Oct 18 17:15:06 2013 -0700
5913 Add threads_init back as a requirement for non-Python threaded repos
5915 Re-add a "threads_init" function to gi for explicit intialization
5917 threading support. This was marked as deprecated in the previous cycle
5918 because using Python threads already initializes everything.
5919 However, we still need an explicit initalization when using
5921 with non-Python threads which may interact with Python callbacks
5924 https://bugzilla.gnome.org/show_bug.cgi?id=710447
5926 gi/__init__.py | 2 ++
5927 gi/gimodule.c | 10 ++++++++++
5928 gi/overrides/GLib.py | 11 +++++++----
5929 3 files changed, 19 insertions(+), 4 deletions(-)
5931 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
5932 Author: Simon Feltman <sfeltman@src.gnome.org>
5933 Date: Mon Oct 14 20:38:13 2013 -0700
5935 Add dir method to GObject props accessor
5937 Remove special case __members__ attribute from the props accessor
5938 objects getattr method. This has been deprecated since Python 2.3 and
5939 removed in Python 3. Replace this with a __dir__ method making use
5941 old members list building code. Additionally fix error where the
5942 GObjectClass was being unref'd too many times when using
5944 causing a GLib critical.
5946 https://bugzilla.gnome.org/show_bug.cgi?id=705754
5948 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
5949 tests/test_gi.py | 14 ++++++++++++++
5950 2 files changed, 35 insertions(+), 8 deletions(-)
5952 commit 799989ada2f6b1d729f078f204445651c808a2c7
5953 Author: Simon Feltman <sfeltman@src.gnome.org>
5954 Date: Fri May 3 04:37:13 2013 -0700
5956 Remove PyGObjectWeakRef now that g_binding_unbind exists
5958 Remove the static code for managing GBinding weak references now
5960 has a method (unbind) for clearing out bindings.
5962 https://bugzilla.gnome.org/show_bug.cgi?id=699571
5964 gi/_gobject/pygobject.c | 59
5965 +------------------------------------------------
5966 gi/overrides/GObject.py | 19 ++++++++++++++++
5967 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
5968 3 files changed, 44 insertions(+), 75 deletions(-)
5970 commit fe217e0afbd63f05285e59628533f351896377d9
5971 Author: Simon Feltman <sfeltman@src.gnome.org>
5972 Date: Wed Oct 9 00:34:37 2013 -0700
5974 Fix GArray, GList, GSList, and GHashTable marshaling leaks
5976 Remove calling of cleanup code for transfer-everything modes by
5978 cleanup_data is set to NULL in from_py marshalers. Use array and hash
5979 table ref/unref functions for container transfer mode to ensure we
5981 valid container ref after invoke and during from_py cleanup of
5983 Rework restrictions with to_py marshaling cleanup so we always
5985 container for transfer-everything and transfer-container modes.
5987 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5989 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
5990 gi/pygi-marshal-from-py.c | 77
5991 ++++++++++++++++++++++++++++++++++++++++-------
5992 2 files changed, 84 insertions(+), 47 deletions(-)
5994 commit 7407367f424595c2780a2d6a47d936ad0bd91735
5995 Author: Simon Feltman <sfeltman@src.gnome.org>
5996 Date: Mon Oct 7 14:11:39 2013 -0700
5998 Add cleanup_data argument used for Python to C marshaler cleanup
6000 Add a new output argument to all from_py marshalers which is used for
6001 keeping track of marshaling data that later needs cleanup. Previously
6003 marshalers would rely on the GIArgument->v_pointer as the means
6005 cleanup. However, this pointer would get clobbered in the case of
6006 bi-directional arguments (inout) and the memory lost.
6007 Use the new cleanup_data for storing temporarily wrapped C arrays
6009 don't need to re-calculate the length argument during cleanup.
6011 Additionally delay the from_py marshaling cleanup function until after
6012 _invoke_marshal_out_args is called. This gives inout arguments
6014 modify the pointer sufficient time to exist until they marshaled
6016 Python (gi_marshalling_tests_gvalue_inout).
6018 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6020 gi/pygi-argument.c | 4 +-
6021 gi/pygi-cache.h | 3 +-
6022 gi/pygi-invoke-state-struct.h | 7 +-
6023 gi/pygi-invoke.c | 20 +++---
6024 gi/pygi-marshal-cleanup.c | 43 +++++-------
6025 gi/pygi-marshal-from-py.c | 160
6026 ++++++++++++++++++++++++++++--------------
6027 gi/pygi-marshal-from-py.h | 45 ++++++++----
6028 7 files changed, 177 insertions(+), 105 deletions(-)
6030 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
6031 Author: Simon Feltman <sfeltman@src.gnome.org>
6032 Date: Wed Aug 7 12:08:15 2013 -0700
6034 Add support for variable user data arguments
6036 Support a variable number of user data arguments for all callback
6037 connection function where the user data is the last explicit argument.
6038 This adds convience as well as consistency with the rest of PyGObject.
6039 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
6040 io_add_watch, and child_watch_add which manually implemented this
6043 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6045 gi/overrides/GLib.py | 75
6046 +++++++++++++++--------------------------------
6047 gi/pygi-cache.c | 14 +++++++++
6048 gi/pygi-cache.h | 3 ++
6049 gi/pygi-closure.c | 37 +++++++++++++++--------
6050 gi/pygi-invoke.c | 71
6051 +++++++++++++++++++++++++++++++-------------
6052 gi/pygi-marshal-from-py.c | 5 ++++
6053 tests/test_everything.py | 32 ++++++++++++++++++++
6054 tests/test_glib.py | 21 +++++++++++++
6055 tests/test_subprocess.py | 8 ++---
6056 9 files changed, 177 insertions(+), 89 deletions(-)
6058 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
6059 Author: Martin Pitt <martinpitt@gnome.org>
6060 Date: Mon Oct 14 12:57:04 2013 +0200
6062 Bump glib and g-i dependencies to latest stable.
6064 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
6068 Drop @unittest.skipUnless tags from tests which didn't work with
6072 configure.ac | 6 +++---
6073 tests/test_gi.py | 2 --
6074 3 files changed, 5 insertions(+), 6 deletions(-)
6076 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
6077 Author: Nuno Araujo <nuno.araujo@russo79.com>
6078 Date: Fri Oct 11 18:41:48 2013 +0200
6080 Fix TypeError when setting drag target_list to None
6082 When calling Widget.drag_dest_set_target_list(None) or
6083 Widget.drag_source_set_target_list(None)
6084 a "TypeError: 'NoneType' object is not iterable" is thrown.
6086 According to Gtk documentation [1] [2], this shouldn't be the case
6087 since client code should be
6088 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
6089 gtk_drag_source_set_target_list.
6091 We now check if the target_list is None and do not try to create a
6092 TargetList if it is the case.
6095 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
6097 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
6099 https://bugzilla.gnome.org/show_bug.cgi?id=709926
6101 gi/overrides/Gtk.py | 4 ++--
6102 tests/test_overrides_gtk.py | 2 ++
6103 2 files changed, 4 insertions(+), 2 deletions(-)
6105 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
6106 Author: Simon Feltman <sfeltman@src.gnome.org>
6107 Date: Tue Oct 1 17:09:39 2013 -0700
6109 Use qdata for wrapper retrieval in toggle reference notifications
6111 Replace usage of user data holding PyGObject wrappers in toggle ref
6112 notifications with GObject qdata retrieval. This fixes thread
6114 where a toggle notify may be called from another thread during
6116 wrappers dealloc. In this case the toggle notify is blocked because
6118 is held in dealloc, and when it continues, the user data would be
6120 invalid PyGObject wrapper. Using qdata solves this by ensuring
6122 retrieval is done within the safety of the GIL and may turn up
6125 https://bugzilla.gnome.org/show_bug.cgi?id=709223
6127 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
6128 1 file changed, 14 insertions(+), 7 deletions(-)
6130 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
6131 Author: Simon Feltman <sfeltman@src.gnome.org>
6132 Date: Thu Oct 10 16:10:16 2013 -0700
6134 Add expected failure to deal with fixes in gimarshallingtests.c
6136 Fix test_object_full_inout based on newer gimarshallingtests.c >
6138 Add expectedFailure to deal with previous versions of
6139 gimarshallingtests.c.
6141 https://bugzilla.gnome.org/show_bug.cgi?id=709796
6143 tests/test_gi.py | 6 +++++-
6144 1 file changed, 5 insertions(+), 1 deletion(-)
6146 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
6147 Author: Simon Feltman <sfeltman@src.gnome.org>
6148 Date: Mon Oct 7 01:17:08 2013 -0700
6150 Fix memory leaks for inout array arguments
6152 Add tracking for array allocations to from_py marashalers in the
6153 argument states extra data (arg_data). This is then used later
6155 marshaling cleanup to call the array cleanup function.
6157 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6159 gi/pygi-invoke.c | 1 +
6160 gi/pygi-marshal-cleanup.c | 1 +
6161 gi/pygi-marshal-from-py.c | 13 +++++++++----
6162 3 files changed, 11 insertions(+), 4 deletions(-)
6164 commit 31263ac117027446c8e2fd1b56d7e348384aabef
6165 Author: Simon Feltman <sfeltman@src.gnome.org>
6166 Date: Sun Oct 6 21:54:15 2013 -0700
6168 Fix to Python marshaling leaks for arrays holding GVariants
6170 Add early check for array items holding pointers and simply assign the
6171 pointer to GIArgument.v_pointer prior giving it to the per-item
6173 This simplifies marshaling and fixes leaks regarding arrays of
6175 removing the unneeded g_variant_ref_sink (variants are always
6177 Conditionalize the use of g_variant_ref_sink based on transfer mode
6179 per-item marshaler. This fixes a reference leak where we are given
6181 of the variant (transfer full) but added a new ref anyway.
6183 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6185 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
6186 1 file changed, 18 insertions(+), 16 deletions(-)
6188 commit c9580ce1156789221aa19b00c7aab404db5431b5
6189 Author: Simon Feltman <sfeltman@src.gnome.org>
6190 Date: Sun Oct 6 04:26:18 2013 -0700
6192 Cleanup per-item array marshaling code for flat arrays
6194 Add an early per-item check which tests if the item being marshaled
6196 pointer and simply copies the pointer into the array. This takes
6198 GdkAtom and GVariant special cases because these items are always
6201 Fix error condition cleanup code when an item fails marshaling in
6205 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6207 gi/pygi-marshal-from-py.c | 87
6208 +++++++++++++++++++++--------------------------
6209 tests/test_gi.py | 32 +++++++++++++++++
6210 2 files changed, 71 insertions(+), 48 deletions(-)
6212 commit 4623caa71c54958ab821db27a9eff2790acb3975
6213 Author: Simon Feltman <sfeltman@src.gnome.org>
6214 Date: Sat Oct 5 17:00:54 2013 -0700
6216 Fix GValue array marshaling leaks and crash fallout
6218 * Decrement references for results of PySequence_GetItem. There were
6220 places we were not decrementing the Python reference, leaking
6222 * Add tracking of Python arguments with recursive marshaling
6224 allows arrays of GValues which have been coerced from Python types
6226 properly free'd (also fixes bug 703662).
6227 * Use g_variant_ref for variant arguments marked as transfer
6229 This fixes double free's caused by the decrementing of
6233 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6235 gi/pygi-cache.h | 1 +
6236 gi/pygi-invoke.c | 1 +
6237 gi/pygi-marshal-cleanup.c | 50
6238 +++++++++++++++++++++++++++++++++++++++++------
6239 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
6240 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
6241 gi/pygi-marshal-to-py.c | 1 +
6242 6 files changed, 78 insertions(+), 9 deletions(-)
6244 commit 549f849ef8854352483657df3d7558688a4b0007
6245 Author: Simon Feltman <sfeltman@src.gnome.org>
6246 Date: Sat Sep 28 00:26:28 2013 -0700
6248 Refactor GLib.io_add_watch to make it more testable
6250 Break the argument munging code into a separate function which
6251 can be tested in isolation of adding an io watch.
6252 Add additional failing test which specifies all args as keywords
6253 which we eventually need to support for consistency with the
6256 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6258 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
6259 1 file changed, 18 insertions(+), 5 deletions(-)
6261 commit bc780ed17bc4cc62959c63c3f0142161a924679f
6262 Author: Simon Feltman <sfeltman@src.gnome.org>
6263 Date: Fri Sep 27 20:59:45 2013 -0700
6265 Refactor GLib.child_watch_add to make it more testable
6267 Break the argument munging code into a separate function which
6268 can be tested in isolation of adding a child watch. Update tests
6269 to reflect this. Add additional failing test which specify
6270 all args as keywords which we eventually need to support for
6271 consistency with the rest of PyGObject.
6273 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6275 gi/overrides/GLib.py | 25 +++++++++-----
6276 tests/test_subprocess.py | 88
6277 +++++++++++++++++++++---------------------------
6278 2 files changed, 56 insertions(+), 57 deletions(-)
6280 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
6281 Author: Simon Feltman <sfeltman@src.gnome.org>
6282 Date: Thu Sep 26 19:05:20 2013 -0700
6284 Don't pass None to callbacks when user data is not specified
6286 For APIs which support a callback and optional user data,
6287 don't pass the user data to the callback if it was not explicitly
6288 specified when the callback was connected.
6290 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6292 gi/pygi-closure.c | 17 ++++++++++++++---
6293 gi/pygi-marshal-from-py.c | 5 -----
6294 tests/test_everything.py | 7 ++-----
6295 3 files changed, 16 insertions(+), 13 deletions(-)
6297 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
6298 Author: Simon Feltman <sfeltman@src.gnome.org>
6299 Date: Fri Oct 4 17:27:47 2013 -0700
6301 Add missing methods on PyGIBaseInfo and sub-classes
6303 Expose all methods of GIBaseBase info and its sub-classes.
6305 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6307 gi/_glib/pyglib-python-compat.h | 1 +
6308 gi/pygi-info.c | 550
6309 +++++++++++++++++++++++++++++++++++++++-
6310 tests/test_repository.py | 134 ++++++++++
6311 3 files changed, 677 insertions(+), 8 deletions(-)
6313 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
6314 Author: Simon Feltman <sfeltman@src.gnome.org>
6315 Date: Fri Oct 4 13:46:36 2013 -0700
6317 Expose all GI enum and flags types
6319 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
6320 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
6322 GInfoType. These types are found in the gi._gi module exposed
6324 "GI" prefix and contain all of their values as class attributes. e.g.
6325 gi._gi.Transfer.EVERYTHING.
6327 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6329 gi/docstring.py | 10 ++--
6330 gi/pygi-info.c | 150
6331 ++++++++++++++++++++++++++++++++++++++++++++---
6332 tests/test_repository.py | 13 +++-
6333 3 files changed, 158 insertions(+), 15 deletions(-)
6335 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
6336 Author: Simon Feltman <sfeltman@src.gnome.org>
6337 Date: Fri Oct 4 13:42:34 2013 -0700
6339 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
6341 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
6343 cause a crash. Avoid this by adding _safe_base_info_get_name and
6345 throughout the bindings.
6346 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
6348 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6350 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
6351 1 file changed, 25 insertions(+), 10 deletions(-)
6353 commit c86b2fe8d01070f06c45fffd910d890afba1313a
6354 Author: Simon Feltman <sfeltman@src.gnome.org>
6355 Date: Fri Oct 4 13:41:08 2013 -0700
6357 Add GIBaseInfo.equal method
6359 Break PyGIBaseInfo rich compare into two methods: equal and
6361 Equal is a direct exposure of the GI method and richcompare makes
6363 this with additional support for Pyton "==" and "!=" operators.
6365 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6367 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
6368 tests/test_repository.py | 1 +
6369 2 files changed, 25 insertions(+), 8 deletions(-)
6371 commit e7b758badd0ab0b147117859f7871c39fb5399c1
6372 Author: Simon Feltman <sfeltman@src.gnome.org>
6373 Date: Fri Oct 4 13:36:11 2013 -0700
6375 Move info string retrieval into generic function
6377 Add get_info_string for sharing binding of simple string retrieval on
6380 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6382 gi/pygi-info.c | 15 +++++++++++++--
6383 1 file changed, 13 insertions(+), 2 deletions(-)
6385 commit d2aef364de778da966bc1cfffe184d649f9ebb21
6386 Author: Simon Feltman <sfeltman@src.gnome.org>
6387 Date: Tue Sep 24 06:26:17 2013 -0700
6389 Move child info retrieval into generic function
6391 Add a generic function for bindings which return a single child info.
6392 This trivializes binding methods like PyGIObjectInfo.get_parent and
6393 fixes leaks in PyGIObjectInfo.get_class_struct and
6394 PyGIVFuncInfo.get_invoker.
6396 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6399 +++++++++++++++++++++++---------------------------------
6400 1 file changed, 23 insertions(+), 33 deletions(-)
6402 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
6403 Author: Simon Feltman <sfeltman@src.gnome.org>
6404 Date: Tue Sep 24 02:52:22 2013 -0700
6406 Move info tuple retrieval into generic function
6408 Create new generic function for retrieving a tuple of child infos.
6409 This greatly simplifies all the bindings which return tuples from
6410 a common pattern of functions on GIBaseInfo based instances.
6412 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6414 gi/pygi-info.c | 469
6415 ++++++++-------------------------------------------------
6416 1 file changed, 59 insertions(+), 410 deletions(-)
6418 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
6419 Author: Simon Feltman <sfeltman@src.gnome.org>
6420 Date: Sun Oct 6 16:41:37 2013 -0700
6422 tests: Update check.valgrind with always-malloc and add logging
6425 Based on notes in https://wiki.gnome.org/Valgrind we need to use
6426 always-malloc for valgrind runs.
6427 Add check.valgrindlog and check.valgrindxml which output valgrind
6429 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
6431 can track commits and use diff tools on the logs.
6434 Makefile.am | 6 ++++++
6435 tests/Makefile.am | 10 +++++++++-
6436 3 files changed, 16 insertions(+), 1 deletion(-)
6438 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
6439 Author: Simon Feltman <sfeltman@src.gnome.org>
6440 Date: Fri Oct 4 20:43:02 2013 -0700
6442 Move existing repository tests into test_repository
6444 Move flags and enum double registration tests into test_repository.py.
6445 Remove duplicate ObjectInfo tests from test_gi.py.
6447 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6449 tests/test_gi.py | 38 --------------------------------------
6450 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
6451 2 files changed, 28 insertions(+), 38 deletions(-)
6453 commit 31840888c8948aab78041da93c329572f3aabb64
6454 Author: Simon Feltman <sfeltman@src.gnome.org>
6455 Date: Fri Oct 4 17:31:21 2013 -0700
6457 Add unittests for GIRepository
6459 Add basic unittests for the existing classes and methods exposed for
6460 the GIRepository module (gi._gi).
6462 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6464 tests/Makefile.am | 1 +
6465 tests/test_repository.py | 170
6466 +++++++++++++++++++++++++++++++++++++++++++++++
6467 2 files changed, 171 insertions(+)
6469 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
6470 Author: Simon Feltman <sfeltman@src.gnome.org>
6471 Date: Fri Oct 4 15:50:05 2013 -0700
6473 Derive SignalInfo info from CallableInfo
6475 Change Python class derivation of PyGISignalInfo to use
6477 the base class. This accurately reflects the GI class layout and
6479 the callable information for signals.
6481 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6483 gi/pygi-info.c | 7 ++++---
6484 1 file changed, 4 insertions(+), 3 deletions(-)
6486 commit b01daba04ff001b9e63d343938e879d339d9a98c
6487 Author: Simon Feltman <sfeltman@src.gnome.org>
6488 Date: Fri Oct 4 15:48:05 2013 -0700
6490 Use PYGLIB_PyLong_FromLong for GIDirection return
6492 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6494 gi/pygi-info.c | 2 +-
6495 1 file changed, 1 insertion(+), 1 deletion(-)
6497 commit d644cbd0c0ad85142286754838db848c4eb1707f
6498 Author: Simon Feltman <sfeltman@src.gnome.org>
6499 Date: Thu Oct 3 19:25:34 2013 -0700
6501 Fix memory leak for caller allocated GValue out arguments
6503 Swizzle the order of type checks in _cleanup_caller_allocates so
6504 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
6506 important because G_TYPE_VALUE is a sub-type of boxed and so its
6508 cleanup code was never being called (g_value_unset).
6509 Additionally update check to use g_type_is_a instead of a compare
6511 the potential case of a G_TYPE_VALUE sub-type.
6513 https://bugzilla.gnome.org/show_bug.cgi?id=709397
6515 gi/pygi-marshal-cleanup.c | 11 ++++++-----
6516 1 file changed, 6 insertions(+), 5 deletions(-)
6518 commit 510789d52e9e2fd863d26613f3282364eb175601
6519 Author: Simon Feltman <sfeltman@src.gnome.org>
6520 Date: Sun Jul 28 14:44:51 2013 -0700
6522 Add support for default arguments annotated with allow-none
6524 Support default value of NULL for tail end arguments which are
6525 marked with allow-none.
6526 The implementation uses a place holder object for un-supplied
6528 which are annotated with allow-none. This is then used later during
6529 marshaling to supply NULL as the default.
6530 Additionally support an implicit default for callback user_data
6531 using the same technique.
6533 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6535 gi/gimodule.c | 6 +++
6536 gi/pygi-cache.c | 103
6537 ++++++++++++++++++++++++++++++----------------
6538 gi/pygi-cache.h | 8 ++++
6539 gi/pygi-invoke.c | 42 +++++++++++++------
6540 gi/pygi-marshal-from-py.c | 5 +++
6542 tests/test_everything.py | 16 +++++++
6543 tests/test_gi.py | 30 ++++++++++++++
6544 8 files changed, 162 insertions(+), 49 deletions(-)
6546 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
6547 Author: Simon Feltman <sfeltman@src.gnome.org>
6548 Date: Fri Aug 2 22:27:10 2013 -0700
6550 cache refactoring: Move arg cache field assignments into
6553 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6555 gi/pygi-cache.c | 23 +++++++++++------------
6556 1 file changed, 11 insertions(+), 12 deletions(-)
6558 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
6559 Author: Simon Feltman <sfeltman@src.gnome.org>
6560 Date: Fri Aug 2 20:27:02 2013 -0700
6562 cache refactoring: Cleanup array length argument marshaling
6564 Add shared function: _arg_cache_array_len_arg_setup for use
6565 with both to and from array marshaling setup. This function
6566 consolidates all of the edge cases regarding array length setup
6567 and removes the need for flagging arguments with
6568 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
6570 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6572 gi/pygi-cache.c | 145
6573 +++++++++++++++++++++++++++-----------------------------
6574 gi/pygi-cache.h | 5 --
6575 2 files changed, 71 insertions(+), 79 deletions(-)
6577 commit c9d8639401ae82977e960de44d80b94a501a2184
6578 Author: Simon Feltman <sfeltman@src.gnome.org>
6579 Date: Sat Aug 3 00:26:11 2013 -0700
6581 cache refactoring: Move variable declarations to blocks where they
6584 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6586 gi/pygi-cache.c | 25 ++++++++++++++-----------
6587 1 file changed, 14 insertions(+), 11 deletions(-)
6589 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
6590 Author: Simon Feltman <sfeltman@src.gnome.org>
6591 Date: Thu Aug 1 19:33:27 2013 -0700
6593 cache refactoring: Remove continue statements from
6594 _args_cache_generate
6596 Remove continue and goto statements from the large loop within
6597 _args_cache_generate. This simplifies the sharing of parts of
6598 the loop for future refactoring.
6600 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6602 gi/pygi-cache.c | 126
6603 +++++++++++++++++++++++++++-----------------------------
6604 1 file changed, 61 insertions(+), 65 deletions(-)
6606 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
6607 Author: Simon Feltman <sfeltman@src.gnome.org>
6608 Date: Wed Jul 31 18:10:05 2013 -0700
6610 cache refactoring: Use bit field for PyGIDirection instead of enum
6612 This supports cleaner logic when testing the direction of
6613 arguments due to the majority of these tests being along the
6614 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
6615 Which is replaced with: (direction & FROM_PYTHON)
6617 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6619 gi/pygi-cache.c | 64
6620 ++++++++++++++++++++++++++++-----------------------------
6621 gi/pygi-cache.h | 6 +++---
6622 2 files changed, 35 insertions(+), 35 deletions(-)
6624 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
6625 Author: Simon Feltman <sfeltman@src.gnome.org>
6626 Date: Sun Jul 28 20:45:05 2013 -0700
6628 cache refactoring: Remove special case marshaling for instance
6631 Remove duplicate code for marshaling struct and objects for
6632 instance arguments. Re-use individual cache marshalers for
6633 structs and objects with the instance argument. This required
6634 removal of passing GITypeInfo to the marshaler because it is
6635 not available for instance arguments. Instead always assume
6636 "is_pointer" for the instance argument by using the cache.
6638 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6640 gi/pygi-argument.c | 4 +--
6641 gi/pygi-cache.c | 16 ++++-----
6642 gi/pygi-marshal-from-py.c | 87
6643 +++--------------------------------------------
6644 gi/pygi-marshal-from-py.h | 16 ++-------
6645 4 files changed, 16 insertions(+), 107 deletions(-)
6647 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
6648 Author: Simon Feltman <sfeltman@src.gnome.org>
6649 Date: Sun Jul 28 16:44:01 2013 -0700
6651 cache refactoring: Use GPtrArray for callable arg cache
6653 Replace manual management of the C array holding individual
6654 argument caches with usage of GPtrArray. This provides storage
6655 of the array length along with item memory management.
6657 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6659 gi/pygi-cache.c | 62
6660 +++++++++++++++++++++++------------------------
6661 gi/pygi-cache.h | 16 +++++++++---
6662 gi/pygi-invoke.c | 16 ++++++------
6663 gi/pygi-marshal-cleanup.c | 8 +++---
6664 gi/pygi-marshal-from-py.c | 6 ++---
6665 gi/pygi-marshal-to-py.c | 6 ++---
6666 6 files changed, 62 insertions(+), 52 deletions(-)
6668 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
6669 Author: Simon Feltman <sfeltman@src.gnome.org>
6670 Date: Sun Jul 28 15:02:51 2013 -0700
6672 cache refactoring: Move PyGI direction code into new function
6674 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6676 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
6677 1 file changed, 21 insertions(+), 21 deletions(-)
6679 commit 83208bf495b152e93a28a231d445f43ea827d2eb
6680 Author: Simon Feltman <sfeltman@src.gnome.org>
6681 Date: Fri Aug 2 15:59:25 2013 -0700
6683 cache refactoring: Add comments to callable cache structure
6685 Add comments to count fields on _PyGICallableCache.
6687 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6689 gi/pygi-cache.h | 13 ++++++++++++-
6690 1 file changed, 12 insertions(+), 1 deletion(-)
6692 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
6693 Author: Simon Feltman <sfeltman@src.gnome.org>
6694 Date: Wed Jul 24 01:14:29 2013 -0700
6696 Remove support for allowing PyObjects as void pointers
6698 Final removal of marshaling Python object addresses as
6699 void pointers. This ensures we can successfully pass
6700 integer values as the pointer without the Python object
6701 leaking or crashing due to invalid memory.
6703 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6705 gi/pygi-marshal-from-py.c | 20 ++++++--------------
6706 gi/pygi-marshal-to-py.c | 14 ++------------
6707 tests/test_signal.py | 5 +----
6708 3 files changed, 9 insertions(+), 30 deletions(-)
6710 commit 1469403ee2faa699430055384b338f0cd8e672d7
6711 Author: Simon Feltman <sfeltman@src.gnome.org>
6712 Date: Wed Sep 25 18:21:22 2013 -0700
6714 configure.ac: bump trunk to 3.11.1
6717 1 file changed, 1 insertion(+), 1 deletion(-)
6719 commit 8e774e61d62c82efa3d907c1201359121878b4b5
6720 Author: Simon Feltman <sfeltman@src.gnome.org>
6721 Date: Mon Sep 23 03:57:03 2013 -0700
6723 configure.ac: post-release bump to 3.10.1
6726 1 file changed, 1 insertion(+), 1 deletion(-)
6728 commit 95af6279a9affff5c816db2db53207ff0f19872d
6729 Author: Simon Feltman <sfeltman@src.gnome.org>
6730 Date: Mon Sep 23 03:17:19 2013 -0700
6735 configure.ac | 4 ++--
6736 2 files changed, 5 insertions(+), 2 deletions(-)
6738 commit c626be6317b610277c95461108573d1ae6f42b6d
6739 Author: Martin Pitt <martinpitt@gnome.org>
6740 Date: Mon Sep 23 12:06:11 2013 +0200
6742 Fix test_gi.TestProjectVersion.test_version_str()
6744 In this test case we only do a string comparison, not a proper
6746 component" numerical one. So relax the test to also work with 3.10.
6748 tests/test_gi.py | 2 +-
6749 1 file changed, 1 insertion(+), 1 deletion(-)
6751 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
6752 Author: Martin Pitt <martinpitt@gnome.org>
6753 Date: Mon Sep 16 10:12:33 2013 -0500
6758 1 file changed, 7 insertions(+)
6760 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
6761 Author: Simon Feltman <sfeltman@src.gnome.org>
6762 Date: Mon Sep 16 01:23:49 2013 -0700
6764 Update current maintainers list in README
6767 1 file changed, 2 insertions(+), 1 deletion(-)
6769 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
6770 Author: Simon Feltman <sfeltman@src.gnome.org>
6771 Date: Tue Sep 10 17:11:21 2013 -0700
6773 Fix union argument regression when marshaling from python
6775 Check for union members when marshaling boxed types from Python.
6776 This is a regression caused by stricter type checking added when
6777 merging code from pygi-argument.c.
6778 Re-add pyg_boxed_check to the same bit of code in addition to
6779 __gtype__ checking to avoid a double regression.
6781 https://bugzilla.gnome.org/show_bug.cgi?id=703873
6783 gi/pygi-marshal-from-py.c | 53
6784 ++++++++++++++++++++++++++---------------------
6785 1 file changed, 29 insertions(+), 24 deletions(-)
6787 commit 59a2964141e963d2961e55d4b84a777927b4f21b
6788 Author: Simon Feltman <sfeltman@src.gnome.org>
6789 Date: Wed Sep 11 05:05:33 2013 -0700
6791 Fix GLib.Source sub-classing with initializer args
6793 Add variable args and keyword args to the GLib.Source.__new__
6794 method to support sub-classes which want to implement __init__.
6796 https://bugzilla.gnome.org/show_bug.cgi?id=707904
6798 gi/overrides/GLib.py | 2 +-
6799 tests/test_source.py | 11 +++++++++++
6800 2 files changed, 12 insertions(+), 1 deletion(-)
6802 commit afa42ab95327da1de0cf86005974cd8ab0d46872
6803 Author: Vratislav Podzimek <vpodzime@redhat.com>
6804 Date: Wed Sep 4 14:17:31 2013 +0200
6806 Copy __doc__ when wrapping function
6808 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
6809 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6811 gi/overrides/__init__.py | 1 +
6812 1 file changed, 1 insertion(+)
6814 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
6815 Author: Martin Pitt <martinpitt@gnome.org>
6816 Date: Mon Sep 2 14:56:24 2013 +0200
6818 configure.ac: post-release bump to 3.9.92
6821 1 file changed, 1 insertion(+), 1 deletion(-)
6823 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
6824 Author: Martin Pitt <martinpitt@gnome.org>
6825 Date: Mon Sep 2 14:38:41 2013 +0200
6829 NEWS | 10 ++++++++++
6830 1 file changed, 10 insertions(+)
6832 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
6833 Author: Simon Feltman <sfeltman@src.gnome.org>
6834 Date: Mon Sep 2 04:19:35 2013 -0700
6836 Fix GObject signal methods to work with new annotations
6838 Add conditional support for signal methods annotated as gpointer
6839 or GObject.Object. This is needed to work with newer versions of
6840 glib which changed annotations to GObject.Object (bug #685387).
6842 https://bugzilla.gnome.org/show_bug.cgi?id=707280
6844 gi/overrides/GObject.py | 106
6845 ++++++++++++++++++++++++++++++------------------
6846 1 file changed, 66 insertions(+), 40 deletions(-)
6848 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
6849 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
6850 Date: Thu Aug 15 14:41:40 2013 +0800
6852 Fix build on C89 Compilers
6854 Avoid a variable declaration at the middle of the block
6856 https://bugzilla.gnome.org/show_bug.cgi?id=707264
6858 gi/pygi-closure.c | 3 ++-
6859 1 file changed, 2 insertions(+), 1 deletion(-)
6861 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
6862 Author: Simon Feltman <sfeltman@src.gnome.org>
6863 Date: Sun Sep 1 20:44:26 2013 -0700
6865 Change boxed type checking in marshaling to use __gtype__ attribute
6867 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
6868 pyg_type_from_object. This has the effect of using the __gtype__
6869 attribute stashed on object class instead of the PyGBoxed
6870 internally held gtype. This fixes type descrepencies for objects
6871 marshaled into overridden signal class closures and passed back
6872 to functions taking an alias their type.
6874 https://bugzilla.gnome.org/show_bug.cgi?id=707140
6876 gi/pygi-marshal-from-py.c | 8 +++++++-
6877 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
6878 2 files changed, 41 insertions(+), 1 deletion(-)
6880 commit dab0c09f1996e124ca98334e5aea0852904b44b5
6881 Author: Simon Feltman <sfeltman@src.gnome.org>
6882 Date: Sun Sep 1 17:49:09 2013 -0700
6884 Use G_IS_VALUE for checking return values in closure marshaling
6886 Replace return_value argument NULL checks in GClosureMarshal
6887 implementations with G_IS_VALUE. This checks both NULL and
6888 validity of the value (!= G_TYPE_INVALID). This is needed
6889 because GLib can pass either NULL or an invalid value based
6890 on whether or not G_ENABLE_DEBUG is set.
6891 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
6893 https://bugzilla.gnome.org/show_bug.cgi?id=707170
6895 gi/_gobject/pygtype.c | 4 ++--
6896 gi/pygi-signal-closure.c | 2 +-
6897 2 files changed, 3 insertions(+), 3 deletions(-)
6899 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
6900 Author: Yanko Kaneti <yaneti@declera.com>
6901 Date: Wed Aug 21 08:53:07 2013 +0200
6903 Fix PEP-8 errors in propertyhelper.py
6905 https://bugzilla.gnome.org/show_bug.cgi?id=706319
6907 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6909 gi/_gobject/propertyhelper.py | 12 ++++++------
6910 1 file changed, 6 insertions(+), 6 deletions(-)
6912 commit 6fdd58404103596accb6ab04d4de33846d853c58
6913 Author: Martin Pitt <martinpitt@gnome.org>
6914 Date: Mon Aug 19 17:13:30 2013 +0200
6916 configure.ac: post-release bump to 3.9.91
6919 1 file changed, 1 insertion(+), 1 deletion(-)
6921 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
6922 Author: Martin Pitt <martinpitt@gnome.org>
6923 Date: Mon Aug 19 17:10:52 2013 +0200
6928 1 file changed, 9 insertions(+)
6930 commit a8d5da559ef088b05062681206758d2718946269
6931 Author: Martin Pitt <martinpitt@gnome.org>
6932 Date: Mon Aug 19 11:38:31 2013 +0200
6934 NEWS: retroactively fix last version number
6937 1 file changed, 1 insertion(+), 1 deletion(-)
6939 commit aba45eb2617c4b35168089bc9028f351732a617f
6940 Author: Benjamin Berg <benjamin@sipsolutions.net>
6941 Date: Tue Aug 6 00:41:52 2013 +0200
6943 Create GLib.Pid in the same way on python 2 and 3
6945 https://bugzilla.gnome.org/show_bug.cgi?id=705451
6947 gi/_glib/pygspawn.c | 8 --------
6948 1 file changed, 8 deletions(-)
6950 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
6951 Author: Benjamin Berg <benjamin@sipsolutions.net>
6952 Date: Mon Aug 5 17:04:15 2013 +0200
6954 Use PyLong_Type.tp_new for GLib.Pid
6956 For GLib.Pid the original implementation for __new__ needs to be used,
6957 as it is able to initialize the integer correctly.
6959 https://bugzilla.gnome.org/show_bug.cgi?id=705451
6961 gi/_glib/pygspawn.c | 1 +
6962 tests/test_subprocess.py | 1 +
6963 2 files changed, 2 insertions(+)
6965 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
6966 Author: Simon Feltman <sfeltman@src.gnome.org>
6967 Date: Mon Aug 5 14:40:38 2013 -0700
6969 Add accumulator and accu_data arguments to GObject.Signal decorator
6971 Update __init__, __call__, and copy methods to accept and pass
6972 accumulators and associated user data through them. Update
6973 accumulator unittests to use Signal decorators for testing accumulator
6974 pass throughs. Verified the __gsignals__ dictionary accepts None
6975 as valid values for accumulator and accu_data so specialization
6976 for these arguments is not necessary.
6978 https://bugzilla.gnome.org/show_bug.cgi?id=705533
6980 gi/_gobject/signalhelper.py | 17 ++++++++++-----
6981 tests/test_signal.py | 52
6982 ++++++++++++++++++++++++---------------------
6983 2 files changed, 40 insertions(+), 29 deletions(-)
6985 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
6986 Author: Simon Feltman <sfeltman@src.gnome.org>
6987 Date: Mon Aug 5 14:12:24 2013 -0700
6989 Pass return values through the GObject.Signal.emit wrapper
6991 Return the result of GObject.emit from the Signal decorators wrapping.
6992 Update unittest for decorated return type to use skipUnless for
6994 Add test for Signal decorator return type.
6996 https://bugzilla.gnome.org/show_bug.cgi?id=705530
6998 gi/_gobject/signalhelper.py | 2 +-
6999 tests/test_signal.py | 37 +++++++++++++++++++++----------------
7000 2 files changed, 22 insertions(+), 17 deletions(-)
7002 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
7003 Author: Simon Feltman <sfeltman@src.gnome.org>
7004 Date: Mon Jul 29 03:33:40 2013 -0700
7006 configure.ac: post-release bump to 3.9.90
7009 1 file changed, 1 insertion(+), 1 deletion(-)
7011 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
7012 Author: Simon Feltman <sfeltman@src.gnome.org>
7013 Date: Mon Jul 29 02:23:02 2013 -0700
7017 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
7019 2 files changed, 42 insertions(+), 1 deletion(-)
7021 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
7022 Author: Simon Feltman <sfeltman@src.gnome.org>
7023 Date: Mon Jul 29 01:21:19 2013 -0700
7025 Ensure exceptions set in closure out argument marshaling are printed
7027 Call PyErr_Print when an exception occurs after marshaling closure
7028 out arguments. These exceptions were being ignored and cleared out
7029 only to show up in debug builds of Python.
7031 https://bugzilla.gnome.org/show_bug.cgi?id=705064
7033 gi/pygi-closure.c | 8 ++++++++
7034 tests/test_generictreemodel.py | 17 +++++++++++------
7035 2 files changed, 19 insertions(+), 6 deletions(-)
7037 commit b5dcb1800839f747a052e487643c234668384677
7038 Author: Simon Feltman <sfeltman@src.gnome.org>
7039 Date: Sun Jul 28 23:00:26 2013 -0700
7041 Use Python error messages for marshaling integers from Python
7043 Use Pythons default error messages where possible.
7044 Change all explicitly raised ValueError to use OverflowError
7045 for out of range data.
7047 https://bugzilla.gnome.org/show_bug.cgi?id=705057
7049 gi/pygi-marshal-from-py.c | 76
7050 +++++++++++++++++------------------------------
7051 tests/test_everything.py | 52 ++++++++++++++++----------------
7052 tests/test_gi.py | 64 +++++++++++++++++++--------------------
7053 tests/test_gobject.py | 2 +-
7054 4 files changed, 86 insertions(+), 108 deletions(-)
7056 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
7057 Author: Simon Feltman <sfeltman@src.gnome.org>
7058 Date: Sat Jul 27 21:10:07 2013 -0700
7060 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
7062 gi/pygi-closure.c | 11 ++---------
7063 1 file changed, 2 insertions(+), 9 deletions(-)
7065 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
7066 Author: Simon Feltman <sfeltman@src.gnome.org>
7067 Date: Sat Jul 27 15:25:20 2013 -0700
7069 Cleanup invoke args and kwargs combiner code
7071 Change _py_args_combine_and_check_length use cleaner reference
7073 It no longer DECREFs input arguments and always returns a new value
7075 Use PyGICallableCache directly as an argument instead of passing
7079 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
7080 1 file changed, 17 insertions(+), 27 deletions(-)
7082 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
7083 Author: Simon Feltman <sfeltman@src.gnome.org>
7084 Date: Wed Jul 17 16:10:25 2013 -0700
7086 Replace Python VFunc descriptor directly with PyGIVFuncInfo
7088 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
7089 to be used directly as a callable descriptor. This piggy backs
7090 off the added support for functions and constructors in previous
7093 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7095 gi/pygi-info.c | 25 +++++++++++++++++++++++--
7096 gi/types.py | 33 ++++-----------------------------
7097 2 files changed, 27 insertions(+), 31 deletions(-)
7099 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
7100 Author: Simon Feltman <sfeltman@src.gnome.org>
7101 Date: Tue Jul 16 16:00:14 2013 -0700
7103 Add callable and descriptor protocols to PyGICallableInfo
7105 Add tp_call (__call__) function to callable info objects.
7106 This allows for replacement of wrapped invoke methods directly
7107 with the already created callable info object. This has the
7108 additional side effect of making doc strings lazily bound
7109 (only generated when __doc__ is accessed).
7111 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
7112 a bound version of itself for methods and constructors.
7114 Update various internal type checks to reflect the changes.
7115 Update tests to reflect the new callable type being the same
7116 across Python 2 & 3.
7118 This patch gives roughly a %17 speedup for Gtk imports and
7119 an %11 speedup for GI method calls.
7121 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7124 gi/overrides/__init__.py | 10 ++-
7125 gi/pygi-info.c | 179
7126 ++++++++++++++++++++++++++++++++++++++++++--
7128 gi/types.py | 35 +--------
7129 tests/test_docstring.py | 6 +-
7130 tests/test_gi.py | 32 +++-----
7131 tests/test_overrides_gtk.py | 4 +-
7132 8 files changed, 212 insertions(+), 72 deletions(-)
7134 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
7135 Author: Simon Feltman <sfeltman@src.gnome.org>
7136 Date: Fri Jul 26 19:33:32 2013 -0700
7138 Move "from Python" GObject out arg marshaler into specialized function
7140 Move hacks specific to out argument marshaling for vfuncs into a
7141 a specialized function. This allows standard function call marshaling
7142 to continue working correctly when there are no extra references
7143 holding the arguments "foo(SomeObject())". This is currently being
7144 masked because all GI functions are wrapped by additional layers
7145 of Python functions. When these layers are removed, it exposes
7146 bugs introduced by reference counting hacks intended for vfunc
7149 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7151 gi/pygi-argument.c | 2 +-
7152 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
7153 gi/pygi-marshal-from-py.h | 3 +++
7154 3 files changed, 34 insertions(+), 8 deletions(-)
7156 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
7157 Author: Simon Feltman <sfeltman@src.gnome.org>
7158 Date: Fri Jul 26 17:34:01 2013 -0700
7160 Add underscore prefix and _cache_adapter suffix to marshaling
7163 Add underscores to all _pygi_marshal_* functions. We don't currently
7164 export symbols, but we might need to for C unittesting. This will
7165 ensure we don't have a "public API".
7166 Add _cache_adapter suffix to marshaling functions which are light
7167 weight wrappers intended only for cached marshalers.
7169 gi/pygi-argument.c | 40 +++++++++++-----------
7170 gi/pygi-cache.c | 10 +++---
7171 gi/pygi-marshal-from-py.c | 86
7172 +++++++++++++++++++++++------------------------
7173 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
7174 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
7175 gi/pygi-marshal-to-py.h | 34 +++++++++----------
7176 6 files changed, 131 insertions(+), 131 deletions(-)
7178 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
7179 Author: Simon Feltman <sfeltman@src.gnome.org>
7180 Date: Tue Jul 16 11:13:17 2013 -0700
7182 Add common attribute accessors to PyGIBaseInfo
7184 Add __name__, __module__, and __doc__ accessors to
7185 PyGIBaseInfo object. This is a precursory patch for setting
7186 up PyGICallableInfo as a directly callable object with lazy
7187 doc string evaluation.
7189 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7191 gi/_glib/pyglib-python-compat.h | 5 +++
7193 +++++++++++++++++++++++++++++++++++++++--
7194 gi/types.py | 7 ++--
7195 3 files changed, 88 insertions(+), 7 deletions(-)
7197 commit ea194404843a16555f9a475cc973872a4428bfe1
7198 Author: Simon Feltman <sfeltman@src.gnome.org>
7199 Date: Sat Jul 13 23:10:31 2013 -0700
7201 Merge method and constructor setup
7203 Merge _setup_constructors into _setup_methods as they contain same
7204 basic logic. This removes an unnecessary call with additional
7205 filtering of GIObjectInfo.get_methods() which can be large for
7206 objects with many methods.
7208 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7210 gi/types.py | 15 ++++-----------
7211 1 file changed, 4 insertions(+), 11 deletions(-)
7213 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
7214 Author: Simon Feltman <sfeltman@src.gnome.org>
7215 Date: Sat Jul 13 18:11:18 2013 -0700
7217 Remove redundant info.get_name calls
7219 Remove a number of redundant calls to GIBaseInfo.get_name. Info
7220 names are already cached on function objects so re-use them when
7221 possible. This gives a small load time improvement by removing over
7222 2000 calls when importing Gtk.
7224 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7227 gi/types.py | 8 +++-----
7228 2 files changed, 3 insertions(+), 6 deletions(-)
7230 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
7231 Author: Simon Feltman <sfeltman@src.gnome.org>
7232 Date: Fri Jul 12 12:21:54 2013 -0700
7234 Move doc string generator into separate module
7236 Move the doc string generator for creating function signatures
7237 into "gi.docstring". This includes a new API for getting and
7238 setting the doc string creation functions:
7240 gi.docstring.get_doc_string_generator
7241 gi.docstring.set_doc_string_generator
7242 gi.docstring.generate_doc_string
7244 Beyond adding the ability for custom doc string generators,
7245 this API is a necessary step for adding lazy __doc__
7246 attribute access for optimization.
7248 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7250 gi/Makefile.am | 3 +-
7251 gi/docstring.py | 106
7252 ++++++++++++++++++++++++++++++++++++++++++++++++
7253 gi/types.py | 55 ++-----------------------
7254 tests/Makefile.am | 1 +
7255 tests/test_docstring.py | 49 ++++++++++++++++++++++
7256 tests/test_gi.py | 30 --------------
7257 6 files changed, 161 insertions(+), 83 deletions(-)
7259 commit f86701b15ee04c717d9c6bf688101606165e4f83
7260 Author: Simon Feltman <sfeltman@src.gnome.org>
7261 Date: Wed Jul 24 19:36:28 2013 -0700
7263 tests: Change GHashTable<string,GValue> marshaling test to use GValue
7265 Add test to explicitly use a boxed GStrv GValue in addition to a
7266 Python list sub-class.
7268 https://bugzilla.gnome.org/show_bug.cgi?id=666636
7270 tests/test_everything.py | 21 +++++++++++++++------
7271 1 file changed, 15 insertions(+), 6 deletions(-)
7273 commit 6ea41b60691e1ba7e21374582d7aea072af71103
7274 Author: Simon Feltman <sfeltman@src.gnome.org>
7275 Date: Thu Jul 25 18:00:47 2013 -0700
7277 gtk-demo: Change demo to use Gtk.Application
7279 Replace deriving from Gtk.Window with deriving from Gtk.Application
7280 connected to a Gtk.ApplicationWindow instance.
7282 https://bugzilla.gnome.org/show_bug.cgi?id=698547
7284 demos/gtk-demo/demos/printing.py | 2 +-
7285 demos/gtk-demo/gtk-demo.py | 40
7286 ++++++++++++++++++++--------------------
7287 2 files changed, 21 insertions(+), 21 deletions(-)
7289 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
7290 Author: Simon Feltman <sfeltman@src.gnome.org>
7291 Date: Tue Jul 23 14:25:01 2013 -0700
7293 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7295 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7296 and rename to _pygi_marshal_to_py_basic_type.
7297 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
7300 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7302 gi/pygi-argument.c | 73 +-----------------------------
7303 gi/pygi-argument.h | 4 --
7304 gi/pygi-cache.c | 4 +-
7305 gi/pygi-marshal-to-py.c | 115
7306 +++++++++++++++++++++++++++++++++++++-----------
7307 gi/pygi-marshal-to-py.h | 27 +++---------
7308 5 files changed, 99 insertions(+), 124 deletions(-)
7310 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
7311 Author: Simon Feltman <sfeltman@src.gnome.org>
7312 Date: Tue Jul 23 13:06:33 2013 -0700
7314 Unify and clean up from Python marshalers for basic types
7316 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
7317 and filename marshalers.
7319 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7321 gi/pygi-cache.c | 101
7322 ++--------------------------------------------
7323 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
7324 gi/pygi-marshal-from-py.h | 30 --------------
7325 3 files changed, 28 insertions(+), 189 deletions(-)
7327 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
7328 Author: Simon Feltman <sfeltman@src.gnome.org>
7329 Date: Tue Jul 23 12:35:06 2013 -0700
7331 Unify from Python int64 and uint64 marshalers
7333 Replaced int64 and uint64 cached marshalers with usage of the
7334 unified basic type marshaler. Replace a large amount of int64
7335 exception formatting code with usage of %S for Python 3 and
7336 give a more vague message for Python 2.
7338 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7340 gi/pygi-cache.c | 36 +--------
7341 gi/pygi-marshal-from-py.c | 193
7342 ++++++++++------------------------------------
7343 gi/pygi-marshal-from-py.h | 10 ---
7344 3 files changed, 43 insertions(+), 196 deletions(-)
7346 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
7347 Author: Simon Feltman <sfeltman@src.gnome.org>
7348 Date: Tue Jul 23 11:03:14 2013 -0700
7350 Unify from Python int16 and int32 marshalers
7352 Add PyNumber_Check to unified basic type marshaler.
7353 Add bounds checking to unified int16 and int32 marshalers.
7354 Replaced int16 and int32 cached marshalers with usage of
7355 unified basic type marshaler.
7357 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7359 gi/pygi-cache.c | 69 +--------------
7360 gi/pygi-marshal-from-py.c | 218
7361 ++++++++++------------------------------------
7362 gi/pygi-marshal-from-py.h | 20 -----
7363 3 files changed, 48 insertions(+), 259 deletions(-)
7365 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
7366 Author: Simon Feltman <sfeltman@src.gnome.org>
7367 Date: Tue Jul 23 00:27:14 2013 -0700
7369 Unify from Python boolean, int8, and uint8 marshalers
7371 Replaced boolean, int8, and uint8 cached marshalers with usage of
7372 unified basic type marshaler. Add bounds checking to unified int8
7375 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7377 gi/pygi-cache.c | 48 +++------------
7378 gi/pygi-marshal-from-py.c | 146
7379 +++++++++++-----------------------------------
7380 gi/pygi-marshal-from-py.h | 20 ++-----
7381 3 files changed, 45 insertions(+), 169 deletions(-)
7383 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
7384 Author: Simon Feltman <sfeltman@src.gnome.org>
7385 Date: Mon Jul 22 23:24:13 2013 -0700
7387 Add support for PyBytes with int8 and uint8 from Python marshaler
7389 This additional type marshaling is necessary for unifying marhalers
7390 due to the same feature being available with cached argument
7393 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7395 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
7396 1 file changed, 14 insertions(+)
7398 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
7399 Author: Simon Feltman <sfeltman@src.gnome.org>
7400 Date: Mon Jul 22 23:23:29 2013 -0700
7402 Move from Python integer marshaling into separate function
7404 Add _pygi_marshal_from_py_long for marshaling Python objects
7405 that can convert to a PyLong type. This allows for better
7406 sharing of code amongst marshalers along with unifying
7407 them across Python 2.7 and 3.0.
7409 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7411 gi/pygi-argument.c | 3 +-
7412 gi/pygi-marshal-from-py.c | 159
7413 ++++++++++++++++++++++++----------------------
7414 2 files changed, 84 insertions(+), 78 deletions(-)
7416 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
7417 Author: Simon Feltman <sfeltman@src.gnome.org>
7418 Date: Mon Jul 22 22:19:26 2013 -0700
7420 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
7422 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
7423 and rename to: _pygi_marshal_from_py_basic_type
7425 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7427 gi/pygi-argument.c | 149
7428 +---------------------------------------------
7429 gi/pygi-marshal-from-py.c | 147
7430 +++++++++++++++++++++++++++++++++++++++++++++
7431 gi/pygi-marshal-from-py.h | 4 ++
7432 3 files changed, 152 insertions(+), 148 deletions(-)
7434 commit 9c9510eec782f242280af24e86adf3561e4fac72
7435 Author: Simon Feltman <sfeltman@src.gnome.org>
7436 Date: Fri Jul 19 23:37:35 2013 -0700
7438 Move basic type marshaling out of _pygi_argument_from_object
7440 Move the marshaling of Python objects to GI arguments for basic types
7441 into a new function: _pygi_argument_from_object_basic_type
7442 This is staging work needed before unifying basic type marshaling
7443 of arguments from Python to GI.
7445 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7447 gi/pygi-argument.c | 73
7448 ++++++++++++++++++++++++++++++++++--------------------
7449 1 file changed, 46 insertions(+), 27 deletions(-)
7451 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
7452 Author: Simon Feltman <sfeltman@src.gnome.org>
7453 Date: Fri Jul 19 20:16:10 2013 -0700
7455 Replace to Python cached marshalers with unified basic type marshaler
7457 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
7458 unifies functions, vfuncs, signals, and property marshaling for
7459 "basic types". Remove all the individual cached arg marshalers
7462 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7464 gi/pygi-argument.c | 104 +++++++++++------------------------
7465 gi/pygi-argument.h | 4 ++
7466 gi/pygi-cache.c | 114 +++++++-------------------------------
7467 gi/pygi-marshal-to-py.c | 142
7468 ++++--------------------------------------------
7469 gi/pygi-marshal-to-py.h | 48 ++--------------
7470 5 files changed, 73 insertions(+), 339 deletions(-)
7472 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
7473 Author: Simon Feltman <sfeltman@src.gnome.org>
7474 Date: Fri Jul 19 18:00:40 2013 -0700
7476 Move to Python basic type marshaling out of _pygi_argument_to_object
7478 Move the marshaling of GI arguments to Python objects for basic types
7479 into a new function. The required information for this marshaler
7480 is a GITypeTag and GITransfer. Argument marshaling matching these
7481 requirments are now found in: _pygi_argument_to_object_basic_type.
7482 The new marshaler can be used with a generic argument cache marshaler
7483 to unify all of the "basic type" marshaling.
7485 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7487 gi/pygi-argument.c | 86
7488 +++++++++++++++++++++++++++++++++++++++---------------
7489 1 file changed, 63 insertions(+), 23 deletions(-)
7491 commit dd43a1e19440dbe025451d2e4e07a6074086498d
7492 Author: Simon Feltman <sfeltman@src.gnome.org>
7493 Date: Sat Jul 6 14:16:36 2013 -0700
7495 Override GValue.set/get_boxed with static C marshaler
7497 Override boxed type get/set methods on GValue to use the static C
7498 GValue marshaler. This works around the inability of the introspection
7499 version of these methods to know what the held GValue type is.
7500 With this, all boxed types will now marshal properly with GValues as
7503 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7505 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
7506 gi/overrides/GObject.py | 9 +++++++++
7507 2 files changed, 47 insertions(+)
7509 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
7510 Author: Simon Feltman <sfeltman@src.gnome.org>
7511 Date: Sat Jul 6 14:10:20 2013 -0700
7513 Refactor pyg_value_from_pyobject into two functions
7515 Break pyg_value_from_pyobject into two functions. One which keeps
7516 Python exceptions queued (pyg_value_from_pyobject_with_error) and
7517 one which clears them (pyg_value_from_pyobject). This allows for
7518 re-use for code which want to keep the errors around
7520 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7522 gi/_gobject/gobjectmodule.c | 4 ++-
7523 gi/_gobject/pygobject-private.h | 1 +
7524 gi/_gobject/pygobject.h | 2 ++
7525 gi/_gobject/pygtype.c | 67
7526 ++++++++++++++++++++++++++++++++---------
7527 4 files changed, 59 insertions(+), 15 deletions(-)
7529 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
7530 Author: Simon Feltman <sfeltman@src.gnome.org>
7531 Date: Sat Jul 6 20:41:19 2013 -0700
7533 Fix indentation for pyg_value_from_pyobject
7535 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7537 gi/_gobject/pygtype.c | 744
7538 +++++++++++++++++++++++++-------------------------
7539 1 file changed, 372 insertions(+), 372 deletions(-)
7541 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
7542 Author: Simon Feltman <sfeltman@src.gnome.org>
7543 Date: Sat Jul 6 13:32:39 2013 -0700
7545 Add deprecation warning for marshaling arbitrary objects as pointers
7547 Add deprecation warning for marshaling arbitrary objects to/from void
7548 pointers with the exception of integers, PyCapsules, and None.
7550 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7552 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
7553 gi/pygi-marshal-to-py.c | 10 ++++++++--
7554 2 files changed, 24 insertions(+), 3 deletions(-)
7556 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
7557 Author: Simon Feltman <sfeltman@src.gnome.org>
7558 Date: Sat Jul 6 13:34:53 2013 -0700
7560 Move PyGIDeprecationWarning to C for shared Python/C usage
7562 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7564 gi/__init__.py | 19 ++++---------------
7565 gi/gimodule.c | 18 ++++++++++++++++++
7567 3 files changed, 24 insertions(+), 15 deletions(-)
7569 commit 90427107af36ea3c624b36967ee181ed13b9828f
7570 Author: Simon Feltman <sfeltman@src.gnome.org>
7571 Date: Thu Jul 18 14:59:55 2013 -0700
7573 Replace usage of __import__ with importlib.import_module
7575 https://bugzilla.gnome.org/show_bug.cgi?id=682320
7577 gi/module.py | 8 ++++----
7578 1 file changed, 4 insertions(+), 4 deletions(-)
7580 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
7581 Author: Mike Gorse <mgorse@suse.com>
7582 Date: Wed Jul 10 16:44:23 2013 -0500
7584 Always unref the GiTypeInfo when generating an argument cache
7586 We were leaking a GiTypeInfo when handling child arguments.
7588 https://bugzilla.gnome.org/show_bug.cgi?id=703973
7590 gi/pygi-cache.c | 1 +
7591 1 file changed, 1 insertion(+)
7593 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
7594 Author: Mike Gorse <mgorse@suse.com>
7595 Date: Wed Jul 10 12:10:16 2013 -0500
7597 Unref interface info when fetching enums or flags
7599 When calling g_type_info_get_interface, the resulting interface should
7600 be dereferenced by calling g_base_info_unref.
7602 https://bugzilla.gnome.org/show_bug.cgi?id=703960
7604 gi/pygi-marshal-from-py.c | 8 +++++++-
7605 gi/pygi-marshal-to-py.c | 3 +++
7606 2 files changed, 10 insertions(+), 1 deletion(-)
7608 commit a93755ddba9a1761b627583d7b9be63783c2c063
7609 Author: Daniel Drake <dsd@laptop.org>
7610 Date: Tue Jul 9 13:03:36 2013 -0600
7612 Speed up MRO calculation
7614 Optimize gi.type.mro() with the following observations and tricks:
7616 1. Python prepares all the base classes before trying to calculate the
7617 MRO of the current one (it first needs to populate __bases__, for
7618 example). So we can assume that the base class MRO is already
7620 in __mro__ and this will have been previously calculated (by us,
7622 case of gi classes). This avoids repeating a lot of MRO-calculating
7624 and also avoids (re)calculating MROs for inheritance chains
7626 have any gi classes in them anyway.
7628 2. With that simplification in place, we can avoid recursion, which
7630 all that great in Python...
7632 3. ...except in the uncommon case of a Python2 old-style classes,
7634 __mro__ is not available. There doesn't seem to be any existing
7635 function to calculate or read MRO of old-style python classes,
7637 keep doing as before: calculate the C3 MRO of the old-style
7639 recursion. That behaviour is not really correct, and the
7641 not desirable, so we print a warning here.
7643 This makes the "hello world" Sugar app start up approximately
7647 https://bugzilla.gnome.org/show_bug.cgi?id=703829
7649 gi/types.py | 30 +++++++++++++++++++++++++++---
7650 tests/test_gi.py | 16 ++++++++++++----
7651 2 files changed, 39 insertions(+), 7 deletions(-)
7653 commit 7aca95781fc76f3e820e63325ccc07d128a60075
7654 Author: Daniel Drake <dsd@laptop.org>
7655 Date: Wed Jul 10 10:45:47 2013 -0600
7657 tests: Add tests for MRO override
7659 Add tests for the MRO override to prevent against unintended
7662 https://bugzilla.gnome.org/show_bug.cgi?id=703829
7664 tests/test_gi.py | 66
7665 ++++++++++++++++++++++++++++++++++++++++++--------------
7666 1 file changed, 50 insertions(+), 16 deletions(-)
7668 commit a15333a36e31b76ea6b80251553840269ec5deb1
7669 Author: Simon Feltman <sfeltman@src.gnome.org>
7670 Date: Sat Jul 6 13:34:13 2013 -0700
7672 Add GIL safety to pyobject_copy for copying boxed PyObjects
7674 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7676 gi/_gobject/pygobject.c | 3 +++
7677 1 file changed, 3 insertions(+)
7679 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
7680 Author: Simon Feltman <sfeltman@src.gnome.org>
7681 Date: Sat Jul 6 09:48:35 2013 -0700
7683 testhelper: Fix import requirement for GObject
7685 Replace the importing of gi._gobject._gobject with
7686 gi.repository.GObject
7687 in tests/testhelpermodule.c
7689 The testhelper module was only importing the static bindings
7690 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
7691 This was causing some tests to fail when test_thread was the first
7692 test to run in the suite due to it registering new types based on
7695 https://bugzilla.gnome.org/show_bug.cgi?id=703647
7697 tests/testhelpermodule.c | 2 +-
7698 1 file changed, 1 insertion(+), 1 deletion(-)
7700 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
7701 Author: Simon Feltman <sfeltman@src.gnome.org>
7702 Date: Wed Jul 3 05:26:12 2013 -0700
7704 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
7706 Replace assertion for this case with a simple marshalling of the
7707 pointer value to a Python int. While not particularly useful
7708 this allows some callbacks in WebKit to function without causing
7711 https://bugzilla.gnome.org/show_bug.cgi?id=694233
7713 gi/pygi-argument.c | 4 ++--
7714 1 file changed, 2 insertions(+), 2 deletions(-)
7716 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
7717 Author: Cole Robinson <crobinso@redhat.com>
7718 Date: Sat Feb 16 17:26:43 2013 -0500
7720 GTK overrides: Make connect_signals handle tuple
7722 This is used for passing extra arguments to callbacks during
7723 signal emission in the form of:
7724 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
7726 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
7728 https://bugzilla.gnome.org/show_bug.cgi?id=693994
7730 gi/overrides/Gtk.py | 51 ++++++++----
7731 tests/test_overrides_gtk.py | 196
7732 +++++++++++++++++++++++++++++---------------
7733 2 files changed, 165 insertions(+), 82 deletions(-)
7735 commit 466567373289e6f141709f08efa80ba588d3d64a
7736 Author: Simon Feltman <sfeltman@src.gnome.org>
7737 Date: Tue Jul 2 18:06:01 2013 -0700
7739 Re-add support for passing GValue's by reference
7741 Fix special casing when marshaling from a Python held GValue
7742 to a GValue argument intended for a function call.
7743 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
7744 broke this by always making a copy of the GValue. This removed the
7745 ability to retrieve values with functions like
7746 gtk_style_context_get_style_property.
7748 https://bugzilla.gnome.org/show_bug.cgi?id=701058
7750 gi/pygi-argument.c | 2 +-
7751 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
7752 2 files changed, 16 insertions(+), 18 deletions(-)
7754 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
7755 Author: Simon Feltman <sfeltman@src.gnome.org>
7756 Date: Tue Jul 2 19:20:04 2013 -0700
7758 tests: Add test for pass-by-reference GValue
7760 https://bugzilla.gnome.org/show_bug.cgi?id=701058
7762 tests/test_gi.py | 7 +++++++
7763 1 file changed, 7 insertions(+)
7765 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
7766 Author: Simon Feltman <sfeltman@src.gnome.org>
7767 Date: Tue Jul 2 23:02:17 2013 -0700
7769 Clear return value of closures to zero when an exception occures
7771 For return types other than void, set the ffi closure return argument
7772 to 0 when a Python exception occures. This a good default in general
7773 but also has the side affect of fixing failing idle callbacks
7774 by causing them to be removed from main loops (after their stack
7777 https://bugzilla.gnome.org/show_bug.cgi?id=702552
7779 gi/pygi-closure.c | 14 ++++++++++++++
7780 tests/test_gi.py | 8 ++++++++
7781 2 files changed, 22 insertions(+)
7783 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
7784 Author: Martin Pitt <martinpitt@gnome.org>
7785 Date: Wed Jul 3 10:40:28 2013 +0200
7787 Don't use doctest syntax in docstrings for examples
7789 These are not actual doctests, so don't use the >>> syntax there. Just
7793 This fixes pyflakes 0.7 failures.
7795 https://bugzilla.gnome.org/show_bug.cgi?id=701009
7797 gi/_gobject/propertyhelper.py | 11 +++++------
7798 gi/overrides/GObject.py | 8 ++++----
7799 gi/overrides/Gtk.py | 2 +-
7800 3 files changed, 10 insertions(+), 11 deletions(-)
7802 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
7803 Author: Garrett Regier <garrettregier@gmail.com>
7804 Date: Tue Jul 2 06:07:15 2013 -0700
7806 Add support for properties of type GInterface
7808 Add support for G_TYPE_INTERFACE/GInterface to switch
7809 statement which handles G_TYPE_OBJECT based properties.
7811 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7813 https://bugzilla.gnome.org/show_bug.cgi?id=703456
7815 gi/_gobject/gobjectmodule.c | 1 +
7816 gi/_gobject/propertyhelper.py | 3 ++-
7817 tests/test_properties.py | 16 ++++++++++++++++
7818 3 files changed, 19 insertions(+), 1 deletion(-)
7820 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
7821 Author: Martin Pitt <martinpitt@gnome.org>
7822 Date: Fri Jun 21 07:27:48 2013 +0200
7824 pygtkcompat: Fix for missing methods on Windows
7826 Deal with non-existing Gtk.Clipboard.get() and
7827 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
7829 https://bugzilla.gnome.org/show_bug.cgi?id=702787
7831 pygtkcompat/pygtkcompat.py | 10 ++++++++--
7832 1 file changed, 8 insertions(+), 2 deletions(-)
7834 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
7835 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7836 Date: Fri Jun 21 12:32:33 2013 +0800
7838 gi/pygi-info.c: Avoid C99-style variable declaration
7840 https://bugzilla.gnome.org/show_bug.cgi?id=702786
7842 gi/pygi-info.c | 3 ++-
7843 1 file changed, 2 insertions(+), 1 deletion(-)
7845 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
7846 Author: Martin Pitt <martinpitt@gnome.org>
7847 Date: Wed May 29 11:20:35 2013 +0200
7849 GLib overrides: fix typo in deprecation message
7851 Spotted by Dmitrijs Ledkovs, thanks!
7853 gi/overrides/GLib.py | 2 +-
7854 1 file changed, 1 insertion(+), 1 deletion(-)
7856 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
7857 Author: Martin Pitt <martinpitt@gnome.org>
7858 Date: Tue May 28 17:57:20 2013 +0200
7860 configure.ac: post-release version bump to 3.9.3
7863 1 file changed, 1 insertion(+), 1 deletion(-)
7865 commit 10f703189ed6a7104252907d1b1a114f26d79559
7866 Author: Martin Pitt <martinpitt@gnome.org>
7867 Date: Tue May 28 17:56:07 2013 +0200
7871 NEWS | 15 +++++++++++++++
7872 1 file changed, 15 insertions(+)
7874 commit af8d048442b924c72a1d0ae868ee63ccf292759d
7875 Author: Martin Pitt <martinpitt@gnome.org>
7876 Date: Fri May 24 13:03:07 2013 +0200
7878 examples/option.py: Port to GI and Python 3
7880 examples/option.py | 38 +++++++++++++++++++-------------------
7881 1 file changed, 19 insertions(+), 19 deletions(-)
7883 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
7884 Author: Simon Feltman <sfeltman@src.gnome.org>
7885 Date: Sun May 12 18:58:06 2013 -0700
7887 Fix vfunc info search for classes with multiple inheritance
7889 Ensure the search for vfunc GI info continues recursively even if the
7890 current class being looked at does not contain GI info of type
7891 InterfaceInfo. This more exhaustive search is needed for setups with
7892 multiple sub-classes and multiple inheritance.
7894 https://bugzilla.gnome.org/show_bug.cgi?id=700092
7896 gi/types.py | 12 +++++++-----
7897 tests/test_gi.py | 1 -
7898 2 files changed, 7 insertions(+), 6 deletions(-)
7900 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
7901 Author: Simon Feltman <sfeltman@src.gnome.org>
7902 Date: Sun May 12 22:19:38 2013 -0700
7904 Fix closure argument conversion for enum and flag in args
7906 Replace incorrect cast and assignment of double with uint for flags
7909 gi/pygi-closure.c | 2 +-
7910 1 file changed, 1 insertion(+), 1 deletion(-)
7912 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
7913 Author: Simon Feltman <sfeltman@src.gnome.org>
7914 Date: Sat May 11 21:47:54 2013 -0700
7916 tests: Add tests for overriding vfunc implementations
7918 Add tests for overriding vfuncs for both single inheritance
7919 and multiple inheritance with an interface (currently failing).
7921 https://bugzilla.gnome.org/show_bug.cgi?id=700092
7923 tests/test_gi.py | 23 +++++++++++++++++++++++
7924 1 file changed, 23 insertions(+)
7926 commit c4e1112840004af264b4f2a052f333ea38f95cb6
7927 Author: Simon Feltman <sfeltman@src.gnome.org>
7928 Date: Sat May 11 20:28:22 2013 -0700
7930 Fix marshaling Python to FFI return value for enum and flags
7932 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
7934 assignment of arg.v_pointer to the ffi return arg.
7936 gi/pygi-closure.c | 1 +
7937 1 file changed, 1 insertion(+)
7939 commit a703217eaf4075e9720d4247351e1dfc4f553772
7940 Author: Simon Feltman <sfeltman@src.gnome.org>
7941 Date: Fri Apr 19 06:37:24 2013 -0700
7943 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
7945 Remove half implemented GC tracking from PyGIBaseInfo as it was not
7946 needed (the implemented was also missing usage of
7947 PyObject_GC_New/Track).
7948 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
7951 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
7952 for both PyGIStruct and PyGIBoxed as these types were not being
7953 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
7955 https://bugzilla.gnome.org/show_bug.cgi?id=677091
7957 gi/pygi-boxed.c | 4 ----
7958 gi/pygi-info.c | 20 +++++---------------
7959 gi/pygi-struct.c | 4 ----
7960 3 files changed, 5 insertions(+), 23 deletions(-)
7962 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
7963 Author: Simon Feltman <sfeltman@src.gnome.org>
7964 Date: Fri May 3 02:00:07 2013 -0700
7966 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
7968 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
7969 of Py_BEGIN_ALLOW_THREADS.
7971 https://bugzilla.gnome.org/show_bug.cgi?id=699440
7973 gi/_glib/pyglib.h | 4 ----
7974 gi/_glib/pygoptioncontext.c | 4 ++--
7975 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
7976 gi/gimodule.c | 4 ++--
7977 gi/pygi-invoke.c | 4 ++--
7978 5 files changed, 22 insertions(+), 27 deletions(-)
7980 commit c9e95663d05de98a9abd3d1479554b1f09753382
7981 Author: Simon Feltman <sfeltman@src.gnome.org>
7982 Date: Thu May 2 03:57:05 2013 -0700
7984 Remove and deprecate API for setting of thread blocking functions
7986 Remove pyglib_set_thread_block_funcs and deprecate
7987 pyg_set_thread_block_funcs.
7988 The thread block function APIs are no longer be neccessary because
7990 can use the Python C API directly when working with threads.
7992 https://bugzilla.gnome.org/show_bug.cgi?id=699440
7994 gi/_glib/pyglib.c | 41 -----------------------------------
7995 gi/_glib/pyglib.h | 9 ++++----
7996 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
7997 gi/_gobject/pygobject-private.h | 33 ----------------------------
7998 gi/_gobject/pygobject.h | 48
7999 ++++++++++++++++++++---------------------
8000 gi/gimodule.c | 15 +++++++------
8001 6 files changed, 46 insertions(+), 125 deletions(-)
8003 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
8004 Author: Martin Pitt <martinpitt@gnome.org>
8005 Date: Tue Apr 30 11:51:05 2013 -0700
8007 configure.ac: Post-release bump to 3.9.2
8010 1 file changed, 1 insertion(+), 1 deletion(-)
8012 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
8013 Author: Martin Pitt <martinpitt@gnome.org>
8014 Date: Tue Apr 30 11:49:03 2013 -0700
8018 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
8019 1 file changed, 49 insertions(+)
8021 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
8022 Author: Simon Feltman <sfeltman@src.gnome.org>
8023 Date: Sun Apr 28 19:59:35 2013 -0700
8025 gtk-demo: Wrap description strings at 80 characters
8027 Wrap trailing demo description strings so they are easier to read
8028 in a programming editor. The gtk-demo itself re-wraps this using
8029 textwrap and the Gtk.TextView dynamic wrapping.
8031 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8033 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
8034 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
8035 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
8036 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
8037 demos/gtk-demo/demos/images.py | 6 ++++--
8038 demos/gtk-demo/demos/menus.py | 20
8039 ++++++++++++++++----
8040 demos/gtk-demo/demos/pickers.py | 4 ++--
8041 demos/gtk-demo/demos/pixbuf.py | 5 +++--
8042 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
8043 9 files changed, 43 insertions(+), 22 deletions(-)
8045 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
8046 Author: Simon Feltman <sfeltman@src.gnome.org>
8047 Date: Sat Apr 27 22:30:35 2013 -0700
8049 gtk-demo: Use textwrap to reformat description for Gtk.TextView
8051 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8053 demos/gtk-demo/gtk-demo.py | 8 +++++++-
8054 1 file changed, 7 insertions(+), 1 deletion(-)
8056 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
8057 Author: Simon Feltman <sfeltman@src.gnome.org>
8058 Date: Sat Apr 27 21:58:28 2013 -0700
8060 gtk-demo: Use GtkSource.View for showing source code
8062 Replace manual syntax highlighting of Gtk.TextView with usage of
8063 GtkSource.View when available. Fall back to TextView with no
8064 hightlighting when GtkSource is not available.
8066 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8068 demos/gtk-demo/gtk-demo.py | 170
8069 ++++++++++++---------------------------------
8070 1 file changed, 44 insertions(+), 126 deletions(-)
8072 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
8073 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
8074 Date: Sun Apr 28 01:40:34 2013 -0500
8076 Use correct class for GtkEditable's get_selection_bounds() function
8078 https://bugzilla.gnome.org/show_bug.cgi?id=699096
8080 gi/overrides/Gtk.py | 2 +-
8081 1 file changed, 1 insertion(+), 1 deletion(-)
8083 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
8084 Author: Simon Feltman <sfeltman@src.gnome.org>
8085 Date: Thu Apr 25 05:27:35 2013 -0700
8087 Test results of g_base_info_get_name for NULL
8089 Block against potential NULL result when generating type hint with
8090 _g_arg_get_pytype_hint.
8092 https://bugzilla.gnome.org/show_bug.cgi?id=698829
8094 gi/pygi-info.c | 12 ++++++++++--
8095 1 file changed, 10 insertions(+), 2 deletions(-)
8097 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
8098 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8099 Date: Sun Apr 21 19:09:59 2013 -0300
8101 Remove g_type_init conditional call
8103 It's deprecated in the glib version we depend on.
8105 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8107 gi/_gobject/gobjectmodule.c | 3 ---
8108 1 file changed, 3 deletions(-)
8110 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
8111 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8112 Date: Sat Mar 30 20:59:44 2013 -0300
8114 Update deps versions also in README
8116 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
8119 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8122 1 file changed, 2 insertions(+), 2 deletions(-)
8124 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
8125 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8126 Date: Sat Mar 30 20:50:35 2013 -0300
8128 Drop compat code for old python version
8130 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8132 gi/_glib/pyglib-python-compat.h | 12 ------------
8133 1 file changed, 12 deletions(-)
8135 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
8136 Author: Niklas Koep <niklas.koep@gmail.com>
8137 Date: Thu Apr 25 06:14:12 2013 +0200
8139 Remove duplicate call to _gi.Repository.require()
8141 repository.require() was called twice in IntrospectionModule's
8144 https://bugzilla.gnome.org/show_bug.cgi?id=698797
8147 1 file changed, 1 deletion(-)
8149 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
8150 Author: Johan Dahlin <johan@gnome.org>
8151 Date: Mon Oct 1 03:02:10 2012 -0700
8153 Add ObjectInfo.get_class_struct()
8155 https://bugzilla.gnome.org/show_bug.cgi?id=685218
8157 gi/pygi-info.c | 15 +++++++++++++++
8158 tests/test_gi.py | 4 ++++
8159 2 files changed, 19 insertions(+)
8161 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
8162 Author: Simon Feltman <sfeltman@src.gnome.org>
8163 Date: Mon Apr 22 03:43:23 2013 -0700
8165 Change interpretation of NULL pointer field from None to 0
8167 The usage of 0 is needed because these fields should generally
8168 be used to store integer indices or hashes, not necessarily
8169 pointers to actual data.
8171 https://bugzilla.gnome.org/show_bug.cgi?id=698366
8173 gi/pygi-argument.c | 11 +----------
8174 tests/test_everything.py | 5 +++--
8175 2 files changed, 4 insertions(+), 12 deletions(-)
8177 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
8178 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
8179 Date: Fri Mar 8 08:25:58 2013 +0330
8181 Do not build tests until needed
8183 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
8185 https://bugzilla.gnome.org/show_bug.cgi?id=698444
8187 tests/Makefile.am | 12 ++++++------
8188 1 file changed, 6 insertions(+), 6 deletions(-)
8190 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
8191 Author: Kai Willadsen <kai.willadsen@gmail.com>
8192 Date: Sun Apr 14 15:16:40 2013 +1000
8194 pygi-convert: Support toolbar styles
8196 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8198 pygi-convert.sh | 1 +
8199 1 file changed, 1 insertion(+)
8201 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
8202 Author: Kai Willadsen <kai.willadsen@gmail.com>
8203 Date: Sun Apr 14 10:54:04 2013 +1000
8205 pygi-convert: Support new-style constructors for Gio.File
8207 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8209 pygi-convert.sh | 2 ++
8210 1 file changed, 2 insertions(+)
8212 commit 1e8120992dc103ac817351be3c150e6cb25f719f
8213 Author: Kai Willadsen <kai.willadsen@gmail.com>
8214 Date: Sun Apr 14 10:22:55 2013 +1000
8216 pygi-convert: Add some support for recent manager constructs
8218 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8220 pygi-convert.sh | 3 +++
8221 1 file changed, 3 insertions(+)
8223 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
8224 Author: Kai Willadsen <kai.willadsen@gmail.com>
8225 Date: Sun Apr 14 07:37:24 2013 +1000
8227 pygi-convert: Check for double quote in require statement
8229 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8231 pygi-convert.sh | 1 +
8232 1 file changed, 1 insertion(+)
8234 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
8235 Author: Kai Willadsen <kai.willadsen@gmail.com>
8236 Date: Sun Apr 14 07:37:00 2013 +1000
8238 pygi-convert: Don't transform arbitrary keysym imports
8240 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8242 pygi-convert.sh | 2 +-
8243 1 file changed, 1 insertion(+), 1 deletion(-)
8245 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
8246 Author: Simon Feltman <sfeltman@src.gnome.org>
8247 Date: Thu Apr 11 04:09:59 2013 -0700
8249 Remove Python keyword escapement in Repository.find_by_name
8251 Strip trailing underscore from module level items before
8252 calling g_irepository_find_by_name. This fixes a problem
8253 with GI module level items having the same name as a Python
8254 keyword raising an AttributeError during access (Pango.break_).
8256 https://bugzilla.gnome.org/show_bug.cgi?id=697363
8258 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
8259 gi/pygi-info.h | 2 ++
8260 gi/pygi-repository.c | 16 ++++++++++++++++
8261 tests/test_overrides_pango.py | 5 +++++
8262 4 files changed, 45 insertions(+), 10 deletions(-)
8264 commit c07404461b126206e369270b56e613f81369c70a
8265 Author: Daniel Drake <dsd@laptop.org>
8266 Date: Mon Mar 18 16:08:09 2013 -0600
8268 Optimize signal lookup in gi repository
8270 Now that we have GSignalQuery results available to us when connecting
8271 signals, we already know which GType implements the signal in
8274 Therefore there is no need to traverse the class parent hierarchy
8275 looking for this, which takes a considerable amount of CPU time.
8277 There is also no need to canonicalize the signal name; both before
8278 and after this patch, by the time we reach this point we have already
8279 successfully looked up the signal name as presented from Python.
8281 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8283 gi/_gobject/pygobject.c | 5 ++--
8284 gi/pygi-signal-closure.c | 59
8285 +++++++++++++-----------------------------------
8286 gi/pygi-signal-closure.h | 1 +
8288 4 files changed, 23 insertions(+), 46 deletions(-)
8290 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
8291 Author: Daniel Drake <dsd@laptop.org>
8292 Date: Mon Mar 18 15:38:19 2013 -0600
8294 Optimize connection of Python-implemented signals
8296 Like properties, when working with signals we must detect if the
8297 signal is implemented in a Python class or if it originates from the
8298 gi repository, and act accordingly.
8300 Asking the gi repository if it can find a signal that is implemented
8301 in a Python class (it can't) takes a considerable amount of CPU time.
8303 Use g_signal_query() to find out which GType implements the signal.
8304 Then perform a simple test to see if this type is implemented at the
8305 Python level, allowing us to to skip the GI querying in this case.
8307 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8309 gi/_gobject/pygobject.c | 19 +++++++++++++++----
8310 1 file changed, 15 insertions(+), 4 deletions(-)
8312 commit e91b35d72f93678a79623347dce271148d57046f
8313 Author: Daniel Drake <dsd@laptop.org>
8314 Date: Mon Mar 18 15:24:52 2013 -0600
8316 Consolidate signal connection code
8318 This code was repeated 4 times with very little variance;
8319 consolidate it and add simple tests to ensure basic coverage.
8321 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8323 gi/_gobject/pygobject.c | 129
8324 +++++++++++++++--------------------------------
8325 tests/test_everything.py | 33 ++++++++++++
8326 2 files changed, 74 insertions(+), 88 deletions(-)
8328 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
8329 Author: Daniel Drake <dsd@laptop.org>
8330 Date: Mon Mar 18 15:11:16 2013 -0600
8332 Fix setting of struct property values
8334 "goto out" in this context means that an error occurred, but this
8335 particular instance was sitting in the "good" codepath.
8337 Fixes setting of struct property values.
8339 gi/pygi-property.c | 3 ++-
8340 1 file changed, 2 insertions(+), 1 deletion(-)
8342 commit 8981ea0422c6837d488311dafe8937593372e736
8343 Author: Daniel Drake <dsd@laptop.org>
8344 Date: Mon Mar 18 14:25:45 2013 -0600
8346 Optimize property get/set when using GObject.props
8348 Skip GI repository lookup for properties defined on Python
8349 defined GObject types.
8351 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8353 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8355 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
8356 1 file changed, 19 insertions(+), 18 deletions(-)
8358 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
8359 Author: Christoph Reiter <reiter.christoph@gmail.com>
8360 Date: Sat Apr 13 17:28:26 2013 +0200
8362 configure.ac: Fix PYTHON_SO with Python3.3
8364 https://bugzilla.gnome.org/show_bug.cgi?id=696646
8366 configure.ac | 5 ++++-
8367 1 file changed, 4 insertions(+), 1 deletion(-)
8369 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
8370 Author: Daniel Drake <dsd@laptop.org>
8371 Date: Mon Mar 18 14:13:37 2013 -0600
8373 Simplify registration of custom types
8375 Use custom quark data to track Python created GTypes.
8377 Remove previous mechanism to track registration of python-implemented
8378 GTypes as it was unused (no custom registration was ever tracked).
8380 Leave vtable pointer and set to NULL to avoid an ABI break.
8382 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8384 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8386 gi/_gobject/gobjectmodule.c | 11 +++++--
8387 gi/_gobject/pygobject-private.h | 8 ++---
8388 gi/_gobject/pygobject.c | 8 ++---
8389 gi/_gobject/pygobject.h | 9 +++---
8390 gi/_gobject/pygtype.c | 69
8391 +++--------------------------------------
8392 5 files changed, 22 insertions(+), 83 deletions(-)
8394 commit 50702a09344825e3a8aa54365d78de807f989d88
8395 Author: Christoph Reiter <reiter.christoph@gmail.com>
8396 Date: Sat Apr 13 16:04:17 2013 +0200
8398 pygi-convert.sh: Add GStreamer rules
8400 https://bugzilla.gnome.org/show_bug.cgi?id=697951
8402 pygi-convert.sh | 17 +++++++++++++++++
8403 1 file changed, 17 insertions(+)
8405 commit b289176e6b37cb2825bd555cea019b85b68d5c57
8406 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
8407 Date: Sun Mar 10 15:04:40 2013 +0200
8409 pygi-convert: Add rule for TreeModelFlags
8411 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8413 pygi-convert.sh | 1 +
8414 1 file changed, 1 insertion(+)
8416 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
8417 Author: Simon Feltman <sfeltman@src.gnome.org>
8418 Date: Fri Mar 29 03:20:44 2013 -0700
8420 Unify interface struct to Python GI marshaling code
8422 Add pygi_marshal_to_py_interface_struct used for direct gi method
8423 call out args and vfunc in args.
8425 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8427 gi/pygi-argument.c | 72 ++++++-------------------------
8428 gi/pygi-marshal-to-py.c | 112
8429 +++++++++++++++++++++++++++++-------------------
8430 gi/pygi-marshal-to-py.h | 8 ++++
8431 3 files changed, 91 insertions(+), 101 deletions(-)
8433 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
8434 Author: Simon Feltman <sfeltman@src.gnome.org>
8435 Date: Thu Mar 28 22:41:51 2013 -0700
8437 Unify Python interface struct to GI marshaling code
8439 Add pygi_marshal_from_py_interface_struct used for direct gi method
8440 call in args and vfunc out args.
8442 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8444 gi/pygi-argument.c | 75 +++++++--------------
8445 gi/pygi-cache.c | 12 +---
8446 gi/pygi-marshal-from-py.c | 167
8447 +++++++++++++++++++++++++++++-----------------
8448 gi/pygi-marshal-from-py.h | 11 +++
8449 4 files changed, 141 insertions(+), 124 deletions(-)
8451 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
8452 Author: Simon Feltman <sfeltman@src.gnome.org>
8453 Date: Thu Mar 28 06:17:15 2013 -0700
8455 Unify Python float and double to GI marshaling code
8457 Change _pygi_argument_from_object to use the cachers marshalers
8458 (_pygi_marshal_from_py_float/double) directly instead of keeping a
8460 Refactor _pygi_marshal_from_py_float/double to use a common utility
8461 _pygi_py_arg_to_double for initial error checking and conversion.
8463 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8465 gi/pygi-argument.c | 26 ++++----------------------
8466 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
8467 2 files changed, 24 insertions(+), 44 deletions(-)
8469 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
8470 Author: Simon Feltman <sfeltman@src.gnome.org>
8471 Date: Thu Mar 28 05:29:08 2013 -0700
8473 Unify filename to Python GI marshaling code
8475 Change _pygi_argument_to_object to use the cachers marshaler
8476 (_pygi_marshal_to_py_filename) directly instead of keeping a
8479 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8481 gi/pygi-argument.c | 22 ++--------------------
8482 gi/pygi-marshal-to-py.c | 6 ++----
8483 2 files changed, 4 insertions(+), 24 deletions(-)
8485 commit 54aa043d96deb02589e13042a46917405ca53780
8486 Author: Simon Feltman <sfeltman@src.gnome.org>
8487 Date: Thu Mar 28 05:20:00 2013 -0700
8489 Unify utf8 to Python GI marshaling code
8491 Change _pygi_argument_to_object to use the cachers marshaler
8492 (_pygi_marshal_to_py_utf8) directly instead of keeping a
8495 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8497 gi/pygi-argument.c | 11 ++++-------
8498 gi/pygi-marshal-to-py.c | 4 +---
8499 2 files changed, 5 insertions(+), 10 deletions(-)
8501 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
8502 Author: Simon Feltman <sfeltman@src.gnome.org>
8503 Date: Thu Mar 28 05:10:45 2013 -0700
8505 Unify unichar to Python GI marshaling code
8507 Change _pygi_argument_to_object to use the cachers marshaler
8508 (_pygi_marshal_to_py_unichar) directly instead of keeping a
8511 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8513 gi/pygi-argument.c | 19 ++-----------------
8514 1 file changed, 2 insertions(+), 17 deletions(-)
8516 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
8517 Author: Simon Feltman <sfeltman@src.gnome.org>
8518 Date: Sat Feb 16 19:49:59 2013 -0800
8520 Unify Python unicode to filename GI marshaling code
8522 Change _pygi_argument_from_object to use the cachers marshaler
8523 (_pygi_marshal_from_py_filename) directly instead of keeping a
8526 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8528 gi/pygi-argument.c | 30 ++----------------------------
8529 1 file changed, 2 insertions(+), 28 deletions(-)
8531 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
8532 Author: Simon Feltman <sfeltman@src.gnome.org>
8533 Date: Sat Feb 16 19:32:54 2013 -0800
8535 Unify Python unicode to utf8 GI marshaling code
8537 Change _pygi_argument_from_object to use the cachers marshaler
8538 (_pygi_marshal_from_py_utf8) directly instead of keeping a
8541 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8543 gi/pygi-argument.c | 32 ++------------------------------
8544 1 file changed, 2 insertions(+), 30 deletions(-)
8546 commit e253c73335fccabc61e0329f8528a90f79858c67
8547 Author: Simon Feltman <sfeltman@src.gnome.org>
8548 Date: Sat Feb 16 19:16:43 2013 -0800
8550 Unify Python unicode to unichar GI marshaling code
8552 Change _pygi_argument_from_object to use the cachers marshaler
8553 (_pygi_marshal_from_py_unichar) directly instead of keeping a
8556 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8558 gi/pygi-argument.c | 34 ++--------------------------------
8559 gi/pygi-marshal-from-py.c | 9 +++++++++
8560 2 files changed, 11 insertions(+), 32 deletions(-)
8562 commit 216caf590b262fed40d10bb34d020089d1197160
8563 Author: Simon Feltman <sfeltman@src.gnome.org>
8564 Date: Thu Apr 4 15:57:12 2013 -0700
8566 Fix enum and flags marshaling type assumptions
8568 Replace assignments of GFlags and GEnum values to various GIArgument
8569 members with v_uint and v_int respectively.
8571 gi/pygi-argument.c | 6 +++---
8572 gi/pygi-property.c | 4 ++--
8573 2 files changed, 5 insertions(+), 5 deletions(-)
8575 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
8576 Author: Christoph Reiter <reiter.christoph@gmail.com>
8577 Date: Thu Apr 4 10:08:38 2013 +0200
8579 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
8581 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
8583 m4/python.m4 | 4 ++--
8584 1 file changed, 2 insertions(+), 2 deletions(-)
8586 commit f82f755a0f419539c223e4a74e33145726c6e69f
8587 Author: Christoph Reiter <reiter.christoph@gmail.com>
8588 Date: Thu Apr 4 09:05:48 2013 +0200
8590 Use distutils.sysconfig to retrieve the python include path.
8592 https://bugzilla.gnome.org/show_bug.cgi?id=696648
8594 m4/python.m4 | 8 ++------
8595 1 file changed, 2 insertions(+), 6 deletions(-)
8597 commit cf81dd66e6387bf27122a71176e91ca39beb6519
8598 Author: Martin Pitt <martinpitt@gnome.org>
8599 Date: Thu Apr 4 06:47:56 2013 +0200
8601 Use g_strdup() consistently
8603 https://bugzilla.gnome.org/show_bug.cgi?id=696650
8605 gi/pygi-marshal-from-py.c | 2 +-
8606 1 file changed, 1 insertion(+), 1 deletion(-)
8608 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
8609 Author: Christoph Reiter <reiter.christoph@gmail.com>
8610 Date: Tue Mar 26 16:03:59 2013 +0100
8612 Support PEP 3149 (ABI version tagged .so files)
8614 Add a ABI suffix to the shared library retrieved from
8616 instead of hardcoding it. This should also make things more robust
8619 https://bugzilla.gnome.org/show_bug.cgi?id=696646
8621 configure.ac | 3 +++
8622 gi/Makefile.am | 14 +++++++-------
8623 gi/_glib/Makefile.am | 14 +++++++-------
8624 gi/_gobject/Makefile.am | 14 +++++++-------
8625 4 files changed, 24 insertions(+), 21 deletions(-)
8627 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
8628 Author: Simon Feltman <sfeltman@src.gnome.org>
8629 Date: Sun Mar 31 01:32:34 2013 -0700
8631 Fix stack corruption due to incorrect format for argument parser
8633 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
8634 of "l" meaning long (8 bytes) in combination with an output pointer
8635 of guint (4 bytes). Change to use gulong with a format of "k".
8637 https://bugzilla.gnome.org/show_bug.cgi?id=696892
8639 gi/_gobject/pygflags.c | 4 ++--
8640 1 file changed, 2 insertions(+), 2 deletions(-)
8642 commit 48e52210ece0e144b4c959e773ea542a912358e7
8643 Author: Simon Feltman <sfeltman@src.gnome.org>
8644 Date: Thu Mar 7 00:26:37 2013 -0800
8646 Deprecate GLib and GObject threads_init
8648 Remove a handful of Python threading related helper functions
8649 from pyglib and pygobject. The binding internals required
8650 GLib.threads_init to be called for PyGObject to work with
8651 Python threads. This was removed as it should not be a requirement.
8652 Using the Python threading module already initializes threading
8653 for us (PyEval_InitThreads).
8655 https://bugzilla.gnome.org/show_bug.cgi?id=686914
8657 gi/_glib/glibmodule.c | 16 --------
8658 gi/_glib/pyglib.c | 94
8659 ---------------------------------------------
8660 gi/_glib/pyglib.h | 28 +++++++-------
8661 gi/_gobject/gobjectmodule.c | 31 ++++-----------
8662 gi/overrides/GLib.py | 8 +++-
8663 gi/overrides/GObject.py | 2 +-
8664 6 files changed, 28 insertions(+), 151 deletions(-)
8666 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
8667 Author: Martin Pitt <martinpitt@gnome.org>
8668 Date: Mon Mar 25 09:03:51 2013 +0100
8670 Drop support for Python 2.6
8672 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
8674 this unblocks e. g. GNOME #682320.
8676 Drop usage of PyCObject_* (which has been superseded by PyCapsule
8678 and drop Python 2.6 specific workarounds.
8681 gi/_glib/pyglib-python-compat.h | 20 ------------------
8682 gi/_gobject/pygobject.h | 6 ------
8685 tests/runtests.py | 45
8686 +----------------------------------------
8687 tests/test_gobject.py | 1 -
8688 tests/test_signal.py | 4 ----
8689 8 files changed, 3 insertions(+), 81 deletions(-)
8691 commit 56347953abb1e214817186581eaf2b2d8762cf97
8692 Author: Martin Pitt <martinpitt@gnome.org>
8693 Date: Wed Oct 24 16:43:25 2012 +0200
8695 Remove static PollFD bindings
8697 Use the GLib API through GI instead, and provide an override to keep a
8698 backwards compatible constructor syntax.
8700 https://bugzilla.gnome.org/show_bug.cgi?id=686795
8702 gi/_glib/Makefile.am | 2 --
8703 gi/_glib/glibmodule.c | 2 --
8704 gi/_glib/pygsource.c | 98
8705 ---------------------------------------------------
8706 gi/_glib/pygsource.h | 36 -------------------
8707 gi/overrides/GLib.py | 17 +++++++--
8708 5 files changed, 15 insertions(+), 140 deletions(-)
8710 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
8711 Author: Martin Pitt <martinpitt@gnome.org>
8712 Date: Mon Mar 25 08:44:24 2013 +0100
8714 Drop test skipping due to too old g-i
8716 We depend on gobject-introspection 1.35.9 now, which has all this API.
8718 tests/test_gi.py | 24 ------------------------
8719 tests/test_object_marshaling.py | 14 --------------
8720 2 files changed, 38 deletions(-)
8722 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
8723 Author: Martin Pitt <martinpitt@gnome.org>
8724 Date: Mon Mar 25 08:37:37 2013 +0100
8726 Bump glib and g-i dependencies
8728 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
8730 versions. This allows us to drop the conditional test suite skips
8732 static PollFD bindings.
8734 configure.ac | 6 +++---
8735 1 file changed, 3 insertions(+), 3 deletions(-)
8737 commit 252556d044322207429c0d0c269365f48e4d819a
8738 Author: Martin Pitt <martinpitt@gnome.org>
8739 Date: Mon Mar 25 08:43:53 2013 +0100
8741 configure.ac: post-release version bump to 3.9.1
8743 configure.ac | 4 ++--
8744 1 file changed, 2 insertions(+), 2 deletions(-)
8746 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
8747 Author: Martin Pitt <martinpitt@gnome.org>
8748 Date: Mon Mar 25 08:12:10 2013 +0100
8753 1 file changed, 4 insertions(+)
8755 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
8756 Author: Simon Feltman <sfeltman@src.gnome.org>
8757 Date: Wed Mar 20 23:45:01 2013 -0700
8759 tests: Fix incorrect assumption when testing pyglib version
8761 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
8762 value that can be used for a future proof unittest here.
8764 tests/test_glib.py | 4 ++--
8765 1 file changed, 2 insertions(+), 2 deletions(-)
8767 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
8768 Author: Martin Pitt <martinpitt@gnome.org>
8769 Date: Mon Mar 18 14:02:29 2013 +0100
8771 configure.ac: post-release bump to 3.8.0
8773 configure.ac | 4 ++--
8774 1 file changed, 2 insertions(+), 2 deletions(-)
8776 commit defbd63e95faafaa84230f160bc95dad0f55e37d
8777 Author: Martin Pitt <martinpitt@gnome.org>
8778 Date: Mon Mar 18 14:01:05 2013 +0100
8782 NEWS | 18 ++++++++++++++++++
8783 1 file changed, 18 insertions(+)
8785 commit a0844a896603c5c91bed24cf94106765f0ced74e
8786 Author: Simon Feltman <sfeltman@src.gnome.org>
8787 Date: Sun Mar 17 23:22:38 2013 -0700
8789 Fix stack smasher when marshaling enums as a vfunc return value
8791 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
8792 flag types. Default interfaces to marshal as a pointer.
8793 Add explicit cases for GType and Unichar out/return marshaling.
8794 Fix leaking of GIBaseInfo when marshaling interface as out arg.
8796 https://bugzilla.gnome.org/show_bug.cgi?id=637832
8798 gi/pygi-closure.c | 69
8799 ++++++++++++++++++++++++++++++++++++++++++++++---------
8800 tests/test_gi.py | 19 +++++++++++++++
8801 2 files changed, 77 insertions(+), 11 deletions(-)
8803 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
8804 Author: Simon Feltman <sfeltman@src.gnome.org>
8805 Date: Sun Mar 17 15:37:09 2013 -0700
8807 Change base class of PyGIDeprecationWarning based on minor version
8809 Use RuntimeWarning as the base class of PyGIDeprecationWarning
8810 for unstable (odd minor version) and use DeprecationWarning for
8811 stable (even minor version). This is so PyGObject deprecations
8812 behave the same as regular Python deprecations in stable releases.
8814 https://bugzilla.gnome.org/show_bug.cgi?id=696011
8816 gi/__init__.py | 14 +++++++++++---
8817 1 file changed, 11 insertions(+), 3 deletions(-)
8819 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
8820 Author: Alban Browaeys <prahal@yahoo.com>
8821 Date: Thu Feb 28 18:57:21 2013 +0100
8823 autogen.sh: Source gnome-autogen to fix out of source builddir
8825 https://bugzilla.gnome.org/show_bug.cgi?id=694889
8828 1 file changed, 1 insertion(+), 1 deletion(-)
8830 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
8831 Author: Martin Pitt <martinpitt@gnome.org>
8832 Date: Tue Mar 5 12:22:15 2013 +0100
8834 Add 3.7.91.1 NEWS entry
8836 Forgot to push this back then.
8839 1 file changed, 3 insertions(+)
8841 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
8842 Author: Simon Feltman <sfeltman@src.gnome.org>
8843 Date: Sun Mar 17 04:19:57 2013 -0700
8845 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
8847 Make get_geometry return a tuple of (x, y, width, height, depth)
8848 as it did in pygtk 2.
8849 Update pygtkcompat.enable_gtk() to default to version 3.0 because
8850 version 2.0 core dumps trying to use introspection with gtk 2.
8852 pygtkcompat/pygtkcompat.py | 8 +++++++-
8853 1 file changed, 7 insertions(+), 1 deletion(-)
8855 commit 38683f721c33cc35f0260868e58643fd35f04cbe
8856 Author: Simon Feltman <sfeltman@src.gnome.org>
8857 Date: Sun Mar 17 02:08:03 2013 -0700
8859 testhelpermodule: Fix build warning for PyGObject_Type redefinition
8861 Remove dynamic retrieval of PyGObject_Type as it is available
8862 in pygobject.h since commit 2656bc47 (causing this compile warning)
8864 tests/testhelpermodule.c | 14 +-------------
8865 1 file changed, 1 insertion(+), 13 deletions(-)
8867 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
8868 Author: Simon Feltman <sfeltman@src.gnome.org>
8869 Date: Sun Mar 17 01:51:33 2013 -0700
8871 pygtkcompat: Initialize hint to zero in set_geometry_hints
8873 pygtkcompat/pygtkcompat.py | 2 +-
8874 1 file changed, 1 insertion(+), 1 deletion(-)
8876 commit 471204953d6fc93b3d311afd133d40f7d75ec541
8877 Author: Simon Feltman <sfeltman@src.gnome.org>
8878 Date: Fri Mar 15 04:33:22 2013 -0700
8880 Remove incorrect bounds check with property helper flags
8882 Remove bounds check for flags as it is not necessary for the
8883 helper to make these kind of judgement calls in general.
8884 e.g. leave it to marshaling/internals to complain about potential
8885 problems. The flags were being bounds checked to a maximum
8886 value of 32 (the intention was most likely to limit it to 32 bits).
8888 gi/_gobject/propertyhelper.py | 3 ---
8889 tests/test_properties.py | 1 -
8890 2 files changed, 4 deletions(-)
8892 commit 2656bc47ca1219b329066da1c2c58018ae624866
8893 Author: Simon Feltman <sfeltman@src.gnome.org>
8894 Date: Thu Mar 7 18:07:17 2013 -0800
8896 Fix crash when setting property of type object to an incorrect type
8898 Add type check when marshaling an object from Python for GObject
8900 Add PyGObject_Type as part of the pygobject API to check for this.
8902 https://bugzilla.gnome.org/show_bug.cgi?id=695420
8904 gi/_gobject/gobjectmodule.c | 3 ++-
8905 gi/_gobject/pygobject.h | 2 ++
8906 gi/pygi-marshal-from-py.c | 8 ++++++++
8907 tests/test_object_marshaling.py | 4 ++++
8908 4 files changed, 16 insertions(+), 1 deletion(-)
8910 commit 44587f42224a44a480629223c8d78a426bc32a12
8911 Author: Simon Feltman <sfeltman@src.gnome.org>
8912 Date: Thu Mar 7 17:59:02 2013 -0800
8914 Remove skipping of object property tests
8916 These were showing up as unexpected successes now that bug 675726
8919 https://bugzilla.gnome.org/show_bug.cgi?id=695420
8921 tests/test_object_marshaling.py | 7 ++-----
8922 1 file changed, 2 insertions(+), 5 deletions(-)
8924 commit 10214ba2d96fd6d66eeea159219f585abff8632a
8925 Author: Simon Feltman <sfeltman@src.gnome.org>
8926 Date: Thu Mar 7 15:34:49 2013 -0800
8928 Give more informative error when setting property to incorrect type
8930 https://bugzilla.gnome.org/show_bug.cgi?id=695420
8932 gi/_gobject/pygobject.c | 10 ++++++++--
8933 1 file changed, 8 insertions(+), 2 deletions(-)
8935 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
8936 Author: Martin Pitt <martinpitt@gnome.org>
8937 Date: Tue Mar 5 12:04:55 2013 +0100
8939 Revert "Drop gi.overrides.overridefunc()"
8941 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
8943 like GEdit plugins use @overrides for functions as well, we must
8947 https://bugzilla.gnome.org/show_bug.cgi?id=695199
8949 gi/overrides/Gtk.py | 7 ++++---
8950 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
8951 2 files changed, 26 insertions(+), 5 deletions(-)
8953 commit 862de794bf01a66aa6d796c674bce375cad37ba7
8954 Author: Martin Pitt <martinpitt@gnome.org>
8955 Date: Mon Mar 4 17:33:51 2013 +0100
8957 configure.ac: Post-release bump to 3.7.92
8960 1 file changed, 1 insertion(+), 1 deletion(-)
8962 commit bb12e652d661cf6ce931b44a89c11951894101bf
8963 Author: Martin Pitt <martinpitt@gnome.org>
8964 Date: Mon Mar 4 17:27:50 2013 +0100
8968 NEWS | 33 +++++++++++++++++++++++++++++++++
8969 1 file changed, 33 insertions(+)
8971 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
8972 Author: Martin Pitt <martinpitt@gnome.org>
8973 Date: Mon Mar 4 17:16:22 2013 +0100
8975 Dot not clobber original Gdk/Gtk functions with overrides
8977 https://bugzilla.gnome.org/show_bug.cgi?id=686835
8979 gi/overrides/Gdk.py | 3 ++-
8980 gi/overrides/Gtk.py | 3 ++-
8981 2 files changed, 4 insertions(+), 2 deletions(-)
8983 commit d50d16428edf42799489fe1befbc4ce56f0fa181
8984 Author: Martin Pitt <martinpitt@gnome.org>
8985 Date: Mon Mar 4 15:30:31 2013 +0100
8987 tests: Reorganize GError and GClosure tests
8989 Split TestGClosure.test_gclosure_in() into its three components.
8991 Merge the various TestGError* classes into one, to match the structure
8995 tests/test_gi.py | 59
8996 +++++++++++++++++++++++++-------------------------------
8997 1 file changed, 26 insertions(+), 33 deletions(-)
8999 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
9000 Author: Martin Pitt <martinpitt@gnome.org>
9001 Date: Mon Mar 4 15:16:25 2013 +0100
9003 Fix memory leaks in property setting/getting
9005 Do not leak GValues and string arrays, free them properly. As we
9007 the intermediate GValues, use g_value_dup_boxed() instead of
9008 g_value_get_boxed() when appropriate.
9010 Detected by test_gi.TestPropertiesObject.test_strv test case.
9012 gi/pygi-property.c | 21 ++++++++++++++++-----
9013 1 file changed, 16 insertions(+), 5 deletions(-)
9015 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
9016 Author: Martin Pitt <martinpitt@gnome.org>
9017 Date: Mon Mar 4 12:43:24 2013 +0100
9019 Fix memory leak in pyg_flags_get_value_nicks()
9021 Discovered by test_gi.TestKeywords.test_uppercase() test.
9023 gi/_gobject/pygflags.c | 7 +++++--
9024 1 file changed, 5 insertions(+), 2 deletions(-)
9026 commit 002a834dd993b82508a4fe262269befcf1a6d341
9027 Author: Martin Pitt <martinpitt@gnome.org>
9028 Date: Mon Mar 4 12:10:03 2013 +0100
9030 Fix memory leak in _pygi_argument_to_array()
9032 Free the originally allocated GArray data before setting it to
9036 Discovered by test_gi.TestStructure.test_boxed_struct_return test
9039 gi/pygi-argument.c | 1 +
9040 1 file changed, 1 insertion(+)
9042 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
9043 Author: Martin Pitt <martinpitt@gnome.org>
9044 Date: Mon Mar 4 10:19:34 2013 +0100
9046 Fix leaking inout C arrays
9048 g_*_info_invoke() changes the original state->in_args and state->args
9050 to the output values for (inout) arguments, thus losing the pointer
9052 originally allocated array. Remember that in state->args_data,
9054 free it in _pygi_marshal_cleanup_from_py_array().
9056 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
9058 gi/pygi-marshal-cleanup.c | 6 ++++++
9059 gi/pygi-marshal-from-py.c | 4 ++++
9060 2 files changed, 10 insertions(+)
9062 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
9063 Author: Martin Pitt <martinpitt@gnome.org>
9064 Date: Fri Mar 1 15:12:31 2013 +0100
9066 Fix leak in _PyGI_ERROR_PREFIX()
9068 Properly clean up our allocated py_error_prefix string.
9070 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
9072 gi/pygi-private.h | 1 +
9073 1 file changed, 1 insertion(+)
9075 commit b388c3e87ce86d26560337c88eb33d0a95647db8
9076 Author: Martin Pitt <martinpitt@gnome.org>
9077 Date: Fri Mar 1 15:01:06 2013 +0100
9079 Fix leaking of boxed array elements
9081 Commit 631d8ef879a copies struct array elements, but this needlessly
9083 and leaks the array element for boxed types. So only do it for
9086 This fixes the memory leak with
9087 test_gi.TestGValue.test_gvalue_flat_array_out.
9089 https://bugzilla.gnome.org/show_bug.cgi?id=693402
9091 gi/pygi-marshal-to-py.c | 3 ++-
9092 1 file changed, 2 insertions(+), 1 deletion(-)
9094 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
9095 Author: Martin Pitt <martinpitt@gnome.org>
9096 Date: Fri Mar 1 14:04:34 2013 +0100
9098 Drop gi.overrides.overridefunc()
9100 This just adds an unnecessary extra function call and is not really
9102 Drop it from the only remaining function which uses this
9104 drop overridefunc().
9106 https://bugzilla.gnome.org/show_bug.cgi?id=686835
9108 gi/overrides/Gtk.py | 7 +++----
9109 gi/overrides/__init__.py | 24 ++----------------------
9110 2 files changed, 5 insertions(+), 26 deletions(-)
9112 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
9113 Author: Martin Pitt <martinpitt@gnome.org>
9114 Date: Fri Mar 1 14:02:02 2013 +0100
9116 Add some tests for overridden Gdk/Gtk functions
9118 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
9120 have overrides for them.
9122 tests/test_overrides_gdk.py | 7 +++++++
9123 tests/test_overrides_gtk.py | 15 +++++++++++++++
9124 2 files changed, 22 insertions(+)
9126 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
9127 Author: Martin Pitt <martinpitt@gnome.org>
9128 Date: Fri Mar 1 11:10:01 2013 +0100
9130 Fix GLib.Source ref leak upon destruction
9132 In GLib.Source.__del__(), manually unref the source if we are a
9134 As we use a static binding to create it, the GI part won't unref it
9136 leading to finalize() method not being called and the GSource
9139 https://bugzilla.gnome.org/show_bug.cgi?id=510511
9141 gi/overrides/GLib.py | 4 ++++
9142 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
9143 2 files changed, 35 insertions(+)
9145 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
9146 Author: Martin Pitt <martinpitt@gnome.org>
9147 Date: Thu Feb 28 15:08:56 2013 +0100
9149 Add performance test for Gtk.ListStore.append
9151 We are going to optimize this in various ways, so let's measure it.
9153 tests/test_overrides_gtk.py | 14 ++++++++++++++
9154 1 file changed, 14 insertions(+)
9156 commit b1ff74b085bdca72c272f019be4dd387073a991a
9157 Author: Simon Feltman <sfeltman@src.gnome.org>
9158 Date: Thu Feb 28 04:32:30 2013 -0800
9160 Optimize GValue.get/set_value by setting GValue.g_type to a local
9162 This increases performance by a factor of 2x for types later
9165 https://bugzilla.gnome.org/show_bug.cgi?id=694857
9167 gi/overrides/GObject.py | 98
9168 +++++++++++++++++++++++++------------------------
9169 1 file changed, 51 insertions(+), 47 deletions(-)
9171 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
9172 Author: Martin Pitt <martinpitt@gnome.org>
9173 Date: Thu Feb 28 11:43:47 2013 +0100
9175 Fix leak of caller-allocated boxed values
9177 Add a new "allocated_slice" argument to _pygi_boxed_new() which
9179 whether its "boxed" pointer was allocated using a slice (by giving
9181 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
9185 Use this in _pygi_marshal_to_py_interface_struct() for
9186 caller-allocated boxed
9187 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
9189 which would otherwise leak.
9191 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
9193 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9195 gi/gimodule.c | 2 +-
9196 gi/pygi-argument.c | 2 +-
9197 gi/pygi-boxed.c | 14 ++++++++++----
9198 gi/pygi-boxed.h | 3 ++-
9199 gi/pygi-marshal-to-py.c | 6 ++++--
9200 gi/pygi-source.c | 3 ++-
9201 6 files changed, 20 insertions(+), 10 deletions(-)
9203 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
9204 Author: Martin Pitt <martinpitt@gnome.org>
9205 Date: Thu Feb 28 10:48:18 2013 +0100
9207 Fix memory handling of caller-allocated boxed types
9209 _pygi_marshal_to_py_interface_struct() and other places treat
9211 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
9212 _caller_alloc() and _cleanup_caller_allocates() to consider
9214 subtypes as well and use the slice allocator instead of malloc()'ing
9216 This avoids trying to free an malloc'ed struct with g_slice_free()
9218 cleans up the boxed values.
9220 The leak was produced with:
9222 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
9223 --leak-check=full --show-possibly-lost=no \
9224 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
9225 (s,e) = b.get_bounds()'
9227 gi/pygi-invoke.c | 2 +-
9228 gi/pygi-marshal-cleanup.c | 2 +-
9229 2 files changed, 2 insertions(+), 2 deletions(-)
9231 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
9232 Author: Martin Pitt <martinpitt@gnome.org>
9233 Date: Wed Feb 27 23:21:34 2013 +0100
9235 Fix cleanup of GValue arrays
9237 Commit bc1fd8 introduced a thinko: We must not change
9238 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
9240 change, and instead put the hack into
9241 _pygi_marshal_cleanup_from_py_array(),
9242 which now short-circuits
9243 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
9244 trying to release a slice which has never been allocated in
9245 _pygi_marshal_from_py_array().
9247 https://bugzilla.gnome.org/show_bug.cgi?id=672224
9249 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
9250 gi/pygi-marshal-from-py.c | 10 +++-------
9251 2 files changed, 13 insertions(+), 8 deletions(-)
9253 commit 70118c3840b10e1585d066a4be485c097cd23e99
9254 Author: Martin Pitt <martinpitt@gnome.org>
9255 Date: Wed Feb 27 21:52:43 2013 +0100
9257 Revert "Mark caller-allocated boxed structures as having a slice
9260 This is wrong after all, as it sets slice_allocated to TRUE, but
9262 corresponding size. Also, poking in internal fields from that place
9264 this should rather be fixed in gi/pygi-marshal-cleanup.c
9265 _cleanup_caller_allocates().
9267 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
9269 gi/pygi-marshal-to-py.c | 4 +---
9270 1 file changed, 1 insertion(+), 3 deletions(-)
9272 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
9273 Author: Martin Pitt <martinpitt@gnome.org>
9274 Date: Wed Feb 27 21:51:30 2013 +0100
9276 Run tests with G_SLICE=debug_blocks
9278 This will help finding regressions in slice management, like in
9279 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9281 tests/Makefile.am | 3 ++-
9282 1 file changed, 2 insertions(+), 1 deletion(-)
9284 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
9285 Author: Martin Pitt <martinpitt@gnome.org>
9286 Date: Wed Feb 27 18:30:23 2013 +0100
9288 Add override helper for stripping boolean returns
9290 Introduce a gi.overrides.strip_boolean_result() helper which checks
9292 return value and if True, return the remaining arguments, otherwise
9294 default. This pattern is being used by a lot of overrides, which get
9295 significantly smaller and more consistent that way.
9297 https://bugzilla.gnome.org/show_bug.cgi?id=694431
9299 gi/overrides/Gdk.py | 27 +-------
9300 gi/overrides/Gtk.py | 156
9301 +++++++++--------------------------------------
9302 gi/overrides/__init__.py | 22 +++++++
9303 3 files changed, 53 insertions(+), 152 deletions(-)
9305 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
9306 Author: Martin Pitt <martinpitt@gnome.org>
9307 Date: Wed Feb 27 15:39:23 2013 +0100
9309 Drop obsolete pygobject_register_sinkfunc() declaration
9311 There is no definition for this any more, nor is it being used
9314 https://bugzilla.gnome.org/show_bug.cgi?id=639849
9316 gi/_gobject/pygobject-private.h | 2 --
9317 1 file changed, 2 deletions(-)
9319 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
9320 Author: Martin Pitt <martinpitt@gnome.org>
9321 Date: Wed Feb 27 13:41:55 2013 +0100
9323 Fix marshalling of C arrays with explicit length in signal arguments
9325 We need _pygi_argument_to_array() from both closure marshalling
9327 the arguments as GIArgument array) and signal closure marshalling
9329 have the arguments in a GValue array). Add an alternative
9331 parameter to _pygi_argument_to_array() so that callers can specify
9333 other depending on which type they have available.
9335 This allows us to pass on the full argument list for signal closures,
9337 _pygi_argument_to_array() can access the explicit length argument
9341 This fixes the GSettings:change-event signal.
9343 https://bugzilla.gnome.org/show_bug.cgi?id=662241
9345 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
9346 gi/pygi-argument.h | 1 +
9347 gi/pygi-closure.c | 2 +-
9348 gi/pygi-info.c | 4 ++--
9349 gi/pygi-signal-closure.c | 3 ++-
9350 tests/test_gio.py | 18 ++++++++++++++++++
9351 6 files changed, 52 insertions(+), 12 deletions(-)
9353 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
9354 Author: Martin Pitt <martinpitt@gnome.org>
9355 Date: Wed Feb 27 08:07:20 2013 +0100
9357 Fix signedness, overflow checking, and 32 bit overflow of GFlags
9359 GFlagsValue.value is a guint, so we must access it as unsigned
9361 new macros PYGLIB_PyLong_FromUnsignedLong() and
9362 PYGLIB_PyLong_AsUnsignedLong()
9363 for that purpose, and consistently use them for handling flag
9365 checked variant of these functions which produce OverflowErrors
9367 of the unchecked PYGLIB_PyLong_AS_LONG().
9369 Insert zero padding after the PyLongObject in PyGFlags and
9371 this, the directly adjacent GType field seems to confuse
9372 PyLong_FromUnsignedLong() and includes the GType into the numeric
9375 https://bugzilla.gnome.org/show_bug.cgi?id=693121
9377 gi/_glib/pyglib-python-compat.h | 8 +++++++
9378 gi/_gobject/gobjectmodule.c | 2 +-
9379 gi/_gobject/pygflags.c | 52
9380 +++++++++++++++++++++++++----------------
9381 gi/_gobject/pygobject-private.h | 10 ++++----
9382 gi/_gobject/pygobject.h | 4 ++--
9383 gi/_gobject/pygtype.c | 6 ++---
9384 tests/test_overrides_gdk.py | 15 ++++++++++++
9385 7 files changed, 67 insertions(+), 30 deletions(-)
9387 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
9388 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9389 Date: Tue Feb 26 16:15:36 2013 +0800
9391 gi/pygi-marshal-from-py.c: Fix build on Visual C++
9393 Since Visual C++ does not provide the INFINITY and NAN constants
9395 math.h (they are items defined by C99), provide fallback
9397 for it here. The INFINITY constant can be provided with HUGE_VAL,
9399 we are using INFINITY to check the value of a variable of double
9401 we could use a rather simple workaround for NAN.
9403 Also avoid declaring variables in the middle of the block.
9405 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9407 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
9408 1 file changed, 18 insertions(+), 1 deletion(-)
9410 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
9411 Author: Martin Pitt <martinpitt@gnome.org>
9412 Date: Tue Feb 26 16:42:19 2013 +0100
9414 Fix some style issues with previous patch
9416 gi/pygi-cache.c | 6 +++---
9417 1 file changed, 3 insertions(+), 3 deletions(-)
9419 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
9420 Author: Martin Pitt <martinpitt@gnome.org>
9421 Date: Tue Feb 26 10:15:22 2013 +0100
9423 Raise DeprecationWarning on deprecated callables
9425 Check if a callable is marked as deprecated and raise a
9426 DeprecationWarning in
9430 - Python hides DeprecationWarning by default, you need to enable
9432 - The deprecation message is currently not in the typelib (bug
9435 https://bugzilla.gnome.org/show_bug.cgi?id=665084
9437 gi/pygi-cache.c | 14 ++++++++++++++
9438 tests/test_gi.py | 10 ++++++++++
9439 2 files changed, 24 insertions(+)
9441 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
9442 Author: Simon Feltman <sfeltman@src.gnome.org>
9443 Date: Mon Feb 18 00:39:45 2013 -0800
9445 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
9447 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
9448 Add Gtk.Widget.window property which uses get_window()
9449 Add Gtk.TextView.scroll_to_mark with defaults
9450 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
9452 https://bugzilla.gnome.org/show_bug.cgi?id=694067
9454 gi/pygtkcompat.py | 2 ++
9455 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
9456 2 files changed, 16 insertions(+)
9458 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
9459 Author: Simon Feltman <sfeltman@src.gnome.org>
9460 Date: Sun Dec 16 02:56:06 2012 -0800
9462 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
9465 Monkey patch a keyword argument version of set_geometry_hints onto
9467 This version is compatible with pygtk and takes keywords instead of a
9468 Gdk.Geometry and Gdk.GeometryMask.
9470 https://bugzilla.gnome.org/show_bug.cgi?id=694067
9472 pygtkcompat/pygtkcompat.py | 44
9473 ++++++++++++++++++++++++++++++++++++++++++++
9474 1 file changed, 44 insertions(+)
9476 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
9477 Author: Martin Pitt <martinpitt@gnome.org>
9478 Date: Tue Feb 26 10:09:47 2013 +0100
9480 tests: Fix warning behaviour
9482 -Werror::* does not seem to do what it says on the tin, these
9484 ignored entirely apparently. Just keep -Wd to actually show all
9486 including DeprecationWarning, which is hidden by default.
9488 tests/Makefile.am | 2 +-
9489 1 file changed, 1 insertion(+), 1 deletion(-)
9491 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
9492 Author: Martin Pitt <martinpitt@gnome.org>
9493 Date: Tue Feb 26 08:49:10 2013 +0100
9495 Ship pygobject.doap for autogen.sh
9497 https://bugzilla.gnome.org/show_bug.cgi?id=694591
9500 1 file changed, 1 insertion(+)
9502 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
9503 Author: Simon Feltman <sfeltman@src.gnome.org>
9504 Date: Tue Feb 19 03:07:19 2013 -0800
9506 Fix crashes in various GObject signal handler functions
9508 Fix crashes in a large amount of signal handler functions exposed
9509 on the GObject module. This is possible now that the underlying
9510 GObject pointer is exposed to Python as a PyCapsule which marshaling
9511 can handle. The following functions in the GObject module have been
9514 signal_handler_unblock
9515 signal_handler_disconnect
9516 signal_handler_is_connected
9517 signal_stop_emission
9518 signal_stop_emission_by_name
9519 signal_has_handler_pending
9520 signal_connect_closure
9521 signal_connect_closure_by_id
9523 signal_handlers_destroy
9525 https://bugzilla.gnome.org/show_bug.cgi?id=633927
9527 gi/_gobject/gobjectmodule.c | 57 ++--------------
9528 gi/overrides/GObject.py | 158
9529 ++++++++++++++++++++++++++++++++++----------
9530 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
9531 3 files changed, 247 insertions(+), 89 deletions(-)
9533 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
9534 Author: Olivier Crête <olivier.crete@collabora.com>
9535 Date: Fri Sep 14 21:29:53 2012 -0400
9537 pygi-closure: Protect the GSList prepend with the GIL
9539 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9541 https://bugzilla.gnome.org/show_bug.cgi?id=684060
9543 gi/pygi-closure.c | 4 ++--
9544 1 file changed, 2 insertions(+), 2 deletions(-)
9546 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
9547 Author: Simon Feltman <sfeltman@src.gnome.org>
9548 Date: Wed Feb 20 01:21:32 2013 -0800
9550 generictreemodel: Fix bad default return type for get_column_type
9552 pygtkcompat/generictreemodel.py | 2 +-
9553 1 file changed, 1 insertion(+), 1 deletion(-)
9555 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
9556 Author: Martin Pitt <martinpitt@gnome.org>
9557 Date: Tue Feb 19 12:23:13 2013 +0100
9559 configure.ac: post-release bump to 3.7.91
9562 1 file changed, 1 insertion(+), 1 deletion(-)
9564 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
9565 Author: Martin Pitt <martinpitt@gnome.org>
9566 Date: Tue Feb 19 12:19:35 2013 +0100
9570 NEWS | 17 +++++++++++++++++
9572 2 files changed, 18 insertions(+), 1 deletion(-)
9574 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
9575 Author: Simon Feltman <sfeltman@src.gnome.org>
9576 Date: Mon Feb 18 01:46:22 2013 -0800
9578 overrides: Fix inconsistencies with drag and drop target list API
9580 Add support to Gtk.Widget.drag_dest_set_target_list and
9581 Gtk.Widget.drag_source_set_target_list to accept iterables containing
9582 mixed TargetEntry or a tuple of (target, flags, info).
9583 Add support to Gtk.TreeView.enable_model_drag_source and
9584 Gtk.TreeView.enable_model_drag_dest to accept a list of
9588 https://bugzilla.gnome.org/show_bug.cgi?id=680640
9590 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
9591 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
9592 2 files changed, 61 insertions(+), 11 deletions(-)
9594 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
9595 Author: Simon Feltman <sfeltman@src.gnome.org>
9596 Date: Mon Feb 18 03:19:34 2013 -0800
9598 tests: Add test_marshaling_object to Makefile.am
9600 tests/Makefile.am | 1 +
9601 1 file changed, 1 insertion(+)
9603 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
9604 Author: Simon Feltman <s.feltman@gmail.com>
9605 Date: Wed Aug 29 03:46:23 2012 -0700
9607 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
9609 Add Python implementation of the GenericTreeModel that was
9610 available in pygtk. The implementation attempts a better job
9611 than the original at ref counting by guaranteeing no leaks
9612 upon deletion of the model itself. Or by using the extra "node"
9613 argument to the row_deleted signal. The model is available in
9614 the pygtkcompat package directly as
9615 pygtkcompat.generictreemodel.GenericTreeModel or with as
9616 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
9618 Add file list and tree demos making use of GenericTreeModel
9621 Auto-expand gtk-demo app tree to give a better overview of
9622 the demos available.
9624 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9626 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
9627 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
9628 demos/gtk-demo/gtk-demo.py | 2 +-
9629 gi/pygtkcompat.py | 2 +-
9630 pygtkcompat/Makefile.am | 1 +
9631 pygtkcompat/generictreemodel.py | 420
9632 +++++++++++++++++++++
9633 pygtkcompat/pygtkcompat.py | 3 +
9634 tests/Makefile.am | 1 +
9635 tests/test_generictreemodel.py | 406
9636 ++++++++++++++++++++
9637 9 files changed, 1346 insertions(+), 2 deletions(-)
9639 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
9640 Author: Simon Feltman <sfeltman@src.gnome.org>
9641 Date: Mon Feb 18 02:54:14 2013 -0800
9643 overrides: Add support for iterables besides tuples for TreePath
9646 Allow Gtk.TreePath to accept any iterable for creation of the path.
9648 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9650 gi/overrides/Gtk.py | 2 +-
9651 1 file changed, 1 insertion(+), 1 deletion(-)
9653 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
9654 Author: Simon Feltman <sfeltman@src.gnome.org>
9655 Date: Fri Feb 15 22:56:29 2013 -0800
9657 Unify Python callable to GClosure GI marshaling code
9659 Add pygi_marshal_from_py_gclosure which can be used for direct
9661 call args and vfunc out args.
9663 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9665 gi/pygi-argument.c | 14 +-----------
9666 gi/pygi-marshal-from-py.c | 55
9667 ++++++++++++++++++++++++++++-------------------
9668 gi/pygi-marshal-from-py.h | 3 +++
9669 3 files changed, 37 insertions(+), 35 deletions(-)
9671 commit 9e47afe459df942d9ffc4f71b39f1443976293df
9672 Author: Simon Feltman <sfeltman@src.gnome.org>
9673 Date: Fri Feb 15 20:56:12 2013 -0800
9675 Unify Python object to GValue GI marshaling code
9677 Add pygi_marshal_from_py_g_value which can be used for direct
9679 call args and vfunc out args. The new method also adds an
9681 parameter that will be used to fix leaks in the future.
9683 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9685 gi/pygi-argument.c | 43 +++++++--------------------
9686 gi/pygi-marshal-from-py.c | 74
9687 ++++++++++++++++++++++++++++++++---------------
9688 gi/pygi-marshal-from-py.h | 5 ++++
9689 3 files changed, 65 insertions(+), 57 deletions(-)
9691 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
9692 Author: Simon Feltman <sfeltman@src.gnome.org>
9693 Date: Fri Feb 15 23:07:57 2013 -0800
9695 Rename pygi_marshal_from_py_object to make it more explicit
9697 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
9698 to make it more explicit and give consistency with future refactoring.
9700 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9702 gi/pygi-argument.c | 2 +-
9703 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
9704 gi/pygi-marshal-from-py.h | 6 +++---
9705 3 files changed, 17 insertions(+), 13 deletions(-)
9707 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
9708 Author: Niklas Koep <niklas.koep@gmail.com>
9709 Date: Fri Feb 15 21:23:01 2013 -0800
9711 Prefix __module__ attribute of function objects with gi.repository
9713 This allows gi module methods to work with pydoc and help().
9714 Additionally correct typo in two docstrings of the same module.
9716 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
9718 https://bugzilla.gnome.org/show_bug.cgi?id=693839
9720 gi/overrides/__init__.py | 3 ++-
9721 gi/types.py | 6 +++---
9722 2 files changed, 5 insertions(+), 4 deletions(-)
9724 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
9725 Author: Jonathan Ballet <jon@multani.info>
9726 Date: Thu Feb 14 07:50:02 2013 +0100
9728 configure.ac: only enable code coverage when available
9730 When building with an older gnome-common which does not yet provide
9732 coverage support, disable it instead of breaking the configure script.
9734 https://bugzilla.gnome.org/show_bug.cgi?id=693328
9736 configure.ac | 10 +++++++++-
9737 1 file changed, 9 insertions(+), 1 deletion(-)
9739 commit 42cbff60e2032f715d9be6ab280954211899e03c
9740 Author: Jonathan Ballet <jon@multani.info>
9741 Date: Tue Feb 12 23:03:00 2013 +0100
9743 Correctly set properties on object with statically defined properties
9745 Fix failures in GObject.Object.set_properties() when used with
9746 statically defined properties:
9748 * Calling the method was raising a "SystemError: error return without
9749 exception set" since `result` was (most of the time) still NULL at the
9750 end of pygobject_set_properties()
9752 * Calling the method with several properties would only set one of
9753 the properties, since the function was exiting too early.
9755 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9757 https://bugzilla.gnome.org/show_bug.cgi?id=693618
9759 gi/_gobject/pygobject.c | 19 +++++++++++--------
9760 tests/test_gi.py | 6 ++++++
9761 2 files changed, 17 insertions(+), 8 deletions(-)
9763 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
9764 Author: Martin Pitt <martinpitt@gnome.org>
9765 Date: Mon Feb 11 18:08:37 2013 +0100
9767 autogen.sh: Use gnome-autogen.sh
9769 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
9771 in a much better error message when gnome-common is not installed,
9774 https://bugzilla.gnome.org/show_bug.cgi?id=693328
9776 autogen.sh | 30 +++++++++++++++++-------------
9777 1 file changed, 17 insertions(+), 13 deletions(-)
9779 commit c107bb1f9275a748b494d3f32818f227e07cadf0
9780 Author: Christoph Reiter <christoph.reiter@gmx.at>
9781 Date: Mon Feb 11 10:07:47 2013 +0100
9783 GTK tests: Add and use context manager for realized widgets
9785 https://bugzilla.gnome.org/show_bug.cgi?id=693377
9787 tests/test_overrides_gtk.py | 91
9788 +++++++++++++++++++++++++--------------------
9789 1 file changed, 50 insertions(+), 41 deletions(-)
9791 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
9792 Author: Martin Pitt <martinpitt@gnome.org>
9793 Date: Mon Feb 11 08:55:19 2013 +0100
9795 _pygi_marshal_from_py_array: Fix uninitialized variable
9797 gi/pygi-marshal-from-py.c | 2 +-
9798 1 file changed, 1 insertion(+), 1 deletion(-)
9800 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
9801 Author: Christoph Reiter <christoph.reiter@gmx.at>
9802 Date: Mon Feb 11 08:34:42 2013 +0100
9804 Skip some vfunc tests with gi 1.34
9806 https://bugzilla.gnome.org/show_bug.cgi?id=693374
9808 tests/test_object_marshaling.py | 14 ++++++++++++++
9809 1 file changed, 14 insertions(+)
9811 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
9812 Author: Simon Feltman <sfeltman@src.gnome.org>
9813 Date: Sun Feb 10 13:40:45 2013 -0800
9815 Remove workaround for g_struct_info_get_size reporting incorrect size
9817 Remove workaround for g_struct_info_get_size reporting incorrect size
9818 for boxed GValues. Verified this now returns the correct size of 24.
9820 https://bugzilla.gnome.org/show_bug.cgi?id=622711
9822 gi/pygi-boxed.c | 31 +++++++++++++------------------
9823 1 file changed, 13 insertions(+), 18 deletions(-)
9825 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
9826 Author: Simon Feltman <sfeltman@src.gnome.org>
9827 Date: Mon Feb 4 20:50:10 2013 -0800
9829 Fix reference leaks with transient floating objects
9831 Unify and refactor caller and callee GObject argument marshalers.
9832 Combine code from the large switch statement used to marshal
9833 arguments to and from vfuncs/closures with the marshalers used
9834 for direct calls to gi functions. This fixes a reference leak
9835 when marshalling GObjects to Python with transfer=full due to
9836 the diverging code paths.
9837 Replace ability in gobject_new_full to optionally sink objects
9838 with ability to optionaly "steal" objects. This fits the premise
9839 that binding layers should always sink objects initially. The
9840 steal argument is then used for marshalling arguments which are
9842 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
9844 https://bugzilla.gnome.org/show_bug.cgi?id=687522
9846 gi/_gobject/gobjectmodule.c | 10 +++++--
9847 gi/_gobject/pygobject-private.h | 2 +-
9848 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
9849 gi/_gobject/pygobject.h | 8 ++++--
9850 gi/pygi-argument.c | 52 +++++++++++++++++------------------
9851 gi/pygi-marshal-from-py.c | 61
9852 +++++++++++++++++++++++++++++++++++++----
9853 gi/pygi-marshal-from-py.h | 6 ++++
9854 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
9855 gi/pygi-marshal-to-py.h | 5 ++++
9856 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
9857 10 files changed, 181 insertions(+), 97 deletions(-)
9859 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
9860 Author: Simon Feltman <sfeltman@src.gnome.org>
9861 Date: Wed Feb 6 12:56:44 2013 -0800
9863 tests: Fix spelling mistakes in new vfunc object marshalling tests
9865 tests/test_object_marshaling.py | 12 ++++++------
9866 1 file changed, 6 insertions(+), 6 deletions(-)
9868 commit cd96fd8b8e10add9890f36ec237bb78548de7002
9869 Author: Martin Pitt <martinpitt@gnome.org>
9870 Date: Tue Feb 5 07:53:38 2013 +0100
9872 configure.ac: post-release bump to 3.7.6
9875 1 file changed, 1 insertion(+), 1 deletion(-)
9877 commit 92b1404e61f46348168f32720eff4a482531e5e3
9878 Author: Martin Pitt <martinpitt@gnome.org>
9879 Date: Tue Feb 5 07:46:46 2013 +0100
9885 2 files changed, 4 insertions(+), 1 deletion(-)
9887 commit a3a30559240077194f23c4651d6f382fa59b7d63
9888 Author: Simon Feltman <sfeltman@src.gnome.org>
9889 Date: Mon Feb 4 15:16:37 2013 -0800
9891 Fix API break with pygobject.h
9893 Move pygobject_new_full after everything in the public API table.
9894 This fixes a break that went in along with bug 675726.
9896 https://bugzilla.gnome.org/show_bug.cgi?id=675726
9898 gi/_gobject/gobjectmodule.c | 5 +++--
9899 gi/_gobject/pygobject.h | 2 +-
9900 2 files changed, 4 insertions(+), 3 deletions(-)
9902 commit b3ca7e27494c35620995840d777037a097082661
9903 Author: Martin Pitt <martinpitt@gnome.org>
9904 Date: Mon Feb 4 19:53:26 2013 +0100
9906 configure.ac: post-release bump to 3.7.6
9909 1 file changed, 1 insertion(+), 1 deletion(-)
9911 commit 77f638411314218748f349b337a36e2864eed1f4
9912 Author: Martin Pitt <martinpitt@gnome.org>
9913 Date: Mon Feb 4 19:37:14 2013 +0100
9917 NEWS | 24 ++++++++++++++++++++++++
9918 1 file changed, 24 insertions(+)
9920 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
9921 Author: Simon Feltman <sfeltman@src.gnome.org>
9922 Date: Sun Feb 3 23:56:14 2013 -0800
9924 Fix pointer cast warning that was missed in bug 675726
9926 https://bugzilla.gnome.org/show_bug.cgi?id=675726
9928 gi/_gobject/pygobject.h | 2 +-
9929 1 file changed, 1 insertion(+), 1 deletion(-)
9931 commit b31d8a952cd57dc92b06a381e054199660a2d570
9932 Author: Simon Feltman <sfeltman@src.gnome.org>
9933 Date: Thu Jan 31 02:35:36 2013 -0800
9935 Move various signal methods from static bindings to gi and python
9937 Move disconnect, handler_is_connected, handler_block, handler_unblock,
9938 and stop_emission from static to gi python overrides.
9940 https://bugzilla.gnome.org/show_bug.cgi?id=692918
9942 gi/_gobject/pygobject.c | 90
9943 -------------------------------------------------
9944 gi/overrides/GObject.py | 44 +++++++++++++++++-------
9945 tests/test_signal.py | 19 ++++++-----
9946 3 files changed, 42 insertions(+), 111 deletions(-)
9948 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
9949 Author: Paolo Borelli <pborelli@gnome.org>
9950 Date: Fri Feb 1 21:09:26 2013 +0100
9952 GLib overrides: Support unpacking 'maybe' variants
9954 Automatically unpack 'maybe' variants to None or to their actual value
9955 as we do for other kind of variants
9957 https://bugzilla.gnome.org/show_bug.cgi?id=693032
9959 gi/overrides/GLib.py | 5 +++++
9960 tests/test_overrides_glib.py | 8 ++++++++
9961 2 files changed, 13 insertions(+)
9963 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
9964 Author: Mike Gorse <mgorse@suse.com>
9965 Date: Mon Jan 21 16:45:52 2013 -0600
9967 Fix ref count leak when creating pygobject wrappers for input args
9969 Only sink input references for closures and vfuncs when transfer is
9970 everything. This fixes cases where incoming floating references for
9971 callbacks need to maintain their floating state throughout the
9972 callback so they don't leak a strong reference. Re-introduce a
9973 working "sink" argument to pygobject_new_full which allows for this.
9974 Change existing callers to always sink in order maintain behavior.
9976 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
9978 https://bugzilla.gnome.org/show_bug.cgi?id=675726
9980 gi/_gobject/gobjectmodule.c | 5 +--
9981 gi/_gobject/pygobject.c | 7 ++--
9982 gi/_gobject/pygobject.h | 2 ++
9983 gi/pygi-argument.c | 13 +++----
9984 tests/test_object_marshaling.py | 76
9985 +++++++++++++++++++++++++++++++++++++----
9986 5 files changed, 85 insertions(+), 18 deletions(-)
9988 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
9989 Author: Simon Feltman <sfeltman@src.gnome.org>
9990 Date: Thu Jan 31 01:50:44 2013 -0800
9992 Add tests for signal stop_emission, disconnect, and
9993 handler_is_connected
9995 Add tests for methods which will be moving from static bindings to gi
9996 by using the new __gpointer__ attribute of GObject.
9998 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10000 tests/test_signal.py | 51
10001 ++++++++++++++++++++++++++++++++++++++++++++++++++-
10002 1 file changed, 50 insertions(+), 1 deletion(-)
10004 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
10005 Author: Simon Feltman <sfeltman@src.gnome.org>
10006 Date: Wed Jan 30 21:37:07 2013 -0800
10008 Add __gpointer__ property to GObject static binding
10010 Add access to the underlying C GObject pointer by wrapping it in a
10011 PyCapsule/PyCPointer and exposing it as __gpointer__.
10012 Add special case marshaling for gi parameters annotated as gpointer
10013 to accept a PyCapsule and extract the underlying pointer as the arg.
10014 This allows usage of methods like GObject.signal_handler_disconnect
10015 which we can start replacing the static bindings with.
10017 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10019 gi/_gobject/pygobject.c | 11 +++++++++--
10020 gi/pygi-marshal-from-py.c | 6 +++++-
10021 2 files changed, 14 insertions(+), 3 deletions(-)
10023 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
10024 Author: Simon Feltman <sfeltman@src.gnome.org>
10025 Date: Sun Jan 27 01:22:37 2013 -0800
10027 Prefix names of typeless enums and flags for GType registration
10029 Prefix names given to g_flags_register_static and
10030 g_enum_register_static
10031 with "Py". This avoids conflicts with GTypes of the same name being
10032 registered later by a library which does not provide a "get-type"
10035 https://bugzilla.gnome.org/show_bug.cgi?id=692515
10037 gi/gimodule.c | 10 ++++++++--
10038 tests/test_gi.py | 4 ++--
10039 2 files changed, 10 insertions(+), 4 deletions(-)
10041 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
10042 Author: Simon Feltman <sfeltman@src.gnome.org>
10043 Date: Wed Jan 30 04:35:32 2013 -0800
10045 Add tests for vfunc object arguments and returns
10047 Add tests which use different combinations of floating, transfer full,
10048 transfer none, and held wrapper as in, out, or return arguments
10050 Most of these are marked as skip or expectedFailure due to various
10052 noted on the tests.
10054 https://bugzilla.gnome.org/show_bug.cgi?id=687522
10056 gi/overrides/GObject.py | 15 +-
10057 tests/test_object_marshaling.py | 540
10058 ++++++++++++++++++++++++++++++++++++++++
10059 2 files changed, 550 insertions(+), 5 deletions(-)
10061 commit 73a83186329ede7702501d5bc49df269482461e4
10062 Author: Paolo Borelli <pborelli@gnome.org>
10063 Date: Wed Jan 30 17:48:12 2013 +0100
10065 Cosmetic fix to last patch
10067 gi/pygi-argument.c | 7 +++++--
10068 1 file changed, 5 insertions(+), 2 deletions(-)
10070 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
10071 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10072 Date: Fri Jan 25 13:05:18 2013 +0800
10074 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
10076 Drop the array forward static declarations. They are not necessary
10080 Also move declarations of variables to the top of their respective
10083 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10085 gi/pygi-info.c | 18 ++++++++++--------
10086 gi/pygi-repository.c | 2 --
10087 2 files changed, 10 insertions(+), 10 deletions(-)
10089 commit 2e7c458ef6377a872043634b47737ef12eed744a
10090 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10091 Date: Fri Jan 25 13:00:48 2013 +0800
10093 Move variable declaration to top of blocks (C99ism)
10095 Move variable declarations to the top of their respective blocks,
10097 code will build under C89 compilers such as Visual C++.
10099 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10101 gi/pygi-argument.c | 10 ++++++----
10102 gi/pygi-closure.c | 23 +++++++++++++++--------
10103 gi/pygi-invoke.c | 3 ++-
10104 gi/pygi-marshal-cleanup.c | 3 ++-
10105 gi/pygi-property.c | 3 ++-
10106 5 files changed, 27 insertions(+), 15 deletions(-)
10108 commit 20fc5aa7514215fc7807adceb603d17f7943304a
10109 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10110 Date: Fri Jan 25 12:58:26 2013 +0800
10112 gi/pygobject-external.h: Remove GCCism
10114 We can use G_GNUC_UNUSED from GLib that does the same purpose of
10115 __attribute__ ( (unused)) when we are using a GCC that provides this.
10117 The GLib headers that defines that macro should have already been
10119 before this header is included (due to use of gboolean).
10121 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10123 gi/pygobject-external.h | 2 +-
10124 1 file changed, 1 insertion(+), 1 deletion(-)
10126 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
10127 Author: Martin Pitt <martinpitt@gnome.org>
10128 Date: Wed Jan 30 14:59:11 2013 +0100
10130 tests: Update test_double() after e65c1248
10132 Commit e65c1248 introduced support for NaN and ±inf as valid
10134 rendering the "expect ValueError on 2*double" check broken. Just
10137 tests/test_everything.py | 1 -
10138 1 file changed, 1 deletion(-)
10140 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
10141 Author: Martin Pitt <martinpitt@gnome.org>
10142 Date: Wed Jan 23 07:14:16 2013 +0100
10144 Do not immediately initialize Gdk and Gtk on import
10146 Raising an exception if Gdk/Gtk cannot be imported makes it
10148 merely import a module for e. g. nosetests without actually running
10151 Programs who want to provide a proper error message should check
10152 Gtk.initialized explicitly after importing. Check initialized
10154 Window.__init__() instead to provide a reasonably early error message
10158 https://bugzilla.gnome.org/show_bug.cgi?id=692300
10160 gi/overrides/Gdk.py | 2 --
10161 gi/overrides/Gtk.py | 5 +++--
10162 2 files changed, 3 insertions(+), 4 deletions(-)
10164 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
10165 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10166 Date: Fri Jan 25 12:49:18 2013 +0800
10168 gi/overrides/Glib.py: Fix running on Windows/non-Unix
10170 The definition of self._signal_source uses a Unix-specific GLib
10172 does not exist or have a direct equivilant on Windows.
10174 Only define and use that variable when we aren't on Windows.
10176 gi/overrides/GLib.py | 18 ++++++++++--------
10177 1 file changed, 10 insertions(+), 8 deletions(-)
10179 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
10180 Author: Martin Pitt <martinpitt@gnome.org>
10181 Date: Wed Jan 23 14:56:02 2013 +0100
10183 Accept ±inf and NaN as float and double values
10185 Also fix the broken error message when a float value is out of range.
10186 PyErr_Format() does not support float macros.
10188 https://bugzilla.gnome.org/show_bug.cgi?id=692381
10190 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
10191 tests/test_gobject.py | 14 ++++++++++++++
10192 2 files changed, 33 insertions(+), 18 deletions(-)
10194 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
10195 Author: Martin Pitt <martinpitt@gnome.org>
10196 Date: Wed Jan 23 14:28:42 2013 +0100
10198 Fix repr() of GLib.Variant
10200 When using a standard constructor like GLib.Variant.new_*(), the
10202 not have a format_string property, and previously repr() would
10204 to get_type_string() instead.
10206 Also drop the unintended type annotations in repr().
10208 gi/overrides/GLib.py | 6 +++++-
10209 tests/test_overrides_glib.py | 15 ++++++++++++++-
10210 2 files changed, 19 insertions(+), 2 deletions(-)
10212 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
10213 Author: Martin Pitt <martinpitt@gnome.org>
10214 Date: Wed Jan 23 14:14:29 2013 +0100
10216 Fix gtk-demo for Python 3
10218 It was crashing with
10220 package = __import__(packagename, globals(), locals(),
10222 ValueError: level must be >= 0
10224 Using level zero works with both Python 2 and 3.
10226 demos/gtk-demo/gtk-demo.py | 2 +-
10227 1 file changed, 1 insertion(+), 1 deletion(-)
10229 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
10230 Author: Colin Walters <walters@verbum.org>
10231 Date: Tue Jan 22 10:49:57 2013 -0500
10233 build: Add autogen.sh to EXTRA_DIST
10235 So downstreams that patch the autotools can use it.
10238 1 file changed, 1 insertion(+)
10240 commit ed7fb99efa81854d947ae548d41a03f5275c5884
10241 Author: Martin Pitt <martinpitt@gnome.org>
10242 Date: Thu Jan 17 08:23:02 2013 +0100
10244 Define GObject.TYPE_VALUE gtype constant
10246 gi/overrides/GObject.py | 4 +++-
10247 tests/test_gobject.py | 4 ++++
10248 2 files changed, 7 insertions(+), 1 deletion(-)
10250 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
10251 Author: Olivier Crête <olivier.crete@collabora.com>
10252 Date: Mon Sep 17 15:37:04 2012 -0400
10254 gobject: Go through introspection on property setting
10256 Consider introspected properties in object.set_property().
10258 https://bugzilla.gnome.org/show_bug.cgi?id=684062
10260 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
10261 tests/test_properties.py | 13 ++++++++++---
10262 2 files changed, 27 insertions(+), 4 deletions(-)
10264 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
10265 Author: Mike Gorse <mgorse@suse.com>
10266 Date: Tue Jan 15 20:04:46 2013 -0600
10268 Clean up caller-allocated GValues and their memory
10270 When space for a GValue is allocated by the caller (as in
10271 gtk_tree_model_get_value), we need to free the space allocated for the
10272 value along with its contents. The GValue is not needed after
10273 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
10274 have it unset the value and deallocate the memory.
10276 https://bugzilla.gnome.org/show_bug.cgi?id=691820
10278 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
10279 1 file changed, 18 insertions(+), 2 deletions(-)
10281 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
10282 Author: Dmitry Shachnev <mitya57@ubuntu.com>
10283 Date: Wed Jan 16 13:44:42 2013 +0400
10285 tests: define correct unittest.skipIf for python 2.6
10287 tests/runtests.py | 2 +-
10288 1 file changed, 1 insertion(+), 1 deletion(-)
10290 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
10291 Author: Martin Pitt <martinpitt@gnome.org>
10292 Date: Wed Jan 16 09:17:13 2013 +0100
10294 tests: More robust tree view realization
10296 With current GNOME git head, the Gtk.TreeViews were not realized
10298 more to receive property values. Put them into a Gtk.Dialog now and
10300 ensure that they are realized.
10302 tests/test_overrides_gtk.py | 16 ++++++++++------
10303 1 file changed, 10 insertions(+), 6 deletions(-)
10305 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
10306 Author: Martin Pitt <martinpitt@gnome.org>
10307 Date: Tue Jan 15 10:42:49 2013 +0100
10309 Drop deprecated g_thread_create()
10311 Replace with g_thread_new(). This is available with glib >= 2.32,
10313 already require >= 2.34.
10315 tests/test-thread.c | 3 +--
10316 1 file changed, 1 insertion(+), 2 deletions(-)
10318 commit 98504273dead9eade6e53c2297bcaec7bea6265a
10319 Author: Martin Pitt <martinpitt@gnome.org>
10320 Date: Tue Jan 15 10:37:52 2013 +0100
10322 Drop usage of deprecated GStaticPrivate
10324 Replace with GPrivate.
10326 gi/_gobject/gobjectmodule.c | 6 +++---
10327 1 file changed, 3 insertions(+), 3 deletions(-)
10329 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
10330 Author: Martin Pitt <martinpitt@gnome.org>
10331 Date: Tue Jan 15 10:29:47 2013 +0100
10333 Don't call g_type_init() with glib >= 2.35.x
10335 This fixes a deprecation warning.
10337 gi/_gobject/gobjectmodule.c | 2 ++
10338 1 file changed, 2 insertions(+)
10340 commit 206e736380ba798c68de09f661d75c8e27451117
10341 Author: Martin Pitt <martinpitt@gnome.org>
10342 Date: Tue Jan 15 09:47:11 2013 +0100
10344 Use GNOME_COMPILE_WARNINGS from gnome-common
10346 As we are now using gnome-common anyway for the code coverage macro,
10348 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
10352 This also enables -Wstrict-prototypes.
10354 configure.ac | 14 ++++----------
10355 1 file changed, 4 insertions(+), 10 deletions(-)
10357 commit 137679426ff39507e15f08e9e6428d851fee06b7
10358 Author: Martin Pitt <martinpitt@gnome.org>
10359 Date: Tue Jan 15 09:46:01 2013 +0100
10361 Fix function prototypes and static functions
10363 These cause errors/warnings with -Wstrict-prototypes.
10365 gi/_glib/pyglib-python-compat.h | 2 ++
10366 gi/pygi-foreign.c | 2 +-
10367 gi/pygi-marshal-from-py.c | 4 ++--
10368 gi/pygi-marshal-to-py.c | 4 ++--
10369 gi/pygi-source.c | 2 +-
10370 gi/pygi-source.h | 2 +-
10371 6 files changed, 9 insertions(+), 7 deletions(-)
10373 commit d47927f1701a11aec8566425f22688c5df73d7f2
10374 Author: Martin Pitt <martinpitt@gnome.org>
10375 Date: Mon Jan 14 17:38:23 2013 +0100
10377 configure.ac: post-release bump to 3.7.5
10379 configure.ac | 2 +-
10380 1 file changed, 1 insertion(+), 1 deletion(-)
10382 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
10383 Author: Martin Pitt <martinpitt@gnome.org>
10384 Date: Mon Jan 14 17:30:48 2013 +0100
10388 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
10389 1 file changed, 38 insertions(+)
10391 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
10392 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10393 Date: Tue Dec 4 15:45:00 2012 +0200
10395 Allow setting values through GtkTreeModelFilter
10397 Previously, trying to set a value through filter throwed an exception
10399 model has no set_value() method. You had to first retrieve the
10401 model and set value to it.
10403 https://bugzilla.gnome.org/show_bug.cgi?id=689624
10405 gi/overrides/Gtk.py | 5 +++++
10406 tests/test_overrides_gtk.py | 11 +++++++++++
10407 2 files changed, 16 insertions(+)
10409 commit b092630efc691a6f7ae94ae896193254f5a961a6
10410 Author: Martin Pitt <martinpitt@gnome.org>
10411 Date: Mon Jan 14 12:37:18 2013 +0100
10413 tests: Add (failing) test case for GParamSpec arguments
10416 https://bugzilla.gnome.org/show_bug.cgi?id=682355
10418 tests/test_gi.py | 9 +++++++++
10419 1 file changed, 9 insertions(+)
10421 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
10422 Author: Martin Pitt <martinpitt@gnome.org>
10423 Date: Mon Jan 14 12:20:27 2013 +0100
10425 tests: Skip struct string member tests with g-i 1.34
10427 We still support building against gobject-introspection 1.34, so
10429 which do not work with that version yet.
10431 tests/test_gi.py | 8 ++++++++
10432 1 file changed, 8 insertions(+)
10434 commit f9429192cb1002725a11a75a7b8f9300375b9caf
10435 Author: Martin Pitt <martinpitt@gnome.org>
10436 Date: Mon Jan 14 12:15:27 2013 +0100
10438 Support GParamSpec signal arguments from Python
10440 In pyg_value_from_pyobject(), recognize both the real GI
10441 GObject.ParamSpec type
10442 as well as the statically wrapped _gobject.GParamSpec type.
10444 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
10446 https://bugzilla.gnome.org/show_bug.cgi?id=683099
10448 gi/_gobject/pygtype.c | 6 +++++-
10449 tests/test_signal.py | 12 ++++++++++++
10450 tests/testhelpermodule.c | 13 +++++++++++++
10451 3 files changed, 30 insertions(+), 1 deletion(-)
10453 commit 99f72925c7de76611f7592bce9d8217a9ff46809
10454 Author: Martin Pitt <martinpitt@gnome.org>
10455 Date: Mon Jan 14 11:48:11 2013 +0100
10457 pygobject_emit(): Fix cleanup on error
10459 Dot not try to unset GValues which have not been initialized yet,
10461 conversion fails for a parameter.
10463 gi/_gobject/pygobject.c | 8 ++++----
10464 1 file changed, 4 insertions(+), 4 deletions(-)
10466 commit acef1d3266d11b2465d61185a55526df879a5c62
10467 Author: Simon Feltman <sfeltman@src.gnome.org>
10468 Date: Mon Dec 31 19:01:57 2012 -0800
10470 Add signal emission methods to TreeModel which coerce the path
10473 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
10474 row_deleted, and rows_reordered methods to accept python iterables as
10475 the path parameter. This is for compatibility with pygtk and
10477 with the rest of the TreeModel and TreePath overrides.
10479 https://bugzilla.gnome.org/show_bug.cgi?id=682933
10481 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
10482 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
10483 2 files changed, 55 insertions(+), 3 deletions(-)
10485 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
10486 Author: Martin Pitt <martinpitt@gnome.org>
10487 Date: Mon Jan 14 10:36:36 2013 +0100
10489 Simplify overrides and tests using the new GObject.Value override
10491 The previous commit added support for constructing a GObject.Value
10493 GType and Python object conversion. Use this to simplify the Gtk
10495 the tests that construct GValues.
10497 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
10499 gi/overrides/Gtk.py | 88
10500 +++------------------------------------------
10501 tests/test_gi.py | 26 +++++---------
10502 tests/test_overrides_gtk.py | 2 +-
10503 tests/test_signal.py | 12 ++-----
10504 4 files changed, 17 insertions(+), 111 deletions(-)
10506 commit f62b98398177991bfdbe0b6753342e79e6cf170a
10507 Author: Bastian Winkler <buz@netbuz.org>
10508 Date: Mon Jan 14 10:26:08 2013 +0100
10510 Add override for GValue
10512 Override GValue with a custom constructor and set_value()/get_value()
10513 methods. This allows you to call
10515 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
10519 >>> value = GObject.Value()
10520 >>> value.init(GObject.TYPE_FLOAT)
10521 >>> value.set_float(42.23)
10523 This is especially useful for overrides that need to convert a Python
10524 value to a expected type like G_TYPE_FLOAT.
10526 https://bugzilla.gnome.org/show_bug.cgi?id=677473
10528 gi/overrides/GObject.py | 127
10529 +++++++++++++++++++++++++++++++++++++++++++++++-
10530 tests/test_gobject.py | 47 +++++++++++++++++-
10531 2 files changed, 172 insertions(+), 2 deletions(-)
10533 commit dc3d21173b75232f7ea0b9913f7309486456a69d
10534 Author: Mike Gorse <mgorse@suse.com>
10535 Date: Thu Jan 10 15:48:30 2013 -0600
10537 Mark caller-allocated boxed structures as having a slice allocated
10539 When a C function takes a pointer and fills it with a boxed structure
10541 gtk_tree_store_insert_with_values), pygi should deallocate the slice
10543 box is no longer being used.
10545 https://bugzilla.gnome.org/show_bug.cgi?id=699501
10547 gi/pygi-marshal-to-py.c | 4 +++-
10548 1 file changed, 3 insertions(+), 1 deletion(-)
10550 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
10551 Author: Olivier Crête <olivier.crete@collabora.com>
10552 Date: Fri Sep 14 21:31:32 2012 -0400
10554 pygi-property: Support boxed GSList/GList types
10556 Note that this does not yet work for construct properties.
10558 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10560 https://bugzilla.gnome.org/show_bug.cgi?id=684059
10562 gi/pygi-property.c | 10 ++++++++--
10563 tests/test_gi.py | 21 +++++++++++++++++++++
10564 2 files changed, 29 insertions(+), 2 deletions(-)
10566 commit 074f10d815453e58f4bee2f440c5db799add3876
10567 Author: Martin Pitt <martinpitt@gnome.org>
10568 Date: Mon Jan 14 07:48:31 2013 +0100
10570 test_gio: Fix for Python 2
10572 Python 2 does not yet take an "encoding" argument for str(), while
10574 requires it. Use a less fancy static test string instead.
10576 tests/test_gio.py | 2 +-
10577 1 file changed, 1 insertion(+), 1 deletion(-)
10579 commit 734979d0c8317201148a7e94a323225fba2d1635
10580 Author: Martin Pitt <martinpitt@gnome.org>
10581 Date: Mon Jan 14 07:40:10 2013 +0100
10583 tests: Add missing backwards compat methods for Python 2.6
10585 Define skipIf(), assertLess(), and assertLessEqual() for running
10589 https://bugzilla.gnome.org/show_bug.cgi?id=691646
10591 tests/runtests.py | 17 +++++++++++++++++
10592 1 file changed, 17 insertions(+)
10594 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
10595 Author: Martin Pitt <martinpitt@gnome.org>
10596 Date: Mon Jan 14 07:34:46 2013 +0100
10598 tests: Stop using assertSequenceEqual()
10600 assertSequenceEqual() does not yet exist in Python 2.6, and is
10602 either as assertEqual() on sequences automatically does list
10605 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
10607 tests/test_gtype.py | 6 ++----
10608 tests/test_signal.py | 6 ++----
10609 2 files changed, 4 insertions(+), 8 deletions(-)
10611 commit 0a5587b6a56d417a6703e342f153596f08cd5889
10612 Author: Simon Feltman <sfeltman@src.gnome.org>
10613 Date: Sun Jan 13 18:19:51 2013 -0800
10615 Allow setting TreeModel values to None
10617 Change TreeModel.set_value to use an empty but initialized GValue when
10618 None is used as the value argument. This allows clearing of cell data
10619 which was not accessible due to auto-coercion.
10621 https://bugzilla.gnome.org/show_bug.cgi?id=684094
10623 gi/overrides/Gtk.py | 11 ++++++++---
10624 tests/test_overrides_gtk.py | 8 ++++++++
10625 2 files changed, 16 insertions(+), 3 deletions(-)
10627 commit 5ae129da436793478750f0dc9427a174a980e10b
10628 Author: Mike Gorse <mgorse@suse.com>
10629 Date: Thu Jan 10 16:42:17 2013 -0600
10631 Set clean-up handler for marshalled arrays
10633 Arrays did not have a cleanup handler set in some cases, resulting
10636 https://bugzilla.gnome.org/show_bug.cgi?id=691509
10638 gi/pygi-cache.c | 1 +
10639 1 file changed, 1 insertion(+)
10641 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
10642 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
10643 Date: Fri Jan 11 15:41:27 2013 +0100
10645 Support setting string fields in structs
10647 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10649 https://bugzilla.gnome.org/show_bug.cgi?id=678401
10651 gi/pygi-info.c | 3 ++-
10652 tests/test_gi.py | 16 ++++++++++++++++
10653 2 files changed, 18 insertions(+), 1 deletion(-)
10655 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
10656 Author: Martin Pitt <martinpitt@gnome.org>
10657 Date: Fri Jan 11 14:58:44 2013 +0100
10659 Re-enable test_gi.TestPropertiesObject.test_char test
10661 The gobject-introspection bug got fixed:
10662 https://bugzilla.gnome.org/show_bug.cgi?id=691524
10664 tests/test_gi.py | 14 +++-----------
10665 1 file changed, 3 insertions(+), 11 deletions(-)
10667 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
10668 Author: Martin Pitt <martinpitt@gnome.org>
10669 Date: Fri Jan 11 09:46:56 2013 +0100
10671 tests: Re-enable test_callback_scope_call_array() check
10673 Drop the expected failure from test_callback_scope_call_array()
10675 the explicit array length arguments. While it would look cleaner to
10677 them, it is probably not worth breaking the API for this.
10679 tests/test_everything.py | 9 +++------
10680 1 file changed, 3 insertions(+), 6 deletions(-)
10682 commit 609636424b5f9b659e99a4bb53a48c165187c430
10683 Author: Martin Pitt <martinpitt@gnome.org>
10684 Date: Fri Jan 11 09:13:36 2013 +0100
10686 Permit plain integers for "gchar" values
10688 Similar to guchar/guint8, allow plain integers (withing correct
10690 values for gchar/gint8 types.
10692 This is covered by the test_gi.TestPropertiesObject.test_char
10694 removing the "expected failure" flag.
10696 gi/_gobject/pygtype.c | 16 ++++++++++++----
10697 1 file changed, 12 insertions(+), 4 deletions(-)
10699 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
10700 Author: Martin Pitt <martinpitt@gnome.org>
10701 Date: Fri Jan 11 09:09:41 2013 +0100
10703 Allow single byte values for int8 types
10705 When fixing gobject-introspection to consider "gchar" as signed (see
10706 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
10708 single-element "bytes" array as a valid value for int8, not just
10711 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
10714 gi/pygi-argument.c | 4 ++--
10715 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
10716 2 files changed, 23 insertions(+), 15 deletions(-)
10718 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
10719 Author: Mike Gorse <mgorse@suse.com>
10720 Date: Thu Jan 10 14:11:56 2013 -0600
10722 Fix invalid memory access handling errors when registering an
10725 Don't free the name until we are done with it.
10727 gi/gimodule.c | 8 ++++----
10728 1 file changed, 4 insertions(+), 4 deletions(-)
10730 commit ecd235959317d39b6d598662c00829e0ec717b17
10731 Author: Martin Pitt <martinpitt@gnome.org>
10732 Date: Thu Jan 10 16:42:46 2013 +0100
10734 Fix (out) arguments in callbacks
10736 Do not ignore the first argument in _pygi_closure_set_out_arguments().
10737 Presumably that has been done to skip over "self", but callbacks
10739 required to have a self argument. As self is never (out), we can
10743 gi/pygi-closure.c | 2 +-
10744 tests/test_gi.py | 4 ----
10745 2 files changed, 1 insertion(+), 5 deletions(-)
10747 commit d8e241e24a816691acbd592775b73defd9aa4f44
10748 Author: Martin Pitt <martinpitt@gnome.org>
10749 Date: Thu Jan 10 15:14:05 2013 +0100
10751 Fix C to Python marshalling of struct pointer arrays
10753 Do not treat an array of pointers to values like an array of values on
10754 marshalling from C. This makes the test_array_boxed_struct_return()
10758 gi/pygi-marshal-to-py.c | 5 +++--
10759 tests/test_gi.py | 2 --
10760 2 files changed, 3 insertions(+), 4 deletions(-)
10762 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
10763 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10764 Date: Tue Jan 8 23:22:54 2013 +0200
10766 Add tests for GFile
10768 Most notably this commit contains a test for
10769 Gio.File.replace_contents_async(),
10770 which currently fails. Disable the tests for now as it breaks the
10773 https://bugzilla.gnome.org/show_bug.cgi?id=690525
10775 tests/test_gio.py | 64
10776 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
10777 1 file changed, 64 insertions(+)
10779 commit 118c5eaad045580455515876ba73b9537a8468b4
10780 Author: Martin Pitt <martinpitt@gnome.org>
10781 Date: Thu Jan 10 13:56:11 2013 +0100
10783 Rename test_overrides_gio.py to test_gio.py
10785 As we want to add more tests for non-overridden API.
10787 tests/Makefile.am | 2 +-
10788 tests/test_gio.py | 121
10789 ++++++++++++++++++++++++++++++++++++++++++++
10790 tests/test_overrides_gio.py | 121
10791 --------------------------------------------
10792 3 files changed, 122 insertions(+), 122 deletions(-)
10794 commit 8117e6bce73581e89211371708ff7d5de7d870d4
10795 Author: Martin Pitt <martinpitt@gnome.org>
10796 Date: Thu Jan 10 12:13:16 2013 +0100
10798 Don't let Property.setter() method names define property names
10800 Defining property names in install_properties() is too late when using
10801 @propname.setter decorators; their method names don't define a
10803 nor are they even required to be a valid property identifier.
10805 So change the logic to already fix the property name when using
10807 decorator and use that instead of the member name in
10808 install_properties().
10810 https://bugzilla.gnome.org/show_bug.cgi?id=688971
10812 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
10813 tests/test_properties.py | 18 ++++++++++++++++++
10814 2 files changed, 40 insertions(+), 7 deletions(-)
10816 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
10817 Author: Martin Pitt <martinpitt@gnome.org>
10818 Date: Wed Jan 9 10:39:36 2013 +0100
10820 tests: Force UTF-8 file name encoding
10822 The test_gi.TestFilename tests fail if the environment specifies
10824 file name encoding. Force it to "UTF-8" for the tests.
10826 https://bugzilla.gnome.org/show_bug.cgi?id=691355
10828 tests/runtests.py | 1 +
10829 1 file changed, 1 insertion(+)
10831 commit c02a00ae9599a661076630b21b7e24e78fb88c29
10832 Author: Martin Pitt <martinpitt@gnome.org>
10833 Date: Tue Jan 8 16:56:40 2013 +0100
10835 Use g-i stack allocation API
10837 Where possible, i. e. when not keeping references across functions,
10839 _load_() methods instead of the _get_() ones from
10840 gobject-introspection, which
10841 is faster and less prone to memory leaks:
10843 g_callable_info_get_arg () → g_callable_info_load_arg ()
10844 g_callable_info_get_return_type() →
10845 g_callable_info_load_return_type ()
10846 g_arg_info_get_type() → g_arg_info_load_type ()
10848 https://bugzilla.gnome.org/show_bug.cgi?id=615982
10850 gi/pygi-argument.c | 16 ++++------
10851 gi/pygi-closure.c | 88
10852 ++++++++++++++++++++++++------------------------------
10853 2 files changed, 45 insertions(+), 59 deletions(-)
10855 commit 23d1f14f553069740465c82eaa937b877c41e0cb
10856 Author: Ray Strode <rstrode@redhat.com>
10857 Date: Wed Dec 19 13:04:32 2012 -0500
10859 pyg_value_from_pyobject: support GArray
10861 This commit adds support for marshalling a python list (or other
10863 returned from signal handlers to GArray, if necessary.
10865 This parallels the implementation written to marshal to (the now
10869 This fixes a crash in rhythmbox as seen downstream here:
10870 https://bugzilla.redhat.com/show_bug.cgi?id=872851
10872 https://bugzilla.gnome.org/show_bug.cgi?id=690514
10874 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10876 gi/_gobject/pygtype.c | 60
10877 ++++++++++++++++++++++++++++++++++++++++++++++++
10878 tests/test_everything.py | 22 ++++++++++++++++++
10879 2 files changed, 82 insertions(+)
10881 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
10882 Author: Marko Lindqvist <cazfi74@gmail.com>
10883 Date: Fri Jan 4 07:01:29 2013 +0100
10885 Fix obsolete automake macros
10887 https://bugzilla.gnome.org/show_bug.cgi?id=691101
10889 configure.ac | 3 +--
10890 1 file changed, 1 insertion(+), 2 deletions(-)
10892 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
10893 Author: Simon Feltman <sfeltman@src.gnome.org>
10894 Date: Mon Dec 31 02:53:07 2012 -0800
10896 Change dynamic enum and flag gtype creation to use namespaced naming
10898 Use the combination of g_base_info_get_namespace and
10899 g_base_info_get_name
10900 as the name for registering enum and flag types with glib through
10901 g_enum_register_static and g_flags_register_static. This avoids
10903 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
10904 and memory cleanup for invalid registration problems.
10906 https://bugzilla.gnome.org/show_bug.cgi?id=690455
10908 gi/_gobject/pygenum.c | 6 ++--
10910 ++++++++++++++++++++++++++++++++++++++++++++-------
10911 tests/test_gi.py | 35 +++++++++++++++++++++++
10912 3 files changed, 106 insertions(+), 13 deletions(-)
10914 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
10915 Author: Dan Horák <dan@danny.cz>
10916 Date: Fri Dec 28 22:12:32 2012 +0100
10918 Fix test for GBytes.compare()
10920 The result of the compare method is defined as equal, less than or
10922 and the test must match to that. The underlaying memcmp() function
10924 values than -1, 0 and 1. For example on architectures where it is
10925 implemented directly
10926 via a CPU instruction like on s390(x) where I can see -2 as a result
10930 https://bugzilla.gnome.org/show_bug.cgi?id=690837
10932 tests/test_gi.py | 4 ++--
10933 1 file changed, 2 insertions(+), 2 deletions(-)
10935 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
10936 Author: Jonathan Ballet <jon@multani.info>
10937 Date: Thu Dec 27 16:04:51 2012 +0100
10939 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
10941 The length argument is the size of the buffer in bytes, not in
10944 https://bugzilla.gnome.org/show_bug.cgi?id=690329
10946 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10948 gi/overrides/Gtk.py | 2 +-
10949 tests/test_overrides_gtk.py | 7 +++++++
10950 2 files changed, 8 insertions(+), 1 deletion(-)
10952 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
10953 Author: Mike Gorse <mgorse@suse.com>
10954 Date: Wed Dec 19 20:51:03 2012 -0500
10956 Don't dup strings before passing them to type registration functions
10958 Strings passed to g_enum_register_static and g_flags_register_static
10960 eventually passed to g_quark_from_string, which dups the string
10962 needed and does not take ownership of it, so passing in a
10963 dynamically-allocated
10964 string without freeing it results in a small leak.
10966 https://bugzilla.gnome.org/show_bug.cgi?id=690532
10968 gi/gimodule.c | 2 --
10969 1 file changed, 2 deletions(-)
10971 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
10972 Author: Carlos Garnacho <carlos@lanedo.com>
10973 Date: Tue Dec 18 22:47:09 2012 +0100
10975 Fix marshalling of arrays of boxed struct values
10977 This fixes methods like gtk_selection_set_with_data(). In such cases
10978 data is passed as an array of struct pointers, so it must be converted
10979 to an array of structs.
10981 https://bugzilla.gnome.org/show_bug.cgi?id=656312
10983 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10985 gi/pygi-marshal-from-py.c | 6 ++++++
10986 tests/test_gi.py | 12 ++++++++++++
10987 2 files changed, 18 insertions(+)
10989 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
10990 Author: Simon Feltman <sfeltman@src.gnome.org>
10991 Date: Tue Dec 18 02:03:41 2012 -0800
10993 Add reference counting tests for Object.bind_property
10995 Add tests which ensure transform callbacks and user_data
10996 are propertly ref-counted.
10998 https://bugzilla.gnome.org/show_bug.cgi?id=690397
11000 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
11001 1 file changed, 36 insertions(+), 4 deletions(-)
11003 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
11004 Author: Martin Pitt <martinpitt@gnome.org>
11005 Date: Tue Dec 18 11:43:04 2012 +0100
11007 testhelpermodule.c: Do not unref called method
11009 In _wrap_test_gerror_exception(), do not unref the method
11011 causes a crash when being run with the stricter refcounting/memory
11013 debug-enabled Python builds.
11015 tests/testhelpermodule.c | 1 -
11016 1 file changed, 1 deletion(-)
11018 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
11019 Author: Martin Pitt <martinpitt@gnome.org>
11020 Date: Mon Dec 17 23:20:50 2012 +0100
11022 configure.ac: post-release bump to 3.7.4
11024 configure.ac | 2 +-
11025 1 file changed, 1 insertion(+), 1 deletion(-)
11027 commit 061b23d14386c0e54d2c3af113554231bbe85f16
11028 Author: Martin Pitt <martinpitt@gnome.org>
11029 Date: Mon Dec 17 23:18:31 2012 +0100
11033 NEWS | 19 +++++++++++++++++++
11034 1 file changed, 19 insertions(+)
11036 commit a242f02823a63c9dca5d0b1ce84b031221053690
11037 Author: Martin Pitt <martinpitt@gnome.org>
11038 Date: Mon Dec 17 23:11:29 2012 +0100
11040 Add (failing) tests for callbacks with out arguments
11042 Most of these fail and need marshalling fixes.
11044 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
11045 1 file changed, 36 insertions(+)
11047 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
11048 Author: Martin Pitt <martinpitt@gnome.org>
11049 Date: Mon Dec 17 22:50:59 2012 +0100
11051 Add tests for internal API
11053 These cover functions like pygobject_new(), pyg_value_from_pyobject()
11055 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
11057 functions can be tested in isolation without the whole GI stack
11060 tests/Makefile.am | 1 +
11061 tests/test_internal_api.py | 73
11062 ++++++++++++++++++++++++++++++++++++++++++++++
11063 2 files changed, 74 insertions(+)
11065 commit e44312139426f51e576ef9e880819542cc224383
11066 Author: Martin Pitt <martinpitt@gnome.org>
11067 Date: Mon Dec 17 18:02:15 2012 +0100
11069 Add support for caller-allocated GArray out arguments
11071 https://bugzilla.gnome.org/show_bug.cgi?id=690041
11073 gi/pygi-cache.c | 2 +-
11074 gi/pygi-invoke.c | 57
11075 ++++++++++++++++++++++++++++++--------------------------
11076 tests/test_gi.py | 5 +++--
11077 3 files changed, 35 insertions(+), 29 deletions(-)
11079 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
11080 Author: Martin Pitt <martinpitt@gnome.org>
11081 Date: Mon Dec 17 16:18:24 2012 +0100
11083 Add (failing) test for caller-allocated GArray return value
11085 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
11087 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
11089 The test is failing and causing a segfault right now, so disable it
11093 tests/test_gi.py | 4 ++++
11094 1 file changed, 4 insertions(+)
11096 commit 1cb4c30c3cf19690210010d39b6272965f489c58
11097 Author: Martin Pitt <martinpitt@gnome.org>
11098 Date: Mon Dec 17 15:56:44 2012 +0100
11100 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
11102 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
11104 available, but fall back to GLib.unix_signal_add_full() until we
11108 gi/overrides/GLib.py | 8 ++++++--
11109 1 file changed, 6 insertions(+), 2 deletions(-)
11111 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
11112 Author: Martin Pitt <martinpitt@gnome.org>
11113 Date: Fri Nov 30 14:17:18 2012 +0100
11115 Re-support calling GLib.io_add_watch with an fd or Python file
11117 This does not strictly adhere to the GLib API, but it's very
11119 unlike the other modes, does not change the number or order of
11121 let's keep support for this and drop the deprecation warning.
11123 gi/overrides/GLib.py | 9 +++------
11124 1 file changed, 3 insertions(+), 6 deletions(-)
11126 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
11127 Author: Martin Pitt <martinpitt@gnome.org>
11128 Date: Fri Nov 30 09:04:20 2012 +0100
11130 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
11132 Use a longer timeout to avoid races on slow architectures, and cut
11134 loop as soon as we received all expected events.
11136 tests/test_glib.py | 5 ++++-
11137 1 file changed, 4 insertions(+), 1 deletion(-)
11139 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
11140 Author: Martin Pitt <martinpitt@gnome.org>
11141 Date: Fri Nov 30 08:44:56 2012 +0100
11143 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
11145 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
11147 unavailable monitor backends in the test environment) to fail
11150 tests/test_overrides_gtk.py | 12 +++++++++---
11151 1 file changed, 9 insertions(+), 3 deletions(-)
11153 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
11154 Author: Martin Pitt <martinpitt@gnome.org>
11155 Date: Thu Nov 29 16:45:49 2012 +0100
11157 pygtkcompat: Work around IndexError on large flags
11159 On 32 bit systems pygtkcompat currently fails with
11161 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
11162 name = flag.value_names[-1].replace(modname + '_', '')
11163 IndexError: cannot fit 'int' into an index-sized integer
11165 on 32 bit systems as some flags in Gdk are too large to fit into a
11167 "long". Work around this crash until this gets fixed properly
11171 pygtkcompat/pygtkcompat.py | 7 ++++++-
11172 1 file changed, 6 insertions(+), 1 deletion(-)
11174 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
11175 Author: Martin Pitt <martinpitt@gnome.org>
11176 Date: Thu Nov 29 14:11:29 2012 +0100
11178 Fix pyg_value_from_pyobject() range check for uint
11180 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
11182 this overflows large uints. Use PyLong_AsLongLong() separately to
11184 negative values, and PyLong_AsUnsignedLong() for the actual
11187 gi/_gobject/pygtype.c | 12 ++++++++----
11188 1 file changed, 8 insertions(+), 4 deletions(-)
11190 commit 05d767a602571805e80099f1db47ad4164575c53
11191 Author: Martin Pitt <martinpitt@gnome.org>
11192 Date: Thu Nov 29 13:30:56 2012 +0100
11194 Fix tests to work with g-i 1.34.2
11196 Do not try to call GIMarshallingTests API which isn't present
11198 against g-i 1.34.2. This can be dropped when the g-i dependency gets
11202 tests/test_gi.py | 8 +++++---
11203 1 file changed, 5 insertions(+), 3 deletions(-)
11205 commit a107c928ef85b4e3b9075a408774b74879586029
11206 Author: Martin Pitt <martinpitt@gnome.org>
11207 Date: Thu Nov 29 13:13:14 2012 +0100
11209 Fix wrong refcount for GVariant property defaults
11211 Drop the bogus DECREF for the GVariant default argument, as we need
11213 around in the class. Otherwise the refcount drops to zero, and
11215 garbage collection run causes segfaults.
11217 https://bugzilla.gnome.org/show_bug.cgi?id=689267
11219 gi/_gobject/gobjectmodule.c | 1 -
11220 1 file changed, 1 deletion(-)
11222 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
11223 Author: Martin Pitt <martinpitt@gnome.org>
11224 Date: Thu Nov 29 11:44:22 2012 +0100
11226 test_gi: Fix TestFilename failure under C locale
11228 tests/test_gi.py | 1 +
11229 1 file changed, 1 insertion(+)
11231 commit 37ab227555ba8628b4fa99aa286bd046208745ed
11232 Author: Martin Pitt <martinpitt@gnome.org>
11233 Date: Thu Nov 29 11:16:26 2012 +0100
11235 Fix array arguments on 32 bit
11237 In _pygi_argument_from_object() we never put the actual element
11239 constructed array. The array contains GIArguments, or bytes in the
11241 passing a string as an array.
11243 This happened to work on 64 bit machines where GIArgument and char*
11245 same size, but not on 32 bit machines
11246 (test_gi.TestPropertiesObject.test_strv
11249 gi/pygi-argument.c | 6 +++++-
11250 1 file changed, 5 insertions(+), 1 deletion(-)
11252 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
11253 Author: Martin Pitt <martinpitt@gnome.org>
11254 Date: Thu Nov 29 10:20:27 2012 +0100
11256 test_gi: Disable failing check in test_module_name()
11258 When calling this under some conditions, such as
11260 TEST_NAMES='test_thread test_gi.TestOverrides'
11262 then the module name of GObject.InitiallyUnowned comes out as
11263 "importlib._bootstrap" instead of "gi.repository.GObject". To be
11265 Add a couple of other tests to ensure that it is not broken in
11268 tests/test_gi.py | 10 +++++++++-
11269 1 file changed, 9 insertions(+), 1 deletion(-)
11271 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
11272 Author: Martin Pitt <martinpitt@gnome.org>
11273 Date: Thu Nov 29 09:40:32 2012 +0100
11275 test_gdbus: Drop failure if timeout=0 works differently
11277 In some test environments we do not actually get a timeout exceptions
11279 timeout=0, but a different error message. So only ensure that we
11283 tests/test_gdbus.py | 4 +++-
11284 1 file changed, 3 insertions(+), 1 deletion(-)
11286 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
11287 Author: Martin Pitt <martinpitt@gnome.org>
11288 Date: Thu Nov 29 09:29:05 2012 +0100
11290 test_glib: Drop some assumptions about XDG dirs
11292 Some directories do not exist in minimal test environments, and this
11294 important for testing that calling these GLib functions works.
11296 tests/test_glib.py | 8 +++++---
11297 1 file changed, 5 insertions(+), 3 deletions(-)
11299 commit e45c690bc83b6d513887649de88965a9752e316d
11300 Author: Martin Pitt <martinpitt@gnome.org>
11301 Date: Wed Nov 28 12:20:31 2012 +0100
11303 Add backwards compatible API for GLib.unix_signal_add_full()
11305 This was renamed to GLib.unix_signal_add() in
11306 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
11308 Provide a backwards compatible shim with a deprecation message.
11310 gi/overrides/GLib.py | 10 ++++++++++
11311 1 file changed, 10 insertions(+)
11313 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
11314 Author: Martin Pitt <martinpitt@gnome.org>
11315 Date: Mon Nov 26 08:11:36 2012 +0100
11317 Drop MININT64/MAXUINT64 workaround
11319 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
11321 properly now. Drop the workaround in the overrides to manually
11325 gi/overrides/GLib.py | 7 -------
11326 1 file changed, 7 deletions(-)
11328 commit d16604f64d25d18409270d7537fc993113b65c19
11329 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
11330 Date: Fri Nov 23 19:57:56 2012 +0200
11332 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
11334 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
11335 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
11336 warnings even tough values are valid.
11338 https://bugzilla.gnome.org/show_bug.cgi?id=688949
11340 gi/_gobject/propertyhelper.py | 6 +++---
11341 tests/test_properties.py | 11 ++++-------
11342 2 files changed, 7 insertions(+), 10 deletions(-)
11344 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
11345 Author: Martin Pitt <martinpitt@gnome.org>
11346 Date: Wed Nov 21 12:58:07 2012 +0100
11348 Test virtual methods with in and out arguments
11350 ... and both caller and callee out argument allocation.
11352 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
11354 tests/test_gi.py | 13 +++++++++++++
11355 1 file changed, 13 insertions(+)
11357 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
11358 Author: Martin Pitt <martinpitt@gnome.org>
11359 Date: Tue Nov 20 07:00:44 2012 +0100
11361 Ship pygi-convert.sh in tarballs
11363 https://bugzilla.gnome.org/show_bug.cgi?id=688697
11366 1 file changed, 1 insertion(+)
11368 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
11369 Author: Martin Pitt <martinpitt@gnome.org>
11370 Date: Mon Nov 19 15:25:38 2012 +0100
11372 Post-release version bump to 3.7.3
11374 configure.ac | 2 +-
11375 1 file changed, 1 insertion(+), 1 deletion(-)
11377 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
11378 Author: Martin Pitt <martinpitt@gnome.org>
11379 Date: Mon Nov 19 15:13:28 2012 +0100
11383 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
11384 1 file changed, 47 insertions(+)
11386 commit 29dc7425dd7584411b52ef07b50f929ed119a000
11387 Author: Martin Pitt <martinpitt@gnome.org>
11388 Date: Mon Nov 19 14:37:02 2012 +0100
11392 Commit e617f76e forgot to rename the file in EXTRA_DIST
11394 tests/Makefile.am | 2 +-
11395 1 file changed, 1 insertion(+), 1 deletion(-)
11397 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
11398 Author: Martin Pitt <martinpitt@gnome.org>
11399 Date: Mon Nov 19 14:34:13 2012 +0100
11401 tests: Fix unicode vs. str issues in Python 2
11403 Some of the tests assumed a system default encoding of UTF-8, which
11405 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
11408 tests/test_gi.py | 8 ++++----
11409 tests/test_iochannel.py | 16 +++++++++-------
11410 2 files changed, 13 insertions(+), 11 deletions(-)
11412 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
11413 Author: Martin Pitt <martinpitt@gnome.org>
11414 Date: Mon Nov 19 14:20:56 2012 +0100
11416 tests: Fix previous commit to fail properly on test failures
11418 tests/Makefile.am | 2 +-
11419 1 file changed, 1 insertion(+), 1 deletion(-)
11421 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
11422 Author: Martin Pitt <martinpitt@gnome.org>
11423 Date: Mon Nov 19 14:09:14 2012 +0100
11425 tests: Run pygtkcompat tests separately
11427 pygtkcompat changes the global namespace, in particular patching
11429 overrides. Run the tests in a separate process so that the main
11431 potentially affected by the pygtkcompat test.
11433 runtests.py runs all tests/test_*.py by default, so rename to
11434 compat_test_pygtk.py and run that explicitly after successfully
11438 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
11440 tests/Makefile.am | 3 +
11441 tests/compat_test_pygtk.py | 147
11442 +++++++++++++++++++++++++++++++++++++++++++++
11443 tests/test_pygtkcompat.py | 147
11444 ---------------------------------------------
11445 3 files changed, 150 insertions(+), 147 deletions(-)
11447 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
11448 Author: Simon Feltman <sfeltman@src.gnome.org>
11449 Date: Thu Nov 15 02:51:52 2012 -0800
11451 Move pygtkcompat into sibling package of gi
11453 Move the pygtkcompat module out of the gi package and into
11454 a sibling package as follows:
11460 This allows for pygtkcompat to grow without affecting the gi package.
11461 Add deprecation message to gi/pygtkcompat.py
11463 https://bugzilla.gnome.org/show_bug.cgi?id=688219
11467 gi/pygtkcompat.py | 524
11468 +++------------------------------------------
11469 pygtkcompat/Makefile.am | 15 ++
11470 pygtkcompat/__init__.py | 20 ++
11471 pygtkcompat/pygtkcompat.py | 501
11472 +++++++++++++++++++++++++++++++++++++++++++
11473 tests/test_pygtkcompat.py | 6 +-
11474 7 files changed, 565 insertions(+), 504 deletions(-)
11476 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
11477 Author: Martin Pitt <martinpitt@gnome.org>
11478 Date: Mon Nov 19 13:59:20 2012 +0100
11480 Bump g-i dependency to >= 1.34.2
11482 We need this for updated GLib annotations and new test API.
11484 configure.ac | 2 +-
11485 1 file changed, 1 insertion(+), 1 deletion(-)
11487 commit f6c994c76cd8010460b76bf455e1a341348d735b
11488 Author: Martin Pitt <martinpitt@gnome.org>
11489 Date: Mon Nov 19 10:39:26 2012 +0100
11491 test_gi: Fix failing tests with g-i 1.34.x
11493 Skip tests which require g-i test API from 1.35.x when building
11497 tests/test_gi.py | 6 ++++++
11498 1 file changed, 6 insertions(+)
11500 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
11501 Author: Martin Pitt <martinpitt@gnome.org>
11502 Date: Wed Nov 14 11:57:21 2012 +0100
11504 test_gi: Add tests for type "filename"
11506 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
11507 1 file changed, 30 insertions(+)
11509 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
11510 Author: Martin Pitt <martinpitt@gnome.org>
11511 Date: Wed Nov 14 11:09:33 2012 +0100
11513 Drop foreign GVariant registration/support
11515 This is dead code. We have tests for GVariant in and out method
11517 callback arguments and return values, properties, etc to ensure that
11521 gi/Makefile.am | 2 --
11522 gi/pygi-foreign-gvariant.c | 63
11523 ----------------------------------------------
11524 gi/pygi-foreign-gvariant.h | 41 ------------------------------
11525 gi/pygi-foreign.c | 8 +-----
11526 4 files changed, 1 insertion(+), 113 deletions(-)
11528 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
11529 Author: Martin Pitt <martinpitt@gnome.org>
11530 Date: Wed Nov 14 10:33:24 2012 +0100
11532 test_properties.py: Fix PEP-8 errors
11534 tests/test_properties.py | 3 +--
11535 1 file changed, 1 insertion(+), 2 deletions(-)
11537 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
11538 Author: Martin Pitt <martinpitt@gnome.org>
11539 Date: Wed Nov 14 10:14:36 2012 +0100
11541 Add support for GVariant properties defined in Python
11543 gi/_gobject/gobjectmodule.c | 13 +++++++
11544 gi/_gobject/propertyhelper.py | 11 ++++--
11545 tests/test_properties.py | 81
11546 +++++++++++++++++++++++++++++++++++++------
11547 3 files changed, 91 insertions(+), 14 deletions(-)
11549 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
11550 Author: Martin Pitt <martinpitt@gnome.org>
11551 Date: Wed Nov 14 09:33:43 2012 +0100
11553 pyg_value_from_pyobject(): Simplify GVariant type check
11555 Use pyg_type_from_object_strict() instead of the much more expensive
11557 pyg_get_gvariant_type().
11559 gi/_gobject/pygtype.c | 23 +----------------------
11560 1 file changed, 1 insertion(+), 22 deletions(-)
11562 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
11563 Author: Martin Pitt <martinpitt@gnome.org>
11564 Date: Wed Nov 14 09:27:42 2012 +0100
11566 test_everything: Add test for callback returning wrong type
11568 This covers the "expected a GVariant, got something else" check in
11569 pyg_value_from_pyobject().
11571 tests/test_everything.py | 16 ++++++++++++++++
11572 1 file changed, 16 insertions(+)
11574 commit 84db7109dfbaf443758a5a4871ee385686d2703d
11575 Author: Martin Pitt <martinpitt@gnome.org>
11576 Date: Wed Nov 14 08:42:53 2012 +0100
11578 Add type checking to GVariant argument assignment
11580 gi/pygi-argument.c | 7 ++++++-
11581 tests/test_gi.py | 5 ++---
11582 2 files changed, 8 insertions(+), 4 deletions(-)
11584 commit e944caf5ff53143a98dd4a5578530996358013ec
11585 Author: Martin Pitt <martinpitt@gnome.org>
11586 Date: Wed Nov 14 08:22:35 2012 +0100
11588 Add support for GVariant properties defined in C
11590 Note that trying to assign a non-GVariant value to a GVariant property
11593 gi/pygi-property.c | 6 +++++-
11594 tests/test_gi.py | 21 +++++++++++++++++++++
11595 2 files changed, 26 insertions(+), 1 deletion(-)
11597 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
11598 Author: Martin Pitt <martinpitt@gnome.org>
11599 Date: Wed Nov 14 07:09:58 2012 +0100
11601 test_unknown.py: Check property interface
11603 NB that the property implementation in test-unknown.c does not
11605 anything, we just want to assert that the properties are properly
11608 tests/test_unknown.py | 10 ++++++++++
11609 1 file changed, 10 insertions(+)
11611 commit 9d7771affcf788d251cced65da56fc2773a278b3
11612 Author: Martin Pitt <martinpitt@gnome.org>
11613 Date: Wed Nov 14 07:01:24 2012 +0100
11615 Fix previous commit for Python 2
11617 gi/pygi-foreign-cairo.c | 2 +-
11618 1 file changed, 1 insertion(+), 1 deletion(-)
11620 commit 997d4e70b2793039d916acf8921087576622152e
11621 Author: Martin Pitt <martinpitt@gnome.org>
11622 Date: Wed Nov 14 06:57:04 2012 +0100
11624 pygi-foreign-cairo.c: Use official py3cairo API
11626 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
11628 instead of our own code.
11630 gi/pygi-foreign-cairo.c | 4 ++--
11631 1 file changed, 2 insertions(+), 2 deletions(-)
11633 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
11634 Author: Martin Pitt <martinpitt@gnome.org>
11635 Date: Wed Nov 14 06:47:23 2012 +0100
11637 Drop dead code from pygi-callbacks.[hc]
11639 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
11641 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
11643 there, and drop pygi-callbacks.[hc] completely.
11645 gi/Makefile.am | 2 -
11646 gi/pygi-callbacks.c | 217
11647 ----------------------------------------------
11648 gi/pygi-callbacks.h | 48 ----------
11649 gi/pygi-marshal-from-py.c | 44 ++++++++++
11650 gi/pygi-private.h | 1 -
11651 5 files changed, 44 insertions(+), 268 deletions(-)
11653 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
11654 Author: Carlos Garnacho <carlos@lanedo.com>
11655 Date: Tue Nov 13 18:24:28 2012 +0100
11657 Fix marshalling of arrays of struct pointers to Python
11659 Fill in the pointer to the struct, not the pointer to the
11660 array position. This makes the GdkAtom** argument in
11661 gtk_clipboard_wait_for_targets() work.
11663 https://bugzilla.gnome.org/show_bug.cgi?id=678620
11665 gi/pygi-marshal-to-py.c | 5 ++++-
11666 1 file changed, 4 insertions(+), 1 deletion(-)
11668 commit fc021516552b1720bacc4afe6b7a610c413194c4
11669 Author: Martin Pitt <martinpitt@gnome.org>
11670 Date: Wed Nov 14 06:27:17 2012 +0100
11672 test_atoms.py: Add test for out array
11674 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
11676 tests/test_atoms.py | 19 +++++++++++++++++++
11677 1 file changed, 19 insertions(+)
11679 commit e2790d22610aae773635d4caef2458082a307283
11680 Author: Martin Pitt <martinpitt@gnome.org>
11681 Date: Tue Nov 13 16:38:36 2012 +0100
11683 Fix Gdk.Atom str()/repr() fallback
11685 Fix regression in commit 6713618: If an atom does not have a name,
11687 recursively call our own str()/repr() methods, but just print
11688 "Gdk.Atom<atom_id>".
11690 gi/overrides/Gdk.py | 6 ++++--
11691 1 file changed, 4 insertions(+), 2 deletions(-)
11693 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
11694 Author: Martin Pitt <martinpitt@gnome.org>
11695 Date: Tue Nov 13 13:16:14 2012 +0100
11697 test_gi: Stop using GLib.bytes.unref_to_array()
11699 This method isn't safe for GI, and should be (skip)ed. Use get_data()
11701 which is safe and works fine.
11703 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
11705 tests/test_gi.py | 6 ------
11706 1 file changed, 6 deletions(-)
11708 commit 671361841de797ef62b59d1d7568fc3d431898c7
11709 Author: Martin Pitt <martinpitt@gnome.org>
11710 Date: Tue Nov 13 12:56:11 2012 +0100
11712 Fix Gdk.Atom to have a proper str() and repr()
11714 Gdk.Atom is not proper GType'd class, so we cannot override the
11716 Just override its __str__() and __repr__() methods so that printing
11718 something sensible. For nameless/invalid atoms, fall back to the old
11719 <void at 0xdeadbeef> output to help with debugging.
11721 https://bugzilla.gnome.org/show_bug.cgi?id=678620
11723 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
11724 tests/test_atoms.py | 12 ++++++++++++
11725 2 files changed, 33 insertions(+)
11727 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
11728 Author: Simon Feltman <sfeltman@src.gnome.org>
11729 Date: Tue Nov 13 02:53:34 2012 -0800
11731 Make sure g_value_set_boxed does not cause a buffer overrun with
11734 Add NULL terminator to gchar** passed to g_value_set_boxed to
11735 make sure it does not overrun memory in pygi_set_property_value_real.
11736 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
11739 https://bugzilla.gnome.org/show_bug.cgi?id=688232
11741 gi/pygi-property.c | 8 ++++++--
11742 tests/Makefile.am | 1 +
11743 2 files changed, 7 insertions(+), 2 deletions(-)
11745 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
11746 Author: Martin Pitt <martinpitt@gnome.org>
11747 Date: Mon Nov 12 08:35:28 2012 +0100
11749 types.py: Fix PEP-8 violation
11752 1 file changed, 1 insertion(+), 1 deletion(-)
11754 commit df589458358d7e7bf178dff4e6ad937a70f806e3
11755 Author: Simon Feltman <sfeltman@src.gnome.org>
11756 Date: Sun Nov 11 22:26:19 2012 -0800
11758 Fix leaks with GValues holding boxed and object types
11760 Expose read access to PyGIBoxed.free_on_dealloc.
11761 Add GObject.Value.__del__ override and call unset() to
11762 correctly free reference counts.
11764 https://bugzilla.gnome.org/show_bug.cgi?id=688137
11766 gi/overrides/GObject.py | 9 +++++++++
11767 gi/pygi-boxed.c | 12 ++++++++++++
11768 tests/test_gi.py | 2 --
11769 3 files changed, 21 insertions(+), 2 deletions(-)
11771 commit c01c95b9fb3d726385efac945f6d1270ae65d109
11772 Author: Simon Feltman <sfeltman@src.gnome.org>
11773 Date: Sun Nov 11 19:46:15 2012 -0800
11775 Add expectantly failing unittests for GValue boxed/object leaks
11777 https://bugzilla.gnome.org/show_bug.cgi?id=688137
11779 tests/test_gi.py | 80
11780 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11781 1 file changed, 80 insertions(+)
11783 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
11784 Author: Simon Feltman <s.feltman@gmail.com>
11785 Date: Thu Aug 16 15:09:08 2012 -0700
11787 Add doc strings showing method signatures for gi methods
11789 Add signature based doc string to all methods pulled in from
11790 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
11791 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
11792 icon_area:cairo.RectangleInt
11794 https://bugzilla.gnome.org/show_bug.cgi?id=681967
11796 gi/overrides/GIMarshallingTests.py | 1 +
11797 gi/pygi-info.c | 103
11798 +++++++++++++++++++++++++++++++++----
11799 gi/pygi-type.c | 60 +++++++++++++++++++++
11800 gi/pygi-type.h | 1 +
11802 ++++++++++++++++++++++++++-------
11803 tests/test_gi.py | 30 +++++++++++
11804 6 files changed, 259 insertions(+), 28 deletions(-)
11806 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
11807 Author: Simon Feltman <sfeltman@src.gnome.org>
11808 Date: Fri Nov 9 19:17:03 2012 -0800
11810 Set Property instance doc string and blurb to getter doc string
11812 Assign Property getter __doc__ strings or explicit blurb parameters
11813 to the Property instances __doc__ attribute. This clobbers the
11814 default Property classes lengthy and unhelpful doc string in the case
11817 https://bugzilla.gnome.org/show_bug.cgi?id=688025
11819 gi/_gobject/propertyhelper.py | 10 +++++++---
11820 tests/test_properties.py | 14 ++++++++++----
11821 2 files changed, 17 insertions(+), 7 deletions(-)
11823 commit c5343d329ebb452d97afac30e4120ebab8477556
11824 Author: Martin Pitt <martinpitt@gnome.org>
11825 Date: Mon Nov 12 07:47:02 2012 +0100
11827 tests: Fix for Python 2
11829 Add quirks for Python 2's string handling, and disable the
11830 Everything.test_array_gint8_in() as there seems to be no way of
11834 tests/test_everything.py | 7 +++++--
11835 1 file changed, 5 insertions(+), 2 deletions(-)
11837 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
11838 Author: Martin Pitt <martinpitt@gnome.org>
11839 Date: Sat Nov 10 15:52:15 2012 +0100
11841 test_everything: Add tests for more Regress data and container types
11843 Add more tests for Regress' data and container type test API.
11845 This detects a number of bugs, which have been marked as expected
11847 disabled completely for the cases where they cause crashes:
11849 * unsigned enums with values >= 0x80000000 do not work
11850 * nested ghashes in return values do not work
11851 * array length arguments in callbacks are passed instead of
11854 tests/test_everything.py | 156
11855 ++++++++++++++++++++++++++++++++++++++++++++++-
11856 1 file changed, 154 insertions(+), 2 deletions(-)
11858 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
11859 Author: Martin Pitt <martinpitt@gnome.org>
11860 Date: Fri Nov 9 18:45:22 2012 +0100
11862 test_everything: Add tests for Regress type tests
11864 Add tests for all the data type handling tests of g-i's Regress
11867 tests/test_everything.py | 183
11868 +++++++++++++++++++++++++++++++++++++++++++++++
11869 1 file changed, 183 insertions(+)
11871 commit 0d7974396e8379b518403983d9d13629066680d7
11872 Author: Martin Pitt <martinpitt@gnome.org>
11873 Date: Fri Nov 9 18:44:50 2012 +0100
11875 Add GObject.G_MINSSIZE
11877 gi/_gobject/gobjectmodule.c | 1 +
11878 gi/overrides/GObject.py | 2 +-
11879 2 files changed, 2 insertions(+), 1 deletion(-)
11881 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
11882 Author: Martin Pitt <martinpitt@gnome.org>
11883 Date: Fri Nov 9 16:02:00 2012 +0100
11885 Fix marshalling of GByteArrays
11887 In _pygi_marshal_from_py_array(), set the array length after copying
11889 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
11891 will always come out as zero length.
11893 Enable the TestGByteArray.test_bytearray_none_in() test case as that
11896 gi/pygi-marshal-from-py.c | 1 +
11897 tests/test_gi.py | 3 +--
11898 2 files changed, 2 insertions(+), 2 deletions(-)
11900 commit fa568949c46dd4b537357f1af74d1f675294b760
11901 Author: Martin Pitt <martinpitt@gnome.org>
11902 Date: Fri Nov 9 15:23:37 2012 +0100
11904 Fix marshalling of ssize_t to smaller ints
11906 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
11907 TestArray.test_array_in test, so drop the expected failure.
11909 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
11910 tests/test_gi.py | 2 --
11911 2 files changed, 29 insertions(+), 3 deletions(-)
11913 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
11914 Author: Martin Pitt <martinpitt@gnome.org>
11915 Date: Fri Nov 9 09:37:00 2012 +0100
11917 test_gi: Enable GByteArray constructor tests
11919 GByteArray annotations have been fixed in GLib now, enable the
11922 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
11924 is the same as disabled_test_bytearray_none_in().
11926 tests/test_gi.py | 16 ++++------------
11927 1 file changed, 4 insertions(+), 12 deletions(-)
11929 commit e2c545896ab08b1f1885b502a8472db83f193d08
11930 Author: Martin Pitt <martinpitt@gnome.org>
11931 Date: Fri Nov 9 09:11:38 2012 +0100
11933 test_gi: Enable GBytes test cases
11935 GBytes annotations are fixed in GLib now, enable the test case and
11937 for g_bytes_new_take() and g_bytes_{compare,equal}().
11939 Please note that calling unref_to_array() on a GBytes object that
11941 ourselves currently causes a double free crash, so disable that part
11944 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
11945 1 file changed, 25 insertions(+), 5 deletions(-)
11947 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
11948 Author: Martin Pitt <martinpitt@gnome.org>
11949 Date: Fri Nov 9 08:26:29 2012 +0100
11951 test_gi: Add missing data type tests from GIMarshallingTests
11953 Add tests for types time_t, GBytes, GByteArray, and various variants
11955 around GValues, flags, enums, arrays, and boxed structs. This tests
11957 is provided by GIMarshallingTests, but which we did not cover yet.
11959 This detects a number of bugs in annotations and our
11960 marshalling. These have
11961 been marked as expected failure, or disabled completely for the
11963 they cause crashes.
11965 tests/test_gi.py | 152
11966 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
11967 1 file changed, 152 insertions(+)
11969 commit 0456d9c892b76ed79134230a4a8610a23c602964
11970 Author: Martin Pitt <martinpitt@gnome.org>
11971 Date: Fri Nov 9 06:44:46 2012 +0100
11973 autogen.sh: Only enable code coverage if lcov is installed
11975 Otherwise we break minimal build environments.
11977 autogen.sh | 8 +++++++-
11978 1 file changed, 7 insertions(+), 1 deletion(-)
11980 commit 76a3acebf73f930c541d0f30249f67d254f948ab
11981 Author: Martin Pitt <martinpitt@gnome.org>
11982 Date: Fri Nov 9 06:41:58 2012 +0100
11984 Lower autoconf dependency to 2.68 again
11986 configure.ac | 2 +-
11987 1 file changed, 1 insertion(+), 1 deletion(-)
11989 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
11990 Author: Martin Pitt <martinpitt@gnome.org>
11991 Date: Thu Nov 8 14:54:30 2012 +0100
11993 Add support for lcov code coverage
11995 Use gnome-common's new code coverage flags. Default to enabling
11997 in autogen.sh (but not for dist).
11999 To use this, run "make check-code-coverage" after building.
12004 configure.ac | 6 ++++++
12005 4 files changed, 10 insertions(+), 1 deletion(-)
12007 commit e46af4aba220cfaf4b84a9be847f3363da556993
12008 Author: Martin Pitt <martinpitt@gnome.org>
12009 Date: Wed Nov 7 17:14:22 2012 +0100
12011 Update documentation files
12013 Update AUTHORS to have the current maintainers.
12015 Update HACKING to drop Tomeu's GNOME login (this should be set in
12018 Update INSTALL to current upstream version.
12023 +++++++++++++++++++++++++++++++++++++++++++---------------------
12024 3 files changed, 267 insertions(+), 130 deletions(-)
12026 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
12027 Author: Martin Pitt <martinpitt@gnome.org>
12028 Date: Wed Nov 7 17:08:11 2012 +0100
12030 Quiesce automake output
12032 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
12034 existing symlinks on rebuilds.
12036 gi/Makefile.am | 2 +-
12037 gi/_glib/Makefile.am | 2 +-
12038 gi/_gobject/Makefile.am | 2 +-
12039 tests/Makefile.am | 6 +++---
12040 4 files changed, 6 insertions(+), 6 deletions(-)
12042 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
12043 Author: Martin Pitt <martinpitt@gnome.org>
12044 Date: Wed Nov 7 16:50:07 2012 +0100
12046 Drop unused variable, fail builds on those
12048 Build with -Werror=unused-variable, as these could hide programming
12050 incomplete refactoring, and are not platform dependent.
12052 Drop unused variable in pyg_type_add_interfaces().
12055 gi/_gobject/gobjectmodule.c | 1 -
12056 2 files changed, 1 insertion(+), 1 deletion(-)
12058 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
12059 Author: Martin Pitt <martinpitt@gnome.org>
12060 Date: Wed Nov 7 16:37:04 2012 +0100
12062 configure.ac: Drop maintainer mode, modernize libtool declarations
12064 Use all arguments of AC_INIT.
12066 AM_MAINTAINER_MODE is discouraged now, drop it.
12068 Use LT_PREREQ and LT_INIT for libtool initialization instead of
12072 See https://live.gnome.org/GnomeGoals/ModernAutotools
12074 configure.ac | 19 ++++++-------------
12075 1 file changed, 6 insertions(+), 13 deletions(-)
12077 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
12078 Author: Martin Pitt <martinpitt@gnome.org>
12079 Date: Wed Nov 7 16:21:13 2012 +0100
12081 autoupdate configure.ac
12083 Result of "autoupdate", with slight manual beautification.
12085 See https://live.gnome.org/GnomeGoals/ModernAutotools
12087 configure.ac | 21 +++++++++------------
12088 1 file changed, 9 insertions(+), 12 deletions(-)
12090 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
12091 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12092 Date: Mon Nov 5 14:26:05 2012 -0300
12094 pygi-convert: remove deprecated GLib → GObject conversions
12096 Using these functions from the GObject module is deprecated now,
12100 pygi-convert.sh | 5 -----
12101 1 file changed, 5 deletions(-)
12103 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
12104 Author: Simon Feltman <sfeltman@src.gnome.org>
12105 Date: Wed Nov 7 03:49:24 2012 -0800
12107 Use hasattr when testing for __info__ when finding vfuncs
12109 Change gi.types.find_vfunc_info_in_interface to use hasattr
12110 when finding vfuncs. Using '__info__' in __dict__ was skipping
12111 overridden interfaces which don't directly contain the __info__.
12114 1 file changed, 1 insertion(+), 1 deletion(-)
12116 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
12117 Author: Martin Pitt <martinpitt@gnome.org>
12118 Date: Wed Nov 7 12:05:24 2012 +0100
12120 tests: Ensure that the fatal mask is always reset
12122 On test case failures the fatal mask might be left in a wrong state,
12124 with "finally" that it is reset on failed tests as well, to avoid
12128 tests/test_gi.py | 11 ++++++-----
12129 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
12130 tests/test_pygtkcompat.py | 6 ++++--
12131 tests/test_signal.py | 6 ++++--
12132 4 files changed, 33 insertions(+), 23 deletions(-)
12134 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
12135 Author: Simon Feltman <sfeltman@src.gnome.org>
12136 Date: Tue Nov 6 21:34:06 2012 -0800
12138 Replace GObject notify methods with introspection and python
12140 Replace static context managers for freeze_notify and
12141 handler_block with python context managers. Remove notify,
12142 freeze_notify, thaw_notify static methods as the introspection
12143 versions work fine.
12145 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12147 gi/_gobject/pygobject.c | 173
12148 ++----------------------------------------------
12149 gi/overrides/GObject.py | 61 +++++++++++++++--
12150 tests/test_gobject.py | 26 ++++++--
12151 tests/test_signal.py | 13 +++-
12152 4 files changed, 91 insertions(+), 182 deletions(-)
12154 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
12155 Author: Simon Feltman <sfeltman@src.gnome.org>
12156 Date: Tue Oct 23 13:56:32 2012 -0700
12158 Add support for overriding GObject.Object
12160 Shift pygi module mechanics so the introspection generated 'Object'
12161 class becomes derived from the static GObject class. Add initial
12162 GObject.Object override which sets all static methods back essentially
12163 leapfrogging the introspection methods. This sets the stage for having
12164 the ability to remove static methods piecemeal in favor of
12165 introspection/python in future commits.
12167 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12169 gi/module.py | 30 +++++++++++---------
12170 gi/overrides/GObject.py | 74
12171 ++++++++++++++++++++++++++++++++++++++++++++++++
12172 gi/pygobject-external.h | 10 +------
12173 gi/types.py | 7 +++++
12174 tests/test_gobject.py | 31 ++++++++++++++++----
12175 tests/testhelpermodule.c | 2 +-
12176 6 files changed, 126 insertions(+), 28 deletions(-)
12178 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
12179 Author: Martin Pitt <martinpitt@gnome.org>
12180 Date: Tue Nov 6 13:55:21 2012 +0100
12182 Bump glib dependency to >= 2.34.2
12184 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
12188 configure.ac | 4 ++--
12189 2 files changed, 3 insertions(+), 3 deletions(-)
12191 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
12192 Author: Martin Pitt <martinpitt@gnome.org>
12193 Date: Tue Nov 6 11:28:42 2012 +0100
12197 Point to python-hackers-list instead of the old pygtk list, update
12199 versions, and point to wiki page and IRC.
12201 README | 19 ++++++++++---------
12202 1 file changed, 10 insertions(+), 9 deletions(-)
12204 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
12205 Author: Martin Pitt <martinpitt@gnome.org>
12206 Date: Tue Nov 6 11:21:32 2012 +0100
12208 Add --with-python configure option
12210 This behaves like setting $PYTHON, but also works in build systems
12212 which do not support setting environment variables.
12214 Update README accordingly.
12216 README | 15 +++++++++------
12217 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
12218 2 files changed, 43 insertions(+), 15 deletions(-)
12220 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
12221 Author: Martin Pitt <martinpitt@gnome.org>
12222 Date: Tue Nov 6 10:39:27 2012 +0100
12224 python.m4: Add python3.3, do not prefer unversioned "python"
12226 Add python 3.3 to the search list.
12228 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
12230 "python", so use that as last fallback if more specific versions do
12233 configure.ac | 2 +-
12234 m4/python.m4 | 2 +-
12235 2 files changed, 2 insertions(+), 2 deletions(-)
12237 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
12238 Author: Martin Pitt <martinpitt@gnome.org>
12239 Date: Tue Nov 6 09:48:50 2012 +0100
12241 m4: Update py-compile to current upstream version
12243 Update py-compile to current versions from automake 1.11.6.
12246 +++++++++++++++++++++++++++++++++++------------------------
12247 1 file changed, 48 insertions(+), 33 deletions(-)
12249 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
12250 Author: Martin Pitt <martinpitt@gnome.org>
12251 Date: Tue Nov 6 09:57:00 2012 +0100
12253 m4: Update introspection.m4 to current upstream version
12255 m4/introspection.m4 | 4 ++++
12256 1 file changed, 4 insertions(+)
12258 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
12259 Author: Martin Pitt <martinpitt@gnome.org>
12260 Date: Tue Nov 6 09:53:15 2012 +0100
12262 option.py: Fix PEP-8 error
12264 gi/_glib/option.py | 2 +-
12265 1 file changed, 1 insertion(+), 1 deletion(-)
12267 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
12268 Author: Simon Feltman <sfeltman@src.gnome.org>
12269 Date: Mon Nov 5 18:27:56 2012 -0800
12271 Remove DynamicGLibModule and DynamicGObjectModule
12273 Move final bits of _glib static binding imports directly into
12274 the GLib override. Change _glib/option use the .so directly
12275 rather than the staged variables in _glib/__init__.py.
12276 Remove DynamicGLibModule and DynamicGObjectModule and update
12279 https://bugzilla.gnome.org/show_bug.cgi?id=687488
12281 gi/_glib/__init__.py | 11 ----------
12282 gi/_glib/option.py | 16 +++++++-------
12283 gi/importer.py | 12 ++---------
12285 ----------------------------------------------------
12286 gi/overrides/GLib.py | 14 ++++++++++++
12287 tests/test_gi.py | 9 ++------
12288 6 files changed, 26 insertions(+), 96 deletions(-)
12290 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
12291 Author: Daniel Drake <dsd@laptop.org>
12292 Date: Thu Nov 1 14:46:22 2012 +0000
12294 Fix property lookup in class hierarchy
12296 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
12297 a Python subclass of a gi-provided base class overrides a property
12301 The new behaviour in the above commit causes pygobject to seek
12303 in the base class and try to read it from there (resulting in
12305 rather than noticing that the property is overridden and present
12307 Python object instance.
12309 To provide a nicer solution here, we can exploit the fact that
12310 g_object_class_find_property() will traverse the hierarchy in order to
12311 find the right GParamSpec, and the returned GParamSpec can tell
12313 which GType introduces the property. The strategy is:
12315 1. Find pspec with g_object_class_find_property()
12316 2. Find the class that owns that property (pspec->owner_type)
12317 3. See if girepository owns that class.
12318 3a. If yes, get property from there.
12319 3b. If not, get property "directly"
12321 And the same for property setting.
12323 Now that _pygi_lookup_property_from_g_type is always passed the
12325 implements the property, it no longer has to go recursing through
12327 classes, which was the original cause of confusion.
12329 https://bugzilla.gnome.org/show_bug.cgi?id=686942
12331 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
12332 gi/pygi-property.c | 130
12333 ++++++++++++++++++++++-------------------------
12334 gi/pygi-property.h | 4 +-
12335 gi/pygi.h | 12 ++---
12336 tests/test_properties.py | 30 +++++++++++
12337 5 files changed, 164 insertions(+), 104 deletions(-)
12339 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
12340 Author: Martin Pitt <martinpitt@gnome.org>
12341 Date: Sat Nov 3 16:14:01 2012 +0100
12343 Move property and signal creation into _class_init()
12345 We must not add class interfaces after g_type_class_ref() has been
12347 first time. Move signal and property creation from pyg_type_register()
12349 pyg_object_class_init(), and drop the hack of registering interfaces
12352 This changed class initialization order now exposes GLib's warning
12354 unknown signals, so adjust
12355 test_signal.TestGSignalsError.test_invalid_name() to
12358 https://bugzilla.gnome.org/show_bug.cgi?id=686149
12360 gi/_gobject/gobjectmodule.c | 177
12361 ++++++++++++++++++--------------------------
12362 tests/test_signal.py | 6 +-
12363 2 files changed, 75 insertions(+), 108 deletions(-)
12365 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
12366 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12367 Date: Sat Nov 3 13:21:52 2012 -0300
12369 Remove unused macro definitions
12371 PYGLIB_*_VERSION are not used anywhere any more, remove those.
12372 (dropped in commit 8d52bceb1)
12374 gi/_glib/glibmodule.c | 5 -----
12375 1 file changed, 5 deletions(-)
12377 commit fa054fd15b8874760bee97d9af168a2969e6ece4
12378 Author: Martin Pitt <martinpitt@gnome.org>
12379 Date: Mon Nov 5 14:38:07 2012 +0100
12381 testhelpermodule.c: Drop obsolete g_thread_init()
12383 We already require a new enough glib version as we dropped
12385 the main code a long time ago. But for formality's sake, bump glib
12389 configure.ac | 4 ++--
12390 tests/testhelpermodule.c | 1 -
12391 2 files changed, 2 insertions(+), 3 deletions(-)
12393 commit 2e57530a27a44e94927d487cf2f2d9e543777654
12394 Author: Martin Pitt <martinpitt@gnome.org>
12395 Date: Mon Nov 5 14:37:11 2012 +0100
12397 pygi-source.c: Drop dead code
12399 gi/pygi-source.c | 2 --
12400 1 file changed, 2 deletions(-)
12402 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
12403 Author: Simon Feltman <sfeltman@src.gnome.org>
12404 Date: Sun Nov 4 22:22:53 2012 -0800
12406 Move TYPE constants from _gobject to GObject
12408 Clear out TYPE constants from _gobject/__init__.py and move them
12410 GObject overrides. Disperse class imports among modules that use
12412 of using _gobject/__init__.py as a staging area (e.g. GInterface).
12414 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12416 gi/_gobject/__init__.py | 30 ------------------------------
12417 gi/_gobject/constants.py | 2 +-
12418 gi/module.py | 38 +++++++++++++++++++++++++-------------
12419 gi/overrides/__init__.py | 9 ++++++---
12420 gi/types.py | 10 ++++++----
12421 5 files changed, 38 insertions(+), 51 deletions(-)
12423 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
12424 Author: Martin Pitt <martinpitt@gnome.org>
12425 Date: Mon Nov 5 13:10:05 2012 +0100
12427 Move G_MIN/MAX constants into GObject overrides
12429 These really ought to come from GLib's typelib, but are not right
12431 need to keep the static bindings for those. But drop them from
12433 move them into the overrides where they belong.
12435 gi/_gobject/__init__.py | 17 -----------------
12436 gi/_gobject/constants.py | 21 ---------------------
12437 gi/_gobject/propertyhelper.py | 2 +-
12438 gi/overrides/GObject.py | 9 +++++++++
12439 tests/test_gi.py | 32 ++++++++++++++++----------------
12440 5 files changed, 26 insertions(+), 55 deletions(-)
12442 commit 12b84727edc36f686a7031b5c4c6bf662838908d
12443 Author: Martin Pitt <martinpitt@gnome.org>
12444 Date: Mon Nov 5 11:04:54 2012 +0100
12446 Replace static OPTION_* constants with GI
12448 Drop static definitions of GLib.OPTION_* constants and use the ones
12452 https://bugzilla.gnome.org/show_bug.cgi?id=686765
12454 gi/_glib/__init__.py | 13 -------------
12455 gi/_glib/glibmodule.c | 32 --------------------------------
12456 gi/_glib/option.py | 46
12457 ++++++++++++++++++++++++----------------------
12458 gi/overrides/GLib.py | 13 +++++++++++++
12459 gi/overrides/GObject.py | 2 +-
12460 5 files changed, 38 insertions(+), 68 deletions(-)
12462 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
12463 Author: Martin Pitt <martinpitt@gnome.org>
12464 Date: Mon Nov 5 10:14:52 2012 +0100
12466 tests: Do not use deprecated assertRaisesRegexp()
12468 Use assertRaisesRegex() instead and provide 2.7 compatibility in
12471 tests/runtests.py | 3 +++
12472 tests/test_signal.py | 8 ++++----
12473 2 files changed, 7 insertions(+), 4 deletions(-)
12475 commit da2106902eb3dabebdff1674743cb3040566a745
12476 Author: Simon Feltman <sfeltman@src.gnome.org>
12477 Date: Sun Nov 4 02:57:29 2012 -0800
12479 Move gobject static functions and constants to gi
12481 Replace the following functions with gi and overrides:
12482 type_children, type_interfaces, signal_list_ids, signal_list_names,
12483 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
12484 PARAM_* from gi SignalFlags and ParamFlags respectively.
12485 Move module level assignments of a number of static functions to
12486 the GObject.py overrides file.
12488 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12490 docs/reference/pygobject-functions.xml | 25 ---
12491 gi/_gobject/__init__.py | 72 +--------
12492 gi/_gobject/gobjectmodule.c | 272
12493 ---------------------------------
12494 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
12495 gi/overrides/__init__.py | 5 +-
12496 tests/test_signal.py | 11 +-
12497 6 files changed, 215 insertions(+), 378 deletions(-)
12499 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
12500 Author: Simon Feltman <sfeltman@src.gnome.org>
12501 Date: Sun Nov 4 02:52:19 2012 -0800
12503 Make unitests for gobject functions moving to gi more strict
12505 Add expected failure test for invalid SystemError's coming from
12506 signal_lookup and signal_list_ids. Remove excessive type_name
12507 tests and type_from_name tests.
12509 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12511 tests/test_gtype.py | 53
12512 ----------------------------------------------------
12513 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
12514 2 files changed, 25 insertions(+), 68 deletions(-)
12516 commit 3267808318b284814e52f2803b17af56fca648ad
12517 Author: Martin Pitt <martinpitt@gnome.org>
12518 Date: Sat Nov 3 14:17:25 2012 +0100
12520 [API change] Remove static filename_from_utf8() binding
12522 Replace static GLib.filename_from_utf8() with GI. The old static
12524 tried to convert the result to an Unicode object, which will fail
12526 is not UTF-8 encoded (which is the whole point of this function
12530 Although the static binding was rather useless before, this is
12534 docs/reference/pyglib-functions.xml | 32 --------------------------------
12535 gi/_glib/__init__.py | 1 -
12536 gi/_glib/glibmodule.c | 26 --------------------------
12537 gi/_gobject/__init__.py | 1 -
12538 gi/overrides/GLib.py | 8 ++++++++
12539 gi/overrides/GObject.py | 3 ++-
12540 tests/test_glib.py | 8 ++++++++
12541 7 files changed, 18 insertions(+), 61 deletions(-)
12543 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
12544 Author: Martin Pitt <martinpitt@gnome.org>
12545 Date: Sat Nov 3 13:14:15 2012 +0100
12547 Drop static glib_version and pyglib_version constants
12549 Use the GLib version from GI instead, and the already existing
12552 docs/reference/pyglib-constants.xml | 50
12553 ----------------------------------
12554 docs/reference/pygobject-constants.xml | 19 -------------
12555 gi/_glib/__init__.py | 2 --
12556 gi/_glib/glibmodule.c | 21 --------------
12557 gi/_gobject/__init__.py | 1 -
12558 gi/overrides/GLib.py | 8 +++++-
12559 gi/overrides/GObject.py | 3 +-
12560 tests/test_glib.py | 12 ++++++++
12561 8 files changed, 21 insertions(+), 95 deletions(-)
12563 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
12564 Author: Martin Pitt <martinpitt@gnome.org>
12565 Date: Sat Nov 3 12:12:44 2012 +0100
12567 Drop static G_MININT8 and related constants
12569 Use the introspected constants from GLib instead.
12571 gi/_gobject/__init__.py | 12 ------------
12572 gi/_gobject/constants.py | 12 ------------
12573 gi/_gobject/gobjectmodule.c | 18 +-----------------
12574 gi/overrides/GObject.py | 17 +++++++++++++++++
12575 tests/test_gobject.py | 4 ++++
12576 5 files changed, 22 insertions(+), 41 deletions(-)
12578 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
12579 Author: Martin Pitt <martinpitt@gnome.org>
12580 Date: Sat Nov 3 11:58:40 2012 +0100
12582 test_gobject: Add test case for min/max int constants
12584 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
12586 tests/test_gobject.py | 9 +++++++++
12587 1 file changed, 9 insertions(+)
12589 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
12590 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12591 Date: Sat Oct 27 15:37:32 2012 -0300
12593 Use g_object_info_find_signal()
12595 Replace our custom code with a call to the corresponding
12596 gobject-instrospection
12599 https://bugzilla.gnome.org/show_bug.cgi?id=687371
12601 gi/pygi-signal-closure.c | 21 ++++-----------------
12602 1 file changed, 4 insertions(+), 17 deletions(-)
12604 commit ae6d0aada9587cd4dca168375527b80785b604a0
12605 Author: Martin Pitt <martinpitt@gnome.org>
12606 Date: Sat Nov 3 11:23:06 2012 +0100
12608 GLib overrides: code cleanup
12610 Factorize the logic to handle zero or multiple user_data arguments
12612 user_data_varargs_shim(), and put code that handles deprecated API
12614 corresponding "then" branches, to improve readability.
12616 gi/overrides/GLib.py | 87
12617 ++++++++++++++++++++++++++++------------------------
12618 1 file changed, 47 insertions(+), 40 deletions(-)
12620 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
12621 Author: Martin Pitt <martinpitt@gnome.org>
12622 Date: Sat Nov 3 09:33:08 2012 +0100
12624 Restore actual GLib API after previous fix
12626 Re-fix the acceptance of priority as first argument for idle_add(),
12627 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
12629 this keeps supporting the backwards compatible API with supplying
12633 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12635 gi/overrides/GLib.py | 117
12636 +++++++++++++++++++++++++-----------------------
12637 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
12638 tests/test_source.py | 30 +++++++++++++
12639 3 files changed, 158 insertions(+), 63 deletions(-)
12641 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
12642 Author: Simon Feltman <sfeltman@src.gnome.org>
12643 Date: Fri Nov 2 21:01:38 2012 -0700
12645 Add unittests for module level type and signal functions
12647 Add tests for the following methods: signal_list_ids,
12648 signal_name, signal_lookup, signal_query, type_children,
12649 type_from_name, type_name, type_is_a, and type_interfaces.
12651 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12653 tests/Makefile.am | 1 +
12654 tests/test_gtype.py | 106
12655 +++++++++++++++++++++++++++++++++++++++++++++++++++
12656 tests/test_signal.py | 43 +++++++++++++++++++++
12657 3 files changed, 150 insertions(+)
12659 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
12660 Author: Simon Feltman <sfeltman@src.gnome.org>
12661 Date: Tue Oct 30 18:33:44 2012 -0700
12663 Fix GLib override incompatibilities with old static API
12665 Change idle_add, timeout_add, timeout_add_seconds, and
12666 io_add_watch to accept *args and **kwargs as arguments
12667 to the callback functions instead of only accepting a single
12668 user_data arg. This ensures the new overridden introspection
12669 methods are backwards compatible with the static versions
12672 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12674 gi/overrides/GLib.py | 98
12675 ++++++++++++++++++++++++++++---------------------
12676 tests/test_iochannel.py | 37 +++++++++++++++++--
12677 2 files changed, 90 insertions(+), 45 deletions(-)
12679 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
12680 Author: Simon Feltman <sfeltman@src.gnome.org>
12681 Date: Tue Oct 30 12:01:44 2012 -0700
12683 Fix IOChannel unittests for python 2.7
12685 Use __future__ unicode_literals to minimize difference
12686 between python 2.7 and 3. Comparisons need to encode arguments as
12687 'UTF-8' for testing readline operations.
12688 Add backwards compatible "next" to support the python 2.7 iteration.
12689 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
12690 support all python versions (and duck typing).
12692 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12694 gi/overrides/GLib.py | 4 +++-
12695 tests/test_iochannel.py | 1 +
12696 2 files changed, 4 insertions(+), 1 deletion(-)
12698 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
12699 Author: Martin Pitt <martinpitt@gnome.org>
12700 Date: Mon Oct 29 23:00:31 2012 +0100
12702 Allow calling io_add_watch with a file object
12704 The old static bindings allowed that, so we need to allow it to
12706 backwards compatibility. Deprecate this mode as well, so that we
12710 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12712 gi/overrides/GLib.py | 7 +++++++
12713 tests/test_glib.py | 26 ++++++++++++++++++++++++++
12714 2 files changed, 33 insertions(+)
12716 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
12717 Author: John Ralls <jralls@ceridwen.us>
12718 Date: Mon Oct 29 14:57:22 2012 -0700
12720 Fix duplicate symbols error on OSX
12722 gi/pygi-source.c | 1 +
12723 1 file changed, 1 insertion(+)
12725 commit 5a367aa067e369f2b1e713199614e3426fecc10e
12726 Author: Martin Pitt <martinpitt@gnome.org>
12727 Date: Sun Oct 28 17:42:34 2012 +0100
12729 Drop removed markup-escape-text() from reference documentation
12731 docs/reference/pyglib-functions.xml | 36
12732 ------------------------------------
12733 1 file changed, 36 deletions(-)
12735 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
12736 Author: Martin Pitt <martinpitt@gnome.org>
12737 Date: Sun Oct 28 17:41:03 2012 +0100
12739 Drop some dead code from gi/_glib/glibmodule.c
12741 gi/_glib/glibmodule.c | 45 ---------------------------------------------
12742 1 file changed, 45 deletions(-)
12744 commit 7b12803bce3418bb487127f497f022c973f35888
12745 Author: Martin Pitt <martinpitt@gnome.org>
12746 Date: Sun Oct 28 17:37:29 2012 +0100
12748 Remove static get_current_time() binding
12750 Use GLib.get_real_time() through GI instead. Deprecate the function,
12752 GLib.get_real_time() should be called directly.
12754 docs/reference/pyglib-functions.xml | 26 --------------------------
12755 gi/_glib/__init__.py | 1 -
12756 gi/_glib/glibmodule.c | 11 -----------
12757 gi/_glib/pyglib.c | 16 ----------------
12758 gi/_glib/pyglib.h | 1 -
12759 gi/_gobject/__init__.py | 1 -
12760 gi/overrides/GLib.py | 8 ++++++++
12761 gi/overrides/GObject.py | 2 +-
12762 tests/test_glib.py | 6 +++++-
12763 9 files changed, 14 insertions(+), 58 deletions(-)
12765 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
12766 Author: Martin Pitt <martinpitt@gnome.org>
12767 Date: Sun Oct 28 17:23:23 2012 +0100
12769 Add more tests for GLib.spawn_async()
12771 Check spawn_async() with getting stdin/out/err pipes and specifying
12774 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
12775 1 file changed, 29 insertions(+)
12777 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
12778 Author: Martin Pitt <martinpitt@gnome.org>
12779 Date: Sun Oct 28 14:15:05 2012 +0100
12781 Remove static child_add_watch() binding
12783 Use the GLib API through GI instead, and provide override to keep
12785 compatible API. Also allow using the actual GLib API, and deprecate
12787 static API of calling without a priority as first argument.
12789 docs/reference/pyglib-functions.xml | 61 ---------------------------
12790 gi/_glib/__init__.py | 1 -
12791 gi/_glib/glibmodule.c | 72 -------------------------------
12792 gi/_gobject/__init__.py | 1 -
12793 gi/overrides/GLib.py | 46 ++++++++++++++++++++
12794 gi/overrides/GObject.py | 2 +-
12795 tests/test_mainloop.py | 2 +-
12796 tests/test_subprocess.py | 84
12797 ++++++++++++++++++++++++++++++++++---
12798 8 files changed, 127 insertions(+), 142 deletions(-)
12800 commit 4b16427714b850e33c6020d8de1833bae19a3b87
12801 Author: Martin Pitt <martinpitt@gnome.org>
12802 Date: Sun Oct 28 13:44:23 2012 +0100
12804 test_subprocess: Cover more child_watch_add() cases
12806 Verify that priority is set correctly, and also test calling without
12809 tests/test_subprocess.py | 24 +++++++++++++++++++-----
12810 1 file changed, 19 insertions(+), 5 deletions(-)
12812 commit 83ff5938612d37d52f112867a472777dd6786d69
12813 Author: Colin Walters <walters@verbum.org>
12814 Date: Sat Oct 27 12:22:53 2012 -0400
12816 gi/__init__.py: Pacify pep8 style checker
12818 It was complaining about finding only 1 blank line. Regression
12819 likely introduced by f976d05b.
12821 https://bugzilla.gnome.org/show_bug.cgi?id=686991
12823 gi/__init__.py | 1 +
12824 1 file changed, 1 insertion(+)
12826 commit f976d05b04f26e733d19988e68989e340eb3a29e
12827 Author: Martin Pitt <martinpitt@gnome.org>
12828 Date: Fri Oct 26 10:39:28 2012 +0200
12830 Use a custom deprecation warning to make them visible by default
12832 DeprecationWarning is not shown by default, and is thus rather
12834 developers. Use a custom PyGIDeprecationWarning class and derive
12836 RuntimeWarning to make it visible.
12838 gi/__init__.py | 5 +++++
12839 gi/overrides/GLib.py | 5 +++--
12840 gi/overrides/Gtk.py | 5 +++--
12841 gi/overrides/__init__.py | 4 ++--
12842 gi/pygtkcompat.py | 4 ++--
12843 tests/Makefile.am | 2 +-
12844 tests/test_glib.py | 5 +++--
12845 tests/test_gobject.py | 3 ++-
12846 tests/test_iochannel.py | 5 +++--
12847 tests/test_source.py | 3 ++-
12848 10 files changed, 26 insertions(+), 15 deletions(-)
12850 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
12851 Author: Martin Pitt <martinpitt@gnome.org>
12852 Date: Fri Oct 26 09:26:17 2012 +0200
12854 Remove static io_add_watch() binding
12856 Use the GLib API through GI instead, and provide override to keep
12858 compatible API. Also allow using the actual GLib API, and deprecate
12861 - calling with an fd as first argument instead of an IOChannel
12862 - calling without a priority as second argument
12864 docs/reference/pyglib-functions.xml | 106
12865 ------------------------------------
12866 gi/_glib/__init__.py | 1 -
12867 gi/_glib/glibmodule.c | 98
12868 ---------------------------------
12869 gi/_gobject/__init__.py | 1 -
12870 gi/overrides/GLib.py | 51 ++++++++++++++---
12871 gi/overrides/GObject.py | 3 +-
12872 tests/test_glib.py | 15 ++++-
12873 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
12874 8 files changed, 126 insertions(+), 219 deletions(-)
12876 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
12877 Author: Martin Pitt <martinpitt@gnome.org>
12878 Date: Fri Oct 26 08:48:35 2012 +0200
12880 Add tests for GLib.io_add_watch()
12882 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
12883 1 file changed, 36 insertions(+)
12885 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
12886 Author: Martin Pitt <martinpitt@gnome.org>
12887 Date: Thu Oct 25 15:55:46 2012 +0200
12889 Remove static GIOChannel bindings
12891 Use the GLib API through GI instead, and provide overrides to keep
12893 compatible API, including its bugs.
12895 We still need to keep a static wrapper around
12896 g_io_channel_read_chars() until
12897 we teach PyGObject to correctly handle caller allocated out array
12900 https://bugzilla.gnome.org/show_bug.cgi?id=686795
12902 gi/_glib/Makefile.am | 2 -
12903 gi/_glib/__init__.py | 1 -
12904 gi/_glib/glibmodule.c | 2 -
12905 gi/_glib/pygiochannel.c | 748
12906 ------------------------------------------------
12907 gi/_glib/pygiochannel.h | 29 --
12908 gi/_gobject/__init__.py | 1 -
12909 gi/gimodule.c | 72 +++++
12910 gi/overrides/GLib.py | 95 +++++-
12911 8 files changed, 161 insertions(+), 789 deletions(-)
12913 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
12914 Author: Martin Pitt <martinpitt@gnome.org>
12915 Date: Thu Oct 25 12:59:46 2012 +0200
12917 test_iochannel.py: Fix data type of IOFlags
12919 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
12921 the result is of type GLib.IOFlags again.
12923 tests/test_iochannel.py | 2 +-
12924 1 file changed, 1 insertion(+), 1 deletion(-)
12926 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
12927 Author: Martin Pitt <martinpitt@gnome.org>
12928 Date: Thu Oct 25 08:24:31 2012 +0200
12930 Add environment variable to disable pep8 checks
12932 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
12934 makes the test/fix turnaround time faster.
12936 tests/Makefile.am | 6 ++++--
12937 1 file changed, 4 insertions(+), 2 deletions(-)
12939 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
12940 Author: Simon Feltman <sfeltman@src.gnome.org>
12941 Date: Wed Oct 24 04:31:26 2012 -0700
12943 [API add] Add get_introspection_module for getting un-overridden
12946 Add gi.module.get_introspection_module to explicitly get a
12947 wrapped module pulled in through introspection without static
12948 and python override handling. This API is intended for python
12949 overrides to use rather than having them access
12950 gi.importer.modules['<name>']._introspection_module directly.
12951 Replace aforementioned usage in all overrides.
12953 https://bugzilla.gnome.org/show_bug.cgi?id=686828
12956 +++++++++++++++++++++++++++++++++++---
12957 gi/overrides/GIMarshallingTests.py | 4 ++--
12958 gi/overrides/GLib.py | 4 ++--
12959 gi/overrides/Gdk.py | 6 +++---
12960 gi/overrides/Gio.py | 4 ++--
12961 gi/overrides/Gtk.py | 5 +++--
12962 gi/overrides/Pango.py | 4 ++--
12963 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
12964 8 files changed, 78 insertions(+), 16 deletions(-)
12966 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
12967 Author: Martin Pitt <martinpitt@gnome.org>
12968 Date: Wed Oct 24 15:16:13 2012 +0200
12970 test_option: Use public API
12972 Use GLib.option, not gi._glib.option.
12974 tests/test_option.py | 42 ++++++++++++++++++++----------------------
12975 1 file changed, 20 insertions(+), 22 deletions(-)
12977 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
12978 Author: Martin Pitt <martinpitt@gnome.org>
12979 Date: Wed Oct 24 14:12:05 2012 +0200
12981 Drop static SPAWN_* constants
12983 Use the introspected constants instead, which are identical. Add
12985 compatible aliases.
12987 These constants are covered by tests/test_subprocess.py.
12989 https://bugzilla.gnome.org/show_bug.cgi?id=686765
12991 docs/reference/pyglib-constants.xml | 68
12992 ----------------------------------
12993 docs/reference/pyglib-functions.xml | 26 ++++++-------
12994 docs/reference/pygobject-constants.xml | 67
12995 ---------------------------------
12996 gi/_glib/__init__.py | 7 ----
12997 gi/_glib/glibmodule.c | 15 --------
12998 gi/_gobject/__init__.py | 7 ----
12999 gi/overrides/GLib.py | 6 +++
13000 gi/overrides/GObject.py | 6 ++-
13001 tests/test_subprocess.py | 6 ++-
13002 9 files changed, 29 insertions(+), 179 deletions(-)
13004 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
13005 Author: Martin Pitt <martinpitt@gnome.org>
13006 Date: Wed Oct 24 13:59:31 2012 +0200
13008 Drop static IO_* constants
13010 Use the introspected constants instead, which are identical. Add
13012 compatible aliases.
13014 These constants are covered by tests/test_iochannel.py.
13016 docs/reference/pyglib-constants.xml | 52
13017 -------------------------------------
13018 gi/_glib/__init__.py | 19 --------------
13019 gi/_glib/glibmodule.c | 32 -----------------------
13020 gi/_gobject/__init__.py | 18 -------------
13021 gi/overrides/GLib.py | 18 ++++++++++++-
13022 gi/overrides/GObject.py | 8 +++++-
13023 tests/test_iochannel.py | 1 +
13024 tests/test_source.py | 2 +-
13025 8 files changed, 26 insertions(+), 124 deletions(-)
13027 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
13028 Author: Martin Pitt <martinpitt@gnome.org>
13029 Date: Wed Oct 24 12:50:50 2012 +0200
13031 Fix various bugs in GLib.IOChannel
13033 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
13035 NULL on the last element, instead of raising a StopIteration.
13037 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
13039 stream is being used in binary mode; in that case, we should not
13041 do any automagic conversion to an Unicode object. As this special
13043 inconsistent and has never worked anyway, and the current buggy
13044 implementation breaks binary streams, just drop it without
13046 (Introduced in commit de9eae4dfcce8)
13048 These bugs were uncovered by the previously committed tests.
13050 gi/_glib/pygiochannel.c | 25 +++++--------------------
13051 1 file changed, 5 insertions(+), 20 deletions(-)
13053 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
13054 Author: Martin Pitt <martinpitt@gnome.org>
13055 Date: Wed Oct 24 12:49:04 2012 +0200
13057 Add tests for GLib.IOChannel
13059 This did not have any code coverage at all. The tests uncover a
13061 which will be fixed in the next commit.
13063 tests/Makefile.am | 1 +
13064 tests/test_iochannel.py | 262
13065 ++++++++++++++++++++++++++++++++++++++++++++++++
13066 2 files changed, 263 insertions(+)
13068 commit 1b27432abf6004553e9476d5ffeb2bf603534419
13069 Author: Martin Pitt <martinpitt@gnome.org>
13070 Date: Wed Oct 24 08:50:37 2012 +0200
13072 Remove static idle_add/timeout_add bindings
13074 Use the GLib functions through GI instead. Add overrides to ensure
13076 arguments continue to work as before, and that callbacks are called
13078 userdata argument if it wasn't specified.
13080 docs/reference/pyglib-functions.xml | 165
13081 ------------------------------------
13082 gi/_glib/__init__.py | 3 -
13083 gi/_glib/glibmodule.c | 139 ------------------------------
13084 gi/_gobject/__init__.py | 3 -
13085 gi/overrides/GLib.py | 31 +++++++
13086 gi/overrides/GObject.py | 3 +-
13087 tests/test_source.py | 19 +++++
13088 7 files changed, 52 insertions(+), 311 deletions(-)
13090 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
13091 Author: Martin Pitt <martinpitt@gnome.org>
13092 Date: Wed Oct 24 09:14:57 2012 +0200
13094 Add tests for priority argument of idle_add/timeout_add
13096 There is a potential to treat the priority as user data in a call like
13097 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
13099 using a keyword argument for the priority (but silently ignore it
13101 specify both userdata and priority as a positional argument).
13103 Test the correct handling of priority as well.
13105 tests/test_source.py | 63
13106 ++++++++++++++++++++++++++++++++++++++++++++++++----
13107 1 file changed, 59 insertions(+), 4 deletions(-)
13109 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
13110 Author: Martin Pitt <martinpitt@gnome.org>
13111 Date: Wed Oct 24 08:40:50 2012 +0200
13113 Drop old ChangeLog.pre-2.18
13115 This is ancient by now, quite sizable, and the complete history can
13117 seen in the git log.
13119 ChangeLog.pre-2.18 | 3608
13120 ----------------------------------------------------
13122 2 files changed, 3609 deletions(-)
13124 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
13125 Author: Martin Pitt <martinpitt@gnome.org>
13126 Date: Wed Oct 24 08:39:05 2012 +0200
13128 Fix PEP-8 whitespace in previous commit
13130 tests/test_source.py | 4 ++++
13131 1 file changed, 4 insertions(+)
13133 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
13134 Author: Martin Pitt <martinpitt@gnome.org>
13135 Date: Wed Oct 24 08:33:49 2012 +0200
13137 Add tests for idle_add()/timeout_add with and without user data
13139 This is implicitly spread over various test cases, but let's test
13141 to ensure that the behaviour stays consistent when moving this to GI.
13143 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
13144 1 file changed, 35 insertions(+)
13146 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
13147 Author: Martin Pitt <martinpitt@gnome.org>
13148 Date: Wed Oct 24 08:05:43 2012 +0200
13150 tests: consitent naming style
13152 Stop mixing camel case and underline naming, use the latter
13156 tests/test_gobject.py | 64
13157 +++++++++++++++++++++++------------------------
13158 tests/test_interface.py | 4 +--
13159 tests/test_option.py | 14 +++++------
13160 tests/test_pygtkcompat.py | 32 ++++++++++++------------
13161 tests/test_signal.py | 10 ++++----
13162 tests/test_source.py | 23 ++++++++---------
13163 tests/test_subprocess.py | 2 +-
13164 tests/test_thread.py | 2 +-
13165 tests/test_unknown.py | 2 +-
13166 9 files changed, 76 insertions(+), 77 deletions(-)
13168 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
13169 Author: Martin Pitt <martinpitt@gnome.org>
13170 Date: Wed Oct 24 07:28:10 2012 +0200
13172 Work around wrong 64 bit constants in GLib Gir
13174 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
13176 set them in an override, until this gets fixed properly.
13178 https://bugzilla.gnome.org/show_bug.cgi?id=685022
13180 gi/overrides/GLib.py | 8 ++++++++
13181 tests/test_gi.py | 9 +++++++++
13182 2 files changed, 17 insertions(+)
13184 commit f30efd2619911c89ca873fac6bec06a1b60fab82
13185 Author: Martin Pitt <martinpitt@gnome.org>
13186 Date: Tue Oct 23 13:32:14 2012 +0200
13188 Mark GLib.Source.get_current_time() as deprecated
13190 This method has been deprecated in GLib long ago. We have a workaround
13191 implementation using GLib.get_real_time(), but eventually this should
13194 gi/overrides/GLib.py | 5 ++++-
13195 tests/test_source.py | 8 +++++++-
13196 2 files changed, 11 insertions(+), 2 deletions(-)
13198 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
13199 Author: Martin Pitt <martinpitt@gnome.org>
13200 Date: Tue Oct 23 08:56:19 2012 +0200
13202 Mark GLib API that is exposed in GObject as deprecated
13204 A lot of API in GObject really belongs into GLib and is just there for
13205 historical/backwards compatible reasons. Mark these methods as
13207 that at some point we can drop them.
13209 gi/overrides/GObject.py | 3 ++-
13210 gi/overrides/__init__.py | 13 +++++++++++++
13211 tests/test_gobject.py | 24 ++++++++++++++----------
13212 3 files changed, 29 insertions(+), 11 deletions(-)
13214 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
13215 Author: Martin Pitt <martinpitt@gnome.org>
13216 Date: Fri Oct 19 09:55:05 2012 +0200
13218 Remove static MainLoop, MainContext, and some GSource bindings
13220 glib's MainLoop and MainContext are fully introspectable these days,
13222 our static bindings. This reduces our code, as well enables GLib
13224 hasn't been available through the static bindings before.
13226 This also requires dropping our custom static types for GLib Source,
13228 and Idle. The latter two work fine with introspection and just
13230 overrides for a backwards compatible API. g_source_new() is not
13232 though, so we need to keep our static wrappers for that. Move
13234 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
13237 Note that gi/_glib/pygsource.[hc] is still required for the static
13239 which is used by the static IOChannel binding. Once the latter
13241 PollFD can be dropped as well.
13243 https://bugzilla.gnome.org/show_bug.cgi?id=686443
13245 docs/Makefile.am | 6 +-
13246 docs/reference/pyglib-classes.xml | 2 -
13247 docs/reference/pyglib-constants.xml | 53 ---
13248 docs/reference/pyglib-functions.xml | 58 ---
13249 docs/reference/pyglib-maincontext.xml | 152 --------
13250 docs/reference/pyglib-mainloop.xml | 202 -----------
13251 gi/Makefile.am | 2 +
13252 gi/_glib/Makefile.am | 4 -
13253 gi/_glib/__init__.py | 12 -
13254 gi/_glib/glibmodule.c | 45 +--
13255 gi/_glib/pyglib.c | 15 -
13256 gi/_glib/pyglib.h | 1 -
13257 gi/_glib/pygmaincontext.c | 126 -------
13258 gi/_glib/pygmaincontext.h | 40 ---
13259 gi/_glib/pygmainloop.c | 362 -------------------
13260 gi/_glib/pygmainloop.h | 36 --
13261 gi/_glib/pygsource.c | 640
13262 ----------------------------------
13263 gi/_glib/pygsource.h | 3 -
13264 gi/_gobject/__init__.py | 13 -
13265 gi/gimodule.c | 9 +
13266 gi/overrides/GLib.py | 116 +++++-
13267 gi/overrides/GObject.py | 10 +-
13268 gi/pygi-private.h | 1 +
13269 gi/pygi-source.c | 247 +++++++++++++
13270 gi/pygi-source.h | 31 ++
13271 tests/test_glib.py | 22 +-
13272 tests/test_gobject.py | 2 +
13273 tests/test_source.py | 3 -
13274 28 files changed, 437 insertions(+), 1776 deletions(-)
13276 commit 326218a20681c1f2234a6eea1ed800382be57626
13277 Author: Simon Feltman <s.feltman@gmail.com>
13278 Date: Wed Sep 19 15:37:14 2012 -0700
13280 Deprecate void pointer fields as general PyObject storage.
13282 Complete deprecation of gpointer struct fields as general
13283 PyObject storage. Only int types are now allowed.
13284 Assignment of anything other than an int or None raises
13285 a TypeError stating the error and associated bug URL.
13287 https://bugzilla.gnome.org/show_bug.cgi?id=683599
13289 gi/pygi-argument.c | 25 ++++++++++++++++-----
13290 gi/pygi-info.c | 28 ++++--------------------
13291 tests/test_everything.py | 53
13292 +++++++++++++++++++++++++--------------------
13293 tests/test_overrides_gtk.py | 41 -----------------------------------
13294 4 files changed, 54 insertions(+), 93 deletions(-)
13296 commit 3dba328010a4ffd9259700ffec95871c7341d491
13297 Author: Martin Pitt <martinpitt@gnome.org>
13298 Date: Tue Oct 23 11:59:08 2012 +0200
13300 Add some MainLoop, MainContext, and Source test cases
13302 These cover the remaining static API and behaviour, so that we
13304 regression tests for converting them to GI.
13306 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
13308 tests/test_glib.py | 21 +++++++++++++++++++++
13309 tests/test_gobject.py | 11 +++++++++++
13310 tests/test_mainloop.py | 16 ++++++++++++++++
13311 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
13312 4 files changed, 92 insertions(+)
13314 commit 7635340271df0a135873459e6a2a365fd4b187a2
13315 Author: Steve Frécinaux <code@istique.net>
13316 Date: Wed Feb 9 18:37:33 2011 +0100
13318 [API change] Do not bind gobject_get_data() and gobject_set_data()
13320 They will basically cause a crash if misused, and you can always use a
13321 python member attribute instead.
13323 These methods were marked as deprecated for 3.4 and throwing a
13325 let's remove them for good now.
13327 https://bugzilla.gnome.org/show_bug.cgi?id=641944
13329 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13331 docs/reference/pygobject.xml | 63
13332 --------------------------------------------
13333 gi/_gobject/pygobject.c | 44 -------------------------------
13334 2 files changed, 107 deletions(-)
13336 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
13337 Author: Martin Pitt <martinpitt@gnome.org>
13338 Date: Tue Oct 23 08:17:40 2012 +0200
13340 Add test for GLib.get_current_time()
13342 This adds a plausibility test, as well as ensuring the documented
13344 This will be useful if/once we drop the static _glib binding.
13346 tests/test_glib.py | 5 +++++
13347 1 file changed, 5 insertions(+)
13349 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
13350 Author: Martin Pitt <martinpitt@gnome.org>
13351 Date: Tue Oct 23 07:48:52 2012 +0200
13353 Drop unnecessary static _glib bindings
13355 Drop static pyglib bindings which have straightforward and working
13357 bindings. Add tests for all dropped functions to ensure they keep
13360 docs/reference/pyglib-constants.xml | 59 -------
13361 docs/reference/pyglib-functions.xml | 270 ------------------------------
13362 gi/_glib/__init__.py | 24 ---
13363 gi/_glib/glibmodule.c | 319
13364 ------------------------------------
13365 gi/_gobject/__init__.py | 9 -
13366 gi/overrides/GLib.py | 16 ++
13367 gi/overrides/GObject.py | 32 ++++
13368 gi/overrides/Makefile.am | 1 +
13369 tests/Makefile.am | 1 -
13370 tests/test_glib.py | 46 ++++++
13371 tests/test_gobject.py | 4 +
13372 tests/test_uris.py | 16 --
13373 12 files changed, 99 insertions(+), 698 deletions(-)
13375 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
13376 Author: Martin Pitt <martinpitt@gnome.org>
13377 Date: Tue Oct 23 06:12:08 2012 +0200
13379 Fix OverflowError in source_remove()
13381 GSource IDs are unsigned, so we must use 'I' for parsing then, not
13384 https://bugzilla.gnome.org/show_bug.cgi?id=684526
13386 gi/_glib/glibmodule.c | 2 +-
13387 tests/test_source.py | 13 ++++++++++++-
13388 2 files changed, 13 insertions(+), 2 deletions(-)
13390 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
13391 Author: Martin Pitt <martinpitt@gnome.org>
13392 Date: Mon Oct 22 13:38:23 2012 +0200
13394 Fix TestSource.testSources() test case
13396 PyGObject has established the assumption that the destruction of
13398 Python object does not destroy the actual GSource, as shown in
13399 TestSource.setup_timeout(), TestTimeout.test504337(), and
13400 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
13402 So we need to explicitly destroy our MySource and Idle objects
13404 them, as their callbacks always return True and we do not want them
13406 over into other tests.
13408 Also fix the assertions to actually verify that MySources' callback
13410 (pos > 0, not pos >= 0), and use the unittest comparison API instead
13412 simple assert statement.
13414 https://bugzilla.gnome.org/show_bug.cgi?id=686627
13416 tests/test_source.py | 8 +++++++-
13417 1 file changed, 7 insertions(+), 1 deletion(-)
13419 commit b984a5fe0d065818a153f259db4dbde79534f084
13420 Author: Martin Pitt <martinpitt@gnome.org>
13421 Date: Mon Oct 22 17:38:56 2012 +0200
13423 configure.ac: post-release bump to 3.7.2
13425 configure.ac | 2 +-
13426 1 file changed, 1 insertion(+), 1 deletion(-)
13428 commit ce0825f58c3eba6084143e430605ffb597622369
13429 Author: Martin Pitt <martinpitt@gnome.org>
13430 Date: Mon Oct 22 17:37:17 2012 +0200
13434 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
13435 1 file changed, 42 insertions(+)
13437 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
13438 Author: Martin Pitt <martinpitt@gnome.org>
13439 Date: Mon Oct 22 17:33:12 2012 +0200
13441 Bump version to 3.7.1
13443 Let's follow the real GNOME versioning from now on.
13445 configure.ac | 2 +-
13446 1 file changed, 1 insertion(+), 1 deletion(-)
13448 commit 3fb13cc05a281970c3a624c2dd152996031b482c
13449 Author: Martin Pitt <martinpitt@gnome.org>
13450 Date: Mon Oct 22 11:36:49 2012 +0200
13452 test_mainloop code cleanup
13454 Ensure that sys.excepthook is always restored, even if the test
13456 assert{True,False,Equal} unittest API instead of simple asserts for
13460 tests/test_mainloop.py | 19 ++++++++++---------
13461 1 file changed, 10 insertions(+), 9 deletions(-)
13463 commit 31061f20083aa60919f6763a12addbf2b052cab7
13464 Author: Simon Feltman <sfeltman@src.gnome.org>
13465 Date: Sun Oct 21 18:55:24 2012 -0700
13467 Change install_properties to not use getattr on classes
13469 The usage of getattr for accessing a classes __gproperties__
13470 variable can be problematic due to the potential of it returning
13471 the parent classes variable when it does not exist on the sub-class.
13472 Similar to the fix for
13473 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
13474 cls.__dict__.get is used to ensure this does not happen.
13476 https://bugzilla.gnome.org/show_bug.cgi?id=686559
13478 gi/_gobject/propertyhelper.py | 2 +-
13479 tests/test_properties.py | 6 ++++--
13480 2 files changed, 5 insertions(+), 3 deletions(-)
13482 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
13483 Author: Simon Feltman <sfeltman@src.gnome.org>
13484 Date: Sat Oct 20 19:56:04 2012 -0700
13486 Move property install function into propertyhelper.py
13488 Move _install_properties() into gi/_gobject/propertyhelper.py
13491 https://bugzilla.gnome.org/show_bug.cgi?id=686559
13493 gi/_gobject/__init__.py | 45 +++----------------------------
13494 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
13495 tests/test_properties.py | 63
13496 +++++++++++++++++++++++++++++++++++++++++++
13497 3 files changed, 111 insertions(+), 42 deletions(-)
13499 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
13500 Author: Simon Feltman <s.feltman@gmail.com>
13501 Date: Sat Oct 20 03:11:07 2012 -0700
13503 Fix Signal decorator to not use base class gsignals dict
13505 Fix install_signals to not use the parent classes __gsignals__
13506 dict if one does not exist on the given class.
13508 https://bugzilla.gnome.org/show_bug.cgi?id=686496
13510 gi/_gobject/signalhelper.py | 2 +-
13511 tests/test_signal.py | 43
13512 +++++++++++++++++++++++++++++++++++++++++++
13513 2 files changed, 44 insertions(+), 1 deletion(-)
13515 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
13516 Author: Martin Pitt <martinpitt@gnome.org>
13517 Date: Fri Oct 19 09:05:01 2012 +0200
13519 tests: Consistently use GLib.MainLoop
13521 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
13523 tests/test_everything.py | 4 ++--
13524 tests/test_gdbus.py | 11 +++++------
13525 2 files changed, 7 insertions(+), 8 deletions(-)
13527 commit ff7e7401b4cf50532fef70263f7559ea513b8333
13528 Author: Kalev Lember <kalevlember@gmail.com>
13529 Date: Wed Oct 17 18:27:14 2012 +0200
13531 Install the .egg-info files into correct multilib directory
13533 This makes sure the .egg-info files end up in the same python
13535 directory as the rest of the gi .py files.
13537 https://bugzilla.gnome.org/show_bug.cgi?id=686315
13539 Makefile.am | 6 +++---
13540 1 file changed, 3 insertions(+), 3 deletions(-)
13542 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
13543 Author: Simon Feltman <s.feltman@gmail.com>
13544 Date: Mon Oct 15 04:03:50 2012 -0700
13546 Fix leaked vfunc return values
13548 Simple fix to dec ref returned values from closures wrapping
13551 https://bugzilla.gnome.org/show_bug.cgi?id=686140
13553 gi/pygi-closure.c | 1 +
13554 tests/test_gi.py | 21 +++++++++++++++++++--
13555 2 files changed, 20 insertions(+), 2 deletions(-)
13557 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
13558 Author: Martin Pitt <martinpitt@gnome.org>
13559 Date: Mon Oct 15 07:42:05 2012 +0200
13561 Skip Regress tests with --disable-cairo
13563 We need cairo to build g-i's Regress library, gir, and typelib. Update
13564 configure.ac to only require cairo if --disable-cairo was not
13566 --disable-cairo, skip building the Regress library and skip all
13570 https://bugzilla.gnome.org/show_bug.cgi?id=685094
13572 configure.ac | 5 ++---
13573 tests/Makefile.am | 45
13574 +++++++++++++++++++++++++++------------------
13575 tests/test_everything.py | 15 +++++++++++----
13576 tests/test_overrides.py | 7 ++++++-
13577 4 files changed, 46 insertions(+), 26 deletions(-)
13579 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
13580 Author: Martin Pitt <martinpitt@gnome.org>
13581 Date: Fri Oct 12 11:05:24 2012 +0200
13583 _pygi_marshal_from_py_uint64: Re-fix check of negative values
13585 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
13589 https://bugzilla.gnome.org/show_bug.cgi?id=685000
13591 gi/pygi-marshal-from-py.c | 6 +++---
13592 1 file changed, 3 insertions(+), 3 deletions(-)
13594 commit 22c22124b787ae67638aff89796d7ce14900ea8e
13595 Author: Simon Feltman <s.feltman@gmail.com>
13596 Date: Mon Oct 8 05:54:30 2012 -0700
13598 Fix leak with python callables as closure argument.
13600 The fix adds an extra args_data list to the PyGIInvokeState
13601 structure. This list is used to track dynamically generated
13602 closures that wrap python callables. This allows the ffi closure
13603 and python callable to be freed when call scope has finished.
13605 https://bugzilla.gnome.org/show_bug.cgi?id=685598
13607 gi/pygi-cache.c | 1 +
13608 gi/pygi-closure.c | 41 +++++++++----
13609 gi/pygi-invoke-state-struct.h | 4 ++
13610 gi/pygi-invoke.c | 7 +++
13611 gi/pygi-marshal-cleanup.c | 14 +++++
13612 gi/pygi-marshal-cleanup.h | 4 ++
13613 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
13614 tests/test_everything.py | 137
13615 +++++++++++++++++++++++++++++++-----------
13616 8 files changed, 206 insertions(+), 59 deletions(-)
13618 commit c0bc69906df2db64560f7c054277ad1956aab57f
13619 Author: Martin Pitt <martinpitt@gnome.org>
13620 Date: Thu Oct 11 17:49:30 2012 +0200
13622 Gio overrides: Handle setting GSettings enum keys
13624 https://bugzilla.gnome.org/show_bug.cgi?id=685947
13626 gi/overrides/Gio.py | 9 ++++++++-
13627 tests/test_overrides_gio.py | 3 +++
13628 2 files changed, 11 insertions(+), 1 deletion(-)
13630 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
13631 Author: Martin Pitt <martinpitt@gnome.org>
13632 Date: Thu Oct 11 17:20:38 2012 +0200
13634 tests: Check reading GSettings enums in Gio overrides
13636 Also split test_override() into several smaller test cases.
13638 tests/org.gnome.test.gschema.xml | 9 +++++++++
13639 tests/test_overrides_gio.py | 14 +++++++++-----
13640 2 files changed, 18 insertions(+), 5 deletions(-)
13642 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
13643 Author: Martin Pitt <martinpitt@gnome.org>
13644 Date: Thu Oct 11 16:08:11 2012 +0200
13646 Fix unsigned values in GArray/GList/GSList/GHash
13648 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
13650 https://bugzilla.gnome.org/show_bug.cgi?id=685860
13652 gi/pygi-argument.c | 9 +++++++++
13653 tests/test_gi.py | 12 ++++++++++++
13654 2 files changed, 21 insertions(+)
13656 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
13657 Author: Colin Walters <walters@verbum.org>
13658 Date: Thu Oct 4 20:13:55 2012 -0400
13660 build: Fix srcdir != builddir
13663 1 file changed, 1 insertion(+), 1 deletion(-)
13665 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
13666 Author: Alban Browaeys <prahal@yahoo.com>
13667 Date: Thu Sep 27 22:44:22 2012 +0200
13669 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
13671 Casting an unsigned to signed and checking if positive was not
13673 unsigned 64 is below G_MAXUINT64 instead.
13675 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
13677 gi/pygi-marshal-from-py.c | 4 ++--
13678 1 file changed, 2 insertions(+), 2 deletions(-)
13680 commit f0870336b9fc7797895f206e0d3ef17a19efe253
13681 Author: Johan Dahlin <johan@gnome.org>
13682 Date: Tue Oct 2 05:30:16 2012 -0700
13684 Install an .egg-info file
13686 This will help easy_install and pip to figure out that PyGObject
13687 is already installed.
13689 https://bugzilla.gnome.org/show_bug.cgi?id=680138
13691 Makefile.am | 13 ++++++++-----
13692 1 file changed, 8 insertions(+), 5 deletions(-)
13694 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
13695 Author: Johan Dahlin <johan@gnome.org>
13696 Date: Thu Oct 4 09:42:41 2012 +0200
13698 PyGProps_getattro(): Fix GObjectClass leak
13700 https://bugzilla.gnome.org/show_bug.cgi?id=685218
13702 gi/_gobject/pygobject.c | 4 +++-
13703 1 file changed, 3 insertions(+), 1 deletion(-)
13705 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
13706 Author: Olivier Crête <olivier.crete@collabora.com>
13707 Date: Mon Sep 17 15:16:32 2012 -0400
13709 pygobject.c: Don't leak GObjectClass reference
13711 https://bugzilla.gnome.org/show_bug.cgi?id=684062
13713 gi/_gobject/pygobject.c | 6 +++++-
13714 1 file changed, 5 insertions(+), 1 deletion(-)
13716 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
13717 Author: Alban Browaeys <prahal@yahoo.com>
13718 Date: Sat Sep 29 01:17:14 2012 +0200
13720 Fix memory leak in _pygi_argument_to_array()
13722 Length arg and type info need to be unref'ed.
13724 https://bugzilla.gnome.org/show_bug.cgi?id=685082
13726 gi/pygi-argument.c | 3 +++
13727 1 file changed, 3 insertions(+)
13729 commit 34270a109d2af20391c80e88874ee7303eaf5c09
13730 Author: Martin Pitt <martinpitt@gnome.org>
13731 Date: Fri Sep 28 07:42:51 2012 +0200
13733 Fix error messages for out of range numbers
13735 PyErr_Format() does not understand %lli and %li, it needs to be %lld
13737 So we cannot use those and G_GINT64_FORMAT.
13739 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
13741 is a gint64 which can't possibly overflow its own data type. It
13743 an unprintable error message.
13745 https://bugzilla.gnome.org/show_bug.cgi?id=684314
13747 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
13748 1 file changed, 8 insertions(+), 13 deletions(-)
13750 commit 7f1422bf929976722edd6144beb0b4c96d74391b
13751 Author: Martin Pitt <martinpitt@gnome.org>
13752 Date: Fri Sep 28 06:59:38 2012 +0200
13754 Kill dbus-daemon after running tests
13756 dbus-launch does not kill the spawned dbus-daemon by itself (see
13757 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
13759 our tests. Take care to preserve the exit code.
13761 https://bugzilla.gnome.org/show_bug.cgi?id=685009
13763 tests/Makefile.am | 5 ++++-
13764 1 file changed, 4 insertions(+), 1 deletion(-)
13766 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
13767 Author: Martin Pitt <martinpitt@gnome.org>
13768 Date: Thu Sep 27 08:18:34 2012 +0200
13770 GVariant overrides: Support empty tuple arrays
13772 Implement the "empty value" branch in _create_tuple(), so that
13774 can call it for parsing the element type for an empty array.
13776 This fixes creating variants such as GLib.Variant('a(ii)', []).
13778 https://bugzilla.gnome.org/show_bug.cgi?id=684928
13780 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
13781 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
13782 2 files changed, 54 insertions(+), 7 deletions(-)
13784 commit 75d452ea5b179c3585adcf95356b4316c9180768
13785 Author: Martin Pitt <martinpitt@gnome.org>
13786 Date: Thu Sep 27 06:50:12 2012 +0200
13788 TestGVariant: Split creation test case into several smaller ones
13790 tests/test_overrides_glib.py | 20 ++++++--------------
13791 1 file changed, 6 insertions(+), 14 deletions(-)
13793 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
13794 Author: Martin Pitt <martinpitt@gnome.org>
13795 Date: Tue Sep 25 09:10:10 2012 +0200
13797 Fix unused variables and results
13799 This gets rid of all warnings except the deprecated symbol ones.
13801 gi/_glib/pygiochannel.c | 9 +++------
13802 gi/pygi-argument.c | 4 +---
13803 gi/pygi-callbacks.c | 4 ----
13804 gi/pygi-ccallback.c | 1 -
13805 gi/pygi-repository.c | 3 +--
13806 5 files changed, 5 insertions(+), 16 deletions(-)
13808 commit 5285f14fee93d2729d4422c40a945adc2be69c14
13809 Author: Martin Pitt <martinpitt@gnome.org>
13810 Date: Tue Sep 25 08:56:20 2012 +0200
13812 tests: Fix wrong return type in test_int64_callback()
13814 https://bugzilla.gnome.org/show_bug.cgi?id=684700
13816 tests/testhelpermodule.c | 2 +-
13817 1 file changed, 1 insertion(+), 1 deletion(-)
13819 commit e14ebab6099d082466ec11ca21d44de0d6017216
13820 Author: Giovanni Campagna <gcampagna@src.gnome.org>
13821 Date: Wed Sep 19 00:10:57 2012 +0200
13823 Fix GValue marshalling of long and unsigned long
13825 long can be equivalent to int64 or int32, depending on the
13827 and GI conflates this distinction in the typelib, but GType does
13829 warns if the wrong accessor is used.
13831 https://bugzilla.gnome.org/show_bug.cgi?id=684331
13833 gi/pygi-argument.c | 25 +++++++++++++++++++++----
13834 1 file changed, 21 insertions(+), 4 deletions(-)
13836 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
13837 Author: Simon Feltman <s.feltman@gmail.com>
13838 Date: Wed Sep 19 19:07:00 2012 -0700
13840 Clean up deprecation message for assigning gpointers to objects.
13842 The previous deprecation message was worded as if the deprecation
13843 had already occurred and it has not.
13845 https://bugzilla.gnome.org/show_bug.cgi?id=683599
13847 gi/pygi-info.c | 4 ++--
13848 1 file changed, 2 insertions(+), 2 deletions(-)
13850 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
13851 Author: Olivier Crête <olivier.crete@collabora.com>
13852 Date: Tue Sep 18 08:52:02 2012 +0200
13854 pygi-property: Lookup property in base classes of non-introspected
13857 Look for introspection data in the base classes of non-introspected
13859 This is necessary to look up introspection data for plugins.
13861 https://bugzilla.gnome.org/show_bug.cgi?id=684058
13863 gi/pygi-property.c | 28 ++++++++++++++--------------
13864 tests/test_everything.py | 12 ++++++++++++
13865 2 files changed, 26 insertions(+), 14 deletions(-)
13867 commit 7aa94cc861082147b9c382b930f3257f0a842c84
13868 Author: Martin Pitt <martinpitt@gnome.org>
13869 Date: Mon Sep 24 09:41:10 2012 +0200
13871 post-release bump to 3.4.1
13873 configure.ac | 2 +-
13874 1 file changed, 1 insertion(+), 1 deletion(-)
13876 commit fcceed3adb8d78baba68861a1408627321b2c1ef
13877 Author: Martin Pitt <martinpitt@gnome.org>
13878 Date: Mon Sep 24 09:35:33 2012 +0200
13883 configure.ac | 4 ++--
13884 2 files changed, 5 insertions(+), 2 deletions(-)
13886 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
13887 Author: Martin Pitt <martinpitt@gnome.org>
13888 Date: Mon Sep 24 09:27:47 2012 +0200
13890 Bump g-i dependency to 1.33.14
13892 To ensure we have all the Regress test APIs that we use.
13894 configure.ac | 2 +-
13895 1 file changed, 1 insertion(+), 1 deletion(-)
13897 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
13898 Author: Martin Pitt <martinpitt@gnome.org>
13899 Date: Mon Sep 17 22:52:49 2012 +0200
13901 post-release bump to 3.3.93
13903 configure.ac | 2 +-
13904 1 file changed, 1 insertion(+), 1 deletion(-)
13906 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
13907 Author: Martin Pitt <martinpitt@gnome.org>
13908 Date: Mon Sep 17 22:48:13 2012 +0200
13912 NEWS | 12 ++++++++++++
13913 1 file changed, 12 insertions(+)
13915 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
13916 Author: Martin Pitt <martinpitt@gnome.org>
13917 Date: Mon Sep 17 22:32:55 2012 +0200
13919 release-news: Generate HTML changelog
13921 In addition to producing a NEWS paragraph from the changelog,
13923 changelog HTML which can be put into blog announcements.
13925 Update HACKING to point this out, too.
13928 Makefile.am | 22 ++++++++++++++++------
13929 2 files changed, 17 insertions(+), 7 deletions(-)
13931 commit be4a0682bdd189ee908ab1961001f759a80e133c
13932 Author: Simon Feltman <s.feltman@gmail.com>
13933 Date: Sun Sep 16 17:27:25 2012 -0700
13935 [API add] Add ObjectInfo.get_abstract method
13937 Adds exposure of g_object_info_get_abstract to python for
13938 helping with analysis of non-constructable objects from
13941 https://bugzilla.gnome.org/show_bug.cgi?id=675581
13943 gi/pygi-info.c | 8 ++++++++
13944 tests/test_gi.py | 12 ++++++++++++
13945 2 files changed, 20 insertions(+)
13947 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
13948 Author: Simon Feltman <s.feltman@gmail.com>
13949 Date: Thu Sep 13 20:53:22 2012 -0700
13951 Add deprecation warning when setting gpointers to anything other
13954 This is a first pass which does not change anything except add
13956 when anything other than an int is set on a gpointer on a boxed type.
13958 https://bugzilla.gnome.org/show_bug.cgi?id=683599
13960 gi/pygi-info.c | 8 ++++++++
13961 1 file changed, 8 insertions(+)
13963 commit a047f61f26d9c78b82d22948199313e5a389e918
13964 Author: Martin Pitt <martinpitt@gnome.org>
13965 Date: Mon Sep 17 09:41:24 2012 +0200
13967 test_properties: Test accessing a property from a superclass
13969 We already cover accessing the superclass' property if that was
13971 Python. Add a corresponding test case for a property defined in C.
13973 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
13975 tests/test_properties.py | 12 ++++++++++++
13976 1 file changed, 12 insertions(+)
13978 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
13979 Author: Martin Pitt <martinpitt@gnome.org>
13980 Date: Mon Sep 17 09:31:05 2012 +0200
13982 test_properties.py: Consistent test names
13984 Use underscore style method/test case names consistently. Also rename
13986 cases to better describe what they do.
13988 tests/test_properties.py | 78
13989 ++++++++++++++++++++++++------------------------
13990 1 file changed, 39 insertions(+), 39 deletions(-)
13992 commit 4069c3d8547f35437e0cee175a5912febe25326d
13993 Author: Martin Pitt <martinpitt@gnome.org>
13994 Date: Wed Sep 12 06:51:24 2012 +0200
13996 test_everything: Ensure TestSignals callback does get called
13998 tests/test_everything.py | 3 +++
13999 1 file changed, 3 insertions(+)
14001 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
14002 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
14003 Date: Fri Sep 7 17:17:09 2012 -0400
14005 argument: Fix 64bit integer convertion from GValue
14007 Trying to get a 64bit integer using the wrong getter was resulting
14009 assertion and 0 being returned.
14011 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14013 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14015 gi/pygi-argument.c | 8 ++++++--
14016 tests/test_everything.py | 52
14017 ++++++++++++++++++++++++++++++++++++++++++++++++
14018 2 files changed, 58 insertions(+), 2 deletions(-)
14020 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
14021 Author: Martin Pitt <martinpitt@gnome.org>
14022 Date: Tue Sep 11 12:32:10 2012 +0200
14024 Add Simon Feltman as a project maintainer
14026 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
14027 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
14029 pygobject.doap | 7 +++++++
14030 1 file changed, 7 insertions(+)
14032 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
14033 Author: Martin Pitt <martinpitt@gnome.org>
14034 Date: Tue Sep 11 10:17:50 2012 +0200
14036 test_signals.py: Drop global type variables
14038 Just use the real types and flags from GObject instead of redefining
14040 for them. They weren't used consistently, make the tests harder to
14042 really do not want global single-letter variables like "f" and "l".
14044 tests/test_signal.py | 38 ++++++++++++++++----------------------
14045 1 file changed, 16 insertions(+), 22 deletions(-)
14047 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
14048 Author: Martin Pitt <martinpitt@gnome.org>
14049 Date: Tue Sep 11 10:11:58 2012 +0200
14051 test_signals.py: Consistent test names
14053 Use underscore style method/test case names consistently.
14055 tests/test_signal.py | 88
14056 ++++++++++++++++++++++++++--------------------------
14057 1 file changed, 44 insertions(+), 44 deletions(-)
14059 commit 4559247553b792db956f69c9674c12344d719c82
14060 Author: Martin Pitt <martinpitt@gnome.org>
14061 Date: Tue Sep 11 09:43:14 2012 +0200
14063 Add test cases for GValue signal arguments
14065 These cover various types, (u)int(64) and string.
14067 Keep the test case for implicit int64 GValues disabled, as this
14069 not work and it is not clear whether it should:
14070 https://bugzilla.gnome.org/show_bug.cgi?id=683775
14072 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
14073 tests/testhelpermodule.c | 17 +++++++++++++++++
14074 2 files changed, 58 insertions(+)
14076 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
14077 Author: Martin Pitt <martinpitt@gnome.org>
14078 Date: Tue Sep 11 09:31:18 2012 +0200
14080 Add test for GValue signal return values
14082 Another attempt to reproduce the reported error in
14083 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14084 but this works already.
14086 tests/test_signal.py | 13 +++++++++++++
14087 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
14088 2 files changed, 49 insertions(+)
14090 commit 4f77c7798563ea436ff5b6306a987f03de50b211
14091 Author: Simon Feltman <s.feltman@gmail.com>
14092 Date: Fri Sep 7 02:32:15 2012 -0700
14094 Improve setting pointer fields/arguments to NULL using None
14096 Setting gi pointers will set them to the address of the python object.
14097 This is good except in the case of None which should be used to NULL
14098 the pointer out as a special case.
14100 Commit 21b1d17d2a already fixed this. This improved patch
14101 does that in a cleaner and safer way and adds more comments.
14103 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14105 gi/pygi-argument.c | 8 +-------
14106 gi/pygi-info.c | 14 +++++++++++++-
14107 2 files changed, 14 insertions(+), 8 deletions(-)
14109 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
14110 Author: Martin Pitt <martinpitt@gnome.org>
14111 Date: Mon Sep 10 16:46:30 2012 +0200
14113 Test gint64 C signal arguments and return values
14115 tests/test_signal.py | 12 ++++++++++++
14116 tests/testhelpermodule.c | 14 ++++++++++++++
14117 2 files changed, 26 insertions(+)
14119 commit 822d9e07a95f706a40f64335765293542787da90
14120 Author: Martin Pitt <martinpitt@gnome.org>
14121 Date: Mon Sep 10 16:29:32 2012 +0200
14123 Test in/out int64 GValue method arguments.
14125 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
14127 tests/test_gi.py | 9 +++++++++
14128 1 file changed, 9 insertions(+)
14130 commit 2d83e52233812618493af4b165615e8741ba41c8
14131 Author: Martin Pitt <martinpitt@gnome.org>
14132 Date: Wed Sep 5 08:54:53 2012 +0200
14134 Bump g-i dependency to 1.33.10
14136 To ensure we have all the Regress test APIs that we use.
14138 configure.ac | 2 +-
14139 1 file changed, 1 insertion(+), 1 deletion(-)
14141 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
14142 Author: Thibault Saunier <thibault.saunier@collabora.com>
14143 Date: Wed Aug 8 12:57:41 2012 -0400
14145 Fix -uninstalled.pc.in file
14147 https://bugzilla.gnome.org/show_bug.cgi?id=683379
14149 pygobject-3.0-uninstalled.pc.in | 6 +++---
14150 1 file changed, 3 insertions(+), 3 deletions(-)
14152 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
14153 Author: Martin Pitt <martinpitt@gnome.org>
14154 Date: Mon Sep 3 22:16:47 2012 +0200
14156 post-release bump to 3.3.92
14158 configure.ac | 2 +-
14159 1 file changed, 1 insertion(+), 1 deletion(-)
14161 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
14162 Author: Martin Pitt <martinpitt@gnome.org>
14163 Date: Mon Sep 3 22:04:01 2012 +0200
14167 NEWS | 32 ++++++++++++++++++++++++++++++++
14168 1 file changed, 32 insertions(+)
14170 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
14171 Author: Martin Pitt <martinpitt@gnome.org>
14172 Date: Mon Sep 3 21:57:00 2012 +0200
14174 Fix exception test case for Python 2
14176 Regression from commit 77844c5 which did not work with Python 2.
14178 tests/test_everything.py | 12 +++++++-----
14179 1 file changed, 7 insertions(+), 5 deletions(-)
14181 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
14182 Author: Martin Pitt <martinpitt@gnome.org>
14183 Date: Mon Sep 3 21:16:01 2012 +0200
14185 Bump g-i dependency
14187 Require at least 1.33.9, as we got a couple of bug fixes there which
14189 and for some cases the code, depend on. We actually require 1.33.10
14191 tests to succeed, but that hasn't been released yet.
14193 configure.ac | 2 +-
14194 1 file changed, 1 insertion(+), 1 deletion(-)
14196 commit 77844c571ad0badc189428b93de9f2572051b67e
14197 Author: Martin Pitt <martinpitt@gnome.org>
14198 Date: Mon Sep 3 17:58:38 2012 +0200
14200 Show proper exception when trying to allocate a disguised struct
14202 Instead of a simple "MemoryError" with no details, raise a proper
14203 TypeError with a traceback and an explanation what happened.
14205 https://bugzilla.gnome.org/show_bug.cgi?id=639972
14207 gi/pygi-struct.c | 7 +++++++
14208 tests/test_everything.py | 13 +++++++++++++
14209 2 files changed, 20 insertions(+)
14211 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
14212 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
14213 Date: Mon Sep 3 16:47:22 2012 +0200
14215 Support marshalling GParamSpec signal arguments
14217 Fix marshalling GParamSpec arguments from C to Python.
14219 https://bugzilla.gnome.org/show_bug.cgi?id=683099
14221 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14223 gi/pygi-argument.c | 10 +++++++++-
14224 tests/test_signal.py | 14 ++++++++++++++
14225 2 files changed, 23 insertions(+), 1 deletion(-)
14227 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
14228 Author: Martin Pitt <martinpitt@gnome.org>
14229 Date: Mon Sep 3 16:06:49 2012 +0200
14231 Add test for a signal that returns a GParamSpec
14233 https://bugzilla.gnome.org/show_bug.cgi?id=683265
14235 tests/test_signal.py | 6 ++++++
14236 tests/testhelpermodule.c | 12 ++++++++++++
14237 2 files changed, 18 insertions(+)
14239 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
14240 Author: Simon Feltman <s.feltman@gmail.com>
14241 Date: Tue Mar 20 04:33:50 2012 -0700
14243 [API add] Add Signal class for adding and connecting custom signals.
14245 The Signal class provides easy creation of signals and removes the
14246 need for __gsignals__ in client code. The Signal class can also be
14247 used as a decorator for wrapping up the custom closure. As well as
14248 providing a "BoundSignal" when accessed on an instance for making
14249 connections without specifying a signal name string.
14250 Python3 annotations can also be used to supply closure argument and
14251 return types when Signal is used as a decorator. For example:
14253 class Eggs(GObject.GObject):
14255 def spam(self, count:int):
14258 https://bugzilla.gnome.org/show_bug.cgi?id=434924
14260 examples/signal.py | 34 ++++--
14261 gi/_gobject/Makefile.am | 3 +-
14262 gi/_gobject/__init__.py | 5 +
14263 gi/_gobject/signalhelper.py | 251
14264 ++++++++++++++++++++++++++++++++++++++++++++
14265 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
14266 5 files changed, 482 insertions(+), 19 deletions(-)
14268 commit 96fa22369fd188465559fc904c7f76e73040e6dd
14269 Author: Martin Pitt <martinpitt@gnome.org>
14270 Date: Mon Sep 3 15:32:12 2012 +0200
14272 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
14274 We have a proper implementation for insert_column_with_attributes()
14276 drop pygtkcompat's empty stub for it.
14278 Also improve test case for
14279 Gtk.TreeView.insert_column_with_attributes().
14281 gi/pygtkcompat.py | 6 ------
14282 tests/test_overrides_gtk.py | 16 ++++++++--------
14283 2 files changed, 8 insertions(+), 14 deletions(-)
14285 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
14286 Author: Marta Maria Casetti <mmcasetti@gmail.com>
14287 Date: Mon Sep 3 13:06:22 2012 +0200
14289 Add override for Gtk.TreeView.insert_column_with_attributes()
14291 https://bugzilla.gnome.org/show_bug.cgi?id=679415
14293 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14295 gi/overrides/Gtk.py | 7 +++++++
14296 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
14297 2 files changed, 45 insertions(+)
14299 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
14300 Author: Martin Pitt <martinpitt@gnome.org>
14301 Date: Mon Sep 3 11:09:55 2012 +0200
14303 .gitignore: Add missing built files
14305 .gitignore | 9 +++++++--
14306 1 file changed, 7 insertions(+), 2 deletions(-)
14308 commit 96431f393036a688666dcf67911bf12b9824b264
14309 Author: Martin Pitt <martinpitt@gnome.org>
14310 Date: Mon Sep 3 11:07:32 2012 +0200
14312 Ship tests/gi in tarball
14314 Spotted by distcheck.
14316 tests/Makefile.am | 6 +++++-
14317 1 file changed, 5 insertions(+), 1 deletion(-)
14319 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
14320 Author: Martin Pitt <martinpitt@gnome.org>
14321 Date: Mon Sep 3 10:18:45 2012 +0200
14323 Fix separate build tree and distcheck
14325 Fix regression from c7c95a79: We must set sys.path in runtests.py
14327 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
14329 prepends the directory of the source file to sys.path, but that
14331 source dir, not the build dir. The build dir has to take precedence,
14333 we fail to import the built libraries.
14335 tests/runtests-windows.py | 10 +++++++---
14336 tests/runtests.py | 13 ++++++++-----
14337 2 files changed, 15 insertions(+), 8 deletions(-)
14339 commit 2d8f48f4ff56bb75985136452b50b75895258608
14340 Author: Martin Pitt <martinpitt@gnome.org>
14341 Date: Mon Sep 3 07:57:01 2012 +0200
14343 Split test_overrides.py
14345 Split the huge test_overrides.py into separate files for gdk, gtk,
14347 and pango. Further split the monolithic classes for Gtk and Gio
14351 https://bugzilla.gnome.org/show_bug.cgi?id=683188
14353 tests/Makefile.am | 5 +
14354 tests/test_overrides.py | 2198
14355 +----------------------------------------
14356 tests/test_overrides_gdk.py | 119 +++
14357 tests/test_overrides_gio.py | 114 +++
14358 tests/test_overrides_glib.py | 445 +++++++++
14359 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
14360 tests/test_overrides_pango.py | 32 +
14361 7 files changed, 2234 insertions(+), 2196 deletions(-)
14363 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
14364 Author: Martin Pitt <martinpitt@gnome.org>
14365 Date: Mon Sep 3 07:17:57 2012 +0200
14367 _pygi_argument_to_object(): Clean up array unmarshalling
14369 The NULL case is already handled at the top, so it does not need to be
14372 Emit a critical if we fail to allocate a Python array of the
14375 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
14376 1 file changed, 16 insertions(+), 31 deletions(-)
14378 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
14379 Author: Alban Browaeys <prahal@yahoo.com>
14380 Date: Wed Aug 29 21:24:17 2012 +0200
14382 Fix memory leak in _pygi_argument_to_object()
14384 Avoid leaking the item_type_info when breaking out of the
14385 switch in _pygi_argument_to_object() for unmarshalling arrays.
14387 https://bugzilla.gnome.org/show_bug.cgi?id=682979
14389 gi/pygi-argument.c | 4 ++++
14390 1 file changed, 4 insertions(+)
14392 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
14393 Author: Simon Feltman <s.feltman@gmail.com>
14394 Date: Sat Sep 1 03:40:31 2012 -0700
14396 Fix setting pointer fields/arguments to NULL using None.
14398 Setting gi pointers will set them to the address of the python object.
14399 This is good except in the case of None which should be used to NULL
14400 the pointer out as a special case.
14402 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14404 gi/pygi-argument.c | 8 +++++++-
14405 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
14406 2 files changed, 48 insertions(+), 1 deletion(-)
14408 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
14409 Author: Martin Pitt <martinpitt@gnome.org>
14410 Date: Thu Aug 23 06:44:27 2012 +0200
14412 Fix for python 2.6, drop support for < 2.6
14414 Replace sys.version_info.major access to tuple access which also
14418 When building for Python 2.6, inject some missing unittest API such as
14419 @unittest.skipUnless and assertGreaterEqual() into the unittest
14421 runtests.py, so that the tests have a chance to run.
14423 As building with Python 2.5 has been broken for a long time with
14425 complaining, and 2.5 is ancient, bump minimum Python requirement to
14427 obsolete #ifdef paths which only apply to <= 2.5.
14429 https://bugzilla.gnome.org/show_bug.cgi?id=682422
14431 configure.ac | 2 +-
14432 gi/_glib/pyglib-python-compat.h | 8 --------
14433 gi/_gobject/gobjectmodule.c | 8 --------
14434 gi/module.py | 2 +-
14435 tests/runtests.py | 27 +++++++++++++++++++++++++++
14436 tests/test_gi.py | 2 +-
14437 6 files changed, 30 insertions(+), 19 deletions(-)
14439 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
14440 Author: Thibault Saunier <thibault.saunier@collabora.com>
14441 Date: Tue Aug 21 07:54:09 2012 +0200
14443 Allow overrides in other directories than gi itself
14445 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
14446 libraries can install overrides in a path that is different from
14448 pygobject installs itself into. These overrides need to put this
14450 __init__.py at the top:
14452 from pkgutil import extend_path
14453 __path__ = extend_path(__path__, __name__)
14455 and put themselves somewhere into the default PYTHONPATH.
14457 https://bugzilla.gnome.org/show_bug.cgi?id=680913
14459 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14460 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
14462 gi/__init__.py | 4 ++++
14463 gi/overrides/__init__.py | 4 ++++
14464 tests/gi/__init__.py | 2 ++
14465 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
14466 tests/gi/overrides/__init__.py | 2 ++
14467 tests/test_overrides.py | 6 ++++++
14468 6 files changed, 44 insertions(+)
14470 commit c7c95a795eee499373499ea5b771447746317bfb
14471 Author: Simon Feltman <s.feltman@gmail.com>
14472 Date: Thu Aug 23 06:03:09 2012 +0200
14474 Clean up sys.path handling in tests
14476 Only set sys.path once in runtests.py, not in the individual test
14478 reduces hidden dependencies between tests by building up a run
14480 search path, and also makes it easier in the future to run the
14482 the installed system libraries.
14484 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
14486 tests/runtests-windows.py | 6 +++++-
14487 tests/runtests.py | 3 +++
14488 tests/test_everything.py | 1 -
14489 tests/test_gdbus.py | 3 ---
14490 tests/test_overrides.py | 3 ---
14491 tests/test_pygtkcompat.py | 3 ---
14492 6 files changed, 8 insertions(+), 11 deletions(-)
14494 commit 3e3525e93d852cde0f63e835b774a9b004773c69
14495 Author: Simon Feltman <s.feltman@gmail.com>
14496 Date: Sun Aug 19 02:30:39 2012 -0700
14498 Fix dynamic creation of enum and flag gi types for Python 3.3
14500 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
14501 subclasses due to what looks to be an unsupported technique. Change
14502 tp_new() method for classes dynamically derived from PyGEnum_Type and
14503 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
14505 __new__() as a python method. This technique seems to work with all
14506 versions of python so the previous python version checking also became
14509 https://bugzilla.gnome.org/show_bug.cgi?id=682323
14511 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
14512 gi/_gobject/pygflags.c | 21 +++++++++------------
14513 2 files changed, 25 insertions(+), 25 deletions(-)
14515 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
14516 Author: Paolo Borelli <pborelli@gnome.org>
14517 Date: Wed Aug 22 10:45:39 2012 +0200
14519 [API add] Override g_menu_item_set_attribute
14521 This C utility API take a vararg, add a corresponding override that
14522 takes a list of tuples
14524 https://bugzilla.gnome.org/show_bug.cgi?id=682436
14526 gi/overrides/Gio.py | 10 ++++++++++
14527 tests/test_overrides.py | 11 +++++++++++
14528 2 files changed, 21 insertions(+)
14530 commit 836902801373e386d370c44e7487aac3432f19f6
14531 Author: Martin Pitt <martinpitt@gnome.org>
14532 Date: Mon Aug 20 23:37:40 2012 +0200
14534 post-release bump to 3.3.91
14536 configure.ac | 2 +-
14537 1 file changed, 1 insertion(+), 1 deletion(-)
14539 commit 6a629e23ff7b0d6f532184017577c7427d577e28
14540 Author: Martin Pitt <martinpitt@gnome.org>
14541 Date: Mon Aug 20 23:05:49 2012 +0200
14545 NEWS | 13 +++++++++++++
14546 configure.ac | 2 +-
14547 2 files changed, 14 insertions(+), 1 deletion(-)
14549 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
14550 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
14551 Date: Mon Aug 20 22:54:52 2012 +0200
14553 Implement marshalling for GParamSpec
14555 https://bugzilla.gnome.org/show_bug.cgi?id=681565
14557 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14559 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
14560 tests/test_gi.py | 14 ++++++++++++++
14561 2 files changed, 26 insertions(+), 4 deletions(-)
14563 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
14564 Author: Martin Pitt <martinpitt@gnome.org>
14565 Date: Mon Aug 20 15:24:10 2012 +0200
14567 Fix pep8/pyflakes invocation
14569 Fix regression from commit 1e056e4f4a: Do fail the tests if
14573 tests/Makefile.am | 4 ++--
14574 1 file changed, 2 insertions(+), 2 deletions(-)
14576 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
14577 Author: Simon Feltman <s.feltman@gmail.com>
14578 Date: Thu Aug 16 16:05:52 2012 -0700
14580 Fix erronous import statements for Python 3.3
14582 Update pygobject-external.h to use GType (which is what GTypeWrapper
14584 exposed as) instead of GTypeWrapper when attempting import.
14586 Catch ImportError around attempted imports of a typelibs override file
14587 which don't always exist (GObject...). This is a behavioural change in
14588 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
14591 https://bugzilla.gnome.org/show_bug.cgi?id=682051
14593 gi/module.py | 7 +++++--
14594 gi/pygobject-external.h | 2 +-
14595 2 files changed, 6 insertions(+), 3 deletions(-)
14597 commit 1e056e4f4a19fd1139187467677c2592c2722290
14598 Author: Martin Pitt <martinpitt@gnome.org>
14599 Date: Mon Aug 20 11:52:08 2012 +0200
14601 Do not fail tests if pyflakes or pep8 are not installed
14603 These tools might not be desirable in restricted build environments or
14604 backports, and e. g. Fedora patches those out. So let the tests
14608 tests/Makefile.am | 4 ++--
14609 1 file changed, 2 insertions(+), 2 deletions(-)
14611 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
14612 Author: Martin Pitt <martinpitt@gnome.org>
14613 Date: Mon Aug 20 11:42:47 2012 +0200
14615 gtk-demo: Fix some PEP-8 whitespace issues
14617 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
14618 demos/gtk-demo/demos/dialogs.py | 2 +-
14619 demos/gtk-demo/demos/rotatedtext.py | 3 +--
14620 3 files changed, 3 insertions(+), 5 deletions(-)
14622 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
14623 Author: Martin Pitt <martinpitt@gnome.org>
14624 Date: Mon Aug 20 11:38:50 2012 +0200
14626 test_overrides.py: Fix PEP8 whitespacing
14628 tests/test_overrides.py | 48
14629 +++++++++++++++++++++++++-----------------------
14630 1 file changed, 25 insertions(+), 23 deletions(-)
14632 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
14633 Author: Martin Pitt <martinpitt@gnome.org>
14634 Date: Mon Aug 20 11:36:19 2012 +0200
14636 Ignore E124 pep8 error
14638 This is "closing bracket does not match visual indentation" which
14640 stupid. We do want the closing bracket at the same indentation level
14642 opening bracket, not the indentation level of the whole statement.
14644 tests/Makefile.am | 2 +-
14645 1 file changed, 1 insertion(+), 1 deletion(-)
14647 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
14648 Author: David Malcolm <dmalcolm@redhat.com>
14649 Date: Mon Aug 20 11:27:52 2012 +0200
14651 Fix unmarshalling of gssize
14653 Do not assume that the v_int union member always corresponds to a
14655 is not true on big-endian 64 bit machines like ppc64, so add a new
14656 gi_argument_to_gssize() and use it properly.
14658 https://bugzilla.gnome.org/show_bug.cgi?id=680693
14659 https://bugzilla.redhat.com/show_bug.cgi?id=842880
14661 gi/pygi-argument.c | 53
14662 +++++++++++++++++++++++++++++++++++++++++++++---
14663 gi/pygi-argument.h | 1 +
14664 gi/pygi-closure.c | 2 +-
14665 gi/pygi-info.c | 4 ++--
14666 gi/pygi-signal-closure.c | 2 +-
14667 5 files changed, 55 insertions(+), 7 deletions(-)
14669 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
14670 Author: David Malcolm <dmalcolm@redhat.com>
14671 Date: Mon Aug 20 11:19:27 2012 +0200
14673 Fix various endianess errors
14675 Fix code which assumed little endian behaviour when mixing different
14677 ints, putting ints into pointers, etc.
14679 https://bugzilla.gnome.org/show_bug.cgi?id=680692
14680 https://bugzilla.redhat.com/show_bug.cgi?id=841596
14682 gi/pygi-argument.c | 64 +++++++++++++--
14683 gi/pygi-argument.h | 6 ++
14684 gi/pygi-cache.c | 2 +
14685 gi/pygi-closure.c | 57 ++++++++++++-
14686 gi/pygi-marshal-from-py.c | 203
14687 ++++++++++++++++++++++++++++++++++++----------
14688 gi/pygi-marshal-from-py.h | 3 +
14689 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
14690 7 files changed, 391 insertions(+), 81 deletions(-)
14692 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
14693 Author: Paolo Borelli <pborelli@gnome.org>
14694 Date: Wed Aug 15 13:16:11 2012 +0200
14696 Add unit test for the TreeModelSort override
14698 tests/test_overrides.py | 7 +++++++
14699 1 file changed, 7 insertions(+)
14701 commit 9f027daa5737107b5959964b699c0089aec8ab1e
14702 Author: Simon Feltman <s.feltman@gmail.com>
14703 Date: Thu Aug 9 03:33:06 2012 -0700
14705 Gtk overrides: Add TreeModelSort.__init__(self, model)
14707 This adds "model" as a required argument to TreeModelSort
14708 instead of it being a hidden keyword argument. This is needed
14709 because the model property is set to construct only and the
14710 default value of None/NULL makes the object useless anyhow.
14712 https://bugzilla.gnome.org/show_bug.cgi?id=681477
14714 gi/overrides/Gtk.py | 8 ++++++++
14715 1 file changed, 8 insertions(+)
14717 commit c8424c2bb19356679e250e73542682dd5f4c74a5
14718 Author: Manuel Quiñones <manuq@laptop.org>
14719 Date: Fri Aug 10 09:38:24 2012 -0300
14721 Convert Gtk.CellRendererState in the pygi-convert script
14723 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14725 https://bugzilla.gnome.org/show_bug.cgi?id=681596
14727 pygi-convert.sh | 5 +++++
14728 1 file changed, 5 insertions(+)
14730 commit 54d829b34a0d32d852db370f61cc7f25c149f373
14731 Author: Paolo Borelli <pborelli@gnome.org>
14732 Date: Mon Aug 6 16:19:28 2012 +0200
14734 More updates to the HACKING file
14736 module-install has been replaced with 'ftpadmin install' and other
14740 HACKING | 26 ++++++++++----------------
14741 1 file changed, 10 insertions(+), 16 deletions(-)
14743 commit 0788880c6cf4070d3db09896c165fe470d2ec186
14744 Author: Paolo Borelli <pborelli@gnome.org>
14745 Date: Mon Aug 6 16:00:39 2012 +0200
14747 Post-release version bump to 3.3.6
14749 configure.ac | 2 +-
14750 1 file changed, 1 insertion(+), 1 deletion(-)
14752 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
14753 Author: Paolo Borelli <pborelli@gnome.org>
14754 Date: Mon Aug 6 15:52:22 2012 +0200
14758 NEWS | 29 +++++++++++++++++++++++++++++
14759 1 file changed, 29 insertions(+)
14761 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
14762 Author: Paolo Borelli <pborelli@gnome.org>
14763 Date: Mon Aug 6 15:44:32 2012 +0200
14765 Update HACKING file to mention "make release-news"
14767 HACKING | 7 +++----
14768 1 file changed, 3 insertions(+), 4 deletions(-)
14770 commit 587a0c33901383b891f8eb77351c17f06af20b4f
14771 Author: Paolo Borelli <pborelli@gnome.org>
14772 Date: Mon Aug 6 15:38:23 2012 +0200
14774 pygi-closure: remove unused variables
14776 These variables are assigned but never actually used
14778 gi/pygi-closure.c | 8 --------
14779 1 file changed, 8 deletions(-)
14781 commit dbc6df6aad7197fcf8721ade429baadd749f7069
14782 Author: Martin Pitt <martinpitt@gnome.org>
14783 Date: Fri Aug 3 07:13:55 2012 +0200
14785 tests: Do not break on Pango warnings
14787 In some restricted environments (like chroots) we sometimes get
14789 Pango when it cannot find an appropriate font. Do not make the tests
14793 tests/test_overrides.py | 4 ++++
14794 tests/test_pygtkcompat.py | 6 ++++++
14795 2 files changed, 10 insertions(+)
14797 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
14798 Author: Martin Pitt <martinpitt@gnome.org>
14799 Date: Fri Aug 3 06:45:48 2012 +0200
14801 Fix list marshalling on big-endian machines
14803 On big endian machines we cannot simply set e. g. GIArgument.v_int8
14805 GIArgument.v_pointer to be a correct representation. This needs to use
14806 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
14807 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
14809 to and from GList and GSList, and handle int8 and int16 as well.
14811 Part of porting pygobject to ppc64:
14812 https://bugzilla.redhat.com/show_bug.cgi?id=842880
14813 https://bugzilla.gnome.org/show_bug.cgi?id=680693
14815 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
14816 gi/pygi-marshal-to-py.c | 54
14817 +++++++++++++++++++++++++++--------------------
14818 2 files changed, 60 insertions(+), 42 deletions(-)
14820 commit b5cd13f47309ec26727b7574e33595a357602468
14821 Author: Colin Walters <walters@verbum.org>
14822 Date: Tue Jul 31 11:47:02 2012 -0400
14824 pygi-marshal: One more 32-bit -Werror=format fix
14826 gi/pygi-marshal-from-py.c | 6 +++---
14827 1 file changed, 3 insertions(+), 3 deletions(-)
14829 commit 526bf43691cb6ed908589312b1693a6389eba00c
14830 Author: Martin Pitt <martinpitt@gnome.org>
14831 Date: Tue Jul 31 17:14:37 2012 +0200
14833 Beautify class/interface type mismatch error messages
14835 Avoid saying "<unknown module>.int", just skip the module name
14836 completely if we do not have one.
14838 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
14839 1 file changed, 12 insertions(+), 8 deletions(-)
14841 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
14842 Author: Martin Pitt <martinpitt@gnome.org>
14843 Date: Tue Jul 31 13:13:21 2012 +0200
14845 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
14847 On initial jhbuild bootstrap or restricted environments, the Pango,
14849 and Gtk typelibs might not be available. Skip tests which need these
14851 failing the testsuite.
14853 tests/test_atoms.py | 7 ++++++-
14854 tests/test_everything.py | 9 ++++++++-
14855 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
14856 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
14857 4 files changed, 60 insertions(+), 18 deletions(-)
14859 commit a2e73c109f3ed6080eabc85810e624b9f984317e
14860 Author: Colin Walters <walters@verbum.org>
14861 Date: Tue Jul 31 09:02:24 2012 -0400
14863 pygi-argument: Fix -Wformat warning on 32 bit builds
14865 gi/pygi-argument.c | 4 ++--
14866 1 file changed, 2 insertions(+), 2 deletions(-)
14868 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
14869 Author: Martin Pitt <martinpitt@gnome.org>
14870 Date: Tue Jul 31 11:14:36 2012 +0200
14872 Fix tests for Python 2
14874 In Python 2 we get different error messages for a mismatching self
14876 check after commit 121b14028.
14878 tests/test_gi.py | 32 ++++++++++++++++++++------------
14879 1 file changed, 20 insertions(+), 12 deletions(-)
14881 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
14882 Author: Martin Pitt <martinpitt@gnome.org>
14883 Date: Tue Jul 31 10:30:22 2012 +0200
14885 Build with -Werror=format
14887 This catches format string problems on particular architectures like
14889 dea24f8e12 much more insistently.
14892 1 file changed, 1 insertion(+)
14894 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
14895 Author: Simon Feltman <s.feltman@gmail.com>
14896 Date: Mon Jul 30 02:00:16 2012 -0700
14898 [API add] pygtkcompat: Add more pixbuf creation functions
14900 Add the following functions:
14901 pixbuf_new_from_data
14902 pixbuf_new_from_file_at_scale
14903 pixbuf_new_from_file_at_size
14904 pixbuf_new_from_inline
14905 pixbuf_new_from_stream
14906 pixbuf_new_from_stream_at_scale
14907 pixbuf_new_from_xpm_data
14908 pixbuf_get_file_info
14910 https://bugzilla.gnome.org/show_bug.cgi?id=680814
14912 gi/pygtkcompat.py | 10 +++++++++-
14913 1 file changed, 9 insertions(+), 1 deletion(-)
14915 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
14916 Author: Colin Walters <walters@verbum.org>
14917 Date: Mon Jul 30 22:17:44 2012 -0400
14919 marshal: Fix a lot of format string warnings on 32 bit
14921 G_GUINT64_FORMAT and friends handle "%lld" portably.
14923 https://bugzilla.gnome.org/show_bug.cgi?id=680878
14925 gi/pygi-marshal-from-py.c | 18 +++++++++---------
14926 1 file changed, 9 insertions(+), 9 deletions(-)
14928 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
14929 Author: Colin Walters <walters@verbum.org>
14930 Date: Mon Jul 30 22:30:07 2012 -0400
14932 marshal: Fix build break on Python 2
14934 I *think* using this wrapper function instead is right.
14936 https://bugzilla.gnome.org/show_bug.cgi?id=680879
14938 gi/pygi-marshal-from-py.c | 8 ++++----
14939 1 file changed, 4 insertions(+), 4 deletions(-)
14941 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
14942 Author: Manuel Quiñones <manuq@laptop.org>
14943 Date: Mon Jul 30 12:53:36 2012 -0300
14945 Improve testcase for tree_view_column_set_attributes
14947 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14949 https://bugzilla.gnome.org/show_bug.cgi?id=680320
14951 tests/test_overrides.py | 20 ++++++++++++++++++--
14952 1 file changed, 18 insertions(+), 2 deletions(-)
14954 commit 121b1402860407fe46f7501e42447bf3607872ec
14955 Author: Martin Pitt <martinpitt@gnome.org>
14956 Date: Tue Jul 31 00:37:55 2012 +0200
14958 Fix error messages on interface/class type mismatches
14960 Previously, when you called a function with an argument which was not
14961 compatible with the expected class/interface type, you got an
14965 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
14967 which had the wrong (and useless) class name for the actual type,
14969 tell you which argument caused the problem. With this it says e. g.
14971 TypeError: argument column: Expected Gtk.TreeViewColumn, but
14976 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
14977 tests/test_gi.py | 57
14978 ++++++++++++++++++++++++++++++++++++++++++++++-
14979 2 files changed, 88 insertions(+), 10 deletions(-)
14981 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
14982 Author: Simon Feltman <s.feltman@gmail.com>
14983 Date: Sun Jul 29 23:36:25 2012 -0700
14985 Fix crash when returning (False, None) from
14986 Gtk.TreeModel.do_get_iter()
14988 Add a Py_None check before attempting memcpy().
14990 https://bugzilla.gnome.org/show_bug.cgi?id=680812
14992 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14994 gi/pygi-closure.c | 10 +++++++---
14995 tests/test_overrides.py | 9 +++++++++
14996 2 files changed, 16 insertions(+), 3 deletions(-)
14998 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
14999 Author: Martin Pitt <martinpitt@gnome.org>
15000 Date: Mon Jul 30 11:58:24 2012 +0200
15002 Add test case for Gtk.TextIter.forward_search()
15004 https://bugzilla.gnome.org/show_bug.cgi?id=679415
15006 tests/test_overrides.py | 19 +++++++++++++++++++
15007 1 file changed, 19 insertions(+)
15009 commit aae4e77482c02e21154ab02b159f380f5f0f74be
15010 Author: Martin Pitt <martinpitt@gnome.org>
15011 Date: Fri Jul 27 23:06:39 2012 +0200
15013 Add missing static declarations
15015 This fixes a lot of -Wmissing-prototype warnings.
15017 Also remove _pygi_marshal_cleanup_closure_unref() which is not
15020 gi/_gobject/gobjectmodule.c | 4 ++--
15021 gi/_gobject/pygobject.c | 2 +-
15022 gi/pygi-cache.c | 2 +-
15023 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
15024 gi/pygi-foreign.c | 2 +-
15025 gi/pygi-marshal-cleanup.c | 9 ---------
15026 tests/test-unknown.c | 2 +-
15027 tests/testhelpermodule.c | 4 ++--
15028 8 files changed, 20 insertions(+), 29 deletions(-)
15030 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
15031 Author: Martin Pitt <martinpitt@gnome.org>
15032 Date: Fri Jul 27 23:01:08 2012 +0200
15034 Fix more missing #includes
15036 Add missing includes which caused -Wmissing-prototypes warnings.
15038 gi/_gobject/pygenum.c | 2 ++
15039 gi/_gobject/pyginterface.c | 2 ++
15040 2 files changed, 4 insertions(+)
15042 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
15043 Author: Martin Pitt <martinpitt@gnome.org>
15044 Date: Fri Jul 27 22:59:21 2012 +0200
15046 Make some warnings fatal
15048 Add -Werror for some warnings which are real errors in the source
15050 really want to avoid. This includes -Wmissing-prototypes, but that
15052 breaks on building g-i's regress.c.
15054 configure.ac | 5 +++++
15055 1 file changed, 5 insertions(+)
15057 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
15058 Author: Martin Pitt <martinpitt@gnome.org>
15059 Date: Fri Jul 27 22:08:47 2012 +0200
15061 Fix missing #includes
15063 Add missing includes which caused -Wmissing-prototypes warnings.
15065 gi/_glib/pygiochannel.c | 2 ++
15066 gi/_glib/pygspawn.c | 2 ++
15067 2 files changed, 4 insertions(+)
15069 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
15070 Author: Martin Pitt <martinpitt@gnome.org>
15071 Date: Fri Jul 27 20:52:00 2012 +0200
15073 pygi-info.c: Robustify pointer arithmetic
15075 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
15077 that we are using byte offsets. Fixes warnings:
15079 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
15080 arithmetic [-Werror=pointer-arith]
15082 gi/pygi-info.c | 4 ++--
15083 1 file changed, 2 insertions(+), 2 deletions(-)
15085 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
15086 Author: Martin Pitt <martinpitt@gnome.org>
15087 Date: Fri Jul 27 20:50:30 2012 +0200
15089 pyglib.c: Remove some dead code
15091 Drop unused pyglib_gil_state_ensure_py23() and
15092 pyglib_gil_state_release_py23().
15094 gi/_glib/pyglib.c | 18 ------------------
15095 1 file changed, 18 deletions(-)
15097 commit a46d165d906d0ac7613f4d946542423e979f39d5
15098 Author: Manuel Quiñones <manuq@laptop.org>
15099 Date: Fri Jul 20 10:37:04 2012 -0300
15101 Add set_attributes() override to Gtk.TreeViewColumn
15103 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
15104 gtk_cell_layout_clear_attributes and then
15105 gtk_cell_layout_add_attribute for each (name, value) passed. This
15106 patch makes the same in the overrides.
15108 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15109 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15111 gi/overrides/Gtk.py | 7 +++++++
15112 tests/test_overrides.py | 6 ++++++
15113 2 files changed, 13 insertions(+)
15115 commit 4df676e10a5ea595a0d491af10268f557dd722d7
15116 Author: Daniel Narvaez <dwnarvaez@gmail.com>
15117 Date: Tue Jul 24 13:49:15 2012 +0200
15121 The autogenerated gitignores was missing several files. So we
15122 was using a manual .gitignore at the root. But since it's
15123 enough to add a couple of entries to it to cover the whole
15124 tree, there is no much point in using git.mk at all.
15126 https://bugzilla.gnome.org/show_bug.cgi?id=678192
15129 docs/Makefile.am | 2 -
15130 examples/Makefile.am | 3 -
15131 gi/Makefile.am | 3 -
15132 gi/_glib/Makefile.am | 3 -
15133 gi/_gobject/Makefile.am | 2 -
15134 gi/overrides/Makefile.am | 2 -
15135 gi/repository/Makefile.am | 2 -
15137 ----------------------------------------------
15138 tests/Makefile.am | 2 -
15139 10 files changed, 222 deletions(-)
15141 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
15142 Author: Simon Feltman <s.feltman@gmail.com>
15143 Date: Fri Jul 20 19:55:46 2012 -0700
15145 Gtk overrides: Add TreePath.__getitem__()
15147 Use pythons sub-script operator for indexing into TreePaths
15148 as was the case in PyGtk. Also changed __iter__ to use
15149 TreePath.get_indices as opposed to formatting and re-parsing
15150 a string for getting an index list.
15152 https://bugzilla.gnome.org/show_bug.cgi?id=680353
15154 gi/overrides/Gtk.py | 5 ++++-
15155 tests/test_overrides.py | 4 ++++
15156 2 files changed, 8 insertions(+), 1 deletion(-)
15158 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
15159 Author: Simon Feltman <s.feltman@gmail.com>
15160 Date: Fri Jul 20 21:34:33 2012 -0700
15162 Fix property type mapping from int to TYPE_INT for python3.
15164 Python3 does not have a long type, however, propertyhelper.py was
15165 using long_ = int; to get things working. Type mapping code
15166 was then checking for long_ first and always returning TYPE_LONG.
15167 Additional refactoring was done to move large if/elif statements
15168 into dictionary lookups and usage of tuples instead of lists
15169 for simple 'in' list of items tests.
15171 https://bugzilla.gnome.org/show_bug.cgi?id=679939
15173 gi/_gobject/propertyhelper.py | 117
15174 +++++++++++++++++++-----------------------
15175 tests/test_properties.py | 55 +++++++++++++++-----
15176 2 files changed, 96 insertions(+), 76 deletions(-)
15178 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
15179 Author: Manuel Quiñones <manuq@laptop.org>
15180 Date: Thu Jul 19 12:11:34 2012 -0300
15182 Convert Gtk.DestDefaults constants in pygi-convert.sh script
15184 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15186 https://bugzilla.gnome.org/show_bug.cgi?id=680259
15188 pygi-convert.sh | 1 +
15189 1 file changed, 1 insertion(+)
15191 commit d58c3553062fd8704a81a8233b4a1563a6611718
15192 Author: Manuel Quiñones <manuq@laptop.org>
15193 Date: Thu Jul 19 12:04:03 2012 -0300
15195 Convert all Gdk.WindowState constants in pygi-convert.sh
15197 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15199 https://bugzilla.gnome.org/show_bug.cgi?id=680257
15201 pygi-convert.sh | 1 +
15202 1 file changed, 1 insertion(+)
15204 commit a3aae2e152c0b955037b7b85e16d14d00881d870
15205 Author: Joe R. Nassimian <placidrage@gmail.com>
15206 Date: Thu Jul 19 15:48:20 2012 +0200
15208 [API add] Add API for checking pygobject's version
15210 Add a gi.__version__ attribute for the textual version, and
15211 gi.version_info for
15212 a version triple similar to sys.version_info.
15214 Also add a gi.require_version(<minimum_version>) which raises an
15216 the pygobject version is older.
15218 https://bugzilla.gnome.org/show_bug.cgi?id=680176
15220 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15222 gi/__init__.py | 16 ++++++++++++++++
15223 tests/test_gi.py | 16 ++++++++++++++++
15224 2 files changed, 32 insertions(+)
15226 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
15227 Author: Manuel Quiñones <manuq@laptop.org>
15228 Date: Mon Jul 16 17:14:46 2012 -0300
15230 pygi-convert.sh: Add some missing Gdk.CursorTypes
15232 This patch adds WATCH, ARROW and CLOCK.
15234 https://bugzilla.gnome.org/show_bug.cgi?id=680050
15236 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15237 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15239 pygi-convert.sh | 3 +++
15240 1 file changed, 3 insertions(+)
15242 commit 0b08c01414ac73a4604acd9a846e7af09574929f
15243 Author: Manuel Kaufmann <humitos@gmail.com>
15244 Date: Tue Jul 17 09:05:27 2012 -0300
15246 pygi-convert.sh: convert rsvg.Handle(data=...)
15248 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
15250 https://bugzilla.gnome.org/show_bug.cgi?id=680092
15252 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
15253 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15255 pygi-convert.sh | 2 ++
15256 1 file changed, 2 insertions(+)
15258 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
15259 Author: Martin Pitt <martinpitt@gnome.org>
15260 Date: Mon Jul 16 17:35:38 2012 +0200
15262 configure.ac: post-release bump to 3.3.5
15264 configure.ac | 2 +-
15265 1 file changed, 1 insertion(+), 1 deletion(-)
15267 commit 126842b7227fcc1381dc158acdc5a96d0a465515
15268 Author: Martin Pitt <martinpitt@gnome.org>
15269 Date: Mon Jul 16 17:33:08 2012 +0200
15273 NEWS | 28 ++++++++++++++++++++++++++++
15274 1 file changed, 28 insertions(+)
15276 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
15277 Author: Martin Pitt <martinpitt@gnome.org>
15278 Date: Mon Jul 16 17:29:22 2012 +0200
15280 test_gi: Fix for Python 2
15282 tests/test_gi.py | 7 +++++--
15283 1 file changed, 5 insertions(+), 2 deletions(-)
15285 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
15286 Author: Martin Pitt <martinpitt@gnome.org>
15287 Date: Mon Jul 16 16:35:33 2012 +0200
15289 pygi-convert.sh: Drop bogus filter_new() conversion
15291 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
15292 constructor, so do not try to convert it to a constructor call.
15294 https://bugzilla.gnome.org/show_bug.cgi?id=679999
15296 pygi-convert.sh | 1 -
15297 1 file changed, 1 deletion(-)
15299 commit c0607d970fc59528ca27d518282cf2871b92e909
15300 Author: Martin Pitt <martinpitt@gnome.org>
15301 Date: Mon Jul 16 16:00:40 2012 +0200
15303 Fix help() for GI modules
15305 Derive DynamicModule from types.ModuleType, so that the inspect
15307 ismodule() actually succeeds on those and generates useful help on
15311 https://bugzilla.gnome.org/show_bug.cgi?id=679804
15313 gi/module.py | 3 ++-
15314 tests/test_gi.py | 15 +++++++++++++++
15315 2 files changed, 17 insertions(+), 1 deletion(-)
15317 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
15318 Author: Martin Pitt <martinpitt@gnome.org>
15319 Date: Mon Jul 16 15:53:31 2012 +0200
15321 Skip gi.CallbackInfo objects from a module's dir()
15323 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
15325 implement __getattr__ for those.
15327 Add a test case that dir() works on GI modules, contain expected
15329 and that all identifiers in dir() can actually be retrieved.
15331 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
15333 gi/module.py | 7 +++++--
15334 tests/test_gi.py | 14 ++++++++++++++
15335 2 files changed, 19 insertions(+), 2 deletions(-)
15337 commit f6cc039e014448a553d626aac4020ee69717edab
15338 Author: Martin Pitt <martinpitt@gnome.org>
15339 Date: Mon Jul 16 15:38:05 2012 +0200
15341 Fix __path__ module attribute
15343 get_typelib_path() returns bytes, not strings, so in Python 3 we
15345 it to get a proper __path__ attribute.
15347 gi/module.py | 17 +++++++++++++++++
15348 tests/test_gi.py | 10 ++++++++++
15349 2 files changed, 27 insertions(+)
15351 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
15352 Author: Joe R. Nassimian <placidrage@gmail.com>
15353 Date: Mon Jul 16 15:02:10 2012 +0200
15355 pygi-convert.sh: Fix some child → getChild() false positives
15357 https://bugzilla.gnome.org/show_bug.cgi?id=680004
15359 pygi-convert.sh | 2 +-
15360 1 file changed, 1 insertion(+), 1 deletion(-)
15362 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
15363 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
15364 Date: Thu Jul 12 09:19:42 2012 +0200
15366 Fix array handling for interfaces, properties, and signals
15368 Fix lots of corner cases where arrays are not handled properly.
15369 _pygi_argument_to_object() now has the documented expectation of
15371 packed in GArrays. This was implicit before and not correctly done
15375 The helper _pygi_argument_to_array() has been improved to work on
15377 array. Fix all call sites of _pygi_argument_to_object() to do the
15378 array conversion appropriately before calling
15379 _pygi_argument_to_object().
15381 Adds a test case that implements a GInterface with a method that
15383 of variants as input.
15385 https://bugzilla.gnome.org/show_bug.cgi?id=667244
15387 gi/pygi-argument.c | 156
15388 ++++++++++++++++++++++++++++++++---------------
15389 gi/pygi-argument.h | 4 +-
15390 gi/pygi-closure.c | 11 ++++
15391 gi/pygi-info.c | 20 ++++--
15392 gi/pygi-property.c | 1 +
15393 gi/pygi-signal-closure.c | 14 ++++-
15394 tests/test_gi.py | 18 ++++++
15395 7 files changed, 167 insertions(+), 57 deletions(-)
15397 commit bb80d124269ee2389c04d03a478475868fd9ff7b
15398 Author: Manuel Quiñones <manuq@laptop.org>
15399 Date: Wed Jul 11 22:05:41 2012 -0300
15401 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
15403 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15405 https://bugzilla.gnome.org/show_bug.cgi?id=679775
15407 pygi-convert.sh | 3 +++
15408 1 file changed, 3 insertions(+)
15410 commit e3a63eefa5fb2abeabd210790e12642e577363c8
15411 Author: Manuel Quiñones <manuq@laptop.org>
15412 Date: Wed Jul 11 13:18:16 2012 -0300
15414 Add the same rules for pack_start to convert pack_end
15416 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15418 https://bugzilla.gnome.org/show_bug.cgi?id=679760
15420 pygi-convert.sh | 5 +++++
15421 1 file changed, 5 insertions(+)
15423 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
15424 Author: Dave Malcolm <dmalcolm@redhat.com>
15425 Date: Wed Jul 11 08:21:27 2012 +0200
15427 Add error-checking for the case where _arg_cache_new() fails
15429 This can happen when a typelib and its underlying library are
15431 converts the segfault into a more helpful traceback.
15433 https://bugzilla.gnome.org/show_bug.cgi?id=678914
15435 gi/pygi-cache.c | 2 ++
15436 1 file changed, 2 insertions(+)
15438 commit 41287d8a439c656e4ac60361fddec643c713234c
15439 Author: Manuel Quiñones <manuq@laptop.org>
15440 Date: Wed Jul 11 11:13:38 2012 -0300
15442 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
15445 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15447 https://bugzilla.gnome.org/show_bug.cgi?id=679754
15449 pygi-convert.sh | 6 ++++++
15450 1 file changed, 6 insertions(+)
15452 commit 5403149b900d1b73cbc78767dc43be2eb344c836
15453 Author: Simon Feltman <s.feltman@gmail.com>
15454 Date: Tue Jul 10 19:07:32 2012 -0700
15456 Fix PyObject_Repr and PyObject_Str reference leaks
15458 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
15461 https://bugzilla.gnome.org/show_bug.cgi?id=675857
15463 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15465 gi/_glib/glibmodule.c | 10 +++++++--
15466 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
15467 gi/_gobject/pygobject.c | 53
15468 ++++++++++++++++++++++++++++++---------------
15469 gi/pygi-marshal-from-py.c | 9 +++++---
15470 4 files changed, 62 insertions(+), 27 deletions(-)
15472 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
15473 Author: Martin Pitt <martinpitt@gnome.org>
15474 Date: Wed Jul 4 08:46:30 2012 +0200
15476 [API add] Gtk overrides: Add TreePath.__len__()
15478 Use the path depth as length of a Gtk.TreePath object.
15480 https://bugzilla.gnome.org/show_bug.cgi?id=679199
15482 gi/overrides/Gtk.py | 3 +++
15483 tests/test_overrides.py | 4 ++++
15484 2 files changed, 7 insertions(+)
15486 commit e1e849d1a9af77c29ee35971db8d439bac60d573
15487 Author: Martin Pitt <martinpitt@gnome.org>
15488 Date: Wed Jul 4 08:35:16 2012 +0200
15490 GLib.Variant: Fix repr(), add proper str()
15492 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
15494 proper __str__() method, and tests for both.
15496 Thanks to Rul Matos for spotting this!
15498 https://bugzilla.gnome.org/show_bug.cgi?id=679336
15500 gi/overrides/GLib.py | 6 +++++-
15501 tests/test_overrides.py | 5 +++++
15502 2 files changed, 10 insertions(+), 1 deletion(-)
15504 commit af20d7c929b9c1888454b52932a308d346e1c12b
15505 Author: Martin Pitt <martinpitt@gnome.org>
15506 Date: Thu Jun 28 06:51:22 2012 +0200
15508 m4/python.m4: Update Python version list
15510 Thanks to Dieter Verfaillie for pointing this out.
15512 m4/python.m4 | 3 +--
15513 1 file changed, 1 insertion(+), 2 deletions(-)
15515 commit a96a26234e2aaa157837d26094864e3ad9b63edf
15516 Author: Micah Carrick <micah@quixotix.com>
15517 Date: Mon Jun 25 09:05:59 2012 -0700
15519 Remove "label" property from Gtk.MenuItem if it is not set
15521 The Gtk.MenuItem will not render as a separator if the "label" or
15522 "user-underline" properties have been accessed. The constructor
15523 for Gtk.MenuItem override should not pass the "label" property
15524 as an argument if it is None since that will still result in an
15525 empty label widget which breaks Gtk.SeparatorMenuItem.
15527 https://bugzilla.gnome.org/show_bug.cgi?id=670575
15529 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15531 gi/overrides/Gtk.py | 5 ++++-
15532 1 file changed, 4 insertions(+), 1 deletion(-)
15534 commit afa12faf339efb4f7780168e884ecf49b630644a
15535 Author: Martin Pitt <martinpitt@gnome.org>
15536 Date: Mon Jun 25 16:36:31 2012 +0200
15538 configure.ac: Post-release bump to 3.3.4.
15540 configure.ac | 2 +-
15541 1 file changed, 1 insertion(+), 1 deletion(-)
15543 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
15544 Author: Martin Pitt <martinpitt@gnome.org>
15545 Date: Mon Jun 25 16:35:49 2012 +0200
15550 configure.ac | 2 +-
15551 2 files changed, 4 insertions(+), 1 deletion(-)
15553 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
15554 Author: Martin Pitt <martinpitt@gnome.org>
15555 Date: Mon Jun 25 16:32:45 2012 +0200
15557 Do not escape enum and flag names that are Python keywords
15559 These are translated to upper case, and thus can never be
15560 keywords. This broke
15561 existing API such as Gtk.ShadowType.IN.
15563 gi/module.py | 2 +-
15564 gi/pygi-info.c | 7 +++++++
15565 tests/test_gi.py | 3 +++
15566 3 files changed, 11 insertions(+), 1 deletion(-)
15568 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
15569 Author: Martin Pitt <martinpitt@gnome.org>
15570 Date: Mon Jun 25 15:39:50 2012 +0200
15572 configure.ac: Post-release version bump to 3.3.4
15574 configure.ac | 2 +-
15575 1 file changed, 1 insertion(+), 1 deletion(-)
15577 commit fe56faa346c8e8f9fd5915602424778d458a776d
15578 Author: Martin Pitt <martinpitt@gnome.org>
15579 Date: Mon Jun 25 15:36:37 2012 +0200
15583 NEWS | 15 +++++++++++++++
15584 1 file changed, 15 insertions(+)
15586 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
15587 Author: Martin Pitt <martinpitt@gnome.org>
15588 Date: Mon Jun 25 15:35:19 2012 +0200
15590 Bring back ChangeLog make target
15592 This is being used by "make dist".
15594 Makefile.am | 15 +++++++++++++++
15595 1 file changed, 15 insertions(+)
15597 commit 760118e4ed73de2f022706ef897fcc848e90c005
15598 Author: Martin Pitt <martinpitt@gnome.org>
15599 Date: Mon Jun 25 15:31:14 2012 +0200
15601 Remove obsolete ChangeLog and release-tag make targets
15603 Makefile.am | 23 -----------------------
15604 1 file changed, 23 deletions(-)
15606 commit e92278692bb51679d6e957c2ac36db64498a7c73
15607 Author: Simon Schampijer <simon@schampijer.de>
15608 Date: Fri Jun 15 16:11:21 2012 +0200
15610 Do not do any python calls when GObjects are destroyed after the
15611 python interpreter has been finalized
15613 This happens when pygobject_data_free () function is called after
15615 interpreter shuts down, we can't do python calls after that.
15617 Benzea did the findings because of a bug in Sugar, and commented
15619 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
15621 https://bugzilla.gnome.org/show_bug.cgi?id=678046
15623 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
15624 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15626 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
15627 1 file changed, 22 insertions(+), 5 deletions(-)
15629 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
15630 Author: Martin Pitt <martinpitt@gnome.org>
15631 Date: Mon Jun 25 15:06:47 2012 +0200
15633 Do not change constructor-only "type" Window property
15635 When reading a Gtk.Window subclass from a GtkBuilder object,
15637 properties are already set at __init__ time. Do not try to set it
15641 https://bugzilla.gnome.org/show_bug.cgi?id=678510
15643 gi/overrides/Gtk.py | 8 +++++++-
15644 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
15645 2 files changed, 43 insertions(+), 1 deletion(-)
15647 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
15648 Author: Martin Pitt <martinpitt@gnome.org>
15649 Date: Mon Jun 25 09:40:38 2012 +0200
15651 Escape identifiers which are Python keywords
15653 Add a trailing underscore to identifiers which are Python keywords.
15655 We use a per-major-version static identifier list derived from
15657 instead of calling out to Python's keyword.iskeyword(). This is
15659 and also allows us to tweak the result. For example, Python 3 dropped
15661 as a keyword, but we still want to escape that to avoid breaking
15663 between different Python versions.
15665 Error out when building with a major Python version not covered yet,
15667 do not forget to update the list in the future.
15669 https://bugzilla.gnome.org/show_bug.cgi?id=676746
15671 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
15672 tests/test_gi.py | 17 +++++++++++++++++
15673 2 files changed, 54 insertions(+), 1 deletion(-)
15675 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
15676 Author: Martin Pitt <martinpitt@gnome.org>
15677 Date: Fri Jun 22 13:13:37 2012 +0200
15679 Ignore E123 in pep8 tests
15681 This is "closing bracket does not match indentation of opening
15683 but it really looks better to have the closing bracket on the
15685 of the opening bracket instead of the indentation level of the
15687 contains the opening bracket.
15689 tests/Makefile.am | 2 +-
15690 1 file changed, 1 insertion(+), 1 deletion(-)
15692 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
15693 Author: Martin Pitt <martinpitt@gnome.org>
15694 Date: Fri Jun 22 13:08:34 2012 +0200
15696 PEP8: Fix indentation
15698 Spotted by current pep8 checker.
15700 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
15701 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
15702 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
15703 demos/gtk-demo/demos/appwindow.py | 2 +-
15704 demos/gtk-demo/demos/clipboard.py | 8 +--
15705 demos/gtk-demo/demos/colorselector.py | 6 +--
15706 demos/gtk-demo/demos/rotatedtext.py | 8 +--
15707 demos/gtk-demo/gtk-demo.py | 6 +--
15708 examples/option.py | 29 ++++++-----
15709 examples/signal.py | 3 +-
15710 gi/_glib/option.py | 6 +--
15711 gi/_gobject/propertyhelper.py | 18 +++----
15712 gi/module.py | 14 +++---
15713 gi/overrides/GLib.py | 2 +-
15714 gi/overrides/Gio.py | 11 +++--
15715 gi/overrides/Gtk.py | 16 +++---
15716 gi/pygtkcompat.py | 7 ++-
15717 gi/types.py | 17 ++++---
15718 tests/runtests.py | 2 +-
15719 tests/test_gdbus.py | 55 +++++++++++----------
15720 tests/test_gi.py | 15 +++---
15721 tests/test_gobject.py | 18 +++----
15722 tests/test_option.py | 26 +++++-----
15723 tests/test_overrides.py | 67
15724 +++++++++++++-------------
15725 tests/test_properties.py | 30 ++++++------
15726 tests/test_signal.py | 2 +-
15727 tests/test_uris.py | 9 ++--
15728 27 files changed, 200 insertions(+), 193 deletions(-)
15730 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
15731 Author: Martin Pitt <martinpitt@gnome.org>
15732 Date: Fri Jun 22 12:36:54 2012 +0200
15734 PEP8: Use isinstance() instead of direct type comparisons
15736 Spotted by current pep8 checker.
15738 gi/overrides/GLib.py | 2 +-
15739 gi/overrides/__init__.py | 2 +-
15740 2 files changed, 2 insertions(+), 2 deletions(-)
15742 commit 50e45a624e6301e65c150e137aad6d092f203f3f
15743 Author: Martin Pitt <martinpitt@gnome.org>
15744 Date: Fri Jun 22 12:30:10 2012 +0200
15746 PEP8: Fix continuation lines
15748 Spotted by current pep8 checker.
15750 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
15751 gi/__init__.py | 6 +++---
15752 gi/_gobject/__init__.py | 6 ++----
15753 gi/module.py | 6 +++---
15754 tests/test_overrides.py | 11 +++--------
15755 5 files changed, 14 insertions(+), 21 deletions(-)
15757 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
15758 Author: Martin Pitt <martinpitt@gnome.org>
15759 Date: Fri Jun 22 12:24:32 2012 +0200
15761 PEP8: Consistent comparisons against True, False, and None
15763 Spotted by current pep8 checker.
15765 demos/gtk-demo/demos/clipboard.py | 4 ++--
15766 demos/gtk-demo/demos/drawingarea.py | 4 ++--
15767 demos/gtk-demo/gtk-demo.py | 8 ++++----
15768 gi/overrides/Gdk.py | 2 +-
15769 gi/overrides/Gtk.py | 2 +-
15770 tests/test_gi.py | 4 ++--
15771 tests/test_overrides.py | 3 +--
15772 7 files changed, 13 insertions(+), 14 deletions(-)
15774 commit 379c1474a071292a1e8da413af2f5438cff09fc8
15775 Author: Martin Pitt <martinpitt@gnome.org>
15776 Date: Wed Jun 20 12:23:12 2012 +0200
15778 Fix crash in GLib.find_program_in_path()
15780 We need to handle a NULL return value properly.
15782 https://bugzilla.gnome.org/show_bug.cgi?id=678119
15784 gi/_glib/glibmodule.c | 10 ++++++++--
15785 tests/Makefile.am | 1 +
15786 tests/test_glib.py | 15 +++++++++++++++
15787 3 files changed, 24 insertions(+), 2 deletions(-)
15789 commit 73531fd7820bd1922347bd856298d68205a27877
15790 Author: Martin Pitt <martinpitt@gnome.org>
15791 Date: Wed Jun 20 11:16:39 2012 +0200
15793 Revert "Do not bind gobject_get_data() and gobject_set_data()"
15795 We should have some deprecation period for this, so bring back
15797 methods and add deprecation warnings.
15799 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
15801 https://bugzilla.gnome.org/show_bug.cgi?id=641944
15803 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
15804 1 file changed, 44 insertions(+)
15806 commit a0daa843801658929ffee5bcb9eb67d955dc7921
15807 Author: David Keijser <keijser@gmail.com>
15808 Date: Mon Jun 18 15:09:34 2012 +0200
15810 GVariant: Raise proper TypeError on invalid tuple input
15812 https://bugzilla.gnome.org/show_bug.cgi?id=678317
15814 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15816 gi/overrides/GLib.py | 4 ++--
15817 tests/test_overrides.py | 1 +
15818 2 files changed, 3 insertions(+), 2 deletions(-)
15820 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
15821 Author: Martin Pitt <martinpitt@gnome.org>
15822 Date: Tue Jun 5 19:11:38 2012 +0200
15824 configure.ac: Post-release bump to 3.3.3
15826 configure.ac | 2 +-
15827 1 file changed, 1 insertion(+), 1 deletion(-)
15829 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
15830 Author: Martin Pitt <martinpitt@gnome.org>
15831 Date: Tue Jun 5 19:09:12 2012 +0200
15835 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
15836 1 file changed, 44 insertions(+)
15838 commit 8209c1ae1632c77768699481e574d5d378956e71
15839 Author: Martin Pitt <martinpitt@gnome.org>
15840 Date: Tue Jun 5 19:04:49 2012 +0200
15842 Fix "release-news" make target
15844 Actually list changes since the previous release, not since 3.1.92.
15847 1 file changed, 1 insertion(+), 1 deletion(-)
15849 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
15850 Author: Bastian Winkler <buz@netbuz.org>
15851 Date: Wed May 9 19:04:01 2012 +0200
15853 foreign: Register cairo.Path and cairo.FontOptions foreign structs
15855 They are rarely used, but they are used at least by Gdk, PangoCairo
15859 clutter.Path is not used by any API that the test suite uses, so
15861 without a test for now.
15863 https://bugzilla.gnome.org/show_bug.cgi?id=677388
15865 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15867 gi/pygi-foreign-cairo.c | 85
15868 ++++++++++++++++++++++++++++++++++++++++++++++++
15869 tests/test_everything.py | 8 +++++
15870 2 files changed, 93 insertions(+)
15872 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
15873 Author: Marien Zwart <marien.zwart@gmail.com>
15874 Date: Wed May 23 01:51:46 2012 +0200
15876 Check types in GBoxed assignments
15878 Check if the Python value is GBoxed instead of assuming it is.
15879 Without this, the following segfaults:
15881 from gi.repository import Soup
15883 msg = Soup.Message()
15884 msg.props.uri = 'http://www.gnome.org'
15886 as we assume the new property is a GBoxed while it is actually a
15889 https://bugzilla.gnome.org/show_bug.cgi?id=676603
15891 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
15892 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15894 gi/pygi-argument.c | 10 +++++++---
15895 tests/test_gi.py | 19 +++++++++++++++++++
15896 2 files changed, 26 insertions(+), 3 deletions(-)
15898 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
15899 Author: Bastian Winkler <buz@netbuz.org>
15900 Date: Sat May 12 14:08:51 2012 +0200
15902 [API add] Gtk overrides: Add TreeModelRow.get_previous()
15904 TreeModelRow has get_next() and a next property, it should also have
15905 get_previous() and previous.
15907 https://bugzilla.gnome.org/show_bug.cgi?id=677389
15909 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15911 gi/overrides/Gtk.py | 9 +++++++++
15912 1 file changed, 9 insertions(+)
15914 commit 5501fba534696974899f2591929bff9e1b6ecd65
15915 Author: Bastian Winkler <buz@netbuz.org>
15916 Date: Sat May 12 13:50:02 2012 +0200
15918 [API add] Add missing GObject.TYPE_VARIANT
15920 Add TYPE_VARIANT to constants to make it accessible as
15921 GObject.TYPE_VARIANT.
15923 https://bugzilla.gnome.org/show_bug.cgi?id=677387
15925 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15927 gi/_gobject/__init__.py | 1 +
15928 gi/_gobject/constants.py | 1 +
15929 2 files changed, 2 insertions(+)
15931 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
15932 Author: Jasper St. Pierre <jstpierre@mecheye.net>
15933 Date: Fri Jun 1 02:53:13 2012 -0400
15935 Fix boxed type equality
15937 Each boxed type has its own Python type, not PyGBoxed_Type. Use
15938 PyObject_IsInstance instead of comparing against PyGBoxed_Type
15941 https://bugzilla.gnome.org/show_bug.cgi?id=677249
15943 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15945 gi/_gobject/pygboxed.c | 3 ++-
15946 tests/test_everything.py | 8 ++++++++
15947 2 files changed, 10 insertions(+), 1 deletion(-)
15949 commit dc8eef26906753fcb3ce057b23ca110137897fa5
15950 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15951 Date: Fri Jun 1 13:43:38 2012 +0200
15953 Fix TestProperties.testBoxed test
15955 A typo was preventing the test from being run.
15957 https://bugzilla.gnome.org/show_bug.cgi?id=676644
15959 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15961 tests/test_properties.py | 4 ++--
15962 1 file changed, 2 insertions(+), 2 deletions(-)
15964 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
15965 Author: Carlos Garnacho <carlos@lanedo.com>
15966 Date: Thu May 17 17:09:15 2012 +0200
15968 Fix handling of by-reference structs as out parameters
15970 When marshalling back from python, copy the result of by-reference
15971 structs into the memory expected by the native caller, instead of
15972 attempting to handle it as a pointer.
15974 https://bugzilla.gnome.org/show_bug.cgi?id=653151
15976 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15978 gi/pygi-closure.c | 17 +++++++++++++++++
15979 tests/test_gi.py | 5 +++++
15980 2 files changed, 22 insertions(+)
15982 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
15983 Author: Martin Pitt <martinpitt@gnome.org>
15984 Date: Fri Jun 1 12:28:53 2012 +0200
15986 tests: Add more vfunc checks for GIMarshallingTestsObject
15988 tests/test_gi.py | 25 +++++++++++++++++++++++++
15989 1 file changed, 25 insertions(+)
15991 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
15992 Author: Martin Pitt <martinpitt@gnome.org>
15993 Date: Fri Jun 1 12:02:55 2012 +0200
15995 Test caller-allocated GValue out parameter
15997 This came up as a side issue in
15998 https://bugzilla.gnome.org/show_bug.cgi?id=653151
16000 tests/test_gi.py | 3 +++
16001 1 file changed, 3 insertions(+)
16003 commit edc17e703e1a05e20545d3df9167ceb076450443
16004 Author: Bastian Winkler <buz@netbuz.org>
16005 Date: Wed May 16 11:13:05 2012 +0200
16007 GObject.bind_property: Support transform functions
16009 Add support for optional transformation functions to
16010 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
16011 return value correctly.
16013 https://bugzilla.gnome.org/show_bug.cgi?id=676169
16015 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16017 gi/_gobject/pygobject.c | 130
16018 +++++++++++++++++++++++++++++++++++++++++++++---
16019 tests/test_gobject.py | 59 ++++++++++++++++++++++
16020 2 files changed, 181 insertions(+), 8 deletions(-)
16022 commit 07a08b49aae83a297e2f91240448314e4663f724
16023 Author: Carlos Garnacho <carlos@lanedo.com>
16024 Date: Mon May 14 15:31:14 2012 +0200
16026 Fix lookup of vfuncs in parent classes
16028 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
16030 As subclasses implemented in python override the attribute for the
16031 vfunc, __mro__ has to be used so subclasses of the subclass overriding
16032 methods may find the corresponding VFuncInfo.
16034 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
16036 gi/types.py | 6 +++---
16037 tests/test_gi.py | 27 +++++++++++++++++++++++++++
16038 2 files changed, 30 insertions(+), 3 deletions(-)
16040 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
16041 Author: Martin Pitt <martinpitt@gnome.org>
16042 Date: Fri Jun 1 08:18:40 2012 +0200
16044 tests/test_properties.py: Fix whitespace
16046 The pep8 check failed on this.
16048 tests/test_properties.py | 2 +-
16049 1 file changed, 1 insertion(+), 1 deletion(-)
16051 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
16052 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16053 Date: Wed May 30 16:45:53 2012 -0400
16055 gi: Support zero-terminated arrays with length arguments
16057 Sometimes, you may see (array zero-terminated=1 length=length)
16059 Don't expose the length argument to the user in this case.
16061 https://bugzilla.gnome.org/show_bug.cgi?id=677124
16063 gi/pygi-cache.c | 13 ++++---------
16064 tests/test_gi.py | 3 +++
16065 2 files changed, 7 insertions(+), 9 deletions(-)
16067 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
16068 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16069 Date: Fri May 25 17:09:55 2012 -0400
16073 libregress now needs cairo-gobject
16075 configure.ac | 2 +-
16076 1 file changed, 1 insertion(+), 1 deletion(-)
16078 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
16079 Author: Martin Pitt <martinpitt@gnome.org>
16080 Date: Mon May 14 15:48:34 2012 +0200
16082 Fix comment in previous commit
16084 tests/test_gobject.py | 2 +-
16085 1 file changed, 1 insertion(+), 1 deletion(-)
16087 commit 6610428394d0c65987de5021bf2c38641cdb7116
16088 Author: Simon Feltman <s.feltman@gmail.com>
16089 Date: Tue May 8 20:04:09 2012 -0700
16091 [API add] Add GObject.bind_property method
16093 This adds the "bind_property" method for binding two gobject
16095 together. The method returns a weak reference to a GBinding object.
16096 The BindingWeakRef object is used to manage GBinding objects within
16098 created through GObject.bind_property. It is a sub-class
16099 PyGObjectWeakRef so
16100 that we can maintain the same reference counting semantics between
16102 and GObject Binding objects. This gives explicit direct control of the
16103 binding lifetime by using the "unbind" method on the BindingWeakRef
16105 along with implicit management based on the lifetime of the source or
16108 Note this does not yet include support for converter closures. This
16110 later after the initial implementation is accepted.
16112 https://bugzilla.gnome.org/show_bug.cgi?id=675582
16114 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16116 gi/_gobject/pygobject.c | 104
16117 +++++++++++++++++++++++++++++++++++++++++++++++-
16118 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
16119 2 files changed, 193 insertions(+), 1 deletion(-)
16121 commit 88babe7377402f6e6f912a8b83615aab848eae81
16122 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16123 Date: Fri May 11 19:08:47 2012 -0300
16125 pygtkcompat: Correctly set flags
16127 https://bugzilla.gnome.org/show_bug.cgi?id=675911
16129 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16131 gi/pygtkcompat.py | 5 ++---
16132 tests/test_pygtkcompat.py | 1 +
16133 2 files changed, 3 insertions(+), 3 deletions(-)
16135 commit 3f712b56397296bca2f5358cd52977b1a2011964
16136 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16137 Date: Fri May 11 12:39:05 2012 -0300
16139 Gtk overrides: Implement __delitem__ on TreeModel
16141 https://bugzilla.gnome.org/show_bug.cgi?id=675892
16143 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16145 gi/overrides/Gtk.py | 16 ++++++++++++----
16146 tests/test_overrides.py | 9 +++++++++
16147 2 files changed, 21 insertions(+), 4 deletions(-)
16149 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
16150 Author: Simon Feltman <s.feltman@gmail.com>
16151 Date: Sun May 6 18:10:39 2012 -0700
16153 Gdk Color override should support red/green/blue_float properties
16155 Added red_float, green_float, and blue_float properties to Color.
16156 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
16158 https://bugzilla.gnome.org/show_bug.cgi?id=675579
16160 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16162 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
16163 tests/Makefile.am | 2 +-
16164 tests/test_overrides.py | 17 +++++++++++++++++
16165 3 files changed, 62 insertions(+), 1 deletion(-)
16167 commit d9608c332d9592f03545b110cfac8105453ea035
16168 Author: Martin Pitt <martinpitt@gnome.org>
16169 Date: Sat May 5 12:42:42 2012 -0700
16171 Support marshalling of GVariants for closures
16173 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
16175 be called with GVariant arguments and return GVariant.
16177 Unmark the corresponding test case as "expected failure", and also
16179 for None values and type mismatches.
16181 https://bugzilla.gnome.org/show_bug.cgi?id=656554
16183 gi/_gobject/pygtype.c | 47
16184 +++++++++++++++++++++++++++++++++++++++++++++--
16185 tests/test_everything.py | 16 ++++++++++++----
16186 2 files changed, 57 insertions(+), 6 deletions(-)
16188 commit e7a909c16dc1c625ab11e270f23d540f15c71767
16189 Author: Johan Dahlin <johan@gnome.org>
16190 Date: Mon May 7 10:33:40 2012 -0300
16192 Require gobject-introspection 1.33.0
16194 configure.ac | 2 +-
16195 1 file changed, 1 insertion(+), 1 deletion(-)
16197 commit 9e8239684433631e0d1650d25416e4d7bf92a058
16198 Author: Martin Pitt <martinpitt@gnome.org>
16199 Date: Sun May 6 18:28:23 2012 -0700
16201 NEWS: Add API additions since 3.2.0
16204 1 file changed, 4 insertions(+), 3 deletions(-)
16206 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
16207 Author: Martin Pitt <martinpitt@gnome.org>
16208 Date: Sun May 6 18:25:23 2012 -0700
16210 NEWS: Mark API changes since 3.2.0
16213 1 file changed, 3 insertions(+), 3 deletions(-)
16215 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
16216 Author: Martin Pitt <martinpitt@gnome.org>
16217 Date: Sun May 6 18:19:35 2012 -0700
16219 Fix commit 168a087 for Python 3
16221 Simplify the type check and use the already existing one. Fix the
16223 to work with both Python 2 and 3.
16225 gi/pygi-argument.c | 42 +++++++++---------------------------------
16226 1 file changed, 9 insertions(+), 33 deletions(-)
16228 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
16229 Author: Martin Pitt <martinpitt@gnome.org>
16230 Date: Sun May 6 18:08:57 2012 -0700
16232 pygtkcompat.py: Typo fix
16234 Was missing a space around operator, causing the PEP8 check to fail.
16236 gi/pygtkcompat.py | 2 +-
16237 1 file changed, 1 insertion(+), 1 deletion(-)
16239 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
16240 Author: Martin Pitt <martinpitt@gnome.org>
16241 Date: Sun May 6 18:02:04 2012 -0700
16243 _pygi_argument_from_object(): Check for compatible data type
16245 Verify that the passed PyObject actually matches the expected type
16247 argument. With this, trying to assign a wrong type to a property
16249 a proper TypeError.
16251 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
16252 gi/pygi-property.c | 3 +++
16253 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
16254 3 files changed, 82 insertions(+)
16256 commit 5948b62ba3e08ea943e6965ee38c94c363186226
16257 Author: Martin Pitt <martinpitt@gnome.org>
16258 Date: Sun May 6 17:59:57 2012 -0700
16260 pygtkcompat: Fix color conversion
16262 gtk_style_context_get_background_color() returns a GdkRGBA value,
16264 float values between 0 and 1. However, we construct a GdkColor
16266 that, so we need to scale to 0..65535 and round to int.
16268 gi/pygtkcompat.py | 6 +++---
16269 1 file changed, 3 insertions(+), 3 deletions(-)
16271 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
16272 Author: Martin Pitt <martinpitt@gnome.org>
16273 Date: Sun May 6 06:02:31 2012 -0700
16275 test_gi: Check setting properties in constructor
16277 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
16278 1 file changed, 33 insertions(+)
16280 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
16281 Author: Martin Pitt <martinpitt@gnome.org>
16282 Date: Sun May 6 05:50:00 2012 -0700
16284 Support getting and setting GStrv properties
16286 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
16287 tests/test_gi.py | 11 +++++++++++
16288 2 files changed, 47 insertions(+)
16290 commit 8321af2c7df499291e664c676376f149a0c3dcac
16291 Author: Martin Pitt <martinpitt@gnome.org>
16292 Date: Sat May 5 13:58:29 2012 -0700
16294 Support defining GStrv properties from Python
16296 gi/_gobject/propertyhelper.py | 10 ++++++--
16297 tests/test_properties.py | 58
16298 +++++++++++++++++++++++++++++++++++++++++--
16299 2 files changed, 64 insertions(+), 4 deletions(-)
16301 commit f2494526e1c579c41babfe7ff67deef0f6966adf
16302 Author: Martin Pitt <martinpitt@gnome.org>
16303 Date: Sat May 5 13:21:20 2012 -0700
16305 Add GObject.TYPE_STRV constant
16307 gi/_gobject/__init__.py | 1 +
16308 gi/_gobject/constants.py | 1 +
16309 tests/test_everything.py | 2 +-
16310 tests/test_signal.py | 2 +-
16311 4 files changed, 4 insertions(+), 2 deletions(-)
16313 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
16314 Author: Martin Pitt <martinpitt@gnome.org>
16315 Date: Sat May 5 09:28:36 2012 +0200
16317 Unref GVariants when destroying the wrapper
16319 https://bugzilla.gnome.org/show_bug.cgi?id=675472
16321 gi/overrides/GLib.py | 3 +++
16322 1 file changed, 3 insertions(+)
16324 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
16325 Author: Martin Pitt <martinpitt@gnome.org>
16326 Date: Sat May 5 09:23:55 2012 +0200
16328 Fix TestArrayGVariant test cases
16330 test_array_gvariant_container_in() and test_array_gvariant_full_in()
16332 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
16334 Actually do what they mean to do now and call the corresponding
16335 GIMarshallingTests methods.
16337 tests/test_gi.py | 4 ++--
16338 1 file changed, 2 insertions(+), 2 deletions(-)
16340 commit fda8a069d503e63c76a6b1ba285a181822549059
16341 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16342 Date: Sat May 5 08:52:41 2012 +0200
16344 pygtkcompat: Add gdk.pixbuf_get_formats compat code
16346 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16348 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16350 gi/pygtkcompat.py | 20 ++++++++++++++++++++
16351 tests/test_pygtkcompat.py | 8 ++++++++
16352 2 files changed, 28 insertions(+)
16354 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
16355 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16356 Date: Mon Apr 30 13:44:19 2012 -0300
16358 pygtkcompat: Add some more compat functions
16360 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16362 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16364 gi/pygtkcompat.py | 14 ++++++++++++++
16365 1 file changed, 14 insertions(+)
16367 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
16368 Author: Martin Pitt <martinpitt@gnome.org>
16369 Date: Thu May 3 12:25:04 2012 +0200
16371 Fix tests for Python 3
16373 cmp() does not exist any more in Python 3, replace with comparison
16376 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
16378 can't pass a str (which is an Unicode object in Python 3). Pass a
16382 tests/test_gi.py | 2 +-
16383 tests/test_overrides.py | 2 +-
16384 2 files changed, 2 insertions(+), 2 deletions(-)
16386 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
16387 Author: Martin Pitt <martinpitt@gnome.org>
16388 Date: Thu May 3 09:38:56 2012 +0200
16390 Fix building with --disable-cairo
16392 Build gobject-introspection's regress.c against cairo, not
16393 pycairo/py3cairo. We
16394 always need cairo to build, so unconditionally check for this in
16397 In test_everything.py, gracefully handle the absence of the "cairo"
16399 module, which we do not have when building without cairo support.
16401 configure.ac | 3 +++
16402 tests/Makefile.am | 4 ++--
16403 tests/test_everything.py | 8 +++++++-
16404 3 files changed, 12 insertions(+), 3 deletions(-)
16406 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
16407 Author: Martin Pitt <martinpitt@gnome.org>
16408 Date: Thu May 3 09:28:51 2012 +0200
16410 tests: Fix deprecated assertions
16412 assertAlmostEquals → assertAlmostEqual
16413 assertNotEquals → assertNotEqual
16415 tests/test_everything.py | 4 ++--
16416 tests/test_gi.py | 12 ++++++------
16417 tests/test_overrides.py | 10 +++++-----
16418 3 files changed, 13 insertions(+), 13 deletions(-)
16420 commit 07f312e66c07357168098d3f96813d2c997e8dc7
16421 Author: Martin Pitt <martinpitt@gnome.org>
16422 Date: Wed May 2 12:08:19 2012 +0200
16424 Run tests with MALLOC_PERTURB_
16426 We mostly use the glib allocation functions, but this might
16427 help to uncover access to already freed or uninitialized memory in
16431 tests/Makefile.am | 1 +
16432 1 file changed, 1 insertion(+)
16434 commit b0740d386c2cbbd153878209b584b568968e4d98
16435 Author: Martin Pitt <martinpitt@gnome.org>
16436 Date: Mon Apr 30 16:26:57 2012 +0200
16438 configure.ac: Post-release bump to 3.3.2
16440 configure.ac | 2 +-
16441 1 file changed, 1 insertion(+), 1 deletion(-)
16443 commit d3977266faadacd3d05705497c1cf51a01a6606f
16444 Author: Martin Pitt <martinpitt@gnome.org>
16445 Date: Mon Apr 30 16:08:09 2012 +0200
16450 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16451 1 file changed, 66 insertions(+)
16453 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
16454 Author: Giovanni Campagna <gcampagna@src.gnome.org>
16455 Date: Sun Apr 29 23:55:15 2012 +0200
16457 GSettings: allow extra keyword arguments
16459 All GObject constructors are expected to accept any construct
16460 property as keyword argument, and overrides should respect that.
16461 In particular, not doing this for GSettings prevents using a custom
16464 https://bugzilla.gnome.org/show_bug.cgi?id=675105
16466 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16468 gi/overrides/Gio.py | 4 ++--
16469 1 file changed, 2 insertions(+), 2 deletions(-)
16471 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
16472 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16473 Date: Sun Apr 29 12:56:50 2012 -0300
16475 pygtkcompat: Correct Userlist module use
16477 https://bugzilla.gnome.org/show_bug.cgi?id=675084
16479 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16481 gi/pygtkcompat.py | 2 +-
16482 tests/test_pygtkcompat.py | 4 ++++
16483 2 files changed, 5 insertions(+), 1 deletion(-)
16485 commit 3551462a429ef30274fa01fc8111da5025f9c342
16486 Author: Martin Pitt <martinpitt@gnome.org>
16487 Date: Sun Apr 29 20:17:47 2012 +0200
16489 Add release-news make rule
16491 This produces a commit log since the previous release in our
16493 format. This does not currently wrap long lines automatically, though.
16495 Do include bug numbers from now on, as they are very useful.
16497 Makefile.am | 12 ++++++++++--
16498 1 file changed, 10 insertions(+), 2 deletions(-)
16500 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
16501 Author: Martin Pitt <martinpitt@gnome.org>
16502 Date: Wed Apr 25 13:07:59 2012 +0200
16504 Add "make check.nemiver" target
16506 Similar to "check.gdb", but invokes nemiver.
16508 Makefile.am | 3 +++
16509 tests/Makefile.am | 3 +++
16510 2 files changed, 6 insertions(+)
16512 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
16513 Author: Martin Pitt <martinpitt@gnome.org>
16514 Date: Tue Apr 24 13:24:00 2012 +0200
16516 Test flags and enums in GHash values
16518 https://bugzilla.gnome.org/show_bug.cgi?id=637466
16520 tests/test_everything.py | 18 ++++++++++++------
16521 1 file changed, 12 insertions(+), 6 deletions(-)
16523 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
16524 Author: Martin Pitt <martinpitt@gnome.org>
16525 Date: Tue Apr 24 13:03:36 2012 +0200
16527 tests: Activate test_hash_in and apply workaround
16529 Work around pygobject's current inability to produce a GStrv object
16531 string array by explicitly producing a GStrV object, and reactivate
16534 https://bugzilla.gnome.org/show_bug.cgi?id=666636
16536 tests/test_everything.py | 24 +++++++++++++-----------
16537 1 file changed, 13 insertions(+), 11 deletions(-)
16539 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
16540 Author: Martin Pitt <martinpitt@gnome.org>
16541 Date: Mon Apr 23 12:33:09 2012 +0200
16543 Add special case for Gdk.Atom array entries from Python
16545 Gdk.Atom pretends to be a struct pointer, but is really just an
16547 into a pointer. So we must not dereference it directly, nor free
16549 instead just copy the pointer value.
16551 Also add a few other test cases for "single Atom return", "single
16553 in", and Atom GList return", which already work fine.
16555 https://bugzilla.gnome.org/show_bug.cgi?id=661709
16557 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
16558 tests/Makefile.am | 1 +
16559 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
16560 3 files changed, 56 insertions(+), 4 deletions(-)
16562 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
16563 Author: Martin Pitt <martinpitt@gnome.org>
16564 Date: Mon Apr 23 20:09:43 2012 +0200
16566 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
16568 https://bugzilla.gnome.org/show_bug.cgi?id=667954
16570 tests/test_gdbus.py | 2 +-
16571 1 file changed, 1 insertion(+), 1 deletion(-)
16573 commit 3ae38d7519524288a57e5d522954b9d6725f0185
16574 Author: Martin Pitt <martinpitt@gnome.org>
16575 Date: Mon Apr 23 18:47:34 2012 +0200
16577 Add test case for Gtk.ListStore custom sort
16579 This works in Python 2, but crashes in Python 3, another case of
16581 we get when C calls a Python callback in Python 3.
16583 https://bugzilla.gnome.org/show_bug.cgi?id=674475
16585 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
16586 1 file changed, 31 insertions(+)
16588 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
16589 Author: Martin Pitt <martinpitt@gnome.org>
16590 Date: Mon Apr 23 17:40:23 2012 +0200
16592 GTK overrides: Add missing keyword arguments
16594 Add missing **kwargs to overridden __init__() constructors, to
16596 arbitrary widget properties.
16598 https://bugzilla.gnome.org/show_bug.cgi?id=660018
16600 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
16601 tests/test_overrides.py | 6 ++++++
16602 2 files changed, 24 insertions(+), 16 deletions(-)
16604 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
16605 Author: Martin Pitt <martinpitt@gnome.org>
16606 Date: Mon Apr 23 15:24:04 2012 +0200
16608 Add missing override for TreeModel.iter_previous()
16610 This should behave like the override for TreeModel.iter_next().
16612 https://bugzilla.gnome.org/show_bug.cgi?id=660018
16614 gi/overrides/Gtk.py | 6 ++++++
16615 tests/test_overrides.py | 4 ++++
16616 2 files changed, 10 insertions(+)
16618 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
16619 Author: Martin Pitt <martinpitt@gnome.org>
16620 Date: Sun Apr 22 16:45:06 2012 +0200
16622 pygi-convert.py: Drop obsolete drag method conversions
16624 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
16626 fixed a while ago to be proper Widget methods again.
16628 https://bugzilla.gnome.org/show_bug.cgi?id=652860
16630 pygi-convert.sh | 3 ---
16631 1 file changed, 3 deletions(-)
16633 commit f82eca6006dec21624796074af8ffe9b2256f7a4
16634 Author: Martin Pitt <martinpitt@gnome.org>
16635 Date: Sat Apr 21 14:00:50 2012 +0200
16637 tests: Replace deprecated assertEquals() with assertEqual()
16639 tests/test_everything.py | 144 ++++++-------
16640 tests/test_gi.py | 502
16641 +++++++++++++++++++++++-----------------------
16642 tests/test_gobject.py | 58 +++---
16643 tests/test_option.py | 6 +-
16644 tests/test_overrides.py | 352 ++++++++++++++++----------------
16645 tests/test_properties.py | 18 +-
16646 tests/test_pygtkcompat.py | 42 ++--
16647 7 files changed, 561 insertions(+), 561 deletions(-)
16649 commit ddb0bf01e694585d58af52673a21796e7c9578ea
16650 Author: Paolo Borelli <pborelli@gnome.org>
16651 Date: Sat Apr 21 12:02:54 2012 +0200
16653 Plug tiny leak in constant_info_get_value
16655 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
16657 gi/pygi-info.c | 1 +
16658 1 file changed, 1 insertion(+)
16660 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
16661 Author: Bastian Winkler <buz@netbuz.org>
16662 Date: Thu Apr 12 20:30:05 2012 +0200
16664 Fix len_arg_index for array arguments
16666 Don't set len_arg_index for arrays without the length annotation
16668 This fixes methods like Clutter.Texture.set_from_rgb_data() and
16669 Clutter.Image.set_data()
16671 https://bugzilla.gnome.org/show_bug.cgi?id=674271
16673 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16675 gi/pygi-cache.c | 4 +++-
16676 gi/pygi-marshal-cleanup.c | 4 ++--
16677 tests/test_gi.py | 3 +++
16678 3 files changed, 8 insertions(+), 3 deletions(-)
16680 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
16681 Author: Martin Pitt <martinpitt@gnome.org>
16682 Date: Thu Apr 19 13:11:56 2012 +0200
16684 Support defining GType properties from Python
16686 Commit 84e3471 fixed the handling of GType properties for properties
16688 defined in the C library already. Add the missing support for
16690 properties in Python as well.
16692 https://bugzilla.gnome.org/show_bug.cgi?id=674351
16694 gi/_gobject/gobjectmodule.c | 5 ++++-
16695 gi/_gobject/propertyhelper.py | 9 ++++++---
16696 tests/test_properties.py | 42
16697 +++++++++++++++++++++++++++++++++++++++---
16698 3 files changed, 49 insertions(+), 7 deletions(-)
16700 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
16701 Author: Martin Pitt <martinpitt@gnome.org>
16702 Date: Thu Apr 19 16:12:29 2012 +0200
16704 Fix typo in previous commit
16706 In the test case, actually assign the newly created object, so that
16708 properties of the right object.
16710 tests/test_everything.py | 2 +-
16711 1 file changed, 1 insertion(+), 1 deletion(-)
16713 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
16714 Author: Bastian Winkler <buz@netbuz.org>
16715 Date: Wed Apr 18 21:44:08 2012 +0200
16717 Handle GType properties correctly
16719 Fix conversion from/to properties of type G_TYPE_GTYPE
16721 https://bugzilla.gnome.org/show_bug.cgi?id=674351
16723 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16725 gi/_gobject/pygtype.c | 9 +++++++--
16726 tests/test_everything.py | 15 +++++++++++++++
16727 2 files changed, 22 insertions(+), 2 deletions(-)
16729 commit d1362451e070e156d2f49c9cde930cc38befb12b
16730 Author: Martin Pitt <martinpitt@gnome.org>
16731 Date: Thu Apr 19 07:27:10 2012 +0200
16733 Add missing GObject.TYPE_GTYPE
16735 gi/_gobject/__init__.py | 1 +
16736 gi/_gobject/constants.py | 1 +
16737 2 files changed, 2 insertions(+)
16739 commit d3225f1540e09719caa73e52d402e946da3add24
16740 Author: Martin Pitt <martinpitt@gnome.org>
16741 Date: Tue Apr 10 12:44:00 2012 +0200
16743 Fix test_mainloop.py for Python 3
16745 tests/test_mainloop.py | 9 +++++++--
16746 1 file changed, 7 insertions(+), 2 deletions(-)
16748 commit 903283119896f3e054694484da4147788b02ce60
16749 Author: Martin Pitt <martinpitt@gnome.org>
16750 Date: Mon Apr 9 15:20:39 2012 +0200
16752 Make callback exception propagation test stricter
16754 Propagating Python exceptions from callbacks through the C context
16756 original caller does not currently happen, is nontrivial/unsafe
16758 and not desirable at this point any more as by now we have established
16760 current behaviour. So remove the catching of ZeroDivisionError in
16763 https://bugzilla.gnome.org/show_bug.cgi?id=616279
16765 tests/test_everything.py | 16 ++++++++--------
16766 1 file changed, 8 insertions(+), 8 deletions(-)
16768 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
16769 Author: Simon Feltman <s.feltman@gmail.com>
16770 Date: Sun Mar 18 15:59:58 2012 -0700
16772 Add context management to freeze_notify() and handler_block().
16774 These methods now return a context manager object. Within the
16776 thaw_notify() and handler_unblock() are called respectively. This
16778 statements like the following:
16780 with obj.freeze_notify():
16781 obj.props.width = 100
16782 obj.props.height = 100
16783 obj.props.opacity = 0.5
16785 This does not affect standard usage of these methods.
16787 https://bugzilla.gnome.org/show_bug.cgi?id=672324
16789 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16791 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
16792 tests/test_gobject.py | 158
16793 ++++++++++++++++++++++++++++++++++++++++++++++++
16794 2 files changed, 288 insertions(+), 8 deletions(-)
16796 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
16797 Author: Martin Pitt <martinpitt@gnome.org>
16798 Date: Wed Apr 4 19:08:54 2012 +0200
16800 Add support for GFlags properties
16802 https://bugzilla.gnome.org/show_bug.cgi?id=620943
16804 gi/_gobject/propertyhelper.py | 9 +++++++--
16805 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
16806 2 files changed, 34 insertions(+), 3 deletions(-)
16808 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
16809 Author: Martin Pitt <martinpitt@gnome.org>
16810 Date: Wed Apr 4 17:54:52 2012 +0200
16812 Wrap GLib.Source.is_destroyed() method
16814 Based on original patch from Bryan Silverthorn.
16816 https://bugzilla.gnome.org/show_bug.cgi?id=524719
16818 gi/_glib/pygsource.c | 15 +++++++++++++++
16819 tests/test_source.py | 24 ++++++++++++++++++++++++
16820 2 files changed, 39 insertions(+)
16822 commit 05030a95a4d3090162ed5f510a26d69bbb152942
16823 Author: Martin Pitt <martinpitt@gnome.org>
16824 Date: Wed Apr 4 15:59:24 2012 +0200
16826 Fix error message when trying to override a non-GI class
16828 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
16830 https://bugzilla.gnome.org/show_bug.cgi?id=646667
16832 gi/overrides/__init__.py | 7 ++++---
16833 tests/test_overrides.py | 13 +++++++++++++
16834 2 files changed, 17 insertions(+), 3 deletions(-)
16836 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
16837 Author: Steve Frécinaux <code@istique.net>
16838 Date: Wed Apr 4 15:30:55 2012 +0200
16840 Fix segfault when accessing __grefcount__ before creating the GObject
16842 When creating a new instance using Type() and trying to access
16843 __grefcount__ before calling the subclass's __init__ function, there
16844 used to be a segmentation fault because we were trying to access the
16845 not yet created object. Now raise a proper exception instead.
16847 https://bugzilla.gnome.org/show_bug.cgi?id=640434
16849 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
16851 gi/_gobject/pygobject.c | 4 ++++
16852 tests/test_gobject.py | 11 +++++++++++
16853 2 files changed, 15 insertions(+)
16855 commit 24cc09a7105299805fcc5bc151f53ac69958d728
16856 Author: Steve Frécinaux <code@istique.net>
16857 Date: Wed Feb 9 18:37:33 2011 +0100
16859 Do not bind gobject_get_data() and gobject_set_data()
16861 They will basically cause a crash if misused, and you can always use a
16862 python member attribute instead.
16864 https://bugzilla.gnome.org/show_bug.cgi?id=641944
16866 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16868 gi/_gobject/pygobject.c | 40 ----------------------------------------
16869 1 file changed, 40 deletions(-)
16871 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
16872 Author: Martin Pitt <martinpitt@gnome.org>
16873 Date: Tue Apr 3 22:26:34 2012 +0200
16875 Add test case for multiple GLib.MainLoop instances
16877 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
16881 https://bugzilla.gnome.org/show_bug.cgi?id=663068
16883 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
16884 1 file changed, 24 insertions(+), 1 deletion(-)
16886 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
16887 Author: John (J5) Palmieri <johnp@redhat.com>
16888 Date: Tue Feb 21 15:13:42 2012 +0100
16890 Add a ccallback type which is used to invoke callbacks passed to
16893 Used when overriding methods like gtk_container_forall wich pass in a
16894 callback that needs to be executed on internal children:
16895 def do_forall(self, callback, userdata):
16896 callback(self.custom_child, userdata)
16898 https://bugzilla.gnome.org/show_bug.cgi?id=644926
16900 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16901 Co-authored-by: Simon Schampijer <simon@laptop.org>
16903 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16905 gi/Makefile.am | 2 +
16906 gi/gimodule.c | 1 +
16907 gi/module.py | 5 +++
16908 gi/pygi-argument.c | 12 +----
16909 gi/pygi-cache.c | 28 ++++++++++--
16910 gi/pygi-cache.h | 9 ++--
16911 gi/pygi-ccallback.c | 100
16912 ++++++++++++++++++++++++++++++++++++++++++
16913 gi/pygi-ccallback.h | 41 +++++++++++++++++
16914 gi/pygi-closure.c | 50 ++++++++++++++++++++-
16915 gi/pygi-invoke-state-struct.h | 2 +
16916 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
16917 gi/pygi-invoke.h | 3 ++
16918 gi/pygi-private.h | 1 +
16919 gi/pygi.h | 10 +++++
16920 tests/test_gi.py | 16 +++++++
16921 15 files changed, 312 insertions(+), 41 deletions(-)
16923 commit db7e1d078db16b6f11dee51aa97525c451346632
16924 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
16925 Date: Tue Mar 27 17:34:48 2012 +0200
16927 Regression test: marshalling GValues in GHashTable
16929 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16931 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16933 tests/test_everything.py | 19 +++++++++++++++++++
16934 1 file changed, 19 insertions(+)
16936 commit 7c0017c30129a8db391f902ed592782200d69c64
16937 Author: Martin Pitt <martin.pitt@ubuntu.com>
16938 Date: Mon Mar 26 17:55:41 2012 +0200
16940 Bump version to 3.3.1
16942 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
16944 continue with 3.3.x on master.
16946 configure.ac | 4 ++--
16947 1 file changed, 2 insertions(+), 2 deletions(-)
16949 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
16950 Author: Martin Pitt <martin.pitt@ubuntu.com>
16951 Date: Mon Mar 26 17:51:37 2012 +0200
16955 - Ignore *.o, backup files, and generated Makefiles in all
16957 - Ignore *.pyc files.
16958 - Do not ignore .gitignore, we actually want to track this.
16961 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16962 1 file changed, 61 insertions(+)
16964 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
16965 Author: Martin Pitt <martin.pitt@ubuntu.com>
16966 Date: Mon Mar 26 17:45:08 2012 +0200
16968 Fix "distcheck" and tests with out-of-tree builds
16970 - Symlink *.py files from srcdir into builddir during build, as
16972 accept the extensions and modules in different paths.
16973 - "make clean" should remove *.pyc files
16974 - tests/runtests.py: Look for tests in srcdir, not in builddir
16976 Makefile.am | 6 ++++--
16977 gi/Makefile.am | 13 +++++++++++--
16978 gi/_glib/Makefile.am | 12 ++++++++++--
16979 gi/_gobject/Makefile.am | 12 ++++++++++--
16980 gi/overrides/Makefile.am | 10 ++++++++++
16981 gi/repository/Makefile.am | 11 +++++++++++
16982 tests/runtests.py | 6 ++++--
16983 7 files changed, 60 insertions(+), 10 deletions(-)
16985 commit f83d95e6fff572bda659a48e309b4524dafa4e83
16986 Author: Johan Dahlin <johan@gnome.org>
16987 Date: Thu Mar 22 11:14:03 2012 -0300
16989 Add a pep8 check to the makefile
16991 Also reorganize the pyflakes check, since target dependencies do not
16992 take the exit status of the shell command into account.
16994 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16996 tests/Makefile.am | 9 ++++-----
16997 1 file changed, 4 insertions(+), 5 deletions(-)
16999 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
17000 Author: Johan Dahlin <johan@gnome.org>
17001 Date: Thu Mar 22 10:56:59 2012 -0300
17003 PEP8: Remaining whitespace fixes
17005 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17007 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
17008 demos/gtk-demo/demos/Tree View/liststore.py | 28
17009 +++++++++++++-------------
17010 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
17011 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17012 examples/cairo-demo.py | 4 ++--
17013 tests/test_gi.py | 12 +++++------
17014 tests/test_overrides.py | 2 +-
17015 7 files changed, 32 insertions(+), 33 deletions(-)
17017 commit 032fcce2bf6070a9001cbb780e90403051e303b1
17018 Author: Johan Dahlin <johan@gnome.org>
17019 Date: Thu Mar 22 10:56:03 2012 -0300
17021 PEP8: Add spaces before #
17023 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17025 demos/gtk-demo/demos/drawingarea.py | 6 +++---
17026 demos/gtk-demo/demos/images.py | 10 +++++-----
17027 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17028 gi/__init__.py | 2 +-
17029 gi/_glib/option.py | 2 +-
17030 gi/_gobject/__init__.py | 2 +-
17031 gi/overrides/GLib.py | 12 ++++++------
17032 gi/types.py | 4 ++--
17033 tests/runtests.py | 2 +-
17034 tests/test_gdbus.py | 4 ++--
17035 10 files changed, 23 insertions(+), 23 deletions(-)
17037 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
17038 Author: Johan Dahlin <johan@gnome.org>
17039 Date: Thu Mar 22 10:52:05 2012 -0300
17041 PEP8: Add missing whitespace after : and ,
17043 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17045 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17046 demos/gtk-demo/demos/appwindow.py | 2 +-
17047 tests/test_everything.py | 23 +++++++++--------------
17048 tests/test_gi.py | 2 +-
17049 tests/test_overrides.py | 2 +-
17050 5 files changed, 13 insertions(+), 18 deletions(-)
17052 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
17053 Author: Johan Dahlin <johan@gnome.org>
17054 Date: Thu Mar 22 10:49:52 2012 -0300
17056 PEP8: Remove too whitespace before }
17058 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17060 tests/test_overrides.py | 2 +-
17061 1 file changed, 1 insertion(+), 1 deletion(-)
17063 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
17064 Author: Johan Dahlin <johan@gnome.org>
17065 Date: Thu Mar 22 10:49:27 2012 -0300
17067 PEP8: Remove too many blank lines
17069 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17071 demos/gtk-demo/demos/rotatedtext.py | 1 -
17072 tests/test_overrides.py | 1 -
17073 2 files changed, 2 deletions(-)
17075 commit 03e597cb8f3b075efae556ee51a598695a883ad3
17076 Author: Johan Dahlin <johan@gnome.org>
17077 Date: Thu Mar 22 10:48:59 2012 -0300
17079 PEP8: Fix whitespace around operators
17081 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17083 demos/gtk-demo/demos/images.py | 2 +-
17084 examples/cairo-demo.py | 8 ++++----
17085 tests/test_gi.py | 4 ++--
17086 tests/test_overrides.py | 8 ++++----
17087 tests/test_properties.py | 14 +++++++-------
17088 tests/test_signal.py | 2 +-
17089 6 files changed, 19 insertions(+), 19 deletions(-)
17091 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
17092 Author: Johan Dahlin <johan@gnome.org>
17093 Date: Thu Mar 22 10:46:17 2012 -0300
17095 PEP8: Remove whitespace before (
17097 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17099 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17100 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17101 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
17102 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
17103 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17104 demos/gtk-demo/demos/dialogs.py | 12 ++---
17105 demos/gtk-demo/demos/pickers.py | 8 ++--
17106 demos/gtk-demo/demos/pixbuf.py | 4 +-
17107 demos/gtk-demo/demos/printing.py | 8 ++--
17108 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17109 demos/gtk-demo/gtk-demo.py | 4 +-
17110 gi/module.py | 4 +-
17111 gi/overrides/Pango.py | 2 +-
17112 gi/pygtkcompat.py | 4 +-
17113 tests/test_everything.py | 4 +-
17114 tests/test_overrides.py | 62
17115 +++++++++++++-------------
17116 16 files changed, 68 insertions(+), 68 deletions(-)
17118 commit b04d209930ab01bae6563b0d714aec829739bdc6
17119 Author: Johan Dahlin <johan@gnome.org>
17120 Date: Thu Mar 22 10:40:46 2012 -0300
17122 PEP8: Remove whitespace around {}
17124 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17126 tests/test_signal.py | 20 ++++++++++----------
17127 1 file changed, 10 insertions(+), 10 deletions(-)
17129 commit 725483a5dc36739dc7836716b5d6d48091564bf8
17130 Author: Johan Dahlin <johan@gnome.org>
17131 Date: Thu Mar 22 10:38:59 2012 -0300
17133 PEP8: run via --fix from craigds fork
17135 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17137 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
17138 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
17139 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
17140 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
17141 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
17142 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
17143 demos/gtk-demo/demos/appwindow.py | 13 +++++-
17144 demos/gtk-demo/demos/assistant.py | 1 +
17145 demos/gtk-demo/demos/builder.py | 1 +
17146 demos/gtk-demo/demos/button_box.py | 1 +
17147 demos/gtk-demo/demos/clipboard.py | 2 +-
17148 demos/gtk-demo/demos/colorselector.py | 1 +
17149 demos/gtk-demo/demos/combobox.py | 4 +-
17150 demos/gtk-demo/demos/dialogs.py | 2 +
17151 demos/gtk-demo/demos/drawingarea.py | 1 +
17152 demos/gtk-demo/demos/expander.py | 4 +-
17153 demos/gtk-demo/demos/images.py | 10 +++--
17154 demos/gtk-demo/demos/infobars.py | 2 +
17155 demos/gtk-demo/demos/links.py | 2 +
17156 demos/gtk-demo/demos/menus.py | 2 +
17157 demos/gtk-demo/demos/pickers.py | 2 +
17158 demos/gtk-demo/demos/pixbuf.py | 2 +
17159 demos/gtk-demo/demos/printing.py | 5 ++-
17160 demos/gtk-demo/demos/rotatedtext.py | 4 +-
17161 demos/gtk-demo/demos/test.py | 1 +
17162 demos/gtk-demo/gtk-demo.py | 9 ++--
17163 examples/cairo-demo.py | 57
17164 ++++++++++++++----------
17165 examples/option.py | 1 -
17166 examples/properties.py | 1 +
17167 examples/signal.py | 4 ++
17168 gi/__init__.py | 2 +
17169 gi/_glib/option.py | 4 +-
17170 gi/_gobject/__init__.py | 1 +
17171 gi/_gobject/propertyhelper.py | 5 ++-
17172 gi/module.py | 3 ++
17173 gi/overrides/GIMarshallingTests.py | 2 +
17174 gi/overrides/GLib.py | 12 +++--
17175 gi/overrides/Gdk.py | 9 ++++
17176 gi/overrides/Gio.py | 4 ++
17177 gi/overrides/Gtk.py | 56
17178 ++++++++++++++++++++---
17179 gi/overrides/Pango.py | 2 +
17180 gi/overrides/__init__.py | 5 ++-
17181 gi/pygtkcompat.py | 16 +++++--
17183 tests/test_everything.py | 30 +++++++++----
17184 tests/test_gdbus.py | 1 +
17185 tests/test_gi.py | 30 +++++++------
17186 tests/test_gobject.py | 3 +-
17187 tests/test_mainloop.py | 1 +
17188 tests/test_option.py | 1 +
17189 tests/test_overrides.py | 55
17190 ++++++++++++-----------
17191 tests/test_properties.py | 11 ++++-
17192 tests/test_signal.py | 32 ++++++++++++-
17193 tests/test_source.py | 1 +
17194 tests/test_subprocess.py | 1 +
17195 tests/test_thread.py | 1 +
17196 tests/test_uris.py | 1 +
17197 tests/testmodule.py | 1 +
17198 58 files changed, 326 insertions(+), 111 deletions(-)
17200 commit 917275d4aa81db39ccaca34fa514032fb80a3187
17201 Author: Johan Dahlin <johan@gnome.org>
17202 Date: Thu Mar 22 10:33:29 2012 -0300
17204 PEP8: Remove spaces around = for keyword arguments
17206 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17208 demos/gtk-demo/demos/appwindow.py | 8 ++++----
17209 demos/gtk-demo/demos/colorselector.py | 4 ++--
17210 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
17211 examples/option.py | 4 ++--
17212 gi/_glib/option.py | 2 +-
17213 gi/overrides/Gtk.py | 2 +-
17214 tests/test_gi.py | 26 +++++++++++++-------------
17215 tests/test_option.py | 2 +-
17216 tests/test_overrides.py | 8 ++++----
17217 9 files changed, 40 insertions(+), 40 deletions(-)
17219 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
17220 Author: Johan Dahlin <johan@gnome.org>
17221 Date: Thu Mar 22 10:28:28 2012 -0300
17223 PEP8: Remove trailing ;
17225 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17227 demos/gtk-demo/demos/appwindow.py | 4 ++--
17228 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
17229 demos/gtk-demo/demos/links.py | 2 +-
17230 demos/gtk-demo/demos/pixbuf.py | 2 +-
17231 demos/gtk-demo/demos/printing.py | 8 ++++----
17232 gi/overrides/Gtk.py | 4 ++--
17233 tests/test_everything.py | 22 +++++++++++-----------
17234 tests/test_gi.py | 2 +-
17235 tests/test_overrides.py | 8 ++++----
17236 9 files changed, 41 insertions(+), 41 deletions(-)
17238 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
17239 Author: Johan Dahlin <johan@gnome.org>
17240 Date: Thu Mar 22 10:24:40 2012 -0300
17242 Remove all tabs and fix indentation
17244 By running the whole source tree via the indent.py script found
17245 in the Python distribution.
17247 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
17248 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
17249 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
17250 demos/gtk-demo/demos/appwindow.py | 18 +--
17251 demos/gtk-demo/demos/dialogs.py | 26 ++---
17252 demos/gtk-demo/demos/expander.py | 6 +-
17253 demos/gtk-demo/demos/images.py | 2 +-
17254 demos/gtk-demo/demos/links.py | 2 +-
17255 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
17256 gi/_glib/option.py | 2 +-
17257 gi/_gobject/constants.py | 1 -
17258 gi/importer.py | 1 -
17259 gi/module.py | 10 +-
17260 gi/overrides/GLib.py | 11 +-
17261 gi/overrides/Gdk.py | 30 ++---
17262 gi/overrides/Gio.py | 4 +-
17263 gi/overrides/Gtk.py | 150
17264 ++++++++++++-------------
17265 gi/overrides/Pango.py | 1 -
17266 gi/overrides/__init__.py | 10 +-
17267 gi/pygtkcompat.py | 2 +-
17268 tests/compathelper.py | 2 +-
17269 tests/runtests.py | 19 ++--
17270 tests/test_everything.py | 22 ++--
17271 tests/test_gdbus.py | 11 +-
17272 tests/test_gi.py | 38 +++----
17273 tests/test_gobject.py | 2 +-
17274 tests/test_interface.py | 1 -
17275 tests/test_option.py | 1 -
17276 tests/test_overrides.py | 78 ++++++-------
17277 tests/test_properties.py | 2 +-
17278 tests/test_uris.py | 1 -
17279 31 files changed, 255 insertions(+), 271 deletions(-)
17281 commit c375e3136f0f48eb8a6717c0053155db088b329d
17282 Author: Martin Pitt <martin.pitt@ubuntu.com>
17283 Date: Thu Mar 22 10:32:43 2012 +0100
17285 tests: Replace deprecated Python API
17287 failIf → assertFalse, failUnless → assertTrue
17289 Caught by the previous commit of making deprecations fatal.
17291 tests/test_option.py | 10 +++----
17292 tests/test_overrides.py | 66
17293 +++++++++++++++++++++++------------------------
17294 tests/test_properties.py | 14 +++++-----
17295 tests/test_pygtkcompat.py | 18 ++++++-------
17296 tests/test_signal.py | 4 +--
17297 5 files changed, 56 insertions(+), 56 deletions(-)
17299 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
17300 Author: Martin Pitt <martin.pitt@ubuntu.com>
17301 Date: Thu Mar 22 10:31:22 2012 +0100
17303 Fail tests if they use or encounter deprecations
17305 tests/Makefile.am | 2 +-
17306 1 file changed, 1 insertion(+), 1 deletion(-)
17308 commit 65762243a34af014950527c323a51a29d40fb3e1
17309 Author: Martin Pitt <martin.pitt@ubuntu.com>
17310 Date: Thu Mar 22 10:15:16 2012 +0100
17312 Do not run tests in two phases any more
17314 As we dropped the static bindings a while ago, there is no need any
17316 the tests in two phases (static/GI). Now just run them all in one go,
17317 simplifying tests/Makefile.am.
17319 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
17321 needs to happen even further, so move it from tests/test_overrides.py
17325 tests/Makefile.am | 33 ++++++++++++---------------------
17326 tests/runtests.py | 7 +++++++
17327 tests/test_overrides.py | 6 ------
17328 3 files changed, 19 insertions(+), 27 deletions(-)
17330 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
17331 Author: Martin Pitt <martin.pitt@ubuntu.com>
17332 Date: Thu Mar 22 09:58:21 2012 +0100
17334 test_overrides: Find local gsettings schema with current glib
17336 With current glib, gsettings now fails to find the gschemas.compiled
17338 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
17340 which makes this work again.
17342 tests/test_overrides.py | 9 +++++----
17343 1 file changed, 5 insertions(+), 4 deletions(-)
17345 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
17346 Author: Paolo Borelli <pborelli@gnome.org>
17347 Date: Wed Mar 21 21:09:24 2012 +0100
17349 Add GtkComboBoxEntry compatibility
17351 This widget has been removed in Gtk+ 3, add a small wrapper to the
17352 compat module to make at least basic pygtk programs that use it work.
17354 https://bugzilla.gnome.org/show_bug.cgi?id=672589
17356 gi/pygtkcompat.py | 19 +++++++++++++++++++
17357 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
17358 2 files changed, 41 insertions(+)
17360 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
17361 Author: Johan Dahlin <johan@gnome.org>
17362 Date: Wed Mar 21 16:01:35 2012 -0300
17364 Correct review comments from Martin
17366 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17368 tests/test_everything.py | 4 ++--
17369 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
17370 2 files changed, 20 insertions(+), 2 deletions(-)
17372 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
17373 Author: Johan Dahlin <johan@gnome.org>
17374 Date: Wed Mar 21 14:45:53 2012 -0300
17376 Correct pyflakes warnings/errors
17378 And add a target to make check that runs pyflakes.
17380 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17382 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17383 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17384 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
17385 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
17386 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
17387 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
17388 demos/gtk-demo/demos/appwindow.py | 13 +-
17389 demos/gtk-demo/demos/assistant.py | 4 +-
17390 demos/gtk-demo/demos/builder.py | 4 +-
17391 demos/gtk-demo/demos/button_box.py | 2 +-
17392 demos/gtk-demo/demos/clipboard.py | 2 +-
17393 demos/gtk-demo/demos/colorselector.py | 2 +-
17394 demos/gtk-demo/demos/combobox.py | 4 +-
17395 demos/gtk-demo/demos/dialogs.py | 4 +-
17396 demos/gtk-demo/demos/drawingarea.py | 2 +-
17397 demos/gtk-demo/demos/expander.py | 4 +-
17398 demos/gtk-demo/demos/images.py | 8 +-
17399 demos/gtk-demo/demos/infobars.py | 2 +-
17400 demos/gtk-demo/demos/links.py | 2 +-
17401 demos/gtk-demo/demos/menus.py | 5 +-
17402 demos/gtk-demo/demos/pickers.py | 2 +-
17403 demos/gtk-demo/demos/pixbuf.py | 2 +-
17404 demos/gtk-demo/demos/printing.py | 3 +-
17405 demos/gtk-demo/demos/rotatedtext.py | 6 +-
17406 demos/gtk-demo/gtk-demo.py | 9 +-
17407 examples/cairo-demo.py | 2 +-
17408 gi/__init__.py | 4 +
17409 gi/_glib/__init__.py | 101 ++++++++++-
17410 gi/_glib/option.py | 1 +
17411 gi/_gobject/__init__.py | 203
17412 ++++++++++++++++++++---
17413 gi/_gobject/constants.py | 2 -
17414 gi/_gobject/propertyhelper.py | 4 +-
17415 gi/importer.py | 2 +-
17417 gi/overrides/Gtk.py | 1 -
17418 gi/overrides/__init__.py | 1 -
17419 gi/pygtkcompat.py | 2 +
17421 tests/Makefile.am | 5 +
17422 tests/test_everything.py | 6 +-
17423 tests/test_gi.py | 8 +-
17424 tests/test_option.py | 10 +-
17425 tests/test_overrides.py | 30 ++--
17426 tests/test_properties.py | 12 +-
17427 tests/test_pygtkcompat.py | 4 -
17428 tests/test_signal.py | 4 +-
17429 tests/test_source.py | 6 +-
17430 47 files changed, 377 insertions(+), 138 deletions(-)
17432 commit 39650906559fcc39b4be406fa7e25c4788d349a3
17433 Author: Martin Pitt <martin.pitt@ubuntu.com>
17434 Date: Wed Mar 21 16:59:33 2012 +0100
17436 Make tests fail on CRITICAL logs, too, and apply to all tests
17438 Instead of setting warnings/criticals to fatal in individual test
17440 it in runtests.py, so that it applies to all tests.
17442 We currently have some tests which are known to generate CRITICALs
17444 with FIXME), and some WARNINGs (as they test behaviour with known-bad
17446 For these, warnings/criticals are now explicitly permitted.
17448 tests/runtests.py | 1 +
17449 tests/test_gi.py | 7 ++++++-
17450 tests/test_overrides.py | 14 +++++++-------
17451 tests/test_properties.py | 36 +++++++++++++++++++++---------------
17452 4 files changed, 35 insertions(+), 23 deletions(-)
17454 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
17455 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
17456 Date: Tue Mar 20 14:55:07 2012 +0400
17458 Support marshalling GI_TYPE_TAG_INTERFACE
17460 Marshalling of interfaces got broken with commit
17461 7746d2188ac4933c2c9011d84525d1e62fc18953.
17463 Also, do not abort on unsupported types, but log a critical failure
17467 https://bugzilla.gnome.org/show_bug.cgi?id=668903
17469 gi/pygi-marshal-from-py.c | 3 ++-
17470 gi/pygi-marshal-to-py.c | 3 ++-
17471 2 files changed, 4 insertions(+), 2 deletions(-)
17473 commit 8d85d6639778ec6364235071d272d67e7aae49ae
17474 Author: Martin Pitt <martin.pitt@ubuntu.com>
17475 Date: Wed Mar 21 14:34:36 2012 +0100
17477 Fix warnings on None values in added tree/list store rows
17479 Commit bf8c95836e1c changed the List/TreeStore overrides to use
17480 insert_with_valuesv(), but supplied all columns instead of just
17482 not None. With this, None values cause warnings like
17484 (runtests.py:12375): Gtk-WARNING **:
17485 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
17486 convert from (null) to gboolean
17488 Update the tests to make warnings fatal, to catch this better.
17490 Change _convert_row() to skip the None entries and return the list
17492 columns, and use the latter instead of a simple range(n_columns). This
17494 the behaviour before bf8c95836e1c, where columns with None values
17498 https://bugzilla.gnome.org/show_bug.cgi?id=672463
17500 gi/overrides/Gtk.py | 26 ++++++++++++++------------
17501 tests/test_overrides.py | 5 +++++
17502 2 files changed, 19 insertions(+), 12 deletions(-)
17504 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
17505 Author: Martin Pitt <martin.pitt@ubuntu.com>
17506 Date: Wed Mar 21 15:21:02 2012 +0100
17508 pygtkcompat test: Properly clean up PixbufLoader
17510 Tests currently give
17512 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
17513 without calling gdk_pixbuf_loader_close() - this is not allowed. You
17514 must explicitly end the data stream to the loader before dropping
17515 the last reference.
17517 Fix this by calling close().
17519 tests/test_pygtkcompat.py | 3 ++-
17520 1 file changed, 2 insertions(+), 1 deletion(-)
17522 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
17523 Author: Martin Pitt <martin.pitt@ubuntu.com>
17524 Date: Mon Mar 19 16:58:22 2012 +0100
17528 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
17530 configure.ac | 2 +-
17531 1 file changed, 1 insertion(+), 1 deletion(-)
17533 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
17534 Author: Martin Pitt <martin.pitt@ubuntu.com>
17535 Date: Mon Mar 19 16:41:17 2012 +0100
17539 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
17540 1 file changed, 46 insertions(+)
17542 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
17543 Author: Martin Pitt <martin.pitt@ubuntu.com>
17544 Date: Mon Mar 19 16:14:54 2012 +0100
17546 README: Update current maintainers
17548 Also update Martin's email address.
17550 README | 10 ++++++----
17551 pygobject.doap | 2 +-
17552 2 files changed, 7 insertions(+), 5 deletions(-)
17554 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
17555 Author: Martin Pitt <martin.pitt@ubuntu.com>
17556 Date: Mon Mar 19 16:11:22 2012 +0100
17558 Bump version to 3.1.92, in sync with GNOME
17560 configure.ac | 2 +-
17561 1 file changed, 1 insertion(+), 1 deletion(-)
17563 commit 77d358f8c5f524259249ea686899e3a4da05562e
17564 Author: Johan Dahlin <johan@gnome.org>
17565 Date: Mon Mar 19 11:54:07 2012 -0300
17567 Correct Gtk.TreePath.__iter__ to work with Python 3
17569 gi/overrides/Gtk.py | 2 +-
17570 1 file changed, 1 insertion(+), 1 deletion(-)
17572 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
17573 Author: Martin Pitt <martin.pitt@ubuntu.com>
17574 Date: Mon Mar 19 15:54:13 2012 +0100
17576 Fix pygtkcompat.py to work with Python 3
17578 gi/pygtkcompat.py | 20 +++++++++++++++-----
17579 1 file changed, 15 insertions(+), 5 deletions(-)
17581 commit 96a9f92da801989464fbcedf6d849819f6dbea64
17582 Author: Martin Pitt <martin.pitt@ubuntu.com>
17583 Date: Mon Mar 19 15:32:22 2012 +0100
17585 Fix test_everything.TestSignals.test_object_param_signal test case
17587 The callback gets two arguments, not one. This short-circuited
17589 assertions. Fix the arguments and update the refcount check, as it
17591 exactly two at the moment.
17593 tests/test_everything.py | 4 ++--
17594 1 file changed, 2 insertions(+), 2 deletions(-)
17596 commit ba00afb1e50759b2b321f16e05a15946053cdafa
17597 Author: Johan Dahlin <johan@gnome.org>
17598 Date: Mon Mar 19 10:58:09 2012 -0300
17600 pygtkcompat: Remove first argument for get_origin()
17602 gi/pygtkcompat.py | 5 +++++
17603 tests/test_pygtkcompat.py | 5 +++++
17604 2 files changed, 10 insertions(+)
17606 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
17607 Author: Johan Dahlin <johan@gnome.org>
17608 Date: Fri Mar 16 16:08:44 2012 -0300
17610 GtkViewport: Add a default values for the adjustment constructor
17613 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17615 gi/overrides/Gtk.py | 10 ++++++++++
17616 tests/test_overrides.py | 11 +++++++++++
17617 2 files changed, 21 insertions(+)
17619 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
17620 Author: Johan Dahlin <johan@gnome.org>
17621 Date: Fri Mar 16 16:08:23 2012 -0300
17623 GtkIconSet: Add a default value for the pixbuf constructor parameter
17625 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17627 gi/overrides/Gtk.py | 11 +++++++++++
17628 tests/test_overrides.py | 6 ++++++
17629 2 files changed, 17 insertions(+)
17631 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
17632 Author: Johan Dahlin <johan@gnome.org>
17633 Date: Fri Mar 16 16:07:30 2012 -0300
17635 PangoLayout: Add a default value for set_markup()
17637 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17639 gi/overrides/Pango.py | 3 +++
17640 tests/test_overrides.py | 4 ++++
17641 2 files changed, 7 insertions(+)
17643 commit a3ca47b086b7fcf084282be788c5d737dde847ac
17644 Author: Johan Dahlin <johan@gnome.org>
17645 Date: Fri Mar 16 16:06:37 2012 -0300
17647 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
17650 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17652 gi/overrides/Gtk.py | 15 +++++++++++++++
17653 tests/test_overrides.py | 14 ++++++++++++++
17654 2 files changed, 29 insertions(+)
17656 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
17657 Author: Johan Dahlin <johan@gnome.org>
17658 Date: Fri Mar 16 16:06:12 2012 -0300
17660 GtkToolButton: Add a default value for the stock_id constructor
17663 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17665 gi/overrides/Gtk.py | 10 ++++++++++
17666 tests/test_overrides.py | 9 ++++++++-
17667 2 files changed, 18 insertions(+), 1 deletion(-)
17669 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
17670 Author: Johan Dahlin <johan@gnome.org>
17671 Date: Fri Mar 16 16:05:55 2012 -0300
17673 GtkIconView: Add a default value for the model constructor parameter
17675 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17677 gi/overrides/Gtk.py | 3 +++
17678 tests/test_overrides.py | 11 +++++++++++
17679 2 files changed, 14 insertions(+)
17681 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
17682 Author: Johan Dahlin <johan@gnome.org>
17683 Date: Thu Mar 15 15:22:46 2012 -0300
17685 Add a default value for column in Gtk.TreeView.get_cell_area()
17687 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17689 gi/overrides/Gtk.py | 5 +++++
17690 tests/test_overrides.py | 3 +++
17691 2 files changed, 8 insertions(+)
17693 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
17694 Author: Martin Pitt <martin.pitt@ubuntu.com>
17695 Date: Thu Mar 15 09:48:10 2012 +0100
17697 Atomic inserts in Gtk.{List,Tree}Store overrides
17699 Gtk.{List,Tree}Store's overrides provide append(), insert()
17701 take an optional data row array. If this is given, use
17702 insert_with_valuesv()
17703 instead of creating a new iter and then filling it with data. The
17705 row-added signal, at which time the row was still empty, and a
17707 row-changed signal. With this we only get a single row-added
17711 Note that this does not change insert_{before,after}(), as there is no
17712 counterpart of insert_with_valuesv() which takes a TreeIter instead
17714 position. For those you will still get two signals, and have to deal
17718 https://bugzilla.gnome.org/show_bug.cgi?id=671610
17720 gi/overrides/Gtk.py | 81
17721 ++++++++++++++++++++++++++++++-------------------
17722 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
17723 2 files changed, 124 insertions(+), 31 deletions(-)
17725 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
17726 Author: Martin Pitt <martin.pitt@ubuntu.com>
17727 Date: Sun Mar 18 16:07:26 2012 +0100
17729 Fix Gtk.Button constructor to accept use_stock parameter
17731 Thanks to kalanzun@googlemail.com!
17733 https://bugzilla.gnome.org/show_bug.cgi?id=672318
17735 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17737 gi/overrides/Gtk.py | 4 +---
17738 tests/test_overrides.py | 6 ++++++
17739 2 files changed, 7 insertions(+), 3 deletions(-)
17741 commit 466337cf2fd091738eeab12c10d250a9d0827284
17742 Author: Johan Dahlin <johan@gnome.org>
17743 Date: Fri Mar 16 16:55:47 2012 -0300
17745 Correct bad rebase, remove duplicate Window
17747 gi/overrides/Gtk.py | 7 -------
17748 1 file changed, 7 deletions(-)
17750 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
17751 Author: Johan Dahlin <johan@gnome.org>
17752 Date: Thu Mar 15 15:42:28 2012 -0300
17754 Add a PyGTK compatibility layer
17756 This module tries quite a bit harder to maintain compatibility
17757 with PyGTK, module names, enums, flags and some API.
17759 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17761 gi/Makefile.am | 3 +-
17762 gi/pygtkcompat.py | 421
17763 ++++++++++++++++++++++++++++++++++++++++++++++
17764 tests/Makefile.am | 3 +-
17765 tests/test_pygtkcompat.py | 77 +++++++++
17766 4 files changed, 502 insertions(+), 2 deletions(-)
17768 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
17769 Author: Johan Dahlin <johan@gnome.org>
17770 Date: Wed Mar 14 15:20:53 2012 -0300
17772 Add bw-compatible arguments to Gtk.Adjustment
17774 The argument used to be called page/step_incr, if they
17775 are found map them to the existing properties for extra
17778 https://bugzilla.gnome.org/show_bug.cgi?id=672087
17780 gi/overrides/Gtk.py | 8 +++++++-
17781 1 file changed, 7 insertions(+), 1 deletion(-)
17783 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
17784 Author: Johan Dahlin <johan@gnome.org>
17785 Date: Wed Mar 14 17:13:04 2012 -0300
17787 GtkTreePath: make it iterable
17789 https://bugzilla.gnome.org/show_bug.cgi?id=672093
17791 gi/overrides/Gtk.py | 3 +++
17792 tests/test_overrides.py | 2 ++
17793 2 files changed, 5 insertions(+)
17795 commit a7b08cb75541612c78d123b1d968be7874e3c481
17796 Author: Johan Dahlin <johan@gnome.org>
17797 Date: Wed Mar 14 13:32:31 2012 -0300
17799 Add a default argument to TreeModelFilter.set_visible_func()
17801 https://bugzilla.gnome.org/show_bug.cgi?id=672081
17803 gi/overrides/Gtk.py | 14 ++++++++++++++
17804 1 file changed, 14 insertions(+)
17806 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
17807 Author: Johan Dahlin <johan@gnome.org>
17808 Date: Wed Mar 14 13:31:41 2012 -0300
17810 Add a default argument to Gtk.TreeView.set_cursor
17812 And also make sure that the path is a Gtk.TreePath.
17814 https://bugzilla.gnome.org/show_bug.cgi?id=672081
17816 gi/overrides/Gtk.py | 4 ++++
17817 tests/test_overrides.py | 10 ++++++++++
17818 2 files changed, 14 insertions(+)
17820 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
17821 Author: Johan Dahlin <johan@gnome.org>
17822 Date: Wed Mar 14 13:31:06 2012 -0300
17824 Add a default argument to Pango.Context.get_metrics()
17826 https://bugzilla.gnome.org/show_bug.cgi?id=672081
17828 gi/overrides/Pango.py | 9 +++++++++
17829 1 file changed, 9 insertions(+)
17831 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
17832 Author: Martin Pitt <martin.pitt@ubuntu.com>
17833 Date: Fri Mar 16 13:27:56 2012 +0100
17835 Fix double-freeing GValues in arrays
17837 When marshalling a GValue array to C, the GValue items are copied
17839 GValue array, not a C GValue pointer
17840 array. _pygi_marshal_from_py_array()
17841 already calls the cleanup_func for the original item;
17842 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
17844 to g_slice_free the array item.
17846 https://bugzilla.gnome.org/show_bug.cgi?id=672224
17848 gi/pygi-marshal-from-py.c | 7 ++++++-
17849 1 file changed, 6 insertions(+), 1 deletion(-)
17851 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
17852 Author: Simon Feltman <s.feltman@gmail.com>
17853 Date: Fri Mar 16 00:29:31 2012 -0700
17855 Renamed "property" class to "Property"
17857 Renamed to match the rest of the class names in GObject and also
17858 not clobber the builtin python property.
17860 Keep the old "property" identifier for backwards compatibility
17863 https://bugzilla.gnome.org/show_bug.cgi?id=672168
17865 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17867 examples/properties.py | 6 +--
17868 gi/_gobject/__init__.py | 7 ++--
17869 gi/_gobject/propertyhelper.py | 12 +++---
17870 tests/test_interface.py | 4 +-
17871 tests/test_properties.py | 94
17872 +++++++++++++++++++++----------------------
17873 5 files changed, 62 insertions(+), 61 deletions(-)
17875 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
17876 Author: Martin Pitt <martin.pitt@ubuntu.com>
17877 Date: Wed Mar 14 22:52:47 2012 +0100
17879 Fix Python to C marshalling of GValue arrays
17881 For GValues we cannot just copy the GValue memory in
17882 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
17884 releases the GValue and with it its v_pointer. Use g_value_copy()
17888 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
17890 assumed that C arrays contained pointers, but this is not the case
17892 arrays: these are actual struct arrays, not struct pointer arrays
17894 construction in _pygi_marshal_from_py_array()). Check if an array
17896 pointers or values and compute the correct array item pointer for
17899 Also add a corresponding test case for marshalling GValue arrays
17901 Python, which works fine.
17903 https://bugzilla.gnome.org/show_bug.cgi?id=672065
17905 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
17906 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
17907 tests/test_gi.py | 8 ++++++++
17908 3 files changed, 34 insertions(+), 6 deletions(-)
17910 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
17911 Author: Johan Dahlin <johan@gnome.org>
17912 Date: Fri Mar 16 09:59:57 2012 +0100
17914 Correct the Gtk.Window hierarchy
17916 We need to make sure that all Gtk.Dialog subclasses inherit from
17917 the overridden Window class. For that to be done automaticly we need
17918 to create the Window class before the Dialog class.
17920 Now when it's inherited properly we need to avoid calling the Window
17921 constructor twice as it passes in a construct-only parameter. So add
17922 **kwargs to the Window constructor to allow us to pass in any kind
17923 of GObject property to it and refactor the Dialog subclasses to pass
17924 in all properties to the same constructor.
17926 Also adds a bunch of tests to make sure that the hiearchy is correct.
17928 https://bugzilla.gnome.org/show_bug.cgi?id=672158
17930 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17932 gi/overrides/Gtk.py | 56
17933 ++++++++++++++++++++++++-------------------------
17934 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
17935 2 files changed, 61 insertions(+), 30 deletions(-)
17937 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
17938 Author: simon <simon@gerty>
17939 Date: Tue Mar 13 01:41:53 2012 -0700
17941 Renamed getter/setter instance attributes to fget/fset respectively.
17943 The python 'property' class allows for decoration of methods using
17944 .getter and .setter. These were added as methods to the
17946 class to match that of the python property class and allow for
17950 In addition, __call__ was added to allow an instantiated decorator
17952 args to also decorate a method:
17954 class C(GObject.GObject):
17956 @GObject.property(type=int, default=0)
17960 def propInt(self, value):
17961 self._value = value
17963 https://bugzilla.gnome.org/show_bug.cgi?id=586181
17965 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17967 gi/_gobject/__init__.py | 10 ++++----
17968 gi/_gobject/propertyhelper.py | 59
17969 +++++++++++++++++++++++++++++++------------
17970 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
17971 3 files changed, 89 insertions(+), 21 deletions(-)
17973 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
17974 Author: Johan Dahlin <johan@gnome.org>
17975 Date: Tue Mar 13 17:10:13 2012 -0300
17977 Add Gtk.Arrow/Gtk.Window constructor override
17979 Adds argument that makes them compatible with PyGTK.
17981 https://bugzilla.gnome.org/show_bug.cgi?id=672045
17983 gi/overrides/Gtk.py | 17 +++++++++++++++++
17984 1 file changed, 17 insertions(+)
17986 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
17987 Author: Michel Dänzer <michel@daenzer.net>
17988 Date: Fri Mar 9 12:26:53 2012 +0100
17990 Fix marshalling to/from Python to work on big endian machines.
17992 https://bugzilla.gnome.org/show_bug.cgi?id=668903
17994 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17996 gi/pygi-argument.c | 25 ++++++++++++++++---------
17997 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
17998 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
17999 3 files changed, 60 insertions(+), 16 deletions(-)
18001 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
18002 Author: Michel Dänzer <michel@daenzer.net>
18003 Date: Thu Mar 8 12:21:28 2012 +0100
18005 Use gi_cclosure_marshal_generic instead of duplicating it.
18007 Bump gobject-introspection dependency to ensure that we have the
18011 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18013 Signed-off-by: Michel Dänzer <michel@daenzer.net>
18014 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18016 configure.ac | 3 +-
18017 gi/_gobject/Makefile.am | 7 +-
18018 gi/_gobject/ffi-marshaller.c | 194
18019 -------------------------------------------
18020 gi/_gobject/ffi-marshaller.h | 31 -------
18021 gi/_gobject/gobjectmodule.c | 12 +--
18022 5 files changed, 4 insertions(+), 243 deletions(-)
18024 commit 8ca828825a2c47080055c5f986979aac8da9a93f
18025 Author: René Stadler <rene.stadler@collabora.co.uk>
18026 Date: Mon Mar 5 21:10:55 2012 +0100
18028 Override Gtk.TreeView.get_visible_range to fix return
18030 Just like IconView.
18032 https://bugzilla.gnome.org/show_bug.cgi?id=671409
18034 gi/overrides/Gtk.py | 5 +++++
18035 1 file changed, 5 insertions(+)
18037 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
18038 Author: Paolo Borelli <pborelli@gnome.org>
18039 Date: Sun Mar 4 16:41:18 2012 +0100
18041 Plug memory leak in _is_union_member
18043 When we found the member, unref the objects before breaking out of the
18046 gi/pygi-marshal-from-py.c | 9 +++------
18047 1 file changed, 3 insertions(+), 6 deletions(-)
18049 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
18050 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18051 Date: Tue Feb 21 15:37:18 2012 +0100
18053 tests: Split TestInterfaces into separate tests
18055 tests/test_gi.py | 36 +++++++++++++++++++-----------------
18056 1 file changed, 19 insertions(+), 17 deletions(-)
18058 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
18059 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18060 Date: Mon Feb 20 19:37:32 2012 +0100
18062 Post release version bump to 3.1.2
18064 configure.ac | 2 +-
18065 1 file changed, 1 insertion(+), 1 deletion(-)
18067 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
18068 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18069 Date: Mon Feb 20 19:33:56 2012 +0100
18071 Prepare 3.1.1 release
18073 NEWS | 18 ++++++++++++++++++
18074 1 file changed, 18 insertions(+)
18076 commit 99485d96811667ef7a7a393b68b7361733157d61
18077 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18078 Date: Sat Feb 18 00:38:05 2012 +0100
18080 Don't use C99 style
18082 gi/pygi-cache.c | 3 ++-
18083 1 file changed, 2 insertions(+), 1 deletion(-)
18085 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
18086 Author: Martin Pitt <martin.pitt@ubuntu.com>
18087 Date: Thu Feb 16 16:42:53 2012 +0100
18089 Add test for GPtrArray with transfer full
18091 This complements the already existing test for a "transfer container"
18093 array. We can't verify the internal refcount as these arrays get
18095 internally, but at least we can verify that it does not crash due to
18098 tests/test_everything.py | 10 +++++++++-
18099 1 file changed, 9 insertions(+), 1 deletion(-)
18101 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
18102 Author: Martin Pitt <martin.pitt@ubuntu.com>
18103 Date: Wed Feb 15 13:36:39 2012 +0100
18105 Drop obsolete g_thread_init()
18107 Not necessary any more since glib 2.24, and we depend on 2.31.
18109 gi/_glib/pyglib.c | 3 ---
18110 1 file changed, 3 deletions(-)
18112 commit 66fb610e45912a7def29e5848577d280ef55643a
18113 Author: Martin Pitt <martin.pitt@ubuntu.com>
18114 Date: Wed Feb 15 13:35:33 2012 +0100
18116 Fix deprecated g_source_get_current_time()
18118 Use g_get_real_time() instead as recommended by the
18119 documentation. This also
18120 simplifies the code.
18122 gi/_glib/pygsource.c | 4 +---
18123 1 file changed, 1 insertion(+), 3 deletions(-)
18125 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
18126 Author: Martin Pitt <martin.pitt@ubuntu.com>
18127 Date: Wed Feb 15 13:31:23 2012 +0100
18129 Fix deprecated g_value_[gs]et_char()
18131 Replace with _schar(). We depend on glib >= 2.31 already.
18133 gi/_gobject/ffi-marshaller.c | 2 +-
18134 gi/_gobject/pygtype.c | 6 +++---
18135 gi/pygi-argument.c | 2 +-
18136 3 files changed, 5 insertions(+), 5 deletions(-)
18138 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
18139 Author: Simon Schampijer <simon@schampijer.de>
18140 Date: Thu Feb 2 19:06:01 2012 +0100
18142 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
18144 Looking at the gir file gtk.gdk.x11_* should get converted to
18145 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
18147 pygi-convert.sh | 2 +-
18148 1 file changed, 1 insertion(+), 1 deletion(-)
18150 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
18151 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18152 Date: Fri Feb 10 13:29:41 2012 +0100
18154 Raise required glib version to 2.31 because of g_value_(get|set)_schar
18156 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
18158 configure.ac | 6 +++---
18159 1 file changed, 3 insertions(+), 3 deletions(-)
18161 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
18162 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18163 Date: Fri Feb 10 09:28:36 2012 +0100
18165 Fix cset_first typo
18167 https://bugzilla.gnome.org/show_bug.cgi?id=649267
18169 gi/_gobject/pygparamspec.c | 2 +-
18170 1 file changed, 1 insertion(+), 1 deletion(-)
18172 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
18173 Author: Bastian Winkler <buz@netbuz.org>
18174 Date: Mon Nov 14 14:41:08 2011 +0100
18176 pygi-convert: Handle Clutter and Cogl
18178 https://bugzilla.gnome.org/show_bug.cgi?id=664496
18180 pygi-convert.sh | 76
18181 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18182 1 file changed, 76 insertions(+)
18184 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
18185 Author: Cédric Krier <cedric.krier@b2ck.com>
18186 Date: Fri Feb 10 09:04:18 2012 +0100
18188 Provide access to gpointer struct values
18190 https://bugzilla.gnome.org/show_bug.cgi?id=668356
18192 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18194 gi/pygi-argument.c | 3 ++-
18195 gi/pygi-info.c | 13 +++++++++++++
18196 tests/test_everything.py | 21 +++++++++++++++++++++
18197 3 files changed, 36 insertions(+), 1 deletion(-)
18199 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
18200 Author: Paolo Borelli <pborelli@gnome.org>
18201 Date: Thu Feb 9 18:15:42 2012 +0100
18203 Add some GType tests
18205 Use what was recently added in g-i
18207 tests/test_gi.py | 17 +++++++++++++++--
18208 1 file changed, 15 insertions(+), 2 deletions(-)
18210 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
18211 Author: Paolo Borelli <pborelli@gnome.org>
18212 Date: Thu Feb 9 18:14:52 2012 +0100
18214 Split GStrv and array variant tests in their own classes
18216 Also tidy up the spacing a bit
18218 tests/test_gi.py | 29 +++++++++++++++++++++++------
18219 1 file changed, 23 insertions(+), 6 deletions(-)
18221 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
18222 Author: Paolo Borelli <pborelli@gnome.org>
18223 Date: Wed Feb 8 22:23:30 2012 +0100
18225 Add unit test for builder's connect_after
18227 tests/test_overrides.py | 8 ++++++++
18228 1 file changed, 8 insertions(+)
18230 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
18231 Author: Ryan Lortie <desrt@desrt.ca>
18232 Date: Wed Feb 8 16:06:22 2012 -0500
18234 fix GtkBuilder signal connection 'after' logic
18236 All GtkBuilder signals are presently being connected 'after', ignoring
18237 what is specified in the builder XML. This is due to an obvious logic
18240 https://bugzilla.gnome.org/show_bug.cgi?id=669705
18242 gi/overrides/Gtk.py | 2 +-
18243 1 file changed, 1 insertion(+), 1 deletion(-)
18245 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
18246 Author: Patrick Welche <prlw1@cam.ac.uk>
18247 Date: Tue Feb 7 11:49:58 2012 +0000
18249 test(1) uses '=' to test if strings are identical
18251 https://bugzilla.gnome.org/show_bug.cgi?id=669598
18253 m4/python.m4 | 6 +++---
18254 1 file changed, 3 insertions(+), 3 deletions(-)
18256 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
18257 Author: Ryan Lortie <desrt@desrt.ca>
18258 Date: Tue Feb 7 13:42:19 2012 -0500
18260 pygspawn: improve error checking
18262 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
18263 is enforced by checking that the passed argument is a sequence
18265 each item returned from it is a string.
18267 We do now, however, verify that each item can be successfully
18269 the sequence. 'os.environ' is an example of an object that passes
18270 PySequence_Check() but fails to return objects from PySequence_ITEM().
18272 Add a simple NULL check to avoid the crash.
18274 https://bugzilla.gnome.org/show_bug.cgi?id=669594
18276 gi/_glib/pygspawn.c | 4 ++--
18277 1 file changed, 2 insertions(+), 2 deletions(-)
18279 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
18280 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18281 Date: Mon Feb 6 19:15:53 2012 +0100
18283 Post release version bump to 3.1.1
18285 configure.ac | 2 +-
18286 1 file changed, 1 insertion(+), 1 deletion(-)
18288 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
18289 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18290 Date: Mon Feb 6 19:11:52 2012 +0100
18292 Prepare 3.1.0 release
18294 NEWS | 34 ++++++++++++++++++++++++++++++++++
18295 1 file changed, 34 insertions(+)
18297 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
18298 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18299 Date: Mon Feb 6 19:04:41 2012 +0100
18301 Updated DOAP file to only include people currently actively working
18304 Removed obsolete MAINTAINERS file
18306 MAINTAINERS | 19 -------------------
18307 pygobject.doap | 44 +++++++++++++++-----------------------------
18308 2 files changed, 15 insertions(+), 48 deletions(-)
18310 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
18311 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18312 Date: Mon Feb 6 18:57:01 2012 +0100
18314 Revert "Convert all strings to utf-8 encoding when retrieving from
18317 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
18319 Due to this commit breaking backwards compatability, we decided to
18322 gi/overrides/Gtk.py | 15 ---------------
18323 tests/compathelper.py | 2 --
18324 tests/test_overrides.py | 31 +------------------------------
18325 3 files changed, 1 insertion(+), 47 deletions(-)
18327 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
18328 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18329 Date: Sun Feb 5 13:47:10 2012 +0100
18331 tests: Fixed issues with python3
18333 tests/test_gi.py | 9 ++++++---
18334 1 file changed, 6 insertions(+), 3 deletions(-)
18336 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
18337 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18338 Date: Sun Feb 5 11:59:51 2012 +0100
18340 Properly distinguish between different integer types for properties
18342 https://bugzilla.gnome.org/show_bug.cgi?id=664150
18344 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
18345 tests/test_gi.py | 62
18346 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18347 2 files changed, 106 insertions(+), 4 deletions(-)
18349 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
18350 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18351 Date: Sun Feb 5 11:46:21 2012 +0100
18353 Distinguish between GArray and GPtrArray when cleaning up
18355 This fixes a crash in test_gi.TestGPtrArray and makes sure
18356 memory is free'd correctly
18358 https://bugzilla.gnome.org/show_bug.cgi?id=669393
18360 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
18361 1 file changed, 23 insertions(+), 9 deletions(-)
18363 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
18364 Author: Paolo Borelli <pborelli@gnome.org>
18365 Date: Sun Feb 5 18:51:53 2012 +0100
18367 Add null_gerror_callback unit test
18369 This models the case where the callback is successful and does not set
18372 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18374 tests/test_everything.py | 9 +++++++++
18375 1 file changed, 9 insertions(+)
18377 commit a41984780ee49dcf02c718ca1be87bba747472e5
18378 Author: Martin Pitt <martin.pitt@ubuntu.com>
18379 Date: Mon Feb 6 09:34:28 2012 +0100
18381 pyglib_error_check: Re-add missing NULL check
18383 Commit adcfe96d49b09bc accidentally dropped the check if *error is
18385 any error is actually set. Due to that, pyglib_error_check()
18387 TRUE. Reintroduce the check.
18389 Thanks to Alberto Mardegan for spotting this!
18391 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18393 gi/_glib/pyglib.c | 2 ++
18394 1 file changed, 2 insertions(+)
18396 commit 2c797c17913999379e277788d5e4cce8d68cebb0
18397 Author: Michael Culbertson <michael.culbertson@gmail.com>
18398 Date: Sat Feb 4 16:11:34 2012 +0100
18400 Add tests/runtests-windows.py to source tarball
18402 https://bugzilla.gnome.org/show_bug.cgi?id=663288
18404 tests/Makefile.am | 1 +
18405 1 file changed, 1 insertion(+)
18407 commit d6a899cdf70e978534326155e3fad75a705f4b20
18408 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18409 Date: Sat Feb 4 15:55:55 2012 +0100
18411 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
18414 https://bugzilla.gnome.org/show_bug.cgi?id=665553
18416 gi/overrides/Gtk.py | 6 ++----
18417 1 file changed, 2 insertions(+), 4 deletions(-)
18419 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
18420 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
18421 Date: Sat Feb 4 15:42:36 2012 +0100
18423 Fix bool() operations on GLib.Variant objects
18425 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
18427 Also adds some tests for boolean comparisons.
18429 https://bugzilla.gnome.org/show_bug.cgi?id=647723
18431 gi/overrides/GLib.py | 18 ++++++++++++++++++
18432 tests/test_overrides.py | 45
18433 +++++++++++++++++++++++++++++++++++++++++++++
18434 2 files changed, 63 insertions(+)
18436 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
18437 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
18438 Date: Sat Feb 4 15:41:08 2012 +0100
18440 Fix hash() and __eq__() for GLib.Variant objects
18442 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
18443 be used in sets, dicts, and can be compared using == and != easily.
18445 Also adds some tests for this.
18447 https://bugzilla.gnome.org/show_bug.cgi?id=647725
18449 gi/overrides/GLib.py | 23 ++++++++++++++++++++
18450 tests/test_overrides.py | 56
18451 +++++++++++++++++++++++++++++++++++++++++++++++++
18452 2 files changed, 79 insertions(+)
18454 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
18455 Author: Martin Pitt <martin.pitt@ubuntu.com>
18456 Date: Wed Jan 25 07:01:06 2012 +0100
18458 Fix method names of callback tests
18460 Change test_everything.TestCallbacks.* test names from camelCase
18462 standard PEP-8 underscore_style. This is now consistent with all
18466 tests/test_everything.py | 30 +++++++++++++++---------------
18467 1 file changed, 15 insertions(+), 15 deletions(-)
18469 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
18470 Author: Will Thompson <will.thompson@collabora.co.uk>
18471 Date: Mon Jan 23 13:10:30 2012 +0000
18473 Cairo: add missing braces around array-of-struct definition
18475 This triggered a -Wmissing-braces warning.
18477 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18479 gi/pygi-foreign-cairo.c | 2 +-
18480 1 file changed, 1 insertion(+), 1 deletion(-)
18482 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
18483 Author: Will Thompson <will.thompson@collabora.co.uk>
18484 Date: Mon Jan 23 13:06:41 2012 +0000
18486 g_instance_init: cast to PyGObject * as needed
18488 This squashes a compiler warning.
18490 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18492 gi/_gobject/gobjectmodule.c | 2 +-
18493 1 file changed, 1 insertion(+), 1 deletion(-)
18495 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
18496 Author: Will Thompson <will.thompson@collabora.co.uk>
18497 Date: Mon Jan 23 13:01:27 2012 +0000
18499 Fix a few set-but-not-used warnings.
18501 In a couple of cases, the variable in question was set to a value
18502 spelled out again later in the function.
18504 The 'sequence_cache' variable is re-declared five lines below.
18506 The return value of 'read' was previously completely ignored. The
18507 'gssize ret' variable was in fact added to squash an unused-result
18510 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18512 gi/_glib/pygiochannel.c | 2 +-
18513 gi/_glib/pygmainloop.c | 3 +--
18514 gi/_gobject/pygobject.c | 2 +-
18515 gi/pygi-marshal-cleanup.c | 2 --
18516 4 files changed, 3 insertions(+), 6 deletions(-)
18518 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
18519 Author: Stefano Facchini <stefano.facchini@gmail.com>
18520 Date: Thu Jan 19 18:09:07 2012 +0100
18522 pygmainloop: allow for extra arguments in 'quit' method
18524 To allow for the common syntax:
18526 object.connect('signal-name', main_loop.quit)
18528 https://bugzilla.gnome.org/show_bug.cgi?id=668288
18530 gi/_glib/pygmainloop.c | 4 ++--
18531 1 file changed, 2 insertions(+), 2 deletions(-)
18533 commit 557a61c12c01137a0d7c679c4b053973df09d445
18534 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
18535 Date: Mon Dec 26 00:44:56 2011 -0500
18537 Fix bytearray test compatibility with python3
18539 https://bugs.gentoo.org/show_bug.cgi?id=321879
18541 https://bugzilla.gnome.org/show_bug.cgi?id=666852
18543 tests/test_gi.py | 4 ++--
18544 1 file changed, 2 insertions(+), 2 deletions(-)
18546 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
18547 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18548 Date: Mon Jan 23 12:37:26 2012 +0200
18550 Respect transfer-type when demarshalling GErrors
18552 The marshaller previously ignored "transfer full" on GError*
18554 crashes due to double-freeing them. This causes the
18555 testCallbackUserdata() test
18556 case to crash after the previous GError/GHashTable marshalling fix.
18558 https://bugzilla.gnome.org/show_bug.cgi?id=666270
18560 gi/pygi-argument.c | 12 +++++++++++-
18561 1 file changed, 11 insertions(+), 1 deletion(-)
18563 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
18564 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18565 Date: Thu Dec 15 16:12:01 2011 +0200
18567 Support GHashTable and GError as callback/closure arguments
18569 Marshalling of these types from C is already implemented, let's
18571 into use for calbacks and closures too.
18573 Add corresponding test cases.
18575 https://bugzilla.gnome.org/show_bug.cgi?id=666270
18577 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18579 gi/pygi-closure.c | 2 ++
18580 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
18581 2 files changed, 37 insertions(+)
18583 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
18584 Author: Will Thompson <will.thompson@collabora.co.uk>
18585 Date: Mon Jan 23 13:56:02 2012 +0000
18587 Don't leak when marshalling GErrors to C
18589 Python-land GLib.GErrors are supposed to have three attributes:
18590 "message", "domain" and "code". If those attributes are missing,
18592 have the wrong types, the C GError is filled in with a message
18593 describing the error. The present-but-ill-typed code paths did not
18594 DECREF the ill-typed values.
18596 https://bugzilla.gnome.org/show_bug.cgi?id=666098
18598 gi/_glib/pyglib.c | 3 +++
18599 1 file changed, 3 insertions(+)
18601 commit adcfe96d49b09bcc550653d73de196610fd5144d
18602 Author: Will Thompson <will.thompson@collabora.co.uk>
18603 Date: Fri Jan 20 16:20:10 2012 +0000
18605 Support functions which return GError
18607 GStreamer has the following method:
18609 void gst_message_parse_error (
18610 GstMessage *message,
18612 gchar **debug_message);
18614 With this patch, we marshal the GError out parameter as a
18616 exception, but return it rather than throwing it. The test cases cover
18617 two variations on the theme of the function above (one with (transfer
18618 full), as in GStreamer, and another with (transfer none)) as well as a
18619 function with return type GError *.
18621 https://bugzilla.gnome.org/show_bug.cgi?id=666098
18623 gi/_glib/pyglib.c | 46
18624 +++++++++++++++++++++++++++++++++++-----------
18625 gi/_glib/pyglib.h | 1 +
18626 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
18627 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
18628 4 files changed, 81 insertions(+), 14 deletions(-)
18630 commit 09f003729eac9d553a208c343c2a14d253b77d9a
18631 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18632 Date: Mon Jan 23 12:42:21 2012 +0200
18634 Fix indentation of _pygi_argument_to_object()
18636 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
18638 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18640 gi/pygi-argument.c | 26 +++++++++++++-------------
18641 1 file changed, 13 insertions(+), 13 deletions(-)
18643 commit c71c010be01d706f90bc200194325fd82f4071b2
18644 Author: Paolo Borelli <pborelli@gnome.org>
18645 Date: Sat Jan 14 14:24:23 2012 +0100
18649 gi/gimodule.c | 10 ++++++----
18650 1 file changed, 6 insertions(+), 4 deletions(-)
18652 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
18653 Author: Paolo Borelli <pborelli@gnome.org>
18654 Date: Fri Jan 6 13:39:31 2012 +0100
18656 Connect to first action of a radio group.
18658 gi/overrides/Gtk.py | 4 ++--
18659 1 file changed, 2 insertions(+), 2 deletions(-)
18661 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
18662 Author: Paolo Borelli <pborelli@gnome.org>
18663 Date: Wed Jan 4 16:40:51 2012 +0100
18665 Use g_slist_free_full in pygi-closure.
18667 gi/pygi-closure.c | 3 +--
18668 1 file changed, 1 insertion(+), 2 deletions(-)
18670 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
18671 Author: Paolo Borelli <pborelli@gnome.org>
18672 Date: Wed Jan 4 15:24:13 2012 +0100
18674 Avoid O(n^2) behavior when marshalling lists
18676 Appending requires walking the list every time: just prepend and
18678 the list at the end.
18680 https://bugzilla.gnome.org/show_bug.cgi?id=667261
18682 gi/pygi-marshal-from-py.c | 8 ++++----
18683 1 file changed, 4 insertions(+), 4 deletions(-)
18685 commit d68455e99b1a9ebba31209b17a11317b1958678b
18686 Author: Paolo Borelli <pborelli@gnome.org>
18687 Date: Tue Jan 3 16:57:40 2012 +0100
18689 Handle NULL as a valid case of a char** array
18691 Treat NULL as an empty array and add the corresponding testcase
18693 gi/pygi-marshal-to-py.c | 9 +++++----
18694 tests/test_gi.py | 3 +++
18695 2 files changed, 8 insertions(+), 4 deletions(-)
18697 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
18698 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18699 Date: Fri Dec 23 12:01:43 2011 +0100
18701 Branching, bump version to 3.1.0
18703 configure.ac | 4 ++--
18704 1 file changed, 2 insertions(+), 2 deletions(-)
18706 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
18707 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18708 Date: Mon Dec 12 18:35:30 2011 +0100
18710 Add notes about branching to HACKING
18712 HACKING | 10 ++++++++++
18713 1 file changed, 10 insertions(+)
18715 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
18716 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18717 Date: Sat Dec 10 12:51:45 2011 +0100
18719 Fixed bug where GObject.property did not respect minimum and maximum
18722 https://bugzilla.gnome.org/show_bug.cgi?id=664864
18724 gi/_gobject/propertyhelper.py | 2 +-
18725 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
18726 2 files changed, 32 insertions(+), 1 deletion(-)
18728 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
18729 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18730 Date: Mon Dec 12 17:00:24 2011 +0100
18732 Remove mention of removed option --enable-docs
18735 1 file changed, 1 insertion(+), 1 deletion(-)
18737 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
18738 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18739 Date: Mon Dec 12 17:00:03 2011 +0100
18741 Fix sebp's name in NEWS
18744 1 file changed, 1 insertion(+), 1 deletion(-)
18746 commit 8c95981d0ba224a577f87998030c384b3dae3d80
18747 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18748 Date: Mon Dec 12 16:20:09 2011 +0100
18752 NEWS | 15 +++++++++++++++
18753 1 file changed, 15 insertions(+)
18755 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
18756 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18757 Date: Mon Dec 12 16:16:44 2011 +0100
18759 Pre-release version bump
18761 configure.ac | 2 +-
18762 1 file changed, 1 insertion(+), 1 deletion(-)
18764 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
18765 Author: Manuel Quiñones <manuq@laptop.org>
18766 Date: Thu Dec 1 11:50:38 2011 -0300
18768 Convert all modifier constants to Gdk.ModifierType
18770 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
18772 pygi-convert.sh | 14 ++++++++++++++
18773 1 file changed, 14 insertions(+)
18775 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
18776 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18777 Date: Tue Nov 8 12:38:12 2011 +0100
18779 Convert all strings to utf-8 encoding when retrieving from TreeModel
18781 https://bugzilla.gnome.org/show_bug.cgi?id=663610
18783 gi/overrides/Gtk.py | 15 +++++++++++++++
18784 tests/compathelper.py | 2 ++
18785 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
18786 3 files changed, 47 insertions(+), 1 deletion(-)
18788 commit 4f637212f13b197a95c824967a58496b9e3b877c
18789 Author: John (J5) Palmieri <johnp@redhat.com>
18790 Date: Wed Nov 2 14:51:24 2011 -0400
18792 add test for bytearray variants
18794 tests/test_gi.py | 4 ++++
18795 1 file changed, 4 insertions(+)
18797 commit 20ca3f129d6cc662285cce8c732b55596016aefa
18798 Author: John (J5) Palmieri <johnp@redhat.com>
18799 Date: Wed Nov 2 14:50:42 2011 -0400
18801 handle NULL arrays correctly for each array type
18803 gi/pygi-marshal-to-py.c | 11 ++++++-----
18804 1 file changed, 6 insertions(+), 5 deletions(-)
18806 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
18807 Author: John (J5) Palmieri <johnp@redhat.com>
18808 Date: Wed Nov 2 14:17:21 2011 -0400
18810 Revert "Revert "Fix array termination and size calculation""
18812 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
18814 gi/pygi-marshal-from-py.c | 6 +++++-
18815 gi/pygi-marshal-to-py.c | 8 +++++++-
18816 2 files changed, 12 insertions(+), 2 deletions(-)
18818 commit 832f16f96815adc22cc3acbeb3fa969631795a29
18819 Author: Owen W. Taylor <otaylor@fishsoup.net>
18820 Date: Sun Oct 30 18:08:57 2011 -0400
18822 pygmainloop: avoid lockups if multiple glib.MainLoop exist
18824 If multiple glib.MainLoop() sources exist, then we will add multiple
18825 watches, and when python writes a byte to the wakeup pipe, all of the
18826 sources will try to read it; only one will succeed and the others
18827 will block. Set both ends of the pipe nonblocking to avoid this.
18829 https://bugzilla.gnome.org/show_bug.cgi?id=663068
18831 gi/_glib/pygmainloop.c | 5 ++++-
18832 1 file changed, 4 insertions(+), 1 deletion(-)
18834 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
18835 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18836 Date: Sat Oct 29 15:08:03 2011 +0200
18838 Properly chain up to the class that implements a given vfunc.
18840 https://bugzilla.gnome.org/show_bug.cgi?id=662994
18842 gi/types.py | 22 +++++++++++++---------
18843 tests/test_gi.py | 20 ++++++++++----------
18844 2 files changed, 23 insertions(+), 19 deletions(-)
18846 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
18847 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18848 Date: Wed Nov 2 14:54:21 2011 +0100
18850 Revert "Fix array termination and size calculation"
18852 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
18854 gi/pygi-marshal-from-py.c | 6 +-----
18855 gi/pygi-marshal-to-py.c | 8 +-------
18856 2 files changed, 2 insertions(+), 12 deletions(-)
18858 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
18859 Author: Holger Berndt <hb@gnome.org>
18860 Date: Sun Oct 30 16:36:32 2011 +0100
18862 Fix array termination and size calculation
18864 When creating an array of element type uint8 and setting it directly
18866 memcpy(), make sure that zero-termination is respected.
18868 When calculating the length of a zero-terminated array of type uint8,
18869 fall back to strlen() instead of g_strv_length().
18871 https://bugzilla.gnome.org/show_bug.cgi?id=662550
18873 gi/pygi-marshal-from-py.c | 6 +++++-
18874 gi/pygi-marshal-to-py.c | 8 +++++++-
18875 2 files changed, 12 insertions(+), 2 deletions(-)
18877 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
18878 Author: Daniel Drake <dsd@laptop.org>
18879 Date: Sun Oct 30 09:20:45 2011 +0000
18881 pygi-convert: fix for Pango.Alignment
18883 pygi-convert.sh | 1 +
18884 1 file changed, 1 insertion(+)
18886 commit e3abd76096cc9f335681c7225f452c286b9c59e2
18887 Author: Daniel Drake <dsd@laptop.org>
18888 Date: Sun Oct 30 07:06:57 2011 +0000
18890 pygi-convert: fix for Gtk.Orientation
18892 pygi-convert.sh | 1 +
18893 1 file changed, 1 insertion(+)
18895 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
18896 Author: Martin Pitt <martin.pitt@ubuntu.com>
18897 Date: Thu Oct 27 07:16:24 2011 +0200
18899 Add tests for calling closures
18901 Add checks for correct handling of closure calls.
18902 Regress.test_closure_one_arg() is working fine and should continue
18904 Regress.test_closure_variant() is known to not work yet, so mark
18906 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
18908 tests/test_everything.py | 24 ++++++++++++++++++++++++
18909 1 file changed, 24 insertions(+)
18911 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
18912 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
18913 Date: Tue Oct 4 12:28:26 2011 +0200
18915 fix marshaling of arrays of GVariants
18917 Add unit tests for marshaling of arrays of variants with all
18918 transfer modes. Requires latest gobject-introspection.
18920 Plug potential leaks of GArray data members
18922 Fix calling of wrong cleanup_from_py for arrays
18924 Simplify and fix logic for cleaning up arrays both in from_py()
18925 and to_py() code paths.
18927 https://bugzilla.gnome.org/show_bug.cgi?id=638915
18929 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18931 gi/pygi-cache.c | 2 +-
18932 gi/pygi-marshal-cleanup.c | 81
18933 ++++++++++++++++++++++++++++++-----------------
18934 gi/pygi-marshal-from-py.c | 10 ++++--
18935 gi/pygi-marshal-to-py.c | 13 ++++++--
18936 tests/test_gi.py | 14 +++++++-
18937 5 files changed, 85 insertions(+), 35 deletions(-)
18939 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
18940 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18941 Date: Sat Oct 22 00:20:57 2011 +0200
18946 1 file changed, 8 insertions(+)
18948 commit 5c24760b797e985721f7fe51d52252e4dd54a417
18949 Author: Martin Pitt <martin.pitt@ubuntu.com>
18950 Date: Fri Oct 21 17:31:41 2011 +0200
18952 Fix "Returns: (skip)" method calls without (out) arguments
18954 When we have a method call with a skipped return value, but no
18956 arguments, we previously returned NULL to Python, which causes
18958 error return without exception set". Return None instead.
18960 https://bugzilla.gnome.org/show_bug.cgi?id=662383
18962 gi/pygi-invoke.c | 10 ++++++++++
18963 tests/test_everything.py | 8 ++++++++
18964 2 files changed, 18 insertions(+)
18966 commit 585222915dc98b0e375de3db4771466278a32e81
18967 Author: John (J5) Palmieri <johnp@redhat.com>
18968 Date: Tue Oct 18 00:39:16 2011 -0400
18970 Do union member checks for unions that are parameters
18972 * before we were only doing checks if the union was an instance
18974 https://bugzilla.gnome.org/show_bug.cgi?id=661673
18976 gi/pygi-marshal-from-py.c | 121
18977 ++++++++++++++++++++++++++--------------------
18978 1 file changed, 68 insertions(+), 53 deletions(-)
18980 commit 8deaec6b9abd87f02060c9feec773d4693e89028
18981 Author: Martin Pitt <martin.pitt@ubuntu.com>
18982 Date: Wed Oct 19 14:35:11 2011 +0200
18984 Gdk overrides: Unbreak for Gdk-2.0
18986 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
18988 only do this for Gdk >= 3.0.
18990 https://launchpad.net/bugs/875399
18992 gi/overrides/Gdk.py | 95
18993 +++++++++++++++++++++++++++--------------------------
18994 1 file changed, 48 insertions(+), 47 deletions(-)
18996 commit f395fb131caf7ca550acd17138d8061926ef4f92
18997 Author: John (J5) Palmieri <johnp@redhat.com>
18998 Date: Fri Oct 14 17:19:45 2011 -0400
19000 unit test for checking ref count of object param in signals
19002 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19004 tests/test_everything.py | 11 +++++++++++
19005 1 file changed, 11 insertions(+)
19007 commit 611f58b99851328653af4930f188c33eccaa9f6f
19008 Author: John (J5) Palmieri <johnp@redhat.com>
19009 Date: Fri Oct 14 16:42:32 2011 -0400
19011 when converting an object with transfer none, make sure the wrapper
19014 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19016 gi/pygi-argument.c | 10 ++++++++++
19017 1 file changed, 10 insertions(+)
19019 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
19020 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19021 Date: Tue Oct 4 11:13:43 2011 +0200
19023 Allow GBoxed types as property
19025 Add the GBoxed type as valid type to the gobject property helper
19026 https://bugzilla.gnome.org/show_bug.cgi?id=660798
19028 gi/_gobject/propertyhelper.py | 5 +++--
19029 1 file changed, 3 insertions(+), 2 deletions(-)
19031 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
19032 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19033 Date: Mon Oct 10 11:24:42 2011 +0200
19035 Add tests for boxed properties.
19037 tests/test_properties.py | 20 ++++++++++++++++++--
19038 1 file changed, 18 insertions(+), 2 deletions(-)
19040 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
19041 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19042 Date: Fri Sep 30 20:21:07 2011 +0200
19044 Post release bump version
19046 configure.ac | 2 +-
19047 1 file changed, 1 insertion(+), 1 deletion(-)
19049 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
19050 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19051 Date: Fri Sep 30 20:19:46 2011 +0200
19056 configure.ac | 2 +-
19057 2 files changed, 6 insertions(+), 1 deletion(-)
19059 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
19060 Author: John (J5) Palmieri <johnp@redhat.com>
19061 Date: Thu Sep 22 19:03:20 2011 -0400
19063 when checking instances union members are same type as parent
19065 * this is so we can support sending Gdk.Event members in place of
19066 the Event union into methods
19067 * we only support this if the union member has a type of GI_INTERFACE
19070 https://bugzilla.gnome.org/show_bug.cgi?id=659879
19072 gi/pygi-marshal-from-py.c | 60
19073 +++++++++++++++++++++++++++++++++++++++++++----
19074 1 file changed, 56 insertions(+), 4 deletions(-)
19076 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
19077 Author: John (J5) Palmieri <johnp@redhat.com>
19078 Date: Wed Sep 21 21:50:48 2011 -0400
19080 add a floating flag to pygobjects
19082 * this allows us to correctly refcount when custom gobjects are
19086 gi/_gobject/gobjectmodule.c | 5 +++++
19087 gi/_gobject/pygobject-private.h | 3 +++
19088 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
19089 gi/_gobject/pygobject.h | 3 ++-
19090 4 files changed, 36 insertions(+), 2 deletions(-)
19092 commit d2d29ae5845217254b9336fd8629f369cb119b25
19093 Author: John (J5) Palmieri <johnp@redhat.com>
19094 Date: Wed Sep 21 21:13:22 2011 -0400
19096 Revert "Fix refcount bug by not creating python wrapper during
19097 gobject init stage"
19099 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
19101 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
19102 1 file changed, 17 insertions(+), 15 deletions(-)
19104 commit a24c10b779f2a1b0425d56d03d59c393389cad98
19105 Author: John (J5) Palmieri <johnp@redhat.com>
19106 Date: Wed Sep 21 21:10:00 2011 -0400
19108 make sure to commit the NEWS file
19111 1 file changed, 4 insertions(+)
19113 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
19114 Author: John (J5) Palmieri <johnp@redhat.com>
19115 Date: Mon Sep 19 13:19:57 2011 -0400
19117 prep for 3.0 release
19119 configure.ac | 6 +++---
19120 1 file changed, 3 insertions(+), 3 deletions(-)
19122 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
19123 Author: John (J5) Palmieri <johnp@redhat.com>
19124 Date: Fri Sep 16 14:19:15 2011 -0400
19126 up version required of gobject-introspection to 1.29.0
19128 configure.ac | 2 +-
19129 1 file changed, 1 insertion(+), 1 deletion(-)
19131 commit 225f21117b6b3546989abe22538c784291e86b2a
19132 Author: John (J5) Palmieri <johnp@redhat.com>
19133 Date: Fri Sep 16 12:26:10 2011 -0400
19137 * remove some unused vars
19138 * correctly cast vars
19139 * handle deprecated enums in switch statments by using default:
19140 * unused wanrings still remain in some places
19142 gi/pygi-argument.c | 2 +-
19143 gi/pygi-cache.c | 7 ++-----
19144 gi/pygi-info.c | 6 ++++++
19145 gi/pygi-invoke.c | 2 +-
19146 gi/pygi-marshal-from-py.c | 17 +++++++++--------
19147 gi/pygi-marshal-to-py.c | 3 +--
19148 6 files changed, 20 insertions(+), 17 deletions(-)
19150 commit 9a70f01288e1b049206d25d67938907f1b38a490
19151 Author: John (J5) Palmieri <johnp@redhat.com>
19152 Date: Fri Sep 16 12:24:38 2011 -0400
19156 configure.ac | 2 +-
19157 1 file changed, 1 insertion(+), 1 deletion(-)
19159 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
19160 Author: John (J5) Palmieri <johnp@redhat.com>
19161 Date: Thu Sep 15 18:12:01 2011 -0400
19163 edit HACKING file to show correct tag format
19166 1 file changed, 1 insertion(+), 1 deletion(-)
19168 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
19169 Author: John (J5) Palmieri <johnp@redhat.com>
19170 Date: Thu Sep 15 18:10:33 2011 -0400
19172 update NEWS file to prep for release
19174 NEWS | 35 +++++++++++++++++++++++++++++++++++
19175 1 file changed, 35 insertions(+)
19177 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
19178 Author: John (J5) Palmieri <johnp@redhat.com>
19179 Date: Thu Sep 15 17:59:31 2011 -0400
19181 fix typo s/lenth/length
19183 gi/overrides/Gtk.py | 2 +-
19184 1 file changed, 1 insertion(+), 1 deletion(-)
19186 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
19187 Author: John (J5) Palmieri <johnp@redhat.com>
19188 Date: Thu Sep 15 17:48:58 2011 -0400
19190 fix typo in docstring
19192 gi/_gobject/propertyhelper.py | 2 +-
19193 1 file changed, 1 insertion(+), 1 deletion(-)
19195 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
19196 Author: John (J5) Palmieri <johnp@redhat.com>
19197 Date: Thu Sep 15 17:46:46 2011 -0400
19199 do not pass in len(str) to the length argument of
19200 gtk_test_buffer_insert* apis
19202 * in python 3 len(str) returns the number of characters while
19204 parameter is expecting the number of bytes. It also excepts -1
19206 terminated string. Since all of our strings are null terminated,
19208 set length to that.
19210 gi/overrides/Gtk.py | 6 ++----
19211 1 file changed, 2 insertions(+), 4 deletions(-)
19213 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
19214 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19215 Date: Mon Sep 12 21:07:20 2011 +0200
19217 Switch tarball compression format to tar.xz only.
19220 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
19221 for more information.
19223 https://bugzilla.gnome.org/show_bug.cgi?id=659140
19225 configure.ac | 2 +-
19226 1 file changed, 1 insertion(+), 1 deletion(-)
19228 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
19229 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19230 Date: Thu Sep 15 14:18:57 2011 +0200
19232 Remove pygtk_version attribute from internal gi._gobject module.
19234 This used to be provided for backwards compatibility with older PyGTK
19235 versions. As PyGObject3 no longer provides support for static bindings
19236 like PyGTK, the pygtk_version attribute has become obsolete.
19238 https://bugzilla.gnome.org/show_bug.cgi?id=659142
19240 gi/_gobject/gobjectmodule.c | 4 ----
19241 gi/_gobject/pygobject.h | 2 --
19242 2 files changed, 6 deletions(-)
19244 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
19245 Author: John (J5) Palmieri <johnp@redhat.com>
19246 Date: Thu Sep 15 15:52:18 2011 -0400
19248 remove overridesdir from the .pc file and add it to the gi module
19250 * having the variable in the .pc file caused issues parallel
19252 for different versions of python
19253 * putting it into the module allows us to give the correct directory
19254 based on which version of python you run the script from
19255 * access the var as such:
19257 installdir = gi._overridesdir
19259 gi/__init__.py | 2 ++
19260 pygobject-3.0.pc.in | 10 +++++++++-
19261 2 files changed, 11 insertions(+), 1 deletion(-)
19263 commit beea7072a5a989be47a755ac46647380d4dbd6b4
19264 Author: John (J5) Palmieri <johnp@redhat.com>
19265 Date: Thu Sep 15 00:11:09 2011 -0400
19267 fix tests to correctly construct a dummy Gtk.TargetEntry
19269 * structs are sometimes a pain in gi. Simply constructing them
19271 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
19273 but not correctly initialize the fields which can cause a crash.
19274 * tests didn't crash before because they were sending in bogus
19276 somehow did not trigger the issue
19277 * now with the C struct array marshallers doing the right thing,
19279 use of TargetEntry was causing a crash
19281 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19283 tests/test_overrides.py | 4 ++--
19284 1 file changed, 2 insertions(+), 2 deletions(-)
19286 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
19287 Author: John (J5) Palmieri <johnp@redhat.com>
19288 Date: Thu Sep 15 00:08:31 2011 -0400
19290 we now assume that C arrays of structs are flat so memcpy them
19293 * there is no way in GI to tell if a C array is flat or an array
19295 so we assume that all arrays of simple structs and gvalues are
19297 all arrays of objects and boxed structs are pointer arrays.
19298 * this will be removed once GI gets the ability to annotate level
19301 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19303 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
19304 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
19305 2 files changed, 61 insertions(+), 3 deletions(-)
19307 commit e30a41592baa942188574e5c9f99572963e2e387
19308 Author: John (J5) Palmieri <johnp@redhat.com>
19309 Date: Thu Sep 15 00:02:34 2011 -0400
19311 only update the arg counts once if child arg comes before parent arg
19313 * if the child arg comes before the parent arg we need to update the
19314 argument counts and take the child arg out of the marshalling lists
19315 since it is handled by the parent
19316 * when two parents reference the same child arg as is the case with
19317 two arrays which have a single length argument we only want
19320 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
19322 and only do the count update if this is set
19323 * APIs should keep in mind that this take extra processing so
19325 should really come after their parents
19327 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19329 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
19330 gi/pygi-cache.h | 9 +++++++--
19331 2 files changed, 27 insertions(+), 12 deletions(-)
19333 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
19334 Author: John (J5) Palmieri <johnp@redhat.com>
19335 Date: Wed Sep 14 20:26:15 2011 -0400
19337 Fix refcount bug by not creating python wrapper during gobject
19340 * This only applys to python subclasses of GObject which are
19343 * Because we were creating the wrapper when the gobject is
19345 and then again calling pygobject_new_full the wrapper would get
19347 * we could not simply Py_DECREF the wrapper due to the fact that
19348 non-subclassed objects (e.g. GObject.Object) instantiated via
19349 new do not run the same initialization code and would not have the
19351 * solution was to simply not create the wrapper during initialization
19352 because if it doesn't exist when pygobject_new_full is called
19353 it gets created and registered there
19354 * move the call to __init__ into pyg_object_new
19356 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19358 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
19359 1 file changed, 15 insertions(+), 17 deletions(-)
19361 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
19362 Author: John (J5) Palmieri <johnp@redhat.com>
19363 Date: Tue Sep 13 18:08:04 2011 -0400
19365 don't destroy just created wrapper when object is created via
19368 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19370 gi/_gobject/gobjectmodule.c | 2 +-
19371 1 file changed, 1 insertion(+), 1 deletion(-)
19373 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
19374 Author: Steve Frécinaux <code@istique.net>
19375 Date: Fri Aug 26 11:22:09 2011 +0200
19377 Remove deprecated API from pygobject.h
19379 https://bugzilla.gnome.org/show_bug.cgi?id=657416
19381 gi/_gobject/pygobject.h | 19 +------------------
19382 1 file changed, 1 insertion(+), 18 deletions(-)
19384 commit e1c71092af6e2cffa36248519adfceac1874051d
19385 Author: Marcin Owsiany <marcin@owsiany.pl>
19386 Date: Wed Aug 31 09:43:28 2011 +0100
19388 Convert gtk.TRUE/FALSE to Python True/False.
19390 https://bugzilla.gnome.org/show_bug.cgi?id=657785
19392 pygi-convert.sh | 2 ++
19393 1 file changed, 2 insertions(+)
19395 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
19396 Author: Steve Frécinaux <code@istique.net>
19397 Date: Fri Sep 2 08:37:15 2011 +0200
19399 Drop legacy __gobject_init__ method of GObject.Object.
19401 This method was used in gobject initialization at some point, but now
19402 using GObject.__init__() is sufficient, so let's not keep this old
19403 method around and let people misuse it.
19405 https://bugzilla.gnome.org/show_bug.cgi?id=658032
19407 examples/signal.py | 2 --
19408 gi/_gobject/pygobject.c | 11 -----------
19409 2 files changed, 13 deletions(-)
19411 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
19412 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19413 Date: Tue Sep 13 12:05:30 2011 +0200
19415 AM_CHECK_PYTHON_LIBS does not work for lib64
19417 But on Windows, Python extension modules need to be explicitly
19418 linked to libpython.
19420 https://bugzilla.gnome.org/show_bug.cgi?id=658856
19422 configure.ac | 4 +++-
19423 gi/Makefile.am | 9 ++++++---
19424 gi/_glib/Makefile.am | 10 ++++++++--
19425 gi/_gobject/Makefile.am | 8 +++++++-
19426 4 files changed, 24 insertions(+), 7 deletions(-)
19428 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
19429 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19430 Date: Mon Sep 12 23:03:05 2011 +0200
19432 Remove common_ldflags from Makefile.am as it is no longer used.
19434 https://bugzilla.gnome.org/show_bug.cgi?id=658856
19436 Makefile.am | 6 ------
19437 1 file changed, 6 deletions(-)
19439 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
19440 Author: John (J5) Palmieri <johnp@redhat.com>
19441 Date: Tue Sep 13 16:20:48 2011 -0400
19443 cast params for PyObject_IsInstance to suppress warnings
19445 gi/_gobject/pygobject-private.h | 4 ++--
19446 1 file changed, 2 insertions(+), 2 deletions(-)
19448 commit 861369ec59b17f67151813dc2e87c6e86126b954
19449 Author: John (J5) Palmieri <johnp@redhat.com>
19450 Date: Tue Sep 13 16:04:31 2011 -0400
19452 check if object is actually a PyGFlag before trying to access g_type
19454 * we are lucky this bit of code worked for as long as it did but when
19455 checking if an object is a PyGFlag we can't just rely on looking
19456 at the g_type field because if a regular gobject is passed in
19457 as is the case when you compare a long to a gflag, the gobject
19458 will not have a g_type field. Accessing a non-existant field
19459 could at best give you a false positive and at worse read
19460 memory beyond the bounds of the actual structure passed in
19462 gi/_gobject/pygobject-private.h | 4 ++--
19463 1 file changed, 2 insertions(+), 2 deletions(-)
19465 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
19466 Author: John (J5) Palmieri <johnp@redhat.com>
19467 Date: Tue Sep 13 16:03:02 2011 -0400
19469 fix regression - add instance type checks since Py3 no longer does
19472 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
19473 1 file changed, 19 insertions(+), 2 deletions(-)
19475 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
19476 Author: John (J5) Palmieri <johnp@redhat.com>
19477 Date: Fri Sep 2 18:39:51 2011 -0400
19479 refactor in/out marshalling to be to_py/from_py
19481 * in/out make sense from a C perspective but when you get to the
19482 python layers it makes more sense to label them as to_py and
19483 from_py to denote which way we are marshalling
19484 * this helps clear up the difference between callbacks which
19485 call into python and invoked functions which call into C
19486 * in the callback case we marshal in values to Python objects
19487 and out values to C types but in the invoke case we do the
19488 reverse. Dealing with to_py/from_py makes the code much more
19489 resuable and consistant
19491 https://bugzilla.gnome.org/show_bug.cgi?id=658362
19493 gi/Makefile.am | 8 +-
19494 gi/pygi-cache.c | 673 ++++++++++-----------
19495 gi/pygi-cache.h | 62 +-
19496 gi/pygi-invoke.c | 144 ++---
19497 gi/pygi-marshal-cleanup.c | 168 +++---
19498 gi/pygi-marshal-cleanup.h | 128 ++--
19499 gi/pygi-marshal-from-py.c | 1412
19500 +++++++++++++++++++++++++++++++++++++++++++++
19501 gi/pygi-marshal-from-py.h | 186 ++++++
19502 gi/pygi-marshal-in.c | 1412
19503 ---------------------------------------------
19504 gi/pygi-marshal-in.h | 186 ------
19505 gi/pygi-marshal-out.c | 768 ------------------------
19506 gi/pygi-marshal-out.h | 144 -----
19507 gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
19508 gi/pygi-marshal-to-py.h | 144 +++++
19509 14 files changed, 3122 insertions(+), 3081 deletions(-)
19511 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
19512 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19513 Date: Fri Sep 9 16:50:25 2011 +0200
19515 Examples: fix cairo-demo.py imports
19517 examples/cairo-demo.py | 6 +++---
19518 1 file changed, 3 insertions(+), 3 deletions(-)
19520 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
19521 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19522 Date: Fri Sep 9 15:08:27 2011 +0200
19524 Fix paths and add missing overridesdir variable used in uninstalled
19527 https://bugzilla.gnome.org/show_bug.cgi?id=658654
19529 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
19530 1 file changed, 7 insertions(+), 7 deletions(-)
19532 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
19533 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19534 Date: Fri Sep 9 15:08:04 2011 +0200
19536 Remove no longer used variables from pkgconfig files
19538 https://bugzilla.gnome.org/show_bug.cgi?id=658654
19540 pygobject-3.0-uninstalled.pc.in | 6 ------
19541 pygobject-3.0.pc.in | 5 +----
19542 2 files changed, 1 insertion(+), 10 deletions(-)
19544 commit 81d388780311311d8dc4a027a59d114edf9a00fc
19545 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19546 Date: Fri Sep 9 14:57:58 2011 +0200
19548 docs/Makefile.am and m4/python.m4: Python3 portability fixes
19550 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19552 docs/Makefile.am | 2 +-
19553 m4/python.m4 | 2 +-
19554 2 files changed, 2 insertions(+), 2 deletions(-)
19556 commit 7e692ee061406e48e4862b98a0829650b1d6d585
19557 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19558 Date: Fri Sep 9 14:57:46 2011 +0200
19560 Refactor and clean Makefile.am files
19562 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19565 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
19566 gi/_glib/Makefile.am | 100
19567 ++++++++++++++++++++++++++++++----------------
19568 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
19569 gi/overrides/Makefile.am | 4 +-
19570 gi/repository/Makefile.am | 4 +-
19571 6 files changed, 162 insertions(+), 114 deletions(-)
19573 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
19574 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19575 Date: Fri Sep 9 14:57:36 2011 +0200
19577 Remove all PLATFORM_VERSION = 2.0 traces
19579 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19581 gi/Makefile.am | 2 --
19582 gi/overrides/Makefile.am | 1 -
19583 gi/repository/Makefile.am | 1 -
19584 3 files changed, 4 deletions(-)
19586 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
19587 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19588 Date: Fri Sep 9 14:57:25 2011 +0200
19590 Remove gi/tests/ directory as all the tests now live in tests/
19592 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19594 gi/tests/Makefile.am | 24 ------------------------
19595 gi/tests/runtests.py | 21 ---------------------
19596 2 files changed, 45 deletions(-)
19598 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
19599 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19600 Date: Fri Sep 9 14:55:25 2011 +0200
19602 autogen.sh: Use autoreconf instead of a custom script and honor
19605 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19609 +++++++------------------------------------------------------
19610 2 files changed, 12 insertions(+), 85 deletions(-)
19612 commit 4671f5397003f376f00830e3fd1c214de594619f
19613 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19614 Date: Fri Sep 9 14:55:01 2011 +0200
19616 use improved python.m4 macros to search for Python headers and libs
19618 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19620 configure.ac | 3 ++-
19621 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
19622 2 files changed, 39 insertions(+), 11 deletions(-)
19624 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
19625 Author: Javier Jardón <jjardon@gnome.org>
19626 Date: Fri Sep 9 15:38:22 2011 +0100
19628 Make maintiner mode enabled by default
19631 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
19633 configure.ac | 2 +-
19634 1 file changed, 1 insertion(+), 1 deletion(-)
19636 commit b24dcb415406668931e02a1f669ef9861bb3a660
19637 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19638 Date: Wed Aug 24 09:58:10 2011 +0200
19640 Disable documentation for now since they are completely wrong for GI.
19642 https://bugzilla.gnome.org/show_bug.cgi?id=657054
19645 configure.ac | 25 -------------------------
19646 2 files changed, 1 insertion(+), 26 deletions(-)
19648 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
19649 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19650 Date: Wed Sep 7 10:38:28 2011 +0200
19652 Fix documentation installation directory
19654 https://bugzilla.gnome.org/show_bug.cgi?id=657054
19656 docs/Makefile.am | 5 +++--
19657 1 file changed, 3 insertions(+), 2 deletions(-)
19659 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
19660 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19661 Date: Tue Sep 6 22:22:11 2011 +0200
19663 Remove distutils based build system.
19665 The only reason this might be brought back to life again is when
19666 the whole stack can be built with Visual Studio (including
19667 gobject-introspection) again. Building with MinGW/MSYS can now
19668 be done with the usual autogen.sh/configure/make/make install dance.
19670 https://bugzilla.gnome.org/show_bug.cgi?id=657054
19673 Makefile.am | 25 +--
19674 README.win32 | 21 --
19676 -----------------------------------------------
19677 pygobject_postinstall.py | 9 -
19678 setup.py | 351 --------------------------------
19679 6 files changed, 7 insertions(+), 915 deletions(-)
19681 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
19682 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19683 Date: Wed Sep 7 10:40:36 2011 +0200
19685 [gtk-demo] Fix syntax highlighter encoding issue
19687 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
19688 Python 2 however we get a str (not unicode). So with Python 2 the
19689 tokenizer returned bogus data when ran over a demo that contains real
19690 UTF-8 codepoints (like rotatedtext.py for example).
19692 This patch thus fixes the "Gtk-CRITICAL **:
19693 gtk_text_iter_set_line_offset:
19694 assertion `char_on_line <= chars_in_line` failed" assertions when
19696 the rotated text demo in the treeview.
19698 demos/gtk-demo/gtk-demo.py | 3 +++
19699 1 file changed, 3 insertions(+)
19701 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
19702 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19703 Date: Tue Sep 6 22:13:54 2011 +0200
19705 overrides: add constants for atoms
19707 gi/overrides/Gdk.py | 49
19708 +++++++++++++++++++++++++++++++++++++++++++++++++
19709 1 file changed, 49 insertions(+)
19711 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
19712 Author: Steve Frécinaux <code@istique.net>
19713 Date: Wed Aug 31 14:18:56 2011 +0200
19715 Drop pygobject_construct() from public API.
19717 These functions were introduced in 2005 because python objects
19719 "just" be instantiated using g_object_new(), but this is not true
19720 anymore since the introduction of new-style constructors. Hence
19722 has no reason to be there anymore.
19724 Nowadays, people who want to construct GObjects defined in python
19726 just use g_object_new().
19728 https://bugzilla.gnome.org/show_bug.cgi?id=657814
19730 gi/_gobject/gobjectmodule.c | 118
19731 +++++++++-------------------------------
19732 gi/_gobject/pygobject-private.h | 3 -
19733 gi/_gobject/pygobject.h | 8 ---
19734 3 files changed, 26 insertions(+), 103 deletions(-)
19736 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
19737 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19738 Date: Wed Aug 31 18:00:44 2011 +0200
19740 post release version bump
19742 configure.ac | 2 +-
19743 1 file changed, 1 insertion(+), 1 deletion(-)
19745 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
19746 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19747 Date: Wed Aug 31 17:58:37 2011 +0200
19751 NEWS | 12 ++++++++++++
19752 1 file changed, 12 insertions(+)
19754 commit 429569abddada5a3bad554de707ddf35b349936e
19755 Author: John (J5) Palmieri <johnp@redhat.com>
19756 Date: Thu Aug 25 13:57:53 2011 -0400
19758 support skip annotation for return values
19760 * this is used for things like skiping gboolean returns that are
19761 useful is C but useless in python
19763 * cleans up after skipped returns that are also marked transfer
19765 https://bugzilla.gnome.org/show_bug.cgi?id=650135
19767 gi/pygi-cache.c | 1 +
19768 gi/pygi-cache.h | 1 +
19769 gi/pygi-invoke.c | 48
19770 ++++++++++++++++++++++++++++++------------------
19771 tests/test_everything.py | 8 ++++++++
19772 4 files changed, 40 insertions(+), 18 deletions(-)
19774 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
19775 Author: Xavier Claessens <xclaesse@gmail.com>
19776 Date: Tue Aug 2 12:05:12 2011 +0200
19778 Test GPtrArray regression
19780 tests/test_everything.py | 3 +++
19781 1 file changed, 3 insertions(+)
19783 commit 42fc9fa437102c882844a0e70a081ab08de92658
19784 Author: Steve Frécinaux <code@istique.net>
19785 Date: Fri Aug 26 10:53:43 2011 +0200
19787 Drop support for old constructor style.
19789 Bindings don't write their own constructors anymore, and the old style
19790 has been deprecated for ages, so let's just drop them now and make
19793 https://bugzilla.gnome.org/show_bug.cgi?id=657413
19795 gi/_gobject/gobjectmodule.c | 20 --------------------
19796 gi/_gobject/pygobject-private.h | 1 -
19797 gi/_gobject/pygobject.c | 1 -
19798 gi/_gobject/pygobject.h | 2 --
19799 gi/gimodule.c | 28 ----------------------------
19801 tests/testhelpermodule.c | 5 -----
19802 7 files changed, 59 deletions(-)
19804 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
19805 Author: Steve Frécinaux <code@istique.net>
19806 Date: Fri Aug 26 10:45:59 2011 +0200
19808 Drop support for sink functions.
19810 Sink functions were meant to deal with floating references in a custom
19811 way. They are not useful anymore with the dynamic bindings.
19813 https://bugzilla.gnome.org/show_bug.cgi?id=642233
19815 gi/_gobject/gobjectmodule.c | 1 -
19816 gi/_gobject/pygobject.c | 53 ----------------------------------------
19817 gi/_gobject/pygobject.h | 4 ---
19818 tests/test-floating.c | 59
19819 +++++++--------------------------------------
19820 tests/test-floating.h | 42 +++++++++-----------------------
19821 tests/test_gobject.py | 13 +++-------
19822 tests/testhelpermodule.c | 32 +++++++-----------------
19823 7 files changed, 32 insertions(+), 172 deletions(-)
19825 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
19826 Author: Mike Gorse <mgorse@novell.com>
19827 Date: Wed Aug 24 17:30:09 2011 -0500
19829 Reinstate copying of in-line structs in arrays
19831 For arrays of in-line, non-boxed structures with (transfer full),
19832 _pygi_marshal_free_out_array eventually gets called and frees
19834 data, so we should copy it (IE, BGO#653588).
19836 https://bugzilla.gnome.org/show_bug.cgi?id=657120
19838 gi/pygi-marshal-out.c | 8 +++++++-
19839 1 file changed, 7 insertions(+), 1 deletion(-)
19841 commit f38511f251602e18551c04617cc2e2d42e812e1e
19842 Author: John (J5) Palmieri <johnp@redhat.com>
19843 Date: Tue Aug 23 14:18:43 2011 -0400
19845 fix inline struct array handling
19847 * we now assume any non-boxed structs are inline in an array since
19849 no way to check in GI and this is the most common use for an
19853 https://bugzilla.gnome.org/show_bug.cgi?id=657120
19855 gi/pygi-marshal-out.c | 23 +++++++++--------------
19856 tests/test_gi.py | 8 ++++++++
19857 2 files changed, 17 insertions(+), 14 deletions(-)
19859 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
19860 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19861 Date: Tue Aug 23 11:30:41 2011 +0200
19863 [gtk-demo] printing.py: set print and error dialog transient parent
19865 demos/gtk-demo/demos/printing.py | 8 ++++----
19866 1 file changed, 4 insertions(+), 4 deletions(-)
19868 commit 1aebc1565752840075027b9452fe2a67217bf53b
19869 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19870 Date: Tue Aug 23 11:28:05 2011 +0200
19872 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
19873 handle printing errors
19875 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
19876 1 file changed, 10 insertions(+), 4 deletions(-)
19878 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
19879 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19880 Date: Tue Aug 23 08:05:43 2011 +0200
19882 [gtk-demo] show "activated" demo's in italic font in the TreeView
19884 demos/gtk-demo/gtk-demo.py | 7 +++++--
19885 1 file changed, 5 insertions(+), 2 deletions(-)
19887 commit 971d063f7a36e13ef6621db7002b00af52f6292a
19888 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19889 Date: Mon Aug 22 14:52:28 2011 +0200
19891 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
19892 token, so simply remove it
19894 demos/gtk-demo/gtk-demo.py | 5 +----
19895 1 file changed, 1 insertion(+), 4 deletions(-)
19897 commit c2979a37d6d505095b6e55789150a6498d95819d
19898 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19899 Date: Mon Aug 22 14:22:18 2011 +0200
19901 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
19902 but Gtk.TextBuffer.insert expects a string.
19904 Fixed by using codes.open() as hinted in
19905 http://docs.python.org/dev/howto/pyporting.html#text-files
19906 section "If pre-2.6 compatibility is needed" (because configure.ac
19907 is still happy with Python 2.5.2).
19909 demos/gtk-demo/gtk-demo.py | 6 +++++-
19910 1 file changed, 5 insertions(+), 1 deletion(-)
19912 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
19913 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19914 Date: Mon Aug 22 12:30:24 2011 +0200
19916 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
19918 demos/gtk-demo/demos/images.py | 2 +-
19919 1 file changed, 1 insertion(+), 1 deletion(-)
19921 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
19922 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19923 Date: Mon Aug 22 10:38:04 2011 +0200
19925 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
19928 demos/gtk-demo/demos/printing.py | 4 ++--
19929 1 file changed, 2 insertions(+), 2 deletions(-)
19931 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
19932 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19933 Date: Mon Aug 22 10:37:08 2011 +0200
19935 [gtk-demo] printing.py: fix text file loading
19937 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
19938 1 file changed, 16 insertions(+), 16 deletions(-)
19940 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
19941 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19942 Date: Mon Aug 22 10:20:35 2011 +0200
19944 [gtk-demo] pixbuf.py: fix image loading
19946 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
19947 1 file changed, 11 insertions(+), 14 deletions(-)
19949 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
19950 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19951 Date: Mon Aug 22 10:10:02 2011 +0200
19953 [gtk-demo] images.py: fix logo loading
19955 demos/gtk-demo/demos/images.py | 70
19956 +++++++++++++++++-------------------------
19957 1 file changed, 29 insertions(+), 41 deletions(-)
19959 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
19960 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19961 Date: Wed Aug 24 12:19:21 2011 +0200
19963 [gtk-demo] appwindow.py: set AboutDialog parent
19965 demos/gtk-demo/demos/appwindow.py | 7 +++----
19966 1 file changed, 3 insertions(+), 4 deletions(-)
19968 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
19969 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19970 Date: Mon Aug 22 07:58:25 2011 +0200
19972 [gtk-demo] appwindow.py: fix logo loading
19974 demos/gtk-demo/demos/appwindow.py | 10 +++-------
19975 1 file changed, 3 insertions(+), 7 deletions(-)
19977 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
19978 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19979 Date: Mon Aug 22 07:57:31 2011 +0200
19981 [gtk-demo] appwindow.py: fix callback signatures
19983 demos/gtk-demo/demos/appwindow.py | 6 +++---
19984 1 file changed, 3 insertions(+), 3 deletions(-)
19986 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
19987 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19988 Date: Mon Aug 22 07:48:28 2011 +0200
19990 [gtk-demo] fix glib vs GLib usage
19992 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
19993 demos/gtk-demo/demos/appwindow.py | 2 +-
19994 2 files changed, 2 insertions(+), 2 deletions(-)
19996 commit d29cad6976a80862e1fc590d3e7d190e8a234866
19997 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19998 Date: Wed Aug 24 12:19:02 2011 +0200
20000 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
20001 caused by improved GDK overrides
20003 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
20004 1 file changed, 3 insertions(+), 3 deletions(-)
20006 commit f29d3a85a275a39e8481484779264b0dea1160ab
20007 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20008 Date: Mon Aug 22 07:25:32 2011 +0200
20010 [gtk-demo] optimize source colorizer by only preparing iters for
20011 known colorized tokens
20013 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
20014 1 file changed, 15 insertions(+), 5 deletions(-)
20016 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
20017 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20018 Date: Fri Aug 19 18:31:20 2011 +0200
20020 [gtk-demo] small formatting fixes
20022 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
20023 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
20024 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
20025 demos/gtk-demo/demos/assistant.py | 1 +
20026 demos/gtk-demo/demos/builder.py | 4 +++-
20027 demos/gtk-demo/demos/button_box.py | 1 +
20028 demos/gtk-demo/demos/clipboard.py | 1 +
20029 demos/gtk-demo/demos/colorselector.py | 1 +
20030 demos/gtk-demo/demos/combobox.py | 1 +
20031 demos/gtk-demo/demos/drawingarea.py | 4 +++-
20032 demos/gtk-demo/demos/test.py | 2 ++
20033 11 files changed, 19 insertions(+), 6 deletions(-)
20035 commit c42cb4da399ff5732f4ca732b85134de796a60fa
20036 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20037 Date: Fri Aug 19 18:30:50 2011 +0200
20039 [gtk-demo] remove "is_fully_bound" from demos
20041 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
20042 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
20043 demos/gtk-demo/demos/appwindow.py | 3 ---
20044 demos/gtk-demo/demos/assistant.py | 2 --
20045 demos/gtk-demo/demos/builder.py | 2 --
20046 demos/gtk-demo/demos/button_box.py | 2 --
20047 demos/gtk-demo/demos/clipboard.py | 2 --
20048 demos/gtk-demo/demos/colorselector.py | 2 --
20049 demos/gtk-demo/demos/combobox.py | 2 --
20050 demos/gtk-demo/demos/drawingarea.py | 2 --
20051 demos/gtk-demo/demos/test.py | 1 -
20052 11 files changed, 22 deletions(-)
20054 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
20055 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20056 Date: Fri Aug 19 18:26:31 2011 +0200
20058 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
20059 and GTK+'s gtk-demo code
20061 demos/gtk-demo/gtk-demo.py | 116
20062 +++++++++++++++++++++++++++++++++++++++------
20063 1 file changed, 101 insertions(+), 15 deletions(-)
20065 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
20066 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20067 Date: Fri Aug 19 15:08:15 2011 +0200
20069 [gtk-demo] remove C-isms
20071 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
20072 1 file changed, 14 insertions(+), 14 deletions(-)
20074 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
20075 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20076 Date: Fri Aug 19 14:54:39 2011 +0200
20078 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
20080 demos/gtk-demo/gtk-demo.py | 4 ++--
20081 1 file changed, 2 insertions(+), 2 deletions(-)
20083 commit 241827208e25c72a990d8edd95a3b879470d6409
20084 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20085 Date: Fri Aug 19 14:40:56 2011 +0200
20087 [gtk-demo] remove duplicate storage of demos by only storing them
20088 in a TreeStore subclass
20090 This also moves demos loading code into the TreeStore subclass and
20091 demo loading code into the Demo class
20093 demos/gtk-demo/gtk-demo.py | 151
20094 +++++++++++++++++++++------------------------
20095 1 file changed, 70 insertions(+), 81 deletions(-)
20097 commit 58797c355a08a35375988881a17958bb42ad54bb
20098 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20099 Date: Fri Aug 19 14:40:00 2011 +0200
20101 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
20102 to demonstrate the GLib.MainLoop
20104 demos/gtk-demo/gtk-demo.py | 43
20105 ++++++++++++++++++++++++++-----------------
20106 1 file changed, 26 insertions(+), 17 deletions(-)
20108 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
20109 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20110 Date: Fri Aug 19 11:46:17 2011 +0200
20112 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
20114 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
20115 1 file changed, 23 insertions(+), 16 deletions(-)
20117 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
20118 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20119 Date: Fri Aug 19 11:02:35 2011 +0200
20121 [gtk-demo] drawingarea: fix labels
20123 demos/gtk-demo/demos/drawingarea.py | 4 ++--
20124 1 file changed, 2 insertions(+), 2 deletions(-)
20126 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
20127 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20128 Date: Fri Aug 19 09:57:31 2011 +0200
20130 [gtk-demo] fix imports
20132 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
20133 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
20134 demos/gtk-demo/gtk-demo.py | 8 ++++----
20135 3 files changed, 14 insertions(+), 9 deletions(-)
20137 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
20138 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20139 Date: Fri Aug 19 10:07:14 2011 +0200
20141 [gtk-demo] fix shebang
20143 demos/gtk-demo/gtk-demo.py | 2 +-
20144 1 file changed, 1 insertion(+), 1 deletion(-)
20146 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
20147 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20148 Date: Fri Aug 19 12:27:04 2011 +0200
20150 Added support for __setitem__ to TreeModel and support for slices
20153 https://bugzilla.gnome.org/show_bug.cgi?id=656891
20155 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
20156 tests/test_overrides.py | 57
20157 +++++++++++++++++++++++++++++++++++++++++++++++++
20158 2 files changed, 81 insertions(+), 2 deletions(-)
20160 commit d6da96c65b2ed3cda238886990a624fbc31f6987
20161 Author: Olav Vitters <olav@vitters.nl>
20162 Date: Wed Aug 24 16:31:12 2011 +0200
20164 Convert ACCEL_* constants into Gtk.AccelFlags.
20166 pygi-convert.sh | 1 +
20167 1 file changed, 1 insertion(+)
20169 commit 0841d41698302abb5d987849a5874252564ed428
20170 Author: Olav Vitters <olav@vitters.nl>
20171 Date: Wed Aug 24 16:22:17 2011 +0200
20173 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
20175 pygi-convert.sh | 1 +
20176 1 file changed, 1 insertion(+)
20178 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
20179 Author: John (J5) Palmieri <johnp@redhat.com>
20180 Date: Thu Aug 18 14:06:32 2011 -0400
20182 post commit version bump
20184 configure.ac | 2 +-
20185 1 file changed, 1 insertion(+), 1 deletion(-)
20187 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
20188 Author: John (J5) Palmieri <johnp@redhat.com>
20189 Date: Thu Aug 18 14:02:30 2011 -0400
20193 NEWS | 10 ++++++++++
20194 1 file changed, 10 insertions(+)
20196 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
20197 Author: John (J5) Palmieri <johnp@redhat.com>
20198 Date: Thu Aug 18 13:50:51 2011 -0400
20200 remove tests that were removed from gi
20202 tests/test_gi.py | 11 -----------
20203 1 file changed, 11 deletions(-)
20205 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
20206 Author: John (J5) Palmieri <johnp@redhat.com>
20207 Date: Thu Aug 18 13:48:57 2011 -0400
20209 don't calculate item_size using is_pointer
20211 * is_pointer is poorly defined and cacluating item_size for
20212 arrays causes a crash in the tests because of this
20213 * disregaurd is_pointer when cacluating item sizes
20215 gi/pygi-info.c | 8 ++------
20216 1 file changed, 2 insertions(+), 6 deletions(-)
20218 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
20219 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20220 Date: Wed Jul 6 01:50:31 2011 +0200
20222 Updated signal example to use GObject introspection
20224 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20226 examples/signal.py | 9 ++++-----
20227 1 file changed, 4 insertions(+), 5 deletions(-)
20229 commit 0332010e704e253380e993874eab9dd122e59a7e
20230 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20231 Date: Wed Jul 6 01:54:50 2011 +0200
20233 Updated properties example to use GObject introspection
20235 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20237 examples/properties.py | 14 +++++++-------
20238 1 file changed, 7 insertions(+), 7 deletions(-)
20240 commit c39f4555ebd703651eca6f978ed9870655b737f0
20241 Author: Martin Pitt <martin.pitt@ubuntu.com>
20242 Date: Fri Aug 12 22:55:02 2011 +0200
20244 Add override for GLib.Variant.split_signature()
20246 This is useful for e. g. iterating over method parameters which are
20248 single Variant. In particular we will need it for automatically
20250 introspection XML for exported DBus server objects.
20252 gi/overrides/GLib.py | 50
20253 +++++++++++++++++++++++++++++++++++++++++++++++++
20254 tests/test_overrides.py | 22 ++++++++++++++++++++++
20255 2 files changed, 72 insertions(+)
20257 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
20258 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20259 Date: Mon Aug 15 18:58:31 2011 +0200
20261 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
20263 https://bugzilla.gnome.org/show_bug.cgi?id=654001
20265 pygi-convert.sh | 2 ++
20266 1 file changed, 2 insertions(+)
20268 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
20269 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20270 Date: Mon Aug 15 13:12:49 2011 +0200
20272 Install pygobject.h again.
20274 This is needed by libpeas.
20276 gi/_gobject/Makefile.am | 5 ++++-
20277 pygobject-3.0-uninstalled.pc.in | 4 ++--
20278 pygobject-3.0.pc.in | 6 +++---
20279 3 files changed, 9 insertions(+), 6 deletions(-)
20281 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
20282 Author: John (J5) Palmieri <johnp@redhat.com>
20283 Date: Sun Aug 14 11:20:15 2011 -0400
20285 update the doap file
20287 pygobject.doap | 26 ++++++++++++++------------
20288 1 file changed, 14 insertions(+), 12 deletions(-)
20290 commit 762a36d2343bc39a502507d600fd1b9db9649dae
20291 Author: John (J5) Palmieri <johnp@redhat.com>
20292 Date: Sun Aug 14 11:13:25 2011 -0400
20296 configure.ac | 2 +-
20297 1 file changed, 1 insertion(+), 1 deletion(-)
20299 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
20300 Author: John (J5) Palmieri <johnp@redhat.com>
20301 Date: Sun Aug 14 10:13:37 2011 -0400
20303 get things ready for release
20306 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20307 1 file changed, 194 insertions(+)
20309 commit ffd057649380d4249c1c52e1225e3646f3994bc6
20310 Author: John (J5) Palmieri <johnp@redhat.com>
20311 Date: Sun Aug 14 05:26:18 2011 -0400
20313 pass exta keywords to the Box constructor
20315 gi/overrides/Gtk.py | 4 ++--
20316 1 file changed, 2 insertions(+), 2 deletions(-)
20318 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
20319 Author: John (J5) Palmieri <johnp@redhat.com>
20320 Date: Sat Aug 13 11:03:07 2011 -0400
20322 add (Tree|List)Store set method override
20324 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
20325 tests/test_overrides.py | 102
20326 ++++++++++++++++++++++++++++++++++++++++++++++--
20327 2 files changed, 149 insertions(+), 3 deletions(-)
20329 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
20330 Author: John (J5) Palmieri <johnp@redhat.com>
20331 Date: Sat Aug 13 09:19:29 2011 -0400
20333 add test for object arrays
20335 tests/test_everything.py | 6 ++++++
20336 1 file changed, 6 insertions(+)
20338 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
20339 Author: John (J5) Palmieri <johnp@redhat.com>
20340 Date: Sat Aug 13 08:46:18 2011 -0400
20342 only support C pointer arrays for structs and objects
20344 * There is no way to know if an array of structs or objects are
20346 or flat arrays. Since pointer arrays are the most useful and
20348 it has been decided to only support those arrays
20350 gi/pygi-marshal-out.c | 2 +-
20351 tests/test_gi.py | 8 --------
20352 2 files changed, 1 insertion(+), 9 deletions(-)
20354 commit b12379de1790b72d51883bf7b63c892639a892e7
20355 Author: John (J5) Palmieri <johnp@redhat.com>
20356 Date: Sat Aug 13 06:31:52 2011 -0400
20358 revert Gtk.Window override because it causes issues with subclasses
20360 gi/overrides/Gtk.py | 9 ---------
20361 1 file changed, 9 deletions(-)
20363 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
20364 Author: Jonathan Matthew <jonathan@d14n.org>
20365 Date: Thu Apr 7 21:05:32 2011 +1000
20367 take GIL in _pygi_invoke_closure_free (bug #647016)
20369 gi/pygi-closure.c | 3 +++
20370 1 file changed, 3 insertions(+)
20372 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
20373 Author: Johan Dahlin <jdahlin@litl.com>
20374 Date: Mon Jun 27 00:41:24 2011 -0300
20376 Add a default parameter to GtkTreeModel.filter_new
20378 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20380 gi/overrides/Gtk.py | 3 +++
20381 1 file changed, 3 insertions(+)
20383 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
20384 Author: Johan Dahlin <jdahlin@litl.com>
20385 Date: Mon Jun 27 00:40:12 2011 -0300
20387 Add vbox/action_area properties
20389 Accessing vbox/action_area directly creates segmentation fault,
20390 avoid that by mapping the fields to their getters for PyGTK
20393 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20395 gi/overrides/Gtk.py | 3 +++
20396 1 file changed, 3 insertions(+)
20398 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
20399 Author: Johan Dahlin <jdahlin@litl.com>
20400 Date: Mon Jun 27 00:39:41 2011 -0300
20402 Add a couple of constructors
20404 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
20407 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20409 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
20410 1 file changed, 40 insertions(+)
20412 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
20413 Author: Johan Dahlin <jdahlin@litl.com>
20414 Date: Mon Jun 27 00:38:30 2011 -0300
20416 Do not always pass in user_data to callbacks.
20418 This keeps API compatibility with PyGTK and avoids sending
20419 in user_data if it's None.
20421 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20423 gi/overrides/Gtk.py | 15 ++++++++++++---
20424 1 file changed, 12 insertions(+), 3 deletions(-)
20426 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
20427 Author: Johan Dahlin <jdahlin@litl.com>
20428 Date: Mon Jun 27 00:38:20 2011 -0300
20430 Add a default detail value for Widget.render_icon
20432 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20434 gi/overrides/Gtk.py | 3 +++
20435 1 file changed, 3 insertions(+)
20437 commit 5b1c875269b7979caae97e84919a690a34d92f29
20438 Author: Johan Dahlin <jdahlin@litl.com>
20439 Date: Mon Jun 27 00:36:20 2011 -0300
20441 Add an override for Gdk.color_parse()
20443 Change Gdk.color_parse() to not return a tuple, instead just
20444 return the created color or None if it wasn't possible to parse
20445 the name into a color.
20447 This keeps compatibility with PyGTK but breaks the current API.
20449 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20451 gi/overrides/Gdk.py | 8 ++++++++
20452 1 file changed, 8 insertions(+)
20454 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
20455 Author: Laszlo Pandy <lpandy@src.gnome.org>
20456 Date: Mon Aug 8 12:06:18 2011 +0200
20458 Support function calling with keyword arguments in invoke.
20460 https://bugzilla.gnome.org/show_bug.cgi?id=625596
20462 gi/pygi-cache.c | 39 ++++++++++++
20463 gi/pygi-cache.h | 4 ++
20464 gi/pygi-invoke.c | 162
20465 +++++++++++++++++++++++++++++++++++++++++++++--
20466 gi/types.py | 12 ++--
20467 tests/test_everything.py | 2 +-
20468 tests/test_gi.py | 58 +++++++++++++++++
20469 6 files changed, 265 insertions(+), 12 deletions(-)
20471 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
20472 Author: John (J5) Palmieri <johnp@redhat.com>
20473 Date: Sat Aug 13 04:13:28 2011 -0400
20475 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
20477 gi/pygi-info.c | 5 -----
20478 1 file changed, 5 deletions(-)
20480 commit 745001178fc72be5626c7211366d694f41162987
20481 Author: Martin Pitt <martin.pitt@ubuntu.com>
20482 Date: Thu Aug 11 15:11:42 2011 +0200
20484 Fix gobject vs. gi.repository warning
20486 Check the warning earlier and fix the operator, so that it actually
20488 update the warning to explain how to fix the problem.
20490 gi/_gobject/__init__.py | 8 ++++----
20491 1 file changed, 4 insertions(+), 4 deletions(-)
20493 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
20494 Author: John (J5) Palmieri <johnp@redhat.com>
20495 Date: Fri Jul 22 15:46:31 2011 -0400
20497 make GObject and GLib able to take overrides
20499 * derive directly from DynamicModule instead of InterfaceModule
20501 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20503 gi/importer.py | 11 +++---
20505 ++++++++++++++++++++++++++++-----------------------------
20506 2 files changed, 64 insertions(+), 65 deletions(-)
20508 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
20509 Author: John (J5) Palmieri <johnp@redhat.com>
20510 Date: Fri Jul 22 15:45:09 2011 -0400
20512 avoid dependency issue by importing the internal gobject
20514 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20516 gi/__init__.py | 2 +-
20517 1 file changed, 1 insertion(+), 1 deletion(-)
20519 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
20520 Author: John (J5) Palmieri <johnp@redhat.com>
20521 Date: Fri Jul 22 14:13:02 2011 -0400
20523 fix tests to use the new GLib module
20525 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20527 tests/test_mainloop.py | 7 +++----
20528 tests/test_option.py | 3 ++-
20529 tests/test_source.py | 24 +++++++++++-------------
20530 tests/test_subprocess.py | 12 +++++-------
20531 tests/test_thread.py | 10 ++++------
20532 tests/test_uris.py | 4 ++--
20533 6 files changed, 27 insertions(+), 33 deletions(-)
20535 commit 191ef79315f8a5641699536fde58da18e23ef904
20536 Author: John (J5) Palmieri <johnp@redhat.com>
20537 Date: Fri Jul 22 14:11:53 2011 -0400
20539 add DynamicGLibModule which works like DynamicGObjectModule
20541 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20543 gi/importer.py | 7 +++++--
20544 gi/module.py | 32 +++++++++++++++++++++++++++++---
20545 2 files changed, 34 insertions(+), 5 deletions(-)
20547 commit fbd4a8263260c187211799454c08b1e55e2cb998
20548 Author: John (J5) Palmieri <johnp@redhat.com>
20549 Date: Fri Jul 22 12:27:41 2011 -0400
20551 refactor, add objects and types to the correct internal module
20553 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20555 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
20556 gi/_glib/pygmaincontext.c | 2 +-
20557 gi/_glib/pygmainloop.c | 4 ++--
20558 gi/_glib/pygoptioncontext.c | 4 ++--
20559 gi/_glib/pygoptiongroup.c | 4 ++--
20560 gi/_glib/pygsource.c | 14 +++++++-------
20561 gi/_glib/pygspawn.c | 14 +++++++-------
20562 7 files changed, 40 insertions(+), 40 deletions(-)
20564 commit 7431b49a161df9178c55b814d3adff992ac2d722
20565 Author: John (J5) Palmieri <johnp@redhat.com>
20566 Date: Fri Jul 22 12:26:32 2011 -0400
20568 rename the pyglib shared library so we don't load the old one
20570 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20572 gi/Makefile.am | 2 +-
20573 gi/_glib/Makefile.am | 10 +++++-----
20574 gi/_gobject/Makefile.am | 2 +-
20575 3 files changed, 7 insertions(+), 7 deletions(-)
20577 commit b8700451acd4a19b59b64fc8641fca748d2189e2
20578 Author: John (J5) Palmieri <johnp@redhat.com>
20579 Date: Fri Jul 22 11:20:09 2011 -0400
20581 refactor tests to only use PyGObject 3 syntax
20583 * for PyGObject 3 we want to discourage the use of legacy
20585 * Using interfaces like from gi.repository import GObject makes
20586 sure that the internal _gobject module is loaded and not
20587 PyGObject 2's gobject module which would cause the application
20588 to not work correctly
20590 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20592 tests/runtests-windows.py | 4 +-
20593 tests/test_gdbus.py | 12 ++---
20594 tests/test_gi.py | 4 +-
20595 tests/test_gobject.py | 31 ++++++------
20596 tests/test_interface.py | 16 +++---
20597 tests/test_mainloop.py | 3 +-
20598 tests/test_overrides.py | 8 +--
20599 tests/test_properties.py | 124
20600 +++++++++++++++++++++++-----------------------
20601 tests/test_signal.py | 98 ++++++++++++++++++------------------
20602 tests/test_source.py | 5 +-
20603 tests/test_subprocess.py | 3 +-
20604 tests/test_thread.py | 5 +-
20605 tests/test_unknown.py | 8 +--
20606 tests/testhelpermodule.c | 2 +-
20607 tests/testmodule.py | 10 ++--
20608 15 files changed, 169 insertions(+), 164 deletions(-)
20610 commit c980dae21468fe073cc8782608148c346bb90ad7
20611 Author: John (J5) Palmieri <johnp@redhat.com>
20612 Date: Fri Jul 22 11:16:00 2011 -0400
20614 refactor the internal _glib module to import correct modules
20616 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20618 gi/_glib/__init__.py | 3 ++-
20619 gi/_glib/glibmodule.c | 10 +++++-----
20620 gi/_glib/option.py | 4 ++--
20621 gi/_glib/pyglib.c | 18 +++++++++---------
20622 4 files changed, 18 insertions(+), 17 deletions(-)
20624 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
20625 Author: John (J5) Palmieri <johnp@redhat.com>
20626 Date: Fri Jul 22 11:10:46 2011 -0400
20628 refactor to use the new internal _glib and _gobject modules
20630 * use relative imports instead of aboslute
20631 * fix the C imports to import the internal _gobject libs
20632 * add a check to see if the PyGObject 2 gobject module
20633 was already imported
20635 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20637 gi/_gobject/__init__.py | 20 +++++++++++++-------
20638 gi/_gobject/constants.py | 3 +--
20639 gi/_gobject/gobjectmodule.c | 2 +-
20640 gi/_gobject/propertyhelper.py | 11 +++++------
20641 gi/_gobject/pygobject.c | 16 ++++++++--------
20642 gi/_gobject/pygobject.h | 2 +-
20643 6 files changed, 29 insertions(+), 25 deletions(-)
20645 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
20646 Author: John (J5) Palmieri <johnp@redhat.com>
20647 Date: Fri Jul 22 11:07:10 2011 -0400
20649 refactor gi module to import and use internal _gobject module
20651 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20653 gi/importer.py | 2 --
20654 gi/module.py | 31 ++++++++++++++++---------------
20655 gi/overrides/Gtk.py | 2 +-
20656 gi/overrides/__init__.py | 6 +++---
20657 gi/pygobject-external.h | 2 +-
20658 gi/types.py | 12 ++++++------
20659 6 files changed, 27 insertions(+), 28 deletions(-)
20661 commit 6b9d738d78c6ac45d49f00402c89356887555069
20662 Author: John (J5) Palmieri <johnp@redhat.com>
20663 Date: Fri Jul 22 11:02:49 2011 -0400
20665 move the static bits internal to gi and refactor build files
20667 * the glib module now becomes the gi._glib module
20668 * the gobject module now becomes the gi._gobject module
20669 * we do this so we can install in parallel with PyGObject 2
20671 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20674 configure.ac | 6 +-
20675 gi/Makefile.am | 8 +-
20676 gi/_glib/Makefile.am | 58 +
20677 gi/_glib/__init__.py | 25 +
20678 gi/_glib/glibmodule.c | 969 ++++++++++++++
20679 gi/_glib/option.py | 358 ++++++
20680 gi/_glib/pygiochannel.c | 764 ++++++++++++
20681 gi/_glib/pygiochannel.h | 29 +
20682 gi/_glib/pyglib-private.h | 49 +
20683 gi/_glib/pyglib-python-compat.h | 245 ++++
20684 gi/_glib/pyglib.c | 633 ++++++++++
20685 gi/_glib/pyglib.h | 83 ++
20686 gi/_glib/pygmaincontext.c | 126 ++
20687 gi/_glib/pygmaincontext.h | 40 +
20688 gi/_glib/pygmainloop.c | 360 ++++++
20689 gi/_glib/pygmainloop.h | 36 +
20690 gi/_glib/pygoptioncontext.c | 337 +++++
20691 gi/_glib/pygoptioncontext.h | 39 +
20692 gi/_glib/pygoptiongroup.c | 298 +++++
20693 gi/_glib/pygoptiongroup.h | 42 +
20694 gi/_glib/pygsource.c | 725 +++++++++++
20695 gi/_glib/pygsource.h | 39 +
20696 gi/_glib/pygspawn.c | 264 ++++
20697 gi/_glib/pygspawn.h | 32 +
20698 gi/_gobject/Makefile.am | 71 ++
20699 gi/_gobject/__init__.py | 117 ++
20700 gi/_gobject/constants.py | 83 ++
20701 gi/_gobject/ffi-marshaller.c | 194 +++
20702 gi/_gobject/ffi-marshaller.h | 31 +
20703 gi/_gobject/gobjectmodule.c | 2638
20704 +++++++++++++++++++++++++++++++++++++++
20705 gi/_gobject/propertyhelper.py | 312 +++++
20706 gi/_gobject/pygboxed.c | 234 ++++
20707 gi/_gobject/pygboxed.h | 27 +
20708 gi/_gobject/pygenum.c | 366 ++++++
20709 gi/_gobject/pygenum.h | 27 +
20710 gi/_gobject/pygflags.c | 485 +++++++
20711 gi/_gobject/pygflags.h | 27 +
20712 gi/_gobject/pyginterface.c | 122 ++
20713 gi/_gobject/pyginterface.h | 40 +
20714 gi/_gobject/pygobject-private.h | 241 ++++
20715 gi/_gobject/pygobject.c | 2397
20716 +++++++++++++++++++++++++++++++++++
20717 gi/_gobject/pygobject.h | 667 ++++++++++
20718 gi/_gobject/pygparamspec.c | 404 ++++++
20719 gi/_gobject/pygparamspec.h | 31 +
20720 gi/_gobject/pygpointer.c | 198 +++
20721 gi/_gobject/pygpointer.h | 27 +
20722 gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
20723 gi/_gobject/pygtype.h | 28 +
20724 glib/Makefile.am | 61 -
20725 glib/__init__.py | 25 -
20726 glib/glibmodule.c | 969 --------------
20727 glib/option.py | 358 ------
20728 glib/pygiochannel.c | 764 ------------
20729 glib/pygiochannel.h | 29 -
20730 glib/pyglib-private.h | 49 -
20731 glib/pyglib-python-compat.h | 245 ----
20732 glib/pyglib.c | 633 ----------
20733 glib/pyglib.h | 83 --
20734 glib/pygmaincontext.c | 126 --
20735 glib/pygmaincontext.h | 40 -
20736 glib/pygmainloop.c | 360 ------
20737 glib/pygmainloop.h | 36 -
20738 glib/pygoptioncontext.c | 337 -----
20739 glib/pygoptioncontext.h | 39 -
20740 glib/pygoptiongroup.c | 298 -----
20741 glib/pygoptiongroup.h | 42 -
20742 glib/pygsource.c | 725 -----------
20743 glib/pygsource.h | 39 -
20744 glib/pygspawn.c | 264 ----
20745 glib/pygspawn.h | 32 -
20746 gobject/Makefile.am | 73 --
20747 gobject/__init__.py | 117 --
20748 gobject/constants.py | 83 --
20749 gobject/ffi-marshaller.c | 194 ---
20750 gobject/ffi-marshaller.h | 31 -
20751 gobject/gobjectmodule.c | 2638
20752 ---------------------------------------
20753 gobject/propertyhelper.py | 312 -----
20754 gobject/pygboxed.c | 234 ----
20755 gobject/pygboxed.h | 27 -
20756 gobject/pygenum.c | 366 ------
20757 gobject/pygenum.h | 27 -
20758 gobject/pygflags.c | 485 -------
20759 gobject/pygflags.h | 27 -
20760 gobject/pyginterface.c | 122 --
20761 gobject/pyginterface.h | 40 -
20762 gobject/pygobject-private.h | 241 ----
20763 gobject/pygobject.c | 2397
20764 -----------------------------------
20765 gobject/pygobject.h | 667 ----------
20766 gobject/pygparamspec.c | 404 ------
20767 gobject/pygparamspec.h | 31 -
20768 gobject/pygpointer.c | 198 ---
20769 gobject/pygpointer.h | 27 -
20770 gobject/pygtype.c | 1844 ---------------------------
20771 gobject/pygtype.h | 28 -
20772 tests/Makefile.am | 2 +-
20773 96 files changed, 16172 insertions(+), 16175 deletions(-)
20775 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
20776 Author: John (J5) Palmieri <johnp@redhat.com>
20777 Date: Mon Jul 18 18:46:31 2011 -0400
20781 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20783 Makefile.am | 5 ----
20785 -------------------------------------------------------------
20786 2 files changed, 100 deletions(-)
20788 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
20789 Author: John (J5) Palmieri <johnp@redhat.com>
20790 Date: Mon Jul 18 18:41:41 2011 -0400
20792 introspection is no longer optional
20794 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20796 Makefile.am | 8 +-------
20797 configure.ac | 43 +++++++++++++++++--------------------------
20798 gi/pygi.h | 37 -------------------------------------
20799 gobject/Makefile.am | 5 +----
20800 tests/Makefile.am | 7 +------
20801 5 files changed, 20 insertions(+), 80 deletions(-)
20803 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
20804 Author: John (J5) Palmieri <johnp@redhat.com>
20805 Date: Mon Jul 18 18:28:50 2011 -0400
20807 up platform version to 3.0
20809 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20812 configure.ac | 4 ++--
20813 pygobject-2.0-uninstalled.pc.in | 18 ------------------
20814 pygobject-2.0.pc.in | 22 ----------------------
20815 pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
20816 pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
20817 6 files changed, 43 insertions(+), 43 deletions(-)
20819 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
20820 Author: Martin Pitt <martin.pitt@ubuntu.com>
20821 Date: Thu Aug 11 09:53:15 2011 +0200
20823 [gi] Handle GVariants from callback return values
20825 Callbacks still use GIArgument, add missing GVariant support for
20828 gi/pygi-argument.c | 6 ++++--
20829 1 file changed, 4 insertions(+), 2 deletions(-)
20831 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
20832 Author: Martin Pitt <martin.pitt@ubuntu.com>
20833 Date: Wed Aug 10 14:11:10 2011 +0200
20835 Handle GVariants for callback arguments
20837 Callbacks still use GIArgument, add missing GVariant support. This
20839 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
20841 gi/pygi-argument.c | 7 +++++++
20842 1 file changed, 7 insertions(+)
20844 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
20845 Author: Laszlo Pandy <lpandy@src.gnome.org>
20846 Date: Mon Aug 8 01:58:10 2011 +0200
20848 [gi] Fix crash: check return value of
20849 _invoke_state_init_from_callable_cache() before continuing.
20851 gi/pygi-invoke.c | 4 +++-
20852 1 file changed, 3 insertions(+), 1 deletion(-)
20854 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
20855 Author: Laszlo Pandy <lpandy@src.gnome.org>
20856 Date: Fri Aug 5 21:03:33 2011 +0200
20858 [gi] Pass gtype as first parameter to vfuncs (instead of using
20861 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
20863 2 files changed, 19 insertions(+), 15 deletions(-)
20865 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
20866 Author: John (J5) Palmieri <johnp@redhat.com>
20867 Date: Mon Jul 18 18:21:51 2011 -0400
20872 codegen/Makefile.am | 33 -
20873 codegen/README.defs | 351 --------
20874 codegen/__init__.py | 16 -
20875 codegen/argtypes.py | 1043 -----------------------
20876 codegen/code-coverage.py | 44 -
20877 codegen/codegen.py | 1722
20878 --------------------------------------
20879 codegen/createdefs.py | 17 -
20880 codegen/definitions.py | 575 -------------
20881 codegen/defsconvert.py | 132 ---
20882 codegen/defsgen.py | 737 ----------------
20883 codegen/defsparser.py | 153 ----
20884 codegen/docextract.py | 461 ----------
20885 codegen/docextract_to_xml.py | 142 ----
20886 codegen/docgen.py | 766 -----------------
20887 codegen/h2def.py | 631 --------------
20888 codegen/mergedefs.py | 26 -
20889 codegen/missingdefs.py | 17 -
20890 codegen/mkskel.py | 89 --
20891 codegen/override.py | 285 -------
20892 codegen/pygobject-codegen-2.0.in | 11 -
20893 codegen/reversewrapper.py | 912 --------------------
20894 codegen/scanvirtuals.py | 54 --
20895 codegen/scmexpr.py | 143 ----
20897 pygobject-2.0-uninstalled.pc.in | 1 -
20898 pygobject-2.0.pc.in | 1 -
20899 27 files changed, 1 insertion(+), 8368 deletions(-)
20901 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
20902 Author: John (J5) Palmieri <johnp@redhat.com>
20903 Date: Mon Jul 18 11:04:58 2011 -0400
20905 remove some left over ifdefs to complete merge of the invoke-rewrite
20908 gi/pygi-cache.h | 2 --
20909 gi/pygi-info.c | 2 --
20910 gi/pygi-private.h | 5 +----
20912 4 files changed, 1 insertion(+), 10 deletions(-)
20914 commit 8c653ec3033fab47c4bb4071b5732a349357141f
20915 Author: John (J5) Palmieri <johnp@redhat.com>
20916 Date: Mon Jul 18 10:59:45 2011 -0400
20918 rename pygi-invoke-ng to pygi-invoke
20920 gi/Makefile.am | 3 +-
20921 gi/pygi-invoke-ng.c | 464
20922 ----------------------------------------------------
20923 gi/pygi-invoke.c | 464
20924 ++++++++++++++++++++++++++++++++++++++++++++++++++++
20925 3 files changed, 466 insertions(+), 465 deletions(-)
20927 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
20928 Author: John (J5) Palmieri <johnp@redhat.com>
20929 Date: Mon Jul 18 10:56:36 2011 -0400
20931 make invoke-ng the only invoker
20933 configure.ac | 11 -
20934 gi/Makefile.am | 10 +-
20935 gi/pygi-invoke.c | 1030
20936 ------------------------------------------------------
20937 3 files changed, 1 insertion(+), 1050 deletions(-)
20939 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
20940 Merge: 519e556 917ea2d
20941 Author: John (J5) Palmieri <johnp@redhat.com>
20942 Date: Mon Jul 18 10:45:18 2011 -0400
20944 Merge branch 'master' into invoke-rewrite
20946 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
20947 Merge: bab7e88 38cca3c
20948 Author: John (J5) Palmieri <johnp@redhat.com>
20949 Date: Mon Jul 18 10:37:20 2011 -0400
20951 Merge branch 'master' into invoke-rewrite
20953 commit bab7e88251bffcd360186c6dedc26be8eb077084
20954 Author: John (J5) Palmieri <johnp@redhat.com>
20955 Date: Mon Jul 18 10:35:10 2011 -0400
20957 split the marshalling routines into two source files
20959 * update copy and paste copyright info to list the correct owner
20961 gi/Makefile.am | 6 +-
20962 gi/pygi-cache.c | 3 +-
20963 gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
20964 gi/pygi-marshal-in.h | 186 +++++
20965 gi/pygi-marshal-out.c | 767 ++++++++++++++++++
20966 gi/pygi-marshal-out.h | 144 ++++
20967 gi/pygi-marshal.c | 2145
20968 -------------------------------------------------
20969 gi/pygi-marshal.h | 303 -------
20970 8 files changed, 2515 insertions(+), 2451 deletions(-)
20972 commit 917ea2dfa2d097e563233145003a66b3e4423287
20973 Author: Martin Pitt <martin.pitt@ubuntu.com>
20974 Date: Thu Jul 14 11:21:10 2011 +0200
20976 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
20978 tests/Makefile.am | 1 +
20979 1 file changed, 1 insertion(+)
20981 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
20982 Author: John (J5) Palmieri <johnp@redhat.com>
20983 Date: Wed Jul 13 15:43:02 2011 -0400
20985 [invoke] break out caller_allocates allocating into its own function
20987 gi/pygi-invoke-ng.c | 78
20988 +++++++++++++++++++++++++++++++++--------------------
20989 1 file changed, 49 insertions(+), 29 deletions(-)
20991 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
20992 Author: John (J5) Palmieri <johnp@redhat.com>
20993 Date: Wed Jul 13 15:42:26 2011 -0400
20995 [invoke] missed a bit when removing constructor_class usage
20997 gi/pygi-invoke-ng.c | 2 +-
20998 1 file changed, 1 insertion(+), 1 deletion(-)
21000 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
21001 Author: John (J5) Palmieri <johnp@redhat.com>
21002 Date: Wed Jul 13 15:16:17 2011 -0400
21004 [invoke] don't hold on to the constructor class, just add a TODO
21006 gi/pygi-invoke-ng.c | 11 +++++------
21007 gi/pygi-invoke-state-struct.h | 1 -
21008 2 files changed, 5 insertions(+), 7 deletions(-)
21010 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
21011 Author: Martin Pitt <martin.pitt@ubuntu.com>
21012 Date: Wed Jul 13 10:40:25 2011 +0200
21014 [gi] Port test_properties from static gio to GI Gio
21016 As we ripped out the static gio bindings a while ago, this test case
21018 the system installed gio bindings with Python 2, and now fails
21020 Python 3. Rewrite it to use gi.repository.Gio.
21022 tests/test_properties.py | 38 +++++++++++++++++++-------------------
21023 1 file changed, 19 insertions(+), 19 deletions(-)
21025 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
21026 Author: Martin Pitt <martin.pitt@ubuntu.com>
21027 Date: Wed Jul 13 08:42:22 2011 +0200
21029 [python3] Fix maketrans import
21031 Python3 moved the maketrans() function from the string module to a
21033 This unbreaks gi/module.py for Python 3 again.
21035 gi/module.py | 8 ++++++--
21036 1 file changed, 6 insertions(+), 2 deletions(-)
21038 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
21039 Author: John (J5) Palmieri <johnp@redhat.com>
21040 Date: Fri Jul 8 14:39:22 2011 -0400
21042 [caching] remove all inline compiler flags
21044 gi/pygi-cache.c | 96
21045 ++++++++++++++++++++++++++++-----------------------------
21046 1 file changed, 48 insertions(+), 48 deletions(-)
21048 commit bf7bb79b66ad406063fb443e7452d830c55986ef
21049 Author: John (J5) Palmieri <johnp@redhat.com>
21050 Date: Fri Jul 8 14:35:20 2011 -0400
21052 [caching] refactor function names to be less confusing
21054 gi/pygi-cache.c | 307
21055 +++++++++++++++++++++++++++-----------------------------
21056 1 file changed, 150 insertions(+), 157 deletions(-)
21058 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
21059 Author: John (J5) Palmieri <johnp@redhat.com>
21060 Date: Fri Jul 8 11:24:09 2011 -0400
21062 [overrides] deprecate the use of type keyword MessageDialog
21065 * pygtk used type to determine the "type" of message dialog to
21067 use the proper property name "message_type" since we should not be
21068 overriding a reserved word
21069 * to keep compat with pygtk we check the kwds hash for the key
21071 assign it to message_type while throwing a deprecation warning
21072 * also add a deprication warning when trying to use the depricated
21076 gi/overrides/Gtk.py | 13 ++++++++-----
21077 1 file changed, 8 insertions(+), 5 deletions(-)
21079 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
21080 Author: Martin Pitt <martin.pitt@ubuntu.com>
21081 Date: Fri Jul 8 10:15:53 2011 +0200
21083 gdbus tests: Fix hang if test case fails
21085 In the TestGDBusClient.test_native_calls_async() test case, the main
21087 never quit when the call failed.
21089 tests/test_gdbus.py | 6 ++++--
21090 1 file changed, 4 insertions(+), 2 deletions(-)
21092 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
21093 Author: John (J5) Palmieri <johnp@redhat.com>
21094 Date: Thu Jul 7 19:30:11 2011 -0400
21096 use an enum instead of booleans to denote function type
21098 gi/pygi-cache.c | 85
21099 ++++++++++++++++++++++++++++++-----------------------
21100 gi/pygi-cache.h | 18 +++++++++---
21101 gi/pygi-invoke-ng.c | 8 ++---
21102 3 files changed, 67 insertions(+), 44 deletions(-)
21104 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
21105 Author: John (J5) Palmieri <johnp@redhat.com>
21106 Date: Thu Jul 7 15:18:03 2011 -0400
21108 rename aux arguments to child arguments to make their purpose clearer
21110 gi/pygi-cache.c | 64
21111 ++++++++++++++++++++++++++---------------------------
21112 gi/pygi-cache.h | 29 ++++++++++++++++--------
21113 gi/pygi-invoke-ng.c | 10 ++++-----
21114 gi/pygi-marshal.c | 12 +++++-----
21115 4 files changed, 63 insertions(+), 52 deletions(-)
21117 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
21118 Author: Timo Vanwynsberghe <timovwb@gmail.com>
21119 Date: Thu Jul 7 10:59:08 2011 +0200
21121 Fixed the cairo example
21123 https://bugzilla.gnome.org/show_bug.cgi?id=653844
21125 examples/cairo-demo.py | 6 ++----
21126 1 file changed, 2 insertions(+), 4 deletions(-)
21128 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
21129 Author: Adam Dingle <adam@yorba.org>
21130 Date: Tue Jul 5 14:28:20 2011 -0700
21132 Add override binding for Gtk.ListStore.prepend().
21134 https://bugzilla.gnome.org/show_bug.cgi?id=654056
21136 gi/overrides/Gtk.py | 8 ++++++++
21137 tests/test_overrides.py | 13 ++++++++++++-
21138 2 files changed, 20 insertions(+), 1 deletion(-)
21140 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
21141 Author: Martin Pitt <martin.pitt@ubuntu.com>
21142 Date: Thu Jul 7 13:39:19 2011 +0200
21144 Fix crash in Gtk.TextIter overrides
21146 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
21148 pointers when the search was unsuccessful. Actually check the
21150 value; if it is False return None, just like PyGTK used to.
21152 Thanks to Michael Vogt for discovering this and writing the test case!
21156 -------------- 8< -----------------
21157 from gi.repository import Gtk
21159 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
21160 textview = Gtk.TextView()
21161 buffer = textview.get_buffer()
21162 buffer.set_text("hello world")
21167 iter = buffer.get_start_iter()
21168 end = buffer.get_end_iter()
21169 ret = iter.forward_search("foo",
21170 Gtk.TextSearchFlags.VISIBLE_ONLY,
21172 print "this is my return value"
21174 print "now I crash"
21175 print ret[0].get_offset()
21178 -------------- 8< -----------------
21180 gi/overrides/Gtk.py | 10 ++++++++--
21181 1 file changed, 8 insertions(+), 2 deletions(-)
21183 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
21184 Author: John (J5) Palmieri <johnp@redhat.com>
21185 Date: Tue Jul 5 15:57:23 2011 -0400
21187 use gssize instead of int for arg indexes
21189 gi/pygi-cache.c | 24 ++++++++++++------------
21190 gi/pygi-cache.h | 6 +++---
21191 gi/pygi-invoke-ng.c | 6 +++---
21192 gi/pygi-marshal-cleanup.c | 6 +++---
21193 4 files changed, 21 insertions(+), 21 deletions(-)
21195 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
21196 Author: John (J5) Palmieri <johnp@redhat.com>
21197 Date: Tue Jul 5 14:17:30 2011 -0400
21199 [cache] remove refrence to default value as it is not implemented yet
21201 gi/pygi-cache.h | 1 -
21202 1 file changed, 1 deletion(-)
21204 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
21205 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21206 Date: Thu May 12 18:53:06 2011 +0200
21208 Handle arguments that are flags correctly
21210 https://bugzilla.gnome.org/show_bug.cgi?id=647581
21212 gi/pygi-argument.c | 2 ++
21213 1 file changed, 2 insertions(+)
21215 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
21216 Author: John (J5) Palmieri <johnp@redhat.com>
21217 Date: Fri Jul 1 05:19:15 2011 -0400
21219 correctly initialize the _gi_cairo_functions array to be zero filled
21221 gi/pygi-foreign-cairo.c | 2 +-
21222 1 file changed, 1 insertion(+), 1 deletion(-)
21224 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
21225 Author: John (J5) Palmieri <johnp@redhat.com>
21226 Date: Fri Jul 1 05:19:15 2011 -0400
21228 correctly initialize the _gi_cairo_functions array to be zero filled
21230 gi/pygi-foreign-cairo.c | 2 +-
21231 1 file changed, 1 insertion(+), 1 deletion(-)
21233 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
21234 Author: John (J5) Palmieri <johnp@redhat.com>
21235 Date: Wed Jun 29 18:14:40 2011 -0400
21237 pass in the address of the gerror, not the gerror itself
21239 gi/pygi-argument.c | 2 +-
21240 1 file changed, 1 insertion(+), 1 deletion(-)
21242 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
21243 Author: John (J5) Palmieri <johnp@redhat.com>
21244 Date: Wed Jun 29 18:01:44 2011 -0400
21246 [gi] handle marshalling gerrors arguments for signals
21248 gi/pygi-argument.c | 18 ++++++++++++++++--
21249 1 file changed, 16 insertions(+), 2 deletions(-)
21251 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
21252 Author: John (J5) Palmieri <johnp@redhat.com>
21253 Date: Wed Jun 29 12:12:29 2011 -0400
21255 [gi-invoke-ng] fix NULL check to check before we access the cache
21258 gi/pygi-cache.c | 6 +++---
21259 1 file changed, 3 insertions(+), 3 deletions(-)
21261 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
21262 Author: John (J5) Palmieri <johnp@redhat.com>
21263 Date: Tue Jun 28 18:21:55 2011 -0400
21265 [gi-tests] add test for PyGObject->PyObject TreeModel storage
21267 * make sure we can store a custom GObject as a PyObject inside of
21270 tests/test_overrides.py | 26 +++++++++++++++-----------
21271 1 file changed, 15 insertions(+), 11 deletions(-)
21273 commit b6842e4b2a28733e143d4022864041ca82e91f7a
21274 Author: John (J5) Palmieri <johnp@redhat.com>
21275 Date: Tue Jun 28 18:13:38 2011 -0400
21277 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
21279 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
21282 gi/overrides/Gtk.py | 7 ++++---
21283 gobject/pygtype.c | 7 ++++---
21284 2 files changed, 8 insertions(+), 6 deletions(-)
21286 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
21287 Author: John (J5) Palmieri <johnp@redhat.com>
21288 Date: Tue Jun 28 17:32:29 2011 -0400
21290 [gi-invoke-ng] copy structs when transfer is full for array
21292 gi/pygi-marshal.c | 21 ++++++++++++++++++---
21293 1 file changed, 18 insertions(+), 3 deletions(-)
21295 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
21296 Author: John (J5) Palmieri <johnp@redhat.com>
21297 Date: Tue Jun 28 13:54:48 2011 -0400
21299 [gtk-override] print warning if user imports Gtk 2.0
21301 * this is needed because people file bugs not realizing they are
21303 which is not supported
21305 gi/overrides/Gtk.py | 12 ++++++++++++
21306 1 file changed, 12 insertions(+)
21308 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
21309 Author: John (J5) Palmieri <johnp@redhat.com>
21310 Date: Tue Jun 28 13:08:49 2011 -0400
21312 [gtk-overrides] allow the message_type keyword to be used for
21315 * for pygtk compat we use the type keyword for message type but
21317 the use of message_type because it is more descriptive and does
21319 with a python reserved word
21320 * if you passed message_type into a MessageDialog constructor you
21322 an error because we also convert type to message_type when
21325 * this patch looks to see if message_type was passed in as a
21327 assigns it to type while removing message_type from the keywords
21329 to avoid name clashing
21331 gi/overrides/Gtk.py | 5 +++++
21332 1 file changed, 5 insertions(+)
21334 commit 2aa12267bee91aa696633a0cea2a0accae09250a
21335 Author: Johan Dahlin <jdahlin@litl.com>
21336 Date: Mon Jun 27 10:56:20 2011 -0300
21338 Add support for enums in gobject.property
21340 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21342 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21343 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21344 2 files changed, 52 insertions(+), 11 deletions(-)
21346 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
21347 Author: Johan Dahlin <jdahlin@litl.com>
21348 Date: Mon Jun 27 10:56:20 2011 -0300
21350 Add support for enums in gobject.property
21352 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21354 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21355 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21356 2 files changed, 52 insertions(+), 11 deletions(-)
21358 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
21359 Author: John (J5) Palmieri <johnp@redhat.com>
21360 Date: Fri Jun 24 14:17:24 2011 -0400
21362 [gi-invoke-ng] use g_slice for allocating GValues that are caller
21365 gi/pygi-invoke-ng.c | 2 ++
21366 gi/pygi-marshal-cleanup.c | 2 ++
21367 2 files changed, 4 insertions(+)
21369 commit eff65cd2ce490296865441c3c78b7846f380459c
21370 Author: John (J5) Palmieri <johnp@redhat.com>
21371 Date: Fri Jun 24 11:49:05 2011 -0400
21373 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
21376 gi/pygi-marshal.c | 56
21377 +++++++++++++++++++++++++++++++++++++++++++------------
21378 1 file changed, 44 insertions(+), 12 deletions(-)
21380 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
21381 Author: John (J5) Palmieri <johnp@redhat.com>
21382 Date: Wed Jun 22 12:26:39 2011 -0400
21384 [gi-invoke-ng] only cache caller allocates for interfaces as some
21387 gi/pygi-cache.c | 6 ++++--
21388 1 file changed, 4 insertions(+), 2 deletions(-)
21390 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
21391 Author: John (J5) Palmieri <johnp@redhat.com>
21392 Date: Fri Jun 17 17:07:56 2011 -0400
21394 [gi-invoke-ng] handle in pointer array marshalling
21396 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
21397 1 file changed, 22 insertions(+), 6 deletions(-)
21399 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
21400 Author: Alex Eftimie <alex@eftimie.ro>
21401 Date: Fri Jun 10 08:44:04 2011 +0300
21403 Adding GPtrArray tests
21405 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
21406 1 file changed, 42 insertions(+), 1 deletion(-)
21408 commit e32c2be53175014399d89e1e85c9afc6e53c94be
21409 Author: John (J5) Palmieri <johnp@redhat.com>
21410 Date: Fri Jun 17 11:32:28 2011 -0400
21412 [gi-invoke-ng] fix array element offset calculations
21414 * use pointer arithmetic to calculate based on element size instead of
21415 relying on the size of GIArgument
21416 * special case GPtrArrays
21418 gi/pygi-marshal.c | 27 +++++++++------------------
21419 1 file changed, 9 insertions(+), 18 deletions(-)
21421 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
21422 Author: John (J5) Palmieri <johnp@redhat.com>
21423 Date: Wed Jun 15 12:46:03 2011 -0400
21425 [gi] don't clean up arguments that weren't yet processed during in
21428 gi/pygi-marshal-cleanup.c | 2 +-
21429 1 file changed, 1 insertion(+), 1 deletion(-)
21431 commit af7c93ea98b7f492eef265e58c8b3c878805524f
21432 Author: John (J5) Palmieri <johnp@redhat.com>
21433 Date: Wed Jun 15 12:06:47 2011 -0400
21435 [gi-overrides] use new instead of init when constructing a
21436 GLib.VariantBuilder
21438 * init is now skipped in the gir
21440 gi/overrides/GLib.py | 18 ++++++++----------
21441 tests/test_overrides.py | 6 ++----
21442 2 files changed, 10 insertions(+), 14 deletions(-)
21444 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
21445 Author: John (J5) Palmieri <johnp@redhat.com>
21446 Date: Wed Jun 15 11:42:45 2011 -0400
21448 [gi-invoke-ng] actual code to import overrides
21450 gi/pygi-cache.c | 7 +------
21451 1 file changed, 1 insertion(+), 6 deletions(-)
21453 commit 902575d857beffb14e56821ea8a52f705385f6bb
21454 Author: John (J5) Palmieri <johnp@redhat.com>
21455 Date: Wed Jun 15 11:25:10 2011 -0400
21457 [gi-invoke-ng] import pytypes so we get overrides
21459 gi/pygi-marshal.c | 4 +++-
21460 1 file changed, 3 insertions(+), 1 deletion(-)
21462 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
21463 Author: John (J5) Palmieri <johnp@redhat.com>
21464 Date: Tue Jun 14 16:13:37 2011 -0400
21466 [gi-invoke-ng] handle gvariants now that they are not foreign
21468 gi/pygi-marshal.c | 7 ++++++-
21469 1 file changed, 6 insertions(+), 1 deletion(-)
21471 commit c1f5651062687e800a52b5d8d16c88c0acde2934
21472 Author: John (J5) Palmieri <johnp@redhat.com>
21473 Date: Tue Jun 14 16:12:43 2011 -0400
21475 [gi-invoke-ng] do not try to clean up NULL arguments
21477 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
21478 1 file changed, 16 insertions(+), 8 deletions(-)
21480 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
21481 Merge: 499b68d 1491f62
21482 Author: John (J5) Palmieri <johnp@redhat.com>
21483 Date: Mon Jun 13 17:28:23 2011 -0400
21485 Merge branch 'master' into invoke-rewrite
21487 commit 499b68d6c9040cffc6e43dc87789d68446564a92
21488 Merge: 4c9bced 426c710
21489 Author: John (J5) Palmieri <johnp@redhat.com>
21490 Date: Mon Jun 13 17:26:37 2011 -0400
21492 Merge branch 'master' into invoke-rewrite
21494 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
21495 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21496 Date: Fri Jun 10 14:01:32 2011 +0200
21498 closure: avoid double free crash
21500 gi/pygi-closure.c | 12 ++++--------
21501 1 file changed, 4 insertions(+), 8 deletions(-)
21503 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
21504 Author: Jason Siefken <siefkenj@gmail.com>
21505 Date: Fri Jun 3 23:11:17 2011 -0700
21507 Added __eq__ method for Gdk.Color and Gdk.RGBA
21509 Call Gdk.Color.equal and Gdk.RGBA.equal when
21510 == equality testing is used.
21512 gi/overrides/Gdk.py | 6 ++++++
21513 tests/test_overrides.py | 4 ++++
21514 2 files changed, 10 insertions(+)
21516 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
21517 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21518 Date: Wed Jun 8 19:13:48 2011 +0200
21520 closure: Check the out arg is not null. Fixes bug #651812
21522 gi/pygi-closure.c | 3 +++
21523 1 file changed, 3 insertions(+)
21525 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
21526 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21527 Date: Wed Jun 8 09:47:20 2011 +0200
21529 Use constants instead of literals
21531 tests/test_overrides.py | 8 ++++----
21532 1 file changed, 4 insertions(+), 4 deletions(-)
21534 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
21535 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21536 Date: Mon Jun 6 19:07:22 2011 +0200
21538 GVariant has now a GType, take that into account
21540 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21542 gi/pygi-argument.c | 8 ++++----
21543 gi/pygi-invoke.c | 20 +++++++++++++-------
21544 2 files changed, 17 insertions(+), 11 deletions(-)
21546 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
21547 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21548 Date: Mon Jun 6 19:05:07 2011 +0200
21550 GVariantType is a boxed struct
21552 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21554 gi/gimodule.c | 2 +-
21555 1 file changed, 1 insertion(+), 1 deletion(-)
21557 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
21558 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21559 Date: Mon Jun 6 17:38:21 2011 +0200
21561 Use _gi.Struct to wrap fundamentals
21563 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21565 gi/module.py | 4 +++-
21566 1 file changed, 3 insertions(+), 1 deletion(-)
21568 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
21569 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21570 Date: Mon Jun 6 17:24:28 2011 +0200
21572 Merge gi/HACKING into /HACKING
21574 HACKING | 16 ++++++++++++++++
21575 gi/HACKING | 26 --------------------------
21576 2 files changed, 16 insertions(+), 26 deletions(-)
21578 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
21579 Author: Daniel Drake <dsd@laptop.org>
21580 Date: Fri Jun 3 16:59:15 2011 +0100
21582 Fix GC-related crash during PyGObject deallocation
21584 Python-2.7.1's GC source has the following comment:
21586 /* Python's cyclic gc should never see an incoming refcount
21587 * of 0: if something decref'ed to 0, it should have been
21588 * deallocated immediately at that time.
21589 * Possible cause (if the assert triggers): a tp_dealloc
21590 * routine left a gc-aware object tracked during its teardown
21591 * phase, and did something-- or allowed something to
21593 * that called back into Python. gc can trigger then, and may
21594 * see the still-tracked dying object. Before this assert
21595 * was added, such mistakes went on to allow gc to try to
21596 * delete the object again. In a debug build, that caused
21597 * a mysterious segfault, when _Py_ForgetReference tried
21598 * to remove the object from the doubly-linked list of all
21599 * objects a second time. In a release build, an actual
21600 * double deallocation occurred, which leads to corruption
21601 * of the allocator's internal bookkeeping pointers. That's
21602 * so serious that maybe this should be a release-build
21603 * check instead of an assert?
21606 As shown in a backtrace at
21607 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
21609 this exact mistake. Before untracking its object, pygobject_dealloc
21610 calls PyObject_ClearWeakRefs() which can call back into python, create
21611 new allocations, and trigger the GC.
21613 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
21615 crash on a regular basis while interacting with widgets or launching
21618 Fix this by untracking the object early. Also fix the same issue
21620 in the GSource wrapper.
21622 Thanks to Bernie Innocenti for initial diagnosis.
21624 glib/pygsource.c | 6 ++++--
21625 gobject/pygobject.c | 8 +++++++-
21626 2 files changed, 11 insertions(+), 3 deletions(-)
21628 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
21629 Author: John (J5) Palmieri <johnp@redhat.com>
21630 Date: Tue May 31 16:59:41 2011 -0400
21632 [gi-invoke-ng] enable invoke-ng by default
21634 configure.ac | 8 ++++----
21635 1 file changed, 4 insertions(+), 4 deletions(-)
21637 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
21638 Author: John (J5) Palmieri <johnp@redhat.com>
21639 Date: Tue May 31 16:37:21 2011 -0400
21641 [gi-invoke-ng] add code to clean up when input values fail to marshal
21643 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
21644 1 file changed, 25 insertions(+), 5 deletions(-)
21646 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
21647 Author: John (J5) Palmieri <johnp@redhat.com>
21648 Date: Tue May 31 16:01:03 2011 -0400
21650 [gi-invoke-ng] add hash cleanup routines
21652 gi/pygi-cache.c | 2 ++
21653 gi/pygi-marshal-cleanup.c | 64
21654 +++++++++++++++++++++++++++++++++++++++++++++++
21655 gi/pygi-marshal-cleanup.h | 10 ++++++--
21656 3 files changed, 74 insertions(+), 2 deletions(-)
21658 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
21659 Author: John (J5) Palmieri <johnp@redhat.com>
21660 Date: Tue May 31 14:47:30 2011 -0400
21662 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
21664 gi/pygi-marshal-cleanup.c | 3 ++-
21665 1 file changed, 2 insertions(+), 1 deletion(-)
21667 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
21668 Author: John (J5) Palmieri <johnp@redhat.com>
21669 Date: Tue May 31 14:40:49 2011 -0400
21671 [gi-invoke-ng] add list cleanup routines
21673 gi/pygi-cache.c | 8 ++---
21674 gi/pygi-marshal-cleanup.c | 84
21675 +++++++++++++++++++++++++++++++++++++++++++++++
21676 gi/pygi-marshal-cleanup.h | 8 +++++
21677 3 files changed, 96 insertions(+), 4 deletions(-)
21679 commit 2e542c327cd52c1f77af28905557dd25c64175d8
21680 Author: John (J5) Palmieri <johnp@redhat.com>
21681 Date: Thu May 26 16:10:13 2011 -0400
21685 gi/pygi-marshal.c | 8 ++++----
21686 1 file changed, 4 insertions(+), 4 deletions(-)
21688 commit 601aec11c49e821fe97dd30a2187fe3c75844712
21689 Author: John (J5) Palmieri <johnp@redhat.com>
21690 Date: Thu May 26 16:09:38 2011 -0400
21692 [gi-invoke-ng] add out array cleanup
21694 gi/pygi-cache.c | 2 +-
21695 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
21696 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
21697 3 files changed, 56 insertions(+), 7 deletions(-)
21699 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
21700 Author: John (J5) Palmieri <johnp@redhat.com>
21701 Date: Thu May 26 13:22:38 2011 -0400
21703 [gi-invoke-ng] do not allocate null terminator for garray
21705 * We are simply setting our own array so we don't want any allocate
21708 gi/pygi-marshal.c | 2 +-
21709 1 file changed, 1 insertion(+), 1 deletion(-)
21711 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
21712 Author: John (J5) Palmieri <johnp@redhat.com>
21713 Date: Thu May 26 13:21:55 2011 -0400
21715 [gi-invoke-ng] add array cleanup for in arrays
21717 gi/pygi-cache.c | 2 +-
21718 gi/pygi-marshal-cleanup.c | 72
21719 ++++++++++++++++++++++++++++++++++++++++++++++-
21720 gi/pygi-marshal-cleanup.h | 9 ++++++
21721 gi/pygi-marshal.c | 13 +++++++--
21722 4 files changed, 91 insertions(+), 5 deletions(-)
21724 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
21725 Author: John (J5) Palmieri <johnp@redhat.com>
21726 Date: Mon May 23 17:06:30 2011 -0400
21728 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
21730 gi/pygi-invoke-ng.c | 7 +------
21731 gi/pygi-invoke-state-struct.h | 14 --------------
21732 2 files changed, 1 insertion(+), 20 deletions(-)
21734 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
21735 Author: John (J5) Palmieri <johnp@redhat.com>
21736 Date: Mon May 23 16:59:57 2011 -0400
21738 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
21741 * cleanup now has symmetry with setup so there are now in and out
21743 for each type that needs to be cleaned up
21744 * no longer use state machine but instead call different cleanup
21746 different stages of invoke, making it easier to understand what
21750 gi/pygi-cache.c | 19 ++-
21751 gi/pygi-cache.h | 7 +-
21752 gi/pygi-invoke-ng.c | 10 +-
21753 gi/pygi-invoke-state-struct.h | 2 +
21754 gi/pygi-marshal-cleanup.c | 301
21755 +++++++++++++++++-------------------------
21756 gi/pygi-marshal-cleanup.h | 45 ++++---
21757 gi/pygi-marshal.c | 15 +--
21758 7 files changed, 174 insertions(+), 225 deletions(-)
21760 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
21761 Author: John (J5) Palmieri <johnp@redhat.com>
21762 Date: Thu May 12 17:29:20 2011 -0400
21764 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
21766 * The state machine concept of cleaning up was getting a bit messy.
21767 It was like we took a big bowl of spaghetti code and dumped it.
21768 * Now we call specific cleanup functions at the point of failure (or
21769 successful completion of a marshalling stage)
21771 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
21772 gi/pygi-marshal-cleanup.c | 72
21773 +++++++++++++++++++++++++++++++++++++++++++++++
21774 gi/pygi-marshal-cleanup.h | 14 +++++++++
21775 3 files changed, 135 insertions(+), 10 deletions(-)
21777 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
21778 Author: José Alburquerque <jaalburqu@svn.gnome.org>
21779 Date: Thu May 12 11:53:40 2011 -0400
21781 Doc Extractor: Correct the logic of the --no-since option.
21783 * codegen/docextract.py (process_final_sections): If the
21785 option has been specified and a "Since:" is encountered during the
21786 processing of the final sections, simply don't append the
21788 instead of reading the next line. This preserves the logical
21792 codegen/docextract.py | 4 ++--
21793 1 file changed, 2 insertions(+), 2 deletions(-)
21795 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
21796 Author: José Alburquerque <jaalburqu@svn.gnome.org>
21797 Date: Mon May 9 17:32:09 2011 -0400
21799 Doc Extractor: Add a --no-since option.
21801 * codegen/docextract.py:
21802 * codegen/docextract_to_xml.py: Modified so that if a --no-since
21803 option is specified at the command line, the "Since: ..." portion
21805 the gtkdoc function block is omitted. This is useful for C++
21807 such as gstreamermm where this information would not be useful
21809 as the C API is still unstable.
21811 codegen/docextract.py | 15 ++++++++++++++-
21812 codegen/docextract_to_xml.py | 9 ++++++---
21813 2 files changed, 20 insertions(+), 4 deletions(-)
21815 commit 4f615c6e300d6f2d7551b640efa301060206ab58
21816 Author: John (J5) Palmieri <johnp@redhat.com>
21817 Date: Thu May 5 14:04:34 2011 -0400
21819 [gi-invoke-ng] tweek cleanup routines
21821 gi/pygi-cache.c | 5 +++
21822 gi/pygi-marshal-cleanup.c | 87
21823 +++++++++++++++++++++++++++++++++++------------
21824 gi/pygi-marshal-cleanup.h | 6 ++--
21825 gi/pygi-marshal.c | 11 ++----
21826 4 files changed, 76 insertions(+), 33 deletions(-)
21828 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
21829 Author: Martin Pitt <martin.pitt@ubuntu.com>
21830 Date: Mon May 2 15:49:52 2011 +0200
21832 Fix symbol names to be locale independent
21834 We currently use upper() to present enum values, which are usually
21836 lower case in the typelib, in upper cases. However, upper() is locale
21837 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
21838 because Turkish has some extra variants of "i".
21840 Use a local ASCII-only translate() call instead to avoid this. Thanks
21842 Philippsen for the idea!
21844 This also adds a test locale "te_ST@nouppera" which defines
21845 toupper('a') == 'a'.
21846 Run the Enum tests under this locale to reproduce the bug and verify
21849 https://bugzilla.gnome.org/show_bug.cgi?id=649165
21851 gi/module.py | 9 ++++++++-
21852 tests/te_ST@nouppera | 50
21853 ++++++++++++++++++++++++++++++++++++++++++++++++++
21854 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
21855 3 files changed, 88 insertions(+), 1 deletion(-)
21857 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
21858 Author: Martin Pitt <martin.pitt@ubuntu.com>
21859 Date: Wed May 4 08:35:27 2011 +0200
21861 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
21863 pygi-convert.sh | 1 +
21864 1 file changed, 1 insertion(+)
21866 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
21867 Author: John (J5) Palmieri <johnp@redhat.com>
21868 Date: Fri Apr 29 17:41:08 2011 -0400
21870 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
21872 gi/pygi-cache.c | 2 ++
21873 1 file changed, 2 insertions(+)
21875 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
21876 Author: John (J5) Palmieri <johnp@redhat.com>
21877 Date: Fri Apr 29 17:40:13 2011 -0400
21879 [gi-invoke-ng] handle caller allocates cleanup
21881 gi/pygi-invoke-ng.c | 5 ++-
21882 gi/pygi-marshal-cleanup.c | 104
21883 ++++++++++++++++++++++++++++++++++++----------
21884 gi/pygi-marshal-cleanup.h | 7 ++--
21885 3 files changed, 90 insertions(+), 26 deletions(-)
21887 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
21888 Author: John (J5) Palmieri <johnp@redhat.com>
21889 Date: Thu Apr 28 19:16:02 2011 -0400
21891 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
21894 gi/pygi-cache.c | 15 ++-----------
21895 gi/pygi-invoke-ng.c | 8 +++----
21896 gi/pygi-invoke-state-struct.h | 2 ++
21897 gi/pygi-marshal-cleanup.c | 51
21898 ++++++++++++++++++++++++++++++++++++++++++-
21899 gi/pygi-marshal-cleanup.h | 3 +++
21900 5 files changed, 60 insertions(+), 19 deletions(-)
21902 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
21903 Author: John (J5) Palmieri <johnp@redhat.com>
21904 Date: Wed Apr 27 15:47:19 2011 -0400
21906 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
21909 * PyCObject is deprecated and pycairo 1.10.0 is first release to
21912 configure.ac | 15 +++++++++++----
21913 gi/pygi-foreign-cairo.c | 2 +-
21914 2 files changed, 12 insertions(+), 5 deletions(-)
21916 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
21917 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21918 Date: Thu Apr 21 16:52:20 2011 +0200
21920 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
21922 gi/pygi-foreign-cairo.c | 7 ++++++-
21923 1 file changed, 6 insertions(+), 1 deletion(-)
21925 commit 3e933784df423757e591d703614cb700adb0bbe0
21926 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21927 Date: Mon Apr 18 18:36:25 2011 +0200
21931 pygobject.doap | 15 +++++++++++++++
21932 1 file changed, 15 insertions(+)
21934 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
21935 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21936 Date: Sat Apr 16 16:02:05 2011 +0200
21938 [gi] Don't create variant twice
21940 gi/overrides/GLib.py | 2 +-
21941 1 file changed, 1 insertion(+), 1 deletion(-)
21943 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
21944 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21945 Date: Fri Apr 15 16:14:43 2011 +0200
21947 pygi-convert.sh: Make sure the uppercase GObject module is imported
21948 instead of the lowercase
21950 https://bugzilla.gnome.org/show_bug.cgi?id=647736
21952 pygi-convert.sh | 1 +
21953 1 file changed, 1 insertion(+)
21955 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
21956 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21957 Date: Fri Apr 15 15:58:53 2011 +0200
21959 [gi] Removed hack to avoid using GLib.Variant.new_variant.
21961 The bug in the annotations of GLib is fixed now.
21962 https://bugzilla.gnome.org/show_bug.cgi?id=639952
21963 https://bugzilla.gnome.org/show_bug.cgi?id=647796
21965 gi/overrides/GLib.py | 14 +-------------
21966 1 file changed, 1 insertion(+), 13 deletions(-)
21968 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
21969 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21970 Date: Fri Apr 15 15:58:31 2011 +0200
21972 [gi] Added additional test case for GVariant handling
21974 tests/test_overrides.py | 15 +++++++++++++++
21975 1 file changed, 15 insertions(+)
21977 commit 138df2778543409752e229a09828a805f68a420d
21978 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21979 Date: Mon Apr 11 18:34:31 2011 +0200
21981 [gi] Added support for GVariant arguments
21983 This is required in order for the "g-signal" signal of GDBusProxy
21984 to work properly and thus to properly receive DBus signals with any
21987 https://bugzilla.gnome.org/show_bug.cgi?id=647477
21989 gi/pygi-argument.c | 2 ++
21990 1 file changed, 2 insertions(+)
21992 commit 985f239d891c7697d76ccecb797b189669ae6ee1
21993 Author: John (J5) Palmieri <johnp@redhat.com>
21994 Date: Tue Mar 22 18:46:28 2011 -0400
21996 fix static ABI for setting string gvalues from python objects
21998 * the static bindings used to be able to set a string gvalue to
22000 object that implemented __str__, for instance when setting a
22002 * this restores that code while still keeping unicode and python 3
22005 gobject/pygtype.c | 28 +++++++++++++++++++---------
22006 tests/test_properties.py | 8 ++++++++
22007 2 files changed, 27 insertions(+), 9 deletions(-)
22009 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
22010 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22011 Date: Tue Mar 22 20:47:51 2011 +0100
22013 dsextras.py: ensure eol characters are preserved when writing template
22014 files (so \n does not become \r\n)
22017 1 file changed, 1 insertion(+), 1 deletion(-)
22019 commit 629d267478982c426ba61a639d5c9603fed856e6
22020 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22021 Date: Tue Mar 22 11:35:44 2011 +0100
22023 dsextras.py: remove \r as wel as \n character
22026 1 file changed, 1 insertion(+), 1 deletion(-)
22028 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
22029 Author: John (J5) Palmieri <johnp@redhat.com>
22030 Date: Wed Apr 27 15:47:19 2011 -0400
22032 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
22035 * PyCObject is deprecated and pycairo 1.10.0 is first release to
22038 configure.ac | 15 +++++++++++----
22039 gi/pygi-foreign-cairo.c | 2 +-
22040 2 files changed, 12 insertions(+), 5 deletions(-)
22042 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
22043 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22044 Date: Thu Apr 21 16:52:20 2011 +0200
22046 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
22048 gi/pygi-foreign-cairo.c | 7 ++++++-
22049 1 file changed, 6 insertions(+), 1 deletion(-)
22051 commit 91ec337359720839862d3f5a8a0ea98f760a0752
22052 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22053 Date: Mon Apr 18 18:36:25 2011 +0200
22057 pygobject.doap | 15 +++++++++++++++
22058 1 file changed, 15 insertions(+)
22060 commit 05c766044c83340c44564d0097514bfc1d1d9df7
22061 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22062 Date: Sat Apr 16 16:02:05 2011 +0200
22064 [gi] Don't create variant twice
22066 gi/overrides/GLib.py | 2 +-
22067 1 file changed, 1 insertion(+), 1 deletion(-)
22069 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
22070 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22071 Date: Fri Apr 15 16:14:43 2011 +0200
22073 pygi-convert.sh: Make sure the uppercase GObject module is imported
22074 instead of the lowercase
22076 https://bugzilla.gnome.org/show_bug.cgi?id=647736
22078 pygi-convert.sh | 1 +
22079 1 file changed, 1 insertion(+)
22081 commit af31729573de24161ee90563e5738187c749783c
22082 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22083 Date: Fri Apr 15 15:58:53 2011 +0200
22085 [gi] Removed hack to avoid using GLib.Variant.new_variant.
22087 The bug in the annotations of GLib is fixed now.
22088 https://bugzilla.gnome.org/show_bug.cgi?id=639952
22089 https://bugzilla.gnome.org/show_bug.cgi?id=647796
22091 gi/overrides/GLib.py | 14 +-------------
22092 1 file changed, 1 insertion(+), 13 deletions(-)
22094 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
22095 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22096 Date: Fri Apr 15 15:58:31 2011 +0200
22098 [gi] Added additional test case for GVariant handling
22100 tests/test_overrides.py | 15 +++++++++++++++
22101 1 file changed, 15 insertions(+)
22103 commit 65aa040e86d94ee6bb227a2bce09668b60208027
22104 Author: John (J5) Palmieri <johnp@redhat.com>
22105 Date: Tue Apr 12 14:51:35 2011 -0400
22107 [gi-invoke-ng] fix prototype
22109 gi/pygi-cache.h | 2 +-
22110 1 file changed, 1 insertion(+), 1 deletion(-)
22112 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
22113 Author: John (J5) Palmieri <johnp@redhat.com>
22114 Date: Tue Apr 12 14:48:16 2011 -0400
22116 [gi-invoke-ng] create new framework for cleaning up args
22118 * we now have a state machine so we know what point in the marshalling
22120 we are and which args need to be cleaned up
22121 * call the cleanup functions after invoking the gi callable, after
22123 the out parameters and at any time an error occures
22125 gi/Makefile.am | 4 ++-
22126 gi/pygi-cache.c | 25 +++++++------
22127 gi/pygi-cache.h | 5 ++-
22128 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
22129 gi/pygi-invoke-state-struct.h | 13 +++++++
22130 gi/pygi-marshal-cleanup.c | 81
22131 +++++++++++++++++++++++++++++++++++++++++++
22132 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
22133 gi/pygi-marshal.c | 1 +
22134 8 files changed, 187 insertions(+), 19 deletions(-)
22136 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
22137 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22138 Date: Mon Apr 11 18:34:31 2011 +0200
22140 [gi] Added support for GVariant arguments
22142 This is required in order for the "g-signal" signal of GDBusProxy
22143 to work properly and thus to properly receive DBus signals with any
22146 https://bugzilla.gnome.org/show_bug.cgi?id=647477
22148 gi/pygi-argument.c | 2 ++
22149 1 file changed, 2 insertions(+)
22151 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
22152 Author: John (J5) Palmieri <johnp@redhat.com>
22153 Date: Wed Mar 30 16:40:31 2011 -0400
22155 [gi-invoke-ng] fix marshal header that is no longer part of
22158 gi/pygi-marshal.h | 8 ++++----
22159 1 file changed, 4 insertions(+), 4 deletions(-)
22161 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
22162 Author: John (J5) Palmieri <johnp@redhat.com>
22163 Date: Wed Mar 30 15:53:13 2011 -0400
22165 [gi-invoke-ng] code style space fixes
22167 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
22168 gi/pygi-invoke-ng.c | 145 +++++++-------
22169 gi/pygi-marshal.c | 565
22170 ++++++++++++++++++++++++++--------------------------
22171 3 files changed, 566 insertions(+), 564 deletions(-)
22173 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
22174 Author: John (J5) Palmieri <johnp@redhat.com>
22175 Date: Tue Mar 29 16:54:44 2011 -0400
22177 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
22179 gi/pygi-invoke-ng.c | 1 -
22180 1 file changed, 1 deletion(-)
22182 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
22183 Author: John (J5) Palmieri <johnp@redhat.com>
22184 Date: Tue Mar 29 15:23:06 2011 -0400
22186 [gi-invoke-ng] return None when appropriate so we don't crash
22188 gi/pygi-marshal.c | 18 +++++++++++++++++-
22189 1 file changed, 17 insertions(+), 1 deletion(-)
22191 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
22192 Author: John (J5) Palmieri <johnp@redhat.com>
22193 Date: Tue Mar 29 15:21:41 2011 -0400
22195 [gi-invoke-ng] fix aux value caching
22197 gi/pygi-cache.c | 15 ++++++++++-----
22198 1 file changed, 10 insertions(+), 5 deletions(-)
22200 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
22201 Author: John (J5) Palmieri <johnp@redhat.com>
22202 Date: Mon Mar 28 20:25:46 2011 -0400
22204 [gi-invoke-ng] backport handling flags with no gtype
22206 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
22207 1 file changed, 24 insertions(+), 1 deletion(-)
22209 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
22210 Author: John (J5) Palmieri <johnp@redhat.com>
22211 Date: Mon Mar 28 18:32:00 2011 -0400
22213 [gi-invoke-ng] backport raw gvalue handling
22215 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
22216 1 file changed, 18 insertions(+), 5 deletions(-)
22218 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
22219 Author: John (J5) Palmieri <johnp@redhat.com>
22220 Date: Mon Mar 28 18:30:31 2011 -0400
22222 [gi-invoke-ng] marshal instances seperately since they differ slightly
22225 gi/pygi-cache.c | 2 +-
22226 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
22227 2 files changed, 39 insertions(+), 1 deletion(-)
22229 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
22230 Author: John (J5) Palmieri <johnp@redhat.com>
22231 Date: Mon Mar 28 18:26:09 2011 -0400
22233 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
22235 gi/pygi-cache.c | 392
22236 +++++++++++++++++++++++++++-------------------------
22237 gi/pygi-cache.h | 12 +-
22238 gi/pygi-info.c | 2 +-
22239 gi/pygi-invoke-ng.c | 40 +++---
22240 gi/pygi-marshal.c | 140 +++++++++----------
22241 gi/pygi-marshal.h | 159 +++++++++------------
22243 7 files changed, 362 insertions(+), 385 deletions(-)
22245 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
22246 Author: John (J5) Palmieri <johnp@redhat.com>
22247 Date: Mon Mar 28 15:01:12 2011 -0400
22249 [gi-invoke-rewrite] backport glib error handling
22251 gi/pygi-invoke-ng.c | 14 ++++++--------
22252 1 file changed, 6 insertions(+), 8 deletions(-)
22254 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
22255 Author: John (J5) Palmieri <johnp@redhat.com>
22256 Date: Fri Mar 25 18:48:42 2011 -0400
22258 [gi-invoke-ng] backport closure passing from invoke
22260 gi/pygi-marshal.c | 13 ++++++++++---
22261 1 file changed, 10 insertions(+), 3 deletions(-)
22263 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
22264 Author: John (J5) Palmieri <johnp@redhat.com>
22265 Date: Fri Mar 25 18:47:36 2011 -0400
22267 [gi-invoke-ng] handle vfuncs and fix cosntrutors
22269 gi/pygi-cache.c | 9 +++++++
22270 gi/pygi-cache.h | 2 ++
22271 gi/pygi-invoke-ng.c | 56
22272 ++++++++++++++++++++++++++++++++-----------
22273 gi/pygi-invoke-state-struct.h | 2 ++
22274 4 files changed, 55 insertions(+), 14 deletions(-)
22276 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
22277 Author: John (J5) Palmieri <johnp@redhat.com>
22278 Date: Fri Mar 25 18:39:06 2011 -0400
22280 [gi-invoke-ng] handle foreign types correctly
22282 gi/pygi-cache.c | 22 ++++++----------------
22283 gi/pygi-marshal.c | 3 +++
22284 2 files changed, 9 insertions(+), 16 deletions(-)
22286 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
22287 Author: John (J5) Palmieri <johnp@redhat.com>
22288 Date: Fri Mar 25 13:14:01 2011 -0400
22290 [gi] remove the class parameter from the argument list of constructors
22292 * constructors pass in their class to be constructed. Since we
22294 and g_object_new to do the construction we ignore this for now but
22295 keep it around in the state for future use.
22297 gi/pygi-invoke-ng.c | 46
22298 +++++++++++++++++++++++++++++++++++++------
22299 gi/pygi-invoke-state-struct.h | 1 +
22300 2 files changed, 41 insertions(+), 6 deletions(-)
22302 commit 0534eb0e843cdf09611143da184052f7e549e4dc
22303 Author: John (J5) Palmieri <johnp@redhat.com>
22304 Date: Tue Mar 22 18:46:28 2011 -0400
22306 fix static ABI for setting string gvalues from python objects
22308 * the static bindings used to be able to set a string gvalue to
22310 object that implemented __str__, for instance when setting a
22312 * this restores that code while still keeping unicode and python 3
22315 gobject/pygtype.c | 28 +++++++++++++++++++---------
22316 tests/test_properties.py | 8 ++++++++
22317 2 files changed, 27 insertions(+), 9 deletions(-)
22319 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
22320 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22321 Date: Tue Mar 22 20:47:51 2011 +0100
22323 dsextras.py: ensure eol characters are preserved when writing template
22324 files (so \n does not become \r\n)
22327 1 file changed, 1 insertion(+), 1 deletion(-)
22329 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
22330 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22331 Date: Tue Mar 22 11:35:44 2011 +0100
22333 dsextras.py: remove \r as wel as \n character
22336 1 file changed, 1 insertion(+), 1 deletion(-)
22338 commit 86c436978c933f6ebe17627abe98325ce66f6baa
22339 Author: John (J5) Palmieri <johnp@redhat.com>
22340 Date: Tue Mar 22 16:13:58 2011 -0400
22342 [gi] make new invoke-ng codepath compile correctly
22345 gi/Makefile.am | 5 +-
22346 gi/pygi-cache.c | 2 +-
22347 gi/pygi-invoke-ng.c | 841 ----------------------
22348 gi/pygi-marshal.c | 1962
22349 +--------------------------------------------------
22350 gi/pygi-private.h | 4 +-
22351 6 files changed, 9 insertions(+), 2809 deletions(-)
22353 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
22354 Author: John (J5) Palmieri <johnp@redhat.com>
22355 Date: Tue Mar 22 15:40:02 2011 -0400
22357 [gi] conditionalize invoke code paths
22359 configure.ac | 7 +++++++
22360 gi/Makefile.am | 20 +++++++++++++++-----
22361 gi/pygi-cache.h | 2 ++
22362 gi/pygi-info.c | 4 +++-
22363 gi/pygi-private.h | 9 +++++++--
22365 6 files changed, 37 insertions(+), 9 deletions(-)
22367 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
22368 Author: John (J5) Palmieri <johnp@redhat.com>
22369 Date: Tue Mar 22 15:37:24 2011 -0400
22371 [gi] revert back to the type.py from master
22373 gi/types.py | 21 +++++++++++++++------
22374 1 file changed, 15 insertions(+), 6 deletions(-)
22376 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
22377 Author: John (J5) Palmieri <johnp@redhat.com>
22378 Date: Tue Mar 22 14:46:29 2011 -0400
22380 [gi] revert pygi-argument.h and move the invoke-ng code to
22383 gi/pygi-argument.h | 268 +-----------------------------------------
22384 gi/pygi-marshal.h | 336
22385 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22386 2 files changed, 337 insertions(+), 267 deletions(-)
22388 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
22389 Merge: 7332a1b 01596a9
22390 Author: John (J5) Palmieri <johnp@redhat.com>
22391 Date: Tue Mar 22 13:34:36 2011 -0400
22393 Merge branch 'master' into invoke-rewrite
22398 gi/pygi-foreign-cairo.c
22399 gi/pygi-foreign-gvariant.c
22400 gi/pygi-foreign-gvariant.h
22406 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
22407 Author: John (J5) Palmieri <johnp@redhat.com>
22408 Date: Tue Mar 22 13:20:54 2011 -0400
22410 [gi] foreign types now take interface infos instead of type infos
22412 * this is a prep for the invoke-rewrite branch
22413 * when marshalling foreign structs we may not have the type info but
22414 we will always have the interface info to pass
22415 * this simplifies the code because we were simply converting the
22416 type info back to an interface info anyway so there is less
22417 refcounting to keep track of
22418 * also fixes a bug where we were leaking PyNone ref counts
22420 gi/pygi-argument.c | 4 ++--
22421 gi/pygi-foreign-cairo.c | 16 ++++++++--------
22422 gi/pygi-foreign-gvariant.c | 12 ++++++------
22423 gi/pygi-foreign.c | 32 +++++++++++++-------------------
22424 gi/pygi-foreign.h | 8 ++++----
22425 gi/pygi-invoke.c | 6 +++---
22426 gi/pygi.h | 12 ++++++------
22427 7 files changed, 42 insertions(+), 48 deletions(-)
22429 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
22430 Author: Martin Pitt <martin.pitt@ubuntu.com>
22431 Date: Tue Mar 22 15:04:01 2011 +0100
22433 Fix GSchema tests for separate build tree
22435 When using a separate build tree, the compiled GSettings schema will
22437 build tree, but as the test scripts are only in the source tree they
22439 the compiled schema. Pass the build dir as environment variable and
22441 over test_overrides.py's directory.
22443 tests/Makefile.am | 3 ++-
22444 tests/test_overrides.py | 4 +++-
22445 2 files changed, 5 insertions(+), 2 deletions(-)
22447 commit 7332a1b99775519fdc5500cab6628b713e946a8c
22448 Author: John (J5) Palmieri <johnp@redhat.com>
22449 Date: Mon Mar 21 19:03:29 2011 -0400
22451 [gi] start of merge from master
22453 * move some of the modified files that will cause merge conflicts
22455 own, nonconflicting files
22456 * copy the old files out of master
22458 gi/pygi-argument.c | 2101 +++------------------------
22459 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
22460 gi/pygi-invoke.c | 421 ++----
22461 gi/pygi-marshal.c | 3916
22462 +++++++++++++++++++++++++++++++++++++++++++++++++++
22463 4 files changed, 5389 insertions(+), 2228 deletions(-)
22465 commit 62b49dae97441953452d097cb1751df14302547a
22466 Author: John (J5) Palmieri <johnp@redhat.com>
22467 Date: Wed Mar 16 17:34:18 2011 -0400
22469 [gi] marshal raw closures
22471 * before we were able to marshal python callables into methods
22473 GClosures but we had no way to take a GClosure returned from one
22474 method and pass it to another - this enables that usecase
22476 https://bugzilla.gnome.org/show_bug.cgi?id=644757
22478 gi/pygi-argument.c | 17 ++++++++++-------
22479 tests/test_gi.py | 4 ++++
22480 2 files changed, 14 insertions(+), 7 deletions(-)
22482 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
22483 Author: John Stowers <john.stowers@gmail.com>
22484 Date: Sun Mar 6 23:41:01 2011 +1300
22486 pygi-convert.sh add GObject.xxx and webkit
22488 https://bugzilla.gnome.org/show_bug.cgi?id=644347
22490 pygi-convert.sh | 7 +++++++
22491 1 file changed, 7 insertions(+)
22493 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
22494 Author: John Stowers <john.stowers@gmail.com>
22495 Date: Sun Mar 6 23:41:30 2011 +1300
22497 pygi-convert.sh remove gobject tests, GObject works now
22499 https://bugzilla.gnome.org/show_bug.cgi?id=644347
22501 pygi-convert.sh | 28 ----------------------------
22502 1 file changed, 28 deletions(-)
22504 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
22505 Author: John (J5) Palmieri <johnp@redhat.com>
22506 Date: Fri Mar 11 14:09:02 2011 -0500
22508 [gi-demos] add pickers demo
22510 demos/gtk-demo/demos/pickers.py | 74
22511 +++++++++++++++++++++++++++++++++++++++++
22512 1 file changed, 74 insertions(+)
22514 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
22515 Author: John (J5) Palmieri <johnp@redhat.com>
22516 Date: Thu Mar 10 18:12:50 2011 -0500
22518 [gi-demos] add menu demo
22520 demos/gtk-demo/demos/menus.py | 122
22521 ++++++++++++++++++++++++++++++++++++++++++
22522 1 file changed, 122 insertions(+)
22524 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
22525 Author: John (J5) Palmieri <johnp@redhat.com>
22526 Date: Wed Mar 9 13:02:50 2011 -0500
22528 [gi-overrides] fix exception block so it works in Python 2.5
22530 gi/overrides/Gio.py | 5 ++++-
22531 1 file changed, 4 insertions(+), 1 deletion(-)
22533 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
22534 Author: Martin Pitt <martin.pitt@ubuntu.com>
22535 Date: Mon Mar 21 13:19:58 2011 +0100
22537 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
22539 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
22541 This introduces additional libpython dependencies, which breaks
22543 which support multiple Python versions, and also causes the python
22545 to be in memory twice in some cases.
22547 https://bugzilla.gnome.org/show_bug.cgi?id=620215
22549 gi/Makefile.am | 4 +---
22550 glib/Makefile.am | 2 +-
22551 m4/python.m4 | 7 ++-----
22552 tests/Makefile.am | 2 +-
22553 4 files changed, 5 insertions(+), 10 deletions(-)
22555 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
22556 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22557 Date: Fri Mar 18 17:06:08 2011 +0100
22559 setup.py: fix user_access_control option
22562 1 file changed, 1 insertion(+), 1 deletion(-)
22564 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
22565 Author: Martin Pitt <martin.pitt@ubuntu.com>
22566 Date: Wed Mar 16 10:22:35 2011 +0100
22568 [gi] Respect the MessageType for Gtk.MessageDialog
22570 Don't just ignore the type argument, actually pass it on. Thanks
22572 Chou for spotting this!
22574 gi/overrides/Gtk.py | 1 +
22575 1 file changed, 1 insertion(+)
22577 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
22578 Author: Martin Pitt <martin.pitt@ubuntu.com>
22579 Date: Tue Mar 15 10:22:39 2011 +0100
22581 [gi] Do not require signature for D-BUS methods without arguments
22583 Calling methods on DBusProxy objects usually requires specifying
22585 as first argument. However, if the D-BUS method does not take any
22587 specifying the empty '()' signature does not give any additional
22589 so allow the caller to just call the proxy method without any
22592 Also ensure that passing a non-string signature raises a
22594 exception, instead of crashing deep in the GVariant leaf constructor.
22596 https://bugzilla.gnome.org/show_bug.cgi?id=644260
22598 gi/overrides/Gio.py | 16 +++++++++++++++-
22599 tests/test_gdbus.py | 13 +++++++++++++
22600 2 files changed, 28 insertions(+), 1 deletion(-)
22602 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
22603 Author: John Stowers <john.stowers@gmail.com>
22604 Date: Sun Mar 6 23:05:33 2011 +1300
22606 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
22608 https://bugzilla.gnome.org/show_bug.cgi?id=644343
22610 gi/overrides/Gtk.py | 2 ++
22611 1 file changed, 2 insertions(+)
22613 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
22614 Author: John Stowers <john.stowers@gmail.com>
22615 Date: Sun Mar 6 17:48:04 2011 +1300
22617 [gi-demos] dont try and run demos that represent directories
22619 demos/gtk-demo/gtk-demo.py | 3 ++-
22620 1 file changed, 2 insertions(+), 1 deletion(-)
22622 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
22623 Author: John (J5) Palmieri <johnp@redhat.com>
22624 Date: Mon Mar 7 18:09:18 2011 -0500
22626 [gi-demos] some python 3 compat fixes
22628 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
22629 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
22630 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
22631 demos/gtk-demo/gtk-demo.py | 4 ++--
22632 4 files changed, 11 insertions(+), 5 deletions(-)
22634 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
22635 Author: John (J5) Palmieri <johnp@redhat.com>
22636 Date: Tue Feb 22 15:07:40 2011 -0500
22638 [gi-demos] add liststore demo
22640 demos/gtk-demo/demos/Tree View/__init__.py | 0
22641 demos/gtk-demo/demos/Tree View/liststore.py | 205
22642 ++++++++++++++++++++++++++++
22643 2 files changed, 205 insertions(+)
22645 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
22646 Author: John (J5) Palmieri <johnp@redhat.com>
22647 Date: Mon Mar 7 18:08:40 2011 -0500
22649 [gi-demos] catch the correct error class
22651 demos/gtk-demo/demos/images.py | 11 ++++++-----
22652 1 file changed, 6 insertions(+), 5 deletions(-)
22654 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
22655 Author: Steve Frécinaux <code@istique.net>
22656 Date: Sun Mar 6 21:18:36 2011 +0100
22658 Do not leak python references when using the gobject.property()
22661 Since this helper was storing plain references in a long-lived
22663 refcount for the instances would never drop to zero, and so they would
22664 never get finalized.
22666 https://bugzilla.gnome.org/show_bug.cgi?id=644039
22668 gobject/propertyhelper.py | 5 ++---
22669 tests/test_properties.py | 23 +++++++++++++++++++++++
22670 2 files changed, 25 insertions(+), 3 deletions(-)
22672 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
22673 Author: John (J5) Palmieri <johnp@redhat.com>
22674 Date: Fri Mar 4 12:25:49 2011 -0500
22676 handle uchar as bytes, not strings in python 3
22678 * This worked in Python2 because bytes and strings are equivilant
22680 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
22681 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
22683 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
22684 and a PyBytes object in Python 3
22686 gobject/pygtype.c | 2 +-
22687 1 file changed, 1 insertion(+), 1 deletion(-)
22689 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
22690 Author: John (J5) Palmieri <johnp@redhat.com>
22691 Date: Fri Mar 4 12:24:35 2011 -0500
22693 [gi-overrides] handle unichar gvalues when setting treemodels
22695 gi/overrides/Gtk.py | 10 ++++++++++
22696 1 file changed, 10 insertions(+)
22698 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
22699 Author: John (J5) Palmieri <johnp@redhat.com>
22700 Date: Fri Mar 4 11:43:51 2011 -0500
22702 [gi-overrides] special case python 2 keywords that crept in
22704 gi/overrides/Gtk.py | 6 +++++-
22705 tests/test_overrides.py | 8 ++++----
22706 2 files changed, 9 insertions(+), 5 deletions(-)
22708 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
22709 Author: John (J5) Palmieri <johnp@redhat.com>
22710 Date: Fri Mar 4 11:10:16 2011 -0500
22712 check for the py3 _thread module in configure.ac if thread is
22715 configure.ac | 6 +++++-
22716 1 file changed, 5 insertions(+), 1 deletion(-)
22718 commit 4645af87d3c587f535404867dab56608719e5c7b
22719 Author: John (J5) Palmieri <johnp@redhat.com>
22720 Date: Fri Mar 4 00:39:23 2011 -0500
22722 [gi-demos] add iconview demo
22724 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
22725 +++++++++++++++++++++++
22726 1 file changed, 212 insertions(+)
22728 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
22729 Author: John (J5) Palmieri <johnp@redhat.com>
22730 Date: Thu Mar 3 18:39:16 2011 -0500
22732 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
22734 * python < 2.6 does not allow sending in keyword litterals after
22736 *args. You can only send in **kwds.
22739 1 file changed, 1 insertion(+), 1 deletion(-)
22741 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
22742 Author: John (J5) Palmieri <johnp@redhat.com>
22743 Date: Thu Mar 3 18:30:40 2011 -0500
22745 [gi-demos] add the combobox with string ids section to the demos
22747 demos/gtk-demo/demos/combobox.py | 49
22748 +++++++++++++++++++++++++++++++++++++++-
22749 1 file changed, 48 insertions(+), 1 deletion(-)
22751 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
22752 Author: John (J5) Palmieri <johnp@redhat.com>
22753 Date: Thu Mar 3 16:47:51 2011 -0500
22755 [gi-overrides] add an override for Gdk.RGBA
22757 gi/overrides/Gdk.py | 18 ++++++++++++++++++
22758 tests/test_overrides.py | 10 ++++++++++
22759 2 files changed, 28 insertions(+)
22761 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
22762 Author: John (J5) Palmieri <johnp@redhat.com>
22763 Date: Thu Mar 3 16:10:17 2011 -0500
22765 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
22768 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
22769 1 file changed, 9 insertions(+), 14 deletions(-)
22771 commit cd046e4c355706ead5f512b810a2a48317f8c32e
22772 Author: John (J5) Palmieri <johnp@redhat.com>
22773 Date: Wed Mar 2 18:13:43 2011 -0500
22775 [gi-demos] add search entry demo
22777 demos/gtk-demo/demos/Entry/search_entry.py | 257
22778 +++++++++++++++++++++++++++++
22779 1 file changed, 257 insertions(+)
22781 commit d5ddaa92e6349c2f52b67317326060973cb69661
22782 Author: John (J5) Palmieri <johnp@redhat.com>
22783 Date: Wed Mar 2 15:37:27 2011 -0500
22785 [gi] wrap map in a list for Python 3 compat
22788 1 file changed, 1 insertion(+), 1 deletion(-)
22790 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
22791 Author: John (J5) Palmieri <johnp@redhat.com>
22792 Date: Tue Mar 1 14:52:00 2011 -0500
22794 [gi-demos] fix up the validation combobox
22796 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
22797 1 file changed, 15 insertions(+), 6 deletions(-)
22799 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
22800 Author: John (J5) Palmieri <johnp@redhat.com>
22801 Date: Tue Mar 1 12:31:35 2011 -0500
22803 add overridesdir variable in the .pc file for 3rd party overrides
22805 pygobject-2.0.pc.in | 1 +
22806 1 file changed, 1 insertion(+)
22808 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
22809 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22810 Date: Fri Feb 11 17:14:11 2011 +0100
22812 setup.py: Set bdist_wininst user-access-control property
22815 1 file changed, 2 insertions(+), 1 deletion(-)
22817 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
22818 Author: Martin Pitt <martin.pitt@ubuntu.com>
22819 Date: Wed Mar 2 16:29:00 2011 +0100
22821 Fix uninitialized variable in gi.require_version()
22823 gi/__init__.py | 3 ++-
22824 1 file changed, 2 insertions(+), 1 deletion(-)
22826 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
22827 Author: Martin Pitt <martin.pitt@ubuntu.com>
22828 Date: Tue Mar 1 23:26:07 2011 +0100
22830 Run tests with LC_MESSAGES="C"
22832 Some tests, such as tests/test_gdbus.py check parts of error messages
22834 visible strings. Ensure that these do not get translated in the
22837 tests/runtests.py | 2 ++
22838 1 file changed, 2 insertions(+)
22840 commit 0461e05174637ae02f34029b85ba217d5ae48c53
22841 Author: John (J5) Palmieri <johnp@redhat.com>
22842 Date: Mon Feb 28 18:21:43 2011 -0500
22844 [gi-overrides] override Gtk.stock_lookup to not return success
22846 demos/gtk-demo/demos/combobox.py | 2 +-
22847 gi/overrides/Gtk.py | 9 +++++++++
22848 2 files changed, 10 insertions(+), 1 deletion(-)
22850 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
22851 Author: John (J5) Palmieri <johnp@redhat.com>
22852 Date: Mon Feb 28 14:16:00 2011 -0500
22854 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
22857 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
22858 1 file changed, 50 insertions(+)
22860 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
22861 Author: John (J5) Palmieri <johnp@redhat.com>
22862 Date: Mon Feb 28 14:08:05 2011 -0500
22864 [gi-tests] use Gdk.test_simulate_button instead of emitting event
22867 * this function is available specifically so we can test events so
22869 instead of creating our own button press event
22871 tests/test_overrides.py | 9 +++++----
22872 1 file changed, 5 insertions(+), 4 deletions(-)
22874 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
22875 Author: Laszlo Pandy <lpandy@src.gnome.org>
22876 Date: Thu Feb 24 19:30:32 2011 +0100
22878 [gi-tests] tests for EventButton override.
22880 * John (J5) Palmieri - fixed up original patch so that we actually
22881 emit the event instead of just creating a Gdk.ButtonEvent object
22883 https://bugzilla.gnome.org/show_bug.cgi?id=642554
22885 tests/test_overrides.py | 21 +++++++++++++++++++++
22886 1 file changed, 21 insertions(+)
22888 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
22889 Author: John (J5) Palmieri <johnp@redhat.com>
22890 Date: Wed Feb 23 18:43:27 2011 -0500
22892 [gi-overrides] Add event methods to all event union members
22894 https://bugzilla.gnome.org/show_bug.cgi?id=642554
22896 gi/overrides/Gdk.py | 70
22897 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22898 1 file changed, 70 insertions(+)
22900 commit 6e30c69d38fd382414eb820097c297a80be547ac
22901 Author: John (J5) Palmieri <johnp@redhat.com>
22902 Date: Wed Feb 23 14:14:16 2011 -0500
22904 [gi] check to see if object is a member of a union when validating
22907 * union members are not subclasses of the union they belong to so
22909 inteface requires you pass a union but you pass one of its members
22910 there will be a type error
22911 * this patch checks to see if the type you are passing is a member
22913 union and passes the checks if it is
22914 * this works in python 3 but in python 2 methods do their own
22916 check on the instance parameter (e.g. self) so we need to figure
22917 out how to override that for union methods
22918 (e.g. Gdk.Event.get_state)
22920 https://bugzilla.gnome.org/show_bug.cgi?id=642554
22922 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
22923 1 file changed, 38 insertions(+)
22925 commit 525f21d1365c24488b768955362085bf82512dee
22926 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22927 Date: Wed Feb 16 09:44:12 2011 +0100
22929 Skip interfaces when checking for conflicts in the MRO
22931 https://bugzilla.gnome.org/show_bug.cgi?id=642437
22933 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
22934 gobject/gobjectmodule.c | 9 +++++++--
22935 tests/test_gi.py | 16 ++++++++++++++++
22936 3 files changed, 63 insertions(+), 2 deletions(-)
22938 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
22939 Author: Laszlo Pandy <lpandy@src.gnome.org>
22940 Date: Thu Feb 24 18:46:15 2011 +0100
22942 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
22945 gi/importer.py | 2 +-
22946 gi/module.py | 2 +-
22947 2 files changed, 2 insertions(+), 2 deletions(-)
22949 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
22950 Author: Laszlo Pandy <lpandy@src.gnome.org>
22951 Date: Wed Feb 23 12:05:03 2011 +0100
22953 Test case with John's fix for crash with C arrays and a GError is set.
22955 I have added a test case, and made a few fixes to John's patch,
22957 solution is the same his.
22959 Workaround a bug when freeing C array types
22961 * This is a hack and there is really no way around it without
22963 the current array handling code which spans between pygi-invoke.c
22965 pygi-argument.c and completely rewriting it.
22966 * The is no time before our stable release
22967 * This patch trades a segfault for a leak in the very unusual
22969 an error occures inside an interface that takes one or more C
22971 we wrap C arrays in GArrays internally but have to unwrap them
22973 to the introspected C function, there is a period of time where
22975 can occure with the C array in an unknown state (some being true
22977 and others still wrapped in a GArray)
22978 * This patch adds a c_arrays_are_wrapped state to signal that it
22980 free them. However since c_arrays_are_wrapped can only track
22982 as a group, not individually, if it is set to FALSE we can
22984 that every array is a pure C array, so instead we will simply
22986 to avoid incorrectly freeing one and causing a segfault.
22987 * This issue is fixed in the invoke rewrite branch as it treats
22989 GArrays separately, however that branch is not yet ready to be
22991 won't be until the next release.
22993 https://bugzilla.gnome.org/show_bug.cgi?id=642708
22995 gi/pygi-invoke.c | 54
22996 ++++++++++++++++++++++++++++++++++++++++++++++++++----
22997 tests/test_gi.py | 9 +++++++++
22998 2 files changed, 59 insertions(+), 4 deletions(-)
23000 commit 702a89beca92cab6b0142829b20281b9245f28b8
23001 Author: John (J5) Palmieri <johnp@redhat.com>
23002 Date: Wed Feb 23 15:11:59 2011 -0500
23004 [gi-overrides] fix setting rows in treeview to accept None as a value
23006 * as done in PyGTK None indicates the column should not be set
23008 gi/overrides/Gtk.py | 3 +++
23009 tests/test_overrides.py | 18 +++++++++++++-----
23010 2 files changed, 16 insertions(+), 5 deletions(-)
23012 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
23013 Author: Laszlo Pandy <lpandy@src.gnome.org>
23014 Date: Wed Feb 23 14:23:19 2011 +0100
23016 [gi] Add value_name for enum and flags from introspection
23017 "c:identifier" (if attr is available).
23019 gi/gimodule.c | 22 ++++++++++++++++++----
23020 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
23021 2 files changed, 54 insertions(+), 4 deletions(-)
23023 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
23024 Author: Laszlo Pandy <lpandy@src.gnome.org>
23025 Date: Wed Feb 23 11:40:55 2011 +0100
23027 Fix flags with multiple names for the same value.
23029 Flags constructs a dict __flags_values__ and uses it to cache
23030 instances. However some flags in Glib such as G_IO_FLAG_MASK and
23031 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
23032 override each other's place in the dictionary.
23034 The dict length check is not necessary. It only reduces the number
23035 of duplicate instances we keep, because if an instance is not
23036 found in the dict, a new one is created anyway.
23038 gobject/pygflags.c | 2 +-
23039 1 file changed, 1 insertion(+), 1 deletion(-)
23041 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
23042 Author: Laszlo Pandy <lpandy@src.gnome.org>
23043 Date: Tue Feb 22 21:37:33 2011 +0100
23045 Don't force loading of DynamicModule until set in sys.modules
23047 This fixes Tomeu's previous commit, which removed lazy loading.
23048 Forcing the loading of a module before it is installed in sys.modules
23049 prevents some overrides from being registered (namely Gtk.main_quit).
23051 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23053 gi/importer.py | 2 +-
23054 1 file changed, 1 insertion(+), 1 deletion(-)
23056 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
23057 Author: John (J5) Palmieri <johnp@redhat.com>
23058 Date: Mon Feb 21 17:20:57 2011 -0500
23060 use GValue support to marshal GtkTreeModel values correctly
23062 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
23064 https://bugzilla.gnome.org/show_bug.cgi?id=642921
23066 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
23067 tests/test_overrides.py | 87
23068 +++++++++++++++++++++++++++++++++++++++++--------
23069 2 files changed, 107 insertions(+), 17 deletions(-)
23071 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
23072 Author: John (J5) Palmieri <johnp@redhat.com>
23073 Date: Mon Feb 21 16:14:20 2011 -0500
23075 [gi] pass raw GValues instead of trying to marshal them
23077 * Right now GValues are transparent to the user but this leave us no
23078 way to describe fundimental types other than those supported
23080 by python (e.g. int, str, etc)
23081 * If an interface is expecting a uint or other GValue type a user
23083 the raw GValue interfaces and expect paramaters that take
23085 marshal them correctly e.g.:
23086 value = GObject.Value()
23087 value.int(GObject.TYPE_UINT)
23088 value.set_uint(1234)
23089 * The objective here is to not for users to use this API but for
23091 to be able to utilize them. For instance in the TreeModel API
23093 get the expected type for a column and them create a GValue with
23095 type so that he underlying python object is marshalled correctly.
23097 https://bugzilla.gnome.org/show_bug.cgi?id=642914
23099 gi/pygi-argument.c | 24 ++++++++++++++++++------
23100 tests/test_gi.py | 9 ++++++++-
23101 2 files changed, 26 insertions(+), 7 deletions(-)
23103 commit b458f6f3424a04f6ceece09d443009372d70544c
23104 Author: John (J5) Palmieri <johnp@redhat.com>
23105 Date: Sat Feb 19 19:42:41 2011 -0500
23107 [gi-demos] add icon view edit and drag-and-drop demo
23109 demos/gtk-demo/demos/Icon View/__init__.py | 0
23110 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
23111 +++++++++++++++++++++++++
23112 2 files changed, 101 insertions(+)
23114 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
23115 Author: John (J5) Palmieri <johnp@redhat.com>
23116 Date: Sat Feb 19 17:26:42 2011 -0500
23118 [gi-demos] add info bars demo
23120 demos/gtk-demo/demos/infobars.py | 99
23121 ++++++++++++++++++++++++++++++++++++++++
23122 1 file changed, 99 insertions(+)
23124 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
23125 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23126 Date: Wed Feb 16 11:53:18 2011 +0100
23128 Load typelibs at import time, add gi.require_version()
23130 also adds Repository.get_loaded_namespaces()
23132 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23134 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
23135 gi/importer.py | 1 +
23136 gi/module.py | 21 ++++-----------------
23137 gi/pygi-repository.c | 23 +++++++++++++++++++++++
23138 4 files changed, 56 insertions(+), 18 deletions(-)
23140 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
23141 Author: Laszlo Pandy <lpandy@src.gnome.org>
23142 Date: Sat Feb 19 23:11:25 2011 +0100
23144 [gi] Register GType for non-GType enums and flags at runtime.
23146 Note: rebuild of gobject-introspection is required for new tests.
23148 Previously non-GType enums used a separate type implemented in
23149 Python, and non-GType flags had no implementation at all. This
23150 removes the separate type for enums, and registers a new GType at
23151 runtime if there isn't one.
23153 This allows non-GType enums and flags to use the same Python type
23154 as GType enums and flags. This removes duplication of code, and
23155 make both kinds behave identically.
23157 https://bugzilla.gnome.org/show_bug.cgi?id=642607
23159 gi/gimodule.c | 117
23160 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23161 gi/module.py | 24 ++++++-----
23162 gi/pygi-info.c | 15 +++++++
23163 gi/types.py | 16 --------
23164 gobject/pygflags.c | 13 ++++--
23165 tests/test_gi.py | 35 ++++++++++++++++
23166 6 files changed, 191 insertions(+), 29 deletions(-)
23168 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
23169 Author: Martin Pitt <martin.pitt@ubuntu.com>
23170 Date: Tue Feb 8 15:38:21 2011 +0100
23172 [gi] Add Pythonic gdbus method invocation
23174 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
23176 Python object. This will handle the Python object <-> GVariant
23178 optional keyword arguments for flags, timeout, and a result handler
23180 asynchronous calls.
23182 Require specifying the input argument signature as the first argument
23184 method call. This ensures that the types of e. g. integers are
23186 and avoids having to do expensive D-Bus introspection for each call.
23188 https://bugzilla.gnome.org/show_bug.cgi?id=640181
23190 gi/overrides/Gio.py | 99
23191 ++++++++++++++++++++++++++++++++++++++++++++++++++
23192 tests/test_gdbus.py | 102
23193 ++++++++++++++++++++++++++++++++++++++++++++++++++--
23194 2 files changed, 199 insertions(+), 2 deletions(-)
23196 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
23197 Author: Laszlo Pandy <lpandy@src.gnome.org>
23198 Date: Fri Feb 18 22:48:59 2011 +0100
23200 Skip GError out parameters in Python closure.
23202 Python code should have never have to explicitely return a GError.
23203 Once we are able to marshal exceptions the Python code should
23204 throw an exception instead. Until then, set GError to NULL, and
23205 don't complain if a Python function doesn't return an arg for it.
23207 https://bugzilla.gnome.org/show_bug.cgi?id=642715
23209 gi/pygi-closure.c | 8 ++++++++
23210 1 file changed, 8 insertions(+)
23212 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
23213 Author: Laszlo Pandy <lpandy@src.gnome.org>
23214 Date: Fri Feb 18 10:15:59 2011 +0100
23216 Fix runtests.py to work with Python3 (print function syntax error).
23218 tests/runtests.py | 2 +-
23219 1 file changed, 1 insertion(+), 1 deletion(-)
23221 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
23222 Author: John (J5) Palmieri <johnp@redhat.com>
23223 Date: Thu Feb 17 19:46:49 2011 -0500
23225 [gi-demos] added rotate text demo
23227 * needs some Pango Attr fixes to be 100% done, See FIXME
23229 demos/gtk-demo/demos/rotatedtext.py | 196
23230 ++++++++++++++++++++++++++++++++++++
23231 1 file changed, 196 insertions(+)
23233 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
23234 Author: John (J5) Palmieri <johnp@redhat.com>
23235 Date: Thu Feb 17 17:25:00 2011 -0500
23237 [gi-demos] add images demo
23239 * needs annotation fix from GdkPixbuf for ImageLoader to work
23241 demos/gtk-demo/demos/images.py | 311
23242 +++++++++++++++++++++++++++++++++++++++++
23243 1 file changed, 311 insertions(+)
23245 commit 13b06170b89b3468e6255be32af4833ffc675c9d
23246 Author: John (J5) Palmieri <johnp@redhat.com>
23247 Date: Thu Feb 17 14:48:24 2011 -0500
23249 [gi-demos] add pixbuf demo
23251 demos/gtk-demo/demos/pixbuf.py | 183
23252 +++++++++++++++++++++++++++++++++++++++++
23253 1 file changed, 183 insertions(+)
23255 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
23256 Author: John (J5) Palmieri <johnp@redhat.com>
23257 Date: Thu Feb 17 14:47:12 2011 -0500
23259 [gi-demos] remove fixmes from print demo, fixed in pango
23261 demos/gtk-demo/demos/printing.py | 10 +++-------
23262 1 file changed, 3 insertions(+), 7 deletions(-)
23264 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
23265 Author: John (J5) Palmieri <johnp@redhat.com>
23266 Date: Wed Feb 16 19:39:30 2011 -0500
23268 [gi-demos] add printing demo
23270 * needs some annotations for pango before it is 100% useful
23272 demos/gtk-demo/demos/printing.py | 177
23273 +++++++++++++++++++++++++++++++++++++++
23274 1 file changed, 177 insertions(+)
23276 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
23277 Author: John (J5) Palmieri <johnp@redhat.com>
23278 Date: Wed Feb 16 17:52:38 2011 -0500
23280 [gi-overrides] add cursor overrides
23282 https://bugzilla.gnome.org/show_bug.cgi?id=635947
23284 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
23285 tests/test_overrides.py | 23 +++++++++++++++++++++++
23286 2 files changed, 64 insertions(+)
23288 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
23289 Author: John (J5) Palmieri <johnp@redhat.com>
23290 Date: Wed Feb 16 16:18:24 2011 -0500
23292 [gi-demos] add the links demo
23294 demos/gtk-demo/demos/links.py | 74
23295 +++++++++++++++++++++++++++++++++++++++++++
23296 1 file changed, 74 insertions(+)
23298 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
23299 Author: John (J5) Palmieri <johnp@redhat.com>
23300 Date: Wed Feb 16 15:48:40 2011 -0500
23302 [gi-demos] add expander demo
23304 demos/gtk-demo/demos/expander.py | 60
23305 ++++++++++++++++++++++++++++++++++++++++
23306 1 file changed, 60 insertions(+)
23308 commit 76cdb13ab872f91f8384d26b0f2932087a746117
23309 Author: John (J5) Palmieri <johnp@redhat.com>
23310 Date: Wed Feb 16 15:14:35 2011 -0500
23312 [gi-overrides] use pop instead of del and add extra tests for
23315 gi/overrides/Gtk.py | 6 ++----
23316 tests/test_overrides.py | 8 ++++++++
23317 2 files changed, 10 insertions(+), 4 deletions(-)
23319 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
23320 Author: Laszlo Pandy <lpandy@src.gnome.org>
23321 Date: Tue Feb 15 20:07:42 2011 +0100
23323 [tests] Separate processes for GI and static binding tests.
23325 Importing and using both static gobject bindings and
23326 introspection GObject bindings in the same process can cause
23327 conflicts with types which otherwise wouldn't be there.
23329 This patch changes "make check" to call runtests.py twice -- once
23330 for each set of tests.
23332 In the case of a test failure, runtests.py now sets the exit code
23333 so that make does not continue. Otherwise you might miss the
23334 failures from the first batch of tests in the scrollback.
23336 tests/Makefile.am | 19 +++++++++++--------
23337 tests/runtests.py | 4 +++-
23338 2 files changed, 14 insertions(+), 9 deletions(-)
23340 commit e0896b45f60f37097ec521f1bc38778383b78dd8
23341 Author: John (J5) Palmieri <johnp@redhat.com>
23342 Date: Tue Feb 15 14:47:10 2011 -0500
23344 [gi-demos] add dialogs demo
23346 demos/gtk-demo/demos/dialogs.py | 153
23347 ++++++++++++++++++++++++++++++++++++++++
23348 1 file changed, 153 insertions(+)
23350 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
23351 Author: John (J5) Palmieri <johnp@redhat.com>
23352 Date: Tue Feb 15 14:46:41 2011 -0500
23354 [gi-overrides] fix typo in GtkTable constructor
23356 gi/overrides/Gtk.py | 8 ++++----
23357 1 file changed, 4 insertions(+), 4 deletions(-)
23359 commit 9c277e1782c5a9d672d91fabf5289c5415891682
23360 Author: John (J5) Palmieri <johnp@redhat.com>
23361 Date: Tue Feb 15 13:26:38 2011 -0500
23363 [gi-demos] keep popup menu from destroying itself by holding a ref
23366 demos/gtk-demo/demos/clipboard.py | 8 ++++----
23367 1 file changed, 4 insertions(+), 4 deletions(-)
23369 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
23370 Author: John (J5) Palmieri <johnp@redhat.com>
23371 Date: Tue Feb 15 13:25:13 2011 -0500
23373 [gi-overrides] add a Gtk.Menu override for the popup method
23375 gi/overrides/Gtk.py | 7 +++++++
23376 1 file changed, 7 insertions(+)
23378 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
23379 Author: John (J5) Palmieri <johnp@redhat.com>
23380 Date: Tue Feb 15 13:24:33 2011 -0500
23382 [gi-demos] fix the about dialog in appwindow demo
23384 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
23385 1 file changed, 9 insertions(+), 13 deletions(-)
23387 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
23388 Author: John (J5) Palmieri <johnp@redhat.com>
23389 Date: Tue Feb 15 11:21:13 2011 -0500
23391 [gi-demos] fix clipboard demo so DnD works
23393 * menu popups don't work because the API takes a callback without
23397 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
23398 1 file changed, 10 insertions(+), 10 deletions(-)
23400 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
23401 Author: John (J5) Palmieri <johnp@redhat.com>
23402 Date: Tue Feb 15 10:18:53 2011 -0500
23404 [gi-demos] fix clipboard demo to reflect new API
23406 demos/gtk-demo/demos/clipboard.py | 6 +++---
23407 1 file changed, 3 insertions(+), 3 deletions(-)
23409 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
23410 Author: John (J5) Palmieri <johnp@redhat.com>
23411 Date: Mon Feb 14 18:17:20 2011 -0500
23413 [gi-demo] Fix color dialog demo to run with new draw, style and
23416 demos/gtk-demo/demos/colorselector.py | 44
23417 ++++++++++++++---------------------
23418 1 file changed, 17 insertions(+), 27 deletions(-)
23420 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
23421 Author: John (J5) Palmieri <johnp@redhat.com>
23422 Date: Mon Feb 14 17:58:25 2011 -0500
23424 [gi-demos] fix most of the combobox app
23426 * Still having some issues with filtering the ComboBoxText widget
23428 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
23429 1 file changed, 8 insertions(+), 9 deletions(-)
23431 commit 3606eb20ad1651af621bf1aa429ec102082565eb
23432 Author: Laszlo Pandy <lpandy@src.gnome.org>
23433 Date: Mon Feb 14 19:36:27 2011 +0100
23435 Use PyGI type conversion (to fix foreign types) for signal callbacks.
23437 First attempt at patch to fix foreign types in signal callbacks.
23438 Tests are not implemented yet.
23440 https://bugzilla.gnome.org/show_bug.cgi?id=637601
23442 gi/Makefile.am | 2 +
23443 gi/gimodule.c | 1 +
23444 gi/pygi-argument.c | 91 ++++++++++++++++++
23445 gi/pygi-argument.h | 2 +
23446 gi/pygi-private.h | 1 +
23447 gi/pygi-signal-closure.c | 245
23448 +++++++++++++++++++++++++++++++++++++++++++++++
23449 gi/pygi-signal-closure.h | 46 +++++++++
23450 gi/pygi.h | 28 ++++++
23451 gobject/pygobject.c | 24 ++++-
23452 9 files changed, 436 insertions(+), 4 deletions(-)
23454 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
23455 Author: John (J5) Palmieri <johnp@redhat.com>
23456 Date: Mon Feb 14 16:47:03 2011 -0500
23458 [gi-demos] fix drawingarea app to use the new draw api
23460 demos/gtk-demo/demos/drawingarea.py | 144
23461 +++++++++++++-----------------------
23462 1 file changed, 50 insertions(+), 94 deletions(-)
23464 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
23465 Author: John (J5) Palmieri <johnp@redhat.com>
23466 Date: Mon Feb 14 16:43:35 2011 -0500
23468 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
23470 * note this is the introspected gobject-cairo boxed type not the
23473 * we alias this so people do not get confused
23475 gi/overrides/Gdk.py | 5 +++++
23476 1 file changed, 5 insertions(+)
23478 commit d491c369e049ab726f09002af0462391d5c2f3ec
23479 Author: John (J5) Palmieri <johnp@redhat.com>
23480 Date: Mon Feb 14 15:07:11 2011 -0500
23482 [gi-overrides] let user set the proper property names in Gtk.Table
23484 * the old override added a columns and rows parameters to the Table
23486 to be in sync with PyGtk.
23487 * The GTK properties are n_columns and n_rows
23490 gi/overrides/Gtk.py | 8 ++++++++
23491 1 file changed, 8 insertions(+)
23493 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
23494 Author: John (J5) Palmieri <johnp@redhat.com>
23495 Date: Mon Feb 14 15:06:38 2011 -0500
23497 [gi-demos] get appwindow demo working again
23499 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
23500 1 file changed, 4 insertions(+), 20 deletions(-)
23502 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
23503 Author: John (J5) Palmieri <johnp@redhat.com>
23504 Date: Mon Feb 14 15:05:44 2011 -0500
23506 [gi-demos] fixed use of tree_iter_get
23508 demos/gtk-demo/gtk-demo.py | 2 +-
23509 1 file changed, 1 insertion(+), 1 deletion(-)
23511 commit 0c20977e4598e5447dd07c069e91226efacb1160
23512 Author: Simon van der Linden <svdlinden@gnome.org>
23513 Date: Fri Feb 11 22:02:03 2011 +0100
23515 Remove last GIO-related bits
23517 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23521 configure.ac | 3 --
23522 examples/gio/directory-async.py | 33 ------------------
23523 examples/gio/downloader.py | 77
23524 -----------------------------------------
23525 pygobject.doap | 2 +-
23526 6 files changed, 3 insertions(+), 117 deletions(-)
23528 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
23529 Author: Simon van der Linden <svdlinden@gnome.org>
23530 Date: Fri Feb 11 18:38:27 2011 +0100
23532 Remove GIO documentation
23534 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23536 docs/Makefile.am | 82 +-
23537 docs/reference/pygio-appinfo.xml | 894 -----
23538 docs/reference/pygio-applaunchcontext.xml | 194 --
23539 docs/reference/pygio-asyncresult.xml | 117 -
23540 docs/reference/pygio-bufferedinputstream.xml | 461 ---
23541 docs/reference/pygio-bufferedoutputstream.xml | 275 --
23542 docs/reference/pygio-cancellable.xml | 290 --
23543 docs/reference/pygio-classes.xml | 47 -
23544 docs/reference/pygio-constants.xml | 1540 ---------
23545 docs/reference/pygio-datainputstream.xml | 799 -----
23546 docs/reference/pygio-dataoutputstream.xml | 504 ---
23547 docs/reference/pygio-drive.xml | 546 ---
23548 docs/reference/pygio-emblem.xml | 232 --
23549 docs/reference/pygio-emblemedicon.xml | 160 -
23550 docs/reference/pygio-file.xml | 4534
23551 -------------------------
23552 docs/reference/pygio-fileattributeinfo.xml | 73 -
23553 docs/reference/pygio-fileenumerator.xml | 488 ---
23554 docs/reference/pygio-fileicon.xml | 109 -
23555 docs/reference/pygio-fileinfo.xml | 346 --
23556 docs/reference/pygio-fileinputstream.xml | 214 --
23557 docs/reference/pygio-filemonitor.xml | 128 -
23558 docs/reference/pygio-fileoutputstream.xml | 257 --
23559 docs/reference/pygio-filterinputstream.xml | 152 -
23560 docs/reference/pygio-filteroutputstream.xml | 152 -
23561 docs/reference/pygio-functions.xml | 395 ---
23562 docs/reference/pygio-icon.xml | 217 --
23563 docs/reference/pygio-inputstream.xml | 730 ----
23564 docs/reference/pygio-loadableicon.xml | 198 --
23565 docs/reference/pygio-memoryinputstream.xml | 151 -
23566 docs/reference/pygio-memoryoutputstream.xml | 175 -
23567 docs/reference/pygio-mount.xml | 962 ------
23568 docs/reference/pygio-mountoperation.xml | 726 ----
23569 docs/reference/pygio-outputstream.xml | 140 -
23570 docs/reference/pygio-seekable.xml | 231 --
23571 docs/reference/pygio-simpleasyncresult.xml | 317 --
23572 docs/reference/pygio-themedicon.xml | 204 --
23573 docs/reference/pygio-unixinputstream.xml | 202 --
23574 docs/reference/pygio-unixoutputstream.xml | 202 --
23575 docs/reference/pygio-volume.xml | 718 ----
23576 docs/reference/pygio-volumemonitor.xml | 844 -----
23577 docs/reference/pygiounix-classes.xml | 13 -
23578 docs/reference/pygobject-ref.xml | 2 -
23579 42 files changed, 1 insertion(+), 19020 deletions(-)
23581 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
23582 Author: John (J5) Palmieri <johnp@redhat.com>
23583 Date: Fri Feb 11 11:05:04 2011 -0500
23585 bump version to reflect the master branch moving towards pygobject 3.0
23587 * added NEWS file from branch pygobject-2-28
23589 * this branch will drop support for the static binding
23590 * use the pygobject-2-28 branch for static binding fixes
23593 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23594 configure.ac | 4 +-
23595 2 files changed, 291 insertions(+), 2 deletions(-)
23597 commit 16140237aa45b4f188923da9f95b9d2af971011b
23598 Author: John (J5) Palmieri <johnp@redhat.com>
23599 Date: Thu Feb 10 16:46:08 2011 -0500
23601 fix build to correctly use python-config
23604 configure.ac | 6 ------
23605 m4/python.m4 | 9 +++++----
23606 tests/runtests.py | 1 +
23607 4 files changed, 9 insertions(+), 10 deletions(-)
23609 commit c2079f415638ef892b1e51f25eaafa3e1621667f
23610 Author: Simon van der Linden <svdlinden@gnome.org>
23611 Date: Thu Feb 10 22:26:00 2011 +0100
23613 Add missing libraries to link against
23615 glib/Makefile.am | 2 +-
23616 gobject/Makefile.am | 1 +
23617 2 files changed, 2 insertions(+), 1 deletion(-)
23619 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
23620 Author: Steve Frécinaux <code@istique.net>
23621 Date: Wed Jan 19 15:00:56 2011 +0100
23623 Make runtests.py able to run command-line provided test files
23625 With this patch we are now able to run ./runtests.py <somefile>, which
23626 is more friendly than defining an environment variable to run some
23629 https://bugzilla.gnome.org/show_bug.cgi?id=639948
23631 tests/runtests.py | 9 +++++++++
23632 1 file changed, 9 insertions(+)
23634 commit 14c4cf8e6edae893538680964380d543bde4a14d
23635 Author: Martin Pitt <martin.pitt@ubuntu.com>
23636 Date: Wed Feb 9 11:34:59 2011 +0100
23638 Run test suite under dbus-launch
23640 When available, run the test suite in dbus-launch, so that the
23642 succeed even when building this in an environment without a running
23644 D-BUS (such as distribution package builds).
23646 tests/Makefile.am | 3 ++-
23647 1 file changed, 2 insertions(+), 1 deletion(-)
23649 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
23650 Author: Martin Pitt <martin.pitt@ubuntu.com>
23651 Date: Tue Feb 8 15:46:36 2011 +0100
23653 Fix test_gdbus.py to be Python3 friendly
23655 - TestCase.assert_() has been deprecated by assertTrue().
23656 - Exceptions don't have a message attribute any more, use str(e)
23658 tests/test_gdbus.py | 34 +++++++++++++++-------------------
23659 1 file changed, 15 insertions(+), 19 deletions(-)
23661 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
23662 Author: Martin Pitt <martin.pitt@ubuntu.com>
23663 Date: Sat Jan 29 12:20:50 2011 +0100
23665 [gi] Provide comfortable GSettings API
23667 Make Gio.Settings behave like a dictionary, with transparent
23669 GVariants. Also provide a more comfortable constructor.
23671 https://bugzilla.gnome.org/show_bug.cgi?id=640838
23673 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
23674 tests/org.gnome.test.gschema.xml | 9 +++++
23675 tests/test_overrides.py | 73
23676 ++++++++++++++++++++++++++++++++--------
23677 3 files changed, 122 insertions(+), 14 deletions(-)
23679 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
23680 Author: Laszlo Pandy <lpandy@src.gnome.org>
23681 Date: Fri Feb 4 16:36:07 2011 +0100
23683 Fix vfunc search bug when using GInterfaces and a do_* method.
23685 If a class inherits from a GInterface, as well as implements a do_*
23686 method (which is not in a super class), all the base interfaces
23687 will be searched for an __info__ attribute. GInterface doesn't
23688 have one, causing an error on class creation.
23690 https://bugzilla.gnome.org/show_bug.cgi?id=641493
23692 gi/types.py | 4 +++-
23693 tests/test_gi.py | 8 ++++++++
23694 2 files changed, 11 insertions(+), 1 deletion(-)
23696 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
23697 Author: Laszlo Pandy <lpandy@src.gnome.org>
23698 Date: Thu Feb 3 15:31:42 2011 +0100
23700 [GI] Add tests for Gtk.Widget.drag_* methods.
23702 Previously all the drag_* methods were accessible as Gtk.drag_*.
23703 Now that the (method) attribute has been included for these
23704 methods in Gtk+, this test checks that they are included as class
23705 methods when using pygobject introspection.
23707 https://bugzilla.gnome.org/show_bug.cgi?id=639945
23709 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
23710 1 file changed, 40 insertions(+)
23712 commit d57500537014b3da624be33b40401ba289fa22b8
23713 Author: John (J5) Palmieri <johnp@redhat.com>
23714 Date: Thu Feb 3 09:02:16 2011 -0500
23716 [gi] make caller allocates work again
23718 gi/pygi-cache.c | 18 +++---------------
23719 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
23720 2 files changed, 37 insertions(+), 18 deletions(-)
23722 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
23723 Author: John (J5) Palmieri <johnp@redhat.com>
23724 Date: Wed Feb 2 19:27:40 2011 -0500
23726 [gi] fix container object reffing
23728 gi/pygi-argument.c | 7 +++----
23729 gi/pygi-cache.c | 12 ++++--------
23730 2 files changed, 7 insertions(+), 12 deletions(-)
23732 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
23733 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23734 Date: Wed Feb 2 21:00:48 2011 +0100
23736 [python 3] use the right syntaxis to raise exceptions
23738 codegen/argtypes.py | 8 ++++----
23739 codegen/definitions.py | 14 +++++++-------
23740 gi/overrides/Gtk.py | 2 +-
23741 3 files changed, 12 insertions(+), 12 deletions(-)
23743 commit 36094e5982d3e05d5662843b6d401f0974f5235f
23744 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23745 Date: Wed Feb 2 20:50:12 2011 +0100
23747 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
23749 tests/testhelpermodule.c | 6 +++---
23750 1 file changed, 3 insertions(+), 3 deletions(-)
23752 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
23753 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23754 Date: Wed Feb 2 20:37:21 2011 +0100
23756 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
23758 This is to avoid some warnings when building with python 3
23760 gi/gimodule.c | 6 +++---
23761 1 file changed, 3 insertions(+), 3 deletions(-)
23763 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
23764 Author: Steve Frécinaux <code@istique.net>
23765 Date: Sat Jan 29 00:16:50 2011 +0100
23767 Fix wrong refcount when calling introspected widget constructors
23769 Introspected widget constructors, like Gtk.Button.new(), can return
23770 objects with a floating reference, which was then reffed by pygobject,
23771 resulting in two references, despite the object is not owned by
23774 This patch uses ref_sink() when pygobject takes its own reference, to
23775 avoid adding that extra reference. Hence we now claim ownership on
23776 objects returned by constructors with transfer=none (which is the case
23777 for nearly all the widget constructors, despite the floating ref).
23779 https://bugzilla.gnome.org/show_bug.cgi?id=640868
23781 gobject/pygobject.c | 4 +++-
23782 tests/test_everything.py | 9 ++++++++-
23783 2 files changed, 11 insertions(+), 2 deletions(-)
23785 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
23786 Author: Simon Schampijer <simon@laptop.org>
23787 Date: Wed Jan 19 16:19:46 2011 +0100
23789 Gdk.Window: Map the standard constructor to the *new* constructor
23791 Gdk.Window had to be made abstract
23792 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
23793 this override allows using the standard constructor
23795 This commit adds as well a testcase.
23797 https://bugzilla.gnome.org/show_bug.cgi?id=639936
23799 gi/overrides/Gdk.py | 6 ++++++
23800 tests/test_overrides.py | 8 ++++++++
23801 2 files changed, 14 insertions(+)
23803 commit 4a67f45880433905de33632fe0c32a13b44c0b33
23804 Author: John (J5) Palmieri <johnp@redhat.com>
23805 Date: Mon Jan 31 16:51:37 2011 -0500
23807 [gi] handle hash being NULL
23809 gi/pygi-argument.c | 6 ++++++
23810 1 file changed, 6 insertions(+)
23812 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
23813 Author: John (J5) Palmieri <johnp@redhat.com>
23814 Date: Mon Jan 31 16:50:52 2011 -0500
23816 [gi] handle the situation where an aux arg comes before its parent
23818 gi/pygi-cache.c | 70
23819 ++++++++++++++++++++++++++++++++++++++++----------------
23820 gi/pygi-invoke.c | 2 +-
23821 2 files changed, 51 insertions(+), 21 deletions(-)
23823 commit 858669f92c9907dd70b4966d6a8521ed122225be
23824 Author: Martin Pitt <martin.pitt@ubuntu.com>
23825 Date: Mon Jan 31 17:38:52 2011 +0100
23827 Ship tests/org.gnome.test.gschema.xml in dist tarballs
23829 tests/Makefile.am | 3 ++-
23830 1 file changed, 2 insertions(+), 1 deletion(-)
23832 commit 77d76df59606e470808085e977fb199cc76e8251
23833 Author: John (J5) Palmieri <johnp@redhat.com>
23834 Date: Sun Jan 30 18:21:24 2011 -0500
23836 [gi] allow caching and marshalling of ghash out
23838 gi/pygi-argument.c | 155
23839 +++++++++++++++++++++++++++++++++++++++++++++++++----
23840 gi/pygi-cache.c | 27 ++++++----
23841 2 files changed, 162 insertions(+), 20 deletions(-)
23843 commit bd66af67f248a3ca90d2fa2626605263c2392e16
23844 Author: John (J5) Palmieri <johnp@redhat.com>
23845 Date: Sun Jan 30 17:06:44 2011 -0500
23847 [gi] whitespace fixes
23849 gi/pygi-cache.c | 60
23850 ++++++++++++++++++++++++++++-----------------------------
23851 1 file changed, 30 insertions(+), 30 deletions(-)
23853 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
23854 Author: John (J5) Palmieri <johnp@redhat.com>
23855 Date: Sun Jan 30 17:04:13 2011 -0500
23857 [gi] added ugly aux arg counters
23859 * we need to simplify the ffi invoke so we can simply reference args
23860 at their position in the C parameter list
23861 * this works for now but is fragile if new aux values are added in
23864 gi/pygi-argument.c | 12 ++++++++--
23865 gi/pygi-cache.c | 66
23866 +++++++++++++++++++++++++++++++++++++-----------------
23867 gi/pygi-cache.h | 2 ++
23868 gi/pygi-invoke.c | 12 +++++++---
23869 4 files changed, 66 insertions(+), 26 deletions(-)
23871 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
23872 Author: John (J5) Palmieri <johnp@redhat.com>
23873 Date: Sun Jan 30 11:30:54 2011 -0500
23875 [gi] make inout marshalling work
23877 * refactor cache generation so we can create caches and then fill
23879 values based on if they are in, out or inout
23880 * in invoke we order the pointers based on their direction
23882 gi/pygi-cache.c | 1445
23883 ++++++++++++++++++++++++++----------------------------
23884 gi/pygi-invoke.c | 19 +-
23885 2 files changed, 711 insertions(+), 753 deletions(-)
23887 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
23888 Author: John (J5) Palmieri <johnp@redhat.com>
23889 Date: Sat Jan 29 13:49:36 2011 -0500
23891 [gi] marshal arrays out
23893 gi/pygi-argument.c | 101
23894 +++++++++++++++++++++++++++++++++++++++++++++++++++--
23895 1 file changed, 99 insertions(+), 2 deletions(-)
23897 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
23898 Author: John (J5) Palmieri <johnp@redhat.com>
23899 Date: Sat Jan 29 13:48:23 2011 -0500
23901 [gi] fix sequence caching to support out
23903 gi/pygi-cache.c | 111
23904 ++++++++++++++++++++++++++++++++++++++++++++------------
23905 1 file changed, 87 insertions(+), 24 deletions(-)
23907 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
23908 Author: Martin Pitt <martin.pitt@ubuntu.com>
23909 Date: Fri Jan 28 17:14:19 2011 +0100
23911 [gi] Add GSettings tests
23913 Ryan Lortie proposed an override for more convenient GSettings access,
23915 first make sure that the canonical GLib API works.
23917 tests/Makefile.am | 7 +++++--
23918 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
23919 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
23920 3 files changed, 52 insertions(+), 2 deletions(-)
23922 commit 488478a83640d50baee963337fcc870fec76b784
23923 Author: Martin Pitt <martin.pitt@ubuntu.com>
23924 Date: Fri Jan 28 07:20:26 2011 +0100
23926 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
23928 Provide an actual insert_with_tags_by_name() instead of overloading
23929 insert_with_tags() to handle both types. This keeps the overrides
23931 with the actual GTK API.
23933 gi/overrides/Gtk.py | 19 ++++++++++++++-----
23934 tests/test_overrides.py | 4 ++--
23935 2 files changed, 16 insertions(+), 7 deletions(-)
23937 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
23938 Author: Martin Pitt <martin.pitt@ubuntu.com>
23939 Date: Thu Jan 27 13:37:18 2011 +0100
23941 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
23943 Neither insert_with_tags() nor insert_with_tags_by_name() are
23945 due to using varargs. As both are useful, support both cases in
23948 gi/overrides/Gtk.py | 5 +++++
23949 tests/test_overrides.py | 9 +++++++++
23950 2 files changed, 14 insertions(+)
23952 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
23953 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23954 Date: Thu Jan 27 12:23:18 2011 +0100
23956 Add MAINTAINERCLEANFILES
23958 This var behaves like .gitignore and allows us to skip some specific
23961 Makefile.am | 27 +++++++++++++++++++++++++++
23962 1 file changed, 27 insertions(+)
23964 commit 8a98d26981ce68809a21c64cac4962e58c927905
23965 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23966 Date: Thu Jan 27 12:15:30 2011 +0100
23968 Remove .gitignore files and use git.mk
23970 git.mk is a script maintained in pango. From time to time we must
23971 check if it was updated and update it here.
23973 .gitignore | 46 -----------
23975 codegen/.gitignore | 2 -
23976 codegen/Makefile.am | 2 +
23977 docs/.gitignore | 7 --
23978 docs/Makefile.am | 2 +
23979 examples/Makefile.am | 2 +
23980 gi/.gitignore | 40 ----------
23981 gi/Makefile.am | 2 +
23982 gi/overrides/Makefile.am | 2 +
23983 gi/repository/Makefile.am | 2 +
23984 gi/tests/Makefile.am | 2 +
23986 ++++++++++++++++++++++++++++++++++++++++++++++
23987 glib/Makefile.am | 2 +
23988 gobject/.gitignore | 3 -
23989 gobject/Makefile.am | 2 +
23990 tests/.gitignore | 2 -
23991 tests/Makefile.am | 2 +
23992 18 files changed, 222 insertions(+), 100 deletions(-)
23994 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
23995 Author: Martin Pitt <martin.pitt@ubuntu.com>
23996 Date: Thu Jan 27 12:04:19 2011 +0100
23998 pygi-convert.sh: Convert Pango.TabAlign.*
24000 pygi-convert.sh | 1 +
24001 1 file changed, 1 insertion(+)
24003 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
24004 Author: Martin Pitt <martin.pitt@ubuntu.com>
24005 Date: Thu Jan 27 12:02:39 2011 +0100
24007 pygi-convert.sh: Drop window -> get_window() conversion
24009 It is doing more harm than good for projects which use things like
24012 pygi-convert.sh | 1 -
24013 1 file changed, 1 deletion(-)
24015 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
24016 Author: Martin Pitt <martin.pitt@ubuntu.com>
24017 Date: Thu Jan 27 11:58:26 2011 +0100
24019 pygi-convert.sh: Don't convert self.window assignments
24021 pygi-convert.sh | 2 +-
24022 1 file changed, 1 insertion(+), 1 deletion(-)
24024 commit 975341a26772966d4afc87a88a6a566d61237fa0
24025 Author: Steve Frécinaux <code@istique.net>
24026 Date: Fri Jan 21 18:41:54 2011 +0100
24028 Fix leaked python reference in python-defined subclasses
24030 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24032 gobject/gobjectmodule.c | 1 +
24033 tests/test_gobject.py | 4 ++++
24034 2 files changed, 5 insertions(+)
24036 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
24037 Author: Steve Frécinaux <code@istique.net>
24038 Date: Fri Jan 21 15:54:43 2011 +0100
24040 Add some tests for the number of python refs held at creation time
24042 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24044 tests/test_gobject.py | 21 +++++++++++++++++++++
24045 1 file changed, 21 insertions(+)
24047 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
24048 Author: Steve Frécinaux <code@istique.net>
24049 Date: Fri Jan 21 17:24:49 2011 +0100
24051 Factor out parameter marshalling from construction functions.
24053 https://bugzilla.gnome.org/show_bug.cgi?id=640197
24055 gobject/gobjectmodule.c | 35 ++--------------------
24056 gobject/pygobject-private.h | 5 ++++
24057 gobject/pygobject.c | 71
24058 +++++++++++++++++++++++++++------------------
24059 3 files changed, 50 insertions(+), 61 deletions(-)
24061 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
24062 Author: John (J5) Palmieri <johnp@redhat.com>
24063 Date: Wed Jan 26 15:34:24 2011 -0500
24065 [gi] in python 3 an array of uint8 can be bytes but not string
24067 tests/test_gi.py | 4 +++-
24068 1 file changed, 3 insertions(+), 1 deletion(-)
24070 commit 843553ea958eddec185bb660851a310dc050a14b
24071 Author: John (J5) Palmieri <johnp@redhat.com>
24072 Date: Wed Jan 26 15:30:06 2011 -0500
24074 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
24076 gi/overrides/Gio.py | 6 +++++-
24077 1 file changed, 5 insertions(+), 1 deletion(-)
24079 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
24080 Author: John (J5) Palmieri <johnp@redhat.com>
24081 Date: Wed Jan 26 15:17:03 2011 -0500
24083 [gi] python 3 fixes
24085 Patches need to work in Python 3 - here are some of the issues I
24087 Patch submitters should keep this in mind. When I note to only
24089 in tests it means that there is a compat module that is only available
24091 tests. Actuall code should either add the workaround to the top
24093 module or try not to have a distinction between things such as
24095 longs which no longer exist in Python 3
24097 * use range instead of xrange - loss of performance in Python 2 but
24099 treats range similarly to python 2's xrange
24100 * use dict.items() instead of dict.iteritems() - same as the xrange
24102 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
24104 if sys.version_info > (3, 0):
24106 return hasattr(obj, '__call__')
24108 * using unicode in tests is tricky, you can't use u'' even in
24110 conditional as python3's parser chokes on it. Do this in tests
24114 from compathelper import _unicode
24115 unicode_string = _unicode('this is a unicode string')
24117 * exception caching changed in 2.7, instead of except Exception,
24119 except Exception as e. Do this to be compatible with older
24123 etype, e = sys.exc_info()[:2]
24125 * Unbound methods with an im_func attribute no longer exits in 3.x.
24126 Unbound methods are now just functions so class.method in 3.x is
24127 equivalent to class.method.im_func in 2.x. If you have to go this
24130 func = class1.method
24131 if sys.version_info < (3,0):
24132 func = func.im_func
24134 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
24135 only in tests) do this:
24137 from compathelper import _long
24140 gi/overrides/GLib.py | 16 ++++++++--------
24141 gi/types.py | 5 ++++-
24142 tests/compathelper.py | 19 +++++++++++++++++++
24143 tests/test_gdbus.py | 12 ++++++++----
24144 tests/test_gi.py | 19 ++++++++++++-------
24145 tests/test_overrides.py | 8 +++++---
24146 6 files changed, 56 insertions(+), 23 deletions(-)
24148 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
24149 Author: John (J5) Palmieri <johnp@redhat.com>
24150 Date: Wed Jan 26 14:00:08 2011 -0500
24152 [gi] fix try/except blocks using depricated raise format
24154 gi/overrides/GLib.py | 4 ++--
24155 gi/overrides/Gdk.py | 2 +-
24156 2 files changed, 3 insertions(+), 3 deletions(-)
24158 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
24159 Author: Martin Pitt <martin.pitt@ubuntu.com>
24160 Date: Wed Jan 26 19:03:48 2011 +0100
24162 [gi] Add docstring to GLib.Variant constructor
24164 gi/overrides/GLib.py | 11 +++++++++++
24165 1 file changed, 11 insertions(+)
24167 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
24168 Author: Martin Pitt <martin.pitt@ubuntu.com>
24169 Date: Wed Jan 26 18:45:38 2011 +0100
24171 [gi] update gdbus test cases for previous GVariant change
24173 tests/test_gdbus.py | 4 ++--
24174 1 file changed, 2 insertions(+), 2 deletions(-)
24176 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
24177 Author: Martin Pitt <martin.pitt@ubuntu.com>
24178 Date: Wed Jan 26 18:39:17 2011 +0100
24180 [gi] Accept only a single object in GLib.Variant constructor
24182 We previously allowed flat arguments for tuple signatures, e. g.
24184 GLib.Variant('(ii)', 1, 2)
24186 However, that's not how GVariant is supposed to work. Remove the
24188 to handle flat argument lists, and only accept a single value, i. e.
24190 GLib.Variant('(ii)', (1, 2))
24192 Note that this breaks the current API, but as it is not used widely
24196 Thanks to Ryan Lortie for pointing this out!
24198 gi/overrides/GLib.py | 25 ++++++++++---------------
24199 tests/test_overrides.py | 32 +++++++++++++-------------------
24200 2 files changed, 23 insertions(+), 34 deletions(-)
24202 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
24203 Author: Laszlo Pandy <lpandy@src.gnome.org>
24204 Date: Wed Jan 26 00:40:49 2011 +0100
24206 Speed up _setup_native_vfuncs()
24208 This changes _setup_native_vfuncs() to only install native
24209 vfunc wrappers from the current class on the current class.
24210 Native vfuncs will not be propogated up or down the class
24211 hierarchy as this is unnecessary and wastes CPU and memory.
24213 Since the normal process in python to retrieve a method or
24214 attribute recurses to the base classes if an attribute is not
24215 found in the subclass, there is no need to setup all base class
24216 virtual functions on a subclass.
24218 This patch removes the recursion in _setup_native_vfuncs()
24219 and lets Python find them in the base classes like a normal
24220 Python class would work. This significantly increases the speed
24221 of any class which is or inherits from a C class which includes
24224 https://bugzilla.gnome.org/show_bug.cgi?id=640629
24226 gi/types.py | 26 +++++++++++++-------------
24227 tests/test_gi.py | 13 +++++++++++++
24228 2 files changed, 26 insertions(+), 13 deletions(-)
24230 commit 569d42ac2f50fb706ef289ff631db743483f40ee
24231 Author: Laszlo Pandy <lpandy@src.gnome.org>
24232 Date: Thu Jan 20 16:26:18 2011 +0100
24234 Speed up class creation: rewrite _setup_vfuncs() to be much more
24237 This patch rewrites the _setup_vfuncs() method to remove recursion and
24238 make the running time linear in the number of virtual functions to
24240 (ie. methods starting with "do_") instead of linear in the number of
24241 virtual functions in the base class which could possibly be
24244 Since most classes do not override all of the virtual functions in the
24245 base class (and many override none), this runs much faster.
24247 It is possible to not recurse on all base classes because
24249 base classes will have the virtual function installed as an attribute.
24250 Thus getattr() can be called, which recurses to the base classes much
24251 faster than a custom implementation in Python. If the method cannot be
24252 found with getattr(), all interface bases classes are searched
24255 The function is_function_in_classes() has been deleted. Because of the
24256 above changes, it is not used anymore.
24258 https://bugzilla.gnome.org/show_bug.cgi?id=640073
24261 ++++++++++++++++++++++++++++++++++---------------------
24262 tests/test_gi.py | 13 +++++++
24263 2 files changed, 77 insertions(+), 40 deletions(-)
24265 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
24266 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24267 Date: Mon Jan 24 19:23:19 2011 +0100
24269 pygi-convert.sh: Convert gtk.UI_MANAGER_*
24271 pygi-convert.sh | 1 +
24272 1 file changed, 1 insertion(+)
24274 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
24275 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24276 Date: Fri Jan 21 18:41:54 2011 +0100
24278 pygi-convert.sh: Convert gdk.GRAB_*
24280 pygi-convert.sh | 1 +
24281 1 file changed, 1 insertion(+)
24283 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
24284 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24285 Date: Fri Jan 21 16:45:07 2011 +0100
24287 [gi] set the gtype GValue correctly
24289 gi/pygi-property.c | 4 ++--
24290 1 file changed, 2 insertions(+), 2 deletions(-)
24292 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
24293 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24294 Date: Fri Jan 21 16:20:23 2011 +0100
24296 [gi] use the right argument type for callback
24298 gi/pygi-foreign-cairo.c | 8 ++++----
24299 gi/pygi-foreign-gvariant.c | 4 ++--
24300 gi/pygi-foreign-gvariant.h | 2 +-
24301 gi/pygi-foreign.c | 2 +-
24303 5 files changed, 9 insertions(+), 9 deletions(-)
24305 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
24306 Author: John (J5) Palmieri <johnp@redhat.com>
24307 Date: Fri Jan 21 09:23:54 2011 -0500
24309 [gi] marshal out flags and enum
24311 gi/pygi-argument.c | 14 +++++++++-----
24312 gi/pygi-cache.c | 24 ++++++++++++------------
24313 2 files changed, 21 insertions(+), 17 deletions(-)
24315 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
24316 Author: John (J5) Palmieri <johnp@redhat.com>
24317 Date: Fri Jan 21 08:18:37 2011 -0500
24319 [gi] marshal unions
24321 gi/pygi-cache.c | 27 +++++++++++++--------------
24322 1 file changed, 13 insertions(+), 14 deletions(-)
24324 commit a060287d1a6d190acb9d344f08fd5662e3296da5
24325 Author: Martin Pitt <martin.pitt@ubuntu.com>
24326 Date: Fri Jan 21 11:00:27 2011 +0100
24328 [gi] Add test cases for GDBus client operations
24330 tests/Makefile.am | 1 +
24331 tests/test_gdbus.py | 94
24332 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24333 2 files changed, 95 insertions(+)
24335 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
24336 Author: John (J5) Palmieri <johnp@redhat.com>
24337 Date: Fri Jan 21 04:28:15 2011 -0500
24339 [gi] error out if the constructor returns NULL
24341 gi/pygi-invoke.c | 7 +++++++
24342 1 file changed, 7 insertions(+)
24344 commit 58ff2b2c38c1004861083ca88633be76767229f0
24345 Author: John (J5) Palmieri <johnp@redhat.com>
24346 Date: Fri Jan 21 04:26:45 2011 -0500
24348 [gi] throw error for caller allocates until we can write code to
24351 gi/pygi-cache.c | 11 +++++++++++
24352 1 file changed, 11 insertions(+)
24354 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
24355 Author: John (J5) Palmieri <johnp@redhat.com>
24356 Date: Fri Jan 21 04:26:11 2011 -0500
24358 [gi] support struct out
24360 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
24361 gi/pygi-cache.c | 15 ++-------------
24362 2 files changed, 28 insertions(+), 17 deletions(-)
24364 commit 3133dc595adf44279397d30712c0f8595f0e1acc
24365 Author: John (J5) Palmieri <johnp@redhat.com>
24366 Date: Fri Jan 21 04:22:06 2011 -0500
24368 [gi] move to using type_info and interface_info instead of arg_info
24370 * only arguments have arg_infos, not return types and instances so
24371 type_info is much better to pass. In fact most API that took an
24372 arg_info simply converted it to a type_info
24373 * In the case of instances for methods we don't even have a type_info.
24374 Since all instances are interfaces, we also attach the
24376 to the interface cache
24378 gi/pygi-argument.c | 20 ++++----------------
24379 gi/pygi-cache.c | 43
24380 ++++++++++++++++++++++++++++++++-----------
24381 gi/pygi-cache.h | 4 +++-
24382 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
24383 gi/pygi-foreign-gvariant.c | 11 +++++------
24384 gi/pygi-foreign-gvariant.h | 10 +++++-----
24385 gi/pygi-foreign.c | 21 +++++++++------------
24386 gi/pygi-foreign.h | 6 +++---
24387 gi/pygi.h | 8 ++++----
24388 9 files changed, 77 insertions(+), 70 deletions(-)
24390 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
24391 Author: Martin Pitt <martin.pitt@ubuntu.com>
24392 Date: Fri Jan 21 09:54:14 2011 +0100
24394 [gi] Add Variant construction/unpack support for boxed Variants
24396 Construction uses a GVariantBuilder for now, as the new_variant()
24398 currently does not work (see
24399 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
24401 gi/overrides/GLib.py | 18 +++++++++++++++++-
24402 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
24403 2 files changed, 43 insertions(+), 1 deletion(-)
24405 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
24406 Merge: bc29600 bd002c7
24407 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24408 Date: Fri Jan 21 09:33:16 2011 +0100
24410 Merge branch 'windows-setup-fixes'
24412 commit bc29600a2a04c972ceab7ef8d3292e8633977591
24413 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24414 Date: Thu Jan 20 19:48:23 2011 +0100
24416 pygi-convert.sh: GdkPixbuf methods
24420 pygi-convert.sh | 1 +
24421 1 file changed, 1 insertion(+)
24423 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
24424 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24425 Date: Thu Jan 20 19:45:01 2011 +0100
24427 pygi-convert.sh: Gdk.COLORSPACE_RGB
24431 pygi-convert.sh | 1 +
24432 1 file changed, 1 insertion(+)
24434 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
24435 Author: Martin Pitt <martin.pitt@ubuntu.com>
24436 Date: Wed Jan 19 11:41:11 2011 +0100
24438 [gi] Support nested objects and empty sequences in GLib.Variant
24441 The GVariant constructor (in the overrides) previously did not
24443 arrays/dictionaries or nested structures. Rewrite the VariantCreator
24445 be fully recursive and determine the element types of
24446 arrays/dictionaries.
24448 This now also allows you to use actual tuples as input values for
24450 tuple types. Taking values from the flat argument list is still
24452 convenience, though.
24454 https://bugzilla.gnome.org/show_bug.cgi?id=639939
24456 gi/overrides/GLib.py | 229
24457 ++++++++++++++++++++++++++----------------------
24458 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
24459 2 files changed, 273 insertions(+), 115 deletions(-)
24461 commit ac095f5435f106e175fa3297cb273e63c85d2809
24462 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24463 Date: Thu Jan 20 15:55:45 2011 +0100
24465 Uncomment test_gi.TestInterfaceClash
24467 tests/test_gi.py | 22 +++++++++++-----------
24468 1 file changed, 11 insertions(+), 11 deletions(-)
24470 commit 1239f3709ba257c404dda72b7067b77b19c240fa
24471 Author: John (J5) Palmieri <johnp@redhat.com>
24472 Date: Thu Jan 20 09:05:02 2011 -0500
24474 [gi] add support for enum and flags
24476 gi/pygi-argument.c | 121
24477 +++++++++++++++++++++++++++++++++++++++++------------
24478 gi/pygi-cache.c | 30 ++++++-------
24479 2 files changed, 111 insertions(+), 40 deletions(-)
24481 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
24482 Author: Steve Frécinaux <code@istique.net>
24483 Date: Thu Jan 20 14:14:15 2011 +0100
24485 Fix reference leaks for GInitiallyUnowned objects
24487 References were leaked for GInitiallyUnowned objects which got their
24488 wrappers created several times, because someone else holds reference
24489 on it and it got out of python scope at some point.
24491 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24493 gobject/gobjectmodule.c | 2 ++
24494 gobject/pygobject.c | 14 +++++------
24495 tests/test-floating.c | 36 +++++++++++++++++++++++++++
24496 tests/test-floating.h | 21 ++++++++++++++++
24497 tests/test_gobject.py | 63
24498 ++++++++++++++++++++++++++++++++++++++++++++++++
24499 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
24500 6 files changed, 179 insertions(+), 7 deletions(-)
24502 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
24503 Author: Steve Frécinaux <code@istique.net>
24504 Date: Wed Jan 19 16:57:57 2011 +0100
24506 Add tests for refcount of a GObject owned by a library
24508 When the object is constructed, its refcount is 2 because the library
24509 refs it once. It should remain around until we ask the library to
24510 release its reference.
24512 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24514 tests/test-floating.c | 30 +++++++++++++++++++++++
24515 tests/test-floating.h | 20 ++++++++++++++++
24516 tests/test_gobject.py | 62
24517 ++++++++++++++++++++++++++++++++++++++++++++++++
24518 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
24519 4 files changed, 163 insertions(+)
24521 commit b6737b91938d527872eff1d645a205cacf94e15d
24522 Author: Steve Frécinaux <code@istique.net>
24523 Date: Wed Jan 19 14:52:41 2011 +0100
24525 Add a test to check for regular object reference count
24527 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24529 tests/test_gobject.py | 8 +++++++-
24530 1 file changed, 7 insertions(+), 1 deletion(-)
24532 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
24533 Author: Martin Pitt <martin.pitt@ubuntu.com>
24534 Date: Thu Jan 20 14:15:52 2011 +0100
24536 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
24538 GTK master now landed a lot of annotation fixes which also correctly
24540 array length argument of
24541 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
24542 drop the explicit array length argument from the call in the override.
24544 gi/overrides/Gtk.py | 2 --
24545 1 file changed, 2 deletions(-)
24547 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
24548 Author: Steve Frécinaux <code@istique.net>
24549 Date: Wed Jan 19 18:04:10 2011 +0100
24551 Fix a typo in a private symbol name.
24553 gobject/gobjectmodule.c | 6 +++---
24554 1 file changed, 3 insertions(+), 3 deletions(-)
24556 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
24557 Author: Martin Pitt <martin.pitt@ubuntu.com>
24558 Date: Thu Jan 20 11:49:08 2011 +0100
24560 pygi-convert.sh: Convert glib.source_remove()
24562 pygi-convert.sh | 1 +
24563 1 file changed, 1 insertion(+)
24565 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
24566 Author: Martin Pitt <martin.pitt@ubuntu.com>
24567 Date: Thu Jan 20 11:42:34 2011 +0100
24569 Fix typo in previous commit to actually convert glib.GError
24571 pygi-convert.sh | 2 +-
24572 1 file changed, 1 insertion(+), 1 deletion(-)
24574 commit b238cb614338f46e6feb7935cca0a55c7a929418
24575 Author: Martin Pitt <martin.pitt@ubuntu.com>
24576 Date: Thu Jan 20 11:40:14 2011 +0100
24578 pygi-convert.sh: Move some glib bits which are better handled
24581 pygi-convert.sh | 3 +++
24582 1 file changed, 3 insertions(+)
24584 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
24585 Author: Laszlo Pandy <lpandy@src.gnome.org>
24586 Date: Wed Jan 19 12:00:02 2011 +0100
24588 Modify override for Gtk.Adjustment to allow position or keyword
24589 arguments in __init__().
24591 Previously passing no arguments was not working, because the default
24592 value for each parameter was None, and GObject.__init__() refuses to
24593 allow None for integer properties. This patch does not pass None up
24594 to GObject.__init__. Instead it does not pass the parameter at all,
24595 and uses the class's default values.
24597 https://bugzilla.gnome.org/show_bug.cgi?id=639934
24599 gi/overrides/Gtk.py | 14 ++++++++++++--
24600 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
24601 2 files changed, 39 insertions(+), 9 deletions(-)
24603 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
24604 Author: Martin Pitt <martin.pitt@ubuntu.com>
24605 Date: Wed Jan 19 22:52:51 2011 +0100
24607 [gi] Fix small typo in previous commit
24609 The GVariant signature of the self test had a trailing 'i'. The
24611 GVariant builder doesn't mind, but the new implementation proposed
24615 tests/test_overrides.py | 2 +-
24616 1 file changed, 1 insertion(+), 1 deletion(-)
24618 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
24619 Author: Martin Pitt <martin.pitt@ubuntu.com>
24620 Date: Wed Jan 19 20:18:19 2011 +0100
24622 [gi] Add pythonic iterator and indexing for string GVariants
24624 This extends commit b1a98083c to also work for strings.
24626 gi/overrides/GLib.py | 8 +++++++-
24627 tests/test_overrides.py | 13 +++++++++++++
24628 2 files changed, 20 insertions(+), 1 deletion(-)
24630 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
24631 Author: John (J5) Palmieri <johnp@redhat.com>
24632 Date: Wed Jan 19 14:08:03 2011 -0500
24634 [gi] return NULL if out_marshaller fails
24636 gi/pygi-invoke.c | 5 +++++
24637 1 file changed, 5 insertions(+)
24639 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
24640 Author: John (J5) Palmieri <johnp@redhat.com>
24641 Date: Wed Jan 19 13:57:54 2011 -0500
24643 [gi] fix some transfer issues and test case failures
24645 gi/pygi-argument.c | 4 ++++
24646 gi/pygi-cache.c | 11 ++++++++---
24647 gi/pygi-invoke.c | 17 +++++++++--------
24648 3 files changed, 21 insertions(+), 11 deletions(-)
24650 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
24651 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24652 Date: Wed Jan 19 18:09:23 2011 +0100
24654 Construct structs using default API constructor
24656 If the struct has something that looks like a default constructor,
24657 use it instead of trying to directly allocate it, as it will fail
24658 if the struct fields are not exposed.
24660 https://bugzilla.gnome.org/show_bug.cgi?id=627444
24662 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
24663 gi/types.py | 7 +++++++
24664 2 files changed, 44 insertions(+)
24666 commit db7300e173388d9557dcd2333781bfaa6b021605
24667 Author: Martin Pitt <martin.pitt@ubuntu.com>
24668 Date: Wed Jan 19 18:54:39 2011 +0100
24670 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
24672 pygi-convert.sh | 2 ++
24673 1 file changed, 2 insertions(+)
24675 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
24676 Author: Martin Pitt <martin.pitt@ubuntu.com>
24677 Date: Wed Jan 19 18:43:29 2011 +0100
24679 pygi-convert.sh: Handle .window attributes
24681 In general, convert them to .get_window(). For some of them, prefer
24683 GtkWidget methods instead.
24685 pygi-convert.sh | 5 ++++-
24686 1 file changed, 4 insertions(+), 1 deletion(-)
24688 commit b1049b947d073fb569ba900a4d5c8519482d831e
24689 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24690 Date: Wed Jan 19 17:35:09 2011 +0100
24692 Also deal with foreign boxed structs
24694 cairo.Context has been boxed and our tests started failing
24696 https://bugzilla.gnome.org/show_bug.cgi?id=639967
24698 gi/pygi-argument.c | 4 ++--
24699 1 file changed, 2 insertions(+), 2 deletions(-)
24701 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
24702 Author: Laszlo Pandy <lpandy@src.gnome.org>
24703 Date: Wed Jan 19 17:45:11 2011 +0100
24705 [gi] Convert GErrors to GObject.GError exceptions, and throw them
24706 upon returning from calling the C function.
24708 This changes gi to make use of pyglib_error_check() which already
24711 The included tests make use of the other patch attached to this bug,
24712 to check that the right exception is thrown from the new function
24713 in GIMarshallingTests.
24714 two Gtk C functions.
24716 https://bugzilla.gnome.org/show_bug.cgi?id=639834
24718 gi/Makefile.am | 3 ++-
24719 gi/pygi-invoke.c | 12 +++---------
24720 tests/test_gi.py | 10 ++++++++++
24721 3 files changed, 15 insertions(+), 10 deletions(-)
24723 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
24724 Author: John (J5) Palmieri <johnp@redhat.com>
24725 Date: Wed Jan 19 12:05:45 2011 -0500
24727 [gi] fix out marshalling for a couple of int types
24729 gi/pygi-argument.c | 2 +-
24730 gi/pygi-cache.c | 2 +-
24731 2 files changed, 2 insertions(+), 2 deletions(-)
24733 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
24734 Author: John (J5) Palmieri <johnp@redhat.com>
24735 Date: Wed Jan 19 11:59:09 2011 -0500
24737 [gi] fixed range checking and type conversion with unsigned and
24740 gi/pygi-argument.c | 90
24741 +++++++++++++++++++++++++++++++++++++++++++++---------
24742 gi/pygi-cache.c | 2 +-
24743 2 files changed, 76 insertions(+), 16 deletions(-)
24745 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
24746 Author: Martin Pitt <martin.pitt@ubuntu.com>
24747 Date: Wed Jan 19 17:03:06 2011 +0100
24749 pygi-convert.sh: Don't convert glib -> GLib for now
24751 This currently leads to a load of crashes, MemoryErrors, etc, as
24753 very well introspectable, due to the low-level operations that
24756 John Palmieri confirms that using the static "glib" binding is
24758 now, so disable the replacement rules.
24760 pygi-convert.sh | 19 ++++++++++---------
24761 1 file changed, 10 insertions(+), 9 deletions(-)
24763 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
24764 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24765 Date: Wed Jan 19 16:47:08 2011 +0100
24767 Link libregress.so to GIO_LIBS again
24769 configure.ac | 5 +++++
24770 1 file changed, 5 insertions(+)
24772 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
24773 Author: Laszlo Pandy <lpandy@src.gnome.org>
24774 Date: Wed Jan 19 16:14:42 2011 +0100
24776 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
24778 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
24779 because in Python attributes starting with a numeral causes a
24782 gi/overrides/Gdk.py | 7 +++++--
24783 1 file changed, 5 insertions(+), 2 deletions(-)
24785 commit 4f5d20966d4a8c649e5fae584039621edab178f3
24786 Author: John (J5) Palmieri <johnp@redhat.com>
24787 Date: Wed Jan 19 10:02:40 2011 -0500
24789 [gi] use correct format stings when setting errors
24791 gi/pygi-argument.c | 12 ++++++------
24792 1 file changed, 6 insertions(+), 6 deletions(-)
24794 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
24795 Author: John (J5) Palmieri <johnp@redhat.com>
24796 Date: Wed Jan 19 09:45:09 2011 -0500
24798 [gi] allow marshalling strings as None
24800 gi/pygi-argument.c | 5 +++++
24801 1 file changed, 5 insertions(+)
24803 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
24804 Author: John (J5) Palmieri <johnp@redhat.com>
24805 Date: Wed Jan 19 09:41:56 2011 -0500
24807 [gi] make error messages more detailed
24809 gi/pygi-argument.c | 2 +-
24810 gi/pygi-cache.c | 18 +++++++++---------
24811 2 files changed, 10 insertions(+), 10 deletions(-)
24813 commit f0b17605ed2eb917b350654b070984beb553eae3
24814 Author: John (J5) Palmieri <johnp@redhat.com>
24815 Date: Wed Jan 19 09:41:13 2011 -0500
24817 [gi] allow marshalling None for hashes
24819 gi/pygi-argument.c | 5 +++++
24820 1 file changed, 5 insertions(+)
24822 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
24823 Author: John (J5) Palmieri <johnp@redhat.com>
24824 Date: Wed Jan 19 09:40:37 2011 -0500
24826 [gi] add marshalling to some out values
24828 gi/pygi-argument.c | 50
24829 +++++++++++++++++++++++++++++++++++++++++---------
24830 1 file changed, 41 insertions(+), 9 deletions(-)
24832 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
24833 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24834 Date: Wed Jan 19 15:27:33 2011 +0100
24836 [gi] Fixed typo in exception
24838 gi/overrides/Gtk.py | 2 +-
24839 1 file changed, 1 insertion(+), 1 deletion(-)
24841 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
24842 Author: John (J5) Palmieri <johnp@redhat.com>
24843 Date: Wed Jan 19 09:13:44 2011 -0500
24845 [gi] fix marshalling structs
24847 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
24848 gi/pygi-foreign.c | 18 ++++++++++++------
24849 gi/pygi-foreign.h | 8 ++++----
24850 3 files changed, 51 insertions(+), 22 deletions(-)
24852 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
24853 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24854 Date: Wed Jan 19 15:12:25 2011 +0100
24856 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
24858 gi/overrides/Gdk.py | 4 ++--
24859 1 file changed, 2 insertions(+), 2 deletions(-)
24861 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
24862 Author: Martin Pitt <martin.pitt@ubuntu.com>
24863 Date: Wed Jan 19 14:54:57 2011 +0100
24865 Revert "Fix Pango FontDescription override"
24868 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
24869 the default constructor actually does take no arguments; we should
24871 the MemoryError. Add a test case for this.
24873 Remove the FIXME though, as pango_font_description_from_string()
24875 FontDescription constructor, but a static factory method.
24877 Thanks to Paolo Borelli for pointing this out!
24879 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
24881 gi/overrides/Pango.py | 5 ++++-
24882 tests/test_overrides.py | 5 +++++
24883 2 files changed, 9 insertions(+), 1 deletion(-)
24885 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
24886 Author: Tony Young <rofflwaffls@gmail.com>
24887 Date: Thu Dec 16 23:39:33 2010 +0000
24889 Python iterator interface support for GFileEnumerator.
24891 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
24892 gi/overrides/Makefile.am | 1 +
24893 tests/test_overrides.py | 20 ++++++++++++++++++++
24894 3 files changed, 62 insertions(+)
24896 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
24897 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24898 Date: Fri Jan 7 12:10:37 2011 +0100
24900 Remove gio static bindings
24902 https://bugzilla.gnome.org/show_bug.cgi?id=638899
24905 configure.ac | 25 -
24906 gio/.gitignore | 3 -
24907 gio/Makefile.am | 117 -
24908 gio/__init__.py | 40 -
24909 gio/gappinfo.override | 213 --
24910 gio/gapplaunchcontext.override | 99 -
24911 gio/gbufferedinputstream.override | 70 -
24912 gio/gcancellable.override | 38 -
24913 gio/gdatainputstream.override | 250 --
24914 gio/gdrive.override | 347 --
24915 gio/gfile.override | 2215 -----------
24916 gio/gfileattribute.override | 153 -
24917 gio/gfileenumerator.override | 184 -
24918 gio/gfileinfo.override | 121 -
24919 gio/gfileinputstream.override | 68 -
24920 gio/gfileiostream.override | 68 -
24921 gio/gfileoutputstream.override | 68 -
24922 gio/gicon.override | 310 --
24923 gio/ginputstream.override | 344 --
24924 gio/gio-types.defs | 807 ----
24925 gio/gio.defs | 7465
24926 -------------------------------------
24927 gio/gio.override | 409 --
24928 gio/giomodule.c | 208 --
24929 gio/giostream.override | 68 -
24930 gio/gmemoryinputstream.override | 91 -
24931 gio/gmemoryoutputstream.override | 45 -
24932 gio/gmount.override | 454 ---
24933 gio/goutputstream.override | 292 --
24934 gio/gresolver.override | 312 --
24935 gio/gsocket.override | 575 ---
24936 gio/gvolume.override | 237 --
24937 gio/gvolumemonitor.override | 94 -
24938 gio/pygio-utils.c | 236 --
24939 gio/pygio-utils.h | 49 -
24940 gio/unix-types.defs | 55 -
24941 gio/unix.defs | 475 ---
24942 gio/unix.override | 62 -
24943 gio/unixmodule.c | 52 -
24944 tests/Makefile.am | 9 -
24945 tests/runtests-windows.py | 3 -
24946 tests/test_gcancellable.py | 15 -
24947 tests/test_gicon.py | 112 -
24948 tests/test_gio.py | 1138 ------
24949 tests/test_gresolver.py | 68 -
24950 tests/test_gsocket.py | 126 -
24951 46 files changed, 1 insertion(+), 18191 deletions(-)
24953 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
24954 Author: John (J5) Palmieri <johnp@redhat.com>
24955 Date: Wed Jan 19 07:56:16 2011 -0500
24957 [gi] switch from using (*arg). to arg-> when referencing union
24960 gi/pygi-argument.c | 54
24961 +++++++++++++++++++++++++++---------------------------
24962 1 file changed, 27 insertions(+), 27 deletions(-)
24964 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
24965 Author: John (J5) Palmieri <johnp@redhat.com>
24966 Date: Wed Jan 19 07:49:52 2011 -0500
24968 [gi] return FALSE when setting errors in the marshaller
24970 gi/pygi-argument.c | 3 ++-
24971 1 file changed, 2 insertions(+), 1 deletion(-)
24973 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
24974 Author: John (J5) Palmieri <johnp@redhat.com>
24975 Date: Wed Jan 19 07:14:18 2011 -0500
24977 [gi] do arg counting in new invoke
24979 gi/pygi-cache.c | 2 ++
24980 gi/pygi-cache.h | 14 ++++++++------
24981 gi/pygi-invoke-state-struct.h | 2 +-
24982 gi/pygi-invoke.c | 20 +++++++++++++++++++-
24983 4 files changed, 30 insertions(+), 8 deletions(-)
24985 commit f45033858bed70d7defec3f71f26aa5b3999d680
24986 Author: John (J5) Palmieri <johnp@redhat.com>
24987 Date: Wed Jan 19 06:35:45 2011 -0500
24989 [gi] set length for uint8 in arrays in new invoke marshaller
24991 gi/pygi-argument.c | 1 +
24992 1 file changed, 1 insertion(+)
24994 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
24995 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24996 Date: Wed Jan 19 12:04:15 2011 +0100
24998 [gi] set length when marshalling guint8 erases
25000 gi/pygi-argument.c | 1 +
25001 tests/test_gi.py | 4 ++++
25002 2 files changed, 5 insertions(+)
25004 commit 22eee43e50a150ace80694213fb87be9f0c72f51
25005 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25006 Date: Wed Jan 19 10:27:47 2011 +0100
25008 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
25010 pygi-convert.sh | 1 +
25011 1 file changed, 1 insertion(+)
25013 commit a4b210d69c832629894090b7154ae194209b0c60
25014 Author: Arnaud Charlet <charlet@adacore.com>
25015 Date: Tue Jan 18 18:31:29 2011 +0100
25017 Disable calls to PyGILState_* when threads are disabled
25019 Since threads may also be disabled in Python too, those symbols
25023 https://bugzilla.gnome.org/show_bug.cgi?id=374603
25025 glib/pyglib.c | 12 ++++++++++++
25026 gobject/pygobject-private.h | 6 ++++++
25027 2 files changed, 18 insertions(+)
25029 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
25030 Author: John (J5) Palmieri <johnp@redhat.com>
25031 Date: Tue Jan 18 12:31:57 2011 -0500
25033 [gi] fix handling of garrays vs c arrays
25035 gi/pygi-argument.c | 9 +++++++--
25036 gi/pygi-cache.c | 2 ++
25037 gi/pygi-cache.h | 1 +
25038 3 files changed, 10 insertions(+), 2 deletions(-)
25040 commit a000627ec3904b9414ce375aec8d144fc0c26248
25041 Author: Martin Pitt <martin.pitt@ubuntu.com>
25042 Date: Tue Jan 18 18:29:50 2011 +0100
25044 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
25045 these should be ported properly
25047 pygi-convert.sh | 1 -
25048 1 file changed, 1 deletion(-)
25050 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
25051 Author: Martin Pitt <martin.pitt@ubuntu.com>
25052 Date: Tue Jan 18 18:26:01 2011 +0100
25054 pygi-convert.sh: Fix match for adding missing imports
25056 pygi-convert.sh | 8 ++++----
25057 1 file changed, 4 insertions(+), 4 deletions(-)
25059 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
25060 Author: Martin Pitt <martin.pitt@ubuntu.com>
25061 Date: Tue Jan 18 18:09:30 2011 +0100
25063 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
25065 As we are not replacing line by line, but the whole file at once,
25067 hackish unfortunately. We can't use a match test or a lookahead/behind
25070 pygi-convert.sh | 5 +++--
25071 1 file changed, 3 insertions(+), 2 deletions(-)
25073 commit f66051380c0432bf142774542ade2144adcd455e
25074 Author: John (J5) Palmieri <johnp@redhat.com>
25075 Date: Tue Jan 18 11:44:27 2011 -0500
25077 [gi] use correct union memeber when marshalling floats
25079 gi/pygi-argument.c | 2 +-
25080 1 file changed, 1 insertion(+), 1 deletion(-)
25082 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
25083 Author: Laszlo Pandy <lpandy@src.gnome.org>
25084 Date: Tue Jan 18 17:29:52 2011 +0100
25086 Remove trailing whitespace from gi/overrides/Gtk.py
25088 gi/overrides/Gtk.py | 10 +++++-----
25089 1 file changed, 5 insertions(+), 5 deletions(-)
25091 commit 1006df1929a667716c25e74b35b8f14643358732
25092 Author: John (J5) Palmieri <johnp@redhat.com>
25093 Date: Tue Jan 18 11:24:06 2011 -0500
25095 [gi] fix constructor invoking and add some support for interface
25098 * constructors are now simplified and are treated like normal
25100 which happen to return an instance
25102 gi/pygi-argument.c | 8 ++--
25103 gi/pygi-cache.c | 132
25104 +++++++++++++++++++++++++++++++++++++++++++++++++++--
25105 gi/pygi-invoke.c | 9 ++--
25106 gi/types.py | 21 +++------
25107 4 files changed, 142 insertions(+), 28 deletions(-)
25109 commit 8878c57676091c08e66bc6cbe735d898cb420582
25110 Author: Martin Pitt <martin.pitt@ubuntu.com>
25111 Date: Tue Jan 18 16:47:10 2011 +0100
25113 Fix Pango FontDescription override
25115 Trying to call __new__() on a record crashes with a MemoryError,
25117 the intended static factory method for a None argument as well
25121 gi/overrides/Pango.py | 7 +------
25122 1 file changed, 1 insertion(+), 6 deletions(-)
25124 commit efbbe71634037fa100b17327389b883b259cca54
25125 Author: Martin Pitt <martin.pitt@ubuntu.com>
25126 Date: Tue Jan 18 16:23:39 2011 +0100
25128 tests: Respect existing $GI_TYPELIB_PATH
25130 This allows us to run the test suite against local typelibs.
25132 tests/Makefile.am | 2 +-
25133 1 file changed, 1 insertion(+), 1 deletion(-)
25135 commit c96ca383350e5b9b079d9a86464922314939c006
25136 Author: John (J5) Palmieri <johnp@redhat.com>
25137 Date: Tue Jan 18 07:16:40 2011 -0500
25139 [gi] fix aux value offsets for methods and element size crashers
25141 * if the callable is a method we need to add 1 to the aux index
25142 for in values so we grab the right argument cache
25143 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
25146 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
25147 1 file changed, 24 insertions(+), 18 deletions(-)
25149 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
25150 Merge: 84d6142 7d997b6
25151 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25152 Date: Tue Jan 18 13:14:45 2011 +0100
25154 Merge branch 'value'
25156 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
25157 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25158 Date: Tue Jan 18 13:12:36 2011 +0100
25160 GTK overrides: Do type conversion to column types of ListStore and
25161 TreeStore in set_value
25163 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
25164 tests/test_overrides.py | 12 +++++++++++-
25165 2 files changed, 29 insertions(+), 11 deletions(-)
25167 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
25168 Author: Steve Frécinaux <code@istique.net>
25169 Date: Mon Jan 17 18:57:58 2011 +0100
25171 Always register a new GType when a GObject class is subclassed
25173 This patch makes the GType <-> python mapping much more predictible,
25174 and fixes the bug caused by overriding methods without specifying a
25175 __gtype_name__ member in the subclass, and makes type_register useless
25178 It is still possible to provide an explicit __gtype_name__ member
25180 subclass as it allows having a predictible GType name, which is handy
25181 for some of our tests. There is also an explicit special case for
25182 overrides because we obviously do not want to register new GTypes for
25183 those ones as it would clearly defeat the purpose of overrides.
25185 https://bugzilla.gnome.org/show_bug.cgi?id=543056
25187 gobject/__init__.py | 6 +++---
25188 tests/test_gi.py | 21 ++-------------------
25189 2 files changed, 5 insertions(+), 22 deletions(-)
25191 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
25192 Author: Simon van der Linden <svdlinden@gnome.org>
25193 Date: Tue Jan 18 12:57:13 2011 +0100
25195 Raise required versions of GLib and GObject-Introspection
25197 https://bugzilla.gnome.org/show_bug.cgi?id=612126
25199 configure.ac | 6 +++---
25200 1 file changed, 3 insertions(+), 3 deletions(-)
25202 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
25203 Author: Martin Pitt <martin.pitt@ubuntu.com>
25204 Date: Tue Jan 18 12:52:32 2011 +0100
25206 pygi-convert.sh: Handle keysyms
25208 pygi-convert.sh | 1 +
25209 1 file changed, 1 insertion(+)
25211 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
25212 Author: Martin Pitt <martin.pitt@ubuntu.com>
25213 Date: Tue Jan 18 12:14:09 2011 +0100
25215 GLib overrides: Add test case for array variant building
25217 tests/test_overrides.py | 7 +++++++
25218 1 file changed, 7 insertions(+)
25220 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
25221 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25222 Date: Tue Jan 18 10:21:03 2011 +0100
25224 Remove cairo.RectangleInt from the foreign module
25226 https://bugzilla.gnome.org/show_bug.cgi?id=639824
25228 gi/pygi-foreign-cairo.c | 96
25229 -------------------------------------------------
25230 1 file changed, 96 deletions(-)
25232 commit 017680c9a5e163021628bf29543598861a3b600a
25233 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25234 Date: Tue Jan 18 10:20:25 2011 +0100
25236 Dont try to guess the transfer if its a boxed
25238 https://bugzilla.gnome.org/show_bug.cgi?id=639823
25240 gi/pygi-invoke.c | 5 ++++-
25241 1 file changed, 4 insertions(+), 1 deletion(-)
25243 commit 771ef76574690eb98926249f38661d741d1ebbb0
25244 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25245 Date: Tue Jan 18 12:02:01 2011 +0100
25247 The tags can be Empty not None.
25249 gi/overrides/Gtk.py | 2 +-
25250 1 file changed, 1 insertion(+), 1 deletion(-)
25252 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
25253 Author: Martin Pitt <martin.pitt@ubuntu.com>
25254 Date: Tue Jan 18 12:01:28 2011 +0100
25256 Add Pythonic iterators and indexing to GVariant
25258 Add the usual set of iterators and index accessors to GLib.Variant
25260 which are containers.
25262 Add corresponding test cases.
25264 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
25265 tests/test_overrides.py | 55
25266 +++++++++++++++++++++++++++++++++++++++++++++++++
25267 2 files changed, 105 insertions(+)
25269 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
25270 Author: Martin Pitt <martin.pitt@ubuntu.com>
25271 Date: Tue Jan 18 10:48:03 2011 +0100
25273 Add GLib.Variant.unpack()
25275 This method decomposes a GLib.Variant into a native Python object,
25277 counterpart of _VariantCreator. This makes it a lot nicer for
25279 developers to use e. g. return values from gdbus calls.
25281 Add appropriate test case.
25283 gi/overrides/GLib.py | 45
25284 +++++++++++++++++++++++++++++++++++++++++++++
25285 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
25286 2 files changed, 77 insertions(+), 1 deletion(-)
25288 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
25289 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25290 Date: Tue Jan 18 10:56:18 2011 +0100
25292 Add override for gtk_text_buffer_insert_with_tags
25294 gi/overrides/Gtk.py | 12 ++++++++++++
25295 tests/test_overrides.py | 6 ++++++
25296 2 files changed, 18 insertions(+)
25298 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
25299 Author: Simon van der Linden <svdlinden@gnome.org>
25300 Date: Mon Jan 17 14:35:14 2011 +0100
25302 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
25304 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25306 gi/Makefile.am | 6 ++++--
25307 gio/Makefile.am | 2 +-
25308 glib/Makefile.am | 2 +-
25309 m4/python.m4 | 7 +++++--
25310 tests/Makefile.am | 2 +-
25311 5 files changed, 12 insertions(+), 7 deletions(-)
25313 commit bceec758b27e6c396d17a79424633b5dc9116f54
25314 Author: Simon van der Linden <svdlinden@gnome.org>
25315 Date: Mon Jan 17 14:20:55 2011 +0100
25317 Kill JD_CHECK_PYTHON_HEADERS
25319 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
25321 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25323 configure.ac | 2 +-
25324 m4/python.m4 | 31 +------------------------------
25325 2 files changed, 2 insertions(+), 31 deletions(-)
25327 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
25328 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25329 Date: Mon Jan 17 19:09:27 2011 +0100
25331 Revert "Override Gtk.Box.pack_start and pack_end to set default
25332 values to be compliant with pygtk"
25334 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
25338 gi/overrides/Gtk.py
25340 gi/overrides/Gtk.py | 10 ----------
25341 1 file changed, 10 deletions(-)
25343 commit 4fbae9629adc166627de05bb0946b71485343d69
25344 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25345 Date: Mon Jan 17 19:08:23 2011 +0100
25347 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
25348 default values to be compliant with pygtk"
25350 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
25352 gi/overrides/Gtk.py | 13 ++-----------
25353 1 file changed, 2 insertions(+), 11 deletions(-)
25355 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
25356 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25357 Date: Mon Jan 17 19:08:06 2011 +0100
25359 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
25360 set_cell_data_func to add default values to be compliant with pygtk"
25362 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
25364 gi/overrides/Gtk.py | 9 ---------
25365 1 file changed, 9 deletions(-)
25367 commit 2d9534f347505573da46743b47318e08bf073aef
25368 Author: Martin Pitt <martin.pitt@ubuntu.com>
25369 Date: Mon Jan 17 18:54:10 2011 +0100
25371 pygi-convert.sh: Handle gtk.combo_box_new_text()
25373 pygi-convert.sh | 1 +
25374 1 file changed, 1 insertion(+)
25376 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
25377 Author: John (J5) Palmieri <johnp@redhat.com>
25378 Date: Mon Jan 17 12:31:03 2011 -0500
25382 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
25383 gi/pygi-cache.c | 80
25384 +++++++++++++++++++++++++++++++++++++++++-------------
25385 gi/pygi-cache.h | 13 +++++++--
25386 gi/pygi-invoke.c | 2 +-
25387 4 files changed, 138 insertions(+), 25 deletions(-)
25389 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
25390 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25391 Date: Mon Jan 17 16:57:53 2011 +0100
25393 Override TreeSortable.set_sort_func and set_default_sort_func to
25394 add default values to be pygtk compliant
25396 gi/overrides/Gtk.py | 6 ++++++
25397 1 file changed, 6 insertions(+)
25399 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
25400 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25401 Date: Mon Jan 17 16:29:28 2011 +0100
25403 Override Gtk.TreeViewColumn.pack_start, pack_end and
25404 set_cell_data_func to add default values to be compliant with pygtk
25406 gi/overrides/Gtk.py | 9 +++++++++
25407 1 file changed, 9 insertions(+)
25409 commit 232841148f35684be83a2f47b5b18da4fb74f63a
25410 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25411 Date: Mon Jan 17 16:28:51 2011 +0100
25413 Override Gtk.CellLayout.pack_start and pack_end to add default values
25414 to be compliant with pygtk
25416 gi/overrides/Gtk.py | 13 +++++++++++--
25417 1 file changed, 11 insertions(+), 2 deletions(-)
25419 commit 1dec12826753756fcadefc8ef8c756fc902c320b
25420 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25421 Date: Mon Jan 17 15:54:32 2011 +0100
25423 Override Gtk.Paned pack1 and pack2 to add default values to be
25424 compliant with pygtk
25426 gi/overrides/Gtk.py | 10 ++++++++++
25427 1 file changed, 10 insertions(+)
25429 commit a8c727b9c4195d8085a45661683a18614ae84485
25430 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25431 Date: Mon Jan 17 15:46:25 2011 +0100
25433 Override Gtk.Box.pack_start and pack_end to set default values to
25434 be compliant with pygtk
25436 gi/overrides/Gtk.py | 10 ++++++++++
25437 1 file changed, 10 insertions(+)
25439 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
25440 Author: Steve Frécinaux <code@istique.net>
25441 Date: Wed Aug 4 00:30:05 2010 +0200
25443 Handle GObject subclasses in the property helper.
25445 https://bugzilla.gnome.org/show_bug.cgi?id=625982
25447 gobject/propertyhelper.py | 26 +++++++++++++-------------
25448 tests/test_properties.py | 9 +++++++++
25449 2 files changed, 22 insertions(+), 13 deletions(-)
25451 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
25452 Author: Martin Pitt <martin.pitt@ubuntu.com>
25453 Date: Mon Jan 17 17:52:15 2011 +0100
25455 Fix handling of unicode for GtkTreeModels
25457 The code previously converted an unicode object into unicode, but
25459 models actually have to specify 'str' (GTK expects a gchararray). So
25461 UTF-8 instead to get what GTK expects.
25463 Add corresponding test case.
25465 gi/overrides/Gtk.py | 2 +-
25466 tests/test_overrides.py | 12 +++++++++++-
25467 2 files changed, 12 insertions(+), 2 deletions(-)
25469 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
25470 Author: Laszlo Pandy <lpandy@src.gnome.org>
25471 Date: Mon Jan 17 16:46:08 2011 +0100
25473 In IntrospectionModule and DynamicModule classes, make all instance
25474 attributes start with an underscore.
25476 This changes IntrospectionModule.version to _version and
25477 DynamicModule.introspection_module to _introspection_module.
25478 This is done to mark the attributes as private, and also avoid name
25479 collisions with attributes from the typelib.
25480 In Gstreamer, there is a function gst_version, which was previously
25481 inaccessible because of IntrospectionModule.version overriding it.
25483 gi/module.py | 26 +++++++++++++-------------
25484 gi/overrides/GIMarshallingTests.py | 2 +-
25485 gi/overrides/GLib.py | 2 +-
25486 gi/overrides/Gdk.py | 10 +++++-----
25487 gi/overrides/Gtk.py | 2 +-
25488 gi/overrides/Pango.py | 2 +-
25489 gi/overrides/__init__.py | 2 +-
25490 tests/test_everything.py | 2 +-
25491 8 files changed, 24 insertions(+), 24 deletions(-)
25493 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
25494 Author: Laszlo Pandy <lpandy@src.gnome.org>
25495 Date: Mon Jan 17 16:17:25 2011 +0100
25497 Amend previous enum wrapping commit to remove redundant setting of
25498 __info__ attribute.
25500 gi/module.py | 2 +-
25501 gi/types.py | 6 +++---
25502 2 files changed, 4 insertions(+), 4 deletions(-)
25504 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
25505 Author: Martin Pitt <martin.pitt@ubuntu.com>
25506 Date: Mon Jan 17 16:16:45 2011 +0100
25508 pygi-convert.sh: Handle GdkPixbuf.InterpType
25510 pygi-convert.sh | 2 ++
25511 1 file changed, 2 insertions(+)
25513 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
25514 Author: Laszlo Pandy <laszlok2@gmail.com>
25515 Date: Mon Jan 17 15:43:34 2011 +0100
25517 Fix wrapping of enums: Create new Python type for each non-gtype enum.
25519 Previously non-gtype enums used the same class, which meant they
25520 were all the same type.
25521 This caused another problem that since they were all the same class,
25522 attributes from different enums were available from each other.
25524 A new test case is created to check for this bug. It requires a new
25525 enum from the GIMarshallingTests (updating gobject-introspection
25528 gi/module.py | 2 +-
25530 tests/test_gi.py | 10 ++++++++++
25531 3 files changed, 13 insertions(+), 1 deletion(-)
25533 commit da50d5620a42046d4fc905bb28a0890d73533cb1
25534 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25535 Date: Mon Dec 13 18:03:51 2010 +0100
25537 Use g_vfunc_info_invoke for chaining up in vfuncs
25539 https://bugzilla.gnome.org/show_bug.cgi?id=637165
25541 gi/pygi-info.c | 4 ++--
25542 gi/pygi-invoke.c | 72
25543 +++++++++++++++++++++++++++++++++++++++++++-------------
25544 gi/pygi-invoke.h | 3 ++-
25545 gi/types.py | 28 +++++++++++++++++++++-
25546 tests/test_gi.py | 5 ++--
25547 5 files changed, 89 insertions(+), 23 deletions(-)
25549 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
25550 Author: Simon van der Linden <svdlinden@gnome.org>
25551 Date: Fri Dec 31 18:38:04 2010 +0100
25553 Move pyglib_{main_context, option_context, option_group}_new into
25556 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
25558 when used inside the glib module, since pyglib_init is not called.
25560 pyglib.c is compiled as a stand-alone library loaded by the _glib
25562 declares the above-mentioned types. Hence, they cannot be accessed
25564 former. This patch moves the functions that need those symbols
25566 glib._glib module and exports them to the pyglib library through
25569 https://bugzilla.gnome.org/show_bug.cgi?id=636656
25571 glib/glibmodule.c | 5 ++++-
25572 glib/pyglib-private.h | 3 +++
25574 +++---------------------------------------------
25575 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
25576 glib/pygmaincontext.h | 2 +-
25577 glib/pygmainloop.c | 2 +-
25578 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
25579 glib/pygoptioncontext.h | 2 ++
25580 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
25581 glib/pygoptiongroup.h | 2 ++
25582 glib/pygsource.c | 2 +-
25583 11 files changed, 86 insertions(+), 49 deletions(-)
25585 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
25586 Author: Martin Pitt <martin.pitt@ubuntu.com>
25587 Date: Mon Jan 17 14:51:26 2011 +0100
25589 pygi-convert.sh: Handle Gdk.DragAction
25591 pygi-convert.sh | 1 +
25592 1 file changed, 1 insertion(+)
25594 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
25595 Author: Martin Pitt <martin.pitt@ubuntu.com>
25596 Date: Mon Jan 17 14:46:58 2011 +0100
25598 pygi-convert.sh: Generalize Gtk.Settings migration
25600 There are other GSettings.get_* functions like get_for_screen().
25602 pygi-convert.sh | 2 +-
25603 1 file changed, 1 insertion(+), 1 deletion(-)
25605 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
25606 Author: Martin Pitt <martin.pitt@ubuntu.com>
25607 Date: Mon Jan 17 11:22:46 2011 +0100
25609 pygi-convert.sh: Don't change the name of "glib" submodules
25611 This particular affects dbus.mainloop.glib.*
25613 pygi-convert.sh | 2 +-
25614 1 file changed, 1 insertion(+), 1 deletion(-)
25616 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
25617 Author: Paolo Borelli <pborelli@gnome.org>
25618 Date: Sun Jan 16 22:09:56 2011 +0100
25620 Plug another memory leak
25622 Do not leak interface info in (g|s)_et_property.
25624 gi/pygi-property.c | 4 ++++
25625 1 file changed, 4 insertions(+)
25627 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
25628 Author: Paolo Borelli <pborelli@gnome.org>
25629 Date: Sun Jan 16 21:43:30 2011 +0100
25631 Plug a small memory leak.
25633 Do not leak type_info in find_vfunc_info
25635 gi/gimodule.c | 10 +++++-----
25636 1 file changed, 5 insertions(+), 5 deletions(-)
25638 commit d0cbcc45366d40702c69cef207d3c0f361260c02
25639 Author: Paolo Borelli <pborelli@gnome.org>
25640 Date: Sun Jan 16 12:16:31 2011 +0100
25642 Override Table.attach() to behave like pygtk
25644 It is fairly common and even gtk itself still has attach_defaults.
25646 gi/overrides/Gtk.py | 3 +++
25647 tests/test_overrides.py | 4 ++++
25648 2 files changed, 7 insertions(+)
25650 commit 6409d659326bf3cefdf6051379e8bc2031f16733
25651 Author: Martin Pitt <martin.pitt@ubuntu.com>
25652 Date: Sat Jan 15 11:20:23 2011 -0600
25654 pygi-convert.sh: Convert Pango.WrapMode
25656 pygi-convert.sh | 1 +
25657 1 file changed, 1 insertion(+)
25659 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
25660 Author: Martin Pitt <martin.pitt@ubuntu.com>
25661 Date: Sat Jan 15 11:17:09 2011 -0600
25663 pygi-convert.sh: Don't change the name of "gtk" submodules
25665 Some projects have local modules like "myproject.ui.gtk". Avoid
25667 just change module names which start with "gtk" or "gdk".
25669 pygi-convert.sh | 4 ++--
25670 1 file changed, 2 insertions(+), 2 deletions(-)
25672 commit 9be0f1f2dfb89150faf1827ef482feea03645149
25673 Author: John (J5) Palmieri <johnp@redhat.com>
25674 Date: Thu Jan 13 23:56:19 2011 -0500
25676 [gi] implement aux arg handling for array lengths
25678 gi/pygi-argument.c | 8 ++++++++
25679 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
25680 gi/pygi-cache.h | 1 -
25681 gi/pygi-invoke.c | 8 ++++++--
25682 4 files changed, 42 insertions(+), 11 deletions(-)
25684 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
25685 Author: John (J5) Palmieri <johnp@redhat.com>
25686 Date: Thu Jan 13 21:07:25 2011 -0500
25688 [gi] marshal in hashes
25690 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
25691 gi/pygi-cache.c | 122
25692 +++++++++++++++++++++++++++++++++++++----------------
25693 2 files changed, 176 insertions(+), 39 deletions(-)
25695 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
25696 Author: Laszlo Pandy <git@laszlopandy.com>
25697 Date: Tue Jan 11 21:41:47 2011 +0100
25699 Fix the __dir__() methods on DynamicModule and IntrospectionModule
25701 Previously the __dir__() methods did not list all attributes.
25702 A simple test case is included. It does not test to see if
25703 every attribute is listed, it just tests a few of each kind:
25704 - (wrapped) typelib attributes
25705 - class attributes and methods
25706 - instance attributes
25708 A set() is used to avoid returning duplicate attributes.
25709 The test case checks for this as well.
25711 https://bugzilla.gnome.org/show_bug.cgi?id=639229
25713 gi/module.py | 28 +++++++++++++++++++++-------
25714 tests/test_everything.py | 18 ++++++++++++++++++
25715 2 files changed, 39 insertions(+), 7 deletions(-)
25717 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
25718 Author: Paolo Borelli <pborelli@gnome.org>
25719 Date: Thu Jan 13 00:02:20 2011 +0100
25721 pygi-convert.sh: handle ReliefStyle
25723 pygi-convert.sh | 1 +
25724 1 file changed, 1 insertion(+)
25726 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
25727 Author: John (J5) Palmieri <johnp@redhat.com>
25728 Date: Wed Jan 12 16:50:30 2011 -0500
25730 [gi] support for GList and GSList in
25732 gi/pygi-argument.c | 122
25733 ++++++++++++++++++++++++++++++++++++++++++++++++++---
25734 1 file changed, 116 insertions(+), 6 deletions(-)
25736 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
25737 Author: John (J5) Palmieri <johnp@redhat.com>
25738 Date: Wed Jan 12 16:24:17 2011 -0500
25740 [gi] handle allow_none for all args
25742 gi/pygi-cache.c | 3 ++-
25743 gi/pygi-cache.h | 1 +
25744 gi/pygi-invoke.c | 7 +++++++
25745 3 files changed, 10 insertions(+), 1 deletion(-)
25747 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
25748 Author: John (J5) Palmieri <johnp@redhat.com>
25749 Date: Wed Jan 12 16:23:02 2011 -0500
25751 [gi] fix marshalling fixed arrays
25753 * get the correct item_size and pass the GArray data not the GArray
25755 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
25756 gi/pygi-cache.c | 3 ++-
25757 2 files changed, 24 insertions(+), 18 deletions(-)
25759 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
25760 Author: John (J5) Palmieri <johnp@redhat.com>
25761 Date: Tue Jan 11 17:20:43 2011 -0500
25763 [gi] implement out arg handling
25765 gi/pygi-argument.c | 43 ++++++++++---------------------------
25766 gi/pygi-cache.c | 22 ++++++++++++++-----
25767 gi/pygi-invoke-state-struct.h | 13 +++++++++++
25768 gi/pygi-invoke.c | 50
25769 +++++++++++++++++++++++++++++++++++++++++--
25770 4 files changed, 89 insertions(+), 39 deletions(-)
25772 commit bd002c72675d35b5e60ab773181e7c36c30d2625
25773 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25774 Date: Tue Jan 11 22:21:18 2011 +0100
25776 setup.py: fix the provides keyword argument
25779 1 file changed, 1 insertion(+), 1 deletion(-)
25781 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
25782 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25783 Date: Tue Jan 11 22:19:18 2011 +0100
25785 setup.py: use the same spaces-less format for all setup() parameters
25787 setup.py | 8 ++++----
25788 1 file changed, 4 insertions(+), 4 deletions(-)
25790 commit c5c149be171895d292852df364541f14f0ec423a
25791 Author: John (J5) Palmieri <johnp@redhat.com>
25792 Date: Tue Jan 11 15:39:09 2011 -0500
25794 [gi] implemented return marshalling and started on out marshalling
25796 gi/pygi-argument.c | 387
25797 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
25798 gi/pygi-argument.h | 117 ++++++++++++++++
25799 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
25800 gi/pygi-cache.h | 8 +-
25801 gi/pygi-invoke.c | 12 +-
25802 5 files changed, 829 insertions(+), 11 deletions(-)
25804 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
25805 Author: John (J5) Palmieri <johnp@redhat.com>
25806 Date: Tue Jan 11 13:49:58 2011 -0500
25808 [gi] flesh out interface in marshalling a bit more
25810 gi/pygi-argument.c | 74
25811 ++++++++++++++++++++++++++++++++++++++++----------
25812 gi/pygi-cache.c | 79
25813 ++++++++++++++++++++++++++++++++++++++++++------------
25814 gi/pygi-cache.h | 1 +
25815 3 files changed, 123 insertions(+), 31 deletions(-)
25817 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
25818 Author: Laszlo Pandy <laszlok2@gmail.com>
25819 Date: Tue Jan 11 19:30:38 2011 +0100
25821 Add a __repr__() method to DynamicModule.
25823 This patch adds a __repr__() method to DynamicModule so that modules
25825 meaningful string with the typelib path included:
25827 >>> from gi.repository import Gtk
25829 <gi.module.DynamicModule 'Gtk' from
25830 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
25832 https://bugzilla.gnome.org/show_bug.cgi?id=639232
25834 gi/module.py | 9 +++++++++
25835 1 file changed, 9 insertions(+)
25837 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
25838 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25839 Date: Tue Jan 11 19:40:19 2011 +0100
25841 Go back to using getattr() in DynamicModule.__getattr__
25843 Breaks marshalling of some types
25845 gi/module.py | 2 +-
25846 1 file changed, 1 insertion(+), 1 deletion(-)
25848 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
25849 Author: Laszlo Pandy <laszlok2@gmail.com>
25850 Date: Tue Jan 11 19:26:50 2011 +0100
25852 Change __dir__() to report all the attributes that __getattr__
25855 Change DynamicModule.__dir__() to return the local class members as
25857 typelib attributes.
25859 Change DynamicModule.__getattr__() to call
25860 IntrospectionModule.__getattr__()
25861 directly, so that it won't inadvertently return class attributes from
25862 IntrospectionModule.
25864 https://bugzilla.gnome.org/show_bug.cgi?id=639229
25866 gi/module.py | 10 +++++++---
25867 1 file changed, 7 insertions(+), 3 deletions(-)
25869 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
25870 Author: John (J5) Palmieri <johnp@redhat.com>
25871 Date: Mon Jan 10 17:55:03 2011 -0500
25873 [gi] add object and interface in marshalling
25875 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
25878 gi/pygi-argument.c | 15 +++--
25879 gi/pygi-cache.c | 182
25880 ++++++++++++++++++++++++++++++++++++++++++++++++-----
25881 gi/pygi-cache.h | 1 -
25882 gi/pygi-invoke.c | 1 +
25883 4 files changed, 178 insertions(+), 21 deletions(-)
25885 commit 88531c58d0491a31dd319387237a03df5c9edc07
25886 Author: John (J5) Palmieri <johnp@redhat.com>
25887 Date: Mon Jan 10 15:33:56 2011 -0500
25889 [gi] fix casting when marshaling a char to uint8
25891 gi/pygi-argument.c | 2 +-
25892 1 file changed, 1 insertion(+), 1 deletion(-)
25894 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
25895 Author: John (J5) Palmieri <johnp@redhat.com>
25896 Date: Mon Jan 10 15:07:16 2011 -0500
25898 [gi] hook up invoke to the cache
25900 * We now can invoke with in values
25901 * out, constructors and returns still don't work along with numerous
25905 gi/Makefile.am | 1 +
25906 gi/pygi-argument.c | 60 +++++++++--------
25907 gi/pygi-argument.h | 60 ++++++++---------
25908 gi/pygi-cache.h | 6 +-
25909 gi/pygi-invoke-state-struct.h | 26 ++++++++
25910 gi/pygi-invoke.c | 149
25911 ++++++++++++++++++++++++++++++++----------
25912 gi/pygi-invoke.h | 2 +-
25913 gi/pygi-private.h | 1 +
25914 8 files changed, 208 insertions(+), 97 deletions(-)
25916 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
25917 Author: John (J5) Palmieri <johnp@redhat.com>
25918 Date: Sun Jan 9 19:37:55 2011 -0500
25920 hooked up caching stage and fixed segfaults
25922 * caching stage is hooked up but not used yet
25923 * throws exceptions for everything that can not be cached yet
25925 gi/pygi-cache.c | 59
25926 +++++++++++++++++++++++++++++++++++++++++++-------------
25927 gi/pygi-info.c | 3 +++
25928 gi/pygi-invoke.c | 5 +++++
25930 4 files changed, 56 insertions(+), 13 deletions(-)
25932 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
25933 Author: John (J5) Palmieri <johnp@redhat.com>
25934 Date: Sun Jan 9 18:05:31 2011 -0500
25936 [gi] fix some function names
25938 gi/pygi-cache.c | 5 ++---
25939 1 file changed, 2 insertions(+), 3 deletions(-)
25941 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
25942 Author: John (J5) Palmieri <johnp@redhat.com>
25943 Date: Sun Jan 9 15:58:06 2011 -0500
25945 [gi] refactor cache structs so they inherit from ArgCache
25947 gi/pygi-argument.c | 122 +++++++++----------
25948 gi/pygi-cache.c | 344
25949 +++++++++++++++++++++++++++++------------------------
25950 gi/pygi-cache.h | 50 ++++----
25951 3 files changed, 273 insertions(+), 243 deletions(-)
25953 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
25954 Author: John (J5) Palmieri <johnp@redhat.com>
25955 Date: Sat Jan 8 20:45:11 2011 -0500
25957 [gi]fix cache compile error - now compiles but cache still not
25960 gi/Makefile.am | 2 +
25961 gi/pygi-argument.c | 100 +++++++++++++++---------------
25962 gi/pygi-argument.h | 174
25963 ++++++++++++++++++++++++++++++++++++++++++++---------
25964 gi/pygi-cache.c | 169
25965 +++++++++++++++++++++++++--------------------------
25966 gi/pygi-cache.h | 25 ++++----
25967 5 files changed, 293 insertions(+), 177 deletions(-)
25969 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
25970 Author: John (J5) Palmieri <johnp@redhat.com>
25971 Date: Sat Jan 8 19:10:29 2011 -0500
25973 add sequence caching and array marshalling w/ item marshalling
25975 * simplify what we pass into the arg cache generators so we may
25977 for geneating marshalling caches for container items, not just
25980 gi/pygi-argument.c | 76 ++++++++++++++++-
25981 gi/pygi-cache.c | 242
25982 ++++++++++++++++++++++-------------------------------
25983 gi/pygi-cache.h | 4 +-
25984 3 files changed, 175 insertions(+), 147 deletions(-)
25986 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
25987 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
25988 Date: Sat Jan 8 02:19:52 2011 +0000
25990 Bump the minimum gio dependency
25992 Needed for G_TYPE_CONVERTER_FLAGS and others.
25994 configure.ac | 2 +-
25995 1 file changed, 1 insertion(+), 1 deletion(-)
25997 commit c3aa36151fdef9ed9884d93114786bbe86387983
25998 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25999 Date: Fri Jan 7 12:58:11 2011 +0100
26001 Add test for incorrect attributes in Gdk.Event
26003 tests/test_overrides.py | 4 ++++
26004 1 file changed, 4 insertions(+)
26006 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
26007 Author: Simon van der Linden <svdlinden@gnome.org>
26008 Date: Sun Jan 2 19:25:55 2011 +0100
26010 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
26012 __getattr__ is only called when the attribute is not found through
26014 mechanism, so getattr must not be called again in __getattr__
26016 create an infinite loop).
26018 Another possibility would be to implement __getattribute__ instead,
26020 called in place of the normal mechanism. In that case, calling
26022 needed for normal attributes.
26024 https://bugzilla.gnome.org/show_bug.cgi?id=638523
26026 gi/overrides/Gdk.py | 2 +-
26027 1 file changed, 1 insertion(+), 1 deletion(-)
26029 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
26030 Author: Mike Gorse <mgorse@novell.com>
26031 Date: Fri Jan 7 09:08:31 2011 +0100
26033 Release allocated array of arguments when handling closures
26035 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26037 gi/pygi-closure.c | 3 +++
26038 1 file changed, 3 insertions(+)
26040 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
26041 Author: Mike Gorse <mgorse@novell.com>
26042 Date: Fri Jan 7 09:07:35 2011 +0100
26044 Release GIValueInfo when checking an enum argument
26046 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26048 gi/pygi-argument.c | 1 +
26049 1 file changed, 1 insertion(+)
26051 commit 43849c51391fc9cd239697065c3d40fa02fb6783
26052 Author: John (J5) Palmieri <johnp@redhat.com>
26053 Date: Thu Jan 6 17:30:14 2011 -0500
26057 gi/pygi-cache.c | 24 ++++++++++++------------
26058 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
26059 2 files changed, 33 insertions(+), 33 deletions(-)
26061 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
26062 Author: John (J5) Palmieri <johnp@redhat.com>
26063 Date: Thu Jan 6 17:29:00 2011 -0500
26065 add marshalling for basic types and add more skeleton code
26067 * still doesn't compile
26069 gi/pygi-argument.c | 708
26070 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26071 gi/pygi-argument.h | 35 ++-
26072 gi/pygi-cache.c | 82 +++++--
26073 gi/pygi-cache.h | 41 +++-
26074 4 files changed, 832 insertions(+), 34 deletions(-)
26076 commit f554cf62848104d31518138ae85bc51acaafda67
26077 Author: John (J5) Palmieri <johnp@redhat.com>
26078 Date: Tue Jan 4 18:49:53 2011 -0500
26080 first checkin of the new caching branch
26082 * this does not compile and is not hooked up to the build system
26083 * lays out the caching data structures and some skeleton functions
26085 gi/pygi-cache.c | 480
26086 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26087 gi/pygi-cache.h | 104 ++++++++++++
26088 2 files changed, 584 insertions(+)
26090 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
26091 Author: Eitan Isaacson <eitan@monotonous.org>
26092 Date: Wed Dec 22 12:34:10 2010 -0800
26094 Respect different type lengths when assigning out-argument pointers.
26096 https://bugzilla.gnome.org/show_bug.cgi?id=637832
26098 gi/pygi-closure.c | 66
26099 ++++++++++++++++++++++++++++++++++++++++++++++---------
26100 1 file changed, 56 insertions(+), 10 deletions(-)
26102 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
26103 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26104 Date: Tue Dec 28 18:34:25 2010 +0100
26106 Fix stupid name clash
26108 gi/module.py | 7 +++++--
26109 1 file changed, 5 insertions(+), 2 deletions(-)
26111 commit 01b2a193d403beb861eab524300b4f1af63157ce
26112 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26113 Date: Tue Dec 28 13:49:18 2010 +0100
26115 Add /usr/share to XDG_DATA_DIRS when running the tests
26117 tests/Makefile.am | 7 ++++++-
26118 1 file changed, 6 insertions(+), 1 deletion(-)
26120 commit efc186f692f9eac781cc47456be74a3da7f14dcd
26121 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26122 Date: Tue Dec 28 13:25:34 2010 +0100
26124 Comment out tests that require SRV lookups
26126 tests/test_gresolver.py | 5 ++++-
26127 1 file changed, 4 insertions(+), 1 deletion(-)
26129 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
26130 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26131 Date: Tue Dec 28 13:00:16 2010 +0100
26133 Use suppresion file when running valgrind
26135 tests/Makefile.am | 2 +-
26136 tests/python.supp | 387
26137 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
26138 2 files changed, 388 insertions(+), 1 deletion(-)
26140 commit 0ee58113ecbea72784c52de928c041fc8fc88984
26141 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26142 Date: Thu Dec 23 00:10:41 2010 +0100
26146 gi/pygi-argument.c | 16 +++++++---------
26147 gi/pygi-foreign-cairo.c | 13 ++-----------
26148 gio/gfile.override | 5 ++---
26149 glib/pyglib-python-compat.h | 3 +++
26150 glib/pyglib.c | 2 +-
26151 glib/pygmainloop.c | 3 ++-
26152 6 files changed, 17 insertions(+), 25 deletions(-)
26154 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
26155 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
26156 Date: Sun Dec 19 23:10:57 2010 +0100
26158 Allow comparing Gtk.TreePath to None
26160 https://bugzilla.gnome.org/show_bug.cgi?id=637615
26162 gi/overrides/Gtk.py | 12 ++++++------
26163 tests/test_overrides.py | 6 ++++++
26164 2 files changed, 12 insertions(+), 6 deletions(-)
26166 commit 046cc5915286e042d1040271a90676b77632409e
26167 Author: John (J5) Palmieri <johnp@redhat.com>
26168 Date: Thu Dec 16 15:41:10 2010 -0500
26170 handle unicode objects in properties
26172 * There are still some cavets in Python 2:
26173 - properties are returned as String objects with the unicode
26175 - you must add # coding=utf-8 to the top of your python file
26177 will error out if it sees embeded unicode charaters (such as when
26178 supporting python 3 and python 2 from the same source)
26180 https://bugzilla.gnome.org/show_bug.cgi?id=620579
26182 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
26183 tests/test_properties.py | 16 ++++++++++++++++
26184 2 files changed, 42 insertions(+), 9 deletions(-)
26186 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
26187 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26188 Date: Tue Dec 14 12:29:54 2010 +0100
26190 dsextras.py: check if gcc is there when platform is win32 and compiler
26193 dsextras.py | 6 ++++++
26194 1 file changed, 6 insertions(+)
26196 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
26197 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26198 Date: Tue Dec 14 12:29:01 2010 +0100
26200 dsextras.py: be consistent in how distutils imports are done
26202 dsextras.py | 6 +++---
26203 1 file changed, 3 insertions(+), 3 deletions(-)
26205 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
26206 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26207 Date: Tue Dec 14 12:25:07 2010 +0100
26209 dsextras.py: add have_gcc() function
26211 dsextras.py | 5 +++++
26212 1 file changed, 5 insertions(+)
26214 commit 637c2c287cfb0e89365026531c651111f5593ac7
26215 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26216 Date: Tue Dec 14 12:24:41 2010 +0100
26218 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
26220 dsextras.py | 8 ++------
26221 1 file changed, 2 insertions(+), 6 deletions(-)
26223 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
26224 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26225 Date: Tue Dec 14 12:22:54 2010 +0100
26227 setup.py: fix another case of use True/False instead of 1/0
26230 1 file changed, 1 insertion(+), 1 deletion(-)
26232 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
26233 Author: Paolo Borelli <pborelli@gnome.org>
26234 Date: Mon Dec 13 10:21:52 2010 +0100
26236 pygi-convert.sh: improve GtkSourceView conversion
26238 pygi-convert.sh | 7 +++++++
26239 1 file changed, 7 insertions(+)
26241 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
26242 Author: Paolo Borelli <pborelli@gnome.org>
26243 Date: Mon Dec 13 10:27:56 2010 +0100
26245 pygi-convert.sh: Gtk.DialogFlags conversion
26247 pygi-convert.sh | 1 +
26248 1 file changed, 1 insertion(+)
26250 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
26251 Author: José Alburquerque <jaalburqu@svn.gnome.org>
26252 Date: Sun Dec 12 20:38:46 2010 -0500
26254 Doc Extractor: Print the gtk-doc blocks sorted by function name.
26256 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
26258 alphabetical order according to the identifier (function name)
26260 the generation of xml files in the C++ bindings is deterministic.
26261 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
26264 codegen/docextract_to_xml.py | 2 +-
26265 1 file changed, 1 insertion(+), 1 deletion(-)
26267 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
26268 Author: Paolo Borelli <pborelli@gnome.org>
26269 Date: Mon Dec 13 00:17:26 2010 +0100
26271 pygi-convert.sh: add more Gtk conversions and sort
26273 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
26274 1 file changed, 26 insertions(+), 24 deletions(-)
26276 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
26277 Author: Paolo Borelli <pborelli@gnome.org>
26278 Date: Mon Dec 13 00:01:40 2010 +0100
26280 pygi-convert.sh: convert Atk
26282 pygi-convert.sh | 12 ++++++++++++
26283 1 file changed, 12 insertions(+)
26285 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
26286 Author: Paolo Borelli <pborelli@gnome.org>
26287 Date: Sun Dec 12 23:48:48 2010 +0100
26289 pygi-convert.sh: convert a few more Gio types
26291 pygi-convert.sh | 9 +++++++++
26292 1 file changed, 9 insertions(+)
26294 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
26295 Author: Paolo Borelli <pborelli@gnome.org>
26296 Date: Sun Dec 12 14:19:00 2010 +0100
26298 pygi-convert.sh: more GLib conversion
26300 pygi-convert.sh | 7 +++++++
26301 1 file changed, 7 insertions(+)
26303 commit c903390814bebdc62d530472f6f94feecc59b8b3
26304 Author: Paolo Borelli <pborelli@gnome.org>
26305 Date: Sun Dec 12 14:00:34 2010 +0100
26307 pygi-convert.sh: remove two cases handled by overrides
26309 pygi-convert.sh | 2 --
26310 1 file changed, 2 deletions(-)
26312 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
26313 Author: Paolo Borelli <pborelli@gnome.org>
26314 Date: Sun Dec 12 13:38:56 2010 +0100
26316 Override Gtk.ScrolledWindow constructor
26318 gi/overrides/Gtk.py | 7 +++++++
26319 tests/test_overrides.py | 7 +++++++
26320 2 files changed, 14 insertions(+)
26322 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
26323 Author: Paolo Borelli <pborelli@gnome.org>
26324 Date: Sun Dec 12 12:32:39 2010 +0100
26326 pygi-convert.sh: Fix 'find' syntax
26328 pygi-convert.sh | 2 +-
26329 1 file changed, 1 insertion(+), 1 deletion(-)
26331 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
26332 Author: Paolo Borelli <pborelli@gnome.org>
26333 Date: Sun Dec 12 12:29:38 2010 +0100
26335 pygi-convert.sh: start handling Gio and GLib
26337 pygi-convert.sh | 8 ++++++++
26338 1 file changed, 8 insertions(+)
26340 commit 365bf3251af3498dc797a58cce071805451b49b1
26341 Author: Paolo Borelli <pborelli@gnome.org>
26342 Date: Sat Dec 11 23:05:31 2010 +0100
26344 pygi-convert.sh: convert Gdk.ScrollDirection.
26346 pygi-convert.sh | 1 +
26347 1 file changed, 1 insertion(+)
26349 commit bca603de0f217fb290189a0ea330f82961c46d5d
26350 Author: Paolo Borelli <pborelli@gnome.org>
26351 Date: Sat Dec 11 15:03:21 2010 +0100
26353 Override Pango.Layout constructor.
26355 I must take a Pango.Context argument. Unfortumately the context is
26357 gobject property so we need to jump through some oops.
26359 gi/overrides/Pango.py | 13 +++++++++++++
26360 tests/test_overrides.py | 6 ++++++
26361 2 files changed, 19 insertions(+)
26363 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
26364 Author: Paolo Borelli <pborelli@gnome.org>
26365 Date: Sat Dec 11 14:18:53 2010 +0100
26367 Remove Pango.FontDescription() conversion.
26369 It is now properly handled by an override.
26371 pygi-convert.sh | 1 -
26372 1 file changed, 1 deletion(-)
26374 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
26375 Author: Paolo Borelli <pborelli@gnome.org>
26376 Date: Fri Dec 10 14:05:20 2010 +0100
26378 Override GtkAction and GtkRadioAction constructors.
26380 gi/overrides/Gtk.py | 20 +++++++++++++++++---
26381 tests/test_overrides.py | 18 ++++++++++++++++++
26382 2 files changed, 35 insertions(+), 3 deletions(-)
26384 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
26385 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
26386 Date: Sat Dec 4 22:13:28 2010 +0000
26388 Override Adjustment constructor to behave like pygtk
26390 https://bugzilla.gnome.org/show_bug.cgi?id=636486
26392 gi/overrides/Gtk.py | 7 +++++++
26393 tests/test_overrides.py | 9 +++++++++
26394 2 files changed, 16 insertions(+)
26396 commit e76352dd83c8706e68ad57d00d185da9afea99c4
26397 Author: John (J5) Palmieri <johnp@redhat.com>
26398 Date: Thu Dec 9 13:23:10 2010 -0500
26400 add secondary_text apis to MessageDialog
26402 gi/overrides/Gtk.py | 8 ++++++++
26403 tests/test_overrides.py | 8 ++++++++
26404 2 files changed, 16 insertions(+)
26406 commit de682b2d36c362140ab7d43c0743b01ec0865a74
26407 Author: John (J5) Palmieri <johnp@redhat.com>
26408 Date: Wed Dec 8 16:39:27 2010 -0500
26410 [gi] get rid of some debug prints and fix error messages
26412 gi/overrides/Gtk.py | 7 +++----
26413 1 file changed, 3 insertions(+), 4 deletions(-)
26415 commit dbb16571803bf51f497768bf80944514f4290ee5
26416 Author: Paolo Borelli <pborelli@gnome.org>
26417 Date: Wed Dec 8 18:25:15 2010 +0100
26419 Fix demo for override changes.
26421 demos/gtk-demo/gtk-demo.py | 5 +++--
26422 1 file changed, 3 insertions(+), 2 deletions(-)
26424 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
26425 Author: Paolo Borelli <pborelli@gnome.org>
26426 Date: Wed Dec 8 18:06:01 2010 +0100
26428 Override Pango.FontDescription.
26430 demos/gtk-demo/gtk-demo.py | 2 +-
26431 gi/overrides/Makefile.am | 1 +
26432 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
26433 tests/test_overrides.py | 7 +++++++
26434 4 files changed, 49 insertions(+), 1 deletion(-)
26436 commit 769da968c9187414d0420412d8fb8c833d12042a
26437 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26438 Date: Wed Dec 8 17:38:11 2010 +0100
26440 Stop checking that all vfuncs are implemented
26442 Because some methods are optionally implementable but g-i won't
26445 https://bugzilla.gnome.org/show_bug.cgi?id=619606
26447 gi/gimodule.c | 4 +++-
26448 gi/types.py | 12 ++----------
26449 tests/test_gi.py | 10 ----------
26450 3 files changed, 5 insertions(+), 21 deletions(-)
26452 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
26453 Author: Paolo Borelli <pborelli@gnome.org>
26454 Date: Wed Dec 8 17:37:00 2010 +0100
26456 Fix usage of TreeIter api that is now an override.
26458 demos/gtk-demo/gtk-demo.py | 6 +++---
26459 1 file changed, 3 insertions(+), 3 deletions(-)
26461 commit d2cfd6e9250d40de7c715ac74e299deddf137683
26462 Author: Paolo Borelli <pborelli@gnome.org>
26463 Date: Wed Dec 8 17:34:54 2010 +0100
26465 Fix Gtk.Label(label="Foo")
26467 Use 'label' as an argument name instead of 'str', otherwise we may
26468 end up up with two 'label' in the kwds dict. Besides 'str' is a
26471 gi/overrides/Gtk.py | 4 ++--
26472 1 file changed, 2 insertions(+), 2 deletions(-)
26474 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
26475 Author: Paolo Borelli <pborelli@gnome.org>
26476 Date: Wed Dec 8 14:16:39 2010 +0100
26478 Fix typo when raising an exception
26481 1 file changed, 1 insertion(+), 1 deletion(-)
26483 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
26484 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26485 Date: Wed Dec 8 10:46:27 2010 +0100
26487 pygi-convert.sh: Added more conversions
26489 pygi-convert.sh | 14 ++++++++++++++
26490 1 file changed, 14 insertions(+)
26492 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
26493 Author: Paolo Borelli <pborelli@gnome.org>
26494 Date: Tue Dec 7 20:39:15 2010 +0100
26496 Override LinkButton constructor to make 'uri' mandatory
26498 gi/overrides/Gtk.py | 7 +++++++
26499 tests/test_overrides.py | 6 ++++++
26500 2 files changed, 13 insertions(+)
26502 commit f4f7fb35af1b41598dc050f5df155a01c370a920
26503 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
26504 Date: Sat Dec 4 19:19:19 2010 +0600
26506 Container should be iterable.
26508 gi/overrides/Gtk.py | 9 +++++++++
26509 tests/test_overrides.py | 6 +++++-
26510 2 files changed, 14 insertions(+), 1 deletion(-)
26512 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
26513 Author: Paolo Borelli <pborelli@gnome.org>
26514 Date: Tue Dec 7 14:13:00 2010 +0100
26516 No need to import Gdk
26518 gi/overrides/Gtk.py | 1 -
26519 1 file changed, 1 deletion(-)
26521 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
26522 Author: Paolo Borelli <pborelli@gnome.org>
26523 Date: Tue Dec 7 14:07:53 2010 +0100
26527 gi/overrides/Gtk.py | 7 +++----
26528 1 file changed, 3 insertions(+), 4 deletions(-)
26530 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
26531 Author: John (J5) Palmieri <johnp@redhat.com>
26532 Date: Mon Dec 6 16:05:30 2010 -0500
26534 [gi] make sure Gtk.Button override passes all keywords to parent
26537 gi/overrides/Gtk.py | 4 ++--
26538 1 file changed, 2 insertions(+), 2 deletions(-)
26540 commit cede81ad65db017e95543d8d35715751aa202fed
26541 Author: Paolo Borelli <pborelli@gnome.org>
26542 Date: Sun Dec 5 13:31:20 2010 +0100
26544 Fix cut&paste error in the Label override
26546 gi/overrides/Gtk.py | 2 +-
26547 1 file changed, 1 insertion(+), 1 deletion(-)
26549 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
26550 Author: Paolo Borelli <pborelli@gnome.org>
26551 Date: Sat Dec 4 16:03:27 2010 +0100
26553 pygi-convert.sh: handle TextWindowType
26555 pygi-convert.sh | 1 +
26556 1 file changed, 1 insertion(+)
26558 commit dfeabe0b68938e27da2e65903983b5113dc422f1
26559 Author: Paolo Borelli <pborelli@gnome.org>
26560 Date: Sat Dec 4 15:49:15 2010 +0100
26562 Override Label constructor to behave like pygtk
26564 gi/overrides/Gtk.py | 7 +++++++
26565 tests/test_overrides.py | 4 ++++
26566 2 files changed, 11 insertions(+)
26568 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
26569 Author: Paolo Borelli <pborelli@gnome.org>
26570 Date: Sat Dec 4 15:40:35 2010 +0100
26572 Override GtkTable constructor to behave like pygtk
26574 gi/overrides/Gtk.py | 7 +++++++
26575 tests/test_overrides.py | 12 ++++++++++++
26576 2 files changed, 19 insertions(+)
26578 commit 81452c23ab1befa59ff375692e582791432796a5
26579 Author: Paolo Borelli <pborelli@gnome.org>
26580 Date: Sat Dec 4 12:59:43 2010 +0100
26582 pygi-convert.sh: convert MovementStep
26584 pygi-convert.sh | 1 +
26585 1 file changed, 1 insertion(+)
26587 commit 4d097eea94258eda0c328711491fd456cbd6741b
26588 Author: Paolo Borelli <pborelli@gnome.org>
26589 Date: Sat Dec 4 11:57:02 2010 +0100
26591 Update Gdk overrides to work with latest Gtk+ 3
26593 For now added consitionals on version == 2.0, but maybe at some
26595 shuld just clean up the old stuff.
26597 gi/overrides/Gdk.py | 22 ++++++++++++++++------
26598 1 file changed, 16 insertions(+), 6 deletions(-)
26600 commit cda317195566711d66190145b545e26ed7226172
26601 Author: Johan Dahlin <johan@gnome.org>
26602 Date: Thu Dec 2 23:47:40 2010 -0200
26604 Gtk: add an override for Gtk.main_quit
26606 Override gtk.main_quit so that it can be used as a callback
26607 to signals, most importantly to the destroy signal of a widget:
26609 widget.connect('destroy', gtk.main_quit)
26611 This is compatible with what PyGTK does.
26613 https://bugzilla.gnome.org/show_bug.cgi?id=636336
26615 gi/overrides/Gtk.py | 5 ++++-
26616 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
26617 2 files changed, 29 insertions(+), 3 deletions(-)
26619 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
26620 Author: John (J5) Palmieri <johnp@redhat.com>
26621 Date: Thu Dec 2 16:27:04 2010 -0500
26623 [gi] handle subtypes when inserting into tree models
26625 * Often modules will give back basic types wrapped in a subtype.
26626 This is the case with D-Bus where you may want to keep some of the
26627 metadata around. More often than not, the developer is just looking
26628 to use the basetype.
26630 * This override checks the column type and handles basic types such as
26631 gchararrays, ints, longs, floats and doubles, converting them
26633 base types before sending them to the generic GI type marshaller.
26635 * More types may need to be supported but these are the common
26639 https://bugzilla.gnome.org/show_bug.cgi?id=635172
26641 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
26642 tests/test_overrides.py | 8 +++++++-
26643 2 files changed, 43 insertions(+), 3 deletions(-)
26645 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
26646 Author: Paolo Borelli <pborelli@gnome.org>
26647 Date: Fri Dec 3 23:39:50 2010 +0100
26649 Override TreeSelection.select_path and TreeView.scroll_to_cell
26651 The "path" argument may also be a string or a tuple
26653 gi/overrides/Gtk.py | 10 ++++++++++
26654 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
26655 2 files changed, 39 insertions(+)
26657 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
26658 Author: Paolo Borelli <pborelli@gnome.org>
26659 Date: Fri Dec 3 23:29:00 2010 +0100
26661 Override TreePath.__new__
26663 Instead of having a private _tree_path_from_string it is cleaner to
26664 override __new__ and it will be useful for all the api that take a
26665 TreePath or a string or a tuple.
26667 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
26668 tests/test_overrides.py | 18 ++++++++++++++++++
26669 2 files changed, 33 insertions(+), 18 deletions(-)
26671 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
26672 Author: Paolo Borelli <pborelli@gnome.org>
26673 Date: Sun Nov 28 13:02:30 2010 +0100
26675 Override Container to behave like a sequence
26677 gi/overrides/Gtk.py | 6 ++++++
26678 tests/test_overrides.py | 11 +++++++++++
26679 2 files changed, 17 insertions(+)
26681 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
26682 Author: John (J5) Palmieri <johnp@redhat.com>
26683 Date: Tue Nov 30 16:57:05 2010 -0500
26685 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
26688 * this patch does the recursion using the previous patche's support
26691 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
26692 1 file changed, 45 insertions(+), 10 deletions(-)
26694 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
26695 Author: Jonathan Matthew <jonathan@d14n.org>
26696 Date: Thu Jul 22 23:19:51 2010 +1000
26698 Recurse up through base classes when setting up vfuncs
26700 * this patch adds the support methods to do the recursion
26702 https://bugzilla.gnome.org/show_bug.cgi?id=625033
26704 gi/gimodule.c | 130
26705 ++++++++++++++++++++++++++++++++++++++++---------------
26706 tests/test_gi.py | 37 ++++++++++++++++
26707 2 files changed, 131 insertions(+), 36 deletions(-)
26709 commit 78358e1ab54d02317f397276adee03ecb2187588
26710 Author: John (J5) Palmieri <johnp@redhat.com>
26711 Date: Mon Nov 29 18:29:57 2010 -0500
26713 add a profiling torture test for when we fix up invoke
26715 tests/test_everything.py | 67
26716 ++++++++++++++++++++++++++++++++++++++++++++++++
26717 1 file changed, 67 insertions(+)
26719 commit 792e679c06df4357843fd310c7953a931172fc99
26720 Author: John (J5) Palmieri <johnp@redhat.com>
26721 Date: Mon Nov 29 16:41:38 2010 -0500
26723 moved dynamic and base modules outside of gtk-2.0 directory
26725 * do not move header files yet as they are mostly used by static
26727 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
26729 these back to pygtk but you might want to import gio static
26731 having to have pygtk installed
26732 * I have not tested this with pygtk, committing it so we can find
26734 causes any issues with legacy modules and code
26736 gi/Makefile.am | 2 +-
26737 gi/overrides/Makefile.am | 2 +-
26738 gi/repository/Makefile.am | 2 +-
26739 glib/Makefile.am | 2 +-
26740 gobject/Makefile.am | 2 +-
26741 tests/test_gi.py | 2 --
26742 tests/test_overrides.py | 3 ---
26743 7 files changed, 5 insertions(+), 10 deletions(-)
26745 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
26746 Author: John (J5) Palmieri <johnp@redhat.com>
26747 Date: Mon Nov 29 15:11:46 2010 -0500
26749 add test for inout argument count
26751 tests/test_gi.py | 1 +
26752 1 file changed, 1 insertion(+)
26754 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
26755 Author: John (J5) Palmieri <johnp@redhat.com>
26756 Date: Mon Nov 22 19:17:23 2010 -0500
26758 [gi] add check for UNICHAR
26760 https://bugzilla.gnome.org/show_bug.cgi?id=623615
26762 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
26763 tests/test_everything.py | 17 +++++++++++++++--
26764 2 files changed, 41 insertions(+), 3 deletions(-)
26766 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
26767 Author: Paolo Borelli <pborelli@gnome.org>
26768 Date: Sun Nov 21 12:16:53 2010 +0100
26772 https://bugzilla.gnome.org/show_bug.cgi?id=623615
26774 gi/pygi-argument.c | 60
26775 ++++++++++++++++++++++++++++++++++++++++++++++++
26776 gi/pygi-info.c | 5 ++++
26777 tests/test_everything.py | 5 ++++
26778 3 files changed, 70 insertions(+)
26780 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
26781 Author: Paolo Borelli <pborelli@gnome.org>
26782 Date: Sat Nov 27 23:01:42 2010 +0100
26784 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
26786 pygi-convert.sh | 1 +
26787 1 file changed, 1 insertion(+)
26789 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
26790 Author: Paolo Borelli <pborelli@gnome.org>
26791 Date: Sat Nov 27 22:34:13 2010 +0100
26793 pygi-convert.sh: handle "from gtk import gdk"
26795 pygi-convert.sh | 2 ++
26796 1 file changed, 2 insertions(+)
26798 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
26799 Author: Paolo Borelli <pborelli@gnome.org>
26800 Date: Sat Nov 27 22:23:24 2010 +0100
26802 pygi-convert.sh: add some Pango special cases
26804 pygi-convert.sh | 3 +++
26805 1 file changed, 3 insertions(+)
26807 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
26808 Author: Paolo Borelli <pborelli@gnome.org>
26809 Date: Sat Nov 27 19:51:38 2010 +0100
26811 Override TextIter (begins|ends|toggles)_tag()
26813 Make the tag argument optional.
26815 gi/overrides/Gtk.py | 9 +++++++++
26816 tests/test_overrides.py | 17 +++++++++++++++++
26817 2 files changed, 26 insertions(+)
26819 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
26820 Author: Paolo Borelli <pborelli@gnome.org>
26821 Date: Sat Nov 27 19:32:48 2010 +0100
26823 Override TextBuffer.set_text() to make length optional
26825 gi/overrides/Gtk.py | 3 +++
26826 tests/test_overrides.py | 11 ++++++++++-
26827 2 files changed, 13 insertions(+), 1 deletion(-)
26829 commit bf55dc862755a57bb1b998702d284fc460e88a30
26830 Author: Paolo Borelli <pborelli@gnome.org>
26831 Date: Sat Nov 27 16:46:40 2010 +0100
26833 Override TextBuffer.create_mark()
26835 Override create_mark to make the left_gravity argument optional
26837 gi/overrides/Gtk.py | 3 +++
26838 tests/test_overrides.py | 3 +++
26839 2 files changed, 6 insertions(+)
26841 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
26842 Author: Paolo Borelli <pborelli@gnome.org>
26843 Date: Sat Nov 27 16:10:33 2010 +0100
26845 Fix TextBuffer.get_selection_bounds() override
26847 Fix the override and add unit test
26849 gi/overrides/Gtk.py | 8 +++++---
26850 tests/test_overrides.py | 7 +++++++
26851 2 files changed, 12 insertions(+), 3 deletions(-)
26853 commit 0cd717e3926276540b9145e58a4a3368136b00de
26854 Author: John (J5) Palmieri <johnp@redhat.com>
26855 Date: Mon Nov 22 18:35:09 2010 -0500
26857 [gi] fix ActionGroup constructor to allow other keyword properties
26860 gi/overrides/Gtk.py | 4 ++--
26861 1 file changed, 2 insertions(+), 2 deletions(-)
26863 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
26864 Author: John (J5) Palmieri <johnp@redhat.com>
26865 Date: Mon Nov 22 18:32:28 2010 -0500
26867 [gi] require the name parameter when creatin a Gtk.ActionGroup
26869 gi/overrides/Gtk.py | 3 +++
26870 tests/test_overrides.py | 2 ++
26871 2 files changed, 5 insertions(+)
26873 commit d0049fa9982d13b3553b05569fb0a227e48b6647
26874 Author: Paolo Borelli <pborelli@gnome.org>
26875 Date: Sun Nov 21 15:20:58 2010 +0100
26877 Override UIManager.insert_action_group
26879 https://bugzilla.gnome.org/show_bug.cgi?id=635437
26881 gi/overrides/Gtk.py | 3 +++
26882 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
26883 2 files changed, 24 insertions(+), 13 deletions(-)
26885 commit e1db544e46aeed984133896af34b671a6a5547df
26886 Author: Paolo Borelli <pborelli@gnome.org>
26887 Date: Sun Nov 21 23:03:25 2010 +0100
26889 Override TreeModel.get() to return a tuple
26891 https://bugzilla.gnome.org/show_bug.cgi?id=635466
26893 gi/overrides/Gtk.py | 15 +++++++++++++++
26894 tests/test_overrides.py | 6 ++++++
26895 2 files changed, 21 insertions(+)
26897 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
26898 Author: Paolo Borelli <pborelli@gnome.org>
26899 Date: Sun Nov 21 21:57:40 2010 +0100
26901 Make TreeSelection.get_selected_rows compatible with PyGtk
26903 https://bugzilla.gnome.org/show_bug.cgi?id=635464
26905 gi/overrides/Gtk.py | 6 ++++++
26906 1 file changed, 6 insertions(+)
26908 commit 1c537bc67107948c92b51ba6ba749747e84263e2
26909 Author: John (J5) Palmieri <johnp@redhat.com>
26910 Date: Mon Nov 22 15:04:00 2010 -0500
26912 [gi] switch to using sequences/tuples when marshalling
26913 cairo_rectangle_int_t
26915 * Upstream pycairo didn't want to add a new wrapper for
26916 cairo_rectangle_int_t
26917 * this works around that issue by using 4 element squences instead
26919 should be accepted by pycairo for any API that takes a rect
26921 gi/pygi-foreign-cairo.c | 85
26922 +++++++++++++++++++++++++++++++++++++------------
26923 1 file changed, 64 insertions(+), 21 deletions(-)
26925 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
26926 Author: John (J5) Palmieri <johnp@redhat.com>
26927 Date: Fri Nov 19 16:46:53 2010 -0500
26929 [gi] overrides for treeview Drag and Drop
26931 https://bugzilla.gnome.org/show_bug.cgi?id=627367
26933 gi/overrides/Gdk.py | 7 +++++++
26934 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
26935 2 files changed, 32 insertions(+)
26937 commit 3fd51bb903724b752f72f49c7cb35652b819791d
26938 Author: John (J5) Palmieri <johnp@redhat.com>
26939 Date: Fri Nov 19 16:44:32 2010 -0500
26941 [gi] when encountering guint8 arrays treat them as byte arrays
26943 * In Python 2 this means returning a PyString object
26944 * In Python 3 we return a PyBytes object
26946 https://bugzilla.gnome.org/show_bug.cgi?id=627367
26948 gi/pygi-argument.c | 65
26949 ++++++++++++++++++++++++++++++++++++++++++++----------
26950 tests/test_gi.py | 6 +++--
26951 2 files changed, 57 insertions(+), 14 deletions(-)
26953 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
26954 Author: Martin Pitt <martin.pitt@ubuntu.com>
26955 Date: Fri Nov 19 18:19:38 2010 +0100
26957 pygi-convert.sh: Add pynotify -> Notify
26959 pygi-convert.sh | 3 +++
26960 1 file changed, 3 insertions(+)
26962 commit bf03d4db03a7739ac16ddc4e614441557ede554d
26963 Author: Martin Pitt <martin.pitt@ubuntu.com>
26964 Date: Fri Nov 19 09:08:07 2010 +0100
26966 pygi-convert.sh: Remove sugar specifics, and allow command line
26969 This script is generally useful for converting pygtk2 projects,
26971 sugar. Remove the sugar specific bits, since they will just cause
26974 Also allow the user to specify the files to convert as command line
26975 arguments. If not given, all *.py files will be processed.
26977 https://bugzilla.gnome.org/show_bug.cgi?id=635244
26979 pygi-convert.sh | 25 +++++--------------------
26980 1 file changed, 5 insertions(+), 20 deletions(-)
26982 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
26983 Author: Martin Pitt <martin.pitt@ubuntu.com>
26984 Date: Fri Nov 19 09:00:35 2010 +0100
26986 pygi-convert.sh: Cover Message and Buttons types
26988 https://bugzilla.gnome.org/show_bug.cgi?id=635244
26990 pygi-convert.sh | 2 ++
26991 1 file changed, 2 insertions(+)
26993 commit ef74273c2043944708515e59a654ebe4944b46ff
26994 Author: John (J5) Palmieri <johnp@redhat.com>
26995 Date: Thu Nov 18 13:54:48 2010 -0500
26997 [gi] fix actiongroup test since actions are hashed
26999 * when actions are listed they may not show up in the order they
27001 since they reside in an unordered hash internally
27003 tests/test_overrides.py | 9 +++++----
27004 1 file changed, 5 insertions(+), 4 deletions(-)
27006 commit 2c25886bf6710568d0646f82dce4770faa44c40d
27007 Author: John (J5) Palmieri <johnp@redhat.com>
27008 Date: Wed Nov 17 14:38:09 2010 -0500
27010 [gi] when converting to UTF-8 accept Python Unicode objects as input
27013 https://bugzilla.gnome.org/show_bug.cgi?id=620579
27015 gi/pygi-argument.c | 14 ++++++++++++--
27016 glib/pyglib-python-compat.h | 5 +++++
27017 tests/test_gi.py | 3 +++
27018 3 files changed, 20 insertions(+), 2 deletions(-)
27020 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
27021 Author: Damien Caliste <damien.caliste@cea.fr>
27022 Date: Fri Nov 12 10:20:32 2010 +0100
27024 Correct a bug in the freeing of memory in pygi-invoke.c.
27026 When a method with inout arguments is called from Python with
27027 a wrong number of arguments, the system crashs because of an
27028 assertion fail. This patch corrects this behaviour.
27030 https://bugzilla.gnome.org/show_bug.cgi?id=634671
27032 gi/pygi-invoke.c | 25 ++++++++++++++-----------
27033 1 file changed, 14 insertions(+), 11 deletions(-)
27035 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
27036 Author: John (J5) Palmieri <johnp@redhat.com>
27037 Date: Wed Nov 10 14:11:56 2010 -0500
27039 update news for release
27042 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27043 1 file changed, 73 insertions(+)
27045 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
27046 Author: Jonathan Matthew <jonathan@d14n.org>
27047 Date: Tue Sep 28 13:44:13 2010 +1000
27049 Implement richcompare for GIBaseInfo
27051 https://bugzilla.gnome.org/show_bug.cgi?id=625033
27053 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
27054 1 file changed, 29 insertions(+)
27056 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
27057 Author: John (J5) Palmieri <johnp@redhat.com>
27058 Date: Tue Nov 9 22:57:41 2010 -0500
27060 [gi] add the rectangle_int_t forign cairo type
27062 * the pycairo maintainer is not being responsive so you will need
27064 https://bugs.freedesktop.org/show_bug.cgi?id=31111
27065 * added conditionals, if the api doesn't exist in PyCairo we will
27067 without the forign structs
27069 gi/pygi-foreign-cairo.c | 4 ++++
27070 1 file changed, 4 insertions(+)
27072 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
27073 Author: John (J5) Palmieri <johnp@redhat.com>
27074 Date: Mon Oct 25 18:28:36 2010 -0400
27076 add a foreign type for cairo_rectangle_int_t and allow it to be
27079 * this is needed because Gdk and Gtk switched from returning a
27081 to a CairoRectangleInt structure
27082 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
27084 for pycairo (however there is currently no patch for python 2)
27085 * added fix for foreign types to allow them to be caller allocated
27086 * in order for a type to be caller allocated it must be able to take
27088 and create an empty struct in foreign_struct_from_arg and it must
27090 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
27092 https://bugzilla.gnome.org/show_bug.cgi?id=627545
27094 gi/pygi-foreign-cairo.c | 57
27095 +++++++++++++++++++++++++++++++++++++++++++++++++
27096 gi/pygi-invoke.c | 15 +++++++++++--
27097 2 files changed, 70 insertions(+), 2 deletions(-)
27099 commit ce8b948310220288e9eef904eef4ec8f4e24a376
27100 Author: John (J5) Palmieri <johnp@redhat.com>
27101 Date: Tue Nov 9 22:11:51 2010 -0500
27103 [gi] add overrides to Gtk.Editable
27105 gi/overrides/Gtk.py | 17 +++++++++++++++++
27106 tests/test_overrides.py | 12 ++++++++++++
27107 2 files changed, 29 insertions(+)
27109 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
27110 Author: John (J5) Palmieri <johnp@redhat.com>
27111 Date: Tue Nov 9 21:12:54 2010 -0500
27113 [gi] handle virtual invokers
27115 * right now we check to see if there is an method with the same name
27116 as the virtual method and assume that is the invoker
27117 * some invokers are named different so we now ask the VFuncInfo if
27118 the vfunc has an invoker
27119 * this is still not completly correct, gi needs to support telling
27120 us which vfuncs must be overridden.
27121 * this keeps the old way of checking vfuncs while adding the edge case
27122 where vfunc is named differently from their invoker
27124 gi/pygi-info.c | 16 ++++++++++++++++
27126 2 files changed, 17 insertions(+), 1 deletion(-)
27128 commit 540e9f1f349ba3625e28b7673c92210eb8974098
27129 Author: John (J5) Palmieri <johnp@redhat.com>
27130 Date: Tue Nov 9 12:17:05 2010 -0500
27132 add overrides for the insert* apis of list_store and tree_store
27134 * add set_row to tree_model as convinience method for both list and
27137 https://bugzilla.gnome.org/show_bug.cgi?id=634423
27139 gi/overrides/Gtk.py | 80
27140 ++++++++++++++++++++++++++++++++++++++-----------
27141 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
27142 2 files changed, 114 insertions(+), 19 deletions(-)
27144 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
27145 Author: John (J5) Palmieri <johnp@redhat.com>
27146 Date: Fri Nov 5 13:56:12 2010 -0400
27148 fix dialogs overrides which were relying on broken inheritance
27151 gi/overrides/Gtk.py | 14 ++++++++++++--
27152 1 file changed, 12 insertions(+), 2 deletions(-)
27154 commit 89c104d17d79d7b935cd76101cba19d49390f7be
27155 Author: John (J5) Palmieri <johnp@redhat.com>
27156 Date: Thu Nov 4 12:00:14 2010 -0400
27158 Add a overrides registry so we can refrence overrides inside the
27161 * Overrides have a reentrancy issue when doing inheritance. If an
27163 inherits from another override down the stack it won't see the
27165 because the module is not finished loading and will inherit from the
27166 non-overriden object instead. This causes type errors later.
27167 * By adding the overrides to a registry outside of the module we
27169 registration and make the override available as soon as the class
27171 not when the whole module is parsed.
27173 https://bugzilla.gnome.org/show_bug.cgi?id=633347
27175 gi/module.py | 12 ++++++++++-
27176 gi/overrides/GIMarshallingTests.py | 2 +-
27177 gi/overrides/Gdk.py | 2 +-
27178 gi/overrides/Gtk.py | 2 +-
27179 gi/overrides/__init__.py | 43
27180 ++++++++++++++++++++++++++++++++++++++
27181 gi/types.py | 8 -------
27182 tests/test_overrides.py | 27 ++++++++++++++++++++++++
27183 7 files changed, 84 insertions(+), 12 deletions(-)
27185 commit 878b8f630acd2146bee364054acd45cd33eea37a
27186 Merge: cdacaa9 e317838
27187 Author: John Stowers <john.stowers@gmail.com>
27188 Date: Fri Nov 5 11:40:22 2010 +1300
27190 Merge remote branch 'dieterv/setup-fixes-for-merge'
27192 commit e317838178fba5f0590fb8bd323f49602d564b53
27193 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27194 Date: Thu Nov 4 11:16:43 2010 +0100
27196 setup.py: ease maintenance burden for tests installation
27198 setup.py | 23 +++--------------------
27199 1 file changed, 3 insertions(+), 20 deletions(-)
27201 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
27202 Author: John (J5) Palmieri <johnp@redhat.com>
27203 Date: Wed Nov 3 09:51:09 2010 -0400
27205 fix inheritence issues in overrides
27207 gi/overrides/Gtk.py | 79
27208 +++++++++++++++++++++++++++--------------------------
27209 1 file changed, 40 insertions(+), 39 deletions(-)
27211 commit 3d5955767d81f45e796ab2af0707533375681774
27212 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27213 Date: Wed Nov 3 09:38:56 2010 +0100
27215 tests: add runtests-windows.py script
27217 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27219 tests/runtests-windows.py | 47
27220 +++++++++++++++++++++++++++++++++++++++++++++++
27221 1 file changed, 47 insertions(+)
27223 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
27224 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27225 Date: Wed Nov 3 09:35:52 2010 +0100
27227 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
27228 postinstall as pkg-config on windows figures out the correct prefix
27231 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27233 pygobject_postinstall.py | 26 +++-----------------------
27234 1 file changed, 3 insertions(+), 23 deletions(-)
27236 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
27237 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27238 Date: Wed Nov 3 09:34:38 2010 +0100
27240 pygobject_postinstall.py: remove shortcut creation
27242 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27244 pygobject_postinstall.py | 35 +----------------------------------
27245 1 file changed, 1 insertion(+), 34 deletions(-)
27247 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
27248 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27249 Date: Wed Nov 3 09:31:14 2010 +0100
27251 setup.py: formatting cleanup, makes things readable
27253 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27255 setup.py | 56 ++++++++++++++++++++++++++------------------------------
27256 1 file changed, 26 insertions(+), 30 deletions(-)
27258 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
27259 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27260 Date: Wed Nov 3 09:28:36 2010 +0100
27262 setup.py: build and install tests
27264 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27267 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27268 1 file changed, 61 insertions(+)
27270 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
27271 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27272 Date: Wed Nov 3 09:26:59 2010 +0100
27274 setup.py: install documentation when available on build system
27276 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27279 1 file changed, 3 insertions(+)
27281 commit 78533d851ee1314686f18cfa793613a9cf7d6686
27282 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27283 Date: Wed Nov 3 09:25:56 2010 +0100
27285 setup.py: install pygobject-codegen script
27287 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27289 setup.py | 25 +++++++++++++++++++++++++
27290 1 file changed, 25 insertions(+)
27292 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
27293 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27294 Date: Wed Nov 3 09:24:45 2010 +0100
27296 setup.py: install fixxref.py script
27298 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27301 1 file changed, 3 insertions(+)
27303 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
27304 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27305 Date: Wed Nov 3 09:23:05 2010 +0100
27307 setup.py: rearrange constants
27309 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27311 setup.py | 37 ++++++++++++++++++++-----------------
27312 1 file changed, 20 insertions(+), 17 deletions(-)
27314 commit 7d353d04892de67265bf693f591f37fd393de639
27315 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27316 Date: Wed Nov 3 09:18:11 2010 +0100
27318 setup.py: check python version and pkgconig availability before
27321 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27323 setup.py | 18 ++++++++++--------
27324 1 file changed, 10 insertions(+), 8 deletions(-)
27326 commit 286364ed39953e942e24d5911519bcac2f90975a
27327 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27328 Date: Wed Nov 3 09:05:59 2010 +0100
27330 setup.py: simplify sys.platform != 'win32' detection and error
27333 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27335 setup.py | 29 +++++++++--------------------
27336 1 file changed, 9 insertions(+), 20 deletions(-)
27338 commit 3f70f92904c123e6cc40929c0affd3f75d061828
27339 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27340 Date: Wed Nov 3 09:02:30 2010 +0100
27342 setup.py: rearrange imports
27344 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27346 setup.py | 31 ++++++++++++++++++++++---------
27347 1 file changed, 22 insertions(+), 9 deletions(-)
27349 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
27350 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27351 Date: Wed Nov 3 08:58:00 2010 +0100
27353 README.win32: update build instructions
27355 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27357 README.win32 | 13 +++++--------
27358 1 file changed, 5 insertions(+), 8 deletions(-)
27360 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
27361 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27362 Date: Wed Nov 3 07:59:18 2010 +0100
27364 dsextras.py: formatting cleanup, makes things readable
27366 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27369 ++++++++++++++++++++++++++++++++++++++----------------------
27370 1 file changed, 93 insertions(+), 55 deletions(-)
27372 commit d03503d0412d173acb383926ab3c2d640dad3e3f
27373 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27374 Date: Wed Nov 3 07:00:40 2010 +0100
27376 dsextras.py: add ggc4 to MSVC compatible struct packing comment
27378 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27380 dsextras.py | 4 ++--
27381 1 file changed, 2 insertions(+), 2 deletions(-)
27383 commit 8c62968e9f8467e24870b8c4f61112676eef4630
27384 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27385 Date: Wed Nov 3 06:56:32 2010 +0100
27387 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
27388 incantations all over the place
27390 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27392 dsextras.py | 15 ++++++---------
27393 1 file changed, 6 insertions(+), 9 deletions(-)
27395 commit b98277afc24886bbda400e0ad360992bffa77b7c
27396 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27397 Date: Wed Nov 3 06:49:48 2010 +0100
27399 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
27401 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27403 dsextras.py | 10 ++++++++++
27404 1 file changed, 10 insertions(+)
27406 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
27407 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27408 Date: Wed Nov 3 06:45:05 2010 +0100
27410 dsextras.py: PEP8: Comparisons to singletons like None should always
27411 be done with 'is' or 'is not', never the equality operators.
27413 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27415 dsextras.py | 4 ++--
27416 1 file changed, 2 insertions(+), 2 deletions(-)
27418 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
27419 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27420 Date: Wed Nov 3 06:44:21 2010 +0100
27422 dsextras.py: use True/False instead of 1/0
27424 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27426 dsextras.py | 25 +++++++++++++------------
27427 1 file changed, 13 insertions(+), 12 deletions(-)
27429 commit 819a21cea831c3892040390e9446b78a91d1cbbe
27430 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27431 Date: Wed Nov 3 06:28:04 2010 +0100
27433 dsextras.py: rearrange imports
27435 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27438 +++++++++++++++++++++++++++++++---------------------------
27439 1 file changed, 31 insertions(+), 27 deletions(-)
27441 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
27442 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27443 Date: Wed Nov 3 06:16:21 2010 +0100
27445 Add distutils generated build/dist directories and eclipse
27446 configuration files to .gitignore
27448 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27450 .gitignore | 7 +++++++
27451 1 file changed, 7 insertions(+)
27453 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
27454 Author: John (J5) Palmieri <johnp@redhat.com>
27455 Date: Thu Oct 28 15:32:28 2010 -0400
27457 [gi] add tests for calling dir on a dynamic module
27459 tests/test_gi.py | 24 ++++++++++++++++++++++++
27460 1 file changed, 24 insertions(+)
27462 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
27463 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
27464 Date: Wed Oct 27 18:28:11 2010 -0400
27466 [gi] dir() now works for modules
27468 https://bugzilla.gnome.org/show_bug.cgi?id=625093
27470 gi/module.py | 8 ++++++++
27471 1 file changed, 8 insertions(+)
27473 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
27474 Author: Simón Pena <spenap@gmail.com>
27475 Date: Mon Sep 20 23:10:14 2010 +0200
27477 Don't check the inner type when comparing gpointers
27479 When using pyg_pointer_richcompare to compare two objects,
27480 don't check their inner types. As we can't compare their private
27481 fields, nor get a proper compare function, we can consider them
27482 gpointers and compare them that way.
27484 https://bugzilla.gnome.org/show_bug.cgi?id=629552
27486 gobject/pygpointer.c | 2 +-
27487 1 file changed, 1 insertion(+), 1 deletion(-)
27489 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
27490 Author: John (J5) Palmieri <johnp@redhat.com>
27491 Date: Thu Oct 28 14:21:12 2010 -0400
27493 Release GIL when calling into C functions
27495 Author: Daniel P. Berrange <dan@berrange.com>
27497 https://bugzilla.gnome.org/show_bug.cgi?id=629042
27499 gi/pygi-invoke.c | 10 +++++++++-
27500 1 file changed, 9 insertions(+), 1 deletion(-)
27502 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
27503 Author: José Aliste <jaliste@src.gnome.org>
27504 Date: Fri Oct 15 14:30:10 2010 -0300
27506 _gi.Repository : Implement missing info bindings.
27508 https://bugzilla.gnome.org/show_bug.cgi?id=632185
27510 gi/pygi-info.c | 91
27511 +++++++++++++++++++++++++++++++++++++++++++++++++---------
27512 gi/pygi-info.h | 7 +++++
27513 2 files changed, 84 insertions(+), 14 deletions(-)
27515 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
27516 Author: John (J5) Palmieri <johnp@redhat.com>
27517 Date: Thu Oct 28 13:49:15 2010 -0400
27519 include Python.h so that PY_VERSION_HEX gets defined
27521 gi/pygi-foreign-cairo.c | 1 +
27522 1 file changed, 1 insertion(+)
27524 commit 8b28b1d713df33931e255600ab98feda37a8e02a
27525 Author: John (J5) Palmieri <johnp@redhat.com>
27526 Date: Thu Oct 28 13:47:34 2010 -0400
27528 [gi] make overrides work for python 3.x protocols and alias for
27531 gi/overrides/Gtk.py | 9 +++++++--
27532 1 file changed, 7 insertions(+), 2 deletions(-)
27534 commit 3c09710d2f68af9c16ce39fd25656147656a486a
27535 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27536 Date: Sat Oct 23 14:24:24 2010 +0200
27538 Override Gtk.Widget.translate_coordinates to not return success value
27540 gi/overrides/Gtk.py | 11 +++++++++++
27541 1 file changed, 11 insertions(+)
27543 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
27544 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27545 Date: Sat Oct 23 14:22:36 2010 +0200
27547 Override Gtk.TreeViewColumn.cell_get_position to not return success
27550 gi/overrides/Gtk.py | 5 +++++
27551 1 file changed, 5 insertions(+)
27553 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
27554 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27555 Date: Sat Oct 23 14:21:36 2010 +0200
27557 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
27558 not return success value
27560 gi/overrides/Gtk.py | 15 +++++++++++++++
27561 1 file changed, 15 insertions(+)
27563 commit 80b1b266fa68a5c67106871502017166628f71e4
27564 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27565 Date: Sat Oct 23 14:20:38 2010 +0200
27567 Override Gtk.TreeSortable.get_sort_column_id to not return success
27570 gi/overrides/Gtk.py | 12 ++++++++++++
27571 1 file changed, 12 insertions(+)
27573 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
27574 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27575 Date: Sat Oct 23 14:19:20 2010 +0200
27577 Override forward_search and backward_search of Gtk.TextIter to not
27578 return success value
27580 gi/overrides/Gtk.py | 15 +++++++++++++++
27581 1 file changed, 15 insertions(+)
27583 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
27584 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27585 Date: Sat Oct 23 14:18:09 2010 +0200
27587 Override Gtk.TextBuffer.get_selection_bounds to not return success
27590 gi/overrides/Gtk.py | 5 +++++
27591 1 file changed, 5 insertions(+)
27593 commit da6d87460b9392c29d025a7eed9249fb604204bc
27594 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27595 Date: Sat Oct 23 14:17:04 2010 +0200
27597 Override Gtk.RecentInfo.get_application_info to not return success
27600 gi/overrides/Gtk.py | 10 ++++++++++
27601 1 file changed, 10 insertions(+)
27603 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
27604 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27605 Date: Sat Oct 23 14:16:21 2010 +0200
27607 Override Gtk.IMContext.get_surrounding to not return success value
27609 gi/overrides/Gtk.py | 10 ++++++++++
27610 1 file changed, 10 insertions(+)
27612 commit b85b445f15421209c0b4adf676d7c8218d6437c5
27613 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27614 Date: Sat Oct 23 14:15:24 2010 +0200
27616 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
27617 of Gtk.IconView to not return success value
27619 gi/overrides/Gtk.py | 19 +++++++++++++++++++
27620 1 file changed, 19 insertions(+)
27622 commit 684d716192d58c972083e579e909bcd97f8a5025
27623 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27624 Date: Sat Oct 23 14:13:47 2010 +0200
27626 Override Gtk.Container.get_focus_chain to not return success value
27628 gi/overrides/Gtk.py | 10 ++++++++++
27629 1 file changed, 10 insertions(+)
27631 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
27632 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27633 Date: Sat Oct 23 14:12:44 2010 +0200
27635 Override Gtk.ComboBox.get_active_iter to not return success value
27637 gi/overrides/Gtk.py | 10 ++++++++++
27638 1 file changed, 10 insertions(+)
27640 commit b483852904468722230903989e3451c7c6a24c0f
27641 Author: John (J5) Palmieri <johnp@redhat.com>
27642 Date: Tue Oct 12 12:18:33 2010 -0400
27644 [gi] make parameter check less strict when dealing with GValue params
27646 * Some GValue API can store a pointer to a python object for later
27647 use but our parameter checking was too strict to allow this
27648 * Add pyg_type_from_object_strict API which takes a strict boolean and
27649 returns PY_TYPE_OBJECT if no other GType can be found
27650 * Since we don't have enough info to genrically check GValue
27652 use the less strict type guessing when encountering a GValue param
27653 * Other API stays the same and continues to do strict testing
27655 https://bugzilla.gnome.org/show_bug.cgi?id=622987
27657 gi/pygi-argument.c | 17 ++++++---------
27658 gobject/gobjectmodule.c | 4 ++--
27659 gobject/pygobject-private.h | 1 +
27660 gobject/pygobject.h | 2 ++
27661 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
27662 tests/test_gi.py | 1 -
27663 tests/test_overrides.py | 50
27664 +++++++++++++++++++++++++++++++++++++++++----
27665 7 files changed, 90 insertions(+), 22 deletions(-)
27667 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
27668 Author: John Stowers <john.stowers@gmail.com>
27669 Date: Fri Oct 22 13:28:31 2010 +1300
27671 Shortcut removal is not needed on post-uninstall
27673 pygobject_postinstall.py | 14 ++------------
27674 1 file changed, 2 insertions(+), 12 deletions(-)
27676 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
27677 Author: John Stowers <john.stowers@gmail.com>
27678 Date: Thu Oct 21 13:25:35 2010 +1300
27680 Disable shortcut creation in windows installer
27682 pygobject_postinstall.py | 2 +-
27683 1 file changed, 1 insertion(+), 1 deletion(-)
27685 commit a3d6212b0abccef58f05d454c091936776413d98
27686 Author: John (J5) Palmieri <johnp@redhat.com>
27687 Date: Thu Oct 7 11:43:27 2010 -0400
27689 overrides for all subclasses of dialog
27691 https://bugzilla.gnome.org/show_bug.cgi?id=631634
27693 gi/overrides/Gtk.py | 94
27694 +++++++++++++++++++++++++++++++++++++++++++++----
27695 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
27696 2 files changed, 151 insertions(+), 7 deletions(-)
27698 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
27699 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27700 Date: Thu Oct 7 19:37:53 2010 +0200
27702 Make TreeModel behave like in GTK-2.x
27704 Moved stuff from __getitem__ to get_iter.
27705 Added TreePath.__cmp__
27707 get_iter_from_string throws ValueError.
27708 iterchildren() does not return None.
27710 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
27713 Added support for negative row and column indices
27715 Use rich comparison methods instead of __cmp__
27717 Added TreeModel.__bool__/__nonzero__
27719 Raise Error if tree path string is empty
27721 https://bugzilla.gnome.org/show_bug.cgi?id=631547
27723 gi/overrides/Gtk.py | 195
27724 ++++++++++++++++++++++++++++++++++++++++++++++++
27725 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
27726 2 files changed, 349 insertions(+), 6 deletions(-)
27728 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
27729 Author: John Stowers <john.stowers@gmail.com>
27730 Date: Sat Oct 16 18:59:25 2010 +1300
27732 Correctly build GIO on windows
27734 setup.py | 6 +++---
27735 1 file changed, 3 insertions(+), 3 deletions(-)
27737 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
27738 Author: John Stowers <john.stowers@gmail.com>
27739 Date: Sat Oct 16 18:17:28 2010 +1300
27741 Require Python >= 2.6.0 for Windows build
27744 1 file changed, 1 insertion(+), 1 deletion(-)
27746 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
27747 Author: John Stowers <john.stowers@gmail.com>
27748 Date: Sat Oct 16 17:41:01 2010 +1300
27750 Fix depreciation warning in dsextras.py
27753 1 file changed, 1 insertion(+), 1 deletion(-)
27755 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
27756 Author: John Stowers <john.stowers@gmail.com>
27757 Date: Sat Oct 16 17:34:50 2010 +1300
27759 Fix build on windows
27761 gi/pygi-foreign.c | 5 ++++-
27762 gi/pygi.h | 5 ++++-
27764 3 files changed, 10 insertions(+), 4 deletions(-)
27766 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
27767 Author: Michael Culbertson <michael.culbertson@gmail.com>
27768 Date: Sat Oct 16 17:08:11 2010 +1300
27770 Support for GCC4 in Windows distutils build - bug 626548
27772 dsextras.py | 3 ++-
27773 1 file changed, 2 insertions(+), 1 deletion(-)
27775 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
27776 Author: John Stowers <john.stowers@gmail.com>
27777 Date: Fri Oct 15 09:39:02 2010 +1300
27779 Remove obsolete comments in dsextras.py
27781 dsextras.py | 11 ++---------
27782 1 file changed, 2 insertions(+), 9 deletions(-)
27784 commit b5f383f854fb8f72677828b029589320c59006d1
27785 Author: John Stowers <john.stowers@gmail.com>
27786 Date: Fri Oct 15 09:21:03 2010 +1300
27788 Broken dsextras.py pkg-config check error message
27793 1 file changed, 1 insertion(+), 1 deletion(-)
27795 commit e1981da105b574e273ae6500fc6d25caf6af6aae
27796 Author: John (J5) Palmieri <johnp@redhat.com>
27797 Date: Tue Sep 28 15:31:03 2010 -0400
27799 add compat functions for the deprecated PyCObject api
27801 * Moved to using the PyCapsule API for python >= 3
27802 * PyCObject is removed from Python 3.2
27803 * It has also been deprecated in 2.7 but since we use the API in
27805 which are consumed by static binding modules, appling this for
27807 causes crashes unless the modules are recompiled, breaking ABI.
27809 to rely on for 2.7 because it will never be removed and there is
27811 undeprecating it upstream.
27812 * There is no issues with static bindings under python 3 because
27814 supported yet and most likely never will be.
27815 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
27817 which adds a poorman's type check when unboxing.
27819 https://bugzilla.gnome.org/show_bug.cgi?id=630844
27821 gi/gimodule.c | 2 +-
27822 gi/pygi.h | 5 ++++-
27823 glib/glibmodule.c | 2 +-
27824 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
27825 glib/pyglib.c | 6 +++---
27826 glib/pygoptioncontext.c | 2 +-
27827 gobject/gobjectmodule.c | 2 +-
27828 gobject/pygobject.h | 6 ++++++
27829 gobject/pygtype.c | 10 +++++-----
27830 9 files changed, 50 insertions(+), 13 deletions(-)
27832 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
27833 Author: Damien Caliste <damien.caliste@cea.fr>
27834 Date: Tue Sep 28 12:44:42 2010 +0200
27836 Add __path__ attributes.
27838 Add an attribute __path__ to DynamicModule and IntrospectionModule,
27839 using the path of the typelib.
27841 https://bugzilla.gnome.org/show_bug.cgi?id=630807
27843 gi/module.py | 2 ++
27844 1 file changed, 2 insertions(+)
27846 commit 28f9366c9cb382801bad080864f667c867daa3c7
27847 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27848 Date: Sat Oct 9 17:40:40 2010 +0200
27850 Override Gtk.TreeSelection.get_selected to not return success value.
27852 https://bugzilla.gnome.org/show_bug.cgi?id=631765
27854 gi/overrides/Gtk.py | 12 ++++++++++++
27855 1 file changed, 12 insertions(+)
27857 commit f01a7d9e8222663ce52100e061033f2745a5e7af
27858 Author: Vincent Untz <vuntz@gnome.org>
27859 Date: Thu Oct 7 09:42:24 2010 +0200
27861 Make row optional in Gtk.TreeStore/ListStore.append override
27863 https://bugzilla.gnome.org/show_bug.cgi?id=631548
27865 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
27866 1 file changed, 22 insertions(+), 14 deletions(-)
27868 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
27869 Author: John (J5) Palmieri <johnp@redhat.com>
27870 Date: Mon Oct 4 12:50:55 2010 -0400
27872 Revert "add compat functions for the deprecated PyCObject api"
27874 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
27876 I ment to commit another patch and ended up comitting both
27878 gi/gimodule.c | 2 +-
27879 gi/pygi.h | 5 +----
27880 glib/glibmodule.c | 2 +-
27881 glib/pyglib-python-compat.h | 19 -------------------
27882 glib/pyglib.c | 6 +++---
27883 glib/pygoptioncontext.c | 2 +-
27884 gobject/gobjectmodule.c | 2 +-
27885 gobject/pygobject.h | 6 ------
27886 gobject/pygtype.c | 10 +++++-----
27887 9 files changed, 13 insertions(+), 41 deletions(-)
27889 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
27890 Author: John (J5) Palmieri <johnp@redhat.com>
27891 Date: Mon Oct 4 12:43:31 2010 -0400
27893 return NULL instead of -1 which fixes crash when introspection is
27896 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
27899 1 file changed, 1 insertion(+), 1 deletion(-)
27901 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
27902 Author: John (J5) Palmieri <johnp@redhat.com>
27903 Date: Tue Sep 28 15:31:03 2010 -0400
27905 add compat functions for the deprecated PyCObject api
27907 * Moved to using the PyCapsule API for python >= 2.7
27909 https://bugzilla.gnome.org/show_bug.cgi?id=630844
27911 gi/gimodule.c | 2 +-
27912 gi/pygi.h | 5 ++++-
27913 glib/glibmodule.c | 2 +-
27914 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
27915 glib/pyglib.c | 6 +++---
27916 glib/pygoptioncontext.c | 2 +-
27917 gobject/gobjectmodule.c | 2 +-
27918 gobject/pygobject.h | 6 ++++++
27919 gobject/pygtype.c | 10 +++++-----
27920 9 files changed, 41 insertions(+), 13 deletions(-)
27922 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
27923 Author: John (J5) Palmieri <johnp@redhat.com>
27924 Date: Tue Sep 28 15:28:16 2010 -0400
27926 fix commit 7fe83108 which didn't use the compat functions for
27929 glib/glibmodule.c | 2 +-
27930 1 file changed, 1 insertion(+), 1 deletion(-)
27932 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
27933 Author: John (J5) Palmieri <johnp@redhat.com>
27934 Date: Tue Sep 28 13:15:57 2010 -0400
27936 Python 3 fixes for dsextras and the python.m4 distribution files
27938 dsextras.py | 13 +++++++------
27939 m4/python.m4 | 4 ++--
27940 2 files changed, 9 insertions(+), 8 deletions(-)
27942 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
27943 Author: John (J5) Palmieri <johnp@redhat.com>
27944 Date: Mon Sep 27 14:01:31 2010 -0400
27946 post release bump to 2.27.0 unstable
27948 * update hacking to fill in some holes in the release instructions
27951 configure.ac | 2 +-
27952 2 files changed, 5 insertions(+), 3 deletions(-)
27954 commit fd38010101411e6bc1ca9314657f418de660fa13
27955 Author: John (J5) Palmieri <johnp@redhat.com>
27956 Date: Mon Sep 27 12:03:10 2010 -0400
27958 update NEWS for release
27961 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27962 1 file changed, 93 insertions(+)
27964 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
27965 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27966 Date: Sun Sep 26 08:37:31 2010 +0200
27968 Pre-release version bump 2.26.0
27970 configure.ac | 4 ++--
27971 1 file changed, 2 insertions(+), 2 deletions(-)
27973 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
27974 Author: John Stowers <john.stowers@gmail.com>
27975 Date: Fri Sep 24 22:44:03 2010 +1200
27977 Wrap g_get_system_{config,data}_dirs ()
27979 * Also tidy up g_get_{cache,config,data}_dir
27980 to share common code
27982 glib/glibmodule.c | 68
27983 ++++++++++++++++++++++++++++++++++++++++---------------
27984 1 file changed, 50 insertions(+), 18 deletions(-)
27986 commit 328aca600714bdca89dfdb531c222ee561ede27e
27987 Author: John (J5) Palmieri <johnp@redhat.com>
27988 Date: Fri Sep 24 12:16:22 2010 -0400
27990 fixed make check and make dist
27992 tests/Makefile.am | 31 ++++++++++++++++++-------------
27993 1 file changed, 18 insertions(+), 13 deletions(-)
27995 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
27996 Author: John Stowers <john.stowers@gmail.com>
27997 Date: Fri Sep 24 21:20:53 2010 +1200
27999 Disable GI tests when introspection disabled
28001 tests/Makefile.am | 2 ++
28002 1 file changed, 2 insertions(+)
28004 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
28005 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28006 Date: Sat Jul 18 19:35:08 2009 +0200
28008 Wrap g_uri_list_extract_uris. Fixes bug #584431
28010 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28011 gobject/__init__.py | 2 +-
28012 tests/Makefile.am | 3 ++-
28013 tests/test_uris.py | 15 +++++++++++++++
28014 4 files changed, 56 insertions(+), 2 deletions(-)
28016 commit d6721a59c294f2471142b8c32de2f647b7084bca
28017 Author: Paul Bolle <pebolle@tiscali.nl>
28018 Date: Thu Sep 23 15:38:40 2010 -0400
28020 Fix a few uses of TRUE and FALSE in the docs
28022 docs/reference/pygio-mount.xml | 5 +++--
28023 docs/reference/pyglib-functions.xml | 18 +++++++++---------
28024 docs/reference/pyglib-maincontext.xml | 12 ++++++------
28025 docs/reference/pyglib-mainloop.xml | 6 +++---
28026 docs/reference/pygobject-functions.xml | 6 +++---
28027 docs/reference/pygobject.xml | 4 ++--
28028 6 files changed, 26 insertions(+), 25 deletions(-)
28030 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
28031 Author: Damien Caliste <damien.caliste@cea.fr>
28032 Date: Tue Sep 21 17:52:14 2010 +0200
28034 pygi: always free the invocation_state struct
28036 In pygi-invoke.c, the invocation_state struct is never freed
28037 in case of success. Thus, always call _free_invocation_state()
28039 Modify _free_invocation_state to avoid double free in case of
28040 caller-allocated GValue, once as a released argument in the
28041 _process routine and another time in the _free as the special
28042 case. So move all argument releasing code from the _process
28043 routine to the _free one.
28044 Modify the tests for the callback routines to return an integer
28045 value as specified in the GIR file.
28047 Make check is as successful as before (already existing error
28048 related to GVariant is still there).
28050 https://bugzilla.gnome.org/show_bug.cgi?id=630271
28052 gi/pygi-invoke.c | 83
28053 +++++++++++++++++++++---------------------------
28054 tests/test_everything.py | 4 ++-
28055 2 files changed, 40 insertions(+), 47 deletions(-)
28057 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
28058 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28059 Date: Mon Sep 13 16:36:47 2010 +0200
28061 Start implementing something equivalent to g_variant_new
28063 https://bugzilla.gnome.org/show_bug.cgi?id=629367
28065 gi/gimodule.c | 20 +++++++
28066 gi/overrides/GLib.py | 131
28067 ++++++++++++++++++++++++++++++++++++++++++---
28068 gi/pygi-foreign-gvariant.c | 2 +-
28069 tests/test_everything.py | 16 ------
28070 tests/test_overrides.py | 25 +++++++++
28071 5 files changed, 170 insertions(+), 24 deletions(-)
28073 commit fc45abdd9b55ab63556798ab0f04715be79dba08
28074 Author: John (J5) Palmieri <johnp@redhat.com>
28075 Date: Thu Sep 23 10:49:36 2010 -0400
28077 fixed typo - missing comma in glib.option module
28079 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
28081 glib/option.py | 2 +-
28082 1 file changed, 1 insertion(+), 1 deletion(-)
28084 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
28085 Author: John (J5) Palmieri <johnp@redhat.com>
28086 Date: Fri Sep 17 12:08:09 2010 -0400
28088 add checks so we can compile under python 3 by setting PYTHON=python3
28090 * compile for python 3
28091 * disables gio if compiling under python 3.x
28092 * runs only pertinant tests
28094 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28096 configure.ac | 32 +++++++++++++++++++++++++++++---
28097 tests/Makefile.am | 35 ++++++++++++++++++++---------------
28098 tests/runtests.py | 4 ++++
28099 3 files changed, 53 insertions(+), 18 deletions(-)
28101 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
28102 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28103 Date: Fri Sep 17 15:50:47 2010 +0200
28105 Rename static methods as functions
28107 In recent gobject-introspection releases, static methods have been
28108 removed and placed as functions in the namespace level. In a future
28109 releases it's planned to become static methods again but for now
28110 let's fix the tests.
28112 tests/test_gi.py | 14 +++++++-------
28113 1 file changed, 7 insertions(+), 7 deletions(-)
28115 commit 2da8da589644d6125101210712defb1272a8abb1
28116 Author: John (J5) Palmieri <johnp@redhat.com>
28117 Date: Thu Sep 9 13:52:14 2010 -0400
28119 fix a couple of compiler warnings
28121 https://bugzilla.gnome.org/show_bug.cgi?id=629199
28123 gi/pygi-argument.c | 4 ++--
28124 gi/pygi-struct.c | 2 +-
28125 gobject/gobjectmodule.c | 2 +-
28126 3 files changed, 4 insertions(+), 4 deletions(-)
28128 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
28129 Author: John (J5) Palmieri <johnp@redhat.com>
28130 Date: Thu Sep 9 13:55:17 2010 -0400
28134 * we use richcompare now
28136 https://bugzilla.gnome.org/show_bug.cgi?id=629198
28138 gobject/pygtype.c | 9 ---------
28139 1 file changed, 9 deletions(-)
28141 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
28142 Author: John (J5) Palmieri <johnp@redhat.com>
28143 Date: Tue Sep 14 14:10:49 2010 -0400
28145 Check the type of the instance object
28147 * in python 2 methods were added to classes as unbound methods and
28149 check the instance type to make sure it was correct
28150 * in python 3 for perfomance reasons methods are added to classes
28152 functions which treat the instance as an untyped argument so
28155 * this patch adds a type check so that the correct errors are
28157 python 3 (python 2 this just adds another layer of redundancy should
28158 something change with type checking in the future)
28159 * since GI handles regular args and the instance arg slightly
28161 we had to split out the interface checks in
28162 _pygi_g_type_info_check_object
28163 in order to not duplicate code
28165 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28167 gi/pygi-argument.c | 182
28168 ++++++++++++++++++++++++++++-------------------------
28169 gi/pygi-argument.h | 2 +
28170 gi/pygi-invoke.c | 14 +++++
28171 3 files changed, 112 insertions(+), 86 deletions(-)
28173 commit 5d79498d38b147b66ae72c1481e397160491e8d6
28174 Author: John (J5) Palmieri <johnp@redhat.com>
28175 Date: Wed Sep 15 10:26:20 2010 -0400
28177 include the correct pycairo version
28179 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28181 gi/pygi-foreign-cairo.c | 6 ++++++
28182 1 file changed, 6 insertions(+)
28184 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
28185 Author: John (J5) Palmieri <johnp@redhat.com>
28186 Date: Thu Sep 9 22:16:58 2010 -0400
28188 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
28190 * in Py3k PyMapping_Check returns true for sequences such as strings
28191 and lists. Since we need to get the keys anyway, and it returns
28192 NULL if this is not a dict, this is a much better test, even in
28195 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28197 gi/pygi-argument.c | 10 +++-------
28198 1 file changed, 3 insertions(+), 7 deletions(-)
28200 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
28201 Author: John (J5) Palmieri <johnp@redhat.com>
28202 Date: Thu Sep 9 18:44:11 2010 -0400
28204 fix handling of UINT64 and INT64 arguments in py3k
28206 * decode to the right sized C long
28208 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28210 gi/pygi-argument.c | 20 ++++++++++++--------
28211 1 file changed, 12 insertions(+), 8 deletions(-)
28213 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
28214 Author: John (J5) Palmieri <johnp@redhat.com>
28215 Date: Thu Sep 9 17:35:10 2010 -0400
28217 properly handle ulongs properties in py3k
28219 * If this is a PyLong object pull use AsUnsignedLong
28221 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28223 gobject/pygtype.c | 29 ++++++++++++++++-------------
28224 1 file changed, 16 insertions(+), 13 deletions(-)
28226 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
28227 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28228 Date: Fri Sep 17 12:14:56 2010 +0200
28230 Specify encoding of tests/test_gi.py
28232 tests/test_gi.py | 3 ++-
28233 1 file changed, 2 insertions(+), 1 deletion(-)
28235 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
28236 Author: John (J5) Palmieri <johnp@redhat.com>
28237 Date: Thu Sep 9 13:24:30 2010 -0400
28239 use actual unicode in the tests on py3k, not the byte representation
28241 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28243 tests/test_gi.py | 6 +++++-
28244 1 file changed, 5 insertions(+), 1 deletion(-)
28246 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
28247 Author: John (J5) Palmieri <johnp@redhat.com>
28248 Date: Thu Sep 9 12:45:21 2010 -0400
28250 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
28253 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
28255 with both the METH_VARARGS and METH_KEYWORDS flags.
28257 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28259 glib/pygiochannel.c | 30 +++++++++++++++---------------
28260 glib/pygsource.c | 4 ++--
28261 gobject/pygobject.c | 2 +-
28262 3 files changed, 18 insertions(+), 18 deletions(-)
28264 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
28265 Author: John (J5) Palmieri <johnp@redhat.com>
28266 Date: Thu Sep 9 08:04:40 2010 -0400
28268 fix subclassing PyLong by calling __new__ correctly
28270 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28272 glib/pygspawn.c | 4 ++--
28273 1 file changed, 2 insertions(+), 2 deletions(-)
28275 commit a499b2f0d622b671bd154544f66b73f1278e66ed
28276 Author: John (J5) Palmieri <johnp@redhat.com>
28277 Date: Thu Sep 9 07:56:44 2010 -0400
28279 minor py3k fixups for python modules
28281 * add _basestring and _bytes and _callable wrappers
28282 * use items instead of iteritems and range instead of xrange
28286 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28288 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
28289 glib/option.py | 16 ++++++++++++----
28290 2 files changed, 28 insertions(+), 12 deletions(-)
28292 commit dec9001d26c97949e7b3578086cb35e98075c047
28293 Author: John (J5) Palmieri <johnp@redhat.com>
28294 Date: Thu Sep 9 07:36:04 2010 -0400
28296 minor fixes in tests for py3k compat
28298 * add a _bytes wrapper for API that expects bytes in py3k but str
28300 * fix some more exception handling using sys.exc_info()[:2]
28301 * use range instead of xrange, items instead of iteritems since py3k
28302 dropped support for the different ways of accessing iterators
28303 - this is less efficient in py2 but we plan to target py3k as the
28305 * use list(dict.items()) since py3k only returns iterables which
28308 * missed some _long wrapping
28310 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28312 tests/compathelper.py | 18 ++++++++++++++++++
28313 tests/test_everything.py | 5 +++--
28314 tests/test_mainloop.py | 3 ++-
28315 tests/test_option.py | 6 ++++--
28316 tests/test_overrides.py | 4 ++--
28317 tests/test_properties.py | 6 +++---
28318 6 files changed, 32 insertions(+), 10 deletions(-)
28320 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
28321 Author: Colin Walters <walters@verbum.org>
28322 Date: Thu Sep 9 16:25:51 2010 -0400
28324 compilation: Fix syntax error
28326 gi/pygi-info.c | 2 +-
28327 1 file changed, 1 insertion(+), 1 deletion(-)
28329 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
28330 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28331 Date: Thu Sep 9 22:17:00 2010 +0200
28335 gi/overrides/GLib.py | 48
28336 ++++++++++++++++++++++++++++++++++++++++++++++++
28337 1 file changed, 48 insertions(+)
28339 commit 306b792ac97a458ddee59fb86d66453495117f3e
28340 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28341 Date: Thu Jul 22 13:48:51 2010 +0100
28343 Add override for GLib.Variant.new_tuple
28345 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
28346 * gi/overrides/GLib.py: Override Variant.new_tuple and
28348 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
28349 _pygi_type_import_by_gi_info
28350 * gi/types.py: Never override gobject.TYPE_NONE
28351 * tests/test_everything.py: Add tests for GVariant tuples
28353 https://bugzilla.gnome.org/show_bug.cgi?id=625050
28355 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28356 gi/overrides/Makefile.am | 1 +
28357 gi/pygi-type.c | 15 +++++++++------
28358 gi/pygi-type.h | 2 ++
28360 tests/test_everything.py | 9 +++++++++
28361 6 files changed, 60 insertions(+), 6 deletions(-)
28363 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
28364 Author: John (J5) Palmieri <johnp@redhat.com>
28365 Date: Wed Sep 8 13:08:48 2010 -0400
28367 fix for changes in the gi test libraries
28369 tests/test_everything.py | 2 +-
28370 1 file changed, 1 insertion(+), 1 deletion(-)
28372 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
28373 Author: John (J5) Palmieri <johnp@redhat.com>
28374 Date: Wed Sep 8 13:08:07 2010 -0400
28376 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
28378 gi/overrides/Gtk.py | 10 ++++++++--
28379 1 file changed, 8 insertions(+), 2 deletions(-)
28381 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
28382 Author: John (J5) Palmieri <johnp@redhat.com>
28383 Date: Wed Sep 8 12:35:09 2010 -0400
28385 no need to offset arg positions when is_method is true
28387 * The old GI libraries required we offset arg positions for the
28389 self argument. The new library fixes this so we don't have
28393 https://bugzilla.gnome.org/show_bug.cgi?id=629087
28395 gi/pygi-callbacks.c | 5 +----
28396 1 file changed, 1 insertion(+), 4 deletions(-)
28398 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
28399 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28400 Date: Fri Aug 20 14:54:35 2010 +0200
28402 gi: Add support for more property types
28404 https://bugzilla.gnome.org/show_bug.cgi?id=627494
28406 gi/pygi-property.c | 156
28407 ++++++++++++++++++++++++++++++++++++-----------
28408 tests/test_everything.py | 34 +++++++++++
28409 2 files changed, 154 insertions(+), 36 deletions(-)
28411 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
28412 Author: John (J5) Palmieri <johnp@redhat.com>
28413 Date: Fri Sep 3 12:04:16 2010 -0400
28415 use PyObject_SetAttrString, not PyDict_SetItemString when setting
28418 * When registering a gtype wrapper we used to set tp_dict
28419 directly. This works
28420 in python 2 but python 3 seems to handle attributes in a slightly
28422 way where the tp_dict and attr get out of sync. By setting the attr
28423 directly we avoid this issue.
28424 * Note that there are many more places where we set __gtype__
28426 however for objects which are not instantiated yet we have to
28429 * Since this one change fixes a lot of failed tests, for now we
28431 other places where we set __gtype__. If we run into more issues
28433 with __gtype__ we can take a closer look later.
28435 https://bugzilla.gnome.org/show_bug.cgi?id=627878
28437 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28439 gobject/gobjectmodule.c | 2 +-
28440 1 file changed, 1 insertion(+), 1 deletion(-)
28442 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
28443 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28444 Date: Wed Sep 1 11:03:40 2010 +0200
28446 Rename GArgument to GIArgument
28448 gi/pygi-argument.c | 52
28449 +++++++++++++++++++++++-----------------------
28450 gi/pygi-argument.h | 10 ++++-----
28451 gi/pygi-closure.c | 34 +++++++++++++++---------------
28452 gi/pygi-foreign-cairo.c | 8 +++----
28453 gi/pygi-foreign-gvariant.c | 4 ++--
28454 gi/pygi-foreign-gvariant.h | 4 ++--
28455 gi/pygi-foreign.c | 12 +++++------
28456 gi/pygi-foreign.h | 8 +++----
28457 gi/pygi-info.c | 8 +++----
28458 gi/pygi-invoke.c | 28 ++++++++++++-------------
28459 gi/pygi-property.c | 4 ++--
28460 gi/pygi.h | 16 +++++++-------
28461 12 files changed, 94 insertions(+), 94 deletions(-)
28463 commit 7197f85c9be2b03636639ac909ca2c3170653509
28464 Author: John (J5) Palmieri <johnp@redhat.com>
28465 Date: Wed Aug 18 10:29:19 2010 -0400
28467 fix up tests so they run in py3k
28469 * add a compat helper that should only be used by tests
28470 * fix long notation to use the compat helper instead
28471 * add parens to print statements
28472 * use compatable try/except pattern
28474 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28476 gobject/propertyhelper.py | 16 +++++++++++-----
28477 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
28478 tests/test_option.py | 7 ++++++-
28479 tests/test_properties.py | 24 ++++++++++++++----------
28480 tests/test_signal.py | 14 +++++++-------
28481 tests/test_source.py | 4 ++--
28482 6 files changed, 72 insertions(+), 25 deletions(-)
28484 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
28485 Author: Colin Walters <walters@verbum.org>
28486 Date: Fri Aug 20 10:58:48 2010 -0400
28488 tests: Port to new introspection tests
28490 Everything is renamed "Regress", and both it and GIMarshallingTests
28491 are now in source form, so we compile them.
28493 The scanner now adds "static methods" to objects, structs, and unions,
28494 so update the test code to use those.
28496 In the tests, remove broken (inout) cases - the person writing these
28497 tests misunderstood the semantics of (inout). It's not acceptable for
28498 a C API to mutate e.g. a GSList* passed in, or unref an object.
28500 The invocation code needed to be updated for this - remove some
28503 https://bugzilla.gnome.org/show_bug.cgi?id=627878
28505 configure.ac | 5 +-
28506 gi/pygi-argument.c | 9 +--
28507 gi/pygi-invoke.c | 147
28508 +++++----------------------------------------
28509 tests/Makefile.am | 42 ++++++++++++-
28510 tests/test_everything.py | 6 +-
28511 tests/test_gi.py | 151
28512 +++++++++--------------------------------------
28513 6 files changed, 93 insertions(+), 267 deletions(-)
28515 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
28516 Author: John (J5) Palmieri <johnp@redhat.com>
28517 Date: Fri Aug 20 10:43:58 2010 -0400
28519 we need to specify tp_hash since we overide tp_richcompare
28521 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28523 gobject/pygenum.c | 1 +
28524 gobject/pygflags.c | 1 +
28525 2 files changed, 2 insertions(+)
28527 commit c03e6b482548aee99362356807c804f8834fad2b
28528 Author: John Ehresman <jpe@wingware.com>
28529 Date: Thu Apr 15 17:11:30 2010 -0400
28531 working enum/flags/pid subclasses of long
28533 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28535 glib/pygspawn.c | 7 ++---
28536 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
28537 gobject/pygflags.c | 76
28538 +++++++++++++++++++++++-------------------------------
28539 3 files changed, 71 insertions(+), 73 deletions(-)
28541 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
28542 Author: John (J5) Palmieri <johnp@redhat.com>
28543 Date: Wed Aug 18 11:03:32 2010 -0400
28545 make vfuncs work in py3k
28547 * methods now export __func__ instead of im_func for getting the
28549 out of a method closure
28550 * however classes no longer return unbound methods in py3k and instead
28551 return the actual function
28552 * in python 2 we use im_func when getting the function from the
28554 * in py3k we simply assign vfunc to the function
28556 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28558 gi/types.py | 12 ++++++++----
28559 1 file changed, 8 insertions(+), 4 deletions(-)
28561 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
28562 Author: John (J5) Palmieri <johnp@redhat.com>
28563 Date: Tue Aug 17 15:43:42 2010 -0400
28565 make cairo module compile in py3k
28567 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28569 gi/Makefile.am | 2 +-
28570 gi/pygi-foreign-cairo.c | 17 +++++++----------
28571 2 files changed, 8 insertions(+), 11 deletions(-)
28573 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
28574 Author: John (J5) Palmieri <johnp@redhat.com>
28575 Date: Tue Aug 17 02:33:45 2010 -0400
28577 fix exceptions so they work in python 3.x
28579 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28581 gi/module.py | 2 +-
28583 2 files changed, 2 insertions(+), 2 deletions(-)
28585 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
28586 Author: John (J5) Palmieri <johnp@redhat.com>
28587 Date: Tue Aug 17 02:24:44 2010 -0400
28589 make the gi module compile under 3.x
28591 * include the compat macros
28592 * use GLIB_MODULE_START/END to define module
28593 * add PyInit__gi to the exported symbols
28595 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28597 gi/Makefile.am | 2 +-
28598 gi/gimodule.c | 24 +++++++++---------------
28599 2 files changed, 10 insertions(+), 16 deletions(-)
28601 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
28602 Author: John (J5) Palmieri <johnp@redhat.com>
28603 Date: Tue Aug 17 02:14:14 2010 -0400
28605 fix up testshelper module so it compiles in python 3.x
28607 * include the compat header
28608 * fix up PyInts to be PYGLIB_Long
28609 * Use PYGLIB_DEFINE_TYPE macros to define module objects
28610 * Use PYGLIB_MODULE_START/END to define modules
28612 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28614 tests/Makefile.am | 2 +-
28615 tests/testhelpermodule.c | 221
28616 ++++++-----------------------------------------
28617 2 files changed, 28 insertions(+), 195 deletions(-)
28619 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
28620 Author: John (J5) Palmieri <johnp@redhat.com>
28621 Date: Mon Aug 16 21:14:27 2010 -0400
28623 convert to using PYGLIB_DEFINE_TYPE for module objects
28625 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28627 gi/pygi-boxed.c | 43 ++-----------
28628 gi/pygi-info.c | 171
28629 ++++++++++++++++++++-------------------------------
28630 gi/pygi-repository.c | 39 +++---------
28631 gi/pygi-struct.c | 45 +++-----------
28632 4 files changed, 88 insertions(+), 210 deletions(-)
28634 commit 1efa2b12913b194d433c17014bc1077271a6ca32
28635 Author: John (J5) Palmieri <johnp@redhat.com>
28636 Date: Mon Aug 16 13:51:05 2010 -0400
28638 some more p3k PyString and PyInt eradication in GI
28640 * add the glib dir to the includes list in the build
28641 * make sure we include the compat macros
28642 * add GLIB_PyBytes_FromString to compat macros
28643 * add GLIB_PyNumber_Long to compat macros
28644 * use RichCompare instead of Compare
28646 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28648 gi/Makefile.am | 2 +-
28649 gi/pygi-argument.c | 96
28650 +++++++++++++++++++++++++++------------------
28651 gi/pygi-boxed.c | 1 +
28652 gi/pygi-info.c | 13 +++---
28653 gi/pygi-private.h | 23 +++++++++++
28654 gi/pygi-repository.c | 8 ++--
28655 gi/pygi-struct.c | 1 +
28656 glib/pyglib-python-compat.h | 6 +++
28657 8 files changed, 103 insertions(+), 47 deletions(-)
28659 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
28660 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28661 Date: Fri Aug 20 09:28:57 2010 +0200
28663 pyglib: Fix typo (Leo Singer)
28665 https://bugzilla.gnome.org/show_bug.cgi?id=627408
28667 glib/option.py | 4 ++--
28668 1 file changed, 2 insertions(+), 2 deletions(-)
28670 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
28671 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
28672 Date: Thu Aug 19 18:45:05 2010 -0300
28674 Add defines for size_t and ssize_t conversion functions
28676 These missing defines cause the resulting module to have unresolved
28677 symbols, rendering it unusable.
28679 https://bugzilla.gnome.org/show_bug.cgi?id=627440
28681 glib/pyglib-python-compat.h | 2 ++
28682 1 file changed, 2 insertions(+)
28684 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
28685 Author: Colin Walters <walters@verbum.org>
28686 Date: Thu Aug 19 17:50:35 2010 -0400
28688 pyglib: Fix a compiler warning
28690 glib/pyglib.c | 1 +
28691 1 file changed, 1 insertion(+)
28693 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
28694 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28695 Date: Wed Aug 18 20:36:51 2010 +0200
28697 Don't force gtk 2.0
28699 pygi-convert.sh | 11 +++++++----
28700 1 file changed, 7 insertions(+), 4 deletions(-)
28702 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
28703 Author: Steve Frécinaux <code@istique.net>
28704 Date: Tue Aug 17 14:49:30 2010 +0200
28706 Fix some ref leaks in hook_up_vfunc_implementation()
28708 https://bugzilla.gnome.org/show_bug.cgi?id=627143
28710 gi/gimodule.c | 9 +++++++--
28711 1 file changed, 7 insertions(+), 2 deletions(-)
28713 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
28714 Author: John (J5) Palmieri <johnp@redhat.com>
28715 Date: Thu Aug 12 12:16:31 2010 -0400
28717 handle strings correctly in gio
28719 gio/gappinfo.override | 5 +++++
28720 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
28721 2 files changed, 40 insertions(+), 7 deletions(-)
28723 commit 45ab0c03110c911b47519941dfd753326891b5e0
28724 Author: John (J5) Palmieri <johnp@redhat.com>
28725 Date: Wed Aug 11 16:13:59 2010 -0400
28727 make giomodule compile under py3k
28729 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28731 gio/giomodule.c | 153
28732 +++++++++++++++++++++++++++++---------------------------
28733 1 file changed, 78 insertions(+), 75 deletions(-)
28735 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
28736 Author: John (J5) Palmieri <johnp@redhat.com>
28737 Date: Wed Aug 11 16:04:48 2010 -0400
28739 for py3k we need to do some more processing to get bytes from a
28742 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28744 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
28745 1 file changed, 27 insertions(+), 4 deletions(-)
28747 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
28748 Author: John (J5) Palmieri <johnp@redhat.com>
28749 Date: Wed Aug 11 15:03:55 2010 -0400
28751 use Bytes instead of Unicode when reading io
28753 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28755 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
28756 1 file changed, 24 insertions(+), 6 deletions(-)
28758 commit 5824ff98175b749dbcfa72d24b994230b6e05377
28759 Author: John (J5) Palmieri <johnp@redhat.com>
28760 Date: Mon Aug 9 15:16:51 2010 -0400
28762 prefix compat macros with PYGLIB
28764 * refactor from John Ehresman <jpe@wingware.com> py3k branch
28765 * fix up some extranious PyString calls
28766 * remove duplicate macros from pyglib.h that are in
28767 pyglib-python-compat.h
28768 * pygobject.h can't import pyglib-python-compat.h so add codepaths
28769 for both Py3k and legacy code instead of using macros
28771 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28773 glib/glibmodule.c | 48 +++++-----
28774 glib/pygiochannel.c | 46 +++++-----
28775 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
28776 glib/pyglib.c | 22 ++---
28777 glib/pyglib.h | 14 ---
28778 glib/pygoptioncontext.c | 4 +-
28779 glib/pygsource.c | 16 ++--
28780 glib/pygspawn.c | 32 +++----
28781 gobject/gobjectmodule.c | 216
28782 ++++++++++++++++++++++----------------------
28783 gobject/pygboxed.c | 2 +-
28784 gobject/pygenum.c | 84 ++++++++---------
28785 gobject/pygflags.c | 122 ++++++++++++-------------
28786 gobject/pygobject-private.h | 12 +--
28787 gobject/pygobject.c | 46 +++++-----
28788 gobject/pygobject.h | 23 +++++
28789 gobject/pygparamspec.c | 24 ++---
28790 gobject/pygpointer.c | 2 +-
28791 gobject/pygtype.c | 170 +++++++++++++++++-----------------
28792 18 files changed, 563 insertions(+), 473 deletions(-)
28794 commit 231e934cc01d061e81bb60d35127a133cd0e1793
28795 Author: John (J5) Palmieri <johnp@redhat.com>
28796 Date: Mon Aug 16 10:14:04 2010 +0200
28798 Gtk.Button unit tests
28800 https://bugzilla.gnome.org/show_bug.cgi?id=622606
28802 tests/test_overrides.py | 10 ++++++++++
28803 1 file changed, 10 insertions(+)
28805 commit f07cfde377e42686c6b80f56cac62338ee333e61
28806 Author: Johan Dahlin <johan@gnome.org>
28807 Date: Mon Aug 16 10:08:38 2010 +0200
28809 [Gtk] Add overrides for Button
28811 https://bugzilla.gnome.org/show_bug.cgi?id=622606
28813 gi/overrides/Gtk.py | 13 +++++++++++++
28814 1 file changed, 13 insertions(+)
28816 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
28817 Author: Simon van der Linden <svdlinden@gnome.org>
28818 Date: Thu Aug 12 16:18:58 2010 +0200
28820 Make Cairo an optional dependency
28822 Add the --enable-cairo configure argument.
28824 https://bugzilla.gnome.org/show_bug.cgi?id=616732
28826 configure.ac | 15 ++++++++++++---
28827 gi/Makefile.am | 20 ++++++++++++--------
28828 2 files changed, 24 insertions(+), 11 deletions(-)
28830 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
28831 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28832 Date: Mon Aug 16 09:55:35 2010 +0200
28834 Don't import again PyGObject (John Ralls)
28836 https://bugzilla.gnome.org/show_bug.cgi?id=626996
28839 1 file changed, 1 insertion(+)
28841 commit 0dc3656070f496431829c6e8441ca17129c569f8
28842 Author: John (J5) Palmieri <johnp@redhat.com>
28843 Date: Mon Aug 9 16:11:55 2010 -0400
28845 move to using richcompare slot instead of compare
28847 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28849 glib/pygiochannel.c | 18 +++++++----
28851 +++++++++++++++++++++++++++++++++++++++++++++++++
28852 glib/pyglib.h | 3 ++
28853 glib/pygmaincontext.c | 17 ++++++----
28854 glib/pygmainloop.c | 17 ++++++----
28855 glib/pygoptioncontext.c | 18 +++++++----
28856 glib/pygoptiongroup.c | 22 +++++++------
28857 gobject/pygboxed.c | 18 +++++++----
28858 gobject/pygobject.c | 44 ++++++++++++++++++-------
28859 gobject/pygparamspec.c | 19 +++++++----
28860 gobject/pygpointer.c | 17 ++++++----
28861 gobject/pygtype.c | 26 +++++++++++----
28862 12 files changed, 233 insertions(+), 71 deletions(-)
28864 commit b426e531dc53d4b50e572a2da19733479635e662
28865 Author: Simon van der Linden <svdlinden@gnome.org>
28866 Date: Thu Aug 12 18:09:33 2010 +0200
28868 Replace autogen.sh by a newer version
28870 It pulls automake 1.10 or 1.11.
28871 Greatly inspired from GLib's.
28873 https://bugzilla.gnome.org/show_bug.cgi?id=625661
28876 +++++++------------------------------------------------------
28877 1 file changed, 58 insertions(+), 448 deletions(-)
28879 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
28880 Author: Simon van der Linden <svdlinden@gnome.org>
28881 Date: Thu Aug 12 14:11:55 2010 +0200
28885 pyglib.c: In function ‘pyglib_gerror_exception_check’:
28886 pyglib.c:362: warning: format not a string literal and no format
28888 pyglib.c:371: warning: format not a string literal and no format
28891 gio.override: In function 'pygio_notify_allocate_buffer':
28892 gio.override:144:13: warning: format '%d' expects type 'int', but
28896 https://bugzilla.gnome.org/show_bug.cgi?id=625437
28898 gio/gio.override | 2 +-
28899 glib/pyglib.c | 4 ++--
28900 2 files changed, 3 insertions(+), 3 deletions(-)
28902 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
28903 Author: Simon van der Linden <svdlinden@gnome.org>
28904 Date: Thu Aug 12 11:09:37 2010 +0200
28906 Fix caller-allocates emergency free.
28908 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
28910 NULL in order to be able caller-allocates. This patch adds those
28913 Moreover, the interface info needs to be freed afterwards.
28915 https://bugzilla.gnome.org/show_bug.cgi?id=626684
28917 gi/pygi-invoke.c | 9 ++++++++-
28918 1 file changed, 8 insertions(+), 1 deletion(-)
28920 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
28921 Author: Simon van der Linden <svdlinden@gnome.org>
28922 Date: Thu Aug 12 10:46:17 2010 +0200
28924 Remove useless checks.
28926 No need to check for state->arg_infos, state->arg_type_infos, and
28927 state->args_is_auxiliary to be NULL, they are always allocated.
28929 https://bugzilla.gnome.org/show_bug.cgi?id=626684
28931 gi/pygi-invoke.c | 14 +++-----------
28932 1 file changed, 3 insertions(+), 11 deletions(-)
28934 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
28935 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28936 Date: Tue Aug 10 17:40:16 2010 +0200
28938 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
28940 tests/Makefile.am | 2 +-
28941 1 file changed, 1 insertion(+), 1 deletion(-)
28943 commit 8be59c37dd57acc51875c7189ca09d728b729013
28944 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28945 Date: Wed Aug 4 13:43:17 2010 +0200
28949 gi/pygi-argument.c | 2 --
28950 gi/pygi-invoke.c | 2 +-
28951 gi/pygi-struct.c | 1 -
28952 3 files changed, 1 insertion(+), 4 deletions(-)
28954 commit 529eca6054e9a7e2267f1529e317c2373932762f
28955 Author: Simon van der Linden <svdlinden@gnome.org>
28956 Date: Fri Jul 30 22:39:40 2010 +0200
28958 Add myself as a maintainer
28960 MAINTAINERS | 4 ++++
28961 1 file changed, 4 insertions(+)
28963 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
28964 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28965 Date: Fri Jul 30 14:14:16 2010 +0200
28967 Properly allocate boxed structs that are (caller-allocates)
28969 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
28970 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
28971 are (caller-allocates)
28972 * tests/test_overrides.py: Split the TreeView tests
28974 https://bugzilla.gnome.org/show_bug.cgi?id=625653
28976 gi/pygi-boxed.c | 50
28977 ++++++++++++++++++++++++++++++++-----------------
28978 gi/pygi-boxed.h | 10 ++++++----
28979 gi/pygi-invoke.c | 16 ++++++----------
28980 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
28981 4 files changed, 64 insertions(+), 51 deletions(-)
28983 commit 99c7322898c00a576c7319ea0a7c808446253133
28984 Author: Toms Baugis <toms.baugis@gmail.com>
28985 Date: Fri Jul 30 15:44:21 2010 +0200
28987 override gdk.Event to return attribute from the proper event object
28989 https://bugzilla.gnome.org/show_bug.cgi?id=620593
28991 gi/overrides/Gdk.py | 48
28992 ++++++++++++++++++++++++++++++++++++++++++++++++
28993 gi/pygi-invoke.c | 4 ----
28994 tests/test_overrides.py | 10 ++++++++++
28995 3 files changed, 58 insertions(+), 4 deletions(-)
28997 commit 55814e722c2ae11310f346790c9221e4fad92b50
28998 Author: John (J5) Palmieri <johnp@redhat.com>
28999 Date: Fri Jul 30 06:30:48 2010 -0400
29001 check if z# needs an int or Py_ssize_t
29003 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29005 gio/gio.override | 5 +++++
29006 1 file changed, 5 insertions(+)
29008 commit 477315465d0a6d84b51e146e86e254873bc564ff
29009 Author: John (J5) Palmieri <johnp@redhat.com>
29010 Date: Fri Jul 30 06:43:06 2010 -0400
29012 make sure we parse parameters to python object vars not glib vars
29014 * py_flags was already set up but due to a typo &flags was being
29018 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29020 gio/gfile.override | 8 ++++----
29021 1 file changed, 4 insertions(+), 4 deletions(-)
29023 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
29024 Author: Paul Bolle <pebolle@tiscali.nl>
29025 Date: Fri Jul 30 10:56:01 2010 +0200
29027 Make an example and a demo work out of the box
29029 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
29030 regarding pygtk to work out of the box. So add those.
29032 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29034 https://bugzilla.gnome.org/show_bug.cgi?id=625638
29036 demos/gtk-demo/gtk-demo.py | 2 ++
29037 examples/cairo-demo.py | 2 ++
29038 2 files changed, 4 insertions(+)
29040 commit c9da5782e6c633d9af43ee85075e9ee65db09780
29041 Author: John (J5) Palmieri <johnp@redhat.com>
29042 Date: Fri Jul 9 13:14:42 2010 -0400
29044 make sure caller allocated structs are freed when they go out of scope
29046 * Move struct transfer checks from pygi-arguments to pygi-invoke
29047 * add better warning if an unknown struct is fully transfered
29048 * only free GValues we create in the invoke cleanup. All other
29050 get cleaned up when they go out of scope in python
29051 * Fixes issues with caller allocated treeiters getting freed to early
29052 * this is a fix to crashes in the current test suite when API's
29054 TreeIters were annotated as out caller-allocates so no new tests
29057 https://bugzilla.gnome.org/show_bug.cgi?id=623969
29059 gi/pygi-argument.c | 13 +++++--------
29060 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
29061 2 files changed, 45 insertions(+), 14 deletions(-)
29063 commit e0a85305cd107aae5902e524afd074cd8c329927
29064 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29065 Date: Fri Jul 30 10:35:33 2010 +0200
29067 Revert "override gdk.Event to return attribute from the proper
29070 Pushed by mistake, we still need testcases
29072 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
29074 gi/overrides/Gdk.py | 44 --------------------------------------------
29075 1 file changed, 44 deletions(-)
29077 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
29078 Author: Paul Bolle <pebolle@tiscali.nl>
29079 Date: Thu Jul 29 22:55:28 2010 +0200
29081 PyGI: properly quit cairo-demo
29083 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29085 https://bugzilla.gnome.org/show_bug.cgi?id=625619
29087 examples/cairo-demo.py | 2 +-
29088 1 file changed, 1 insertion(+), 1 deletion(-)
29090 commit e7bb3954880568884ca66e7751ede689dc2f24f6
29091 Author: Toms Baugis <toms.baugis@gmail.com>
29092 Date: Tue Jul 27 21:37:16 2010 +0200
29094 override gdk.Event to return attribute from the proper event object.
29096 https://bugzilla.gnome.org/show_bug.cgi?id=620593
29098 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
29099 1 file changed, 44 insertions(+)
29101 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
29102 Author: Simon van der Linden <svdlinden@gnome.org>
29103 Date: Wed Jul 28 14:56:00 2010 +0200
29105 Clean and improve the test infrastructure
29107 To run select tests, use for instance:
29108 % make check TEST_NAMES='test_everything test_gi.TestConstant'
29110 It works with check.gdb and check.valgrind too.
29112 https://bugzilla.gnome.org/show_bug.cgi?id=625488
29114 Makefile.am | 5 ----
29115 tests/Makefile.am | 65
29116 +++++++++++++++++++++-------------------------
29117 tests/common.py | 47 ---------------------------------
29118 tests/runtests.py | 43 ++++++++++++------------------
29119 tests/test_gcancellable.py | 4 +--
29120 tests/test_gi.py | 3 ---
29121 tests/test_gicon.py | 3 ++-
29122 tests/test_gio.py | 3 ++-
29123 tests/test_gobject.py | 3 ++-
29124 tests/test_gresolver.py | 4 +--
29125 tests/test_gsocket.py | 4 ++-
29126 tests/test_interface.py | 6 ++++-
29127 tests/test_mainloop.py | 11 +++-----
29128 tests/test_signal.py | 4 ++-
29129 tests/test_source.py | 4 +--
29130 tests/test_subprocess.py | 5 +---
29131 tests/test_thread.py | 5 +++-
29132 tests/test_unknown.py | 5 +++-
29133 18 files changed, 82 insertions(+), 142 deletions(-)
29135 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
29136 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29137 Date: Thu Jul 29 12:34:19 2010 +0200
29139 Add some more transformations to pygi-convert.sh
29141 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
29142 1 file changed, 29 insertions(+), 8 deletions(-)
29144 commit de519adcd21947a0aef7932cdecb78cef200c85e
29145 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29146 Date: Wed Jul 28 14:42:36 2010 +0200
29148 Adapt to API changes: g_irepository_enumerate_versions
29150 gi/importer.py | 2 +-
29151 gi/pygi-repository.c | 12 ++++++------
29152 2 files changed, 7 insertions(+), 7 deletions(-)
29154 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
29155 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29156 Date: Wed Jul 28 12:26:48 2010 +0200
29158 Add GValue<->GArgument marshalling for some more types
29160 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
29161 1 file changed, 36 insertions(+), 1 deletion(-)
29163 commit ddffa70c3ee0e837070f390632bc692430f79171
29164 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29165 Date: Wed Jul 28 11:10:42 2010 +0200
29167 Chain up with the non-introspection implementation for properties
29170 gobject/pygobject.c | 7 ++++++-
29171 1 file changed, 6 insertions(+), 1 deletion(-)
29173 commit 045433a1f8167205dc8eae613dcb8835d02c8916
29174 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29175 Date: Wed Jul 28 10:59:49 2010 +0200
29177 Improve error reporting for missing attributes in introspection
29180 gi/module.py | 4 ++--
29181 1 file changed, 2 insertions(+), 2 deletions(-)
29183 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
29184 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29185 Date: Tue Jul 27 21:52:49 2010 +0200
29187 Implement getting and setting properties using introspection
29190 This allows us to use information not present in GObject such as
29191 transfer and element types.
29193 https://bugzilla.gnome.org/show_bug.cgi?id=620808
29195 gi/Makefile.am | 2 +
29196 gi/gimodule.c | 2 +
29197 gi/pygi-argument.c | 2 +
29198 gi/pygi-private.h | 1 +
29199 gi/pygi-property.c | 226
29200 +++++++++++++++++++++++++++++++++++++++++++++++
29201 gi/pygi-property.h | 39 ++++++++
29202 gi/pygi.h | 41 +++++++++
29203 gobject/pygobject.c | 9 ++
29204 tests/test_everything.py | 19 ++++
29205 9 files changed, 341 insertions(+)
29207 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
29208 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29209 Date: Tue Jul 27 21:32:41 2010 +0200
29211 Readd Gdk.Rectangle override for Gtk-2.0
29213 gi/overrides/Gdk.py | 19 +++++++++++++++++++
29214 1 file changed, 19 insertions(+)
29216 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
29217 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29218 Date: Tue Jul 27 18:25:27 2010 +0200
29220 Allow specifying a version when loading a typelib
29222 * gi/importer.py: Defer loading the typelib until first usage.
29223 * gi/module.py: Load the typelib in IntrospectionModule().
29224 * gi/overrides/*.py: Adapt to API change.
29225 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
29226 g_irepository_get_version.
29228 gi/importer.py | 26 ++++++-----------
29230 +++++++++++++++++++++++++-------------
29231 gi/overrides/GIMarshallingTests.py | 2 +-
29232 gi/overrides/Gdk.py | 2 +-
29233 gi/overrides/Gtk.py | 2 +-
29234 gi/pygi-repository.c | 56
29235 +++++++++++++++++++++++++++++++++++-
29236 6 files changed, 105 insertions(+), 41 deletions(-)
29238 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
29239 Author: Jonathan Matthew <jonathan@d14n.org>
29240 Date: Tue Jul 13 20:27:28 2010 +1000
29242 treat GFreeFunc as equivalent to GDestroyNotify when scanning
29245 https://bugzilla.gnome.org/show_bug.cgi?id=624232
29247 gi/pygi-callbacks.c | 3 ++-
29248 1 file changed, 2 insertions(+), 1 deletion(-)
29250 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
29251 Author: Simon van der Linden <svdlinden@gnome.org>
29252 Date: Mon Jul 26 17:00:23 2010 +0200
29254 Don't use == to compare doubles, use <= and =>.
29256 This avoids inequality due to small precisions difference.
29258 https://bugzilla.gnome.org/show_bug.cgi?id=625326
29260 tests/testhelpermodule.c | 2 +-
29261 1 file changed, 1 insertion(+), 1 deletion(-)
29263 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
29264 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29265 Date: Thu Jul 8 11:36:12 2010 +0200
29267 Allow passing ints as enum args
29269 https://bugzilla.gnome.org/show_bug.cgi?id=622584
29271 gi/pygi-argument.c | 23 +++++++++++++++++++++--
29272 tests/test_gi.py | 6 ++++--
29273 2 files changed, 25 insertions(+), 4 deletions(-)
29275 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
29276 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29277 Date: Sun Jul 25 17:30:40 2010 +0100
29279 Make error message less ambiguous
29281 https://bugzilla.gnome.org/show_bug.cgi?id=625095
29283 gi/pygi-callbacks.c | 3 ++-
29284 1 file changed, 2 insertions(+), 1 deletion(-)
29286 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
29287 Author: John (J5) Palmieri <johnp@redhat.com>
29288 Date: Thu Jun 24 10:07:12 2010 -0400
29290 fix passing in type names as a GType and add gtype unit tests
29292 * a simple call to pyg_type_from_object covers all the bases
29293 * added unit tests to check for correct GType value passing
29294 * fixed up tree override tests to also check different ways of
29297 https://bugzilla.gnome.org/show_bug.cgi?id=622605
29299 gi/pygi-argument.c | 8 +-------
29300 tests/test_everything.py | 27 +++++++++++++++++++++++++++
29301 tests/test_overrides.py | 6 ++----
29302 3 files changed, 30 insertions(+), 11 deletions(-)
29304 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
29305 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29306 Date: Mon Jul 26 11:54:47 2010 +0200
29308 Increase a bit verbosity of tests so people know which test failed
29310 tests/runtests.py | 2 +-
29311 1 file changed, 1 insertion(+), 1 deletion(-)
29313 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
29314 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29315 Date: Thu Jul 15 15:17:53 2010 +0200
29317 Actually add the files for GVariant foreign structs
29319 gi/pygi-foreign-gvariant.c | 63
29320 ++++++++++++++++++++++++++++++++++++++++++++++
29321 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
29322 2 files changed, 104 insertions(+)
29324 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
29325 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29326 Date: Thu Jul 15 13:31:33 2010 +0200
29328 Add foreign struct support for GVariant
29330 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
29331 * gi/pygi-foreign.c: Register foreign support for GVariant
29332 * gi/pygi-struct.c: properly release foreign structs
29333 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
29335 * tests/test_everything.py: Add basic tests for GVariant
29337 https://bugzilla.gnome.org/show_bug.cgi?id=619501
29339 gi/Makefile.am | 2 +
29340 gi/pygi-argument.c | 2 +-
29341 gi/pygi-foreign-cairo.c | 16 +++----
29342 gi/pygi-foreign.c | 107
29343 +++++++++++++++++++++++++++++------------------
29344 gi/pygi-foreign.h | 7 ++--
29345 gi/pygi-invoke.c | 18 ++++----
29346 gi/pygi-struct.c | 10 ++++-
29348 tests/test_everything.py | 8 ++++
29349 9 files changed, 110 insertions(+), 69 deletions(-)
29351 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
29352 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29353 Date: Mon Jul 12 11:19:06 2010 +0200
29355 Add HACKING to MANIFEST.in
29358 1 file changed, 1 insertion(+), 1 deletion(-)
29360 commit 40bf08ff001b119c7daf709197005ef6480216c5
29361 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29362 Date: Mon Jul 12 11:18:04 2010 +0200
29364 Add HACKING file with instructions for releasing
29366 HACKING | 14 ++++++++++++++
29367 1 file changed, 14 insertions(+)
29369 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
29370 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29371 Date: Mon Jul 12 11:09:58 2010 +0200
29373 Post release version bump to 2.21.6
29375 configure.ac | 2 +-
29376 1 file changed, 1 insertion(+), 1 deletion(-)
29378 commit 42a5a0897b38156ae010c396ea254abf502f35de
29379 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29380 Date: Mon Jul 12 11:00:29 2010 +0200
29382 Update NEWS and release PyGObject-2.21.5
29384 NEWS | 17 +++++++++++++++++
29385 1 file changed, 17 insertions(+)
29387 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
29388 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29389 Date: Mon Jul 12 11:00:20 2010 +0200
29391 Pre-release version bump to 2.21.5
29393 configure.ac | 2 +-
29394 1 file changed, 1 insertion(+), 1 deletion(-)
29396 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
29397 Author: Florian Müllner <florian.muellner@gmail.com>
29398 Date: Sat Jul 10 22:35:13 2010 +0200
29400 Shut up some compiler warnings
29402 Remove unused variables, make sure variables are properly initialized.
29404 https://bugzilla.gnome.org/show_bug.cgi?id=624066
29406 gi/pygi-callbacks.c | 1 -
29407 gi/pygi-closure.c | 2 +-
29408 gi/pygi-invoke.c | 1 -
29409 3 files changed, 1 insertion(+), 3 deletions(-)
29411 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
29412 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
29413 Date: Mon Jul 12 10:31:42 2010 +0200
29415 Adjust to API break in GObject-Introspection
29417 As of commit 5cb925b20, many type_tags for standard C types have
29418 been removed - namely machine-dependent integer types and derived
29419 types (size_t, time_t).
29421 Most removals are just synonyms of other types, so their removal
29422 should not have too much impact, with the exception of time_t,
29423 which was translated to a native datetime object before.
29425 Also remove time_t tests (Tomeu Vizoso).
29427 https://bugzilla.gnome.org/show_bug.cgi?id=624065
29429 configure.ac | 2 +-
29430 gi/importer.py | 7 +--
29431 gi/pygi-argument.c | 146
29432 -----------------------------------------------------
29433 gi/pygi-closure.c | 10 ----
29434 gi/pygi-info.c | 37 --------------
29435 tests/test_gi.py | 21 --------
29436 6 files changed, 5 insertions(+), 218 deletions(-)
29438 commit 27a417c71f8c122e46c7472663bb25c17413f103
29439 Author: John (J5) Palmieri <johnp@redhat.com>
29440 Date: Thu Jul 8 16:01:25 2010 -0400
29442 pass in the demo app so demos can use utility methods like requesting
29445 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
29446 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
29447 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
29448 demos/gtk-demo/demos/assistant.py | 2 +-
29449 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
29450 demos/gtk-demo/demos/button_box.py | 2 +-
29451 demos/gtk-demo/demos/clipboard.py | 8 +-------
29452 demos/gtk-demo/demos/colorselector.py | 2 +-
29453 demos/gtk-demo/demos/combobox.py | 8 +++++---
29454 demos/gtk-demo/demos/drawingarea.py | 2 +-
29455 demos/gtk-demo/demos/test.py | 2 +-
29456 demos/gtk-demo/gtk-demo.py | 6 +++---
29457 12 files changed, 37 insertions(+), 26 deletions(-)
29459 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
29460 Author: John (J5) Palmieri <johnp@redhat.com>
29461 Date: Thu Jul 8 15:38:07 2010 -0400
29463 demo fixes to keep up with Gtk+
29465 * treeiter changes to reflect caller-allocate annotations
29466 * fix some flag handling
29467 * use get_indicies_with_depth instead of get_indices for paths
29469 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
29470 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
29471 demos/gtk-demo/gtk-demo.py | 13 +++++--------
29472 3 files changed, 24 insertions(+), 23 deletions(-)
29474 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
29475 Author: John (J5) Palmieri <johnp@redhat.com>
29476 Date: Thu Jul 8 12:54:43 2010 -0400
29478 override test fixes for new GTK+ annotations
29480 tests/test_overrides.py | 23 +++++++++++++----------
29481 1 file changed, 13 insertions(+), 10 deletions(-)
29483 commit 7a400f8139b70ddfe7c949035e0851689951c647
29484 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29485 Date: Thu Jul 8 12:42:25 2010 +0200
29489 gi/pygi-argument.c | 4 ++--
29490 1 file changed, 2 insertions(+), 2 deletions(-)
29492 commit 39fd0a85a3de06b1b877d1125f91036409886373
29493 Author: John (J5) Palmieri <johnp@redhat.com>
29494 Date: Wed Jul 7 15:48:36 2010 -0400
29496 fix up treeiter usage due to caller-allocates annotations in gtk+
29498 * we still don't pass tests because the caller-allocates code path
29500 handle the case where the parameter is followed by a regular
29503 gi/overrides/Gtk.py | 7 +++----
29504 tests/test_overrides.py | 21 +++++++++++----------
29505 2 files changed, 14 insertions(+), 14 deletions(-)
29507 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
29508 Author: John (J5) Palmieri <johnp@redhat.com>
29509 Date: Tue Jul 6 17:50:10 2010 -0400
29511 add entry completion demo
29513 demos/gtk-demo/demos/Entry/entry_completion.py | 87
29514 ++++++++++++++++++++++++++
29515 1 file changed, 87 insertions(+)
29517 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
29518 Author: John (J5) Palmieri <johnp@redhat.com>
29519 Date: Tue Jul 6 17:49:18 2010 -0400
29523 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
29524 1 file changed, 2 insertions(+), 2 deletions(-)
29526 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
29527 Author: John (J5) Palmieri <johnp@redhat.com>
29528 Date: Tue Jul 6 17:27:04 2010 -0400
29530 add the Entry demo directory and the entry_buffer demo
29532 demos/gtk-demo/demos/Entry/__init__.py | 0
29533 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
29534 ++++++++++++++++++++++++++++++
29535 2 files changed, 73 insertions(+)
29537 commit f2b1d222120f055bec9339cca55c9cc90f538c00
29538 Author: John (J5) Palmieri <johnp@redhat.com>
29539 Date: Tue Jul 6 17:26:03 2010 -0400
29541 fix loading of demo modules to support sub modules
29543 demos/gtk-demo/gtk-demo.py | 9 +++++++--
29544 1 file changed, 7 insertions(+), 2 deletions(-)
29546 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
29547 Author: John (J5) Palmieri <johnp@redhat.com>
29548 Date: Tue Jul 6 15:56:34 2010 -0400
29550 add the ability to have demos in sub catagories
29552 demos/gtk-demo/gtk-demo.py | 76
29553 ++++++++++++++++++++++++++++++++--------------
29554 1 file changed, 54 insertions(+), 22 deletions(-)
29556 commit dc2249a3ecf339008351316217191d0551ccc588
29557 Author: Jose Aliste <jaliste@src.gnome.org>
29558 Date: Mon Jul 5 14:36:59 2010 -0400
29560 Add __name__ to DynamicModule class.
29565 1 file changed, 1 insertion(+)
29567 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
29568 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29569 Date: Mon Jul 5 16:11:07 2010 +0200
29571 Do not override GdkRectangle.
29573 This class was lately removed from gtk+ 3, so there is no need
29577 gi/overrides/Gdk.py | 19 -------------------
29578 1 file changed, 19 deletions(-)
29580 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
29581 Author: Philip Withnall <philip.withnall@collabora.co.uk>
29582 Date: Tue Jun 29 16:37:36 2010 +0100
29584 Add override for TreeModel implementing __len__()
29588 gi/overrides/Gtk.py | 11 +++++++++--
29589 tests/test_overrides.py | 5 +++++
29590 2 files changed, 14 insertions(+), 2 deletions(-)
29592 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
29593 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29594 Date: Tue Jun 29 11:27:13 2010 +0200
29596 Update NEWS and release PyGObject-2.21.4
29598 NEWS | 27 +++++++++++++++++++++++++--
29599 1 file changed, 25 insertions(+), 2 deletions(-)
29601 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
29602 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29603 Date: Tue Jun 29 10:55:03 2010 +0200
29605 Remove files from the makefiles
29607 gi/Makefile.am | 4 +---
29608 gobject/Makefile.am | 3 +--
29609 2 files changed, 2 insertions(+), 5 deletions(-)
29611 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
29612 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29613 Date: Tue Jun 29 10:27:39 2010 +0200
29615 Build the cairo shim as a python module so the _gi module stops
29618 https://bugzilla.gnome.org/show_bug.cgi?id=623021
29621 gi/Makefile.am | 38 ++++++++++-----
29622 gi/gimodule.c | 8 +---
29623 gi/pygi-argument.c | 10 +---
29624 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
29625 gi/pygi-foreign-cairo.h | 55 ---------------------
29626 gi/pygi-foreign.c | 125
29627 ++++++++++++++++++++++++++++--------------------
29628 gi/pygi-foreign.h | 31 ++++++------
29629 gi/pygi.h | 40 ++++++++++++++--
29630 9 files changed, 196 insertions(+), 169 deletions(-)
29632 commit a6a90551311bc64f037cbd442e13f70c30060871
29633 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29634 Date: Mon Jun 28 14:20:43 2010 +0200
29636 Remove pygi-external.h
29638 https://bugzilla.gnome.org/show_bug.cgi?id=623021
29640 gi/gimodule.c | 8 +++---
29641 gi/pygi-type.c | 4 +--
29642 gi/pygi-type.h | 2 +-
29643 gi/pygi.h | 54 ++++++++++++++++-----------------------
29644 gobject/Makefile.am | 6 +++++
29645 gobject/pygboxed.c | 2 +-
29646 gobject/pygenum.c | 2 +-
29647 gobject/pygflags.c | 2 +-
29648 gobject/pygi-external.h | 67
29649 -------------------------------------------------
29650 gobject/pygobject.c | 2 +-
29651 gobject/pygpointer.c | 2 +-
29652 11 files changed, 40 insertions(+), 111 deletions(-)
29654 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
29655 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29656 Date: Fri Jun 25 13:54:57 2010 +0200
29658 Revert "correctly handle floating objects in gtk"
29660 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
29665 tests/test_everything.py
29667 gi/gimodule.c | 13 -------------
29668 tests/test_everything.py | 3 ++-
29669 2 files changed, 2 insertions(+), 14 deletions(-)
29671 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
29672 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29673 Date: Fri Jun 25 13:49:04 2010 +0200
29675 Make valgrind happy again
29677 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
29678 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
29680 gi/pygi-argument.c | 1 +
29681 gi/pygi-info.c | 2 ++
29682 gi/pygi-invoke.c | 8 ++++++--
29683 3 files changed, 9 insertions(+), 2 deletions(-)
29685 commit 63afe55906c8637e913783e65b82b540b81bed65
29686 Author: John (J5) Palmieri <johnp@redhat.com>
29687 Date: Thu Jun 24 16:13:37 2010 -0400
29689 add drawing area demo
29691 demos/gtk-demo/demos/drawingarea.py | 249
29692 ++++++++++++++++++++++++++++++++++++
29693 1 file changed, 249 insertions(+)
29695 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
29696 Author: John (J5) Palmieri <johnp@redhat.com>
29697 Date: Thu Jun 24 14:11:00 2010 -0400
29701 demos/gtk-demo/gtk-demo.py | 2 ++
29702 1 file changed, 2 insertions(+)
29704 commit b9da82742701ed276b01dee39626cd71cbef8556
29705 Author: John (J5) Palmieri <johnp@redhat.com>
29706 Date: Thu Jun 24 13:56:18 2010 -0400
29708 rename iter to treeiter so we aren't using a python reserved word
29710 demos/gtk-demo/gtk-demo.py | 12 ++++++------
29711 1 file changed, 6 insertions(+), 6 deletions(-)
29713 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
29714 Author: John (J5) Palmieri <johnp@redhat.com>
29715 Date: Thu Jun 24 13:47:54 2010 -0400
29717 Fixup for change in buffer API
29719 * Part of buffer API dealing with TextIter now marked (out
29722 demos/gtk-demo/gtk-demo.py | 10 ++++------
29723 1 file changed, 4 insertions(+), 6 deletions(-)
29725 commit 8d9516a593a515290109401a9db7aa259b5aa35c
29726 Author: John (J5) Palmieri <johnp@redhat.com>
29727 Date: Wed Jun 23 17:04:33 2010 -0400
29729 add ListStore, TreeStore and TreeViewColumn APIs
29731 * this is enough to support the gtk-demo.py shell
29732 * TreeStore and ListStore allow passing in as an argument list
29733 of either python or GLib types to the constructor as a description
29734 of the columns in the model
29735 * TreeStore and ListStore override the append method, allowing
29736 the application developer to send in a list of column values
29737 for one row in the model. Unlike the append in C which
29738 just returns an iter that you can then add data to,
29739 this append actualy appends data in one step
29740 * TreeViewColumn overrides the constructor to allow the adding
29741 of attributes and a cell renderer when constructing the
29744 https://bugzilla.gnome.org/show_bug.cgi?id=620405
29746 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
29747 tests/test_overrides.py | 69
29748 +++++++++++++++++++++++++++++++++++++++++++++++++
29749 2 files changed, 128 insertions(+)
29751 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
29752 Author: Johan Dahlin <johan@gnome.org>
29753 Date: Wed Jun 23 14:34:28 2010 -0300
29755 [gi] Add -I../gobject to cflags
29757 Since we're no longer pulling in pygobject cflags,
29758 add this to be able to include pygobject.h
29760 gi/Makefile.am | 3 +++
29761 1 file changed, 3 insertions(+)
29763 commit 53a093198851e3ba5abd1f6c3314737decd401d8
29764 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29765 Date: Wed Jun 23 18:09:19 2010 +0200
29767 Add unit test for add_actions user data.
29769 tests/test_overrides.py | 20 +++++++++++++++-----
29770 1 file changed, 15 insertions(+), 5 deletions(-)
29772 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
29773 Author: Paolo Borelli <pborelli@gnome.org>
29774 Date: Wed Jun 23 18:06:46 2010 +0200
29776 Pass user_data param when adding actions
29778 gi/overrides/Gtk.py | 12 ++++++------
29779 1 file changed, 6 insertions(+), 6 deletions(-)
29781 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
29782 Author: John (J5) Palmieri <johnp@redhat.com>
29783 Date: Wed Jun 23 12:02:04 2010 -0400
29785 add an exception type to the try/except block
29787 * we should always specify what exception types we are expecting
29789 gi/overrides/Gtk.py | 6 +++---
29790 1 file changed, 3 insertions(+), 3 deletions(-)
29792 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
29793 Author: Johan Dahlin <johan@gnome.org>
29794 Date: Wed Jun 23 12:31:51 2010 -0300
29796 Avoid duplicating required versions
29798 Avoid duplicating the version of all required packages.
29799 Also remove cyclic dependency of pygobject
29801 https://bugzilla.gnome.org/show_bug.cgi?id=622503
29803 configure.ac | 9 +++++----
29804 1 file changed, 5 insertions(+), 4 deletions(-)
29806 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
29807 Author: John (J5) Palmieri <johnp@redhat.com>
29808 Date: Tue Jun 22 15:03:08 2010 -0400
29810 return PyList instead of PyTuple for array, return empty list for
29813 * returns an empty list when a NULL array (empty array) is encountered
29814 * fix tests to check for lists instead of tuples or None
29815 * test the ability to send in both None and empty list for arrays
29818 gi/pygi-argument.c | 7 ++--
29819 tests/test_everything.py | 5 ++-
29820 tests/test_gi.py | 84
29821 ++++++++++++++++++++++++------------------------
29822 3 files changed, 49 insertions(+), 47 deletions(-)
29824 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
29825 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29826 Date: Wed Jun 23 15:42:29 2010 +0200
29828 Fix 'make distcheck'
29830 * Makefile.am: put the tests dir to the end
29831 * g*/Makefile.am: build the .so when running make check
29832 * tests/Makefile.am: Don't pass the src dir to runtests.py and
29833 remove (hopefully) unneeded cruft.
29834 * tests/common.py: Don't add the src dir to the python path
29835 * tests/runtests.py: Don't pass the src dir to common.py
29837 Makefile.am | 4 +++-
29838 gi/Makefile.am | 1 +
29839 gio/Makefile.am | 1 +
29840 glib/Makefile.am | 2 +-
29841 gobject/Makefile.am | 1 +
29842 tests/Makefile.am | 17 ++---------------
29843 tests/common.py | 3 +--
29844 tests/runtests.py | 12 +++++-------
29845 8 files changed, 15 insertions(+), 26 deletions(-)
29847 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
29848 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29849 Date: Wed Jun 23 13:59:14 2010 +0200
29851 Allow building pygobject without introspection support by providing
29852 --disable-introspection to configure.
29854 Makefile.am | 6 +++++-
29855 configure.ac | 15 ++++++++-------
29856 gobject/pygi-external.h | 4 ++--
29857 tests/Makefile.am | 8 ++++++--
29858 tests/runtests.py | 21 +++++++--------------
29859 5 files changed, 28 insertions(+), 26 deletions(-)
29861 commit cc3ea77318ee572673d2a044deca9001366b0f08
29862 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29863 Date: Wed Jun 23 12:26:51 2010 +0200
29865 Make sure that sys.argv is a list and not a sequence.
29867 Because Python's optparse will try to do things on it that can
29868 only be done with list.
29870 gi/overrides/Gtk.py | 2 +-
29871 1 file changed, 1 insertion(+), 1 deletion(-)
29873 commit 3d72b8248cc534a689dee5679a729b2fba56c528
29874 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29875 Date: Wed Jun 23 12:26:02 2010 +0200
29877 Force loading the GObject typelib so we have available the wrappers
29878 for base classes such as GInitiallyUnowned.
29880 gi/__init__.py | 3 +++
29881 1 file changed, 3 insertions(+)
29883 commit c7c94ef349c30597f2f10d90f74718d678ec7add
29884 Author: John (J5) Palmieri <johnp@redhat.com>
29885 Date: Tue Jun 22 14:45:48 2010 -0400
29887 we shouldn't g_array_free NULL pointers
29889 https://bugzilla.gnome.org/show_bug.cgi?id=622425
29891 gi/pygi-info.c | 5 +++--
29892 1 file changed, 3 insertions(+), 2 deletions(-)
29894 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
29895 Merge: acf7b43 5f9cb91
29896 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29897 Date: Wed Jun 23 12:53:05 2010 +0200
29899 Merge branch 'pygi'
29901 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
29902 Author: John (J5) Palmieri <johnp@redhat.com>
29903 Date: Tue Jun 22 15:39:46 2010 -0400
29905 remove unneeded TextIter creation in the tests
29907 tests/test_overrides.py | 3 ---
29908 1 file changed, 3 deletions(-)
29910 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
29911 Author: John (J5) Palmieri <johnp@redhat.com>
29912 Date: Mon Jun 21 11:42:12 2010 -0400
29914 add override for TextBuffer
29916 * TextBuffer.create_tag takes vargs which we can't bind yet so
29918 to except a keyword list of properties
29919 * override the insert* methods so the developer does not have to
29921 - lengths are already encapsulated by a string in Python
29923 https://bugzilla.gnome.org/show_bug.cgi?id=620583
29925 gi/overrides/Gtk.py | 51
29926 +++++++++++++++++++++++++++++++++++++++++++++++++
29927 tests/test_overrides.py | 25 ++++++++++++++++++++++++
29928 2 files changed, 76 insertions(+)
29930 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
29931 Author: John (J5) Palmieri <johnp@redhat.com>
29932 Date: Tue Jun 22 12:46:39 2010 -0400
29934 fix up some build issues
29936 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
29938 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
29939 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
29941 make check.gdb work
29943 configure.ac | 2 +-
29944 tests/Makefile.am | 2 +-
29945 2 files changed, 2 insertions(+), 2 deletions(-)
29947 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
29948 Author: John (J5) Palmieri <johnp@redhat.com>
29949 Date: Tue Jun 22 11:50:30 2010 -0400
29951 make the overrides file git friendly by appending to __all__ after
29954 * modifying the __all__ line for each override would confuse git as
29955 each override needs to get seperate approval before comitting.
29957 this commits would not always go in in the same order as they
29959 Also different people working on the same file would start from
29961 commit states. This caused conflicts when patches were merged.
29962 * instead of modifying a single hard coded list we now append to
29964 after each override. This creates distinct blocks of changed text
29965 which will not conflict
29967 gi/overrides/GIMarshallingTests.py | 10 ++++------
29968 gi/overrides/Gdk.py | 8 ++++----
29969 gi/overrides/Gtk.py | 7 +++++--
29970 3 files changed, 13 insertions(+), 12 deletions(-)
29972 commit 49321b934603e1ec69fb04082c63902970907d2b
29973 Author: Paolo Borelli <pborelli@gnome.org>
29974 Date: Sun Jun 20 13:27:34 2010 +0200
29976 Override Dialog constructor and add_buttons method
29978 gi/overrides/Gtk.py | 46
29979 +++++++++++++++++++++++++++++++++++++++++++++-
29980 tests/test_overrides.py | 16 ++++++++++++++++
29981 2 files changed, 61 insertions(+), 1 deletion(-)
29983 commit acf7b43a41ce814f0c57ce609a090826f04771db
29984 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29985 Date: Mon Jun 21 18:17:38 2010 +0200
29987 Post release version bump to 2.21.4
29989 configure.ac | 2 +-
29990 1 file changed, 1 insertion(+), 1 deletion(-)
29992 commit a7fa8b80406227a06cf18f8675dbc1f471283829
29993 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29994 Date: Mon Jun 21 18:10:32 2010 +0200
29996 Update NEWS and release PyGObject-2.21.3
29999 1 file changed, 7 insertions(+)
30001 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
30002 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
30003 Date: Tue Jul 21 16:28:34 2009 +0200
30005 Proper handling of null-ok in virtual methods
30007 https://bugzilla.gnome.org/show_bug.cgi?id=589253
30009 codegen/codegen.py | 2 ++
30010 codegen/reversewrapper.py | 18 +++++++++++++++---
30011 2 files changed, 17 insertions(+), 3 deletions(-)
30013 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
30014 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30015 Date: Mon Jun 21 17:34:54 2010 +0200
30017 Add *~ and *.orig to .gitignore
30019 .gitignore | 5 ++++-
30020 1 file changed, 4 insertions(+), 1 deletion(-)
30022 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
30023 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30024 Date: Mon Jun 21 17:33:56 2010 +0200
30026 Fall back to use the floating references API in glib if there isn't
30027 a sinkfunc defined.
30029 * tests/*: Add ref counting tests for floating objects
30030 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
30032 or g_object_ref if there isn't a sinkfunc defined. Make sure that
30033 pygobject_sink gets called only once per GObject instance.
30035 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30037 gobject/gobjectmodule.c | 2 -
30038 gobject/pygobject.c | 50 +++++++++++++---------
30039 gobject/pygobject.h | 1 +
30040 tests/Makefile.am | 2 +
30041 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
30042 tests/test-floating.h | 60 ++++++++++++++++++++++++++
30043 tests/test_gobject.py | 19 ++++++++-
30044 tests/testhelpermodule.c | 109
30045 +++++++++++++++++++++++++++++++++++++++++++++++
30046 8 files changed, 315 insertions(+), 23 deletions(-)
30048 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
30049 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30050 Date: Mon Jun 21 13:06:13 2010 +0200
30052 Revert "Drop sinkfuncs."
30054 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
30056 gobject/gobjectmodule.c | 3 ++-
30057 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
30058 gobject/pygobject.h | 1 -
30059 3 files changed, 36 insertions(+), 10 deletions(-)
30061 commit b2661054d6bde673484eab472e69ca021124528d
30062 Author: Johan Dahlin <johan@gnome.org>
30063 Date: Sun Jun 20 11:09:57 2010 -0300
30067 For reasons outlined at:
30068 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
30070 Makefile.am | 14 +-
30071 configure.ac | 29 +-
30072 demos/gtk-demo/demos/__init__.py | 0
30073 demos/gtk-demo/demos/appwindow.py | 411 +++++
30074 demos/gtk-demo/demos/assistant.py | 134 ++
30075 demos/gtk-demo/demos/builder.py | 57 +
30076 demos/gtk-demo/demos/button_box.py | 121 ++
30077 demos/gtk-demo/demos/clipboard.py | 238 +++
30078 demos/gtk-demo/demos/colorselector.py | 121 ++
30079 demos/gtk-demo/demos/combobox.py | 282 ++++
30080 demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
30082 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
30083 demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
30085 demos/gtk-demo/demos/data/demo.ui | 258 ++++
30086 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
30087 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
30088 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
30089 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
30090 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
30091 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
30092 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
30093 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
30094 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
30095 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
30096 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
30097 demos/gtk-demo/demos/test.py | 14 +
30098 demos/gtk-demo/gtk-demo.py | 266 ++++
30099 examples/Makefile.am | 2 +-
30100 examples/cairo-demo.py | 121 ++
30101 gi/Makefile.am | 4 +-
30102 gi/demos/gtk-demo/demos/__init__.py | 0
30103 gi/demos/gtk-demo/demos/appwindow.py | 411 -----
30104 gi/demos/gtk-demo/demos/assistant.py | 134 --
30105 gi/demos/gtk-demo/demos/builder.py | 57 -
30106 gi/demos/gtk-demo/demos/button_box.py | 121 --
30107 gi/demos/gtk-demo/demos/clipboard.py | 238 ---
30108 gi/demos/gtk-demo/demos/colorselector.py | 121 --
30109 gi/demos/gtk-demo/demos/combobox.py | 282 ----
30110 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
30112 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
30113 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
30115 gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
30116 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
30117 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
30118 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
30119 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
30120 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
30121 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
30122 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
30123 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
30124 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
30125 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
30126 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
30127 gi/demos/gtk-demo/demos/test.py | 14 -
30128 gi/demos/gtk-demo/gtk-demo.py | 266 ----
30129 gi/examples/Makefile.am | 2 -
30130 gi/examples/cairo-demo.py | 121 --
30131 gi/tests/test_everything.py | 270 ----
30132 gi/tests/test_gi.py | 1624
30133 --------------------
30134 gi/tests/test_overrides.py | 132 --
30135 pygi-Makefile.am | 28 -
30136 pygi-configure.ac | 60 -
30138 pygobject.doap | 16 +-
30139 tests/Makefile.am | 23 +-
30140 tests/test_everything.py | 270 ++++
30141 tests/test_gi.py | 1624
30142 ++++++++++++++++++++
30143 tests/test_overrides.py | 132 ++
30144 68 files changed, 4124 insertions(+), 4186 deletions(-)
30146 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
30147 Merge: ec8d148 fa91dfd
30148 Author: Johan Dahlin <johan@gnome.org>
30149 Date: Sun Jun 20 10:53:46 2010 -0300
30151 Merge branch 'pygi-merge'
30153 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
30154 Author: Johan Dahlin <johan@gnome.org>
30155 Date: Sun Jun 20 10:53:36 2010 -0300
30162 autogen.sh | 166 --
30163 configure.ac | 60 -
30164 demos/gtk-demo/demos/__init__.py | 0
30165 demos/gtk-demo/demos/appwindow.py | 411 -----
30166 demos/gtk-demo/demos/assistant.py | 134 --
30167 demos/gtk-demo/demos/builder.py | 57 -
30168 demos/gtk-demo/demos/button_box.py | 121 --
30169 demos/gtk-demo/demos/clipboard.py | 238 ---
30170 demos/gtk-demo/demos/colorselector.py | 121 --
30171 demos/gtk-demo/demos/combobox.py | 282 ----
30172 demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
30174 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
30175 demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
30177 demos/gtk-demo/demos/data/demo.ui | 258 ----
30178 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
30179 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
30180 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
30181 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
30182 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
30183 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
30184 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
30185 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
30186 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
30187 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
30188 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
30189 demos/gtk-demo/demos/test.py | 14 -
30190 demos/gtk-demo/gtk-demo.py | 266 ----
30191 examples/Makefile.am | 2 -
30192 examples/cairo-demo.py | 121 --
30193 gi/.gitignore | 40 +
30195 gi/demos/gtk-demo/demos/__init__.py | 0
30196 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
30197 gi/demos/gtk-demo/demos/assistant.py | 134 ++
30198 gi/demos/gtk-demo/demos/builder.py | 57 +
30199 gi/demos/gtk-demo/demos/button_box.py | 121 ++
30200 gi/demos/gtk-demo/demos/clipboard.py | 238 +++
30201 gi/demos/gtk-demo/demos/colorselector.py | 121 ++
30202 gi/demos/gtk-demo/demos/combobox.py | 282 ++++
30203 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
30205 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
30206 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
30208 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
30209 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
30210 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
30211 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
30212 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
30213 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
30214 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
30215 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
30216 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
30217 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
30218 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
30219 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
30220 gi/demos/gtk-demo/demos/test.py | 14 +
30221 gi/demos/gtk-demo/gtk-demo.py | 266 ++++
30222 gi/examples/Makefile.am | 2 +
30223 gi/examples/cairo-demo.py | 121 ++
30224 gi/tests/Makefile.am | 22 +
30225 gi/tests/runtests.py | 21 +
30226 gi/tests/test_everything.py | 270 ++++
30227 gi/tests/test_gi.py | 1624
30228 ++++++++++++++++++++
30229 gi/tests/test_overrides.py | 132 ++
30230 pygi-Makefile.am | 28 +
30231 pygi-configure.ac | 60 +
30232 tests/Makefile.am | 22 -
30233 tests/runtests.py | 21 -
30234 tests/test_everything.py | 270 ----
30235 tests/test_gi.py | 1624
30236 --------------------
30237 tests/test_overrides.py | 132 --
30238 73 files changed, 4248 insertions(+), 4414 deletions(-)
30240 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
30241 Author: Johan Dahlin <johan@gnome.org>
30242 Date: Sun Jun 20 10:49:55 2010 -0300
30244 [giounix] Make it possible to compile on glib 2.20
30246 gio/unix.override | 2 ++
30247 1 file changed, 2 insertions(+)
30249 commit 606018a2c551d890fc2bb987d99683f777598bda
30250 Author: John (J5) Palmieri <johnp@redhat.com>
30251 Date: Mon Jun 7 16:32:29 2010 -0400
30253 Don't free transfer full struct pointers because we can't do it safely
30255 * Most libraries which are sending back structs as transfer-full
30256 are either annotated incorrectly or should be sending boxed types
30257 * It is much better to throw a warning and leak memory than it is to
30258 call free on an unknown struct pointer. Doing so may cause
30260 * Specific case is gdk_atom_intern where a GdkAtom is not actually
30262 but an integer stuffed into a pointer type
30264 https://bugzilla.gnome.org/show_bug.cgi?id=620898
30266 gi/pygi-argument.c | 9 ++++++++-
30267 gi/pygi-invoke.c | 11 +++++++++--
30268 2 files changed, 17 insertions(+), 3 deletions(-)
30270 commit 433ee2aa029a1482961f478252a06492bd3498e6
30271 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
30272 Date: Tue Jun 15 11:42:28 2010 +0200
30274 Release the lock when potentially invoking Python code.
30276 * gobject/pygobject.c: Release GIL lock when retrieving properties
30277 and when clearing a PyGObject.
30279 https://bugzilla.gnome.org/show_bug.cgi?id=530935
30281 gobject/pygobject.c | 11 ++++++++++-
30282 1 file changed, 10 insertions(+), 1 deletion(-)
30284 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
30285 Author: John (J5) Palmieri <johnp@redhat.com>
30286 Date: Mon Jun 14 18:36:57 2010 -0400
30288 add combobox example
30290 demos/gtk-demo/demos/combobox.py | 282
30291 +++++++++++++++++++++++++++++++++++++++
30292 1 file changed, 282 insertions(+)
30294 commit a8668694da59c2dd959c875f13337e64ca22f7e9
30295 Author: John (J5) Palmieri <johnp@redhat.com>
30296 Date: Mon Jun 14 13:43:53 2010 -0400
30298 fix leak in the allow None callbacks patch
30300 gi/pygi-callbacks.c | 4 ++--
30301 1 file changed, 2 insertions(+), 2 deletions(-)
30303 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
30304 Author: John (J5) Palmieri <johnp@redhat.com>
30305 Date: Mon Jun 7 17:12:09 2010 -0400
30307 Allow passing None for callbacks which are annotated allow-none
30309 * Many callbacks are optional parameters yet we were asserting on
30311 * We now check to see if allow_none is set when setting up callbacks,
30312 if it is set and py_function == Py_None, we set the closure to NULL
30314 * pygi-invoke.c now checks to see if the closure == NULL when setting
30316 * if it is NULL there is no reason to set the the destroy notify
30318 so we skip that too
30320 https://bugzilla.gnome.org/show_bug.cgi?id=620906
30322 gi/pygi-callbacks.c | 7 +++++++
30323 gi/pygi-invoke.c | 14 +++++++++++---
30324 tests/test_everything.py | 4 ++++
30325 3 files changed, 22 insertions(+), 3 deletions(-)
30327 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
30328 Author: Paolo Borelli <pborelli@gnome.org>
30329 Date: Mon Jun 14 19:06:45 2010 +0200
30331 Fix to match latest gtk annotations
30333 demos/gtk-demo/demos/appwindow.py | 3 +--
30334 1 file changed, 1 insertion(+), 2 deletions(-)
30336 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
30337 Author: John (J5) Palmieri <johnp@redhat.com>
30338 Date: Tue Jun 8 15:03:49 2010 -0400
30340 fix variable member names in Gdk.Color override
30342 * override was using r, g, and b for the red, green, blue components
30344 the struct specifies red, green, blue so we need to use those names
30346 https://bugzilla.gnome.org/show_bug.cgi?id=621007
30348 gi/overrides/Gdk.py | 10 +++++-----
30349 tests/test_overrides.py | 6 +++---
30350 2 files changed, 8 insertions(+), 8 deletions(-)
30352 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
30353 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30354 Date: Thu Jun 10 20:23:13 2010 +0200
30356 Post release version bump to 2.21.3
30358 configure.ac | 2 +-
30359 1 file changed, 1 insertion(+), 1 deletion(-)
30361 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
30362 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30363 Date: Thu Jun 10 20:21:13 2010 +0200
30365 Update NEWS and release PyGObject-2.21.2
30367 NEWS | 26 ++++++++++++++++++++++++++
30368 1 file changed, 26 insertions(+)
30370 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
30371 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30372 Date: Thu Jun 10 20:09:07 2010 +0200
30374 Remove deleted files from the Makefile.
30381 tests/Makefile.am | 4 ----
30382 1 file changed, 4 deletions(-)
30384 commit 495a301cb81c5e914bcef905999265604faa27fc
30385 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30386 Date: Thu Jun 10 19:39:09 2010 +0200
30388 Add myself to the maintainers list in the README
30391 1 file changed, 1 insertion(+)
30393 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
30394 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30395 Date: Thu Jun 10 19:24:31 2010 +0200
30399 * use g_object methods to sink floating refs instead of allowing
30400 custom sink functions to be registered
30401 * we now sink inside of pygobject_new_full to handle cases where
30402 a library creates its own gobject via g_object_new and just
30403 needs a python wrapper
30404 - a previous patch had done the sink when creating the gobject,
30405 since it needs to call pygobject_new_full to wrap the object,
30406 this patch handles both cases (e.g. pygobject created object
30407 and externally created gobject)
30409 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30411 gobject/gobjectmodule.c | 3 +--
30412 gobject/pygobject.c | 42 ++++++++----------------------------------
30413 gobject/pygobject.h | 1 +
30414 3 files changed, 10 insertions(+), 36 deletions(-)
30416 commit 07df124dc06cf506634e95d08397f50a2d07fce2
30417 Author: Steve Frécinaux <code@istique.net>
30418 Date: Mon Jun 7 09:47:23 2010 +0200
30420 Make the "wrong argument count" exception more explicit.
30422 Previously we had messages like this one:
30423 TypeError: takes exactly 2 argument(s) (1 given)
30425 With this patch, they become like this:
30426 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
30428 It makes things much easier to debug when there are several pygi calls
30431 https://bugzilla.gnome.org/show_bug.cgi?id=620804
30433 gi/pygi-invoke.c | 3 ++-
30434 tests/test_everything.py | 6 ++++++
30435 2 files changed, 8 insertions(+), 1 deletion(-)
30437 commit b435319fe830a909cc4d414533b3b66574931e24
30438 Author: Steve Frécinaux <code@istique.net>
30439 Date: Mon Jun 7 09:54:06 2010 +0200
30441 Use bash explicitely in the pre-commit hook.
30443 The "builtin" command is not available in all sh flavours, so the
30444 pre-commit hook is going to fail if you use dash or others instead of
30445 bash as your default 'sh' alias.
30447 https://bugzilla.gnome.org/show_bug.cgi?id=620805
30449 pre-commit.hook | 2 +-
30450 1 file changed, 1 insertion(+), 1 deletion(-)
30452 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
30453 Author: John (J5) Palmieri <johnp@redhat.com>
30454 Date: Tue Jun 8 16:55:26 2010 -0400
30458 demos/gtk-demo/demos/colorselector.py | 121
30459 ++++++++++++++++++++++++++++++++++
30460 1 file changed, 121 insertions(+)
30462 commit ec598128de9e90dccab662ed2f5511c8d659e156
30463 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30464 Date: Tue Jun 8 15:48:33 2010 +0200
30466 Update PyGObject dependency to 2.21.1
30468 configure.ac | 2 +-
30469 1 file changed, 1 insertion(+), 1 deletion(-)
30471 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
30472 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30473 Date: Tue Jun 8 10:40:39 2010 +0200
30475 Add myself to maintainers
30477 MAINTAINERS | 4 ++++
30478 pygobject.doap | 7 +++++++
30479 2 files changed, 11 insertions(+)
30481 commit 46c91a11d448e5e11d142d3362aff1483226bca4
30482 Author: Colin Walters <walters@verbum.org>
30483 Date: Wed May 5 13:54:27 2010 -0400
30485 Clear error if we failed the import
30487 Otherwise we leave the exception set which causes bizarre problems
30488 later in unrelated code.
30490 https://bugzilla.redhat.com/show_bug.cgi?id=569885
30492 https://bugzilla.gnome.org/show_bug.cgi?id=617796
30494 gobject/pygi-external.h | 2 ++
30495 1 file changed, 2 insertions(+)
30497 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
30498 Author: John (J5) Palmieri <johnp@redhat.com>
30499 Date: Mon Jun 7 17:19:30 2010 -0400
30501 fix some typos and add a link to a patch which fixes a FIXME
30503 demos/gtk-demo/demos/clipboard.py | 7 +++++--
30504 1 file changed, 5 insertions(+), 2 deletions(-)
30506 commit e7fabb5024d94a3166766e5fca740741bc50380a
30507 Author: John (J5) Palmieri <johnp@redhat.com>
30508 Date: Mon Jun 7 16:21:42 2010 -0400
30512 demos/gtk-demo/demos/clipboard.py | 235
30513 ++++++++++++++++++++++++++++++++++++++
30514 1 file changed, 235 insertions(+)
30516 commit e0f1dce5ec58d071759f886697501da6eeea549d
30517 Author: John (J5) Palmieri <johnp@redhat.com>
30518 Date: Sun Jun 6 13:27:46 2010 -0400
30520 set is_fully_bound to false
30522 demos/gtk-demo/demos/button_box.py | 2 +-
30523 1 file changed, 1 insertion(+), 1 deletion(-)
30525 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
30526 Author: John (J5) Palmieri <johnp@redhat.com>
30527 Date: Sat Jun 5 23:53:36 2010 -0400
30529 new button box demo
30531 demos/gtk-demo/demos/button_box.py | 121
30532 +++++++++++++++++++++++++++++++++++++
30533 1 file changed, 121 insertions(+)
30535 commit e9f5f8a829121e59367bae690442150f144946ad
30536 Author: John (J5) Palmieri <johnp@redhat.com>
30537 Date: Sat Jun 5 23:26:03 2010 -0400
30539 set is_fully_bound to True fro builder example
30541 demos/gtk-demo/demos/builder.py | 2 +-
30542 1 file changed, 1 insertion(+), 1 deletion(-)
30544 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
30545 Author: John (J5) Palmieri <johnp@redhat.com>
30546 Date: Sat Jun 5 23:24:36 2010 -0400
30548 fix up formatting in demos
30550 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
30551 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
30552 demos/gtk-demo/demos/builder.py | 2 +-
30553 3 files changed, 21 insertions(+), 21 deletions(-)
30555 commit ffca02536bafb55e8c3bce31cd992365207429f6
30556 Author: John (J5) Palmieri <johnp@redhat.com>
30557 Date: Sat Jun 5 14:54:47 2010 -0400
30559 add the builder demo
30561 demos/gtk-demo/demos/builder.py | 57
30562 +++++++++++++++++++++++++++++++++++++++++
30563 1 file changed, 57 insertions(+)
30565 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
30566 Author: John (J5) Palmieri <johnp@redhat.com>
30567 Date: Fri Jun 4 17:48:24 2010 -0400
30571 demos/gtk-demo/demos/assistant.py | 134
30572 ++++++++++++++++++++++++++++++++++++++
30573 1 file changed, 134 insertions(+)
30575 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
30576 Author: John (J5) Palmieri <johnp@redhat.com>
30577 Date: Fri Jun 4 16:56:46 2010 -0400
30579 add formatting rules and copyright notice
30581 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
30582 1 file changed, 19 insertions(+)
30584 commit 03b99692b81631d397ab62dcd263341465bcee88
30585 Author: John (J5) Palmieri <johnp@redhat.com>
30586 Date: Fri Jun 4 16:26:54 2010 -0400
30588 add the gtk-demo app along with a couple of demos
30590 * note there are still a couple of patches in bugzilla that are
30593 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
30594 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
30596 demos/gtk-demo/demos/__init__.py | 0
30597 demos/gtk-demo/demos/appwindow.py | 393
30598 +++++++++++++++++++++++
30599 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
30600 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
30601 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
30602 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
30603 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
30604 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
30605 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
30606 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
30607 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
30608 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
30609 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
30610 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
30611 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
30612 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
30613 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
30614 demos/gtk-demo/demos/test.py | 14 +
30615 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
30616 19 files changed, 931 insertions(+)
30618 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
30619 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30620 Date: Fri Jun 4 11:25:08 2010 +0200
30622 Update gobject-introspection dependency to 0.6.14
30624 configure.ac | 2 +-
30625 1 file changed, 1 insertion(+), 1 deletion(-)
30627 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
30628 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30629 Date: Fri Jun 4 11:23:41 2010 +0200
30631 Post-release version bump to 0.6.1
30633 configure.ac | 2 +-
30634 1 file changed, 1 insertion(+), 1 deletion(-)
30636 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
30637 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30638 Date: Fri Jun 4 08:29:42 2010 +0200
30640 Pre-release version bump 0.6.0
30642 configure.ac | 2 +-
30643 1 file changed, 1 insertion(+), 1 deletion(-)
30645 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
30646 Author: John (J5) Palmieri <johnp@redhat.com>
30647 Date: Fri May 28 10:03:11 2010 -0400
30649 support for caller-allocates annotations for structs
30651 * out caller-allocates parameters expect an already constructed
30653 to be passed in by reference. It is then modified and the caller
30655 modified value. We support this by using only one level of pointer
30657 * Only structs are considered to be caller-allocates parameters
30659 they are marked as such by GI. This is because the GI scanner
30661 enough to correctly guess 100% of the time
30662 * GValues are a special case of a caller-allocates parameter when
30664 up (e.g. g_value_unset is called). GValues make no sense in
30666 language. Developers should never deal with them.
30668 https://bugzilla.gnome.org/show_bug.cgi?id=620406
30670 gi/pygi-invoke.c | 73
30671 +++++++++++++++++++++++++++++++++++++++++++++---
30672 tests/test_everything.py | 28 +++++++++++++++++++
30673 2 files changed, 97 insertions(+), 4 deletions(-)
30675 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
30676 Author: John (J5) Palmieri <johnp@redhat.com>
30677 Date: Wed Jun 2 14:14:16 2010 -0400
30679 don't import gobject directly in the tests
30681 * use from gi.repository import GObject
30683 tests/test_overrides.py | 5 ++---
30684 1 file changed, 2 insertions(+), 3 deletions(-)
30686 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
30687 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30688 Date: Tue Jun 1 14:28:57 2010 +0200
30690 Wrap C arrays in structs as GArrays before converting to Python
30692 https://bugzilla.gnome.org/show_bug.cgi?id=620247
30694 gi/pygi-info.c | 11 +++++++++++
30695 tests/test_gi.py | 17 +++++++++++++++++
30696 2 files changed, 28 insertions(+)
30698 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
30699 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30700 Date: Wed May 26 13:20:27 2010 +0200
30702 Install pre-commit hook that checks the code changes for style
30705 autogen.sh | 7 +++++++
30706 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
30707 2 files changed, 46 insertions(+)
30709 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
30710 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30711 Date: Wed May 26 12:19:17 2010 +0200
30713 Apply consistent whitespace formatting with:
30715 astyle -p -d -c -S -U -M60
30717 This won't affect git blame nor git diff if the switch -w is used.
30719 gi/gimodule.c | 138 +++----
30720 gi/pygi-argument.c | 960
30721 ++++++++++++++++++++++++------------------------
30722 gi/pygi-boxed.c | 108 +++---
30723 gi/pygi-callbacks.c | 154 ++++----
30724 gi/pygi-callbacks.h | 8 +-
30725 gi/pygi-closure.c | 270 +++++++-------
30726 gi/pygi-closure.h | 18 +-
30727 gi/pygi-foreign-cairo.c | 36 +-
30728 gi/pygi-foreign-cairo.h | 36 +-
30729 gi/pygi-foreign.c | 54 +--
30730 gi/pygi-foreign.h | 10 +-
30731 gi/pygi-info.c | 646 ++++++++++++++++----------------
30732 gi/pygi-invoke.c | 380 +++++++++----------
30733 gi/pygi-repository.c | 114 +++---
30734 gi/pygi-struct.c | 88 ++---
30735 gi/pygi-type.c | 32 +-
30737 gi/pygobject-external.h | 14 +-
30738 18 files changed, 1544 insertions(+), 1542 deletions(-)
30740 commit 6156f15cb15b4c20e975527227135d49207c520a
30741 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30742 Date: Tue May 25 14:08:51 2010 +0200
30744 Prepend gi.repository to the __module__ attribute of wrapper classes.
30746 https://bugzilla.gnome.org/show_bug.cgi?id=619597
30748 gi/module.py | 4 ++--
30749 tests/test_gi.py | 4 +++-
30750 2 files changed, 5 insertions(+), 3 deletions(-)
30752 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
30753 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30754 Date: Tue May 25 14:17:13 2010 +0200
30756 Correctly identify at creation time:
30758 * if the class is defined in python -> hook up vfuncs
30759 * if the class wraps a type from a .typelib -> set atributes
30760 * else (GLocalFile) -> do nothing
30762 https://bugzilla.gnome.org/show_bug.cgi?id=619604
30764 gi/types.py | 15 +++++++++++----
30765 1 file changed, 11 insertions(+), 4 deletions(-)
30767 commit 686e10fcdb108af9758eb025a3447813c3513a93
30768 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30769 Date: Thu Apr 29 10:55:13 2010 +0200
30771 Dont complain if another base has implemented the method
30773 https://bugzilla.gnome.org/show_bug.cgi?id=617153
30775 gi/types.py | 3 ++-
30776 1 file changed, 2 insertions(+), 1 deletion(-)
30778 commit 9f34d120845d936b04546a5cea599ec67e9181a7
30779 Author: John (J5) Palmieri <johnp@redhat.com>
30780 Date: Mon May 24 16:16:50 2010 -0400
30782 fix up Builder override, add new override methods, and add unit tests
30784 * check for flags when connecting signals now that we get gi
30786 * override the add_from_string and add_objects_from string overrides
30788 that you don't have to pass in the length of the buffer
30789 * add test that loads objects from strings and connects them to
30792 gi/overrides/Gtk.py | 19 +++++++++++--
30793 tests/test_overrides.py | 72
30794 ++++++++++++++++++++++++++++++++++++++++++++++---
30795 2 files changed, 86 insertions(+), 5 deletions(-)
30797 commit 1561d2977691f1cb8684f183a2e274c47960d931
30798 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30799 Date: Mon May 24 18:48:10 2010 +0200
30801 Improve handling of subclasses without __gtype_name__
30803 Gives a better message at type registration.
30805 https://bugzilla.gnome.org/show_bug.cgi?id=616849
30807 gi/gimodule.c | 9 +++++++++
30808 tests/test_gi.py | 13 ++++++++++++-
30809 2 files changed, 21 insertions(+), 1 deletion(-)
30811 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
30812 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30813 Date: Fri Apr 30 18:17:50 2010 +0200
30815 Add support for GArray args
30817 https://bugzilla.gnome.org/show_bug.cgi?id=617054
30819 gi/pygi-invoke.c | 11 +++++++----
30820 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
30821 2 files changed, 57 insertions(+), 4 deletions(-)
30823 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
30824 Author: John (J5) Palmieri <johnp@redhat.com>
30825 Date: Mon May 24 11:48:16 2010 -0400
30827 check refcounting of callback userdata in unit tests
30829 tests/test_everything.py | 18 ++++++++++++++++++
30830 1 file changed, 18 insertions(+)
30832 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
30833 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30834 Date: Sat May 22 15:12:37 2010 +0200
30836 Add support for out args in callbacks
30838 This patch refactors argument marshalling for closures in
30839 preparation for more complete support.
30841 Also fixes a bug in the memory management of user_data args.
30843 https://bugzilla.gnome.org/show_bug.cgi?id=617780
30845 gi/pygi-closure.c | 335
30846 +++++++++++++++++++++++++++++++++++++++++-------------
30847 tests/test_gi.py | 4 +
30848 2 files changed, 263 insertions(+), 76 deletions(-)
30850 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
30851 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30852 Date: Sun May 23 10:59:27 2010 +0200
30854 If None is passed to an interface which takes an object, convert it to
30857 * without this patch PyGI treats the None object as a PyGObject
30859 extracting garbage data causing a crash
30860 * None's equivalent in C is NULL so we must provide a special case
30862 marshal the None as NULL
30864 https://bugzilla.gnome.org/show_bug.cgi?id=617880
30866 gi/pygi-argument.c | 5 +++++
30867 tests/test_everything.py | 6 ++++++
30868 2 files changed, 11 insertions(+)
30870 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
30871 Author: John (J5) Palmieri <johnp@redhat.com>
30872 Date: Sat May 22 14:06:37 2010 +0200
30874 correctly handle floating objects in gtk
30876 * this is a stopgap so we work with older pygobject libraries
30877 * there is a patch at
30878 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30879 which adds the correct fix to pygobject
30880 * once pygobject accepts the above patch this patch does not need to
30881 be reverted because pygobject_register_sinkfunc becomes a noop
30882 * add tests (Tomeu)
30884 https://bugzilla.gnome.org/show_bug.cgi?id=619007
30886 gi/gimodule.c | 12 ++++++++++++
30887 tests/test_everything.py | 3 +++
30888 2 files changed, 15 insertions(+)
30890 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
30891 Author: John (J5) Palmieri <johnp@redhat.com>
30892 Date: Sat May 22 13:21:30 2010 +0200
30894 Return an empty list when a NULL GList and GSList is returned
30896 * In GTK a GList * and GSList set to NULL is equivilant to empty
30898 GTK list methods can take a NULL and treat it as an empty list. e.g.
30899 g_list_length(NULL) returns 0
30900 * PyGtk consitently returns empty list when a NULL is returned for
30903 * Many PyGtk apps do this:
30904 for i in range(len(obj.get_list())):
30906 * If we were to continue to return None, they would have to add
30908 which is needlessly verbose and isn't very "pythonic"
30910 https://bugzilla.gnome.org/show_bug.cgi?id=619232
30912 gi/pygi-argument.c | 6 ------
30913 tests/test_everything.py | 4 ++--
30914 2 files changed, 2 insertions(+), 8 deletions(-)
30916 commit 71a2148b00dfdda99e0d961ae39b901608724e59
30917 Author: Steve Frécinaux <code@istique.net>
30918 Date: Fri May 21 19:05:03 2010 +0200
30920 Fix warning in configure.
30922 The warning is caused by the use of the construction 'CFLAGS+=' in a
30923 sh version that doesn't understand it (in this case, 'dash').
30925 https://bugzilla.gnome.org/show_bug.cgi?id=619311
30927 configure.ac | 2 +-
30928 1 file changed, 1 insertion(+), 1 deletion(-)
30930 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
30931 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30932 Date: Thu Apr 29 13:06:15 2010 +0200
30934 GTypeInterface cannot be unrefed
30936 https://bugzilla.gnome.org/show_bug.cgi?id=617159
30938 gi/gimodule.c | 4 +++-
30939 1 file changed, 3 insertions(+), 1 deletion(-)
30941 commit ab1aaff108d23aabd28c3634edfb67236eb55460
30942 Author: John (J5) Palmieri <johnp@redhat.com>
30943 Date: Sat May 22 13:09:48 2010 +0200
30945 fix NULL array unit tests and fix crasher when sending None as
30948 * Unit tests were wrong given the annotation for
30949 test_array_int_null_in and
30950 test_array_int_null_out:
30953 * test_array_int_null_in:
30954 * @arr: (array length=len) (allow-none):
30961 * test_array_int_null_out:
30962 * @arr: (out) (array length=len) (allow-none):
30963 * @len: (out) : length
30966 The (array length=len) annotation meant we don't pass in or
30967 receive the len argument as this is handled under the hood
30968 (Python's representation of an array, the list type, encapsulates
30969 the length inside the type)
30971 * Fixing up the tests revealed a latent crasher bug when passing
30973 interface that accepts an array. The fix was to check for NULL
30975 the length argument to 0 when invoking the bound method.
30977 https://bugzilla.gnome.org/show_bug.cgi?id=619235
30979 gi/pygi-invoke.c | 6 +++++-
30980 tests/test_everything.py | 4 ++--
30981 2 files changed, 7 insertions(+), 3 deletions(-)
30983 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
30984 Author: John (J5) Palmieri <johnp@redhat.com>
30985 Date: Fri May 14 14:57:27 2010 -0400
30987 don't error out on methods with callbacks as return type
30989 * Right now we just throw an error which means API's like
30990 gtk_about_dialog_set_url_hook aren't able to be called,
30991 * this allows us to call such APIs while printing a warning, in
30993 API such as this doesn't need to be used anymore and is a result of
30994 early GTK development
30996 gi/pygi-argument.c | 14 +++++++++++---
30997 1 file changed, 11 insertions(+), 3 deletions(-)
30999 commit d963007aab123f4e53a944a66a935db2d22907c2
31000 Author: John (J5) Palmieri <johnp@redhat.com>
31001 Date: Mon May 17 11:54:34 2010 -0400
31003 reset sys.argv to the return value of Gtk.init_check
31005 * applications which check command line arguments will error out if it
31006 encounters a GTK command line switch such as --g-fatal-warnings.
31007 * The Gtk.init* API reads these switches and returns a new argv with
31009 switches stripped out
31010 * In C argv is modified in place but in Python we must set sys.argv
31012 new modified argument list
31013 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
31015 gi/overrides/Gtk.py | 1 +
31016 1 file changed, 1 insertion(+)
31018 commit 897420ed97cc4a7b8a806894df5e76ed72617614
31019 Author: John (J5) Palmieri <johnp@redhat.com>
31020 Date: Wed May 12 14:25:32 2010 -0400
31022 add GtkUIManager and GtkActionGroup overrides
31024 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
31026 gi/overrides/Gtk.py | 167
31027 +++++++++++++++++++++++++++++++++++++++++++++++-
31028 tests/test_overrides.py | 45 +++++++++++++
31029 2 files changed, 211 insertions(+), 1 deletion(-)
31031 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
31032 Author: Zach Goldberg <zach@zachgoldberg.com>
31033 Date: Thu May 13 01:02:24 2010 -0400
31035 Bump version for development to 0.5.2 (hopefully 0.6)
31037 configure.ac | 2 +-
31038 1 file changed, 1 insertion(+), 1 deletion(-)
31040 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
31041 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31042 Date: Wed May 5 15:54:39 2010 +0200
31044 Fix overrides.Gdk.Color.__new__ args
31046 https://bugzilla.gnome.org/show_bug.cgi?id=617757
31048 gi/overrides/Gdk.py | 2 +-
31049 tests/Makefile.am | 3 ++-
31050 tests/test_overrides.py | 22 ++++++++++++++++++++++
31051 3 files changed, 25 insertions(+), 2 deletions(-)
31053 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
31054 Author: John (J5) Palmieri <johnp@redhat.com>
31055 Date: Thu Apr 29 14:55:33 2010 -0400
31057 wrap GObject module so we can go through GI when requesting attrs
31059 * This gives us the best of both worlds.
31060 - We remain backwards compatable with pygobject by checking for
31062 attrs in the gobject module
31063 - If an attr does not exist we use the GI mechanism to look it up
31065 things like flags look the same whether exported from GObject, Gtk
31066 or any GI managed library
31068 * add DynamicGObjectModule tests and make tests use the new module
31069 - change import gobject to from gi.repository import GObject
31071 gi/importer.py | 6 ++--
31072 gi/module.py | 30 ++++++++++++++++
31073 tests/test_everything.py | 6 ++--
31074 tests/test_gi.py | 93
31075 ++++++++++++++++++++++++++----------------------
31076 4 files changed, 87 insertions(+), 48 deletions(-)
31078 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
31079 Author: John (J5) Palmieri <johnp@redhat.com>
31080 Date: Fri Apr 30 14:11:55 2010 -0400
31082 override Gdk.Drawable to add cairo_create convinience method
31084 gi/overrides/Gdk.py | 7 ++++++-
31085 1 file changed, 6 insertions(+), 1 deletion(-)
31087 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
31088 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31089 Date: Mon May 3 19:13:46 2010 +0200
31091 Fix passing callbacks as constructor args
31093 https://bugzilla.gnome.org/show_bug.cgi?id=617551
31095 gi/pygi-callbacks.c | 3 ++-
31096 gi/pygi-callbacks.h | 1 +
31097 gi/pygi-invoke.c | 7 +++++--
31098 tests/test_everything.py | 21 +++++++++++++++++++++
31099 4 files changed, 29 insertions(+), 3 deletions(-)
31101 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
31102 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31103 Date: Wed May 5 08:06:03 2010 +0200
31105 Avoid freeing garbage
31107 gi/pygi-invoke.c | 6 ++++--
31108 1 file changed, 4 insertions(+), 2 deletions(-)
31110 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
31111 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31112 Date: Thu Apr 29 13:09:03 2010 +0200
31114 Only hookup vfunc implementations for locally-defined methods
31116 https://bugzilla.gnome.org/show_bug.cgi?id=617160
31118 gi/types.py | 10 +++++++++-
31119 tests/test_gi.py | 10 ++++++++++
31120 2 files changed, 19 insertions(+), 1 deletion(-)
31122 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
31123 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31124 Date: Mon May 3 18:35:13 2010 +0200
31126 Fix passing GDestroyNotify
31128 https://bugzilla.gnome.org/show_bug.cgi?id=617542
31130 gi/pygi-invoke.c | 3 ++-
31131 tests/test_everything.py | 10 ++++++++++
31132 2 files changed, 12 insertions(+), 1 deletion(-)
31134 commit 9669acd0fad193013ef3505ae231588307f9834c
31135 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31136 Date: Mon May 3 12:23:58 2010 +0200
31138 Move invocation code to its own file
31140 https://bugzilla.gnome.org/show_bug.cgi?id=617107
31142 gi/Makefile.am | 2 +
31143 gi/pygi-info.c | 884
31144 ----------------------------------------------------
31145 gi/pygi-invoke.c | 909
31146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31147 gi/pygi-invoke.h | 37 +++
31148 gi/pygi-private.h | 1 +
31149 5 files changed, 949 insertions(+), 884 deletions(-)
31151 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
31152 Author: John (J5) Palmieri <johnp@redhat.com>
31153 Date: Tue Apr 27 19:13:08 2010 -0400
31155 Add the Gtk.Builder override
31157 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
31158 1 file changed, 36 insertions(+), 1 deletion(-)
31160 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
31161 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31162 Date: Fri Apr 30 15:00:52 2010 +0200
31164 Fix GAsyncReadyCallback
31166 https://bugzilla.gnome.org/show_bug.cgi?id=616236
31168 gi/pygi-closure.c | 8 +++++++-
31169 tests/test_everything.py | 16 ++++++++++++++++
31170 2 files changed, 23 insertions(+), 1 deletion(-)
31172 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
31173 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31174 Date: Thu Apr 29 18:32:50 2010 +0200
31176 Add override for Gdk.Color
31178 https://bugzilla.gnome.org/show_bug.cgi?id=617162
31180 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
31181 1 file changed, 19 insertions(+), 1 deletion(-)
31183 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
31184 Author: John (J5) Palmieri <johnp@redhat.com>
31185 Date: Wed Apr 28 13:19:48 2010 -0400
31187 make __all__ be a list of strings, fix override mechanism to use
31190 * before we were adding classes to the __all__ module property but
31191 the convention is to use the name of the class
31192 * simplified the check to just check the name against __all__
31193 instead of trying to get the class and then checking the class
31194 against None as well as in __all__
31195 * went through all the overrides and made __all__ be a list of strings
31197 gi/module.py | 9 ++++-----
31198 gi/overrides/GIMarshallingTests.py | 2 +-
31199 gi/overrides/Gdk.py | 2 +-
31200 3 files changed, 6 insertions(+), 7 deletions(-)
31202 commit 64fa8f936bad9a90628df446e690d67d947a0a22
31203 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31204 Date: Mon Apr 26 11:41:06 2010 +0200
31206 One more step at refactoring _wrap_g_function_info_invoke
31208 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31210 gi/pygi-callbacks.c | 22 +-
31211 gi/pygi-callbacks.h | 4 +-
31212 gi/pygi-info.c | 582
31213 ++++++++++++++++++++++++++++++----------------------
31214 3 files changed, 346 insertions(+), 262 deletions(-)
31216 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
31217 Author: Zach Goldberg <zach@zachgoldberg.com>
31218 Date: Tue Apr 20 23:23:38 2010 -0400
31220 Step 1 of refactoring _wrap_g_function_info_invoke
31222 Original patch by David Malcom <dmalcolm@redhat.com>
31224 This patch bitrots *REALLY* fast.
31226 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31228 gi/pygi-info.c | 417
31229 +++++++++++++++++++++++++++++----------------------------
31230 1 file changed, 214 insertions(+), 203 deletions(-)
31232 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
31233 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31234 Date: Tue Apr 27 10:24:35 2010 +0200
31236 Dont force subclasses to implement all virtual methods of their bases
31238 https://bugzilla.gnome.org/show_bug.cgi?id=616674
31240 gi/types.py | 4 ++--
31241 tests/test_gi.py | 15 +++++++++++++++
31242 2 files changed, 17 insertions(+), 2 deletions(-)
31244 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
31245 Author: Zach Goldberg <zach@zachgoldberg.com>
31246 Date: Sun Apr 25 15:09:08 2010 -0400
31248 Correct the reference counting of userdata in closure handling
31250 Without this we lose references on every call and eventually end up
31252 while they are still in use.
31254 https://bugzilla.gnome.org/show_bug.cgi?id=616786
31256 gi/pygi-closure.c | 3 +++
31257 tests/test_everything.py | 13 +++++++++++++
31258 2 files changed, 16 insertions(+)
31260 commit 2b12049306bf57513c43d08017185468bf897a4a
31261 Author: Zach Goldberg <zach@zachgoldberg.com>
31262 Date: Tue Apr 20 22:57:14 2010 -0400
31264 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
31266 (Previous commit did not include the proper error message. I blame
31269 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31271 gi/pygi-closure.c | 4 ++--
31272 1 file changed, 2 insertions(+), 2 deletions(-)
31274 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
31275 Author: Zach Goldberg <zach@zachgoldberg.com>
31276 Date: Tue Apr 20 23:53:57 2010 -0400
31278 Force out arguments to be initialized as NULL. Comes with a test.
31280 This fix was motivated by a real world library which had a transfer
31282 utf8 out argument which sometimes was not set. We would leave
31284 dangling and try and free it at the end of invoke() and crash.
31286 to change their behavior so we're forced to take care of it on
31289 https://bugzilla.gnome.org/show_bug.cgi?id=616043
31291 gi/pygi-info.c | 1 +
31292 tests/test_gi.py | 3 +++
31293 2 files changed, 4 insertions(+)
31295 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
31296 Author: Zach Goldberg <zach@zachgoldberg.com>
31297 Date: Tue Apr 20 22:57:14 2010 -0400
31299 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
31301 Be slightly nicer to library maintainers. It really isn't a fatal
31303 if we don't have a proper scope type, better to leave a good code
31305 and a warning than to cause their code to segv.
31307 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31309 gi/pygi-closure.c | 3 ++-
31310 1 file changed, 2 insertions(+), 1 deletion(-)
31312 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
31313 Author: Zach Goldberg <zach@zachgoldberg.com>
31314 Date: Tue Apr 20 22:43:20 2010 -0400
31316 Refactor implementation of scope call to allow for multiple calls
31317 during lifetime of function invocation.
31319 https://bugzilla.gnome.org/show_bug.cgi?id=616343
31321 gi/pygi-closure.c | 10 +++++-----
31322 gi/pygi-info.c | 9 +++++++--
31323 tests/test_everything.py | 9 +++++++++
31324 3 files changed, 21 insertions(+), 7 deletions(-)
31326 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
31327 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31328 Date: Sat Jan 2 16:31:55 2010 +0100
31330 Add basic support for unions
31332 https://bugzilla.gnome.org/show_bug.cgi?id=603598
31334 gi/module.py | 3 +-
31335 gi/pygi-argument.c | 24 +++-----------
31336 gi/pygi-boxed.c | 18 +++++++++--
31337 gi/pygi-info.c | 94
31338 ++++++++++++++++++++++++++++++++++++++++++++++++------
31339 gi/pygi-info.h | 1 +
31340 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
31341 6 files changed, 165 insertions(+), 31 deletions(-)
31343 commit af9e4e086d160fe7fb24758ed81753e784b198a8
31344 Author: Simon van der Linden <svdlinden@src.gnome.org>
31345 Date: Fri Jan 22 22:16:32 2010 +0100
31347 Bump required GLib version to 2.22
31349 Since PyGObject now depends on GLib 2.22.4, there is no need to
31351 backward-compatible.
31353 configure.ac | 2 +-
31354 gi/pygi-private.h | 20 --------------------
31355 2 files changed, 1 insertion(+), 21 deletions(-)
31357 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
31358 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31359 Date: Sun Apr 18 11:50:14 2010 -0400
31361 Refactor get_* methods in the *Info wrappers
31363 https://bugzilla.gnome.org/show_bug.cgi?id=616108
31365 gi/pygi-info.c | 360
31366 +++++++++++++++++++++++++++------------------------------
31367 1 file changed, 168 insertions(+), 192 deletions(-)
31369 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
31370 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31371 Date: Tue Apr 20 15:12:47 2010 +0200
31373 Print any error messages raised inside _pygi_closure_handle
31375 https://bugzilla.gnome.org/show_bug.cgi?id=616279
31377 gi/pygi-closure.c | 9 +++++----
31378 1 file changed, 5 insertions(+), 4 deletions(-)
31380 commit d1ba23cdd05686ea721425f233371d573a2e9cce
31381 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31382 Date: Thu Apr 22 19:57:17 2010 +0200
31384 Rename variable with a very generic name
31386 gi/module.py | 28 ++++++++++++++--------------
31387 1 file changed, 14 insertions(+), 14 deletions(-)
31389 commit 391640b30ede50af3667b1019edb72bd79f2c68c
31390 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31391 Date: Thu Apr 22 19:53:06 2010 +0200
31393 Add support for enums without GType
31395 https://bugzilla.gnome.org/show_bug.cgi?id=616520
31397 gi/module.py | 6 +++++-
31398 gi/pygi-argument.c | 22 +++++++++++++++++++++-
31399 gi/types.py | 14 ++++++++++++++
31400 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
31401 4 files changed, 68 insertions(+), 4 deletions(-)
31403 commit 89704f60ddae0c81f1383d86491ef2785590a353
31404 Author: Zach Goldberg <zach@zachgoldberg.com>
31405 Date: Tue Apr 20 22:20:42 2010 -0400
31407 Bump version during development to 0.5.1
31409 This follows what is, according to Colin Walters,
31410 standard versioning practice. During development the
31411 version in your config is the *next* version you will release,
31412 not the version after. Thus after a release you make a new commit
31413 bumping to the next development version.
31415 configure.ac | 2 +-
31416 1 file changed, 1 insertion(+), 1 deletion(-)
31418 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
31419 Author: John Ehresman <jpe@wingware.com>
31420 Date: Tue Apr 20 20:40:02 2010 -0400
31422 Added missing , to keyword list of gio.GFile.set_attribute
31424 gio/gresolver.override | 2 +-
31425 1 file changed, 1 insertion(+), 1 deletion(-)
31427 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
31428 Author: John Ehresman <jpe@wingware.com>
31429 Date: Tue Apr 20 20:37:12 2010 -0400
31431 Fix arg conversion in gio.GFile.set_attribute
31433 gio/gfile.override | 232
31434 +++++++++++++++++++++++++++++++++++++++++++++++++++--
31435 1 file changed, 227 insertions(+), 5 deletions(-)
31437 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
31438 Author: John Ehresman <jpe@wingware.com>
31439 Date: Tue Apr 20 20:01:53 2010 -0400
31441 Set constants under python 2.5 or before
31443 gobject/gobjectmodule.c | 8 ++++++++
31444 1 file changed, 8 insertions(+)
31446 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
31447 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31448 Date: Sun Apr 18 20:22:21 2010 -0400
31450 Doc Extractor: Use replacements that make sense for &...;
31453 * codegen/docextract_to_xml.py: Use # and   respectively
31455 # (#) and . These are interpreted correctly in XML
31457 not make the parsing crash.
31459 codegen/docextract_to_xml.py | 4 ++--
31460 1 file changed, 2 insertions(+), 2 deletions(-)
31462 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
31463 Author: Zach Goldberg <zach@zachgoldberg.com>
31464 Date: Sun Apr 18 14:32:06 2010 -0400
31466 Bump version for release 0.5.0
31468 HACKING | 7 +++++++
31469 configure.ac | 4 ++--
31470 2 files changed, 9 insertions(+), 2 deletions(-)
31472 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
31473 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31474 Date: Sun Apr 18 14:28:13 2010 -0400
31476 One more missing file...
31478 examples/Makefile.am | 2 ++
31479 1 file changed, 2 insertions(+)
31481 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
31482 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31483 Date: Sun Apr 18 14:18:44 2010 -0400
31485 Add more stuff to the tarballs
31487 Makefile.am | 8 +++++++-
31489 2 files changed, 8 insertions(+), 1 deletion(-)
31491 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
31492 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31493 Date: Sun Apr 18 13:48:45 2010 -0400
31495 Add one more missing file to tarballs
31497 gi/overrides/GIMarshallingTests.py | 0
31498 gi/overrides/Makefile.am | 1 +
31499 2 files changed, 1 insertion(+)
31501 commit 979e01852fc7f830ee91093accdc387fa535075f
31502 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31503 Date: Sun Apr 18 13:45:29 2010 -0400
31505 Add missing file to tarballs
31507 tests/Makefile.am | 1 +
31508 1 file changed, 1 insertion(+)
31510 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
31511 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31512 Date: Sun Apr 18 13:11:11 2010 -0400
31516 https://bugzilla.gnome.org/show_bug.cgi?id=602736
31519 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31520 gi/pygi-argument.c | 1 +
31521 gi/pygi-callbacks.c | 3 +-
31522 gi/pygi-closure.c | 4 +--
31523 gi/pygi-closure.h | 2 +-
31524 gi/pygi-info.c | 86
31525 +++++++++++++++++++++++++++++++++++++++++++++++++--
31526 gi/pygi-info.h | 1 +
31527 gi/types.py | 44 +++++++++++++++++---------
31528 tests/test_gi.py | 18 +++++++++++
31529 9 files changed, 227 insertions(+), 21 deletions(-)
31531 commit e239faacb4798fe2d166233ca1a19a843a6225e3
31532 Author: Zach Goldberg <zach@zachgoldberg.com>
31533 Date: Sun Apr 18 11:59:06 2010 -0400
31535 Fix a typo in pygi-callbacks.c header
31537 gi/pygi-callbacks.c | 2 +-
31538 1 file changed, 1 insertion(+), 1 deletion(-)
31540 commit 79aa416ae8632b123da61d79fb820d9e2704209c
31541 Author: Zach Goldberg <zach@zachgoldberg.com>
31542 Date: Sat Apr 17 12:00:05 2010 -0400
31544 Implement nullable argument support, including tests
31546 https://bugzilla.gnome.org/show_bug.cgi?id=616035
31548 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
31549 gi/pygi-argument.h | 3 ++-
31550 gi/pygi-info.c | 19 +++++++++++++------
31551 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
31552 4 files changed, 80 insertions(+), 13 deletions(-)
31554 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
31555 Author: Zach Goldberg <zach@zachgoldberg.com>
31556 Date: Sat Apr 17 12:56:19 2010 -0400
31558 Move some tests from test_gi to test_everything
31560 tests/test_everything.py | 60
31561 ++++++++++++++++++++++++++++++++++++++++++++++
31562 tests/test_gi.py | 62
31563 +-----------------------------------------------
31564 2 files changed, 61 insertions(+), 61 deletions(-)
31566 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
31567 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31568 Date: Sun Apr 18 10:44:35 2010 -0400
31570 Update to latest version of the pygi-convert.sh script
31572 pygi-convert.sh | 193
31573 ++++++++++++++++++++++++++++++++++++++++----------------
31574 1 file changed, 137 insertions(+), 56 deletions(-)
31576 commit 34a39318c674737c6d64f2430456daef86ba1626
31577 Author: Colin Walters <walters@verbum.org>
31578 Date: Sun Apr 18 10:40:44 2010 -0400
31580 Add Tomeu's prototype script for converting pygtk to pygi
31582 pygi-convert.sh | 71
31583 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31584 1 file changed, 71 insertions(+)
31586 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
31587 Author: Olav Vitters <olav@vitters.nl>
31588 Date: Sun Apr 18 13:01:58 2010 +0200
31593 1 file changed, 4 insertions(+)
31595 commit 0de73d0bba79f92af22f43693f3575c596712416
31596 Author: Zach Goldberg <zach@zachgoldberg.com>
31597 Date: Sat Apr 17 16:01:31 2010 -0400
31599 Add Zach Goldberg as a pygi maintainer
31601 pygi.doap | 5 +++++
31602 1 file changed, 5 insertions(+)
31604 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
31605 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31606 Date: Sat Apr 17 11:47:54 2010 -0400
31610 configure.ac | 7 +------
31611 1 file changed, 1 insertion(+), 6 deletions(-)
31613 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
31614 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31615 Date: Sat Apr 17 11:40:14 2010 -0400
31617 Add examples/cairo-demo.py
31619 examples/cairo-demo.py | 121
31620 +++++++++++++++++++++++++++++++++++++++++++++++++
31621 1 file changed, 121 insertions(+)
31623 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
31624 Author: Zach Goldberg <zach@zachgoldberg.com>
31625 Date: Sat Apr 17 09:17:14 2010 -0400
31627 Implementation callback support with scoping and basic argument
31630 This patch was originally written by
31631 Zach Goldberg <zach@zachgoldberg.com> with modifications and
31632 review by Simon van der Linden <svdlinden@src.gnome.org> and
31633 Colin Walters <walters@verbum.org>.
31635 This impementation enforces the assumption that any one function
31636 signature can only have one (callback, userdata, destronotify) tuple.
31637 This allows us to move callback creation into the actual function
31638 invoke pipeline and also to keep just one destroy notify callback
31639 around, vastly simplifying the code.
31641 https://bugzilla.gnome.org/show_bug.cgi?id=603095
31644 gi/Makefile.am | 4 +
31645 gi/pygi-argument.c | 12 ++-
31646 gi/pygi-callbacks.c | 216
31647 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31648 gi/pygi-callbacks.h | 47 ++++++++++++
31649 gi/pygi-closure.c | 205
31650 +++++++++++++++++++++++++++++++++++++++++++++++++
31651 gi/pygi-closure.h | 57 ++++++++++++++
31652 gi/pygi-info.c | 49 ++++++++++--
31653 gi/pygi-private.h | 2 +
31654 tests/test_gi.py | 64 +++++++++++++++-
31655 10 files changed, 648 insertions(+), 10 deletions(-)
31657 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
31658 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31659 Date: Sat Apr 17 10:54:45 2010 -0400
31661 Add support for foreign structs
31663 https://bugzilla.gnome.org/show_bug.cgi?id=603712
31665 configure.ac | 6 +++
31666 gi/Makefile.am | 10 +++-
31667 gi/gimodule.c | 7 +++
31668 gi/pygi-argument.c | 27 ++++++++++-
31669 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
31670 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
31671 gi/pygi-foreign.c | 123
31672 +++++++++++++++++++++++++++++++++++++++++++++++
31673 gi/pygi-foreign.h | 52 ++++++++++++++++++++
31674 gi/pygi-private.h | 1 +
31675 tests/test_everything.py | 48 ++++++++++++++++++
31676 10 files changed, 428 insertions(+), 4 deletions(-)
31678 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
31679 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31680 Date: Fri Apr 16 14:35:13 2010 -0400
31682 Allow creating structs with pointers
31684 https://bugzilla.gnome.org/show_bug.cgi?id=603537
31686 gi/pygi-struct.c | 6 ------
31687 tests/test_gi.py | 3 ++-
31688 2 files changed, 2 insertions(+), 7 deletions(-)
31690 commit fc9ff02e53aacf9e77625c70985e99813544912a
31691 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31692 Date: Fri Apr 16 10:40:40 2010 -0400
31694 Add gdb and valgrind variants for the tests
31696 HACKING | 19 +++++++++++++++++++
31697 Makefile.am | 12 ++++++++++++
31698 tests/Makefile.am | 14 +++++++++++++-
31699 3 files changed, 44 insertions(+), 1 deletion(-)
31701 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
31702 Author: John Stowers <john.stowers@gmail.com>
31703 Date: Fri Apr 16 14:36:11 2010 +1200
31705 Add build docs for windows
31708 README.win32 | 24 ++++++++++++++++++++++++
31709 2 files changed, 25 insertions(+)
31711 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
31712 Author: John Stowers <john.stowers@gmail.com>
31713 Date: Thu Apr 15 13:40:39 2010 +1200
31715 Setup.py cosmetic tidy
31717 * Remove local doc install, point to website instead
31718 * link to versioned docs
31720 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
31721 setup.py | 39 ++++++++++++++-------------------------
31722 2 files changed, 40 insertions(+), 42 deletions(-)
31724 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
31725 Author: John Stowers <john.stowers@gmail.com>
31726 Date: Sat Jul 25 14:12:30 2009 +1200
31728 Fix crash when importing gio
31730 Only seems to be necessary on windows, but
31731 no harm on linux as multiple calls to init
31734 gio/giomodule.c | 3 +++
31735 1 file changed, 3 insertions(+)
31737 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
31738 Author: John Stowers <john.stowers@gmail.com>
31739 Date: Thu Apr 15 22:52:48 2010 +1200
31741 Bug 589671 - Dont use generate-constants
31743 This breaks the build using distutils, and it is
31744 largely unneeded. Just add the G_XXX constants
31745 to the module directly
31747 gobject/Makefile.am | 16 +--------
31748 gobject/constants.py | 83
31749 ++++++++++++++++++++++++++++++++++++++++++++
31750 gobject/constants.py.in | 50 --------------------------
31751 gobject/generate-constants.c | 44 -----------------------
31752 gobject/gobjectmodule.c | 35 +++++++++++++++++++
31754 tests/runtests.py | 3 +-
31755 7 files changed, 121 insertions(+), 112 deletions(-)
31757 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
31758 Author: John Stowers <john.stowers@gmail.com>
31759 Date: Thu Apr 15 22:49:17 2010 +1200
31761 Bug 589671 - Fix setup.py for windows build
31763 * Building pyglib as a static private library
31764 * Update to include new defs
31765 * Modernise setup.py and add more util functions
31768 dsextras.py | 32 ++++++++++++++++---
31770 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
31771 2 files changed, 116 insertions(+), 18 deletions(-)
31773 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
31774 Author: John Stowers <john.stowers@gmail.com>
31775 Date: Thu Apr 15 22:48:28 2010 +1200
31777 Include pygsource.h
31779 glib/pygiochannel.c | 1 +
31780 1 file changed, 1 insertion(+)
31782 commit c5f6af4844c74354abc508d17969d9d45153acf2
31783 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31784 Date: Thu Apr 15 14:25:59 2010 -0400
31786 Add metadata to the .doap file
31789 1 file changed, 3 insertions(+)
31791 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
31792 Author: John (J5) Palmieri <johnp@redhat.com>
31793 Date: Wed Apr 14 12:01:43 2010 -0400
31795 override that wasn't checked in - fixes some test cases
31797 gi/overrides/GIMarshallingTests.py | 69
31798 ++++++++++++++++++++++++++++++++++++++
31799 1 file changed, 69 insertions(+)
31801 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
31802 Author: Colin Walters <walters@verbum.org>
31803 Date: Wed Apr 14 10:06:07 2010 -0400
31805 [Makefile.am] Clean up CFLAGS handling, don't override all: target
31807 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
31808 per-target CFLAGS forces Automake to prefix object files, which
31809 is unnecessary since we only have one target.
31811 More importantly, avoid overriding the all: target here; that's
31812 owned by Automake. Use all-local instead to append things to
31813 the end of the normal build.
31815 gi/Makefile.am | 15 +++++++++------
31816 1 file changed, 9 insertions(+), 6 deletions(-)
31818 commit 5a47e96e3f580c973e6880dafa747f54c144c760
31819 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31820 Date: Tue Apr 13 19:15:49 2010 -0400
31822 Use GIMarshallingTests (old TestGI) in gobject-introspection
31824 gi/overrides/TestGI.py | 69 --
31825 tests/Makefile.am | 40 -
31826 tests/libtestgi.c | 2924
31827 ------------------------------------------------
31828 tests/libtestgi.h | 628 -----------
31829 tests/test_gi.py | 832 +++++++-------
31830 5 files changed, 416 insertions(+), 4077 deletions(-)
31832 commit 681832c3cd040433a488a400693b68f213bf7078
31833 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31834 Date: Tue Apr 13 13:33:12 2010 -0400
31836 codegen/docextract_to_xml.py: One more &...; replacement ( ).
31838 * codegen/docextract_to_xml.py: Replace which also causes
31839 errors with a regular space.
31841 codegen/docextract_to_xml.py | 1 +
31842 1 file changed, 1 insertion(+)
31844 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
31845 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31846 Date: Tue Apr 13 12:28:10 2010 -0400
31848 codegen/docextract_to_xml.py: Replace some &..; that cause errors.
31850 * codegen/docextract_to_xml.py (escape_text): Replace some &..;
31851 expressions that cause errors with more appropriate output.
31853 codegen/docextract_to_xml.py | 4 ++++
31854 1 file changed, 4 insertions(+)
31856 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
31857 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31858 Date: Sun Apr 11 17:46:40 2010 -0400
31860 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
31862 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
31864 in text to '/ *' and '* /' respectively so that comment errors
31866 show up when the descriptions that include C++ code with C++
31867 multi-line comments are used in Doxygen blocks.
31869 codegen/docextract_to_xml.py | 9 +++++++++
31870 1 file changed, 9 insertions(+)
31872 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
31873 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31874 Date: Sun Apr 11 16:15:01 2010 -0400
31876 codegen/docextract.py: Stop final section processing on first
31879 * codegen/docextract.py (process_final_sections): Modify the final
31880 section pattern matching for loop to stop on first match so
31882 doesn't match both a colon return ('Returns: ...') and a no colon
31883 return ('Returns ...') which leads to annotation extraction
31886 codegen/docextract.py | 4 ++++
31887 1 file changed, 4 insertions(+)
31889 commit 825fd305f03b726665edca34963978ce27448182
31890 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31891 Date: Sun Apr 11 15:45:09 2010 -0400
31893 Update doc extraction tool to handle GObjectIntrospection
31896 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
31897 (GtkDoc::annotations): Added a list field to store annotations
31899 are 2-tuples of (name, value).
31900 (GtkDoc::ret): Modified field to store the return description
31902 with a list of annotations as described above.
31903 (GtkDoc::params): Now holds a list of 3-tupples: name,
31905 annotations (as described above).
31906 (GtkDoc::block_type): Add a field to tell if the comment block
31908 function block, signal block or property block.
31909 (GtkDoc::set_type):
31910 (GtkDoc::get_type): Add methods for setting/getting the block
31912 (GtkDoc::add_param): Modified to also accept a list of
31914 be added with the parameter.
31915 (GtkDoc::add_annotation):
31916 (GtkDoc::get_annotations): Added methods to add/get annotations
31919 (GtkDoc::append_description): Renamed to append_to_description().
31920 (GtkDoc::get_param_description): Removed unused method.
31921 (GtkDoc::get_description): Added method to get block description.
31922 (GtkDoc::add_return): Added method to add a return accepting
31924 line of the description and its annotations.
31925 (GtkDoc::append_return): Renamed to append_to_return().
31926 (Regular expressions):
31927 - Made the names of the variables un-abbreviated.
31929 - Added 'since', 'deprecated' and 'rename to' regular
31932 - Modified the return matching regular expression so that
31934 match descriptions that begin with 'Returns ...'.
31936 the docs of many function.
31938 - Added signal and property comment block identifier matching
31940 expressions in case those are useful.
31942 - Modified existing identifier matching regular expressions
31944 signal, and property regular expressions) to properly parse
31945 annotations. Also added a regular expression for extracting
31946 annotations from the parameter and return descriptions.
31948 - Refined the function name matching regular expression to
31950 identifiers that begin with a lowercase letter. This eliminates
31951 'SECTION:' matches.
31953 - Finally, grouped commonly related expressions like
31955 since_pattern, etc. into groups (in lists) so that matching
31957 sections can be done using loops.
31959 (Parsing algorithm): Modified the algorithm to use a functional
31960 approach to parsing. Extra methods like skip_to_comment() and
31961 processs_params() have been added and used in the parse_file()
31962 function to now process the comment blocks.
31963 (parse_dir): Added file processing output to stderr.
31964 * codegen/docextract_to_xml.py (usage): Added function to
31967 (print_annotations): Added function to print the given list of
31969 (options): Added --with-signals (-i), with-properties (-p) and
31970 --with-annotation (-a) to the existing --source-dir (-s) option.
31972 (algorithm): Now prints annotations, if specified. Also, prints
31973 signals and properties correctly (using names like
31975 for signals and Classs:property) with xml such as <signal
31976 name="...">...</signal>. The return xml is slightly modified with
31977 annotations but this would only be exhibited if annotation xml is
31980 codegen/docextract.py | 439
31981 ++++++++++++++++++++++++++++++++++---------
31982 codegen/docextract_to_xml.py | 87 ++++++---
31983 2 files changed, 414 insertions(+), 112 deletions(-)
31985 commit 9fef1acb42cd900d4a814a7378f60bc189121785
31986 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31987 Date: Fri Apr 9 13:47:03 2010 +0200
31989 Always create the .so link
31991 gi/Makefile.am | 2 +-
31992 1 file changed, 1 insertion(+), 1 deletion(-)
31994 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
31995 Author: Paul Bolle <pebolle@tiscali.nl>
31996 Date: Thu Apr 8 11:52:25 2010 +0200
31998 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
32000 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
32002 docs/reference/pygio-file.xml | 58
32003 ++++++++++++++++++------------------
32004 docs/reference/pygio-inputstream.xml | 22 +++++++-------
32005 docs/reference/pygio-mount.xml | 10 +++----
32006 3 files changed, 45 insertions(+), 45 deletions(-)
32008 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
32009 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32010 Date: Mon Apr 5 18:10:42 2010 +0200
32012 Bug 613341 - pygobject tests seem to require pygtk causing a circular
32013 dependencies problem
32015 move tests that require pygtk to pygtk itself
32017 tests/test_conversion.py | 83 --------------
32018 tests/test_enum.py | 234 --------------------------------------
32019 tests/test_gtype.py | 112 ------------------
32020 tests/test_subtype.py | 289
32021 -----------------------------------------------
32022 4 files changed, 718 deletions(-)
32024 commit ef0ceb266a45715ece58642fb0042e3376416755
32025 Author: Simon van der Linden <svdlinden@src.gnome.org>
32026 Date: Wed Feb 3 20:33:03 2010 +0100
32028 Add modelines and copyright information to overrides modules
32030 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
32031 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
32032 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
32033 3 files changed, 62 insertions(+)
32035 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
32036 Author: Simon van der Linden <svdlinden@src.gnome.org>
32037 Date: Wed Feb 3 20:29:55 2010 +0100
32039 Fix and complete overrides tests
32041 Those tests were missing in the last commit
32043 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32045 gi/overrides/TestGI.py | 49
32046 +++++++++++++++++++++++++++++++++++++++++++++++++
32047 tests/test_gi.py | 8 +++++++-
32048 2 files changed, 56 insertions(+), 1 deletion(-)
32050 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
32051 Author: Simon van der Linden <svdlinden@src.gnome.org>
32052 Date: Thu Jan 21 17:30:51 2010 +0100
32054 Don't raise an error in _pygi_import if pygi support is disabled
32056 http://bugzilla.gnome.org/show_bug.cgi?id=607674
32058 gobject/pygboxed.c | 6 +-----
32059 gobject/pygi-external.h | 1 -
32060 gobject/pygobject.c | 6 +-----
32061 gobject/pygpointer.c | 6 +-----
32062 4 files changed, 3 insertions(+), 16 deletions(-)
32064 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
32065 Author: Simon van der Linden <svdlinden@src.gnome.org>
32066 Date: Fri Jan 22 22:22:37 2010 +0100
32068 Remove support for pointers to basic types as input-only argument
32071 There is no reason for an API to use such things, and
32072 g_function_info_invoke
32073 broke such features.
32075 https://bugzilla.gnome.org/show_bug.cgi?id=607759
32077 gi/pygi-argument.c | 586 ++++-------------------------------------------
32078 gi/pygi-argument.h | 1 -
32079 gi/pygi-info.c | 8 +-
32080 tests/libtestgi.c | 660
32081 -----------------------------------------------------
32082 tests/libtestgi.h | 86 -------
32083 tests/test_gi.py | 144 ------------
32084 6 files changed, 47 insertions(+), 1438 deletions(-)
32086 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
32087 Author: Simon van der Linden <svdlinden@src.gnome.org>
32088 Date: Fri Jan 22 13:41:21 2010 +0100
32090 Restore the overrides support
32092 Add a ModuleProxy in front of the DynamicModule when an overrides
32094 present. There is no need for an overrides module to be a class;
32095 it can just be a module.
32097 Add an override decorator to override the wrapper of a registered
32100 Adapt Gdk and Gtk accordingly.
32104 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32106 gi/importer.py | 40 +++++++-------------
32107 gi/module.py | 43 ++++++++++++++-------
32108 gi/overrides/Gdk.py | 42 +++++++++++++--------
32109 gi/overrides/Gtk.py | 16 ++++----
32110 gi/types.py | 6 +++
32111 tests/libtestgi.c | 105
32112 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32113 tests/libtestgi.h | 49 ++++++++++++++++++++++++
32114 tests/test_gi.py | 36 ++++++++++++++++++
32115 8 files changed, 273 insertions(+), 64 deletions(-)
32117 commit 289d641775d1ea52d2a5379126b70b7fcee46683
32118 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32119 Date: Sun Jan 10 21:01:59 2010 +0100
32121 Initialize PyGPollFD_Type.fd_obj to NULL
32123 https://bugzilla.gnome.org/show_bug.cgi?id=606582
32125 gio/gcancellable.override | 1 +
32126 1 file changed, 1 insertion(+)
32128 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
32129 Author: Simon van der Linden <svdlinden@src.gnome.org>
32130 Date: Fri Jan 8 21:10:28 2010 +0100
32132 Initialize struct fields to 0 when allocating
32134 gi/pygi-struct.c | 2 +-
32135 tests/test_gi.py | 5 +++++
32136 2 files changed, 6 insertions(+), 1 deletion(-)
32138 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
32139 Author: Simon van der Linden <svdlinden@src.gnome.org>
32140 Date: Fri Jan 8 20:33:44 2010 +0100
32142 Don't set a default constructor for structures.
32144 Update tests accordingly.
32146 The reason for this change is that setting __new__ in the metaclass
32148 one overrides it afterwards, in a subclass (in my experience, at
32150 though it seems weird).
32152 https://bugzilla.gnome.org/show_bug.cgi?id=603536
32154 gi/types.py | 35 +++++++----------------------------
32155 tests/libtestgi.c | 33 ---------------------------------
32156 tests/libtestgi.h | 7 -------
32157 tests/test_gi.py | 21 ++++++++++-----------
32158 4 files changed, 17 insertions(+), 79 deletions(-)
32160 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
32161 Author: Simon van der Linden <svdlinden@src.gnome.org>
32162 Date: Tue Jan 5 13:36:44 2010 +0100
32164 Suppress compilation warnings
32166 gi/pygi-argument.c | 3 ++-
32167 gi/pygi-boxed.c | 2 --
32168 gi/pygobject-external.h | 2 +-
32169 3 files changed, 3 insertions(+), 4 deletions(-)
32171 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
32172 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32173 Date: Mon Jan 4 08:35:14 2010 +0100
32175 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
32177 Committed a patch from Kevin Pyle
32179 Makefile.am | 27 +++++++++++++--------------
32180 1 file changed, 13 insertions(+), 14 deletions(-)
32182 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
32183 Author: Simon van der Linden <svdlinden@src.gnome.org>
32184 Date: Fri Dec 11 22:24:30 2009 +0100
32186 sys.path must be modified after pygtk is imported
32188 Otherwise, sys.path is overridden by pygtk and gi.repository is
32190 system's default site-package directory.
32192 tests/runtests.py | 1 -
32193 tests/test_gi.py | 3 +++
32194 2 files changed, 3 insertions(+), 1 deletion(-)
32196 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
32197 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32198 Date: Sun Jan 3 11:02:57 2010 +0100
32200 Wrap gio.Cancellable.make_pollfd() and add a test
32202 gio/Makefile.am | 1 +
32203 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
32204 gio/gio.override | 3 +++
32205 tests/test_gcancellable.py | 15 +++++++++++++++
32206 4 files changed, 56 insertions(+)
32208 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
32209 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32210 Date: Sat Jan 2 23:15:56 2010 +0100
32212 Make cancellable an optional parameter in many methods
32215 +++++++++++++++++++++++++++++------------------------------
32216 1 file changed, 51 insertions(+), 51 deletions(-)
32218 commit 49a078cd22d55dc33a03ecfda235d63955edc741
32219 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32220 Date: Sat Jan 2 23:15:21 2010 +0100
32222 Post release version bump to 2.21.2
32224 configure.ac | 2 +-
32225 1 file changed, 1 insertion(+), 1 deletion(-)
32227 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
32228 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32229 Date: Sat Jan 2 22:58:36 2010 +0100
32231 Update NEWS and release PyGObject-2.21.1
32233 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
32234 1 file changed, 55 insertions(+)
32236 commit c1f34be73bd186d7b4682dfef133da2c4229d213
32237 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32238 Date: Fri Jan 1 20:25:35 2010 +0100
32240 Wrap gio.Volume.eject_with_operation()
32242 gio/gvolume.override | 54
32243 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32244 1 file changed, 54 insertions(+)
32246 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
32247 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32248 Date: Fri Jan 1 20:22:21 2010 +0100
32250 gio.Mount.unmount_with_operation() fix a copy/paste leftover
32252 gio/gmount.override | 4 ++--
32253 1 file changed, 2 insertions(+), 2 deletions(-)
32255 commit 6f459786dd641cd49d81eba403d940620f961cab
32256 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32257 Date: Fri Jan 1 20:21:05 2010 +0100
32259 Wrap gio.Mount.eject_with_operation()
32261 gio/gmount.override | 54
32262 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32263 1 file changed, 54 insertions(+)
32265 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
32266 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32267 Date: Fri Jan 1 20:15:38 2010 +0100
32269 Wrap gio.Mount.unmount_mountable_with_operation()
32271 gio/gmount.override | 54
32272 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32273 1 file changed, 54 insertions(+)
32275 commit e919d47c2430451b436cec955e9b99237f97028c
32276 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32277 Date: Fri Jan 1 18:22:46 2010 +0100
32279 Wrap File.unmount_mountable_with_operation()
32281 gio/gfile.override | 54
32282 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32283 1 file changed, 54 insertions(+)
32285 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
32286 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32287 Date: Fri Jan 1 18:14:11 2010 +0100
32289 Wrap gio.File.stop_mountable()
32291 gio/gfile.override | 52
32292 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32293 1 file changed, 52 insertions(+)
32295 commit 6af506647f36f2b825bc6556df5ee57fa7721906
32296 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32297 Date: Fri Jan 1 18:10:49 2010 +0100
32299 Wrap gio.File.start_mountable()
32301 gio/gfile.override | 52
32302 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32303 1 file changed, 52 insertions(+)
32305 commit e700efc839fc0b651fc9794a1611190bffa80263
32306 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32307 Date: Fri Jan 1 18:02:46 2010 +0100
32309 Wrap gio.File.replace_readwrite_async()
32311 gio/gfile.override | 55
32312 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32313 1 file changed, 55 insertions(+)
32315 commit 92662f129fc728258fd5e34f53dcb081e3715017
32316 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32317 Date: Fri Jan 1 17:00:26 2010 +0100
32319 Wrap gio.File.poll_mountable()
32321 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
32322 1 file changed, 41 insertions(+)
32324 commit 99902b786500948c3278779841e4db54223b9256
32325 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32326 Date: Fri Jan 1 16:56:26 2010 +0100
32328 Wrap gio.File.open_readwrite_async()
32330 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
32331 1 file changed, 44 insertions(+)
32333 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
32334 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32335 Date: Fri Jan 1 16:50:15 2010 +0100
32337 Wrap gio.File.eject_mountable_with_operation()
32339 gio/gfile.override | 54
32340 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32341 1 file changed, 54 insertions(+)
32343 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
32344 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32345 Date: Fri Jan 1 13:30:24 2010 +0100
32347 Wrap gio.File.create_readwrite_async() and add a test
32349 gio/gfile.override | 51
32350 +++++++++++++++++++++++++++++++++++++++++++++++++++
32351 tests/test_gio.py | 24 ++++++++++++++++++++++++
32352 2 files changed, 75 insertions(+)
32354 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
32355 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32356 Date: Fri Jan 1 13:20:11 2010 +0100
32358 Wrap gio.Drive.stop()
32360 gio/gdrive.override | 52
32361 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32362 1 file changed, 52 insertions(+)
32364 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
32365 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32366 Date: Fri Jan 1 13:00:42 2010 +0100
32368 Wrap gio.Drive.start()
32370 gio/gdrive.override | 52
32371 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32372 1 file changed, 52 insertions(+)
32374 commit dff374287bbecc8af782bbc726fad86c6c867754
32375 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32376 Date: Fri Jan 1 12:45:29 2010 +0100
32378 Add more remainders on missing methods of gio.Socket and related types
32380 gio/gsocket.override | 3 +++
32381 1 file changed, 3 insertions(+)
32383 commit b8c7e996498bd72df551011af85ff05ef7335b4f
32384 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32385 Date: Fri Jan 1 12:41:08 2010 +0100
32387 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
32389 gio/gsocket.override | 86
32390 +++++++++++++++++++++++++++++++++++++++++++++++++--
32391 tests/test_gsocket.py | 24 ++++++++++++++
32392 2 files changed, 108 insertions(+), 2 deletions(-)
32394 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
32395 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32396 Date: Fri Jan 1 12:28:53 2010 +0100
32398 Wrap gio.SocketListener.accept_finish() and add a test
32400 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
32401 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
32402 2 files changed, 66 insertions(+), 2 deletions(-)
32404 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
32405 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32406 Date: Fri Jan 1 11:19:34 2010 +0100
32408 Wrap gio.SocketListener.accept_async()
32410 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32411 1 file changed, 42 insertions(+)
32413 commit c9496b29ef9ef232020a4044577d2947353953a5
32414 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32415 Date: Fri Jan 1 11:14:35 2010 +0100
32417 Wrap gio.SocketListener.accept_socket() and add a test
32419 gio/gsocket.override | 48
32420 +++++++++++++++++++++++++++++++++++++++++++++++-
32421 tests/test_gsocket.py | 13 +++++++++++++
32422 2 files changed, 60 insertions(+), 1 deletion(-)
32424 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
32425 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32426 Date: Thu Dec 31 16:35:18 2009 +0100
32428 Wrap gio.SocketListener.accept() and add a test
32430 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
32431 tests/test_gsocket.py | 13 +++++++++++++
32432 2 files changed, 58 insertions(+), 1 deletion(-)
32434 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
32435 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32436 Date: Thu Dec 31 16:25:33 2009 +0100
32438 Make cancellable optional in gio.SocketClient.connect_to_host()
32440 gio/gio.defs | 2 +-
32441 1 file changed, 1 insertion(+), 1 deletion(-)
32443 commit 3829d7667b19126fb74562b28d271e616b154c99
32444 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32445 Date: Thu Dec 31 15:25:10 2009 +0100
32447 Wrap gio.SocketListener.add_address() and add a test
32449 gio/gsocket.override | 57
32450 ++++++++++++++++++++++++++++++++++++++++++++++++++-
32451 tests/test_gsocket.py | 9 ++++++++
32452 2 files changed, 65 insertions(+), 1 deletion(-)
32454 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
32455 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32456 Date: Thu Dec 31 10:19:47 2009 +0100
32458 Add more remainders on missing methods of gio.Socket and related types
32460 gio/gsocket.override | 8 ++++++++
32461 1 file changed, 8 insertions(+)
32463 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
32464 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32465 Date: Thu Dec 31 10:16:18 2009 +0100
32467 Wrap gio.SocketClient.connect_to_service_async()
32469 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
32470 1 file changed, 47 insertions(+)
32472 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
32473 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32474 Date: Thu Dec 31 10:10:43 2009 +0100
32476 Wrap gio.SocketClient.connect_to_host_async()
32478 gio/gsocket.override | 48
32479 ++++++++++++++++++++++++++++++++++++++++++++++++
32480 1 file changed, 48 insertions(+)
32482 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
32483 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32484 Date: Thu Dec 31 09:59:46 2009 +0100
32486 Wrap gio.SocketClient.connect_async()
32488 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
32489 1 file changed, 45 insertions(+)
32491 commit dff024256295c15e49888ad9d5fef74a7746edd7
32492 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32493 Date: Wed Dec 30 23:44:25 2009 +0100
32495 Wrap gio.SocketAddressEnumerator.next_async() and add a test
32497 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32498 tests/test_gsocket.py | 16 ++++++++++++++++
32499 2 files changed, 58 insertions(+)
32501 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
32502 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32503 Date: Wed Dec 30 23:43:14 2009 +0100
32505 Add a missing object gio.InetSocketAddress new in GIO 2.22
32507 gio/gio-types.defs | 7 +++++++
32508 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
32509 2 files changed, 38 insertions(+)
32511 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
32512 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32513 Date: Wed Dec 30 22:54:47 2009 +0100
32515 Make cancellable optional for gio.SocketAddressEnumerator.next()
32517 gio/gio.defs | 2 +-
32518 1 file changed, 1 insertion(+), 1 deletion(-)
32520 commit b19f59790b9de943d69b6c5e483928e0443c3d20
32521 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32522 Date: Wed Dec 30 22:17:44 2009 +0100
32524 Add a remainder of the Socket methods that needs manual wrapping still
32526 gio/gsocket.override | 5 +++++
32527 1 file changed, 5 insertions(+)
32529 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
32530 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32531 Date: Wed Dec 30 17:20:35 2009 +0100
32533 Wrap gio.Socket.condition_wait() and add a test
32535 gio/gsocket.override | 27 +++++++++++++++++++++++++++
32536 tests/test_gsocket.py | 6 +++++-
32537 2 files changed, 32 insertions(+), 1 deletion(-)
32539 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
32540 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32541 Date: Wed Dec 30 16:21:49 2009 +0100
32543 Wrap gio.Socket.condition_check() and add a test
32545 gio/Makefile.am | 1 +
32546 gio/gio.override | 1 +
32547 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
32548 tests/test_gsocket.py | 21 +++++++++++++++++++++
32549 4 files changed, 64 insertions(+)
32551 commit de7a359e81792ae8573ac944455ea289985449ed
32552 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32553 Date: Wed Dec 30 14:07:52 2009 +0100
32555 Wrap gio.Resolver.lookup_service_finish() and add a test
32557 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
32558 tests/test_gresolver.py | 13 +++++++++++++
32559 2 files changed, 50 insertions(+)
32561 commit 308421789ce849040d645077c41c80b6e2e65e83
32562 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32563 Date: Wed Dec 30 14:00:22 2009 +0100
32565 Wrap gio.Resolver.lookup_service_async()
32567 gio/gresolver.override | 48
32568 ++++++++++++++++++++++++++++++++++++++++++++++++
32569 1 file changed, 48 insertions(+)
32571 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
32572 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32573 Date: Wed Dec 30 11:11:32 2009 +0100
32575 Wrap gio.Resolver.lookup_service() and add a test
32577 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32578 tests/test_gresolver.py | 5 +++++
32579 2 files changed, 47 insertions(+)
32581 commit 7fc71f490494dae73a5264869a97a9d30814930e
32582 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32583 Date: Tue Dec 29 22:12:50 2009 +0100
32585 Wrap gio.Resolver.lookup_by_address_async() and add a test
32587 gio/gresolver.override | 46
32588 ++++++++++++++++++++++++++++++++++++++++++++++
32589 tests/test_gresolver.py | 14 ++++++++++++++
32590 2 files changed, 60 insertions(+)
32592 commit c91656dbe56f07d3ebbad5113467c22427cf212a
32593 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32594 Date: Tue Dec 29 21:41:30 2009 +0100
32596 Wrap gio.Resolver.lookup_by_name_finish() and add a test
32598 gio/gresolver.override | 82
32599 +++++++++++++++++++++++++++++++++++++++++++++++++
32600 tests/test_gresolver.py | 16 ++++++++--
32601 2 files changed, 96 insertions(+), 2 deletions(-)
32603 commit 45b477342fa1c2435917c6d97745ad57665c4734
32604 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32605 Date: Tue Dec 29 17:15:44 2009 +0100
32607 Wrap gio.Drive.eject_with_data()
32609 gio/gdrive.override | 54
32610 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32611 1 file changed, 54 insertions(+)
32613 commit 635227480f9659a1f91ab1ec12536d3ed012a976
32614 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32615 Date: Tue Dec 29 17:06:52 2009 +0100
32617 Deprecate old gio.Drive methods
32619 gio/gdrive.override | 7 ++++++-
32621 2 files changed, 7 insertions(+), 1 deletion(-)
32623 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
32624 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32625 Date: Tue Dec 29 13:51:54 2009 +0100
32627 Small fix in the header
32629 gio/gdrive.override | 2 +-
32630 1 file changed, 1 insertion(+), 1 deletion(-)
32632 commit 7589128515b79d836365247dc876538c6352da23
32633 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32634 Date: Tue Dec 29 12:40:50 2009 +0100
32636 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
32638 gio/Makefile.am | 1 +
32639 gio/gio.override | 1 +
32640 gio/gresolver.override | 57
32641 +++++++++++++++++++++++++++++++++++++++++++++++++
32642 tests/test_gresolver.py | 21 ++++++++++++++++++
32643 4 files changed, 80 insertions(+)
32645 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
32646 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32647 Date: Tue Dec 29 12:39:13 2009 +0100
32649 Make cancellable an optional parameter in
32650 gio.Resolver.lookup_by_address()
32652 gio/gio.defs | 2 +-
32653 1 file changed, 1 insertion(+), 1 deletion(-)
32655 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
32656 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32657 Date: Tue Dec 29 10:15:14 2009 +0100
32659 Strip g_ prefix for many other functions
32662 ++++++++++++++++++++++++++++++------------------------------
32663 1 file changed, 47 insertions(+), 47 deletions(-)
32665 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
32666 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32667 Date: Tue Dec 29 10:12:53 2009 +0100
32669 Strip g_prefix from InetAddress functions
32671 gio/gio.defs | 8 ++++----
32672 1 file changed, 4 insertions(+), 4 deletions(-)
32674 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
32675 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32676 Date: Tue Dec 29 10:03:59 2009 +0100
32678 Fix function name gio.resolver_get_default()
32680 Strip the g_ prefix from function name
32682 gio/gio.defs | 2 +-
32683 1 file changed, 1 insertion(+), 1 deletion(-)
32685 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
32686 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32687 Date: Tue Dec 29 09:54:05 2009 +0100
32689 Wrap gio.FileIOStream.query_info_async() and add a test
32691 gio/Makefile.am | 1 +
32692 gio/gfileiostream.override | 68
32693 ++++++++++++++++++++++++++++++++++++++++++++++
32694 gio/gio.override | 1 +
32695 tests/test_gio.py | 18 ++++++++++++
32696 4 files changed, 88 insertions(+)
32698 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
32699 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32700 Date: Tue Dec 29 13:08:29 2009 +0100
32702 Register enums and flags in PyGI if needed
32704 https://bugzilla.gnome.org/show_bug.cgi?id=603534
32706 gobject/pygenum.c | 20 ++++++++++++++------
32707 gobject/pygflags.c | 19 +++++++++++++------
32708 2 files changed, 27 insertions(+), 12 deletions(-)
32710 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
32711 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32712 Date: Mon Dec 28 22:41:54 2009 +0100
32714 Wrap GIOStream.close_async() and add a test
32716 gio/Makefile.am | 1 +
32717 gio/gio.override | 1 +
32718 gio/giostream.override | 68
32719 ++++++++++++++++++++++++++++++++++++++++++++++++++
32720 tests/test_gio.py | 21 ++++++++++++++++
32721 4 files changed, 91 insertions(+)
32723 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
32724 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32725 Date: Mon Dec 28 22:39:09 2009 +0100
32727 Make cancellable an optional parameter in GFile.create_readwrite()
32729 gio/gio.defs | 2 +-
32730 1 file changed, 1 insertion(+), 1 deletion(-)
32732 commit 1cabd733cde269ce3164834933f4a226673ecb0b
32733 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32734 Date: Mon Dec 28 21:39:50 2009 +0100
32736 Remove a duplicate entry in gio.defs
32738 gio/gio.defs | 9 ---------
32739 1 file changed, 9 deletions(-)
32741 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
32742 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32743 Date: Mon Dec 28 21:37:49 2009 +0100
32745 Wrap gio.FileInfo.set_modification_time and add a test
32747 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
32748 tests/test_gio.py | 7 ++++++-
32749 2 files changed, 38 insertions(+), 2 deletions(-)
32751 commit 7bc2673f92138b1804d8eba091942d14d8884f90
32752 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32753 Date: Mon Dec 28 18:28:03 2009 +0100
32755 Wrap gio.EmblemedIcon.get_emblems() and add a test
32757 gio/gicon.override | 14 ++++++++++++++
32758 tests/test_gicon.py | 7 +++++++
32759 2 files changed, 21 insertions(+)
32761 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
32762 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32763 Date: Sat Dec 26 22:27:48 2009 +0100
32765 Update Enums and Flags with new API
32767 gio/gio-types.defs | 153
32768 +++++++++++++++++++++++++++++++++++++++++++++++++++--
32769 1 file changed, 149 insertions(+), 4 deletions(-)
32771 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
32772 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32773 Date: Fri Dec 25 18:06:39 2009 +0100
32775 Post release version bump to 2.21.1
32777 configure.ac | 2 +-
32778 1 file changed, 1 insertion(+), 1 deletion(-)
32780 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
32781 Author: Bastian Winkler <buz@netbuz.org>
32782 Date: Fri Aug 14 15:10:26 2009 +0200
32784 Fix handling of uchar in pyg_value_from_pyobject
32786 Set the value by g_value_set_uchar and allow to use integer types
32789 gobject/pygtype.c | 15 +++++++++++----
32790 1 file changed, 11 insertions(+), 4 deletions(-)
32792 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
32793 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32794 Date: Tue Dec 22 18:05:47 2009 +0100
32796 Add Gtk.keysyms to overrides
32798 gi/overrides/Gtk.py | 2 +
32799 gi/overrides/Makefile.am | 1 +
32800 gi/overrides/keysyms.py | 1499
32801 ++++++++++++++++++++++++++++++++++++++++++++++
32802 3 files changed, 1502 insertions(+)
32804 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
32805 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32806 Date: Wed Nov 25 10:33:56 2009 +0100
32808 The array field 'length' starts to count from the C arg list, so
32809 need to decrement when it's a method
32811 https://bugzilla.gnome.org/show_bug.cgi?id=602640
32813 gi/pygi-argument.c | 11 +++++++++-
32814 gi/pygi-argument.h | 3 ++-
32815 gi/pygi-info.c | 14 +++++++++++--
32816 tests/libtestgi.c | 60
32817 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32818 tests/libtestgi.h | 4 ++++
32819 tests/test_gi.py | 15 ++++++++++++++
32820 6 files changed, 103 insertions(+), 4 deletions(-)
32822 commit 867536c6734e606d045760837ed22583da06566e
32823 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32824 Date: Fri Dec 18 10:50:09 2009 +0100
32826 Update NEWS and README, release pygobject 2.21.0
32828 NEWS | 18 ++++++++++++++++++
32830 2 files changed, 21 insertions(+), 3 deletions(-)
32832 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
32833 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32834 Date: Fri Dec 18 10:31:48 2009 +0100
32836 Add pygi-external.h into Makefile SOURCES
32838 gobject/Makefile.am | 3 ++-
32839 1 file changed, 2 insertions(+), 1 deletion(-)
32841 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
32842 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32843 Date: Fri Dec 18 01:20:34 2009 +0100
32845 Bug 598435 - No wrapping for g_find_program_in_path ()
32847 glib/glibmodule.c | 20 ++++++++++++++++++++
32848 1 file changed, 20 insertions(+)
32850 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
32851 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32852 Date: Thu Dec 17 21:54:36 2009 +0100
32854 Wrap new API added in GIO-UNIX 2.22
32856 gio/unix-types.defs | 22 ++++++++++
32857 gio/unix.defs | 115
32858 +++++++++++++++++++++++++++++++++++++++++++++++++++-
32859 gio/unix.override | 8 ++++
32860 3 files changed, 144 insertions(+), 1 deletion(-)
32862 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
32863 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32864 Date: Thu Dec 17 21:52:11 2009 +0100
32866 Bump required glib version to 2.22.4
32868 I've committed a patch to glib which will be released in the stable
32870 Without the patch the unix module will fail, so I'm forced to bump.
32872 configure.ac | 6 +++---
32873 1 file changed, 3 insertions(+), 3 deletions(-)
32875 commit b630c8d4b1e55938dac89729768c4a877b305215
32876 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32877 Date: Thu Dec 17 02:24:45 2009 +0100
32879 Properly define Connectable as interface type and not object type
32881 gio/gio-types.defs | 12 ++++++------
32882 1 file changed, 6 insertions(+), 6 deletions(-)
32884 commit e955b931b07113c7432f7a85f882f69f12d263ad
32885 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
32886 Date: Mon Nov 30 22:01:25 2009 +0100
32888 Depend on GLib 2.20 rather than 2.22
32890 Backport g_array_get_element_size.
32892 https://bugzilla.gnome.org/show_bug.cgi?id=603411
32894 configure.ac | 2 +-
32895 gi/pygi-private.h | 19 +++++++++++++++++++
32896 2 files changed, 20 insertions(+), 1 deletion(-)
32898 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
32899 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32900 Date: Sat Nov 28 18:48:19 2009 +0000
32902 Use the limit constants from glib and interpret G_MAXUINT32 as
32903 PyLong_FromLongLong
32905 https://bugzilla.gnome.org/show_bug.cgi?id=602384
32907 gi/pygi-argument.c | 14 +++++++-------
32908 tests/test_gi.py | 18 +++++++++---------
32909 2 files changed, 16 insertions(+), 16 deletions(-)
32911 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
32912 Author: Simon van der Linden <svdlinden@src.gnome.org>
32913 Date: Mon Nov 30 00:10:56 2009 +0100
32915 Suppress warnings about format conversion
32917 https://bugzilla.gnome.org/show_bug.cgi?id=603355
32919 gobject/generate-constants.c | 32 ++++++++++++++++----------------
32920 1 file changed, 16 insertions(+), 16 deletions(-)
32922 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
32923 Author: Simon van der Linden <svdlinden@src.gnome.org>
32924 Date: Sat Nov 28 00:22:21 2009 +0100
32926 Remove global checks for pointers and move them in type cases that
32929 gi/pygi-argument.c | 516
32930 +++++++++++++++++++++++++++++++++++++++++++----------
32931 gi/pygi-info.c | 333 +++++++++++++++++-----------------
32932 2 files changed, 596 insertions(+), 253 deletions(-)
32934 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
32935 Author: Johan Dahlin <johan@gnome.org>
32936 Date: Mon Nov 23 15:58:17 2009 -0200
32938 Pythonify. Avoid ; and () around if statements
32940 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32942 gi/types.py | 8 ++++----
32943 1 file changed, 4 insertions(+), 4 deletions(-)
32945 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
32946 Author: Johan Dahlin <johan@gnome.org>
32947 Date: Tue Nov 24 10:36:18 2009 -0200
32949 Remove trailing whitespace
32951 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32953 gi/module.py | 4 ++--
32954 1 file changed, 2 insertions(+), 2 deletions(-)
32956 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
32957 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32958 Date: Mon Nov 30 10:03:34 2009 +0000
32960 Set a default constructor for boxed structs that don't have one
32962 https://bugzilla.gnome.org/show_bug.cgi?id=602735
32964 gi/Makefile.am | 2 +
32965 gi/gimodule.c | 1 +
32966 gi/module.py | 2 +-
32967 gi/pygi-argument.c | 14 +++-
32968 gi/pygi-boxed.c | 184
32969 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32970 gi/pygi-boxed.h | 40 ++++++++++++
32971 gi/pygi-info.c | 2 +-
32972 gi/pygi-private.h | 1 +
32974 gi/types.py | 18 ------
32975 tests/libtestgi.c | 72 ++++++++++-----------
32976 tests/libtestgi.h | 18 +++---
32977 tests/test_gi.py | 47 ++++++++------
32978 13 files changed, 321 insertions(+), 86 deletions(-)
32980 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
32981 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32982 Date: Mon Nov 30 10:53:57 2009 +0000
32984 Revert "Use the limit constants from glib and interpret G_MAXUINT32
32985 as PyLong_FromLongLong"
32987 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
32989 gi/pygi-argument.c | 14 +++++++-------
32990 tests/test_gi.py | 18 +++++++++---------
32991 2 files changed, 16 insertions(+), 16 deletions(-)
32993 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
32994 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32995 Date: Sat Nov 28 18:48:19 2009 +0000
32997 Use the limit constants from glib and interpret G_MAXUINT32 as
32998 PyLong_FromLongLong
33000 https://bugzilla.gnome.org/show_bug.cgi?id=602384
33002 gi/pygi-argument.c | 14 +++++++-------
33003 tests/test_gi.py | 18 +++++++++---------
33004 2 files changed, 16 insertions(+), 16 deletions(-)
33006 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
33007 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33008 Date: Sat Nov 28 18:45:54 2009 +0000
33010 Add the missing limit constants from glibconfig.h
33012 https://bugzilla.gnome.org/show_bug.cgi?id=603244
33014 gobject/generate-constants.c | 17 ++++++++++++++++-
33015 1 file changed, 16 insertions(+), 1 deletion(-)
33017 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
33018 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33019 Date: Sat Nov 28 18:48:49 2009 +0100
33021 Fix bad name when rebuilding the unix source module
33023 gio/Makefile.am | 2 +-
33024 1 file changed, 1 insertion(+), 1 deletion(-)
33026 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
33027 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33028 Date: Sat Nov 28 18:47:26 2009 +0100
33030 Wrap new API added in GIO 2.22
33032 gio/gio-types.defs | 138 +++
33033 gio/gio.defs | 2444
33034 +++++++++++++++++++++++++++++++++++++++++++++++-----
33035 2 files changed, 2360 insertions(+), 222 deletions(-)
33037 commit 96f6c638709636d7e2ddf560b877879691da3314
33038 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33039 Date: Sat Nov 28 11:03:51 2009 +0000
33041 A few tests about interfaces
33043 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33045 tests/libtestgi.c | 23 +++++++++++++++++++++++
33046 tests/libtestgi.h | 16 ++++++++++++++++
33047 tests/test_gi.py | 21 +++++++++++++++++++++
33048 3 files changed, 60 insertions(+)
33050 commit 076ba3156c13375a75983cef7a409c8c8afea119
33051 Author: Simon van der Linden <svdlinden@src.gnome.org>
33052 Date: Thu Nov 26 23:50:54 2009 +0100
33054 Fix members initialization in metaclasses
33056 In metaclasses, the test for the name of the class was wrong, since it
33057 prevented one to create a subclass with the same name (especially
33059 overrides). Now, if a GType is available from the info, the fact
33061 doesn't have any wrapper yet means that the metaclass is creating
33063 class, which will be registerd just after its creation. This is
33065 objects, and for structures registered as boxed or pointer too.
33067 This patch includes a test for basic subclassing in Python. It
33069 that methods don't get overridden by the metaclass.
33071 gi/types.py | 5 +++--
33072 tests/test_gi.py | 19 +++++++++++++++++++
33073 2 files changed, 22 insertions(+), 2 deletions(-)
33075 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
33076 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33077 Date: Fri Nov 27 12:06:59 2009 +0000
33079 Structs in arrays are not marshalled correctly
33081 https://bugzilla.gnome.org/show_bug.cgi?id=602709
33083 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
33084 tests/libtestgi.c | 23 ++++++++++++++++++++++-
33085 tests/libtestgi.h | 7 +++++--
33086 tests/test_gi.py | 8 ++++++++
33087 4 files changed, 59 insertions(+), 8 deletions(-)
33089 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
33090 Author: Simon van der Linden <svdlinden@src.gnome.org>
33091 Date: Wed Nov 25 16:53:55 2009 +0100
33093 Use the right variable when looking up in sys.modules
33095 gi/importer.py | 2 +-
33096 1 file changed, 1 insertion(+), 1 deletion(-)
33098 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
33099 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33100 Date: Tue Nov 24 15:52:47 2009 +0100
33102 Accept 0 as a valid value for flag and enum arguments
33104 https://bugzilla.gnome.org/show_bug.cgi?id=602638
33106 gi/pygi-argument.c | 19 ++++++++++++++++++-
33107 tests/libtestgi.c | 6 ++++++
33108 tests/libtestgi.h | 1 +
33109 tests/test_gi.py | 1 +
33110 4 files changed, 26 insertions(+), 1 deletion(-)
33112 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
33113 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33114 Date: Tue Nov 24 13:10:11 2009 +0100
33116 Add stuff to .gitignore
33118 .gitignore | 7 +++++++
33119 1 file changed, 7 insertions(+)
33121 commit 5c010fe673d9bd01c27c8d7d312064665275888c
33122 Author: Simon van der Linden <svdlinden@src.gnome.org>
33123 Date: Mon Nov 23 22:39:12 2009 +0100
33125 Remove the girepository module
33128 configure.ac | 17 -
33129 girepository/Makefile.am | 54 --
33130 girepository/__init__.py | 24 -
33131 girepository/bank-argument.c | 379 ------------
33132 girepository/bank-info.c | 1194
33133 ------------------------------------
33134 girepository/bank-repository.c | 236 -------
33135 girepository/bank.c | 155 -----
33136 girepository/bank.h | 80 ---
33137 girepository/btypes.py | 300 ---------
33138 girepository/importer.py | 51 --
33139 girepository/module.py | 224 -------
33140 girepository/overrides/Gdk.py | 14 -
33141 girepository/overrides/Gtk.py | 8 -
33142 girepository/overrides/__init__.py | 0
33143 girepository/repository.py | 51 --
33144 tests/test_girepository.py | 386 ------------
33145 17 files changed, 1 insertion(+), 3174 deletions(-)
33147 commit a644edf0515c26ed027522891ccf02aceac764e8
33148 Author: Johan Dahlin <johan@gnome.org>
33149 Date: Mon Nov 23 15:32:16 2009 -0200
33151 Create overridden modules in two passes
33153 This patch splits overridden module creation into two passes. The
33155 creates the auto-generated module normally before the overridden
33157 attempted to be imported. The second pass imports the overridden
33159 replaces the auto-generated module with the overridden. This is
33161 for the overridden modules to be able to access the auto-generated
33164 gi/importer.py | 34 +++++++++++++++++++++-------------
33165 1 file changed, 21 insertions(+), 13 deletions(-)
33167 commit fad89e12a744b57e6348968f351d25d167de8248
33168 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33169 Date: Sun Nov 22 17:56:20 2009 +0100
33171 Add support for Any arguments
33173 https://bugzilla.gnome.org/show_bug.cgi?id=601253
33175 gi/pygi-argument.c | 20 ++++++++++++--------
33176 tests/libtestgi.c | 5 +++++
33177 tests/libtestgi.h | 5 +++++
33178 tests/test_gi.py | 5 +++++
33179 4 files changed, 27 insertions(+), 8 deletions(-)
33181 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
33182 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33183 Date: Sun Nov 22 17:25:04 2009 +0100
33185 Register interfaces
33187 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33189 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
33190 gi/types.py | 5 ++++-
33191 2 files changed, 37 insertions(+), 1 deletion(-)
33193 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
33194 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33195 Date: Sun Nov 22 18:23:02 2009 +0200
33197 Ignore one more file.
33200 1 file changed, 1 insertion(+)
33202 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
33203 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33204 Date: Sun Nov 22 18:22:23 2009 +0200
33206 Fix wrong minimum checking in float properties
33208 Bug #587637. Test the fix.
33210 gobject/propertyhelper.py | 5 +++--
33211 tests/test_properties.py | 6 ++++++
33212 2 files changed, 9 insertions(+), 2 deletions(-)
33214 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
33215 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33216 Date: Mon Oct 26 18:06:06 2009 +0000
33218 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
33220 gi/pygi-argument.c | 3 +++
33221 1 file changed, 3 insertions(+)
33223 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
33224 Author: Simon van der Linden <svdlinden@src.gnome.org>
33225 Date: Sat Nov 14 21:42:43 2009 +0100
33227 Import pygtk properly to avoid failure on some setups
33229 tests/test_gi.py | 3 +++
33230 1 file changed, 3 insertions(+)
33232 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
33233 Author: Alex Dedul <rotmer@gmail.com>
33234 Date: Sat Nov 14 21:39:15 2009 +0100
33236 Search for python-config-${VERSION} when python${VERSION}-config is
33239 On Gentoo, notably, the config tool is named python-config-${VERSION},
33241 Fedora and Ubuntu, it is named python${VERSION}-config.
33243 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
33245 configure.ac | 7 +++++--
33246 1 file changed, 5 insertions(+), 2 deletions(-)
33248 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
33249 Author: Simon van der Linden <svdlinden@src.gnome.org>
33250 Date: Sat Nov 14 21:36:19 2009 +0100
33252 Fix silent rules setup
33254 configure.ac | 2 +-
33255 1 file changed, 1 insertion(+), 1 deletion(-)
33257 commit 602afea88c338a38327cd84e08703c5daa384ec6
33258 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33259 Date: Tue Nov 10 22:32:33 2009 +0200
33261 Move threads_init() function from 'gobject' to 'glib'
33263 Retain in original place for backward compatibility, but remove it
33266 docs/reference/pygobject-functions.xml | 36
33267 +++++++---------------------------
33268 glib/glibmodule.c | 16 +++++++++++++++
33269 2 files changed, 23 insertions(+), 29 deletions(-)
33271 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
33272 Author: Simon van der Linden <svdlinden@src.gnome.org>
33273 Date: Mon Nov 9 22:44:12 2009 +0100
33275 Remove PyGObject patches since they've been merged to master
33277 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
33278 patches/0002-Fix-girpository-build-setup.patch | 186
33279 -------------------
33280 ...capabilities-to-import-wrappers-from-pygi.patch | 200
33281 ---------------------
33282 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
33283 4 files changed, 493 deletions(-)
33285 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
33286 Author: Simon van der Linden <svdlinden@src.gnome.org>
33287 Date: Sat Nov 7 23:42:07 2009 +0100
33289 Create instances by calling tp_alloc rather than PyObject_NEW
33291 PyObject_NEW calls a generic allocator and should only be called by
33293 that the type's free function agrees. In pyg_boxed_new, we may
33295 PyGBoxed subtypes, so the subtype's allocation function must be
33298 gobject/pygboxed.c | 3 ++-
33299 1 file changed, 2 insertions(+), 1 deletion(-)
33301 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
33302 Author: Simon van der Linden <svdlinden@src.gnome.org>
33303 Date: Sat Nov 7 16:43:35 2009 +0100
33305 Add capabilities to import wrappers from pygi
33307 At instance creation for boxed and pointers, at lookup for objects,
33308 when the gtype has no wrapper yet, a wrapper may be imported from
33311 The feature is turned on at configure time by --enable-pygi.
33313 Because we couldn't create a circular build dependency, PyGI's import
33315 API definition had to be copied in this tree.
33317 configure.ac | 8 ++++++
33318 gobject/pygboxed.c | 10 ++++++++
33319 gobject/pygi-external.h | 66
33320 +++++++++++++++++++++++++++++++++++++++++++++++++
33321 gobject/pygobject.c | 10 ++++++++
33322 gobject/pygpointer.c | 11 +++++++++
33323 5 files changed, 105 insertions(+)
33325 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
33326 Author: Simon van der Linden <svdlinden@src.gnome.org>
33327 Date: Sun Nov 8 20:03:58 2009 +0100
33329 Update PyGObject patches
33331 A file, pygi-external.h, was missing in patch #3.
33333 ...capabilities-to-import-wrappers-from-pygi.patch | 74
33334 ++++++++++++++++++++--
33335 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
33336 2 files changed, 69 insertions(+), 7 deletions(-)
33338 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
33339 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33340 Date: Sun Nov 8 16:52:18 2009 +0100
33342 Add myself to pygi.doap
33344 pygi.doap | 5 +++++
33345 1 file changed, 5 insertions(+)
33347 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
33348 Author: Simon van der Linden <svdlinden@src.gnome.org>
33349 Date: Sun Nov 8 15:40:51 2009 +0100
33353 pygi.doap | 17 +++++++++++++++++
33354 1 file changed, 17 insertions(+)
33356 commit ce673b9027868e6add4eeb438bc707eb40bfd046
33357 Author: Simon van der Linden <svdlinden@src.gnome.org>
33358 Date: Sun Nov 8 13:06:54 2009 +0100
33360 Add PyGObject patches
33362 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
33363 patches/0002-Fix-girpository-build-setup.patch | 186
33364 +++++++++++++++++++++
33365 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
33366 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
33367 4 files changed, 431 insertions(+)
33369 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
33370 Author: Simon van der Linden <svdlinden@src.gnome.org>
33371 Date: Sun Nov 8 12:35:08 2009 +0100
33377 autogen.sh | 159 +++
33378 configure.ac | 53 +
33379 gi/Makefile.am | 50 +
33380 gi/__init__.py | 24 +
33381 gi/gimodule.c | 144 ++
33382 gi/importer.py | 89 ++
33383 gi/module.py | 167 +++
33384 gi/overrides/Gdk.py | 21 +
33385 gi/overrides/Gtk.py | 13 +
33386 gi/overrides/Makefile.am | 10 +
33387 gi/overrides/__init__.py | 0
33388 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
33389 gi/pygi-argument.h | 65 +
33390 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
33391 gi/pygi-info.h | 64 +
33392 gi/pygi-private.h | 55 +
33393 gi/pygi-repository.c | 238 ++++
33394 gi/pygi-repository.h | 39 +
33395 gi/pygi-struct.c | 175 +++
33396 gi/pygi-struct.h | 40 +
33397 gi/pygi-type.c | 96 ++
33398 gi/pygi-type.h | 43 +
33400 gi/pygobject-external.h | 83 ++
33401 gi/repository/Makefile.am | 8 +
33402 gi/repository/__init__.py | 30 +
33403 gi/types.py | 163 +++
33404 tests/Makefile.am | 48 +
33405 tests/libtestgi.c | 3397
33406 +++++++++++++++++++++++++++++++++++++++++++++
33407 tests/libtestgi.h | 643 +++++++++
33408 tests/runtests.py | 22 +
33409 tests/test_gi.py | 1416 +++++++++++++++++++
33410 34 files changed, 11566 insertions(+)
33412 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
33413 Author: Simon van der Linden <svdlinden@src.gnome.org>
33414 Date: Sat Nov 7 13:23:53 2009 +0100
33416 Fix girpository build setup
33418 configure.ac | 21 ++++++-----
33419 girepository/Makefile.am | 13 ++++---
33420 m4/introspection.m4 | 92
33421 ++++++++++++++++++++++++++++++++++++++++++++++++
33422 3 files changed, 111 insertions(+), 15 deletions(-)
33424 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
33425 Author: Simon van der Linden <svdlinden@src.gnome.org>
33426 Date: Fri Nov 6 19:17:36 2009 +0100
33428 Make GType.pytype aware of the interface, enum, flags, pointer and
33431 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
33432 1 file changed, 33 insertions(+), 6 deletions(-)
33434 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
33435 Author: Philippe Normad <phil@base-art.net>
33436 Date: Wed Oct 21 18:01:16 2009 +0200
33438 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
33442 glib/pygmainloop.c | 95
33443 ++++++++++++++++++++++++++++--------------------------
33444 1 file changed, 50 insertions(+), 45 deletions(-)
33446 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
33447 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33448 Date: Fri Sep 25 20:12:21 2009 +0200
33450 Post release version bump to 2.21.0
33452 configure.ac | 2 +-
33453 1 file changed, 1 insertion(+), 1 deletion(-)
33455 commit 33920eb013628a5e22b7b32403fb965ae3210f47
33456 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33457 Date: Wed Sep 23 21:52:04 2009 +0200
33459 Update NEWS and release 2.20.0
33462 1 file changed, 6 insertions(+)
33464 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
33465 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33466 Date: Wed Sep 23 21:51:43 2009 +0200
33468 Bump version to 2.20.0
33470 configure.ac | 2 +-
33471 1 file changed, 1 insertion(+), 1 deletion(-)
33473 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
33474 Author: Brian Cameron <Brian.Cameron@sun.com>
33475 Date: Wed Sep 23 12:11:50 2009 -0500
33477 Updated uninstalled.pc file so that it contains the right paths for
33478 defsdir files and codegen files. See bug #596023.
33480 pygobject-2.0-uninstalled.pc.in | 4 ++--
33481 1 file changed, 2 insertions(+), 2 deletions(-)
33483 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
33484 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33485 Date: Tue Sep 22 22:02:27 2009 +0300
33487 Plug reference leak of GSource in pyg_main_loop_init()
33489 Bug #579406, second change.
33491 glib/pygmainloop.c | 1 +
33492 1 file changed, 1 insertion(+)
33494 commit 640be8109d066e85ed77c810830a5f73c750415b
33495 Author: Frédéric Péters <fpeters@0d.be>
33496 Date: Sun Aug 30 16:46:02 2009 +0200
33498 Specify programming language in .devhelp file
33500 This add a new language attribute (hardcoded to python) in the
33502 file that is produced when using ref-html-style.xsl.
33504 docs/xsl/devhelp.xsl | 2 +-
33505 1 file changed, 1 insertion(+), 1 deletion(-)
33507 commit c888b5ca722fcad6a03de585606c677c2969ebd6
33508 Author: Paolo Borelli <pborelli@gnome.org>
33509 Date: Thu Aug 13 21:32:07 2009 +0200
33511 Allow to use automake 1.11
33513 autogen.sh | 13 +++++++------
33514 1 file changed, 7 insertions(+), 6 deletions(-)
33516 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
33517 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33518 Date: Tue Aug 11 22:19:50 2009 +0200
33522 README | 10 ++++++++--
33523 1 file changed, 8 insertions(+), 2 deletions(-)
33525 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
33526 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33527 Date: Tue Aug 11 22:16:52 2009 +0200
33531 AUTHORS | 8 +++++---
33532 1 file changed, 5 insertions(+), 3 deletions(-)
33534 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
33535 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33536 Date: Tue Aug 11 22:11:43 2009 +0200
33538 Add myself and Paul as maintainers
33540 MAINTAINERS | 8 ++++++++
33541 pygobject.doap | 14 ++++++++++++++
33542 2 files changed, 22 insertions(+)
33544 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
33545 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33546 Date: Tue Aug 11 20:52:44 2009 +0200
33548 Update NEWS release 2.19.0
33550 NEWS | 29 +++++++++++++++++++++++++++++
33551 1 file changed, 29 insertions(+)
33553 commit e82a1841f31ad54dd50569d0d45290713409e0bf
33554 Author: John Finlay <finlay@moeraki.com>
33555 Date: Tue Aug 11 00:04:31 2009 -0700
33557 Add macros to help with Python list to/from GList/GSList conversions.
33559 gobject/pygobject.h | 242
33560 +++++++++++++++++++++++++++++++++++++++++++++++++++-
33561 1 file changed, 241 insertions(+), 1 deletion(-)
33563 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
33564 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33565 Date: Sat Aug 8 21:37:54 2009 +0200
33567 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
33569 gio/gfileinfo.override | 4 ++--
33570 1 file changed, 2 insertions(+), 2 deletions(-)
33572 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
33573 Author: Johan Dahlin <johan@gnome.org>
33574 Date: Fri Jul 24 14:30:37 2009 -0300
33576 Remove myself as a maintainer
33578 MAINTAINERS | 4 ----
33579 pygobject.doap | 7 -------
33580 2 files changed, 11 deletions(-)
33582 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
33583 Author: John Finlay <finlay@moeraki.com>
33584 Date: Wed Jul 8 15:47:44 2009 -0700
33586 * codegen/defsgen.py (clean_patterns): Strip out Windows
33589 codegen/defsgen.py | 6 +++---
33590 1 file changed, 3 insertions(+), 3 deletions(-)
33592 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
33593 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33594 Date: Tue Jun 23 21:18:23 2009 +0200
33596 Fix the gio.unix namespace in docs
33598 docs/Makefile.am | 2 ++
33599 docs/reference/pygio-classes.xml | 2 --
33600 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
33601 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
33602 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
33603 docs/reference/pygobject-ref.xml | 1 +
33604 6 files changed, 42 insertions(+), 28 deletions(-)
33606 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
33607 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33608 Date: Mon Jun 22 23:13:36 2009 +0200
33610 Add docs for gio functions (mostly for content types)
33612 docs/Makefile.am | 2 +
33613 docs/reference/pygio-classes.xml | 1 +
33614 docs/reference/pygio-functions.xml | 395
33615 +++++++++++++++++++++++++++++++++++++
33616 3 files changed, 398 insertions(+)
33618 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
33619 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33620 Date: Sun Jun 21 18:35:56 2009 +0200
33622 Add docs for gio.Unix[In|Out]putStream classes
33624 docs/Makefile.am | 4 +
33625 docs/reference/pygio-classes.xml | 2 +
33626 docs/reference/pygio-unixinputstream.xml | 202
33627 ++++++++++++++++++++++++++++++
33628 docs/reference/pygio-unixoutputstream.xml | 202
33629 ++++++++++++++++++++++++++++++
33630 4 files changed, 410 insertions(+)
33632 commit 5b71e58117c85634d95d08449eb54079b246e5be
33633 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33634 Date: Sun Jun 21 16:50:03 2009 +0300
33636 Document that many functions got moved gobject -> glib
33638 docs/reference/pygobject-functions.xml | 7 +++++++
33639 1 file changed, 7 insertions(+)
33641 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
33642 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33643 Date: Sat Jun 20 19:23:25 2009 +0200
33645 Add docs for class gio.DataOutputStream
33647 docs/Makefile.am | 2 +
33648 docs/reference/pygio-classes.xml | 1 +
33649 docs/reference/pygio-dataoutputstream.xml | 504
33650 ++++++++++++++++++++++++++++++
33651 3 files changed, 507 insertions(+)
33653 commit 549313fc4886fa3deb31761de6f5400708165d86
33654 Author: Murray Cumming <murrayc@murrayc.com>
33655 Date: Thu Jun 18 18:48:37 2009 +0200
33657 Allow h2def.py to work when there are tabs or multiple spaces after
33658 the struct keyword.
33660 codegen/h2def.py | 8 ++++----
33661 1 file changed, 4 insertions(+), 4 deletions(-)
33663 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
33664 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33665 Date: Mon Jun 15 23:02:34 2009 +0200
33667 Add dpcs for class gio.DataInputStream
33669 docs/Makefile.am | 2 +
33670 docs/reference/pygio-classes.xml | 1 +
33671 docs/reference/pygio-constants.xml | 66 +++
33672 docs/reference/pygio-datainputstream.xml | 799
33673 +++++++++++++++++++++++++++++++
33674 4 files changed, 868 insertions(+)
33676 commit a8b36c343c6850af929c1d5a930f923831b4e637
33677 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
33678 Date: Mon Jun 15 23:25:01 2009 +0300
33680 Fix build when builddir is not the same as srcdir
33684 girepository/Makefile.am | 2 +-
33685 1 file changed, 1 insertion(+), 1 deletion(-)
33687 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
33688 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33689 Date: Mon Jun 15 23:19:47 2009 +0300
33691 Make gio.Emblem constructor new-style
33693 Add optional 'origin' parameter. Expand gio.Emblem documentation and
33694 mark gio.emblem_new_with_origin as sort-of-deprecated.
33696 docs/reference/pygio-emblem.xml | 51
33697 +++++++++++++++++++++++++++++++++++++++--
33698 gio/gio.defs | 5 ++--
33699 2 files changed, 52 insertions(+), 4 deletions(-)
33701 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
33702 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33703 Date: Sat Jun 13 14:44:47 2009 +0200
33705 Add docs for gio.BufferedOutputStream class
33707 docs/Makefile.am | 96 ++++-----
33708 docs/reference/pygio-bufferedoutputstream.xml | 275
33709 ++++++++++++++++++++++++++
33710 docs/reference/pygio-classes.xml | 1 +
33711 3 files changed, 325 insertions(+), 47 deletions(-)
33713 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
33714 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33715 Date: Sat Jun 13 14:38:34 2009 +0200
33717 Fix gio.BufferedInputStream docs
33719 Added the constructor reference and fixed a typo in properties header
33721 docs/reference/pygio-bufferedinputstream.xml | 34
33722 ++++++++++++++++++++++++++--
33723 1 file changed, 32 insertions(+), 2 deletions(-)
33725 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
33726 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33727 Date: Sat Jun 13 01:25:06 2009 +0200
33729 Add docs for gio.BufferedInputStream
33731 docs/Makefile.am | 2 +
33732 docs/reference/pygio-bufferedinputstream.xml | 431
33733 +++++++++++++++++++++++++++
33734 docs/reference/pygio-classes.xml | 1 +
33735 3 files changed, 434 insertions(+)
33737 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
33738 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33739 Date: Sun May 31 18:25:47 2009 +0300
33741 Cleanup GIO overrides to use Python function/method names
33743 Also move several gio.Mount overrides over from 'gio.override' to
33744 existing 'gmount.override'. Part of bug #584289.
33746 gio/gfile.override | 20 ++---
33747 gio/gfileenumerator.override | 6 +-
33748 gio/ginputstream.override | 2 +-
33749 gio/gio.override | 204
33750 -------------------------------------------
33751 gio/gmount.override | 204
33752 +++++++++++++++++++++++++++++++++++++++++++
33753 5 files changed, 218 insertions(+), 218 deletions(-)
33755 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
33756 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33757 Date: Sun May 31 18:56:55 2009 +0300
33759 Make codegen report errors using Python function/method names
33761 Part of bug #584289.
33763 codegen/codegen.py | 9 +++++----
33764 codegen/definitions.py | 10 +++++++++-
33765 2 files changed, 14 insertions(+), 5 deletions(-)
33767 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
33768 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33769 Date: Fri Jun 12 00:12:17 2009 +0200
33771 Fix object type in gio.BufferedInputStream_fill_async
33773 gio/gbufferedinputstream.override | 2 +-
33774 1 file changed, 1 insertion(+), 1 deletion(-)
33776 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
33777 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33778 Date: Tue Jun 9 00:08:21 2009 +0200
33780 Wrap gio.BufferedInputStream.fill_async
33782 Wrap the method gio.BufferedInputStream.fill_async and add a test
33784 gio/Makefile.am | 1 +
33785 gio/gbufferedinputstream.override | 70
33786 +++++++++++++++++++++++++++++++++++++++
33787 gio/gio.override | 1 +
33788 tests/test_gio.py | 25 ++++++++++++++
33789 4 files changed, 97 insertions(+)
33791 commit b7c96b41b287685fe57504e0add3a6f16e649975
33792 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33793 Date: Mon Jun 8 15:42:40 2009 +0200
33795 Add gio.BufferedOutputStream which was forgotten in the types
33798 gio/gio-types.defs | 7 +++++++
33799 1 file changed, 7 insertions(+)
33801 commit 3666f75af4ef2c8e038116aee5afada59d59f689
33802 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33803 Date: Mon Jun 8 14:20:02 2009 +0200
33805 Add docs for gio.MemoryOutputStream
33807 docs/Makefile.am | 2 +
33808 docs/reference/pygio-classes.xml | 1 +
33809 docs/reference/pygio-memoryoutputstream.xml | 175
33810 ++++++++++++++++++++++++++++
33811 3 files changed, 178 insertions(+)
33813 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
33814 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33815 Date: Mon Jun 8 13:30:15 2009 +0200
33817 Split overrides for gio.MemoryOutputStream
33819 gio/Makefile.am | 1 +
33820 gio/gio.override | 1 +
33821 gio/gmemoryoutputstream.override | 45
33822 ++++++++++++++++++++++++++++++++++++++++
33823 gio/goutputstream.override | 24 ---------------------
33824 4 files changed, 47 insertions(+), 24 deletions(-)
33826 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
33827 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33828 Date: Mon Jun 8 11:45:11 2009 +0200
33830 Wrap gio.memory_input_stream_new_from_data
33832 Add the wrapper for gio.memory_input_stream_new_from_data including
33835 docs/Makefile.am | 4 +-
33836 docs/reference/pygio-classes.xml | 1 +
33837 docs/reference/pygio-memoryinputstream.xml | 151
33838 +++++++++++++++++++++++++++++
33839 gio/Makefile.am | 1 +
33840 gio/ginputstream.override | 34 -------
33841 gio/gio.override | 1 +
33842 gio/gmemoryinputstream.override | 91 +++++++++++++++++
33843 tests/test_gio.py | 4 +
33844 8 files changed, 252 insertions(+), 35 deletions(-)
33846 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
33847 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33848 Date: Mon Jun 8 19:15:24 2009 +0200
33850 Fixes whitespaces style issues with girepository.
33852 girepository/Makefile.am | 2 +-
33853 girepository/bank-repository.c | 67
33854 +++++++++++++++++++++---------------------
33855 girepository/bank.h | 2 +-
33856 girepository/btypes.py | 6 ++--
33857 girepository/module.py | 2 +-
33858 5 files changed, 39 insertions(+), 40 deletions(-)
33860 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
33861 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33862 Date: Fri Jun 5 19:03:59 2009 +0200
33864 Removes the header but the modeline in test_girepository.py.
33866 tests/test_girepository.py | 26 +-------------------------
33867 1 file changed, 1 insertion(+), 25 deletions(-)
33869 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
33870 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33871 Date: Wed Jun 3 10:47:58 2009 +0200
33873 Adds overrides modules from PyBank.
33875 girepository/Makefile.am | 3 +++
33876 girepository/importer.py | 3 +--
33877 girepository/overrides/Gdk.py | 14 ++++++++++++++
33878 girepository/overrides/Gtk.py | 8 ++++++++
33879 girepository/overrides/__init__.py | 0
33880 5 files changed, 26 insertions(+), 2 deletions(-)
33882 commit c12964e6a3354d8063355225c94e6d21d621e08b
33883 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33884 Date: Tue Jun 2 23:40:41 2009 +0200
33886 Disables the tests that fail in tests/test_girepository.py.
33888 tests/test_girepository.py | 242
33889 ++++++++++++++++++++++++++++++++++-----------
33890 1 file changed, 182 insertions(+), 60 deletions(-)
33892 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
33893 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33894 Date: Tue Jun 2 23:03:26 2009 +0200
33896 Imports test_girepository.py from former PyBank's
33897 everything_unittest.py.
33899 tests/test_girepository.py | 288
33900 +++++++++++++++++++++++++++++++++++++++++++++
33901 1 file changed, 288 insertions(+)
33903 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
33904 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33905 Date: Thu May 28 17:45:11 2009 +0200
33907 Introduces the girepository module from the former PyBank.
33911 configure.ac | 12 +
33912 girepository/Makefile.am | 52 ++
33913 girepository/__init__.py | 24 +
33914 girepository/bank-argument.c | 379 +++++++++++++
33915 girepository/bank-info.c | 1194
33916 ++++++++++++++++++++++++++++++++++++++++
33917 girepository/bank-repository.c | 237 ++++++++
33918 girepository/bank.c | 155 ++++++
33919 girepository/bank.h | 80 +++
33920 girepository/btypes.py | 300 ++++++++++
33921 girepository/importer.py | 52 ++
33922 girepository/module.py | 224 ++++++++
33923 girepository/repository.py | 51 ++
33924 14 files changed, 2799 insertions(+), 32 deletions(-)
33926 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
33927 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33928 Date: Tue Jun 2 18:28:22 2009 +0200
33930 Fix the docs for gio.FilterOutputStream
33932 docs/reference/pygio-filteroutputstream.xml | 6 +++---
33933 1 file changed, 3 insertions(+), 3 deletions(-)
33935 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
33936 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33937 Date: Tue Jun 2 18:27:00 2009 +0200
33939 Add gio.FilterOutputStream docs
33941 docs/Makefile.am | 2 +
33942 docs/reference/pygio-classes.xml | 1 +
33943 docs/reference/pygio-filteroutputstream.xml | 152
33944 ++++++++++++++++++++++++++++
33945 3 files changed, 155 insertions(+)
33947 commit e2c31f916967229b6547e68013628ce0082cf875
33948 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33949 Date: Tue Jun 2 13:29:59 2009 +0200
33951 Add gio.FilterInputStream docs
33953 docs/Makefile.am | 2 +
33954 docs/reference/pygio-classes.xml | 1 +
33955 docs/reference/pygio-filterinputstream.xml | 152
33956 +++++++++++++++++++++++++++++
33957 3 files changed, 155 insertions(+)
33959 commit 49a467eee445bc75554db0374006722ac075194b
33960 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33961 Date: Tue Jun 2 11:33:20 2009 +0200
33963 Add API appeared in 2.20 but not marked as such in gio docs
33965 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
33966 1 file changed, 30 insertions(+)
33968 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
33969 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33970 Date: Tue Jun 2 10:41:26 2009 +0200
33972 Wrap gio.FileOutputStream.query_info_async
33974 Add the wrapper for gio.FileOutputStream.query_info_async
33975 including docs and a test.
33977 docs/Makefile.am | 2 +
33978 docs/reference/pygio-classes.xml | 1 +
33979 docs/reference/pygio-fileoutputstream.xml | 257
33980 ++++++++++++++++++++++++++++++
33981 gio/Makefile.am | 3 +-
33982 gio/gfileoutputstream.override | 68 ++++++++
33983 gio/gio.override | 1 +
33984 tests/test_gio.py | 27 ++++
33985 7 files changed, 358 insertions(+), 1 deletion(-)
33987 commit 4673577d1f6c3d54423808dd575987092fb05ad2
33988 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33989 Date: Tue Jun 2 10:17:41 2009 +0200
33991 Fix gio.FileInputStream docs
33993 Add implemented interface section and remove a method description
33995 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
33996 1 file changed, 9 insertions(+), 16 deletions(-)
33998 commit 1e1cad02879d514745b5233658654cbe944530a5
33999 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34000 Date: Mon Jun 1 22:54:26 2009 +0200
34002 Fix the method name
34004 gio/gfileinputstream.override | 14 +++++++-------
34005 1 file changed, 7 insertions(+), 7 deletions(-)
34007 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
34008 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34009 Date: Mon Jun 1 22:40:56 2009 +0200
34011 Wrap gio.FileInputStream.query_async
34013 Add the wrapper for gio.FileInputStream.query_async including docs and
34016 docs/Makefile.am | 2 +
34017 docs/reference/pygio-classes.xml | 1 +
34018 docs/reference/pygio-fileinputstream.xml | 221
34019 +++++++++++++++++++++++++++++++
34020 gio/Makefile.am | 1 +
34021 gio/gfileinputstream.override | 68 ++++++++++
34022 gio/gio.override | 1 +
34023 tests/test_gio.py | 27 ++++
34024 7 files changed, 321 insertions(+)
34026 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
34027 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34028 Date: Sun May 31 17:43:16 2009 +0300
34030 Install executable codegen parts with executing permissions
34032 Also add shebang where it was missing. Bug #583979.
34034 codegen/Makefile.am | 23 ++++++++++++-----------
34035 codegen/code-coverage.py | 2 ++
34036 codegen/codegen.py | 2 ++
34037 codegen/createdefs.py | 0
34038 codegen/defsconvert.py | 2 ++
34039 codegen/defsgen.py | 0
34040 codegen/docgen.py | 0
34041 codegen/scmexpr.py | 0
34042 8 files changed, 18 insertions(+), 11 deletions(-)
34044 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
34045 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34046 Date: Sat May 30 16:57:49 2009 +0300
34048 Wrap gio.DataInputStream.read_line_async and read_until_async
34050 Wrap the functions and their corresponding *_finish() functions.
34051 Create 'gdatainputstream.override' for these and move two existing
34052 functions there. Add unit tests. Re-enable synchronous read_line
34053 unit test and adjust it for new official GIO behavior. Bug #584285.
34055 gio/Makefile.am | 1 +
34056 gio/gdatainputstream.override | 250
34057 ++++++++++++++++++++++++++++++++++++++++++
34058 gio/ginputstream.override | 65 -----------
34059 gio/gio.defs | 4 +-
34060 gio/gio.override | 1 +
34061 tests/test_gio.py | 51 ++++++++-
34062 6 files changed, 300 insertions(+), 72 deletions(-)
34064 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
34065 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34066 Date: Sat May 30 17:24:15 2009 +0300
34068 Fix gio.OutputStream.splice_async
34072 gio/goutputstream.override | 8 ++++----
34073 1 file changed, 4 insertions(+), 4 deletions(-)
34075 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
34076 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34077 Date: Wed May 27 21:19:27 2009 +0300
34079 Code maintenance: ignore one more file created by unit tests
34081 tests/.gitignore | 1 +
34082 1 file changed, 1 insertion(+)
34084 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
34085 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34086 Date: Mon May 25 20:20:38 2009 +0200
34088 Update the docs with new 2.20 API
34090 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
34091 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
34092 docs/reference/pygio-mount.xml | 156
34093 +++++++++++++++++++++++++++++++++++++++
34094 3 files changed, 367 insertions(+), 3 deletions(-)
34096 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
34097 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34098 Date: Mon May 25 01:33:08 2009 +0200
34102 add the new API added in gio 2.20, some needs to be wrapped manually
34105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34106 gio/unix.defs | 48 +++++++++++++++++++++-----
34107 2 files changed, 146 insertions(+), 8 deletions(-)
34109 commit 0d08df42514fba6abc896814abfee0d2d083c29e
34110 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34111 Date: Mon May 25 00:14:21 2009 +0200
34113 Post release version bump 2.19.0
34115 configure.ac | 2 +-
34116 1 file changed, 1 insertion(+), 1 deletion(-)
34118 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
34119 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34120 Date: Sun May 24 23:56:29 2009 +0200
34122 Update NEWS, release 2.18.0
34124 NEWS | 14 ++++++++++++++
34125 configure.ac | 4 ++--
34126 2 files changed, 16 insertions(+), 2 deletions(-)
34128 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
34129 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34130 Date: Sun May 24 22:18:40 2009 +0200
34132 Add documentation for the gio.OutputStream class
34134 The docs for this class are not completed, missing methods
34136 The index is complete though, it will be completed once all the
34138 are in place so we can ship a (almost) complete reference.
34140 docs/Makefile.am | 2 +
34141 docs/reference/pygio-classes.xml | 3 +-
34142 docs/reference/pygio-outputstream.xml | 140
34143 ++++++++++++++++++++++++++++++++++
34144 3 files changed, 144 insertions(+), 1 deletion(-)
34146 commit 11524cdf6472d9115a812ce431f6767aec5627bc
34147 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34148 Date: Sun May 24 22:12:04 2009 +0200
34150 Wrap gio.OutputStream.splice_async()
34152 wrap gio.OutputStream.splice_async() and add a test.
34154 gio/goutputstream.override | 58
34155 +++++++++++++++++++++++++++++++++++++++++++++-
34156 tests/test_gio.py | 20 ++++++++++++++++
34157 2 files changed, 77 insertions(+), 1 deletion(-)
34159 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
34160 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
34161 Date: Sun May 24 22:55:16 2009 +0300
34163 Add Python version into installed libpyglib name
34165 Do this now, while no-one (as far as we know) links to the library
34166 besides PyGObject itself. Bug #550235.
34168 configure.ac | 2 ++
34169 gio/Makefile.am | 2 +-
34170 glib/Makefile.am | 10 +++++-----
34171 gobject/Makefile.am | 2 +-
34172 4 files changed, 9 insertions(+), 7 deletions(-)
34174 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
34175 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34176 Date: Sun May 24 11:44:24 2009 +0200
34178 Wrap gio.OutputStream.flush_async()
34180 wrap gio.OutputStream.flush_async() and add a test.
34182 gio/goutputstream.override | 47
34183 +++++++++++++++++++++++++++++++++++++++++++++-
34184 tests/test_gio.py | 11 +++++++++++
34185 2 files changed, 57 insertions(+), 1 deletion(-)
34187 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
34188 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34189 Date: Sun May 17 17:29:37 2009 +0200
34191 Add documentation for the gio.FileMonitor class
34193 The docs for this class are not completed, missing methods
34195 The index is complete though, it will be completed once all the
34197 are in place so we can ship a (almost) complete reference.
34199 docs/Makefile.am | 2 +
34200 docs/reference/pygio-classes.xml | 1 +
34201 docs/reference/pygio-filemonitor.xml | 128
34202 +++++++++++++++++++++++++++++++++++
34203 3 files changed, 131 insertions(+)
34205 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
34206 Author: Josselin Mouette <joss@malsain.org>
34207 Date: Sun May 17 18:03:44 2009 +0300
34209 Use 'Requires.private' for libffi in '.pc' files
34211 Correction for patch in bug #550231.
34213 pygobject-2.0-uninstalled.pc.in | 3 ++-
34214 pygobject-2.0.pc.in | 3 ++-
34215 2 files changed, 4 insertions(+), 2 deletions(-)
34217 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
34218 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34219 Date: Wed May 13 21:54:39 2009 +0200
34221 Add wrapper for gio.FileAttributeMatcher
34223 added a boxed type for gio.FileAttributeMatcher which has been
34225 wrapping the gio API. This should probably be done in gio itself.
34227 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
34228 gio/gio-types.defs | 7 +++++++
34229 gio/gio.override | 2 ++
34230 3 files changed, 31 insertions(+), 2 deletions(-)
34232 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
34233 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34234 Date: Wed May 13 22:06:25 2009 +0300
34236 Mark relevant glib.IOChannel methods as METH_NOARGS
34238 Additionally fix glib.IOChannel.set_close_on_unref: was marked
34239 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
34241 glib/pygiochannel.c | 83
34242 +++++++++++++----------------------------------------
34243 1 file changed, 20 insertions(+), 63 deletions(-)
34245 commit 002915e5f458fec5a89766a54e8119a70a80caa7
34246 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34247 Date: Tue May 12 20:37:24 2009 +0200
34249 Add documentation for the gio.FileInfo class
34251 The docs for this class are not completed, missing methods
34253 The index is complete though, it will be completed once all the
34255 are in place so we can ship a (almost) complete reference.
34257 docs/Makefile.am | 2 +
34258 docs/reference/pygio-classes.xml | 1 +
34259 docs/reference/pygio-fileinfo.xml | 346
34260 ++++++++++++++++++++++++++++++++++++++
34261 3 files changed, 349 insertions(+)
34263 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
34264 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34265 Date: Sat May 9 16:46:04 2009 +0300
34267 Retire hand-written ChangeLog; autocreate from Git history
34269 Basically copied over from GLib source tree.
34272 ---------------------------------------------------
34273 ChangeLog.pre-2.18 | 3608
34274 ++++++++++++++++++++++++++++++++++++++++++++++++++++
34276 3 files changed, 3640 insertions(+), 3606 deletions(-)
34278 commit 23556bdbcf9cf06db866901fb822dd78a9043648
34279 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34280 Date: Sat May 9 00:03:05 2009 +0200
34282 Fix a bug in InputStream.skip_async
34284 use the count argument instead of buffer_size which is always zero
34286 gio/ginputstream.override | 3 ++-
34287 1 file changed, 2 insertions(+), 1 deletion(-)
34289 commit ed6b06315c17441b41c001d38537c904b8fe18de
34290 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34291 Date: Sat May 9 00:02:33 2009 +0200
34293 Add docs for the gio.InputStream class
34295 docs/Makefile.am | 2 +
34296 docs/reference/pygio-classes.xml | 1 +
34297 docs/reference/pygio-inputstream.xml | 730
34298 +++++++++++++++++++++++++++++++++++
34299 3 files changed, 733 insertions(+)
34301 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
34302 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34303 Date: Mon May 4 23:40:28 2009 +0200
34305 Wrap gio.InputStream.skip_async()
34307 wrap gio.InputStream.skip_async() and add a test.
34309 gio/ginputstream.override | 50
34310 ++++++++++++++++++++++++++++++++++++++++++++++-
34311 tests/test_gio.py | 20 +++++++++++++++++++
34312 2 files changed, 69 insertions(+), 1 deletion(-)
34314 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
34315 Author: Siavash Safi <siavash@siavashs.org>
34316 Date: Mon May 4 15:46:49 2009 +0430
34318 Add -n --namespace option and the code to remove
34319 dll API in headers, Added documentation
34321 Patch from bug #579275
34324 codegen/h2def.py | 133
34325 +++++++++++++++++++++++++++++++++++++++++++++----------
34326 2 files changed, 117 insertions(+), 24 deletions(-)
34328 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
34329 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34330 Date: Sat May 2 23:54:52 2009 +0300
34332 Properly mark glib.get_user_special_dir() as a keywords method
34336 glib/glibmodule.c | 2 +-
34337 1 file changed, 1 insertion(+), 1 deletion(-)
34339 commit f466dca880cc6ea68b9fe236943eea7a07d33520
34340 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34341 Date: Sun May 3 11:03:25 2009 +0200
34343 Add docs for the gio.LoadableIcon class
34345 docs/Makefile.am | 2 +
34346 docs/reference/pygio-classes.xml | 1 +
34347 docs/reference/pygio-loadableicon.xml | 198
34348 ++++++++++++++++++++++++++++++++++
34349 3 files changed, 201 insertions(+)
34351 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
34352 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34353 Date: Sun May 3 01:21:55 2009 +0200
34355 Add docs for the gio.ThemedIcon class
34357 docs/Makefile.am | 2 +
34358 docs/reference/pygio-classes.xml | 1 +
34359 docs/reference/pygio-themedicon.xml | 204
34360 ++++++++++++++++++++++++++++++++++++
34361 3 files changed, 207 insertions(+)
34363 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
34364 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34365 Date: Sat May 2 12:25:19 2009 +0200
34367 post release version bump to 2.17.1
34369 configure.ac | 2 +-
34370 1 file changed, 1 insertion(+), 1 deletion(-)
34372 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
34373 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34374 Date: Fri May 1 23:40:31 2009 +0200
34376 Fix the class title
34378 docs/reference/pygio-mountoperation.xml | 2 +-
34379 1 file changed, 1 insertion(+), 1 deletion(-)
34381 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
34382 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34383 Date: Fri May 1 22:24:33 2009 +0200
34385 Add docs for the gio.MountOperation class
34387 docs/Makefile.am | 2 +
34388 docs/reference/pygio-classes.xml | 1 +
34389 docs/reference/pygio-constants.xml | 107 +++++
34390 docs/reference/pygio-mountoperation.xml | 726
34391 ++++++++++++++++++++++++++++++++
34392 4 files changed, 836 insertions(+)
34394 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
34395 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34396 Date: Thu Apr 30 22:13:06 2009 +0200
34398 Update NEWS, release 2.17.0
34401 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34402 1 file changed, 93 insertions(+)
34404 commit 47389217d1a65a8e3f404d486c508cf5d3164756
34405 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34406 Date: Thu Apr 30 22:47:19 2009 +0300
34408 Fix memory leak in gio.File.query_info_async()
34410 After the recent patch it would leak exception data if old argument
34411 order was used. Properly decref the objects.
34413 gio/gfile.override | 4 ++++
34414 1 file changed, 4 insertions(+)