1 commit 17b4ba8707a8c6c24cd52e59a1f107dccfa9fd55
2 Author: Christoph Reiter <creiter@src.gnome.org>
3 Date: Thu Oct 26 17:24:02 2017 +0200
5 pygobject-object: Fix Python GC collecting a ref cycle too early
7 PyGObject traverses its closures in tp_traverse, but the lifetime
9 is tied to the lifetime of the GObject and not the wrapper. This
11 the Python GC when it sees a ref cycle and tries to break it up
13 Since tp_clear will not invalidate the closure and only invalidate
15 wrapper the closure callback gets called with the now cleared/invalid
18 Instead let the GC only check the Python objects referenced by the
20 would actually free them and as a result break the cycle. This is
22 the wrapped object would be freed by tp_clear which is when its
23 reference count is at 1.
25 Original patch by Gustavo Carneiro:
26 https://bugzilla.gnome.org/show_bug.cgi?id=546802#c5
28 https://bugzilla.gnome.org/show_bug.cgi?id=731501
30 gi/pygobject-object.c | 6 ++++--
31 tests/test_signal.py | 29 ++++++++++++++++++++++++++++-
32 2 files changed, 32 insertions(+), 3 deletions(-)
34 commit b4bf1b9d936e021b1645c069c2e0a3062cfab62b
35 Author: Daniel Colascione <dancol@dancol.org>
36 Date: Tue Oct 24 14:42:43 2017 +0200
38 Fix potential uninitialized memory access during GC
40 We use _PyGIDefaultArgPlaceholder as a sentinel value to represent
42 values during function argument list construction. Right now, it's
44 type object. We make it using PyObject_New, so most of its fields
46 uninitialized. The object body being uninitialized wouldn't be a
48 the placeholder object were unreachable, but the object *can*
50 during GC by traversal through frame objects.
52 Depending on the exact contents of the uninitialized memory, the GC
54 to cause other kinds of memory corruption through the process.
56 IMHO, the easiest fix for this problem is to just make the
58 simpler data structure, like a list.
60 https://bugzilla.gnome.org/show_bug.cgi?id=786872
63 1 file changed, 1 insertion(+), 1 deletion(-)
65 commit 1136f385d6080297bd57715b749c67f5e7208ba2
66 Author: Christoph Reiter <creiter@src.gnome.org>
67 Date: Thu Oct 26 09:35:09 2017 +0200
69 test: revert parts of the previous test as it's broken on 32 bit
72 The int based flag type can't represent the flag value on 32 bit,
73 some more work is needed there. Remove that check again for now.
75 https://bugzilla.gnome.org/show_bug.cgi?id=786948
77 tests/test_gi.py | 1 -
78 1 file changed, 1 deletion(-)
80 commit a37687d3d8bdc42aea63e551401e6686c926c556
81 Author: Christoph Reiter <creiter@src.gnome.org>
82 Date: Mon Oct 23 12:41:45 2017 +0200
84 flags: Add testcase for bug 786948
86 Add a flags type which has a value with the highes bit set
87 and fits in an int. While the C type is a signed int, the type
88 is registered as flags, which GI interprets as unsigned.
90 https://bugzilla.gnome.org/show_bug.cgi?id=786948
92 tests/gimarshallingtestsextra.c | 29 +++++++++++++++++++++++++++++
93 tests/gimarshallingtestsextra.h | 11 +++++++++++
94 tests/test_gi.py | 5 +++++
95 3 files changed, 45 insertions(+)
97 commit 44a852191a67bc7ef76202412a0102de46eb26f0
98 Author: Philippe Renon <philippe_renon@yahoo.fr>
99 Date: Thu Aug 31 16:39:08 2017 +0200
101 fix potential overflow when marshalling flags from py interface
103 the overflow happens on windows platforms when an unsigned
104 flags value overflows the capacity of a signed long
105 on windows long is a 32-bit signed integer.
107 fixes https://bugzilla.gnome.org/show_bug.cgi?id=786948
109 gi/pygi-enum-marshal.c | 8 ++++----
110 1 file changed, 4 insertions(+), 4 deletions(-)
112 commit fa4330df4e26bb9f77a5cf081d3cc40c342709b9
113 Author: Christoph Reiter <creiter@src.gnome.org>
114 Date: Sun Oct 22 17:59:17 2017 +0200
116 to_py_array: Properly handle enum array items
118 It used the fallback path and copied pointers.
119 Do the same thing we do for integer items instead.
121 https://bugzilla.gnome.org/show_bug.cgi?id=788890
123 gi/pygi-array.c | 3 +++
124 tests/gimarshallingtestsextra.c | 21 +++++++++++++++++++++
125 tests/gimarshallingtestsextra.h | 2 ++
126 tests/test_gi.py | 6 ++++++
127 4 files changed, 32 insertions(+)
129 commit 5f0f3b330cfa1eb11db4f376d141445847cb9d16
130 Author: James Clarke <jrtc27@jrtc27.com>
131 Date: Fri Oct 13 18:04:45 2017 +0100
133 closure: Fix unaligned and out-of-bounds access
135 When the direction is FROM_PYTHON, a whole GIArgument was being loaded
136 from the address given by the argument, but like any other case, this
137 could point to different types, and so could run off the end of the
138 pointed-to value, and, more importantly, be performing an unaligned
139 access, causing it to crash with SIGBUS on sparc64 when running
140 test_callback_scope_call_array_inout. Instead, reuse the existing code
141 for the TO_PYTHON case to do the copying into arg_value based on the
144 https://bugzilla.gnome.org/show_bug.cgi?id=788894
146 gi/pygi-closure.c | 40 +++++++++++++++++++++-------------------
147 1 file changed, 21 insertions(+), 19 deletions(-)
149 commit d831decad9e8fdb449518997dee1a5eaa21e0313
150 Author: Christoph Reiter <creiter@src.gnome.org>
151 Date: Fri Oct 13 19:24:01 2017 +0200
153 build: Fix not installing .egg-info file
155 While removing the egg target in 49cc3643819dad0d065d I wrongfully
156 removed that part as well. While the file extension has "egg" in
157 it it has nothing to do with eggs..
159 https://bugzilla.gnome.org/show_bug.cgi?id=777719
161 Makefile.am | 7 +++++++
162 1 file changed, 7 insertions(+)
164 commit 5b61ac3f2a66d93110642f43bec4f2a4e656681a
165 Author: Christoph Reiter <creiter@src.gnome.org>
166 Date: Thu Oct 12 18:58:04 2017 +0200
168 configure.ac: version bump to 3.26.1
171 1 file changed, 1 insertion(+), 1 deletion(-)
173 commit 47af078546b1e9e4396bdea877c1cf0f21708818
174 Author: Christoph Reiter <creiter@src.gnome.org>
175 Date: Tue Sep 12 08:31:22 2017 +0200
180 1 file changed, 9 insertions(+)
182 commit 9580b2f1e447cea2d50f8ab83a715b29e4e862e6
183 Author: Christoph Reiter <creiter@src.gnome.org>
184 Date: Tue Sep 12 08:25:25 2017 +0200
186 configure.ac: pre-release version bump to 3.26.0
188 configure.ac | 4 ++--
189 1 file changed, 2 insertions(+), 2 deletions(-)
191 commit a541a916ce798cd779ed17f015f6902e66c4454c
192 Author: Christoph Reiter <creiter@src.gnome.org>
193 Date: Fri Aug 25 18:21:47 2017 +0200
195 closure: silence a new compiler warning
197 gcc7 has started to warn for fallthrough in switch. Prevent this
198 by duplicating the default case + break.
200 gi/pygi-closure.c | 4 ++--
201 1 file changed, 2 insertions(+), 2 deletions(-)
203 commit c0e42240cd72c012a740f26dc3fb0eef98328110
204 Author: Christoph Reiter <creiter@src.gnome.org>
205 Date: Fri Aug 25 18:17:33 2017 +0200
207 tests: skip some failing test under Windows with Python 3.6
209 Python 3.6 has changed the default filesystem encoding on Windows
210 from mbcs to utf-8. Some tests assume mbcs, so skip them for now.
212 tests/test_gi.py | 24 +++++++++++++++++-------
213 1 file changed, 17 insertions(+), 7 deletions(-)
215 commit 0fe781efdd46386f7c373b6073d30411025e2854
216 Author: Christoph Reiter <creiter@src.gnome.org>
217 Date: Tue Aug 22 13:02:43 2017 +0200
219 tests: pyflakes/pep8 fixes
221 Make Python 3 pyflakes work by adding Python 2 builtins
222 through PYFLAKES_BUILTINS.
225 tests/test_import_machinery.py | 4 ++--
226 2 files changed, 4 insertions(+), 4 deletions(-)
228 commit 20430e87c66b03ac05fbab8283a3771ce8364ad8
229 Author: Christoph Reiter <creiter@src.gnome.org>
230 Date: Fri Jun 9 13:13:57 2017 +0200
232 tests: Fix cairo test with pycairo >= 1.13
234 All pycairo functions now return an enum value which type is an int
235 subclass. Remove the overly strict check for the return value type.
237 tests/test_cairo.py | 2 +-
238 1 file changed, 1 insertion(+), 1 deletion(-)
240 commit 9cbf370d0034bffa60be67f6d47eee94e4045c18
241 Author: Benjamin Berg <bberg@redhat.com>
242 Date: Fri Apr 21 13:35:05 2017 +0200
244 Make sure version information passed to require_version is a string.
246 This simply makes it easier for someone to find an error in cases
248 a floating point is passed by accident.
250 https://bugzilla.gnome.org/show_bug.cgi?id=781582
252 gi/__init__.py | 7 +++++++
253 tests/test_import_machinery.py | 12 ++++++++++++
254 2 files changed, 19 insertions(+)
256 commit 5e2bb06086c6bfa2bcb1a47f4c963d336630d12e
257 Author: Christoph Reiter <creiter@src.gnome.org>
258 Date: Sat Apr 22 15:56:37 2017 +0200
260 configure.ac: post-release version bump to 3.25.2
263 1 file changed, 1 insertion(+), 1 deletion(-)
265 commit 31d7e92a24400a5d03f05912fdd8fd625082a837
266 Author: Christoph Reiter <creiter@src.gnome.org>
267 Date: Fri Apr 21 18:30:12 2017 +0200
272 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
274 2 files changed, 60 insertions(+), 1 deletion(-)
276 commit fc451f235754a98c647972f0a03e11eaefca4cef
277 Author: Christoph Reiter <creiter@src.gnome.org>
278 Date: Wed Apr 19 15:04:30 2017 +0200
280 Bump pycairo requirement to 1.11.1
282 This requires pycairo from https://pycairo.readthedocs.io/en/latest/
283 (already updated/included in JHBuild)
285 For more info on the upstream change see:
286 https://lists.cairographics.org/archives/cairo/2017-April/027919.html
287 https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00065.html
289 This will enable cairo.Region support for all setups and Python
291 as make moving to Python 3 easier for applications since all APIs
293 under Python 2 are available there as well now.
295 https://bugzilla.gnome.org/show_bug.cgi?id=707196
297 configure.ac | 7 +++----
298 1 file changed, 3 insertions(+), 4 deletions(-)
300 commit 36e786e1a2305c001c8c067adfee9d731c2ec0fb
301 Author: Christoph Reiter <creiter@src.gnome.org>
302 Date: Thu Apr 20 09:43:50 2017 +0200
304 configure.ac: Always disable -Werror
306 Instead of disabling it for release builds do it always.
307 While JHBuild uses --disable-Werror by default, gnome-continuous
311 https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00009.html
313 configure.ac | 4 +++-
314 1 file changed, 3 insertions(+), 1 deletion(-)
316 commit a2cb674334267e3eaeac5b2ce849c4a38cc1b428
317 Author: Christoph Reiter <creiter@src.gnome.org>
318 Date: Sun Apr 9 18:48:33 2017 +0200
320 foreign-cairo: Enable cairo.Region support also on Python 2 if
323 The next pycairo version might add support for cairo_region_t.
324 This enables the converter functions also on Python 2 and makes
325 sure that the test suite does not crash in case it does.
327 gi/pygi-foreign-cairo.c | 4 ++--
328 1 file changed, 2 insertions(+), 2 deletions(-)
330 commit 3460081ed20b33b3a08c4fce5de135f1171f2ff0
331 Author: Christoph Reiter <creiter@src.gnome.org>
332 Date: Sun Apr 2 15:51:25 2017 +0200
334 configure.ac: remove unused PLATFORM variable
336 This was added in 93e7d047e
339 1 file changed, 3 deletions(-)
341 commit 810392173ce20f8a7935966b46df483742e73f23
342 Author: Christoph Reiter <creiter@src.gnome.org>
343 Date: Sun Apr 2 15:25:56 2017 +0200
345 configure.ac: Remove unused PySignal_SetWakeupFd check
347 HAVE_PYSIGNAL_SETWAKEUPFD isn't used anywhere
349 configure.ac | 12 ------------
350 1 file changed, 12 deletions(-)
352 commit 52693463749f045355a7ddeace033d369fe2e786
353 Author: Christoph Reiter <creiter@src.gnome.org>
354 Date: Sun Apr 2 14:13:08 2017 +0200
356 tests: remove python 2.5/3.2 compat code
358 2.7/3.3 support the u/b prefixes and both have callable()
360 gi/overrides/Gtk.py | 4 +---
361 tests/compathelper.py | 40 ----------------------------------------
362 tests/helper.py | 2 +-
363 tests/test_fields.py | 6 ++----
364 tests/test_gi.py | 26 +++++++++-----------------
365 tests/test_glib.py | 12 +++++-------
366 tests/test_iochannel.py | 21 +++++++++------------
367 tests/test_mainloop.py | 4 +---
368 tests/test_overrides_gtk.py | 13 ++++++-------
369 tests/test_properties.py | 29 ++++++++++++-----------------
370 10 files changed, 46 insertions(+), 111 deletions(-)
372 commit 1039e9a512d1df35e9c4656b0b41c1e4a25aafad
373 Author: Christoph Reiter <creiter@src.gnome.org>
374 Date: Sun Apr 2 14:04:39 2017 +0200
376 configure.ac: Require Python 3.3
378 At the time of the next release nothing will support 3.2 anymore.
381 1 file changed, 1 insertion(+), 1 deletion(-)
383 commit e98558a6843b68115d68d3bc92dad271b74ef6d0
384 Author: Christoph Reiter <creiter@src.gnome.org>
385 Date: Sun Apr 2 13:22:32 2017 +0200
387 tests: Make test suite run with GTK+ 4
389 Skip various tests which test things that are no longer available
391 Does not remove any deprecated overrides.
393 Disable gtk4 support in pygtkcompat. The porting path over gtk3
396 gi/overrides/Gdk.py | 3 ++
397 pygtkcompat/pygtkcompat.py | 3 ++
398 tests/compat_test_pygtk.py | 4 +-
399 tests/test_atoms.py | 1 +
400 tests/test_overrides_gdk.py | 7 +++
401 tests/test_overrides_gtk.py | 107
402 +++++++++++++++++++++++++++++++++-----------
403 6 files changed, 98 insertions(+), 27 deletions(-)
405 commit c3159accf3faa2bd804ac22ec7ac93e62b158a3e
406 Author: Christoph Reiter <creiter@src.gnome.org>
407 Date: Sun Apr 2 13:17:36 2017 +0200
409 tests: always call require_version; add TEST_GTK_VERSION env var
411 Set the versions in runtests.py instead of repeating it in every
414 Add a new TEST_GTK_VERSION env var which defaults to "3.0".
415 Allows to run tests with gtk4 using "make check TEST_GTK_VERSION=4.0"
417 tests/compat_test_pygtk.py | 6 ------
418 tests/runtests.py | 26 ++++++++++++++++++++++++++
419 tests/test_atoms.py | 7 +++----
420 tests/test_overrides_gtk.py | 8 +++-----
421 tests/test_overrides_pango.py | 7 +------
422 tests/test_properties.py | 6 +-----
423 tests/test_repository.py | 4 ----
424 7 files changed, 34 insertions(+), 30 deletions(-)
426 commit c89fa35814103a4ceefece8e305af4f9e0dd6a37
427 Author: Christoph Reiter <creiter@src.gnome.org>
428 Date: Sun Apr 2 10:57:34 2017 +0200
430 tests: Fix make check.valgrind
432 Got broken when we changed to use dbus-run-session. Move
433 valgrind related env vars before the dbus launcher helper.
435 This also tries to improve the lookup of the suppression file.
436 Instead of relying on the basename of the python binary use the python
437 major version to select one of two suppression files in the repo.
439 Add PYTHONMALLOC=malloc when running under valgrind, which makes
441 use malloc instead of its own allocator. Only works with Python 3.6+.
444 tests/Makefile.am | 22 +-
445 tests/{python2.7.supp => python2.supp} | 0
446 tests/python3.3dm.supp | 471
447 ---------------------------------
448 tests/{python3.3.supp => python3.supp} | 0
449 5 files changed, 14 insertions(+), 484 deletions(-)
451 commit 7c774ce5ce9ec5cda61e10a704b28f0b82df1b03
452 Author: Christoph Reiter <creiter@src.gnome.org>
453 Date: Sun Apr 2 10:54:48 2017 +0200
455 tests: Don't skip Regress tests when cairo is missing
458 https://git.gnome.org/browse/pygobject/commit/?id=a731db5908b79b97277be4f5138b46010c2dd616
459 we build libregress even if cairo is missing.
461 Instead of skipping regress tests when cairo is missing only skip
465 tests/test_cairo.py | 3 +--
466 tests/test_docstring.py | 10 +++-------
467 tests/test_everything.py | 17 +----------------
468 tests/test_import_machinery.py | 7 +------
469 tests/test_properties.py | 32 +++++++++++---------------------
470 tests/test_repository.py | 10 ----------
471 tests/test_signal.py | 15 +--------------
472 7 files changed, 18 insertions(+), 76 deletions(-)
474 commit c2be3cbefbbacb52758b49338be61d093a896d09
475 Author: Christoph Reiter <creiter@src.gnome.org>
476 Date: Sun Apr 2 10:52:41 2017 +0200
478 tests: fix invalid regex escaping
480 Python 3.6 got stricter here and raises warnings/errors for invalid
484 tests/helper.py | 4 ++--
485 tests/test_gi.py | 24 ++++++++++++------------
486 2 files changed, 14 insertions(+), 14 deletions(-)
488 commit b7d504c3ef689a79448c9f6597ae59153a77104f
489 Author: Christoph Reiter <creiter@src.gnome.org>
490 Date: Sat Apr 1 18:11:46 2017 +0200
492 tests: avoid mapping a GtkWindow
494 This let to a window being shown when running the test suite.
496 https://bugzilla.gnome.org/show_bug.cgi?id=780812
498 tests/test_overrides_gdk.py | 3 ++-
499 1 file changed, 2 insertions(+), 1 deletion(-)
501 commit a2b3d846fab3a4b660eefbe3555933afe6d9c90a
502 Author: Christoph Reiter <creiter@src.gnome.org>
503 Date: Sat Apr 1 18:06:47 2017 +0200
505 tests: silence some glib deprecation warnings
507 These functions were deprecated in the last few cycles.
508 This hides the warnings when running the test suite.
510 https://bugzilla.gnome.org/show_bug.cgi?id=780812
512 tests/test_atoms.py | 7 +++++--
513 tests/test_overrides_gtk.py | 6 ++++--
514 2 files changed, 9 insertions(+), 4 deletions(-)
516 commit ed488be1f0bcd2d2ec1acf98f27585d8577ddc5f
517 Author: Christoph Reiter <creiter@src.gnome.org>
518 Date: Sat Apr 1 18:05:13 2017 +0200
520 tests: avoid deprecation warnings for
521 assertRegexpMatches/assertRaisesRegexp
523 Replace them with the renamed variants. We can't switch because
525 no non-deprecated variant available under both Python 2 and 3.
527 https://bugzilla.gnome.org/show_bug.cgi?id=780812
529 tests/runtests.py | 5 +++++
530 1 file changed, 5 insertions(+)
532 commit c39bf20cca3d1c6bcf89f93759772117d087b042
533 Author: Christoph Reiter <creiter@src.gnome.org>
534 Date: Sat Apr 1 17:49:01 2017 +0200
536 pygi-source: clear exceptions in finalize handler
538 This was executed in the context of Source.__del__ and while Python
539 ignores errors there it started to warn with Python 3.
541 This fixes the warnings visible when running test_source under
544 https://bugzilla.gnome.org/show_bug.cgi?id=780812
546 gi/pygi-source.c | 2 ++
547 1 file changed, 2 insertions(+)
549 commit d806a120998e9b38e96d02ab05d28051a441db61
550 Author: Christoph Reiter <creiter@src.gnome.org>
551 Date: Sat Apr 1 17:48:38 2017 +0200
556 1 file changed, 1 insertion(+), 1 deletion(-)
558 commit b2529624b3925adbef2671025e08cbf747f162e8
559 Author: Christoph Reiter <creiter@src.gnome.org>
560 Date: Mon Mar 27 10:14:22 2017 +0200
562 Remove gi._gi._gobject and gi._gobject modules
564 Expose everything from _gi._gobject in _gi instead.
565 This does not move any code around, just removes the module.
567 Also removes the gi._gobject package and replaces it
568 with a small dummy module in gi.__init__.py
570 https://bugzilla.gnome.org/show_bug.cgi?id=735206
573 gi/Makefile.am | 3 +-
574 gi/__init__.py | 9 ++++--
575 gi/_constants.py | 52 +++++++++++++++----------------
576 gi/_gobject/Makefile.am | 16 ----------
577 gi/_gobject/__init__.py | 23 --------------
578 gi/_propertyhelper.py | 47 ++++++++++++++--------------
579 gi/_signalhelper.py | 6 ++--
580 gi/gimodule.c | 48 ++++++++++++++++++++++-------
581 gi/gobjectmodule.c | 82
582 +++++++++++--------------------------------------
583 gi/gobjectmodule.h | 21 +++++++++++++
584 gi/module.py | 6 ++--
585 gi/overrides/GLib.py | 3 +-
586 gi/overrides/GObject.py | 82
587 ++++++++++++++++++++++++-------------------------
588 gi/pygi-value.c | 2 +-
589 gi/pygobject-object.c | 12 ++++----
590 gi/types.py | 13 ++++----
591 tests/helper.py | 4 +--
592 tests/test_gi.py | 2 +-
593 tests/test_gobject.py | 8 ++---
594 20 files changed, 199 insertions(+), 241 deletions(-)
596 commit bdfafd2bdc84d961bd2df43d8dee690177c77a56
597 Author: Christoph Reiter <creiter@src.gnome.org>
598 Date: Mon Mar 27 07:39:22 2017 +0200
600 Remove gi._gi._glib module
602 Move the code into gi._gi (gimodule)
603 The module was a leftover from
604 https://bugzilla.gnome.org/show_bug.cgi?id=712197
606 https://bugzilla.gnome.org/show_bug.cgi?id=735206
609 gi/_option.py | 12 +++++------
610 gi/gimodule.c | 31 +++++++++++++++-------------
612 ---------------------------------------------------
613 gi/overrides/GLib.py | 10 ++++-----
614 gi/pygoptioncontext.c | 4 ++--
615 gi/pygoptiongroup.c | 4 ++--
616 gi/pygspawn.c | 14 ++++++-------
617 8 files changed, 39 insertions(+), 93 deletions(-)
619 commit 4ad6899bdca6fbd0fb7e88cd16b49367f7f41267
620 Author: Christoph Reiter <creiter@src.gnome.org>
621 Date: Mon Mar 27 06:41:19 2017 +0200
623 GValue: add overflow checking for py -> gint; forward marshaling
626 https://bugzilla.gnome.org/show_bug.cgi?id=769789
628 gi/pygi-struct-marshal.c | 3 +--
629 gi/pygi-value.c | 11 ++++++++++-
630 tests/test_gi.py | 7 ++++++-
631 3 files changed, 17 insertions(+), 4 deletions(-)
633 commit 052cea9e2b6e599e52435df3155d8de22500e0f4
634 Author: Christoph Reiter <creiter@src.gnome.org>
635 Date: Sun Mar 26 19:34:00 2017 +0200
637 pygobject_lookup_class: clear exceptions between calls and don't
640 https://bugzilla.gnome.org/show_bug.cgi?id=773394
642 gi/pygobject-object.c | 7 ++++++-
643 1 file changed, 6 insertions(+), 1 deletion(-)
645 commit 271e94b4e4cc9a9619015ef76880346ad7962ac4
646 Author: Christoph Reiter <creiter@src.gnome.org>
647 Date: Sat Apr 1 10:15:00 2017 +0200
649 Avoid some new deprecation warnings
651 https://bugzilla.gnome.org/show_bug.cgi?id=780768
653 gi/gobjectmodule.c | 6 +++++-
654 1 file changed, 5 insertions(+), 1 deletion(-)
656 commit 81625ce4c0164dcb3409471fc38168147af4026a
657 Author: Christoph Reiter <creiter@src.gnome.org>
658 Date: Sun Mar 26 16:23:25 2017 +0200
660 Raise RuntimeError in case an uninitilialized GObject.Object is
663 One common case where this can happen is when subclassing a
665 without chaining up __init__ and then calling a method.
667 https://bugzilla.gnome.org/show_bug.cgi?id=730908
669 gi/pygi-object.c | 6 ++++++
670 tests/test_gobject.py | 6 ++++++
671 2 files changed, 12 insertions(+)
673 commit b23dea0981ab5718cb26d3a9f4f7bf8f593ac343
674 Author: Christoph Reiter <creiter@src.gnome.org>
675 Date: Sun Mar 26 19:11:33 2017 +0200
677 closure: support unichar args
679 https://bugzilla.gnome.org/show_bug.cgi?id=759276
681 gi/pygi-closure.c | 3 +++
682 tests/test_overrides_gtk.py | 14 ++++++++++++++
683 2 files changed, 17 insertions(+)
685 commit d6e46f778ea2bfede89f4fe2422b80998ed7fec8
686 Author: Christoph Reiter <creiter@src.gnome.org>
687 Date: Fri Jun 3 15:51:37 2016 +0200
689 Add support for bytes and non-utf-8 file names.
691 Py2+Unix: Convert unicode to bytes using the fsencoding. Pass bytes
693 Returns path as bytes as is.
695 Py2+Windows: Convert unicode to wtf-8. Pass bytes as is.
696 Returns path as bytes as is.
698 Py3+Unix: Convert str using os.fsencode so that the surrogateescape
700 can restore the real path if the source was a Python API such as
702 sys.argv etc. Pass bytes as is. Return str decoded using os.fsdecode
704 it can be passed to Python API such as open, os.listdir etc.
706 Py3+Windows: Convert str to wtf-8. Decode bytes using the fsencoding
708 Returns str + surrogates.
710 This change makes anyting taking filenames on Python 3 behave the same
711 as Python functions like listdir() or open(). Compared to Python
713 functions which return the same type that was passed in we always
716 One remaining problem is that glib assumes that Windows paths
718 while they are just 16bit arrays and as a result utf-8 is not
720 represent all possible paths. We use wtf-8 here instead (utf-8 with
722 which allows us to convert all paths, but glib functions accessing
726 PyUnicode_EncodeFSDefault was added in CPython 3.2 so bump the
729 https://bugzilla.gnome.org/show_bug.cgi?id=746564
732 gi/pygi-basictype.c | 186
733 ++++++++++++++++++++++++++++++++--------
734 gi/pyglib-python-compat.h | 2 +
735 tests/compathelper.py | 4 +
736 tests/gimarshallingtestsextra.c | 14 +++
737 tests/gimarshallingtestsextra.h | 1 +
738 tests/test_gi.py | 152 +++++++++++++++++++++++++++++++-
739 7 files changed, 320 insertions(+), 41 deletions(-)
741 commit 33a44c7653030da0a1de76ff8241e40e66d04701
742 Author: Christoph Reiter <creiter@src.gnome.org>
743 Date: Mon Mar 27 15:53:13 2017 +0200
745 test_gi: use correct min/max constants for gsize/gssize
747 This made these tests on 64bit Windows fail because sizeof(gsize)
750 https://bugzilla.gnome.org/show_bug.cgi?id=780591
752 tests/test_gi.py | 6 +++---
753 1 file changed, 3 insertions(+), 3 deletions(-)
755 commit b993e4dc73af976e8140661d2b6e9f745206808e
756 Author: Christoph Reiter <creiter@src.gnome.org>
757 Date: Mon Mar 27 14:55:22 2017 +0200
759 Don't use long format string for formatting pointers
761 long is too small on 64bit Windows
763 https://bugzilla.gnome.org/show_bug.cgi?id=780591
765 gi/pygpointer.c | 5 +++--
766 1 file changed, 3 insertions(+), 2 deletions(-)
768 commit d031e1700816836366989ece0eda486c77543c3b
769 Author: Christoph Reiter <creiter@src.gnome.org>
770 Date: Mon Mar 27 14:48:08 2017 +0200
772 Fix conversion from pointers to hashfunc return values.
774 Fixes comiler warnings on 64bit Windows.
776 Python 3 now uses Py_hash_t as return value for hashfunc. Use
777 a compat define so we can use the right type depending on the
780 On Python 2 + 64bit Windows the pointer doesn't fit the long
781 return type. Add a macro which handles the casting for that case
782 to prevent compiler warnings.
784 https://bugzilla.gnome.org/show_bug.cgi?id=780591
786 gi/pygboxed.c | 4 ++--
787 gi/pyglib-python-compat.h | 6 ++++++
788 gi/pygobject-object.c | 4 ++--
789 gi/pygparamspec.c | 4 ++--
790 gi/pygpointer.c | 4 ++--
791 5 files changed, 14 insertions(+), 8 deletions(-)
793 commit d2a7e9a7b29e74fd97592fcc8462d718d0b7af17
794 Author: Christoph Reiter <creiter@src.gnome.org>
795 Date: Mon Mar 27 14:47:22 2017 +0200
797 Fix PyLong <-> GPid conversion on 64bit Windows
799 GPid on Windows is a pointer and not int, and pointers don't fit long
800 on 64bit so use PyLong_AsVoidPtr/PyLong_FromVoidPtr there instead.
802 https://bugzilla.gnome.org/show_bug.cgi?id=780591
804 gi/pygspawn.c | 26 +++++++++++++++++++++-----
805 1 file changed, 21 insertions(+), 5 deletions(-)
807 commit cfeeaaf69f6d6f777e5f3a17493ff9dcc2bda900
808 Author: Christoph Reiter <creiter@src.gnome.org>
809 Date: Tue Mar 28 17:58:54 2017 +0200
811 property: support setting flags
813 This also adds some tests for setting flags and enum properties
814 which depend on some properties being added in g-i's
816 https://bugzilla.gnome.org/show_bug.cgi?id=780652
818 https://bugzilla.gnome.org/show_bug.cgi?id=726484
820 gi/pygi-property.c | 3 +++
821 tests/test_properties.py | 34 ++++++++++++++++++++++++++++++++++
822 2 files changed, 37 insertions(+)
824 commit 44a51ddd6418f8fa85df5803b8288974bcf20bc2
825 Author: Christoph Reiter <creiter@src.gnome.org>
826 Date: Thu Mar 23 15:49:18 2017 +0100
828 overrides: warn on instantiation of Gio.VolumeMonitor
830 Gio.VolumeMonitor.get() should be used instead
832 https://bugzilla.gnome.org/show_bug.cgi?id=744690
834 gi/overrides/Gio.py | 19 +++++++++++++++++++
835 tests/test_gio.py | 11 +++++++++++
836 2 files changed, 30 insertions(+)
838 commit 275a92cb7fe530efe83349b3c7da557f22096fc0
839 Author: Christoph Reiter <creiter@src.gnome.org>
840 Date: Tue Mar 21 19:19:33 2017 +0100
842 Remove gi.overrides.overridefunc
844 Move the code into override()
846 https://bugzilla.gnome.org/show_bug.cgi?id=686835
848 gi/overrides/__init__.py | 32 ++++++++++++++++----------------
849 1 file changed, 16 insertions(+), 16 deletions(-)
851 commit f47027d6abde392fff03ce9b49e42a0c6f7d83cd
852 Author: Christoph Reiter <creiter@src.gnome.org>
853 Date: Tue Mar 21 12:48:27 2017 +0100
855 tests: Reduce usage of timeout_add() and sleep()
857 * Instead of waiting for a fixed time, use a timeout and stop the main
858 loop right after the test has succeeded.
859 * Replace time.sleep to sync processes with os.pipe communication
860 * Chain idle sources instead of using multiple timeout sources
861 * Replace sleeps with unbufferd communication
863 https://bugzilla.gnome.org/show_bug.cgi?id=698548
865 tests/test_glib.py | 37 ++++++++++++-------
866 tests/test_iochannel.py | 86
867 +++++++++++++++++++++++++++++++++------------
868 tests/test_mainloop.py | 13 +++++--
869 tests/test_overrides_gtk.py | 4 +--
870 tests/test_source.py | 10 +++---
871 tests/test_thread.py | 6 +++-
872 6 files changed, 111 insertions(+), 45 deletions(-)
874 commit ab574b6c40b6e58f396c9522be864a78478617c1
875 Author: Christoph Reiter <creiter@src.gnome.org>
876 Date: Tue Mar 21 12:43:33 2017 +0100
878 tests: Remove TestMainLoop.test_concurrency
880 The code containing the bug no longer exists and the test doesn't do
881 what it says. The thread never gets terminated and it doesn't
882 assert anything. And I'm not sure what it should assert.
884 For the corresponding bug see
885 https://bugzilla.gnome.org/show_bug.cgi?id=663068
887 While the test doesn't hurt, it adds half a second wait time
890 https://bugzilla.gnome.org/show_bug.cgi?id=698548
892 tests/test_mainloop.py | 27 ---------------------------
893 1 file changed, 27 deletions(-)
895 commit 4da4a1d5c55a5db060bf3f67b708da0a00e3e957
896 Author: Christoph Reiter <creiter@src.gnome.org>
897 Date: Mon Mar 27 16:22:12 2017 +0200
899 Update .gitignore: add *.dll, *.dylib, .DS_STORE
902 1 file changed, 3 insertions(+)
904 commit 30228a98299eeb540fd014b9519a9efd4a434d4b
905 Author: Christoph Reiter <reiter.christoph@gmail.com>
906 Date: Thu Mar 23 17:59:55 2017 +0100
908 tests: Make test suite run on Windows
910 (in a msys2 environment)
912 * Replace LD_LIBRARY_PATH with gir code in runtests.py
913 * Remove unneeded runtests-windows.py
914 * Unset MSYSTEM to disable path separator hacks by msys2
915 * Set sys.path in runtests.py
916 * Skip various tests failing/hanging/crashing on Windows
918 https://bugzilla.gnome.org/show_bug.cgi?id=780396
920 tests/Makefile.am | 9 +++-----
921 tests/compat_test_pygtk.py | 4 +++-
922 tests/runtests-windows.py | 52
923 ---------------------------------------------
924 tests/runtests.py | 13 ++++++++++--
925 tests/test_atoms.py | 4 +++-
926 tests/test_everything.py | 2 +-
927 tests/test_gi.py | 7 +++---
928 tests/test_gio.py | 3 +++
929 tests/test_glib.py | 15 +++++++++----
930 tests/test_iochannel.py | 17 ++++++++++++++-
931 tests/test_mainloop.py | 4 ++++
932 tests/test_overrides_gdk.py | 3 ++-
933 tests/test_properties.py | 9 +++++---
934 tests/test_subprocess.py | 1 +
935 14 files changed, 68 insertions(+), 75 deletions(-)
937 commit 23deef70102657e75e07e54b4378c20214c867f3
938 Author: Christoph Reiter <creiter@src.gnome.org>
939 Date: Wed Mar 22 14:07:49 2017 +0100
941 tests: Make test suite run on macOS
943 * Skip all tests which fail, crash or hang.
944 * Disable D-Bus in case dbus-run-session is not available.
946 https://bugzilla.gnome.org/show_bug.cgi?id=780396
948 tests/Makefile.am | 10 +++++++---
949 tests/runtests.py | 3 +++
950 tests/test_atoms.py | 3 +++
951 tests/test_gdbus.py | 9 +++++++++
952 tests/test_gi.py | 4 ++++
953 tests/test_glib.py | 2 ++
954 tests/test_overrides_gdk.py | 3 +++
955 tests/test_overrides_gtk.py | 2 ++
956 tests/test_source.py | 3 +++
957 9 files changed, 36 insertions(+), 3 deletions(-)
959 commit 5399bb785e625c36025d6bc1e5cf2b5519759d0d
960 Author: Christoph Reiter <creiter@src.gnome.org>
961 Date: Wed Mar 22 19:24:22 2017 +0100
963 Fix various compiler warnings for 32bit builds
965 Due to the switch to AX_COMPILER_FLAGS which adds some more
966 warning flags. I didn't notice these as they only get triggered
967 on 32bit builds. Tested with gcc 6.3 and clang 3.9.
969 https://bugzilla.gnome.org/show_bug.cgi?id=780409
974 gi/pygi-argument.c | 2 ++
975 gi/pygi-array.c | 4 ++--
976 gi/pygi-cache.c | 6 +++---
977 gi/pygi-closure.c | 4 ++--
978 gi/pygi-foreign-cairo.c | 2 +-
979 gi/pygi-invoke.c | 8 ++++----
980 gi/pygi-marshal-cleanup.c | 4 ++--
981 gi/pygi-signal-closure.h | 1 +
983 gi/pygi-value.h | 2 +-
984 gi/pygobject-object.c | 4 ++--
986 15 files changed, 25 insertions(+), 19 deletions(-)
988 commit 29d07d6e659a518f4e0a7f53eba3dc1d9ba33c3a
989 Author: Christoph Reiter <creiter@src.gnome.org>
990 Date: Fri Mar 24 08:25:48 2017 +0100
994 gi/overrides/Gdk.py | 1 -
995 1 file changed, 1 deletion(-)
997 commit b0476e2db4577e12b52caa3163ccb69575221d6c
998 Author: Christoph Reiter <creiter@src.gnome.org>
999 Date: Thu Mar 23 22:32:23 2017 +0100
1001 testhelper: only link against libpython on Windows
1003 https://bugzilla.gnome.org/show_bug.cgi?id=773803
1005 configure.ac | 6 +++---
1006 tests/Makefile.am | 11 ++++++++++-
1007 2 files changed, 13 insertions(+), 4 deletions(-)
1009 commit e8c071f518a0e1c3e1877705291d24f056bed77e
1010 Author: Garrett Regier <garrettregier@gmail.com>
1011 Date: Thu Oct 13 15:00:52 2016 -0700
1013 overrides: Fix Gtk.TextBuffer.insert_with_tags_by_name() with no tags
1015 The text was not inserted when no tags were provided.
1017 https://bugzilla.gnome.org/show_bug.cgi?id=772896
1019 gi/overrides/Gtk.py | 3 ---
1020 tests/test_overrides_gtk.py | 12 ++++++++++++
1021 2 files changed, 12 insertions(+), 3 deletions(-)
1023 commit fb0404c0bf08dedf657ce1384b283223b7192df1
1024 Author: Christoph Reiter <creiter@src.gnome.org>
1025 Date: Tue Mar 21 14:03:47 2017 +0100
1027 Make use of instance-argument annotations
1029 Use g_callable_info_get_instance_ownership_transfer() instead
1030 of hardcoding the transfer for instances.
1032 get_instance_ownership_transfer() is available since 1.42.0, so no
1033 version dependency bump is required.
1035 https://bugzilla.gnome.org/show_bug.cgi?id=735076
1037 gi/pygi-cache.c | 4 +++-
1038 tests/test_everything.py | 9 +++++++++
1039 2 files changed, 12 insertions(+), 1 deletion(-)
1041 commit c1ad1129b42c7938662422bb33990026572866d0
1042 Author: Christoph Reiter <creiter@src.gnome.org>
1043 Date: Tue Mar 21 20:23:13 2017 +0100
1045 Remove pyglib_gil_state_ensure/pyglib_gil_state_release
1047 Use PyGILState_Ensure/PyGILState_Release instead.
1049 https://bugzilla.gnome.org/show_bug.cgi?id=699440
1051 gi/gobjectmodule.c | 40 ++++++++++++++++++++--------------------
1052 gi/pygboxed.c | 14 +++++++-------
1053 gi/pygenum.c | 6 +++---
1054 gi/pygflags.c | 6 +++---
1055 gi/pygi-error.c | 8 ++++----
1056 gi/pygi-source.c | 16 ++++++++--------
1057 gi/pyglib.c | 8 ++++----
1059 gi/pygobject-object.c | 36 ++++++++++++++++++------------------
1060 gi/pygoptiongroup.c | 9 ++++-----
1061 gi/pygpointer.c | 6 +++---
1062 gi/pygspawn.c | 4 ++--
1063 gi/pygtype.c | 18 +++++++++---------
1064 tests/testhelpermodule.c | 12 ++++++------
1065 14 files changed, 91 insertions(+), 95 deletions(-)
1067 commit 16e187636d186d4c128288efb032c5ddd69569b3
1068 Author: Christoph Reiter <creiter@src.gnome.org>
1069 Date: Tue Mar 21 20:05:08 2017 +0100
1071 Remove support for building without threads
1073 This removes the --disable-thread configure option.
1075 * glib removed disable-threads in 2011
1076 * We use PyEval_InitThreads() for some time now which means we
1077 build against a Python with threads. And nobody complained.
1079 https://bugzilla.gnome.org/show_bug.cgi?id=699440
1081 configure.ac | 24 ------------------------
1082 gi/gobjectmodule.c | 7 +------
1083 gi/pyglib.h | 9 ++-------
1084 gi/pygobject.h | 19 +++++--------------
1085 4 files changed, 8 insertions(+), 51 deletions(-)
1087 commit 20220d5eac510e3445a96e4e9061fd1bc6ec37c7
1088 Author: Christoph Reiter <creiter@src.gnome.org>
1089 Date: Tue Mar 21 14:46:00 2017 +0100
1091 pygtkcompat: Allow multiple calls to enable(), enable_gtk() as long
1092 as the version matches
1094 enable_gtk() isn't idempotent and was breaking the API when called
1096 This ignores the call in case the version passed is the same as for
1099 https://bugzilla.gnome.org/show_bug.cgi?id=759009
1101 pygtkcompat/pygtkcompat.py | 42
1102 ++++++++++++++++++++++++++++++++++++++++++
1103 tests/compat_test_pygtk.py | 21 +++++++++++++++++++++
1104 2 files changed, 63 insertions(+)
1106 commit 4af42e85a1959cbae06a1bbb7268c76890b60db9
1107 Author: Simon Feltman <sfeltman@src.gnome.org>
1108 Date: Mon Feb 22 23:02:22 2016 -0800
1110 tests: Update Makefile for building tests on OS X
1112 Pull LDFLAGS into variables for command and Python extension specific.
1113 Use -shext .so for the Python extension on both Linux and OS X. The
1115 is needed by Python on OS X (not dylib).
1116 Remove "all" target and explicit .la targets as these are handled
1118 and the "check" target on demand.
1120 https://bugzilla.gnome.org/show_bug.cgi?id=762176
1122 tests/Makefile.am | 56
1123 +++++++++++++++++++++++++++++--------------------------
1124 1 file changed, 30 insertions(+), 26 deletions(-)
1126 commit 3fe9213a3886ffa7a380dc08c5d636cda5865462
1127 Author: Mikhail Fludkov <misha@pexip.com>
1128 Date: Fri Feb 19 16:27:53 2016 +0100
1130 testhelper: propagate exception if _gobject could not be imported
1132 https://bugzilla.gnome.org/show_bug.cgi?id=772949
1134 tests/testhelpermodule.c | 8 ++++++--
1135 1 file changed, 6 insertions(+), 2 deletions(-)
1137 commit 399939b55860211e0ab64bdfbfada2c86be8bf64
1138 Author: Christoph Reiter <creiter@src.gnome.org>
1139 Date: Mon Mar 20 18:11:21 2017 +0100
1141 pygi-info: initialize GIArgument before passing it to
1142 g_constant_info_get_value
1144 Co-Authored-By: Mikhail Fludkov <misha@pexip.com>
1146 https://bugzilla.gnome.org/show_bug.cgi?id=772949
1148 gi/pygi-info.c | 2 +-
1149 1 file changed, 1 insertion(+), 1 deletion(-)
1151 commit a731db5908b79b97277be4f5138b46010c2dd616
1152 Author: Mikhail Fludkov <misha@pexip.com>
1153 Date: Fri Oct 14 18:41:48 2016 +0200
1155 tests: build libregress with disabled cairo
1157 https://bugzilla.gnome.org/show_bug.cgi?id=772949
1159 tests/Makefile.am | 9 ++++++---
1160 1 file changed, 6 insertions(+), 3 deletions(-)
1162 commit 2c329edb870787be1db4d5ecafdf221bead8b271
1163 Author: Mikhail Fludkov <misha@pexip.com>
1164 Date: Fri Oct 14 18:36:21 2016 +0200
1166 tests: use g-ir utils found by pkg-config
1168 Use g-ir utils found by pkg-config to not fail if
1169 gobject-introspection is not installed systemwide
1171 https://bugzilla.gnome.org/show_bug.cgi?id=772949
1173 tests/Makefile.am | 8 ++++----
1174 1 file changed, 4 insertions(+), 4 deletions(-)
1176 commit 7a3e4c005a6677ed7bf3ef807cd1a8487b0465de
1177 Author: Shyouzou Sugitani <shy@users.sourceforge.jp>
1178 Date: Mon Jun 6 12:26:44 2016 +0200
1180 Add a foreign type for cairo_region_t.
1182 Based on the patch at
1183 https://bugzilla.gnome.org/show_bug.cgi?id=667959#c7
1186 * Fixes the cairo_region_from_arg signature
1187 * Add check for pycairo region support (only in pycairo master)
1190 Co-Authored-By: Martin Pitt <martin.pitt@ubuntu.com>
1191 Co-Authored-By: Christoph Reiter <creiter@src.gnome.org>
1193 https://bugzilla.gnome.org/show_bug.cgi?id=667959
1195 gi/pygi-foreign-cairo.c | 51
1196 +++++++++++++++++++++++++++++++++++++++++++++++++
1197 tests/test_cairo.py | 28 +++++++++++++++++++++++++--
1198 2 files changed, 77 insertions(+), 2 deletions(-)
1200 commit bb5aa249f1ab6be81f88fdcfb56cee8b3ae2465d
1201 Author: Christoph Reiter <creiter@src.gnome.org>
1202 Date: Tue Jan 24 21:17:07 2017 +0100
1204 aclocal: make local file discover by reading AC_CONFIG_MACRO_DIR work
1206 aclocal needs to know where the local macros are for including
1208 for having a place to put the required system ones in.
1210 Since 1.13 it can parse configure.ac and get the path from
1211 AC_CONFIG_MACRO_DIR.
1212 This didn't work because for some reasons it complains if the
1214 start with "AM_" even if they are there (I guess it assumes they
1217 To work around that, change the AM prefix to PYG, bump the automake
1219 we can asume aclocal finds it and remove the hardcoded paths from both
1220 autogen.sh and Makefile.am.
1222 https://bugzilla.gnome.org/show_bug.cgi?id=777713
1226 configure.ac | 12 +++++-------
1227 m4/python.m4 | 12 ++++++------
1228 4 files changed, 12 insertions(+), 16 deletions(-)
1230 commit 8578ed7e9fd0486fd10e71d24f2e9f969793af8d
1231 Author: Christoph Reiter <creiter@src.gnome.org>
1232 Date: Tue Jan 24 18:58:48 2017 +0100
1234 Port from gnome-common to autoconf-archive
1236 See https://wiki.gnome.org/Projects/GnomeCommon/Migration
1240 * --enable-compile-warnings is now [no/auto/yes] instead of
1241 [no/minimum/yes/maximum/error]
1242 * warnings are errors by default except for releases or if
1243 --disable-Werror is passed (which is the default in jhbuild)
1245 AX_APPEND_COMPILE_FLAGS() gets used to disable some warnings
1247 AX_COMPILER_FLAGS() because they trigger with pycairo/python headers.
1249 Tested with gcc 6.3, clang 3.8.1
1251 https://bugzilla.gnome.org/show_bug.cgi?id=777713
1254 Makefile.am | 8 +++-----
1255 autogen.sh | 44 ++++++++++++++++++++++++++++++--------------
1256 configure.ac | 44 +++++++++++++-------------------------------
1257 gi/Makefile.am | 10 ++++++++++
1258 gi/_gobject/Makefile.am | 3 ---
1259 m4/as-ac-expand.m4 | 40 ----------------------------------------
1260 m4/jhflags.m4 | 21 ---------------------
1261 tests/Makefile.am | 9 ++++++---
1262 9 files changed, 65 insertions(+), 117 deletions(-)
1264 commit f939a71167bd94c9e7777312af444183f7b20441
1265 Author: Christoph Reiter <creiter@src.gnome.org>
1266 Date: Tue Jan 24 18:13:56 2017 +0100
1268 Fix various potential compiler warnings
1270 This is useful for a the next commit which switches away from
1271 gnome-common and uses AX_COMPILER_FLAGS adding some new compiler
1274 https://bugzilla.gnome.org/show_bug.cgi?id=777713
1276 gi/gimodule.c | 7 ++++---
1277 gi/gobjectmodule.c | 22 +++++++++++-----------
1279 gi/pygflags.c | 8 ++++----
1280 gi/pygi-argument.c | 2 ++
1281 gi/pygi-array.c | 16 ++++++++--------
1282 gi/pygi-cache.c | 2 ++
1283 gi/pygi-closure.c | 2 +-
1284 gi/pygi-foreign.c | 2 +-
1285 gi/pygi-info.c | 13 ++++++++++---
1286 gi/pygi-invoke.c | 3 +++
1287 gi/pygi-property.c | 2 +-
1288 gi/pygi-signal-closure.c | 3 ++-
1289 gi/pygi-value.c | 11 +++++++----
1290 gi/pygobject-object.c | 20 ++++++++++----------
1291 15 files changed, 67 insertions(+), 48 deletions(-)
1293 commit b3fb2ecbb98bd6e40fe49a5b16e5174645886710
1294 Author: Christoph Reiter <creiter@src.gnome.org>
1295 Date: Mon Mar 20 16:39:35 2017 +0100
1297 configure.ac: post-release version bump to 3.25.0
1300 1 file changed, 1 insertion(+), 1 deletion(-)
1302 commit 49cc3643819dad0d065d3c86327cd60d2f022dad
1303 Author: Christoph Reiter <creiter@src.gnome.org>
1304 Date: Tue Jan 24 22:11:23 2017 +0100
1306 Remove egg make target
1308 eggs are deprecated and the command was referencing long
1309 gone files and failing, so nobody was using it.
1311 https://bugzilla.gnome.org/show_bug.cgi?id=777719
1313 Makefile.am | 27 ---------------------------
1314 1 file changed, 27 deletions(-)
1316 commit 3aa5c80213194a8a3a993e937bae0f6b3d992547
1317 Author: Christoph Reiter <creiter@src.gnome.org>
1318 Date: Tue Jan 24 22:05:48 2017 +0100
1322 They aren't shipped, can't be build and describe the old
1323 pygobject 2 interface.
1325 There also was a doc-dist make target, but it was broken.
1327 If someone wants to look things up they are in git or still
1328 online for 2.28: https://developer.gnome.org/pygobject/stable/
1330 https://bugzilla.gnome.org/show_bug.cgi?id=777719
1333 docs/Makefile.am | 112 ----
1334 docs/reference/ChangeLog | 114 ----
1335 docs/reference/entities.docbook.in | 1 -
1336 docs/reference/pyglib-classes.xml | 13 -
1337 docs/reference/pyglib-functions.xml | 293 ---------
1338 docs/reference/pygobject-classes.xml | 17 -
1339 docs/reference/pygobject-constants.xml | 304 ----------
1340 docs/reference/pygobject-functions.xml | 864
1341 ---------------------------
1342 docs/reference/pygobject-gboxed.xml | 68 ---
1343 docs/reference/pygobject-ginterface.xml | 38 --
1344 docs/reference/pygobject-gpointer.xml | 42 --
1345 docs/reference/pygobject-introduction.xml | 222 -------
1346 docs/reference/pygobject-ref.xml | 34 --
1347 docs/reference/pygobject.xml | 953
1348 ------------------------------
1349 docs/style.css | 10 -
1350 docs/xsl/common.xsl | 19 -
1351 docs/xsl/devhelp.xsl | 154 -----
1352 docs/xsl/fixxref.py.in | 67 ---
1353 docs/xsl/html.xsl | 285 ---------
1354 docs/xsl/pdf-style.xsl | 11 -
1355 docs/xsl/pdf.xsl | 259 --------
1356 docs/xsl/ref-html-style.xsl | 54 --
1357 23 files changed, 3943 deletions(-)
1359 commit 9d76190bc7a256764b1af5ec4bd05ce4a7b6e1d2
1360 Author: Christoph Reiter <creiter@src.gnome.org>
1361 Date: Mon Mar 20 14:28:51 2017 +0100
1366 1 file changed, 3 insertions(+)
1368 commit bffbb4b1f823de5035e51e013dc6da5a973045aa
1369 Author: Christoph Reiter <creiter@src.gnome.org>
1370 Date: Mon Mar 20 14:23:59 2017 +0100
1372 configure.ac: pre-release version bump to 3.24.0
1374 configure.ac | 4 ++--
1375 1 file changed, 2 insertions(+), 2 deletions(-)
1377 commit 78defd2ab5f1935a6226336eaa08727e7516fb02
1378 Author: Christoph Reiter <creiter@src.gnome.org>
1379 Date: Mon Mar 13 20:14:37 2017 +0100
1383 NEWS | 10 ++++++++++
1384 1 file changed, 10 insertions(+)
1386 commit 4ccabfec0cececba935339ea8449ec51b4aeef5e
1387 Author: Christoph Reiter <creiter@src.gnome.org>
1388 Date: Mon Mar 13 20:13:13 2017 +0100
1390 Version bump to 3.23.92
1393 1 file changed, 1 insertion(+), 1 deletion(-)
1395 commit ebc245c477c36fa1f65f80d2e75792b82d837611
1396 Author: Fabian Orccon <cfoch.fabian@gmail.com>
1397 Date: Tue Jan 24 00:00:12 2017 -0500
1399 overrides: Update for Gdk-4.0 and Gtk+-4.0
1401 Override Gdk.Color and Gdk.RGBA according version.
1402 Use properly Gtk.init_check in Gtk+-4.0
1404 https://bugzilla.gnome.org/show_bug.cgi?id=777680
1406 gi/overrides/Gdk.py | 74
1407 ++++++++++++++++++++++++++++-------------------------
1408 gi/overrides/Gtk.py | 7 +++--
1409 2 files changed, 44 insertions(+), 37 deletions(-)
1411 commit d005df9645fd5fb2f19bd09384355f45591f1e58
1412 Author: Christoph Reiter <creiter@src.gnome.org>
1413 Date: Mon Jan 23 21:26:05 2017 +0100
1415 Disable -Werror=missing-prototypes
1417 https://bugzilla.gnome.org/show_bug.cgi?id=760056
1418 added some code triggering "missing-prototype" which we by default
1419 treat as an error. This disables that specific error by default.
1421 https://bugzilla.gnome.org/show_bug.cgi?id=777534
1424 1 file changed, 1 insertion(+), 1 deletion(-)
1426 commit 6695931a0dfb7d9db9ea14a128108342c3d0be89
1427 Author: Christoph Reiter <creiter@src.gnome.org>
1428 Date: Mon Jan 9 20:44:11 2017 +0100
1432 Two new errors popped up:
1434 * E305 expected 2 blank lines after class or function definition
1435 * E741 ambiguous variable name
1437 https://bugzilla.gnome.org/show_bug.cgi?id=776009
1439 examples/cairo-demo.py | 1 +
1440 examples/properties.py | 1 +
1442 gi/overrides/GIMarshallingTests.py | 2 ++
1443 gi/overrides/GLib.py | 19 +++++++++++++++++++
1444 gi/overrides/GObject.py | 12 ++++++++++++
1445 gi/overrides/Gdk.py | 3 +++
1446 gi/overrides/Gio.py | 2 ++
1447 gi/overrides/Gtk.py | 35
1448 +++++++++++++++++++++++++++++++++++
1449 gi/overrides/Pango.py | 2 ++
1451 pygtkcompat/pygtkcompat.py | 1 +
1452 tests/test_generictreemodel.py | 1 +
1453 tests/test_interface.py | 4 ++++
1454 tests/test_iochannel.py | 1 +
1455 tests/test_overrides_gtk.py | 10 +++++-----
1456 tests/test_properties.py | 12 ++++++------
1457 tests/test_signal.py | 1 +
1458 18 files changed, 98 insertions(+), 11 deletions(-)
1460 commit 3f68e0a352abc12e1990e82e3134c48f0be2b3c9
1461 Author: Christoph Reiter <creiter@src.gnome.org>
1462 Date: Wed Mar 23 17:07:53 2016 +0100
1464 Move pep8/pyflakes tests from 'make check' to 'make check.quality'
1466 The current behaviour is problematic because new versions of
1468 add new warnings or get more picky. This makes testing
1469 hard in case newly added code is developed on an older version
1470 or when testing old branches/releases.
1472 This moves the pep8/pyflakes tests to a new "make check.quality"
1475 This also removes the SKIP_PEP8 flag which was added in
1477 to speed up make check.
1479 https://bugzilla.gnome.org/show_bug.cgi?id=764087
1482 Makefile.am | 12 +++++-------
1483 2 files changed, 6 insertions(+), 8 deletions(-)
1485 commit 222f5581c38551bdd5c6c9ca4e895d1f44397ad1
1486 Author: Christoph Reiter <creiter@src.gnome.org>
1487 Date: Fri Oct 21 13:59:54 2016 +0200
1489 overrides: Update for Gtk-4.0
1491 Skip things which are gone since 4.0.
1492 This only fixes importing and doesn't add any tests for now.
1494 https://bugzilla.gnome.org/show_bug.cgi?id=773315
1496 gi/overrides/Gtk.py | 482
1497 ++++++++++++++++++++++++++--------------------------
1498 1 file changed, 242 insertions(+), 240 deletions(-)
1500 commit 8694e4dd42565f07b6f9ba1221fb03146be333a0
1501 Author: Dan Nicholson <nicholson@endlessm.com>
1502 Date: Wed Dec 21 12:02:14 2016 -0600
1504 Handle exception unreffing Variant at exit
1506 Calling unref will cause gi and gi.repository.GLib to be imported.
1507 However, if the program is exiting, then these modules have likely
1509 removed from sys.modules and will raise an exception. Assume
1511 case for ImportError and ignore the exception since everything will be
1512 cleaned up, anyways.
1514 This can be triggered with the following trivial program:
1516 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
1518 Exception ignored in:
1520 Adding some debug code to show the full exception revealed this:
1522 Traceback (most recent call last):
1523 File "/home/dan/src/pygobject/build3/gi/overrides/GLib.py", line
1526 ImportError: import of 'gi.repository.GLib' halted; None in
1529 https://bugzilla.gnome.org/show_bug.cgi?id=776092
1531 gi/overrides/GLib.py | 11 ++++++++++-
1532 1 file changed, 10 insertions(+), 1 deletion(-)
1534 commit 54c623ba639654716ca475f75c92cc8ed673d9f5
1535 Author: Dan Nicholson <nicholson@endlessm.com>
1536 Date: Wed Dec 21 11:50:08 2016 -0600
1538 Handle multiple deinit of callable cache
1540 In python3, it seems that the callable cache deinit can be called
1541 multiple times when the program is exiting. Make that safer by
1543 the various pointers in the structure using g_clear_pointer and
1544 Py_CLEAR. A subsequent call will skip all the deinit by seeing NULL
1545 pointers for the members.
1547 This was causing a critical warning when destroying the arg name hash
1548 table multiple times with the following trivial program:
1550 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
1553 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
1554 'hash_table != NULL' failed
1556 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
1557 'hash_table != NULL' failed
1559 https://bugzilla.gnome.org/show_bug.cgi?id=776092
1561 gi/pygi-cache.c | 15 +++++++--------
1562 1 file changed, 7 insertions(+), 8 deletions(-)
1564 commit 94226b8eb63dd985def8501168572ee16e02acad
1565 Author: Christoph Reiter <creiter@src.gnome.org>
1566 Date: Mon Sep 19 15:31:57 2016 +0200
1568 configure.ac: post-release version bump to 3.23.0
1571 1 file changed, 1 insertion(+), 1 deletion(-)
1573 commit fb1b8fa8a67f2c7ea7ad4b53076496a8f2b4afdb
1574 Author: Christoph Reiter <creiter@src.gnome.org>
1575 Date: Mon Sep 19 15:27:35 2016 +0200
1580 1 file changed, 3 insertions(+)
1582 commit b93523fcdb6bc04b42709ecd30b8cd11de80f0c5
1583 Author: Christoph Reiter <creiter@src.gnome.org>
1584 Date: Mon Sep 19 15:24:35 2016 +0200
1586 configure.ac: pre-release version bump to 3.22.0
1588 configure.ac | 4 ++--
1589 1 file changed, 2 insertions(+), 2 deletions(-)
1591 commit 3ec19401dc57263508ee3aa16f5293419c222f5b
1592 Author: Christoph Reiter <creiter@src.gnome.org>
1593 Date: Sun Sep 11 11:45:59 2016 +0200
1598 1 file changed, 7 insertions(+)
1600 commit 7ccc164b6da6d87c0a200ea50314d213470a1f18
1601 Author: Christoph Reiter <creiter@src.gnome.org>
1602 Date: Sat Sep 3 20:02:13 2016 +0200
1604 Handle nullable filename parameters
1606 Make _pygi_marshal_from_py_filename handle None input
1607 values. This allows one to pass None to parameters
1608 annotated as nullable filenames.
1610 This fixes a test suite error in test_spawn_async_with_pipes
1611 triggered by an annotation change in glib.
1613 https://bugzilla.gnome.org/show_bug.cgi?id=770821
1615 gi/pygi-basictype.c | 5 +++++
1616 tests/gimarshallingtestsextra.c | 22 ++++++++++++++++++++++
1617 tests/gimarshallingtestsextra.h | 3 +++
1618 tests/test_gi.py | 4 ++++
1619 4 files changed, 34 insertions(+)
1621 commit f4d858c069f06e7060a0bb067c29f5bffb7869ee
1622 Author: Aurelien Jarno <aurelien@aurel32.net>
1623 Date: Wed Aug 31 22:16:06 2016 +0200
1625 Fix list/hashtable enum <-> hash conversion on 64-bit big endian
1627 glist and ghashtable objects both store pointers. Complex objects are
1628 stored as pointers to the objects, but simpler objects like an integer
1629 value are stored directly as a pointer, using for example the
1630 GINT_TO_POINTER and GPOINTER_TO_INT macros.
1632 This is done in pygobject with the _pygi_hash_pointer_to_arg and
1633 _pygi_arg_to_hash_pointer functions. These functions handle the
1635 type of objects. However they consider that an enum, represented
1637 GI_TYPE_TAG_INTERFACE type (extended interface object), are always a
1638 pointer. This is wrong as it is often a 32-bit value. Therefore
1640 big endian machines, the value is handle with the 2 32-bit parts
1643 This patches fixes that by changing the second argument of both
1645 from GITypeTag to GITypeInfo. This way the interface can be
1647 and the underlying storage type can also be determined. This currently
1648 only handles enum and flags, leaving other types as pointers. The
1650 also adds two tests in the testsuite, one for each direction.
1652 https://bugzilla.gnome.org/show_bug.cgi?id=770608
1654 gi/pygi-argument.c | 33 +++++++++++++++++++++++++++++----
1655 gi/pygi-argument.h | 4 ++--
1656 gi/pygi-hashtable.c | 8 ++++----
1657 gi/pygi-list.c | 8 ++++----
1658 tests/gimarshallingtestsextra.c | 33 +++++++++++++++++++++++++++++++++
1659 tests/gimarshallingtestsextra.h | 10 ++++++++++
1660 tests/test_gi.py | 11 +++++++++++
1661 7 files changed, 93 insertions(+), 14 deletions(-)
1663 commit 1cb6c470e9d297afda21b73efaccb0b95e519b5d
1664 Author: Lukas K <lu@0x83.eu>
1665 Date: Fri May 13 21:30:47 2016 +0200
1667 Allow passing sockets to io_add_watch on win32
1669 https://bugzilla.gnome.org/show_bug.cgi?id=766396
1671 gi/overrides/GLib.py | 4 ++++
1672 1 file changed, 4 insertions(+)
1674 commit 4617c39ca212f0da82af1a9989c912bcdfe1158b
1675 Author: Michael Biebl <biebl@debian.org>
1676 Date: Sat Sep 3 16:46:40 2016 +0200
1678 tests: use dbus-run-session instead of dbus-launch to run tests
1680 The use of dbus-launch is deprecated by dbus upstream.
1681 See https://lists.debian.org/debian-devel/2016/08/msg00554.html
1685 So use dbus-run-session instead, which was specifically designed to be
1686 used for such cases, like running test-suites.
1688 See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836049.
1690 https://bugzilla.gnome.org/show_bug.cgi?id=770798
1692 tests/Makefile.am | 7 ++-----
1693 1 file changed, 2 insertions(+), 5 deletions(-)
1695 commit 4b9185250d73c38231d90b53974d0d2912a02972
1696 Author: Christoph Reiter <creiter@src.gnome.org>
1697 Date: Thu Aug 25 16:57:11 2016 +0200
1699 configure.ac: post-release version bump to 3.21.92
1702 1 file changed, 1 insertion(+), 1 deletion(-)
1704 commit 2f98ecc4df9e0feaab78ba289956f469e36c7d76
1705 Author: Christoph Reiter <creiter@src.gnome.org>
1706 Date: Thu Aug 25 16:51:39 2016 +0200
1710 NEWS | 13 +++++++++++++
1711 1 file changed, 13 insertions(+)
1713 commit 91abec259ed0c387ab69762ff92142b08327d00a
1714 Author: Christoph Reiter <creiter@src.gnome.org>
1715 Date: Thu Aug 25 16:50:56 2016 +0200
1717 configure.ac: version bump to 3.21.91
1720 1 file changed, 1 insertion(+), 1 deletion(-)
1722 commit f65bb1fc8f7f6172970545412fe56ab75f57904b
1723 Author: Mathieu Bridon <bochecha@daitauha.fr>
1724 Date: Thu Jun 23 22:35:42 2016 +0200
1726 Allow installing with pip
1728 This commit adds a setup.py file which just calls the autotools to
1729 configure/make/make install.
1731 It is heavily inspired by the similar work from Simon McVittie on
1734 https://bugzilla.gnome.org/show_bug.cgi?id=767988
1739 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1740 3 files changed, 110 insertions(+), 1 deletion(-)
1742 commit 14626ee5dcf380ae94680626607742a8cc048351
1743 Author: Christoph Reiter <creiter@src.gnome.org>
1744 Date: Mon Jun 6 20:08:18 2016 +0200
1746 Skip a test with older glib
1748 https://bugzilla.gnome.org/show_bug.cgi?id=740301
1750 tests/test_docstring.py | 4 ++++
1751 1 file changed, 4 insertions(+)
1753 commit a12f7027adeb57fe1c0142c86d34d5ec8f6b6d9e
1754 Author: Christoph Reiter <creiter@src.gnome.org>
1755 Date: Mon Jun 6 20:13:29 2016 +0200
1757 Fix a test with Python 3.1/3.2
1759 Fix Python version check in
1760 TestImporter.test_invalid_repository_module_name()
1761 to avoid failure with Python 3.1 and 3.2.
1763 Fix provided by Arfrever Frehtes Taifersar Arahesis at
1764 https://bugzilla.gnome.org/show_bug.cgi?id=740324#c1
1766 https://bugzilla.gnome.org/show_bug.cgi?id=740324
1768 tests/test_import_machinery.py | 4 ++--
1769 1 file changed, 2 insertions(+), 2 deletions(-)
1771 commit f5cf74f3b8d285de3591d89c6f3b4b8d59bde35e
1772 Author: Christoph Reiter <creiter@src.gnome.org>
1773 Date: Mon Jun 6 20:45:22 2016 +0200
1775 tests: Use places kwarg for assertAlmostEqual
1777 Always pass 'places' argument of TestCase.assertAlmostEqual
1778 as keyword argument.
1780 Fix by Arfrever Frehtes Taifersar Arahesis
1781 https://bugzilla.gnome.org/show_bug.cgi?id=740337#c1
1783 https://bugzilla.gnome.org/show_bug.cgi?id=740337
1785 tests/test_properties.py | 6 +++---
1786 tests/test_signal.py | 4 ++--
1787 2 files changed, 5 insertions(+), 5 deletions(-)
1789 commit e0b40099283a31ea23433f9d36dc9beebd4370c9
1790 Author: Christoph Reiter <creiter@src.gnome.org>
1791 Date: Mon Jun 6 11:34:47 2016 +0200
1793 Print exception if marshalling a signal argument fails
1795 For example if cairo support is missing a Gtk.Widget::draw call
1797 "TypeError: Couldn't find foreign struct converter for
1800 https://bugzilla.gnome.org/show_bug.cgi?id=748198
1802 gi/pygi-signal-closure.c | 1 +
1803 1 file changed, 1 insertion(+)
1805 commit 76e2e30bc586016eba8bcfdd753dc1f4672dced7
1806 Author: Marinus Schraal <mschraal@src.gnome.org>
1807 Date: Fri May 20 01:26:27 2016 +0200
1809 overrides: allow treemodel sequence shorthands
1811 Add get_ and set_ overrides for sequences of GtkTreeModel
1813 allows an arbitray list of indices to be retrieved or written in
1815 from or to a GtkTreeModel row:
1817 model[0][0, 1] = [True, "Hello"]
1818 [foo, bar] = model[0][2, 7]
1820 https://bugzilla.gnome.org/show_bug.cgi?id=766580
1822 gi/overrides/Gtk.py | 15 +++++++++++++--
1823 tests/test_overrides_gtk.py | 46
1824 +++++++++++++++++++++++++++++++++++++++++++++
1825 2 files changed, 59 insertions(+), 2 deletions(-)
1827 commit ff1a6f0f00e042c5addfa42231ec8927ebf1a1a6
1828 Author: Christoph Reiter <creiter@src.gnome.org>
1829 Date: Tue May 31 19:26:00 2016 +0200
1831 Remove pygobject-external.h
1833 It's not used any more
1835 https://bugzilla.gnome.org/show_bug.cgi?id=767084
1837 gi/Makefile.am | 1 -
1838 gi/pygobject-external.h | 73
1839 -------------------------------------------------
1840 2 files changed, 74 deletions(-)
1842 commit f5dd1551371308d33df9627bc8cc0e34fa68a2a8
1843 Author: Christoph Reiter <creiter@src.gnome.org>
1844 Date: Tue May 31 18:47:54 2016 +0200
1846 Remove pygobject-private.h and rename pygobject.c to
1849 Move all the random declarations in pygobject-private.h to their
1850 respective header files. Rename pygobject.c to pygobject-object.c
1851 so it's clearer that it's not the implementation of pygobject.h.
1852 Add a new pygobject-internal.h which includes pygobject.h
1853 with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did.
1855 In case you are looking at the git log and end up here due to the
1858 git log --follow pygobject-object.c
1860 or on the web interface go to the history of the old file name:
1862 https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64
1864 https://bugzilla.gnome.org/show_bug.cgi?id=767084
1866 gi/Makefile.am | 7 +-
1867 gi/gimodule.c | 10 +-
1868 gi/gobjectmodule.c | 56 +---------
1869 gi/gobjectmodule.h | 11 ++
1870 gi/pygboxed.c | 4 +-
1871 gi/pygboxed.h | 11 ++
1873 gi/pygenum.h | 22 ++++
1874 gi/pygflags.c | 4 +-
1875 gi/pygflags.h | 21 ++++
1876 gi/pygi-argument.c | 4 +-
1877 gi/pygi-basictype.c | 2 +-
1878 gi/pygi-boxed.c | 3 +-
1879 gi/pygi-boxed.h | 2 +-
1880 gi/pygi-cache.c | 1 +
1881 gi/pygi-ccallback.c | 1 -
1882 gi/pygi-enum-marshal.c | 3 +-
1883 gi/pygi-foreign.c | 2 +-
1884 gi/pygi-info.c | 2 +-
1885 gi/pygi-object.c | 2 +-
1886 gi/pygi-property.c | 1 +
1887 gi/pygi-property.h | 2 +-
1888 gi/pygi-signal-closure.h | 2 +-
1889 gi/pygi-source.c | 3 +-
1890 gi/pygi-struct-marshal.c | 3 +
1891 gi/pygi-struct.c | 3 +-
1892 gi/pygi-struct.h | 2 +-
1893 gi/pygi-type.c | 2 +-
1894 gi/pygi-util.c | 42 ++++++++
1895 gi/pygi-util.h | 6 ++
1896 gi/pygi-value.c | 6 +-
1897 gi/pyginterface.c | 3 +-
1898 gi/pygobject-internal.h | 7 ++
1899 gi/{pygobject.c => pygobject-object.c} | 27 ++++-
1900 gi/pygobject-object.h | 56 ++++++++++
1901 gi/pygobject-private.h | 186
1902 ---------------------------------
1903 gi/pygparamspec.c | 5 +-
1904 gi/pygpointer.c | 3 +-
1905 gi/pygpointer.h | 8 ++
1906 gi/pygtype.c | 27 ++---
1907 gi/pygtype.h | 25 +++++
1908 41 files changed, 305 insertions(+), 286 deletions(-)
1910 commit ef7a6dad8cea6a3b9547cfae00bf15ebb9eb756e
1911 Author: Christoph Reiter <creiter@src.gnome.org>
1912 Date: Tue May 31 15:44:36 2016 +0200
1914 Merge pyglib-private.h into pyglib.h
1916 No need for another header
1918 https://bugzilla.gnome.org/show_bug.cgi?id=767084
1920 gi/Makefile.am | 1 -
1921 gi/gimodule.c | 2 +-
1922 gi/glibmodule.c | 1 -
1923 gi/pygi-resulttuple.c | 2 +-
1924 gi/pygi-source.c | 1 -
1925 gi/pyglib-private.h | 40 ----------------------------------------
1927 gi/pyglib.h | 6 ++++++
1928 gi/pygoptioncontext.c | 1 -
1929 gi/pygoptiongroup.c | 1 -
1931 11 files changed, 8 insertions(+), 49 deletions(-)
1933 commit e1e05fb027c328ef41be0ba6d99883d2d7983f70
1934 Author: Christoph Reiter <creiter@src.gnome.org>
1935 Date: Tue May 31 15:31:38 2016 +0200
1937 Remove pygi.h and pygi-private.h
1939 Instead include things where needed.
1941 https://bugzilla.gnome.org/show_bug.cgi?id=767084
1943 gi/Makefile.am | 3 +-
1944 gi/gimodule.c | 11 ++++-
1947 gi/pygflags.c | 4 +-
1948 gi/pygi-argument.c | 17 ++++++--
1949 gi/pygi-array.c | 3 +-
1950 gi/pygi-basictype.c | 2 +-
1951 gi/pygi-boxed.c | 3 +-
1952 gi/pygi-boxed.h | 8 ++++
1953 gi/pygi-cache.c | 2 +
1954 gi/pygi-ccallback.c | 2 +-
1955 gi/pygi-ccallback.h | 11 +++++
1956 gi/pygi-closure.c | 5 ++-
1957 gi/pygi-enum-marshal.c | 3 +-
1958 gi/pygi-error.c | 2 +-
1959 gi/pygi-hashtable.c | 2 +-
1960 gi/pygi-info.c | 6 ++-
1961 gi/pygi-info.h | 22 ++++++++++
1962 gi/pygi-invoke.c | 5 +++
1963 gi/pygi-invoke.h | 2 +-
1964 gi/pygi-list.c | 2 +-
1965 gi/pygi-marshal-cleanup.c | 8 ++--
1966 gi/pygi-marshal-cleanup.h | 4 +-
1967 gi/pygi-object.c | 2 +-
1968 gi/pygi-property.c | 3 +-
1969 gi/pygi-property.h | 2 +-
1970 gi/pygi-repository.c | 3 +-
1971 gi/pygi-repository.h | 6 +++
1972 gi/pygi-signal-closure.c | 4 +-
1973 gi/pygi-signal-closure.h | 3 +-
1974 gi/pygi-source.c | 4 +-
1975 gi/pygi-struct-marshal.c | 6 ++-
1976 gi/pygi-struct.c | 5 ++-
1977 gi/pygi-struct.h | 6 +++
1978 gi/pygi-type.c | 3 +-
1979 gi/{pygi-private.h => pygi-util.h} | 47 ++--------------------
1981 --------------------------------------
1982 gi/pygobject.c | 3 +-
1983 gi/pygpointer.c | 1 -
1984 40 files changed, 146 insertions(+), 164 deletions(-)
1986 commit c86424c73725610ac2ef832c1fa41a777f9a5efa
1987 Author: Simon Feltman <sfeltman@src.gnome.org>
1988 Date: Sun Apr 24 21:27:59 2016 -0700
1990 configure.ac: post-release version bump to 3.21.1
1993 1 file changed, 1 insertion(+), 1 deletion(-)
1995 commit febd211b6628a8f63d92ae011d68b845e9fe6ec8
1996 Author: Simon Feltman <sfeltman@src.gnome.org>
1997 Date: Sun Apr 24 21:19:39 2016 -0700
2002 1 file changed, 7 insertions(+)
2004 commit 1bb267f1755b2ec314c751b27931cbe7032f3c36
2005 Author: Dustin Falgout <dustin@falgout.us>
2006 Date: Sun Mar 20 03:21:02 2016 -0500
2008 gi: Add require_versions() function
2010 Adds a new function that accepts a dict of one or more namespace,
2012 pairs through which it iterates and calls `gi.require_version()`
2013 for each pair. Also adds a test for the new function.
2015 https://bugzilla.gnome.org/show_bug.cgi?id=761141
2017 gi/__init__.py | 33 +++++++++++++++++++++++++++++++++
2018 tests/test_import_machinery.py | 6 ++++++
2019 2 files changed, 39 insertions(+)
2021 commit b3f897b98c5a2c59ea34a8afcce0448b1ffb0731
2022 Author: Iain Lane <iain@orangesquash.org.uk>
2023 Date: Thu Mar 24 18:04:40 2016 +0000
2025 test_gerror_novalue: Don't assign the error to a variable
2027 Otherwise the build fails with:
2029 CHECK Pyflakes examples gi tests pygtkcompat
2030 tests/test_gobject.py:689: local variable 'error' is assigned to
2033 https://bugzilla.gnome.org/show_bug.cgi?id=764165
2035 tests/test_gobject.py | 2 +-
2036 1 file changed, 1 insertion(+), 1 deletion(-)
2038 commit 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32
2039 Author: Emmanuele Bassi <ebassi@gnome.org>
2040 Date: Wed Mar 23 13:59:53 2016 +0000
2042 build: Do not enable code coverage based on lcov
2044 Code coverage turns on various slow paths and disables
2046 should be, and it usually is, an opt in configuration flag.
2048 Enabling it should not be conditional on the existence of the lcov
2049 binary on the system, otherwise anybody building PyGObject from Git on
2050 any moderately complete development environment will automatically
2051 enable code coverage even when not wanted.
2053 https://bugzilla.gnome.org/show_bug.cgi?id=764075
2055 autogen.sh | 10 +---------
2056 1 file changed, 1 insertion(+), 9 deletions(-)
2058 commit c2a66daf3ac62e3e97f8d7fe16afccf37f413305
2059 Author: Simon Feltman <sfeltman@src.gnome.org>
2060 Date: Mon Mar 21 21:00:37 2016 -0700
2062 configure.ac: post-release version bump to 3.21.0
2065 1 file changed, 1 insertion(+), 1 deletion(-)
2067 commit ce3034544f126f196cad57485f126f1246cd1acf
2068 Author: Simon Feltman <sfeltman@src.gnome.org>
2069 Date: Mon Mar 21 20:34:50 2016 -0700
2074 1 file changed, 2 insertions(+)
2076 commit eee366401383f92a2b2b233b2cd0db2ad50b6cb2
2077 Author: Simon Feltman <sfeltman@src.gnome.org>
2078 Date: Mon Mar 21 20:33:13 2016 -0700
2080 configure.ac: pre-release version bump to 3.20.0
2082 configure.ac | 4 ++--
2083 1 file changed, 2 insertions(+), 2 deletions(-)
2085 commit f4401234cdc9be784eea9347fec349e7cba0a153
2086 Author: Simon Feltman <sfeltman@src.gnome.org>
2087 Date: Tue Mar 15 22:56:10 2016 -0700
2092 1 file changed, 2 insertions(+)
2094 commit 3d8860c2d0a95cff38f7eaa65c38521654a162ae
2095 Author: Simon Feltman <sfeltman@src.gnome.org>
2096 Date: Tue Mar 1 22:10:21 2016 -0800
2098 post-release version bump to 3.19.92
2101 1 file changed, 1 insertion(+), 1 deletion(-)
2103 commit a4865ef2f8c70b93f84f93236786c65ad5f973af
2104 Author: Simon Feltman <sfeltman@src.gnome.org>
2105 Date: Tue Mar 1 21:46:21 2016 -0800
2109 NEWS | 11 +++++++++++
2110 1 file changed, 11 insertions(+)
2112 commit cc75f994a07639b9ffcc6afef757768780a076de
2113 Author: Thibault Saunier <tsaunier@gnome.org>
2114 Date: Fri Feb 5 15:00:10 2016 +0100
2116 tests: check passing Boxed type in GValue as function parameters
2118 https://bugzilla.gnome.org/show_bug.cgi?id=761592
2120 tests/Makefile.am | 13 +++++++++++--
2121 tests/gimarshallingtestsextra.c | 37
2122 +++++++++++++++++++++++++++++++++++++
2123 tests/gimarshallingtestsextra.h | 26 ++++++++++++++++++++++++++
2124 tests/test_error.py | 6 ++++++
2125 4 files changed, 80 insertions(+), 2 deletions(-)
2127 commit 5f4b08f4e8a98046eab71537c7827edde2ca8742
2128 Author: Simon Feltman <sfeltman@src.gnome.org>
2129 Date: Mon Feb 29 22:50:32 2016 -0800
2131 gerror: Add special case marshaling for boxing GErrors
2133 Transfer gtype from introspection GError class to Python GError
2135 Expose the PyGError pointer as an extern so other C files can pick
2137 Add custom to/from GValue marshalers for GError.
2138 Add tests for both complete and incomplete (no boxed pointer held).
2140 https://bugzilla.gnome.org/show_bug.cgi?id=761592
2142 gi/overrides/GLib.py | 1 +
2143 gi/pygi-error.c | 32 +++++++++++++++++++++++++++++++-
2144 gi/pygi-error.h | 2 ++
2145 gi/pygi-value.c | 1 +
2146 tests/test_gobject.py | 17 +++++++++++++++++
2147 5 files changed, 52 insertions(+), 1 deletion(-)
2149 commit cfca1457c39e3c4c7ef97e7b46a73c19e5adf305
2150 Author: Simon Feltman <sfeltman@src.gnome.org>
2151 Date: Sun Feb 28 01:39:31 2016 -0800
2153 gerror: Add support for marshaling GError from Python to C
2155 Refactor pygi_gerror_exception_check() to use a new broken out
2157 pygi_error_marshal_from_py(). This allows re-use for argument
2159 of a Python GError to a C GError.
2160 Remove PYGI_META_ARG_TYPE_CHILD setting for GError out argument
2162 This was incorrect since GError exception arguments are not specified
2163 explicitly and instead uses the "throws" option.
2165 https://bugzilla.gnome.org/show_bug.cgi?id=685197
2167 gi/pygi-error.c | 132
2168 +++++++++++++++++++++++++++++--------------
2169 gi/pygi-error.h | 3 +
2170 tests/test_overrides_glib.py | 30 ++++++++++
2171 3 files changed, 123 insertions(+), 42 deletions(-)
2173 commit 2fc1a689a81614649d042965997f4546b0a58ada
2174 Author: Simon Feltman <sfeltman@src.gnome.org>
2175 Date: Sat Feb 27 17:21:53 2016 -0800
2177 gerror: Add "_to_py" suffix to pygi_error_marshal
2179 This will allow for the a pygi_error_marshal_from_py function.
2181 https://bugzilla.gnome.org/show_bug.cgi?id=685197
2183 gi/pygi-error.c | 8 ++++----
2184 gi/pygi-error.h | 2 +-
2185 2 files changed, 5 insertions(+), 5 deletions(-)
2187 commit 7e29227b6f58cfcc96118a4af83658ca1a6fa1f4
2188 Author: Christoph Reiter <creiter@src.gnome.org>
2189 Date: Sat Jul 4 22:09:46 2015 +0200
2191 Some error handling/reporting fixes.
2193 * Check in pyg_boxed_new() if the passed type is an actual subclass
2194 * Don't replace existing exceptions in pyg_value_as_pyobject()
2195 * Print an error in pyg_closure_marshal() in case marshalling
2198 https://bugzilla.gnome.org/show_bug.cgi?id=751956
2200 gi/pygboxed.c | 8 +++++++-
2201 gi/pygi-value.c | 15 ++++++++++-----
2202 gi/pygtype.c | 11 ++++++++++-
2203 3 files changed, 27 insertions(+), 7 deletions(-)
2205 commit 49880800b35029de3731523eede1b3174f10c1db
2206 Author: Christoph Reiter <creiter@src.gnome.org>
2207 Date: Sat Jul 4 21:40:04 2015 +0200
2209 GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but
2212 This only worked because they share the same struct layout.
2213 This adds a new constructor for creating a new PyGIStruct instance
2216 https://bugzilla.gnome.org/show_bug.cgi?id=751956
2218 gi/pygi-struct.c | 32 ++++++++++++++++++++++++++++++++
2219 gi/pygi-struct.h | 5 +++++
2220 gi/pygi-value.c | 3 ++-
2221 3 files changed, 39 insertions(+), 1 deletion(-)
2223 commit f27b1976ea325fcd55359888401dd08ac8fb074a
2224 Author: Mikhail Fludkov <misha@pexip.com>
2225 Date: Tue Sep 1 17:54:17 2015 +0200
2227 pygi-value: special case for NULL GValueArray
2229 Don't segfault when dealing with GValue of GValueArray type containing
2230 NULL. Return empty list in this case.
2232 https://bugzilla.gnome.org/show_bug.cgi?id=754359
2234 gi/pygi-value.c | 5 +++--
2235 tests/test_gobject.py | 6 ++++++
2236 2 files changed, 9 insertions(+), 2 deletions(-)
2238 commit c8176dfabea694ce738ff4633e7522b0d1fc1c51
2239 Author: Simon Feltman <sfeltman@src.gnome.org>
2240 Date: Sat Feb 20 20:42:40 2016 -0800
2242 post-release version bump to 3.19.91
2245 1 file changed, 1 insertion(+), 1 deletion(-)
2247 commit d16ae38f0a12653557bdeba17eb155144d91bff4
2248 Author: Simon Feltman <sfeltman@src.gnome.org>
2249 Date: Sat Feb 20 19:56:24 2016 -0800
2254 1 file changed, 9 insertions(+)
2256 commit 0190fb84fc1f88ba4c0623bf1b29fe3ca4f80932
2257 Author: Simon Feltman <sfeltman@src.gnome.org>
2258 Date: Sat Feb 20 19:49:31 2016 -0800
2260 pre-release version bump to 3.19.90
2263 1 file changed, 1 insertion(+), 1 deletion(-)
2265 commit 0467808b97f89c5a36c01f5b7cba013acaef6851
2266 Author: Simon Feltman <sfeltman@src.gnome.org>
2267 Date: Sat Feb 20 19:40:45 2016 -0800
2269 tests: Set the active style context state before retrieving values
2271 compat_test_pygtk.TestGTKCompat.test_style() was giving a warning due
2272 to set/get state mismatch. Set the current state before getting values
2275 tests/compat_test_pygtk.py | 1 +
2276 1 file changed, 1 insertion(+)
2278 commit 8145fa69c8ace9772687f26f782acb5e461776be
2279 Author: Simon Feltman <sfeltman@src.gnome.org>
2280 Date: Sat Feb 20 17:32:01 2016 -0800
2282 tests: Fix crash with empty drag source icon names
2284 Add "_About" argument when testing call to
2285 drag_source_set_icon_name().
2286 Add Gtk.STOCK_ABOUT argument when testing call to
2287 drag_source_set_icon_stock().
2288 This avoids crashes due to GTK+ drag source attempting to unref a
2291 https://bugzilla.gnome.org/show_bug.cgi?id=762392
2293 tests/test_overrides_gtk.py | 4 ++--
2294 1 file changed, 2 insertions(+), 2 deletions(-)
2296 commit 6a26d3f2b25b3fbbd87def14f1df17b96ed23a0d
2297 Author: Christoph Reiter <creiter@src.gnome.org>
2298 Date: Sun Oct 4 11:18:04 2015 +0200
2300 Try to import GdkX11 in Gdk overrides
2302 pygobject will not provide GdkX11 instances until the namespace
2303 is loaded so try to load it in the overrides.
2305 This makes Gdk.Display.get_default() return a GdkX11.X11Display
2306 instead of a dummy Gdk.Display subclass instance.
2308 https://bugzilla.gnome.org/show_bug.cgi?id=673396
2310 gi/overrides/Gdk.py | 11 ++++++++++-
2311 1 file changed, 10 insertions(+), 1 deletion(-)
2313 commit 12022437d663f49ba3a2a2f884da30dd5ca08ff6
2314 Author: Christoph Reiter <creiter@src.gnome.org>
2315 Date: Fri Oct 30 13:07:57 2015 +0100
2317 Fix import warnings pointing to the wrong code with CPython 3.3/3.5
2319 For making warnings point to the code doing the import, the stack
2321 of the import system need to be skipped. The frame count number
2323 between CPython versions and in 3.5 all frames of the import
2325 skipped for warnings (https://bugs.python.org/issue24305).
2327 This hardcodes the frame counts for all supported CPython versions
2328 which fixes the import warning output for CPython 3.3 and 3.5.
2330 This also fixes/works around a bug in CPython 3 where if a too
2331 large stacklevel value was passed to warn(), CPython would try to
2332 interpret a file called "sys" in the same directory of the
2333 executed script (https://bugs.python.org/issue25493
2334 and https://bugzilla.gnome.org/show_bug.cgi?id=757184).
2336 https://bugzilla.gnome.org/show_bug.cgi?id=757184
2338 gi/importer.py | 28 +++++++++++++++++++++++-----
2339 tests/test_import_machinery.py | 4 ++++
2340 2 files changed, 27 insertions(+), 5 deletions(-)
2342 commit 72ab17963e81fb63f7238123c359be8d83a529f4
2343 Author: Christoph Reiter <creiter@src.gnome.org>
2344 Date: Sun Oct 25 11:39:22 2015 +0100
2346 Bump automake version to 1.12.6
2348 Required to a get a new enough py-compile which supports
2349 the __pycache__ directories for newer Python 3 versions.
2350 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847
2352 Also remove m4/py-compile which doesn't seem to get used in
2353 either 1.11 or 1.15 here.
2355 https://bugzilla.gnome.org/show_bug.cgi?id=757086
2359 ----------------------------------------------------------
2360 2 files changed, 3 insertions(+), 162 deletions(-)
2362 commit b71f76af163c1d43b9f11e6a6362e7510d84c231
2363 Author: Simon Feltman <sfeltman@src.gnome.org>
2364 Date: Sat Oct 31 14:55:46 2015 -0700
2366 post-release version bump to 3.19.3
2369 1 file changed, 1 insertion(+), 1 deletion(-)
2371 commit bedc7b883febceb3470f1b8e909cfab696d1fc5f
2372 Author: Simon Feltman <sfeltman@src.gnome.org>
2373 Date: Sat Oct 31 14:47:07 2015 -0700
2378 1 file changed, 7 insertions(+)
2380 commit 4164e7088be446fcab65cef642c6853aad3b6a69
2381 Author: Simon Feltman <sfeltman@src.gnome.org>
2382 Date: Sat Oct 31 14:06:40 2015 -0700
2384 tests: Fix failure due to new GTK+ warning regarding size_allocate()
2386 Call get_preferred_size() to avoid size_allocated() warning in
2387 size-allocated signal handler test.
2389 tests/test_overrides_gtk.py | 1 +
2390 1 file changed, 1 insertion(+)
2392 commit a8293f411234180d70e9ff979954b28381842e1f
2393 Author: Simon Feltman <sfeltman@src.gnome.org>
2394 Date: Sat Oct 31 14:03:21 2015 -0700
2396 Fix build warnings regarding _POSIX_C_SOURCE redefinition
2398 Move Python.h includes above glib includes to avoid build
2399 warnings with Python 2 as noted here:
2400 https://docs.python.org/2/c-api/intro.html#include-files
2402 gi/gobjectmodule.c | 1 +
2403 gi/pygi-array.c | 2 +-
2404 gi/pygi-cache.c | 2 +-
2405 gi/pygi-enum-marshal.c | 2 +-
2406 gi/pygi-hashtable.c | 1 +
2407 gi/pygi-hashtable.h | 2 +-
2408 gi/pygi-list.c | 1 +
2409 gi/pygi-object.c | 2 +-
2410 gi/pygi-struct-marshal.c | 2 +-
2411 gi/pygi-value.c | 1 +
2412 10 files changed, 10 insertions(+), 6 deletions(-)
2414 commit 3b1d130174951f7648beceac270daa8ac65939c7
2415 Author: Matthias Clasen <mclasen@redhat.com>
2416 Date: Fri Oct 30 12:15:26 2015 -0400
2418 Drop -std=c90 for now
2420 glib headers have a problem with it, and sorting it out on the
2421 glib side will take a while, so drop this for now.
2423 configure.ac | 9 ---------
2424 1 file changed, 9 deletions(-)
2426 commit ef219cc74a7c6803795692664fc3b2c8ebbb4fe4
2427 Author: Christoph Reiter <creiter@src.gnome.org>
2428 Date: Fri Oct 30 16:23:11 2015 +0100
2430 configure.ac: post release version bump to 3.19.2
2433 1 file changed, 1 insertion(+), 1 deletion(-)
2435 commit 98a4bfe4606bd2c7534533633a20a998f732e248
2436 Author: Christoph Reiter <creiter@src.gnome.org>
2437 Date: Fri Oct 30 16:13:46 2015 +0100
2441 NEWS | 20 ++++++++++++++++++++
2442 1 file changed, 20 insertions(+)
2444 commit 175d10665472e6f4090d707e3b89255814c932b1
2445 Author: Christoph Reiter <creiter@src.gnome.org>
2446 Date: Mon Jun 8 18:14:08 2015 +0200
2448 Use a named tuple for returning multiple values
2450 >>> v = Gtk.Button().get_alignment()
2452 (xalign=0.5, yalign=0.5)
2456 For each GICallable a new gi._gi.ResultTuple subclass
2457 is created which knows the return value names of that
2458 callable and displays them in __repr__, __dir__ and
2459 allows to access tuple items by name.
2461 The subclass is cached in PyGICallableCache.
2463 To reduce the number of small tuple allocations use a free list
2464 similar to the one used for pure tuples in CPython.
2466 https://bugzilla.gnome.org/show_bug.cgi?id=727374
2468 gi/Makefile.am | 2 +
2470 gi/pygi-cache.c | 34 +++++
2471 gi/pygi-cache.h | 6 +
2472 gi/pygi-invoke.c | 35 ++---
2473 gi/pygi-private.h | 1 +
2474 gi/pygi-resulttuple.c | 354
2475 ++++++++++++++++++++++++++++++++++++++++++++++
2476 gi/pygi-resulttuple.h | 34 +++++
2477 gi/pyglib-python-compat.h | 5 +
2478 tests/Makefile.am | 1 +
2479 tests/test_resulttuple.py | 87 ++++++++++++
2480 11 files changed, 543 insertions(+), 17 deletions(-)
2482 commit b1788c9a445c8a820121c42260bcbdbc3ae8dfba
2483 Author: Christoph Reiter <creiter@src.gnome.org>
2484 Date: Mon Oct 26 11:17:34 2015 +0100
2486 enum/flags: use gir info for type names and __repr__ instead of the
2489 For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
2490 and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.
2492 https://bugzilla.gnome.org/show_bug.cgi?id=657915
2494 gi/gimodule.c | 35 ++++++++++++++++++++++++----
2496 +++++++++++++++++++++++++++++++--------------
2497 gi/pygflags.c | 31 +++++++++++++++++++-----
2498 tests/test_gi.py | 41 ++++++++++++++++++++++++++++++++
2499 tests/test_overrides_gdk.py | 6 ++---
2500 5 files changed, 139 insertions(+), 31 deletions(-)
2502 commit 6b702c052e9f26e809cff494f0c896d17a514c64
2503 Author: Christoph Reiter <creiter@src.gnome.org>
2504 Date: Wed Jun 10 18:24:44 2015 +0200
2506 Improve and unify __repr__ format for PyGObject, PyGBoxed and
2509 Includes the module, Python type name, pointer and wrapper pointer
2510 and GType name. e.g.
2511 "<Gtk.Border object at 0x7f26bee9e4c8 (GtkBorder at 0x1c72e30)>"
2513 In case of PyGObjects created from GType set the module to __gi__
2514 instead of guessing the old static binding name. Also
2515 remove the code that tries to add them to the guessed static bindings
2516 module while at it. The __repr__ will now return
2517 "<__gi__.X11Keymap ..." instead of "<gtk.gdk.X11Keymap ..."
2519 https://bugzilla.gnome.org/show_bug.cgi?id=657915
2521 gi/pygboxed.c | 31 +++++++++++++++++++++----
2522 gi/pygi-struct.c | 23 ++++++++++++++++++
2524 +++++++++++++++++++++++++-------------------------------
2525 tests/test_gi.py | 33 ++++++++++++++++++++++++++
2526 4 files changed, 113 insertions(+), 45 deletions(-)
2528 commit 9b821aa0d60857e612cde9dabe9c8f9f9c60214c
2529 Author: Christoph Reiter <creiter@src.gnome.org>
2530 Date: Sun Oct 4 11:13:37 2015 +0200
2532 Don't leak internal RepositoryError on import.
2534 In case a dependency of the imported namespace has a version
2535 conflict with an already loaded version, import would raise
2538 This fixes it to raise an ImportError instead.
2540 https://bugzilla.gnome.org/show_bug.cgi?id=756033
2542 gi/importer.py | 7 +++++--
2543 gi/module.py | 4 ++++
2544 2 files changed, 9 insertions(+), 2 deletions(-)
2546 commit dba1da9b0770c7dec1abd82303b9b4266fe2ce3f
2547 Author: Christoph Reiter <creiter@src.gnome.org>
2548 Date: Sun Oct 4 10:13:35 2015 +0200
2550 Import dependencies when importing typelibs from gi.repository
2552 Recursively import a modules dependencies when importing from
2555 This fixes the case where a library depends on initialization
2556 code of dependency overrides. For example libwnck expects
2557 gdk_init to be called before using its API and gdk_init
2558 gets called in the Gdk overrrides.
2560 https://bugzilla.gnome.org/show_bug.cgi?id=656314
2562 gi/importer.py | 12 +++++++++++-
2563 gi/pygi-repository.c | 35 +++++++++++++++++++++++++++++++++++
2564 tests/test_import_machinery.py | 13 +++++++++++++
2565 tests/test_repository.py | 10 ++++++++++
2566 4 files changed, 69 insertions(+), 1 deletion(-)
2568 commit dfa3a85290dd97ecd7cbe8f12fbc1ff2db5a1155
2569 Author: Christoph Reiter <creiter@src.gnome.org>
2570 Date: Sun Oct 11 01:28:48 2015 +0200
2572 Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
2574 3.18 added a Gdk.Rectangle type which changed these functions
2575 to methods in the gir.
2577 Fix by providing aliases in the Gdk overrides.
2579 https://bugzilla.gnome.org/show_bug.cgi?id=756364
2581 gi/overrides/Gdk.py | 8 ++++++++
2582 tests/test_overrides_gdk.py | 9 +++++++++
2583 2 files changed, 17 insertions(+)
2585 commit 98726caff183491cde1e145861adfcff0c243d9b
2586 Author: Christoph Reiter <creiter@src.gnome.org>
2587 Date: Sun Oct 4 09:53:27 2015 +0200
2589 Don't import inspect at module level
2591 Move it to the only user instead as importing inspect
2594 gi/_signalhelper.py | 3 ++-
2595 1 file changed, 2 insertions(+), 1 deletion(-)
2597 commit e1921b7224ca1e909d9fe5483a09414742d0baf4
2598 Author: Christoph Reiter <creiter@src.gnome.org>
2599 Date: Sat Sep 26 21:29:54 2015 +0200
2601 invoke state: add a free memory cache for PyGIInvokeArgState
2603 Keep one free allocation per argument count around
2604 to reduce g_slice_alloc/free usage.
2606 Reduces CPU time for simple functions by 10% and 5% for closures.
2608 https://bugzilla.gnome.org/show_bug.cgi?id=750658
2610 gi/pygi-closure.c | 6 ++----
2611 gi/pygi-invoke.c | 61
2612 +++++++++++++++++++++++++++++++++++++++++++++++++------
2613 gi/pygi-invoke.h | 4 ++++
2614 3 files changed, 61 insertions(+), 10 deletions(-)
2616 commit f72b6434de82ffa1950ff45a4daf80c84f58eca6
2617 Author: Christoph Reiter <creiter@src.gnome.org>
2618 Date: Sat Sep 26 21:25:38 2015 +0200
2620 invoke/closure: reduce g_slice_alloc usage
2622 Instead of allocating multiple arrays, combine argument
2623 data in a new PyGIInvokeArgState and allocate it in one go.
2625 This reduces CPU time by 20% for simple functions and by 15%
2628 https://bugzilla.gnome.org/show_bug.cgi?id=750658
2630 gi/pygi-array.c | 6 +--
2631 gi/pygi-closure.c | 99
2632 +++++++++++++++++++------------------------
2633 gi/pygi-invoke-state-struct.h | 34 +++++++++------
2634 gi/pygi-invoke.c | 50 +++++++---------------
2635 gi/pygi-marshal-cleanup.c | 10 ++---
2636 5 files changed, 86 insertions(+), 113 deletions(-)
2638 commit 640221c099031a55cbc32f5cdac3e6e018256fff
2639 Author: Christoph Reiter <creiter@src.gnome.org>
2640 Date: Sun Sep 27 11:19:14 2015 +0200
2642 pep8: ignore new errors reported by pep8 1.6
2644 Makes sure we get the same result for older and newer pep8.
2645 Once 1.6 is more common, the ignored errors could be added back
2646 and fixed (E402 might be impossible, see bug 755620)
2649 1 file changed, 1 insertion(+), 1 deletion(-)
2651 commit 5fcc0b49e5988bfb6893bd56dd25a6257cd9720d
2652 Author: Garrett Regier <garrett.regier@riftio.com>
2653 Date: Tue Sep 22 14:57:13 2015 -0700
2655 Bump g-i dependency to latest stable
2657 This is required for throwing exceptions in closures.
2661 2 files changed, 2 insertions(+), 2 deletions(-)
2663 commit 0acbf6ad543a928ce75fc6d6839d3e6aa2e9a3d3
2664 Author: Garrett Regier <garrett.regier@riftio.com>
2665 Date: Tue Jun 9 07:11:51 2015 -0700
2667 Avoid calling g_slist_length() during invoke
2669 We already know the number of Python args.
2671 gi/pygi-invoke.c | 3 +--
2672 1 file changed, 1 insertion(+), 2 deletions(-)
2674 commit 216e94cff0bbe5436efe423b197c9cfc4a00a02d
2675 Author: Garrett Regier <garrett.regier@riftio.com>
2676 Date: Wed Jun 3 08:14:08 2015 -0700
2678 Simplify closure_convert_arguments()
2680 This chunk of work should really be done
2681 in convert_ffi_arguments().
2683 gi/pygi-closure.c | 65
2684 +++++++++++++++++++++++++------------------------------
2685 1 file changed, 29 insertions(+), 36 deletions(-)
2687 commit 7f7d0c52c9b364ba0ec92c9415298c26b103a077
2688 Author: Garrett Regier <garrett.regier@riftio.com>
2689 Date: Wed Jun 3 08:09:31 2015 -0700
2691 Remove a level of indentation in convert_ffi_arguments()
2693 gi/pygi-closure.c | 138
2694 ++++++++++++++++++++++++++----------------------------
2695 1 file changed, 67 insertions(+), 71 deletions(-)
2697 commit 3066f3a88103f02c7e22db22efbeb501f4e30d32
2698 Author: Garrett Regier <garrett.regier@riftio.com>
2699 Date: Wed Jun 3 07:50:37 2015 -0700
2701 Prevent passing the user data multiple times to callbacks
2703 This can happen when a callback has multiple gpointers.
2704 Also, store the closure index as it is hopefully more reliable
2707 https://bugzilla.gnome.org/show_bug.cgi?id=750347
2709 gi/pygi-cache.c | 24 ++++++++++++++++++++++++
2710 gi/pygi-cache.h | 3 +++
2711 gi/pygi-closure.c | 8 ++------
2712 3 files changed, 29 insertions(+), 6 deletions(-)
2714 commit 40bba555c835cf53d6aa2645329631e6abe57e6c
2715 Author: Garrett Regier <garrett.regier@riftio.com>
2716 Date: Wed Jun 3 07:06:40 2015 -0700
2718 Support throwing exceptions in closures
2720 This allows exceptions raised in vfunc implemntations
2721 and callbacks to be turned into GErrors.
2723 NOTE: this requires matchs in
2724 https://bugzilla.gnome.org/show_bug.cgi?id=729543
2725 thus we must bump the GI req once they are commited.
2727 https://bugzilla.gnome.org/show_bug.cgi?id=710671
2729 gi/pygi-closure.c | 113
2730 ++++++++++++++++++++++++++++++----------------------
2731 tests/test_error.py | 22 ++++++++++
2732 2 files changed, 88 insertions(+), 47 deletions(-)
2734 commit ea75a89a7d2bdabc7a29f7f20f792211765f2ac7
2735 Author: Christoph Reiter <creiter@src.gnome.org>
2736 Date: Sun Sep 6 05:35:03 2015 +0200
2738 Don't emit require_version warning if namespace was loaded previously
2739 using g_irepository_require
2741 Instead of tracking loaded dependencies ourself to hide warnings
2743 were loaded by a previous import just look if the namespace was loaded
2744 before the import. This (a) makes the implementation much simpler and
2745 (b) also takes into account namespaces loaded outside of
2747 using the libgirepository C API (as is common in applications using
2748 libpeas with Python plugins)
2750 This also introduces a new Python wrapper for
2751 g_irepository_is_registered()
2752 to allow checking the loading state of namespaces before imports.
2754 This fixes unnecessary require_version warnings in gedit,
2756 totem, rhythmbox etc.
2758 https://bugzilla.gnome.org/show_bug.cgi?id=754491
2761 +++++++++++-------------------------------
2762 gi/pygi-repository.c | 19 +++++++++
2763 tests/test_import_machinery.py | 9 ----
2764 tests/test_repository.py | 11 +++++
2765 4 files changed, 54 insertions(+), 78 deletions(-)
2767 commit 65726314de2833ce0364a3f3e23f344d122b342f
2768 Author: Garrett Regier <garrett.regier@riftio.com>
2769 Date: Tue Sep 22 00:17:00 2015 -0700
2771 configure.ac: post release version bump to 3.19.1
2773 configure.ac | 4 ++--
2774 1 file changed, 2 insertions(+), 2 deletions(-)
2776 commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
2777 Author: Garrett Regier <garrettregier@gmail.com>
2778 Date: Tue Sep 22 00:10:35 2015 -0700
2783 configure.ac | 4 ++--
2784 2 files changed, 4 insertions(+), 2 deletions(-)
2786 commit e2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e
2787 Author: Simon Feltman <sfeltman@src.gnome.org>
2788 Date: Wed Aug 19 21:04:37 2015 -0700
2790 configure.ac: post-release version bump to 3.17.91
2793 1 file changed, 1 insertion(+), 1 deletion(-)
2795 commit 6392b2727e7ed391683bebbf69fbc8b474e99a5f
2796 Author: Simon Feltman <sfeltman@src.gnome.org>
2797 Date: Wed Aug 19 21:02:44 2015 -0700
2801 NEWS | 14 ++++++++++++++
2802 1 file changed, 14 insertions(+)
2804 commit 1da98892cf505b35ce0280db22e1e8ba31c095e0
2805 Author: Simon Feltman <sfeltman@src.gnome.org>
2806 Date: Wed Aug 19 20:57:37 2015 -0700
2808 configure.ac: pre-release version bump to 3.17.90
2811 1 file changed, 1 insertion(+), 1 deletion(-)
2813 commit 79d23e9accd331d954007dcae6b6b7fa2837cfa7
2814 Author: Christoph Reiter <reiter.christoph@gmail.com>
2815 Date: Wed Feb 18 19:30:30 2015 +0100
2817 Allow passing unicode lists to GStrv properties on Python 2
2819 https://bugzilla.gnome.org/show_bug.cgi?id=744745
2821 gi/pygi-value.c | 41 ++++++++++++++++++++++++++++++++---------
2822 tests/test_properties.py | 8 +++++++-
2823 2 files changed, 39 insertions(+), 10 deletions(-)
2825 commit 8aa3d5935b4541be6e76e8792e58bb301fa4f7d1
2826 Author: Rui Matos <tiagomatos@gmail.com>
2827 Date: Thu May 21 17:53:17 2015 +0200
2829 Avoid a silent long to int truncation
2831 If the python object contains a value bigger than MAXUINT we'd
2832 silently truncate it when assigning to 'val' and the if condition
2833 would always be true.
2835 This was caught by a coverity scan.
2837 https://bugzilla.gnome.org/show_bug.cgi?id=749698
2839 gi/pygi-value.c | 4 ++--
2840 1 file changed, 2 insertions(+), 2 deletions(-)
2842 commit 5af6c722e5b7db90a3ca0832c46efe0c9142a0d1
2843 Author: Christoph Reiter <creiter@src.gnome.org>
2844 Date: Sun Jul 5 11:58:50 2015 +0200
2846 tests: add a test for test_glist_gtype_container_in()
2848 https://bugzilla.gnome.org/show_bug.cgi?id=749696
2850 tests/test_everything.py | 6 ++++++
2851 1 file changed, 6 insertions(+)
2853 commit f69ce9f5f6cd81b057ed0006d1fe7f71fa294943
2854 Author: Mathieu Bridon <bochecha@daitauha.fr>
2855 Date: Sun Jul 5 11:07:00 2015 +0200
2857 Handle gtype marshalling
2859 https://bugzilla.gnome.org/show_bug.cgi?id=749696
2861 gi/pygi-argument.c | 5 +++++
2862 1 file changed, 5 insertions(+)
2864 commit 0ee1f562c975df51ce93578d35678ef1e915e202
2865 Author: Daniel Hahler <git@thequod.de>
2866 Date: Wed Mar 25 14:37:29 2015 +0100
2868 pygi-foreign-cairo.c: fix include for py3cairo.h
2870 The pkg-config info includes the "pycairo" folder already.
2872 https://bugzilla.gnome.org/show_bug.cgi?id=746742
2874 gi/pygi-foreign-cairo.c | 2 +-
2875 1 file changed, 1 insertion(+), 1 deletion(-)
2877 commit fea15145c2a3e6aac73350241a982a095e16c7d8
2878 Author: Christoph Reiter <creiter@src.gnome.org>
2879 Date: Thu Jun 18 13:36:52 2015 +0200
2881 tests: Silence various error messages and warnings.
2883 This silences glib warnings which are due to testing
2884 of error handling, deprecation warnings which we ignore
2885 since we want to continue testing deprecated code and
2886 other error output of code which is supposed to fail.
2888 To reduce code duplication and make things easier
2889 this introduces a shared helper module containing
2890 various context managers and decorators which allow
2891 testing and silencing of warnings and errors.
2893 https://bugzilla.gnome.org/show_bug.cgi?id=751156
2895 tests/Makefile.am | 1 +
2896 tests/compat_test_pygtk.py | 27 +++------
2897 tests/compathelper.py | 8 +++
2898 tests/helper.py | 132
2899 ++++++++++++++++++++++++++++++++++++++++++++
2900 tests/test_everything.py | 28 ++++++----
2901 tests/test_gi.py | 6 +-
2902 tests/test_gio.py | 3 +
2903 tests/test_iochannel.py | 20 +++----
2904 tests/test_overrides_gdk.py | 18 +++---
2905 tests/test_overrides_gtk.py | 20 +++----
2906 tests/test_properties.py | 21 +++----
2907 tests/test_repository.py | 13 ++---
2908 tests/test_signal.py | 24 +++-----
2909 tests/test_source.py | 8 +--
2910 14 files changed, 231 insertions(+), 98 deletions(-)
2912 commit 619777730891b42b98da556c3aa9ca5a1b3f617b
2913 Author: Christoph Reiter <creiter@src.gnome.org>
2914 Date: Thu Jun 18 13:30:03 2015 +0200
2916 Fix gcc warning regarding uninitialized use of variable
2918 https://bugzilla.gnome.org/show_bug.cgi?id=751156
2920 gi/pygobject.c | 4 +++-
2921 1 file changed, 3 insertions(+), 1 deletion(-)
2923 commit 1ed8200abefc3e51e4d2083b1372695aaf4163fb
2924 Author: Christoph Reiter <creiter@src.gnome.org>
2925 Date: Sun Jun 21 23:55:02 2015 +0200
2927 Fix test regression when xdg-user-dirs is not installed.
2929 GLib.get_user_special_dir is only guaranteed to always return
2930 a path in case GLib.UserDirectory.DIRECTORY_DESKTOP is passed.
2931 This was unintentionally changed to DIRECTORY_MUSIC
2932 in 9948a67e677c8a351f2de1708.
2934 https://bugzilla.gnome.org/show_bug.cgi?id=751299
2936 tests/test_glib.py | 2 +-
2937 1 file changed, 1 insertion(+), 1 deletion(-)
2939 commit 79cf1f70d247b5a4d33d1e60107e47903ca76055
2940 Author: Garrett Regier <garrett.regier@riftio.com>
2941 Date: Mon May 18 02:32:18 2015 -0700
2943 Explicitly check if an override exists instead of ImportError
2945 If an override depended on another module and it did not
2946 exist then the raised ImportError was consumed and assumed
2947 to mean that the override did not exist. This makes it
2948 difficult to diagnose issues with overrides.
2950 This uses pkgutil.get_loader() as it is the easier way to
2951 determine if a module exists in both Python 2 and 3
2952 and avoid deprecated functions.
2954 https://bugzilla.gnome.org/show_bug.cgi?id=749532
2956 gi/overrides/__init__.py | 17 +++++++++++++++--
2957 1 file changed, 15 insertions(+), 2 deletions(-)
2959 commit d2faa619f5e204b75315a42fec99dd48fe7fb31c
2960 Author: Simon Feltman <sfeltman@src.gnome.org>
2961 Date: Mon Jun 15 01:24:16 2015 -0700
2963 configure.ac: post-release version bump to 3.17.2
2966 1 file changed, 1 insertion(+), 1 deletion(-)
2968 commit 6fa54fe868d0e2a9a9d4dc300a61cbfa079681a8
2969 Author: Simon Feltman <sfeltman@src.gnome.org>
2970 Date: Mon Jun 15 01:20:47 2015 -0700
2974 NEWS | 16 ++++++++++++++++
2975 1 file changed, 16 insertions(+)
2977 commit 2048dc8d1d708abce7037f96483c6d776567d6b5
2978 Author: Christoph Reiter <creiter@src.gnome.org>
2979 Date: Mon Mar 2 20:58:04 2015 +0100
2981 Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in
2982 case the version to import wasn't specified.
2984 This makes the warning visible by default.
2985 See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info
2988 https://bugzilla.gnome.org/show_bug.cgi?id=727379
2990 gi/__init__.py | 2 ++
2991 gi/gimodule.c | 6 ++++++
2992 gi/importer.py | 3 ++-
2993 tests/test_gi.py | 15 +++++++++++++++
2994 4 files changed, 25 insertions(+), 1 deletion(-)
2996 commit 7a3bb6971f22accd25e987496d377e1879f6e1ba
2997 Author: Christoph Reiter <creiter@src.gnome.org>
2998 Date: Sat May 30 17:46:54 2015 +0200
3000 Remove Gdk.Rectangle alias with newer gobject-introspection and GTK+
3002 The new GdkRectangle in the typelib confuses the marshalling code
3003 as PyGObject uses the Python class from the overrides for marshalling
3004 to Python but uses the gtype from the typelib to do
3005 type checking when marshalling from Python.
3007 https://bugzilla.gnome.org/show_bug.cgi?id=749625
3009 gi/overrides/Gdk.py | 12 ++++++++----
3010 1 file changed, 8 insertions(+), 4 deletions(-)
3012 commit 64be2069d39b4d2767eb1efd47bb3f268ad7fb0d
3013 Author: Christoph Reiter <creiter@src.gnome.org>
3014 Date: Thu Apr 23 22:03:54 2015 +0200
3016 overrides: Provide _overrides_module attribute to make gst-python
3017 overrides work again.
3019 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
3021 the Gst.Fraction class through
3022 gi.repository.Gst._overrides_module.Fraction
3023 and failed since _overrides_module was removed in revision
3026 This adds it back pointing to the proxy itself which also contains
3029 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
3031 gi/overrides/__init__.py | 7 +++++++
3032 1 file changed, 7 insertions(+)
3034 commit 6772e990ad889af817b9224e88ea9d79a04caef7
3035 Author: Simon Feltman <sfeltman@src.gnome.org>
3036 Date: Mon Apr 13 19:33:40 2015 -0700
3038 overrides: Conditionalize touch override support in Gdk
3040 Conditionalize Gdk.EventTouch union discrimination. This fixes the
3041 Gdk overrides to continue working with versions of Gdk less than 3.4.
3043 https://bugzilla.gnome.org/show_bug.cgi?id=747717
3045 gi/overrides/Gdk.py | 18 +++++++++++++-----
3046 1 file changed, 13 insertions(+), 5 deletions(-)
3048 commit 26c015b177ddcc0f35c97bcd7a4f2114fb2e8e2a
3049 Author: Christoph Reiter <reiter.christoph@gmail.com>
3050 Date: Sun Mar 29 23:23:09 2015 +0200
3052 Field setters: Remove unneeded type/range checks and resulting
3055 These checks are performed in the actual marshalling code
3056 paths as well, no need to do them twice.
3058 Also move _pygi_g_registered_type_info_check_object() to pygi-info.c
3059 as it's the only place where it is still used.
3061 https://bugzilla.gnome.org/show_bug.cgi?id=746985
3063 gi/pygi-argument.c | 626
3064 ---------------------------------------------------
3065 gi/pygi-argument.h | 12 -
3066 gi/pygi-info.c | 90 ++++++--
3067 tests/test_fields.py | 14 +-
3068 4 files changed, 83 insertions(+), 659 deletions(-)
3070 commit dbb0b199268ece884e19eb99093fc26bd7bf92af
3071 Author: Christoph Reiter <reiter.christoph@gmail.com>
3072 Date: Sun Mar 29 21:51:42 2015 +0200
3074 pygi-argument: Remove unused imports/includes
3076 https://bugzilla.gnome.org/show_bug.cgi?id=746985
3079 gi/pygi-argument.c | 7 -------
3080 gi/pygi-argument.h | 2 --
3081 3 files changed, 10 deletions(-)
3083 commit 7dee04efff418677eead36ee9ed497cc3eadf8f7
3084 Author: Christoph Reiter <reiter.christoph@gmail.com>
3085 Date: Sun Mar 29 21:47:47 2015 +0200
3087 Improve test coverage for field setters/getters.
3089 Field setters are the sole users of the GIArgument value validation
3090 code and the error handling is hardly tested. This tries to improve
3091 the coverage for the field types available in
3092 GLib/Regress/GIMarshallingTests.
3094 https://bugzilla.gnome.org/show_bug.cgi?id=746985
3096 tests/Makefile.am | 1 +
3097 tests/test_fields.py | 186
3098 +++++++++++++++++++++++++++++++++++++++++++++++++++
3099 2 files changed, 187 insertions(+)
3101 commit b0170220fabbf878a36e0c14b0a3024973b7355f
3102 Author: Simon Feltman <sfeltman@src.gnome.org>
3103 Date: Sun Mar 29 16:35:47 2015 -0700
3105 configure.ac: post release version bump to 3.17.1
3107 configure.ac | 4 ++--
3108 1 file changed, 2 insertions(+), 2 deletions(-)
3110 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
3111 Author: Simon Feltman <sfeltman@src.gnome.org>
3112 Date: Tue Mar 24 01:25:25 2015 -0700
3117 configure.ac | 4 ++--
3118 2 files changed, 4 insertions(+), 2 deletions(-)
3120 commit bf802599f5d0d13cc4b69f1716400561a16a2443
3121 Author: Simon Feltman <sfeltman@src.gnome.org>
3122 Date: Thu Mar 5 01:09:12 2015 -0800
3124 configure.ac: post release version bump to 3.15.92
3127 1 file changed, 1 insertion(+), 1 deletion(-)
3129 commit a86f309066f007f9787a6d1ac679dc041740d8dc
3130 Author: Simon Feltman <sfeltman@src.gnome.org>
3131 Date: Thu Mar 5 01:08:03 2015 -0800
3135 NEWS | 14 ++++++++++++++
3137 2 files changed, 15 insertions(+), 1 deletion(-)
3139 commit 9948a67e677c8a351f2de17080d7a671882570f3
3140 Author: Christoph Reiter <reiter.christoph@gmail.com>
3141 Date: Tue Jan 27 17:47:49 2015 +0100
3143 tests: Don't use deprecated override attributes
3145 In case the test explicitly tests the deprecated attribute
3146 silence the resulting warnings.
3148 Instead of replacing GObject.PARAM_READWRITE with
3149 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
3150 to not depend on a newer glib version.
3152 https://bugzilla.gnome.org/show_bug.cgi?id=743514
3154 tests/test_everything.py | 168
3155 ++++++++++++++++++++++----------------------
3156 tests/test_gi.py | 66 ++++++++---------
3157 tests/test_glib.py | 33 +++++----
3158 tests/test_gobject.py | 21 +++---
3159 tests/test_internal_api.py | 4 +-
3160 tests/test_iochannel.py | 11 +--
3161 tests/test_overrides_gtk.py | 20 +++---
3162 tests/test_properties.py | 100 ++++++++++++++------------
3163 tests/test_signal.py | 111 ++++++++++++++---------------
3164 tests/test_source.py | 8 +--
3165 tests/test_subprocess.py | 7 +-
3166 tests/testmodule.py | 3 +-
3167 12 files changed, 292 insertions(+), 260 deletions(-)
3169 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
3170 Author: Christoph Reiter <reiter.christoph@gmail.com>
3171 Date: Tue Jan 27 16:36:02 2015 +0100
3173 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
3175 They are defined in glib, not gobject and not included in the gir;
3176 Similar constants like G_MAXINT64 are defined in GLib gir and marked
3177 deprecated in the GObject overrides already.
3179 https://bugzilla.gnome.org/show_bug.cgi?id=743514
3181 gi/overrides/GLib.py | 12 ++++++++++++
3182 gi/overrides/GObject.py | 4 +++-
3183 tests/test_overrides_glib.py | 7 +++++++
3184 3 files changed, 22 insertions(+), 1 deletion(-)
3186 commit f74acb38f1410982f3419acb134adf173600e497
3187 Author: Christoph Reiter <reiter.christoph@gmail.com>
3188 Date: Tue Jan 27 16:06:03 2015 +0100
3190 Emit PyGIDeprecationWarning when accessing deprecated override
3193 Adds a new helper function for overrides to mark a module level
3195 as deprecated. A warning will be emitted every time the attribute gets
3198 e.g. when marking GObject.STATUS_FOO as deprecated using
3200 STATUS_FOO = GLib.Status.FOO
3201 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
3202 __all__.append("STATUS_FOO")
3204 accessing it will emit
3206 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
3208 https://bugzilla.gnome.org/show_bug.cgi?id=743514
3210 gi/overrides/GLib.py | 44 ++++++++++++++++-------
3211 gi/overrides/GObject.py | 90
3212 +++++++++++++++++++++++++-----------------------
3213 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
3214 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
3215 4 files changed, 221 insertions(+), 57 deletions(-)
3217 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
3218 Author: Christoph Reiter <reiter.christoph@gmail.com>
3219 Date: Tue Jan 27 19:13:54 2015 +0100
3221 Add namespace and container name to callable cache and include them
3222 in all warnings/error messages.
3224 https://bugzilla.gnome.org/show_bug.cgi?id=743468
3226 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
3227 gi/pygi-cache.h | 5 +++++
3228 gi/pygi-closure.c | 4 +++-
3229 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
3230 tests/test_everything.py | 2 +-
3231 tests/test_gi.py | 28 ++++++++++++++++++----------
3232 6 files changed, 90 insertions(+), 29 deletions(-)
3234 commit 747fc3754c296ad5481d354bbf35521f886c5c61
3235 Author: Garrett Regier <garrettregier@gmail.com>
3236 Date: Sun Mar 1 03:30:46 2015 -0800
3238 tests: Add test for GIRepository.UnionInfo.get_size()
3240 https://bugzilla.gnome.org/show_bug.cgi?id=745362
3242 tests/test_repository.py | 1 +
3243 1 file changed, 1 insertion(+)
3245 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
3246 Author: Garrett Regier <garrettregier@gmail.com>
3247 Date: Fri Jan 23 01:37:35 2015 -0800
3249 Avoid duping filenames when marshalling from Python to C
3251 https://bugzilla.gnome.org/show_bug.cgi?id=744719
3253 gi/pygi-basictype.c | 12 ++++++------
3254 1 file changed, 6 insertions(+), 6 deletions(-)
3256 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
3257 Author: Simon Feltman <sfeltman@src.gnome.org>
3258 Date: Fri Feb 20 22:06:24 2015 -0800
3260 configure.ac: post release version bump to 3.15.1
3263 1 file changed, 1 insertion(+), 1 deletion(-)
3265 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
3266 Author: Simon Feltman <sfeltman@src.gnome.org>
3267 Date: Fri Feb 20 22:04:43 2015 -0800
3271 NEWS | 10 ++++++++++
3272 1 file changed, 10 insertions(+)
3274 commit 5dc113283c0a721c4027026bb8de7243585f1289
3275 Author: Simon Feltman <sfeltman@src.gnome.org>
3276 Date: Fri Feb 20 21:59:10 2015 -0800
3278 Ignore deprecation warning for g_option_group_free()
3280 gi/pygoptiongroup.c | 5 ++++-
3281 1 file changed, 4 insertions(+), 1 deletion(-)
3283 commit d8961622ea748c42171bdb4703e70022035ec3cc
3284 Author: Simon Feltman <sfeltman@src.gnome.org>
3285 Date: Fri Feb 20 21:52:58 2015 -0800
3287 tests: Make get_all_dependendencies() test more robust
3289 Replace array comparison with checking if individual items are in
3291 This solves a problem where the returned array might be in a
3293 as well as future proofs the test in case more dependencies are added.
3295 tests/test_import_machinery.py | 8 +++++---
3296 1 file changed, 5 insertions(+), 3 deletions(-)
3298 commit b10ab49afb97655507e2d3b92f621387287a2928
3299 Author: Simon Feltman <sfeltman@src.gnome.org>
3300 Date: Fri Feb 20 20:16:35 2015 -0800
3302 tests: Fix PEP8 error with commented code in test
3304 tests/test_gi.py | 1 -
3305 1 file changed, 1 deletion(-)
3307 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
3308 Author: Garrett Regier <garrett.regier@riftio.com>
3309 Date: Tue Jan 27 10:39:53 2015 -0800
3311 Avoid copying bytearrays from Python to C when transfer nothing
3313 https://bugzilla.gnome.org/show_bug.cgi?id=743278
3315 gi/pygi-array.c | 23 +++++++++++++++++++----
3316 tests/test_gi.py | 14 +++++++++++++-
3317 2 files changed, 32 insertions(+), 5 deletions(-)
3319 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
3320 Author: Garrett Regier <garrett.regier@riftio.com>
3321 Date: Mon Jan 19 14:53:53 2015 -0800
3323 Allows passing arguments to opaque Boxed types
3325 https://bugzilla.gnome.org/show_bug.cgi?id=743214
3327 gi/pygi-info.c | 7 +++++++
3328 gi/types.py | 10 +++++++++-
3329 tests/test_everything.py | 9 +++++++++
3330 tests/test_glib.py | 6 +++---
3331 4 files changed, 28 insertions(+), 4 deletions(-)
3333 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
3334 Author: Christoph Reiter <reiter.christoph@gmail.com>
3335 Date: Sat Jan 24 20:01:00 2015 +0100
3337 Emit ImportWarning when gi.require_version() is not used
3339 gi tries to import the latest version of typelibs which can cause
3340 existing code to break when a newer typelib is released.
3341 Emit an ImportWarning when gi.require_version() is not used to give
3342 developers this awareness so they can future proof their code.
3344 https://bugzilla.gnome.org/show_bug.cgi?id=727379
3347 +++++++++++++++++++++++++++++++++++++++++-
3348 gi/pygi-repository.c | 35 +++++++++++++++
3349 tests/compat_test_pygtk.py | 7 ++-
3350 tests/test_atoms.py | 6 ++-
3351 tests/test_import_machinery.py | 22 ++++++++++
3352 tests/test_overrides_gtk.py | 7 ++-
3353 tests/test_overrides_pango.py | 5 ++-
3354 tests/test_properties.py | 5 ++-
3355 tests/test_repository.py | 10 +++++
3356 9 files changed, 187 insertions(+), 9 deletions(-)
3358 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
3359 Author: Christoph Reiter <reiter.christoph@gmail.com>
3360 Date: Tue Dec 2 15:38:57 2014 +0100
3362 Refactor overrides import/modules
3364 Removes Registry and DynamicModule in favor of a simple module
3366 contains only overrides and falls back to the introspection module.
3367 Moves all the overrides logic into gi.overrides; Speeds up module
3370 https://bugzilla.gnome.org/show_bug.cgi?id=736678
3372 gi/importer.py | 11 ++--
3373 gi/module.py | 68 ---------------------
3374 gi/overrides/__init__.py | 131
3375 ++++++++++++++++++++++++++++++-----------
3376 tests/test_gi.py | 4 --
3377 tests/test_import_machinery.py | 32 +++++++---
3378 5 files changed, 126 insertions(+), 120 deletions(-)
3380 commit 4d0ab13a8461f781986accc637fada3909cfb91a
3381 Author: Simon Feltman <sfeltman@src.gnome.org>
3382 Date: Thu Aug 21 15:11:39 2014 -0700
3384 Replace statically bound GLib.Variant.new_tuple() with GI
3386 Remove the static implementation of _wrap_pyg_variant_new_tuple with
3387 usage of the dynamic version coming from GI. Array marshalling has
3388 drastically improved in recent years making the dynamic version usable
3389 with a small compatibility shim for the arguments.
3391 https://bugzilla.gnome.org/show_bug.cgi?id=735199
3393 gi/gimodule.c | 39 ---------------------------------------
3394 gi/overrides/GLib.py | 12 +++++-------
3395 2 files changed, 5 insertions(+), 46 deletions(-)
3397 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
3398 Author: Simon Feltman <sfeltman@src.gnome.org>
3399 Date: Wed Sep 10 13:30:48 2014 -0700
3401 overrides: Add Gdk.EventTouch union discrimination
3403 Add EventTouch to get/setattr pass-through to support BEGIN,
3405 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
3406 get_axis(), get_coords(), and get_root_coords() are patched onto
3409 https://bugzilla.gnome.org/show_bug.cgi?id=736380
3411 gi/overrides/Gdk.py | 5 +++++
3412 tests/test_overrides_gdk.py | 12 ++++++++++++
3413 2 files changed, 17 insertions(+)
3415 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
3416 Author: Simon Feltman <sfeltman@src.gnome.org>
3417 Date: Sat Jan 3 17:20:14 2015 -0800
3419 tests: Update pixbuf loader test to not raise exception when closing
3422 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
3423 changed the close() method to raise if the a loader is prematurely
3425 Update the test to write a 1x1 PNG stream to ensure close() will
3428 tests/compat_test_pygtk.py | 9 +++++++++
3429 1 file changed, 9 insertions(+)
3431 commit fd3935541ab4baddb504e000ec659b80923afa13
3432 Author: Murray Cumming <murrayc@murrayc.com>
3433 Date: Tue Dec 2 19:55:51 2014 +0100
3435 PyGObjectFlags: Remove a trailing comma on the enum.
3437 Because this produces a g++ pedantic warning.
3439 gi/pygobject.h | 2 +-
3440 1 file changed, 1 insertion(+), 1 deletion(-)
3442 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
3443 Author: Simon Feltman <sfeltman@src.gnome.org>
3444 Date: Mon Oct 27 20:19:23 2014 -0700
3446 Remove redefinitions of function and vfunc cache typedefs
3448 https://bugzilla.gnome.org/show_bug.cgi?id=737874
3450 gi/pygi-cache.h | 8 ++++----
3451 1 file changed, 4 insertions(+), 4 deletions(-)
3453 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
3454 Author: Simon Feltman <sfeltman@src.gnome.org>
3455 Date: Mon Sep 22 13:26:24 2014 -0700
3457 configure.ac: post release version bump to 3.15.0
3460 1 file changed, 1 insertion(+), 1 deletion(-)
3462 commit f20df385f480b65a8128986ce3df4022b324ade0
3463 Author: Simon Feltman <sfeltman@src.gnome.org>
3464 Date: Mon Sep 22 12:38:35 2014 -0700
3469 1 file changed, 3 insertions(+)
3471 commit 309d4100a08867d18420586c3b1f8709c360250f
3472 Author: Simon Feltman <sfeltman@src.gnome.org>
3473 Date: Mon Sep 22 12:24:32 2014 -0700
3475 configure.ac: pre release version bump to 3.14.0
3477 configure.ac | 4 ++--
3478 1 file changed, 2 insertions(+), 2 deletions(-)
3480 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
3481 Author: Simon Feltman <sfeltman@src.gnome.org>
3482 Date: Mon Sep 15 15:46:04 2014 -0700
3487 1 file changed, 7 insertions(+)
3489 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
3490 Author: Simon Feltman <sfeltman@src.gnome.org>
3491 Date: Fri Sep 12 17:10:04 2014 -0700
3493 tests: Add test for Gio.Application.add_main_option()
3495 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
3496 1 file changed, 29 insertions(+)
3498 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
3499 Author: Simon Feltman <sfeltman@src.gnome.org>
3500 Date: Thu Sep 11 19:32:53 2014 -0700
3502 Split test_everything.TestEverything.test_string() into multiple tests
3504 https://bugzilla.gnome.org/show_bug.cgi?id=735193
3506 tests/test_everything.py | 25 +++++++++++++++++++------
3507 1 file changed, 19 insertions(+), 6 deletions(-)
3509 commit 6674701b6de02353738b9dc04ab88de23996704e
3510 Author: Simon Feltman <sfeltman@src.gnome.org>
3511 Date: Thu Sep 11 19:08:53 2014 -0700
3513 tests: Split array tests up
3515 Split test_everything.TestEverything.test_array(),
3516 test_array_fixed_size(),
3517 and test_ptrarray() into functions of a finer granularity. This
3519 easier diagnosis of problems and leaks when they occur.
3521 https://bugzilla.gnome.org/show_bug.cgi?id=735193
3523 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
3524 1 file changed, 32 insertions(+), 5 deletions(-)
3526 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
3527 Author: Simon Feltman <sfeltman@src.gnome.org>
3528 Date: Thu Sep 11 16:17:13 2014 -0700
3530 tests: Split test_strv() into multiple tests
3532 https://bugzilla.gnome.org/show_bug.cgi?id=735193
3534 tests/test_everything.py | 10 +++++++++-
3535 1 file changed, 9 insertions(+), 1 deletion(-)
3537 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
3538 Author: Simon Feltman <sfeltman@src.gnome.org>
3539 Date: Wed Sep 10 19:06:35 2014 -0700
3541 Fix invalid read error in argument cleanup code
3543 Always set initial length argument index for arrays to -1. Ensure
3545 attempt retrieving Python cleanup arguments until we know it is valid.
3546 This was causing an invalid read in test_gi.TestArray.test_array_out()
3548 gi/pygi-array.c | 1 +
3549 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
3550 2 files changed, 9 insertions(+), 5 deletions(-)
3552 commit 972e944ad4b2aac03c61633b8c277e35395c114c
3553 Author: Simon Feltman <sfeltman@src.gnome.org>
3554 Date: Wed Sep 10 18:55:45 2014 -0700
3556 tests: Increase num-callers for valgrind runs
3558 Additionally split valgrind check variations over multiple lines
3561 tests/Makefile.am | 23 ++++++++++++++++++++---
3562 1 file changed, 20 insertions(+), 3 deletions(-)
3564 commit d70b300c7415dd7b20ff88b09fe835690da19831
3565 Author: Simon Feltman <sfeltman@src.gnome.org>
3566 Date: Sat Sep 6 23:58:25 2014 -0700
3568 Fix memory management problems with struct arguments to signals
3570 Replicate struct marshaling logic for determining if struct arguments
3571 to signals should be passed by reference to callbacks.
3572 Maintain a list of these structs and apply an in-place copy of
3574 pointer if the struct wrapper is held longer than the duration of the
3575 Python callback. This allows for both mutation of struct arguments
3577 callbacks as well as memory safety incase a callbacks holds onto
3580 https://bugzilla.gnome.org/show_bug.cgi?id=736175
3582 gi/pygi-boxed.c | 20 ++++++++++++++++++++
3583 gi/pygi-boxed.h | 2 ++
3584 gi/pygi-signal-closure.c | 43
3585 +++++++++++++++++++++++++++++++++++++------
3586 tests/test_overrides_gtk.py | 1 -
3587 tests/test_signal.py | 27 +++++++++++++++++++++++++++
3588 5 files changed, 86 insertions(+), 7 deletions(-)
3590 commit 09161ff690ad37c94668d5d65191f4d84829d41f
3591 Author: Simon Feltman <sfeltman@src.gnome.org>
3592 Date: Sun Sep 7 15:53:35 2014 -0700
3594 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
3596 Add struct type check before calling g_struct_info_is_foreign().
3598 https://bugzilla.gnome.org/show_bug.cgi?id=736175
3600 gi/pygi-argument.c | 11 ++++++++---
3601 gi/pygi-struct-marshal.c | 7 +++++--
3602 2 files changed, 13 insertions(+), 5 deletions(-)
3604 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
3605 Author: Simon Feltman <sfeltman@src.gnome.org>
3606 Date: Sat Sep 6 15:16:06 2014 -0700
3608 tests: Add failing regression test for Gtk.TextBuffer.insert-text
3611 https://bugzilla.gnome.org/show_bug.cgi?id=736175
3613 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
3614 1 file changed, 19 insertions(+)
3616 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
3617 Author: Simon Feltman <sfeltman@src.gnome.org>
3618 Date: Mon Sep 1 17:36:46 2014 -0700
3620 configure.ac: post release version bump to 3.13.92
3623 1 file changed, 1 insertion(+), 1 deletion(-)
3625 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
3626 Author: Simon Feltman <sfeltman@src.gnome.org>
3627 Date: Mon Sep 1 17:31:39 2014 -0700
3631 NEWS | 15 +++++++++++++++
3632 1 file changed, 15 insertions(+)
3634 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
3635 Author: Simon Feltman <sfeltman@src.gnome.org>
3636 Date: Mon Sep 1 16:48:15 2014 -0700
3638 docs: Skip "Constructors" header for anonymous structs
3640 Structs which don't have a size or constructor should not procuce
3642 string. The trailing "::" was causing a problem with sphinx.
3644 gi/docstring.py | 8 ++++++--
3645 tests/test_docstring.py | 3 ++-
3646 2 files changed, 8 insertions(+), 3 deletions(-)
3648 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
3649 Author: Simon Feltman <sfeltman@src.gnome.org>
3650 Date: Mon Sep 1 15:21:04 2014 -0700
3652 docs: Fix error when using may_return_null()
3654 Fix error with an untested code path opened up by commit 1f78dc0ace.
3656 gi/docstring.py | 3 ++-
3657 tests/test_docstring.py | 4 ++++
3658 2 files changed, 6 insertions(+), 1 deletion(-)
3660 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
3661 Author: Simon Feltman <sfeltman@src.gnome.org>
3662 Date: Fri Aug 29 16:49:14 2014 -0700
3664 docs: Fix function doc string generator return types
3666 Change skip_return() access into a function call. This was causing
3667 return type doc strings to always be skipped.
3669 gi/docstring.py | 2 +-
3670 tests/test_docstring.py | 8 ++++++--
3671 2 files changed, 7 insertions(+), 3 deletions(-)
3673 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
3674 Author: Simon Feltman <sfeltman@src.gnome.org>
3675 Date: Fri Aug 29 14:18:28 2014 -0700
3677 Special case signal output arguments which are structs as
3680 Add a special case which avoids copying of struct arguments marked
3682 to signals. Since we don't currently support output arguments,
3684 come to rely on a pass-by-reference bug which was fixed and caused
3686 regress (bug 722899). Add unittest which is currently failing due
3688 of issues with emit() not supporting type annotations or output
3692 https://bugzilla.gnome.org/show_bug.cgi?id=735486
3694 gi/pygi-signal-closure.c | 41
3695 +++++++++++++++++++++++++++++++++++------
3696 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
3697 2 files changed, 59 insertions(+), 6 deletions(-)
3699 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
3700 Author: Simon Feltman <sfeltman@src.gnome.org>
3701 Date: Wed Aug 27 23:55:06 2014 -0700
3703 Ignore closure callbacks when Python is not initialized
3705 Add an immediate return in ffi closures if Python is not initialized.
3706 This fixes rare events when which lead to a segfault when a process
3709 https://bugzilla.gnome.org/show_bug.cgi?id=722562
3711 gi/pygi-closure.c | 7 +++++++
3712 1 file changed, 7 insertions(+)
3714 commit 27a14679dce33f64bbb5d77677eba83849f168ff
3715 Author: Christoph Reiter <reiter.christoph@gmail.com>
3716 Date: Fri Aug 22 21:51:31 2014 -0700
3718 Change boxed init with args to warn instead of raise
3720 Replace raising a TypeError in gi.types.Boxed() with a warning.
3721 Even though passing arguments or keywords to the parent class is
3722 incorrect here, raising an exception was causing a bit of fallout
3723 in some apps (Gramps).
3725 https://bugzilla.gnome.org/show_bug.cgi?id=727810
3727 gi/pygi-boxed.c | 5 ++++-
3728 tests/test_gi.py | 13 +++++++++++--
3729 2 files changed, 15 insertions(+), 3 deletions(-)
3731 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
3732 Author: Simon Feltman <sfeltman@src.gnome.org>
3733 Date: Fri Aug 22 02:16:10 2014 -0700
3735 tests: Add test for GLib.spawn_async_with_pipes()
3737 https://bugzilla.gnome.org/show_bug.cgi?id=735213
3739 tests/test_signal.py | 2 +-
3740 tests/test_subprocess.py | 17 +++++++++++++++++
3741 2 files changed, 18 insertions(+), 1 deletion(-)
3743 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
3744 Author: Simon Feltman <sfeltman@src.gnome.org>
3745 Date: Thu Aug 21 17:16:31 2014 -0700
3747 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
3749 This was accidentally pushed.
3750 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
3752 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
3753 gi/overrides/GLib.py | 12 +++++++-----
3754 2 files changed, 46 insertions(+), 5 deletions(-)
3756 commit b7a4e68a224ab66f67e45667023f74dd743e6177
3757 Author: Christoph Reiter <reiter.christoph@gmail.com>
3758 Date: Fri Aug 22 01:04:40 2014 +0200
3760 Fix crash in GList/GSList marshaling error handling path.
3762 In case PySequence_GetItem() failed, the retured NULL was passed
3765 https://bugzilla.gnome.org/show_bug.cgi?id=735201
3767 gi/pygi-list.c | 4 ++--
3768 tests/test_gi.py | 16 ++++++++++++++++
3769 2 files changed, 18 insertions(+), 2 deletions(-)
3771 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
3772 Author: Simon Feltman <sfeltman@src.gnome.org>
3773 Date: Thu Aug 21 15:11:39 2014 -0700
3775 Replace statically bound GLib.Variant.new_tuple() with GI
3777 Remove the static implementation of _wrap_pyg_variant_new_tuple with
3778 usage of the dynamic version coming from GI. Array marshalling has
3779 drastically improved in recent years making the dynamic version usable
3780 with a small compatibility shim for the arguments.
3782 https://bugzilla.gnome.org/show_bug.cgi?id=735199
3784 gi/gimodule.c | 39 ---------------------------------------
3785 gi/overrides/GLib.py | 12 +++++-------
3786 2 files changed, 5 insertions(+), 46 deletions(-)
3788 commit c1d387540a0b2db66e860c574b070051a5431914
3789 Author: Simon Feltman <sfeltman@src.gnome.org>
3790 Date: Thu Aug 21 14:37:14 2014 -0700
3792 Fix reference counting problems with GLib.Variant.new_tuple()
3794 Always sink the results of g_variant_new_tuple() in the statically
3795 bound wrapper. This matches the generic GI marshalling behavior
3796 of passing GVariants to Python with transfer-none.
3798 https://bugzilla.gnome.org/show_bug.cgi?id=735166
3801 tests/test_overrides_glib.py | 7 +++++++
3802 2 files changed, 8 insertions(+)
3804 commit 9ce261f27742ba200f70003f162291a375d244d3
3805 Author: Simon Feltman <sfeltman@src.gnome.org>
3806 Date: Tue Aug 19 14:57:31 2014 -0700
3808 configure.ac: Fix darwin builds
3810 Merge platform_win32 and os_win32 variables/case statements and
3811 define "link_python_libs" for win32 as well as darwin.
3813 https://bugzilla.gnome.org/show_bug.cgi?id=735068
3815 configure.ac | 30 +++++++++++-------------------
3816 1 file changed, 11 insertions(+), 19 deletions(-)
3818 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
3819 Author: Simon Feltman <sfeltman@src.gnome.org>
3820 Date: Wed Aug 20 13:39:31 2014 -0700
3822 Skip marshalling NULL output arguments in Python closures
3824 Skip marshalling optional output arguments which are passed NULL
3825 as the memory location. This fixes fallout from bug 727004.
3827 https://bugzilla.gnome.org/show_bug.cgi?id=735090
3829 gi/pygi-closure.c | 3 ++-
3830 1 file changed, 2 insertions(+), 1 deletion(-)
3832 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
3833 Author: Simon Feltman <sfeltman@src.gnome.org>
3834 Date: Mon Aug 18 19:10:36 2014 -0700
3836 configure.ac: post release version bump to 3.13.91
3839 1 file changed, 1 insertion(+), 1 deletion(-)
3841 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
3842 Author: Simon Feltman <sfeltman@src.gnome.org>
3843 Date: Mon Aug 18 19:07:10 2014 -0700
3847 NEWS | 15 +++++++++++++++
3848 1 file changed, 15 insertions(+)
3850 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
3851 Author: Simon Feltman <sfeltman@src.gnome.org>
3852 Date: Mon Aug 18 18:57:28 2014 -0700
3854 configure.ac: pre release version bump to 3.13.90
3857 1 file changed, 1 insertion(+), 1 deletion(-)
3859 commit 3b5b590599ca98cc51871878618cd59fc05212d1
3860 Author: Simon Feltman <sfeltman@src.gnome.org>
3861 Date: Mon Aug 18 02:33:54 2014 -0700
3863 gtk-demo: Don't use deprecated constructor for Gtk.Label
3865 demos/gtk-demo/demos/pickers.py | 2 +-
3866 1 file changed, 1 insertion(+), 1 deletion(-)
3868 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
3869 Author: Simon Feltman <sfeltman@src.gnome.org>
3870 Date: Sat Aug 9 02:30:43 2014 -0700
3872 Fast path Python Property getter when accessed through GObject
3875 Break do_get_property() call into a re-usable function.
3876 Call do_get_property() Python implementations instead of going
3878 machinery for Python GObjects. This gives a performance boost
3880 GObject properties when accessed via. obj.get_property() and
3883 https://bugzilla.gnome.org/show_bug.cgi?id=723872
3885 gi/gobjectmodule.c | 11 ++++-------
3886 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
3887 gi/pygi-property.h | 3 +++
3888 3 files changed, 34 insertions(+), 15 deletions(-)
3890 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
3891 Author: Simon Feltman <sfeltman@src.gnome.org>
3892 Date: Sat Aug 9 02:10:11 2014 -0700
3894 Fast path Python Property getter when accessing descriptor directly
3896 Call the Python implemented fget() when a property is accessed
3898 on a Python implemented GObject. This skips going through the GObject
3899 machinery which ends up calling fget() and marshalling the results
3902 https://bugzilla.gnome.org/show_bug.cgi?id=723872
3904 gi/_propertyhelper.py | 19 +++++++++++++++----
3905 1 file changed, 15 insertions(+), 4 deletions(-)
3907 commit 74722386192ad27aac8855d4603d8120af82c98e
3908 Author: Simon Feltman <sfeltman@src.gnome.org>
3909 Date: Mon Aug 18 02:05:58 2014 -0700
3911 Don't use GI type for determining pointer extraction from GValues
3913 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
3914 pointers from GValues being marshalled from properties and signals.
3915 This fixes fallout from commit abdfb0f.
3917 gi/pygi-value.c | 10 ++++------
3918 1 file changed, 4 insertions(+), 6 deletions(-)
3920 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
3921 Author: Simon Feltman <sfeltman@src.gnome.org>
3922 Date: Fri Aug 8 23:58:17 2014 -0700
3924 Fast path property access for basic types
3926 Attempt marshalling with pygi_value_to_py_basic_type() prior to
3928 GI info. This gives a quick conversion for basic types like bools,
3930 strings without having to go through GIArgument and GI
3932 gives approximately a 3x performance boost for accessing these
3934 the unified GValue marshaller.
3936 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3938 gi/pygi-property.c | 9 +++++++++
3939 gi/pygi-value.c | 26 ++++++++++++++++++--------
3940 2 files changed, 27 insertions(+), 8 deletions(-)
3942 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
3943 Author: Simon Feltman <sfeltman@src.gnome.org>
3944 Date: Fri Aug 8 16:31:01 2014 -0700
3946 Break pyg_value_as_pyobject into two functions
3948 Add pygi_value_to_py_basic_type() which is limited to handling basic
3949 types that don't need introspection information when marshalling
3951 Add pygi_value_to_py_structured_type() for marshalling of structured
3953 which can eventually accept GI type hints.
3955 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3957 gi/pygi-value.c | 74
3958 +++++++++++++++++++++++++++++++++++++++++++++++----------
3959 gi/pygi-value.h | 6 +++++
3960 2 files changed, 68 insertions(+), 12 deletions(-)
3962 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
3963 Author: Simon Feltman <sfeltman@src.gnome.org>
3964 Date: Fri Aug 8 20:55:28 2014 -0700
3966 Unify property getters
3968 Consolidate duplicate logic into pygi_get_property_value().
3969 Use the function for GObject.get_property(), GObject.get_properties(),
3971 Remove overridden expected failures in TestCGetPropertyMethod which
3972 now work due to the unification.
3974 https://bugzilla.gnome.org/show_bug.cgi?id=733893
3975 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3977 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
3978 gi/pygi-property.h | 4 ++
3980 +++++++-----------------------------------------
3981 tests/test_properties.py | 38 -------------------
3982 4 files changed, 77 insertions(+), 147 deletions(-)
3984 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
3985 Author: Simon Feltman <sfeltman@src.gnome.org>
3986 Date: Mon Jul 28 19:09:30 2014 -0700
3988 Merge pygi_get_property_value and _pygi_argument_from_g_value
3990 Merge duplicated GValue marshaling code which has diverged over time
3991 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
3993 Use _pygi_argument_to_array within pygi_get_property_value. This
3995 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
3997 Side effects of this change also include support for properties
3999 G_TYPE_FLAGS and G_TYPE_PARAM.
4001 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4003 gi/pygi-property.c | 140
4004 +++++------------------------------------------------
4005 gi/pygi-value.c | 24 ++++++---
4006 2 files changed, 28 insertions(+), 136 deletions(-)
4008 commit 142ff1903d34876db3d1bee5e9782ac49de12313
4009 Author: Simon Feltman <sfeltman@src.gnome.org>
4010 Date: Mon Jul 28 04:40:36 2014 -0700
4012 Never dup data structures when marshaling signal in arguments
4014 Always assume transfer-none of GValue arguments to signal handlers.
4015 A signal handler with arguments marked as transfer-full does not
4016 make any sense, so assume they are always transfer-none.
4018 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4020 gi/pygi-signal-closure.c | 4 +---
4021 gi/pygi-value.c | 4 +++-
4022 2 files changed, 4 insertions(+), 4 deletions(-)
4024 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
4025 Author: Simon Feltman <sfeltman@src.gnome.org>
4026 Date: Mon Jul 28 04:23:39 2014 -0700
4028 Never dup data structures when marshaling from g_object_get_property()
4030 Always use transfer-none with the results of g_object_get_property()
4031 and assume g_value_unset() will cleanup the results. This gives us
4032 control over memory of properties and limits property anotations to
4035 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4037 gi/pygi-property.c | 24 +++++++-----------------
4038 1 file changed, 7 insertions(+), 17 deletions(-)
4040 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
4041 Author: Simon Feltman <sfeltman@src.gnome.org>
4042 Date: Tue Jul 29 19:29:28 2014 -0700
4044 Refactor boxed wrapper memory management strategy
4046 Change pygi_boxed_new() to accept "copy_boxed" instead of
4048 This changes memory management so the PyGIBoxed wrapper owns the boxed
4049 pointer given to it. Use __del__ instead of dealloc for freeing
4051 memory. This is needed for edge cases where objects like GSource can
4052 trigger the finalized callback during de-alloc, resulting in the
4054 references counts being manipulated and triggering a re-entrant
4056 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
4058 which rely on pass-by-reference.
4059 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
4061 https://bugzilla.gnome.org/show_bug.cgi?id=722899
4063 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4065 gi/gimodule.c | 6 +++-
4066 gi/overrides/GLib.py | 4 ---
4067 gi/overrides/GObject.py | 3 ++
4068 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
4069 gi/pygi-boxed.h | 4 +--
4070 gi/pygi-source.c | 6 ++--
4071 gi/pygi-struct-marshal.c | 81
4072 +++++++++++++++++++++++++++++++++++++++++++++---
4073 tests/test_gi.py | 1 -
4074 tests/test_source.py | 8 +++--
4075 9 files changed, 140 insertions(+), 27 deletions(-)
4077 commit 62aed0977090f7099a5e538209f7c680ea22fe12
4078 Author: Simon Feltman <sfeltman@src.gnome.org>
4079 Date: Sun Aug 17 19:04:51 2014 -0700
4081 Replace GObject.signal_query with introspected version
4083 Remove the static bindings for GObject.signal_query and replace with a
4084 Python compatibility shim which utilizes the introspection exposed
4088 https://bugzilla.gnome.org/show_bug.cgi?id=688792
4090 gi/gobjectmodule.c | 89
4091 -------------------------------------------------
4092 gi/overrides/GObject.py | 39 ++++++++++++----------
4093 2 files changed, 21 insertions(+), 107 deletions(-)
4095 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
4096 Author: Simon Feltman <sfeltman@src.gnome.org>
4097 Date: Sun Aug 17 19:03:32 2014 -0700
4099 Use array lengths specified on struct fields
4101 Add array length marshalling policy for struct fields. This fixes
4103 C array fields on structs which also specify a length field.
4105 https://bugzilla.gnome.org/show_bug.cgi?id=688792
4107 gi/pygi-argument.c | 14 ++++++-------
4108 gi/pygi-argument.h | 4 ++++
4110 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
4111 3 files changed, 68 insertions(+), 9 deletions(-)
4113 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
4114 Author: Simon Feltman <sfeltman@src.gnome.org>
4115 Date: Sun Aug 17 18:15:23 2014 -0700
4117 Refactor signal array length marshalling to support a length policy
4119 Replace passing arrays of data to non-caching array marshallers with
4121 closure that can be customized depending on context. In the case
4123 this is mostly scaffolding which will be replaced with caching
4125 However, it opens the legacy marshaller for usage with struct
4129 https://bugzilla.gnome.org/show_bug.cgi?id=688792
4131 gi/pygi-argument.c | 70
4132 ++++++++++++++++++++++++++++++++----------------
4133 gi/pygi-argument.h | 14 +++++++---
4134 gi/pygi-signal-closure.c | 8 ++++--
4135 3 files changed, 64 insertions(+), 28 deletions(-)
4137 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
4138 Author: Simon Feltman <sfeltman@src.gnome.org>
4139 Date: Sun Aug 17 13:58:10 2014 -0700
4141 Remove dead code for marshalling array lengths in the context
4144 Remove usage of the args parameter from _pygi_argument_to_array. This
4146 longer used because array marshalling for vfuncs is now handled by
4150 https://bugzilla.gnome.org/show_bug.cgi?id=688792
4152 gi/pygi-argument.c | 24 +++++++++---------------
4153 1 file changed, 9 insertions(+), 15 deletions(-)
4155 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
4156 Author: Simon Feltman <sfeltman@src.gnome.org>
4157 Date: Sun Aug 17 21:53:55 2014 -0700
4159 Fix memory leak with unboxed caller allocated structs
4161 Take caller-allocates into account when wrapping unboxed structures.
4162 This will free the allocated memory when the Python object is
4165 gi/pygi-struct-marshal.c | 2 +-
4166 1 file changed, 1 insertion(+), 1 deletion(-)
4168 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
4169 Author: Simon Feltman <sfeltman@src.gnome.org>
4170 Date: Sat Aug 16 22:34:29 2014 -0700
4172 tests: Add reference count test for signal connection arguments
4174 Add tests for ensuring reference counts are what we expect for
4175 connect() callback, user_data, and swap object (currently broken
4178 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4180 tests/test_signal.py | 133
4181 +++++++++++++++++++++++++++++++++++++++++++++++++++
4182 1 file changed, 133 insertions(+)
4184 commit 7076669aadfc5227144df87277d69ae66865770a
4185 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
4186 Date: Sat Aug 16 17:46:50 2014 -0700
4188 Don't mask GObject sub-class doc strings in meta-class
4190 If a class has a __doc__ attribute explicitly set, always return it.
4191 Only generate doc strings for classes coming from gi.repository
4194 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
4196 https://bugzilla.gnome.org/show_bug.cgi?id=731452
4198 https://bugzilla.gnome.org/show_bug.cgi?id=734926
4200 gi/types.py | 12 +++++++++++-
4201 tests/test_docstring.py | 2 --
4202 2 files changed, 11 insertions(+), 3 deletions(-)
4204 commit 4cdca4328da7442be247e775294fc676cf677bb7
4205 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
4206 Date: Sat Aug 16 15:06:40 2014 -0700
4208 tests: Add failing tests for GObject sub-class doc-strings
4210 Add tests for sub-class docstrings set with either doc-string
4211 syntax and by setting the __doc__ attribute directly.
4213 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
4215 https://bugzilla.gnome.org/show_bug.cgi?id=731452
4217 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
4218 1 file changed, 39 insertions(+)
4220 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
4221 Author: Simon Feltman <sfeltman@src.gnome.org>
4222 Date: Thu Aug 14 22:47:14 2014 -0700
4224 configure.ac: post release version bump to 3.13.5
4227 1 file changed, 1 insertion(+), 1 deletion(-)
4229 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
4230 Author: Simon Feltman <sfeltman@src.gnome.org>
4231 Date: Thu Aug 14 22:42:27 2014 -0700
4235 NEWS | 22 ++++++++++++++++++++++
4236 1 file changed, 22 insertions(+)
4238 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
4239 Author: Simon Feltman <sfeltman@src.gnome.org>
4240 Date: Thu Aug 14 18:33:06 2014 -0700
4242 Fix invalid unref after getting callable container
4244 Don't unref the results of g_base_info_get_container() because it is
4245 transfer-none. This was causing an attempted unref on an invalid
4247 when setting up callback caches for signals.
4249 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4251 gi/pygi-cache.c | 2 --
4252 1 file changed, 2 deletions(-)
4254 commit 654c28faffc8d956bd31987adca092fa014cc897
4255 Author: Simon Feltman <sfeltman@src.gnome.org>
4256 Date: Thu Aug 14 21:31:33 2014 -0700
4258 tests: Silence valgrindlog and valgrindxml output from forked procs
4260 This is needed to properly diff valgrind runs between commits.
4262 tests/Makefile.am | 4 ++--
4263 1 file changed, 2 insertions(+), 2 deletions(-)
4265 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
4266 Author: Simon Feltman <sfeltman@src.gnome.org>
4267 Date: Wed Aug 13 10:27:01 2014 -0700
4269 Remove ffi wrapped destroy notify used for closure cleanup
4271 Remove global ffi wrapper for _pygi_invoke_closure_free() and
4273 a pointer to _pygi_invoke_closure_free() directly. There is no need
4275 a known single use function with an ffi closure. Originally
4277 commit 610dd1eec87f.
4279 gi/pygi-closure.c | 49 +------------------------------------------------
4280 1 file changed, 1 insertion(+), 48 deletions(-)
4282 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
4283 Author: Simon Feltman <sfeltman@src.gnome.org>
4284 Date: Tue Aug 12 22:19:24 2014 -0700
4286 tests: Update tests for static binding protection to check
4289 tests/test_import_machinery.py | 10 +++++-----
4290 1 file changed, 5 insertions(+), 5 deletions(-)
4292 commit e674340db90c29c556b45e0a8f8b2da72661b738
4293 Author: Simon Feltman <sfeltman@src.gnome.org>
4294 Date: Mon Aug 11 23:12:38 2014 -0700
4296 Use AttributeError for static binding protection
4298 Replace usage of RuntimeError with AttributeError in the dummy module
4299 protecting importing of static bindings. This is needed so we
4301 modules like inspect which is used by ipython.
4303 gi/__init__.py | 2 +-
4304 1 file changed, 1 insertion(+), 1 deletion(-)
4306 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
4307 Author: Simon Feltman <sfeltman@src.gnome.org>
4308 Date: Mon Aug 11 22:47:14 2014 -0700
4310 Add deprecation warning for connect_object() with non-GObject argument
4312 GObject.connect_object() accepts any Python object and holds a strong
4313 reference to it in the closure defeating the purpose of
4315 Add a warning so we can eventually limit connect_object() to GObject
4317 use the underlying g_signal_connect_object() which holds a weak
4320 https://bugzilla.gnome.org/show_bug.cgi?id=688064
4322 gi/pygobject.c | 9 +++++++++
4323 1 file changed, 9 insertions(+)
4325 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
4326 Author: Simon Feltman <sfeltman@src.gnome.org>
4327 Date: Mon Aug 11 22:39:13 2014 -0700
4329 tests: Add tests for connect_object()
4331 Add tests for both introspected and non-introspected signals
4333 of connect_object() and connect_object_after() in combination
4335 and Python object swap data.
4337 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4339 tests/test_signal.py | 139
4340 +++++++++++++++++++++++++++++++++++++++++++--------
4341 1 file changed, 117 insertions(+), 22 deletions(-)
4343 commit 581acc4c56be127b3a724df504bb46a40959fdd9
4344 Author: Simon Feltman <sfeltman@src.gnome.org>
4345 Date: Mon Aug 11 21:21:42 2014 -0700
4347 Add Python implementation of Object.connect_data()
4349 Add GObject.Object.connect_data() which takes an optional
4351 keyword argument accepting GObject.ConnectFlags enum values. This is
4352 for supporting user data swapping (ConnectFlags.SWAPPED).
4354 https://bugzilla.gnome.org/show_bug.cgi?id=701843
4356 gi/overrides/GObject.py | 37 ++++++++++++++++
4357 tests/test_signal.py | 109
4358 ++++++++++++++++++++++++++++++++++++++++++++++++
4359 2 files changed, 146 insertions(+)
4361 commit b1caef95c4b68b65f3f159563162afde5a0b0939
4362 Author: Simon Feltman <sfeltman@src.gnome.org>
4363 Date: Sat Aug 9 02:14:23 2014 -0700
4365 tests: Add failing tests which verify exceptions raised in property
4368 https://bugzilla.gnome.org/show_bug.cgi?id=575652
4370 tests/test_properties.py | 17 +++++++++++++++++
4371 1 file changed, 17 insertions(+)
4373 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
4374 Author: Garrett Regier <Garrett.Regier@riftio.com>
4375 Date: Fri Aug 8 10:08:23 2014 -0400
4377 Cleanup input args when marshaling in closures
4379 The cleanup must happen before setting the out args otherwise
4380 the args that cleanup would free are the just set args, not the
4383 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4385 gi/pygi-closure.c | 2 +-
4386 1 file changed, 1 insertion(+), 1 deletion(-)
4388 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
4389 Author: Simon Feltman <sfeltman@src.gnome.org>
4390 Date: Fri Aug 8 02:47:11 2014 -0700
4392 tests: Fix Python 2 build for newly added test_array_parm()
4394 Use @unittest.skip() with a string argument as required by Python 2.
4396 tests/test_signal.py | 2 +-
4397 1 file changed, 1 insertion(+), 1 deletion(-)
4399 commit 3165c17a455652de9a61439428fa40f30120dc6a
4400 Author: Simon Feltman <sfeltman@src.gnome.org>
4401 Date: Fri Aug 8 02:46:26 2014 -0700
4403 Remove incorrect and unused casts from tp_free calls
4405 Arguments to Py_TYPE() do not need to be cast since the macro
4407 to a PyObject* internall.
4409 gi/pygi-boxed.c | 2 +-
4410 gi/pygi-ccallback.c | 2 +-
4411 gi/pygi-info.c | 2 +-
4412 gi/pygi-struct.c | 2 +-
4413 4 files changed, 4 insertions(+), 4 deletions(-)
4415 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
4416 Author: Simon Feltman <sfeltman@src.gnome.org>
4417 Date: Fri Aug 8 02:33:51 2014 -0700
4419 Fix GCallback Python wrapper leak
4421 The PyObject wrapper for GCallbacks was not calling tp_free in
4423 tp_dealloc class method.
4425 https://bugzilla.gnome.org/show_bug.cgi?id=695130
4427 gi/pygi-ccallback.c | 2 ++
4428 1 file changed, 2 insertions(+)
4430 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
4431 Author: Martin Pitt <martinpitt@gnome.org>
4432 Date: Fri Aug 8 01:55:21 2014 -0700
4434 tests: Add failing test for marshalling an array of GValues through
4437 https://bugzilla.gnome.org/show_bug.cgi?id=669496
4439 tests/test_signal.py | 12 ++++++++++++
4440 1 file changed, 12 insertions(+)
4442 commit d689d24f271c30612c6a86b5c51d50a1179aedad
4443 Author: Simon Feltman <sfeltman@src.gnome.org>
4444 Date: Thu Aug 7 17:52:35 2014 -0700
4446 tests: Add tests for GApplication local command line handling
4448 Add various tests which override Gio.Appliction.do_command_line and
4449 do_local_command_line.
4451 https://bugzilla.gnome.org/show_bug.cgi?id=690851
4453 tests/test_gio.py | 65
4454 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
4455 1 file changed, 65 insertions(+)
4457 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
4458 Author: Garrett Regier <Garrett.Regier@riftio.com>
4459 Date: Thu Aug 7 12:25:59 2014 -0400
4461 Add test for a callback with an inout array
4463 This was broken until the closures used the caches for marshaling.
4465 https://bugzilla.gnome.org/show_bug.cgi?id=702508
4467 tests/test_everything.py | 19 +++++++++++++++++++
4468 1 file changed, 19 insertions(+)
4470 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
4471 Author: Garrett Regier <Garrett.Regier@riftio.com>
4472 Date: Thu Aug 7 12:06:30 2014 -0400
4474 Fix raising an error in a constructor
4476 It should raise a Python exception instead of warnings about
4477 a constructor returning NULL.
4479 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4481 gi/pygi-cache.c | 6 +++---
4482 tests/test_gi.py | 6 ++++++
4483 2 files changed, 9 insertions(+), 3 deletions(-)
4485 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
4486 Author: Garrett Regier <Garrett.Regier@riftio.com>
4487 Date: Wed Aug 6 15:30:58 2014 -0400
4489 Use the caches for marshaling the arguments in closures
4491 Changes to object marshaling when the calling context is from
4492 C was required to correctly keep the correct floating status.
4494 The array cache has been modified to set to/from_py_marshaller
4495 for the length arg cache. This is required for closures which include
4496 the length arg for backwards compatibility. The closure cache takes
4497 care to change the length arg cache's meta type so it gets marshalled
4500 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4502 gi/pygi-array.c | 5 +-
4503 gi/pygi-basictype.c | 4 +-
4504 gi/pygi-basictype.h | 36 +++--
4505 gi/pygi-cache.c | 30 +++-
4506 gi/pygi-closure.c | 403
4507 ++++++++++++++++++++++++++++------------------------
4508 gi/pygi-invoke.c | 3 +-
4509 6 files changed, 271 insertions(+), 210 deletions(-)
4511 commit 9337acf98d783777c94d4bcb912a185ba6791efb
4512 Author: Garrett Regier <Garrett.Regier@riftio.com>
4513 Date: Wed Aug 6 12:14:27 2014 -0400
4515 Specialize GObject marshaling when called from C
4517 These are needed otherwise the floating status of
4518 the GObject will not be kept.
4520 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4522 gi/pygi-object.c | 86
4523 +++++++++++++++++++++++++++++++++++++++++++++++---------
4524 1 file changed, 72 insertions(+), 14 deletions(-)
4526 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
4527 Author: Garrett Regier <Garrett.Regier@riftio.com>
4528 Date: Wed Aug 6 11:59:09 2014 -0400
4530 Move special handling of GObject from Python when calling from C
4532 This will soon be used in the GObject arg cache marshaling when
4533 the calling context is C.
4535 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4537 gi/pygi-argument.c | 21 +--------------------
4538 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
4539 gi/pygi-object.h | 5 +++++
4540 3 files changed, 36 insertions(+), 20 deletions(-)
4542 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
4543 Author: Garrett Regier <Garrett.Regier@riftio.com>
4544 Date: Wed Aug 6 11:53:39 2014 -0400
4546 Always pass along the callable cache to the arg cache constructors
4548 This will be needed in a future patch which requires that the callable
4549 cache is always available.
4551 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4553 gi/pygi-array.c | 20 ++++++++++++--------
4554 gi/pygi-array.h | 9 +++++----
4555 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
4556 gi/pygi-cache.h | 7 ++++---
4557 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
4558 gi/pygi-hashtable.h | 9 +++++----
4559 gi/pygi-list.c | 30 +++++++++++++++++++-----------
4560 gi/pygi-list.h | 9 +++++----
4561 gi/pygi-object.c | 25 ++++++++++++++-----------
4562 gi/pygi-object.h | 3 ++-
4563 10 files changed, 103 insertions(+), 74 deletions(-)
4565 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
4566 Author: Garrett Regier <Garrett.Regier@riftio.com>
4567 Date: Tue Aug 5 10:42:46 2014 -0400
4569 Set the correct meta type for GErrors when marshaling to Python
4571 Otherwise we do not pass the GError into python callbacks and
4572 we also want to convert these into Python Exceptions.
4574 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4576 gi/pygi-error.c | 2 +-
4577 1 file changed, 1 insertion(+), 1 deletion(-)
4579 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
4580 Author: Garrett Regier <Garrett.Regier@riftio.com>
4581 Date: Tue Aug 5 10:37:58 2014 -0400
4583 Pass the GIArgument to the closure assign functions
4585 This will be required once we use the caches for marshaling.
4587 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4589 gi/pygi-closure.c | 102
4590 ++++++++++++++++++++++++++----------------------------
4591 1 file changed, 50 insertions(+), 52 deletions(-)
4593 commit ca3579db14df278923674c294d07481a7255510f
4594 Author: Garrett Regier <Garrett.Regier@riftio.com>
4595 Date: Tue Aug 5 10:25:40 2014 -0400
4597 Use the caches for closures, but not yet for marshaling the arguments
4599 Instead of using the various GI functions we use the data from
4601 This also fixes generating an arg cache for a closure as it was
4603 data or simply setting incorrect data. Also, always included the
4605 until the closures no longer need it for marshaling the arguments.
4607 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4609 gi/pygi-cache.c | 33 +++++++-
4610 gi/pygi-cache.h | 4 +
4611 gi/pygi-closure.c | 245
4612 +++++++++++++++++++++++++-----------------------------
4613 gi/pygi-closure.h | 2 +
4614 4 files changed, 150 insertions(+), 134 deletions(-)
4616 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
4617 Author: Garrett Regier <Garrett.Regier@riftio.com>
4618 Date: Tue Aug 5 10:16:45 2014 -0400
4620 Correctly set the destroy notify for callbacks in closures
4622 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4624 gi/pygi-closure.c | 2 +-
4625 1 file changed, 1 insertion(+), 1 deletion(-)
4627 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
4628 Author: Garrett Regier <Garrett.Regier@riftio.com>
4629 Date: Fri Aug 1 11:40:08 2014 -0400
4631 Split the callable cache into the different types
4633 Instead of doing different things based on the various function types
4634 this adds vfuncs for generate_args_cache() and invoke() which are then
4635 specialized for the various function types. Also add a calling context
4636 to the callable cache which is then used to determine the direction
4637 when generating the arg caches.
4639 This is in preparation for adding closure caches.
4641 https://bugzilla.gnome.org/show_bug.cgi?id=727004
4643 gi/pygi-cache.c | 514
4644 +++++++++++++++++++++++++++++++-----------
4645 gi/pygi-cache.h | 96 +++++---
4646 gi/pygi-ccallback.c | 16 +-
4647 gi/pygi-info.c | 3 +-
4648 gi/pygi-invoke-state-struct.h | 2 -
4649 gi/pygi-invoke.c | 244 ++++++++------------
4650 gi/pygi-invoke.h | 4 +
4652 8 files changed, 564 insertions(+), 317 deletions(-)
4654 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
4655 Author: Ignacio Casal Quinteiro <icq@gnome.org>
4656 Date: Wed Aug 6 08:27:43 2014 +0200
4658 Generate .dll libraries on windows
4660 https://bugzilla.gnome.org/show_bug.cgi?id=734288
4662 configure.ac | 8 ++++++++
4663 tests/Makefile.am | 8 ++++----
4664 2 files changed, 12 insertions(+), 4 deletions(-)
4666 commit d70403357d6b510356dd375304fb97e458fd12b2
4667 Author: Simon Feltman <sfeltman@src.gnome.org>
4668 Date: Tue Aug 5 22:45:46 2014 -0700
4670 Add protection against attempts at importing static bindings
4672 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
4674 gi with dummy modules which produce an error upon access.
4676 https://bugzilla.gnome.org/show_bug.cgi?id=709183
4678 gi/__init__.py | 25 ++++++++++++++++++++++---
4679 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
4680 2 files changed, 46 insertions(+), 3 deletions(-)
4682 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
4683 Author: Simon Feltman <sfeltman@src.gnome.org>
4684 Date: Tue Dec 31 16:15:04 2013 -0800
4686 Update and deprecate gi.overrides.keysyms
4688 Replace manually assigned keysyms with a dynamically generated version
4689 pulling names and values from Gdk via GI. Add a runtime warning when
4690 this module is imported.
4692 https://bugzilla.gnome.org/show_bug.cgi?id=721295
4694 gi/overrides/keysyms.py | 1490
4695 +-------------------------------------------
4696 pygtkcompat/pygtkcompat.py | 14 +-
4697 2 files changed, 27 insertions(+), 1477 deletions(-)
4699 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
4700 Author: Alexey Pavlov <alexpux@gmail.com>
4701 Date: Tue Aug 5 19:03:38 2014 -0700
4703 Use -no-undefined for building on Windows
4705 See LT_INIT([win32-dll]):
4706 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
4708 Additionally add PYTHON_LIBS to testhelper.la linking.
4710 https://bugzilla.gnome.org/show_bug.cgi?id=734284
4712 tests/Makefile.am | 6 +++---
4713 1 file changed, 3 insertions(+), 3 deletions(-)
4715 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
4716 Author: Alexey Pavlov <alexpux@gmail.com>
4717 Date: Tue Aug 5 18:40:53 2014 -0700
4719 Use python-config for libs when available
4721 https://bugzilla.gnome.org/show_bug.cgi?id=734289
4723 m4/python.m4 | 7 ++++++-
4724 1 file changed, 6 insertions(+), 1 deletion(-)
4726 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
4727 Author: Alexey Pavlov <alexpux@gmail.com>
4728 Date: Tue Aug 5 18:20:25 2014 -0700
4730 Link gi.so with FFI_LIBS
4732 https://bugzilla.gnome.org/show_bug.cgi?id=734286
4734 gi/Makefile.am | 3 ++-
4735 1 file changed, 2 insertions(+), 1 deletion(-)
4737 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
4738 Author: Alexey Pavlov <alexpux@gmail.com>
4739 Date: Tue Aug 5 15:45:04 2014 +0200
4741 Include math headers also on mingw
4743 https://bugzilla.gnome.org/show_bug.cgi?id=734287
4745 gi/pygi-basictype.c | 2 --
4746 1 file changed, 2 deletions(-)
4748 commit 964ced98e03c704074d10cc362abfa14c00457ba
4749 Author: Garrett Regier <Garrett.Regier@riftio.com>
4750 Date: Thu Jul 31 10:16:47 2014 -0400
4752 Added args_offset to the cache instead of checking the function type
4754 gi/pygi-array.c | 6 ++----
4755 gi/pygi-cache.c | 6 +++---
4756 gi/pygi-cache.h | 3 +++
4757 gi/pygi-closure.c | 4 +---
4758 4 files changed, 9 insertions(+), 10 deletions(-)
4760 commit 9943d876059201cbee87f072a84234ed774ed932
4761 Author: Simon Feltman <sfeltman@src.gnome.org>
4762 Date: Thu Jul 31 21:51:00 2014 -0700
4764 doap: Update homepage URL and email address
4766 pygobject.doap | 4 ++--
4767 1 file changed, 2 insertions(+), 2 deletions(-)
4769 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
4770 Author: Simon Feltman <sfeltman@src.gnome.org>
4771 Date: Thu Jul 31 21:46:37 2014 -0700
4773 Change maintainer in PKG-INFO to self
4775 PKG-INFO.in | 4 ++--
4776 1 file changed, 2 insertions(+), 2 deletions(-)
4778 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
4779 Author: Andre Klapper <a9016009@gmx.de>
4780 Date: Thu Jul 31 21:28:12 2014 +0200
4782 doap: add <programming-language>
4784 pygobject.doap | 2 ++
4785 1 file changed, 2 insertions(+)
4787 commit f30001f2b01896577a2b4d956bc4658350e56b8d
4788 Author: Simon Feltman <sfeltman@src.gnome.org>
4789 Date: Wed Jul 30 00:29:01 2014 -0700
4791 Add GClosure marshalling cleanup
4793 Add marshalling cleanup for Python callables and boxed GClosures
4794 passed as arguments. Make sure the marshaller owns a reference
4795 until clean. Fix transfer everything case by adding a new reference.
4796 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
4798 https://bugzilla.gnome.org/show_bug.cgi?id=695128
4800 gi/pygi-struct-marshal.c | 46
4801 ++++++++++++++++++++++++++++++++++++++--------
4802 gi/pygi-struct-marshal.h | 4 ----
4803 2 files changed, 38 insertions(+), 12 deletions(-)
4805 commit cf4e830f1b613736ef9586562eb6c0b354165925
4806 Author: Simon Feltman <sfeltman@src.gnome.org>
4807 Date: Wed Jul 30 12:42:15 2014 -0700
4809 Remove decrementing argument index for failed marshalling cleanup
4811 Remove index decrement when cleanup function is called for failed
4813 marshalling. The decrement is incorrect and causes the failed argument
4814 cleanup to be skipped. The decrement also causes cleanup for arguments
4815 prior to the failed argument to receive "was_successful" as FALSE,
4819 https://bugzilla.gnome.org/show_bug.cgi?id=695128
4821 gi/pygi-invoke.c | 10 +++++-----
4822 1 file changed, 5 insertions(+), 5 deletions(-)
4824 commit 662a4421125d126a11ca163c362d205f0c2147c4
4825 Author: Simon Feltman <sfeltman@src.gnome.org>
4826 Date: Wed Jul 30 12:46:18 2014 -0700
4828 Use cleanup data for argument marshalling failures
4830 Use state->args_cleanup_data when cleaning up failed argument
4832 This was overlooked when cleanup data tracking was implemented
4835 https://bugzilla.gnome.org/show_bug.cgi?id=695128
4837 gi/pygi-marshal-cleanup.c | 14 +++++++-------
4838 1 file changed, 7 insertions(+), 7 deletions(-)
4840 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
4841 Author: Olav Vitters <olav@vitters.nl>
4842 Date: Wed Jul 30 20:41:37 2014 +0200
4846 pygobject.doap | 2 +-
4847 1 file changed, 1 insertion(+), 1 deletion(-)
4849 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
4850 Author: Simon Feltman <sfeltman@src.gnome.org>
4851 Date: Mon Jul 28 23:51:19 2014 -0700
4853 tests: Move object property reference count tests to test_properties
4855 Move and consolidate tests for object property reference counts from
4856 tests_object_marshaling to test_properties.
4858 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4860 tests/test_object_marshaling.py | 68
4861 -----------------------------------------
4862 tests/test_properties.py | 36 ++++++++++++++++++++++
4863 2 files changed, 36 insertions(+), 68 deletions(-)
4865 commit 15b795354ca5a8f436779ee5d81936af8961acb5
4866 Author: Simon Feltman <sfeltman@src.gnome.org>
4867 Date: Mon Jul 28 22:20:44 2014 -0700
4869 tests: Move test_everything.TestProperties into test_properties
4871 Consolidate property tests found in test_everything into test_property
4872 removing redundant tests already found in test_property.
4874 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4876 tests/test_everything.py | 69
4877 +-----------------------------------------------
4878 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
4879 2 files changed, 60 insertions(+), 68 deletions(-)
4881 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
4882 Author: Simon Feltman <sfeltman@src.gnome.org>
4883 Date: Mon Jul 28 21:32:44 2014 -0700
4885 tests: Add tests for get/set_property()
4887 Re-use the new CPropertiesTestBase class for testing
4891 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4893 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
4894 1 file changed, 32 insertions(+)
4896 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
4897 Author: Simon Feltman <sfeltman@src.gnome.org>
4898 Date: Mon Jul 28 21:32:00 2014 -0700
4900 tests: Break TestPropertiesObject up for re-use
4902 Refactor TestPropertiesObject into a base class which abstracts
4904 property methods. This will allow re-use for testing both
4906 and the props accessor.
4908 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4910 tests/test_properties.py | 221
4911 +++++++++++++++++++++++++----------------------
4912 1 file changed, 118 insertions(+), 103 deletions(-)
4914 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
4915 Author: Simon Feltman <sfeltman@src.gnome.org>
4916 Date: Mon Jul 28 19:32:00 2014 -0700
4918 tests: Move test_gi.TestPropertiesObject into test_properties
4920 Move all property testing code into the test_properties module.
4922 https://bugzilla.gnome.org/show_bug.cgi?id=726999
4924 tests/test_gi.py | 233
4925 ----------------------------------------------
4926 tests/test_properties.py | 235
4927 +++++++++++++++++++++++++++++++++++++++++++++++
4928 2 files changed, 235 insertions(+), 233 deletions(-)
4930 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
4931 Author: Simon Feltman <sfeltman@src.gnome.org>
4932 Date: Fri Jul 25 18:33:15 2014 -0700
4934 pyflakes: Fix legacy print and exception usage under Python 3
4936 Fix print statements and legacy exception usage in examples.
4938 https://bugzilla.gnome.org/show_bug.cgi?id=731042
4940 examples/properties.py | 12 ++++++------
4941 tests/runtests-windows.py | 4 ++--
4942 2 files changed, 8 insertions(+), 8 deletions(-)
4944 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
4945 Author: Simon Feltman <sfeltman@src.gnome.org>
4946 Date: Fri Jul 25 17:49:57 2014 -0700
4948 tests: Ignore warnings for GtkAlignment
4950 This was causing unittests to bail. Even though this is deprecated,
4951 we still need to test its usage in the context of pygtkcompat.
4953 tests/compat_test_pygtk.py | 15 ++++++++++++++-
4954 1 file changed, 14 insertions(+), 1 deletion(-)
4956 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
4957 Author: Simon Feltman <sfeltman@src.gnome.org>
4958 Date: Fri Jul 25 17:40:36 2014 -0700
4960 tests: Remove usage of deprecated "schema" property in GSettings
4963 Use new and new_with_path instead as the schema property was causing a
4964 hard warning which fails the test suite.
4966 tests/test_gio.py | 6 +++---
4967 1 file changed, 3 insertions(+), 3 deletions(-)
4969 commit 6b806137825891cc6bdad82a68cf3deb087feb70
4970 Author: Simon Feltman <sfeltman@src.gnome.org>
4971 Date: Fri Jul 25 17:35:06 2014 -0700
4973 tests: Ignore stock-id usage warnings
4975 Add ignore_glib_warnings context manager for easily ignoring warnings
4976 caused by stock-id usage. Even though stock-id is deprecated, we still
4977 need to test the related Python binding overrides.
4979 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
4980 1 file changed, 24 insertions(+), 16 deletions(-)
4982 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
4983 Author: Simon Feltman <sfeltman@src.gnome.org>
4984 Date: Mon Jun 23 15:55:57 2014 -0700
4986 configure.ac: post release version bump to 3.13.4
4989 1 file changed, 1 insertion(+), 1 deletion(-)
4991 commit 58198b6ae426448cde82cad7304018c7c770c0ea
4992 Author: Simon Feltman <sfeltman@src.gnome.org>
4993 Date: Mon Jun 23 15:53:03 2014 -0700
4998 1 file changed, 8 insertions(+)
5000 commit cdf8c40768b00d08a1facca696a042efc6e8988f
5001 Author: Simon Feltman <sfeltman@src.gnome.org>
5002 Date: Thu May 29 13:02:44 2014 -0700
5004 demos: Cleanup CSS accordion demo to use a loop for adding buttons
5006 Also use Gtk.main_quit directly since it has been overridden to accept
5009 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
5010 1 file changed, 3 insertions(+), 18 deletions(-)
5012 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
5013 Author: Simon Feltman <sfeltman@src.gnome.org>
5014 Date: Tue May 27 19:24:20 2014 -0700
5016 refactor: Move builder connection utilities outside of Builder class
5018 Move _extract_handler_and_args and _builder_connect_callback into
5020 scope for re-use by GTK+ Composite Templates.
5022 https://bugzilla.gnome.org/show_bug.cgi?id=701843
5024 gi/overrides/Gtk.py | 83
5025 ++++++++++++++++++++++++---------------------
5026 tests/test_overrides_gtk.py | 8 ++---
5027 2 files changed, 48 insertions(+), 43 deletions(-)
5029 commit f127fabe9664b243774b76a68e6fce5986aa23a0
5030 Author: Simon Feltman <sfeltman@src.gnome.org>
5031 Date: Tue May 27 15:52:10 2014 -0700
5033 tests: Move TestSignals from test_everything into test_signal
5035 Move these tests into a more meaningful location.
5037 https://bugzilla.gnome.org/show_bug.cgi?id=701843
5039 tests/test_everything.py | 123
5040 --------------------------------------------
5041 tests/test_signal.py | 131
5042 +++++++++++++++++++++++++++++++++++++++++++++++
5043 2 files changed, 131 insertions(+), 123 deletions(-)
5045 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
5046 Author: Simon Feltman <sfeltman@src.gnome.org>
5047 Date: Mon May 26 04:21:07 2014 -0700
5049 configure.ac: post release version bump to 3.13.2
5052 1 file changed, 1 insertion(+), 1 deletion(-)
5054 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
5055 Author: Simon Feltman <sfeltman@src.gnome.org>
5056 Date: Mon May 26 04:18:55 2014 -0700
5060 NEWS | 21 +++++++++++++++++++++
5061 1 file changed, 21 insertions(+)
5063 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
5064 Author: Simon Feltman <sfeltman@src.gnome.org>
5065 Date: Mon May 26 03:01:13 2014 -0700
5067 Python 3.4 make check fixes
5069 Bump GI required version to 1.39.0. This is needed to get rid of
5070 expectedFailures which pass when built with 1.39.0 (unexpected
5072 fail unittesting in Python 3.4).
5073 Silence deprecation warning when using imp.reload.
5075 https://bugzilla.gnome.org/show_bug.cgi?id=730411
5078 pygtkcompat/pygtkcompat.py | 4 +++-
5079 tests/test_gi.py | 1 -
5080 tests/test_repository.py | 2 --
5081 4 files changed, 4 insertions(+), 5 deletions(-)
5083 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
5084 Author: Simon Feltman <sfeltman@src.gnome.org>
5085 Date: Mon May 26 01:53:14 2014 -0700
5087 tests: Don't use deprecated positional argument for Gio.Settings
5090 tests/test_gio.py | 6 +++---
5091 1 file changed, 3 insertions(+), 3 deletions(-)
5093 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
5094 Author: Simon Feltman <sfeltman@src.gnome.org>
5095 Date: Sun May 25 23:03:35 2014 -0700
5097 overrides: Add Gtk.Container.child_get/set overrides
5099 Add overrides for child_get and child_set to Gtk.Container since these
5100 are not introspectable methods.
5102 https://bugzilla.gnome.org/show_bug.cgi?id=685076
5104 gi/overrides/Gtk.py | 10 ++++++++++
5105 tests/test_overrides_gtk.py | 16 ++++++++++++++++
5106 2 files changed, 26 insertions(+)
5108 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
5109 Author: Simon Feltman <sfeltman@src.gnome.org>
5110 Date: Sun May 25 22:07:07 2014 -0700
5112 overrides: Make value argument to Widget.style_get_property optional
5114 Override Gtk.Widget.style_get_property to optionally accept the
5116 argument. If "value" is not supplied, the override will locate
5118 property value type and create the GValue. Additionally return
5120 GValue converted to a native Python value.
5122 https://bugzilla.gnome.org/show_bug.cgi?id=685076
5124 gi/overrides/Gtk.py | 11 +++++++++++
5125 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
5126 2 files changed, 40 insertions(+)
5128 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
5129 Author: Simon Feltman <sfeltman@src.gnome.org>
5130 Date: Sun May 25 21:08:47 2014 -0700
5132 overrides: Make value argument to Container.child_get_property
5135 Override Gtk.Container.child_get_property to optionally accept the
5137 argument. If "value" is not supplied, the override will locate
5139 property value type and create the GValue. Additionally return
5141 GValue converted to a native Python value.
5143 https://bugzilla.gnome.org/show_bug.cgi?id=685076
5145 gi/overrides/Gtk.py | 11 +++++++++++
5146 tests/test_overrides_gtk.py | 47
5147 +++++++++++++++++++++++++++++++++++++++++++++
5148 2 files changed, 58 insertions(+)
5150 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
5151 Author: Johan Dahlin <johan@gnome.org>
5152 Date: Mon Oct 1 06:42:24 2012 -0700
5154 Add GTypeClass methods as Python GObject class methods
5156 Take all the methods from an objects type classs and add them
5157 as class methods. For instance, GObject.ObjectClass.list_properties
5158 is available as GObject.Object.list_properties().
5160 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
5162 https://bugzilla.gnome.org/show_bug.cgi?id=685218
5164 gi/types.py | 13 +++++++++++++
5165 tests/test_typeclass.py | 13 +++++++++++++
5166 2 files changed, 26 insertions(+)
5168 commit 778d05c93e079ba207a250b754bda9377cb47457
5169 Author: Simon Feltman <sfeltman@src.gnome.org>
5170 Date: Sun May 25 19:05:56 2014 -0700
5172 Add marshalling coercion for Python classes and instances to
5175 Automatically marshal Python GObject classes and instances to
5177 structs (GObjectClass). This allows usage of the GTypeClass methods by
5178 passing a Python GObject class or instance to the GTypeClass method.
5179 This is needed to support usage of GTypeClass methods since we don't
5180 manually bind GTypeClasses and they are not very well supported with
5183 https://bugzilla.gnome.org/show_bug.cgi?id=685218
5185 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
5186 tests/Makefile.am | 1 +
5187 tests/test_typeclass.py | 67
5188 ++++++++++++++++++++++++++++++++++++++++++++++++
5189 3 files changed, 117 insertions(+), 5 deletions(-)
5191 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
5192 Author: Simon Feltman <sfeltman@src.gnome.org>
5193 Date: Sun May 25 02:00:00 2014 -0700
5195 Cleanup struct marshalling function names
5197 Use a consistent naming scheme for struct marshalling cache related
5198 functions. This removes prefixed underscores from function names
5199 as well as redundant wording.
5201 To ignore this commit with git blame use:
5202 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
5204 https://bugzilla.gnome.org/show_bug.cgi?id=685218
5206 gi/pygi-argument.c | 34 ++++----
5207 gi/pygi-array.c | 2 +-
5208 gi/pygi-struct-marshal.c | 221
5209 ++++++++++++++++++++---------------------------
5210 gi/pygi-struct-marshal.h | 56 ++++++------
5211 4 files changed, 142 insertions(+), 171 deletions(-)
5213 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
5214 Author: Simon Feltman <sfeltman@src.gnome.org>
5215 Date: Fri May 16 15:08:35 2014 -0700
5217 Use accessors for getting and setting PyGParamSpec pointers
5219 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
5220 setting the GParamSpec pointer field held by the Python wrapper. This
5221 is preliminary cleanup work for supporting fundamental types.
5223 https://bugzilla.gnome.org/show_bug.cgi?id=631901
5225 gi/pygi-value.c | 2 +-
5226 gi/pygobject.h | 9 +++++++--
5227 gi/pygparamspec.c | 22 +++++++++++-----------
5228 3 files changed, 19 insertions(+), 14 deletions(-)
5230 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
5231 Author: Simon Feltman <sfeltman@src.gnome.org>
5232 Date: Fri May 16 14:50:57 2014 -0700
5234 Use accessors for getting and setting PyGPointer fields
5236 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
5237 setting the pointer field. This is preliminary cleanup work for
5241 https://bugzilla.gnome.org/show_bug.cgi?id=631901
5243 gi/gimodule.c | 2 +-
5244 gi/pygi-struct.c | 6 +++---
5245 gi/pygobject.h | 2 ++
5246 gi/pygpointer.c | 14 +++++++-------
5247 4 files changed, 13 insertions(+), 11 deletions(-)
5249 commit 92fe52243d819ffe91597744a6a1c2362a295bce
5250 Author: Simon Feltman <sfeltman@src.gnome.org>
5251 Date: Fri May 16 14:19:47 2014 -0700
5253 Use accessors for getting and setting PyGBoxed pointers
5255 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
5257 the boxed pointer field. This is preliminary cleanup work for
5261 https://bugzilla.gnome.org/show_bug.cgi?id=631901
5263 gi/pygboxed.c | 20 ++++++++++----------
5264 gi/pygi-boxed.c | 6 +++---
5265 gi/pygobject.h | 2 ++
5266 gi/pygtype.c | 3 ++-
5267 4 files changed, 17 insertions(+), 14 deletions(-)
5269 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
5270 Author: Simon Feltman <sfeltman@src.gnome.org>
5271 Date: Sun May 11 16:04:55 2014 -0700
5273 tests: Use assertRaises as a context manager for GError test
5275 Simplify tests/test_error.py:TestMarshalling.test_exception so that
5276 it no longer needs to pull exception information out of sys.exc_info.
5278 tests/test_error.py | 14 ++++++--------
5279 1 file changed, 6 insertions(+), 8 deletions(-)
5281 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
5282 Author: Andrew Grigorev <andrew@ei-grad.ru>
5283 Date: Sun May 11 23:54:46 2014 +0400
5285 Replace direct parent class call by super()
5287 Super works, it just needs the correct class.
5289 https://bugzilla.gnome.org/show_bug.cgi?id=729970
5291 demos/gtk-demo/gtk-demo.py | 6 ++----
5292 1 file changed, 2 insertions(+), 4 deletions(-)
5294 commit de827d00762f2a741f90bc38f8b55518593f4509
5295 Author: Simon Feltman <sfeltman@src.gnome.org>
5296 Date: Sun Mar 23 01:59:00 2014 -0700
5298 Add cairo marshaling support for non-introspected signals
5300 Add link dependency of cairo-gobject to _gi_cairo_la needed for
5302 the GTypes of cairo classes.
5303 Add GValue marshalers for cairo Context, Surface, FontFace,
5305 and Pattern classes.
5307 https://bugzilla.gnome.org/show_bug.cgi?id=694604
5309 gi/Makefile.am | 2 +
5310 gi/pygi-foreign-cairo.c | 186
5311 ++++++++++++++++++++++++++++++++++++++++++++++++
5312 gi/pygi-type.h | 1 +
5314 tests/test_cairo.py | 65 +++++++++++++++++
5315 5 files changed, 256 insertions(+)
5317 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
5318 Author: Simon Feltman <sfeltman@src.gnome.org>
5319 Date: Mon May 5 19:37:18 2014 -0700
5321 [New API] Add gi.require_foreign
5323 Add gi.require_foreign(namespace, symbol=None) API for determining
5324 if a foreign marshaling module is available. This can be used in an
5325 applications import statement block to verify the existence of a
5326 specific foreign marshaling module (cairo).
5327 Additionally it forces loading of the foreign marshaling module as
5328 well as the GI repository module. This allows non-introspected signal
5329 closures to correctly marshal their arguments (bug 694604).
5331 https://bugzilla.gnome.org/show_bug.cgi?id=707735
5333 gi/__init__.py | 28 +++++++++++++++++++++++++
5334 gi/gimodule.c | 2 ++
5335 gi/pygi-foreign.c | 60
5336 ++++++++++++++++++++++++++++++++++++++++++++++-------
5337 gi/pygi-foreign.h | 4 ++++
5338 tests/test_cairo.py | 9 ++++++++
5339 5 files changed, 95 insertions(+), 8 deletions(-)
5341 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
5342 Author: Simon Feltman <sfeltman@src.gnome.org>
5343 Date: Mon May 5 19:48:06 2014 -0700
5345 tests: Move cairo tests into test_cairo.py
5347 Move cairo related tests from test_everything.py into test_cairo.py
5349 https://bugzilla.gnome.org/show_bug.cgi?id=694604
5351 tests/Makefile.am | 1 +
5352 tests/test_cairo.py | 67
5353 ++++++++++++++++++++++++++++++++++++++++++++++++
5354 tests/test_everything.py | 43 +------------------------------
5355 3 files changed, 69 insertions(+), 42 deletions(-)
5357 commit 31ecd935564984068e6646676392122bdc03e42e
5358 Author: Simon Feltman <sfeltman@src.gnome.org>
5359 Date: Mon May 5 19:42:59 2014 -0700
5361 Initialize the foreign API at PyGI load time
5363 Initialize the foreign struct list at gi._gi module load time. This
5365 we always have a valid (non-null) list of foreign marshalers outside
5367 context of marshaling.
5369 https://bugzilla.gnome.org/show_bug.cgi?id=694604
5371 gi/gimodule.c | 3 ++-
5372 gi/pygi-foreign.c | 12 ++++++++----
5373 gi/pygi-foreign.h | 2 ++
5374 3 files changed, 12 insertions(+), 5 deletions(-)
5376 commit def47144b63a1492ebf47a4eadb535f45253ff3a
5377 Author: Simon Feltman <sfeltman@src.gnome.org>
5378 Date: Sat Mar 22 14:13:01 2014 -0700
5380 Move pygi foreign API into pygi-foreign-api.h
5382 Move limited set of APIs necessary for registering foreign marshalers
5384 pygi-foreign-api.h. Remove "_real" from internally used APIs and
5386 includes to the rest of pygobject for calling directly (instead of
5388 the PyCapsule API within PyGI itself).
5389 This is needed to avoid compilation errors when including pygobject.h
5391 foreign marshaling plugins which conflicts with pygobject-private.h.
5393 https://bugzilla.gnome.org/show_bug.cgi?id=694604
5395 gi/Makefile.am | 1 +
5396 gi/gimodule.c | 6 +--
5400 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
5401 gi/pygi-foreign-cairo.c | 8 ++--
5402 gi/pygi-foreign.c | 10 ++---
5403 gi/pygi-foreign.h | 14 +++----
5404 gi/pygi-property.c | 8 ++--
5405 gi/pygi-property.h | 14 ++++---
5406 gi/pygi-signal-closure.c | 12 +++---
5407 gi/pygi-signal-closure.h | 15 +++----
5408 gi/pygi-type.c | 4 +-
5409 gi/pygi-type.h | 2 +-
5411 -----------------------------------------------
5412 gi/pygobject.c | 3 ++
5413 gi/pygpointer.c | 1 +
5414 18 files changed, 139 insertions(+), 154 deletions(-)
5416 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
5417 Author: Simon Feltman <sfeltman@src.gnome.org>
5418 Date: Sun May 4 23:19:30 2014 -0700
5420 Clobber GLib.Error with custom implementation
5422 Clobber the introspection GLib.Error class with the custom Python
5423 implementation found in gi._error.GError. Update references to
5427 https://bugzilla.gnome.org/show_bug.cgi?id=712519
5429 gi/_error.py | 3 ++-
5430 gi/overrides/GLib.py | 9 ++++++---
5431 gi/pygi-error.c | 10 +++++-----
5432 tests/test_error.py | 24 ++++++++++++------------
5433 4 files changed, 25 insertions(+), 21 deletions(-)
5435 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
5436 Author: Simon Feltman <sfeltman@src.gnome.org>
5437 Date: Sun May 4 23:43:50 2014 -0700
5439 Simplify pygi_error_marshal to use GError initializer arguments
5441 https://bugzilla.gnome.org/show_bug.cgi?id=712519
5443 gi/pygi-error.c | 25 ++++++-------------------
5444 1 file changed, 6 insertions(+), 19 deletions(-)
5446 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
5447 Author: Simon Feltman <sfeltman@src.gnome.org>
5448 Date: Sun May 4 04:13:46 2014 -0700
5450 Add Python implementation of GError
5452 Add internally used gi/_error.py module as a basis for implementing
5453 a unified GError between introspection and static bindings. Patch
5455 implementations of GError.matches and GError.new_literal in the GLib
5458 https://bugzilla.gnome.org/show_bug.cgi?id=712519
5462 ++++++++++++++++++++++++++++++++++++++++++++++++++++
5463 gi/_option.py | 3 ++-
5464 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
5465 gi/pygi-error.c | 18 +++++++-----------
5466 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
5467 6 files changed, 125 insertions(+), 14 deletions(-)
5469 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
5470 Author: Simon Feltman <sfeltman@src.gnome.org>
5471 Date: Sun May 4 23:14:27 2014 -0700
5473 tests: Move GError tests into test_error.py
5475 https://bugzilla.gnome.org/show_bug.cgi?id=712519
5477 tests/Makefile.am | 1 +
5478 tests/test_error.py | 81
5479 +++++++++++++++++++++++++++++++++++++++++++++++++++++
5480 tests/test_gi.py | 49 --------------------------------
5481 3 files changed, 82 insertions(+), 49 deletions(-)
5483 commit 649895d83a90cd3a370da215a6f98a606b987419
5484 Author: Simon Feltman <sfeltman@src.gnome.org>
5485 Date: Sun May 4 00:18:41 2014 -0700
5487 Consolidate GError related code into pygi-error
5489 Rename all pyglib_error_* functions to pygi_error_* and move them into
5491 Register GError as part of the gi._gi module instead of gi._gi._glib.
5492 Update all code to use new naming.
5494 https://bugzilla.gnome.org/show_bug.cgi?id=712519
5496 gi/_option.py | 6 +-
5497 gi/gimodule.c | 4 +-
5498 gi/glibmodule.c | 19 -----
5499 gi/gobjectmodule.c | 54 +-----------
5500 gi/overrides/GLib.py | 3 +-
5501 gi/pygi-argument.c | 6 +-
5502 gi/pygi-cache.c | 4 +-
5503 gi/pygi-error.c | 222
5504 ++++++++++++++++++++++++++++++++++++++++++++++++-
5505 gi/pygi-error.h | 21 ++++-
5506 gi/pygi-invoke.c | 5 +-
5507 gi/pyglib-private.h | 1 -
5508 gi/pyglib.c | 199 --------------------------------------------
5510 gi/pygobject-private.h | 3 -
5511 gi/pygoptioncontext.c | 3 +-
5512 gi/pygoptiongroup.c | 3 +-
5513 gi/pygspawn.c | 3 +-
5514 17 files changed, 262 insertions(+), 299 deletions(-)
5516 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
5517 Author: Simon Feltman <sfeltman@src.gnome.org>
5518 Date: Sat May 3 22:56:49 2014 -0700
5520 Add gi.CallableInfo.can_throw_gerror()
5522 Add static binding for g_callable_info_can_throw_gerror.
5524 gi/pygi-info.c | 10 ++++++++++
5525 tests/test_repository.py | 16 ++++++++++++++++
5526 2 files changed, 26 insertions(+)
5528 commit f129e78d579b7897cb86111c524d87b5b12019ad
5529 Author: Simon Feltman <sfeltman@src.gnome.org>
5530 Date: Sat May 3 22:56:03 2014 -0700
5532 Derive PyCallbackInfo from PyCallableInfo
5534 Update the static GI bindings for PyGICallbackInfo to derive
5535 from PyGICallableInfo. This makes all the gi.CallableInfo methods
5536 available to gi.CallbackInfo for use from Python.
5538 gi/pygi-info.c | 4 ++--
5539 tests/test_repository.py | 7 +++++++
5540 2 files changed, 9 insertions(+), 2 deletions(-)
5542 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
5543 Author: Simon Feltman <sfeltman@src.gnome.org>
5544 Date: Fri May 2 21:36:25 2014 -0700
5548 Use infix 'not' instead of prefixed.
5549 Don't use double comments (##).
5550 Use space between comment and text.
5551 Un-comment tests that now work.
5552 Move broken (and won't fix) implicit int64 signal tests into
5553 a new skipped test function.
5555 gi/overrides/GIMarshallingTests.py | 4 ++--
5556 gi/overrides/Gio.py | 4 ++--
5557 gi/overrides/Gtk.py | 6 +++---
5559 pygtkcompat/pygtkcompat.py | 4 ++--
5560 tests/test_everything.py | 1 -
5561 tests/test_gi.py | 9 +++------
5562 tests/test_iochannel.py | 2 +-
5563 tests/test_option.py | 2 +-
5564 tests/test_signal.py | 28 +++++++++++++---------------
5565 10 files changed, 28 insertions(+), 34 deletions(-)
5567 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
5568 Author: Simon Feltman <sfeltman@src.gnome.org>
5569 Date: Mon Apr 28 14:06:30 2014 -0700
5571 configure.ac: post release version bump to 3.13.2
5574 1 file changed, 1 insertion(+), 1 deletion(-)
5576 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
5577 Author: Simon Feltman <sfeltman@src.gnome.org>
5578 Date: Mon Apr 28 14:00:59 2014 -0700
5582 NEWS | 14 ++++++++++++++
5583 1 file changed, 14 insertions(+)
5585 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
5586 Author: Christoph Reiter <reiter.christoph@gmail.com>
5587 Date: Mon Apr 14 23:33:52 2014 +0200
5589 Raise TypeError if arguments are passed to Boxed.__init__
5591 This is a partial revert of
5592 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
5593 which removed a type check in __new__. This adds it back
5594 into __init__. Overrides which define __new__ now have to
5595 filter out any arguments in __init__ and not the other way
5596 around, which is a bit less surprising in the common case.
5598 https://bugzilla.gnome.org/show_bug.cgi?id=727810
5600 gi/overrides/GLib.py | 6 ++++++
5601 gi/overrides/Gtk.py | 6 ++++++
5602 gi/overrides/Pango.py | 3 +++
5603 gi/pygi-boxed.c | 6 ++++++
5604 tests/test_gi.py | 4 ++++
5605 5 files changed, 25 insertions(+)
5607 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
5608 Author: Christoph Reiter <reiter.christoph@gmail.com>
5609 Date: Mon Apr 14 15:40:50 2014 +0200
5611 Gdk.Event: Override __setattr__ to set fields based on the event type
5613 Pass the setting of attributes through to the underlying union based
5614 on event type. This mirrors the logic in __getattr__.
5616 https://bugzilla.gnome.org/show_bug.cgi?id=727810
5618 gi/overrides/Gdk.py | 7 +++++++
5619 tests/test_overrides_gdk.py | 13 ++++++++++---
5620 2 files changed, 17 insertions(+), 3 deletions(-)
5622 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
5623 Author: Christoph Reiter <reiter.christoph@gmail.com>
5624 Date: Mon Apr 14 13:06:02 2014 +0200
5626 Gdk.Event: Include GdkEventType in __repr__
5628 https://bugzilla.gnome.org/show_bug.cgi?id=727810
5630 gi/overrides/Gdk.py | 4 ++++
5631 tests/test_overrides_gdk.py | 4 ++++
5632 2 files changed, 8 insertions(+)
5634 commit 23965455f060793ffcbc0d8288527d41a667579c
5635 Author: Simon Feltman <sfeltman@src.gnome.org>
5636 Date: Mon Apr 14 15:10:01 2014 -0700
5638 Fix crash with type checking for GObject arguments
5640 Ensure we have a valid GObject before attempting to call g_type_is_a.
5641 Swap conditional blocks to make if condition more readable.
5643 https://bugzilla.gnome.org/show_bug.cgi?id=727604
5645 gi/pygi-object.c | 19 ++++++++++---------
5646 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
5647 2 files changed, 45 insertions(+), 9 deletions(-)
5649 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
5650 Author: Paolo Borelli <pborelli@gnome.org>
5651 Date: Sun Mar 30 18:27:59 2014 +0200
5653 Do not leak info of destroy notify
5655 gi/pygi-closure.c | 11 ++++++-----
5656 1 file changed, 6 insertions(+), 5 deletions(-)
5658 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
5659 Author: Simon Feltman <sfeltman@src.gnome.org>
5660 Date: Fri Mar 28 19:51:58 2014 -0700
5662 configure.ac: Update PyGObject wiki link in AC_INIT
5665 1 file changed, 1 insertion(+), 1 deletion(-)
5667 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
5668 Author: Simon Feltman <sfeltman@src.gnome.org>
5669 Date: Mon Mar 24 18:57:56 2014 -0700
5671 Ignore GValueArray deprecations
5673 Wrap calls to GValueArray related calls with
5674 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
5675 Although GValueArray is deprecated, we still need to support the
5677 them in PyGObject. The deprecations add noise to the build processes
5679 new warnings could be lost. Essentially losing the element of surprise
5681 warning should have on maintainers.
5683 gi/pygi-value.c | 23 ++++++++++++++++++++---
5684 tests/testhelpermodule.c | 3 +++
5685 2 files changed, 23 insertions(+), 3 deletions(-)
5687 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
5688 Author: Simon Feltman <sfeltman@src.gnome.org>
5689 Date: Mon Mar 24 18:09:10 2014 -0700
5691 Raise ImportError when importing modules not found in repository
5693 Raise an ImportError with extra information noting the typelib was not
5694 found. This removes the need to log a similar message which adds
5696 noise when attempting controlled imports within try/except statements.
5697 In Python 2, the additional information is lost but in Python 3 it
5700 https://bugzilla.gnome.org/show_bug.cgi?id=726877
5702 gi/importer.py | 9 ++++-----
5703 tests/test_import_machinery.py | 18 ++++++++++++++++++
5704 2 files changed, 22 insertions(+), 5 deletions(-)
5706 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
5707 Author: Simon Feltman <sfeltman@src.gnome.org>
5708 Date: Mon Mar 24 18:04:27 2014 -0700
5710 tests: Rename test_overrides to test_import_machinery
5712 Rename this test to better suit the contents of the file. This
5714 us a more concise location to grow other tests related to import
5718 https://bugzilla.gnome.org/show_bug.cgi?id=726877
5720 tests/Makefile.am | 2 +-
5721 tests/{test_overrides.py => test_import_machinery.py} | 0
5722 2 files changed, 1 insertion(+), 1 deletion(-)
5724 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
5725 Author: Simon Feltman <sfeltman@src.gnome.org>
5726 Date: Mon Mar 24 04:39:47 2014 -0700
5728 HACKING: Update branch creation instructions to include -b
5731 1 file changed, 1 insertion(+), 1 deletion(-)
5733 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
5734 Author: Simon Feltman <sfeltman@src.gnome.org>
5735 Date: Mon Mar 24 04:35:52 2014 -0700
5737 configure.ac: post release version bump to 3.13.1
5739 configure.ac | 4 ++--
5740 1 file changed, 2 insertions(+), 2 deletions(-)
5742 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
5743 Author: Simon Feltman <sfeltman@src.gnome.org>
5744 Date: Mon Mar 24 03:35:21 2014 -0700
5749 1 file changed, 2 insertions(+)
5751 commit 70020e9934abb39cbccfa49e582fb838465c0490
5752 Author: Simon Feltman <sfeltman@src.gnome.org>
5753 Date: Mon Mar 24 03:05:16 2014 -0700
5755 pre-release version bump to 3.12.0
5757 configure.ac | 4 ++--
5758 1 file changed, 2 insertions(+), 2 deletions(-)
5760 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
5761 Author: Simon Feltman <sfeltman@src.gnome.org>
5762 Date: Mon Mar 17 15:17:12 2014 -0700
5764 configure.ac: post release version bump to 3.11.93
5767 1 file changed, 1 insertion(+), 1 deletion(-)
5769 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
5770 Author: Simon Feltman <sfeltman@src.gnome.org>
5771 Date: Mon Mar 17 15:12:33 2014 -0700
5776 1 file changed, 6 insertions(+)
5778 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
5779 Author: Simon Feltman <sfeltman@src.gnome.org>
5780 Date: Mon Mar 17 14:55:52 2014 -0700
5782 configure.ac: Remove option to build without libffi
5784 We've always had a hard dependency on libffi headers.
5785 Commit 5798f94b6a727b93 added a direct module dependency on libffi
5786 instead of indirect via GI. Remove the option to build without libffi.
5788 configure.ac | 21 +++------------------
5789 1 file changed, 3 insertions(+), 18 deletions(-)
5791 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
5792 Author: Simon Feltman <sfeltman@src.gnome.org>
5793 Date: Sat Mar 15 00:50:14 2014 -0700
5795 docs: Standardize Python doc strings
5797 Use consistent doc string quotations (three double quotes).
5798 Update usage of GObject.GObject in docs to GObject.Object.
5799 Use reStructuredText markup for parameter annotations, instance
5801 admonitions, and code examples.
5802 This allows for better Sphinx documentation generation for the
5804 Preliminary style guide:
5805 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
5807 gi/_option.py | 67 +++++++++++++++------------
5808 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
5809 gi/_signalhelper.py | 117
5810 ++++++++++++++++++++++++-----------------------
5811 gi/docstring.py | 17 ++++---
5812 gi/glibmodule.c | 3 +-
5813 gi/overrides/GLib.py | 20 ++++----
5814 gi/overrides/GObject.py | 39 ++++++++++------
5815 gi/overrides/Gtk.py | 28 ++++++++----
5816 gi/overrides/__init__.py | 66 +++++++++++++-------------
5818 10 files changed, 242 insertions(+), 203 deletions(-)
5820 commit 2d268ef661badabcb63e696dab01857d57cb3371
5821 Author: Simon Feltman <sfeltman@src.gnome.org>
5822 Date: Sat Mar 15 00:49:00 2014 -0700
5824 Quote argument names in initializer deprecation warning
5826 Add quotation marks around names of deprecated positional arguments.
5827 This makes the message clearer in stating what has been deprecated
5828 in cases when only a single argument is displayed.
5830 gi/overrides/__init__.py | 2 +-
5831 tests/test_gi.py | 6 +++---
5832 2 files changed, 4 insertions(+), 4 deletions(-)
5834 commit a070e712526e433c236753813acc3ef300f0d203
5835 Author: Simon Feltman <sfeltman@src.gnome.org>
5836 Date: Sat Mar 15 00:35:03 2014 -0700
5838 docs: Ignore meta-class bases in dynamic docstring generation
5840 Skip attempts at generating a doc string for GObject meta-class bases
5841 since they do not contain an __info__ attribute.
5842 This circumvents errors with documentation generators (Sphinx).
5844 gi/types.py | 7 ++++++-
5845 1 file changed, 6 insertions(+), 1 deletion(-)
5847 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
5848 Author: Simon Feltman <sfeltman@src.gnome.org>
5849 Date: Thu Mar 13 10:13:34 2014 -0700
5851 Update Free Software Foundation addresses
5853 Update all references to the FSF physical address
5854 to use the web address: http://www.gnu.org/licenses
5856 gi/_constants.py | 4 +---
5857 gi/_gobject/__init__.py | 4 +---
5858 gi/_option.py | 4 +---
5859 gi/_propertyhelper.py | 4 +---
5860 gi/_signalhelper.py | 4 +---
5861 gi/glibmodule.c | 4 +---
5862 gi/gobjectmodule.c | 4 +---
5863 gi/overrides/keysyms.py | 4 +---
5864 gi/pygboxed.c | 4 +---
5865 gi/pygboxed.h | 4 +---
5866 gi/pygenum.c | 4 +---
5867 gi/pygenum.h | 4 +---
5868 gi/pygflags.c | 4 +---
5869 gi/pygflags.h | 4 +---
5870 gi/pygi-argument.c | 4 +---
5871 gi/pygi-argument.h | 4 +---
5872 gi/pygi-boxed.c | 4 +---
5873 gi/pygi-boxed.h | 4 +---
5874 gi/pygi-cache.c | 4 +---
5875 gi/pygi-cache.h | 4 +---
5876 gi/pygi-ccallback.c | 4 +---
5877 gi/pygi-ccallback.h | 4 +---
5878 gi/pygi-info.c | 4 +---
5879 gi/pygi-info.h | 4 +---
5880 gi/pygi-invoke.c | 4 +---
5881 gi/pygi-invoke.h | 4 +---
5882 gi/pygi-marshal-cleanup.c | 4 +---
5883 gi/pygi-marshal-cleanup.h | 4 +---
5884 gi/pygi-repository.c | 4 +---
5885 gi/pygi-repository.h | 4 +---
5886 gi/pygi-signal-closure.c | 4 +---
5887 gi/pygi-struct.c | 4 +---
5888 gi/pygi-struct.h | 4 +---
5889 gi/pygi-type.c | 4 +---
5890 gi/pygi-type.h | 4 +---
5892 gi/pyginterface.c | 4 +---
5893 gi/pyginterface.h | 4 +---
5894 gi/pyglib-private.h | 4 +---
5895 gi/pyglib-python-compat.h | 4 +---
5896 gi/pyglib.c | 4 +---
5897 gi/pyglib.h | 4 +---
5898 gi/pygobject-external.h | 4 +---
5899 gi/pygobject.c | 4 +---
5900 gi/pygoptioncontext.c | 4 +---
5901 gi/pygoptioncontext.h | 4 +---
5902 gi/pygoptiongroup.c | 4 +---
5903 gi/pygoptiongroup.h | 4 +---
5904 gi/pygparamspec.c | 4 +---
5905 gi/pygparamspec.h | 4 +---
5906 gi/pygpointer.c | 4 +---
5907 gi/pygpointer.h | 4 +---
5908 gi/pygspawn.c | 4 +---
5909 gi/pygspawn.h | 4 +---
5910 gi/pygtype.c | 4 +---
5911 gi/pygtype.h | 4 +---
5912 pygtkcompat/generictreemodel.py | 4 +---
5913 tests/test_generictreemodel.py | 4 +---
5914 58 files changed, 58 insertions(+), 174 deletions(-)
5916 commit bbfcebdfdc5e574999221b60520422ea6da82435
5917 Author: Owen W. Taylor <otaylor@fishsoup.net>
5918 Date: Wed Mar 12 18:32:47 2014 -0400
5920 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
5922 Any (transfer full) return of a cairo type other than a path
5925 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
5926 it for the cairo foreign type. For paths we can only handle
5927 (transfer full) so throw an error for (transfer none).
5929 https://bugzilla.gnome.org/show_bug.cgi?id=726206
5931 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
5932 gi/pygi-foreign.c | 3 ++-
5933 gi/pygi-foreign.h | 1 +
5934 gi/pygi-invoke.c | 1 +
5935 gi/pygi-struct-marshal.c | 1 +
5937 6 files changed, 31 insertions(+), 8 deletions(-)
5939 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
5940 Author: Simon Feltman <sfeltman@src.gnome.org>
5941 Date: Mon Mar 3 15:20:02 2014 -0800
5943 configure.ac: post release version bump to 3.11.92
5946 1 file changed, 1 insertion(+), 1 deletion(-)
5948 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
5949 Author: Simon Feltman <sfeltman@src.gnome.org>
5950 Date: Mon Mar 3 15:16:43 2014 -0800
5955 1 file changed, 7 insertions(+)
5957 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
5958 Author: Simon Feltman <sfeltman@src.gnome.org>
5959 Date: Mon Mar 3 06:49:09 2014 -0800
5961 build: Update release-news to use srcdir
5963 Use $(top_srcdir)/NEWS for pulling in news items to ensure
5964 "make release-news" works in a vpath build environment.
5967 1 file changed, 1 insertion(+), 1 deletion(-)
5969 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
5970 Author: Simon Feltman <sfeltman@src.gnome.org>
5971 Date: Fri Feb 7 20:16:21 2014 -0800
5973 Use ffi_call directly instead of g_callable_info_invoke
5975 Cleanup internal callable cache and state tracking by removing
5977 counting schemes for differently sized "in" and "out" argument arrays.
5978 Use a single count based on the total number of arguments passed to C
5979 (inclusive of instance argument and GError exception where
5981 Size all state tracking arrays to the same size and ensure argument
5983 indices always line up with these arrays. This cleans up logic
5985 required by g_callable_info_invoke for splitting "in" and "out"
5989 Cleanup array marshaling which can now rely on the new scheme
5991 the "arg_values" array always points to the correct location for
5995 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
5997 related GI methods. Overall, these changes can give a performance
5999 almost 2x for simple function calls (see ticket for micro benchmarks).
6001 https://bugzilla.gnome.org/show_bug.cgi?id=723642
6003 gi/pygi-array.c | 26 ++---
6004 gi/pygi-cache.c | 61 +++++++++--
6005 gi/pygi-cache.h | 10 +-
6006 gi/pygi-ccallback.c | 3 +-
6007 gi/pygi-closure.c | 6 +-
6008 gi/pygi-invoke-state-struct.h | 42 +++++---
6009 gi/pygi-invoke.c | 241
6010 +++++++++++++++++++++++-------------------
6011 gi/pygi-invoke.h | 2 +-
6012 gi/pygi-marshal-cleanup.c | 4 +-
6013 9 files changed, 230 insertions(+), 165 deletions(-)
6015 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
6016 Author: Simon Feltman <sfeltman@src.gnome.org>
6017 Date: Mon Mar 3 04:51:09 2014 -0800
6019 tests: Move class definition depending on GTK+ within function
6022 Move the definition of WindowWithSizeAllocOverride inside of the test
6023 function call to so it is lazily defined. This avoids problems
6025 on systems without GTK+ installed.
6027 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
6028 1 file changed, 16 insertions(+), 16 deletions(-)
6030 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
6031 Author: Simon Feltman <sfeltman@src.gnome.org>
6032 Date: Mon Mar 3 04:45:59 2014 -0800
6034 tests: Conditionalize usage of GTK+ in tests_generictreemodel
6036 This allows running make check without GTK+ installed.
6038 tests/test_generictreemodel.py | 16 +++++++++++++---
6039 1 file changed, 13 insertions(+), 3 deletions(-)
6041 commit 038563ed620e0d966e385a1779455d9b0e148c41
6042 Author: Simon Feltman <sfeltman@src.gnome.org>
6043 Date: Mon Mar 3 04:39:35 2014 -0800
6045 tests: Conditionalize usage of regress typelib in test_properties
6047 Unconditional usage of regress breaks tests when PyGObject is
6051 tests/test_properties.py | 27 +++++++++++++++++----------
6052 1 file changed, 17 insertions(+), 10 deletions(-)
6054 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
6055 Author: Simon Feltman <sfeltman@src.gnome.org>
6056 Date: Mon Mar 3 02:44:12 2014 -0800
6058 configure.ac: Use -std=c90 and error on declaration-after-statement
6060 Replace gcc option of -std=c9x with c90 and add
6061 -Werror=declaration-after-statement
6062 This ensures we keep compatibility with msvc builds.
6064 configure.ac | 3 ++-
6065 1 file changed, 2 insertions(+), 1 deletion(-)
6067 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
6068 Author: Simon Feltman <sfeltman@src.gnome.org>
6069 Date: Mon Mar 3 02:38:30 2014 -0800
6071 Use g_snprintf instead of snprintf
6073 Use g_snprintf for consistency with the rest of gobjectmodule.c
6075 gi/gobjectmodule.c | 2 +-
6076 1 file changed, 1 insertion(+), 1 deletion(-)
6078 commit b016ae6793839b2a6a00a69d00de30937bc611be
6079 Author: Simon Feltman <sfeltman@src.gnome.org>
6080 Date: Thu Feb 27 04:27:41 2014 -0800
6082 Use C style comments
6084 Update various locations which use C99 single line comments to
6086 C90 style comments. Found with: make CFLAGS="-std=C90"
6088 gi/gimodule.c | 2 +-
6089 gi/pygi-array.c | 3 ++-
6090 gi/pygi-property.c | 2 +-
6092 4 files changed, 5 insertions(+), 4 deletions(-)
6094 commit df7cba1495c167f1019dec7f4398dc5de62a5937
6095 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
6096 Date: Tue Feb 25 14:38:41 2014 +0800
6098 Fix Build on Visual Studio
6100 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
6102 included the use of the NAN and INFINITY macros/constants, so the
6103 definitions for those need to be moved to pygi-basictype.c as well.
6105 avoid defining a variable in the middle of the block.
6107 https://bugzilla.gnome.org/show_bug.cgi?id=725122
6109 gi/pygi-basictype.c | 16 ++++++++++++++++
6110 gi/pygi-cache.c | 3 ++-
6111 gi/pygi-enum-marshal.c | 16 ----------------
6112 3 files changed, 18 insertions(+), 17 deletions(-)
6114 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
6115 Author: Simon Feltman <sfeltman@src.gnome.org>
6116 Date: Mon Feb 17 17:22:40 2014 -0800
6118 Update release steps to be more explicit in regards to NEWS
6120 Add an explicit step to commit the NEWS changes and push prior
6123 HACKING | 11 ++++++-----
6124 1 file changed, 6 insertions(+), 5 deletions(-)
6126 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
6127 Author: Simon Feltman <sfeltman@src.gnome.org>
6128 Date: Mon Feb 17 17:18:10 2014 -0800
6130 configure.ac: post release version bump to 3.11.91
6133 1 file changed, 1 insertion(+), 1 deletion(-)
6135 commit f87e341c5528d066371d4ec493956db28dd0bafa
6136 Author: Simon Feltman <sfeltman@src.gnome.org>
6137 Date: Mon Feb 17 17:08:13 2014 -0800
6142 1 file changed, 4 insertions(+)
6144 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
6145 Author: Simon Feltman <sfeltman@src.gnome.org>
6146 Date: Wed Feb 12 10:28:35 2014 -0800
6148 Use GObject type checking for instance arguments
6150 Add a g_type_is_a check to interface/object instance arguments
6152 to the Python IsInstance check. This loosens restrictions on
6154 don't use gi.overrides.override() and is needed to keep API
6156 which broke with commit:
6157 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
6159 https://bugzilla.gnome.org/show_bug.cgi?id=724009
6161 gi/pygi-object.c | 6 +++++-
6162 1 file changed, 5 insertions(+), 1 deletion(-)
6164 commit 419e13e1717b725d5c6815bae9672649b0afddd4
6165 Author: Simon Feltman <sfeltman@src.gnome.org>
6166 Date: Mon Feb 3 15:58:30 2014 -0800
6168 configure.ac: post release version bump to 3.11.90
6171 1 file changed, 1 insertion(+), 1 deletion(-)
6173 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
6174 Author: Simon Feltman <sfeltman@src.gnome.org>
6175 Date: Mon Feb 3 15:51:27 2014 -0800
6179 NEWS | 16 ++++++++++++++++
6180 1 file changed, 16 insertions(+)
6182 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
6183 Author: Simon Feltman <sfeltman@src.gnome.org>
6184 Date: Mon Feb 3 06:45:09 2014 -0800
6186 Restore pygobject_version API needed for pygobject.h
6188 Add gi._gobject.pygobject_version which was removed with commit:
6189 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
6190 This is needed for pygobject.h to function properly.
6192 gi/_gobject/__init__.py | 1 +
6193 1 file changed, 1 insertion(+)
6195 commit f3be4cedcb1d395a3fabee95d7460bce86268153
6196 Author: Simon Feltman <sfeltman@src.gnome.org>
6197 Date: Mon Feb 3 06:29:07 2014 -0800
6199 cache refactoring: Add comments to arg cache setup functions
6201 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6203 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
6204 1 file changed, 36 insertions(+)
6206 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
6207 Author: Simon Feltman <sfeltman@src.gnome.org>
6208 Date: Mon Feb 3 06:24:18 2014 -0800
6210 cache refactoring: Use consistent prefix for arg cache functions
6212 Use "pygi_arg_cache" as the prefix for arg cache memory related
6215 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6217 gi/pygi-array.c | 6 ++--
6218 gi/pygi-basictype.c | 4 +--
6219 gi/pygi-cache.c | 74
6220 ++++++++++++++++++++++++------------------------
6221 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
6222 gi/pygi-ccallback.c | 2 +-
6223 gi/pygi-closure.c | 6 ++--
6224 gi/pygi-enum-marshal.c | 4 +--
6225 gi/pygi-error.c | 4 +--
6226 gi/pygi-hashtable.c | 30 ++++++++++----------
6227 gi/pygi-info.c | 2 +-
6228 gi/pygi-invoke.c | 2 +-
6229 gi/pygi-list.c | 2 +-
6230 gi/pygi-object.c | 2 +-
6231 gi/pygi-struct-marshal.c | 2 +-
6232 14 files changed, 102 insertions(+), 96 deletions(-)
6234 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
6235 Author: Simon Feltman <sfeltman@src.gnome.org>
6236 Date: Sun Jan 12 12:26:30 2014 -0800
6238 marshal refactoring: Move GValue marshaling from pytype into
6241 Move marshaling of GValues to and from PyObjects into
6243 PyGTypeMarshal struct and related functions accessible via pygtype.h.
6245 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6247 gi/gobjectmodule.c | 2 +
6248 gi/pygi-struct-marshal.c | 1 +
6249 gi/pygi-value.c | 720
6250 +++++++++++++++++++++++++++++++++++++++++++++-
6251 gi/pygi-value.h | 12 +
6252 gi/pygobject-private.h | 16 --
6253 gi/pygobject.c | 2 +-
6255 +----------------------------------------------
6256 gi/pygtype.h | 17 ++
6257 8 files changed, 757 insertions(+), 741 deletions(-)
6259 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
6260 Author: Simon Feltman <sfeltman@src.gnome.org>
6261 Date: Sun Jan 12 11:41:20 2014 -0800
6263 marshal refactoring: Move GIArgument from GValue code to new file
6265 Add gi/pygi-value.h and .c files with initial contents of
6266 _pygi_argument_from_g_value. Eventually this file will contain
6268 related to GValue marshaling from various code locations in the
6271 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6273 gi/Makefile.am | 2 +
6274 gi/pygi-argument.c | 126 +----------------------------------------
6275 gi/pygi-argument.h | 3 -
6276 gi/pygi-signal-closure.c | 1 +
6277 gi/pygi-value.c | 144
6278 +++++++++++++++++++++++++++++++++++++++++++++++
6279 gi/pygi-value.h | 32 +++++++++++
6280 6 files changed, 180 insertions(+), 128 deletions(-)
6282 commit c2d5857e9b964427190e1230be32ae7919e86bc0
6283 Author: Simon Feltman <sfeltman@src.gnome.org>
6284 Date: Sat Oct 12 21:26:55 2013 -0700
6286 cache refactoring: Move enum and flags arg setup and marshaling to
6289 Move enum and flags argument cache setup and marshaling fragments into
6290 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
6292 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6294 gi/Makefile.am | 6 +-
6295 gi/pygi-argument.c | 2 -
6296 gi/pygi-cache.c | 74 ++-------
6297 gi/pygi-enum-marshal.c | 408
6298 ++++++++++++++++++++++++++++++++++++++++++++++
6299 gi/pygi-enum-marshal.h | 42 +++++
6300 gi/pygi-marshal-from-py.c | 206 -----------------------
6301 gi/pygi-marshal-from-py.h | 57 -------
6302 gi/pygi-marshal-to-py.c | 152 -----------------
6303 gi/pygi-marshal-to-py.h | 34 ----
6304 9 files changed, 464 insertions(+), 517 deletions(-)
6306 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
6307 Author: Simon Feltman <sfeltman@src.gnome.org>
6308 Date: Sat Oct 12 20:00:12 2013 -0700
6310 cache refactoring: Move various struct arg setup and marshaling to
6313 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
6315 cache setup and marshaling fragments into isolated file:
6316 pygi-struct-marshal.c.
6317 Remove redundant and dead code related to boxed and union marshaling.
6319 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6321 gi/Makefile.am | 2 +
6322 gi/pygi-argument.c | 1 +
6323 gi/pygi-array.c | 3 +
6324 gi/pygi-cache.c | 72 +------
6325 gi/pygi-cache.h | 1 +
6326 gi/pygi-marshal-cleanup.c | 48 -----
6327 gi/pygi-marshal-cleanup.h | 16 --
6328 gi/pygi-marshal-from-py.c | 288 --------------------------
6329 gi/pygi-marshal-from-py.h | 33 ---
6330 gi/pygi-marshal-to-py.c | 120 -----------
6331 gi/pygi-marshal-to-py.h | 27 ---
6332 gi/pygi-object.c | 2 +-
6333 gi/pygi-struct-marshal.c | 516
6334 ++++++++++++++++++++++++++++++++++++++++++++++
6335 gi/pygi-struct-marshal.h | 73 +++++++
6336 14 files changed, 607 insertions(+), 595 deletions(-)
6338 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
6339 Author: Simon Feltman <sfeltman@src.gnome.org>
6340 Date: Sat Oct 12 16:40:58 2013 -0700
6342 cache refactoring: Move GObject arg setup and marshaling into new file
6344 Move GObject argument cache setup and marshaling fragments into
6345 isolated file: pygi-object.c.
6346 Break GIInterfaceCache creation and setup into API for interface based
6347 argument cache usage.
6349 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6351 gi/Makefile.am | 2 +
6352 gi/pygi-argument.c | 7 +-
6353 gi/pygi-cache.c | 183 ++++++++++++++-----------------
6354 gi/pygi-cache.h | 7 ++
6355 gi/pygi-marshal-cleanup.c | 27 -----
6356 gi/pygi-marshal-cleanup.h | 10 --
6357 gi/pygi-marshal-from-py.c | 123 ---------------------
6358 gi/pygi-marshal-from-py.h | 12 --
6359 gi/pygi-marshal-to-py.c | 31 ------
6360 gi/pygi-marshal-to-py.h | 8 --
6361 gi/pygi-object.c | 273
6362 ++++++++++++++++++++++++++++++++++++++++++++++
6363 gi/pygi-object.h | 46 ++++++++
6364 12 files changed, 416 insertions(+), 313 deletions(-)
6366 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
6367 Author: Simon Feltman <sfeltman@src.gnome.org>
6368 Date: Sat Oct 12 12:39:20 2013 -0700
6370 cache refactoring: Move closure setup and marshaling into pygi-closure
6372 Move closure argument caching and marshaling fragments into
6375 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6377 gi/pygi-cache.c | 111 ++--------------
6378 gi/pygi-cache.h | 9 --
6379 gi/pygi-closure.c | 314
6380 +++++++++++++++++++++++++++++++++++++++++++++-
6381 gi/pygi-closure.h | 13 +-
6382 gi/pygi-marshal-cleanup.c | 14 ---
6383 gi/pygi-marshal-cleanup.h | 5 -
6384 gi/pygi-marshal-from-py.c | 160 -----------------------
6385 gi/pygi-marshal-from-py.h | 6 -
6386 gi/pygi-marshal-to-py.c | 13 --
6387 gi/pygi-marshal-to-py.h | 4 -
6388 10 files changed, 333 insertions(+), 316 deletions(-)
6390 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
6391 Author: Simon Feltman <sfeltman@src.gnome.org>
6392 Date: Sat Oct 12 11:30:36 2013 -0700
6394 cache refactoring: Move GError arg setup and marshaling to new file
6396 Move GError argument caching and marshaling fragments into
6397 isolated file: pygi-error.c.
6399 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6401 gi/Makefile.am | 2 +
6402 gi/pygi-cache.c | 93 ++++++++++++---------------------------
6403 gi/pygi-error.c | 109
6404 ++++++++++++++++++++++++++++++++++++++++++++++
6405 gi/pygi-error.h | 35 +++++++++++++++
6406 gi/pygi-marshal-from-py.c | 13 ------
6407 gi/pygi-marshal-from-py.h | 6 ---
6408 gi/pygi-marshal-to-py.c | 22 ----------
6409 gi/pygi-marshal-to-py.h | 4 --
6410 8 files changed, 174 insertions(+), 110 deletions(-)
6412 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
6413 Author: Simon Feltman <sfeltman@src.gnome.org>
6414 Date: Sat Oct 12 03:07:53 2013 -0700
6416 cache refactoring: Move GArray arg setup and marshaling into new file
6418 Move GArray argument caching and marshaling fragments into an
6419 isolated file: pygi-array.c.
6421 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6423 gi/Makefile.am | 2 +
6424 gi/pygi-array.c | 906
6425 ++++++++++++++++++++++++++++++++++++++++++++++
6426 gi/pygi-array.h | 42 +++
6427 gi/pygi-cache.c | 236 +-----------
6428 gi/pygi-marshal-cleanup.c | 150 --------
6429 gi/pygi-marshal-cleanup.h | 10 -
6430 gi/pygi-marshal-from-py.c | 354 ------------------
6431 gi/pygi-marshal-from-py.h | 6 -
6432 gi/pygi-marshal-to-py.c | 210 -----------
6433 gi/pygi-marshal-to-py.h | 4 -
6434 10 files changed, 963 insertions(+), 957 deletions(-)
6436 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
6437 Author: Simon Feltman <sfeltman@src.gnome.org>
6438 Date: Fri Oct 11 23:26:08 2013 -0700
6440 cache refactoring: Move GList/GSList arg setup and marshaling into
6443 Move GList and GSList argument caching and marshaling fragments
6445 isolated file: pygi-list.c.
6447 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6449 gi/Makefile.am | 2 +
6450 gi/pygi-cache.c | 71 ++-----
6451 gi/pygi-list.c | 466
6452 ++++++++++++++++++++++++++++++++++++++++++++++
6453 gi/pygi-list.h | 38 ++++
6454 gi/pygi-marshal-cleanup.c | 80 --------
6455 gi/pygi-marshal-cleanup.h | 10 -
6456 gi/pygi-marshal-from-py.c | 156 ----------------
6457 gi/pygi-marshal-from-py.h | 12 --
6458 gi/pygi-marshal-to-py.c | 98 ----------
6459 gi/pygi-marshal-to-py.h | 8 -
6460 10 files changed, 517 insertions(+), 424 deletions(-)
6462 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
6463 Author: Simon Feltman <sfeltman@src.gnome.org>
6464 Date: Fri Oct 11 21:30:45 2013 -0700
6466 cache refactoring: Break sequence cache up for array vs list
6468 Add new arg cache type specialized for arrays. This cleans up
6470 sequence cache type which does not need length and size related
6472 fixed length checks from GList and GSList from_py marshaling
6476 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6478 gi/pygi-cache.c | 160
6479 +++++++++++++++++++++++++++++++++++-----------
6480 gi/pygi-cache.h | 16 ++++-
6481 gi/pygi-invoke.c | 4 +-
6482 gi/pygi-marshal-cleanup.c | 28 ++++----
6483 gi/pygi-marshal-from-py.c | 37 ++++-------
6484 gi/pygi-marshal-to-py.c | 23 +++----
6485 6 files changed, 177 insertions(+), 91 deletions(-)
6487 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
6488 Author: Simon Feltman <sfeltman@src.gnome.org>
6489 Date: Fri Oct 11 20:12:01 2013 -0700
6491 cache refactoring: Move basic type arg setup and marshaling into
6494 Move all basic type arg caching and marshaling fragments into
6496 file where most functions are made static. pygi-basictype.h exposes:
6497 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
6499 _pygi_marshal_to_py_basic_type which allows continued use for all
6503 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6505 gi/Makefile.am | 2 +
6506 gi/pygi-argument.c | 1 +
6507 gi/pygi-basictype.c | 824
6508 ++++++++++++++++++++++++++++++++++++++++++++++
6509 gi/pygi-basictype.h | 42 +++
6510 gi/pygi-cache.c | 82 +----
6511 gi/pygi-cache.h | 1 +
6512 gi/pygi-marshal-cleanup.c | 26 --
6513 gi/pygi-marshal-cleanup.h | 10 -
6514 gi/pygi-marshal-from-py.c | 478 ---------------------------
6515 gi/pygi-marshal-from-py.h | 18 -
6516 gi/pygi-marshal-to-py.c | 155 ---------
6517 gi/pygi-marshal-to-py.h | 11 -
6518 12 files changed, 880 insertions(+), 770 deletions(-)
6520 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
6521 Author: Simon Feltman <sfeltman@src.gnome.org>
6522 Date: Fri Oct 11 17:39:31 2013 -0700
6524 cache refactoring: Move PyGIHashCache and related marshaling into
6527 Re-organize hash table arg cache and its marshaling by moving all
6528 related code fragments into an isolated file where most of it is made
6529 static. pygi-hashtable.h exposes a single function:
6530 pygi_arg_hash_table_new_from_info. This is all the caching system
6532 produce the proper bits for handling hash table marshaling.
6534 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6536 gi/Makefile.am | 4 +-
6537 gi/pygi-cache.c | 103 +-----------
6538 gi/pygi-cache.h | 21 ++-
6539 gi/pygi-hashtable.c | 413
6540 ++++++++++++++++++++++++++++++++++++++++++++++
6541 gi/pygi-hashtable.h | 35 ++++
6542 gi/pygi-marshal-cleanup.c | 63 -------
6543 gi/pygi-marshal-cleanup.h | 10 --
6544 gi/pygi-marshal-from-py.c | 125 --------------
6545 gi/pygi-marshal-from-py.h | 6 -
6546 gi/pygi-marshal-to-py.c | 85 ----------
6547 gi/pygi-marshal-to-py.h | 4 -
6548 11 files changed, 471 insertions(+), 398 deletions(-)
6550 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
6551 Author: Simon Feltman <sfeltman@src.gnome.org>
6552 Date: Fri Oct 11 15:49:32 2013 -0700
6554 cache refactoring: Separate ArgCache creation and setup
6556 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
6557 functions: pygi_arg_base_setup and pygi_arg_interface_setup
6559 Shift argument order and move arguments which will eventually
6561 from the signature into the tail with comment. Isolate special
6563 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
6564 _arg_cache_new_for_interface.
6566 https://bugzilla.gnome.org/show_bug.cgi?id=709700
6568 gi/pygi-cache.c | 263
6569 ++++++++++++++++++++++++++++++++------------------------
6570 gi/pygi-cache.h | 15 ++++
6571 2 files changed, 167 insertions(+), 111 deletions(-)
6573 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
6574 Author: Simon Feltman <sfeltman@src.gnome.org>
6575 Date: Sun Feb 2 15:52:24 2014 -0800
6577 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
6579 https://bugzilla.gnome.org/show_bug.cgi?id=722899
6581 tests/test_gi.py | 3 +++
6582 1 file changed, 3 insertions(+)
6584 commit e79d2acc54c1e3b052835de5de20feb0b7069476
6585 Author: Mike Gorse <mgorse@suse.com>
6586 Date: Fri Jan 24 05:17:06 2014 -0600
6588 tests: Add test for an owned boxed struct passed in a callback
6590 https://bugzilla.gnome.org/show_bug.cgi?id=722899
6592 tests/test_gi.py | 11 +++++++++++
6593 1 file changed, 11 insertions(+)
6595 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
6596 Author: Simon Feltman <sfeltman@src.gnome.org>
6597 Date: Thu Jan 23 17:19:12 2014 -0800
6599 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
6601 Rename GIObjectMeta to GObjectMeta reverting it to its original
6603 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
6604 That change could have been considered an API break for anyone
6606 gi.types.GObjectMeta since it is essentially public API. Rename
6608 class to _GObjectMetaBase which was previously gi._gobject before
6609 commit 2624bd2b (private API).
6611 gi/module.py | 8 ++++----
6612 gi/types.py | 10 +++++-----
6613 2 files changed, 9 insertions(+), 9 deletions(-)
6615 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
6616 Author: Patrick Welche <prlw1@cam.ac.uk>
6617 Date: Thu Jan 23 23:49:51 2014 +0000
6619 build: Add --without-common configure option for package maintainers
6621 https://bugzilla.gnome.org/show_bug.cgi?id=721646
6624 configure.ac | 7 +++++++
6625 gi/Makefile.am | 2 ++
6626 3 files changed, 11 insertions(+)
6628 commit df21dbbc84fa319af2a0f0664de436ca30df616e
6629 Author: Simon Feltman <sfeltman@src.gnome.org>
6630 Date: Thu Jan 16 16:33:41 2014 -0800
6632 tests: Add skipped test for GLib.Source inheritance problems
6634 Add test showing memory problems with sub-classes of GLib.Source.
6636 https://bugzilla.gnome.org/show_bug.cgi?id=722387
6638 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
6639 1 file changed, 45 insertions(+)
6641 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
6642 Author: Simon Feltman <sfeltman@src.gnome.org>
6643 Date: Wed Jan 15 12:51:57 2014 -0800
6645 Fix reference sharing of gi sub-modules in Python 2
6647 Ensure we add a new reference to sub-modules added to gi._gi. This may
6648 have caused GC errors upon exiting the Python process since a
6650 shared by sys.modules and gi._gi.
6652 https://bugzilla.gnome.org/show_bug.cgi?id=722274
6654 gi/gimodule.c | 11 +++++++++++
6655 1 file changed, 11 insertions(+)
6657 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
6658 Author: Simon Feltman <sfeltman@src.gnome.org>
6659 Date: Tue Jan 14 23:46:44 2014 -0800
6661 demo: Add TreeModel interface implementation demonstration
6663 Add demo which shows how to implement the Gtk.TreeModel interfaces
6667 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
6668 +++++++++++++++++++++++
6669 1 file changed, 143 insertions(+)
6671 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
6672 Author: Simon Feltman <sfeltman@src.gnome.org>
6673 Date: Tue Jan 14 23:33:16 2014 -0800
6675 demo: Remove "Icon View" and "Tree View" directories
6677 demos/gtk-demo/demos/Icon View/__init__.py | 0
6678 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
6679 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
6680 demos/gtk-demo/demos/Tree View/__init__.py | 0
6681 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
6682 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
6684 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
6685 ---------------------
6686 7 files changed, 1041 deletions(-)
6688 commit f89fa08ba756a1c529ff48beb39025f834a249bf
6689 Author: Simon Feltman <sfeltman@src.gnome.org>
6690 Date: Tue Jan 14 23:08:33 2014 -0800
6692 demo: Remove spaces from demo sub-directories
6694 Move "Icon View" to IconView and "Tree View" to TreeView. This
6696 ability to package the demos in tarball releases in future versions.
6698 demos/gtk-demo/demos/IconView/__init__.py | 0
6699 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
6700 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
6701 demos/gtk-demo/demos/TreeView/__init__.py | 0
6702 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
6703 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
6705 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
6706 +++++++++++++++++++++
6707 7 files changed, 1041 insertions(+)
6709 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
6710 Author: Simon Feltman <sfeltman@src.gnome.org>
6711 Date: Tue Jan 14 14:28:52 2014 -0800
6713 build: Remove _glib directory include from testhelper CFLAGS
6715 tests/Makefile.am | 2 +-
6716 1 file changed, 1 insertion(+), 1 deletion(-)
6718 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
6719 Author: Colin Walters <walters@verbum.org>
6720 Date: Tue Jan 14 16:33:38 2014 -0500
6722 build: Set PLATFORM_VERSION again to 3.0
6724 We are installing headers to:
6725 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
6727 If the variable isn't set, then things attempting to use pygobject
6730 This was a regression from a build system refactoring.
6732 gi/Makefile.am | 2 ++
6733 1 file changed, 2 insertions(+)
6735 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
6736 Author: Simon Feltman <sfeltman@src.gnome.org>
6737 Date: Tue Jan 14 12:54:42 2014 -0800
6739 Fix Python 2 build warning for module definitions
6741 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
6743 needed now that the function signature created with
6744 PYGLIB_MODULE_START is
6745 consistent between the two versions.
6747 gi/pyglib-python-compat.h | 5 ++---
6748 1 file changed, 2 insertions(+), 3 deletions(-)
6750 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
6751 Author: Simon Feltman <sfeltman@src.gnome.org>
6752 Date: Tue Jan 14 12:26:16 2014 -0800
6754 tests: Run PyFlakes and PEP8 only on SUBDIRS
6756 Move PyFlakes and PEP8 checks into check-local of the root
6758 run these tools on selective subdirs of top_srcdir. This fixes
6760 where vpath build directories within the srcdir would contain links
6762 source files, causing these tools to run multiple times slowing
6766 Makefile.am | 21 ++++++++++++++++++++-
6767 tests/Makefile.am | 6 ------
6768 2 files changed, 20 insertions(+), 7 deletions(-)
6770 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
6771 Author: Simon Feltman <sfeltman@src.gnome.org>
6772 Date: Tue Jan 14 12:25:09 2014 -0800
6774 Remove _glib include path from gi module target
6776 gi/Makefile.am | 7 ++-----
6777 1 file changed, 2 insertions(+), 5 deletions(-)
6779 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
6780 Author: Simon Feltman <sfeltman@src.gnome.org>
6781 Date: Wed Jan 8 19:22:08 2014 -0800
6783 Move Python glib options module into gi package
6785 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
6789 https://bugzilla.gnome.org/show_bug.cgi?id=712197
6793 gi/Makefile.am | 1 -
6794 gi/_glib/Makefile.am | 21 ---------------------
6795 gi/_glib/__init__.py | 20 --------------------
6796 gi/{_glib/option.py => _option.py} | 2 +-
6797 gi/overrides/GLib.py | 2 +-
6798 gi/overrides/GObject.py | 2 +-
6799 8 files changed, 5 insertions(+), 47 deletions(-)
6801 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
6802 Author: Simon Feltman <sfeltman@src.gnome.org>
6803 Date: Wed Jan 8 18:57:58 2014 -0800
6805 Merge static PyGLib module into PyGI
6807 Remove gi._glib._glib as a separately compiled module. Move all C
6809 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
6811 shared dependency since we do not distribute header files for it.
6812 Remove unused threading macros.
6814 https://bugzilla.gnome.org/show_bug.cgi?id=712197
6816 gi/Makefile.am | 16 +++++--
6817 gi/_glib/Makefile.am | 74
6818 +-------------------------------
6819 gi/_glib/__init__.py | 5 ---
6820 gi/_glib/option.py | 2 +-
6821 gi/gimodule.c | 9 ++++
6822 gi/{_glib => }/glibmodule.c | 34 ++-------------
6823 gi/gobjectmodule.c | 5 +--
6824 gi/overrides/GLib.py | 2 +-
6825 gi/{_glib => }/pyglib-private.h | 14 ++----
6826 gi/{_glib => }/pyglib-python-compat.h | 0
6827 gi/{_glib => }/pyglib.c | 81
6828 ++---------------------------------
6829 gi/{_glib => }/pyglib.h | 10 -----
6830 gi/{_glib => }/pygoptioncontext.c | 0
6831 gi/{_glib => }/pygoptioncontext.h | 0
6832 gi/{_glib => }/pygoptiongroup.c | 0
6833 gi/{_glib => }/pygoptiongroup.h | 0
6834 gi/{_glib => }/pygspawn.c | 0
6835 gi/{_glib => }/pygspawn.h | 0
6836 18 files changed, 40 insertions(+), 212 deletions(-)
6838 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
6839 Author: Simon Feltman <sfeltman@src.gnome.org>
6840 Date: Thu Oct 31 03:13:53 2013 -0700
6842 Move gobject sub-module Python files into the main gi package
6844 This moves the signalhelper, propertyhelper, and constants Python
6846 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
6848 still needed to maintain the "_PyGObject_API" exposed by
6850 allows external modules compiled with prior versions of PyGObject to
6851 continue working with newer versions.
6853 https://bugzilla.gnome.org/show_bug.cgi?id=712197
6856 gi/__init__.py | 19 +++++-----
6857 gi/{_gobject/constants.py => _constants.py} | 5 ++-
6858 gi/_gobject/Makefile.am | 5 +--
6859 gi/_gobject/__init__.py | 42
6860 ++--------------------
6861 .../propertyhelper.py => _propertyhelper.py} | 4 +--
6862 gi/{_gobject/signalhelper.py => _signalhelper.py} | 5 ++-
6863 gi/module.py | 16 ++++-----
6864 gi/overrides/GObject.py | 7 ++--
6865 gi/overrides/__init__.py | 2 +-
6867 ++++++++++++++++-----
6868 pygtkcompat/pygtkcompat.py | 4 +--
6869 tests/test_gi.py | 2 +-
6870 tests/test_gobject.py | 4 ++-
6871 tests/test_properties.py | 2 +-
6872 tests/test_signal.py | 2 +-
6873 16 files changed, 78 insertions(+), 87 deletions(-)
6875 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
6876 Author: Simon Feltman <sfeltman@src.gnome.org>
6877 Date: Thu Oct 31 02:22:03 2013 -0700
6879 Merge gobject static code into the gi module
6881 Remove gi._gobject._gobject as a separately compiled static module and
6882 move all the files into gi._gi.
6883 Remove dead module initialization macros from "pyglib-python-compat.h"
6885 https://bugzilla.gnome.org/show_bug.cgi?id=712197
6887 gi/Makefile.am | 31 ++++++++++++++--
6888 gi/_glib/pyglib-python-compat.h | 62
6889 +++++++++----------------------
6890 gi/_gobject/Makefile.am | 69
6891 +----------------------------------
6892 gi/_gobject/__init__.py | 4 +-
6893 gi/_gobject/constants.py | 3 +-
6894 gi/_gobject/propertyhelper.py | 16 +++++---
6895 gi/_gobject/signalhelper.py | 3 +-
6896 gi/gimodule.c | 13 ++++---
6897 gi/{_gobject => }/gobjectmodule.c | 0
6899 gi/{_gobject => }/pygboxed.c | 0
6900 gi/{_gobject => }/pygboxed.h | 0
6901 gi/{_gobject => }/pygenum.c | 0
6902 gi/{_gobject => }/pygenum.h | 0
6903 gi/{_gobject => }/pygflags.c | 0
6904 gi/{_gobject => }/pygflags.h | 0
6905 gi/pygi-argument.c | 3 +-
6906 gi/pygi-boxed.c | 2 +-
6907 gi/pygi-ccallback.c | 2 +-
6908 gi/pygi-foreign.c | 2 +-
6909 gi/pygi-info.c | 2 +-
6910 gi/pygi-marshal-to-py.c | 3 +-
6911 gi/pygi-private.h | 2 +-
6912 gi/pygi-source.c | 3 +-
6913 gi/pygi-struct.c | 2 +-
6915 gi/{_gobject => }/pyginterface.c | 0
6916 gi/{_gobject => }/pyginterface.h | 0
6917 gi/{_gobject => }/pygobject-private.h | 5 ++-
6918 gi/{_gobject => }/pygobject.c | 0
6919 gi/{_gobject => }/pygobject.h | 0
6920 gi/{_gobject => }/pygparamspec.c | 0
6921 gi/{_gobject => }/pygparamspec.h | 2 +
6922 gi/{_gobject => }/pygpointer.c | 0
6923 gi/{_gobject => }/pygpointer.h | 0
6924 gi/{_gobject => }/pygtype.c | 0
6925 gi/{_gobject => }/pygtype.h | 0
6927 tests/Makefile.am | 2 +-
6928 39 files changed, 93 insertions(+), 148 deletions(-)
6930 commit a329f559002f2be0898309c9d81cdf2c34aef158
6931 Author: Simon Feltman <sfeltman@src.gnome.org>
6932 Date: Tue Jan 14 10:15:53 2014 -0800
6934 tests: Fix test_torture_profile to return a number from its callback
6936 Return a number from rather than None from the callback passed to
6937 regress_test_torture_signature_2. This fixes a TypeError being
6939 callback return argument marshaling which was ignored by the test
6942 tests/test_everything.py | 2 +-
6943 1 file changed, 1 insertion(+), 1 deletion(-)
6945 commit a50a8386aae54dace7e46569415fdef85758fb9c
6946 Author: Martin Pitt <martinpitt@gnome.org>
6947 Date: Tue Jan 14 08:53:25 2014 +0100
6949 Add test for callback user data arguments with following arguments
6951 In this case we can't use the varargs userdata handling. Provides
6953 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
6955 tests/test_everything.py | 48
6956 ++++++++++++++++++++++++++++++++++++++++++++++++
6957 1 file changed, 48 insertions(+)
6959 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
6960 Author: Simon Feltman <sfeltman@src.gnome.org>
6961 Date: Mon Jan 13 08:19:02 2014 -0800
6963 valgrind: Add suppression files for python3.3 and python3.3dm
6965 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
6966 suppression filename in the various make check.valgrind
6968 python.supp to python2.7.supp
6970 tests/Makefile.am | 6 +-
6971 tests/{python.supp => python2.7.supp} | 0
6972 tests/python3.3.supp | 471
6973 ++++++++++++++++++++++++++++++++++
6974 tests/python3.3dm.supp | 471
6975 ++++++++++++++++++++++++++++++++++
6976 4 files changed, 945 insertions(+), 3 deletions(-)
6978 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
6979 Author: Simon Feltman <sfeltman@src.gnome.org>
6980 Date: Mon Jan 13 18:53:55 2014 -0800
6982 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
6984 Make sure NEWS generation uses top_srcdir to allow "make release-news"
6986 work under a vpath build (directory outside the source tree).
6987 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
6989 where running "make dist" under a vpath build directory would
6993 Makefile.am | 6 +++---
6994 1 file changed, 3 insertions(+), 3 deletions(-)
6996 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
6997 Author: Simon Feltman <sfeltman@src.gnome.org>
6998 Date: Mon Jan 13 18:53:02 2014 -0800
7000 Update HACKING to include better release tagging instructions
7002 HACKING | 15 ++++++++-------
7003 1 file changed, 8 insertions(+), 7 deletions(-)
7005 commit c0a43d259c003c5d06db23debd0675b87e805b74
7006 Author: Simon Feltman <sfeltman@src.gnome.org>
7007 Date: Mon Jan 13 17:20:17 2014 -0800
7009 configure.ac: post release version bump to 3.11.5
7011 NEWS | 16 ++++++++++++++++
7013 2 files changed, 17 insertions(+), 1 deletion(-)
7015 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
7016 Author: Simon Feltman <sfeltman@src.gnome.org>
7017 Date: Mon Jan 13 16:51:41 2014 -0800
7019 Fix mid-argument list callback user data expecting a tuple
7021 Ensure user data arguments are always packed into a tuple during
7023 marshaling. This fixes cases where there is mid-argument user data
7025 not in the form of a variable length tuple.
7027 https://bugzilla.gnome.org/show_bug.cgi?id=722104
7029 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
7030 1 file changed, 15 insertions(+), 1 deletion(-)
7032 commit 415b240e3baab522f3bf9752995610f950ba609e
7033 Author: Simon Feltman <sfeltman@src.gnome.org>
7034 Date: Tue Oct 15 03:57:52 2013 -0700
7036 Remove special case GObject base class check when creating GI classes
7038 Replace explicit GObject.Object string name check when calculating the
7039 introspection class hierarchy with a more generalized technique. This
7041 any C based wrapper of a GType to "underride" an introspection class
7042 automatically. This currently only handles the case of GObject.Object,
7044 will be used for fundamentals and GParamSpec.
7046 https://bugzilla.gnome.org/show_bug.cgi?id=631901
7048 gi/module.py | 17 +++++++++++------
7049 1 file changed, 11 insertions(+), 6 deletions(-)
7051 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
7052 Author: Simon Feltman <sfeltman@src.gnome.org>
7053 Date: Tue Jan 7 09:16:54 2014 -0800
7055 overrides: Fix __repr__ for various Gdk structs
7057 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
7059 string reprentation that is valid Python given an expected
7061 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
7063 gi/overrides/Gdk.py | 10 +++++-----
7064 tests/test_atoms.py | 7 +++++--
7065 tests/test_overrides_gdk.py | 9 +++++++++
7066 3 files changed, 19 insertions(+), 7 deletions(-)
7068 commit f6a87935596a3b59c238a5572b288f34691b53d1
7069 Author: Simon Feltman <sfeltman@src.gnome.org>
7070 Date: Tue Jan 7 07:31:22 2014 -0800
7072 docs: Fix array length argument skipping with preceding out arguments
7074 Remove split_function_info_args and use a list of all arguments for
7075 generating skipped index lists. Determine argument skipping based
7077 full argument list in each in/inout and out/inout argument list
7079 This fixes a problem where out arguments preceding array length
7081 would still show array length arguments in the docstring. This was
7083 index mismatch when using split lists instead of list of all
7086 gi/docstring.py | 38 ++++++++++++--------------------------
7087 tests/test_docstring.py | 37 +++++++++++++++----------------------
7088 2 files changed, 27 insertions(+), 48 deletions(-)
7090 commit f114edc0a0afa64077a13459034afc4255b7a3f1
7091 Author: Simon Feltman <sfeltman@src.gnome.org>
7092 Date: Mon Jan 6 22:10:47 2014 -0800
7094 overrides: Remove GLib.Source.attach
7096 Remove GLib.Source.attach override now that tail end allow-none
7098 default to None when not specified.
7100 gi/overrides/GLib.py | 5 -----
7101 tests/test_glib.py | 7 +++++++
7102 2 files changed, 7 insertions(+), 5 deletions(-)
7104 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
7105 Author: Simon Feltman <sfeltman@src.gnome.org>
7106 Date: Mon Jan 6 21:42:09 2014 -0800
7108 overrides: Remove Gtk overrides with tail end allow-none keywords
7110 Remove overrides for Widget.render_icon, TextIter.begins_tag,
7112 toggles_tag, and TreeModel.filter_new. These overrides added an
7113 optional keyword=None for allow-none arguments. This is now implicitly
7114 accepted by the PyGObject machinery so the overrides can go away.
7116 gi/overrides/Gtk.py | 16 ----------------
7117 tests/test_overrides_gtk.py | 11 +++++++++++
7118 2 files changed, 11 insertions(+), 16 deletions(-)
7120 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
7121 Author: Simon Feltman <sfeltman@src.gnome.org>
7122 Date: Mon Jan 6 21:22:41 2014 -0800
7124 overrides: Remove Pango.Context.get_metrics
7126 Remove the override for Pango.Context and the get_metrics method. This
7128 be done now that tail end method arguments with "allow-none"
7130 defaulted to use None/NULL.
7132 gi/overrides/Pango.py | 9 ---------
7133 tests/test_overrides_pango.py | 12 ++++++++++++
7134 2 files changed, 12 insertions(+), 9 deletions(-)
7136 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
7137 Author: Simon Feltman <sfeltman@src.gnome.org>
7138 Date: Mon Jan 6 17:35:04 2014 -0800
7140 Add enum and flags member methods
7142 Add all methods from GIEnumInfo to both enums and flags classes.
7144 https://bugzilla.gnome.org/show_bug.cgi?id=693099
7147 tests/test_gi.py | 9 +++++++++
7148 2 files changed, 11 insertions(+)
7150 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
7151 Author: Patrick Welche <prlw1@cam.ac.uk>
7152 Date: Mon Jan 6 22:31:48 2014 +0000
7154 python.m4: g/c JD_PYTHON_CHECK_VERSION
7156 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
7157 is identical (made here).
7159 https://bugzilla.gnome.org/show_bug.cgi?id=721662
7161 configure.ac | 4 ++--
7162 m4/python.m4 | 23 ++---------------------
7163 2 files changed, 4 insertions(+), 23 deletions(-)
7165 commit aaaead18e2167c2becb309f1d9ae199222c0256b
7166 Author: Simon Feltman <sfeltman@src.gnome.org>
7167 Date: Sat Jan 4 16:31:56 2014 -0800
7169 Support union creation with PyGIStruct
7171 Add additional case for allowing the creation bare unions wrapped with
7172 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
7175 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
7176 tests/test_repository.py | 13 +++++++++++++
7177 2 files changed, 47 insertions(+), 5 deletions(-)
7179 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
7180 Author: Simon Feltman <sfeltman@src.gnome.org>
7181 Date: Sat Jan 4 16:07:44 2014 -0800
7183 Fix crash in error handling when creating struct with mismatched
7186 Error handling code was attempting to get the PyType of a pointer to a
7187 pointer. Use the correct amount of indirection so an exception is
7189 intended rather than a segfault.
7191 gi/pygi-info.c | 2 +-
7192 1 file changed, 1 insertion(+), 1 deletion(-)
7194 commit 07abf8343bbeac6f36d370ced654fa6506b22175
7195 Author: Simon Feltman <sfeltman@src.gnome.org>
7196 Date: Wed Jan 1 20:23:17 2014 -0800
7198 docs: Skip display of default constructor for disguised structs
7200 Structs which have zero length should now show a default constructor.
7201 Structs with a length should not show keyword arguments in the default
7204 https://bugzilla.gnome.org/show_bug.cgi?id=708060
7206 gi/docstring.py | 9 ++++++++-
7207 tests/test_docstring.py | 18 ++++++++++++++++--
7208 2 files changed, 24 insertions(+), 3 deletions(-)
7210 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
7211 Author: Simon Feltman <sfeltman@src.gnome.org>
7212 Date: Wed Jan 1 19:57:06 2014 -0800
7214 Cleanup disguised struct constructor error and add it to boxed
7216 Give a cleaner error message when an attempt is made to create
7218 struct which also gives a hint to look at the pydoc. Add similar
7220 disguised boxed/unions.
7222 https://bugzilla.gnome.org/show_bug.cgi?id=647249
7224 gi/pygi-boxed.c | 17 ++++++++++++++---
7225 gi/pygi-struct.c | 2 +-
7226 tests/test_everything.py | 1 -
7227 tests/test_glib.py | 4 ++++
7228 4 files changed, 19 insertions(+), 5 deletions(-)
7230 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
7231 Author: Simon Feltman <sfeltman@src.gnome.org>
7232 Date: Wed Jan 1 19:54:59 2014 -0800
7234 docs: List default constructor in doc strings
7236 Add default constructor to class docs strings as:
7237 Object(**properties)
7239 https://bugzilla.gnome.org/show_bug.cgi?id=708060
7241 gi/docstring.py | 10 ++++------
7242 1 file changed, 4 insertions(+), 6 deletions(-)
7244 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
7245 Author: Simon Feltman <sfeltman@src.gnome.org>
7246 Date: Wed Jan 1 17:34:32 2014 -0800
7248 docs: List constructors in object and struct doc strings
7250 Add type dispatching to gi.docstring documentation generator for
7252 of StructInfo and ObjectInfo. Add lazy doc string generation to
7253 Object and Struct meta classes by using a property for __doc__. This
7255 available constructors immediately in all GObject.Object and Struct
7261 Button(**properties)
7263 new_from_icon_name(icon_name:str, size:int)
7264 new_from_stock(stock_id:str)
7265 new_with_label(label:str)
7266 new_with_mnemonic(label:str)
7268 https://bugzilla.gnome.org/show_bug.cgi?id=708060
7270 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
7271 gi/types.py | 9 +++++++++
7272 tests/test_docstring.py | 8 ++++++++
7273 3 files changed, 46 insertions(+), 7 deletions(-)
7275 commit 44612636575dd93c97210a7255c4490e2c84db67
7276 Author: Simon Feltman <sfeltman@src.gnome.org>
7277 Date: Wed Jan 1 17:10:15 2014 -0800
7279 docs: Cleanup PyGIBaseInfo repr
7281 Remove angle brackets and pointer address from
7282 PyGIBaseInfo.__repr__. This
7283 cleans up documentation and makes it easier to read.
7285 gi/pygi-info.c | 5 ++---
7286 1 file changed, 2 insertions(+), 3 deletions(-)
7288 commit 826c0e63eabac68fd665335950d311988a1405e3
7289 Author: Simon Feltman <sfeltman@src.gnome.org>
7290 Date: Tue Dec 31 21:45:21 2013 -0800
7292 docs: Add return values and skip implicit out arguments in functions
7294 Add gi.CallableInfo.skip_return static binding for testing if
7296 value should show up in docs. Skip implicit list index arguments
7300 https://bugzilla.gnome.org/show_bug.cgi?id=697356
7302 gi/docstring.py | 26 +++++++++++++++++++++-----
7303 gi/pygi-info.c | 7 +++++++
7304 tests/test_docstring.py | 6 ++++++
7305 3 files changed, 34 insertions(+), 5 deletions(-)
7307 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
7308 Author: Simon Feltman <sfeltman@src.gnome.org>
7309 Date: Tue Dec 31 21:15:27 2013 -0800
7311 docs: Replace usage of functools.wraps with a custom version
7313 Using functools.wraps in overrides would cause docstring evaluation
7315 can hurt performance during overrides loading. Add custom wraps
7317 which only copies __name__ and __module__ attributes. Remove function
7318 wrapping used within gi.overrides.overridefunc because the wrapping
7320 doing anything, this preserves __doc__ ability without causing an
7324 https://bugzilla.gnome.org/show_bug.cgi?id=697356
7326 gi/overrides/GObject.py | 3 +--
7327 gi/overrides/__init__.py | 21 ++++++++++++---------
7328 2 files changed, 13 insertions(+), 11 deletions(-)
7330 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
7331 Author: Simon Feltman <sfeltman@src.gnome.org>
7332 Date: Tue Dec 31 19:42:02 2013 -0800
7334 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
7336 Move the C implementation of pytype hinting into pure Python. Now that
7337 doc strings are lazily evaluated we can simplify this tedious bit of C
7338 code with Python. This is precursory work for getting return
7340 function doc strings.
7342 https://bugzilla.gnome.org/show_bug.cgi?id=697356
7344 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
7345 gi/pygi-info.c | 49 ----------------------------------------
7347 ------------------------------------------------
7348 gi/pygi-type.h | 2 --
7349 tests/test_docstring.py | 8 ++++---
7350 tests/test_repository.py | 1 -
7351 6 files changed, 52 insertions(+), 116 deletions(-)
7353 commit 28a178e385e32c56910f1c430b370a8872218081
7354 Author: Simon Feltman <sfeltman@src.gnome.org>
7355 Date: Tue Dec 31 17:50:36 2013 -0800
7357 docs: Skip implicit array length args when building function doc
7360 https://bugzilla.gnome.org/show_bug.cgi?id=697356
7362 gi/docstring.py | 8 ++++++--
7363 tests/test_docstring.py | 4 ++++
7364 2 files changed, 10 insertions(+), 2 deletions(-)
7366 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
7367 Author: Simon Feltman <sfeltman@src.gnome.org>
7368 Date: Tue Dec 31 13:41:20 2013 -0800
7370 gtk-demo: Avoid crash in CSS demos
7372 Avoid a potential crash in the CSS demos where the text editing
7374 out of sync with the last good CSS parsing buffer. In the case of CSS
7375 warnings, we get a parsing-error callback but no exception is raised.
7376 This would cause the buffers to become out of sync and accessing
7378 information from the parsing-error section would crash the text
7380 to an out of range iterator being created.
7382 demos/gtk-demo/demos/Css/css_basics.py | 31
7383 +++++++++++++++++++++--------
7384 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
7385 +++++++++++++++++++++--------
7386 2 files changed, 46 insertions(+), 16 deletions(-)
7388 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
7389 Author: Simon Feltman <sfeltman@src.gnome.org>
7390 Date: Tue Dec 31 02:05:46 2013 -0800
7392 gtk-demo: Add info bar and better error handling to CSS demos
7394 Use an info bar for displaying CSS parsing errors. Store the last good
7395 stylesheet text for use as a backup when a parsing error occures. This
7397 a seamless look while typing changes into the text editor.
7399 https://bugzilla.gnome.org/show_bug.cgi?id=719722
7401 demos/gtk-demo/demos/Css/css_basics.py | 28
7402 +++++++++++++++++++++-------
7403 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
7404 ++++++++++++++++++++++-------
7405 2 files changed, 43 insertions(+), 14 deletions(-)
7407 commit becb56734e13df182fd31cfe46c465477dfc4d2c
7408 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
7409 Date: Mon Dec 30 16:36:28 2013 +0100
7411 gtk-demo: Add CSS demos
7413 Add a couple of demos demostrating the use of CSS, the css files are
7414 stored into a GResource binary file compiled with
7415 glib-compile-resources,
7416 the comments in gtk-demo.py explain the usage of GResource.
7418 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7420 https://bugzilla.gnome.org/show_bug.cgi?id=719722
7423 demos/gtk-demo/demos/Css/__init__.py | 0
7424 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
7425 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
7426 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
7427 ++++++++++++++++++++++++++
7428 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
7429 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
7430 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
7431 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
7432 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
7433 ++++++++++++++++++++++
7434 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
7435 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
7436 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
7437 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
7438 demos/gtk-demo/gtk-demo.py | 16 ++-
7439 15 files changed, 723 insertions(+), 1 deletion(-)
7441 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
7442 Author: Colin Watson <cjwatson@ubuntu.com>
7443 Date: Tue Dec 24 22:19:02 2013 +0000
7445 build: Avoid clash between gi/types.py and stdlib
7447 Use non-recursive make for the Python modules in gi/ to work around a
7448 clash between gi/types.py and the standard library's types module when
7451 https://bugzilla.gnome.org/show_bug.cgi?id=721025
7453 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7455 Makefile.am | 24 ++++++++++++++++++++++++
7456 gi/Makefile.am | 20 ++------------------
7457 2 files changed, 26 insertions(+), 18 deletions(-)
7459 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
7460 Author: Simon Feltman <sfeltman@src.gnome.org>
7461 Date: Mon Dec 16 04:17:28 2013 -0800
7463 configure.ac: post-release bump to 3.11.4
7466 1 file changed, 1 insertion(+), 1 deletion(-)
7468 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
7469 Author: Simon Feltman <sfeltman@src.gnome.org>
7470 Date: Mon Dec 16 04:10:54 2013 -0800
7475 1 file changed, 4 insertions(+)
7477 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
7478 Author: Simon Feltman <sfeltman@src.gnome.org>
7479 Date: Thu Dec 12 01:35:11 2013 -0800
7481 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
7483 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
7485 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
7486 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
7487 we can use the GIStructInfo API for boxed types because we also
7489 base classes on GType checks as seen in:
7490 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
7491 This fixes some of the issues noted in bug 581525.
7493 https://bugzilla.gnome.org/show_bug.cgi?id=581525
7495 gi/pygi-info.c | 13 +------------
7496 1 file changed, 1 insertion(+), 12 deletions(-)
7498 commit b3c85eec75c62c138c136531ebe49a33351941f0
7499 Author: Simon Feltman <sfeltman@src.gnome.org>
7500 Date: Sun Nov 17 20:12:50 2013 -0800
7502 configure.ac: post release version bump to 3.11.3
7505 1 file changed, 1 insertion(+), 1 deletion(-)
7507 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
7508 Author: Simon Feltman <sfeltman@src.gnome.org>
7509 Date: Sun Nov 17 20:04:49 2013 -0800
7514 1 file changed, 6 insertions(+)
7516 commit 6fc3d977f17397e514aed492055e93d03c410f60
7517 Author: Simon Feltman <sfeltman@src.gnome.org>
7518 Date: Tue Nov 12 23:04:50 2013 -0800
7520 gtk-demo: Fix pyflakes error after recent commit
7522 demos/gtk-demo/demos/pixbuf.py | 2 +-
7523 1 file changed, 1 insertion(+), 1 deletion(-)
7525 commit a309b3baf5ee99139cc2d1817339233e24391bc2
7526 Author: Simon Feltman <sfeltman@src.gnome.org>
7527 Date: Tue Nov 12 18:41:35 2013 -0800
7529 gkt-demo: Change main info/source notebook into a GtkStack
7531 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
7533 and Source tabs. Beyond giving a newer look and feel to the demo,
7535 provides an example for how to use a GtkStack.
7537 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
7538 1 file changed, 17 insertions(+), 6 deletions(-)
7540 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
7541 Author: Simon Feltman <sfeltman@src.gnome.org>
7542 Date: Tue Nov 12 19:32:18 2013 -0800
7544 gtk-demo: Cleanup deprecated calls throughout demo code
7546 Specify constructor arguments as keyword args for various object
7547 creation calls. Update combobox demo to use bind_property instead
7549 signal connections with update callbacks.
7551 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
7552 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
7553 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
7554 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
7555 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
7556 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
7557 demos/gtk-demo/demos/appwindow.py | 4 +--
7558 demos/gtk-demo/demos/combobox.py | 30
7559 +++-------------------
7560 demos/gtk-demo/demos/dialogs.py | 26
7562 demos/gtk-demo/demos/expander.py | 9 +++----
7563 demos/gtk-demo/demos/images.py | 2 +-
7564 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
7565 demos/gtk-demo/demos/links.py | 10 ++++----
7566 demos/gtk-demo/demos/menus.py | 4 +--
7567 demos/gtk-demo/demos/pickers.py | 8 +++---
7568 demos/gtk-demo/demos/pixbuf.py | 4 +--
7569 demos/gtk-demo/demos/rotatedtext.py | 2 +-
7570 17 files changed, 64 insertions(+), 90 deletions(-)
7572 commit 890fb7b97823985d5c800284ead43a49174db244
7573 Author: Simon Feltman <sfeltman@src.gnome.org>
7574 Date: Tue Nov 12 18:19:34 2013 -0800
7576 Revert TreeStore and ListStore initializer replacements
7578 Revert changes to Tree/ListStore where the __init__ overrides were
7580 with __new__ overrides which accept column types directly. The
7582 the change is sub-classes of these types can override __init__
7584 passing in their own column types to the super class. These
7586 expect the super class to handle column type setup via __init__
7588 the change described is an API break. This reverts parts of commit:
7589 2f2069c9efcd8f312ce9ffa572df371fbc08822d
7591 gi/overrides/Gtk.py | 10 ++++++----
7592 1 file changed, 6 insertions(+), 4 deletions(-)
7594 commit 795201873a3aae530598f5e16470b6a8d2d55c23
7595 Author: Simon Feltman <sfeltman@src.gnome.org>
7596 Date: Thu Aug 15 20:01:48 2013 -0700
7598 Deprecate Gdk.Cursor constructor dispatching
7600 Give deprecation warning for the overridden __new__ method on
7601 Gdk.Cursor when more than one argument is used. Recommend using
7602 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
7605 https://bugzilla.gnome.org/show_bug.cgi?id=705810
7607 gi/overrides/Gdk.py | 48
7608 ++++++++++++++++++++++++++-------------------
7609 tests/test_overrides_gdk.py | 17 ++++++++++++----
7610 2 files changed, 41 insertions(+), 24 deletions(-)
7612 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
7613 Author: Simon Feltman <sfeltman@src.gnome.org>
7614 Date: Thu Aug 15 19:23:18 2013 -0700
7616 Cleanup overzealous new and init implementations
7618 Remove PyGObject initializer code attempting to set properties on
7619 GObjects that have already been created. There were a number of
7620 overridden __new__ and __init__ methods that stripped away
7621 arguments before calling the base class to work around attempted
7622 property sets and argument count errors (fixing the symptom not
7624 Use Gtk.ListStore/TreeStore.new with __new__ override instead
7625 of __init__ with set_column_types.
7627 https://bugzilla.gnome.org/show_bug.cgi?id=705810
7629 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
7630 gi/_gobject/pygobject.c | 16 ++++++++++++++--
7631 gi/overrides/GObject.py | 3 ---
7632 gi/overrides/Gdk.py | 15 ---------------
7633 gi/overrides/Gtk.py | 11 ++++-------
7634 gi/overrides/Pango.py | 5 -----
7635 gi/pygi-boxed.c | 6 ------
7636 7 files changed, 32 insertions(+), 59 deletions(-)
7638 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
7639 Author: Simon Feltman <sfeltman@src.gnome.org>
7640 Date: Tue Aug 13 18:02:54 2013 -0700
7642 Add deprecation warnings and cleanup class initializer overrides
7644 Print deprecation warnings for calls to class initializers which
7645 don't explicitly specify keywords. Print deprecation warning
7646 for overrides that have renamed keywords (Gtk.Table.rows should
7647 be n_rows). Additionally deprecate non-standard defaults with
7648 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
7649 and VERTICAL in PyGI).
7650 Remove AboutDialog override because it doesn't do anything.
7652 https://bugzilla.gnome.org/show_bug.cgi?id=705810
7654 gi/overrides/Gio.py | 6 +-
7655 gi/overrides/Gtk.py | 367
7656 ++++++++++++++++++++++----------------------
7657 gi/overrides/__init__.py | 88 +++++++++++
7658 tests/test_gi.py | 75 +++++++++
7659 tests/test_overrides_gtk.py | 95 ++++++++----
7660 5 files changed, 411 insertions(+), 220 deletions(-)
7662 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
7663 Author: Simon Feltman <sfeltman@src.gnome.org>
7664 Date: Tue Aug 13 17:42:11 2013 -0700
7666 tests: Use explicit keywords args when calling initializers
7668 Replace all usage of GObject creation that relies on positional
7669 arguments from overrides. Positional initializer args will be
7670 deprecated, updating the tests as a first pass proves backwards
7671 and forwards compatibility of the deprecation.
7673 https://bugzilla.gnome.org/show_bug.cgi?id=705810
7675 tests/test_overrides_gtk.py | 107
7676 +++++++++++++++++++++++---------------------
7677 1 file changed, 55 insertions(+), 52 deletions(-)
7679 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
7680 Author: Simon Feltman <sfeltman@src.gnome.org>
7681 Date: Tue Nov 12 03:46:08 2013 -0800
7683 Revert "Add type checking to positional Gtk.Box and Gtk.Window
7686 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
7688 gi/overrides/Gtk.py | 7 -------
7689 tests/test_overrides_gtk.py | 18 ------------------
7690 tests/test_properties.py | 9 ---------
7691 3 files changed, 34 deletions(-)
7693 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
7694 Author: Simon Feltman <sfeltman@src.gnome.org>
7695 Date: Sun Nov 10 03:26:10 2013 -0800
7697 Fix dir method for static GParamSpec in Python 3
7699 Add a __dir__ method which lists GParamSpec attributes and remove
7701 getattr which made use of the deprecated __members__ technique for dir
7702 (removed in Python 3). This makes dir(pspec) work again in Python 3.
7704 gi/_gobject/pygparamspec.c | 218
7705 ++++++++++++++++++++++++---------------------
7706 tests/test_gi.py | 10 +++
7707 2 files changed, 126 insertions(+), 102 deletions(-)
7709 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
7710 Author: Martin Pitt <martinpitt@gnome.org>
7711 Date: Tue Nov 5 15:28:12 2013 +0100
7713 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
7715 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
7717 when trying to create a subclass of them through the GObject
7719 positional arguments by at least verifying that their type is
7721 you can do things like
7723 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
7725 which succeeds, but does not have the desired effect (it sets the
7727 property of the Gtk.Box superclass instead).
7729 https://bugzilla.gnome.org/show_bug.cgi?id=711487
7731 gi/overrides/Gtk.py | 7 +++++++
7732 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
7733 tests/test_properties.py | 9 +++++++++
7734 3 files changed, 34 insertions(+)
7736 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
7737 Author: Simon Feltman <sfeltman@src.gnome.org>
7738 Date: Mon Nov 4 03:29:57 2013 -0800
7740 Remove overzealous argument checking for callback userdata
7742 Remove check which ensures userdata is None if the callback is None.
7743 This check would need to become more complicated with recent
7745 PyGObject where userdata can be variable (would also need to check
7747 a tuple containing None). Instead of adding more complex checking,
7749 remove the checking as it is unnecessary to begin with.
7751 https://bugzilla.gnome.org/show_bug.cgi?id=711173
7753 gi/pygi-marshal-from-py.c | 7 -------
7754 tests/test_overrides_gtk.py | 11 +++++++----
7755 2 files changed, 7 insertions(+), 11 deletions(-)
7757 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
7758 Author: Martin Pitt <martinpitt@gnome.org>
7759 Date: Mon Oct 28 16:00:57 2013 +0100
7761 configure.ac: post-release bump to 3.11.2
7764 1 file changed, 1 insertion(+), 1 deletion(-)
7766 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
7767 Author: Martin Pitt <martinpitt@gnome.org>
7768 Date: Mon Oct 28 15:59:51 2013 +0100
7772 NEWS | 27 +++++++++++++++++++++++++++
7773 1 file changed, 27 insertions(+)
7775 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
7776 Author: Simon Feltman <sfeltman@src.gnome.org>
7777 Date: Sun Oct 27 22:09:27 2013 -0700
7779 Fix toggleref safety problems by always enabling the GIL
7781 Call PyEval_InitThreads for the base gi module import. This forces the
7782 Python internals create the GIL and always support threading with the
7783 various thread state enter/exit funcs. This is needed since we cannot
7784 predict which GI repositories might accept Python callbacks and run
7786 non-Python threads or trigger toggle ref notifications in a thread
7790 https://bugzilla.gnome.org/show_bug.cgi?id=709223
7792 gi/__init__.py | 2 --
7793 gi/gimodule.c | 18 +++++++-----------
7794 gi/overrides/GLib.py | 8 ++------
7795 3 files changed, 9 insertions(+), 19 deletions(-)
7797 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
7798 Author: Simon Feltman <sfeltman@src.gnome.org>
7799 Date: Sun Oct 27 16:02:13 2013 -0700
7801 Add consistent GLib.MainLoop SIGINT cleanup
7803 Remove auto cleanup of SIGINT source handling by returning True
7805 signal callback. This gives the __del__ method consistent cleanup
7807 regardless of whether or not a SIGINT occurred.
7809 https://bugzilla.gnome.org/show_bug.cgi?id=710978
7811 gi/overrides/GLib.py | 4 ++++
7812 1 file changed, 4 insertions(+)
7814 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
7815 Author: Simon Feltman <sfeltman@src.gnome.org>
7816 Date: Sun Oct 27 15:16:09 2013 -0700
7818 tests: Fix source testing to handle critical with non-existing sources
7820 Silence new critical coming from g_source_remove on non-existing
7822 This function still returns False, but we need to silence the new
7824 so the test suite doesn't fail. See bug 710724.
7826 https://bugzilla.gnome.org/show_bug.cgi?id=710978
7828 tests/test_source.py | 18 ++++++++++++------
7829 1 file changed, 12 insertions(+), 6 deletions(-)
7831 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
7832 Author: Simon Feltman <sfeltman@src.gnome.org>
7833 Date: Sun Jul 28 00:01:35 2013 -0700
7835 docs: Add a keyword value of None for allow-none annotations
7837 Update documentation generator for allow-none arguments and
7838 user_data arguments to show a keyword value of None.
7839 Add skip for GDestroyNotify closure arguments.
7841 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7843 gi/docstring.py | 20 +++++++++++++++++---
7844 tests/test_docstring.py | 10 ++++++++++
7845 2 files changed, 27 insertions(+), 3 deletions(-)
7847 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
7848 Author: Simon Feltman <sfeltman@src.gnome.org>
7849 Date: Sat Oct 19 19:03:12 2013 -0700
7851 Remove overrides for supporting pre-3.10 GObject signal functions
7853 Remove GObject override code for supporting pre-3.10 signal functions
7855 annotate the object argument as "gpointer". With PyGObject 3.11
7857 dependency on GObject 3.10, clear the special case overrides out.
7859 gi/overrides/GObject.py | 76
7860 ++++++-------------------------------------------
7861 1 file changed, 9 insertions(+), 67 deletions(-)
7863 commit 0c308de528c402f67808b13760ca30d55d4c99d7
7864 Author: Simon Feltman <sfeltman@src.gnome.org>
7865 Date: Fri Oct 18 17:15:06 2013 -0700
7867 Add threads_init back as a requirement for non-Python threaded repos
7869 Re-add a "threads_init" function to gi for explicit intialization
7871 threading support. This was marked as deprecated in the previous cycle
7872 because using Python threads already initializes everything.
7873 However, we still need an explicit initalization when using
7875 with non-Python threads which may interact with Python callbacks
7878 https://bugzilla.gnome.org/show_bug.cgi?id=710447
7880 gi/__init__.py | 2 ++
7881 gi/gimodule.c | 10 ++++++++++
7882 gi/overrides/GLib.py | 11 +++++++----
7883 3 files changed, 19 insertions(+), 4 deletions(-)
7885 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
7886 Author: Simon Feltman <sfeltman@src.gnome.org>
7887 Date: Mon Oct 14 20:38:13 2013 -0700
7889 Add dir method to GObject props accessor
7891 Remove special case __members__ attribute from the props accessor
7892 objects getattr method. This has been deprecated since Python 2.3 and
7893 removed in Python 3. Replace this with a __dir__ method making use
7895 old members list building code. Additionally fix error where the
7896 GObjectClass was being unref'd too many times when using
7898 causing a GLib critical.
7900 https://bugzilla.gnome.org/show_bug.cgi?id=705754
7902 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
7903 tests/test_gi.py | 14 ++++++++++++++
7904 2 files changed, 35 insertions(+), 8 deletions(-)
7906 commit 799989ada2f6b1d729f078f204445651c808a2c7
7907 Author: Simon Feltman <sfeltman@src.gnome.org>
7908 Date: Fri May 3 04:37:13 2013 -0700
7910 Remove PyGObjectWeakRef now that g_binding_unbind exists
7912 Remove the static code for managing GBinding weak references now
7914 has a method (unbind) for clearing out bindings.
7916 https://bugzilla.gnome.org/show_bug.cgi?id=699571
7918 gi/_gobject/pygobject.c | 59
7919 +------------------------------------------------
7920 gi/overrides/GObject.py | 19 ++++++++++++++++
7921 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
7922 3 files changed, 44 insertions(+), 75 deletions(-)
7924 commit fe217e0afbd63f05285e59628533f351896377d9
7925 Author: Simon Feltman <sfeltman@src.gnome.org>
7926 Date: Wed Oct 9 00:34:37 2013 -0700
7928 Fix GArray, GList, GSList, and GHashTable marshaling leaks
7930 Remove calling of cleanup code for transfer-everything modes by
7932 cleanup_data is set to NULL in from_py marshalers. Use array and hash
7933 table ref/unref functions for container transfer mode to ensure we
7935 valid container ref after invoke and during from_py cleanup of
7937 Rework restrictions with to_py marshaling cleanup so we always
7939 container for transfer-everything and transfer-container modes.
7941 https://bugzilla.gnome.org/show_bug.cgi?id=693402
7943 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
7944 gi/pygi-marshal-from-py.c | 77
7945 ++++++++++++++++++++++++++++++++++++++++-------
7946 2 files changed, 84 insertions(+), 47 deletions(-)
7948 commit 7407367f424595c2780a2d6a47d936ad0bd91735
7949 Author: Simon Feltman <sfeltman@src.gnome.org>
7950 Date: Mon Oct 7 14:11:39 2013 -0700
7952 Add cleanup_data argument used for Python to C marshaler cleanup
7954 Add a new output argument to all from_py marshalers which is used for
7955 keeping track of marshaling data that later needs cleanup. Previously
7957 marshalers would rely on the GIArgument->v_pointer as the means
7959 cleanup. However, this pointer would get clobbered in the case of
7960 bi-directional arguments (inout) and the memory lost.
7961 Use the new cleanup_data for storing temporarily wrapped C arrays
7963 don't need to re-calculate the length argument during cleanup.
7965 Additionally delay the from_py marshaling cleanup function until after
7966 _invoke_marshal_out_args is called. This gives inout arguments
7968 modify the pointer sufficient time to exist until they marshaled
7970 Python (gi_marshalling_tests_gvalue_inout).
7972 https://bugzilla.gnome.org/show_bug.cgi?id=693402
7974 gi/pygi-argument.c | 4 +-
7975 gi/pygi-cache.h | 3 +-
7976 gi/pygi-invoke-state-struct.h | 7 +-
7977 gi/pygi-invoke.c | 20 +++---
7978 gi/pygi-marshal-cleanup.c | 43 +++++-------
7979 gi/pygi-marshal-from-py.c | 160
7980 ++++++++++++++++++++++++++++--------------
7981 gi/pygi-marshal-from-py.h | 45 ++++++++----
7982 7 files changed, 177 insertions(+), 105 deletions(-)
7984 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
7985 Author: Simon Feltman <sfeltman@src.gnome.org>
7986 Date: Wed Aug 7 12:08:15 2013 -0700
7988 Add support for variable user data arguments
7990 Support a variable number of user data arguments for all callback
7991 connection function where the user data is the last explicit argument.
7992 This adds convience as well as consistency with the rest of PyGObject.
7993 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
7994 io_add_watch, and child_watch_add which manually implemented this
7997 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7999 gi/overrides/GLib.py | 75
8000 +++++++++++++++--------------------------------
8001 gi/pygi-cache.c | 14 +++++++++
8002 gi/pygi-cache.h | 3 ++
8003 gi/pygi-closure.c | 37 +++++++++++++++--------
8004 gi/pygi-invoke.c | 71
8005 +++++++++++++++++++++++++++++++-------------
8006 gi/pygi-marshal-from-py.c | 5 ++++
8007 tests/test_everything.py | 32 ++++++++++++++++++++
8008 tests/test_glib.py | 21 +++++++++++++
8009 tests/test_subprocess.py | 8 ++---
8010 9 files changed, 177 insertions(+), 89 deletions(-)
8012 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
8013 Author: Martin Pitt <martinpitt@gnome.org>
8014 Date: Mon Oct 14 12:57:04 2013 +0200
8016 Bump glib and g-i dependencies to latest stable.
8018 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
8022 Drop @unittest.skipUnless tags from tests which didn't work with
8026 configure.ac | 6 +++---
8027 tests/test_gi.py | 2 --
8028 3 files changed, 5 insertions(+), 6 deletions(-)
8030 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
8031 Author: Nuno Araujo <nuno.araujo@russo79.com>
8032 Date: Fri Oct 11 18:41:48 2013 +0200
8034 Fix TypeError when setting drag target_list to None
8036 When calling Widget.drag_dest_set_target_list(None) or
8037 Widget.drag_source_set_target_list(None)
8038 a "TypeError: 'NoneType' object is not iterable" is thrown.
8040 According to Gtk documentation [1] [2], this shouldn't be the case
8041 since client code should be
8042 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
8043 gtk_drag_source_set_target_list.
8045 We now check if the target_list is None and do not try to create a
8046 TargetList if it is the case.
8049 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
8051 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
8053 https://bugzilla.gnome.org/show_bug.cgi?id=709926
8055 gi/overrides/Gtk.py | 4 ++--
8056 tests/test_overrides_gtk.py | 2 ++
8057 2 files changed, 4 insertions(+), 2 deletions(-)
8059 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
8060 Author: Simon Feltman <sfeltman@src.gnome.org>
8061 Date: Tue Oct 1 17:09:39 2013 -0700
8063 Use qdata for wrapper retrieval in toggle reference notifications
8065 Replace usage of user data holding PyGObject wrappers in toggle ref
8066 notifications with GObject qdata retrieval. This fixes thread
8068 where a toggle notify may be called from another thread during
8070 wrappers dealloc. In this case the toggle notify is blocked because
8072 is held in dealloc, and when it continues, the user data would be
8074 invalid PyGObject wrapper. Using qdata solves this by ensuring
8076 retrieval is done within the safety of the GIL and may turn up
8079 https://bugzilla.gnome.org/show_bug.cgi?id=709223
8081 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
8082 1 file changed, 14 insertions(+), 7 deletions(-)
8084 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
8085 Author: Simon Feltman <sfeltman@src.gnome.org>
8086 Date: Thu Oct 10 16:10:16 2013 -0700
8088 Add expected failure to deal with fixes in gimarshallingtests.c
8090 Fix test_object_full_inout based on newer gimarshallingtests.c >
8092 Add expectedFailure to deal with previous versions of
8093 gimarshallingtests.c.
8095 https://bugzilla.gnome.org/show_bug.cgi?id=709796
8097 tests/test_gi.py | 6 +++++-
8098 1 file changed, 5 insertions(+), 1 deletion(-)
8100 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
8101 Author: Simon Feltman <sfeltman@src.gnome.org>
8102 Date: Mon Oct 7 01:17:08 2013 -0700
8104 Fix memory leaks for inout array arguments
8106 Add tracking for array allocations to from_py marashalers in the
8107 argument states extra data (arg_data). This is then used later
8109 marshaling cleanup to call the array cleanup function.
8111 https://bugzilla.gnome.org/show_bug.cgi?id=693402
8113 gi/pygi-invoke.c | 1 +
8114 gi/pygi-marshal-cleanup.c | 1 +
8115 gi/pygi-marshal-from-py.c | 13 +++++++++----
8116 3 files changed, 11 insertions(+), 4 deletions(-)
8118 commit 31263ac117027446c8e2fd1b56d7e348384aabef
8119 Author: Simon Feltman <sfeltman@src.gnome.org>
8120 Date: Sun Oct 6 21:54:15 2013 -0700
8122 Fix to Python marshaling leaks for arrays holding GVariants
8124 Add early check for array items holding pointers and simply assign the
8125 pointer to GIArgument.v_pointer prior giving it to the per-item
8127 This simplifies marshaling and fixes leaks regarding arrays of
8129 removing the unneeded g_variant_ref_sink (variants are always
8131 Conditionalize the use of g_variant_ref_sink based on transfer mode
8133 per-item marshaler. This fixes a reference leak where we are given
8135 of the variant (transfer full) but added a new ref anyway.
8137 https://bugzilla.gnome.org/show_bug.cgi?id=693402
8139 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
8140 1 file changed, 18 insertions(+), 16 deletions(-)
8142 commit c9580ce1156789221aa19b00c7aab404db5431b5
8143 Author: Simon Feltman <sfeltman@src.gnome.org>
8144 Date: Sun Oct 6 04:26:18 2013 -0700
8146 Cleanup per-item array marshaling code for flat arrays
8148 Add an early per-item check which tests if the item being marshaled
8150 pointer and simply copies the pointer into the array. This takes
8152 GdkAtom and GVariant special cases because these items are always
8155 Fix error condition cleanup code when an item fails marshaling in
8159 https://bugzilla.gnome.org/show_bug.cgi?id=693402
8161 gi/pygi-marshal-from-py.c | 87
8162 +++++++++++++++++++++--------------------------
8163 tests/test_gi.py | 32 +++++++++++++++++
8164 2 files changed, 71 insertions(+), 48 deletions(-)
8166 commit 4623caa71c54958ab821db27a9eff2790acb3975
8167 Author: Simon Feltman <sfeltman@src.gnome.org>
8168 Date: Sat Oct 5 17:00:54 2013 -0700
8170 Fix GValue array marshaling leaks and crash fallout
8172 * Decrement references for results of PySequence_GetItem. There were
8174 places we were not decrementing the Python reference, leaking
8176 * Add tracking of Python arguments with recursive marshaling
8178 allows arrays of GValues which have been coerced from Python types
8180 properly free'd (also fixes bug 703662).
8181 * Use g_variant_ref for variant arguments marked as transfer
8183 This fixes double free's caused by the decrementing of
8187 https://bugzilla.gnome.org/show_bug.cgi?id=693402
8189 gi/pygi-cache.h | 1 +
8190 gi/pygi-invoke.c | 1 +
8191 gi/pygi-marshal-cleanup.c | 50
8192 +++++++++++++++++++++++++++++++++++++++++------
8193 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
8194 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
8195 gi/pygi-marshal-to-py.c | 1 +
8196 6 files changed, 78 insertions(+), 9 deletions(-)
8198 commit 549f849ef8854352483657df3d7558688a4b0007
8199 Author: Simon Feltman <sfeltman@src.gnome.org>
8200 Date: Sat Sep 28 00:26:28 2013 -0700
8202 Refactor GLib.io_add_watch to make it more testable
8204 Break the argument munging code into a separate function which
8205 can be tested in isolation of adding an io watch.
8206 Add additional failing test which specifies all args as keywords
8207 which we eventually need to support for consistency with the
8210 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8212 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
8213 1 file changed, 18 insertions(+), 5 deletions(-)
8215 commit bc780ed17bc4cc62959c63c3f0142161a924679f
8216 Author: Simon Feltman <sfeltman@src.gnome.org>
8217 Date: Fri Sep 27 20:59:45 2013 -0700
8219 Refactor GLib.child_watch_add to make it more testable
8221 Break the argument munging code into a separate function which
8222 can be tested in isolation of adding a child watch. Update tests
8223 to reflect this. Add additional failing test which specify
8224 all args as keywords which we eventually need to support for
8225 consistency with the rest of PyGObject.
8227 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8229 gi/overrides/GLib.py | 25 +++++++++-----
8230 tests/test_subprocess.py | 88
8231 +++++++++++++++++++++---------------------------
8232 2 files changed, 56 insertions(+), 57 deletions(-)
8234 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
8235 Author: Simon Feltman <sfeltman@src.gnome.org>
8236 Date: Thu Sep 26 19:05:20 2013 -0700
8238 Don't pass None to callbacks when user data is not specified
8240 For APIs which support a callback and optional user data,
8241 don't pass the user data to the callback if it was not explicitly
8242 specified when the callback was connected.
8244 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8246 gi/pygi-closure.c | 17 ++++++++++++++---
8247 gi/pygi-marshal-from-py.c | 5 -----
8248 tests/test_everything.py | 7 ++-----
8249 3 files changed, 16 insertions(+), 13 deletions(-)
8251 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
8252 Author: Simon Feltman <sfeltman@src.gnome.org>
8253 Date: Fri Oct 4 17:27:47 2013 -0700
8255 Add missing methods on PyGIBaseInfo and sub-classes
8257 Expose all methods of GIBaseBase info and its sub-classes.
8259 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8261 gi/_glib/pyglib-python-compat.h | 1 +
8262 gi/pygi-info.c | 550
8263 +++++++++++++++++++++++++++++++++++++++-
8264 tests/test_repository.py | 134 ++++++++++
8265 3 files changed, 677 insertions(+), 8 deletions(-)
8267 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
8268 Author: Simon Feltman <sfeltman@src.gnome.org>
8269 Date: Fri Oct 4 13:46:36 2013 -0700
8271 Expose all GI enum and flags types
8273 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
8274 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
8276 GInfoType. These types are found in the gi._gi module exposed
8278 "GI" prefix and contain all of their values as class attributes. e.g.
8279 gi._gi.Transfer.EVERYTHING.
8281 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8283 gi/docstring.py | 10 ++--
8284 gi/pygi-info.c | 150
8285 ++++++++++++++++++++++++++++++++++++++++++++---
8286 tests/test_repository.py | 13 +++-
8287 3 files changed, 158 insertions(+), 15 deletions(-)
8289 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
8290 Author: Simon Feltman <sfeltman@src.gnome.org>
8291 Date: Fri Oct 4 13:42:34 2013 -0700
8293 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
8295 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
8297 cause a crash. Avoid this by adding _safe_base_info_get_name and
8299 throughout the bindings.
8300 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
8302 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8304 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
8305 1 file changed, 25 insertions(+), 10 deletions(-)
8307 commit c86b2fe8d01070f06c45fffd910d890afba1313a
8308 Author: Simon Feltman <sfeltman@src.gnome.org>
8309 Date: Fri Oct 4 13:41:08 2013 -0700
8311 Add GIBaseInfo.equal method
8313 Break PyGIBaseInfo rich compare into two methods: equal and
8315 Equal is a direct exposure of the GI method and richcompare makes
8317 this with additional support for Pyton "==" and "!=" operators.
8319 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8321 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
8322 tests/test_repository.py | 1 +
8323 2 files changed, 25 insertions(+), 8 deletions(-)
8325 commit e7b758badd0ab0b147117859f7871c39fb5399c1
8326 Author: Simon Feltman <sfeltman@src.gnome.org>
8327 Date: Fri Oct 4 13:36:11 2013 -0700
8329 Move info string retrieval into generic function
8331 Add get_info_string for sharing binding of simple string retrieval on
8334 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8336 gi/pygi-info.c | 15 +++++++++++++--
8337 1 file changed, 13 insertions(+), 2 deletions(-)
8339 commit d2aef364de778da966bc1cfffe184d649f9ebb21
8340 Author: Simon Feltman <sfeltman@src.gnome.org>
8341 Date: Tue Sep 24 06:26:17 2013 -0700
8343 Move child info retrieval into generic function
8345 Add a generic function for bindings which return a single child info.
8346 This trivializes binding methods like PyGIObjectInfo.get_parent and
8347 fixes leaks in PyGIObjectInfo.get_class_struct and
8348 PyGIVFuncInfo.get_invoker.
8350 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8353 +++++++++++++++++++++++---------------------------------
8354 1 file changed, 23 insertions(+), 33 deletions(-)
8356 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
8357 Author: Simon Feltman <sfeltman@src.gnome.org>
8358 Date: Tue Sep 24 02:52:22 2013 -0700
8360 Move info tuple retrieval into generic function
8362 Create new generic function for retrieving a tuple of child infos.
8363 This greatly simplifies all the bindings which return tuples from
8364 a common pattern of functions on GIBaseInfo based instances.
8366 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8368 gi/pygi-info.c | 469
8369 ++++++++-------------------------------------------------
8370 1 file changed, 59 insertions(+), 410 deletions(-)
8372 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
8373 Author: Simon Feltman <sfeltman@src.gnome.org>
8374 Date: Sun Oct 6 16:41:37 2013 -0700
8376 tests: Update check.valgrind with always-malloc and add logging
8379 Based on notes in https://wiki.gnome.org/Valgrind we need to use
8380 always-malloc for valgrind runs.
8381 Add check.valgrindlog and check.valgrindxml which output valgrind
8383 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
8385 can track commits and use diff tools on the logs.
8388 Makefile.am | 6 ++++++
8389 tests/Makefile.am | 10 +++++++++-
8390 3 files changed, 16 insertions(+), 1 deletion(-)
8392 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
8393 Author: Simon Feltman <sfeltman@src.gnome.org>
8394 Date: Fri Oct 4 20:43:02 2013 -0700
8396 Move existing repository tests into test_repository
8398 Move flags and enum double registration tests into test_repository.py.
8399 Remove duplicate ObjectInfo tests from test_gi.py.
8401 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8403 tests/test_gi.py | 38 --------------------------------------
8404 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
8405 2 files changed, 28 insertions(+), 38 deletions(-)
8407 commit 31840888c8948aab78041da93c329572f3aabb64
8408 Author: Simon Feltman <sfeltman@src.gnome.org>
8409 Date: Fri Oct 4 17:31:21 2013 -0700
8411 Add unittests for GIRepository
8413 Add basic unittests for the existing classes and methods exposed for
8414 the GIRepository module (gi._gi).
8416 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8418 tests/Makefile.am | 1 +
8419 tests/test_repository.py | 170
8420 +++++++++++++++++++++++++++++++++++++++++++++++
8421 2 files changed, 171 insertions(+)
8423 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
8424 Author: Simon Feltman <sfeltman@src.gnome.org>
8425 Date: Fri Oct 4 15:50:05 2013 -0700
8427 Derive SignalInfo info from CallableInfo
8429 Change Python class derivation of PyGISignalInfo to use
8431 the base class. This accurately reflects the GI class layout and
8433 the callable information for signals.
8435 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8437 gi/pygi-info.c | 7 ++++---
8438 1 file changed, 4 insertions(+), 3 deletions(-)
8440 commit b01daba04ff001b9e63d343938e879d339d9a98c
8441 Author: Simon Feltman <sfeltman@src.gnome.org>
8442 Date: Fri Oct 4 15:48:05 2013 -0700
8444 Use PYGLIB_PyLong_FromLong for GIDirection return
8446 https://bugzilla.gnome.org/show_bug.cgi?id=709008
8448 gi/pygi-info.c | 2 +-
8449 1 file changed, 1 insertion(+), 1 deletion(-)
8451 commit d644cbd0c0ad85142286754838db848c4eb1707f
8452 Author: Simon Feltman <sfeltman@src.gnome.org>
8453 Date: Thu Oct 3 19:25:34 2013 -0700
8455 Fix memory leak for caller allocated GValue out arguments
8457 Swizzle the order of type checks in _cleanup_caller_allocates so
8458 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
8460 important because G_TYPE_VALUE is a sub-type of boxed and so its
8462 cleanup code was never being called (g_value_unset).
8463 Additionally update check to use g_type_is_a instead of a compare
8465 the potential case of a G_TYPE_VALUE sub-type.
8467 https://bugzilla.gnome.org/show_bug.cgi?id=709397
8469 gi/pygi-marshal-cleanup.c | 11 ++++++-----
8470 1 file changed, 6 insertions(+), 5 deletions(-)
8472 commit 510789d52e9e2fd863d26613f3282364eb175601
8473 Author: Simon Feltman <sfeltman@src.gnome.org>
8474 Date: Sun Jul 28 14:44:51 2013 -0700
8476 Add support for default arguments annotated with allow-none
8478 Support default value of NULL for tail end arguments which are
8479 marked with allow-none.
8480 The implementation uses a place holder object for un-supplied
8482 which are annotated with allow-none. This is then used later during
8483 marshaling to supply NULL as the default.
8484 Additionally support an implicit default for callback user_data
8485 using the same technique.
8487 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8489 gi/gimodule.c | 6 +++
8490 gi/pygi-cache.c | 103
8491 ++++++++++++++++++++++++++++++----------------
8492 gi/pygi-cache.h | 8 ++++
8493 gi/pygi-invoke.c | 42 +++++++++++++------
8494 gi/pygi-marshal-from-py.c | 5 +++
8496 tests/test_everything.py | 16 +++++++
8497 tests/test_gi.py | 30 ++++++++++++++
8498 8 files changed, 162 insertions(+), 49 deletions(-)
8500 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
8501 Author: Simon Feltman <sfeltman@src.gnome.org>
8502 Date: Fri Aug 2 22:27:10 2013 -0700
8504 cache refactoring: Move arg cache field assignments into
8507 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8509 gi/pygi-cache.c | 23 +++++++++++------------
8510 1 file changed, 11 insertions(+), 12 deletions(-)
8512 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
8513 Author: Simon Feltman <sfeltman@src.gnome.org>
8514 Date: Fri Aug 2 20:27:02 2013 -0700
8516 cache refactoring: Cleanup array length argument marshaling
8518 Add shared function: _arg_cache_array_len_arg_setup for use
8519 with both to and from array marshaling setup. This function
8520 consolidates all of the edge cases regarding array length setup
8521 and removes the need for flagging arguments with
8522 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
8524 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8526 gi/pygi-cache.c | 145
8527 +++++++++++++++++++++++++++-----------------------------
8528 gi/pygi-cache.h | 5 --
8529 2 files changed, 71 insertions(+), 79 deletions(-)
8531 commit c9d8639401ae82977e960de44d80b94a501a2184
8532 Author: Simon Feltman <sfeltman@src.gnome.org>
8533 Date: Sat Aug 3 00:26:11 2013 -0700
8535 cache refactoring: Move variable declarations to blocks where they
8538 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8540 gi/pygi-cache.c | 25 ++++++++++++++-----------
8541 1 file changed, 14 insertions(+), 11 deletions(-)
8543 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
8544 Author: Simon Feltman <sfeltman@src.gnome.org>
8545 Date: Thu Aug 1 19:33:27 2013 -0700
8547 cache refactoring: Remove continue statements from
8548 _args_cache_generate
8550 Remove continue and goto statements from the large loop within
8551 _args_cache_generate. This simplifies the sharing of parts of
8552 the loop for future refactoring.
8554 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8556 gi/pygi-cache.c | 126
8557 +++++++++++++++++++++++++++-----------------------------
8558 1 file changed, 61 insertions(+), 65 deletions(-)
8560 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
8561 Author: Simon Feltman <sfeltman@src.gnome.org>
8562 Date: Wed Jul 31 18:10:05 2013 -0700
8564 cache refactoring: Use bit field for PyGIDirection instead of enum
8566 This supports cleaner logic when testing the direction of
8567 arguments due to the majority of these tests being along the
8568 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
8569 Which is replaced with: (direction & FROM_PYTHON)
8571 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8573 gi/pygi-cache.c | 64
8574 ++++++++++++++++++++++++++++-----------------------------
8575 gi/pygi-cache.h | 6 +++---
8576 2 files changed, 35 insertions(+), 35 deletions(-)
8578 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
8579 Author: Simon Feltman <sfeltman@src.gnome.org>
8580 Date: Sun Jul 28 20:45:05 2013 -0700
8582 cache refactoring: Remove special case marshaling for instance
8585 Remove duplicate code for marshaling struct and objects for
8586 instance arguments. Re-use individual cache marshalers for
8587 structs and objects with the instance argument. This required
8588 removal of passing GITypeInfo to the marshaler because it is
8589 not available for instance arguments. Instead always assume
8590 "is_pointer" for the instance argument by using the cache.
8592 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8594 gi/pygi-argument.c | 4 +--
8595 gi/pygi-cache.c | 16 ++++-----
8596 gi/pygi-marshal-from-py.c | 87
8597 +++--------------------------------------------
8598 gi/pygi-marshal-from-py.h | 16 ++-------
8599 4 files changed, 16 insertions(+), 107 deletions(-)
8601 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
8602 Author: Simon Feltman <sfeltman@src.gnome.org>
8603 Date: Sun Jul 28 16:44:01 2013 -0700
8605 cache refactoring: Use GPtrArray for callable arg cache
8607 Replace manual management of the C array holding individual
8608 argument caches with usage of GPtrArray. This provides storage
8609 of the array length along with item memory management.
8611 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8613 gi/pygi-cache.c | 62
8614 +++++++++++++++++++++++------------------------
8615 gi/pygi-cache.h | 16 +++++++++---
8616 gi/pygi-invoke.c | 16 ++++++------
8617 gi/pygi-marshal-cleanup.c | 8 +++---
8618 gi/pygi-marshal-from-py.c | 6 ++---
8619 gi/pygi-marshal-to-py.c | 6 ++---
8620 6 files changed, 62 insertions(+), 52 deletions(-)
8622 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
8623 Author: Simon Feltman <sfeltman@src.gnome.org>
8624 Date: Sun Jul 28 15:02:51 2013 -0700
8626 cache refactoring: Move PyGI direction code into new function
8628 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8630 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
8631 1 file changed, 21 insertions(+), 21 deletions(-)
8633 commit 83208bf495b152e93a28a231d445f43ea827d2eb
8634 Author: Simon Feltman <sfeltman@src.gnome.org>
8635 Date: Fri Aug 2 15:59:25 2013 -0700
8637 cache refactoring: Add comments to callable cache structure
8639 Add comments to count fields on _PyGICallableCache.
8641 https://bugzilla.gnome.org/show_bug.cgi?id=640812
8643 gi/pygi-cache.h | 13 ++++++++++++-
8644 1 file changed, 12 insertions(+), 1 deletion(-)
8646 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
8647 Author: Simon Feltman <sfeltman@src.gnome.org>
8648 Date: Wed Jul 24 01:14:29 2013 -0700
8650 Remove support for allowing PyObjects as void pointers
8652 Final removal of marshaling Python object addresses as
8653 void pointers. This ensures we can successfully pass
8654 integer values as the pointer without the Python object
8655 leaking or crashing due to invalid memory.
8657 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8659 gi/pygi-marshal-from-py.c | 20 ++++++--------------
8660 gi/pygi-marshal-to-py.c | 14 ++------------
8661 tests/test_signal.py | 5 +----
8662 3 files changed, 9 insertions(+), 30 deletions(-)
8664 commit 1469403ee2faa699430055384b338f0cd8e672d7
8665 Author: Simon Feltman <sfeltman@src.gnome.org>
8666 Date: Wed Sep 25 18:21:22 2013 -0700
8668 configure.ac: bump trunk to 3.11.1
8671 1 file changed, 1 insertion(+), 1 deletion(-)
8673 commit 8e774e61d62c82efa3d907c1201359121878b4b5
8674 Author: Simon Feltman <sfeltman@src.gnome.org>
8675 Date: Mon Sep 23 03:57:03 2013 -0700
8677 configure.ac: post-release bump to 3.10.1
8680 1 file changed, 1 insertion(+), 1 deletion(-)
8682 commit 95af6279a9affff5c816db2db53207ff0f19872d
8683 Author: Simon Feltman <sfeltman@src.gnome.org>
8684 Date: Mon Sep 23 03:17:19 2013 -0700
8689 configure.ac | 4 ++--
8690 2 files changed, 5 insertions(+), 2 deletions(-)
8692 commit c626be6317b610277c95461108573d1ae6f42b6d
8693 Author: Martin Pitt <martinpitt@gnome.org>
8694 Date: Mon Sep 23 12:06:11 2013 +0200
8696 Fix test_gi.TestProjectVersion.test_version_str()
8698 In this test case we only do a string comparison, not a proper
8700 component" numerical one. So relax the test to also work with 3.10.
8702 tests/test_gi.py | 2 +-
8703 1 file changed, 1 insertion(+), 1 deletion(-)
8705 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
8706 Author: Martin Pitt <martinpitt@gnome.org>
8707 Date: Mon Sep 16 10:12:33 2013 -0500
8712 1 file changed, 7 insertions(+)
8714 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
8715 Author: Simon Feltman <sfeltman@src.gnome.org>
8716 Date: Mon Sep 16 01:23:49 2013 -0700
8718 Update current maintainers list in README
8721 1 file changed, 2 insertions(+), 1 deletion(-)
8723 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
8724 Author: Simon Feltman <sfeltman@src.gnome.org>
8725 Date: Tue Sep 10 17:11:21 2013 -0700
8727 Fix union argument regression when marshaling from python
8729 Check for union members when marshaling boxed types from Python.
8730 This is a regression caused by stricter type checking added when
8731 merging code from pygi-argument.c.
8732 Re-add pyg_boxed_check to the same bit of code in addition to
8733 __gtype__ checking to avoid a double regression.
8735 https://bugzilla.gnome.org/show_bug.cgi?id=703873
8737 gi/pygi-marshal-from-py.c | 53
8738 ++++++++++++++++++++++++++---------------------
8739 1 file changed, 29 insertions(+), 24 deletions(-)
8741 commit 59a2964141e963d2961e55d4b84a777927b4f21b
8742 Author: Simon Feltman <sfeltman@src.gnome.org>
8743 Date: Wed Sep 11 05:05:33 2013 -0700
8745 Fix GLib.Source sub-classing with initializer args
8747 Add variable args and keyword args to the GLib.Source.__new__
8748 method to support sub-classes which want to implement __init__.
8750 https://bugzilla.gnome.org/show_bug.cgi?id=707904
8752 gi/overrides/GLib.py | 2 +-
8753 tests/test_source.py | 11 +++++++++++
8754 2 files changed, 12 insertions(+), 1 deletion(-)
8756 commit afa42ab95327da1de0cf86005974cd8ab0d46872
8757 Author: Vratislav Podzimek <vpodzime@redhat.com>
8758 Date: Wed Sep 4 14:17:31 2013 +0200
8760 Copy __doc__ when wrapping function
8762 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
8763 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8765 gi/overrides/__init__.py | 1 +
8766 1 file changed, 1 insertion(+)
8768 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
8769 Author: Martin Pitt <martinpitt@gnome.org>
8770 Date: Mon Sep 2 14:56:24 2013 +0200
8772 configure.ac: post-release bump to 3.9.92
8775 1 file changed, 1 insertion(+), 1 deletion(-)
8777 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
8778 Author: Martin Pitt <martinpitt@gnome.org>
8779 Date: Mon Sep 2 14:38:41 2013 +0200
8783 NEWS | 10 ++++++++++
8784 1 file changed, 10 insertions(+)
8786 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
8787 Author: Simon Feltman <sfeltman@src.gnome.org>
8788 Date: Mon Sep 2 04:19:35 2013 -0700
8790 Fix GObject signal methods to work with new annotations
8792 Add conditional support for signal methods annotated as gpointer
8793 or GObject.Object. This is needed to work with newer versions of
8794 glib which changed annotations to GObject.Object (bug #685387).
8796 https://bugzilla.gnome.org/show_bug.cgi?id=707280
8798 gi/overrides/GObject.py | 106
8799 ++++++++++++++++++++++++++++++------------------
8800 1 file changed, 66 insertions(+), 40 deletions(-)
8802 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
8803 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8804 Date: Thu Aug 15 14:41:40 2013 +0800
8806 Fix build on C89 Compilers
8808 Avoid a variable declaration at the middle of the block
8810 https://bugzilla.gnome.org/show_bug.cgi?id=707264
8812 gi/pygi-closure.c | 3 ++-
8813 1 file changed, 2 insertions(+), 1 deletion(-)
8815 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
8816 Author: Simon Feltman <sfeltman@src.gnome.org>
8817 Date: Sun Sep 1 20:44:26 2013 -0700
8819 Change boxed type checking in marshaling to use __gtype__ attribute
8821 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
8822 pyg_type_from_object. This has the effect of using the __gtype__
8823 attribute stashed on object class instead of the PyGBoxed
8824 internally held gtype. This fixes type descrepencies for objects
8825 marshaled into overridden signal class closures and passed back
8826 to functions taking an alias their type.
8828 https://bugzilla.gnome.org/show_bug.cgi?id=707140
8830 gi/pygi-marshal-from-py.c | 8 +++++++-
8831 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
8832 2 files changed, 41 insertions(+), 1 deletion(-)
8834 commit dab0c09f1996e124ca98334e5aea0852904b44b5
8835 Author: Simon Feltman <sfeltman@src.gnome.org>
8836 Date: Sun Sep 1 17:49:09 2013 -0700
8838 Use G_IS_VALUE for checking return values in closure marshaling
8840 Replace return_value argument NULL checks in GClosureMarshal
8841 implementations with G_IS_VALUE. This checks both NULL and
8842 validity of the value (!= G_TYPE_INVALID). This is needed
8843 because GLib can pass either NULL or an invalid value based
8844 on whether or not G_ENABLE_DEBUG is set.
8845 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
8847 https://bugzilla.gnome.org/show_bug.cgi?id=707170
8849 gi/_gobject/pygtype.c | 4 ++--
8850 gi/pygi-signal-closure.c | 2 +-
8851 2 files changed, 3 insertions(+), 3 deletions(-)
8853 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
8854 Author: Yanko Kaneti <yaneti@declera.com>
8855 Date: Wed Aug 21 08:53:07 2013 +0200
8857 Fix PEP-8 errors in propertyhelper.py
8859 https://bugzilla.gnome.org/show_bug.cgi?id=706319
8861 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8863 gi/_gobject/propertyhelper.py | 12 ++++++------
8864 1 file changed, 6 insertions(+), 6 deletions(-)
8866 commit 6fdd58404103596accb6ab04d4de33846d853c58
8867 Author: Martin Pitt <martinpitt@gnome.org>
8868 Date: Mon Aug 19 17:13:30 2013 +0200
8870 configure.ac: post-release bump to 3.9.91
8873 1 file changed, 1 insertion(+), 1 deletion(-)
8875 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
8876 Author: Martin Pitt <martinpitt@gnome.org>
8877 Date: Mon Aug 19 17:10:52 2013 +0200
8882 1 file changed, 9 insertions(+)
8884 commit a8d5da559ef088b05062681206758d2718946269
8885 Author: Martin Pitt <martinpitt@gnome.org>
8886 Date: Mon Aug 19 11:38:31 2013 +0200
8888 NEWS: retroactively fix last version number
8891 1 file changed, 1 insertion(+), 1 deletion(-)
8893 commit aba45eb2617c4b35168089bc9028f351732a617f
8894 Author: Benjamin Berg <benjamin@sipsolutions.net>
8895 Date: Tue Aug 6 00:41:52 2013 +0200
8897 Create GLib.Pid in the same way on python 2 and 3
8899 https://bugzilla.gnome.org/show_bug.cgi?id=705451
8901 gi/_glib/pygspawn.c | 8 --------
8902 1 file changed, 8 deletions(-)
8904 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
8905 Author: Benjamin Berg <benjamin@sipsolutions.net>
8906 Date: Mon Aug 5 17:04:15 2013 +0200
8908 Use PyLong_Type.tp_new for GLib.Pid
8910 For GLib.Pid the original implementation for __new__ needs to be used,
8911 as it is able to initialize the integer correctly.
8913 https://bugzilla.gnome.org/show_bug.cgi?id=705451
8915 gi/_glib/pygspawn.c | 1 +
8916 tests/test_subprocess.py | 1 +
8917 2 files changed, 2 insertions(+)
8919 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
8920 Author: Simon Feltman <sfeltman@src.gnome.org>
8921 Date: Mon Aug 5 14:40:38 2013 -0700
8923 Add accumulator and accu_data arguments to GObject.Signal decorator
8925 Update __init__, __call__, and copy methods to accept and pass
8926 accumulators and associated user data through them. Update
8927 accumulator unittests to use Signal decorators for testing accumulator
8928 pass throughs. Verified the __gsignals__ dictionary accepts None
8929 as valid values for accumulator and accu_data so specialization
8930 for these arguments is not necessary.
8932 https://bugzilla.gnome.org/show_bug.cgi?id=705533
8934 gi/_gobject/signalhelper.py | 17 ++++++++++-----
8935 tests/test_signal.py | 52
8936 ++++++++++++++++++++++++---------------------
8937 2 files changed, 40 insertions(+), 29 deletions(-)
8939 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
8940 Author: Simon Feltman <sfeltman@src.gnome.org>
8941 Date: Mon Aug 5 14:12:24 2013 -0700
8943 Pass return values through the GObject.Signal.emit wrapper
8945 Return the result of GObject.emit from the Signal decorators wrapping.
8946 Update unittest for decorated return type to use skipUnless for
8948 Add test for Signal decorator return type.
8950 https://bugzilla.gnome.org/show_bug.cgi?id=705530
8952 gi/_gobject/signalhelper.py | 2 +-
8953 tests/test_signal.py | 37 +++++++++++++++++++++----------------
8954 2 files changed, 22 insertions(+), 17 deletions(-)
8956 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
8957 Author: Simon Feltman <sfeltman@src.gnome.org>
8958 Date: Mon Jul 29 03:33:40 2013 -0700
8960 configure.ac: post-release bump to 3.9.90
8963 1 file changed, 1 insertion(+), 1 deletion(-)
8965 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
8966 Author: Simon Feltman <sfeltman@src.gnome.org>
8967 Date: Mon Jul 29 02:23:02 2013 -0700
8971 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
8973 2 files changed, 42 insertions(+), 1 deletion(-)
8975 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
8976 Author: Simon Feltman <sfeltman@src.gnome.org>
8977 Date: Mon Jul 29 01:21:19 2013 -0700
8979 Ensure exceptions set in closure out argument marshaling are printed
8981 Call PyErr_Print when an exception occurs after marshaling closure
8982 out arguments. These exceptions were being ignored and cleared out
8983 only to show up in debug builds of Python.
8985 https://bugzilla.gnome.org/show_bug.cgi?id=705064
8987 gi/pygi-closure.c | 8 ++++++++
8988 tests/test_generictreemodel.py | 17 +++++++++++------
8989 2 files changed, 19 insertions(+), 6 deletions(-)
8991 commit b5dcb1800839f747a052e487643c234668384677
8992 Author: Simon Feltman <sfeltman@src.gnome.org>
8993 Date: Sun Jul 28 23:00:26 2013 -0700
8995 Use Python error messages for marshaling integers from Python
8997 Use Pythons default error messages where possible.
8998 Change all explicitly raised ValueError to use OverflowError
8999 for out of range data.
9001 https://bugzilla.gnome.org/show_bug.cgi?id=705057
9003 gi/pygi-marshal-from-py.c | 76
9004 +++++++++++++++++------------------------------
9005 tests/test_everything.py | 52 ++++++++++++++++----------------
9006 tests/test_gi.py | 64 +++++++++++++++++++--------------------
9007 tests/test_gobject.py | 2 +-
9008 4 files changed, 86 insertions(+), 108 deletions(-)
9010 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
9011 Author: Simon Feltman <sfeltman@src.gnome.org>
9012 Date: Sat Jul 27 21:10:07 2013 -0700
9014 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
9016 gi/pygi-closure.c | 11 ++---------
9017 1 file changed, 2 insertions(+), 9 deletions(-)
9019 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
9020 Author: Simon Feltman <sfeltman@src.gnome.org>
9021 Date: Sat Jul 27 15:25:20 2013 -0700
9023 Cleanup invoke args and kwargs combiner code
9025 Change _py_args_combine_and_check_length use cleaner reference
9027 It no longer DECREFs input arguments and always returns a new value
9029 Use PyGICallableCache directly as an argument instead of passing
9033 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
9034 1 file changed, 17 insertions(+), 27 deletions(-)
9036 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
9037 Author: Simon Feltman <sfeltman@src.gnome.org>
9038 Date: Wed Jul 17 16:10:25 2013 -0700
9040 Replace Python VFunc descriptor directly with PyGIVFuncInfo
9042 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
9043 to be used directly as a callable descriptor. This piggy backs
9044 off the added support for functions and constructors in previous
9047 https://bugzilla.gnome.org/show_bug.cgi?id=704037
9049 gi/pygi-info.c | 25 +++++++++++++++++++++++--
9050 gi/types.py | 33 ++++-----------------------------
9051 2 files changed, 27 insertions(+), 31 deletions(-)
9053 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
9054 Author: Simon Feltman <sfeltman@src.gnome.org>
9055 Date: Tue Jul 16 16:00:14 2013 -0700
9057 Add callable and descriptor protocols to PyGICallableInfo
9059 Add tp_call (__call__) function to callable info objects.
9060 This allows for replacement of wrapped invoke methods directly
9061 with the already created callable info object. This has the
9062 additional side effect of making doc strings lazily bound
9063 (only generated when __doc__ is accessed).
9065 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
9066 a bound version of itself for methods and constructors.
9068 Update various internal type checks to reflect the changes.
9069 Update tests to reflect the new callable type being the same
9070 across Python 2 & 3.
9072 This patch gives roughly a %17 speedup for Gtk imports and
9073 an %11 speedup for GI method calls.
9075 https://bugzilla.gnome.org/show_bug.cgi?id=704037
9078 gi/overrides/__init__.py | 10 ++-
9079 gi/pygi-info.c | 179
9080 ++++++++++++++++++++++++++++++++++++++++++--
9082 gi/types.py | 35 +--------
9083 tests/test_docstring.py | 6 +-
9084 tests/test_gi.py | 32 +++-----
9085 tests/test_overrides_gtk.py | 4 +-
9086 8 files changed, 212 insertions(+), 72 deletions(-)
9088 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
9089 Author: Simon Feltman <sfeltman@src.gnome.org>
9090 Date: Fri Jul 26 19:33:32 2013 -0700
9092 Move "from Python" GObject out arg marshaler into specialized function
9094 Move hacks specific to out argument marshaling for vfuncs into a
9095 a specialized function. This allows standard function call marshaling
9096 to continue working correctly when there are no extra references
9097 holding the arguments "foo(SomeObject())". This is currently being
9098 masked because all GI functions are wrapped by additional layers
9099 of Python functions. When these layers are removed, it exposes
9100 bugs introduced by reference counting hacks intended for vfunc
9103 https://bugzilla.gnome.org/show_bug.cgi?id=704037
9105 gi/pygi-argument.c | 2 +-
9106 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
9107 gi/pygi-marshal-from-py.h | 3 +++
9108 3 files changed, 34 insertions(+), 8 deletions(-)
9110 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
9111 Author: Simon Feltman <sfeltman@src.gnome.org>
9112 Date: Fri Jul 26 17:34:01 2013 -0700
9114 Add underscore prefix and _cache_adapter suffix to marshaling
9117 Add underscores to all _pygi_marshal_* functions. We don't currently
9118 export symbols, but we might need to for C unittesting. This will
9119 ensure we don't have a "public API".
9120 Add _cache_adapter suffix to marshaling functions which are light
9121 weight wrappers intended only for cached marshalers.
9123 gi/pygi-argument.c | 40 +++++++++++-----------
9124 gi/pygi-cache.c | 10 +++---
9125 gi/pygi-marshal-from-py.c | 86
9126 +++++++++++++++++++++++------------------------
9127 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
9128 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
9129 gi/pygi-marshal-to-py.h | 34 +++++++++----------
9130 6 files changed, 131 insertions(+), 131 deletions(-)
9132 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
9133 Author: Simon Feltman <sfeltman@src.gnome.org>
9134 Date: Tue Jul 16 11:13:17 2013 -0700
9136 Add common attribute accessors to PyGIBaseInfo
9138 Add __name__, __module__, and __doc__ accessors to
9139 PyGIBaseInfo object. This is a precursory patch for setting
9140 up PyGICallableInfo as a directly callable object with lazy
9141 doc string evaluation.
9143 https://bugzilla.gnome.org/show_bug.cgi?id=704037
9145 gi/_glib/pyglib-python-compat.h | 5 +++
9147 +++++++++++++++++++++++++++++++++++++++--
9148 gi/types.py | 7 ++--
9149 3 files changed, 88 insertions(+), 7 deletions(-)
9151 commit ea194404843a16555f9a475cc973872a4428bfe1
9152 Author: Simon Feltman <sfeltman@src.gnome.org>
9153 Date: Sat Jul 13 23:10:31 2013 -0700
9155 Merge method and constructor setup
9157 Merge _setup_constructors into _setup_methods as they contain same
9158 basic logic. This removes an unnecessary call with additional
9159 filtering of GIObjectInfo.get_methods() which can be large for
9160 objects with many methods.
9162 https://bugzilla.gnome.org/show_bug.cgi?id=704037
9164 gi/types.py | 15 ++++-----------
9165 1 file changed, 4 insertions(+), 11 deletions(-)
9167 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
9168 Author: Simon Feltman <sfeltman@src.gnome.org>
9169 Date: Sat Jul 13 18:11:18 2013 -0700
9171 Remove redundant info.get_name calls
9173 Remove a number of redundant calls to GIBaseInfo.get_name. Info
9174 names are already cached on function objects so re-use them when
9175 possible. This gives a small load time improvement by removing over
9176 2000 calls when importing Gtk.
9178 https://bugzilla.gnome.org/show_bug.cgi?id=704037
9181 gi/types.py | 8 +++-----
9182 2 files changed, 3 insertions(+), 6 deletions(-)
9184 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
9185 Author: Simon Feltman <sfeltman@src.gnome.org>
9186 Date: Fri Jul 12 12:21:54 2013 -0700
9188 Move doc string generator into separate module
9190 Move the doc string generator for creating function signatures
9191 into "gi.docstring". This includes a new API for getting and
9192 setting the doc string creation functions:
9194 gi.docstring.get_doc_string_generator
9195 gi.docstring.set_doc_string_generator
9196 gi.docstring.generate_doc_string
9198 Beyond adding the ability for custom doc string generators,
9199 this API is a necessary step for adding lazy __doc__
9200 attribute access for optimization.
9202 https://bugzilla.gnome.org/show_bug.cgi?id=704037
9204 gi/Makefile.am | 3 +-
9205 gi/docstring.py | 106
9206 ++++++++++++++++++++++++++++++++++++++++++++++++
9207 gi/types.py | 55 ++-----------------------
9208 tests/Makefile.am | 1 +
9209 tests/test_docstring.py | 49 ++++++++++++++++++++++
9210 tests/test_gi.py | 30 --------------
9211 6 files changed, 161 insertions(+), 83 deletions(-)
9213 commit f86701b15ee04c717d9c6bf688101606165e4f83
9214 Author: Simon Feltman <sfeltman@src.gnome.org>
9215 Date: Wed Jul 24 19:36:28 2013 -0700
9217 tests: Change GHashTable<string,GValue> marshaling test to use GValue
9219 Add test to explicitly use a boxed GStrv GValue in addition to a
9220 Python list sub-class.
9222 https://bugzilla.gnome.org/show_bug.cgi?id=666636
9224 tests/test_everything.py | 21 +++++++++++++++------
9225 1 file changed, 15 insertions(+), 6 deletions(-)
9227 commit 6ea41b60691e1ba7e21374582d7aea072af71103
9228 Author: Simon Feltman <sfeltman@src.gnome.org>
9229 Date: Thu Jul 25 18:00:47 2013 -0700
9231 gtk-demo: Change demo to use Gtk.Application
9233 Replace deriving from Gtk.Window with deriving from Gtk.Application
9234 connected to a Gtk.ApplicationWindow instance.
9236 https://bugzilla.gnome.org/show_bug.cgi?id=698547
9238 demos/gtk-demo/demos/printing.py | 2 +-
9239 demos/gtk-demo/gtk-demo.py | 40
9240 ++++++++++++++++++++--------------------
9241 2 files changed, 21 insertions(+), 21 deletions(-)
9243 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
9244 Author: Simon Feltman <sfeltman@src.gnome.org>
9245 Date: Tue Jul 23 14:25:01 2013 -0700
9247 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
9249 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
9250 and rename to _pygi_marshal_to_py_basic_type.
9251 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
9254 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9256 gi/pygi-argument.c | 73 +-----------------------------
9257 gi/pygi-argument.h | 4 --
9258 gi/pygi-cache.c | 4 +-
9259 gi/pygi-marshal-to-py.c | 115
9260 +++++++++++++++++++++++++++++++++++++-----------
9261 gi/pygi-marshal-to-py.h | 27 +++---------
9262 5 files changed, 99 insertions(+), 124 deletions(-)
9264 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
9265 Author: Simon Feltman <sfeltman@src.gnome.org>
9266 Date: Tue Jul 23 13:06:33 2013 -0700
9268 Unify and clean up from Python marshalers for basic types
9270 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
9271 and filename marshalers.
9273 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9275 gi/pygi-cache.c | 101
9276 ++--------------------------------------------
9277 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
9278 gi/pygi-marshal-from-py.h | 30 --------------
9279 3 files changed, 28 insertions(+), 189 deletions(-)
9281 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
9282 Author: Simon Feltman <sfeltman@src.gnome.org>
9283 Date: Tue Jul 23 12:35:06 2013 -0700
9285 Unify from Python int64 and uint64 marshalers
9287 Replaced int64 and uint64 cached marshalers with usage of the
9288 unified basic type marshaler. Replace a large amount of int64
9289 exception formatting code with usage of %S for Python 3 and
9290 give a more vague message for Python 2.
9292 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9294 gi/pygi-cache.c | 36 +--------
9295 gi/pygi-marshal-from-py.c | 193
9296 ++++++++++------------------------------------
9297 gi/pygi-marshal-from-py.h | 10 ---
9298 3 files changed, 43 insertions(+), 196 deletions(-)
9300 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
9301 Author: Simon Feltman <sfeltman@src.gnome.org>
9302 Date: Tue Jul 23 11:03:14 2013 -0700
9304 Unify from Python int16 and int32 marshalers
9306 Add PyNumber_Check to unified basic type marshaler.
9307 Add bounds checking to unified int16 and int32 marshalers.
9308 Replaced int16 and int32 cached marshalers with usage of
9309 unified basic type marshaler.
9311 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9313 gi/pygi-cache.c | 69 +--------------
9314 gi/pygi-marshal-from-py.c | 218
9315 ++++++++++------------------------------------
9316 gi/pygi-marshal-from-py.h | 20 -----
9317 3 files changed, 48 insertions(+), 259 deletions(-)
9319 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
9320 Author: Simon Feltman <sfeltman@src.gnome.org>
9321 Date: Tue Jul 23 00:27:14 2013 -0700
9323 Unify from Python boolean, int8, and uint8 marshalers
9325 Replaced boolean, int8, and uint8 cached marshalers with usage of
9326 unified basic type marshaler. Add bounds checking to unified int8
9329 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9331 gi/pygi-cache.c | 48 +++------------
9332 gi/pygi-marshal-from-py.c | 146
9333 +++++++++++-----------------------------------
9334 gi/pygi-marshal-from-py.h | 20 ++-----
9335 3 files changed, 45 insertions(+), 169 deletions(-)
9337 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
9338 Author: Simon Feltman <sfeltman@src.gnome.org>
9339 Date: Mon Jul 22 23:24:13 2013 -0700
9341 Add support for PyBytes with int8 and uint8 from Python marshaler
9343 This additional type marshaling is necessary for unifying marhalers
9344 due to the same feature being available with cached argument
9347 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9349 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
9350 1 file changed, 14 insertions(+)
9352 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
9353 Author: Simon Feltman <sfeltman@src.gnome.org>
9354 Date: Mon Jul 22 23:23:29 2013 -0700
9356 Move from Python integer marshaling into separate function
9358 Add _pygi_marshal_from_py_long for marshaling Python objects
9359 that can convert to a PyLong type. This allows for better
9360 sharing of code amongst marshalers along with unifying
9361 them across Python 2.7 and 3.0.
9363 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9365 gi/pygi-argument.c | 3 +-
9366 gi/pygi-marshal-from-py.c | 159
9367 ++++++++++++++++++++++++----------------------
9368 2 files changed, 84 insertions(+), 78 deletions(-)
9370 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
9371 Author: Simon Feltman <sfeltman@src.gnome.org>
9372 Date: Mon Jul 22 22:19:26 2013 -0700
9374 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
9376 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
9377 and rename to: _pygi_marshal_from_py_basic_type
9379 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9381 gi/pygi-argument.c | 149
9382 +---------------------------------------------
9383 gi/pygi-marshal-from-py.c | 147
9384 +++++++++++++++++++++++++++++++++++++++++++++
9385 gi/pygi-marshal-from-py.h | 4 ++
9386 3 files changed, 152 insertions(+), 148 deletions(-)
9388 commit 9c9510eec782f242280af24e86adf3561e4fac72
9389 Author: Simon Feltman <sfeltman@src.gnome.org>
9390 Date: Fri Jul 19 23:37:35 2013 -0700
9392 Move basic type marshaling out of _pygi_argument_from_object
9394 Move the marshaling of Python objects to GI arguments for basic types
9395 into a new function: _pygi_argument_from_object_basic_type
9396 This is staging work needed before unifying basic type marshaling
9397 of arguments from Python to GI.
9399 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9401 gi/pygi-argument.c | 73
9402 ++++++++++++++++++++++++++++++++++--------------------
9403 1 file changed, 46 insertions(+), 27 deletions(-)
9405 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
9406 Author: Simon Feltman <sfeltman@src.gnome.org>
9407 Date: Fri Jul 19 20:16:10 2013 -0700
9409 Replace to Python cached marshalers with unified basic type marshaler
9411 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
9412 unifies functions, vfuncs, signals, and property marshaling for
9413 "basic types". Remove all the individual cached arg marshalers
9416 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9418 gi/pygi-argument.c | 104 +++++++++++------------------------
9419 gi/pygi-argument.h | 4 ++
9420 gi/pygi-cache.c | 114 +++++++-------------------------------
9421 gi/pygi-marshal-to-py.c | 142
9422 ++++--------------------------------------------
9423 gi/pygi-marshal-to-py.h | 48 ++--------------
9424 5 files changed, 73 insertions(+), 339 deletions(-)
9426 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
9427 Author: Simon Feltman <sfeltman@src.gnome.org>
9428 Date: Fri Jul 19 18:00:40 2013 -0700
9430 Move to Python basic type marshaling out of _pygi_argument_to_object
9432 Move the marshaling of GI arguments to Python objects for basic types
9433 into a new function. The required information for this marshaler
9434 is a GITypeTag and GITransfer. Argument marshaling matching these
9435 requirments are now found in: _pygi_argument_to_object_basic_type.
9436 The new marshaler can be used with a generic argument cache marshaler
9437 to unify all of the "basic type" marshaling.
9439 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9441 gi/pygi-argument.c | 86
9442 +++++++++++++++++++++++++++++++++++++++---------------
9443 1 file changed, 63 insertions(+), 23 deletions(-)
9445 commit dd43a1e19440dbe025451d2e4e07a6074086498d
9446 Author: Simon Feltman <sfeltman@src.gnome.org>
9447 Date: Sat Jul 6 14:16:36 2013 -0700
9449 Override GValue.set/get_boxed with static C marshaler
9451 Override boxed type get/set methods on GValue to use the static C
9452 GValue marshaler. This works around the inability of the introspection
9453 version of these methods to know what the held GValue type is.
9454 With this, all boxed types will now marshal properly with GValues as
9457 https://bugzilla.gnome.org/show_bug.cgi?id=688081
9459 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
9460 gi/overrides/GObject.py | 9 +++++++++
9461 2 files changed, 47 insertions(+)
9463 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
9464 Author: Simon Feltman <sfeltman@src.gnome.org>
9465 Date: Sat Jul 6 14:10:20 2013 -0700
9467 Refactor pyg_value_from_pyobject into two functions
9469 Break pyg_value_from_pyobject into two functions. One which keeps
9470 Python exceptions queued (pyg_value_from_pyobject_with_error) and
9471 one which clears them (pyg_value_from_pyobject). This allows for
9472 re-use for code which want to keep the errors around
9474 https://bugzilla.gnome.org/show_bug.cgi?id=688081
9476 gi/_gobject/gobjectmodule.c | 4 ++-
9477 gi/_gobject/pygobject-private.h | 1 +
9478 gi/_gobject/pygobject.h | 2 ++
9479 gi/_gobject/pygtype.c | 67
9480 ++++++++++++++++++++++++++++++++---------
9481 4 files changed, 59 insertions(+), 15 deletions(-)
9483 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
9484 Author: Simon Feltman <sfeltman@src.gnome.org>
9485 Date: Sat Jul 6 20:41:19 2013 -0700
9487 Fix indentation for pyg_value_from_pyobject
9489 https://bugzilla.gnome.org/show_bug.cgi?id=688081
9491 gi/_gobject/pygtype.c | 744
9492 +++++++++++++++++++++++++-------------------------
9493 1 file changed, 372 insertions(+), 372 deletions(-)
9495 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
9496 Author: Simon Feltman <sfeltman@src.gnome.org>
9497 Date: Sat Jul 6 13:32:39 2013 -0700
9499 Add deprecation warning for marshaling arbitrary objects as pointers
9501 Add deprecation warning for marshaling arbitrary objects to/from void
9502 pointers with the exception of integers, PyCapsules, and None.
9504 https://bugzilla.gnome.org/show_bug.cgi?id=688081
9506 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
9507 gi/pygi-marshal-to-py.c | 10 ++++++++--
9508 2 files changed, 24 insertions(+), 3 deletions(-)
9510 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
9511 Author: Simon Feltman <sfeltman@src.gnome.org>
9512 Date: Sat Jul 6 13:34:53 2013 -0700
9514 Move PyGIDeprecationWarning to C for shared Python/C usage
9516 https://bugzilla.gnome.org/show_bug.cgi?id=688081
9518 gi/__init__.py | 19 ++++---------------
9519 gi/gimodule.c | 18 ++++++++++++++++++
9521 3 files changed, 24 insertions(+), 15 deletions(-)
9523 commit 90427107af36ea3c624b36967ee181ed13b9828f
9524 Author: Simon Feltman <sfeltman@src.gnome.org>
9525 Date: Thu Jul 18 14:59:55 2013 -0700
9527 Replace usage of __import__ with importlib.import_module
9529 https://bugzilla.gnome.org/show_bug.cgi?id=682320
9531 gi/module.py | 8 ++++----
9532 1 file changed, 4 insertions(+), 4 deletions(-)
9534 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
9535 Author: Mike Gorse <mgorse@suse.com>
9536 Date: Wed Jul 10 16:44:23 2013 -0500
9538 Always unref the GiTypeInfo when generating an argument cache
9540 We were leaking a GiTypeInfo when handling child arguments.
9542 https://bugzilla.gnome.org/show_bug.cgi?id=703973
9544 gi/pygi-cache.c | 1 +
9545 1 file changed, 1 insertion(+)
9547 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
9548 Author: Mike Gorse <mgorse@suse.com>
9549 Date: Wed Jul 10 12:10:16 2013 -0500
9551 Unref interface info when fetching enums or flags
9553 When calling g_type_info_get_interface, the resulting interface should
9554 be dereferenced by calling g_base_info_unref.
9556 https://bugzilla.gnome.org/show_bug.cgi?id=703960
9558 gi/pygi-marshal-from-py.c | 8 +++++++-
9559 gi/pygi-marshal-to-py.c | 3 +++
9560 2 files changed, 10 insertions(+), 1 deletion(-)
9562 commit a93755ddba9a1761b627583d7b9be63783c2c063
9563 Author: Daniel Drake <dsd@laptop.org>
9564 Date: Tue Jul 9 13:03:36 2013 -0600
9566 Speed up MRO calculation
9568 Optimize gi.type.mro() with the following observations and tricks:
9570 1. Python prepares all the base classes before trying to calculate the
9571 MRO of the current one (it first needs to populate __bases__, for
9572 example). So we can assume that the base class MRO is already
9574 in __mro__ and this will have been previously calculated (by us,
9576 case of gi classes). This avoids repeating a lot of MRO-calculating
9578 and also avoids (re)calculating MROs for inheritance chains
9580 have any gi classes in them anyway.
9582 2. With that simplification in place, we can avoid recursion, which
9584 all that great in Python...
9586 3. ...except in the uncommon case of a Python2 old-style classes,
9588 __mro__ is not available. There doesn't seem to be any existing
9589 function to calculate or read MRO of old-style python classes,
9591 keep doing as before: calculate the C3 MRO of the old-style
9593 recursion. That behaviour is not really correct, and the
9595 not desirable, so we print a warning here.
9597 This makes the "hello world" Sugar app start up approximately
9601 https://bugzilla.gnome.org/show_bug.cgi?id=703829
9603 gi/types.py | 30 +++++++++++++++++++++++++++---
9604 tests/test_gi.py | 16 ++++++++++++----
9605 2 files changed, 39 insertions(+), 7 deletions(-)
9607 commit 7aca95781fc76f3e820e63325ccc07d128a60075
9608 Author: Daniel Drake <dsd@laptop.org>
9609 Date: Wed Jul 10 10:45:47 2013 -0600
9611 tests: Add tests for MRO override
9613 Add tests for the MRO override to prevent against unintended
9616 https://bugzilla.gnome.org/show_bug.cgi?id=703829
9618 tests/test_gi.py | 66
9619 ++++++++++++++++++++++++++++++++++++++++++--------------
9620 1 file changed, 50 insertions(+), 16 deletions(-)
9622 commit a15333a36e31b76ea6b80251553840269ec5deb1
9623 Author: Simon Feltman <sfeltman@src.gnome.org>
9624 Date: Sat Jul 6 13:34:13 2013 -0700
9626 Add GIL safety to pyobject_copy for copying boxed PyObjects
9628 https://bugzilla.gnome.org/show_bug.cgi?id=688081
9630 gi/_gobject/pygobject.c | 3 +++
9631 1 file changed, 3 insertions(+)
9633 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
9634 Author: Simon Feltman <sfeltman@src.gnome.org>
9635 Date: Sat Jul 6 09:48:35 2013 -0700
9637 testhelper: Fix import requirement for GObject
9639 Replace the importing of gi._gobject._gobject with
9640 gi.repository.GObject
9641 in tests/testhelpermodule.c
9643 The testhelper module was only importing the static bindings
9644 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
9645 This was causing some tests to fail when test_thread was the first
9646 test to run in the suite due to it registering new types based on
9649 https://bugzilla.gnome.org/show_bug.cgi?id=703647
9651 tests/testhelpermodule.c | 2 +-
9652 1 file changed, 1 insertion(+), 1 deletion(-)
9654 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
9655 Author: Simon Feltman <sfeltman@src.gnome.org>
9656 Date: Wed Jul 3 05:26:12 2013 -0700
9658 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
9660 Replace assertion for this case with a simple marshalling of the
9661 pointer value to a Python int. While not particularly useful
9662 this allows some callbacks in WebKit to function without causing
9665 https://bugzilla.gnome.org/show_bug.cgi?id=694233
9667 gi/pygi-argument.c | 4 ++--
9668 1 file changed, 2 insertions(+), 2 deletions(-)
9670 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
9671 Author: Cole Robinson <crobinso@redhat.com>
9672 Date: Sat Feb 16 17:26:43 2013 -0500
9674 GTK overrides: Make connect_signals handle tuple
9676 This is used for passing extra arguments to callbacks during
9677 signal emission in the form of:
9678 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
9680 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
9682 https://bugzilla.gnome.org/show_bug.cgi?id=693994
9684 gi/overrides/Gtk.py | 51 ++++++++----
9685 tests/test_overrides_gtk.py | 196
9686 +++++++++++++++++++++++++++++---------------
9687 2 files changed, 165 insertions(+), 82 deletions(-)
9689 commit 466567373289e6f141709f08efa80ba588d3d64a
9690 Author: Simon Feltman <sfeltman@src.gnome.org>
9691 Date: Tue Jul 2 18:06:01 2013 -0700
9693 Re-add support for passing GValue's by reference
9695 Fix special casing when marshaling from a Python held GValue
9696 to a GValue argument intended for a function call.
9697 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
9698 broke this by always making a copy of the GValue. This removed the
9699 ability to retrieve values with functions like
9700 gtk_style_context_get_style_property.
9702 https://bugzilla.gnome.org/show_bug.cgi?id=701058
9704 gi/pygi-argument.c | 2 +-
9705 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
9706 2 files changed, 16 insertions(+), 18 deletions(-)
9708 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
9709 Author: Simon Feltman <sfeltman@src.gnome.org>
9710 Date: Tue Jul 2 19:20:04 2013 -0700
9712 tests: Add test for pass-by-reference GValue
9714 https://bugzilla.gnome.org/show_bug.cgi?id=701058
9716 tests/test_gi.py | 7 +++++++
9717 1 file changed, 7 insertions(+)
9719 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
9720 Author: Simon Feltman <sfeltman@src.gnome.org>
9721 Date: Tue Jul 2 23:02:17 2013 -0700
9723 Clear return value of closures to zero when an exception occures
9725 For return types other than void, set the ffi closure return argument
9726 to 0 when a Python exception occures. This a good default in general
9727 but also has the side affect of fixing failing idle callbacks
9728 by causing them to be removed from main loops (after their stack
9731 https://bugzilla.gnome.org/show_bug.cgi?id=702552
9733 gi/pygi-closure.c | 14 ++++++++++++++
9734 tests/test_gi.py | 8 ++++++++
9735 2 files changed, 22 insertions(+)
9737 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
9738 Author: Martin Pitt <martinpitt@gnome.org>
9739 Date: Wed Jul 3 10:40:28 2013 +0200
9741 Don't use doctest syntax in docstrings for examples
9743 These are not actual doctests, so don't use the >>> syntax there. Just
9747 This fixes pyflakes 0.7 failures.
9749 https://bugzilla.gnome.org/show_bug.cgi?id=701009
9751 gi/_gobject/propertyhelper.py | 11 +++++------
9752 gi/overrides/GObject.py | 8 ++++----
9753 gi/overrides/Gtk.py | 2 +-
9754 3 files changed, 10 insertions(+), 11 deletions(-)
9756 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
9757 Author: Garrett Regier <garrettregier@gmail.com>
9758 Date: Tue Jul 2 06:07:15 2013 -0700
9760 Add support for properties of type GInterface
9762 Add support for G_TYPE_INTERFACE/GInterface to switch
9763 statement which handles G_TYPE_OBJECT based properties.
9765 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9767 https://bugzilla.gnome.org/show_bug.cgi?id=703456
9769 gi/_gobject/gobjectmodule.c | 1 +
9770 gi/_gobject/propertyhelper.py | 3 ++-
9771 tests/test_properties.py | 16 ++++++++++++++++
9772 3 files changed, 19 insertions(+), 1 deletion(-)
9774 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
9775 Author: Martin Pitt <martinpitt@gnome.org>
9776 Date: Fri Jun 21 07:27:48 2013 +0200
9778 pygtkcompat: Fix for missing methods on Windows
9780 Deal with non-existing Gtk.Clipboard.get() and
9781 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
9783 https://bugzilla.gnome.org/show_bug.cgi?id=702787
9785 pygtkcompat/pygtkcompat.py | 10 ++++++++--
9786 1 file changed, 8 insertions(+), 2 deletions(-)
9788 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
9789 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9790 Date: Fri Jun 21 12:32:33 2013 +0800
9792 gi/pygi-info.c: Avoid C99-style variable declaration
9794 https://bugzilla.gnome.org/show_bug.cgi?id=702786
9796 gi/pygi-info.c | 3 ++-
9797 1 file changed, 2 insertions(+), 1 deletion(-)
9799 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
9800 Author: Martin Pitt <martinpitt@gnome.org>
9801 Date: Wed May 29 11:20:35 2013 +0200
9803 GLib overrides: fix typo in deprecation message
9805 Spotted by Dmitrijs Ledkovs, thanks!
9807 gi/overrides/GLib.py | 2 +-
9808 1 file changed, 1 insertion(+), 1 deletion(-)
9810 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
9811 Author: Martin Pitt <martinpitt@gnome.org>
9812 Date: Tue May 28 17:57:20 2013 +0200
9814 configure.ac: post-release version bump to 3.9.3
9817 1 file changed, 1 insertion(+), 1 deletion(-)
9819 commit 10f703189ed6a7104252907d1b1a114f26d79559
9820 Author: Martin Pitt <martinpitt@gnome.org>
9821 Date: Tue May 28 17:56:07 2013 +0200
9825 NEWS | 15 +++++++++++++++
9826 1 file changed, 15 insertions(+)
9828 commit af8d048442b924c72a1d0ae868ee63ccf292759d
9829 Author: Martin Pitt <martinpitt@gnome.org>
9830 Date: Fri May 24 13:03:07 2013 +0200
9832 examples/option.py: Port to GI and Python 3
9834 examples/option.py | 38 +++++++++++++++++++-------------------
9835 1 file changed, 19 insertions(+), 19 deletions(-)
9837 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
9838 Author: Simon Feltman <sfeltman@src.gnome.org>
9839 Date: Sun May 12 18:58:06 2013 -0700
9841 Fix vfunc info search for classes with multiple inheritance
9843 Ensure the search for vfunc GI info continues recursively even if the
9844 current class being looked at does not contain GI info of type
9845 InterfaceInfo. This more exhaustive search is needed for setups with
9846 multiple sub-classes and multiple inheritance.
9848 https://bugzilla.gnome.org/show_bug.cgi?id=700092
9850 gi/types.py | 12 +++++++-----
9851 tests/test_gi.py | 1 -
9852 2 files changed, 7 insertions(+), 6 deletions(-)
9854 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
9855 Author: Simon Feltman <sfeltman@src.gnome.org>
9856 Date: Sun May 12 22:19:38 2013 -0700
9858 Fix closure argument conversion for enum and flag in args
9860 Replace incorrect cast and assignment of double with uint for flags
9863 gi/pygi-closure.c | 2 +-
9864 1 file changed, 1 insertion(+), 1 deletion(-)
9866 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
9867 Author: Simon Feltman <sfeltman@src.gnome.org>
9868 Date: Sat May 11 21:47:54 2013 -0700
9870 tests: Add tests for overriding vfunc implementations
9872 Add tests for overriding vfuncs for both single inheritance
9873 and multiple inheritance with an interface (currently failing).
9875 https://bugzilla.gnome.org/show_bug.cgi?id=700092
9877 tests/test_gi.py | 23 +++++++++++++++++++++++
9878 1 file changed, 23 insertions(+)
9880 commit c4e1112840004af264b4f2a052f333ea38f95cb6
9881 Author: Simon Feltman <sfeltman@src.gnome.org>
9882 Date: Sat May 11 20:28:22 2013 -0700
9884 Fix marshaling Python to FFI return value for enum and flags
9886 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
9888 assignment of arg.v_pointer to the ffi return arg.
9890 gi/pygi-closure.c | 1 +
9891 1 file changed, 1 insertion(+)
9893 commit a703217eaf4075e9720d4247351e1dfc4f553772
9894 Author: Simon Feltman <sfeltman@src.gnome.org>
9895 Date: Fri Apr 19 06:37:24 2013 -0700
9897 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
9899 Remove half implemented GC tracking from PyGIBaseInfo as it was not
9900 needed (the implemented was also missing usage of
9901 PyObject_GC_New/Track).
9902 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
9905 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
9906 for both PyGIStruct and PyGIBoxed as these types were not being
9907 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
9909 https://bugzilla.gnome.org/show_bug.cgi?id=677091
9911 gi/pygi-boxed.c | 4 ----
9912 gi/pygi-info.c | 20 +++++---------------
9913 gi/pygi-struct.c | 4 ----
9914 3 files changed, 5 insertions(+), 23 deletions(-)
9916 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
9917 Author: Simon Feltman <sfeltman@src.gnome.org>
9918 Date: Fri May 3 02:00:07 2013 -0700
9920 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
9922 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
9923 of Py_BEGIN_ALLOW_THREADS.
9925 https://bugzilla.gnome.org/show_bug.cgi?id=699440
9927 gi/_glib/pyglib.h | 4 ----
9928 gi/_glib/pygoptioncontext.c | 4 ++--
9929 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
9930 gi/gimodule.c | 4 ++--
9931 gi/pygi-invoke.c | 4 ++--
9932 5 files changed, 22 insertions(+), 27 deletions(-)
9934 commit c9e95663d05de98a9abd3d1479554b1f09753382
9935 Author: Simon Feltman <sfeltman@src.gnome.org>
9936 Date: Thu May 2 03:57:05 2013 -0700
9938 Remove and deprecate API for setting of thread blocking functions
9940 Remove pyglib_set_thread_block_funcs and deprecate
9941 pyg_set_thread_block_funcs.
9942 The thread block function APIs are no longer be neccessary because
9944 can use the Python C API directly when working with threads.
9946 https://bugzilla.gnome.org/show_bug.cgi?id=699440
9948 gi/_glib/pyglib.c | 41 -----------------------------------
9949 gi/_glib/pyglib.h | 9 ++++----
9950 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
9951 gi/_gobject/pygobject-private.h | 33 ----------------------------
9952 gi/_gobject/pygobject.h | 48
9953 ++++++++++++++++++++---------------------
9954 gi/gimodule.c | 15 +++++++------
9955 6 files changed, 46 insertions(+), 125 deletions(-)
9957 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
9958 Author: Martin Pitt <martinpitt@gnome.org>
9959 Date: Tue Apr 30 11:51:05 2013 -0700
9961 configure.ac: Post-release bump to 3.9.2
9964 1 file changed, 1 insertion(+), 1 deletion(-)
9966 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
9967 Author: Martin Pitt <martinpitt@gnome.org>
9968 Date: Tue Apr 30 11:49:03 2013 -0700
9972 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
9973 1 file changed, 49 insertions(+)
9975 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
9976 Author: Simon Feltman <sfeltman@src.gnome.org>
9977 Date: Sun Apr 28 19:59:35 2013 -0700
9979 gtk-demo: Wrap description strings at 80 characters
9981 Wrap trailing demo description strings so they are easier to read
9982 in a programming editor. The gtk-demo itself re-wraps this using
9983 textwrap and the Gtk.TextView dynamic wrapping.
9985 https://bugzilla.gnome.org/show_bug.cgi?id=698547
9987 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
9988 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
9989 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
9990 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
9991 demos/gtk-demo/demos/images.py | 6 ++++--
9992 demos/gtk-demo/demos/menus.py | 20
9993 ++++++++++++++++----
9994 demos/gtk-demo/demos/pickers.py | 4 ++--
9995 demos/gtk-demo/demos/pixbuf.py | 5 +++--
9996 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
9997 9 files changed, 43 insertions(+), 22 deletions(-)
9999 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
10000 Author: Simon Feltman <sfeltman@src.gnome.org>
10001 Date: Sat Apr 27 22:30:35 2013 -0700
10003 gtk-demo: Use textwrap to reformat description for Gtk.TextView
10005 https://bugzilla.gnome.org/show_bug.cgi?id=698547
10007 demos/gtk-demo/gtk-demo.py | 8 +++++++-
10008 1 file changed, 7 insertions(+), 1 deletion(-)
10010 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
10011 Author: Simon Feltman <sfeltman@src.gnome.org>
10012 Date: Sat Apr 27 21:58:28 2013 -0700
10014 gtk-demo: Use GtkSource.View for showing source code
10016 Replace manual syntax highlighting of Gtk.TextView with usage of
10017 GtkSource.View when available. Fall back to TextView with no
10018 hightlighting when GtkSource is not available.
10020 https://bugzilla.gnome.org/show_bug.cgi?id=698547
10022 demos/gtk-demo/gtk-demo.py | 170
10023 ++++++++++++---------------------------------
10024 1 file changed, 44 insertions(+), 126 deletions(-)
10026 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
10027 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
10028 Date: Sun Apr 28 01:40:34 2013 -0500
10030 Use correct class for GtkEditable's get_selection_bounds() function
10032 https://bugzilla.gnome.org/show_bug.cgi?id=699096
10034 gi/overrides/Gtk.py | 2 +-
10035 1 file changed, 1 insertion(+), 1 deletion(-)
10037 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
10038 Author: Simon Feltman <sfeltman@src.gnome.org>
10039 Date: Thu Apr 25 05:27:35 2013 -0700
10041 Test results of g_base_info_get_name for NULL
10043 Block against potential NULL result when generating type hint with
10044 _g_arg_get_pytype_hint.
10046 https://bugzilla.gnome.org/show_bug.cgi?id=698829
10048 gi/pygi-info.c | 12 ++++++++++--
10049 1 file changed, 10 insertions(+), 2 deletions(-)
10051 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
10052 Author: Jose Rostagno <joserostagno@vijona.com.ar>
10053 Date: Sun Apr 21 19:09:59 2013 -0300
10055 Remove g_type_init conditional call
10057 It's deprecated in the glib version we depend on.
10059 https://bugzilla.gnome.org/show_bug.cgi?id=698763
10061 gi/_gobject/gobjectmodule.c | 3 ---
10062 1 file changed, 3 deletions(-)
10064 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
10065 Author: Jose Rostagno <joserostagno@vijona.com.ar>
10066 Date: Sat Mar 30 20:59:44 2013 -0300
10068 Update deps versions also in README
10070 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
10073 https://bugzilla.gnome.org/show_bug.cgi?id=698763
10076 1 file changed, 2 insertions(+), 2 deletions(-)
10078 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
10079 Author: Jose Rostagno <joserostagno@vijona.com.ar>
10080 Date: Sat Mar 30 20:50:35 2013 -0300
10082 Drop compat code for old python version
10084 https://bugzilla.gnome.org/show_bug.cgi?id=698763
10086 gi/_glib/pyglib-python-compat.h | 12 ------------
10087 1 file changed, 12 deletions(-)
10089 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
10090 Author: Niklas Koep <niklas.koep@gmail.com>
10091 Date: Thu Apr 25 06:14:12 2013 +0200
10093 Remove duplicate call to _gi.Repository.require()
10095 repository.require() was called twice in IntrospectionModule's
10098 https://bugzilla.gnome.org/show_bug.cgi?id=698797
10101 1 file changed, 1 deletion(-)
10103 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
10104 Author: Johan Dahlin <johan@gnome.org>
10105 Date: Mon Oct 1 03:02:10 2012 -0700
10107 Add ObjectInfo.get_class_struct()
10109 https://bugzilla.gnome.org/show_bug.cgi?id=685218
10111 gi/pygi-info.c | 15 +++++++++++++++
10112 tests/test_gi.py | 4 ++++
10113 2 files changed, 19 insertions(+)
10115 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
10116 Author: Simon Feltman <sfeltman@src.gnome.org>
10117 Date: Mon Apr 22 03:43:23 2013 -0700
10119 Change interpretation of NULL pointer field from None to 0
10121 The usage of 0 is needed because these fields should generally
10122 be used to store integer indices or hashes, not necessarily
10123 pointers to actual data.
10125 https://bugzilla.gnome.org/show_bug.cgi?id=698366
10127 gi/pygi-argument.c | 11 +----------
10128 tests/test_everything.py | 5 +++--
10129 2 files changed, 4 insertions(+), 12 deletions(-)
10131 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
10132 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
10133 Date: Fri Mar 8 08:25:58 2013 +0330
10135 Do not build tests until needed
10137 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
10139 https://bugzilla.gnome.org/show_bug.cgi?id=698444
10141 tests/Makefile.am | 12 ++++++------
10142 1 file changed, 6 insertions(+), 6 deletions(-)
10144 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
10145 Author: Kai Willadsen <kai.willadsen@gmail.com>
10146 Date: Sun Apr 14 15:16:40 2013 +1000
10148 pygi-convert: Support toolbar styles
10150 https://bugzilla.gnome.org/show_bug.cgi?id=698477
10152 pygi-convert.sh | 1 +
10153 1 file changed, 1 insertion(+)
10155 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
10156 Author: Kai Willadsen <kai.willadsen@gmail.com>
10157 Date: Sun Apr 14 10:54:04 2013 +1000
10159 pygi-convert: Support new-style constructors for Gio.File
10161 https://bugzilla.gnome.org/show_bug.cgi?id=698477
10163 pygi-convert.sh | 2 ++
10164 1 file changed, 2 insertions(+)
10166 commit 1e8120992dc103ac817351be3c150e6cb25f719f
10167 Author: Kai Willadsen <kai.willadsen@gmail.com>
10168 Date: Sun Apr 14 10:22:55 2013 +1000
10170 pygi-convert: Add some support for recent manager constructs
10172 https://bugzilla.gnome.org/show_bug.cgi?id=698477
10174 pygi-convert.sh | 3 +++
10175 1 file changed, 3 insertions(+)
10177 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
10178 Author: Kai Willadsen <kai.willadsen@gmail.com>
10179 Date: Sun Apr 14 07:37:24 2013 +1000
10181 pygi-convert: Check for double quote in require statement
10183 https://bugzilla.gnome.org/show_bug.cgi?id=698477
10185 pygi-convert.sh | 1 +
10186 1 file changed, 1 insertion(+)
10188 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
10189 Author: Kai Willadsen <kai.willadsen@gmail.com>
10190 Date: Sun Apr 14 07:37:00 2013 +1000
10192 pygi-convert: Don't transform arbitrary keysym imports
10194 https://bugzilla.gnome.org/show_bug.cgi?id=698477
10196 pygi-convert.sh | 2 +-
10197 1 file changed, 1 insertion(+), 1 deletion(-)
10199 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
10200 Author: Simon Feltman <sfeltman@src.gnome.org>
10201 Date: Thu Apr 11 04:09:59 2013 -0700
10203 Remove Python keyword escapement in Repository.find_by_name
10205 Strip trailing underscore from module level items before
10206 calling g_irepository_find_by_name. This fixes a problem
10207 with GI module level items having the same name as a Python
10208 keyword raising an AttributeError during access (Pango.break_).
10210 https://bugzilla.gnome.org/show_bug.cgi?id=697363
10212 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
10213 gi/pygi-info.h | 2 ++
10214 gi/pygi-repository.c | 16 ++++++++++++++++
10215 tests/test_overrides_pango.py | 5 +++++
10216 4 files changed, 45 insertions(+), 10 deletions(-)
10218 commit c07404461b126206e369270b56e613f81369c70a
10219 Author: Daniel Drake <dsd@laptop.org>
10220 Date: Mon Mar 18 16:08:09 2013 -0600
10222 Optimize signal lookup in gi repository
10224 Now that we have GSignalQuery results available to us when connecting
10225 signals, we already know which GType implements the signal in
10228 Therefore there is no need to traverse the class parent hierarchy
10229 looking for this, which takes a considerable amount of CPU time.
10231 There is also no need to canonicalize the signal name; both before
10232 and after this patch, by the time we reach this point we have already
10233 successfully looked up the signal name as presented from Python.
10235 https://bugzilla.gnome.org/show_bug.cgi?id=696143
10237 gi/_gobject/pygobject.c | 5 ++--
10238 gi/pygi-signal-closure.c | 59
10239 +++++++++++++-----------------------------------
10240 gi/pygi-signal-closure.h | 1 +
10242 4 files changed, 23 insertions(+), 46 deletions(-)
10244 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
10245 Author: Daniel Drake <dsd@laptop.org>
10246 Date: Mon Mar 18 15:38:19 2013 -0600
10248 Optimize connection of Python-implemented signals
10250 Like properties, when working with signals we must detect if the
10251 signal is implemented in a Python class or if it originates from the
10252 gi repository, and act accordingly.
10254 Asking the gi repository if it can find a signal that is implemented
10255 in a Python class (it can't) takes a considerable amount of CPU time.
10257 Use g_signal_query() to find out which GType implements the signal.
10258 Then perform a simple test to see if this type is implemented at the
10259 Python level, allowing us to to skip the GI querying in this case.
10261 https://bugzilla.gnome.org/show_bug.cgi?id=696143
10263 gi/_gobject/pygobject.c | 19 +++++++++++++++----
10264 1 file changed, 15 insertions(+), 4 deletions(-)
10266 commit e91b35d72f93678a79623347dce271148d57046f
10267 Author: Daniel Drake <dsd@laptop.org>
10268 Date: Mon Mar 18 15:24:52 2013 -0600
10270 Consolidate signal connection code
10272 This code was repeated 4 times with very little variance;
10273 consolidate it and add simple tests to ensure basic coverage.
10275 https://bugzilla.gnome.org/show_bug.cgi?id=696143
10277 gi/_gobject/pygobject.c | 129
10278 +++++++++++++++--------------------------------
10279 tests/test_everything.py | 33 ++++++++++++
10280 2 files changed, 74 insertions(+), 88 deletions(-)
10282 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
10283 Author: Daniel Drake <dsd@laptop.org>
10284 Date: Mon Mar 18 15:11:16 2013 -0600
10286 Fix setting of struct property values
10288 "goto out" in this context means that an error occurred, but this
10289 particular instance was sitting in the "good" codepath.
10291 Fixes setting of struct property values.
10293 gi/pygi-property.c | 3 ++-
10294 1 file changed, 2 insertions(+), 1 deletion(-)
10296 commit 8981ea0422c6837d488311dafe8937593372e736
10297 Author: Daniel Drake <dsd@laptop.org>
10298 Date: Mon Mar 18 14:25:45 2013 -0600
10300 Optimize property get/set when using GObject.props
10302 Skip GI repository lookup for properties defined on Python
10303 defined GObject types.
10305 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
10307 https://bugzilla.gnome.org/show_bug.cgi?id=696143
10309 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
10310 1 file changed, 19 insertions(+), 18 deletions(-)
10312 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
10313 Author: Christoph Reiter <reiter.christoph@gmail.com>
10314 Date: Sat Apr 13 17:28:26 2013 +0200
10316 configure.ac: Fix PYTHON_SO with Python3.3
10318 https://bugzilla.gnome.org/show_bug.cgi?id=696646
10320 configure.ac | 5 ++++-
10321 1 file changed, 4 insertions(+), 1 deletion(-)
10323 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
10324 Author: Daniel Drake <dsd@laptop.org>
10325 Date: Mon Mar 18 14:13:37 2013 -0600
10327 Simplify registration of custom types
10329 Use custom quark data to track Python created GTypes.
10331 Remove previous mechanism to track registration of python-implemented
10332 GTypes as it was unused (no custom registration was ever tracked).
10334 Leave vtable pointer and set to NULL to avoid an ABI break.
10336 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
10338 https://bugzilla.gnome.org/show_bug.cgi?id=696143
10340 gi/_gobject/gobjectmodule.c | 11 +++++--
10341 gi/_gobject/pygobject-private.h | 8 ++---
10342 gi/_gobject/pygobject.c | 8 ++---
10343 gi/_gobject/pygobject.h | 9 +++---
10344 gi/_gobject/pygtype.c | 69
10345 +++--------------------------------------
10346 5 files changed, 22 insertions(+), 83 deletions(-)
10348 commit 50702a09344825e3a8aa54365d78de807f989d88
10349 Author: Christoph Reiter <reiter.christoph@gmail.com>
10350 Date: Sat Apr 13 16:04:17 2013 +0200
10352 pygi-convert.sh: Add GStreamer rules
10354 https://bugzilla.gnome.org/show_bug.cgi?id=697951
10356 pygi-convert.sh | 17 +++++++++++++++++
10357 1 file changed, 17 insertions(+)
10359 commit b289176e6b37cb2825bd555cea019b85b68d5c57
10360 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
10361 Date: Sun Mar 10 15:04:40 2013 +0200
10363 pygi-convert: Add rule for TreeModelFlags
10365 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
10367 pygi-convert.sh | 1 +
10368 1 file changed, 1 insertion(+)
10370 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
10371 Author: Simon Feltman <sfeltman@src.gnome.org>
10372 Date: Fri Mar 29 03:20:44 2013 -0700
10374 Unify interface struct to Python GI marshaling code
10376 Add pygi_marshal_to_py_interface_struct used for direct gi method
10377 call out args and vfunc in args.
10379 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10381 gi/pygi-argument.c | 72 ++++++-------------------------
10382 gi/pygi-marshal-to-py.c | 112
10383 +++++++++++++++++++++++++++++-------------------
10384 gi/pygi-marshal-to-py.h | 8 ++++
10385 3 files changed, 91 insertions(+), 101 deletions(-)
10387 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
10388 Author: Simon Feltman <sfeltman@src.gnome.org>
10389 Date: Thu Mar 28 22:41:51 2013 -0700
10391 Unify Python interface struct to GI marshaling code
10393 Add pygi_marshal_from_py_interface_struct used for direct gi method
10394 call in args and vfunc out args.
10396 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10398 gi/pygi-argument.c | 75 +++++++--------------
10399 gi/pygi-cache.c | 12 +---
10400 gi/pygi-marshal-from-py.c | 167
10401 +++++++++++++++++++++++++++++-----------------
10402 gi/pygi-marshal-from-py.h | 11 +++
10403 4 files changed, 141 insertions(+), 124 deletions(-)
10405 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
10406 Author: Simon Feltman <sfeltman@src.gnome.org>
10407 Date: Thu Mar 28 06:17:15 2013 -0700
10409 Unify Python float and double to GI marshaling code
10411 Change _pygi_argument_from_object to use the cachers marshalers
10412 (_pygi_marshal_from_py_float/double) directly instead of keeping a
10414 Refactor _pygi_marshal_from_py_float/double to use a common utility
10415 _pygi_py_arg_to_double for initial error checking and conversion.
10417 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10419 gi/pygi-argument.c | 26 ++++----------------------
10420 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
10421 2 files changed, 24 insertions(+), 44 deletions(-)
10423 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
10424 Author: Simon Feltman <sfeltman@src.gnome.org>
10425 Date: Thu Mar 28 05:29:08 2013 -0700
10427 Unify filename to Python GI marshaling code
10429 Change _pygi_argument_to_object to use the cachers marshaler
10430 (_pygi_marshal_to_py_filename) directly instead of keeping a
10433 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10435 gi/pygi-argument.c | 22 ++--------------------
10436 gi/pygi-marshal-to-py.c | 6 ++----
10437 2 files changed, 4 insertions(+), 24 deletions(-)
10439 commit 54aa043d96deb02589e13042a46917405ca53780
10440 Author: Simon Feltman <sfeltman@src.gnome.org>
10441 Date: Thu Mar 28 05:20:00 2013 -0700
10443 Unify utf8 to Python GI marshaling code
10445 Change _pygi_argument_to_object to use the cachers marshaler
10446 (_pygi_marshal_to_py_utf8) directly instead of keeping a
10449 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10451 gi/pygi-argument.c | 11 ++++-------
10452 gi/pygi-marshal-to-py.c | 4 +---
10453 2 files changed, 5 insertions(+), 10 deletions(-)
10455 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
10456 Author: Simon Feltman <sfeltman@src.gnome.org>
10457 Date: Thu Mar 28 05:10:45 2013 -0700
10459 Unify unichar to Python GI marshaling code
10461 Change _pygi_argument_to_object to use the cachers marshaler
10462 (_pygi_marshal_to_py_unichar) directly instead of keeping a
10465 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10467 gi/pygi-argument.c | 19 ++-----------------
10468 1 file changed, 2 insertions(+), 17 deletions(-)
10470 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
10471 Author: Simon Feltman <sfeltman@src.gnome.org>
10472 Date: Sat Feb 16 19:49:59 2013 -0800
10474 Unify Python unicode to filename GI marshaling code
10476 Change _pygi_argument_from_object to use the cachers marshaler
10477 (_pygi_marshal_from_py_filename) directly instead of keeping a
10480 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10482 gi/pygi-argument.c | 30 ++----------------------------
10483 1 file changed, 2 insertions(+), 28 deletions(-)
10485 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
10486 Author: Simon Feltman <sfeltman@src.gnome.org>
10487 Date: Sat Feb 16 19:32:54 2013 -0800
10489 Unify Python unicode to utf8 GI marshaling code
10491 Change _pygi_argument_from_object to use the cachers marshaler
10492 (_pygi_marshal_from_py_utf8) directly instead of keeping a
10495 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10497 gi/pygi-argument.c | 32 ++------------------------------
10498 1 file changed, 2 insertions(+), 30 deletions(-)
10500 commit e253c73335fccabc61e0329f8528a90f79858c67
10501 Author: Simon Feltman <sfeltman@src.gnome.org>
10502 Date: Sat Feb 16 19:16:43 2013 -0800
10504 Unify Python unicode to unichar GI marshaling code
10506 Change _pygi_argument_from_object to use the cachers marshaler
10507 (_pygi_marshal_from_py_unichar) directly instead of keeping a
10510 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10512 gi/pygi-argument.c | 34 ++--------------------------------
10513 gi/pygi-marshal-from-py.c | 9 +++++++++
10514 2 files changed, 11 insertions(+), 32 deletions(-)
10516 commit 216caf590b262fed40d10bb34d020089d1197160
10517 Author: Simon Feltman <sfeltman@src.gnome.org>
10518 Date: Thu Apr 4 15:57:12 2013 -0700
10520 Fix enum and flags marshaling type assumptions
10522 Replace assignments of GFlags and GEnum values to various GIArgument
10523 members with v_uint and v_int respectively.
10525 gi/pygi-argument.c | 6 +++---
10526 gi/pygi-property.c | 4 ++--
10527 2 files changed, 5 insertions(+), 5 deletions(-)
10529 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
10530 Author: Christoph Reiter <reiter.christoph@gmail.com>
10531 Date: Thu Apr 4 10:08:38 2013 +0200
10533 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
10535 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
10537 m4/python.m4 | 4 ++--
10538 1 file changed, 2 insertions(+), 2 deletions(-)
10540 commit f82f755a0f419539c223e4a74e33145726c6e69f
10541 Author: Christoph Reiter <reiter.christoph@gmail.com>
10542 Date: Thu Apr 4 09:05:48 2013 +0200
10544 Use distutils.sysconfig to retrieve the python include path.
10546 https://bugzilla.gnome.org/show_bug.cgi?id=696648
10548 m4/python.m4 | 8 ++------
10549 1 file changed, 2 insertions(+), 6 deletions(-)
10551 commit cf81dd66e6387bf27122a71176e91ca39beb6519
10552 Author: Martin Pitt <martinpitt@gnome.org>
10553 Date: Thu Apr 4 06:47:56 2013 +0200
10555 Use g_strdup() consistently
10557 https://bugzilla.gnome.org/show_bug.cgi?id=696650
10559 gi/pygi-marshal-from-py.c | 2 +-
10560 1 file changed, 1 insertion(+), 1 deletion(-)
10562 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
10563 Author: Christoph Reiter <reiter.christoph@gmail.com>
10564 Date: Tue Mar 26 16:03:59 2013 +0100
10566 Support PEP 3149 (ABI version tagged .so files)
10568 Add a ABI suffix to the shared library retrieved from
10569 distutils.sysconfig
10570 instead of hardcoding it. This should also make things more robust
10573 https://bugzilla.gnome.org/show_bug.cgi?id=696646
10575 configure.ac | 3 +++
10576 gi/Makefile.am | 14 +++++++-------
10577 gi/_glib/Makefile.am | 14 +++++++-------
10578 gi/_gobject/Makefile.am | 14 +++++++-------
10579 4 files changed, 24 insertions(+), 21 deletions(-)
10581 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
10582 Author: Simon Feltman <sfeltman@src.gnome.org>
10583 Date: Sun Mar 31 01:32:34 2013 -0700
10585 Fix stack corruption due to incorrect format for argument parser
10587 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
10588 of "l" meaning long (8 bytes) in combination with an output pointer
10589 of guint (4 bytes). Change to use gulong with a format of "k".
10591 https://bugzilla.gnome.org/show_bug.cgi?id=696892
10593 gi/_gobject/pygflags.c | 4 ++--
10594 1 file changed, 2 insertions(+), 2 deletions(-)
10596 commit 48e52210ece0e144b4c959e773ea542a912358e7
10597 Author: Simon Feltman <sfeltman@src.gnome.org>
10598 Date: Thu Mar 7 00:26:37 2013 -0800
10600 Deprecate GLib and GObject threads_init
10602 Remove a handful of Python threading related helper functions
10603 from pyglib and pygobject. The binding internals required
10604 GLib.threads_init to be called for PyGObject to work with
10605 Python threads. This was removed as it should not be a requirement.
10606 Using the Python threading module already initializes threading
10607 for us (PyEval_InitThreads).
10609 https://bugzilla.gnome.org/show_bug.cgi?id=686914
10611 gi/_glib/glibmodule.c | 16 --------
10612 gi/_glib/pyglib.c | 94
10613 ---------------------------------------------
10614 gi/_glib/pyglib.h | 28 +++++++-------
10615 gi/_gobject/gobjectmodule.c | 31 ++++-----------
10616 gi/overrides/GLib.py | 8 +++-
10617 gi/overrides/GObject.py | 2 +-
10618 6 files changed, 28 insertions(+), 151 deletions(-)
10620 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
10621 Author: Martin Pitt <martinpitt@gnome.org>
10622 Date: Mon Mar 25 09:03:51 2013 +0100
10624 Drop support for Python 2.6
10626 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
10628 this unblocks e. g. GNOME #682320.
10630 Drop usage of PyCObject_* (which has been superseded by PyCapsule
10632 and drop Python 2.6 specific workarounds.
10634 configure.ac | 2 +-
10635 gi/_glib/pyglib-python-compat.h | 20 ------------------
10636 gi/_gobject/pygobject.h | 6 ------
10638 m4/python.m4 | 2 +-
10639 tests/runtests.py | 45
10640 +----------------------------------------
10641 tests/test_gobject.py | 1 -
10642 tests/test_signal.py | 4 ----
10643 8 files changed, 3 insertions(+), 81 deletions(-)
10645 commit 56347953abb1e214817186581eaf2b2d8762cf97
10646 Author: Martin Pitt <martinpitt@gnome.org>
10647 Date: Wed Oct 24 16:43:25 2012 +0200
10649 Remove static PollFD bindings
10651 Use the GLib API through GI instead, and provide an override to keep a
10652 backwards compatible constructor syntax.
10654 https://bugzilla.gnome.org/show_bug.cgi?id=686795
10656 gi/_glib/Makefile.am | 2 --
10657 gi/_glib/glibmodule.c | 2 --
10658 gi/_glib/pygsource.c | 98
10659 ---------------------------------------------------
10660 gi/_glib/pygsource.h | 36 -------------------
10661 gi/overrides/GLib.py | 17 +++++++--
10662 5 files changed, 15 insertions(+), 140 deletions(-)
10664 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
10665 Author: Martin Pitt <martinpitt@gnome.org>
10666 Date: Mon Mar 25 08:44:24 2013 +0100
10668 Drop test skipping due to too old g-i
10670 We depend on gobject-introspection 1.35.9 now, which has all this API.
10672 tests/test_gi.py | 24 ------------------------
10673 tests/test_object_marshaling.py | 14 --------------
10674 2 files changed, 38 deletions(-)
10676 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
10677 Author: Martin Pitt <martinpitt@gnome.org>
10678 Date: Mon Mar 25 08:37:37 2013 +0100
10680 Bump glib and g-i dependencies
10682 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
10684 versions. This allows us to drop the conditional test suite skips
10686 static PollFD bindings.
10688 configure.ac | 6 +++---
10689 1 file changed, 3 insertions(+), 3 deletions(-)
10691 commit 252556d044322207429c0d0c269365f48e4d819a
10692 Author: Martin Pitt <martinpitt@gnome.org>
10693 Date: Mon Mar 25 08:43:53 2013 +0100
10695 configure.ac: post-release version bump to 3.9.1
10697 configure.ac | 4 ++--
10698 1 file changed, 2 insertions(+), 2 deletions(-)
10700 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
10701 Author: Martin Pitt <martinpitt@gnome.org>
10702 Date: Mon Mar 25 08:12:10 2013 +0100
10707 1 file changed, 4 insertions(+)
10709 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
10710 Author: Simon Feltman <sfeltman@src.gnome.org>
10711 Date: Wed Mar 20 23:45:01 2013 -0700
10713 tests: Fix incorrect assumption when testing pyglib version
10715 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
10716 value that can be used for a future proof unittest here.
10718 tests/test_glib.py | 4 ++--
10719 1 file changed, 2 insertions(+), 2 deletions(-)
10721 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
10722 Author: Martin Pitt <martinpitt@gnome.org>
10723 Date: Mon Mar 18 14:02:29 2013 +0100
10725 configure.ac: post-release bump to 3.8.0
10727 configure.ac | 4 ++--
10728 1 file changed, 2 insertions(+), 2 deletions(-)
10730 commit defbd63e95faafaa84230f160bc95dad0f55e37d
10731 Author: Martin Pitt <martinpitt@gnome.org>
10732 Date: Mon Mar 18 14:01:05 2013 +0100
10736 NEWS | 18 ++++++++++++++++++
10737 1 file changed, 18 insertions(+)
10739 commit a0844a896603c5c91bed24cf94106765f0ced74e
10740 Author: Simon Feltman <sfeltman@src.gnome.org>
10741 Date: Sun Mar 17 23:22:38 2013 -0700
10743 Fix stack smasher when marshaling enums as a vfunc return value
10745 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
10746 flag types. Default interfaces to marshal as a pointer.
10747 Add explicit cases for GType and Unichar out/return marshaling.
10748 Fix leaking of GIBaseInfo when marshaling interface as out arg.
10750 https://bugzilla.gnome.org/show_bug.cgi?id=637832
10752 gi/pygi-closure.c | 69
10753 ++++++++++++++++++++++++++++++++++++++++++++++---------
10754 tests/test_gi.py | 19 +++++++++++++++
10755 2 files changed, 77 insertions(+), 11 deletions(-)
10757 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
10758 Author: Simon Feltman <sfeltman@src.gnome.org>
10759 Date: Sun Mar 17 15:37:09 2013 -0700
10761 Change base class of PyGIDeprecationWarning based on minor version
10763 Use RuntimeWarning as the base class of PyGIDeprecationWarning
10764 for unstable (odd minor version) and use DeprecationWarning for
10765 stable (even minor version). This is so PyGObject deprecations
10766 behave the same as regular Python deprecations in stable releases.
10768 https://bugzilla.gnome.org/show_bug.cgi?id=696011
10770 gi/__init__.py | 14 +++++++++++---
10771 1 file changed, 11 insertions(+), 3 deletions(-)
10773 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
10774 Author: Alban Browaeys <prahal@yahoo.com>
10775 Date: Thu Feb 28 18:57:21 2013 +0100
10777 autogen.sh: Source gnome-autogen to fix out of source builddir
10779 https://bugzilla.gnome.org/show_bug.cgi?id=694889
10782 1 file changed, 1 insertion(+), 1 deletion(-)
10784 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
10785 Author: Martin Pitt <martinpitt@gnome.org>
10786 Date: Tue Mar 5 12:22:15 2013 +0100
10788 Add 3.7.91.1 NEWS entry
10790 Forgot to push this back then.
10793 1 file changed, 3 insertions(+)
10795 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
10796 Author: Simon Feltman <sfeltman@src.gnome.org>
10797 Date: Sun Mar 17 04:19:57 2013 -0700
10799 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
10801 Make get_geometry return a tuple of (x, y, width, height, depth)
10802 as it did in pygtk 2.
10803 Update pygtkcompat.enable_gtk() to default to version 3.0 because
10804 version 2.0 core dumps trying to use introspection with gtk 2.
10806 pygtkcompat/pygtkcompat.py | 8 +++++++-
10807 1 file changed, 7 insertions(+), 1 deletion(-)
10809 commit 38683f721c33cc35f0260868e58643fd35f04cbe
10810 Author: Simon Feltman <sfeltman@src.gnome.org>
10811 Date: Sun Mar 17 02:08:03 2013 -0700
10813 testhelpermodule: Fix build warning for PyGObject_Type redefinition
10815 Remove dynamic retrieval of PyGObject_Type as it is available
10816 in pygobject.h since commit 2656bc47 (causing this compile warning)
10818 tests/testhelpermodule.c | 14 +-------------
10819 1 file changed, 1 insertion(+), 13 deletions(-)
10821 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
10822 Author: Simon Feltman <sfeltman@src.gnome.org>
10823 Date: Sun Mar 17 01:51:33 2013 -0700
10825 pygtkcompat: Initialize hint to zero in set_geometry_hints
10827 pygtkcompat/pygtkcompat.py | 2 +-
10828 1 file changed, 1 insertion(+), 1 deletion(-)
10830 commit 471204953d6fc93b3d311afd133d40f7d75ec541
10831 Author: Simon Feltman <sfeltman@src.gnome.org>
10832 Date: Fri Mar 15 04:33:22 2013 -0700
10834 Remove incorrect bounds check with property helper flags
10836 Remove bounds check for flags as it is not necessary for the
10837 helper to make these kind of judgement calls in general.
10838 e.g. leave it to marshaling/internals to complain about potential
10839 problems. The flags were being bounds checked to a maximum
10840 value of 32 (the intention was most likely to limit it to 32 bits).
10842 gi/_gobject/propertyhelper.py | 3 ---
10843 tests/test_properties.py | 1 -
10844 2 files changed, 4 deletions(-)
10846 commit 2656bc47ca1219b329066da1c2c58018ae624866
10847 Author: Simon Feltman <sfeltman@src.gnome.org>
10848 Date: Thu Mar 7 18:07:17 2013 -0800
10850 Fix crash when setting property of type object to an incorrect type
10852 Add type check when marshaling an object from Python for GObject
10854 Add PyGObject_Type as part of the pygobject API to check for this.
10856 https://bugzilla.gnome.org/show_bug.cgi?id=695420
10858 gi/_gobject/gobjectmodule.c | 3 ++-
10859 gi/_gobject/pygobject.h | 2 ++
10860 gi/pygi-marshal-from-py.c | 8 ++++++++
10861 tests/test_object_marshaling.py | 4 ++++
10862 4 files changed, 16 insertions(+), 1 deletion(-)
10864 commit 44587f42224a44a480629223c8d78a426bc32a12
10865 Author: Simon Feltman <sfeltman@src.gnome.org>
10866 Date: Thu Mar 7 17:59:02 2013 -0800
10868 Remove skipping of object property tests
10870 These were showing up as unexpected successes now that bug 675726
10873 https://bugzilla.gnome.org/show_bug.cgi?id=695420
10875 tests/test_object_marshaling.py | 7 ++-----
10876 1 file changed, 2 insertions(+), 5 deletions(-)
10878 commit 10214ba2d96fd6d66eeea159219f585abff8632a
10879 Author: Simon Feltman <sfeltman@src.gnome.org>
10880 Date: Thu Mar 7 15:34:49 2013 -0800
10882 Give more informative error when setting property to incorrect type
10884 https://bugzilla.gnome.org/show_bug.cgi?id=695420
10886 gi/_gobject/pygobject.c | 10 ++++++++--
10887 1 file changed, 8 insertions(+), 2 deletions(-)
10889 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
10890 Author: Martin Pitt <martinpitt@gnome.org>
10891 Date: Tue Mar 5 12:04:55 2013 +0100
10893 Revert "Drop gi.overrides.overridefunc()"
10895 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
10897 like GEdit plugins use @overrides for functions as well, we must
10901 https://bugzilla.gnome.org/show_bug.cgi?id=695199
10903 gi/overrides/Gtk.py | 7 ++++---
10904 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
10905 2 files changed, 26 insertions(+), 5 deletions(-)
10907 commit 862de794bf01a66aa6d796c674bce375cad37ba7
10908 Author: Martin Pitt <martinpitt@gnome.org>
10909 Date: Mon Mar 4 17:33:51 2013 +0100
10911 configure.ac: Post-release bump to 3.7.92
10913 configure.ac | 2 +-
10914 1 file changed, 1 insertion(+), 1 deletion(-)
10916 commit bb12e652d661cf6ce931b44a89c11951894101bf
10917 Author: Martin Pitt <martinpitt@gnome.org>
10918 Date: Mon Mar 4 17:27:50 2013 +0100
10922 NEWS | 33 +++++++++++++++++++++++++++++++++
10923 1 file changed, 33 insertions(+)
10925 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
10926 Author: Martin Pitt <martinpitt@gnome.org>
10927 Date: Mon Mar 4 17:16:22 2013 +0100
10929 Dot not clobber original Gdk/Gtk functions with overrides
10931 https://bugzilla.gnome.org/show_bug.cgi?id=686835
10933 gi/overrides/Gdk.py | 3 ++-
10934 gi/overrides/Gtk.py | 3 ++-
10935 2 files changed, 4 insertions(+), 2 deletions(-)
10937 commit d50d16428edf42799489fe1befbc4ce56f0fa181
10938 Author: Martin Pitt <martinpitt@gnome.org>
10939 Date: Mon Mar 4 15:30:31 2013 +0100
10941 tests: Reorganize GError and GClosure tests
10943 Split TestGClosure.test_gclosure_in() into its three components.
10945 Merge the various TestGError* classes into one, to match the structure
10949 tests/test_gi.py | 59
10950 +++++++++++++++++++++++++-------------------------------
10951 1 file changed, 26 insertions(+), 33 deletions(-)
10953 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
10954 Author: Martin Pitt <martinpitt@gnome.org>
10955 Date: Mon Mar 4 15:16:25 2013 +0100
10957 Fix memory leaks in property setting/getting
10959 Do not leak GValues and string arrays, free them properly. As we
10961 the intermediate GValues, use g_value_dup_boxed() instead of
10962 g_value_get_boxed() when appropriate.
10964 Detected by test_gi.TestPropertiesObject.test_strv test case.
10966 gi/pygi-property.c | 21 ++++++++++++++++-----
10967 1 file changed, 16 insertions(+), 5 deletions(-)
10969 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
10970 Author: Martin Pitt <martinpitt@gnome.org>
10971 Date: Mon Mar 4 12:43:24 2013 +0100
10973 Fix memory leak in pyg_flags_get_value_nicks()
10975 Discovered by test_gi.TestKeywords.test_uppercase() test.
10977 gi/_gobject/pygflags.c | 7 +++++--
10978 1 file changed, 5 insertions(+), 2 deletions(-)
10980 commit 002a834dd993b82508a4fe262269befcf1a6d341
10981 Author: Martin Pitt <martinpitt@gnome.org>
10982 Date: Mon Mar 4 12:10:03 2013 +0100
10984 Fix memory leak in _pygi_argument_to_array()
10986 Free the originally allocated GArray data before setting it to
10990 Discovered by test_gi.TestStructure.test_boxed_struct_return test
10993 gi/pygi-argument.c | 1 +
10994 1 file changed, 1 insertion(+)
10996 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
10997 Author: Martin Pitt <martinpitt@gnome.org>
10998 Date: Mon Mar 4 10:19:34 2013 +0100
11000 Fix leaking inout C arrays
11002 g_*_info_invoke() changes the original state->in_args and state->args
11004 to the output values for (inout) arguments, thus losing the pointer
11006 originally allocated array. Remember that in state->args_data,
11008 free it in _pygi_marshal_cleanup_from_py_array().
11010 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
11012 gi/pygi-marshal-cleanup.c | 6 ++++++
11013 gi/pygi-marshal-from-py.c | 4 ++++
11014 2 files changed, 10 insertions(+)
11016 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
11017 Author: Martin Pitt <martinpitt@gnome.org>
11018 Date: Fri Mar 1 15:12:31 2013 +0100
11020 Fix leak in _PyGI_ERROR_PREFIX()
11022 Properly clean up our allocated py_error_prefix string.
11024 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
11026 gi/pygi-private.h | 1 +
11027 1 file changed, 1 insertion(+)
11029 commit b388c3e87ce86d26560337c88eb33d0a95647db8
11030 Author: Martin Pitt <martinpitt@gnome.org>
11031 Date: Fri Mar 1 15:01:06 2013 +0100
11033 Fix leaking of boxed array elements
11035 Commit 631d8ef879a copies struct array elements, but this needlessly
11037 and leaks the array element for boxed types. So only do it for
11040 This fixes the memory leak with
11041 test_gi.TestGValue.test_gvalue_flat_array_out.
11043 https://bugzilla.gnome.org/show_bug.cgi?id=693402
11045 gi/pygi-marshal-to-py.c | 3 ++-
11046 1 file changed, 2 insertions(+), 1 deletion(-)
11048 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
11049 Author: Martin Pitt <martinpitt@gnome.org>
11050 Date: Fri Mar 1 14:04:34 2013 +0100
11052 Drop gi.overrides.overridefunc()
11054 This just adds an unnecessary extra function call and is not really
11056 Drop it from the only remaining function which uses this
11057 (Gtk.main_quit) and
11058 drop overridefunc().
11060 https://bugzilla.gnome.org/show_bug.cgi?id=686835
11062 gi/overrides/Gtk.py | 7 +++----
11063 gi/overrides/__init__.py | 24 ++----------------------
11064 2 files changed, 5 insertions(+), 26 deletions(-)
11066 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
11067 Author: Martin Pitt <martinpitt@gnome.org>
11068 Date: Fri Mar 1 14:02:02 2013 +0100
11070 Add some tests for overridden Gdk/Gtk functions
11072 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
11074 have overrides for them.
11076 tests/test_overrides_gdk.py | 7 +++++++
11077 tests/test_overrides_gtk.py | 15 +++++++++++++++
11078 2 files changed, 22 insertions(+)
11080 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
11081 Author: Martin Pitt <martinpitt@gnome.org>
11082 Date: Fri Mar 1 11:10:01 2013 +0100
11084 Fix GLib.Source ref leak upon destruction
11086 In GLib.Source.__del__(), manually unref the source if we are a
11088 As we use a static binding to create it, the GI part won't unref it
11090 leading to finalize() method not being called and the GSource
11093 https://bugzilla.gnome.org/show_bug.cgi?id=510511
11095 gi/overrides/GLib.py | 4 ++++
11096 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
11097 2 files changed, 35 insertions(+)
11099 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
11100 Author: Martin Pitt <martinpitt@gnome.org>
11101 Date: Thu Feb 28 15:08:56 2013 +0100
11103 Add performance test for Gtk.ListStore.append
11105 We are going to optimize this in various ways, so let's measure it.
11107 tests/test_overrides_gtk.py | 14 ++++++++++++++
11108 1 file changed, 14 insertions(+)
11110 commit b1ff74b085bdca72c272f019be4dd387073a991a
11111 Author: Simon Feltman <sfeltman@src.gnome.org>
11112 Date: Thu Feb 28 04:32:30 2013 -0800
11114 Optimize GValue.get/set_value by setting GValue.g_type to a local
11116 This increases performance by a factor of 2x for types later
11119 https://bugzilla.gnome.org/show_bug.cgi?id=694857
11121 gi/overrides/GObject.py | 98
11122 +++++++++++++++++++++++++------------------------
11123 1 file changed, 51 insertions(+), 47 deletions(-)
11125 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
11126 Author: Martin Pitt <martinpitt@gnome.org>
11127 Date: Thu Feb 28 11:43:47 2013 +0100
11129 Fix leak of caller-allocated boxed values
11131 Add a new "allocated_slice" argument to _pygi_boxed_new() which
11133 whether its "boxed" pointer was allocated using a slice (by giving
11135 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
11139 Use this in _pygi_marshal_to_py_interface_struct() for
11140 caller-allocated boxed
11141 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
11143 which would otherwise leak.
11145 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
11147 https://bugzilla.gnome.org/show_bug.cgi?id=691501
11149 gi/gimodule.c | 2 +-
11150 gi/pygi-argument.c | 2 +-
11151 gi/pygi-boxed.c | 14 ++++++++++----
11152 gi/pygi-boxed.h | 3 ++-
11153 gi/pygi-marshal-to-py.c | 6 ++++--
11154 gi/pygi-source.c | 3 ++-
11155 6 files changed, 20 insertions(+), 10 deletions(-)
11157 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
11158 Author: Martin Pitt <martinpitt@gnome.org>
11159 Date: Thu Feb 28 10:48:18 2013 +0100
11161 Fix memory handling of caller-allocated boxed types
11163 _pygi_marshal_to_py_interface_struct() and other places treat
11165 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
11166 _caller_alloc() and _cleanup_caller_allocates() to consider
11168 subtypes as well and use the slice allocator instead of malloc()'ing
11170 This avoids trying to free an malloc'ed struct with g_slice_free()
11172 cleans up the boxed values.
11174 The leak was produced with:
11176 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
11177 --leak-check=full --show-possibly-lost=no \
11178 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
11179 (s,e) = b.get_bounds()'
11181 gi/pygi-invoke.c | 2 +-
11182 gi/pygi-marshal-cleanup.c | 2 +-
11183 2 files changed, 2 insertions(+), 2 deletions(-)
11185 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
11186 Author: Martin Pitt <martinpitt@gnome.org>
11187 Date: Wed Feb 27 23:21:34 2013 +0100
11189 Fix cleanup of GValue arrays
11191 Commit bc1fd8 introduced a thinko: We must not change
11192 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
11194 change, and instead put the hack into
11195 _pygi_marshal_cleanup_from_py_array(),
11196 which now short-circuits
11197 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
11198 trying to release a slice which has never been allocated in
11199 _pygi_marshal_from_py_array().
11201 https://bugzilla.gnome.org/show_bug.cgi?id=672224
11203 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
11204 gi/pygi-marshal-from-py.c | 10 +++-------
11205 2 files changed, 13 insertions(+), 8 deletions(-)
11207 commit 70118c3840b10e1585d066a4be485c097cd23e99
11208 Author: Martin Pitt <martinpitt@gnome.org>
11209 Date: Wed Feb 27 21:52:43 2013 +0100
11211 Revert "Mark caller-allocated boxed structures as having a slice
11214 This is wrong after all, as it sets slice_allocated to TRUE, but
11216 corresponding size. Also, poking in internal fields from that place
11218 this should rather be fixed in gi/pygi-marshal-cleanup.c
11219 _cleanup_caller_allocates().
11221 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
11223 gi/pygi-marshal-to-py.c | 4 +---
11224 1 file changed, 1 insertion(+), 3 deletions(-)
11226 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
11227 Author: Martin Pitt <martinpitt@gnome.org>
11228 Date: Wed Feb 27 21:51:30 2013 +0100
11230 Run tests with G_SLICE=debug_blocks
11232 This will help finding regressions in slice management, like in
11233 https://bugzilla.gnome.org/show_bug.cgi?id=691501
11235 tests/Makefile.am | 3 ++-
11236 1 file changed, 2 insertions(+), 1 deletion(-)
11238 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
11239 Author: Martin Pitt <martinpitt@gnome.org>
11240 Date: Wed Feb 27 18:30:23 2013 +0100
11242 Add override helper for stripping boolean returns
11244 Introduce a gi.overrides.strip_boolean_result() helper which checks
11246 return value and if True, return the remaining arguments, otherwise
11248 default. This pattern is being used by a lot of overrides, which get
11249 significantly smaller and more consistent that way.
11251 https://bugzilla.gnome.org/show_bug.cgi?id=694431
11253 gi/overrides/Gdk.py | 27 +-------
11254 gi/overrides/Gtk.py | 156
11255 +++++++++--------------------------------------
11256 gi/overrides/__init__.py | 22 +++++++
11257 3 files changed, 53 insertions(+), 152 deletions(-)
11259 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
11260 Author: Martin Pitt <martinpitt@gnome.org>
11261 Date: Wed Feb 27 15:39:23 2013 +0100
11263 Drop obsolete pygobject_register_sinkfunc() declaration
11265 There is no definition for this any more, nor is it being used
11268 https://bugzilla.gnome.org/show_bug.cgi?id=639849
11270 gi/_gobject/pygobject-private.h | 2 --
11271 1 file changed, 2 deletions(-)
11273 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
11274 Author: Martin Pitt <martinpitt@gnome.org>
11275 Date: Wed Feb 27 13:41:55 2013 +0100
11277 Fix marshalling of C arrays with explicit length in signal arguments
11279 We need _pygi_argument_to_array() from both closure marshalling
11281 the arguments as GIArgument array) and signal closure marshalling
11283 have the arguments in a GValue array). Add an alternative
11285 parameter to _pygi_argument_to_array() so that callers can specify
11287 other depending on which type they have available.
11289 This allows us to pass on the full argument list for signal closures,
11291 _pygi_argument_to_array() can access the explicit length argument
11295 This fixes the GSettings:change-event signal.
11297 https://bugzilla.gnome.org/show_bug.cgi?id=662241
11299 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
11300 gi/pygi-argument.h | 1 +
11301 gi/pygi-closure.c | 2 +-
11302 gi/pygi-info.c | 4 ++--
11303 gi/pygi-signal-closure.c | 3 ++-
11304 tests/test_gio.py | 18 ++++++++++++++++++
11305 6 files changed, 52 insertions(+), 12 deletions(-)
11307 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
11308 Author: Martin Pitt <martinpitt@gnome.org>
11309 Date: Wed Feb 27 08:07:20 2013 +0100
11311 Fix signedness, overflow checking, and 32 bit overflow of GFlags
11313 GFlagsValue.value is a guint, so we must access it as unsigned
11315 new macros PYGLIB_PyLong_FromUnsignedLong() and
11316 PYGLIB_PyLong_AsUnsignedLong()
11317 for that purpose, and consistently use them for handling flag
11319 checked variant of these functions which produce OverflowErrors
11321 of the unchecked PYGLIB_PyLong_AS_LONG().
11323 Insert zero padding after the PyLongObject in PyGFlags and
11325 this, the directly adjacent GType field seems to confuse
11326 PyLong_FromUnsignedLong() and includes the GType into the numeric
11329 https://bugzilla.gnome.org/show_bug.cgi?id=693121
11331 gi/_glib/pyglib-python-compat.h | 8 +++++++
11332 gi/_gobject/gobjectmodule.c | 2 +-
11333 gi/_gobject/pygflags.c | 52
11334 +++++++++++++++++++++++++----------------
11335 gi/_gobject/pygobject-private.h | 10 ++++----
11336 gi/_gobject/pygobject.h | 4 ++--
11337 gi/_gobject/pygtype.c | 6 ++---
11338 tests/test_overrides_gdk.py | 15 ++++++++++++
11339 7 files changed, 67 insertions(+), 30 deletions(-)
11341 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
11342 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
11343 Date: Tue Feb 26 16:15:36 2013 +0800
11345 gi/pygi-marshal-from-py.c: Fix build on Visual C++
11347 Since Visual C++ does not provide the INFINITY and NAN constants
11349 math.h (they are items defined by C99), provide fallback
11351 for it here. The INFINITY constant can be provided with HUGE_VAL,
11353 we are using INFINITY to check the value of a variable of double
11355 we could use a rather simple workaround for NAN.
11357 Also avoid declaring variables in the middle of the block.
11359 https://bugzilla.gnome.org/show_bug.cgi?id=692856
11361 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
11362 1 file changed, 18 insertions(+), 1 deletion(-)
11364 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
11365 Author: Martin Pitt <martinpitt@gnome.org>
11366 Date: Tue Feb 26 16:42:19 2013 +0100
11368 Fix some style issues with previous patch
11370 gi/pygi-cache.c | 6 +++---
11371 1 file changed, 3 insertions(+), 3 deletions(-)
11373 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
11374 Author: Martin Pitt <martinpitt@gnome.org>
11375 Date: Tue Feb 26 10:15:22 2013 +0100
11377 Raise DeprecationWarning on deprecated callables
11379 Check if a callable is marked as deprecated and raise a
11380 DeprecationWarning in
11384 - Python hides DeprecationWarning by default, you need to enable
11386 - The deprecation message is currently not in the typelib (bug
11389 https://bugzilla.gnome.org/show_bug.cgi?id=665084
11391 gi/pygi-cache.c | 14 ++++++++++++++
11392 tests/test_gi.py | 10 ++++++++++
11393 2 files changed, 24 insertions(+)
11395 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
11396 Author: Simon Feltman <sfeltman@src.gnome.org>
11397 Date: Mon Feb 18 00:39:45 2013 -0800
11399 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
11401 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
11402 Add Gtk.Widget.window property which uses get_window()
11403 Add Gtk.TextView.scroll_to_mark with defaults
11404 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
11406 https://bugzilla.gnome.org/show_bug.cgi?id=694067
11408 gi/pygtkcompat.py | 2 ++
11409 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
11410 2 files changed, 16 insertions(+)
11412 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
11413 Author: Simon Feltman <sfeltman@src.gnome.org>
11414 Date: Sun Dec 16 02:56:06 2012 -0800
11416 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
11419 Monkey patch a keyword argument version of set_geometry_hints onto
11421 This version is compatible with pygtk and takes keywords instead of a
11422 Gdk.Geometry and Gdk.GeometryMask.
11424 https://bugzilla.gnome.org/show_bug.cgi?id=694067
11426 pygtkcompat/pygtkcompat.py | 44
11427 ++++++++++++++++++++++++++++++++++++++++++++
11428 1 file changed, 44 insertions(+)
11430 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
11431 Author: Martin Pitt <martinpitt@gnome.org>
11432 Date: Tue Feb 26 10:09:47 2013 +0100
11434 tests: Fix warning behaviour
11436 -Werror::* does not seem to do what it says on the tin, these
11438 ignored entirely apparently. Just keep -Wd to actually show all
11440 including DeprecationWarning, which is hidden by default.
11442 tests/Makefile.am | 2 +-
11443 1 file changed, 1 insertion(+), 1 deletion(-)
11445 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
11446 Author: Martin Pitt <martinpitt@gnome.org>
11447 Date: Tue Feb 26 08:49:10 2013 +0100
11449 Ship pygobject.doap for autogen.sh
11451 https://bugzilla.gnome.org/show_bug.cgi?id=694591
11454 1 file changed, 1 insertion(+)
11456 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
11457 Author: Simon Feltman <sfeltman@src.gnome.org>
11458 Date: Tue Feb 19 03:07:19 2013 -0800
11460 Fix crashes in various GObject signal handler functions
11462 Fix crashes in a large amount of signal handler functions exposed
11463 on the GObject module. This is possible now that the underlying
11464 GObject pointer is exposed to Python as a PyCapsule which marshaling
11465 can handle. The following functions in the GObject module have been
11468 signal_handler_unblock
11469 signal_handler_disconnect
11470 signal_handler_is_connected
11471 signal_stop_emission
11472 signal_stop_emission_by_name
11473 signal_has_handler_pending
11474 signal_connect_closure
11475 signal_connect_closure_by_id
11476 signal_handler_find
11477 signal_handlers_destroy
11479 https://bugzilla.gnome.org/show_bug.cgi?id=633927
11481 gi/_gobject/gobjectmodule.c | 57 ++--------------
11482 gi/overrides/GObject.py | 158
11483 ++++++++++++++++++++++++++++++++++----------
11484 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
11485 3 files changed, 247 insertions(+), 89 deletions(-)
11487 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
11488 Author: Olivier Crête <olivier.crete@collabora.com>
11489 Date: Fri Sep 14 21:29:53 2012 -0400
11491 pygi-closure: Protect the GSList prepend with the GIL
11493 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
11495 https://bugzilla.gnome.org/show_bug.cgi?id=684060
11497 gi/pygi-closure.c | 4 ++--
11498 1 file changed, 2 insertions(+), 2 deletions(-)
11500 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
11501 Author: Simon Feltman <sfeltman@src.gnome.org>
11502 Date: Wed Feb 20 01:21:32 2013 -0800
11504 generictreemodel: Fix bad default return type for get_column_type
11506 pygtkcompat/generictreemodel.py | 2 +-
11507 1 file changed, 1 insertion(+), 1 deletion(-)
11509 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
11510 Author: Martin Pitt <martinpitt@gnome.org>
11511 Date: Tue Feb 19 12:23:13 2013 +0100
11513 configure.ac: post-release bump to 3.7.91
11515 configure.ac | 2 +-
11516 1 file changed, 1 insertion(+), 1 deletion(-)
11518 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
11519 Author: Martin Pitt <martinpitt@gnome.org>
11520 Date: Tue Feb 19 12:19:35 2013 +0100
11524 NEWS | 17 +++++++++++++++++
11525 configure.ac | 2 +-
11526 2 files changed, 18 insertions(+), 1 deletion(-)
11528 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
11529 Author: Simon Feltman <sfeltman@src.gnome.org>
11530 Date: Mon Feb 18 01:46:22 2013 -0800
11532 overrides: Fix inconsistencies with drag and drop target list API
11534 Add support to Gtk.Widget.drag_dest_set_target_list and
11535 Gtk.Widget.drag_source_set_target_list to accept iterables containing
11536 mixed TargetEntry or a tuple of (target, flags, info).
11537 Add support to Gtk.TreeView.enable_model_drag_source and
11538 Gtk.TreeView.enable_model_drag_dest to accept a list of
11542 https://bugzilla.gnome.org/show_bug.cgi?id=680640
11544 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
11545 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
11546 2 files changed, 61 insertions(+), 11 deletions(-)
11548 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
11549 Author: Simon Feltman <sfeltman@src.gnome.org>
11550 Date: Mon Feb 18 03:19:34 2013 -0800
11552 tests: Add test_marshaling_object to Makefile.am
11554 tests/Makefile.am | 1 +
11555 1 file changed, 1 insertion(+)
11557 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
11558 Author: Simon Feltman <s.feltman@gmail.com>
11559 Date: Wed Aug 29 03:46:23 2012 -0700
11561 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
11563 Add Python implementation of the GenericTreeModel that was
11564 available in pygtk. The implementation attempts a better job
11565 than the original at ref counting by guaranteeing no leaks
11566 upon deletion of the model itself. Or by using the extra "node"
11567 argument to the row_deleted signal. The model is available in
11568 the pygtkcompat package directly as
11569 pygtkcompat.generictreemodel.GenericTreeModel or with as
11570 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
11572 Add file list and tree demos making use of GenericTreeModel
11575 Auto-expand gtk-demo app tree to give a better overview of
11576 the demos available.
11578 https://bugzilla.gnome.org/show_bug.cgi?id=682933
11580 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
11581 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
11582 demos/gtk-demo/gtk-demo.py | 2 +-
11583 gi/pygtkcompat.py | 2 +-
11584 pygtkcompat/Makefile.am | 1 +
11585 pygtkcompat/generictreemodel.py | 420
11586 +++++++++++++++++++++
11587 pygtkcompat/pygtkcompat.py | 3 +
11588 tests/Makefile.am | 1 +
11589 tests/test_generictreemodel.py | 406
11590 ++++++++++++++++++++
11591 9 files changed, 1346 insertions(+), 2 deletions(-)
11593 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
11594 Author: Simon Feltman <sfeltman@src.gnome.org>
11595 Date: Mon Feb 18 02:54:14 2013 -0800
11597 overrides: Add support for iterables besides tuples for TreePath
11600 Allow Gtk.TreePath to accept any iterable for creation of the path.
11602 https://bugzilla.gnome.org/show_bug.cgi?id=682933
11604 gi/overrides/Gtk.py | 2 +-
11605 1 file changed, 1 insertion(+), 1 deletion(-)
11607 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
11608 Author: Simon Feltman <sfeltman@src.gnome.org>
11609 Date: Fri Feb 15 22:56:29 2013 -0800
11611 Unify Python callable to GClosure GI marshaling code
11613 Add pygi_marshal_from_py_gclosure which can be used for direct
11615 call args and vfunc out args.
11617 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11619 gi/pygi-argument.c | 14 +-----------
11620 gi/pygi-marshal-from-py.c | 55
11621 ++++++++++++++++++++++++++++-------------------
11622 gi/pygi-marshal-from-py.h | 3 +++
11623 3 files changed, 37 insertions(+), 35 deletions(-)
11625 commit 9e47afe459df942d9ffc4f71b39f1443976293df
11626 Author: Simon Feltman <sfeltman@src.gnome.org>
11627 Date: Fri Feb 15 20:56:12 2013 -0800
11629 Unify Python object to GValue GI marshaling code
11631 Add pygi_marshal_from_py_g_value which can be used for direct
11633 call args and vfunc out args. The new method also adds an
11635 parameter that will be used to fix leaks in the future.
11637 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11639 gi/pygi-argument.c | 43 +++++++--------------------
11640 gi/pygi-marshal-from-py.c | 74
11641 ++++++++++++++++++++++++++++++++---------------
11642 gi/pygi-marshal-from-py.h | 5 ++++
11643 3 files changed, 65 insertions(+), 57 deletions(-)
11645 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
11646 Author: Simon Feltman <sfeltman@src.gnome.org>
11647 Date: Fri Feb 15 23:07:57 2013 -0800
11649 Rename pygi_marshal_from_py_object to make it more explicit
11651 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
11652 to make it more explicit and give consistency with future refactoring.
11654 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11656 gi/pygi-argument.c | 2 +-
11657 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
11658 gi/pygi-marshal-from-py.h | 6 +++---
11659 3 files changed, 17 insertions(+), 13 deletions(-)
11661 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
11662 Author: Niklas Koep <niklas.koep@gmail.com>
11663 Date: Fri Feb 15 21:23:01 2013 -0800
11665 Prefix __module__ attribute of function objects with gi.repository
11667 This allows gi module methods to work with pydoc and help().
11668 Additionally correct typo in two docstrings of the same module.
11670 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
11672 https://bugzilla.gnome.org/show_bug.cgi?id=693839
11674 gi/overrides/__init__.py | 3 ++-
11675 gi/types.py | 6 +++---
11676 2 files changed, 5 insertions(+), 4 deletions(-)
11678 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
11679 Author: Jonathan Ballet <jon@multani.info>
11680 Date: Thu Feb 14 07:50:02 2013 +0100
11682 configure.ac: only enable code coverage when available
11684 When building with an older gnome-common which does not yet provide
11686 coverage support, disable it instead of breaking the configure script.
11688 https://bugzilla.gnome.org/show_bug.cgi?id=693328
11690 configure.ac | 10 +++++++++-
11691 1 file changed, 9 insertions(+), 1 deletion(-)
11693 commit 42cbff60e2032f715d9be6ab280954211899e03c
11694 Author: Jonathan Ballet <jon@multani.info>
11695 Date: Tue Feb 12 23:03:00 2013 +0100
11697 Correctly set properties on object with statically defined properties
11699 Fix failures in GObject.Object.set_properties() when used with
11700 statically defined properties:
11702 * Calling the method was raising a "SystemError: error return without
11703 exception set" since `result` was (most of the time) still NULL at the
11704 end of pygobject_set_properties()
11706 * Calling the method with several properties would only set one of
11707 the properties, since the function was exiting too early.
11709 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
11711 https://bugzilla.gnome.org/show_bug.cgi?id=693618
11713 gi/_gobject/pygobject.c | 19 +++++++++++--------
11714 tests/test_gi.py | 6 ++++++
11715 2 files changed, 17 insertions(+), 8 deletions(-)
11717 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
11718 Author: Martin Pitt <martinpitt@gnome.org>
11719 Date: Mon Feb 11 18:08:37 2013 +0100
11721 autogen.sh: Use gnome-autogen.sh
11723 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
11725 in a much better error message when gnome-common is not installed,
11728 https://bugzilla.gnome.org/show_bug.cgi?id=693328
11730 autogen.sh | 30 +++++++++++++++++-------------
11731 1 file changed, 17 insertions(+), 13 deletions(-)
11733 commit c107bb1f9275a748b494d3f32818f227e07cadf0
11734 Author: Christoph Reiter <christoph.reiter@gmx.at>
11735 Date: Mon Feb 11 10:07:47 2013 +0100
11737 GTK tests: Add and use context manager for realized widgets
11739 https://bugzilla.gnome.org/show_bug.cgi?id=693377
11741 tests/test_overrides_gtk.py | 91
11742 +++++++++++++++++++++++++--------------------
11743 1 file changed, 50 insertions(+), 41 deletions(-)
11745 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
11746 Author: Martin Pitt <martinpitt@gnome.org>
11747 Date: Mon Feb 11 08:55:19 2013 +0100
11749 _pygi_marshal_from_py_array: Fix uninitialized variable
11751 gi/pygi-marshal-from-py.c | 2 +-
11752 1 file changed, 1 insertion(+), 1 deletion(-)
11754 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
11755 Author: Christoph Reiter <christoph.reiter@gmx.at>
11756 Date: Mon Feb 11 08:34:42 2013 +0100
11758 Skip some vfunc tests with gi 1.34
11760 https://bugzilla.gnome.org/show_bug.cgi?id=693374
11762 tests/test_object_marshaling.py | 14 ++++++++++++++
11763 1 file changed, 14 insertions(+)
11765 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
11766 Author: Simon Feltman <sfeltman@src.gnome.org>
11767 Date: Sun Feb 10 13:40:45 2013 -0800
11769 Remove workaround for g_struct_info_get_size reporting incorrect size
11771 Remove workaround for g_struct_info_get_size reporting incorrect size
11772 for boxed GValues. Verified this now returns the correct size of 24.
11774 https://bugzilla.gnome.org/show_bug.cgi?id=622711
11776 gi/pygi-boxed.c | 31 +++++++++++++------------------
11777 1 file changed, 13 insertions(+), 18 deletions(-)
11779 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
11780 Author: Simon Feltman <sfeltman@src.gnome.org>
11781 Date: Mon Feb 4 20:50:10 2013 -0800
11783 Fix reference leaks with transient floating objects
11785 Unify and refactor caller and callee GObject argument marshalers.
11786 Combine code from the large switch statement used to marshal
11787 arguments to and from vfuncs/closures with the marshalers used
11788 for direct calls to gi functions. This fixes a reference leak
11789 when marshalling GObjects to Python with transfer=full due to
11790 the diverging code paths.
11791 Replace ability in gobject_new_full to optionally sink objects
11792 with ability to optionaly "steal" objects. This fits the premise
11793 that binding layers should always sink objects initially. The
11794 steal argument is then used for marshalling arguments which are
11796 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
11798 https://bugzilla.gnome.org/show_bug.cgi?id=687522
11800 gi/_gobject/gobjectmodule.c | 10 +++++--
11801 gi/_gobject/pygobject-private.h | 2 +-
11802 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
11803 gi/_gobject/pygobject.h | 8 ++++--
11804 gi/pygi-argument.c | 52 +++++++++++++++++------------------
11805 gi/pygi-marshal-from-py.c | 61
11806 +++++++++++++++++++++++++++++++++++++----
11807 gi/pygi-marshal-from-py.h | 6 ++++
11808 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
11809 gi/pygi-marshal-to-py.h | 5 ++++
11810 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
11811 10 files changed, 181 insertions(+), 97 deletions(-)
11813 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
11814 Author: Simon Feltman <sfeltman@src.gnome.org>
11815 Date: Wed Feb 6 12:56:44 2013 -0800
11817 tests: Fix spelling mistakes in new vfunc object marshalling tests
11819 tests/test_object_marshaling.py | 12 ++++++------
11820 1 file changed, 6 insertions(+), 6 deletions(-)
11822 commit cd96fd8b8e10add9890f36ec237bb78548de7002
11823 Author: Martin Pitt <martinpitt@gnome.org>
11824 Date: Tue Feb 5 07:53:38 2013 +0100
11826 configure.ac: post-release bump to 3.7.6
11828 configure.ac | 2 +-
11829 1 file changed, 1 insertion(+), 1 deletion(-)
11831 commit 92b1404e61f46348168f32720eff4a482531e5e3
11832 Author: Martin Pitt <martinpitt@gnome.org>
11833 Date: Tue Feb 5 07:46:46 2013 +0100
11838 configure.ac | 2 +-
11839 2 files changed, 4 insertions(+), 1 deletion(-)
11841 commit a3a30559240077194f23c4651d6f382fa59b7d63
11842 Author: Simon Feltman <sfeltman@src.gnome.org>
11843 Date: Mon Feb 4 15:16:37 2013 -0800
11845 Fix API break with pygobject.h
11847 Move pygobject_new_full after everything in the public API table.
11848 This fixes a break that went in along with bug 675726.
11850 https://bugzilla.gnome.org/show_bug.cgi?id=675726
11852 gi/_gobject/gobjectmodule.c | 5 +++--
11853 gi/_gobject/pygobject.h | 2 +-
11854 2 files changed, 4 insertions(+), 3 deletions(-)
11856 commit b3ca7e27494c35620995840d777037a097082661
11857 Author: Martin Pitt <martinpitt@gnome.org>
11858 Date: Mon Feb 4 19:53:26 2013 +0100
11860 configure.ac: post-release bump to 3.7.6
11862 configure.ac | 2 +-
11863 1 file changed, 1 insertion(+), 1 deletion(-)
11865 commit 77f638411314218748f349b337a36e2864eed1f4
11866 Author: Martin Pitt <martinpitt@gnome.org>
11867 Date: Mon Feb 4 19:37:14 2013 +0100
11871 NEWS | 24 ++++++++++++++++++++++++
11872 1 file changed, 24 insertions(+)
11874 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
11875 Author: Simon Feltman <sfeltman@src.gnome.org>
11876 Date: Sun Feb 3 23:56:14 2013 -0800
11878 Fix pointer cast warning that was missed in bug 675726
11880 https://bugzilla.gnome.org/show_bug.cgi?id=675726
11882 gi/_gobject/pygobject.h | 2 +-
11883 1 file changed, 1 insertion(+), 1 deletion(-)
11885 commit b31d8a952cd57dc92b06a381e054199660a2d570
11886 Author: Simon Feltman <sfeltman@src.gnome.org>
11887 Date: Thu Jan 31 02:35:36 2013 -0800
11889 Move various signal methods from static bindings to gi and python
11891 Move disconnect, handler_is_connected, handler_block, handler_unblock,
11892 and stop_emission from static to gi python overrides.
11894 https://bugzilla.gnome.org/show_bug.cgi?id=692918
11896 gi/_gobject/pygobject.c | 90
11897 -------------------------------------------------
11898 gi/overrides/GObject.py | 44 +++++++++++++++++-------
11899 tests/test_signal.py | 19 ++++++-----
11900 3 files changed, 42 insertions(+), 111 deletions(-)
11902 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
11903 Author: Paolo Borelli <pborelli@gnome.org>
11904 Date: Fri Feb 1 21:09:26 2013 +0100
11906 GLib overrides: Support unpacking 'maybe' variants
11908 Automatically unpack 'maybe' variants to None or to their actual value
11909 as we do for other kind of variants
11911 https://bugzilla.gnome.org/show_bug.cgi?id=693032
11913 gi/overrides/GLib.py | 5 +++++
11914 tests/test_overrides_glib.py | 8 ++++++++
11915 2 files changed, 13 insertions(+)
11917 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
11918 Author: Mike Gorse <mgorse@suse.com>
11919 Date: Mon Jan 21 16:45:52 2013 -0600
11921 Fix ref count leak when creating pygobject wrappers for input args
11923 Only sink input references for closures and vfuncs when transfer is
11924 everything. This fixes cases where incoming floating references for
11925 callbacks need to maintain their floating state throughout the
11926 callback so they don't leak a strong reference. Re-introduce a
11927 working "sink" argument to pygobject_new_full which allows for this.
11928 Change existing callers to always sink in order maintain behavior.
11930 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
11932 https://bugzilla.gnome.org/show_bug.cgi?id=675726
11934 gi/_gobject/gobjectmodule.c | 5 +--
11935 gi/_gobject/pygobject.c | 7 ++--
11936 gi/_gobject/pygobject.h | 2 ++
11937 gi/pygi-argument.c | 13 +++----
11938 tests/test_object_marshaling.py | 76
11939 +++++++++++++++++++++++++++++++++++++----
11940 5 files changed, 85 insertions(+), 18 deletions(-)
11942 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
11943 Author: Simon Feltman <sfeltman@src.gnome.org>
11944 Date: Thu Jan 31 01:50:44 2013 -0800
11946 Add tests for signal stop_emission, disconnect, and
11947 handler_is_connected
11949 Add tests for methods which will be moving from static bindings to gi
11950 by using the new __gpointer__ attribute of GObject.
11952 https://bugzilla.gnome.org/show_bug.cgi?id=692918
11954 tests/test_signal.py | 51
11955 ++++++++++++++++++++++++++++++++++++++++++++++++++-
11956 1 file changed, 50 insertions(+), 1 deletion(-)
11958 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
11959 Author: Simon Feltman <sfeltman@src.gnome.org>
11960 Date: Wed Jan 30 21:37:07 2013 -0800
11962 Add __gpointer__ property to GObject static binding
11964 Add access to the underlying C GObject pointer by wrapping it in a
11965 PyCapsule/PyCPointer and exposing it as __gpointer__.
11966 Add special case marshaling for gi parameters annotated as gpointer
11967 to accept a PyCapsule and extract the underlying pointer as the arg.
11968 This allows usage of methods like GObject.signal_handler_disconnect
11969 which we can start replacing the static bindings with.
11971 https://bugzilla.gnome.org/show_bug.cgi?id=692918
11973 gi/_gobject/pygobject.c | 11 +++++++++--
11974 gi/pygi-marshal-from-py.c | 6 +++++-
11975 2 files changed, 14 insertions(+), 3 deletions(-)
11977 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
11978 Author: Simon Feltman <sfeltman@src.gnome.org>
11979 Date: Sun Jan 27 01:22:37 2013 -0800
11981 Prefix names of typeless enums and flags for GType registration
11983 Prefix names given to g_flags_register_static and
11984 g_enum_register_static
11985 with "Py". This avoids conflicts with GTypes of the same name being
11986 registered later by a library which does not provide a "get-type"
11989 https://bugzilla.gnome.org/show_bug.cgi?id=692515
11991 gi/gimodule.c | 10 ++++++++--
11992 tests/test_gi.py | 4 ++--
11993 2 files changed, 10 insertions(+), 4 deletions(-)
11995 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
11996 Author: Simon Feltman <sfeltman@src.gnome.org>
11997 Date: Wed Jan 30 04:35:32 2013 -0800
11999 Add tests for vfunc object arguments and returns
12001 Add tests which use different combinations of floating, transfer full,
12002 transfer none, and held wrapper as in, out, or return arguments
12004 Most of these are marked as skip or expectedFailure due to various
12006 noted on the tests.
12008 https://bugzilla.gnome.org/show_bug.cgi?id=687522
12010 gi/overrides/GObject.py | 15 +-
12011 tests/test_object_marshaling.py | 540
12012 ++++++++++++++++++++++++++++++++++++++++
12013 2 files changed, 550 insertions(+), 5 deletions(-)
12015 commit 73a83186329ede7702501d5bc49df269482461e4
12016 Author: Paolo Borelli <pborelli@gnome.org>
12017 Date: Wed Jan 30 17:48:12 2013 +0100
12019 Cosmetic fix to last patch
12021 gi/pygi-argument.c | 7 +++++--
12022 1 file changed, 5 insertions(+), 2 deletions(-)
12024 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
12025 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
12026 Date: Fri Jan 25 13:05:18 2013 +0800
12028 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
12030 Drop the array forward static declarations. They are not necessary
12034 Also move declarations of variables to the top of their respective
12037 https://bugzilla.gnome.org/show_bug.cgi?id=692856
12039 gi/pygi-info.c | 18 ++++++++++--------
12040 gi/pygi-repository.c | 2 --
12041 2 files changed, 10 insertions(+), 10 deletions(-)
12043 commit 2e7c458ef6377a872043634b47737ef12eed744a
12044 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
12045 Date: Fri Jan 25 13:00:48 2013 +0800
12047 Move variable declaration to top of blocks (C99ism)
12049 Move variable declarations to the top of their respective blocks,
12051 code will build under C89 compilers such as Visual C++.
12053 https://bugzilla.gnome.org/show_bug.cgi?id=692856
12055 gi/pygi-argument.c | 10 ++++++----
12056 gi/pygi-closure.c | 23 +++++++++++++++--------
12057 gi/pygi-invoke.c | 3 ++-
12058 gi/pygi-marshal-cleanup.c | 3 ++-
12059 gi/pygi-property.c | 3 ++-
12060 5 files changed, 27 insertions(+), 15 deletions(-)
12062 commit 20fc5aa7514215fc7807adceb603d17f7943304a
12063 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
12064 Date: Fri Jan 25 12:58:26 2013 +0800
12066 gi/pygobject-external.h: Remove GCCism
12068 We can use G_GNUC_UNUSED from GLib that does the same purpose of
12069 __attribute__ ( (unused)) when we are using a GCC that provides this.
12071 The GLib headers that defines that macro should have already been
12073 before this header is included (due to use of gboolean).
12075 https://bugzilla.gnome.org/show_bug.cgi?id=692856
12077 gi/pygobject-external.h | 2 +-
12078 1 file changed, 1 insertion(+), 1 deletion(-)
12080 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
12081 Author: Martin Pitt <martinpitt@gnome.org>
12082 Date: Wed Jan 30 14:59:11 2013 +0100
12084 tests: Update test_double() after e65c1248
12086 Commit e65c1248 introduced support for NaN and ±inf as valid
12088 rendering the "expect ValueError on 2*double" check broken. Just
12091 tests/test_everything.py | 1 -
12092 1 file changed, 1 deletion(-)
12094 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
12095 Author: Martin Pitt <martinpitt@gnome.org>
12096 Date: Wed Jan 23 07:14:16 2013 +0100
12098 Do not immediately initialize Gdk and Gtk on import
12100 Raising an exception if Gdk/Gtk cannot be imported makes it
12102 merely import a module for e. g. nosetests without actually running
12105 Programs who want to provide a proper error message should check
12106 Gtk.initialized explicitly after importing. Check initialized
12108 Window.__init__() instead to provide a reasonably early error message
12112 https://bugzilla.gnome.org/show_bug.cgi?id=692300
12114 gi/overrides/Gdk.py | 2 --
12115 gi/overrides/Gtk.py | 5 +++--
12116 2 files changed, 3 insertions(+), 4 deletions(-)
12118 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
12119 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
12120 Date: Fri Jan 25 12:49:18 2013 +0800
12122 gi/overrides/Glib.py: Fix running on Windows/non-Unix
12124 The definition of self._signal_source uses a Unix-specific GLib
12126 does not exist or have a direct equivilant on Windows.
12128 Only define and use that variable when we aren't on Windows.
12130 gi/overrides/GLib.py | 18 ++++++++++--------
12131 1 file changed, 10 insertions(+), 8 deletions(-)
12133 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
12134 Author: Martin Pitt <martinpitt@gnome.org>
12135 Date: Wed Jan 23 14:56:02 2013 +0100
12137 Accept ±inf and NaN as float and double values
12139 Also fix the broken error message when a float value is out of range.
12140 PyErr_Format() does not support float macros.
12142 https://bugzilla.gnome.org/show_bug.cgi?id=692381
12144 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
12145 tests/test_gobject.py | 14 ++++++++++++++
12146 2 files changed, 33 insertions(+), 18 deletions(-)
12148 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
12149 Author: Martin Pitt <martinpitt@gnome.org>
12150 Date: Wed Jan 23 14:28:42 2013 +0100
12152 Fix repr() of GLib.Variant
12154 When using a standard constructor like GLib.Variant.new_*(), the
12156 not have a format_string property, and previously repr() would
12158 to get_type_string() instead.
12160 Also drop the unintended type annotations in repr().
12162 gi/overrides/GLib.py | 6 +++++-
12163 tests/test_overrides_glib.py | 15 ++++++++++++++-
12164 2 files changed, 19 insertions(+), 2 deletions(-)
12166 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
12167 Author: Martin Pitt <martinpitt@gnome.org>
12168 Date: Wed Jan 23 14:14:29 2013 +0100
12170 Fix gtk-demo for Python 3
12172 It was crashing with
12174 package = __import__(packagename, globals(), locals(),
12176 ValueError: level must be >= 0
12178 Using level zero works with both Python 2 and 3.
12180 demos/gtk-demo/gtk-demo.py | 2 +-
12181 1 file changed, 1 insertion(+), 1 deletion(-)
12183 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
12184 Author: Colin Walters <walters@verbum.org>
12185 Date: Tue Jan 22 10:49:57 2013 -0500
12187 build: Add autogen.sh to EXTRA_DIST
12189 So downstreams that patch the autotools can use it.
12192 1 file changed, 1 insertion(+)
12194 commit ed7fb99efa81854d947ae548d41a03f5275c5884
12195 Author: Martin Pitt <martinpitt@gnome.org>
12196 Date: Thu Jan 17 08:23:02 2013 +0100
12198 Define GObject.TYPE_VALUE gtype constant
12200 gi/overrides/GObject.py | 4 +++-
12201 tests/test_gobject.py | 4 ++++
12202 2 files changed, 7 insertions(+), 1 deletion(-)
12204 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
12205 Author: Olivier Crête <olivier.crete@collabora.com>
12206 Date: Mon Sep 17 15:37:04 2012 -0400
12208 gobject: Go through introspection on property setting
12210 Consider introspected properties in object.set_property().
12212 https://bugzilla.gnome.org/show_bug.cgi?id=684062
12214 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
12215 tests/test_properties.py | 13 ++++++++++---
12216 2 files changed, 27 insertions(+), 4 deletions(-)
12218 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
12219 Author: Mike Gorse <mgorse@suse.com>
12220 Date: Tue Jan 15 20:04:46 2013 -0600
12222 Clean up caller-allocated GValues and their memory
12224 When space for a GValue is allocated by the caller (as in
12225 gtk_tree_model_get_value), we need to free the space allocated for the
12226 value along with its contents. The GValue is not needed after
12227 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
12228 have it unset the value and deallocate the memory.
12230 https://bugzilla.gnome.org/show_bug.cgi?id=691820
12232 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
12233 1 file changed, 18 insertions(+), 2 deletions(-)
12235 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
12236 Author: Dmitry Shachnev <mitya57@ubuntu.com>
12237 Date: Wed Jan 16 13:44:42 2013 +0400
12239 tests: define correct unittest.skipIf for python 2.6
12241 tests/runtests.py | 2 +-
12242 1 file changed, 1 insertion(+), 1 deletion(-)
12244 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
12245 Author: Martin Pitt <martinpitt@gnome.org>
12246 Date: Wed Jan 16 09:17:13 2013 +0100
12248 tests: More robust tree view realization
12250 With current GNOME git head, the Gtk.TreeViews were not realized
12252 more to receive property values. Put them into a Gtk.Dialog now and
12254 ensure that they are realized.
12256 tests/test_overrides_gtk.py | 16 ++++++++++------
12257 1 file changed, 10 insertions(+), 6 deletions(-)
12259 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
12260 Author: Martin Pitt <martinpitt@gnome.org>
12261 Date: Tue Jan 15 10:42:49 2013 +0100
12263 Drop deprecated g_thread_create()
12265 Replace with g_thread_new(). This is available with glib >= 2.32,
12267 already require >= 2.34.
12269 tests/test-thread.c | 3 +--
12270 1 file changed, 1 insertion(+), 2 deletions(-)
12272 commit 98504273dead9eade6e53c2297bcaec7bea6265a
12273 Author: Martin Pitt <martinpitt@gnome.org>
12274 Date: Tue Jan 15 10:37:52 2013 +0100
12276 Drop usage of deprecated GStaticPrivate
12278 Replace with GPrivate.
12280 gi/_gobject/gobjectmodule.c | 6 +++---
12281 1 file changed, 3 insertions(+), 3 deletions(-)
12283 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
12284 Author: Martin Pitt <martinpitt@gnome.org>
12285 Date: Tue Jan 15 10:29:47 2013 +0100
12287 Don't call g_type_init() with glib >= 2.35.x
12289 This fixes a deprecation warning.
12291 gi/_gobject/gobjectmodule.c | 2 ++
12292 1 file changed, 2 insertions(+)
12294 commit 206e736380ba798c68de09f661d75c8e27451117
12295 Author: Martin Pitt <martinpitt@gnome.org>
12296 Date: Tue Jan 15 09:47:11 2013 +0100
12298 Use GNOME_COMPILE_WARNINGS from gnome-common
12300 As we are now using gnome-common anyway for the code coverage macro,
12302 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
12306 This also enables -Wstrict-prototypes.
12308 configure.ac | 14 ++++----------
12309 1 file changed, 4 insertions(+), 10 deletions(-)
12311 commit 137679426ff39507e15f08e9e6428d851fee06b7
12312 Author: Martin Pitt <martinpitt@gnome.org>
12313 Date: Tue Jan 15 09:46:01 2013 +0100
12315 Fix function prototypes and static functions
12317 These cause errors/warnings with -Wstrict-prototypes.
12319 gi/_glib/pyglib-python-compat.h | 2 ++
12320 gi/pygi-foreign.c | 2 +-
12321 gi/pygi-marshal-from-py.c | 4 ++--
12322 gi/pygi-marshal-to-py.c | 4 ++--
12323 gi/pygi-source.c | 2 +-
12324 gi/pygi-source.h | 2 +-
12325 6 files changed, 9 insertions(+), 7 deletions(-)
12327 commit d47927f1701a11aec8566425f22688c5df73d7f2
12328 Author: Martin Pitt <martinpitt@gnome.org>
12329 Date: Mon Jan 14 17:38:23 2013 +0100
12331 configure.ac: post-release bump to 3.7.5
12333 configure.ac | 2 +-
12334 1 file changed, 1 insertion(+), 1 deletion(-)
12336 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
12337 Author: Martin Pitt <martinpitt@gnome.org>
12338 Date: Mon Jan 14 17:30:48 2013 +0100
12342 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
12343 1 file changed, 38 insertions(+)
12345 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
12346 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
12347 Date: Tue Dec 4 15:45:00 2012 +0200
12349 Allow setting values through GtkTreeModelFilter
12351 Previously, trying to set a value through filter throwed an exception
12353 model has no set_value() method. You had to first retrieve the
12355 model and set value to it.
12357 https://bugzilla.gnome.org/show_bug.cgi?id=689624
12359 gi/overrides/Gtk.py | 5 +++++
12360 tests/test_overrides_gtk.py | 11 +++++++++++
12361 2 files changed, 16 insertions(+)
12363 commit b092630efc691a6f7ae94ae896193254f5a961a6
12364 Author: Martin Pitt <martinpitt@gnome.org>
12365 Date: Mon Jan 14 12:37:18 2013 +0100
12367 tests: Add (failing) test case for GParamSpec arguments
12370 https://bugzilla.gnome.org/show_bug.cgi?id=682355
12372 tests/test_gi.py | 9 +++++++++
12373 1 file changed, 9 insertions(+)
12375 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
12376 Author: Martin Pitt <martinpitt@gnome.org>
12377 Date: Mon Jan 14 12:20:27 2013 +0100
12379 tests: Skip struct string member tests with g-i 1.34
12381 We still support building against gobject-introspection 1.34, so
12383 which do not work with that version yet.
12385 tests/test_gi.py | 8 ++++++++
12386 1 file changed, 8 insertions(+)
12388 commit f9429192cb1002725a11a75a7b8f9300375b9caf
12389 Author: Martin Pitt <martinpitt@gnome.org>
12390 Date: Mon Jan 14 12:15:27 2013 +0100
12392 Support GParamSpec signal arguments from Python
12394 In pyg_value_from_pyobject(), recognize both the real GI
12395 GObject.ParamSpec type
12396 as well as the statically wrapped _gobject.GParamSpec type.
12398 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
12400 https://bugzilla.gnome.org/show_bug.cgi?id=683099
12402 gi/_gobject/pygtype.c | 6 +++++-
12403 tests/test_signal.py | 12 ++++++++++++
12404 tests/testhelpermodule.c | 13 +++++++++++++
12405 3 files changed, 30 insertions(+), 1 deletion(-)
12407 commit 99f72925c7de76611f7592bce9d8217a9ff46809
12408 Author: Martin Pitt <martinpitt@gnome.org>
12409 Date: Mon Jan 14 11:48:11 2013 +0100
12411 pygobject_emit(): Fix cleanup on error
12413 Dot not try to unset GValues which have not been initialized yet,
12415 conversion fails for a parameter.
12417 gi/_gobject/pygobject.c | 8 ++++----
12418 1 file changed, 4 insertions(+), 4 deletions(-)
12420 commit acef1d3266d11b2465d61185a55526df879a5c62
12421 Author: Simon Feltman <sfeltman@src.gnome.org>
12422 Date: Mon Dec 31 19:01:57 2012 -0800
12424 Add signal emission methods to TreeModel which coerce the path
12427 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
12428 row_deleted, and rows_reordered methods to accept python iterables as
12429 the path parameter. This is for compatibility with pygtk and
12431 with the rest of the TreeModel and TreePath overrides.
12433 https://bugzilla.gnome.org/show_bug.cgi?id=682933
12435 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
12436 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
12437 2 files changed, 55 insertions(+), 3 deletions(-)
12439 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
12440 Author: Martin Pitt <martinpitt@gnome.org>
12441 Date: Mon Jan 14 10:36:36 2013 +0100
12443 Simplify overrides and tests using the new GObject.Value override
12445 The previous commit added support for constructing a GObject.Value
12447 GType and Python object conversion. Use this to simplify the Gtk
12449 the tests that construct GValues.
12451 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
12453 gi/overrides/Gtk.py | 88
12454 +++------------------------------------------
12455 tests/test_gi.py | 26 +++++---------
12456 tests/test_overrides_gtk.py | 2 +-
12457 tests/test_signal.py | 12 ++-----
12458 4 files changed, 17 insertions(+), 111 deletions(-)
12460 commit f62b98398177991bfdbe0b6753342e79e6cf170a
12461 Author: Bastian Winkler <buz@netbuz.org>
12462 Date: Mon Jan 14 10:26:08 2013 +0100
12464 Add override for GValue
12466 Override GValue with a custom constructor and set_value()/get_value()
12467 methods. This allows you to call
12469 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
12473 >>> value = GObject.Value()
12474 >>> value.init(GObject.TYPE_FLOAT)
12475 >>> value.set_float(42.23)
12477 This is especially useful for overrides that need to convert a Python
12478 value to a expected type like G_TYPE_FLOAT.
12480 https://bugzilla.gnome.org/show_bug.cgi?id=677473
12482 gi/overrides/GObject.py | 127
12483 +++++++++++++++++++++++++++++++++++++++++++++++-
12484 tests/test_gobject.py | 47 +++++++++++++++++-
12485 2 files changed, 172 insertions(+), 2 deletions(-)
12487 commit dc3d21173b75232f7ea0b9913f7309486456a69d
12488 Author: Mike Gorse <mgorse@suse.com>
12489 Date: Thu Jan 10 15:48:30 2013 -0600
12491 Mark caller-allocated boxed structures as having a slice allocated
12493 When a C function takes a pointer and fills it with a boxed structure
12495 gtk_tree_store_insert_with_values), pygi should deallocate the slice
12497 box is no longer being used.
12499 https://bugzilla.gnome.org/show_bug.cgi?id=699501
12501 gi/pygi-marshal-to-py.c | 4 +++-
12502 1 file changed, 3 insertions(+), 1 deletion(-)
12504 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
12505 Author: Olivier Crête <olivier.crete@collabora.com>
12506 Date: Fri Sep 14 21:31:32 2012 -0400
12508 pygi-property: Support boxed GSList/GList types
12510 Note that this does not yet work for construct properties.
12512 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12514 https://bugzilla.gnome.org/show_bug.cgi?id=684059
12516 gi/pygi-property.c | 10 ++++++++--
12517 tests/test_gi.py | 21 +++++++++++++++++++++
12518 2 files changed, 29 insertions(+), 2 deletions(-)
12520 commit 074f10d815453e58f4bee2f440c5db799add3876
12521 Author: Martin Pitt <martinpitt@gnome.org>
12522 Date: Mon Jan 14 07:48:31 2013 +0100
12524 test_gio: Fix for Python 2
12526 Python 2 does not yet take an "encoding" argument for str(), while
12528 requires it. Use a less fancy static test string instead.
12530 tests/test_gio.py | 2 +-
12531 1 file changed, 1 insertion(+), 1 deletion(-)
12533 commit 734979d0c8317201148a7e94a323225fba2d1635
12534 Author: Martin Pitt <martinpitt@gnome.org>
12535 Date: Mon Jan 14 07:40:10 2013 +0100
12537 tests: Add missing backwards compat methods for Python 2.6
12539 Define skipIf(), assertLess(), and assertLessEqual() for running
12543 https://bugzilla.gnome.org/show_bug.cgi?id=691646
12545 tests/runtests.py | 17 +++++++++++++++++
12546 1 file changed, 17 insertions(+)
12548 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
12549 Author: Martin Pitt <martinpitt@gnome.org>
12550 Date: Mon Jan 14 07:34:46 2013 +0100
12552 tests: Stop using assertSequenceEqual()
12554 assertSequenceEqual() does not yet exist in Python 2.6, and is
12556 either as assertEqual() on sequences automatically does list
12559 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
12561 tests/test_gtype.py | 6 ++----
12562 tests/test_signal.py | 6 ++----
12563 2 files changed, 4 insertions(+), 8 deletions(-)
12565 commit 0a5587b6a56d417a6703e342f153596f08cd5889
12566 Author: Simon Feltman <sfeltman@src.gnome.org>
12567 Date: Sun Jan 13 18:19:51 2013 -0800
12569 Allow setting TreeModel values to None
12571 Change TreeModel.set_value to use an empty but initialized GValue when
12572 None is used as the value argument. This allows clearing of cell data
12573 which was not accessible due to auto-coercion.
12575 https://bugzilla.gnome.org/show_bug.cgi?id=684094
12577 gi/overrides/Gtk.py | 11 ++++++++---
12578 tests/test_overrides_gtk.py | 8 ++++++++
12579 2 files changed, 16 insertions(+), 3 deletions(-)
12581 commit 5ae129da436793478750f0dc9427a174a980e10b
12582 Author: Mike Gorse <mgorse@suse.com>
12583 Date: Thu Jan 10 16:42:17 2013 -0600
12585 Set clean-up handler for marshalled arrays
12587 Arrays did not have a cleanup handler set in some cases, resulting
12590 https://bugzilla.gnome.org/show_bug.cgi?id=691509
12592 gi/pygi-cache.c | 1 +
12593 1 file changed, 1 insertion(+)
12595 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
12596 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
12597 Date: Fri Jan 11 15:41:27 2013 +0100
12599 Support setting string fields in structs
12601 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12603 https://bugzilla.gnome.org/show_bug.cgi?id=678401
12605 gi/pygi-info.c | 3 ++-
12606 tests/test_gi.py | 16 ++++++++++++++++
12607 2 files changed, 18 insertions(+), 1 deletion(-)
12609 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
12610 Author: Martin Pitt <martinpitt@gnome.org>
12611 Date: Fri Jan 11 14:58:44 2013 +0100
12613 Re-enable test_gi.TestPropertiesObject.test_char test
12615 The gobject-introspection bug got fixed:
12616 https://bugzilla.gnome.org/show_bug.cgi?id=691524
12618 tests/test_gi.py | 14 +++-----------
12619 1 file changed, 3 insertions(+), 11 deletions(-)
12621 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
12622 Author: Martin Pitt <martinpitt@gnome.org>
12623 Date: Fri Jan 11 09:46:56 2013 +0100
12625 tests: Re-enable test_callback_scope_call_array() check
12627 Drop the expected failure from test_callback_scope_call_array()
12629 the explicit array length arguments. While it would look cleaner to
12631 them, it is probably not worth breaking the API for this.
12633 tests/test_everything.py | 9 +++------
12634 1 file changed, 3 insertions(+), 6 deletions(-)
12636 commit 609636424b5f9b659e99a4bb53a48c165187c430
12637 Author: Martin Pitt <martinpitt@gnome.org>
12638 Date: Fri Jan 11 09:13:36 2013 +0100
12640 Permit plain integers for "gchar" values
12642 Similar to guchar/guint8, allow plain integers (withing correct
12644 values for gchar/gint8 types.
12646 This is covered by the test_gi.TestPropertiesObject.test_char
12648 removing the "expected failure" flag.
12650 gi/_gobject/pygtype.c | 16 ++++++++++++----
12651 1 file changed, 12 insertions(+), 4 deletions(-)
12653 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
12654 Author: Martin Pitt <martinpitt@gnome.org>
12655 Date: Fri Jan 11 09:09:41 2013 +0100
12657 Allow single byte values for int8 types
12659 When fixing gobject-introspection to consider "gchar" as signed (see
12660 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
12662 single-element "bytes" array as a valid value for int8, not just
12665 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
12668 gi/pygi-argument.c | 4 ++--
12669 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
12670 2 files changed, 23 insertions(+), 15 deletions(-)
12672 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
12673 Author: Mike Gorse <mgorse@suse.com>
12674 Date: Thu Jan 10 14:11:56 2013 -0600
12676 Fix invalid memory access handling errors when registering an
12679 Don't free the name until we are done with it.
12681 gi/gimodule.c | 8 ++++----
12682 1 file changed, 4 insertions(+), 4 deletions(-)
12684 commit ecd235959317d39b6d598662c00829e0ec717b17
12685 Author: Martin Pitt <martinpitt@gnome.org>
12686 Date: Thu Jan 10 16:42:46 2013 +0100
12688 Fix (out) arguments in callbacks
12690 Do not ignore the first argument in _pygi_closure_set_out_arguments().
12691 Presumably that has been done to skip over "self", but callbacks
12693 required to have a self argument. As self is never (out), we can
12697 gi/pygi-closure.c | 2 +-
12698 tests/test_gi.py | 4 ----
12699 2 files changed, 1 insertion(+), 5 deletions(-)
12701 commit d8e241e24a816691acbd592775b73defd9aa4f44
12702 Author: Martin Pitt <martinpitt@gnome.org>
12703 Date: Thu Jan 10 15:14:05 2013 +0100
12705 Fix C to Python marshalling of struct pointer arrays
12707 Do not treat an array of pointers to values like an array of values on
12708 marshalling from C. This makes the test_array_boxed_struct_return()
12712 gi/pygi-marshal-to-py.c | 5 +++--
12713 tests/test_gi.py | 2 --
12714 2 files changed, 3 insertions(+), 4 deletions(-)
12716 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
12717 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
12718 Date: Tue Jan 8 23:22:54 2013 +0200
12720 Add tests for GFile
12722 Most notably this commit contains a test for
12723 Gio.File.replace_contents_async(),
12724 which currently fails. Disable the tests for now as it breaks the
12727 https://bugzilla.gnome.org/show_bug.cgi?id=690525
12729 tests/test_gio.py | 64
12730 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
12731 1 file changed, 64 insertions(+)
12733 commit 118c5eaad045580455515876ba73b9537a8468b4
12734 Author: Martin Pitt <martinpitt@gnome.org>
12735 Date: Thu Jan 10 13:56:11 2013 +0100
12737 Rename test_overrides_gio.py to test_gio.py
12739 As we want to add more tests for non-overridden API.
12741 tests/Makefile.am | 2 +-
12742 tests/{test_overrides_gio.py => test_gio.py} | 0
12743 2 files changed, 1 insertion(+), 1 deletion(-)
12745 commit 8117e6bce73581e89211371708ff7d5de7d870d4
12746 Author: Martin Pitt <martinpitt@gnome.org>
12747 Date: Thu Jan 10 12:13:16 2013 +0100
12749 Don't let Property.setter() method names define property names
12751 Defining property names in install_properties() is too late when using
12752 @propname.setter decorators; their method names don't define a
12754 nor are they even required to be a valid property identifier.
12756 So change the logic to already fix the property name when using
12758 decorator and use that instead of the member name in
12759 install_properties().
12761 https://bugzilla.gnome.org/show_bug.cgi?id=688971
12763 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
12764 tests/test_properties.py | 18 ++++++++++++++++++
12765 2 files changed, 40 insertions(+), 7 deletions(-)
12767 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
12768 Author: Martin Pitt <martinpitt@gnome.org>
12769 Date: Wed Jan 9 10:39:36 2013 +0100
12771 tests: Force UTF-8 file name encoding
12773 The test_gi.TestFilename tests fail if the environment specifies
12775 file name encoding. Force it to "UTF-8" for the tests.
12777 https://bugzilla.gnome.org/show_bug.cgi?id=691355
12779 tests/runtests.py | 1 +
12780 1 file changed, 1 insertion(+)
12782 commit c02a00ae9599a661076630b21b7e24e78fb88c29
12783 Author: Martin Pitt <martinpitt@gnome.org>
12784 Date: Tue Jan 8 16:56:40 2013 +0100
12786 Use g-i stack allocation API
12788 Where possible, i. e. when not keeping references across functions,
12790 _load_() methods instead of the _get_() ones from
12791 gobject-introspection, which
12792 is faster and less prone to memory leaks:
12794 g_callable_info_get_arg () → g_callable_info_load_arg ()
12795 g_callable_info_get_return_type() →
12796 g_callable_info_load_return_type ()
12797 g_arg_info_get_type() → g_arg_info_load_type ()
12799 https://bugzilla.gnome.org/show_bug.cgi?id=615982
12801 gi/pygi-argument.c | 16 ++++------
12802 gi/pygi-closure.c | 88
12803 ++++++++++++++++++++++++------------------------------
12804 2 files changed, 45 insertions(+), 59 deletions(-)
12806 commit 23d1f14f553069740465c82eaa937b877c41e0cb
12807 Author: Ray Strode <rstrode@redhat.com>
12808 Date: Wed Dec 19 13:04:32 2012 -0500
12810 pyg_value_from_pyobject: support GArray
12812 This commit adds support for marshalling a python list (or other
12814 returned from signal handlers to GArray, if necessary.
12816 This parallels the implementation written to marshal to (the now
12820 This fixes a crash in rhythmbox as seen downstream here:
12821 https://bugzilla.redhat.com/show_bug.cgi?id=872851
12823 https://bugzilla.gnome.org/show_bug.cgi?id=690514
12825 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12827 gi/_gobject/pygtype.c | 60
12828 ++++++++++++++++++++++++++++++++++++++++++++++++
12829 tests/test_everything.py | 22 ++++++++++++++++++
12830 2 files changed, 82 insertions(+)
12832 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
12833 Author: Marko Lindqvist <cazfi74@gmail.com>
12834 Date: Fri Jan 4 07:01:29 2013 +0100
12836 Fix obsolete automake macros
12838 https://bugzilla.gnome.org/show_bug.cgi?id=691101
12840 configure.ac | 3 +--
12841 1 file changed, 1 insertion(+), 2 deletions(-)
12843 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
12844 Author: Simon Feltman <sfeltman@src.gnome.org>
12845 Date: Mon Dec 31 02:53:07 2012 -0800
12847 Change dynamic enum and flag gtype creation to use namespaced naming
12849 Use the combination of g_base_info_get_namespace and
12850 g_base_info_get_name
12851 as the name for registering enum and flag types with glib through
12852 g_enum_register_static and g_flags_register_static. This avoids
12854 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
12855 and memory cleanup for invalid registration problems.
12857 https://bugzilla.gnome.org/show_bug.cgi?id=690455
12859 gi/_gobject/pygenum.c | 6 ++--
12861 ++++++++++++++++++++++++++++++++++++++++++++-------
12862 tests/test_gi.py | 35 +++++++++++++++++++++++
12863 3 files changed, 106 insertions(+), 13 deletions(-)
12865 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
12866 Author: Dan Horák <dan@danny.cz>
12867 Date: Fri Dec 28 22:12:32 2012 +0100
12869 Fix test for GBytes.compare()
12871 The result of the compare method is defined as equal, less than or
12873 and the test must match to that. The underlaying memcmp() function
12875 values than -1, 0 and 1. For example on architectures where it is
12876 implemented directly
12877 via a CPU instruction like on s390(x) where I can see -2 as a result
12881 https://bugzilla.gnome.org/show_bug.cgi?id=690837
12883 tests/test_gi.py | 4 ++--
12884 1 file changed, 2 insertions(+), 2 deletions(-)
12886 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
12887 Author: Jonathan Ballet <jon@multani.info>
12888 Date: Thu Dec 27 16:04:51 2012 +0100
12890 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
12892 The length argument is the size of the buffer in bytes, not in
12895 https://bugzilla.gnome.org/show_bug.cgi?id=690329
12897 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12899 gi/overrides/Gtk.py | 2 +-
12900 tests/test_overrides_gtk.py | 7 +++++++
12901 2 files changed, 8 insertions(+), 1 deletion(-)
12903 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
12904 Author: Mike Gorse <mgorse@suse.com>
12905 Date: Wed Dec 19 20:51:03 2012 -0500
12907 Don't dup strings before passing them to type registration functions
12909 Strings passed to g_enum_register_static and g_flags_register_static
12911 eventually passed to g_quark_from_string, which dups the string
12913 needed and does not take ownership of it, so passing in a
12914 dynamically-allocated
12915 string without freeing it results in a small leak.
12917 https://bugzilla.gnome.org/show_bug.cgi?id=690532
12919 gi/gimodule.c | 2 --
12920 1 file changed, 2 deletions(-)
12922 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
12923 Author: Carlos Garnacho <carlos@lanedo.com>
12924 Date: Tue Dec 18 22:47:09 2012 +0100
12926 Fix marshalling of arrays of boxed struct values
12928 This fixes methods like gtk_selection_set_with_data(). In such cases
12929 data is passed as an array of struct pointers, so it must be converted
12930 to an array of structs.
12932 https://bugzilla.gnome.org/show_bug.cgi?id=656312
12934 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12936 gi/pygi-marshal-from-py.c | 6 ++++++
12937 tests/test_gi.py | 12 ++++++++++++
12938 2 files changed, 18 insertions(+)
12940 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
12941 Author: Simon Feltman <sfeltman@src.gnome.org>
12942 Date: Tue Dec 18 02:03:41 2012 -0800
12944 Add reference counting tests for Object.bind_property
12946 Add tests which ensure transform callbacks and user_data
12947 are propertly ref-counted.
12949 https://bugzilla.gnome.org/show_bug.cgi?id=690397
12951 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
12952 1 file changed, 36 insertions(+), 4 deletions(-)
12954 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
12955 Author: Martin Pitt <martinpitt@gnome.org>
12956 Date: Tue Dec 18 11:43:04 2012 +0100
12958 testhelpermodule.c: Do not unref called method
12960 In _wrap_test_gerror_exception(), do not unref the method
12962 causes a crash when being run with the stricter refcounting/memory
12964 debug-enabled Python builds.
12966 tests/testhelpermodule.c | 1 -
12967 1 file changed, 1 deletion(-)
12969 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
12970 Author: Martin Pitt <martinpitt@gnome.org>
12971 Date: Mon Dec 17 23:20:50 2012 +0100
12973 configure.ac: post-release bump to 3.7.4
12975 configure.ac | 2 +-
12976 1 file changed, 1 insertion(+), 1 deletion(-)
12978 commit 061b23d14386c0e54d2c3af113554231bbe85f16
12979 Author: Martin Pitt <martinpitt@gnome.org>
12980 Date: Mon Dec 17 23:18:31 2012 +0100
12984 NEWS | 19 +++++++++++++++++++
12985 1 file changed, 19 insertions(+)
12987 commit a242f02823a63c9dca5d0b1ce84b031221053690
12988 Author: Martin Pitt <martinpitt@gnome.org>
12989 Date: Mon Dec 17 23:11:29 2012 +0100
12991 Add (failing) tests for callbacks with out arguments
12993 Most of these fail and need marshalling fixes.
12995 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
12996 1 file changed, 36 insertions(+)
12998 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
12999 Author: Martin Pitt <martinpitt@gnome.org>
13000 Date: Mon Dec 17 22:50:59 2012 +0100
13002 Add tests for internal API
13004 These cover functions like pygobject_new(), pyg_value_from_pyobject()
13006 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
13008 functions can be tested in isolation without the whole GI stack
13011 tests/Makefile.am | 1 +
13012 tests/test_internal_api.py | 73
13013 ++++++++++++++++++++++++++++++++++++++++++++++
13014 2 files changed, 74 insertions(+)
13016 commit e44312139426f51e576ef9e880819542cc224383
13017 Author: Martin Pitt <martinpitt@gnome.org>
13018 Date: Mon Dec 17 18:02:15 2012 +0100
13020 Add support for caller-allocated GArray out arguments
13022 https://bugzilla.gnome.org/show_bug.cgi?id=690041
13024 gi/pygi-cache.c | 2 +-
13025 gi/pygi-invoke.c | 57
13026 ++++++++++++++++++++++++++++++--------------------------
13027 tests/test_gi.py | 5 +++--
13028 3 files changed, 35 insertions(+), 29 deletions(-)
13030 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
13031 Author: Martin Pitt <martinpitt@gnome.org>
13032 Date: Mon Dec 17 16:18:24 2012 +0100
13034 Add (failing) test for caller-allocated GArray return value
13036 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
13038 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
13040 The test is failing and causing a segfault right now, so disable it
13044 tests/test_gi.py | 4 ++++
13045 1 file changed, 4 insertions(+)
13047 commit 1cb4c30c3cf19690210010d39b6272965f489c58
13048 Author: Martin Pitt <martinpitt@gnome.org>
13049 Date: Mon Dec 17 15:56:44 2012 +0100
13051 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
13053 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
13055 available, but fall back to GLib.unix_signal_add_full() until we
13059 gi/overrides/GLib.py | 8 ++++++--
13060 1 file changed, 6 insertions(+), 2 deletions(-)
13062 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
13063 Author: Martin Pitt <martinpitt@gnome.org>
13064 Date: Fri Nov 30 14:17:18 2012 +0100
13066 Re-support calling GLib.io_add_watch with an fd or Python file
13068 This does not strictly adhere to the GLib API, but it's very
13070 unlike the other modes, does not change the number or order of
13072 let's keep support for this and drop the deprecation warning.
13074 gi/overrides/GLib.py | 9 +++------
13075 1 file changed, 3 insertions(+), 6 deletions(-)
13077 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
13078 Author: Martin Pitt <martinpitt@gnome.org>
13079 Date: Fri Nov 30 09:04:20 2012 +0100
13081 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
13083 Use a longer timeout to avoid races on slow architectures, and cut
13085 loop as soon as we received all expected events.
13087 tests/test_glib.py | 5 ++++-
13088 1 file changed, 4 insertions(+), 1 deletion(-)
13090 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
13091 Author: Martin Pitt <martinpitt@gnome.org>
13092 Date: Fri Nov 30 08:44:56 2012 +0100
13094 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
13096 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
13098 unavailable monitor backends in the test environment) to fail
13101 tests/test_overrides_gtk.py | 12 +++++++++---
13102 1 file changed, 9 insertions(+), 3 deletions(-)
13104 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
13105 Author: Martin Pitt <martinpitt@gnome.org>
13106 Date: Thu Nov 29 16:45:49 2012 +0100
13108 pygtkcompat: Work around IndexError on large flags
13110 On 32 bit systems pygtkcompat currently fails with
13112 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
13113 name = flag.value_names[-1].replace(modname + '_', '')
13114 IndexError: cannot fit 'int' into an index-sized integer
13116 on 32 bit systems as some flags in Gdk are too large to fit into a
13118 "long". Work around this crash until this gets fixed properly
13122 pygtkcompat/pygtkcompat.py | 7 ++++++-
13123 1 file changed, 6 insertions(+), 1 deletion(-)
13125 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
13126 Author: Martin Pitt <martinpitt@gnome.org>
13127 Date: Thu Nov 29 14:11:29 2012 +0100
13129 Fix pyg_value_from_pyobject() range check for uint
13131 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
13133 this overflows large uints. Use PyLong_AsLongLong() separately to
13135 negative values, and PyLong_AsUnsignedLong() for the actual
13138 gi/_gobject/pygtype.c | 12 ++++++++----
13139 1 file changed, 8 insertions(+), 4 deletions(-)
13141 commit 05d767a602571805e80099f1db47ad4164575c53
13142 Author: Martin Pitt <martinpitt@gnome.org>
13143 Date: Thu Nov 29 13:30:56 2012 +0100
13145 Fix tests to work with g-i 1.34.2
13147 Do not try to call GIMarshallingTests API which isn't present
13149 against g-i 1.34.2. This can be dropped when the g-i dependency gets
13153 tests/test_gi.py | 8 +++++---
13154 1 file changed, 5 insertions(+), 3 deletions(-)
13156 commit a107c928ef85b4e3b9075a408774b74879586029
13157 Author: Martin Pitt <martinpitt@gnome.org>
13158 Date: Thu Nov 29 13:13:14 2012 +0100
13160 Fix wrong refcount for GVariant property defaults
13162 Drop the bogus DECREF for the GVariant default argument, as we need
13164 around in the class. Otherwise the refcount drops to zero, and
13166 garbage collection run causes segfaults.
13168 https://bugzilla.gnome.org/show_bug.cgi?id=689267
13170 gi/_gobject/gobjectmodule.c | 1 -
13171 1 file changed, 1 deletion(-)
13173 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
13174 Author: Martin Pitt <martinpitt@gnome.org>
13175 Date: Thu Nov 29 11:44:22 2012 +0100
13177 test_gi: Fix TestFilename failure under C locale
13179 tests/test_gi.py | 1 +
13180 1 file changed, 1 insertion(+)
13182 commit 37ab227555ba8628b4fa99aa286bd046208745ed
13183 Author: Martin Pitt <martinpitt@gnome.org>
13184 Date: Thu Nov 29 11:16:26 2012 +0100
13186 Fix array arguments on 32 bit
13188 In _pygi_argument_from_object() we never put the actual element
13190 constructed array. The array contains GIArguments, or bytes in the
13192 passing a string as an array.
13194 This happened to work on 64 bit machines where GIArgument and char*
13196 same size, but not on 32 bit machines
13197 (test_gi.TestPropertiesObject.test_strv
13200 gi/pygi-argument.c | 6 +++++-
13201 1 file changed, 5 insertions(+), 1 deletion(-)
13203 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
13204 Author: Martin Pitt <martinpitt@gnome.org>
13205 Date: Thu Nov 29 10:20:27 2012 +0100
13207 test_gi: Disable failing check in test_module_name()
13209 When calling this under some conditions, such as
13211 TEST_NAMES='test_thread test_gi.TestOverrides'
13213 then the module name of GObject.InitiallyUnowned comes out as
13214 "importlib._bootstrap" instead of "gi.repository.GObject". To be
13216 Add a couple of other tests to ensure that it is not broken in
13219 tests/test_gi.py | 10 +++++++++-
13220 1 file changed, 9 insertions(+), 1 deletion(-)
13222 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
13223 Author: Martin Pitt <martinpitt@gnome.org>
13224 Date: Thu Nov 29 09:40:32 2012 +0100
13226 test_gdbus: Drop failure if timeout=0 works differently
13228 In some test environments we do not actually get a timeout exceptions
13230 timeout=0, but a different error message. So only ensure that we
13234 tests/test_gdbus.py | 4 +++-
13235 1 file changed, 3 insertions(+), 1 deletion(-)
13237 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
13238 Author: Martin Pitt <martinpitt@gnome.org>
13239 Date: Thu Nov 29 09:29:05 2012 +0100
13241 test_glib: Drop some assumptions about XDG dirs
13243 Some directories do not exist in minimal test environments, and this
13245 important for testing that calling these GLib functions works.
13247 tests/test_glib.py | 8 +++++---
13248 1 file changed, 5 insertions(+), 3 deletions(-)
13250 commit e45c690bc83b6d513887649de88965a9752e316d
13251 Author: Martin Pitt <martinpitt@gnome.org>
13252 Date: Wed Nov 28 12:20:31 2012 +0100
13254 Add backwards compatible API for GLib.unix_signal_add_full()
13256 This was renamed to GLib.unix_signal_add() in
13257 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
13259 Provide a backwards compatible shim with a deprecation message.
13261 gi/overrides/GLib.py | 10 ++++++++++
13262 1 file changed, 10 insertions(+)
13264 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
13265 Author: Martin Pitt <martinpitt@gnome.org>
13266 Date: Mon Nov 26 08:11:36 2012 +0100
13268 Drop MININT64/MAXUINT64 workaround
13270 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
13272 properly now. Drop the workaround in the overrides to manually
13276 gi/overrides/GLib.py | 7 -------
13277 1 file changed, 7 deletions(-)
13279 commit d16604f64d25d18409270d7537fc993113b65c19
13280 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
13281 Date: Fri Nov 23 19:57:56 2012 +0200
13283 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
13285 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
13286 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
13287 warnings even tough values are valid.
13289 https://bugzilla.gnome.org/show_bug.cgi?id=688949
13291 gi/_gobject/propertyhelper.py | 6 +++---
13292 tests/test_properties.py | 11 ++++-------
13293 2 files changed, 7 insertions(+), 10 deletions(-)
13295 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
13296 Author: Martin Pitt <martinpitt@gnome.org>
13297 Date: Wed Nov 21 12:58:07 2012 +0100
13299 Test virtual methods with in and out arguments
13301 ... and both caller and callee out argument allocation.
13303 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
13305 tests/test_gi.py | 13 +++++++++++++
13306 1 file changed, 13 insertions(+)
13308 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
13309 Author: Martin Pitt <martinpitt@gnome.org>
13310 Date: Tue Nov 20 07:00:44 2012 +0100
13312 Ship pygi-convert.sh in tarballs
13314 https://bugzilla.gnome.org/show_bug.cgi?id=688697
13317 1 file changed, 1 insertion(+)
13319 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
13320 Author: Martin Pitt <martinpitt@gnome.org>
13321 Date: Mon Nov 19 15:25:38 2012 +0100
13323 Post-release version bump to 3.7.3
13325 configure.ac | 2 +-
13326 1 file changed, 1 insertion(+), 1 deletion(-)
13328 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
13329 Author: Martin Pitt <martinpitt@gnome.org>
13330 Date: Mon Nov 19 15:13:28 2012 +0100
13334 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
13335 1 file changed, 47 insertions(+)
13337 commit 29dc7425dd7584411b52ef07b50f929ed119a000
13338 Author: Martin Pitt <martinpitt@gnome.org>
13339 Date: Mon Nov 19 14:37:02 2012 +0100
13343 Commit e617f76e forgot to rename the file in EXTRA_DIST
13345 tests/Makefile.am | 2 +-
13346 1 file changed, 1 insertion(+), 1 deletion(-)
13348 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
13349 Author: Martin Pitt <martinpitt@gnome.org>
13350 Date: Mon Nov 19 14:34:13 2012 +0100
13352 tests: Fix unicode vs. str issues in Python 2
13354 Some of the tests assumed a system default encoding of UTF-8, which
13356 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
13359 tests/test_gi.py | 8 ++++----
13360 tests/test_iochannel.py | 16 +++++++++-------
13361 2 files changed, 13 insertions(+), 11 deletions(-)
13363 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
13364 Author: Martin Pitt <martinpitt@gnome.org>
13365 Date: Mon Nov 19 14:20:56 2012 +0100
13367 tests: Fix previous commit to fail properly on test failures
13369 tests/Makefile.am | 2 +-
13370 1 file changed, 1 insertion(+), 1 deletion(-)
13372 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
13373 Author: Martin Pitt <martinpitt@gnome.org>
13374 Date: Mon Nov 19 14:09:14 2012 +0100
13376 tests: Run pygtkcompat tests separately
13378 pygtkcompat changes the global namespace, in particular patching
13380 overrides. Run the tests in a separate process so that the main
13382 potentially affected by the pygtkcompat test.
13384 runtests.py runs all tests/test_*.py by default, so rename to
13385 compat_test_pygtk.py and run that explicitly after successfully
13389 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
13391 tests/Makefile.am | 3 +++
13392 tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0
13393 2 files changed, 3 insertions(+)
13395 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
13396 Author: Simon Feltman <sfeltman@src.gnome.org>
13397 Date: Thu Nov 15 02:51:52 2012 -0800
13399 Move pygtkcompat into sibling package of gi
13401 Move the pygtkcompat module out of the gi package and into
13402 a sibling package as follows:
13408 This allows for pygtkcompat to grow without affecting the gi package.
13409 Add deprecation message to gi/pygtkcompat.py
13411 https://bugzilla.gnome.org/show_bug.cgi?id=688219
13415 gi/pygtkcompat.py | 524
13416 +++------------------------------------------
13417 pygtkcompat/Makefile.am | 15 ++
13418 pygtkcompat/__init__.py | 20 ++
13419 pygtkcompat/pygtkcompat.py | 501
13420 +++++++++++++++++++++++++++++++++++++++++++
13421 tests/test_pygtkcompat.py | 6 +-
13422 7 files changed, 565 insertions(+), 504 deletions(-)
13424 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
13425 Author: Martin Pitt <martinpitt@gnome.org>
13426 Date: Mon Nov 19 13:59:20 2012 +0100
13428 Bump g-i dependency to >= 1.34.2
13430 We need this for updated GLib annotations and new test API.
13432 configure.ac | 2 +-
13433 1 file changed, 1 insertion(+), 1 deletion(-)
13435 commit f6c994c76cd8010460b76bf455e1a341348d735b
13436 Author: Martin Pitt <martinpitt@gnome.org>
13437 Date: Mon Nov 19 10:39:26 2012 +0100
13439 test_gi: Fix failing tests with g-i 1.34.x
13441 Skip tests which require g-i test API from 1.35.x when building
13445 tests/test_gi.py | 6 ++++++
13446 1 file changed, 6 insertions(+)
13448 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
13449 Author: Martin Pitt <martinpitt@gnome.org>
13450 Date: Wed Nov 14 11:57:21 2012 +0100
13452 test_gi: Add tests for type "filename"
13454 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
13455 1 file changed, 30 insertions(+)
13457 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
13458 Author: Martin Pitt <martinpitt@gnome.org>
13459 Date: Wed Nov 14 11:09:33 2012 +0100
13461 Drop foreign GVariant registration/support
13463 This is dead code. We have tests for GVariant in and out method
13465 callback arguments and return values, properties, etc to ensure that
13469 gi/Makefile.am | 2 --
13470 gi/pygi-foreign-gvariant.c | 63
13471 ----------------------------------------------
13472 gi/pygi-foreign-gvariant.h | 41 ------------------------------
13473 gi/pygi-foreign.c | 8 +-----
13474 4 files changed, 1 insertion(+), 113 deletions(-)
13476 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
13477 Author: Martin Pitt <martinpitt@gnome.org>
13478 Date: Wed Nov 14 10:33:24 2012 +0100
13480 test_properties.py: Fix PEP-8 errors
13482 tests/test_properties.py | 3 +--
13483 1 file changed, 1 insertion(+), 2 deletions(-)
13485 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
13486 Author: Martin Pitt <martinpitt@gnome.org>
13487 Date: Wed Nov 14 10:14:36 2012 +0100
13489 Add support for GVariant properties defined in Python
13491 gi/_gobject/gobjectmodule.c | 13 +++++++
13492 gi/_gobject/propertyhelper.py | 11 ++++--
13493 tests/test_properties.py | 81
13494 +++++++++++++++++++++++++++++++++++++------
13495 3 files changed, 91 insertions(+), 14 deletions(-)
13497 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
13498 Author: Martin Pitt <martinpitt@gnome.org>
13499 Date: Wed Nov 14 09:33:43 2012 +0100
13501 pyg_value_from_pyobject(): Simplify GVariant type check
13503 Use pyg_type_from_object_strict() instead of the much more expensive
13505 pyg_get_gvariant_type().
13507 gi/_gobject/pygtype.c | 23 +----------------------
13508 1 file changed, 1 insertion(+), 22 deletions(-)
13510 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
13511 Author: Martin Pitt <martinpitt@gnome.org>
13512 Date: Wed Nov 14 09:27:42 2012 +0100
13514 test_everything: Add test for callback returning wrong type
13516 This covers the "expected a GVariant, got something else" check in
13517 pyg_value_from_pyobject().
13519 tests/test_everything.py | 16 ++++++++++++++++
13520 1 file changed, 16 insertions(+)
13522 commit 84db7109dfbaf443758a5a4871ee385686d2703d
13523 Author: Martin Pitt <martinpitt@gnome.org>
13524 Date: Wed Nov 14 08:42:53 2012 +0100
13526 Add type checking to GVariant argument assignment
13528 gi/pygi-argument.c | 7 ++++++-
13529 tests/test_gi.py | 5 ++---
13530 2 files changed, 8 insertions(+), 4 deletions(-)
13532 commit e944caf5ff53143a98dd4a5578530996358013ec
13533 Author: Martin Pitt <martinpitt@gnome.org>
13534 Date: Wed Nov 14 08:22:35 2012 +0100
13536 Add support for GVariant properties defined in C
13538 Note that trying to assign a non-GVariant value to a GVariant property
13541 gi/pygi-property.c | 6 +++++-
13542 tests/test_gi.py | 21 +++++++++++++++++++++
13543 2 files changed, 26 insertions(+), 1 deletion(-)
13545 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
13546 Author: Martin Pitt <martinpitt@gnome.org>
13547 Date: Wed Nov 14 07:09:58 2012 +0100
13549 test_unknown.py: Check property interface
13551 NB that the property implementation in test-unknown.c does not
13553 anything, we just want to assert that the properties are properly
13556 tests/test_unknown.py | 10 ++++++++++
13557 1 file changed, 10 insertions(+)
13559 commit 9d7771affcf788d251cced65da56fc2773a278b3
13560 Author: Martin Pitt <martinpitt@gnome.org>
13561 Date: Wed Nov 14 07:01:24 2012 +0100
13563 Fix previous commit for Python 2
13565 gi/pygi-foreign-cairo.c | 2 +-
13566 1 file changed, 1 insertion(+), 1 deletion(-)
13568 commit 997d4e70b2793039d916acf8921087576622152e
13569 Author: Martin Pitt <martinpitt@gnome.org>
13570 Date: Wed Nov 14 06:57:04 2012 +0100
13572 pygi-foreign-cairo.c: Use official py3cairo API
13574 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
13576 instead of our own code.
13578 gi/pygi-foreign-cairo.c | 4 ++--
13579 1 file changed, 2 insertions(+), 2 deletions(-)
13581 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
13582 Author: Martin Pitt <martinpitt@gnome.org>
13583 Date: Wed Nov 14 06:47:23 2012 +0100
13585 Drop dead code from pygi-callbacks.[hc]
13587 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
13589 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
13591 there, and drop pygi-callbacks.[hc] completely.
13593 gi/Makefile.am | 2 -
13594 gi/pygi-callbacks.c | 217
13595 ----------------------------------------------
13596 gi/pygi-callbacks.h | 48 ----------
13597 gi/pygi-marshal-from-py.c | 44 ++++++++++
13598 gi/pygi-private.h | 1 -
13599 5 files changed, 44 insertions(+), 268 deletions(-)
13601 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
13602 Author: Carlos Garnacho <carlos@lanedo.com>
13603 Date: Tue Nov 13 18:24:28 2012 +0100
13605 Fix marshalling of arrays of struct pointers to Python
13607 Fill in the pointer to the struct, not the pointer to the
13608 array position. This makes the GdkAtom** argument in
13609 gtk_clipboard_wait_for_targets() work.
13611 https://bugzilla.gnome.org/show_bug.cgi?id=678620
13613 gi/pygi-marshal-to-py.c | 5 ++++-
13614 1 file changed, 4 insertions(+), 1 deletion(-)
13616 commit fc021516552b1720bacc4afe6b7a610c413194c4
13617 Author: Martin Pitt <martinpitt@gnome.org>
13618 Date: Wed Nov 14 06:27:17 2012 +0100
13620 test_atoms.py: Add test for out array
13622 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
13624 tests/test_atoms.py | 19 +++++++++++++++++++
13625 1 file changed, 19 insertions(+)
13627 commit e2790d22610aae773635d4caef2458082a307283
13628 Author: Martin Pitt <martinpitt@gnome.org>
13629 Date: Tue Nov 13 16:38:36 2012 +0100
13631 Fix Gdk.Atom str()/repr() fallback
13633 Fix regression in commit 6713618: If an atom does not have a name,
13635 recursively call our own str()/repr() methods, but just print
13636 "Gdk.Atom<atom_id>".
13638 gi/overrides/Gdk.py | 6 ++++--
13639 1 file changed, 4 insertions(+), 2 deletions(-)
13641 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
13642 Author: Martin Pitt <martinpitt@gnome.org>
13643 Date: Tue Nov 13 13:16:14 2012 +0100
13645 test_gi: Stop using GLib.bytes.unref_to_array()
13647 This method isn't safe for GI, and should be (skip)ed. Use get_data()
13649 which is safe and works fine.
13651 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
13653 tests/test_gi.py | 6 ------
13654 1 file changed, 6 deletions(-)
13656 commit 671361841de797ef62b59d1d7568fc3d431898c7
13657 Author: Martin Pitt <martinpitt@gnome.org>
13658 Date: Tue Nov 13 12:56:11 2012 +0100
13660 Fix Gdk.Atom to have a proper str() and repr()
13662 Gdk.Atom is not proper GType'd class, so we cannot override the
13664 Just override its __str__() and __repr__() methods so that printing
13666 something sensible. For nameless/invalid atoms, fall back to the old
13667 <void at 0xdeadbeef> output to help with debugging.
13669 https://bugzilla.gnome.org/show_bug.cgi?id=678620
13671 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
13672 tests/test_atoms.py | 12 ++++++++++++
13673 2 files changed, 33 insertions(+)
13675 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
13676 Author: Simon Feltman <sfeltman@src.gnome.org>
13677 Date: Tue Nov 13 02:53:34 2012 -0800
13679 Make sure g_value_set_boxed does not cause a buffer overrun with
13682 Add NULL terminator to gchar** passed to g_value_set_boxed to
13683 make sure it does not overrun memory in pygi_set_property_value_real.
13684 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
13687 https://bugzilla.gnome.org/show_bug.cgi?id=688232
13689 gi/pygi-property.c | 8 ++++++--
13690 tests/Makefile.am | 1 +
13691 2 files changed, 7 insertions(+), 2 deletions(-)
13693 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
13694 Author: Martin Pitt <martinpitt@gnome.org>
13695 Date: Mon Nov 12 08:35:28 2012 +0100
13697 types.py: Fix PEP-8 violation
13700 1 file changed, 1 insertion(+), 1 deletion(-)
13702 commit df589458358d7e7bf178dff4e6ad937a70f806e3
13703 Author: Simon Feltman <sfeltman@src.gnome.org>
13704 Date: Sun Nov 11 22:26:19 2012 -0800
13706 Fix leaks with GValues holding boxed and object types
13708 Expose read access to PyGIBoxed.free_on_dealloc.
13709 Add GObject.Value.__del__ override and call unset() to
13710 correctly free reference counts.
13712 https://bugzilla.gnome.org/show_bug.cgi?id=688137
13714 gi/overrides/GObject.py | 9 +++++++++
13715 gi/pygi-boxed.c | 12 ++++++++++++
13716 tests/test_gi.py | 2 --
13717 3 files changed, 21 insertions(+), 2 deletions(-)
13719 commit c01c95b9fb3d726385efac945f6d1270ae65d109
13720 Author: Simon Feltman <sfeltman@src.gnome.org>
13721 Date: Sun Nov 11 19:46:15 2012 -0800
13723 Add expectantly failing unittests for GValue boxed/object leaks
13725 https://bugzilla.gnome.org/show_bug.cgi?id=688137
13727 tests/test_gi.py | 80
13728 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13729 1 file changed, 80 insertions(+)
13731 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
13732 Author: Simon Feltman <s.feltman@gmail.com>
13733 Date: Thu Aug 16 15:09:08 2012 -0700
13735 Add doc strings showing method signatures for gi methods
13737 Add signature based doc string to all methods pulled in from
13738 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
13739 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
13740 icon_area:cairo.RectangleInt
13742 https://bugzilla.gnome.org/show_bug.cgi?id=681967
13744 gi/overrides/GIMarshallingTests.py | 1 +
13745 gi/pygi-info.c | 103
13746 +++++++++++++++++++++++++++++++++----
13747 gi/pygi-type.c | 60 +++++++++++++++++++++
13748 gi/pygi-type.h | 1 +
13750 ++++++++++++++++++++++++++-------
13751 tests/test_gi.py | 30 +++++++++++
13752 6 files changed, 259 insertions(+), 28 deletions(-)
13754 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
13755 Author: Simon Feltman <sfeltman@src.gnome.org>
13756 Date: Fri Nov 9 19:17:03 2012 -0800
13758 Set Property instance doc string and blurb to getter doc string
13760 Assign Property getter __doc__ strings or explicit blurb parameters
13761 to the Property instances __doc__ attribute. This clobbers the
13762 default Property classes lengthy and unhelpful doc string in the case
13765 https://bugzilla.gnome.org/show_bug.cgi?id=688025
13767 gi/_gobject/propertyhelper.py | 10 +++++++---
13768 tests/test_properties.py | 14 ++++++++++----
13769 2 files changed, 17 insertions(+), 7 deletions(-)
13771 commit c5343d329ebb452d97afac30e4120ebab8477556
13772 Author: Martin Pitt <martinpitt@gnome.org>
13773 Date: Mon Nov 12 07:47:02 2012 +0100
13775 tests: Fix for Python 2
13777 Add quirks for Python 2's string handling, and disable the
13778 Everything.test_array_gint8_in() as there seems to be no way of
13782 tests/test_everything.py | 7 +++++--
13783 1 file changed, 5 insertions(+), 2 deletions(-)
13785 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
13786 Author: Martin Pitt <martinpitt@gnome.org>
13787 Date: Sat Nov 10 15:52:15 2012 +0100
13789 test_everything: Add tests for more Regress data and container types
13791 Add more tests for Regress' data and container type test API.
13793 This detects a number of bugs, which have been marked as expected
13795 disabled completely for the cases where they cause crashes:
13797 * unsigned enums with values >= 0x80000000 do not work
13798 * nested ghashes in return values do not work
13799 * array length arguments in callbacks are passed instead of
13802 tests/test_everything.py | 156
13803 ++++++++++++++++++++++++++++++++++++++++++++++-
13804 1 file changed, 154 insertions(+), 2 deletions(-)
13806 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
13807 Author: Martin Pitt <martinpitt@gnome.org>
13808 Date: Fri Nov 9 18:45:22 2012 +0100
13810 test_everything: Add tests for Regress type tests
13812 Add tests for all the data type handling tests of g-i's Regress
13815 tests/test_everything.py | 183
13816 +++++++++++++++++++++++++++++++++++++++++++++++
13817 1 file changed, 183 insertions(+)
13819 commit 0d7974396e8379b518403983d9d13629066680d7
13820 Author: Martin Pitt <martinpitt@gnome.org>
13821 Date: Fri Nov 9 18:44:50 2012 +0100
13823 Add GObject.G_MINSSIZE
13825 gi/_gobject/gobjectmodule.c | 1 +
13826 gi/overrides/GObject.py | 2 +-
13827 2 files changed, 2 insertions(+), 1 deletion(-)
13829 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
13830 Author: Martin Pitt <martinpitt@gnome.org>
13831 Date: Fri Nov 9 16:02:00 2012 +0100
13833 Fix marshalling of GByteArrays
13835 In _pygi_marshal_from_py_array(), set the array length after copying
13837 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
13839 will always come out as zero length.
13841 Enable the TestGByteArray.test_bytearray_none_in() test case as that
13844 gi/pygi-marshal-from-py.c | 1 +
13845 tests/test_gi.py | 3 +--
13846 2 files changed, 2 insertions(+), 2 deletions(-)
13848 commit fa568949c46dd4b537357f1af74d1f675294b760
13849 Author: Martin Pitt <martinpitt@gnome.org>
13850 Date: Fri Nov 9 15:23:37 2012 +0100
13852 Fix marshalling of ssize_t to smaller ints
13854 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
13855 TestArray.test_array_in test, so drop the expected failure.
13857 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
13858 tests/test_gi.py | 2 --
13859 2 files changed, 29 insertions(+), 3 deletions(-)
13861 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
13862 Author: Martin Pitt <martinpitt@gnome.org>
13863 Date: Fri Nov 9 09:37:00 2012 +0100
13865 test_gi: Enable GByteArray constructor tests
13867 GByteArray annotations have been fixed in GLib now, enable the
13870 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
13872 is the same as disabled_test_bytearray_none_in().
13874 tests/test_gi.py | 16 ++++------------
13875 1 file changed, 4 insertions(+), 12 deletions(-)
13877 commit e2c545896ab08b1f1885b502a8472db83f193d08
13878 Author: Martin Pitt <martinpitt@gnome.org>
13879 Date: Fri Nov 9 09:11:38 2012 +0100
13881 test_gi: Enable GBytes test cases
13883 GBytes annotations are fixed in GLib now, enable the test case and
13885 for g_bytes_new_take() and g_bytes_{compare,equal}().
13887 Please note that calling unref_to_array() on a GBytes object that
13889 ourselves currently causes a double free crash, so disable that part
13892 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
13893 1 file changed, 25 insertions(+), 5 deletions(-)
13895 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
13896 Author: Martin Pitt <martinpitt@gnome.org>
13897 Date: Fri Nov 9 08:26:29 2012 +0100
13899 test_gi: Add missing data type tests from GIMarshallingTests
13901 Add tests for types time_t, GBytes, GByteArray, and various variants
13903 around GValues, flags, enums, arrays, and boxed structs. This tests
13905 is provided by GIMarshallingTests, but which we did not cover yet.
13907 This detects a number of bugs in annotations and our
13908 marshalling. These have
13909 been marked as expected failure, or disabled completely for the
13911 they cause crashes.
13913 tests/test_gi.py | 152
13914 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
13915 1 file changed, 152 insertions(+)
13917 commit 0456d9c892b76ed79134230a4a8610a23c602964
13918 Author: Martin Pitt <martinpitt@gnome.org>
13919 Date: Fri Nov 9 06:44:46 2012 +0100
13921 autogen.sh: Only enable code coverage if lcov is installed
13923 Otherwise we break minimal build environments.
13925 autogen.sh | 8 +++++++-
13926 1 file changed, 7 insertions(+), 1 deletion(-)
13928 commit 76a3acebf73f930c541d0f30249f67d254f948ab
13929 Author: Martin Pitt <martinpitt@gnome.org>
13930 Date: Fri Nov 9 06:41:58 2012 +0100
13932 Lower autoconf dependency to 2.68 again
13934 configure.ac | 2 +-
13935 1 file changed, 1 insertion(+), 1 deletion(-)
13937 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
13938 Author: Martin Pitt <martinpitt@gnome.org>
13939 Date: Thu Nov 8 14:54:30 2012 +0100
13941 Add support for lcov code coverage
13943 Use gnome-common's new code coverage flags. Default to enabling
13945 in autogen.sh (but not for dist).
13947 To use this, run "make check-code-coverage" after building.
13952 configure.ac | 6 ++++++
13953 4 files changed, 10 insertions(+), 1 deletion(-)
13955 commit e46af4aba220cfaf4b84a9be847f3363da556993
13956 Author: Martin Pitt <martinpitt@gnome.org>
13957 Date: Wed Nov 7 17:14:22 2012 +0100
13959 Update documentation files
13961 Update AUTHORS to have the current maintainers.
13963 Update HACKING to drop Tomeu's GNOME login (this should be set in
13966 Update INSTALL to current upstream version.
13971 +++++++++++++++++++++++++++++++++++++++++++---------------------
13972 3 files changed, 267 insertions(+), 130 deletions(-)
13974 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
13975 Author: Martin Pitt <martinpitt@gnome.org>
13976 Date: Wed Nov 7 17:08:11 2012 +0100
13978 Quiesce automake output
13980 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
13982 existing symlinks on rebuilds.
13984 gi/Makefile.am | 2 +-
13985 gi/_glib/Makefile.am | 2 +-
13986 gi/_gobject/Makefile.am | 2 +-
13987 tests/Makefile.am | 6 +++---
13988 4 files changed, 6 insertions(+), 6 deletions(-)
13990 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
13991 Author: Martin Pitt <martinpitt@gnome.org>
13992 Date: Wed Nov 7 16:50:07 2012 +0100
13994 Drop unused variable, fail builds on those
13996 Build with -Werror=unused-variable, as these could hide programming
13998 incomplete refactoring, and are not platform dependent.
14000 Drop unused variable in pyg_type_add_interfaces().
14003 gi/_gobject/gobjectmodule.c | 1 -
14004 2 files changed, 1 insertion(+), 1 deletion(-)
14006 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
14007 Author: Martin Pitt <martinpitt@gnome.org>
14008 Date: Wed Nov 7 16:37:04 2012 +0100
14010 configure.ac: Drop maintainer mode, modernize libtool declarations
14012 Use all arguments of AC_INIT.
14014 AM_MAINTAINER_MODE is discouraged now, drop it.
14016 Use LT_PREREQ and LT_INIT for libtool initialization instead of
14020 See https://live.gnome.org/GnomeGoals/ModernAutotools
14022 configure.ac | 19 ++++++-------------
14023 1 file changed, 6 insertions(+), 13 deletions(-)
14025 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
14026 Author: Martin Pitt <martinpitt@gnome.org>
14027 Date: Wed Nov 7 16:21:13 2012 +0100
14029 autoupdate configure.ac
14031 Result of "autoupdate", with slight manual beautification.
14033 See https://live.gnome.org/GnomeGoals/ModernAutotools
14035 configure.ac | 21 +++++++++------------
14036 1 file changed, 9 insertions(+), 12 deletions(-)
14038 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
14039 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14040 Date: Mon Nov 5 14:26:05 2012 -0300
14042 pygi-convert: remove deprecated GLib → GObject conversions
14044 Using these functions from the GObject module is deprecated now,
14048 pygi-convert.sh | 5 -----
14049 1 file changed, 5 deletions(-)
14051 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
14052 Author: Simon Feltman <sfeltman@src.gnome.org>
14053 Date: Wed Nov 7 03:49:24 2012 -0800
14055 Use hasattr when testing for __info__ when finding vfuncs
14057 Change gi.types.find_vfunc_info_in_interface to use hasattr
14058 when finding vfuncs. Using '__info__' in __dict__ was skipping
14059 overridden interfaces which don't directly contain the __info__.
14062 1 file changed, 1 insertion(+), 1 deletion(-)
14064 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
14065 Author: Martin Pitt <martinpitt@gnome.org>
14066 Date: Wed Nov 7 12:05:24 2012 +0100
14068 tests: Ensure that the fatal mask is always reset
14070 On test case failures the fatal mask might be left in a wrong state,
14072 with "finally" that it is reset on failed tests as well, to avoid
14076 tests/test_gi.py | 11 ++++++-----
14077 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
14078 tests/test_pygtkcompat.py | 6 ++++--
14079 tests/test_signal.py | 6 ++++--
14080 4 files changed, 33 insertions(+), 23 deletions(-)
14082 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
14083 Author: Simon Feltman <sfeltman@src.gnome.org>
14084 Date: Tue Nov 6 21:34:06 2012 -0800
14086 Replace GObject notify methods with introspection and python
14088 Replace static context managers for freeze_notify and
14089 handler_block with python context managers. Remove notify,
14090 freeze_notify, thaw_notify static methods as the introspection
14091 versions work fine.
14093 https://bugzilla.gnome.org/show_bug.cgi?id=672727
14095 gi/_gobject/pygobject.c | 173
14096 ++----------------------------------------------
14097 gi/overrides/GObject.py | 61 +++++++++++++++--
14098 tests/test_gobject.py | 26 ++++++--
14099 tests/test_signal.py | 13 +++-
14100 4 files changed, 91 insertions(+), 182 deletions(-)
14102 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
14103 Author: Simon Feltman <sfeltman@src.gnome.org>
14104 Date: Tue Oct 23 13:56:32 2012 -0700
14106 Add support for overriding GObject.Object
14108 Shift pygi module mechanics so the introspection generated 'Object'
14109 class becomes derived from the static GObject class. Add initial
14110 GObject.Object override which sets all static methods back essentially
14111 leapfrogging the introspection methods. This sets the stage for having
14112 the ability to remove static methods piecemeal in favor of
14113 introspection/python in future commits.
14115 https://bugzilla.gnome.org/show_bug.cgi?id=672727
14117 gi/module.py | 30 +++++++++++---------
14118 gi/overrides/GObject.py | 74
14119 ++++++++++++++++++++++++++++++++++++++++++++++++
14120 gi/pygobject-external.h | 10 +------
14121 gi/types.py | 7 +++++
14122 tests/test_gobject.py | 31 ++++++++++++++++----
14123 tests/testhelpermodule.c | 2 +-
14124 6 files changed, 126 insertions(+), 28 deletions(-)
14126 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
14127 Author: Martin Pitt <martinpitt@gnome.org>
14128 Date: Tue Nov 6 13:55:21 2012 +0100
14130 Bump glib dependency to >= 2.34.2
14132 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
14136 configure.ac | 4 ++--
14137 2 files changed, 3 insertions(+), 3 deletions(-)
14139 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
14140 Author: Martin Pitt <martinpitt@gnome.org>
14141 Date: Tue Nov 6 11:28:42 2012 +0100
14145 Point to python-hackers-list instead of the old pygtk list, update
14147 versions, and point to wiki page and IRC.
14149 README | 19 ++++++++++---------
14150 1 file changed, 10 insertions(+), 9 deletions(-)
14152 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
14153 Author: Martin Pitt <martinpitt@gnome.org>
14154 Date: Tue Nov 6 11:21:32 2012 +0100
14156 Add --with-python configure option
14158 This behaves like setting $PYTHON, but also works in build systems
14160 which do not support setting environment variables.
14162 Update README accordingly.
14164 README | 15 +++++++++------
14165 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
14166 2 files changed, 43 insertions(+), 15 deletions(-)
14168 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
14169 Author: Martin Pitt <martinpitt@gnome.org>
14170 Date: Tue Nov 6 10:39:27 2012 +0100
14172 python.m4: Add python3.3, do not prefer unversioned "python"
14174 Add python 3.3 to the search list.
14176 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
14178 "python", so use that as last fallback if more specific versions do
14181 configure.ac | 2 +-
14182 m4/python.m4 | 2 +-
14183 2 files changed, 2 insertions(+), 2 deletions(-)
14185 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
14186 Author: Martin Pitt <martinpitt@gnome.org>
14187 Date: Tue Nov 6 09:48:50 2012 +0100
14189 m4: Update py-compile to current upstream version
14191 Update py-compile to current versions from automake 1.11.6.
14194 +++++++++++++++++++++++++++++++++++------------------------
14195 1 file changed, 48 insertions(+), 33 deletions(-)
14197 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
14198 Author: Martin Pitt <martinpitt@gnome.org>
14199 Date: Tue Nov 6 09:57:00 2012 +0100
14201 m4: Update introspection.m4 to current upstream version
14203 m4/introspection.m4 | 4 ++++
14204 1 file changed, 4 insertions(+)
14206 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
14207 Author: Martin Pitt <martinpitt@gnome.org>
14208 Date: Tue Nov 6 09:53:15 2012 +0100
14210 option.py: Fix PEP-8 error
14212 gi/_glib/option.py | 2 +-
14213 1 file changed, 1 insertion(+), 1 deletion(-)
14215 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
14216 Author: Simon Feltman <sfeltman@src.gnome.org>
14217 Date: Mon Nov 5 18:27:56 2012 -0800
14219 Remove DynamicGLibModule and DynamicGObjectModule
14221 Move final bits of _glib static binding imports directly into
14222 the GLib override. Change _glib/option use the .so directly
14223 rather than the staged variables in _glib/__init__.py.
14224 Remove DynamicGLibModule and DynamicGObjectModule and update
14227 https://bugzilla.gnome.org/show_bug.cgi?id=687488
14229 gi/_glib/__init__.py | 11 ----------
14230 gi/_glib/option.py | 16 +++++++-------
14231 gi/importer.py | 12 ++---------
14233 ----------------------------------------------------
14234 gi/overrides/GLib.py | 14 ++++++++++++
14235 tests/test_gi.py | 9 ++------
14236 6 files changed, 26 insertions(+), 96 deletions(-)
14238 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
14239 Author: Daniel Drake <dsd@laptop.org>
14240 Date: Thu Nov 1 14:46:22 2012 +0000
14242 Fix property lookup in class hierarchy
14244 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
14245 a Python subclass of a gi-provided base class overrides a property
14249 The new behaviour in the above commit causes pygobject to seek
14251 in the base class and try to read it from there (resulting in
14253 rather than noticing that the property is overridden and present
14255 Python object instance.
14257 To provide a nicer solution here, we can exploit the fact that
14258 g_object_class_find_property() will traverse the hierarchy in order to
14259 find the right GParamSpec, and the returned GParamSpec can tell
14261 which GType introduces the property. The strategy is:
14263 1. Find pspec with g_object_class_find_property()
14264 2. Find the class that owns that property (pspec->owner_type)
14265 3. See if girepository owns that class.
14266 3a. If yes, get property from there.
14267 3b. If not, get property "directly"
14269 And the same for property setting.
14271 Now that _pygi_lookup_property_from_g_type is always passed the
14273 implements the property, it no longer has to go recursing through
14275 classes, which was the original cause of confusion.
14277 https://bugzilla.gnome.org/show_bug.cgi?id=686942
14279 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
14280 gi/pygi-property.c | 130
14281 ++++++++++++++++++++++-------------------------
14282 gi/pygi-property.h | 4 +-
14283 gi/pygi.h | 12 ++---
14284 tests/test_properties.py | 30 +++++++++++
14285 5 files changed, 164 insertions(+), 104 deletions(-)
14287 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
14288 Author: Martin Pitt <martinpitt@gnome.org>
14289 Date: Sat Nov 3 16:14:01 2012 +0100
14291 Move property and signal creation into _class_init()
14293 We must not add class interfaces after g_type_class_ref() has been
14295 first time. Move signal and property creation from pyg_type_register()
14297 pyg_object_class_init(), and drop the hack of registering interfaces
14300 This changed class initialization order now exposes GLib's warning
14302 unknown signals, so adjust
14303 test_signal.TestGSignalsError.test_invalid_name() to
14306 https://bugzilla.gnome.org/show_bug.cgi?id=686149
14308 gi/_gobject/gobjectmodule.c | 177
14309 ++++++++++++++++++--------------------------
14310 tests/test_signal.py | 6 +-
14311 2 files changed, 75 insertions(+), 108 deletions(-)
14313 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
14314 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14315 Date: Sat Nov 3 13:21:52 2012 -0300
14317 Remove unused macro definitions
14319 PYGLIB_*_VERSION are not used anywhere any more, remove those.
14320 (dropped in commit 8d52bceb1)
14322 gi/_glib/glibmodule.c | 5 -----
14323 1 file changed, 5 deletions(-)
14325 commit fa054fd15b8874760bee97d9af168a2969e6ece4
14326 Author: Martin Pitt <martinpitt@gnome.org>
14327 Date: Mon Nov 5 14:38:07 2012 +0100
14329 testhelpermodule.c: Drop obsolete g_thread_init()
14331 We already require a new enough glib version as we dropped
14333 the main code a long time ago. But for formality's sake, bump glib
14337 configure.ac | 4 ++--
14338 tests/testhelpermodule.c | 1 -
14339 2 files changed, 2 insertions(+), 3 deletions(-)
14341 commit 2e57530a27a44e94927d487cf2f2d9e543777654
14342 Author: Martin Pitt <martinpitt@gnome.org>
14343 Date: Mon Nov 5 14:37:11 2012 +0100
14345 pygi-source.c: Drop dead code
14347 gi/pygi-source.c | 2 --
14348 1 file changed, 2 deletions(-)
14350 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
14351 Author: Simon Feltman <sfeltman@src.gnome.org>
14352 Date: Sun Nov 4 22:22:53 2012 -0800
14354 Move TYPE constants from _gobject to GObject
14356 Clear out TYPE constants from _gobject/__init__.py and move them
14358 GObject overrides. Disperse class imports among modules that use
14360 of using _gobject/__init__.py as a staging area (e.g. GInterface).
14362 https://bugzilla.gnome.org/show_bug.cgi?id=687487
14364 gi/_gobject/__init__.py | 30 ------------------------------
14365 gi/_gobject/constants.py | 2 +-
14366 gi/module.py | 38 +++++++++++++++++++++++++-------------
14367 gi/overrides/__init__.py | 9 ++++++---
14368 gi/types.py | 10 ++++++----
14369 5 files changed, 38 insertions(+), 51 deletions(-)
14371 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
14372 Author: Martin Pitt <martinpitt@gnome.org>
14373 Date: Mon Nov 5 13:10:05 2012 +0100
14375 Move G_MIN/MAX constants into GObject overrides
14377 These really ought to come from GLib's typelib, but are not right
14379 need to keep the static bindings for those. But drop them from
14381 move them into the overrides where they belong.
14383 gi/_gobject/__init__.py | 17 -----------------
14384 gi/_gobject/constants.py | 21 ---------------------
14385 gi/_gobject/propertyhelper.py | 2 +-
14386 gi/overrides/GObject.py | 9 +++++++++
14387 tests/test_gi.py | 32 ++++++++++++++++----------------
14388 5 files changed, 26 insertions(+), 55 deletions(-)
14390 commit 12b84727edc36f686a7031b5c4c6bf662838908d
14391 Author: Martin Pitt <martinpitt@gnome.org>
14392 Date: Mon Nov 5 11:04:54 2012 +0100
14394 Replace static OPTION_* constants with GI
14396 Drop static definitions of GLib.OPTION_* constants and use the ones
14400 https://bugzilla.gnome.org/show_bug.cgi?id=686765
14402 gi/_glib/__init__.py | 13 -------------
14403 gi/_glib/glibmodule.c | 32 --------------------------------
14404 gi/_glib/option.py | 46
14405 ++++++++++++++++++++++++----------------------
14406 gi/overrides/GLib.py | 13 +++++++++++++
14407 gi/overrides/GObject.py | 2 +-
14408 5 files changed, 38 insertions(+), 68 deletions(-)
14410 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
14411 Author: Martin Pitt <martinpitt@gnome.org>
14412 Date: Mon Nov 5 10:14:52 2012 +0100
14414 tests: Do not use deprecated assertRaisesRegexp()
14416 Use assertRaisesRegex() instead and provide 2.7 compatibility in
14419 tests/runtests.py | 3 +++
14420 tests/test_signal.py | 8 ++++----
14421 2 files changed, 7 insertions(+), 4 deletions(-)
14423 commit da2106902eb3dabebdff1674743cb3040566a745
14424 Author: Simon Feltman <sfeltman@src.gnome.org>
14425 Date: Sun Nov 4 02:57:29 2012 -0800
14427 Move gobject static functions and constants to gi
14429 Replace the following functions with gi and overrides:
14430 type_children, type_interfaces, signal_list_ids, signal_list_names,
14431 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
14432 PARAM_* from gi SignalFlags and ParamFlags respectively.
14433 Move module level assignments of a number of static functions to
14434 the GObject.py overrides file.
14436 https://bugzilla.gnome.org/show_bug.cgi?id=687487
14438 docs/reference/pygobject-functions.xml | 25 ---
14439 gi/_gobject/__init__.py | 72 +--------
14440 gi/_gobject/gobjectmodule.c | 272
14441 ---------------------------------
14442 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
14443 gi/overrides/__init__.py | 5 +-
14444 tests/test_signal.py | 11 +-
14445 6 files changed, 215 insertions(+), 378 deletions(-)
14447 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
14448 Author: Simon Feltman <sfeltman@src.gnome.org>
14449 Date: Sun Nov 4 02:52:19 2012 -0800
14451 Make unitests for gobject functions moving to gi more strict
14453 Add expected failure test for invalid SystemError's coming from
14454 signal_lookup and signal_list_ids. Remove excessive type_name
14455 tests and type_from_name tests.
14457 https://bugzilla.gnome.org/show_bug.cgi?id=687487
14459 tests/test_gtype.py | 53
14460 ----------------------------------------------------
14461 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
14462 2 files changed, 25 insertions(+), 68 deletions(-)
14464 commit 3267808318b284814e52f2803b17af56fca648ad
14465 Author: Martin Pitt <martinpitt@gnome.org>
14466 Date: Sat Nov 3 14:17:25 2012 +0100
14468 [API change] Remove static filename_from_utf8() binding
14470 Replace static GLib.filename_from_utf8() with GI. The old static
14472 tried to convert the result to an Unicode object, which will fail
14474 is not UTF-8 encoded (which is the whole point of this function
14478 Although the static binding was rather useless before, this is
14482 docs/reference/pyglib-functions.xml | 32 --------------------------------
14483 gi/_glib/__init__.py | 1 -
14484 gi/_glib/glibmodule.c | 26 --------------------------
14485 gi/_gobject/__init__.py | 1 -
14486 gi/overrides/GLib.py | 8 ++++++++
14487 gi/overrides/GObject.py | 3 ++-
14488 tests/test_glib.py | 8 ++++++++
14489 7 files changed, 18 insertions(+), 61 deletions(-)
14491 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
14492 Author: Martin Pitt <martinpitt@gnome.org>
14493 Date: Sat Nov 3 13:14:15 2012 +0100
14495 Drop static glib_version and pyglib_version constants
14497 Use the GLib version from GI instead, and the already existing
14500 docs/reference/pyglib-constants.xml | 50
14501 ----------------------------------
14502 docs/reference/pygobject-constants.xml | 19 -------------
14503 gi/_glib/__init__.py | 2 --
14504 gi/_glib/glibmodule.c | 21 --------------
14505 gi/_gobject/__init__.py | 1 -
14506 gi/overrides/GLib.py | 8 +++++-
14507 gi/overrides/GObject.py | 3 +-
14508 tests/test_glib.py | 12 ++++++++
14509 8 files changed, 21 insertions(+), 95 deletions(-)
14511 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
14512 Author: Martin Pitt <martinpitt@gnome.org>
14513 Date: Sat Nov 3 12:12:44 2012 +0100
14515 Drop static G_MININT8 and related constants
14517 Use the introspected constants from GLib instead.
14519 gi/_gobject/__init__.py | 12 ------------
14520 gi/_gobject/constants.py | 12 ------------
14521 gi/_gobject/gobjectmodule.c | 18 +-----------------
14522 gi/overrides/GObject.py | 17 +++++++++++++++++
14523 tests/test_gobject.py | 4 ++++
14524 5 files changed, 22 insertions(+), 41 deletions(-)
14526 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
14527 Author: Martin Pitt <martinpitt@gnome.org>
14528 Date: Sat Nov 3 11:58:40 2012 +0100
14530 test_gobject: Add test case for min/max int constants
14532 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
14534 tests/test_gobject.py | 9 +++++++++
14535 1 file changed, 9 insertions(+)
14537 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
14538 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14539 Date: Sat Oct 27 15:37:32 2012 -0300
14541 Use g_object_info_find_signal()
14543 Replace our custom code with a call to the corresponding
14544 gobject-instrospection
14547 https://bugzilla.gnome.org/show_bug.cgi?id=687371
14549 gi/pygi-signal-closure.c | 21 ++++-----------------
14550 1 file changed, 4 insertions(+), 17 deletions(-)
14552 commit ae6d0aada9587cd4dca168375527b80785b604a0
14553 Author: Martin Pitt <martinpitt@gnome.org>
14554 Date: Sat Nov 3 11:23:06 2012 +0100
14556 GLib overrides: code cleanup
14558 Factorize the logic to handle zero or multiple user_data arguments
14560 user_data_varargs_shim(), and put code that handles deprecated API
14562 corresponding "then" branches, to improve readability.
14564 gi/overrides/GLib.py | 87
14565 ++++++++++++++++++++++++++++------------------------
14566 1 file changed, 47 insertions(+), 40 deletions(-)
14568 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
14569 Author: Martin Pitt <martinpitt@gnome.org>
14570 Date: Sat Nov 3 09:33:08 2012 +0100
14572 Restore actual GLib API after previous fix
14574 Re-fix the acceptance of priority as first argument for idle_add(),
14575 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
14577 this keeps supporting the backwards compatible API with supplying
14581 https://bugzilla.gnome.org/show_bug.cgi?id=687047
14583 gi/overrides/GLib.py | 117
14584 +++++++++++++++++++++++++-----------------------
14585 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
14586 tests/test_source.py | 30 +++++++++++++
14587 3 files changed, 158 insertions(+), 63 deletions(-)
14589 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
14590 Author: Simon Feltman <sfeltman@src.gnome.org>
14591 Date: Fri Nov 2 21:01:38 2012 -0700
14593 Add unittests for module level type and signal functions
14595 Add tests for the following methods: signal_list_ids,
14596 signal_name, signal_lookup, signal_query, type_children,
14597 type_from_name, type_name, type_is_a, and type_interfaces.
14599 https://bugzilla.gnome.org/show_bug.cgi?id=687487
14601 tests/Makefile.am | 1 +
14602 tests/test_gtype.py | 106
14603 +++++++++++++++++++++++++++++++++++++++++++++++++++
14604 tests/test_signal.py | 43 +++++++++++++++++++++
14605 3 files changed, 150 insertions(+)
14607 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
14608 Author: Simon Feltman <sfeltman@src.gnome.org>
14609 Date: Tue Oct 30 18:33:44 2012 -0700
14611 Fix GLib override incompatibilities with old static API
14613 Change idle_add, timeout_add, timeout_add_seconds, and
14614 io_add_watch to accept *args and **kwargs as arguments
14615 to the callback functions instead of only accepting a single
14616 user_data arg. This ensures the new overridden introspection
14617 methods are backwards compatible with the static versions
14620 https://bugzilla.gnome.org/show_bug.cgi?id=687047
14622 gi/overrides/GLib.py | 98
14623 ++++++++++++++++++++++++++++---------------------
14624 tests/test_iochannel.py | 37 +++++++++++++++++--
14625 2 files changed, 90 insertions(+), 45 deletions(-)
14627 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
14628 Author: Simon Feltman <sfeltman@src.gnome.org>
14629 Date: Tue Oct 30 12:01:44 2012 -0700
14631 Fix IOChannel unittests for python 2.7
14633 Use __future__ unicode_literals to minimize difference
14634 between python 2.7 and 3. Comparisons need to encode arguments as
14635 'UTF-8' for testing readline operations.
14636 Add backwards compatible "next" to support the python 2.7 iteration.
14637 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
14638 support all python versions (and duck typing).
14640 https://bugzilla.gnome.org/show_bug.cgi?id=687047
14642 gi/overrides/GLib.py | 4 +++-
14643 tests/test_iochannel.py | 1 +
14644 2 files changed, 4 insertions(+), 1 deletion(-)
14646 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
14647 Author: Martin Pitt <martinpitt@gnome.org>
14648 Date: Mon Oct 29 23:00:31 2012 +0100
14650 Allow calling io_add_watch with a file object
14652 The old static bindings allowed that, so we need to allow it to
14654 backwards compatibility. Deprecate this mode as well, so that we
14658 https://bugzilla.gnome.org/show_bug.cgi?id=687047
14660 gi/overrides/GLib.py | 7 +++++++
14661 tests/test_glib.py | 26 ++++++++++++++++++++++++++
14662 2 files changed, 33 insertions(+)
14664 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
14665 Author: John Ralls <jralls@ceridwen.us>
14666 Date: Mon Oct 29 14:57:22 2012 -0700
14668 Fix duplicate symbols error on OSX
14670 gi/pygi-source.c | 1 +
14671 1 file changed, 1 insertion(+)
14673 commit 5a367aa067e369f2b1e713199614e3426fecc10e
14674 Author: Martin Pitt <martinpitt@gnome.org>
14675 Date: Sun Oct 28 17:42:34 2012 +0100
14677 Drop removed markup-escape-text() from reference documentation
14679 docs/reference/pyglib-functions.xml | 36
14680 ------------------------------------
14681 1 file changed, 36 deletions(-)
14683 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
14684 Author: Martin Pitt <martinpitt@gnome.org>
14685 Date: Sun Oct 28 17:41:03 2012 +0100
14687 Drop some dead code from gi/_glib/glibmodule.c
14689 gi/_glib/glibmodule.c | 45 ---------------------------------------------
14690 1 file changed, 45 deletions(-)
14692 commit 7b12803bce3418bb487127f497f022c973f35888
14693 Author: Martin Pitt <martinpitt@gnome.org>
14694 Date: Sun Oct 28 17:37:29 2012 +0100
14696 Remove static get_current_time() binding
14698 Use GLib.get_real_time() through GI instead. Deprecate the function,
14700 GLib.get_real_time() should be called directly.
14702 docs/reference/pyglib-functions.xml | 26 --------------------------
14703 gi/_glib/__init__.py | 1 -
14704 gi/_glib/glibmodule.c | 11 -----------
14705 gi/_glib/pyglib.c | 16 ----------------
14706 gi/_glib/pyglib.h | 1 -
14707 gi/_gobject/__init__.py | 1 -
14708 gi/overrides/GLib.py | 8 ++++++++
14709 gi/overrides/GObject.py | 2 +-
14710 tests/test_glib.py | 6 +++++-
14711 9 files changed, 14 insertions(+), 58 deletions(-)
14713 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
14714 Author: Martin Pitt <martinpitt@gnome.org>
14715 Date: Sun Oct 28 17:23:23 2012 +0100
14717 Add more tests for GLib.spawn_async()
14719 Check spawn_async() with getting stdin/out/err pipes and specifying
14722 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
14723 1 file changed, 29 insertions(+)
14725 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
14726 Author: Martin Pitt <martinpitt@gnome.org>
14727 Date: Sun Oct 28 14:15:05 2012 +0100
14729 Remove static child_add_watch() binding
14731 Use the GLib API through GI instead, and provide override to keep
14733 compatible API. Also allow using the actual GLib API, and deprecate
14735 static API of calling without a priority as first argument.
14737 docs/reference/pyglib-functions.xml | 61 ---------------------------
14738 gi/_glib/__init__.py | 1 -
14739 gi/_glib/glibmodule.c | 72 -------------------------------
14740 gi/_gobject/__init__.py | 1 -
14741 gi/overrides/GLib.py | 46 ++++++++++++++++++++
14742 gi/overrides/GObject.py | 2 +-
14743 tests/test_mainloop.py | 2 +-
14744 tests/test_subprocess.py | 84
14745 ++++++++++++++++++++++++++++++++++---
14746 8 files changed, 127 insertions(+), 142 deletions(-)
14748 commit 4b16427714b850e33c6020d8de1833bae19a3b87
14749 Author: Martin Pitt <martinpitt@gnome.org>
14750 Date: Sun Oct 28 13:44:23 2012 +0100
14752 test_subprocess: Cover more child_watch_add() cases
14754 Verify that priority is set correctly, and also test calling without
14757 tests/test_subprocess.py | 24 +++++++++++++++++++-----
14758 1 file changed, 19 insertions(+), 5 deletions(-)
14760 commit 83ff5938612d37d52f112867a472777dd6786d69
14761 Author: Colin Walters <walters@verbum.org>
14762 Date: Sat Oct 27 12:22:53 2012 -0400
14764 gi/__init__.py: Pacify pep8 style checker
14766 It was complaining about finding only 1 blank line. Regression
14767 likely introduced by f976d05b.
14769 https://bugzilla.gnome.org/show_bug.cgi?id=686991
14771 gi/__init__.py | 1 +
14772 1 file changed, 1 insertion(+)
14774 commit f976d05b04f26e733d19988e68989e340eb3a29e
14775 Author: Martin Pitt <martinpitt@gnome.org>
14776 Date: Fri Oct 26 10:39:28 2012 +0200
14778 Use a custom deprecation warning to make them visible by default
14780 DeprecationWarning is not shown by default, and is thus rather
14782 developers. Use a custom PyGIDeprecationWarning class and derive
14784 RuntimeWarning to make it visible.
14786 gi/__init__.py | 5 +++++
14787 gi/overrides/GLib.py | 5 +++--
14788 gi/overrides/Gtk.py | 5 +++--
14789 gi/overrides/__init__.py | 4 ++--
14790 gi/pygtkcompat.py | 4 ++--
14791 tests/Makefile.am | 2 +-
14792 tests/test_glib.py | 5 +++--
14793 tests/test_gobject.py | 3 ++-
14794 tests/test_iochannel.py | 5 +++--
14795 tests/test_source.py | 3 ++-
14796 10 files changed, 26 insertions(+), 15 deletions(-)
14798 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
14799 Author: Martin Pitt <martinpitt@gnome.org>
14800 Date: Fri Oct 26 09:26:17 2012 +0200
14802 Remove static io_add_watch() binding
14804 Use the GLib API through GI instead, and provide override to keep
14806 compatible API. Also allow using the actual GLib API, and deprecate
14809 - calling with an fd as first argument instead of an IOChannel
14810 - calling without a priority as second argument
14812 docs/reference/pyglib-functions.xml | 106
14813 ------------------------------------
14814 gi/_glib/__init__.py | 1 -
14815 gi/_glib/glibmodule.c | 98
14816 ---------------------------------
14817 gi/_gobject/__init__.py | 1 -
14818 gi/overrides/GLib.py | 51 ++++++++++++++---
14819 gi/overrides/GObject.py | 3 +-
14820 tests/test_glib.py | 15 ++++-
14821 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
14822 8 files changed, 126 insertions(+), 219 deletions(-)
14824 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
14825 Author: Martin Pitt <martinpitt@gnome.org>
14826 Date: Fri Oct 26 08:48:35 2012 +0200
14828 Add tests for GLib.io_add_watch()
14830 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
14831 1 file changed, 36 insertions(+)
14833 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
14834 Author: Martin Pitt <martinpitt@gnome.org>
14835 Date: Thu Oct 25 15:55:46 2012 +0200
14837 Remove static GIOChannel bindings
14839 Use the GLib API through GI instead, and provide overrides to keep
14841 compatible API, including its bugs.
14843 We still need to keep a static wrapper around
14844 g_io_channel_read_chars() until
14845 we teach PyGObject to correctly handle caller allocated out array
14848 https://bugzilla.gnome.org/show_bug.cgi?id=686795
14850 gi/_glib/Makefile.am | 2 -
14851 gi/_glib/__init__.py | 1 -
14852 gi/_glib/glibmodule.c | 2 -
14853 gi/_glib/pygiochannel.c | 748
14854 ------------------------------------------------
14855 gi/_glib/pygiochannel.h | 29 --
14856 gi/_gobject/__init__.py | 1 -
14857 gi/gimodule.c | 72 +++++
14858 gi/overrides/GLib.py | 95 +++++-
14859 8 files changed, 161 insertions(+), 789 deletions(-)
14861 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
14862 Author: Martin Pitt <martinpitt@gnome.org>
14863 Date: Thu Oct 25 12:59:46 2012 +0200
14865 test_iochannel.py: Fix data type of IOFlags
14867 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
14869 the result is of type GLib.IOFlags again.
14871 tests/test_iochannel.py | 2 +-
14872 1 file changed, 1 insertion(+), 1 deletion(-)
14874 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
14875 Author: Martin Pitt <martinpitt@gnome.org>
14876 Date: Thu Oct 25 08:24:31 2012 +0200
14878 Add environment variable to disable pep8 checks
14880 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
14882 makes the test/fix turnaround time faster.
14884 tests/Makefile.am | 6 ++++--
14885 1 file changed, 4 insertions(+), 2 deletions(-)
14887 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
14888 Author: Simon Feltman <sfeltman@src.gnome.org>
14889 Date: Wed Oct 24 04:31:26 2012 -0700
14891 [API add] Add get_introspection_module for getting un-overridden
14894 Add gi.module.get_introspection_module to explicitly get a
14895 wrapped module pulled in through introspection without static
14896 and python override handling. This API is intended for python
14897 overrides to use rather than having them access
14898 gi.importer.modules['<name>']._introspection_module directly.
14899 Replace aforementioned usage in all overrides.
14901 https://bugzilla.gnome.org/show_bug.cgi?id=686828
14904 +++++++++++++++++++++++++++++++++++---
14905 gi/overrides/GIMarshallingTests.py | 4 ++--
14906 gi/overrides/GLib.py | 4 ++--
14907 gi/overrides/Gdk.py | 6 +++---
14908 gi/overrides/Gio.py | 4 ++--
14909 gi/overrides/Gtk.py | 5 +++--
14910 gi/overrides/Pango.py | 4 ++--
14911 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
14912 8 files changed, 78 insertions(+), 16 deletions(-)
14914 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
14915 Author: Martin Pitt <martinpitt@gnome.org>
14916 Date: Wed Oct 24 15:16:13 2012 +0200
14918 test_option: Use public API
14920 Use GLib.option, not gi._glib.option.
14922 tests/test_option.py | 42 ++++++++++++++++++++----------------------
14923 1 file changed, 20 insertions(+), 22 deletions(-)
14925 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
14926 Author: Martin Pitt <martinpitt@gnome.org>
14927 Date: Wed Oct 24 14:12:05 2012 +0200
14929 Drop static SPAWN_* constants
14931 Use the introspected constants instead, which are identical. Add
14933 compatible aliases.
14935 These constants are covered by tests/test_subprocess.py.
14937 https://bugzilla.gnome.org/show_bug.cgi?id=686765
14939 docs/reference/pyglib-constants.xml | 68
14940 ----------------------------------
14941 docs/reference/pyglib-functions.xml | 26 ++++++-------
14942 docs/reference/pygobject-constants.xml | 67
14943 ---------------------------------
14944 gi/_glib/__init__.py | 7 ----
14945 gi/_glib/glibmodule.c | 15 --------
14946 gi/_gobject/__init__.py | 7 ----
14947 gi/overrides/GLib.py | 6 +++
14948 gi/overrides/GObject.py | 6 ++-
14949 tests/test_subprocess.py | 6 ++-
14950 9 files changed, 29 insertions(+), 179 deletions(-)
14952 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
14953 Author: Martin Pitt <martinpitt@gnome.org>
14954 Date: Wed Oct 24 13:59:31 2012 +0200
14956 Drop static IO_* constants
14958 Use the introspected constants instead, which are identical. Add
14960 compatible aliases.
14962 These constants are covered by tests/test_iochannel.py.
14964 docs/reference/pyglib-constants.xml | 52
14965 -------------------------------------
14966 gi/_glib/__init__.py | 19 --------------
14967 gi/_glib/glibmodule.c | 32 -----------------------
14968 gi/_gobject/__init__.py | 18 -------------
14969 gi/overrides/GLib.py | 18 ++++++++++++-
14970 gi/overrides/GObject.py | 8 +++++-
14971 tests/test_iochannel.py | 1 +
14972 tests/test_source.py | 2 +-
14973 8 files changed, 26 insertions(+), 124 deletions(-)
14975 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
14976 Author: Martin Pitt <martinpitt@gnome.org>
14977 Date: Wed Oct 24 12:50:50 2012 +0200
14979 Fix various bugs in GLib.IOChannel
14981 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
14983 NULL on the last element, instead of raising a StopIteration.
14985 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
14987 stream is being used in binary mode; in that case, we should not
14989 do any automagic conversion to an Unicode object. As this special
14991 inconsistent and has never worked anyway, and the current buggy
14992 implementation breaks binary streams, just drop it without
14994 (Introduced in commit de9eae4dfcce8)
14996 These bugs were uncovered by the previously committed tests.
14998 gi/_glib/pygiochannel.c | 25 +++++--------------------
14999 1 file changed, 5 insertions(+), 20 deletions(-)
15001 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
15002 Author: Martin Pitt <martinpitt@gnome.org>
15003 Date: Wed Oct 24 12:49:04 2012 +0200
15005 Add tests for GLib.IOChannel
15007 This did not have any code coverage at all. The tests uncover a
15009 which will be fixed in the next commit.
15011 tests/Makefile.am | 1 +
15012 tests/test_iochannel.py | 262
15013 ++++++++++++++++++++++++++++++++++++++++++++++++
15014 2 files changed, 263 insertions(+)
15016 commit 1b27432abf6004553e9476d5ffeb2bf603534419
15017 Author: Martin Pitt <martinpitt@gnome.org>
15018 Date: Wed Oct 24 08:50:37 2012 +0200
15020 Remove static idle_add/timeout_add bindings
15022 Use the GLib functions through GI instead. Add overrides to ensure
15024 arguments continue to work as before, and that callbacks are called
15026 userdata argument if it wasn't specified.
15028 docs/reference/pyglib-functions.xml | 165
15029 ------------------------------------
15030 gi/_glib/__init__.py | 3 -
15031 gi/_glib/glibmodule.c | 139 ------------------------------
15032 gi/_gobject/__init__.py | 3 -
15033 gi/overrides/GLib.py | 31 +++++++
15034 gi/overrides/GObject.py | 3 +-
15035 tests/test_source.py | 19 +++++
15036 7 files changed, 52 insertions(+), 311 deletions(-)
15038 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
15039 Author: Martin Pitt <martinpitt@gnome.org>
15040 Date: Wed Oct 24 09:14:57 2012 +0200
15042 Add tests for priority argument of idle_add/timeout_add
15044 There is a potential to treat the priority as user data in a call like
15045 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
15047 using a keyword argument for the priority (but silently ignore it
15049 specify both userdata and priority as a positional argument).
15051 Test the correct handling of priority as well.
15053 tests/test_source.py | 63
15054 ++++++++++++++++++++++++++++++++++++++++++++++++----
15055 1 file changed, 59 insertions(+), 4 deletions(-)
15057 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
15058 Author: Martin Pitt <martinpitt@gnome.org>
15059 Date: Wed Oct 24 08:40:50 2012 +0200
15061 Drop old ChangeLog.pre-2.18
15063 This is ancient by now, quite sizable, and the complete history can
15065 seen in the git log.
15067 ChangeLog.pre-2.18 | 3608
15068 ----------------------------------------------------
15070 2 files changed, 3609 deletions(-)
15072 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
15073 Author: Martin Pitt <martinpitt@gnome.org>
15074 Date: Wed Oct 24 08:39:05 2012 +0200
15076 Fix PEP-8 whitespace in previous commit
15078 tests/test_source.py | 4 ++++
15079 1 file changed, 4 insertions(+)
15081 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
15082 Author: Martin Pitt <martinpitt@gnome.org>
15083 Date: Wed Oct 24 08:33:49 2012 +0200
15085 Add tests for idle_add()/timeout_add with and without user data
15087 This is implicitly spread over various test cases, but let's test
15089 to ensure that the behaviour stays consistent when moving this to GI.
15091 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
15092 1 file changed, 35 insertions(+)
15094 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
15095 Author: Martin Pitt <martinpitt@gnome.org>
15096 Date: Wed Oct 24 08:05:43 2012 +0200
15098 tests: consitent naming style
15100 Stop mixing camel case and underline naming, use the latter
15104 tests/test_gobject.py | 64
15105 +++++++++++++++++++++++------------------------
15106 tests/test_interface.py | 4 +--
15107 tests/test_option.py | 14 +++++------
15108 tests/test_pygtkcompat.py | 32 ++++++++++++------------
15109 tests/test_signal.py | 10 ++++----
15110 tests/test_source.py | 23 ++++++++---------
15111 tests/test_subprocess.py | 2 +-
15112 tests/test_thread.py | 2 +-
15113 tests/test_unknown.py | 2 +-
15114 9 files changed, 76 insertions(+), 77 deletions(-)
15116 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
15117 Author: Martin Pitt <martinpitt@gnome.org>
15118 Date: Wed Oct 24 07:28:10 2012 +0200
15120 Work around wrong 64 bit constants in GLib Gir
15122 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
15124 set them in an override, until this gets fixed properly.
15126 https://bugzilla.gnome.org/show_bug.cgi?id=685022
15128 gi/overrides/GLib.py | 8 ++++++++
15129 tests/test_gi.py | 9 +++++++++
15130 2 files changed, 17 insertions(+)
15132 commit f30efd2619911c89ca873fac6bec06a1b60fab82
15133 Author: Martin Pitt <martinpitt@gnome.org>
15134 Date: Tue Oct 23 13:32:14 2012 +0200
15136 Mark GLib.Source.get_current_time() as deprecated
15138 This method has been deprecated in GLib long ago. We have a workaround
15139 implementation using GLib.get_real_time(), but eventually this should
15142 gi/overrides/GLib.py | 5 ++++-
15143 tests/test_source.py | 8 +++++++-
15144 2 files changed, 11 insertions(+), 2 deletions(-)
15146 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
15147 Author: Martin Pitt <martinpitt@gnome.org>
15148 Date: Tue Oct 23 08:56:19 2012 +0200
15150 Mark GLib API that is exposed in GObject as deprecated
15152 A lot of API in GObject really belongs into GLib and is just there for
15153 historical/backwards compatible reasons. Mark these methods as
15155 that at some point we can drop them.
15157 gi/overrides/GObject.py | 3 ++-
15158 gi/overrides/__init__.py | 13 +++++++++++++
15159 tests/test_gobject.py | 24 ++++++++++++++----------
15160 3 files changed, 29 insertions(+), 11 deletions(-)
15162 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
15163 Author: Martin Pitt <martinpitt@gnome.org>
15164 Date: Fri Oct 19 09:55:05 2012 +0200
15166 Remove static MainLoop, MainContext, and some GSource bindings
15168 glib's MainLoop and MainContext are fully introspectable these days,
15170 our static bindings. This reduces our code, as well enables GLib
15172 hasn't been available through the static bindings before.
15174 This also requires dropping our custom static types for GLib Source,
15176 and Idle. The latter two work fine with introspection and just
15178 overrides for a backwards compatible API. g_source_new() is not
15180 though, so we need to keep our static wrappers for that. Move
15182 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
15185 Note that gi/_glib/pygsource.[hc] is still required for the static
15187 which is used by the static IOChannel binding. Once the latter
15189 PollFD can be dropped as well.
15191 https://bugzilla.gnome.org/show_bug.cgi?id=686443
15193 docs/Makefile.am | 6 +-
15194 docs/reference/pyglib-classes.xml | 2 -
15195 docs/reference/pyglib-constants.xml | 53 ---
15196 docs/reference/pyglib-functions.xml | 58 ---
15197 docs/reference/pyglib-maincontext.xml | 152 --------
15198 docs/reference/pyglib-mainloop.xml | 202 -----------
15199 gi/Makefile.am | 2 +
15200 gi/_glib/Makefile.am | 4 -
15201 gi/_glib/__init__.py | 12 -
15202 gi/_glib/glibmodule.c | 45 +--
15203 gi/_glib/pyglib.c | 15 -
15204 gi/_glib/pyglib.h | 1 -
15205 gi/_glib/pygmaincontext.c | 126 -------
15206 gi/_glib/pygmaincontext.h | 40 ---
15207 gi/_glib/pygmainloop.c | 362 -------------------
15208 gi/_glib/pygmainloop.h | 36 --
15209 gi/_glib/pygsource.c | 640
15210 ----------------------------------
15211 gi/_glib/pygsource.h | 3 -
15212 gi/_gobject/__init__.py | 13 -
15213 gi/gimodule.c | 9 +
15214 gi/overrides/GLib.py | 116 +++++-
15215 gi/overrides/GObject.py | 10 +-
15216 gi/pygi-private.h | 1 +
15217 gi/pygi-source.c | 247 +++++++++++++
15218 gi/pygi-source.h | 31 ++
15219 tests/test_glib.py | 22 +-
15220 tests/test_gobject.py | 2 +
15221 tests/test_source.py | 3 -
15222 28 files changed, 437 insertions(+), 1776 deletions(-)
15224 commit 326218a20681c1f2234a6eea1ed800382be57626
15225 Author: Simon Feltman <s.feltman@gmail.com>
15226 Date: Wed Sep 19 15:37:14 2012 -0700
15228 Deprecate void pointer fields as general PyObject storage.
15230 Complete deprecation of gpointer struct fields as general
15231 PyObject storage. Only int types are now allowed.
15232 Assignment of anything other than an int or None raises
15233 a TypeError stating the error and associated bug URL.
15235 https://bugzilla.gnome.org/show_bug.cgi?id=683599
15237 gi/pygi-argument.c | 25 ++++++++++++++++-----
15238 gi/pygi-info.c | 28 ++++--------------------
15239 tests/test_everything.py | 53
15240 +++++++++++++++++++++++++--------------------
15241 tests/test_overrides_gtk.py | 41 -----------------------------------
15242 4 files changed, 54 insertions(+), 93 deletions(-)
15244 commit 3dba328010a4ffd9259700ffec95871c7341d491
15245 Author: Martin Pitt <martinpitt@gnome.org>
15246 Date: Tue Oct 23 11:59:08 2012 +0200
15248 Add some MainLoop, MainContext, and Source test cases
15250 These cover the remaining static API and behaviour, so that we
15252 regression tests for converting them to GI.
15254 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
15256 tests/test_glib.py | 21 +++++++++++++++++++++
15257 tests/test_gobject.py | 11 +++++++++++
15258 tests/test_mainloop.py | 16 ++++++++++++++++
15259 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
15260 4 files changed, 92 insertions(+)
15262 commit 7635340271df0a135873459e6a2a365fd4b187a2
15263 Author: Steve Frécinaux <code@istique.net>
15264 Date: Wed Feb 9 18:37:33 2011 +0100
15266 [API change] Do not bind gobject_get_data() and gobject_set_data()
15268 They will basically cause a crash if misused, and you can always use a
15269 python member attribute instead.
15271 These methods were marked as deprecated for 3.4 and throwing a
15273 let's remove them for good now.
15275 https://bugzilla.gnome.org/show_bug.cgi?id=641944
15277 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15279 docs/reference/pygobject.xml | 63
15280 --------------------------------------------
15281 gi/_gobject/pygobject.c | 44 -------------------------------
15282 2 files changed, 107 deletions(-)
15284 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
15285 Author: Martin Pitt <martinpitt@gnome.org>
15286 Date: Tue Oct 23 08:17:40 2012 +0200
15288 Add test for GLib.get_current_time()
15290 This adds a plausibility test, as well as ensuring the documented
15292 This will be useful if/once we drop the static _glib binding.
15294 tests/test_glib.py | 5 +++++
15295 1 file changed, 5 insertions(+)
15297 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
15298 Author: Martin Pitt <martinpitt@gnome.org>
15299 Date: Tue Oct 23 07:48:52 2012 +0200
15301 Drop unnecessary static _glib bindings
15303 Drop static pyglib bindings which have straightforward and working
15305 bindings. Add tests for all dropped functions to ensure they keep
15308 docs/reference/pyglib-constants.xml | 59 -------
15309 docs/reference/pyglib-functions.xml | 270 ------------------------------
15310 gi/_glib/__init__.py | 24 ---
15311 gi/_glib/glibmodule.c | 319
15312 ------------------------------------
15313 gi/_gobject/__init__.py | 9 -
15314 gi/overrides/GLib.py | 16 ++
15315 gi/overrides/GObject.py | 32 ++++
15316 gi/overrides/Makefile.am | 1 +
15317 tests/Makefile.am | 1 -
15318 tests/test_glib.py | 46 ++++++
15319 tests/test_gobject.py | 4 +
15320 tests/test_uris.py | 16 --
15321 12 files changed, 99 insertions(+), 698 deletions(-)
15323 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
15324 Author: Martin Pitt <martinpitt@gnome.org>
15325 Date: Tue Oct 23 06:12:08 2012 +0200
15327 Fix OverflowError in source_remove()
15329 GSource IDs are unsigned, so we must use 'I' for parsing then, not
15332 https://bugzilla.gnome.org/show_bug.cgi?id=684526
15334 gi/_glib/glibmodule.c | 2 +-
15335 tests/test_source.py | 13 ++++++++++++-
15336 2 files changed, 13 insertions(+), 2 deletions(-)
15338 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
15339 Author: Martin Pitt <martinpitt@gnome.org>
15340 Date: Mon Oct 22 13:38:23 2012 +0200
15342 Fix TestSource.testSources() test case
15344 PyGObject has established the assumption that the destruction of
15346 Python object does not destroy the actual GSource, as shown in
15347 TestSource.setup_timeout(), TestTimeout.test504337(), and
15348 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
15350 So we need to explicitly destroy our MySource and Idle objects
15352 them, as their callbacks always return True and we do not want them
15354 over into other tests.
15356 Also fix the assertions to actually verify that MySources' callback
15358 (pos > 0, not pos >= 0), and use the unittest comparison API instead
15360 simple assert statement.
15362 https://bugzilla.gnome.org/show_bug.cgi?id=686627
15364 tests/test_source.py | 8 +++++++-
15365 1 file changed, 7 insertions(+), 1 deletion(-)
15367 commit b984a5fe0d065818a153f259db4dbde79534f084
15368 Author: Martin Pitt <martinpitt@gnome.org>
15369 Date: Mon Oct 22 17:38:56 2012 +0200
15371 configure.ac: post-release bump to 3.7.2
15373 configure.ac | 2 +-
15374 1 file changed, 1 insertion(+), 1 deletion(-)
15376 commit ce0825f58c3eba6084143e430605ffb597622369
15377 Author: Martin Pitt <martinpitt@gnome.org>
15378 Date: Mon Oct 22 17:37:17 2012 +0200
15382 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
15383 1 file changed, 42 insertions(+)
15385 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
15386 Author: Martin Pitt <martinpitt@gnome.org>
15387 Date: Mon Oct 22 17:33:12 2012 +0200
15389 Bump version to 3.7.1
15391 Let's follow the real GNOME versioning from now on.
15393 configure.ac | 2 +-
15394 1 file changed, 1 insertion(+), 1 deletion(-)
15396 commit 3fb13cc05a281970c3a624c2dd152996031b482c
15397 Author: Martin Pitt <martinpitt@gnome.org>
15398 Date: Mon Oct 22 11:36:49 2012 +0200
15400 test_mainloop code cleanup
15402 Ensure that sys.excepthook is always restored, even if the test
15404 assert{True,False,Equal} unittest API instead of simple asserts for
15408 tests/test_mainloop.py | 19 ++++++++++---------
15409 1 file changed, 10 insertions(+), 9 deletions(-)
15411 commit 31061f20083aa60919f6763a12addbf2b052cab7
15412 Author: Simon Feltman <sfeltman@src.gnome.org>
15413 Date: Sun Oct 21 18:55:24 2012 -0700
15415 Change install_properties to not use getattr on classes
15417 The usage of getattr for accessing a classes __gproperties__
15418 variable can be problematic due to the potential of it returning
15419 the parent classes variable when it does not exist on the sub-class.
15420 Similar to the fix for
15421 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
15422 cls.__dict__.get is used to ensure this does not happen.
15424 https://bugzilla.gnome.org/show_bug.cgi?id=686559
15426 gi/_gobject/propertyhelper.py | 2 +-
15427 tests/test_properties.py | 6 ++++--
15428 2 files changed, 5 insertions(+), 3 deletions(-)
15430 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
15431 Author: Simon Feltman <sfeltman@src.gnome.org>
15432 Date: Sat Oct 20 19:56:04 2012 -0700
15434 Move property install function into propertyhelper.py
15436 Move _install_properties() into gi/_gobject/propertyhelper.py
15439 https://bugzilla.gnome.org/show_bug.cgi?id=686559
15441 gi/_gobject/__init__.py | 45 +++----------------------------
15442 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
15443 tests/test_properties.py | 63
15444 +++++++++++++++++++++++++++++++++++++++++++
15445 3 files changed, 111 insertions(+), 42 deletions(-)
15447 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
15448 Author: Simon Feltman <s.feltman@gmail.com>
15449 Date: Sat Oct 20 03:11:07 2012 -0700
15451 Fix Signal decorator to not use base class gsignals dict
15453 Fix install_signals to not use the parent classes __gsignals__
15454 dict if one does not exist on the given class.
15456 https://bugzilla.gnome.org/show_bug.cgi?id=686496
15458 gi/_gobject/signalhelper.py | 2 +-
15459 tests/test_signal.py | 43
15460 +++++++++++++++++++++++++++++++++++++++++++
15461 2 files changed, 44 insertions(+), 1 deletion(-)
15463 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
15464 Author: Martin Pitt <martinpitt@gnome.org>
15465 Date: Fri Oct 19 09:05:01 2012 +0200
15467 tests: Consistently use GLib.MainLoop
15469 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
15471 tests/test_everything.py | 4 ++--
15472 tests/test_gdbus.py | 11 +++++------
15473 2 files changed, 7 insertions(+), 8 deletions(-)
15475 commit ff7e7401b4cf50532fef70263f7559ea513b8333
15476 Author: Kalev Lember <kalevlember@gmail.com>
15477 Date: Wed Oct 17 18:27:14 2012 +0200
15479 Install the .egg-info files into correct multilib directory
15481 This makes sure the .egg-info files end up in the same python
15483 directory as the rest of the gi .py files.
15485 https://bugzilla.gnome.org/show_bug.cgi?id=686315
15487 Makefile.am | 6 +++---
15488 1 file changed, 3 insertions(+), 3 deletions(-)
15490 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
15491 Author: Simon Feltman <s.feltman@gmail.com>
15492 Date: Mon Oct 15 04:03:50 2012 -0700
15494 Fix leaked vfunc return values
15496 Simple fix to dec ref returned values from closures wrapping
15499 https://bugzilla.gnome.org/show_bug.cgi?id=686140
15501 gi/pygi-closure.c | 1 +
15502 tests/test_gi.py | 21 +++++++++++++++++++--
15503 2 files changed, 20 insertions(+), 2 deletions(-)
15505 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
15506 Author: Martin Pitt <martinpitt@gnome.org>
15507 Date: Mon Oct 15 07:42:05 2012 +0200
15509 Skip Regress tests with --disable-cairo
15511 We need cairo to build g-i's Regress library, gir, and typelib. Update
15512 configure.ac to only require cairo if --disable-cairo was not
15514 --disable-cairo, skip building the Regress library and skip all
15518 https://bugzilla.gnome.org/show_bug.cgi?id=685094
15520 configure.ac | 5 ++---
15521 tests/Makefile.am | 45
15522 +++++++++++++++++++++++++++------------------
15523 tests/test_everything.py | 15 +++++++++++----
15524 tests/test_overrides.py | 7 ++++++-
15525 4 files changed, 46 insertions(+), 26 deletions(-)
15527 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
15528 Author: Martin Pitt <martinpitt@gnome.org>
15529 Date: Fri Oct 12 11:05:24 2012 +0200
15531 _pygi_marshal_from_py_uint64: Re-fix check of negative values
15533 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
15537 https://bugzilla.gnome.org/show_bug.cgi?id=685000
15539 gi/pygi-marshal-from-py.c | 6 +++---
15540 1 file changed, 3 insertions(+), 3 deletions(-)
15542 commit 22c22124b787ae67638aff89796d7ce14900ea8e
15543 Author: Simon Feltman <s.feltman@gmail.com>
15544 Date: Mon Oct 8 05:54:30 2012 -0700
15546 Fix leak with python callables as closure argument.
15548 The fix adds an extra args_data list to the PyGIInvokeState
15549 structure. This list is used to track dynamically generated
15550 closures that wrap python callables. This allows the ffi closure
15551 and python callable to be freed when call scope has finished.
15553 https://bugzilla.gnome.org/show_bug.cgi?id=685598
15555 gi/pygi-cache.c | 1 +
15556 gi/pygi-closure.c | 41 +++++++++----
15557 gi/pygi-invoke-state-struct.h | 4 ++
15558 gi/pygi-invoke.c | 7 +++
15559 gi/pygi-marshal-cleanup.c | 14 +++++
15560 gi/pygi-marshal-cleanup.h | 4 ++
15561 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
15562 tests/test_everything.py | 137
15563 +++++++++++++++++++++++++++++++-----------
15564 8 files changed, 206 insertions(+), 59 deletions(-)
15566 commit c0bc69906df2db64560f7c054277ad1956aab57f
15567 Author: Martin Pitt <martinpitt@gnome.org>
15568 Date: Thu Oct 11 17:49:30 2012 +0200
15570 Gio overrides: Handle setting GSettings enum keys
15572 https://bugzilla.gnome.org/show_bug.cgi?id=685947
15574 gi/overrides/Gio.py | 9 ++++++++-
15575 tests/test_overrides_gio.py | 3 +++
15576 2 files changed, 11 insertions(+), 1 deletion(-)
15578 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
15579 Author: Martin Pitt <martinpitt@gnome.org>
15580 Date: Thu Oct 11 17:20:38 2012 +0200
15582 tests: Check reading GSettings enums in Gio overrides
15584 Also split test_override() into several smaller test cases.
15586 tests/org.gnome.test.gschema.xml | 9 +++++++++
15587 tests/test_overrides_gio.py | 14 +++++++++-----
15588 2 files changed, 18 insertions(+), 5 deletions(-)
15590 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
15591 Author: Martin Pitt <martinpitt@gnome.org>
15592 Date: Thu Oct 11 16:08:11 2012 +0200
15594 Fix unsigned values in GArray/GList/GSList/GHash
15596 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
15598 https://bugzilla.gnome.org/show_bug.cgi?id=685860
15600 gi/pygi-argument.c | 9 +++++++++
15601 tests/test_gi.py | 12 ++++++++++++
15602 2 files changed, 21 insertions(+)
15604 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
15605 Author: Colin Walters <walters@verbum.org>
15606 Date: Thu Oct 4 20:13:55 2012 -0400
15608 build: Fix srcdir != builddir
15611 1 file changed, 1 insertion(+), 1 deletion(-)
15613 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
15614 Author: Alban Browaeys <prahal@yahoo.com>
15615 Date: Thu Sep 27 22:44:22 2012 +0200
15617 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
15619 Casting an unsigned to signed and checking if positive was not
15621 unsigned 64 is below G_MAXUINT64 instead.
15623 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
15625 gi/pygi-marshal-from-py.c | 4 ++--
15626 1 file changed, 2 insertions(+), 2 deletions(-)
15628 commit f0870336b9fc7797895f206e0d3ef17a19efe253
15629 Author: Johan Dahlin <johan@gnome.org>
15630 Date: Tue Oct 2 05:30:16 2012 -0700
15632 Install an .egg-info file
15634 This will help easy_install and pip to figure out that PyGObject
15635 is already installed.
15637 https://bugzilla.gnome.org/show_bug.cgi?id=680138
15639 Makefile.am | 13 ++++++++-----
15640 1 file changed, 8 insertions(+), 5 deletions(-)
15642 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
15643 Author: Johan Dahlin <johan@gnome.org>
15644 Date: Thu Oct 4 09:42:41 2012 +0200
15646 PyGProps_getattro(): Fix GObjectClass leak
15648 https://bugzilla.gnome.org/show_bug.cgi?id=685218
15650 gi/_gobject/pygobject.c | 4 +++-
15651 1 file changed, 3 insertions(+), 1 deletion(-)
15653 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
15654 Author: Olivier Crête <olivier.crete@collabora.com>
15655 Date: Mon Sep 17 15:16:32 2012 -0400
15657 pygobject.c: Don't leak GObjectClass reference
15659 https://bugzilla.gnome.org/show_bug.cgi?id=684062
15661 gi/_gobject/pygobject.c | 6 +++++-
15662 1 file changed, 5 insertions(+), 1 deletion(-)
15664 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
15665 Author: Alban Browaeys <prahal@yahoo.com>
15666 Date: Sat Sep 29 01:17:14 2012 +0200
15668 Fix memory leak in _pygi_argument_to_array()
15670 Length arg and type info need to be unref'ed.
15672 https://bugzilla.gnome.org/show_bug.cgi?id=685082
15674 gi/pygi-argument.c | 3 +++
15675 1 file changed, 3 insertions(+)
15677 commit 34270a109d2af20391c80e88874ee7303eaf5c09
15678 Author: Martin Pitt <martinpitt@gnome.org>
15679 Date: Fri Sep 28 07:42:51 2012 +0200
15681 Fix error messages for out of range numbers
15683 PyErr_Format() does not understand %lli and %li, it needs to be %lld
15685 So we cannot use those and G_GINT64_FORMAT.
15687 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
15689 is a gint64 which can't possibly overflow its own data type. It
15691 an unprintable error message.
15693 https://bugzilla.gnome.org/show_bug.cgi?id=684314
15695 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
15696 1 file changed, 8 insertions(+), 13 deletions(-)
15698 commit 7f1422bf929976722edd6144beb0b4c96d74391b
15699 Author: Martin Pitt <martinpitt@gnome.org>
15700 Date: Fri Sep 28 06:59:38 2012 +0200
15702 Kill dbus-daemon after running tests
15704 dbus-launch does not kill the spawned dbus-daemon by itself (see
15705 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
15707 our tests. Take care to preserve the exit code.
15709 https://bugzilla.gnome.org/show_bug.cgi?id=685009
15711 tests/Makefile.am | 5 ++++-
15712 1 file changed, 4 insertions(+), 1 deletion(-)
15714 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
15715 Author: Martin Pitt <martinpitt@gnome.org>
15716 Date: Thu Sep 27 08:18:34 2012 +0200
15718 GVariant overrides: Support empty tuple arrays
15720 Implement the "empty value" branch in _create_tuple(), so that
15722 can call it for parsing the element type for an empty array.
15724 This fixes creating variants such as GLib.Variant('a(ii)', []).
15726 https://bugzilla.gnome.org/show_bug.cgi?id=684928
15728 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
15729 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
15730 2 files changed, 54 insertions(+), 7 deletions(-)
15732 commit 75d452ea5b179c3585adcf95356b4316c9180768
15733 Author: Martin Pitt <martinpitt@gnome.org>
15734 Date: Thu Sep 27 06:50:12 2012 +0200
15736 TestGVariant: Split creation test case into several smaller ones
15738 tests/test_overrides_glib.py | 20 ++++++--------------
15739 1 file changed, 6 insertions(+), 14 deletions(-)
15741 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
15742 Author: Martin Pitt <martinpitt@gnome.org>
15743 Date: Tue Sep 25 09:10:10 2012 +0200
15745 Fix unused variables and results
15747 This gets rid of all warnings except the deprecated symbol ones.
15749 gi/_glib/pygiochannel.c | 9 +++------
15750 gi/pygi-argument.c | 4 +---
15751 gi/pygi-callbacks.c | 4 ----
15752 gi/pygi-ccallback.c | 1 -
15753 gi/pygi-repository.c | 3 +--
15754 5 files changed, 5 insertions(+), 16 deletions(-)
15756 commit 5285f14fee93d2729d4422c40a945adc2be69c14
15757 Author: Martin Pitt <martinpitt@gnome.org>
15758 Date: Tue Sep 25 08:56:20 2012 +0200
15760 tests: Fix wrong return type in test_int64_callback()
15762 https://bugzilla.gnome.org/show_bug.cgi?id=684700
15764 tests/testhelpermodule.c | 2 +-
15765 1 file changed, 1 insertion(+), 1 deletion(-)
15767 commit e14ebab6099d082466ec11ca21d44de0d6017216
15768 Author: Giovanni Campagna <gcampagna@src.gnome.org>
15769 Date: Wed Sep 19 00:10:57 2012 +0200
15771 Fix GValue marshalling of long and unsigned long
15773 long can be equivalent to int64 or int32, depending on the
15775 and GI conflates this distinction in the typelib, but GType does
15777 warns if the wrong accessor is used.
15779 https://bugzilla.gnome.org/show_bug.cgi?id=684331
15781 gi/pygi-argument.c | 25 +++++++++++++++++++++----
15782 1 file changed, 21 insertions(+), 4 deletions(-)
15784 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
15785 Author: Simon Feltman <s.feltman@gmail.com>
15786 Date: Wed Sep 19 19:07:00 2012 -0700
15788 Clean up deprecation message for assigning gpointers to objects.
15790 The previous deprecation message was worded as if the deprecation
15791 had already occurred and it has not.
15793 https://bugzilla.gnome.org/show_bug.cgi?id=683599
15795 gi/pygi-info.c | 4 ++--
15796 1 file changed, 2 insertions(+), 2 deletions(-)
15798 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
15799 Author: Olivier Crête <olivier.crete@collabora.com>
15800 Date: Tue Sep 18 08:52:02 2012 +0200
15802 pygi-property: Lookup property in base classes of non-introspected
15805 Look for introspection data in the base classes of non-introspected
15807 This is necessary to look up introspection data for plugins.
15809 https://bugzilla.gnome.org/show_bug.cgi?id=684058
15811 gi/pygi-property.c | 28 ++++++++++++++--------------
15812 tests/test_everything.py | 12 ++++++++++++
15813 2 files changed, 26 insertions(+), 14 deletions(-)
15815 commit 7aa94cc861082147b9c382b930f3257f0a842c84
15816 Author: Martin Pitt <martinpitt@gnome.org>
15817 Date: Mon Sep 24 09:41:10 2012 +0200
15819 post-release bump to 3.4.1
15821 configure.ac | 2 +-
15822 1 file changed, 1 insertion(+), 1 deletion(-)
15824 commit fcceed3adb8d78baba68861a1408627321b2c1ef
15825 Author: Martin Pitt <martinpitt@gnome.org>
15826 Date: Mon Sep 24 09:35:33 2012 +0200
15831 configure.ac | 4 ++--
15832 2 files changed, 5 insertions(+), 2 deletions(-)
15834 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
15835 Author: Martin Pitt <martinpitt@gnome.org>
15836 Date: Mon Sep 24 09:27:47 2012 +0200
15838 Bump g-i dependency to 1.33.14
15840 To ensure we have all the Regress test APIs that we use.
15842 configure.ac | 2 +-
15843 1 file changed, 1 insertion(+), 1 deletion(-)
15845 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
15846 Author: Martin Pitt <martinpitt@gnome.org>
15847 Date: Mon Sep 17 22:52:49 2012 +0200
15849 post-release bump to 3.3.93
15851 configure.ac | 2 +-
15852 1 file changed, 1 insertion(+), 1 deletion(-)
15854 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
15855 Author: Martin Pitt <martinpitt@gnome.org>
15856 Date: Mon Sep 17 22:48:13 2012 +0200
15860 NEWS | 12 ++++++++++++
15861 1 file changed, 12 insertions(+)
15863 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
15864 Author: Martin Pitt <martinpitt@gnome.org>
15865 Date: Mon Sep 17 22:32:55 2012 +0200
15867 release-news: Generate HTML changelog
15869 In addition to producing a NEWS paragraph from the changelog,
15871 changelog HTML which can be put into blog announcements.
15873 Update HACKING to point this out, too.
15876 Makefile.am | 22 ++++++++++++++++------
15877 2 files changed, 17 insertions(+), 7 deletions(-)
15879 commit be4a0682bdd189ee908ab1961001f759a80e133c
15880 Author: Simon Feltman <s.feltman@gmail.com>
15881 Date: Sun Sep 16 17:27:25 2012 -0700
15883 [API add] Add ObjectInfo.get_abstract method
15885 Adds exposure of g_object_info_get_abstract to python for
15886 helping with analysis of non-constructable objects from
15889 https://bugzilla.gnome.org/show_bug.cgi?id=675581
15891 gi/pygi-info.c | 8 ++++++++
15892 tests/test_gi.py | 12 ++++++++++++
15893 2 files changed, 20 insertions(+)
15895 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
15896 Author: Simon Feltman <s.feltman@gmail.com>
15897 Date: Thu Sep 13 20:53:22 2012 -0700
15899 Add deprecation warning when setting gpointers to anything other
15902 This is a first pass which does not change anything except add
15904 when anything other than an int is set on a gpointer on a boxed type.
15906 https://bugzilla.gnome.org/show_bug.cgi?id=683599
15908 gi/pygi-info.c | 8 ++++++++
15909 1 file changed, 8 insertions(+)
15911 commit a047f61f26d9c78b82d22948199313e5a389e918
15912 Author: Martin Pitt <martinpitt@gnome.org>
15913 Date: Mon Sep 17 09:41:24 2012 +0200
15915 test_properties: Test accessing a property from a superclass
15917 We already cover accessing the superclass' property if that was
15919 Python. Add a corresponding test case for a property defined in C.
15921 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
15923 tests/test_properties.py | 12 ++++++++++++
15924 1 file changed, 12 insertions(+)
15926 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
15927 Author: Martin Pitt <martinpitt@gnome.org>
15928 Date: Mon Sep 17 09:31:05 2012 +0200
15930 test_properties.py: Consistent test names
15932 Use underscore style method/test case names consistently. Also rename
15934 cases to better describe what they do.
15936 tests/test_properties.py | 78
15937 ++++++++++++++++++++++++------------------------
15938 1 file changed, 39 insertions(+), 39 deletions(-)
15940 commit 4069c3d8547f35437e0cee175a5912febe25326d
15941 Author: Martin Pitt <martinpitt@gnome.org>
15942 Date: Wed Sep 12 06:51:24 2012 +0200
15944 test_everything: Ensure TestSignals callback does get called
15946 tests/test_everything.py | 3 +++
15947 1 file changed, 3 insertions(+)
15949 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
15950 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
15951 Date: Fri Sep 7 17:17:09 2012 -0400
15953 argument: Fix 64bit integer convertion from GValue
15955 Trying to get a 64bit integer using the wrong getter was resulting
15957 assertion and 0 being returned.
15959 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15961 https://bugzilla.gnome.org/show_bug.cgi?id=683596
15963 gi/pygi-argument.c | 8 ++++++--
15964 tests/test_everything.py | 52
15965 ++++++++++++++++++++++++++++++++++++++++++++++++
15966 2 files changed, 58 insertions(+), 2 deletions(-)
15968 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
15969 Author: Martin Pitt <martinpitt@gnome.org>
15970 Date: Tue Sep 11 12:32:10 2012 +0200
15972 Add Simon Feltman as a project maintainer
15974 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
15975 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
15977 pygobject.doap | 7 +++++++
15978 1 file changed, 7 insertions(+)
15980 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
15981 Author: Martin Pitt <martinpitt@gnome.org>
15982 Date: Tue Sep 11 10:17:50 2012 +0200
15984 test_signals.py: Drop global type variables
15986 Just use the real types and flags from GObject instead of redefining
15988 for them. They weren't used consistently, make the tests harder to
15990 really do not want global single-letter variables like "f" and "l".
15992 tests/test_signal.py | 38 ++++++++++++++++----------------------
15993 1 file changed, 16 insertions(+), 22 deletions(-)
15995 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
15996 Author: Martin Pitt <martinpitt@gnome.org>
15997 Date: Tue Sep 11 10:11:58 2012 +0200
15999 test_signals.py: Consistent test names
16001 Use underscore style method/test case names consistently.
16003 tests/test_signal.py | 88
16004 ++++++++++++++++++++++++++--------------------------
16005 1 file changed, 44 insertions(+), 44 deletions(-)
16007 commit 4559247553b792db956f69c9674c12344d719c82
16008 Author: Martin Pitt <martinpitt@gnome.org>
16009 Date: Tue Sep 11 09:43:14 2012 +0200
16011 Add test cases for GValue signal arguments
16013 These cover various types, (u)int(64) and string.
16015 Keep the test case for implicit int64 GValues disabled, as this
16017 not work and it is not clear whether it should:
16018 https://bugzilla.gnome.org/show_bug.cgi?id=683775
16020 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
16021 tests/testhelpermodule.c | 17 +++++++++++++++++
16022 2 files changed, 58 insertions(+)
16024 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
16025 Author: Martin Pitt <martinpitt@gnome.org>
16026 Date: Tue Sep 11 09:31:18 2012 +0200
16028 Add test for GValue signal return values
16030 Another attempt to reproduce the reported error in
16031 https://bugzilla.gnome.org/show_bug.cgi?id=683596
16032 but this works already.
16034 tests/test_signal.py | 13 +++++++++++++
16035 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
16036 2 files changed, 49 insertions(+)
16038 commit 4f77c7798563ea436ff5b6306a987f03de50b211
16039 Author: Simon Feltman <s.feltman@gmail.com>
16040 Date: Fri Sep 7 02:32:15 2012 -0700
16042 Improve setting pointer fields/arguments to NULL using None
16044 Setting gi pointers will set them to the address of the python object.
16045 This is good except in the case of None which should be used to NULL
16046 the pointer out as a special case.
16048 Commit 21b1d17d2a already fixed this. This improved patch
16049 does that in a cleaner and safer way and adds more comments.
16051 https://bugzilla.gnome.org/show_bug.cgi?id=683150
16053 gi/pygi-argument.c | 8 +-------
16054 gi/pygi-info.c | 14 +++++++++++++-
16055 2 files changed, 14 insertions(+), 8 deletions(-)
16057 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
16058 Author: Martin Pitt <martinpitt@gnome.org>
16059 Date: Mon Sep 10 16:46:30 2012 +0200
16061 Test gint64 C signal arguments and return values
16063 tests/test_signal.py | 12 ++++++++++++
16064 tests/testhelpermodule.c | 14 ++++++++++++++
16065 2 files changed, 26 insertions(+)
16067 commit 822d9e07a95f706a40f64335765293542787da90
16068 Author: Martin Pitt <martinpitt@gnome.org>
16069 Date: Mon Sep 10 16:29:32 2012 +0200
16071 Test in/out int64 GValue method arguments.
16073 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
16075 tests/test_gi.py | 9 +++++++++
16076 1 file changed, 9 insertions(+)
16078 commit 2d83e52233812618493af4b165615e8741ba41c8
16079 Author: Martin Pitt <martinpitt@gnome.org>
16080 Date: Wed Sep 5 08:54:53 2012 +0200
16082 Bump g-i dependency to 1.33.10
16084 To ensure we have all the Regress test APIs that we use.
16086 configure.ac | 2 +-
16087 1 file changed, 1 insertion(+), 1 deletion(-)
16089 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
16090 Author: Thibault Saunier <thibault.saunier@collabora.com>
16091 Date: Wed Aug 8 12:57:41 2012 -0400
16093 Fix -uninstalled.pc.in file
16095 https://bugzilla.gnome.org/show_bug.cgi?id=683379
16097 pygobject-3.0-uninstalled.pc.in | 6 +++---
16098 1 file changed, 3 insertions(+), 3 deletions(-)
16100 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
16101 Author: Martin Pitt <martinpitt@gnome.org>
16102 Date: Mon Sep 3 22:16:47 2012 +0200
16104 post-release bump to 3.3.92
16106 configure.ac | 2 +-
16107 1 file changed, 1 insertion(+), 1 deletion(-)
16109 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
16110 Author: Martin Pitt <martinpitt@gnome.org>
16111 Date: Mon Sep 3 22:04:01 2012 +0200
16115 NEWS | 32 ++++++++++++++++++++++++++++++++
16116 1 file changed, 32 insertions(+)
16118 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
16119 Author: Martin Pitt <martinpitt@gnome.org>
16120 Date: Mon Sep 3 21:57:00 2012 +0200
16122 Fix exception test case for Python 2
16124 Regression from commit 77844c5 which did not work with Python 2.
16126 tests/test_everything.py | 12 +++++++-----
16127 1 file changed, 7 insertions(+), 5 deletions(-)
16129 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
16130 Author: Martin Pitt <martinpitt@gnome.org>
16131 Date: Mon Sep 3 21:16:01 2012 +0200
16133 Bump g-i dependency
16135 Require at least 1.33.9, as we got a couple of bug fixes there which
16137 and for some cases the code, depend on. We actually require 1.33.10
16139 tests to succeed, but that hasn't been released yet.
16141 configure.ac | 2 +-
16142 1 file changed, 1 insertion(+), 1 deletion(-)
16144 commit 77844c571ad0badc189428b93de9f2572051b67e
16145 Author: Martin Pitt <martinpitt@gnome.org>
16146 Date: Mon Sep 3 17:58:38 2012 +0200
16148 Show proper exception when trying to allocate a disguised struct
16150 Instead of a simple "MemoryError" with no details, raise a proper
16151 TypeError with a traceback and an explanation what happened.
16153 https://bugzilla.gnome.org/show_bug.cgi?id=639972
16155 gi/pygi-struct.c | 7 +++++++
16156 tests/test_everything.py | 13 +++++++++++++
16157 2 files changed, 20 insertions(+)
16159 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
16160 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
16161 Date: Mon Sep 3 16:47:22 2012 +0200
16163 Support marshalling GParamSpec signal arguments
16165 Fix marshalling GParamSpec arguments from C to Python.
16167 https://bugzilla.gnome.org/show_bug.cgi?id=683099
16169 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
16171 gi/pygi-argument.c | 10 +++++++++-
16172 tests/test_signal.py | 14 ++++++++++++++
16173 2 files changed, 23 insertions(+), 1 deletion(-)
16175 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
16176 Author: Martin Pitt <martinpitt@gnome.org>
16177 Date: Mon Sep 3 16:06:49 2012 +0200
16179 Add test for a signal that returns a GParamSpec
16181 https://bugzilla.gnome.org/show_bug.cgi?id=683265
16183 tests/test_signal.py | 6 ++++++
16184 tests/testhelpermodule.c | 12 ++++++++++++
16185 2 files changed, 18 insertions(+)
16187 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
16188 Author: Simon Feltman <s.feltman@gmail.com>
16189 Date: Tue Mar 20 04:33:50 2012 -0700
16191 [API add] Add Signal class for adding and connecting custom signals.
16193 The Signal class provides easy creation of signals and removes the
16194 need for __gsignals__ in client code. The Signal class can also be
16195 used as a decorator for wrapping up the custom closure. As well as
16196 providing a "BoundSignal" when accessed on an instance for making
16197 connections without specifying a signal name string.
16198 Python3 annotations can also be used to supply closure argument and
16199 return types when Signal is used as a decorator. For example:
16201 class Eggs(GObject.GObject):
16203 def spam(self, count:int):
16206 https://bugzilla.gnome.org/show_bug.cgi?id=434924
16208 examples/signal.py | 34 ++++--
16209 gi/_gobject/Makefile.am | 3 +-
16210 gi/_gobject/__init__.py | 5 +
16211 gi/_gobject/signalhelper.py | 251
16212 ++++++++++++++++++++++++++++++++++++++++++++
16213 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
16214 5 files changed, 482 insertions(+), 19 deletions(-)
16216 commit 96fa22369fd188465559fc904c7f76e73040e6dd
16217 Author: Martin Pitt <martinpitt@gnome.org>
16218 Date: Mon Sep 3 15:32:12 2012 +0200
16220 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
16222 We have a proper implementation for insert_column_with_attributes()
16224 drop pygtkcompat's empty stub for it.
16226 Also improve test case for
16227 Gtk.TreeView.insert_column_with_attributes().
16229 gi/pygtkcompat.py | 6 ------
16230 tests/test_overrides_gtk.py | 16 ++++++++--------
16231 2 files changed, 8 insertions(+), 14 deletions(-)
16233 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
16234 Author: Marta Maria Casetti <mmcasetti@gmail.com>
16235 Date: Mon Sep 3 13:06:22 2012 +0200
16237 Add override for Gtk.TreeView.insert_column_with_attributes()
16239 https://bugzilla.gnome.org/show_bug.cgi?id=679415
16241 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
16243 gi/overrides/Gtk.py | 7 +++++++
16244 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
16245 2 files changed, 45 insertions(+)
16247 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
16248 Author: Martin Pitt <martinpitt@gnome.org>
16249 Date: Mon Sep 3 11:09:55 2012 +0200
16251 .gitignore: Add missing built files
16253 .gitignore | 9 +++++++--
16254 1 file changed, 7 insertions(+), 2 deletions(-)
16256 commit 96431f393036a688666dcf67911bf12b9824b264
16257 Author: Martin Pitt <martinpitt@gnome.org>
16258 Date: Mon Sep 3 11:07:32 2012 +0200
16260 Ship tests/gi in tarball
16262 Spotted by distcheck.
16264 tests/Makefile.am | 6 +++++-
16265 1 file changed, 5 insertions(+), 1 deletion(-)
16267 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
16268 Author: Martin Pitt <martinpitt@gnome.org>
16269 Date: Mon Sep 3 10:18:45 2012 +0200
16271 Fix separate build tree and distcheck
16273 Fix regression from c7c95a79: We must set sys.path in runtests.py
16275 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
16277 prepends the directory of the source file to sys.path, but that
16279 source dir, not the build dir. The build dir has to take precedence,
16281 we fail to import the built libraries.
16283 tests/runtests-windows.py | 10 +++++++---
16284 tests/runtests.py | 13 ++++++++-----
16285 2 files changed, 15 insertions(+), 8 deletions(-)
16287 commit 2d8f48f4ff56bb75985136452b50b75895258608
16288 Author: Martin Pitt <martinpitt@gnome.org>
16289 Date: Mon Sep 3 07:57:01 2012 +0200
16291 Split test_overrides.py
16293 Split the huge test_overrides.py into separate files for gdk, gtk,
16295 and pango. Further split the monolithic classes for Gtk and Gio
16299 https://bugzilla.gnome.org/show_bug.cgi?id=683188
16301 tests/Makefile.am | 5 +
16302 tests/test_overrides.py | 2198
16303 +----------------------------------------
16304 tests/test_overrides_gdk.py | 119 +++
16305 tests/test_overrides_gio.py | 114 +++
16306 tests/test_overrides_glib.py | 445 +++++++++
16307 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
16308 tests/test_overrides_pango.py | 32 +
16309 7 files changed, 2234 insertions(+), 2196 deletions(-)
16311 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
16312 Author: Martin Pitt <martinpitt@gnome.org>
16313 Date: Mon Sep 3 07:17:57 2012 +0200
16315 _pygi_argument_to_object(): Clean up array unmarshalling
16317 The NULL case is already handled at the top, so it does not need to be
16320 Emit a critical if we fail to allocate a Python array of the
16323 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
16324 1 file changed, 16 insertions(+), 31 deletions(-)
16326 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
16327 Author: Alban Browaeys <prahal@yahoo.com>
16328 Date: Wed Aug 29 21:24:17 2012 +0200
16330 Fix memory leak in _pygi_argument_to_object()
16332 Avoid leaking the item_type_info when breaking out of the
16333 switch in _pygi_argument_to_object() for unmarshalling arrays.
16335 https://bugzilla.gnome.org/show_bug.cgi?id=682979
16337 gi/pygi-argument.c | 4 ++++
16338 1 file changed, 4 insertions(+)
16340 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
16341 Author: Simon Feltman <s.feltman@gmail.com>
16342 Date: Sat Sep 1 03:40:31 2012 -0700
16344 Fix setting pointer fields/arguments to NULL using None.
16346 Setting gi pointers will set them to the address of the python object.
16347 This is good except in the case of None which should be used to NULL
16348 the pointer out as a special case.
16350 https://bugzilla.gnome.org/show_bug.cgi?id=683150
16352 gi/pygi-argument.c | 8 +++++++-
16353 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
16354 2 files changed, 48 insertions(+), 1 deletion(-)
16356 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
16357 Author: Martin Pitt <martinpitt@gnome.org>
16358 Date: Thu Aug 23 06:44:27 2012 +0200
16360 Fix for python 2.6, drop support for < 2.6
16362 Replace sys.version_info.major access to tuple access which also
16366 When building for Python 2.6, inject some missing unittest API such as
16367 @unittest.skipUnless and assertGreaterEqual() into the unittest
16369 runtests.py, so that the tests have a chance to run.
16371 As building with Python 2.5 has been broken for a long time with
16373 complaining, and 2.5 is ancient, bump minimum Python requirement to
16375 obsolete #ifdef paths which only apply to <= 2.5.
16377 https://bugzilla.gnome.org/show_bug.cgi?id=682422
16379 configure.ac | 2 +-
16380 gi/_glib/pyglib-python-compat.h | 8 --------
16381 gi/_gobject/gobjectmodule.c | 8 --------
16382 gi/module.py | 2 +-
16383 tests/runtests.py | 27 +++++++++++++++++++++++++++
16384 tests/test_gi.py | 2 +-
16385 6 files changed, 30 insertions(+), 19 deletions(-)
16387 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
16388 Author: Thibault Saunier <thibault.saunier@collabora.com>
16389 Date: Tue Aug 21 07:54:09 2012 +0200
16391 Allow overrides in other directories than gi itself
16393 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
16394 libraries can install overrides in a path that is different from
16396 pygobject installs itself into. These overrides need to put this
16398 __init__.py at the top:
16400 from pkgutil import extend_path
16401 __path__ = extend_path(__path__, __name__)
16403 and put themselves somewhere into the default PYTHONPATH.
16405 https://bugzilla.gnome.org/show_bug.cgi?id=680913
16407 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
16408 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
16410 gi/__init__.py | 4 ++++
16411 gi/overrides/__init__.py | 4 ++++
16412 tests/gi/__init__.py | 2 ++
16413 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
16414 tests/gi/overrides/__init__.py | 2 ++
16415 tests/test_overrides.py | 6 ++++++
16416 6 files changed, 44 insertions(+)
16418 commit c7c95a795eee499373499ea5b771447746317bfb
16419 Author: Simon Feltman <s.feltman@gmail.com>
16420 Date: Thu Aug 23 06:03:09 2012 +0200
16422 Clean up sys.path handling in tests
16424 Only set sys.path once in runtests.py, not in the individual test
16426 reduces hidden dependencies between tests by building up a run
16428 search path, and also makes it easier in the future to run the
16430 the installed system libraries.
16432 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
16434 tests/runtests-windows.py | 6 +++++-
16435 tests/runtests.py | 3 +++
16436 tests/test_everything.py | 1 -
16437 tests/test_gdbus.py | 3 ---
16438 tests/test_overrides.py | 3 ---
16439 tests/test_pygtkcompat.py | 3 ---
16440 6 files changed, 8 insertions(+), 11 deletions(-)
16442 commit 3e3525e93d852cde0f63e835b774a9b004773c69
16443 Author: Simon Feltman <s.feltman@gmail.com>
16444 Date: Sun Aug 19 02:30:39 2012 -0700
16446 Fix dynamic creation of enum and flag gi types for Python 3.3
16448 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
16449 subclasses due to what looks to be an unsupported technique. Change
16450 tp_new() method for classes dynamically derived from PyGEnum_Type and
16451 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
16453 __new__() as a python method. This technique seems to work with all
16454 versions of python so the previous python version checking also became
16457 https://bugzilla.gnome.org/show_bug.cgi?id=682323
16459 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
16460 gi/_gobject/pygflags.c | 21 +++++++++------------
16461 2 files changed, 25 insertions(+), 25 deletions(-)
16463 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
16464 Author: Paolo Borelli <pborelli@gnome.org>
16465 Date: Wed Aug 22 10:45:39 2012 +0200
16467 [API add] Override g_menu_item_set_attribute
16469 This C utility API take a vararg, add a corresponding override that
16470 takes a list of tuples
16472 https://bugzilla.gnome.org/show_bug.cgi?id=682436
16474 gi/overrides/Gio.py | 10 ++++++++++
16475 tests/test_overrides.py | 11 +++++++++++
16476 2 files changed, 21 insertions(+)
16478 commit 836902801373e386d370c44e7487aac3432f19f6
16479 Author: Martin Pitt <martinpitt@gnome.org>
16480 Date: Mon Aug 20 23:37:40 2012 +0200
16482 post-release bump to 3.3.91
16484 configure.ac | 2 +-
16485 1 file changed, 1 insertion(+), 1 deletion(-)
16487 commit 6a629e23ff7b0d6f532184017577c7427d577e28
16488 Author: Martin Pitt <martinpitt@gnome.org>
16489 Date: Mon Aug 20 23:05:49 2012 +0200
16493 NEWS | 13 +++++++++++++
16494 configure.ac | 2 +-
16495 2 files changed, 14 insertions(+), 1 deletion(-)
16497 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
16498 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
16499 Date: Mon Aug 20 22:54:52 2012 +0200
16501 Implement marshalling for GParamSpec
16503 https://bugzilla.gnome.org/show_bug.cgi?id=681565
16505 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
16507 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
16508 tests/test_gi.py | 14 ++++++++++++++
16509 2 files changed, 26 insertions(+), 4 deletions(-)
16511 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
16512 Author: Martin Pitt <martinpitt@gnome.org>
16513 Date: Mon Aug 20 15:24:10 2012 +0200
16515 Fix pep8/pyflakes invocation
16517 Fix regression from commit 1e056e4f4a: Do fail the tests if
16521 tests/Makefile.am | 4 ++--
16522 1 file changed, 2 insertions(+), 2 deletions(-)
16524 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
16525 Author: Simon Feltman <s.feltman@gmail.com>
16526 Date: Thu Aug 16 16:05:52 2012 -0700
16528 Fix erronous import statements for Python 3.3
16530 Update pygobject-external.h to use GType (which is what GTypeWrapper
16532 exposed as) instead of GTypeWrapper when attempting import.
16534 Catch ImportError around attempted imports of a typelibs override file
16535 which don't always exist (GObject...). This is a behavioural change in
16536 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
16539 https://bugzilla.gnome.org/show_bug.cgi?id=682051
16541 gi/module.py | 7 +++++--
16542 gi/pygobject-external.h | 2 +-
16543 2 files changed, 6 insertions(+), 3 deletions(-)
16545 commit 1e056e4f4a19fd1139187467677c2592c2722290
16546 Author: Martin Pitt <martinpitt@gnome.org>
16547 Date: Mon Aug 20 11:52:08 2012 +0200
16549 Do not fail tests if pyflakes or pep8 are not installed
16551 These tools might not be desirable in restricted build environments or
16552 backports, and e. g. Fedora patches those out. So let the tests
16556 tests/Makefile.am | 4 ++--
16557 1 file changed, 2 insertions(+), 2 deletions(-)
16559 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
16560 Author: Martin Pitt <martinpitt@gnome.org>
16561 Date: Mon Aug 20 11:42:47 2012 +0200
16563 gtk-demo: Fix some PEP-8 whitespace issues
16565 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
16566 demos/gtk-demo/demos/dialogs.py | 2 +-
16567 demos/gtk-demo/demos/rotatedtext.py | 3 +--
16568 3 files changed, 3 insertions(+), 5 deletions(-)
16570 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
16571 Author: Martin Pitt <martinpitt@gnome.org>
16572 Date: Mon Aug 20 11:38:50 2012 +0200
16574 test_overrides.py: Fix PEP8 whitespacing
16576 tests/test_overrides.py | 48
16577 +++++++++++++++++++++++++-----------------------
16578 1 file changed, 25 insertions(+), 23 deletions(-)
16580 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
16581 Author: Martin Pitt <martinpitt@gnome.org>
16582 Date: Mon Aug 20 11:36:19 2012 +0200
16584 Ignore E124 pep8 error
16586 This is "closing bracket does not match visual indentation" which
16588 stupid. We do want the closing bracket at the same indentation level
16590 opening bracket, not the indentation level of the whole statement.
16592 tests/Makefile.am | 2 +-
16593 1 file changed, 1 insertion(+), 1 deletion(-)
16595 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
16596 Author: David Malcolm <dmalcolm@redhat.com>
16597 Date: Mon Aug 20 11:27:52 2012 +0200
16599 Fix unmarshalling of gssize
16601 Do not assume that the v_int union member always corresponds to a
16603 is not true on big-endian 64 bit machines like ppc64, so add a new
16604 gi_argument_to_gssize() and use it properly.
16606 https://bugzilla.gnome.org/show_bug.cgi?id=680693
16607 https://bugzilla.redhat.com/show_bug.cgi?id=842880
16609 gi/pygi-argument.c | 53
16610 +++++++++++++++++++++++++++++++++++++++++++++---
16611 gi/pygi-argument.h | 1 +
16612 gi/pygi-closure.c | 2 +-
16613 gi/pygi-info.c | 4 ++--
16614 gi/pygi-signal-closure.c | 2 +-
16615 5 files changed, 55 insertions(+), 7 deletions(-)
16617 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
16618 Author: David Malcolm <dmalcolm@redhat.com>
16619 Date: Mon Aug 20 11:19:27 2012 +0200
16621 Fix various endianess errors
16623 Fix code which assumed little endian behaviour when mixing different
16625 ints, putting ints into pointers, etc.
16627 https://bugzilla.gnome.org/show_bug.cgi?id=680692
16628 https://bugzilla.redhat.com/show_bug.cgi?id=841596
16630 gi/pygi-argument.c | 64 +++++++++++++--
16631 gi/pygi-argument.h | 6 ++
16632 gi/pygi-cache.c | 2 +
16633 gi/pygi-closure.c | 57 ++++++++++++-
16634 gi/pygi-marshal-from-py.c | 203
16635 ++++++++++++++++++++++++++++++++++++----------
16636 gi/pygi-marshal-from-py.h | 3 +
16637 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
16638 7 files changed, 391 insertions(+), 81 deletions(-)
16640 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
16641 Author: Paolo Borelli <pborelli@gnome.org>
16642 Date: Wed Aug 15 13:16:11 2012 +0200
16644 Add unit test for the TreeModelSort override
16646 tests/test_overrides.py | 7 +++++++
16647 1 file changed, 7 insertions(+)
16649 commit 9f027daa5737107b5959964b699c0089aec8ab1e
16650 Author: Simon Feltman <s.feltman@gmail.com>
16651 Date: Thu Aug 9 03:33:06 2012 -0700
16653 Gtk overrides: Add TreeModelSort.__init__(self, model)
16655 This adds "model" as a required argument to TreeModelSort
16656 instead of it being a hidden keyword argument. This is needed
16657 because the model property is set to construct only and the
16658 default value of None/NULL makes the object useless anyhow.
16660 https://bugzilla.gnome.org/show_bug.cgi?id=681477
16662 gi/overrides/Gtk.py | 8 ++++++++
16663 1 file changed, 8 insertions(+)
16665 commit c8424c2bb19356679e250e73542682dd5f4c74a5
16666 Author: Manuel Quiñones <manuq@laptop.org>
16667 Date: Fri Aug 10 09:38:24 2012 -0300
16669 Convert Gtk.CellRendererState in the pygi-convert script
16671 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
16673 https://bugzilla.gnome.org/show_bug.cgi?id=681596
16675 pygi-convert.sh | 5 +++++
16676 1 file changed, 5 insertions(+)
16678 commit 54d829b34a0d32d852db370f61cc7f25c149f373
16679 Author: Paolo Borelli <pborelli@gnome.org>
16680 Date: Mon Aug 6 16:19:28 2012 +0200
16682 More updates to the HACKING file
16684 module-install has been replaced with 'ftpadmin install' and other
16688 HACKING | 26 ++++++++++----------------
16689 1 file changed, 10 insertions(+), 16 deletions(-)
16691 commit 0788880c6cf4070d3db09896c165fe470d2ec186
16692 Author: Paolo Borelli <pborelli@gnome.org>
16693 Date: Mon Aug 6 16:00:39 2012 +0200
16695 Post-release version bump to 3.3.6
16697 configure.ac | 2 +-
16698 1 file changed, 1 insertion(+), 1 deletion(-)
16700 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
16701 Author: Paolo Borelli <pborelli@gnome.org>
16702 Date: Mon Aug 6 15:52:22 2012 +0200
16706 NEWS | 29 +++++++++++++++++++++++++++++
16707 1 file changed, 29 insertions(+)
16709 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
16710 Author: Paolo Borelli <pborelli@gnome.org>
16711 Date: Mon Aug 6 15:44:32 2012 +0200
16713 Update HACKING file to mention "make release-news"
16715 HACKING | 7 +++----
16716 1 file changed, 3 insertions(+), 4 deletions(-)
16718 commit 587a0c33901383b891f8eb77351c17f06af20b4f
16719 Author: Paolo Borelli <pborelli@gnome.org>
16720 Date: Mon Aug 6 15:38:23 2012 +0200
16722 pygi-closure: remove unused variables
16724 These variables are assigned but never actually used
16726 gi/pygi-closure.c | 8 --------
16727 1 file changed, 8 deletions(-)
16729 commit dbc6df6aad7197fcf8721ade429baadd749f7069
16730 Author: Martin Pitt <martinpitt@gnome.org>
16731 Date: Fri Aug 3 07:13:55 2012 +0200
16733 tests: Do not break on Pango warnings
16735 In some restricted environments (like chroots) we sometimes get
16737 Pango when it cannot find an appropriate font. Do not make the tests
16741 tests/test_overrides.py | 4 ++++
16742 tests/test_pygtkcompat.py | 6 ++++++
16743 2 files changed, 10 insertions(+)
16745 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
16746 Author: Martin Pitt <martinpitt@gnome.org>
16747 Date: Fri Aug 3 06:45:48 2012 +0200
16749 Fix list marshalling on big-endian machines
16751 On big endian machines we cannot simply set e. g. GIArgument.v_int8
16753 GIArgument.v_pointer to be a correct representation. This needs to use
16754 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
16755 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
16757 to and from GList and GSList, and handle int8 and int16 as well.
16759 Part of porting pygobject to ppc64:
16760 https://bugzilla.redhat.com/show_bug.cgi?id=842880
16761 https://bugzilla.gnome.org/show_bug.cgi?id=680693
16763 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
16764 gi/pygi-marshal-to-py.c | 54
16765 +++++++++++++++++++++++++++--------------------
16766 2 files changed, 60 insertions(+), 42 deletions(-)
16768 commit b5cd13f47309ec26727b7574e33595a357602468
16769 Author: Colin Walters <walters@verbum.org>
16770 Date: Tue Jul 31 11:47:02 2012 -0400
16772 pygi-marshal: One more 32-bit -Werror=format fix
16774 gi/pygi-marshal-from-py.c | 6 +++---
16775 1 file changed, 3 insertions(+), 3 deletions(-)
16777 commit 526bf43691cb6ed908589312b1693a6389eba00c
16778 Author: Martin Pitt <martinpitt@gnome.org>
16779 Date: Tue Jul 31 17:14:37 2012 +0200
16781 Beautify class/interface type mismatch error messages
16783 Avoid saying "<unknown module>.int", just skip the module name
16784 completely if we do not have one.
16786 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
16787 1 file changed, 12 insertions(+), 8 deletions(-)
16789 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
16790 Author: Martin Pitt <martinpitt@gnome.org>
16791 Date: Tue Jul 31 13:13:21 2012 +0200
16793 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
16795 On initial jhbuild bootstrap or restricted environments, the Pango,
16797 and Gtk typelibs might not be available. Skip tests which need these
16799 failing the testsuite.
16801 tests/test_atoms.py | 7 ++++++-
16802 tests/test_everything.py | 9 ++++++++-
16803 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
16804 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
16805 4 files changed, 60 insertions(+), 18 deletions(-)
16807 commit a2e73c109f3ed6080eabc85810e624b9f984317e
16808 Author: Colin Walters <walters@verbum.org>
16809 Date: Tue Jul 31 09:02:24 2012 -0400
16811 pygi-argument: Fix -Wformat warning on 32 bit builds
16813 gi/pygi-argument.c | 4 ++--
16814 1 file changed, 2 insertions(+), 2 deletions(-)
16816 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
16817 Author: Martin Pitt <martinpitt@gnome.org>
16818 Date: Tue Jul 31 11:14:36 2012 +0200
16820 Fix tests for Python 2
16822 In Python 2 we get different error messages for a mismatching self
16824 check after commit 121b14028.
16826 tests/test_gi.py | 32 ++++++++++++++++++++------------
16827 1 file changed, 20 insertions(+), 12 deletions(-)
16829 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
16830 Author: Martin Pitt <martinpitt@gnome.org>
16831 Date: Tue Jul 31 10:30:22 2012 +0200
16833 Build with -Werror=format
16835 This catches format string problems on particular architectures like
16837 dea24f8e12 much more insistently.
16840 1 file changed, 1 insertion(+)
16842 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
16843 Author: Simon Feltman <s.feltman@gmail.com>
16844 Date: Mon Jul 30 02:00:16 2012 -0700
16846 [API add] pygtkcompat: Add more pixbuf creation functions
16848 Add the following functions:
16849 pixbuf_new_from_data
16850 pixbuf_new_from_file_at_scale
16851 pixbuf_new_from_file_at_size
16852 pixbuf_new_from_inline
16853 pixbuf_new_from_stream
16854 pixbuf_new_from_stream_at_scale
16855 pixbuf_new_from_xpm_data
16856 pixbuf_get_file_info
16858 https://bugzilla.gnome.org/show_bug.cgi?id=680814
16860 gi/pygtkcompat.py | 10 +++++++++-
16861 1 file changed, 9 insertions(+), 1 deletion(-)
16863 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
16864 Author: Colin Walters <walters@verbum.org>
16865 Date: Mon Jul 30 22:17:44 2012 -0400
16867 marshal: Fix a lot of format string warnings on 32 bit
16869 G_GUINT64_FORMAT and friends handle "%lld" portably.
16871 https://bugzilla.gnome.org/show_bug.cgi?id=680878
16873 gi/pygi-marshal-from-py.c | 18 +++++++++---------
16874 1 file changed, 9 insertions(+), 9 deletions(-)
16876 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
16877 Author: Colin Walters <walters@verbum.org>
16878 Date: Mon Jul 30 22:30:07 2012 -0400
16880 marshal: Fix build break on Python 2
16882 I *think* using this wrapper function instead is right.
16884 https://bugzilla.gnome.org/show_bug.cgi?id=680879
16886 gi/pygi-marshal-from-py.c | 8 ++++----
16887 1 file changed, 4 insertions(+), 4 deletions(-)
16889 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
16890 Author: Manuel Quiñones <manuq@laptop.org>
16891 Date: Mon Jul 30 12:53:36 2012 -0300
16893 Improve testcase for tree_view_column_set_attributes
16895 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
16897 https://bugzilla.gnome.org/show_bug.cgi?id=680320
16899 tests/test_overrides.py | 20 ++++++++++++++++++--
16900 1 file changed, 18 insertions(+), 2 deletions(-)
16902 commit 121b1402860407fe46f7501e42447bf3607872ec
16903 Author: Martin Pitt <martinpitt@gnome.org>
16904 Date: Tue Jul 31 00:37:55 2012 +0200
16906 Fix error messages on interface/class type mismatches
16908 Previously, when you called a function with an argument which was not
16909 compatible with the expected class/interface type, you got an
16913 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
16915 which had the wrong (and useless) class name for the actual type,
16917 tell you which argument caused the problem. With this it says e. g.
16919 TypeError: argument column: Expected Gtk.TreeViewColumn, but
16924 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
16925 tests/test_gi.py | 57
16926 ++++++++++++++++++++++++++++++++++++++++++++++-
16927 2 files changed, 88 insertions(+), 10 deletions(-)
16929 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
16930 Author: Simon Feltman <s.feltman@gmail.com>
16931 Date: Sun Jul 29 23:36:25 2012 -0700
16933 Fix crash when returning (False, None) from
16934 Gtk.TreeModel.do_get_iter()
16936 Add a Py_None check before attempting memcpy().
16938 https://bugzilla.gnome.org/show_bug.cgi?id=680812
16940 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16942 gi/pygi-closure.c | 10 +++++++---
16943 tests/test_overrides.py | 9 +++++++++
16944 2 files changed, 16 insertions(+), 3 deletions(-)
16946 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
16947 Author: Martin Pitt <martinpitt@gnome.org>
16948 Date: Mon Jul 30 11:58:24 2012 +0200
16950 Add test case for Gtk.TextIter.forward_search()
16952 https://bugzilla.gnome.org/show_bug.cgi?id=679415
16954 tests/test_overrides.py | 19 +++++++++++++++++++
16955 1 file changed, 19 insertions(+)
16957 commit aae4e77482c02e21154ab02b159f380f5f0f74be
16958 Author: Martin Pitt <martinpitt@gnome.org>
16959 Date: Fri Jul 27 23:06:39 2012 +0200
16961 Add missing static declarations
16963 This fixes a lot of -Wmissing-prototype warnings.
16965 Also remove _pygi_marshal_cleanup_closure_unref() which is not
16968 gi/_gobject/gobjectmodule.c | 4 ++--
16969 gi/_gobject/pygobject.c | 2 +-
16970 gi/pygi-cache.c | 2 +-
16971 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
16972 gi/pygi-foreign.c | 2 +-
16973 gi/pygi-marshal-cleanup.c | 9 ---------
16974 tests/test-unknown.c | 2 +-
16975 tests/testhelpermodule.c | 4 ++--
16976 8 files changed, 20 insertions(+), 29 deletions(-)
16978 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
16979 Author: Martin Pitt <martinpitt@gnome.org>
16980 Date: Fri Jul 27 23:01:08 2012 +0200
16982 Fix more missing #includes
16984 Add missing includes which caused -Wmissing-prototypes warnings.
16986 gi/_gobject/pygenum.c | 2 ++
16987 gi/_gobject/pyginterface.c | 2 ++
16988 2 files changed, 4 insertions(+)
16990 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
16991 Author: Martin Pitt <martinpitt@gnome.org>
16992 Date: Fri Jul 27 22:59:21 2012 +0200
16994 Make some warnings fatal
16996 Add -Werror for some warnings which are real errors in the source
16998 really want to avoid. This includes -Wmissing-prototypes, but that
17000 breaks on building g-i's regress.c.
17002 configure.ac | 5 +++++
17003 1 file changed, 5 insertions(+)
17005 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
17006 Author: Martin Pitt <martinpitt@gnome.org>
17007 Date: Fri Jul 27 22:08:47 2012 +0200
17009 Fix missing #includes
17011 Add missing includes which caused -Wmissing-prototypes warnings.
17013 gi/_glib/pygiochannel.c | 2 ++
17014 gi/_glib/pygspawn.c | 2 ++
17015 2 files changed, 4 insertions(+)
17017 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
17018 Author: Martin Pitt <martinpitt@gnome.org>
17019 Date: Fri Jul 27 20:52:00 2012 +0200
17021 pygi-info.c: Robustify pointer arithmetic
17023 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
17025 that we are using byte offsets. Fixes warnings:
17027 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
17028 arithmetic [-Werror=pointer-arith]
17030 gi/pygi-info.c | 4 ++--
17031 1 file changed, 2 insertions(+), 2 deletions(-)
17033 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
17034 Author: Martin Pitt <martinpitt@gnome.org>
17035 Date: Fri Jul 27 20:50:30 2012 +0200
17037 pyglib.c: Remove some dead code
17039 Drop unused pyglib_gil_state_ensure_py23() and
17040 pyglib_gil_state_release_py23().
17042 gi/_glib/pyglib.c | 18 ------------------
17043 1 file changed, 18 deletions(-)
17045 commit a46d165d906d0ac7613f4d946542423e979f39d5
17046 Author: Manuel Quiñones <manuq@laptop.org>
17047 Date: Fri Jul 20 10:37:04 2012 -0300
17049 Add set_attributes() override to Gtk.TreeViewColumn
17051 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
17052 gtk_cell_layout_clear_attributes and then
17053 gtk_cell_layout_add_attribute for each (name, value) passed. This
17054 patch makes the same in the overrides.
17056 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17057 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17059 gi/overrides/Gtk.py | 7 +++++++
17060 tests/test_overrides.py | 6 ++++++
17061 2 files changed, 13 insertions(+)
17063 commit 4df676e10a5ea595a0d491af10268f557dd722d7
17064 Author: Daniel Narvaez <dwnarvaez@gmail.com>
17065 Date: Tue Jul 24 13:49:15 2012 +0200
17069 The autogenerated gitignores was missing several files. So we
17070 was using a manual .gitignore at the root. But since it's
17071 enough to add a couple of entries to it to cover the whole
17072 tree, there is no much point in using git.mk at all.
17074 https://bugzilla.gnome.org/show_bug.cgi?id=678192
17077 docs/Makefile.am | 2 -
17078 examples/Makefile.am | 3 -
17079 gi/Makefile.am | 3 -
17080 gi/_glib/Makefile.am | 3 -
17081 gi/_gobject/Makefile.am | 2 -
17082 gi/overrides/Makefile.am | 2 -
17083 gi/repository/Makefile.am | 2 -
17085 ----------------------------------------------
17086 tests/Makefile.am | 2 -
17087 10 files changed, 222 deletions(-)
17089 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
17090 Author: Simon Feltman <s.feltman@gmail.com>
17091 Date: Fri Jul 20 19:55:46 2012 -0700
17093 Gtk overrides: Add TreePath.__getitem__()
17095 Use pythons sub-script operator for indexing into TreePaths
17096 as was the case in PyGtk. Also changed __iter__ to use
17097 TreePath.get_indices as opposed to formatting and re-parsing
17098 a string for getting an index list.
17100 https://bugzilla.gnome.org/show_bug.cgi?id=680353
17102 gi/overrides/Gtk.py | 5 ++++-
17103 tests/test_overrides.py | 4 ++++
17104 2 files changed, 8 insertions(+), 1 deletion(-)
17106 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
17107 Author: Simon Feltman <s.feltman@gmail.com>
17108 Date: Fri Jul 20 21:34:33 2012 -0700
17110 Fix property type mapping from int to TYPE_INT for python3.
17112 Python3 does not have a long type, however, propertyhelper.py was
17113 using long_ = int; to get things working. Type mapping code
17114 was then checking for long_ first and always returning TYPE_LONG.
17115 Additional refactoring was done to move large if/elif statements
17116 into dictionary lookups and usage of tuples instead of lists
17117 for simple 'in' list of items tests.
17119 https://bugzilla.gnome.org/show_bug.cgi?id=679939
17121 gi/_gobject/propertyhelper.py | 117
17122 +++++++++++++++++++-----------------------
17123 tests/test_properties.py | 55 +++++++++++++++-----
17124 2 files changed, 96 insertions(+), 76 deletions(-)
17126 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
17127 Author: Manuel Quiñones <manuq@laptop.org>
17128 Date: Thu Jul 19 12:11:34 2012 -0300
17130 Convert Gtk.DestDefaults constants in pygi-convert.sh script
17132 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17134 https://bugzilla.gnome.org/show_bug.cgi?id=680259
17136 pygi-convert.sh | 1 +
17137 1 file changed, 1 insertion(+)
17139 commit d58c3553062fd8704a81a8233b4a1563a6611718
17140 Author: Manuel Quiñones <manuq@laptop.org>
17141 Date: Thu Jul 19 12:04:03 2012 -0300
17143 Convert all Gdk.WindowState constants in pygi-convert.sh
17145 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17147 https://bugzilla.gnome.org/show_bug.cgi?id=680257
17149 pygi-convert.sh | 1 +
17150 1 file changed, 1 insertion(+)
17152 commit a3aae2e152c0b955037b7b85e16d14d00881d870
17153 Author: Joe R. Nassimian <placidrage@gmail.com>
17154 Date: Thu Jul 19 15:48:20 2012 +0200
17156 [API add] Add API for checking pygobject's version
17158 Add a gi.__version__ attribute for the textual version, and
17159 gi.version_info for
17160 a version triple similar to sys.version_info.
17162 Also add a gi.require_version(<minimum_version>) which raises an
17164 the pygobject version is older.
17166 https://bugzilla.gnome.org/show_bug.cgi?id=680176
17168 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17170 gi/__init__.py | 16 ++++++++++++++++
17171 tests/test_gi.py | 16 ++++++++++++++++
17172 2 files changed, 32 insertions(+)
17174 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
17175 Author: Manuel Quiñones <manuq@laptop.org>
17176 Date: Mon Jul 16 17:14:46 2012 -0300
17178 pygi-convert.sh: Add some missing Gdk.CursorTypes
17180 This patch adds WATCH, ARROW and CLOCK.
17182 https://bugzilla.gnome.org/show_bug.cgi?id=680050
17184 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17185 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17187 pygi-convert.sh | 3 +++
17188 1 file changed, 3 insertions(+)
17190 commit 0b08c01414ac73a4604acd9a846e7af09574929f
17191 Author: Manuel Kaufmann <humitos@gmail.com>
17192 Date: Tue Jul 17 09:05:27 2012 -0300
17194 pygi-convert.sh: convert rsvg.Handle(data=...)
17196 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
17198 https://bugzilla.gnome.org/show_bug.cgi?id=680092
17200 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
17201 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17203 pygi-convert.sh | 2 ++
17204 1 file changed, 2 insertions(+)
17206 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
17207 Author: Martin Pitt <martinpitt@gnome.org>
17208 Date: Mon Jul 16 17:35:38 2012 +0200
17210 configure.ac: post-release bump to 3.3.5
17212 configure.ac | 2 +-
17213 1 file changed, 1 insertion(+), 1 deletion(-)
17215 commit 126842b7227fcc1381dc158acdc5a96d0a465515
17216 Author: Martin Pitt <martinpitt@gnome.org>
17217 Date: Mon Jul 16 17:33:08 2012 +0200
17221 NEWS | 28 ++++++++++++++++++++++++++++
17222 1 file changed, 28 insertions(+)
17224 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
17225 Author: Martin Pitt <martinpitt@gnome.org>
17226 Date: Mon Jul 16 17:29:22 2012 +0200
17228 test_gi: Fix for Python 2
17230 tests/test_gi.py | 7 +++++--
17231 1 file changed, 5 insertions(+), 2 deletions(-)
17233 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
17234 Author: Martin Pitt <martinpitt@gnome.org>
17235 Date: Mon Jul 16 16:35:33 2012 +0200
17237 pygi-convert.sh: Drop bogus filter_new() conversion
17239 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
17240 constructor, so do not try to convert it to a constructor call.
17242 https://bugzilla.gnome.org/show_bug.cgi?id=679999
17244 pygi-convert.sh | 1 -
17245 1 file changed, 1 deletion(-)
17247 commit c0607d970fc59528ca27d518282cf2871b92e909
17248 Author: Martin Pitt <martinpitt@gnome.org>
17249 Date: Mon Jul 16 16:00:40 2012 +0200
17251 Fix help() for GI modules
17253 Derive DynamicModule from types.ModuleType, so that the inspect
17255 ismodule() actually succeeds on those and generates useful help on
17259 https://bugzilla.gnome.org/show_bug.cgi?id=679804
17261 gi/module.py | 3 ++-
17262 tests/test_gi.py | 15 +++++++++++++++
17263 2 files changed, 17 insertions(+), 1 deletion(-)
17265 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
17266 Author: Martin Pitt <martinpitt@gnome.org>
17267 Date: Mon Jul 16 15:53:31 2012 +0200
17269 Skip gi.CallbackInfo objects from a module's dir()
17271 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
17273 implement __getattr__ for those.
17275 Add a test case that dir() works on GI modules, contain expected
17277 and that all identifiers in dir() can actually be retrieved.
17279 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
17281 gi/module.py | 7 +++++--
17282 tests/test_gi.py | 14 ++++++++++++++
17283 2 files changed, 19 insertions(+), 2 deletions(-)
17285 commit f6cc039e014448a553d626aac4020ee69717edab
17286 Author: Martin Pitt <martinpitt@gnome.org>
17287 Date: Mon Jul 16 15:38:05 2012 +0200
17289 Fix __path__ module attribute
17291 get_typelib_path() returns bytes, not strings, so in Python 3 we
17293 it to get a proper __path__ attribute.
17295 gi/module.py | 17 +++++++++++++++++
17296 tests/test_gi.py | 10 ++++++++++
17297 2 files changed, 27 insertions(+)
17299 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
17300 Author: Joe R. Nassimian <placidrage@gmail.com>
17301 Date: Mon Jul 16 15:02:10 2012 +0200
17303 pygi-convert.sh: Fix some child → getChild() false positives
17305 https://bugzilla.gnome.org/show_bug.cgi?id=680004
17307 pygi-convert.sh | 2 +-
17308 1 file changed, 1 insertion(+), 1 deletion(-)
17310 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
17311 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
17312 Date: Thu Jul 12 09:19:42 2012 +0200
17314 Fix array handling for interfaces, properties, and signals
17316 Fix lots of corner cases where arrays are not handled properly.
17317 _pygi_argument_to_object() now has the documented expectation of
17319 packed in GArrays. This was implicit before and not correctly done
17323 The helper _pygi_argument_to_array() has been improved to work on
17325 array. Fix all call sites of _pygi_argument_to_object() to do the
17326 array conversion appropriately before calling
17327 _pygi_argument_to_object().
17329 Adds a test case that implements a GInterface with a method that
17331 of variants as input.
17333 https://bugzilla.gnome.org/show_bug.cgi?id=667244
17335 gi/pygi-argument.c | 156
17336 ++++++++++++++++++++++++++++++++---------------
17337 gi/pygi-argument.h | 4 +-
17338 gi/pygi-closure.c | 11 ++++
17339 gi/pygi-info.c | 20 ++++--
17340 gi/pygi-property.c | 1 +
17341 gi/pygi-signal-closure.c | 14 ++++-
17342 tests/test_gi.py | 18 ++++++
17343 7 files changed, 167 insertions(+), 57 deletions(-)
17345 commit bb80d124269ee2389c04d03a478475868fd9ff7b
17346 Author: Manuel Quiñones <manuq@laptop.org>
17347 Date: Wed Jul 11 22:05:41 2012 -0300
17349 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
17351 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17353 https://bugzilla.gnome.org/show_bug.cgi?id=679775
17355 pygi-convert.sh | 3 +++
17356 1 file changed, 3 insertions(+)
17358 commit e3a63eefa5fb2abeabd210790e12642e577363c8
17359 Author: Manuel Quiñones <manuq@laptop.org>
17360 Date: Wed Jul 11 13:18:16 2012 -0300
17362 Add the same rules for pack_start to convert pack_end
17364 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17366 https://bugzilla.gnome.org/show_bug.cgi?id=679760
17368 pygi-convert.sh | 5 +++++
17369 1 file changed, 5 insertions(+)
17371 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
17372 Author: Dave Malcolm <dmalcolm@redhat.com>
17373 Date: Wed Jul 11 08:21:27 2012 +0200
17375 Add error-checking for the case where _arg_cache_new() fails
17377 This can happen when a typelib and its underlying library are
17379 converts the segfault into a more helpful traceback.
17381 https://bugzilla.gnome.org/show_bug.cgi?id=678914
17383 gi/pygi-cache.c | 2 ++
17384 1 file changed, 2 insertions(+)
17386 commit 41287d8a439c656e4ac60361fddec643c713234c
17387 Author: Manuel Quiñones <manuq@laptop.org>
17388 Date: Wed Jul 11 11:13:38 2012 -0300
17390 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
17393 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17395 https://bugzilla.gnome.org/show_bug.cgi?id=679754
17397 pygi-convert.sh | 6 ++++++
17398 1 file changed, 6 insertions(+)
17400 commit 5403149b900d1b73cbc78767dc43be2eb344c836
17401 Author: Simon Feltman <s.feltman@gmail.com>
17402 Date: Tue Jul 10 19:07:32 2012 -0700
17404 Fix PyObject_Repr and PyObject_Str reference leaks
17406 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
17409 https://bugzilla.gnome.org/show_bug.cgi?id=675857
17411 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17413 gi/_glib/glibmodule.c | 10 +++++++--
17414 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
17415 gi/_gobject/pygobject.c | 53
17416 ++++++++++++++++++++++++++++++---------------
17417 gi/pygi-marshal-from-py.c | 9 +++++---
17418 4 files changed, 62 insertions(+), 27 deletions(-)
17420 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
17421 Author: Martin Pitt <martinpitt@gnome.org>
17422 Date: Wed Jul 4 08:46:30 2012 +0200
17424 [API add] Gtk overrides: Add TreePath.__len__()
17426 Use the path depth as length of a Gtk.TreePath object.
17428 https://bugzilla.gnome.org/show_bug.cgi?id=679199
17430 gi/overrides/Gtk.py | 3 +++
17431 tests/test_overrides.py | 4 ++++
17432 2 files changed, 7 insertions(+)
17434 commit e1e849d1a9af77c29ee35971db8d439bac60d573
17435 Author: Martin Pitt <martinpitt@gnome.org>
17436 Date: Wed Jul 4 08:35:16 2012 +0200
17438 GLib.Variant: Fix repr(), add proper str()
17440 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
17442 proper __str__() method, and tests for both.
17444 Thanks to Rul Matos for spotting this!
17446 https://bugzilla.gnome.org/show_bug.cgi?id=679336
17448 gi/overrides/GLib.py | 6 +++++-
17449 tests/test_overrides.py | 5 +++++
17450 2 files changed, 10 insertions(+), 1 deletion(-)
17452 commit af20d7c929b9c1888454b52932a308d346e1c12b
17453 Author: Martin Pitt <martinpitt@gnome.org>
17454 Date: Thu Jun 28 06:51:22 2012 +0200
17456 m4/python.m4: Update Python version list
17458 Thanks to Dieter Verfaillie for pointing this out.
17460 m4/python.m4 | 3 +--
17461 1 file changed, 1 insertion(+), 2 deletions(-)
17463 commit a96a26234e2aaa157837d26094864e3ad9b63edf
17464 Author: Micah Carrick <micah@quixotix.com>
17465 Date: Mon Jun 25 09:05:59 2012 -0700
17467 Remove "label" property from Gtk.MenuItem if it is not set
17469 The Gtk.MenuItem will not render as a separator if the "label" or
17470 "user-underline" properties have been accessed. The constructor
17471 for Gtk.MenuItem override should not pass the "label" property
17472 as an argument if it is None since that will still result in an
17473 empty label widget which breaks Gtk.SeparatorMenuItem.
17475 https://bugzilla.gnome.org/show_bug.cgi?id=670575
17477 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17479 gi/overrides/Gtk.py | 5 ++++-
17480 1 file changed, 4 insertions(+), 1 deletion(-)
17482 commit afa12faf339efb4f7780168e884ecf49b630644a
17483 Author: Martin Pitt <martinpitt@gnome.org>
17484 Date: Mon Jun 25 16:36:31 2012 +0200
17486 configure.ac: Post-release bump to 3.3.4.
17488 configure.ac | 2 +-
17489 1 file changed, 1 insertion(+), 1 deletion(-)
17491 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
17492 Author: Martin Pitt <martinpitt@gnome.org>
17493 Date: Mon Jun 25 16:35:49 2012 +0200
17498 configure.ac | 2 +-
17499 2 files changed, 4 insertions(+), 1 deletion(-)
17501 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
17502 Author: Martin Pitt <martinpitt@gnome.org>
17503 Date: Mon Jun 25 16:32:45 2012 +0200
17505 Do not escape enum and flag names that are Python keywords
17507 These are translated to upper case, and thus can never be
17508 keywords. This broke
17509 existing API such as Gtk.ShadowType.IN.
17511 gi/module.py | 2 +-
17512 gi/pygi-info.c | 7 +++++++
17513 tests/test_gi.py | 3 +++
17514 3 files changed, 11 insertions(+), 1 deletion(-)
17516 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
17517 Author: Martin Pitt <martinpitt@gnome.org>
17518 Date: Mon Jun 25 15:39:50 2012 +0200
17520 configure.ac: Post-release version bump to 3.3.4
17522 configure.ac | 2 +-
17523 1 file changed, 1 insertion(+), 1 deletion(-)
17525 commit fe56faa346c8e8f9fd5915602424778d458a776d
17526 Author: Martin Pitt <martinpitt@gnome.org>
17527 Date: Mon Jun 25 15:36:37 2012 +0200
17531 NEWS | 15 +++++++++++++++
17532 1 file changed, 15 insertions(+)
17534 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
17535 Author: Martin Pitt <martinpitt@gnome.org>
17536 Date: Mon Jun 25 15:35:19 2012 +0200
17538 Bring back ChangeLog make target
17540 This is being used by "make dist".
17542 Makefile.am | 15 +++++++++++++++
17543 1 file changed, 15 insertions(+)
17545 commit 760118e4ed73de2f022706ef897fcc848e90c005
17546 Author: Martin Pitt <martinpitt@gnome.org>
17547 Date: Mon Jun 25 15:31:14 2012 +0200
17549 Remove obsolete ChangeLog and release-tag make targets
17551 Makefile.am | 23 -----------------------
17552 1 file changed, 23 deletions(-)
17554 commit e92278692bb51679d6e957c2ac36db64498a7c73
17555 Author: Simon Schampijer <simon@schampijer.de>
17556 Date: Fri Jun 15 16:11:21 2012 +0200
17558 Do not do any python calls when GObjects are destroyed after the
17559 python interpreter has been finalized
17561 This happens when pygobject_data_free () function is called after
17563 interpreter shuts down, we can't do python calls after that.
17565 Benzea did the findings because of a bug in Sugar, and commented
17567 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
17569 https://bugzilla.gnome.org/show_bug.cgi?id=678046
17571 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
17572 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17574 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
17575 1 file changed, 22 insertions(+), 5 deletions(-)
17577 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
17578 Author: Martin Pitt <martinpitt@gnome.org>
17579 Date: Mon Jun 25 15:06:47 2012 +0200
17581 Do not change constructor-only "type" Window property
17583 When reading a Gtk.Window subclass from a GtkBuilder object,
17585 properties are already set at __init__ time. Do not try to set it
17589 https://bugzilla.gnome.org/show_bug.cgi?id=678510
17591 gi/overrides/Gtk.py | 8 +++++++-
17592 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
17593 2 files changed, 43 insertions(+), 1 deletion(-)
17595 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
17596 Author: Martin Pitt <martinpitt@gnome.org>
17597 Date: Mon Jun 25 09:40:38 2012 +0200
17599 Escape identifiers which are Python keywords
17601 Add a trailing underscore to identifiers which are Python keywords.
17603 We use a per-major-version static identifier list derived from
17605 instead of calling out to Python's keyword.iskeyword(). This is
17607 and also allows us to tweak the result. For example, Python 3 dropped
17609 as a keyword, but we still want to escape that to avoid breaking
17611 between different Python versions.
17613 Error out when building with a major Python version not covered yet,
17615 do not forget to update the list in the future.
17617 https://bugzilla.gnome.org/show_bug.cgi?id=676746
17619 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
17620 tests/test_gi.py | 17 +++++++++++++++++
17621 2 files changed, 54 insertions(+), 1 deletion(-)
17623 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
17624 Author: Martin Pitt <martinpitt@gnome.org>
17625 Date: Fri Jun 22 13:13:37 2012 +0200
17627 Ignore E123 in pep8 tests
17629 This is "closing bracket does not match indentation of opening
17631 but it really looks better to have the closing bracket on the
17633 of the opening bracket instead of the indentation level of the
17635 contains the opening bracket.
17637 tests/Makefile.am | 2 +-
17638 1 file changed, 1 insertion(+), 1 deletion(-)
17640 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
17641 Author: Martin Pitt <martinpitt@gnome.org>
17642 Date: Fri Jun 22 13:08:34 2012 +0200
17644 PEP8: Fix indentation
17646 Spotted by current pep8 checker.
17648 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
17649 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
17650 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
17651 demos/gtk-demo/demos/appwindow.py | 2 +-
17652 demos/gtk-demo/demos/clipboard.py | 8 +--
17653 demos/gtk-demo/demos/colorselector.py | 6 +--
17654 demos/gtk-demo/demos/rotatedtext.py | 8 +--
17655 demos/gtk-demo/gtk-demo.py | 6 +--
17656 examples/option.py | 29 ++++++-----
17657 examples/signal.py | 3 +-
17658 gi/_glib/option.py | 6 +--
17659 gi/_gobject/propertyhelper.py | 18 +++----
17660 gi/module.py | 14 +++---
17661 gi/overrides/GLib.py | 2 +-
17662 gi/overrides/Gio.py | 11 +++--
17663 gi/overrides/Gtk.py | 16 +++---
17664 gi/pygtkcompat.py | 7 ++-
17665 gi/types.py | 17 ++++---
17666 tests/runtests.py | 2 +-
17667 tests/test_gdbus.py | 55 +++++++++++----------
17668 tests/test_gi.py | 15 +++---
17669 tests/test_gobject.py | 18 +++----
17670 tests/test_option.py | 26 +++++-----
17671 tests/test_overrides.py | 67
17672 +++++++++++++-------------
17673 tests/test_properties.py | 30 ++++++------
17674 tests/test_signal.py | 2 +-
17675 tests/test_uris.py | 9 ++--
17676 27 files changed, 200 insertions(+), 193 deletions(-)
17678 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
17679 Author: Martin Pitt <martinpitt@gnome.org>
17680 Date: Fri Jun 22 12:36:54 2012 +0200
17682 PEP8: Use isinstance() instead of direct type comparisons
17684 Spotted by current pep8 checker.
17686 gi/overrides/GLib.py | 2 +-
17687 gi/overrides/__init__.py | 2 +-
17688 2 files changed, 2 insertions(+), 2 deletions(-)
17690 commit 50e45a624e6301e65c150e137aad6d092f203f3f
17691 Author: Martin Pitt <martinpitt@gnome.org>
17692 Date: Fri Jun 22 12:30:10 2012 +0200
17694 PEP8: Fix continuation lines
17696 Spotted by current pep8 checker.
17698 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
17699 gi/__init__.py | 6 +++---
17700 gi/_gobject/__init__.py | 6 ++----
17701 gi/module.py | 6 +++---
17702 tests/test_overrides.py | 11 +++--------
17703 5 files changed, 14 insertions(+), 21 deletions(-)
17705 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
17706 Author: Martin Pitt <martinpitt@gnome.org>
17707 Date: Fri Jun 22 12:24:32 2012 +0200
17709 PEP8: Consistent comparisons against True, False, and None
17711 Spotted by current pep8 checker.
17713 demos/gtk-demo/demos/clipboard.py | 4 ++--
17714 demos/gtk-demo/demos/drawingarea.py | 4 ++--
17715 demos/gtk-demo/gtk-demo.py | 8 ++++----
17716 gi/overrides/Gdk.py | 2 +-
17717 gi/overrides/Gtk.py | 2 +-
17718 tests/test_gi.py | 4 ++--
17719 tests/test_overrides.py | 3 +--
17720 7 files changed, 13 insertions(+), 14 deletions(-)
17722 commit 379c1474a071292a1e8da413af2f5438cff09fc8
17723 Author: Martin Pitt <martinpitt@gnome.org>
17724 Date: Wed Jun 20 12:23:12 2012 +0200
17726 Fix crash in GLib.find_program_in_path()
17728 We need to handle a NULL return value properly.
17730 https://bugzilla.gnome.org/show_bug.cgi?id=678119
17732 gi/_glib/glibmodule.c | 10 ++++++++--
17733 tests/Makefile.am | 1 +
17734 tests/test_glib.py | 15 +++++++++++++++
17735 3 files changed, 24 insertions(+), 2 deletions(-)
17737 commit 73531fd7820bd1922347bd856298d68205a27877
17738 Author: Martin Pitt <martinpitt@gnome.org>
17739 Date: Wed Jun 20 11:16:39 2012 +0200
17741 Revert "Do not bind gobject_get_data() and gobject_set_data()"
17743 We should have some deprecation period for this, so bring back
17745 methods and add deprecation warnings.
17747 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
17749 https://bugzilla.gnome.org/show_bug.cgi?id=641944
17751 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
17752 1 file changed, 44 insertions(+)
17754 commit a0daa843801658929ffee5bcb9eb67d955dc7921
17755 Author: David Keijser <keijser@gmail.com>
17756 Date: Mon Jun 18 15:09:34 2012 +0200
17758 GVariant: Raise proper TypeError on invalid tuple input
17760 https://bugzilla.gnome.org/show_bug.cgi?id=678317
17762 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17764 gi/overrides/GLib.py | 4 ++--
17765 tests/test_overrides.py | 1 +
17766 2 files changed, 3 insertions(+), 2 deletions(-)
17768 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
17769 Author: Martin Pitt <martinpitt@gnome.org>
17770 Date: Tue Jun 5 19:11:38 2012 +0200
17772 configure.ac: Post-release bump to 3.3.3
17774 configure.ac | 2 +-
17775 1 file changed, 1 insertion(+), 1 deletion(-)
17777 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
17778 Author: Martin Pitt <martinpitt@gnome.org>
17779 Date: Tue Jun 5 19:09:12 2012 +0200
17783 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
17784 1 file changed, 44 insertions(+)
17786 commit 8209c1ae1632c77768699481e574d5d378956e71
17787 Author: Martin Pitt <martinpitt@gnome.org>
17788 Date: Tue Jun 5 19:04:49 2012 +0200
17790 Fix "release-news" make target
17792 Actually list changes since the previous release, not since 3.1.92.
17795 1 file changed, 1 insertion(+), 1 deletion(-)
17797 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
17798 Author: Bastian Winkler <buz@netbuz.org>
17799 Date: Wed May 9 19:04:01 2012 +0200
17801 foreign: Register cairo.Path and cairo.FontOptions foreign structs
17803 They are rarely used, but they are used at least by Gdk, PangoCairo
17807 clutter.Path is not used by any API that the test suite uses, so
17809 without a test for now.
17811 https://bugzilla.gnome.org/show_bug.cgi?id=677388
17813 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17815 gi/pygi-foreign-cairo.c | 85
17816 ++++++++++++++++++++++++++++++++++++++++++++++++
17817 tests/test_everything.py | 8 +++++
17818 2 files changed, 93 insertions(+)
17820 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
17821 Author: Marien Zwart <marien.zwart@gmail.com>
17822 Date: Wed May 23 01:51:46 2012 +0200
17824 Check types in GBoxed assignments
17826 Check if the Python value is GBoxed instead of assuming it is.
17827 Without this, the following segfaults:
17829 from gi.repository import Soup
17831 msg = Soup.Message()
17832 msg.props.uri = 'http://www.gnome.org'
17834 as we assume the new property is a GBoxed while it is actually a
17837 https://bugzilla.gnome.org/show_bug.cgi?id=676603
17839 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
17840 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17842 gi/pygi-argument.c | 10 +++++++---
17843 tests/test_gi.py | 19 +++++++++++++++++++
17844 2 files changed, 26 insertions(+), 3 deletions(-)
17846 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
17847 Author: Bastian Winkler <buz@netbuz.org>
17848 Date: Sat May 12 14:08:51 2012 +0200
17850 [API add] Gtk overrides: Add TreeModelRow.get_previous()
17852 TreeModelRow has get_next() and a next property, it should also have
17853 get_previous() and previous.
17855 https://bugzilla.gnome.org/show_bug.cgi?id=677389
17857 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17859 gi/overrides/Gtk.py | 9 +++++++++
17860 1 file changed, 9 insertions(+)
17862 commit 5501fba534696974899f2591929bff9e1b6ecd65
17863 Author: Bastian Winkler <buz@netbuz.org>
17864 Date: Sat May 12 13:50:02 2012 +0200
17866 [API add] Add missing GObject.TYPE_VARIANT
17868 Add TYPE_VARIANT to constants to make it accessible as
17869 GObject.TYPE_VARIANT.
17871 https://bugzilla.gnome.org/show_bug.cgi?id=677387
17873 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17875 gi/_gobject/__init__.py | 1 +
17876 gi/_gobject/constants.py | 1 +
17877 2 files changed, 2 insertions(+)
17879 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
17880 Author: Jasper St. Pierre <jstpierre@mecheye.net>
17881 Date: Fri Jun 1 02:53:13 2012 -0400
17883 Fix boxed type equality
17885 Each boxed type has its own Python type, not PyGBoxed_Type. Use
17886 PyObject_IsInstance instead of comparing against PyGBoxed_Type
17889 https://bugzilla.gnome.org/show_bug.cgi?id=677249
17891 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17893 gi/_gobject/pygboxed.c | 3 ++-
17894 tests/test_everything.py | 8 ++++++++
17895 2 files changed, 10 insertions(+), 1 deletion(-)
17897 commit dc8eef26906753fcb3ce057b23ca110137897fa5
17898 Author: Jose Rostagno <joserostagno@vijona.com.ar>
17899 Date: Fri Jun 1 13:43:38 2012 +0200
17901 Fix TestProperties.testBoxed test
17903 A typo was preventing the test from being run.
17905 https://bugzilla.gnome.org/show_bug.cgi?id=676644
17907 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17909 tests/test_properties.py | 4 ++--
17910 1 file changed, 2 insertions(+), 2 deletions(-)
17912 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
17913 Author: Carlos Garnacho <carlos@lanedo.com>
17914 Date: Thu May 17 17:09:15 2012 +0200
17916 Fix handling of by-reference structs as out parameters
17918 When marshalling back from python, copy the result of by-reference
17919 structs into the memory expected by the native caller, instead of
17920 attempting to handle it as a pointer.
17922 https://bugzilla.gnome.org/show_bug.cgi?id=653151
17924 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17926 gi/pygi-closure.c | 17 +++++++++++++++++
17927 tests/test_gi.py | 5 +++++
17928 2 files changed, 22 insertions(+)
17930 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
17931 Author: Martin Pitt <martinpitt@gnome.org>
17932 Date: Fri Jun 1 12:28:53 2012 +0200
17934 tests: Add more vfunc checks for GIMarshallingTestsObject
17936 tests/test_gi.py | 25 +++++++++++++++++++++++++
17937 1 file changed, 25 insertions(+)
17939 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
17940 Author: Martin Pitt <martinpitt@gnome.org>
17941 Date: Fri Jun 1 12:02:55 2012 +0200
17943 Test caller-allocated GValue out parameter
17945 This came up as a side issue in
17946 https://bugzilla.gnome.org/show_bug.cgi?id=653151
17948 tests/test_gi.py | 3 +++
17949 1 file changed, 3 insertions(+)
17951 commit edc17e703e1a05e20545d3df9167ceb076450443
17952 Author: Bastian Winkler <buz@netbuz.org>
17953 Date: Wed May 16 11:13:05 2012 +0200
17955 GObject.bind_property: Support transform functions
17957 Add support for optional transformation functions to
17958 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
17959 return value correctly.
17961 https://bugzilla.gnome.org/show_bug.cgi?id=676169
17963 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17965 gi/_gobject/pygobject.c | 130
17966 +++++++++++++++++++++++++++++++++++++++++++++---
17967 tests/test_gobject.py | 59 ++++++++++++++++++++++
17968 2 files changed, 181 insertions(+), 8 deletions(-)
17970 commit 07a08b49aae83a297e2f91240448314e4663f724
17971 Author: Carlos Garnacho <carlos@lanedo.com>
17972 Date: Mon May 14 15:31:14 2012 +0200
17974 Fix lookup of vfuncs in parent classes
17976 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
17978 As subclasses implemented in python override the attribute for the
17979 vfunc, __mro__ has to be used so subclasses of the subclass overriding
17980 methods may find the corresponding VFuncInfo.
17982 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
17984 gi/types.py | 6 +++---
17985 tests/test_gi.py | 27 +++++++++++++++++++++++++++
17986 2 files changed, 30 insertions(+), 3 deletions(-)
17988 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
17989 Author: Martin Pitt <martinpitt@gnome.org>
17990 Date: Fri Jun 1 08:18:40 2012 +0200
17992 tests/test_properties.py: Fix whitespace
17994 The pep8 check failed on this.
17996 tests/test_properties.py | 2 +-
17997 1 file changed, 1 insertion(+), 1 deletion(-)
17999 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
18000 Author: Jasper St. Pierre <jstpierre@mecheye.net>
18001 Date: Wed May 30 16:45:53 2012 -0400
18003 gi: Support zero-terminated arrays with length arguments
18005 Sometimes, you may see (array zero-terminated=1 length=length)
18007 Don't expose the length argument to the user in this case.
18009 https://bugzilla.gnome.org/show_bug.cgi?id=677124
18011 gi/pygi-cache.c | 13 ++++---------
18012 tests/test_gi.py | 3 +++
18013 2 files changed, 7 insertions(+), 9 deletions(-)
18015 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
18016 Author: Jasper St. Pierre <jstpierre@mecheye.net>
18017 Date: Fri May 25 17:09:55 2012 -0400
18021 libregress now needs cairo-gobject
18023 configure.ac | 2 +-
18024 1 file changed, 1 insertion(+), 1 deletion(-)
18026 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
18027 Author: Martin Pitt <martinpitt@gnome.org>
18028 Date: Mon May 14 15:48:34 2012 +0200
18030 Fix comment in previous commit
18032 tests/test_gobject.py | 2 +-
18033 1 file changed, 1 insertion(+), 1 deletion(-)
18035 commit 6610428394d0c65987de5021bf2c38641cdb7116
18036 Author: Simon Feltman <s.feltman@gmail.com>
18037 Date: Tue May 8 20:04:09 2012 -0700
18039 [API add] Add GObject.bind_property method
18041 This adds the "bind_property" method for binding two gobject
18043 together. The method returns a weak reference to a GBinding object.
18044 The BindingWeakRef object is used to manage GBinding objects within
18046 created through GObject.bind_property. It is a sub-class
18047 PyGObjectWeakRef so
18048 that we can maintain the same reference counting semantics between
18050 and GObject Binding objects. This gives explicit direct control of the
18051 binding lifetime by using the "unbind" method on the BindingWeakRef
18053 along with implicit management based on the lifetime of the source or
18056 Note this does not yet include support for converter closures. This
18058 later after the initial implementation is accepted.
18060 https://bugzilla.gnome.org/show_bug.cgi?id=675582
18062 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18064 gi/_gobject/pygobject.c | 104
18065 +++++++++++++++++++++++++++++++++++++++++++++++-
18066 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
18067 2 files changed, 193 insertions(+), 1 deletion(-)
18069 commit 88babe7377402f6e6f912a8b83615aab848eae81
18070 Author: Jose Rostagno <joserostagno@vijona.com.ar>
18071 Date: Fri May 11 19:08:47 2012 -0300
18073 pygtkcompat: Correctly set flags
18075 https://bugzilla.gnome.org/show_bug.cgi?id=675911
18077 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18079 gi/pygtkcompat.py | 5 ++---
18080 tests/test_pygtkcompat.py | 1 +
18081 2 files changed, 3 insertions(+), 3 deletions(-)
18083 commit 3f712b56397296bca2f5358cd52977b1a2011964
18084 Author: Jose Rostagno <joserostagno@vijona.com.ar>
18085 Date: Fri May 11 12:39:05 2012 -0300
18087 Gtk overrides: Implement __delitem__ on TreeModel
18089 https://bugzilla.gnome.org/show_bug.cgi?id=675892
18091 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18093 gi/overrides/Gtk.py | 16 ++++++++++++----
18094 tests/test_overrides.py | 9 +++++++++
18095 2 files changed, 21 insertions(+), 4 deletions(-)
18097 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
18098 Author: Simon Feltman <s.feltman@gmail.com>
18099 Date: Sun May 6 18:10:39 2012 -0700
18101 Gdk Color override should support red/green/blue_float properties
18103 Added red_float, green_float, and blue_float properties to Color.
18104 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
18106 https://bugzilla.gnome.org/show_bug.cgi?id=675579
18108 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18110 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
18111 tests/Makefile.am | 2 +-
18112 tests/test_overrides.py | 17 +++++++++++++++++
18113 3 files changed, 62 insertions(+), 1 deletion(-)
18115 commit d9608c332d9592f03545b110cfac8105453ea035
18116 Author: Martin Pitt <martinpitt@gnome.org>
18117 Date: Sat May 5 12:42:42 2012 -0700
18119 Support marshalling of GVariants for closures
18121 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
18123 be called with GVariant arguments and return GVariant.
18125 Unmark the corresponding test case as "expected failure", and also
18127 for None values and type mismatches.
18129 https://bugzilla.gnome.org/show_bug.cgi?id=656554
18131 gi/_gobject/pygtype.c | 47
18132 +++++++++++++++++++++++++++++++++++++++++++++--
18133 tests/test_everything.py | 16 ++++++++++++----
18134 2 files changed, 57 insertions(+), 6 deletions(-)
18136 commit e7a909c16dc1c625ab11e270f23d540f15c71767
18137 Author: Johan Dahlin <johan@gnome.org>
18138 Date: Mon May 7 10:33:40 2012 -0300
18140 Require gobject-introspection 1.33.0
18142 configure.ac | 2 +-
18143 1 file changed, 1 insertion(+), 1 deletion(-)
18145 commit 9e8239684433631e0d1650d25416e4d7bf92a058
18146 Author: Martin Pitt <martinpitt@gnome.org>
18147 Date: Sun May 6 18:28:23 2012 -0700
18149 NEWS: Add API additions since 3.2.0
18152 1 file changed, 4 insertions(+), 3 deletions(-)
18154 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
18155 Author: Martin Pitt <martinpitt@gnome.org>
18156 Date: Sun May 6 18:25:23 2012 -0700
18158 NEWS: Mark API changes since 3.2.0
18161 1 file changed, 3 insertions(+), 3 deletions(-)
18163 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
18164 Author: Martin Pitt <martinpitt@gnome.org>
18165 Date: Sun May 6 18:19:35 2012 -0700
18167 Fix commit 168a087 for Python 3
18169 Simplify the type check and use the already existing one. Fix the
18171 to work with both Python 2 and 3.
18173 gi/pygi-argument.c | 42 +++++++++---------------------------------
18174 1 file changed, 9 insertions(+), 33 deletions(-)
18176 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
18177 Author: Martin Pitt <martinpitt@gnome.org>
18178 Date: Sun May 6 18:08:57 2012 -0700
18180 pygtkcompat.py: Typo fix
18182 Was missing a space around operator, causing the PEP8 check to fail.
18184 gi/pygtkcompat.py | 2 +-
18185 1 file changed, 1 insertion(+), 1 deletion(-)
18187 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
18188 Author: Martin Pitt <martinpitt@gnome.org>
18189 Date: Sun May 6 18:02:04 2012 -0700
18191 _pygi_argument_from_object(): Check for compatible data type
18193 Verify that the passed PyObject actually matches the expected type
18195 argument. With this, trying to assign a wrong type to a property
18197 a proper TypeError.
18199 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
18200 gi/pygi-property.c | 3 +++
18201 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
18202 3 files changed, 82 insertions(+)
18204 commit 5948b62ba3e08ea943e6965ee38c94c363186226
18205 Author: Martin Pitt <martinpitt@gnome.org>
18206 Date: Sun May 6 17:59:57 2012 -0700
18208 pygtkcompat: Fix color conversion
18210 gtk_style_context_get_background_color() returns a GdkRGBA value,
18212 float values between 0 and 1. However, we construct a GdkColor
18214 that, so we need to scale to 0..65535 and round to int.
18216 gi/pygtkcompat.py | 6 +++---
18217 1 file changed, 3 insertions(+), 3 deletions(-)
18219 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
18220 Author: Martin Pitt <martinpitt@gnome.org>
18221 Date: Sun May 6 06:02:31 2012 -0700
18223 test_gi: Check setting properties in constructor
18225 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
18226 1 file changed, 33 insertions(+)
18228 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
18229 Author: Martin Pitt <martinpitt@gnome.org>
18230 Date: Sun May 6 05:50:00 2012 -0700
18232 Support getting and setting GStrv properties
18234 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
18235 tests/test_gi.py | 11 +++++++++++
18236 2 files changed, 47 insertions(+)
18238 commit 8321af2c7df499291e664c676376f149a0c3dcac
18239 Author: Martin Pitt <martinpitt@gnome.org>
18240 Date: Sat May 5 13:58:29 2012 -0700
18242 Support defining GStrv properties from Python
18244 gi/_gobject/propertyhelper.py | 10 ++++++--
18245 tests/test_properties.py | 58
18246 +++++++++++++++++++++++++++++++++++++++++--
18247 2 files changed, 64 insertions(+), 4 deletions(-)
18249 commit f2494526e1c579c41babfe7ff67deef0f6966adf
18250 Author: Martin Pitt <martinpitt@gnome.org>
18251 Date: Sat May 5 13:21:20 2012 -0700
18253 Add GObject.TYPE_STRV constant
18255 gi/_gobject/__init__.py | 1 +
18256 gi/_gobject/constants.py | 1 +
18257 tests/test_everything.py | 2 +-
18258 tests/test_signal.py | 2 +-
18259 4 files changed, 4 insertions(+), 2 deletions(-)
18261 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
18262 Author: Martin Pitt <martinpitt@gnome.org>
18263 Date: Sat May 5 09:28:36 2012 +0200
18265 Unref GVariants when destroying the wrapper
18267 https://bugzilla.gnome.org/show_bug.cgi?id=675472
18269 gi/overrides/GLib.py | 3 +++
18270 1 file changed, 3 insertions(+)
18272 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
18273 Author: Martin Pitt <martinpitt@gnome.org>
18274 Date: Sat May 5 09:23:55 2012 +0200
18276 Fix TestArrayGVariant test cases
18278 test_array_gvariant_container_in() and test_array_gvariant_full_in()
18280 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
18282 Actually do what they mean to do now and call the corresponding
18283 GIMarshallingTests methods.
18285 tests/test_gi.py | 4 ++--
18286 1 file changed, 2 insertions(+), 2 deletions(-)
18288 commit fda8a069d503e63c76a6b1ba285a181822549059
18289 Author: Jose Rostagno <joserostagno@vijona.com.ar>
18290 Date: Sat May 5 08:52:41 2012 +0200
18292 pygtkcompat: Add gdk.pixbuf_get_formats compat code
18294 https://bugzilla.gnome.org/show_bug.cgi?id=675489
18296 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18298 gi/pygtkcompat.py | 20 ++++++++++++++++++++
18299 tests/test_pygtkcompat.py | 8 ++++++++
18300 2 files changed, 28 insertions(+)
18302 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
18303 Author: Jose Rostagno <joserostagno@vijona.com.ar>
18304 Date: Mon Apr 30 13:44:19 2012 -0300
18306 pygtkcompat: Add some more compat functions
18308 https://bugzilla.gnome.org/show_bug.cgi?id=675489
18310 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18312 gi/pygtkcompat.py | 14 ++++++++++++++
18313 1 file changed, 14 insertions(+)
18315 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
18316 Author: Martin Pitt <martinpitt@gnome.org>
18317 Date: Thu May 3 12:25:04 2012 +0200
18319 Fix tests for Python 3
18321 cmp() does not exist any more in Python 3, replace with comparison
18324 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
18326 can't pass a str (which is an Unicode object in Python 3). Pass a
18330 tests/test_gi.py | 2 +-
18331 tests/test_overrides.py | 2 +-
18332 2 files changed, 2 insertions(+), 2 deletions(-)
18334 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
18335 Author: Martin Pitt <martinpitt@gnome.org>
18336 Date: Thu May 3 09:38:56 2012 +0200
18338 Fix building with --disable-cairo
18340 Build gobject-introspection's regress.c against cairo, not
18341 pycairo/py3cairo. We
18342 always need cairo to build, so unconditionally check for this in
18345 In test_everything.py, gracefully handle the absence of the "cairo"
18347 module, which we do not have when building without cairo support.
18349 configure.ac | 3 +++
18350 tests/Makefile.am | 4 ++--
18351 tests/test_everything.py | 8 +++++++-
18352 3 files changed, 12 insertions(+), 3 deletions(-)
18354 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
18355 Author: Martin Pitt <martinpitt@gnome.org>
18356 Date: Thu May 3 09:28:51 2012 +0200
18358 tests: Fix deprecated assertions
18360 assertAlmostEquals → assertAlmostEqual
18361 assertNotEquals → assertNotEqual
18363 tests/test_everything.py | 4 ++--
18364 tests/test_gi.py | 12 ++++++------
18365 tests/test_overrides.py | 10 +++++-----
18366 3 files changed, 13 insertions(+), 13 deletions(-)
18368 commit 07f312e66c07357168098d3f96813d2c997e8dc7
18369 Author: Martin Pitt <martinpitt@gnome.org>
18370 Date: Wed May 2 12:08:19 2012 +0200
18372 Run tests with MALLOC_PERTURB_
18374 We mostly use the glib allocation functions, but this might
18375 help to uncover access to already freed or uninitialized memory in
18379 tests/Makefile.am | 1 +
18380 1 file changed, 1 insertion(+)
18382 commit b0740d386c2cbbd153878209b584b568968e4d98
18383 Author: Martin Pitt <martinpitt@gnome.org>
18384 Date: Mon Apr 30 16:26:57 2012 +0200
18386 configure.ac: Post-release bump to 3.3.2
18388 configure.ac | 2 +-
18389 1 file changed, 1 insertion(+), 1 deletion(-)
18391 commit d3977266faadacd3d05705497c1cf51a01a6606f
18392 Author: Martin Pitt <martinpitt@gnome.org>
18393 Date: Mon Apr 30 16:08:09 2012 +0200
18398 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18399 1 file changed, 66 insertions(+)
18401 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
18402 Author: Giovanni Campagna <gcampagna@src.gnome.org>
18403 Date: Sun Apr 29 23:55:15 2012 +0200
18405 GSettings: allow extra keyword arguments
18407 All GObject constructors are expected to accept any construct
18408 property as keyword argument, and overrides should respect that.
18409 In particular, not doing this for GSettings prevents using a custom
18412 https://bugzilla.gnome.org/show_bug.cgi?id=675105
18414 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18416 gi/overrides/Gio.py | 4 ++--
18417 1 file changed, 2 insertions(+), 2 deletions(-)
18419 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
18420 Author: Jose Rostagno <joserostagno@vijona.com.ar>
18421 Date: Sun Apr 29 12:56:50 2012 -0300
18423 pygtkcompat: Correct Userlist module use
18425 https://bugzilla.gnome.org/show_bug.cgi?id=675084
18427 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18429 gi/pygtkcompat.py | 2 +-
18430 tests/test_pygtkcompat.py | 4 ++++
18431 2 files changed, 5 insertions(+), 1 deletion(-)
18433 commit 3551462a429ef30274fa01fc8111da5025f9c342
18434 Author: Martin Pitt <martinpitt@gnome.org>
18435 Date: Sun Apr 29 20:17:47 2012 +0200
18437 Add release-news make rule
18439 This produces a commit log since the previous release in our
18441 format. This does not currently wrap long lines automatically, though.
18443 Do include bug numbers from now on, as they are very useful.
18445 Makefile.am | 12 ++++++++++--
18446 1 file changed, 10 insertions(+), 2 deletions(-)
18448 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
18449 Author: Martin Pitt <martinpitt@gnome.org>
18450 Date: Wed Apr 25 13:07:59 2012 +0200
18452 Add "make check.nemiver" target
18454 Similar to "check.gdb", but invokes nemiver.
18456 Makefile.am | 3 +++
18457 tests/Makefile.am | 3 +++
18458 2 files changed, 6 insertions(+)
18460 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
18461 Author: Martin Pitt <martinpitt@gnome.org>
18462 Date: Tue Apr 24 13:24:00 2012 +0200
18464 Test flags and enums in GHash values
18466 https://bugzilla.gnome.org/show_bug.cgi?id=637466
18468 tests/test_everything.py | 18 ++++++++++++------
18469 1 file changed, 12 insertions(+), 6 deletions(-)
18471 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
18472 Author: Martin Pitt <martinpitt@gnome.org>
18473 Date: Tue Apr 24 13:03:36 2012 +0200
18475 tests: Activate test_hash_in and apply workaround
18477 Work around pygobject's current inability to produce a GStrv object
18479 string array by explicitly producing a GStrV object, and reactivate
18482 https://bugzilla.gnome.org/show_bug.cgi?id=666636
18484 tests/test_everything.py | 24 +++++++++++++-----------
18485 1 file changed, 13 insertions(+), 11 deletions(-)
18487 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
18488 Author: Martin Pitt <martinpitt@gnome.org>
18489 Date: Mon Apr 23 12:33:09 2012 +0200
18491 Add special case for Gdk.Atom array entries from Python
18493 Gdk.Atom pretends to be a struct pointer, but is really just an
18495 into a pointer. So we must not dereference it directly, nor free
18497 instead just copy the pointer value.
18499 Also add a few other test cases for "single Atom return", "single
18501 in", and Atom GList return", which already work fine.
18503 https://bugzilla.gnome.org/show_bug.cgi?id=661709
18505 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
18506 tests/Makefile.am | 1 +
18507 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
18508 3 files changed, 56 insertions(+), 4 deletions(-)
18510 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
18511 Author: Martin Pitt <martinpitt@gnome.org>
18512 Date: Mon Apr 23 20:09:43 2012 +0200
18514 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
18516 https://bugzilla.gnome.org/show_bug.cgi?id=667954
18518 tests/test_gdbus.py | 2 +-
18519 1 file changed, 1 insertion(+), 1 deletion(-)
18521 commit 3ae38d7519524288a57e5d522954b9d6725f0185
18522 Author: Martin Pitt <martinpitt@gnome.org>
18523 Date: Mon Apr 23 18:47:34 2012 +0200
18525 Add test case for Gtk.ListStore custom sort
18527 This works in Python 2, but crashes in Python 3, another case of
18529 we get when C calls a Python callback in Python 3.
18531 https://bugzilla.gnome.org/show_bug.cgi?id=674475
18533 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
18534 1 file changed, 31 insertions(+)
18536 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
18537 Author: Martin Pitt <martinpitt@gnome.org>
18538 Date: Mon Apr 23 17:40:23 2012 +0200
18540 GTK overrides: Add missing keyword arguments
18542 Add missing **kwargs to overridden __init__() constructors, to
18544 arbitrary widget properties.
18546 https://bugzilla.gnome.org/show_bug.cgi?id=660018
18548 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
18549 tests/test_overrides.py | 6 ++++++
18550 2 files changed, 24 insertions(+), 16 deletions(-)
18552 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
18553 Author: Martin Pitt <martinpitt@gnome.org>
18554 Date: Mon Apr 23 15:24:04 2012 +0200
18556 Add missing override for TreeModel.iter_previous()
18558 This should behave like the override for TreeModel.iter_next().
18560 https://bugzilla.gnome.org/show_bug.cgi?id=660018
18562 gi/overrides/Gtk.py | 6 ++++++
18563 tests/test_overrides.py | 4 ++++
18564 2 files changed, 10 insertions(+)
18566 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
18567 Author: Martin Pitt <martinpitt@gnome.org>
18568 Date: Sun Apr 22 16:45:06 2012 +0200
18570 pygi-convert.py: Drop obsolete drag method conversions
18572 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
18574 fixed a while ago to be proper Widget methods again.
18576 https://bugzilla.gnome.org/show_bug.cgi?id=652860
18578 pygi-convert.sh | 3 ---
18579 1 file changed, 3 deletions(-)
18581 commit f82eca6006dec21624796074af8ffe9b2256f7a4
18582 Author: Martin Pitt <martinpitt@gnome.org>
18583 Date: Sat Apr 21 14:00:50 2012 +0200
18585 tests: Replace deprecated assertEquals() with assertEqual()
18587 tests/test_everything.py | 144 ++++++-------
18588 tests/test_gi.py | 502
18589 +++++++++++++++++++++++-----------------------
18590 tests/test_gobject.py | 58 +++---
18591 tests/test_option.py | 6 +-
18592 tests/test_overrides.py | 352 ++++++++++++++++----------------
18593 tests/test_properties.py | 18 +-
18594 tests/test_pygtkcompat.py | 42 ++--
18595 7 files changed, 561 insertions(+), 561 deletions(-)
18597 commit ddb0bf01e694585d58af52673a21796e7c9578ea
18598 Author: Paolo Borelli <pborelli@gnome.org>
18599 Date: Sat Apr 21 12:02:54 2012 +0200
18601 Plug tiny leak in constant_info_get_value
18603 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
18605 gi/pygi-info.c | 1 +
18606 1 file changed, 1 insertion(+)
18608 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
18609 Author: Bastian Winkler <buz@netbuz.org>
18610 Date: Thu Apr 12 20:30:05 2012 +0200
18612 Fix len_arg_index for array arguments
18614 Don't set len_arg_index for arrays without the length annotation
18616 This fixes methods like Clutter.Texture.set_from_rgb_data() and
18617 Clutter.Image.set_data()
18619 https://bugzilla.gnome.org/show_bug.cgi?id=674271
18621 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18623 gi/pygi-cache.c | 4 +++-
18624 gi/pygi-marshal-cleanup.c | 4 ++--
18625 tests/test_gi.py | 3 +++
18626 3 files changed, 8 insertions(+), 3 deletions(-)
18628 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
18629 Author: Martin Pitt <martinpitt@gnome.org>
18630 Date: Thu Apr 19 13:11:56 2012 +0200
18632 Support defining GType properties from Python
18634 Commit 84e3471 fixed the handling of GType properties for properties
18636 defined in the C library already. Add the missing support for
18638 properties in Python as well.
18640 https://bugzilla.gnome.org/show_bug.cgi?id=674351
18642 gi/_gobject/gobjectmodule.c | 5 ++++-
18643 gi/_gobject/propertyhelper.py | 9 ++++++---
18644 tests/test_properties.py | 42
18645 +++++++++++++++++++++++++++++++++++++++---
18646 3 files changed, 49 insertions(+), 7 deletions(-)
18648 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
18649 Author: Martin Pitt <martinpitt@gnome.org>
18650 Date: Thu Apr 19 16:12:29 2012 +0200
18652 Fix typo in previous commit
18654 In the test case, actually assign the newly created object, so that
18656 properties of the right object.
18658 tests/test_everything.py | 2 +-
18659 1 file changed, 1 insertion(+), 1 deletion(-)
18661 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
18662 Author: Bastian Winkler <buz@netbuz.org>
18663 Date: Wed Apr 18 21:44:08 2012 +0200
18665 Handle GType properties correctly
18667 Fix conversion from/to properties of type G_TYPE_GTYPE
18669 https://bugzilla.gnome.org/show_bug.cgi?id=674351
18671 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18673 gi/_gobject/pygtype.c | 9 +++++++--
18674 tests/test_everything.py | 15 +++++++++++++++
18675 2 files changed, 22 insertions(+), 2 deletions(-)
18677 commit d1362451e070e156d2f49c9cde930cc38befb12b
18678 Author: Martin Pitt <martinpitt@gnome.org>
18679 Date: Thu Apr 19 07:27:10 2012 +0200
18681 Add missing GObject.TYPE_GTYPE
18683 gi/_gobject/__init__.py | 1 +
18684 gi/_gobject/constants.py | 1 +
18685 2 files changed, 2 insertions(+)
18687 commit d3225f1540e09719caa73e52d402e946da3add24
18688 Author: Martin Pitt <martinpitt@gnome.org>
18689 Date: Tue Apr 10 12:44:00 2012 +0200
18691 Fix test_mainloop.py for Python 3
18693 tests/test_mainloop.py | 9 +++++++--
18694 1 file changed, 7 insertions(+), 2 deletions(-)
18696 commit 903283119896f3e054694484da4147788b02ce60
18697 Author: Martin Pitt <martinpitt@gnome.org>
18698 Date: Mon Apr 9 15:20:39 2012 +0200
18700 Make callback exception propagation test stricter
18702 Propagating Python exceptions from callbacks through the C context
18704 original caller does not currently happen, is nontrivial/unsafe
18706 and not desirable at this point any more as by now we have established
18708 current behaviour. So remove the catching of ZeroDivisionError in
18711 https://bugzilla.gnome.org/show_bug.cgi?id=616279
18713 tests/test_everything.py | 16 ++++++++--------
18714 1 file changed, 8 insertions(+), 8 deletions(-)
18716 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
18717 Author: Simon Feltman <s.feltman@gmail.com>
18718 Date: Sun Mar 18 15:59:58 2012 -0700
18720 Add context management to freeze_notify() and handler_block().
18722 These methods now return a context manager object. Within the
18724 thaw_notify() and handler_unblock() are called respectively. This
18726 statements like the following:
18728 with obj.freeze_notify():
18729 obj.props.width = 100
18730 obj.props.height = 100
18731 obj.props.opacity = 0.5
18733 This does not affect standard usage of these methods.
18735 https://bugzilla.gnome.org/show_bug.cgi?id=672324
18737 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18739 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
18740 tests/test_gobject.py | 158
18741 ++++++++++++++++++++++++++++++++++++++++++++++++
18742 2 files changed, 288 insertions(+), 8 deletions(-)
18744 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
18745 Author: Martin Pitt <martinpitt@gnome.org>
18746 Date: Wed Apr 4 19:08:54 2012 +0200
18748 Add support for GFlags properties
18750 https://bugzilla.gnome.org/show_bug.cgi?id=620943
18752 gi/_gobject/propertyhelper.py | 9 +++++++--
18753 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
18754 2 files changed, 34 insertions(+), 3 deletions(-)
18756 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
18757 Author: Martin Pitt <martinpitt@gnome.org>
18758 Date: Wed Apr 4 17:54:52 2012 +0200
18760 Wrap GLib.Source.is_destroyed() method
18762 Based on original patch from Bryan Silverthorn.
18764 https://bugzilla.gnome.org/show_bug.cgi?id=524719
18766 gi/_glib/pygsource.c | 15 +++++++++++++++
18767 tests/test_source.py | 24 ++++++++++++++++++++++++
18768 2 files changed, 39 insertions(+)
18770 commit 05030a95a4d3090162ed5f510a26d69bbb152942
18771 Author: Martin Pitt <martinpitt@gnome.org>
18772 Date: Wed Apr 4 15:59:24 2012 +0200
18774 Fix error message when trying to override a non-GI class
18776 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
18778 https://bugzilla.gnome.org/show_bug.cgi?id=646667
18780 gi/overrides/__init__.py | 7 ++++---
18781 tests/test_overrides.py | 13 +++++++++++++
18782 2 files changed, 17 insertions(+), 3 deletions(-)
18784 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
18785 Author: Steve Frécinaux <code@istique.net>
18786 Date: Wed Apr 4 15:30:55 2012 +0200
18788 Fix segfault when accessing __grefcount__ before creating the GObject
18790 When creating a new instance using Type() and trying to access
18791 __grefcount__ before calling the subclass's __init__ function, there
18792 used to be a segmentation fault because we were trying to access the
18793 not yet created object. Now raise a proper exception instead.
18795 https://bugzilla.gnome.org/show_bug.cgi?id=640434
18797 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
18799 gi/_gobject/pygobject.c | 4 ++++
18800 tests/test_gobject.py | 11 +++++++++++
18801 2 files changed, 15 insertions(+)
18803 commit 24cc09a7105299805fcc5bc151f53ac69958d728
18804 Author: Steve Frécinaux <code@istique.net>
18805 Date: Wed Feb 9 18:37:33 2011 +0100
18807 Do not bind gobject_get_data() and gobject_set_data()
18809 They will basically cause a crash if misused, and you can always use a
18810 python member attribute instead.
18812 https://bugzilla.gnome.org/show_bug.cgi?id=641944
18814 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18816 gi/_gobject/pygobject.c | 40 ----------------------------------------
18817 1 file changed, 40 deletions(-)
18819 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
18820 Author: Martin Pitt <martinpitt@gnome.org>
18821 Date: Tue Apr 3 22:26:34 2012 +0200
18823 Add test case for multiple GLib.MainLoop instances
18825 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
18829 https://bugzilla.gnome.org/show_bug.cgi?id=663068
18831 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
18832 1 file changed, 24 insertions(+), 1 deletion(-)
18834 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
18835 Author: John (J5) Palmieri <johnp@redhat.com>
18836 Date: Tue Feb 21 15:13:42 2012 +0100
18838 Add a ccallback type which is used to invoke callbacks passed to
18841 Used when overriding methods like gtk_container_forall wich pass in a
18842 callback that needs to be executed on internal children:
18843 def do_forall(self, callback, userdata):
18844 callback(self.custom_child, userdata)
18846 https://bugzilla.gnome.org/show_bug.cgi?id=644926
18848 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18849 Co-authored-by: Simon Schampijer <simon@laptop.org>
18851 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18853 gi/Makefile.am | 2 +
18854 gi/gimodule.c | 1 +
18855 gi/module.py | 5 +++
18856 gi/pygi-argument.c | 12 +----
18857 gi/pygi-cache.c | 28 ++++++++++--
18858 gi/pygi-cache.h | 9 ++--
18859 gi/pygi-ccallback.c | 100
18860 ++++++++++++++++++++++++++++++++++++++++++
18861 gi/pygi-ccallback.h | 41 +++++++++++++++++
18862 gi/pygi-closure.c | 50 ++++++++++++++++++++-
18863 gi/pygi-invoke-state-struct.h | 2 +
18864 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
18865 gi/pygi-invoke.h | 3 ++
18866 gi/pygi-private.h | 1 +
18867 gi/pygi.h | 10 +++++
18868 tests/test_gi.py | 16 +++++++
18869 15 files changed, 312 insertions(+), 41 deletions(-)
18871 commit db7e1d078db16b6f11dee51aa97525c451346632
18872 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
18873 Date: Tue Mar 27 17:34:48 2012 +0200
18875 Regression test: marshalling GValues in GHashTable
18877 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18879 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
18881 tests/test_everything.py | 19 +++++++++++++++++++
18882 1 file changed, 19 insertions(+)
18884 commit 7c0017c30129a8db391f902ed592782200d69c64
18885 Author: Martin Pitt <martin.pitt@ubuntu.com>
18886 Date: Mon Mar 26 17:55:41 2012 +0200
18888 Bump version to 3.3.1
18890 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
18892 continue with 3.3.x on master.
18894 configure.ac | 4 ++--
18895 1 file changed, 2 insertions(+), 2 deletions(-)
18897 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
18898 Author: Martin Pitt <martin.pitt@ubuntu.com>
18899 Date: Mon Mar 26 17:51:37 2012 +0200
18903 - Ignore *.o, backup files, and generated Makefiles in all
18905 - Ignore *.pyc files.
18906 - Do not ignore .gitignore, we actually want to track this.
18909 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18910 1 file changed, 61 insertions(+)
18912 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
18913 Author: Martin Pitt <martin.pitt@ubuntu.com>
18914 Date: Mon Mar 26 17:45:08 2012 +0200
18916 Fix "distcheck" and tests with out-of-tree builds
18918 - Symlink *.py files from srcdir into builddir during build, as
18920 accept the extensions and modules in different paths.
18921 - "make clean" should remove *.pyc files
18922 - tests/runtests.py: Look for tests in srcdir, not in builddir
18924 Makefile.am | 6 ++++--
18925 gi/Makefile.am | 13 +++++++++++--
18926 gi/_glib/Makefile.am | 12 ++++++++++--
18927 gi/_gobject/Makefile.am | 12 ++++++++++--
18928 gi/overrides/Makefile.am | 10 ++++++++++
18929 gi/repository/Makefile.am | 11 +++++++++++
18930 tests/runtests.py | 6 ++++--
18931 7 files changed, 60 insertions(+), 10 deletions(-)
18933 commit f83d95e6fff572bda659a48e309b4524dafa4e83
18934 Author: Johan Dahlin <johan@gnome.org>
18935 Date: Thu Mar 22 11:14:03 2012 -0300
18937 Add a pep8 check to the makefile
18939 Also reorganize the pyflakes check, since target dependencies do not
18940 take the exit status of the shell command into account.
18942 https://bugzilla.gnome.org/show_bug.cgi?id=672627
18944 tests/Makefile.am | 9 ++++-----
18945 1 file changed, 4 insertions(+), 5 deletions(-)
18947 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
18948 Author: Johan Dahlin <johan@gnome.org>
18949 Date: Thu Mar 22 10:56:59 2012 -0300
18951 PEP8: Remaining whitespace fixes
18953 https://bugzilla.gnome.org/show_bug.cgi?id=672627
18955 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
18956 demos/gtk-demo/demos/Tree View/liststore.py | 28
18957 +++++++++++++-------------
18958 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
18959 demos/gtk-demo/demos/rotatedtext.py | 2 +-
18960 examples/cairo-demo.py | 4 ++--
18961 tests/test_gi.py | 12 +++++------
18962 tests/test_overrides.py | 2 +-
18963 7 files changed, 32 insertions(+), 33 deletions(-)
18965 commit 032fcce2bf6070a9001cbb780e90403051e303b1
18966 Author: Johan Dahlin <johan@gnome.org>
18967 Date: Thu Mar 22 10:56:03 2012 -0300
18969 PEP8: Add spaces before #
18971 https://bugzilla.gnome.org/show_bug.cgi?id=672627
18973 demos/gtk-demo/demos/drawingarea.py | 6 +++---
18974 demos/gtk-demo/demos/images.py | 10 +++++-----
18975 demos/gtk-demo/demos/rotatedtext.py | 2 +-
18976 gi/__init__.py | 2 +-
18977 gi/_glib/option.py | 2 +-
18978 gi/_gobject/__init__.py | 2 +-
18979 gi/overrides/GLib.py | 12 ++++++------
18980 gi/types.py | 4 ++--
18981 tests/runtests.py | 2 +-
18982 tests/test_gdbus.py | 4 ++--
18983 10 files changed, 23 insertions(+), 23 deletions(-)
18985 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
18986 Author: Johan Dahlin <johan@gnome.org>
18987 Date: Thu Mar 22 10:52:05 2012 -0300
18989 PEP8: Add missing whitespace after : and ,
18991 https://bugzilla.gnome.org/show_bug.cgi?id=672627
18993 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
18994 demos/gtk-demo/demos/appwindow.py | 2 +-
18995 tests/test_everything.py | 23 +++++++++--------------
18996 tests/test_gi.py | 2 +-
18997 tests/test_overrides.py | 2 +-
18998 5 files changed, 13 insertions(+), 18 deletions(-)
19000 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
19001 Author: Johan Dahlin <johan@gnome.org>
19002 Date: Thu Mar 22 10:49:52 2012 -0300
19004 PEP8: Remove too whitespace before }
19006 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19008 tests/test_overrides.py | 2 +-
19009 1 file changed, 1 insertion(+), 1 deletion(-)
19011 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
19012 Author: Johan Dahlin <johan@gnome.org>
19013 Date: Thu Mar 22 10:49:27 2012 -0300
19015 PEP8: Remove too many blank lines
19017 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19019 demos/gtk-demo/demos/rotatedtext.py | 1 -
19020 tests/test_overrides.py | 1 -
19021 2 files changed, 2 deletions(-)
19023 commit 03e597cb8f3b075efae556ee51a598695a883ad3
19024 Author: Johan Dahlin <johan@gnome.org>
19025 Date: Thu Mar 22 10:48:59 2012 -0300
19027 PEP8: Fix whitespace around operators
19029 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19031 demos/gtk-demo/demos/images.py | 2 +-
19032 examples/cairo-demo.py | 8 ++++----
19033 tests/test_gi.py | 4 ++--
19034 tests/test_overrides.py | 8 ++++----
19035 tests/test_properties.py | 14 +++++++-------
19036 tests/test_signal.py | 2 +-
19037 6 files changed, 19 insertions(+), 19 deletions(-)
19039 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
19040 Author: Johan Dahlin <johan@gnome.org>
19041 Date: Thu Mar 22 10:46:17 2012 -0300
19043 PEP8: Remove whitespace before (
19045 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19047 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
19048 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
19049 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
19050 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
19051 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
19052 demos/gtk-demo/demos/dialogs.py | 12 ++---
19053 demos/gtk-demo/demos/pickers.py | 8 ++--
19054 demos/gtk-demo/demos/pixbuf.py | 4 +-
19055 demos/gtk-demo/demos/printing.py | 8 ++--
19056 demos/gtk-demo/demos/rotatedtext.py | 2 +-
19057 demos/gtk-demo/gtk-demo.py | 4 +-
19058 gi/module.py | 4 +-
19059 gi/overrides/Pango.py | 2 +-
19060 gi/pygtkcompat.py | 4 +-
19061 tests/test_everything.py | 4 +-
19062 tests/test_overrides.py | 62
19063 +++++++++++++-------------
19064 16 files changed, 68 insertions(+), 68 deletions(-)
19066 commit b04d209930ab01bae6563b0d714aec829739bdc6
19067 Author: Johan Dahlin <johan@gnome.org>
19068 Date: Thu Mar 22 10:40:46 2012 -0300
19070 PEP8: Remove whitespace around {}
19072 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19074 tests/test_signal.py | 20 ++++++++++----------
19075 1 file changed, 10 insertions(+), 10 deletions(-)
19077 commit 725483a5dc36739dc7836716b5d6d48091564bf8
19078 Author: Johan Dahlin <johan@gnome.org>
19079 Date: Thu Mar 22 10:38:59 2012 -0300
19081 PEP8: run via --fix from craigds fork
19083 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19085 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
19086 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
19087 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
19088 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
19089 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
19090 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
19091 demos/gtk-demo/demos/appwindow.py | 13 +++++-
19092 demos/gtk-demo/demos/assistant.py | 1 +
19093 demos/gtk-demo/demos/builder.py | 1 +
19094 demos/gtk-demo/demos/button_box.py | 1 +
19095 demos/gtk-demo/demos/clipboard.py | 2 +-
19096 demos/gtk-demo/demos/colorselector.py | 1 +
19097 demos/gtk-demo/demos/combobox.py | 4 +-
19098 demos/gtk-demo/demos/dialogs.py | 2 +
19099 demos/gtk-demo/demos/drawingarea.py | 1 +
19100 demos/gtk-demo/demos/expander.py | 4 +-
19101 demos/gtk-demo/demos/images.py | 10 +++--
19102 demos/gtk-demo/demos/infobars.py | 2 +
19103 demos/gtk-demo/demos/links.py | 2 +
19104 demos/gtk-demo/demos/menus.py | 2 +
19105 demos/gtk-demo/demos/pickers.py | 2 +
19106 demos/gtk-demo/demos/pixbuf.py | 2 +
19107 demos/gtk-demo/demos/printing.py | 5 ++-
19108 demos/gtk-demo/demos/rotatedtext.py | 4 +-
19109 demos/gtk-demo/demos/test.py | 1 +
19110 demos/gtk-demo/gtk-demo.py | 9 ++--
19111 examples/cairo-demo.py | 57
19112 ++++++++++++++----------
19113 examples/option.py | 1 -
19114 examples/properties.py | 1 +
19115 examples/signal.py | 4 ++
19116 gi/__init__.py | 2 +
19117 gi/_glib/option.py | 4 +-
19118 gi/_gobject/__init__.py | 1 +
19119 gi/_gobject/propertyhelper.py | 5 ++-
19120 gi/module.py | 3 ++
19121 gi/overrides/GIMarshallingTests.py | 2 +
19122 gi/overrides/GLib.py | 12 +++--
19123 gi/overrides/Gdk.py | 9 ++++
19124 gi/overrides/Gio.py | 4 ++
19125 gi/overrides/Gtk.py | 56
19126 ++++++++++++++++++++---
19127 gi/overrides/Pango.py | 2 +
19128 gi/overrides/__init__.py | 5 ++-
19129 gi/pygtkcompat.py | 16 +++++--
19131 tests/test_everything.py | 30 +++++++++----
19132 tests/test_gdbus.py | 1 +
19133 tests/test_gi.py | 30 +++++++------
19134 tests/test_gobject.py | 3 +-
19135 tests/test_mainloop.py | 1 +
19136 tests/test_option.py | 1 +
19137 tests/test_overrides.py | 55
19138 ++++++++++++-----------
19139 tests/test_properties.py | 11 ++++-
19140 tests/test_signal.py | 32 ++++++++++++-
19141 tests/test_source.py | 1 +
19142 tests/test_subprocess.py | 1 +
19143 tests/test_thread.py | 1 +
19144 tests/test_uris.py | 1 +
19145 tests/testmodule.py | 1 +
19146 58 files changed, 326 insertions(+), 111 deletions(-)
19148 commit 917275d4aa81db39ccaca34fa514032fb80a3187
19149 Author: Johan Dahlin <johan@gnome.org>
19150 Date: Thu Mar 22 10:33:29 2012 -0300
19152 PEP8: Remove spaces around = for keyword arguments
19154 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19156 demos/gtk-demo/demos/appwindow.py | 8 ++++----
19157 demos/gtk-demo/demos/colorselector.py | 4 ++--
19158 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
19159 examples/option.py | 4 ++--
19160 gi/_glib/option.py | 2 +-
19161 gi/overrides/Gtk.py | 2 +-
19162 tests/test_gi.py | 26 +++++++++++++-------------
19163 tests/test_option.py | 2 +-
19164 tests/test_overrides.py | 8 ++++----
19165 9 files changed, 40 insertions(+), 40 deletions(-)
19167 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
19168 Author: Johan Dahlin <johan@gnome.org>
19169 Date: Thu Mar 22 10:28:28 2012 -0300
19171 PEP8: Remove trailing ;
19173 https://bugzilla.gnome.org/show_bug.cgi?id=672627
19175 demos/gtk-demo/demos/appwindow.py | 4 ++--
19176 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
19177 demos/gtk-demo/demos/links.py | 2 +-
19178 demos/gtk-demo/demos/pixbuf.py | 2 +-
19179 demos/gtk-demo/demos/printing.py | 8 ++++----
19180 gi/overrides/Gtk.py | 4 ++--
19181 tests/test_everything.py | 22 +++++++++++-----------
19182 tests/test_gi.py | 2 +-
19183 tests/test_overrides.py | 8 ++++----
19184 9 files changed, 41 insertions(+), 41 deletions(-)
19186 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
19187 Author: Johan Dahlin <johan@gnome.org>
19188 Date: Thu Mar 22 10:24:40 2012 -0300
19190 Remove all tabs and fix indentation
19192 By running the whole source tree via the indent.py script found
19193 in the Python distribution.
19195 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
19196 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
19197 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
19198 demos/gtk-demo/demos/appwindow.py | 18 +--
19199 demos/gtk-demo/demos/dialogs.py | 26 ++---
19200 demos/gtk-demo/demos/expander.py | 6 +-
19201 demos/gtk-demo/demos/images.py | 2 +-
19202 demos/gtk-demo/demos/links.py | 2 +-
19203 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
19204 gi/_glib/option.py | 2 +-
19205 gi/_gobject/constants.py | 1 -
19206 gi/importer.py | 1 -
19207 gi/module.py | 10 +-
19208 gi/overrides/GLib.py | 11 +-
19209 gi/overrides/Gdk.py | 30 ++---
19210 gi/overrides/Gio.py | 4 +-
19211 gi/overrides/Gtk.py | 150
19212 ++++++++++++-------------
19213 gi/overrides/Pango.py | 1 -
19214 gi/overrides/__init__.py | 10 +-
19215 gi/pygtkcompat.py | 2 +-
19216 tests/compathelper.py | 2 +-
19217 tests/runtests.py | 19 ++--
19218 tests/test_everything.py | 22 ++--
19219 tests/test_gdbus.py | 11 +-
19220 tests/test_gi.py | 38 +++----
19221 tests/test_gobject.py | 2 +-
19222 tests/test_interface.py | 1 -
19223 tests/test_option.py | 1 -
19224 tests/test_overrides.py | 78 ++++++-------
19225 tests/test_properties.py | 2 +-
19226 tests/test_uris.py | 1 -
19227 31 files changed, 255 insertions(+), 271 deletions(-)
19229 commit c375e3136f0f48eb8a6717c0053155db088b329d
19230 Author: Martin Pitt <martin.pitt@ubuntu.com>
19231 Date: Thu Mar 22 10:32:43 2012 +0100
19233 tests: Replace deprecated Python API
19235 failIf → assertFalse, failUnless → assertTrue
19237 Caught by the previous commit of making deprecations fatal.
19239 tests/test_option.py | 10 +++----
19240 tests/test_overrides.py | 66
19241 +++++++++++++++++++++++------------------------
19242 tests/test_properties.py | 14 +++++-----
19243 tests/test_pygtkcompat.py | 18 ++++++-------
19244 tests/test_signal.py | 4 +--
19245 5 files changed, 56 insertions(+), 56 deletions(-)
19247 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
19248 Author: Martin Pitt <martin.pitt@ubuntu.com>
19249 Date: Thu Mar 22 10:31:22 2012 +0100
19251 Fail tests if they use or encounter deprecations
19253 tests/Makefile.am | 2 +-
19254 1 file changed, 1 insertion(+), 1 deletion(-)
19256 commit 65762243a34af014950527c323a51a29d40fb3e1
19257 Author: Martin Pitt <martin.pitt@ubuntu.com>
19258 Date: Thu Mar 22 10:15:16 2012 +0100
19260 Do not run tests in two phases any more
19262 As we dropped the static bindings a while ago, there is no need any
19264 the tests in two phases (static/GI). Now just run them all in one go,
19265 simplifying tests/Makefile.am.
19267 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
19269 needs to happen even further, so move it from tests/test_overrides.py
19273 tests/Makefile.am | 33 ++++++++++++---------------------
19274 tests/runtests.py | 7 +++++++
19275 tests/test_overrides.py | 6 ------
19276 3 files changed, 19 insertions(+), 27 deletions(-)
19278 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
19279 Author: Martin Pitt <martin.pitt@ubuntu.com>
19280 Date: Thu Mar 22 09:58:21 2012 +0100
19282 test_overrides: Find local gsettings schema with current glib
19284 With current glib, gsettings now fails to find the gschemas.compiled
19286 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
19288 which makes this work again.
19290 tests/test_overrides.py | 9 +++++----
19291 1 file changed, 5 insertions(+), 4 deletions(-)
19293 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
19294 Author: Paolo Borelli <pborelli@gnome.org>
19295 Date: Wed Mar 21 21:09:24 2012 +0100
19297 Add GtkComboBoxEntry compatibility
19299 This widget has been removed in Gtk+ 3, add a small wrapper to the
19300 compat module to make at least basic pygtk programs that use it work.
19302 https://bugzilla.gnome.org/show_bug.cgi?id=672589
19304 gi/pygtkcompat.py | 19 +++++++++++++++++++
19305 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
19306 2 files changed, 41 insertions(+)
19308 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
19309 Author: Johan Dahlin <johan@gnome.org>
19310 Date: Wed Mar 21 16:01:35 2012 -0300
19312 Correct review comments from Martin
19314 https://bugzilla.gnome.org/show_bug.cgi?id=672578
19316 tests/test_everything.py | 4 ++--
19317 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
19318 2 files changed, 20 insertions(+), 2 deletions(-)
19320 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
19321 Author: Johan Dahlin <johan@gnome.org>
19322 Date: Wed Mar 21 14:45:53 2012 -0300
19324 Correct pyflakes warnings/errors
19326 And add a target to make check that runs pyflakes.
19328 https://bugzilla.gnome.org/show_bug.cgi?id=672578
19330 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
19331 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
19332 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
19333 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
19334 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
19335 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
19336 demos/gtk-demo/demos/appwindow.py | 13 +-
19337 demos/gtk-demo/demos/assistant.py | 4 +-
19338 demos/gtk-demo/demos/builder.py | 4 +-
19339 demos/gtk-demo/demos/button_box.py | 2 +-
19340 demos/gtk-demo/demos/clipboard.py | 2 +-
19341 demos/gtk-demo/demos/colorselector.py | 2 +-
19342 demos/gtk-demo/demos/combobox.py | 4 +-
19343 demos/gtk-demo/demos/dialogs.py | 4 +-
19344 demos/gtk-demo/demos/drawingarea.py | 2 +-
19345 demos/gtk-demo/demos/expander.py | 4 +-
19346 demos/gtk-demo/demos/images.py | 8 +-
19347 demos/gtk-demo/demos/infobars.py | 2 +-
19348 demos/gtk-demo/demos/links.py | 2 +-
19349 demos/gtk-demo/demos/menus.py | 5 +-
19350 demos/gtk-demo/demos/pickers.py | 2 +-
19351 demos/gtk-demo/demos/pixbuf.py | 2 +-
19352 demos/gtk-demo/demos/printing.py | 3 +-
19353 demos/gtk-demo/demos/rotatedtext.py | 6 +-
19354 demos/gtk-demo/gtk-demo.py | 9 +-
19355 examples/cairo-demo.py | 2 +-
19356 gi/__init__.py | 4 +
19357 gi/_glib/__init__.py | 101 ++++++++++-
19358 gi/_glib/option.py | 1 +
19359 gi/_gobject/__init__.py | 203
19360 ++++++++++++++++++++---
19361 gi/_gobject/constants.py | 2 -
19362 gi/_gobject/propertyhelper.py | 4 +-
19363 gi/importer.py | 2 +-
19365 gi/overrides/Gtk.py | 1 -
19366 gi/overrides/__init__.py | 1 -
19367 gi/pygtkcompat.py | 2 +
19369 tests/Makefile.am | 5 +
19370 tests/test_everything.py | 6 +-
19371 tests/test_gi.py | 8 +-
19372 tests/test_option.py | 10 +-
19373 tests/test_overrides.py | 30 ++--
19374 tests/test_properties.py | 12 +-
19375 tests/test_pygtkcompat.py | 4 -
19376 tests/test_signal.py | 4 +-
19377 tests/test_source.py | 6 +-
19378 47 files changed, 377 insertions(+), 138 deletions(-)
19380 commit 39650906559fcc39b4be406fa7e25c4788d349a3
19381 Author: Martin Pitt <martin.pitt@ubuntu.com>
19382 Date: Wed Mar 21 16:59:33 2012 +0100
19384 Make tests fail on CRITICAL logs, too, and apply to all tests
19386 Instead of setting warnings/criticals to fatal in individual test
19388 it in runtests.py, so that it applies to all tests.
19390 We currently have some tests which are known to generate CRITICALs
19392 with FIXME), and some WARNINGs (as they test behaviour with known-bad
19394 For these, warnings/criticals are now explicitly permitted.
19396 tests/runtests.py | 1 +
19397 tests/test_gi.py | 7 ++++++-
19398 tests/test_overrides.py | 14 +++++++-------
19399 tests/test_properties.py | 36 +++++++++++++++++++++---------------
19400 4 files changed, 35 insertions(+), 23 deletions(-)
19402 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
19403 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
19404 Date: Tue Mar 20 14:55:07 2012 +0400
19406 Support marshalling GI_TYPE_TAG_INTERFACE
19408 Marshalling of interfaces got broken with commit
19409 7746d2188ac4933c2c9011d84525d1e62fc18953.
19411 Also, do not abort on unsupported types, but log a critical failure
19415 https://bugzilla.gnome.org/show_bug.cgi?id=668903
19417 gi/pygi-marshal-from-py.c | 3 ++-
19418 gi/pygi-marshal-to-py.c | 3 ++-
19419 2 files changed, 4 insertions(+), 2 deletions(-)
19421 commit 8d85d6639778ec6364235071d272d67e7aae49ae
19422 Author: Martin Pitt <martin.pitt@ubuntu.com>
19423 Date: Wed Mar 21 14:34:36 2012 +0100
19425 Fix warnings on None values in added tree/list store rows
19427 Commit bf8c95836e1c changed the List/TreeStore overrides to use
19428 insert_with_valuesv(), but supplied all columns instead of just
19430 not None. With this, None values cause warnings like
19432 (runtests.py:12375): Gtk-WARNING **:
19433 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
19434 convert from (null) to gboolean
19436 Update the tests to make warnings fatal, to catch this better.
19438 Change _convert_row() to skip the None entries and return the list
19440 columns, and use the latter instead of a simple range(n_columns). This
19442 the behaviour before bf8c95836e1c, where columns with None values
19446 https://bugzilla.gnome.org/show_bug.cgi?id=672463
19448 gi/overrides/Gtk.py | 26 ++++++++++++++------------
19449 tests/test_overrides.py | 5 +++++
19450 2 files changed, 19 insertions(+), 12 deletions(-)
19452 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
19453 Author: Martin Pitt <martin.pitt@ubuntu.com>
19454 Date: Wed Mar 21 15:21:02 2012 +0100
19456 pygtkcompat test: Properly clean up PixbufLoader
19458 Tests currently give
19460 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
19461 without calling gdk_pixbuf_loader_close() - this is not allowed. You
19462 must explicitly end the data stream to the loader before dropping
19463 the last reference.
19465 Fix this by calling close().
19467 tests/test_pygtkcompat.py | 3 ++-
19468 1 file changed, 2 insertions(+), 1 deletion(-)
19470 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
19471 Author: Martin Pitt <martin.pitt@ubuntu.com>
19472 Date: Mon Mar 19 16:58:22 2012 +0100
19476 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
19478 configure.ac | 2 +-
19479 1 file changed, 1 insertion(+), 1 deletion(-)
19481 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
19482 Author: Martin Pitt <martin.pitt@ubuntu.com>
19483 Date: Mon Mar 19 16:41:17 2012 +0100
19487 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
19488 1 file changed, 46 insertions(+)
19490 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
19491 Author: Martin Pitt <martin.pitt@ubuntu.com>
19492 Date: Mon Mar 19 16:14:54 2012 +0100
19494 README: Update current maintainers
19496 Also update Martin's email address.
19498 README | 10 ++++++----
19499 pygobject.doap | 2 +-
19500 2 files changed, 7 insertions(+), 5 deletions(-)
19502 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
19503 Author: Martin Pitt <martin.pitt@ubuntu.com>
19504 Date: Mon Mar 19 16:11:22 2012 +0100
19506 Bump version to 3.1.92, in sync with GNOME
19508 configure.ac | 2 +-
19509 1 file changed, 1 insertion(+), 1 deletion(-)
19511 commit 77d358f8c5f524259249ea686899e3a4da05562e
19512 Author: Johan Dahlin <johan@gnome.org>
19513 Date: Mon Mar 19 11:54:07 2012 -0300
19515 Correct Gtk.TreePath.__iter__ to work with Python 3
19517 gi/overrides/Gtk.py | 2 +-
19518 1 file changed, 1 insertion(+), 1 deletion(-)
19520 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
19521 Author: Martin Pitt <martin.pitt@ubuntu.com>
19522 Date: Mon Mar 19 15:54:13 2012 +0100
19524 Fix pygtkcompat.py to work with Python 3
19526 gi/pygtkcompat.py | 20 +++++++++++++++-----
19527 1 file changed, 15 insertions(+), 5 deletions(-)
19529 commit 96a9f92da801989464fbcedf6d849819f6dbea64
19530 Author: Martin Pitt <martin.pitt@ubuntu.com>
19531 Date: Mon Mar 19 15:32:22 2012 +0100
19533 Fix test_everything.TestSignals.test_object_param_signal test case
19535 The callback gets two arguments, not one. This short-circuited
19537 assertions. Fix the arguments and update the refcount check, as it
19539 exactly two at the moment.
19541 tests/test_everything.py | 4 ++--
19542 1 file changed, 2 insertions(+), 2 deletions(-)
19544 commit ba00afb1e50759b2b321f16e05a15946053cdafa
19545 Author: Johan Dahlin <johan@gnome.org>
19546 Date: Mon Mar 19 10:58:09 2012 -0300
19548 pygtkcompat: Remove first argument for get_origin()
19550 gi/pygtkcompat.py | 5 +++++
19551 tests/test_pygtkcompat.py | 5 +++++
19552 2 files changed, 10 insertions(+)
19554 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
19555 Author: Johan Dahlin <johan@gnome.org>
19556 Date: Fri Mar 16 16:08:44 2012 -0300
19558 GtkViewport: Add a default values for the adjustment constructor
19561 https://bugzilla.gnome.org/show_bug.cgi?id=672260
19563 gi/overrides/Gtk.py | 10 ++++++++++
19564 tests/test_overrides.py | 11 +++++++++++
19565 2 files changed, 21 insertions(+)
19567 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
19568 Author: Johan Dahlin <johan@gnome.org>
19569 Date: Fri Mar 16 16:08:23 2012 -0300
19571 GtkIconSet: Add a default value for the pixbuf constructor parameter
19573 https://bugzilla.gnome.org/show_bug.cgi?id=672260
19575 gi/overrides/Gtk.py | 11 +++++++++++
19576 tests/test_overrides.py | 6 ++++++
19577 2 files changed, 17 insertions(+)
19579 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
19580 Author: Johan Dahlin <johan@gnome.org>
19581 Date: Fri Mar 16 16:07:30 2012 -0300
19583 PangoLayout: Add a default value for set_markup()
19585 https://bugzilla.gnome.org/show_bug.cgi?id=672260
19587 gi/overrides/Pango.py | 3 +++
19588 tests/test_overrides.py | 4 ++++
19589 2 files changed, 7 insertions(+)
19591 commit a3ca47b086b7fcf084282be788c5d737dde847ac
19592 Author: Johan Dahlin <johan@gnome.org>
19593 Date: Fri Mar 16 16:06:37 2012 -0300
19595 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
19598 https://bugzilla.gnome.org/show_bug.cgi?id=672260
19600 gi/overrides/Gtk.py | 15 +++++++++++++++
19601 tests/test_overrides.py | 14 ++++++++++++++
19602 2 files changed, 29 insertions(+)
19604 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
19605 Author: Johan Dahlin <johan@gnome.org>
19606 Date: Fri Mar 16 16:06:12 2012 -0300
19608 GtkToolButton: Add a default value for the stock_id constructor
19611 https://bugzilla.gnome.org/show_bug.cgi?id=672260
19613 gi/overrides/Gtk.py | 10 ++++++++++
19614 tests/test_overrides.py | 9 ++++++++-
19615 2 files changed, 18 insertions(+), 1 deletion(-)
19617 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
19618 Author: Johan Dahlin <johan@gnome.org>
19619 Date: Fri Mar 16 16:05:55 2012 -0300
19621 GtkIconView: Add a default value for the model constructor parameter
19623 https://bugzilla.gnome.org/show_bug.cgi?id=672260
19625 gi/overrides/Gtk.py | 3 +++
19626 tests/test_overrides.py | 11 +++++++++++
19627 2 files changed, 14 insertions(+)
19629 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
19630 Author: Johan Dahlin <johan@gnome.org>
19631 Date: Thu Mar 15 15:22:46 2012 -0300
19633 Add a default value for column in Gtk.TreeView.get_cell_area()
19635 https://bugzilla.gnome.org/show_bug.cgi?id=672260
19637 gi/overrides/Gtk.py | 5 +++++
19638 tests/test_overrides.py | 3 +++
19639 2 files changed, 8 insertions(+)
19641 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
19642 Author: Martin Pitt <martin.pitt@ubuntu.com>
19643 Date: Thu Mar 15 09:48:10 2012 +0100
19645 Atomic inserts in Gtk.{List,Tree}Store overrides
19647 Gtk.{List,Tree}Store's overrides provide append(), insert()
19649 take an optional data row array. If this is given, use
19650 insert_with_valuesv()
19651 instead of creating a new iter and then filling it with data. The
19653 row-added signal, at which time the row was still empty, and a
19655 row-changed signal. With this we only get a single row-added
19659 Note that this does not change insert_{before,after}(), as there is no
19660 counterpart of insert_with_valuesv() which takes a TreeIter instead
19662 position. For those you will still get two signals, and have to deal
19666 https://bugzilla.gnome.org/show_bug.cgi?id=671610
19668 gi/overrides/Gtk.py | 81
19669 ++++++++++++++++++++++++++++++-------------------
19670 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
19671 2 files changed, 124 insertions(+), 31 deletions(-)
19673 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
19674 Author: Martin Pitt <martin.pitt@ubuntu.com>
19675 Date: Sun Mar 18 16:07:26 2012 +0100
19677 Fix Gtk.Button constructor to accept use_stock parameter
19679 Thanks to kalanzun@googlemail.com!
19681 https://bugzilla.gnome.org/show_bug.cgi?id=672318
19683 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19685 gi/overrides/Gtk.py | 4 +---
19686 tests/test_overrides.py | 6 ++++++
19687 2 files changed, 7 insertions(+), 3 deletions(-)
19689 commit 466337cf2fd091738eeab12c10d250a9d0827284
19690 Author: Johan Dahlin <johan@gnome.org>
19691 Date: Fri Mar 16 16:55:47 2012 -0300
19693 Correct bad rebase, remove duplicate Window
19695 gi/overrides/Gtk.py | 7 -------
19696 1 file changed, 7 deletions(-)
19698 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
19699 Author: Johan Dahlin <johan@gnome.org>
19700 Date: Thu Mar 15 15:42:28 2012 -0300
19702 Add a PyGTK compatibility layer
19704 This module tries quite a bit harder to maintain compatibility
19705 with PyGTK, module names, enums, flags and some API.
19707 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19709 gi/Makefile.am | 3 +-
19710 gi/pygtkcompat.py | 421
19711 ++++++++++++++++++++++++++++++++++++++++++++++
19712 tests/Makefile.am | 3 +-
19713 tests/test_pygtkcompat.py | 77 +++++++++
19714 4 files changed, 502 insertions(+), 2 deletions(-)
19716 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
19717 Author: Johan Dahlin <johan@gnome.org>
19718 Date: Wed Mar 14 15:20:53 2012 -0300
19720 Add bw-compatible arguments to Gtk.Adjustment
19722 The argument used to be called page/step_incr, if they
19723 are found map them to the existing properties for extra
19726 https://bugzilla.gnome.org/show_bug.cgi?id=672087
19728 gi/overrides/Gtk.py | 8 +++++++-
19729 1 file changed, 7 insertions(+), 1 deletion(-)
19731 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
19732 Author: Johan Dahlin <johan@gnome.org>
19733 Date: Wed Mar 14 17:13:04 2012 -0300
19735 GtkTreePath: make it iterable
19737 https://bugzilla.gnome.org/show_bug.cgi?id=672093
19739 gi/overrides/Gtk.py | 3 +++
19740 tests/test_overrides.py | 2 ++
19741 2 files changed, 5 insertions(+)
19743 commit a7b08cb75541612c78d123b1d968be7874e3c481
19744 Author: Johan Dahlin <johan@gnome.org>
19745 Date: Wed Mar 14 13:32:31 2012 -0300
19747 Add a default argument to TreeModelFilter.set_visible_func()
19749 https://bugzilla.gnome.org/show_bug.cgi?id=672081
19751 gi/overrides/Gtk.py | 14 ++++++++++++++
19752 1 file changed, 14 insertions(+)
19754 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
19755 Author: Johan Dahlin <johan@gnome.org>
19756 Date: Wed Mar 14 13:31:41 2012 -0300
19758 Add a default argument to Gtk.TreeView.set_cursor
19760 And also make sure that the path is a Gtk.TreePath.
19762 https://bugzilla.gnome.org/show_bug.cgi?id=672081
19764 gi/overrides/Gtk.py | 4 ++++
19765 tests/test_overrides.py | 10 ++++++++++
19766 2 files changed, 14 insertions(+)
19768 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
19769 Author: Johan Dahlin <johan@gnome.org>
19770 Date: Wed Mar 14 13:31:06 2012 -0300
19772 Add a default argument to Pango.Context.get_metrics()
19774 https://bugzilla.gnome.org/show_bug.cgi?id=672081
19776 gi/overrides/Pango.py | 9 +++++++++
19777 1 file changed, 9 insertions(+)
19779 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
19780 Author: Martin Pitt <martin.pitt@ubuntu.com>
19781 Date: Fri Mar 16 13:27:56 2012 +0100
19783 Fix double-freeing GValues in arrays
19785 When marshalling a GValue array to C, the GValue items are copied
19787 GValue array, not a C GValue pointer
19788 array. _pygi_marshal_from_py_array()
19789 already calls the cleanup_func for the original item;
19790 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
19792 to g_slice_free the array item.
19794 https://bugzilla.gnome.org/show_bug.cgi?id=672224
19796 gi/pygi-marshal-from-py.c | 7 ++++++-
19797 1 file changed, 6 insertions(+), 1 deletion(-)
19799 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
19800 Author: Simon Feltman <s.feltman@gmail.com>
19801 Date: Fri Mar 16 00:29:31 2012 -0700
19803 Renamed "property" class to "Property"
19805 Renamed to match the rest of the class names in GObject and also
19806 not clobber the builtin python property.
19808 Keep the old "property" identifier for backwards compatibility
19811 https://bugzilla.gnome.org/show_bug.cgi?id=672168
19813 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19815 examples/properties.py | 6 +--
19816 gi/_gobject/__init__.py | 7 ++--
19817 gi/_gobject/propertyhelper.py | 12 +++---
19818 tests/test_interface.py | 4 +-
19819 tests/test_properties.py | 94
19820 +++++++++++++++++++++----------------------
19821 5 files changed, 62 insertions(+), 61 deletions(-)
19823 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
19824 Author: Martin Pitt <martin.pitt@ubuntu.com>
19825 Date: Wed Mar 14 22:52:47 2012 +0100
19827 Fix Python to C marshalling of GValue arrays
19829 For GValues we cannot just copy the GValue memory in
19830 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
19832 releases the GValue and with it its v_pointer. Use g_value_copy()
19836 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
19838 assumed that C arrays contained pointers, but this is not the case
19840 arrays: these are actual struct arrays, not struct pointer arrays
19842 construction in _pygi_marshal_from_py_array()). Check if an array
19844 pointers or values and compute the correct array item pointer for
19847 Also add a corresponding test case for marshalling GValue arrays
19849 Python, which works fine.
19851 https://bugzilla.gnome.org/show_bug.cgi?id=672065
19853 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
19854 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
19855 tests/test_gi.py | 8 ++++++++
19856 3 files changed, 34 insertions(+), 6 deletions(-)
19858 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
19859 Author: Johan Dahlin <johan@gnome.org>
19860 Date: Fri Mar 16 09:59:57 2012 +0100
19862 Correct the Gtk.Window hierarchy
19864 We need to make sure that all Gtk.Dialog subclasses inherit from
19865 the overridden Window class. For that to be done automaticly we need
19866 to create the Window class before the Dialog class.
19868 Now when it's inherited properly we need to avoid calling the Window
19869 constructor twice as it passes in a construct-only parameter. So add
19870 **kwargs to the Window constructor to allow us to pass in any kind
19871 of GObject property to it and refactor the Dialog subclasses to pass
19872 in all properties to the same constructor.
19874 Also adds a bunch of tests to make sure that the hiearchy is correct.
19876 https://bugzilla.gnome.org/show_bug.cgi?id=672158
19878 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19880 gi/overrides/Gtk.py | 56
19881 ++++++++++++++++++++++++-------------------------
19882 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
19883 2 files changed, 61 insertions(+), 30 deletions(-)
19885 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
19886 Author: simon <simon@gerty>
19887 Date: Tue Mar 13 01:41:53 2012 -0700
19889 Renamed getter/setter instance attributes to fget/fset respectively.
19891 The python 'property' class allows for decoration of methods using
19892 .getter and .setter. These were added as methods to the
19894 class to match that of the python property class and allow for
19898 In addition, __call__ was added to allow an instantiated decorator
19900 args to also decorate a method:
19902 class C(GObject.GObject):
19904 @GObject.property(type=int, default=0)
19908 def propInt(self, value):
19909 self._value = value
19911 https://bugzilla.gnome.org/show_bug.cgi?id=586181
19913 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19915 gi/_gobject/__init__.py | 10 ++++----
19916 gi/_gobject/propertyhelper.py | 59
19917 +++++++++++++++++++++++++++++++------------
19918 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
19919 3 files changed, 89 insertions(+), 21 deletions(-)
19921 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
19922 Author: Johan Dahlin <johan@gnome.org>
19923 Date: Tue Mar 13 17:10:13 2012 -0300
19925 Add Gtk.Arrow/Gtk.Window constructor override
19927 Adds argument that makes them compatible with PyGTK.
19929 https://bugzilla.gnome.org/show_bug.cgi?id=672045
19931 gi/overrides/Gtk.py | 17 +++++++++++++++++
19932 1 file changed, 17 insertions(+)
19934 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
19935 Author: Michel Dänzer <michel@daenzer.net>
19936 Date: Fri Mar 9 12:26:53 2012 +0100
19938 Fix marshalling to/from Python to work on big endian machines.
19940 https://bugzilla.gnome.org/show_bug.cgi?id=668903
19942 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19944 gi/pygi-argument.c | 25 ++++++++++++++++---------
19945 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
19946 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
19947 3 files changed, 60 insertions(+), 16 deletions(-)
19949 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
19950 Author: Michel Dänzer <michel@daenzer.net>
19951 Date: Thu Mar 8 12:21:28 2012 +0100
19953 Use gi_cclosure_marshal_generic instead of duplicating it.
19955 Bump gobject-introspection dependency to ensure that we have the
19959 https://bugzilla.gnome.org/show_bug.cgi?id=668903
19961 Signed-off-by: Michel Dänzer <michel@daenzer.net>
19962 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19964 configure.ac | 3 +-
19965 gi/_gobject/Makefile.am | 7 +-
19966 gi/_gobject/ffi-marshaller.c | 194
19967 -------------------------------------------
19968 gi/_gobject/ffi-marshaller.h | 31 -------
19969 gi/_gobject/gobjectmodule.c | 12 +--
19970 5 files changed, 4 insertions(+), 243 deletions(-)
19972 commit 8ca828825a2c47080055c5f986979aac8da9a93f
19973 Author: René Stadler <rene.stadler@collabora.co.uk>
19974 Date: Mon Mar 5 21:10:55 2012 +0100
19976 Override Gtk.TreeView.get_visible_range to fix return
19978 Just like IconView.
19980 https://bugzilla.gnome.org/show_bug.cgi?id=671409
19982 gi/overrides/Gtk.py | 5 +++++
19983 1 file changed, 5 insertions(+)
19985 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
19986 Author: Paolo Borelli <pborelli@gnome.org>
19987 Date: Sun Mar 4 16:41:18 2012 +0100
19989 Plug memory leak in _is_union_member
19991 When we found the member, unref the objects before breaking out of the
19994 gi/pygi-marshal-from-py.c | 9 +++------
19995 1 file changed, 3 insertions(+), 6 deletions(-)
19997 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
19998 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19999 Date: Tue Feb 21 15:37:18 2012 +0100
20001 tests: Split TestInterfaces into separate tests
20003 tests/test_gi.py | 36 +++++++++++++++++++-----------------
20004 1 file changed, 19 insertions(+), 17 deletions(-)
20006 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
20007 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20008 Date: Mon Feb 20 19:37:32 2012 +0100
20010 Post release version bump to 3.1.2
20012 configure.ac | 2 +-
20013 1 file changed, 1 insertion(+), 1 deletion(-)
20015 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
20016 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20017 Date: Mon Feb 20 19:33:56 2012 +0100
20019 Prepare 3.1.1 release
20021 NEWS | 18 ++++++++++++++++++
20022 1 file changed, 18 insertions(+)
20024 commit 99485d96811667ef7a7a393b68b7361733157d61
20025 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20026 Date: Sat Feb 18 00:38:05 2012 +0100
20028 Don't use C99 style
20030 gi/pygi-cache.c | 3 ++-
20031 1 file changed, 2 insertions(+), 1 deletion(-)
20033 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
20034 Author: Martin Pitt <martin.pitt@ubuntu.com>
20035 Date: Thu Feb 16 16:42:53 2012 +0100
20037 Add test for GPtrArray with transfer full
20039 This complements the already existing test for a "transfer container"
20041 array. We can't verify the internal refcount as these arrays get
20043 internally, but at least we can verify that it does not crash due to
20046 tests/test_everything.py | 10 +++++++++-
20047 1 file changed, 9 insertions(+), 1 deletion(-)
20049 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
20050 Author: Martin Pitt <martin.pitt@ubuntu.com>
20051 Date: Wed Feb 15 13:36:39 2012 +0100
20053 Drop obsolete g_thread_init()
20055 Not necessary any more since glib 2.24, and we depend on 2.31.
20057 gi/_glib/pyglib.c | 3 ---
20058 1 file changed, 3 deletions(-)
20060 commit 66fb610e45912a7def29e5848577d280ef55643a
20061 Author: Martin Pitt <martin.pitt@ubuntu.com>
20062 Date: Wed Feb 15 13:35:33 2012 +0100
20064 Fix deprecated g_source_get_current_time()
20066 Use g_get_real_time() instead as recommended by the
20067 documentation. This also
20068 simplifies the code.
20070 gi/_glib/pygsource.c | 4 +---
20071 1 file changed, 1 insertion(+), 3 deletions(-)
20073 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
20074 Author: Martin Pitt <martin.pitt@ubuntu.com>
20075 Date: Wed Feb 15 13:31:23 2012 +0100
20077 Fix deprecated g_value_[gs]et_char()
20079 Replace with _schar(). We depend on glib >= 2.31 already.
20081 gi/_gobject/ffi-marshaller.c | 2 +-
20082 gi/_gobject/pygtype.c | 6 +++---
20083 gi/pygi-argument.c | 2 +-
20084 3 files changed, 5 insertions(+), 5 deletions(-)
20086 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
20087 Author: Simon Schampijer <simon@schampijer.de>
20088 Date: Thu Feb 2 19:06:01 2012 +0100
20090 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
20092 Looking at the gir file gtk.gdk.x11_* should get converted to
20093 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
20095 pygi-convert.sh | 2 +-
20096 1 file changed, 1 insertion(+), 1 deletion(-)
20098 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
20099 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20100 Date: Fri Feb 10 13:29:41 2012 +0100
20102 Raise required glib version to 2.31 because of g_value_(get|set)_schar
20104 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
20106 configure.ac | 6 +++---
20107 1 file changed, 3 insertions(+), 3 deletions(-)
20109 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
20110 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20111 Date: Fri Feb 10 09:28:36 2012 +0100
20113 Fix cset_first typo
20115 https://bugzilla.gnome.org/show_bug.cgi?id=649267
20117 gi/_gobject/pygparamspec.c | 2 +-
20118 1 file changed, 1 insertion(+), 1 deletion(-)
20120 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
20121 Author: Bastian Winkler <buz@netbuz.org>
20122 Date: Mon Nov 14 14:41:08 2011 +0100
20124 pygi-convert: Handle Clutter and Cogl
20126 https://bugzilla.gnome.org/show_bug.cgi?id=664496
20128 pygi-convert.sh | 76
20129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20130 1 file changed, 76 insertions(+)
20132 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
20133 Author: Cédric Krier <cedric.krier@b2ck.com>
20134 Date: Fri Feb 10 09:04:18 2012 +0100
20136 Provide access to gpointer struct values
20138 https://bugzilla.gnome.org/show_bug.cgi?id=668356
20140 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
20142 gi/pygi-argument.c | 3 ++-
20143 gi/pygi-info.c | 13 +++++++++++++
20144 tests/test_everything.py | 21 +++++++++++++++++++++
20145 3 files changed, 36 insertions(+), 1 deletion(-)
20147 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
20148 Author: Paolo Borelli <pborelli@gnome.org>
20149 Date: Thu Feb 9 18:15:42 2012 +0100
20151 Add some GType tests
20153 Use what was recently added in g-i
20155 tests/test_gi.py | 17 +++++++++++++++--
20156 1 file changed, 15 insertions(+), 2 deletions(-)
20158 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
20159 Author: Paolo Borelli <pborelli@gnome.org>
20160 Date: Thu Feb 9 18:14:52 2012 +0100
20162 Split GStrv and array variant tests in their own classes
20164 Also tidy up the spacing a bit
20166 tests/test_gi.py | 29 +++++++++++++++++++++++------
20167 1 file changed, 23 insertions(+), 6 deletions(-)
20169 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
20170 Author: Paolo Borelli <pborelli@gnome.org>
20171 Date: Wed Feb 8 22:23:30 2012 +0100
20173 Add unit test for builder's connect_after
20175 tests/test_overrides.py | 8 ++++++++
20176 1 file changed, 8 insertions(+)
20178 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
20179 Author: Ryan Lortie <desrt@desrt.ca>
20180 Date: Wed Feb 8 16:06:22 2012 -0500
20182 fix GtkBuilder signal connection 'after' logic
20184 All GtkBuilder signals are presently being connected 'after', ignoring
20185 what is specified in the builder XML. This is due to an obvious logic
20188 https://bugzilla.gnome.org/show_bug.cgi?id=669705
20190 gi/overrides/Gtk.py | 2 +-
20191 1 file changed, 1 insertion(+), 1 deletion(-)
20193 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
20194 Author: Patrick Welche <prlw1@cam.ac.uk>
20195 Date: Tue Feb 7 11:49:58 2012 +0000
20197 test(1) uses '=' to test if strings are identical
20199 https://bugzilla.gnome.org/show_bug.cgi?id=669598
20201 m4/python.m4 | 6 +++---
20202 1 file changed, 3 insertions(+), 3 deletions(-)
20204 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
20205 Author: Ryan Lortie <desrt@desrt.ca>
20206 Date: Tue Feb 7 13:42:19 2012 -0500
20208 pygspawn: improve error checking
20210 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
20211 is enforced by checking that the passed argument is a sequence
20213 each item returned from it is a string.
20215 We do now, however, verify that each item can be successfully
20217 the sequence. 'os.environ' is an example of an object that passes
20218 PySequence_Check() but fails to return objects from PySequence_ITEM().
20220 Add a simple NULL check to avoid the crash.
20222 https://bugzilla.gnome.org/show_bug.cgi?id=669594
20224 gi/_glib/pygspawn.c | 4 ++--
20225 1 file changed, 2 insertions(+), 2 deletions(-)
20227 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
20228 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20229 Date: Mon Feb 6 19:15:53 2012 +0100
20231 Post release version bump to 3.1.1
20233 configure.ac | 2 +-
20234 1 file changed, 1 insertion(+), 1 deletion(-)
20236 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
20237 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20238 Date: Mon Feb 6 19:11:52 2012 +0100
20240 Prepare 3.1.0 release
20242 NEWS | 34 ++++++++++++++++++++++++++++++++++
20243 1 file changed, 34 insertions(+)
20245 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
20246 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20247 Date: Mon Feb 6 19:04:41 2012 +0100
20249 Updated DOAP file to only include people currently actively working
20252 Removed obsolete MAINTAINERS file
20254 MAINTAINERS | 19 -------------------
20255 pygobject.doap | 44 +++++++++++++++-----------------------------
20256 2 files changed, 15 insertions(+), 48 deletions(-)
20258 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
20259 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20260 Date: Mon Feb 6 18:57:01 2012 +0100
20262 Revert "Convert all strings to utf-8 encoding when retrieving from
20265 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
20267 Due to this commit breaking backwards compatability, we decided to
20270 gi/overrides/Gtk.py | 15 ---------------
20271 tests/compathelper.py | 2 --
20272 tests/test_overrides.py | 31 +------------------------------
20273 3 files changed, 1 insertion(+), 47 deletions(-)
20275 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
20276 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20277 Date: Sun Feb 5 13:47:10 2012 +0100
20279 tests: Fixed issues with python3
20281 tests/test_gi.py | 9 ++++++---
20282 1 file changed, 6 insertions(+), 3 deletions(-)
20284 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
20285 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20286 Date: Sun Feb 5 11:59:51 2012 +0100
20288 Properly distinguish between different integer types for properties
20290 https://bugzilla.gnome.org/show_bug.cgi?id=664150
20292 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
20293 tests/test_gi.py | 62
20294 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20295 2 files changed, 106 insertions(+), 4 deletions(-)
20297 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
20298 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20299 Date: Sun Feb 5 11:46:21 2012 +0100
20301 Distinguish between GArray and GPtrArray when cleaning up
20303 This fixes a crash in test_gi.TestGPtrArray and makes sure
20304 memory is free'd correctly
20306 https://bugzilla.gnome.org/show_bug.cgi?id=669393
20308 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
20309 1 file changed, 23 insertions(+), 9 deletions(-)
20311 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
20312 Author: Paolo Borelli <pborelli@gnome.org>
20313 Date: Sun Feb 5 18:51:53 2012 +0100
20315 Add null_gerror_callback unit test
20317 This models the case where the callback is successful and does not set
20320 https://bugzilla.gnome.org/show_bug.cgi?id=669415
20322 tests/test_everything.py | 9 +++++++++
20323 1 file changed, 9 insertions(+)
20325 commit a41984780ee49dcf02c718ca1be87bba747472e5
20326 Author: Martin Pitt <martin.pitt@ubuntu.com>
20327 Date: Mon Feb 6 09:34:28 2012 +0100
20329 pyglib_error_check: Re-add missing NULL check
20331 Commit adcfe96d49b09bc accidentally dropped the check if *error is
20333 any error is actually set. Due to that, pyglib_error_check()
20335 TRUE. Reintroduce the check.
20337 Thanks to Alberto Mardegan for spotting this!
20339 https://bugzilla.gnome.org/show_bug.cgi?id=669415
20341 gi/_glib/pyglib.c | 2 ++
20342 1 file changed, 2 insertions(+)
20344 commit 2c797c17913999379e277788d5e4cce8d68cebb0
20345 Author: Michael Culbertson <michael.culbertson@gmail.com>
20346 Date: Sat Feb 4 16:11:34 2012 +0100
20348 Add tests/runtests-windows.py to source tarball
20350 https://bugzilla.gnome.org/show_bug.cgi?id=663288
20352 tests/Makefile.am | 1 +
20353 1 file changed, 1 insertion(+)
20355 commit d6a899cdf70e978534326155e3fad75a705f4b20
20356 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20357 Date: Sat Feb 4 15:55:55 2012 +0100
20359 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
20362 https://bugzilla.gnome.org/show_bug.cgi?id=665553
20364 gi/overrides/Gtk.py | 6 ++----
20365 1 file changed, 2 insertions(+), 4 deletions(-)
20367 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
20368 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
20369 Date: Sat Feb 4 15:42:36 2012 +0100
20371 Fix bool() operations on GLib.Variant objects
20373 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
20375 Also adds some tests for boolean comparisons.
20377 https://bugzilla.gnome.org/show_bug.cgi?id=647723
20379 gi/overrides/GLib.py | 18 ++++++++++++++++++
20380 tests/test_overrides.py | 45
20381 +++++++++++++++++++++++++++++++++++++++++++++
20382 2 files changed, 63 insertions(+)
20384 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
20385 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
20386 Date: Sat Feb 4 15:41:08 2012 +0100
20388 Fix hash() and __eq__() for GLib.Variant objects
20390 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
20391 be used in sets, dicts, and can be compared using == and != easily.
20393 Also adds some tests for this.
20395 https://bugzilla.gnome.org/show_bug.cgi?id=647725
20397 gi/overrides/GLib.py | 23 ++++++++++++++++++++
20398 tests/test_overrides.py | 56
20399 +++++++++++++++++++++++++++++++++++++++++++++++++
20400 2 files changed, 79 insertions(+)
20402 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
20403 Author: Martin Pitt <martin.pitt@ubuntu.com>
20404 Date: Wed Jan 25 07:01:06 2012 +0100
20406 Fix method names of callback tests
20408 Change test_everything.TestCallbacks.* test names from camelCase
20410 standard PEP-8 underscore_style. This is now consistent with all
20414 tests/test_everything.py | 30 +++++++++++++++---------------
20415 1 file changed, 15 insertions(+), 15 deletions(-)
20417 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
20418 Author: Will Thompson <will.thompson@collabora.co.uk>
20419 Date: Mon Jan 23 13:10:30 2012 +0000
20421 Cairo: add missing braces around array-of-struct definition
20423 This triggered a -Wmissing-braces warning.
20425 https://bugzilla.gnome.org/show_bug.cgi?id=668497
20427 gi/pygi-foreign-cairo.c | 2 +-
20428 1 file changed, 1 insertion(+), 1 deletion(-)
20430 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
20431 Author: Will Thompson <will.thompson@collabora.co.uk>
20432 Date: Mon Jan 23 13:06:41 2012 +0000
20434 g_instance_init: cast to PyGObject * as needed
20436 This squashes a compiler warning.
20438 https://bugzilla.gnome.org/show_bug.cgi?id=668497
20440 gi/_gobject/gobjectmodule.c | 2 +-
20441 1 file changed, 1 insertion(+), 1 deletion(-)
20443 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
20444 Author: Will Thompson <will.thompson@collabora.co.uk>
20445 Date: Mon Jan 23 13:01:27 2012 +0000
20447 Fix a few set-but-not-used warnings.
20449 In a couple of cases, the variable in question was set to a value
20450 spelled out again later in the function.
20452 The 'sequence_cache' variable is re-declared five lines below.
20454 The return value of 'read' was previously completely ignored. The
20455 'gssize ret' variable was in fact added to squash an unused-result
20458 https://bugzilla.gnome.org/show_bug.cgi?id=668497
20460 gi/_glib/pygiochannel.c | 2 +-
20461 gi/_glib/pygmainloop.c | 3 +--
20462 gi/_gobject/pygobject.c | 2 +-
20463 gi/pygi-marshal-cleanup.c | 2 --
20464 4 files changed, 3 insertions(+), 6 deletions(-)
20466 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
20467 Author: Stefano Facchini <stefano.facchini@gmail.com>
20468 Date: Thu Jan 19 18:09:07 2012 +0100
20470 pygmainloop: allow for extra arguments in 'quit' method
20472 To allow for the common syntax:
20474 object.connect('signal-name', main_loop.quit)
20476 https://bugzilla.gnome.org/show_bug.cgi?id=668288
20478 gi/_glib/pygmainloop.c | 4 ++--
20479 1 file changed, 2 insertions(+), 2 deletions(-)
20481 commit 557a61c12c01137a0d7c679c4b053973df09d445
20482 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
20483 Date: Mon Dec 26 00:44:56 2011 -0500
20485 Fix bytearray test compatibility with python3
20487 https://bugs.gentoo.org/show_bug.cgi?id=321879
20489 https://bugzilla.gnome.org/show_bug.cgi?id=666852
20491 tests/test_gi.py | 4 ++--
20492 1 file changed, 2 insertions(+), 2 deletions(-)
20494 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
20495 Author: Alberto Mardegan <mardy@users.sourceforge.net>
20496 Date: Mon Jan 23 12:37:26 2012 +0200
20498 Respect transfer-type when demarshalling GErrors
20500 The marshaller previously ignored "transfer full" on GError*
20502 crashes due to double-freeing them. This causes the
20503 testCallbackUserdata() test
20504 case to crash after the previous GError/GHashTable marshalling fix.
20506 https://bugzilla.gnome.org/show_bug.cgi?id=666270
20508 gi/pygi-argument.c | 12 +++++++++++-
20509 1 file changed, 11 insertions(+), 1 deletion(-)
20511 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
20512 Author: Alberto Mardegan <mardy@users.sourceforge.net>
20513 Date: Thu Dec 15 16:12:01 2011 +0200
20515 Support GHashTable and GError as callback/closure arguments
20517 Marshalling of these types from C is already implemented, let's
20519 into use for calbacks and closures too.
20521 Add corresponding test cases.
20523 https://bugzilla.gnome.org/show_bug.cgi?id=666270
20525 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
20527 gi/pygi-closure.c | 2 ++
20528 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
20529 2 files changed, 37 insertions(+)
20531 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
20532 Author: Will Thompson <will.thompson@collabora.co.uk>
20533 Date: Mon Jan 23 13:56:02 2012 +0000
20535 Don't leak when marshalling GErrors to C
20537 Python-land GLib.GErrors are supposed to have three attributes:
20538 "message", "domain" and "code". If those attributes are missing,
20540 have the wrong types, the C GError is filled in with a message
20541 describing the error. The present-but-ill-typed code paths did not
20542 DECREF the ill-typed values.
20544 https://bugzilla.gnome.org/show_bug.cgi?id=666098
20546 gi/_glib/pyglib.c | 3 +++
20547 1 file changed, 3 insertions(+)
20549 commit adcfe96d49b09bcc550653d73de196610fd5144d
20550 Author: Will Thompson <will.thompson@collabora.co.uk>
20551 Date: Fri Jan 20 16:20:10 2012 +0000
20553 Support functions which return GError
20555 GStreamer has the following method:
20557 void gst_message_parse_error (
20558 GstMessage *message,
20560 gchar **debug_message);
20562 With this patch, we marshal the GError out parameter as a
20564 exception, but return it rather than throwing it. The test cases cover
20565 two variations on the theme of the function above (one with (transfer
20566 full), as in GStreamer, and another with (transfer none)) as well as a
20567 function with return type GError *.
20569 https://bugzilla.gnome.org/show_bug.cgi?id=666098
20571 gi/_glib/pyglib.c | 46
20572 +++++++++++++++++++++++++++++++++++-----------
20573 gi/_glib/pyglib.h | 1 +
20574 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
20575 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
20576 4 files changed, 81 insertions(+), 14 deletions(-)
20578 commit 09f003729eac9d553a208c343c2a14d253b77d9a
20579 Author: Alberto Mardegan <mardy@users.sourceforge.net>
20580 Date: Mon Jan 23 12:42:21 2012 +0200
20582 Fix indentation of _pygi_argument_to_object()
20584 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
20586 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
20588 gi/pygi-argument.c | 26 +++++++++++++-------------
20589 1 file changed, 13 insertions(+), 13 deletions(-)
20591 commit c71c010be01d706f90bc200194325fd82f4071b2
20592 Author: Paolo Borelli <pborelli@gnome.org>
20593 Date: Sat Jan 14 14:24:23 2012 +0100
20597 gi/gimodule.c | 10 ++++++----
20598 1 file changed, 6 insertions(+), 4 deletions(-)
20600 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
20601 Author: Paolo Borelli <pborelli@gnome.org>
20602 Date: Fri Jan 6 13:39:31 2012 +0100
20604 Connect to first action of a radio group.
20606 gi/overrides/Gtk.py | 4 ++--
20607 1 file changed, 2 insertions(+), 2 deletions(-)
20609 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
20610 Author: Paolo Borelli <pborelli@gnome.org>
20611 Date: Wed Jan 4 16:40:51 2012 +0100
20613 Use g_slist_free_full in pygi-closure.
20615 gi/pygi-closure.c | 3 +--
20616 1 file changed, 1 insertion(+), 2 deletions(-)
20618 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
20619 Author: Paolo Borelli <pborelli@gnome.org>
20620 Date: Wed Jan 4 15:24:13 2012 +0100
20622 Avoid O(n^2) behavior when marshalling lists
20624 Appending requires walking the list every time: just prepend and
20626 the list at the end.
20628 https://bugzilla.gnome.org/show_bug.cgi?id=667261
20630 gi/pygi-marshal-from-py.c | 8 ++++----
20631 1 file changed, 4 insertions(+), 4 deletions(-)
20633 commit d68455e99b1a9ebba31209b17a11317b1958678b
20634 Author: Paolo Borelli <pborelli@gnome.org>
20635 Date: Tue Jan 3 16:57:40 2012 +0100
20637 Handle NULL as a valid case of a char** array
20639 Treat NULL as an empty array and add the corresponding testcase
20641 gi/pygi-marshal-to-py.c | 9 +++++----
20642 tests/test_gi.py | 3 +++
20643 2 files changed, 8 insertions(+), 4 deletions(-)
20645 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
20646 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20647 Date: Fri Dec 23 12:01:43 2011 +0100
20649 Branching, bump version to 3.1.0
20651 configure.ac | 4 ++--
20652 1 file changed, 2 insertions(+), 2 deletions(-)
20654 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
20655 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20656 Date: Mon Dec 12 18:35:30 2011 +0100
20658 Add notes about branching to HACKING
20660 HACKING | 10 ++++++++++
20661 1 file changed, 10 insertions(+)
20663 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
20664 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20665 Date: Sat Dec 10 12:51:45 2011 +0100
20667 Fixed bug where GObject.property did not respect minimum and maximum
20670 https://bugzilla.gnome.org/show_bug.cgi?id=664864
20672 gi/_gobject/propertyhelper.py | 2 +-
20673 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
20674 2 files changed, 32 insertions(+), 1 deletion(-)
20676 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
20677 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20678 Date: Mon Dec 12 17:00:24 2011 +0100
20680 Remove mention of removed option --enable-docs
20683 1 file changed, 1 insertion(+), 1 deletion(-)
20685 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
20686 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20687 Date: Mon Dec 12 17:00:03 2011 +0100
20689 Fix sebp's name in NEWS
20692 1 file changed, 1 insertion(+), 1 deletion(-)
20694 commit 8c95981d0ba224a577f87998030c384b3dae3d80
20695 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20696 Date: Mon Dec 12 16:20:09 2011 +0100
20700 NEWS | 15 +++++++++++++++
20701 1 file changed, 15 insertions(+)
20703 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
20704 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20705 Date: Mon Dec 12 16:16:44 2011 +0100
20707 Pre-release version bump
20709 configure.ac | 2 +-
20710 1 file changed, 1 insertion(+), 1 deletion(-)
20712 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
20713 Author: Manuel Quiñones <manuq@laptop.org>
20714 Date: Thu Dec 1 11:50:38 2011 -0300
20716 Convert all modifier constants to Gdk.ModifierType
20718 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
20720 pygi-convert.sh | 14 ++++++++++++++
20721 1 file changed, 14 insertions(+)
20723 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
20724 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20725 Date: Tue Nov 8 12:38:12 2011 +0100
20727 Convert all strings to utf-8 encoding when retrieving from TreeModel
20729 https://bugzilla.gnome.org/show_bug.cgi?id=663610
20731 gi/overrides/Gtk.py | 15 +++++++++++++++
20732 tests/compathelper.py | 2 ++
20733 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
20734 3 files changed, 47 insertions(+), 1 deletion(-)
20736 commit 4f637212f13b197a95c824967a58496b9e3b877c
20737 Author: John (J5) Palmieri <johnp@redhat.com>
20738 Date: Wed Nov 2 14:51:24 2011 -0400
20740 add test for bytearray variants
20742 tests/test_gi.py | 4 ++++
20743 1 file changed, 4 insertions(+)
20745 commit 20ca3f129d6cc662285cce8c732b55596016aefa
20746 Author: John (J5) Palmieri <johnp@redhat.com>
20747 Date: Wed Nov 2 14:50:42 2011 -0400
20749 handle NULL arrays correctly for each array type
20751 gi/pygi-marshal-to-py.c | 11 ++++++-----
20752 1 file changed, 6 insertions(+), 5 deletions(-)
20754 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
20755 Author: John (J5) Palmieri <johnp@redhat.com>
20756 Date: Wed Nov 2 14:17:21 2011 -0400
20758 Revert "Revert "Fix array termination and size calculation""
20760 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
20762 gi/pygi-marshal-from-py.c | 6 +++++-
20763 gi/pygi-marshal-to-py.c | 8 +++++++-
20764 2 files changed, 12 insertions(+), 2 deletions(-)
20766 commit 832f16f96815adc22cc3acbeb3fa969631795a29
20767 Author: Owen W. Taylor <otaylor@fishsoup.net>
20768 Date: Sun Oct 30 18:08:57 2011 -0400
20770 pygmainloop: avoid lockups if multiple glib.MainLoop exist
20772 If multiple glib.MainLoop() sources exist, then we will add multiple
20773 watches, and when python writes a byte to the wakeup pipe, all of the
20774 sources will try to read it; only one will succeed and the others
20775 will block. Set both ends of the pipe nonblocking to avoid this.
20777 https://bugzilla.gnome.org/show_bug.cgi?id=663068
20779 gi/_glib/pygmainloop.c | 5 ++++-
20780 1 file changed, 4 insertions(+), 1 deletion(-)
20782 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
20783 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20784 Date: Sat Oct 29 15:08:03 2011 +0200
20786 Properly chain up to the class that implements a given vfunc.
20788 https://bugzilla.gnome.org/show_bug.cgi?id=662994
20790 gi/types.py | 22 +++++++++++++---------
20791 tests/test_gi.py | 20 ++++++++++----------
20792 2 files changed, 23 insertions(+), 19 deletions(-)
20794 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
20795 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
20796 Date: Wed Nov 2 14:54:21 2011 +0100
20798 Revert "Fix array termination and size calculation"
20800 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
20802 gi/pygi-marshal-from-py.c | 6 +-----
20803 gi/pygi-marshal-to-py.c | 8 +-------
20804 2 files changed, 2 insertions(+), 12 deletions(-)
20806 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
20807 Author: Holger Berndt <hb@gnome.org>
20808 Date: Sun Oct 30 16:36:32 2011 +0100
20810 Fix array termination and size calculation
20812 When creating an array of element type uint8 and setting it directly
20814 memcpy(), make sure that zero-termination is respected.
20816 When calculating the length of a zero-terminated array of type uint8,
20817 fall back to strlen() instead of g_strv_length().
20819 https://bugzilla.gnome.org/show_bug.cgi?id=662550
20821 gi/pygi-marshal-from-py.c | 6 +++++-
20822 gi/pygi-marshal-to-py.c | 8 +++++++-
20823 2 files changed, 12 insertions(+), 2 deletions(-)
20825 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
20826 Author: Daniel Drake <dsd@laptop.org>
20827 Date: Sun Oct 30 09:20:45 2011 +0000
20829 pygi-convert: fix for Pango.Alignment
20831 pygi-convert.sh | 1 +
20832 1 file changed, 1 insertion(+)
20834 commit e3abd76096cc9f335681c7225f452c286b9c59e2
20835 Author: Daniel Drake <dsd@laptop.org>
20836 Date: Sun Oct 30 07:06:57 2011 +0000
20838 pygi-convert: fix for Gtk.Orientation
20840 pygi-convert.sh | 1 +
20841 1 file changed, 1 insertion(+)
20843 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
20844 Author: Martin Pitt <martin.pitt@ubuntu.com>
20845 Date: Thu Oct 27 07:16:24 2011 +0200
20847 Add tests for calling closures
20849 Add checks for correct handling of closure calls.
20850 Regress.test_closure_one_arg() is working fine and should continue
20852 Regress.test_closure_variant() is known to not work yet, so mark
20854 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
20856 tests/test_everything.py | 24 ++++++++++++++++++++++++
20857 1 file changed, 24 insertions(+)
20859 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
20860 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
20861 Date: Tue Oct 4 12:28:26 2011 +0200
20863 fix marshaling of arrays of GVariants
20865 Add unit tests for marshaling of arrays of variants with all
20866 transfer modes. Requires latest gobject-introspection.
20868 Plug potential leaks of GArray data members
20870 Fix calling of wrong cleanup_from_py for arrays
20872 Simplify and fix logic for cleaning up arrays both in from_py()
20873 and to_py() code paths.
20875 https://bugzilla.gnome.org/show_bug.cgi?id=638915
20877 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
20879 gi/pygi-cache.c | 2 +-
20880 gi/pygi-marshal-cleanup.c | 81
20881 ++++++++++++++++++++++++++++++-----------------
20882 gi/pygi-marshal-from-py.c | 10 ++++--
20883 gi/pygi-marshal-to-py.c | 13 ++++++--
20884 tests/test_gi.py | 14 +++++++-
20885 5 files changed, 85 insertions(+), 35 deletions(-)
20887 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
20888 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20889 Date: Sat Oct 22 00:20:57 2011 +0200
20894 1 file changed, 8 insertions(+)
20896 commit 5c24760b797e985721f7fe51d52252e4dd54a417
20897 Author: Martin Pitt <martin.pitt@ubuntu.com>
20898 Date: Fri Oct 21 17:31:41 2011 +0200
20900 Fix "Returns: (skip)" method calls without (out) arguments
20902 When we have a method call with a skipped return value, but no
20904 arguments, we previously returned NULL to Python, which causes
20906 error return without exception set". Return None instead.
20908 https://bugzilla.gnome.org/show_bug.cgi?id=662383
20910 gi/pygi-invoke.c | 10 ++++++++++
20911 tests/test_everything.py | 8 ++++++++
20912 2 files changed, 18 insertions(+)
20914 commit 585222915dc98b0e375de3db4771466278a32e81
20915 Author: John (J5) Palmieri <johnp@redhat.com>
20916 Date: Tue Oct 18 00:39:16 2011 -0400
20918 Do union member checks for unions that are parameters
20920 * before we were only doing checks if the union was an instance
20922 https://bugzilla.gnome.org/show_bug.cgi?id=661673
20924 gi/pygi-marshal-from-py.c | 121
20925 ++++++++++++++++++++++++++--------------------
20926 1 file changed, 68 insertions(+), 53 deletions(-)
20928 commit 8deaec6b9abd87f02060c9feec773d4693e89028
20929 Author: Martin Pitt <martin.pitt@ubuntu.com>
20930 Date: Wed Oct 19 14:35:11 2011 +0200
20932 Gdk overrides: Unbreak for Gdk-2.0
20934 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
20936 only do this for Gdk >= 3.0.
20938 https://launchpad.net/bugs/875399
20940 gi/overrides/Gdk.py | 95
20941 +++++++++++++++++++++++++++--------------------------
20942 1 file changed, 48 insertions(+), 47 deletions(-)
20944 commit f395fb131caf7ca550acd17138d8061926ef4f92
20945 Author: John (J5) Palmieri <johnp@redhat.com>
20946 Date: Fri Oct 14 17:19:45 2011 -0400
20948 unit test for checking ref count of object param in signals
20950 https://bugzilla.gnome.org/show_bug.cgi?id=661359
20952 tests/test_everything.py | 11 +++++++++++
20953 1 file changed, 11 insertions(+)
20955 commit 611f58b99851328653af4930f188c33eccaa9f6f
20956 Author: John (J5) Palmieri <johnp@redhat.com>
20957 Date: Fri Oct 14 16:42:32 2011 -0400
20959 when converting an object with transfer none, make sure the wrapper
20962 https://bugzilla.gnome.org/show_bug.cgi?id=661359
20964 gi/pygi-argument.c | 10 ++++++++++
20965 1 file changed, 10 insertions(+)
20967 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
20968 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20969 Date: Tue Oct 4 11:13:43 2011 +0200
20971 Allow GBoxed types as property
20973 Add the GBoxed type as valid type to the gobject property helper
20974 https://bugzilla.gnome.org/show_bug.cgi?id=660798
20976 gi/_gobject/propertyhelper.py | 5 +++--
20977 1 file changed, 3 insertions(+), 2 deletions(-)
20979 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
20980 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20981 Date: Mon Oct 10 11:24:42 2011 +0200
20983 Add tests for boxed properties.
20985 tests/test_properties.py | 20 ++++++++++++++++++--
20986 1 file changed, 18 insertions(+), 2 deletions(-)
20988 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
20989 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20990 Date: Fri Sep 30 20:21:07 2011 +0200
20992 Post release bump version
20994 configure.ac | 2 +-
20995 1 file changed, 1 insertion(+), 1 deletion(-)
20997 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
20998 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20999 Date: Fri Sep 30 20:19:46 2011 +0200
21004 configure.ac | 2 +-
21005 2 files changed, 6 insertions(+), 1 deletion(-)
21007 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
21008 Author: John (J5) Palmieri <johnp@redhat.com>
21009 Date: Thu Sep 22 19:03:20 2011 -0400
21011 when checking instances union members are same type as parent
21013 * this is so we can support sending Gdk.Event members in place of
21014 the Event union into methods
21015 * we only support this if the union member has a type of GI_INTERFACE
21018 https://bugzilla.gnome.org/show_bug.cgi?id=659879
21020 gi/pygi-marshal-from-py.c | 60
21021 +++++++++++++++++++++++++++++++++++++++++++----
21022 1 file changed, 56 insertions(+), 4 deletions(-)
21024 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
21025 Author: John (J5) Palmieri <johnp@redhat.com>
21026 Date: Wed Sep 21 21:50:48 2011 -0400
21028 add a floating flag to pygobjects
21030 * this allows us to correctly refcount when custom gobjects are
21034 gi/_gobject/gobjectmodule.c | 5 +++++
21035 gi/_gobject/pygobject-private.h | 3 +++
21036 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
21037 gi/_gobject/pygobject.h | 3 ++-
21038 4 files changed, 36 insertions(+), 2 deletions(-)
21040 commit d2d29ae5845217254b9336fd8629f369cb119b25
21041 Author: John (J5) Palmieri <johnp@redhat.com>
21042 Date: Wed Sep 21 21:13:22 2011 -0400
21044 Revert "Fix refcount bug by not creating python wrapper during
21045 gobject init stage"
21047 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
21049 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
21050 1 file changed, 17 insertions(+), 15 deletions(-)
21052 commit a24c10b779f2a1b0425d56d03d59c393389cad98
21053 Author: John (J5) Palmieri <johnp@redhat.com>
21054 Date: Wed Sep 21 21:10:00 2011 -0400
21056 make sure to commit the NEWS file
21059 1 file changed, 4 insertions(+)
21061 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
21062 Author: John (J5) Palmieri <johnp@redhat.com>
21063 Date: Mon Sep 19 13:19:57 2011 -0400
21065 prep for 3.0 release
21067 configure.ac | 6 +++---
21068 1 file changed, 3 insertions(+), 3 deletions(-)
21070 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
21071 Author: John (J5) Palmieri <johnp@redhat.com>
21072 Date: Fri Sep 16 14:19:15 2011 -0400
21074 up version required of gobject-introspection to 1.29.0
21076 configure.ac | 2 +-
21077 1 file changed, 1 insertion(+), 1 deletion(-)
21079 commit 225f21117b6b3546989abe22538c784291e86b2a
21080 Author: John (J5) Palmieri <johnp@redhat.com>
21081 Date: Fri Sep 16 12:26:10 2011 -0400
21085 * remove some unused vars
21086 * correctly cast vars
21087 * handle deprecated enums in switch statments by using default:
21088 * unused wanrings still remain in some places
21090 gi/pygi-argument.c | 2 +-
21091 gi/pygi-cache.c | 7 ++-----
21092 gi/pygi-info.c | 6 ++++++
21093 gi/pygi-invoke.c | 2 +-
21094 gi/pygi-marshal-from-py.c | 17 +++++++++--------
21095 gi/pygi-marshal-to-py.c | 3 +--
21096 6 files changed, 20 insertions(+), 17 deletions(-)
21098 commit 9a70f01288e1b049206d25d67938907f1b38a490
21099 Author: John (J5) Palmieri <johnp@redhat.com>
21100 Date: Fri Sep 16 12:24:38 2011 -0400
21104 configure.ac | 2 +-
21105 1 file changed, 1 insertion(+), 1 deletion(-)
21107 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
21108 Author: John (J5) Palmieri <johnp@redhat.com>
21109 Date: Thu Sep 15 18:12:01 2011 -0400
21111 edit HACKING file to show correct tag format
21114 1 file changed, 1 insertion(+), 1 deletion(-)
21116 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
21117 Author: John (J5) Palmieri <johnp@redhat.com>
21118 Date: Thu Sep 15 18:10:33 2011 -0400
21120 update NEWS file to prep for release
21122 NEWS | 35 +++++++++++++++++++++++++++++++++++
21123 1 file changed, 35 insertions(+)
21125 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
21126 Author: John (J5) Palmieri <johnp@redhat.com>
21127 Date: Thu Sep 15 17:59:31 2011 -0400
21129 fix typo s/lenth/length
21131 gi/overrides/Gtk.py | 2 +-
21132 1 file changed, 1 insertion(+), 1 deletion(-)
21134 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
21135 Author: John (J5) Palmieri <johnp@redhat.com>
21136 Date: Thu Sep 15 17:48:58 2011 -0400
21138 fix typo in docstring
21140 gi/_gobject/propertyhelper.py | 2 +-
21141 1 file changed, 1 insertion(+), 1 deletion(-)
21143 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
21144 Author: John (J5) Palmieri <johnp@redhat.com>
21145 Date: Thu Sep 15 17:46:46 2011 -0400
21147 do not pass in len(str) to the length argument of
21148 gtk_test_buffer_insert* apis
21150 * in python 3 len(str) returns the number of characters while
21152 parameter is expecting the number of bytes. It also excepts -1
21154 terminated string. Since all of our strings are null terminated,
21156 set length to that.
21158 gi/overrides/Gtk.py | 6 ++----
21159 1 file changed, 2 insertions(+), 4 deletions(-)
21161 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
21162 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21163 Date: Mon Sep 12 21:07:20 2011 +0200
21165 Switch tarball compression format to tar.xz only.
21168 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
21169 for more information.
21171 https://bugzilla.gnome.org/show_bug.cgi?id=659140
21173 configure.ac | 2 +-
21174 1 file changed, 1 insertion(+), 1 deletion(-)
21176 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
21177 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21178 Date: Thu Sep 15 14:18:57 2011 +0200
21180 Remove pygtk_version attribute from internal gi._gobject module.
21182 This used to be provided for backwards compatibility with older PyGTK
21183 versions. As PyGObject3 no longer provides support for static bindings
21184 like PyGTK, the pygtk_version attribute has become obsolete.
21186 https://bugzilla.gnome.org/show_bug.cgi?id=659142
21188 gi/_gobject/gobjectmodule.c | 4 ----
21189 gi/_gobject/pygobject.h | 2 --
21190 2 files changed, 6 deletions(-)
21192 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
21193 Author: John (J5) Palmieri <johnp@redhat.com>
21194 Date: Thu Sep 15 15:52:18 2011 -0400
21196 remove overridesdir from the .pc file and add it to the gi module
21198 * having the variable in the .pc file caused issues parallel
21200 for different versions of python
21201 * putting it into the module allows us to give the correct directory
21202 based on which version of python you run the script from
21203 * access the var as such:
21205 installdir = gi._overridesdir
21207 gi/__init__.py | 2 ++
21208 pygobject-3.0.pc.in | 10 +++++++++-
21209 2 files changed, 11 insertions(+), 1 deletion(-)
21211 commit beea7072a5a989be47a755ac46647380d4dbd6b4
21212 Author: John (J5) Palmieri <johnp@redhat.com>
21213 Date: Thu Sep 15 00:11:09 2011 -0400
21215 fix tests to correctly construct a dummy Gtk.TargetEntry
21217 * structs are sometimes a pain in gi. Simply constructing them
21219 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
21221 but not correctly initialize the fields which can cause a crash.
21222 * tests didn't crash before because they were sending in bogus
21224 somehow did not trigger the issue
21225 * now with the C struct array marshallers doing the right thing,
21227 use of TargetEntry was causing a crash
21229 https://bugzilla.gnome.org/show_bug.cgi?id=627236
21231 tests/test_overrides.py | 4 ++--
21232 1 file changed, 2 insertions(+), 2 deletions(-)
21234 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
21235 Author: John (J5) Palmieri <johnp@redhat.com>
21236 Date: Thu Sep 15 00:08:31 2011 -0400
21238 we now assume that C arrays of structs are flat so memcpy them
21241 * there is no way in GI to tell if a C array is flat or an array
21243 so we assume that all arrays of simple structs and gvalues are
21245 all arrays of objects and boxed structs are pointer arrays.
21246 * this will be removed once GI gets the ability to annotate level
21249 https://bugzilla.gnome.org/show_bug.cgi?id=627236
21251 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
21252 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
21253 2 files changed, 61 insertions(+), 3 deletions(-)
21255 commit e30a41592baa942188574e5c9f99572963e2e387
21256 Author: John (J5) Palmieri <johnp@redhat.com>
21257 Date: Thu Sep 15 00:02:34 2011 -0400
21259 only update the arg counts once if child arg comes before parent arg
21261 * if the child arg comes before the parent arg we need to update the
21262 argument counts and take the child arg out of the marshalling lists
21263 since it is handled by the parent
21264 * when two parents reference the same child arg as is the case with
21265 two arrays which have a single length argument we only want
21268 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
21270 and only do the count update if this is set
21271 * APIs should keep in mind that this take extra processing so
21273 should really come after their parents
21275 https://bugzilla.gnome.org/show_bug.cgi?id=627236
21277 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
21278 gi/pygi-cache.h | 9 +++++++--
21279 2 files changed, 27 insertions(+), 12 deletions(-)
21281 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
21282 Author: John (J5) Palmieri <johnp@redhat.com>
21283 Date: Wed Sep 14 20:26:15 2011 -0400
21285 Fix refcount bug by not creating python wrapper during gobject
21288 * This only applys to python subclasses of GObject which are
21291 * Because we were creating the wrapper when the gobject is
21293 and then again calling pygobject_new_full the wrapper would get
21295 * we could not simply Py_DECREF the wrapper due to the fact that
21296 non-subclassed objects (e.g. GObject.Object) instantiated via
21297 new do not run the same initialization code and would not have the
21299 * solution was to simply not create the wrapper during initialization
21300 because if it doesn't exist when pygobject_new_full is called
21301 it gets created and registered there
21302 * move the call to __init__ into pyg_object_new
21304 https://bugzilla.gnome.org/show_bug.cgi?id=657403
21306 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
21307 1 file changed, 15 insertions(+), 17 deletions(-)
21309 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
21310 Author: John (J5) Palmieri <johnp@redhat.com>
21311 Date: Tue Sep 13 18:08:04 2011 -0400
21313 don't destroy just created wrapper when object is created via
21316 https://bugzilla.gnome.org/show_bug.cgi?id=657403
21318 gi/_gobject/gobjectmodule.c | 2 +-
21319 1 file changed, 1 insertion(+), 1 deletion(-)
21321 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
21322 Author: Steve Frécinaux <code@istique.net>
21323 Date: Fri Aug 26 11:22:09 2011 +0200
21325 Remove deprecated API from pygobject.h
21327 https://bugzilla.gnome.org/show_bug.cgi?id=657416
21329 gi/_gobject/pygobject.h | 19 +------------------
21330 1 file changed, 1 insertion(+), 18 deletions(-)
21332 commit e1c71092af6e2cffa36248519adfceac1874051d
21333 Author: Marcin Owsiany <marcin@owsiany.pl>
21334 Date: Wed Aug 31 09:43:28 2011 +0100
21336 Convert gtk.TRUE/FALSE to Python True/False.
21338 https://bugzilla.gnome.org/show_bug.cgi?id=657785
21340 pygi-convert.sh | 2 ++
21341 1 file changed, 2 insertions(+)
21343 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
21344 Author: Steve Frécinaux <code@istique.net>
21345 Date: Fri Sep 2 08:37:15 2011 +0200
21347 Drop legacy __gobject_init__ method of GObject.Object.
21349 This method was used in gobject initialization at some point, but now
21350 using GObject.__init__() is sufficient, so let's not keep this old
21351 method around and let people misuse it.
21353 https://bugzilla.gnome.org/show_bug.cgi?id=658032
21355 examples/signal.py | 2 --
21356 gi/_gobject/pygobject.c | 11 -----------
21357 2 files changed, 13 deletions(-)
21359 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
21360 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21361 Date: Tue Sep 13 12:05:30 2011 +0200
21363 AM_CHECK_PYTHON_LIBS does not work for lib64
21365 But on Windows, Python extension modules need to be explicitly
21366 linked to libpython.
21368 https://bugzilla.gnome.org/show_bug.cgi?id=658856
21370 configure.ac | 4 +++-
21371 gi/Makefile.am | 9 ++++++---
21372 gi/_glib/Makefile.am | 10 ++++++++--
21373 gi/_gobject/Makefile.am | 8 +++++++-
21374 4 files changed, 24 insertions(+), 7 deletions(-)
21376 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
21377 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21378 Date: Mon Sep 12 23:03:05 2011 +0200
21380 Remove common_ldflags from Makefile.am as it is no longer used.
21382 https://bugzilla.gnome.org/show_bug.cgi?id=658856
21384 Makefile.am | 6 ------
21385 1 file changed, 6 deletions(-)
21387 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
21388 Author: John (J5) Palmieri <johnp@redhat.com>
21389 Date: Tue Sep 13 16:20:48 2011 -0400
21391 cast params for PyObject_IsInstance to suppress warnings
21393 gi/_gobject/pygobject-private.h | 4 ++--
21394 1 file changed, 2 insertions(+), 2 deletions(-)
21396 commit 861369ec59b17f67151813dc2e87c6e86126b954
21397 Author: John (J5) Palmieri <johnp@redhat.com>
21398 Date: Tue Sep 13 16:04:31 2011 -0400
21400 check if object is actually a PyGFlag before trying to access g_type
21402 * we are lucky this bit of code worked for as long as it did but when
21403 checking if an object is a PyGFlag we can't just rely on looking
21404 at the g_type field because if a regular gobject is passed in
21405 as is the case when you compare a long to a gflag, the gobject
21406 will not have a g_type field. Accessing a non-existant field
21407 could at best give you a false positive and at worse read
21408 memory beyond the bounds of the actual structure passed in
21410 gi/_gobject/pygobject-private.h | 4 ++--
21411 1 file changed, 2 insertions(+), 2 deletions(-)
21413 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
21414 Author: John (J5) Palmieri <johnp@redhat.com>
21415 Date: Tue Sep 13 16:03:02 2011 -0400
21417 fix regression - add instance type checks since Py3 no longer does
21420 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
21421 1 file changed, 19 insertions(+), 2 deletions(-)
21423 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
21424 Author: John (J5) Palmieri <johnp@redhat.com>
21425 Date: Fri Sep 2 18:39:51 2011 -0400
21427 refactor in/out marshalling to be to_py/from_py
21429 * in/out make sense from a C perspective but when you get to the
21430 python layers it makes more sense to label them as to_py and
21431 from_py to denote which way we are marshalling
21432 * this helps clear up the difference between callbacks which
21433 call into python and invoked functions which call into C
21434 * in the callback case we marshal in values to Python objects
21435 and out values to C types but in the invoke case we do the
21436 reverse. Dealing with to_py/from_py makes the code much more
21437 resuable and consistant
21439 https://bugzilla.gnome.org/show_bug.cgi?id=658362
21441 gi/Makefile.am | 8 +-
21442 gi/pygi-cache.c | 673
21443 ++++++++++++-----------
21444 gi/pygi-cache.h | 62 ++-
21445 gi/pygi-invoke.c | 144 ++---
21446 gi/pygi-marshal-cleanup.c | 168 +++---
21447 gi/pygi-marshal-cleanup.h | 128 ++---
21448 gi/{pygi-marshal-in.c => pygi-marshal-from-py.c} | 372 ++++++-------
21449 gi/pygi-marshal-from-py.h | 186 +++++++
21450 gi/pygi-marshal-in.h | 186 -------
21451 gi/pygi-marshal-out.h | 144 -----
21452 gi/{pygi-marshal-out.c => pygi-marshal-to-py.c} | 278 +++++-----
21453 gi/pygi-marshal-to-py.h | 144 +++++
21454 12 files changed, 1267 insertions(+), 1226 deletions(-)
21456 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
21457 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21458 Date: Fri Sep 9 16:50:25 2011 +0200
21460 Examples: fix cairo-demo.py imports
21462 examples/cairo-demo.py | 6 +++---
21463 1 file changed, 3 insertions(+), 3 deletions(-)
21465 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
21466 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21467 Date: Fri Sep 9 15:08:27 2011 +0200
21469 Fix paths and add missing overridesdir variable used in uninstalled
21472 https://bugzilla.gnome.org/show_bug.cgi?id=658654
21474 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
21475 1 file changed, 7 insertions(+), 7 deletions(-)
21477 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
21478 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21479 Date: Fri Sep 9 15:08:04 2011 +0200
21481 Remove no longer used variables from pkgconfig files
21483 https://bugzilla.gnome.org/show_bug.cgi?id=658654
21485 pygobject-3.0-uninstalled.pc.in | 6 ------
21486 pygobject-3.0.pc.in | 5 +----
21487 2 files changed, 1 insertion(+), 10 deletions(-)
21489 commit 81d388780311311d8dc4a027a59d114edf9a00fc
21490 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21491 Date: Fri Sep 9 14:57:58 2011 +0200
21493 docs/Makefile.am and m4/python.m4: Python3 portability fixes
21495 https://bugzilla.gnome.org/show_bug.cgi?id=658652
21497 docs/Makefile.am | 2 +-
21498 m4/python.m4 | 2 +-
21499 2 files changed, 2 insertions(+), 2 deletions(-)
21501 commit 7e692ee061406e48e4862b98a0829650b1d6d585
21502 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21503 Date: Fri Sep 9 14:57:46 2011 +0200
21505 Refactor and clean Makefile.am files
21507 https://bugzilla.gnome.org/show_bug.cgi?id=658652
21510 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
21511 gi/_glib/Makefile.am | 100
21512 ++++++++++++++++++++++++++++++----------------
21513 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
21514 gi/overrides/Makefile.am | 4 +-
21515 gi/repository/Makefile.am | 4 +-
21516 6 files changed, 162 insertions(+), 114 deletions(-)
21518 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
21519 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21520 Date: Fri Sep 9 14:57:36 2011 +0200
21522 Remove all PLATFORM_VERSION = 2.0 traces
21524 https://bugzilla.gnome.org/show_bug.cgi?id=658652
21526 gi/Makefile.am | 2 --
21527 gi/overrides/Makefile.am | 1 -
21528 gi/repository/Makefile.am | 1 -
21529 3 files changed, 4 deletions(-)
21531 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
21532 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21533 Date: Fri Sep 9 14:57:25 2011 +0200
21535 Remove gi/tests/ directory as all the tests now live in tests/
21537 https://bugzilla.gnome.org/show_bug.cgi?id=658652
21539 gi/tests/Makefile.am | 24 ------------------------
21540 gi/tests/runtests.py | 21 ---------------------
21541 2 files changed, 45 deletions(-)
21543 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
21544 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21545 Date: Fri Sep 9 14:55:25 2011 +0200
21547 autogen.sh: Use autoreconf instead of a custom script and honor
21550 https://bugzilla.gnome.org/show_bug.cgi?id=658652
21554 +++++++------------------------------------------------------
21555 2 files changed, 12 insertions(+), 85 deletions(-)
21557 commit 4671f5397003f376f00830e3fd1c214de594619f
21558 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21559 Date: Fri Sep 9 14:55:01 2011 +0200
21561 use improved python.m4 macros to search for Python headers and libs
21563 https://bugzilla.gnome.org/show_bug.cgi?id=658652
21565 configure.ac | 3 ++-
21566 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
21567 2 files changed, 39 insertions(+), 11 deletions(-)
21569 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
21570 Author: Javier Jardón <jjardon@gnome.org>
21571 Date: Fri Sep 9 15:38:22 2011 +0100
21573 Make maintiner mode enabled by default
21576 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
21578 configure.ac | 2 +-
21579 1 file changed, 1 insertion(+), 1 deletion(-)
21581 commit b24dcb415406668931e02a1f669ef9861bb3a660
21582 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21583 Date: Wed Aug 24 09:58:10 2011 +0200
21585 Disable documentation for now since they are completely wrong for GI.
21587 https://bugzilla.gnome.org/show_bug.cgi?id=657054
21590 configure.ac | 25 -------------------------
21591 2 files changed, 1 insertion(+), 26 deletions(-)
21593 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
21594 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21595 Date: Wed Sep 7 10:38:28 2011 +0200
21597 Fix documentation installation directory
21599 https://bugzilla.gnome.org/show_bug.cgi?id=657054
21601 docs/Makefile.am | 5 +++--
21602 1 file changed, 3 insertions(+), 2 deletions(-)
21604 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
21605 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21606 Date: Tue Sep 6 22:22:11 2011 +0200
21608 Remove distutils based build system.
21610 The only reason this might be brought back to life again is when
21611 the whole stack can be built with Visual Studio (including
21612 gobject-introspection) again. Building with MinGW/MSYS can now
21613 be done with the usual autogen.sh/configure/make/make install dance.
21615 https://bugzilla.gnome.org/show_bug.cgi?id=657054
21618 Makefile.am | 25 +--
21619 README.win32 | 21 --
21621 -----------------------------------------------
21622 pygobject_postinstall.py | 9 -
21623 setup.py | 351 --------------------------------
21624 6 files changed, 7 insertions(+), 915 deletions(-)
21626 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
21627 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21628 Date: Wed Sep 7 10:40:36 2011 +0200
21630 [gtk-demo] Fix syntax highlighter encoding issue
21632 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
21633 Python 2 however we get a str (not unicode). So with Python 2 the
21634 tokenizer returned bogus data when ran over a demo that contains real
21635 UTF-8 codepoints (like rotatedtext.py for example).
21637 This patch thus fixes the "Gtk-CRITICAL **:
21638 gtk_text_iter_set_line_offset:
21639 assertion `char_on_line <= chars_in_line` failed" assertions when
21641 the rotated text demo in the treeview.
21643 demos/gtk-demo/gtk-demo.py | 3 +++
21644 1 file changed, 3 insertions(+)
21646 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
21647 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21648 Date: Tue Sep 6 22:13:54 2011 +0200
21650 overrides: add constants for atoms
21652 gi/overrides/Gdk.py | 49
21653 +++++++++++++++++++++++++++++++++++++++++++++++++
21654 1 file changed, 49 insertions(+)
21656 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
21657 Author: Steve Frécinaux <code@istique.net>
21658 Date: Wed Aug 31 14:18:56 2011 +0200
21660 Drop pygobject_construct() from public API.
21662 These functions were introduced in 2005 because python objects
21664 "just" be instantiated using g_object_new(), but this is not true
21665 anymore since the introduction of new-style constructors. Hence
21667 has no reason to be there anymore.
21669 Nowadays, people who want to construct GObjects defined in python
21671 just use g_object_new().
21673 https://bugzilla.gnome.org/show_bug.cgi?id=657814
21675 gi/_gobject/gobjectmodule.c | 118
21676 +++++++++-------------------------------
21677 gi/_gobject/pygobject-private.h | 3 -
21678 gi/_gobject/pygobject.h | 8 ---
21679 3 files changed, 26 insertions(+), 103 deletions(-)
21681 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
21682 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21683 Date: Wed Aug 31 18:00:44 2011 +0200
21685 post release version bump
21687 configure.ac | 2 +-
21688 1 file changed, 1 insertion(+), 1 deletion(-)
21690 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
21691 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21692 Date: Wed Aug 31 17:58:37 2011 +0200
21696 NEWS | 12 ++++++++++++
21697 1 file changed, 12 insertions(+)
21699 commit 429569abddada5a3bad554de707ddf35b349936e
21700 Author: John (J5) Palmieri <johnp@redhat.com>
21701 Date: Thu Aug 25 13:57:53 2011 -0400
21703 support skip annotation for return values
21705 * this is used for things like skiping gboolean returns that are
21706 useful is C but useless in python
21708 * cleans up after skipped returns that are also marked transfer
21710 https://bugzilla.gnome.org/show_bug.cgi?id=650135
21712 gi/pygi-cache.c | 1 +
21713 gi/pygi-cache.h | 1 +
21714 gi/pygi-invoke.c | 48
21715 ++++++++++++++++++++++++++++++------------------
21716 tests/test_everything.py | 8 ++++++++
21717 4 files changed, 40 insertions(+), 18 deletions(-)
21719 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
21720 Author: Xavier Claessens <xclaesse@gmail.com>
21721 Date: Tue Aug 2 12:05:12 2011 +0200
21723 Test GPtrArray regression
21725 tests/test_everything.py | 3 +++
21726 1 file changed, 3 insertions(+)
21728 commit 42fc9fa437102c882844a0e70a081ab08de92658
21729 Author: Steve Frécinaux <code@istique.net>
21730 Date: Fri Aug 26 10:53:43 2011 +0200
21732 Drop support for old constructor style.
21734 Bindings don't write their own constructors anymore, and the old style
21735 has been deprecated for ages, so let's just drop them now and make
21738 https://bugzilla.gnome.org/show_bug.cgi?id=657413
21740 gi/_gobject/gobjectmodule.c | 20 --------------------
21741 gi/_gobject/pygobject-private.h | 1 -
21742 gi/_gobject/pygobject.c | 1 -
21743 gi/_gobject/pygobject.h | 2 --
21744 gi/gimodule.c | 28 ----------------------------
21746 tests/testhelpermodule.c | 5 -----
21747 7 files changed, 59 deletions(-)
21749 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
21750 Author: Steve Frécinaux <code@istique.net>
21751 Date: Fri Aug 26 10:45:59 2011 +0200
21753 Drop support for sink functions.
21755 Sink functions were meant to deal with floating references in a custom
21756 way. They are not useful anymore with the dynamic bindings.
21758 https://bugzilla.gnome.org/show_bug.cgi?id=642233
21760 gi/_gobject/gobjectmodule.c | 1 -
21761 gi/_gobject/pygobject.c | 53 ----------------------------------------
21762 gi/_gobject/pygobject.h | 4 ---
21763 tests/test-floating.c | 59
21764 +++++++--------------------------------------
21765 tests/test-floating.h | 42 +++++++++-----------------------
21766 tests/test_gobject.py | 13 +++-------
21767 tests/testhelpermodule.c | 32 +++++++-----------------
21768 7 files changed, 32 insertions(+), 172 deletions(-)
21770 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
21771 Author: Mike Gorse <mgorse@novell.com>
21772 Date: Wed Aug 24 17:30:09 2011 -0500
21774 Reinstate copying of in-line structs in arrays
21776 For arrays of in-line, non-boxed structures with (transfer full),
21777 _pygi_marshal_free_out_array eventually gets called and frees
21779 data, so we should copy it (IE, BGO#653588).
21781 https://bugzilla.gnome.org/show_bug.cgi?id=657120
21783 gi/pygi-marshal-out.c | 8 +++++++-
21784 1 file changed, 7 insertions(+), 1 deletion(-)
21786 commit f38511f251602e18551c04617cc2e2d42e812e1e
21787 Author: John (J5) Palmieri <johnp@redhat.com>
21788 Date: Tue Aug 23 14:18:43 2011 -0400
21790 fix inline struct array handling
21792 * we now assume any non-boxed structs are inline in an array since
21794 no way to check in GI and this is the most common use for an
21798 https://bugzilla.gnome.org/show_bug.cgi?id=657120
21800 gi/pygi-marshal-out.c | 23 +++++++++--------------
21801 tests/test_gi.py | 8 ++++++++
21802 2 files changed, 17 insertions(+), 14 deletions(-)
21804 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
21805 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21806 Date: Tue Aug 23 11:30:41 2011 +0200
21808 [gtk-demo] printing.py: set print and error dialog transient parent
21810 demos/gtk-demo/demos/printing.py | 8 ++++----
21811 1 file changed, 4 insertions(+), 4 deletions(-)
21813 commit 1aebc1565752840075027b9452fe2a67217bf53b
21814 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21815 Date: Tue Aug 23 11:28:05 2011 +0200
21817 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
21818 handle printing errors
21820 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
21821 1 file changed, 10 insertions(+), 4 deletions(-)
21823 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
21824 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21825 Date: Tue Aug 23 08:05:43 2011 +0200
21827 [gtk-demo] show "activated" demo's in italic font in the TreeView
21829 demos/gtk-demo/gtk-demo.py | 7 +++++--
21830 1 file changed, 5 insertions(+), 2 deletions(-)
21832 commit 971d063f7a36e13ef6621db7002b00af52f6292a
21833 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21834 Date: Mon Aug 22 14:52:28 2011 +0200
21836 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
21837 token, so simply remove it
21839 demos/gtk-demo/gtk-demo.py | 5 +----
21840 1 file changed, 1 insertion(+), 4 deletions(-)
21842 commit c2979a37d6d505095b6e55789150a6498d95819d
21843 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21844 Date: Mon Aug 22 14:22:18 2011 +0200
21846 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
21847 but Gtk.TextBuffer.insert expects a string.
21849 Fixed by using codes.open() as hinted in
21850 http://docs.python.org/dev/howto/pyporting.html#text-files
21851 section "If pre-2.6 compatibility is needed" (because configure.ac
21852 is still happy with Python 2.5.2).
21854 demos/gtk-demo/gtk-demo.py | 6 +++++-
21855 1 file changed, 5 insertions(+), 1 deletion(-)
21857 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
21858 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21859 Date: Mon Aug 22 12:30:24 2011 +0200
21861 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
21863 demos/gtk-demo/demos/images.py | 2 +-
21864 1 file changed, 1 insertion(+), 1 deletion(-)
21866 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
21867 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21868 Date: Mon Aug 22 10:38:04 2011 +0200
21870 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
21873 demos/gtk-demo/demos/printing.py | 4 ++--
21874 1 file changed, 2 insertions(+), 2 deletions(-)
21876 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
21877 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21878 Date: Mon Aug 22 10:37:08 2011 +0200
21880 [gtk-demo] printing.py: fix text file loading
21882 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
21883 1 file changed, 16 insertions(+), 16 deletions(-)
21885 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
21886 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21887 Date: Mon Aug 22 10:20:35 2011 +0200
21889 [gtk-demo] pixbuf.py: fix image loading
21891 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
21892 1 file changed, 11 insertions(+), 14 deletions(-)
21894 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
21895 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21896 Date: Mon Aug 22 10:10:02 2011 +0200
21898 [gtk-demo] images.py: fix logo loading
21900 demos/gtk-demo/demos/images.py | 70
21901 +++++++++++++++++-------------------------
21902 1 file changed, 29 insertions(+), 41 deletions(-)
21904 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
21905 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21906 Date: Wed Aug 24 12:19:21 2011 +0200
21908 [gtk-demo] appwindow.py: set AboutDialog parent
21910 demos/gtk-demo/demos/appwindow.py | 7 +++----
21911 1 file changed, 3 insertions(+), 4 deletions(-)
21913 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
21914 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21915 Date: Mon Aug 22 07:58:25 2011 +0200
21917 [gtk-demo] appwindow.py: fix logo loading
21919 demos/gtk-demo/demos/appwindow.py | 10 +++-------
21920 1 file changed, 3 insertions(+), 7 deletions(-)
21922 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
21923 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21924 Date: Mon Aug 22 07:57:31 2011 +0200
21926 [gtk-demo] appwindow.py: fix callback signatures
21928 demos/gtk-demo/demos/appwindow.py | 6 +++---
21929 1 file changed, 3 insertions(+), 3 deletions(-)
21931 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
21932 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21933 Date: Mon Aug 22 07:48:28 2011 +0200
21935 [gtk-demo] fix glib vs GLib usage
21937 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
21938 demos/gtk-demo/demos/appwindow.py | 2 +-
21939 2 files changed, 2 insertions(+), 2 deletions(-)
21941 commit d29cad6976a80862e1fc590d3e7d190e8a234866
21942 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21943 Date: Wed Aug 24 12:19:02 2011 +0200
21945 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
21946 caused by improved GDK overrides
21948 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
21949 1 file changed, 3 insertions(+), 3 deletions(-)
21951 commit f29d3a85a275a39e8481484779264b0dea1160ab
21952 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21953 Date: Mon Aug 22 07:25:32 2011 +0200
21955 [gtk-demo] optimize source colorizer by only preparing iters for
21956 known colorized tokens
21958 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
21959 1 file changed, 15 insertions(+), 5 deletions(-)
21961 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
21962 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21963 Date: Fri Aug 19 18:31:20 2011 +0200
21965 [gtk-demo] small formatting fixes
21967 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
21968 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
21969 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
21970 demos/gtk-demo/demos/assistant.py | 1 +
21971 demos/gtk-demo/demos/builder.py | 4 +++-
21972 demos/gtk-demo/demos/button_box.py | 1 +
21973 demos/gtk-demo/demos/clipboard.py | 1 +
21974 demos/gtk-demo/demos/colorselector.py | 1 +
21975 demos/gtk-demo/demos/combobox.py | 1 +
21976 demos/gtk-demo/demos/drawingarea.py | 4 +++-
21977 demos/gtk-demo/demos/test.py | 2 ++
21978 11 files changed, 19 insertions(+), 6 deletions(-)
21980 commit c42cb4da399ff5732f4ca732b85134de796a60fa
21981 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21982 Date: Fri Aug 19 18:30:50 2011 +0200
21984 [gtk-demo] remove "is_fully_bound" from demos
21986 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
21987 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
21988 demos/gtk-demo/demos/appwindow.py | 3 ---
21989 demos/gtk-demo/demos/assistant.py | 2 --
21990 demos/gtk-demo/demos/builder.py | 2 --
21991 demos/gtk-demo/demos/button_box.py | 2 --
21992 demos/gtk-demo/demos/clipboard.py | 2 --
21993 demos/gtk-demo/demos/colorselector.py | 2 --
21994 demos/gtk-demo/demos/combobox.py | 2 --
21995 demos/gtk-demo/demos/drawingarea.py | 2 --
21996 demos/gtk-demo/demos/test.py | 1 -
21997 11 files changed, 22 deletions(-)
21999 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
22000 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22001 Date: Fri Aug 19 18:26:31 2011 +0200
22003 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
22004 and GTK+'s gtk-demo code
22006 demos/gtk-demo/gtk-demo.py | 116
22007 +++++++++++++++++++++++++++++++++++++++------
22008 1 file changed, 101 insertions(+), 15 deletions(-)
22010 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
22011 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22012 Date: Fri Aug 19 15:08:15 2011 +0200
22014 [gtk-demo] remove C-isms
22016 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
22017 1 file changed, 14 insertions(+), 14 deletions(-)
22019 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
22020 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22021 Date: Fri Aug 19 14:54:39 2011 +0200
22023 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
22025 demos/gtk-demo/gtk-demo.py | 4 ++--
22026 1 file changed, 2 insertions(+), 2 deletions(-)
22028 commit 241827208e25c72a990d8edd95a3b879470d6409
22029 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22030 Date: Fri Aug 19 14:40:56 2011 +0200
22032 [gtk-demo] remove duplicate storage of demos by only storing them
22033 in a TreeStore subclass
22035 This also moves demos loading code into the TreeStore subclass and
22036 demo loading code into the Demo class
22038 demos/gtk-demo/gtk-demo.py | 151
22039 +++++++++++++++++++++------------------------
22040 1 file changed, 70 insertions(+), 81 deletions(-)
22042 commit 58797c355a08a35375988881a17958bb42ad54bb
22043 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22044 Date: Fri Aug 19 14:40:00 2011 +0200
22046 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
22047 to demonstrate the GLib.MainLoop
22049 demos/gtk-demo/gtk-demo.py | 43
22050 ++++++++++++++++++++++++++-----------------
22051 1 file changed, 26 insertions(+), 17 deletions(-)
22053 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
22054 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22055 Date: Fri Aug 19 11:46:17 2011 +0200
22057 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
22059 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
22060 1 file changed, 23 insertions(+), 16 deletions(-)
22062 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
22063 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22064 Date: Fri Aug 19 11:02:35 2011 +0200
22066 [gtk-demo] drawingarea: fix labels
22068 demos/gtk-demo/demos/drawingarea.py | 4 ++--
22069 1 file changed, 2 insertions(+), 2 deletions(-)
22071 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
22072 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22073 Date: Fri Aug 19 09:57:31 2011 +0200
22075 [gtk-demo] fix imports
22077 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
22078 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
22079 demos/gtk-demo/gtk-demo.py | 8 ++++----
22080 3 files changed, 14 insertions(+), 9 deletions(-)
22082 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
22083 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22084 Date: Fri Aug 19 10:07:14 2011 +0200
22086 [gtk-demo] fix shebang
22088 demos/gtk-demo/gtk-demo.py | 2 +-
22089 1 file changed, 1 insertion(+), 1 deletion(-)
22091 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
22092 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22093 Date: Fri Aug 19 12:27:04 2011 +0200
22095 Added support for __setitem__ to TreeModel and support for slices
22098 https://bugzilla.gnome.org/show_bug.cgi?id=656891
22100 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
22101 tests/test_overrides.py | 57
22102 +++++++++++++++++++++++++++++++++++++++++++++++++
22103 2 files changed, 81 insertions(+), 2 deletions(-)
22105 commit d6da96c65b2ed3cda238886990a624fbc31f6987
22106 Author: Olav Vitters <olav@vitters.nl>
22107 Date: Wed Aug 24 16:31:12 2011 +0200
22109 Convert ACCEL_* constants into Gtk.AccelFlags.
22111 pygi-convert.sh | 1 +
22112 1 file changed, 1 insertion(+)
22114 commit 0841d41698302abb5d987849a5874252564ed428
22115 Author: Olav Vitters <olav@vitters.nl>
22116 Date: Wed Aug 24 16:22:17 2011 +0200
22118 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
22120 pygi-convert.sh | 1 +
22121 1 file changed, 1 insertion(+)
22123 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
22124 Author: John (J5) Palmieri <johnp@redhat.com>
22125 Date: Thu Aug 18 14:06:32 2011 -0400
22127 post commit version bump
22129 configure.ac | 2 +-
22130 1 file changed, 1 insertion(+), 1 deletion(-)
22132 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
22133 Author: John (J5) Palmieri <johnp@redhat.com>
22134 Date: Thu Aug 18 14:02:30 2011 -0400
22138 NEWS | 10 ++++++++++
22139 1 file changed, 10 insertions(+)
22141 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
22142 Author: John (J5) Palmieri <johnp@redhat.com>
22143 Date: Thu Aug 18 13:50:51 2011 -0400
22145 remove tests that were removed from gi
22147 tests/test_gi.py | 11 -----------
22148 1 file changed, 11 deletions(-)
22150 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
22151 Author: John (J5) Palmieri <johnp@redhat.com>
22152 Date: Thu Aug 18 13:48:57 2011 -0400
22154 don't calculate item_size using is_pointer
22156 * is_pointer is poorly defined and cacluating item_size for
22157 arrays causes a crash in the tests because of this
22158 * disregaurd is_pointer when cacluating item sizes
22160 gi/pygi-info.c | 8 ++------
22161 1 file changed, 2 insertions(+), 6 deletions(-)
22163 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
22164 Author: Timo Vanwynsberghe <timovwb@gmail.com>
22165 Date: Wed Jul 6 01:50:31 2011 +0200
22167 Updated signal example to use GObject introspection
22169 https://bugzilla.gnome.org/show_bug.cgi?id=654162
22171 examples/signal.py | 9 ++++-----
22172 1 file changed, 4 insertions(+), 5 deletions(-)
22174 commit 0332010e704e253380e993874eab9dd122e59a7e
22175 Author: Timo Vanwynsberghe <timovwb@gmail.com>
22176 Date: Wed Jul 6 01:54:50 2011 +0200
22178 Updated properties example to use GObject introspection
22180 https://bugzilla.gnome.org/show_bug.cgi?id=654162
22182 examples/properties.py | 14 +++++++-------
22183 1 file changed, 7 insertions(+), 7 deletions(-)
22185 commit c39f4555ebd703651eca6f978ed9870655b737f0
22186 Author: Martin Pitt <martin.pitt@ubuntu.com>
22187 Date: Fri Aug 12 22:55:02 2011 +0200
22189 Add override for GLib.Variant.split_signature()
22191 This is useful for e. g. iterating over method parameters which are
22193 single Variant. In particular we will need it for automatically
22195 introspection XML for exported DBus server objects.
22197 gi/overrides/GLib.py | 50
22198 +++++++++++++++++++++++++++++++++++++++++++++++++
22199 tests/test_overrides.py | 22 ++++++++++++++++++++++
22200 2 files changed, 72 insertions(+)
22202 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
22203 Author: Timo Vanwynsberghe <timovwb@gmail.com>
22204 Date: Mon Aug 15 18:58:31 2011 +0200
22206 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
22208 https://bugzilla.gnome.org/show_bug.cgi?id=654001
22210 pygi-convert.sh | 2 ++
22211 1 file changed, 2 insertions(+)
22213 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
22214 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22215 Date: Mon Aug 15 13:12:49 2011 +0200
22217 Install pygobject.h again.
22219 This is needed by libpeas.
22221 gi/_gobject/Makefile.am | 5 ++++-
22222 pygobject-3.0-uninstalled.pc.in | 4 ++--
22223 pygobject-3.0.pc.in | 6 +++---
22224 3 files changed, 9 insertions(+), 6 deletions(-)
22226 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
22227 Author: John (J5) Palmieri <johnp@redhat.com>
22228 Date: Sun Aug 14 11:20:15 2011 -0400
22230 update the doap file
22232 pygobject.doap | 26 ++++++++++++++------------
22233 1 file changed, 14 insertions(+), 12 deletions(-)
22235 commit 762a36d2343bc39a502507d600fd1b9db9649dae
22236 Author: John (J5) Palmieri <johnp@redhat.com>
22237 Date: Sun Aug 14 11:13:25 2011 -0400
22241 configure.ac | 2 +-
22242 1 file changed, 1 insertion(+), 1 deletion(-)
22244 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
22245 Author: John (J5) Palmieri <johnp@redhat.com>
22246 Date: Sun Aug 14 10:13:37 2011 -0400
22248 get things ready for release
22251 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22252 1 file changed, 194 insertions(+)
22254 commit ffd057649380d4249c1c52e1225e3646f3994bc6
22255 Author: John (J5) Palmieri <johnp@redhat.com>
22256 Date: Sun Aug 14 05:26:18 2011 -0400
22258 pass exta keywords to the Box constructor
22260 gi/overrides/Gtk.py | 4 ++--
22261 1 file changed, 2 insertions(+), 2 deletions(-)
22263 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
22264 Author: John (J5) Palmieri <johnp@redhat.com>
22265 Date: Sat Aug 13 11:03:07 2011 -0400
22267 add (Tree|List)Store set method override
22269 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
22270 tests/test_overrides.py | 102
22271 ++++++++++++++++++++++++++++++++++++++++++++++--
22272 2 files changed, 149 insertions(+), 3 deletions(-)
22274 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
22275 Author: John (J5) Palmieri <johnp@redhat.com>
22276 Date: Sat Aug 13 09:19:29 2011 -0400
22278 add test for object arrays
22280 tests/test_everything.py | 6 ++++++
22281 1 file changed, 6 insertions(+)
22283 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
22284 Author: John (J5) Palmieri <johnp@redhat.com>
22285 Date: Sat Aug 13 08:46:18 2011 -0400
22287 only support C pointer arrays for structs and objects
22289 * There is no way to know if an array of structs or objects are
22291 or flat arrays. Since pointer arrays are the most useful and
22293 it has been decided to only support those arrays
22295 gi/pygi-marshal-out.c | 2 +-
22296 tests/test_gi.py | 8 --------
22297 2 files changed, 1 insertion(+), 9 deletions(-)
22299 commit b12379de1790b72d51883bf7b63c892639a892e7
22300 Author: John (J5) Palmieri <johnp@redhat.com>
22301 Date: Sat Aug 13 06:31:52 2011 -0400
22303 revert Gtk.Window override because it causes issues with subclasses
22305 gi/overrides/Gtk.py | 9 ---------
22306 1 file changed, 9 deletions(-)
22308 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
22309 Author: Jonathan Matthew <jonathan@d14n.org>
22310 Date: Thu Apr 7 21:05:32 2011 +1000
22312 take GIL in _pygi_invoke_closure_free (bug #647016)
22314 gi/pygi-closure.c | 3 +++
22315 1 file changed, 3 insertions(+)
22317 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
22318 Author: Johan Dahlin <jdahlin@litl.com>
22319 Date: Mon Jun 27 00:41:24 2011 -0300
22321 Add a default parameter to GtkTreeModel.filter_new
22323 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22325 gi/overrides/Gtk.py | 3 +++
22326 1 file changed, 3 insertions(+)
22328 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
22329 Author: Johan Dahlin <jdahlin@litl.com>
22330 Date: Mon Jun 27 00:40:12 2011 -0300
22332 Add vbox/action_area properties
22334 Accessing vbox/action_area directly creates segmentation fault,
22335 avoid that by mapping the fields to their getters for PyGTK
22338 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22340 gi/overrides/Gtk.py | 3 +++
22341 1 file changed, 3 insertions(+)
22343 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
22344 Author: Johan Dahlin <jdahlin@litl.com>
22345 Date: Mon Jun 27 00:39:41 2011 -0300
22347 Add a couple of constructors
22349 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
22352 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22354 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
22355 1 file changed, 40 insertions(+)
22357 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
22358 Author: Johan Dahlin <jdahlin@litl.com>
22359 Date: Mon Jun 27 00:38:30 2011 -0300
22361 Do not always pass in user_data to callbacks.
22363 This keeps API compatibility with PyGTK and avoids sending
22364 in user_data if it's None.
22366 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22368 gi/overrides/Gtk.py | 15 ++++++++++++---
22369 1 file changed, 12 insertions(+), 3 deletions(-)
22371 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
22372 Author: Johan Dahlin <jdahlin@litl.com>
22373 Date: Mon Jun 27 00:38:20 2011 -0300
22375 Add a default detail value for Widget.render_icon
22377 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22379 gi/overrides/Gtk.py | 3 +++
22380 1 file changed, 3 insertions(+)
22382 commit 5b1c875269b7979caae97e84919a690a34d92f29
22383 Author: Johan Dahlin <jdahlin@litl.com>
22384 Date: Mon Jun 27 00:36:20 2011 -0300
22386 Add an override for Gdk.color_parse()
22388 Change Gdk.color_parse() to not return a tuple, instead just
22389 return the created color or None if it wasn't possible to parse
22390 the name into a color.
22392 This keeps compatibility with PyGTK but breaks the current API.
22394 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22396 gi/overrides/Gdk.py | 8 ++++++++
22397 1 file changed, 8 insertions(+)
22399 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
22400 Author: Laszlo Pandy <lpandy@src.gnome.org>
22401 Date: Mon Aug 8 12:06:18 2011 +0200
22403 Support function calling with keyword arguments in invoke.
22405 https://bugzilla.gnome.org/show_bug.cgi?id=625596
22407 gi/pygi-cache.c | 39 ++++++++++++
22408 gi/pygi-cache.h | 4 ++
22409 gi/pygi-invoke.c | 162
22410 +++++++++++++++++++++++++++++++++++++++++++++--
22411 gi/types.py | 12 ++--
22412 tests/test_everything.py | 2 +-
22413 tests/test_gi.py | 58 +++++++++++++++++
22414 6 files changed, 265 insertions(+), 12 deletions(-)
22416 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
22417 Author: John (J5) Palmieri <johnp@redhat.com>
22418 Date: Sat Aug 13 04:13:28 2011 -0400
22420 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
22422 gi/pygi-info.c | 5 -----
22423 1 file changed, 5 deletions(-)
22425 commit 745001178fc72be5626c7211366d694f41162987
22426 Author: Martin Pitt <martin.pitt@ubuntu.com>
22427 Date: Thu Aug 11 15:11:42 2011 +0200
22429 Fix gobject vs. gi.repository warning
22431 Check the warning earlier and fix the operator, so that it actually
22433 update the warning to explain how to fix the problem.
22435 gi/_gobject/__init__.py | 8 ++++----
22436 1 file changed, 4 insertions(+), 4 deletions(-)
22438 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
22439 Author: John (J5) Palmieri <johnp@redhat.com>
22440 Date: Fri Jul 22 15:46:31 2011 -0400
22442 make GObject and GLib able to take overrides
22444 * derive directly from DynamicModule instead of InterfaceModule
22446 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22448 gi/importer.py | 11 +++---
22450 ++++++++++++++++++++++++++++-----------------------------
22451 2 files changed, 64 insertions(+), 65 deletions(-)
22453 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
22454 Author: John (J5) Palmieri <johnp@redhat.com>
22455 Date: Fri Jul 22 15:45:09 2011 -0400
22457 avoid dependency issue by importing the internal gobject
22459 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22461 gi/__init__.py | 2 +-
22462 1 file changed, 1 insertion(+), 1 deletion(-)
22464 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
22465 Author: John (J5) Palmieri <johnp@redhat.com>
22466 Date: Fri Jul 22 14:13:02 2011 -0400
22468 fix tests to use the new GLib module
22470 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22472 tests/test_mainloop.py | 7 +++----
22473 tests/test_option.py | 3 ++-
22474 tests/test_source.py | 24 +++++++++++-------------
22475 tests/test_subprocess.py | 12 +++++-------
22476 tests/test_thread.py | 10 ++++------
22477 tests/test_uris.py | 4 ++--
22478 6 files changed, 27 insertions(+), 33 deletions(-)
22480 commit 191ef79315f8a5641699536fde58da18e23ef904
22481 Author: John (J5) Palmieri <johnp@redhat.com>
22482 Date: Fri Jul 22 14:11:53 2011 -0400
22484 add DynamicGLibModule which works like DynamicGObjectModule
22486 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22488 gi/importer.py | 7 +++++--
22489 gi/module.py | 32 +++++++++++++++++++++++++++++---
22490 2 files changed, 34 insertions(+), 5 deletions(-)
22492 commit fbd4a8263260c187211799454c08b1e55e2cb998
22493 Author: John (J5) Palmieri <johnp@redhat.com>
22494 Date: Fri Jul 22 12:27:41 2011 -0400
22496 refactor, add objects and types to the correct internal module
22498 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22500 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
22501 gi/_glib/pygmaincontext.c | 2 +-
22502 gi/_glib/pygmainloop.c | 4 ++--
22503 gi/_glib/pygoptioncontext.c | 4 ++--
22504 gi/_glib/pygoptiongroup.c | 4 ++--
22505 gi/_glib/pygsource.c | 14 +++++++-------
22506 gi/_glib/pygspawn.c | 14 +++++++-------
22507 7 files changed, 40 insertions(+), 40 deletions(-)
22509 commit 7431b49a161df9178c55b814d3adff992ac2d722
22510 Author: John (J5) Palmieri <johnp@redhat.com>
22511 Date: Fri Jul 22 12:26:32 2011 -0400
22513 rename the pyglib shared library so we don't load the old one
22515 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22517 gi/Makefile.am | 2 +-
22518 gi/_glib/Makefile.am | 10 +++++-----
22519 gi/_gobject/Makefile.am | 2 +-
22520 3 files changed, 7 insertions(+), 7 deletions(-)
22522 commit b8700451acd4a19b59b64fc8641fca748d2189e2
22523 Author: John (J5) Palmieri <johnp@redhat.com>
22524 Date: Fri Jul 22 11:20:09 2011 -0400
22526 refactor tests to only use PyGObject 3 syntax
22528 * for PyGObject 3 we want to discourage the use of legacy
22530 * Using interfaces like from gi.repository import GObject makes
22531 sure that the internal _gobject module is loaded and not
22532 PyGObject 2's gobject module which would cause the application
22533 to not work correctly
22535 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22537 tests/runtests-windows.py | 4 +-
22538 tests/test_gdbus.py | 12 ++---
22539 tests/test_gi.py | 4 +-
22540 tests/test_gobject.py | 31 ++++++------
22541 tests/test_interface.py | 16 +++---
22542 tests/test_mainloop.py | 3 +-
22543 tests/test_overrides.py | 8 +--
22544 tests/test_properties.py | 124
22545 +++++++++++++++++++++++-----------------------
22546 tests/test_signal.py | 98 ++++++++++++++++++------------------
22547 tests/test_source.py | 5 +-
22548 tests/test_subprocess.py | 3 +-
22549 tests/test_thread.py | 5 +-
22550 tests/test_unknown.py | 8 +--
22551 tests/testhelpermodule.c | 2 +-
22552 tests/testmodule.py | 10 ++--
22553 15 files changed, 169 insertions(+), 164 deletions(-)
22555 commit c980dae21468fe073cc8782608148c346bb90ad7
22556 Author: John (J5) Palmieri <johnp@redhat.com>
22557 Date: Fri Jul 22 11:16:00 2011 -0400
22559 refactor the internal _glib module to import correct modules
22561 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22563 gi/_glib/__init__.py | 3 ++-
22564 gi/_glib/glibmodule.c | 10 +++++-----
22565 gi/_glib/option.py | 4 ++--
22566 gi/_glib/pyglib.c | 18 +++++++++---------
22567 4 files changed, 18 insertions(+), 17 deletions(-)
22569 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
22570 Author: John (J5) Palmieri <johnp@redhat.com>
22571 Date: Fri Jul 22 11:10:46 2011 -0400
22573 refactor to use the new internal _glib and _gobject modules
22575 * use relative imports instead of aboslute
22576 * fix the C imports to import the internal _gobject libs
22577 * add a check to see if the PyGObject 2 gobject module
22578 was already imported
22580 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22582 gi/_gobject/__init__.py | 20 +++++++++++++-------
22583 gi/_gobject/constants.py | 3 +--
22584 gi/_gobject/gobjectmodule.c | 2 +-
22585 gi/_gobject/propertyhelper.py | 11 +++++------
22586 gi/_gobject/pygobject.c | 16 ++++++++--------
22587 gi/_gobject/pygobject.h | 2 +-
22588 6 files changed, 29 insertions(+), 25 deletions(-)
22590 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
22591 Author: John (J5) Palmieri <johnp@redhat.com>
22592 Date: Fri Jul 22 11:07:10 2011 -0400
22594 refactor gi module to import and use internal _gobject module
22596 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22598 gi/importer.py | 2 --
22599 gi/module.py | 31 ++++++++++++++++---------------
22600 gi/overrides/Gtk.py | 2 +-
22601 gi/overrides/__init__.py | 6 +++---
22602 gi/pygobject-external.h | 2 +-
22603 gi/types.py | 12 ++++++------
22604 6 files changed, 27 insertions(+), 28 deletions(-)
22606 commit 6b9d738d78c6ac45d49f00402c89356887555069
22607 Author: John (J5) Palmieri <johnp@redhat.com>
22608 Date: Fri Jul 22 11:02:49 2011 -0400
22610 move the static bits internal to gi and refactor build files
22612 * the glib module now becomes the gi._glib module
22613 * the gobject module now becomes the gi._gobject module
22614 * we do this so we can install in parallel with PyGObject 2
22616 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22619 configure.ac | 6 +++---
22620 gi/Makefile.am | 8 +++++---
22621 {glib => gi/_glib}/Makefile.am | 5 +----
22622 {glib => gi/_glib}/__init__.py | 0
22623 {glib => gi/_glib}/glibmodule.c | 0
22624 {glib => gi/_glib}/option.py | 0
22625 {glib => gi/_glib}/pygiochannel.c | 0
22626 {glib => gi/_glib}/pygiochannel.h | 0
22627 {glib => gi/_glib}/pyglib-private.h | 0
22628 {glib => gi/_glib}/pyglib-python-compat.h | 0
22629 {glib => gi/_glib}/pyglib.c | 0
22630 {glib => gi/_glib}/pyglib.h | 0
22631 {glib => gi/_glib}/pygmaincontext.c | 0
22632 {glib => gi/_glib}/pygmaincontext.h | 0
22633 {glib => gi/_glib}/pygmainloop.c | 0
22634 {glib => gi/_glib}/pygmainloop.h | 0
22635 {glib => gi/_glib}/pygoptioncontext.c | 0
22636 {glib => gi/_glib}/pygoptioncontext.h | 0
22637 {glib => gi/_glib}/pygoptiongroup.c | 0
22638 {glib => gi/_glib}/pygoptiongroup.h | 0
22639 {glib => gi/_glib}/pygsource.c | 0
22640 {glib => gi/_glib}/pygsource.h | 0
22641 {glib => gi/_glib}/pygspawn.c | 0
22642 {glib => gi/_glib}/pygspawn.h | 0
22643 {gobject => gi/_gobject}/Makefile.am | 10 ++++------
22644 {gobject => gi/_gobject}/__init__.py | 0
22645 {gobject => gi/_gobject}/constants.py | 0
22646 {gobject => gi/_gobject}/ffi-marshaller.c | 0
22647 {gobject => gi/_gobject}/ffi-marshaller.h | 0
22648 {gobject => gi/_gobject}/gobjectmodule.c | 0
22649 {gobject => gi/_gobject}/propertyhelper.py | 0
22650 {gobject => gi/_gobject}/pygboxed.c | 0
22651 {gobject => gi/_gobject}/pygboxed.h | 0
22652 {gobject => gi/_gobject}/pygenum.c | 0
22653 {gobject => gi/_gobject}/pygenum.h | 0
22654 {gobject => gi/_gobject}/pygflags.c | 0
22655 {gobject => gi/_gobject}/pygflags.h | 0
22656 {gobject => gi/_gobject}/pyginterface.c | 0
22657 {gobject => gi/_gobject}/pyginterface.h | 0
22658 {gobject => gi/_gobject}/pygobject-private.h | 0
22659 {gobject => gi/_gobject}/pygobject.c | 0
22660 {gobject => gi/_gobject}/pygobject.h | 0
22661 {gobject => gi/_gobject}/pygparamspec.c | 0
22662 {gobject => gi/_gobject}/pygparamspec.h | 0
22663 {gobject => gi/_gobject}/pygpointer.c | 0
22664 {gobject => gi/_gobject}/pygpointer.h | 0
22665 {gobject => gi/_gobject}/pygtype.c | 0
22666 {gobject => gi/_gobject}/pygtype.h | 0
22667 tests/Makefile.am | 2 +-
22668 50 files changed, 15 insertions(+), 18 deletions(-)
22670 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
22671 Author: John (J5) Palmieri <johnp@redhat.com>
22672 Date: Mon Jul 18 18:46:31 2011 -0400
22676 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22678 Makefile.am | 5 ----
22680 -------------------------------------------------------------
22681 2 files changed, 100 deletions(-)
22683 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
22684 Author: John (J5) Palmieri <johnp@redhat.com>
22685 Date: Mon Jul 18 18:41:41 2011 -0400
22687 introspection is no longer optional
22689 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22691 Makefile.am | 8 +-------
22692 configure.ac | 43 +++++++++++++++++--------------------------
22693 gi/pygi.h | 37 -------------------------------------
22694 gobject/Makefile.am | 5 +----
22695 tests/Makefile.am | 7 +------
22696 5 files changed, 20 insertions(+), 80 deletions(-)
22698 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
22699 Author: John (J5) Palmieri <johnp@redhat.com>
22700 Date: Mon Jul 18 18:28:50 2011 -0400
22702 up platform version to 3.0
22704 https://bugzilla.gnome.org/show_bug.cgi?id=642048
22709 pygobject-2.0-uninstalled.pc.in => pygobject-3.0-uninstalled.pc.in | 0
22710 pygobject-2.0.pc.in => pygobject-3.0.pc.in | 0
22711 4 files changed, 3 insertions(+), 3 deletions(-)
22713 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
22714 Author: Martin Pitt <martin.pitt@ubuntu.com>
22715 Date: Thu Aug 11 09:53:15 2011 +0200
22717 [gi] Handle GVariants from callback return values
22719 Callbacks still use GIArgument, add missing GVariant support for
22722 gi/pygi-argument.c | 6 ++++--
22723 1 file changed, 4 insertions(+), 2 deletions(-)
22725 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
22726 Author: Martin Pitt <martin.pitt@ubuntu.com>
22727 Date: Wed Aug 10 14:11:10 2011 +0200
22729 Handle GVariants for callback arguments
22731 Callbacks still use GIArgument, add missing GVariant support. This
22733 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
22735 gi/pygi-argument.c | 7 +++++++
22736 1 file changed, 7 insertions(+)
22738 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
22739 Author: Laszlo Pandy <lpandy@src.gnome.org>
22740 Date: Mon Aug 8 01:58:10 2011 +0200
22742 [gi] Fix crash: check return value of
22743 _invoke_state_init_from_callable_cache() before continuing.
22745 gi/pygi-invoke.c | 4 +++-
22746 1 file changed, 3 insertions(+), 1 deletion(-)
22748 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
22749 Author: Laszlo Pandy <lpandy@src.gnome.org>
22750 Date: Fri Aug 5 21:03:33 2011 +0200
22752 [gi] Pass gtype as first parameter to vfuncs (instead of using
22755 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
22757 2 files changed, 19 insertions(+), 15 deletions(-)
22759 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
22760 Author: John (J5) Palmieri <johnp@redhat.com>
22761 Date: Mon Jul 18 18:21:51 2011 -0400
22766 codegen/Makefile.am | 33 -
22767 codegen/README.defs | 351 --------
22768 codegen/__init__.py | 16 -
22769 codegen/argtypes.py | 1043 -----------------------
22770 codegen/code-coverage.py | 44 -
22771 codegen/codegen.py | 1722
22772 --------------------------------------
22773 codegen/createdefs.py | 17 -
22774 codegen/definitions.py | 575 -------------
22775 codegen/defsconvert.py | 132 ---
22776 codegen/defsgen.py | 737 ----------------
22777 codegen/defsparser.py | 153 ----
22778 codegen/docextract.py | 461 ----------
22779 codegen/docextract_to_xml.py | 142 ----
22780 codegen/docgen.py | 766 -----------------
22781 codegen/h2def.py | 631 --------------
22782 codegen/mergedefs.py | 26 -
22783 codegen/missingdefs.py | 17 -
22784 codegen/mkskel.py | 89 --
22785 codegen/override.py | 285 -------
22786 codegen/pygobject-codegen-2.0.in | 11 -
22787 codegen/reversewrapper.py | 912 --------------------
22788 codegen/scanvirtuals.py | 54 --
22789 codegen/scmexpr.py | 143 ----
22791 pygobject-2.0-uninstalled.pc.in | 1 -
22792 pygobject-2.0.pc.in | 1 -
22793 27 files changed, 1 insertion(+), 8368 deletions(-)
22795 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
22796 Author: John (J5) Palmieri <johnp@redhat.com>
22797 Date: Mon Jul 18 11:04:58 2011 -0400
22799 remove some left over ifdefs to complete merge of the invoke-rewrite
22802 gi/pygi-cache.h | 2 --
22803 gi/pygi-info.c | 2 --
22804 gi/pygi-private.h | 5 +----
22806 4 files changed, 1 insertion(+), 10 deletions(-)
22808 commit 8c653ec3033fab47c4bb4071b5732a349357141f
22809 Author: John (J5) Palmieri <johnp@redhat.com>
22810 Date: Mon Jul 18 10:59:45 2011 -0400
22812 rename pygi-invoke-ng to pygi-invoke
22814 gi/Makefile.am | 3 ++-
22815 gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0
22816 2 files changed, 2 insertions(+), 1 deletion(-)
22818 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
22819 Author: John (J5) Palmieri <johnp@redhat.com>
22820 Date: Mon Jul 18 10:56:36 2011 -0400
22822 make invoke-ng the only invoker
22824 configure.ac | 11 -
22825 gi/Makefile.am | 10 +-
22826 gi/pygi-invoke.c | 1030
22827 ------------------------------------------------------
22828 3 files changed, 1 insertion(+), 1050 deletions(-)
22830 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
22831 Merge: 519e556d 917ea2df
22832 Author: John (J5) Palmieri <johnp@redhat.com>
22833 Date: Mon Jul 18 10:45:18 2011 -0400
22835 Merge branch 'master' into invoke-rewrite
22837 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
22838 Merge: bab7e882 38cca3c1
22839 Author: John (J5) Palmieri <johnp@redhat.com>
22840 Date: Mon Jul 18 10:37:20 2011 -0400
22842 Merge branch 'master' into invoke-rewrite
22844 commit bab7e88251bffcd360186c6dedc26be8eb077084
22845 Author: John (J5) Palmieri <johnp@redhat.com>
22846 Date: Mon Jul 18 10:35:10 2011 -0400
22848 split the marshalling routines into two source files
22850 * update copy and paste copyright info to list the correct owner
22852 gi/Makefile.am | 6 +-
22853 gi/pygi-cache.c | 3 +-
22854 gi/{pygi-marshal.c => pygi-marshal-in.c} | 739
22855 +----------------------------
22856 gi/{pygi-marshal.h => pygi-marshal-in.h} | 117 -----
22857 gi/pygi-marshal-out.c | 767
22858 +++++++++++++++++++++++++++++++
22859 gi/pygi-marshal-out.h | 144 ++++++
22860 6 files changed, 920 insertions(+), 856 deletions(-)
22862 commit 917ea2dfa2d097e563233145003a66b3e4423287
22863 Author: Martin Pitt <martin.pitt@ubuntu.com>
22864 Date: Thu Jul 14 11:21:10 2011 +0200
22866 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
22868 tests/Makefile.am | 1 +
22869 1 file changed, 1 insertion(+)
22871 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
22872 Author: John (J5) Palmieri <johnp@redhat.com>
22873 Date: Wed Jul 13 15:43:02 2011 -0400
22875 [invoke] break out caller_allocates allocating into its own function
22877 gi/pygi-invoke-ng.c | 78
22878 +++++++++++++++++++++++++++++++++--------------------
22879 1 file changed, 49 insertions(+), 29 deletions(-)
22881 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
22882 Author: John (J5) Palmieri <johnp@redhat.com>
22883 Date: Wed Jul 13 15:42:26 2011 -0400
22885 [invoke] missed a bit when removing constructor_class usage
22887 gi/pygi-invoke-ng.c | 2 +-
22888 1 file changed, 1 insertion(+), 1 deletion(-)
22890 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
22891 Author: John (J5) Palmieri <johnp@redhat.com>
22892 Date: Wed Jul 13 15:16:17 2011 -0400
22894 [invoke] don't hold on to the constructor class, just add a TODO
22896 gi/pygi-invoke-ng.c | 11 +++++------
22897 gi/pygi-invoke-state-struct.h | 1 -
22898 2 files changed, 5 insertions(+), 7 deletions(-)
22900 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
22901 Author: Martin Pitt <martin.pitt@ubuntu.com>
22902 Date: Wed Jul 13 10:40:25 2011 +0200
22904 [gi] Port test_properties from static gio to GI Gio
22906 As we ripped out the static gio bindings a while ago, this test case
22908 the system installed gio bindings with Python 2, and now fails
22910 Python 3. Rewrite it to use gi.repository.Gio.
22912 tests/test_properties.py | 38 +++++++++++++++++++-------------------
22913 1 file changed, 19 insertions(+), 19 deletions(-)
22915 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
22916 Author: Martin Pitt <martin.pitt@ubuntu.com>
22917 Date: Wed Jul 13 08:42:22 2011 +0200
22919 [python3] Fix maketrans import
22921 Python3 moved the maketrans() function from the string module to a
22923 This unbreaks gi/module.py for Python 3 again.
22925 gi/module.py | 8 ++++++--
22926 1 file changed, 6 insertions(+), 2 deletions(-)
22928 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
22929 Author: John (J5) Palmieri <johnp@redhat.com>
22930 Date: Fri Jul 8 14:39:22 2011 -0400
22932 [caching] remove all inline compiler flags
22934 gi/pygi-cache.c | 96
22935 ++++++++++++++++++++++++++++-----------------------------
22936 1 file changed, 48 insertions(+), 48 deletions(-)
22938 commit bf7bb79b66ad406063fb443e7452d830c55986ef
22939 Author: John (J5) Palmieri <johnp@redhat.com>
22940 Date: Fri Jul 8 14:35:20 2011 -0400
22942 [caching] refactor function names to be less confusing
22944 gi/pygi-cache.c | 307
22945 +++++++++++++++++++++++++++-----------------------------
22946 1 file changed, 150 insertions(+), 157 deletions(-)
22948 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
22949 Author: John (J5) Palmieri <johnp@redhat.com>
22950 Date: Fri Jul 8 11:24:09 2011 -0400
22952 [overrides] deprecate the use of type keyword MessageDialog
22955 * pygtk used type to determine the "type" of message dialog to
22957 use the proper property name "message_type" since we should not be
22958 overriding a reserved word
22959 * to keep compat with pygtk we check the kwds hash for the key
22961 assign it to message_type while throwing a deprecation warning
22962 * also add a deprication warning when trying to use the depricated
22966 gi/overrides/Gtk.py | 13 ++++++++-----
22967 1 file changed, 8 insertions(+), 5 deletions(-)
22969 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
22970 Author: Martin Pitt <martin.pitt@ubuntu.com>
22971 Date: Fri Jul 8 10:15:53 2011 +0200
22973 gdbus tests: Fix hang if test case fails
22975 In the TestGDBusClient.test_native_calls_async() test case, the main
22977 never quit when the call failed.
22979 tests/test_gdbus.py | 6 ++++--
22980 1 file changed, 4 insertions(+), 2 deletions(-)
22982 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
22983 Author: John (J5) Palmieri <johnp@redhat.com>
22984 Date: Thu Jul 7 19:30:11 2011 -0400
22986 use an enum instead of booleans to denote function type
22988 gi/pygi-cache.c | 85
22989 ++++++++++++++++++++++++++++++-----------------------
22990 gi/pygi-cache.h | 18 +++++++++---
22991 gi/pygi-invoke-ng.c | 8 ++---
22992 3 files changed, 67 insertions(+), 44 deletions(-)
22994 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
22995 Author: John (J5) Palmieri <johnp@redhat.com>
22996 Date: Thu Jul 7 15:18:03 2011 -0400
22998 rename aux arguments to child arguments to make their purpose clearer
23000 gi/pygi-cache.c | 64
23001 ++++++++++++++++++++++++++---------------------------
23002 gi/pygi-cache.h | 29 ++++++++++++++++--------
23003 gi/pygi-invoke-ng.c | 10 ++++-----
23004 gi/pygi-marshal.c | 12 +++++-----
23005 4 files changed, 63 insertions(+), 52 deletions(-)
23007 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
23008 Author: Timo Vanwynsberghe <timovwb@gmail.com>
23009 Date: Thu Jul 7 10:59:08 2011 +0200
23011 Fixed the cairo example
23013 https://bugzilla.gnome.org/show_bug.cgi?id=653844
23015 examples/cairo-demo.py | 6 ++----
23016 1 file changed, 2 insertions(+), 4 deletions(-)
23018 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
23019 Author: Adam Dingle <adam@yorba.org>
23020 Date: Tue Jul 5 14:28:20 2011 -0700
23022 Add override binding for Gtk.ListStore.prepend().
23024 https://bugzilla.gnome.org/show_bug.cgi?id=654056
23026 gi/overrides/Gtk.py | 8 ++++++++
23027 tests/test_overrides.py | 13 ++++++++++++-
23028 2 files changed, 20 insertions(+), 1 deletion(-)
23030 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
23031 Author: Martin Pitt <martin.pitt@ubuntu.com>
23032 Date: Thu Jul 7 13:39:19 2011 +0200
23034 Fix crash in Gtk.TextIter overrides
23036 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
23038 pointers when the search was unsuccessful. Actually check the
23040 value; if it is False return None, just like PyGTK used to.
23042 Thanks to Michael Vogt for discovering this and writing the test case!
23046 -------------- 8< -----------------
23047 from gi.repository import Gtk
23049 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
23050 textview = Gtk.TextView()
23051 buffer = textview.get_buffer()
23052 buffer.set_text("hello world")
23057 iter = buffer.get_start_iter()
23058 end = buffer.get_end_iter()
23059 ret = iter.forward_search("foo",
23060 Gtk.TextSearchFlags.VISIBLE_ONLY,
23062 print "this is my return value"
23064 print "now I crash"
23065 print ret[0].get_offset()
23068 -------------- 8< -----------------
23070 gi/overrides/Gtk.py | 10 ++++++++--
23071 1 file changed, 8 insertions(+), 2 deletions(-)
23073 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
23074 Author: John (J5) Palmieri <johnp@redhat.com>
23075 Date: Tue Jul 5 15:57:23 2011 -0400
23077 use gssize instead of int for arg indexes
23079 gi/pygi-cache.c | 24 ++++++++++++------------
23080 gi/pygi-cache.h | 6 +++---
23081 gi/pygi-invoke-ng.c | 6 +++---
23082 gi/pygi-marshal-cleanup.c | 6 +++---
23083 4 files changed, 21 insertions(+), 21 deletions(-)
23085 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
23086 Author: John (J5) Palmieri <johnp@redhat.com>
23087 Date: Tue Jul 5 14:17:30 2011 -0400
23089 [cache] remove refrence to default value as it is not implemented yet
23091 gi/pygi-cache.h | 1 -
23092 1 file changed, 1 deletion(-)
23094 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
23095 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23096 Date: Thu May 12 18:53:06 2011 +0200
23098 Handle arguments that are flags correctly
23100 https://bugzilla.gnome.org/show_bug.cgi?id=647581
23102 gi/pygi-argument.c | 2 ++
23103 1 file changed, 2 insertions(+)
23105 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
23106 Author: John (J5) Palmieri <johnp@redhat.com>
23107 Date: Fri Jul 1 05:19:15 2011 -0400
23109 correctly initialize the _gi_cairo_functions array to be zero filled
23111 gi/pygi-foreign-cairo.c | 2 +-
23112 1 file changed, 1 insertion(+), 1 deletion(-)
23114 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
23115 Author: John (J5) Palmieri <johnp@redhat.com>
23116 Date: Fri Jul 1 05:19:15 2011 -0400
23118 correctly initialize the _gi_cairo_functions array to be zero filled
23120 gi/pygi-foreign-cairo.c | 2 +-
23121 1 file changed, 1 insertion(+), 1 deletion(-)
23123 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
23124 Author: John (J5) Palmieri <johnp@redhat.com>
23125 Date: Wed Jun 29 18:14:40 2011 -0400
23127 pass in the address of the gerror, not the gerror itself
23129 gi/pygi-argument.c | 2 +-
23130 1 file changed, 1 insertion(+), 1 deletion(-)
23132 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
23133 Author: John (J5) Palmieri <johnp@redhat.com>
23134 Date: Wed Jun 29 18:01:44 2011 -0400
23136 [gi] handle marshalling gerrors arguments for signals
23138 gi/pygi-argument.c | 18 ++++++++++++++++--
23139 1 file changed, 16 insertions(+), 2 deletions(-)
23141 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
23142 Author: John (J5) Palmieri <johnp@redhat.com>
23143 Date: Wed Jun 29 12:12:29 2011 -0400
23145 [gi-invoke-ng] fix NULL check to check before we access the cache
23148 gi/pygi-cache.c | 6 +++---
23149 1 file changed, 3 insertions(+), 3 deletions(-)
23151 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
23152 Author: John (J5) Palmieri <johnp@redhat.com>
23153 Date: Tue Jun 28 18:21:55 2011 -0400
23155 [gi-tests] add test for PyGObject->PyObject TreeModel storage
23157 * make sure we can store a custom GObject as a PyObject inside of
23160 tests/test_overrides.py | 26 +++++++++++++++-----------
23161 1 file changed, 15 insertions(+), 11 deletions(-)
23163 commit b6842e4b2a28733e143d4022864041ca82e91f7a
23164 Author: John (J5) Palmieri <johnp@redhat.com>
23165 Date: Tue Jun 28 18:13:38 2011 -0400
23167 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
23169 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
23172 gi/overrides/Gtk.py | 7 ++++---
23173 gobject/pygtype.c | 7 ++++---
23174 2 files changed, 8 insertions(+), 6 deletions(-)
23176 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
23177 Author: John (J5) Palmieri <johnp@redhat.com>
23178 Date: Tue Jun 28 17:32:29 2011 -0400
23180 [gi-invoke-ng] copy structs when transfer is full for array
23182 gi/pygi-marshal.c | 21 ++++++++++++++++++---
23183 1 file changed, 18 insertions(+), 3 deletions(-)
23185 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
23186 Author: John (J5) Palmieri <johnp@redhat.com>
23187 Date: Tue Jun 28 13:54:48 2011 -0400
23189 [gtk-override] print warning if user imports Gtk 2.0
23191 * this is needed because people file bugs not realizing they are
23193 which is not supported
23195 gi/overrides/Gtk.py | 12 ++++++++++++
23196 1 file changed, 12 insertions(+)
23198 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
23199 Author: John (J5) Palmieri <johnp@redhat.com>
23200 Date: Tue Jun 28 13:08:49 2011 -0400
23202 [gtk-overrides] allow the message_type keyword to be used for
23205 * for pygtk compat we use the type keyword for message type but
23207 the use of message_type because it is more descriptive and does
23209 with a python reserved word
23210 * if you passed message_type into a MessageDialog constructor you
23212 an error because we also convert type to message_type when
23215 * this patch looks to see if message_type was passed in as a
23217 assigns it to type while removing message_type from the keywords
23219 to avoid name clashing
23221 gi/overrides/Gtk.py | 5 +++++
23222 1 file changed, 5 insertions(+)
23224 commit 2aa12267bee91aa696633a0cea2a0accae09250a
23225 Author: Johan Dahlin <jdahlin@litl.com>
23226 Date: Mon Jun 27 10:56:20 2011 -0300
23228 Add support for enums in gobject.property
23230 https://bugzilla.gnome.org/show_bug.cgi?id=653488
23232 gobject/propertyhelper.py | 23 ++++++++++++++++-------
23233 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
23234 2 files changed, 52 insertions(+), 11 deletions(-)
23236 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
23237 Author: Johan Dahlin <jdahlin@litl.com>
23238 Date: Mon Jun 27 10:56:20 2011 -0300
23240 Add support for enums in gobject.property
23242 https://bugzilla.gnome.org/show_bug.cgi?id=653488
23244 gobject/propertyhelper.py | 23 ++++++++++++++++-------
23245 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
23246 2 files changed, 52 insertions(+), 11 deletions(-)
23248 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
23249 Author: John (J5) Palmieri <johnp@redhat.com>
23250 Date: Fri Jun 24 14:17:24 2011 -0400
23252 [gi-invoke-ng] use g_slice for allocating GValues that are caller
23255 gi/pygi-invoke-ng.c | 2 ++
23256 gi/pygi-marshal-cleanup.c | 2 ++
23257 2 files changed, 4 insertions(+)
23259 commit eff65cd2ce490296865441c3c78b7846f380459c
23260 Author: John (J5) Palmieri <johnp@redhat.com>
23261 Date: Fri Jun 24 11:49:05 2011 -0400
23263 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
23266 gi/pygi-marshal.c | 56
23267 +++++++++++++++++++++++++++++++++++++++++++------------
23268 1 file changed, 44 insertions(+), 12 deletions(-)
23270 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
23271 Author: John (J5) Palmieri <johnp@redhat.com>
23272 Date: Wed Jun 22 12:26:39 2011 -0400
23274 [gi-invoke-ng] only cache caller allocates for interfaces as some
23277 gi/pygi-cache.c | 6 ++++--
23278 1 file changed, 4 insertions(+), 2 deletions(-)
23280 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
23281 Author: John (J5) Palmieri <johnp@redhat.com>
23282 Date: Fri Jun 17 17:07:56 2011 -0400
23284 [gi-invoke-ng] handle in pointer array marshalling
23286 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
23287 1 file changed, 22 insertions(+), 6 deletions(-)
23289 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
23290 Author: Alex Eftimie <alex@eftimie.ro>
23291 Date: Fri Jun 10 08:44:04 2011 +0300
23293 Adding GPtrArray tests
23295 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
23296 1 file changed, 42 insertions(+), 1 deletion(-)
23298 commit e32c2be53175014399d89e1e85c9afc6e53c94be
23299 Author: John (J5) Palmieri <johnp@redhat.com>
23300 Date: Fri Jun 17 11:32:28 2011 -0400
23302 [gi-invoke-ng] fix array element offset calculations
23304 * use pointer arithmetic to calculate based on element size instead of
23305 relying on the size of GIArgument
23306 * special case GPtrArrays
23308 gi/pygi-marshal.c | 27 +++++++++------------------
23309 1 file changed, 9 insertions(+), 18 deletions(-)
23311 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
23312 Author: John (J5) Palmieri <johnp@redhat.com>
23313 Date: Wed Jun 15 12:46:03 2011 -0400
23315 [gi] don't clean up arguments that weren't yet processed during in
23318 gi/pygi-marshal-cleanup.c | 2 +-
23319 1 file changed, 1 insertion(+), 1 deletion(-)
23321 commit af7c93ea98b7f492eef265e58c8b3c878805524f
23322 Author: John (J5) Palmieri <johnp@redhat.com>
23323 Date: Wed Jun 15 12:06:47 2011 -0400
23325 [gi-overrides] use new instead of init when constructing a
23326 GLib.VariantBuilder
23328 * init is now skipped in the gir
23330 gi/overrides/GLib.py | 18 ++++++++----------
23331 tests/test_overrides.py | 6 ++----
23332 2 files changed, 10 insertions(+), 14 deletions(-)
23334 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
23335 Author: John (J5) Palmieri <johnp@redhat.com>
23336 Date: Wed Jun 15 11:42:45 2011 -0400
23338 [gi-invoke-ng] actual code to import overrides
23340 gi/pygi-cache.c | 7 +------
23341 1 file changed, 1 insertion(+), 6 deletions(-)
23343 commit 902575d857beffb14e56821ea8a52f705385f6bb
23344 Author: John (J5) Palmieri <johnp@redhat.com>
23345 Date: Wed Jun 15 11:25:10 2011 -0400
23347 [gi-invoke-ng] import pytypes so we get overrides
23349 gi/pygi-marshal.c | 4 +++-
23350 1 file changed, 3 insertions(+), 1 deletion(-)
23352 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
23353 Author: John (J5) Palmieri <johnp@redhat.com>
23354 Date: Tue Jun 14 16:13:37 2011 -0400
23356 [gi-invoke-ng] handle gvariants now that they are not foreign
23358 gi/pygi-marshal.c | 7 ++++++-
23359 1 file changed, 6 insertions(+), 1 deletion(-)
23361 commit c1f5651062687e800a52b5d8d16c88c0acde2934
23362 Author: John (J5) Palmieri <johnp@redhat.com>
23363 Date: Tue Jun 14 16:12:43 2011 -0400
23365 [gi-invoke-ng] do not try to clean up NULL arguments
23367 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
23368 1 file changed, 16 insertions(+), 8 deletions(-)
23370 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
23371 Merge: 499b68d6 1491f622
23372 Author: John (J5) Palmieri <johnp@redhat.com>
23373 Date: Mon Jun 13 17:28:23 2011 -0400
23375 Merge branch 'master' into invoke-rewrite
23377 commit 499b68d6c9040cffc6e43dc87789d68446564a92
23378 Merge: 4c9bcedb 426c7109
23379 Author: John (J5) Palmieri <johnp@redhat.com>
23380 Date: Mon Jun 13 17:26:37 2011 -0400
23382 Merge branch 'master' into invoke-rewrite
23384 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
23385 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23386 Date: Fri Jun 10 14:01:32 2011 +0200
23388 closure: avoid double free crash
23390 gi/pygi-closure.c | 12 ++++--------
23391 1 file changed, 4 insertions(+), 8 deletions(-)
23393 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
23394 Author: Jason Siefken <siefkenj@gmail.com>
23395 Date: Fri Jun 3 23:11:17 2011 -0700
23397 Added __eq__ method for Gdk.Color and Gdk.RGBA
23399 Call Gdk.Color.equal and Gdk.RGBA.equal when
23400 == equality testing is used.
23402 gi/overrides/Gdk.py | 6 ++++++
23403 tests/test_overrides.py | 4 ++++
23404 2 files changed, 10 insertions(+)
23406 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
23407 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23408 Date: Wed Jun 8 19:13:48 2011 +0200
23410 closure: Check the out arg is not null. Fixes bug #651812
23412 gi/pygi-closure.c | 3 +++
23413 1 file changed, 3 insertions(+)
23415 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
23416 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23417 Date: Wed Jun 8 09:47:20 2011 +0200
23419 Use constants instead of literals
23421 tests/test_overrides.py | 8 ++++----
23422 1 file changed, 4 insertions(+), 4 deletions(-)
23424 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
23425 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23426 Date: Mon Jun 6 19:07:22 2011 +0200
23428 GVariant has now a GType, take that into account
23430 https://bugzilla.gnome.org/show_bug.cgi?id=647509
23432 gi/pygi-argument.c | 8 ++++----
23433 gi/pygi-invoke.c | 20 +++++++++++++-------
23434 2 files changed, 17 insertions(+), 11 deletions(-)
23436 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
23437 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23438 Date: Mon Jun 6 19:05:07 2011 +0200
23440 GVariantType is a boxed struct
23442 https://bugzilla.gnome.org/show_bug.cgi?id=647509
23444 gi/gimodule.c | 2 +-
23445 1 file changed, 1 insertion(+), 1 deletion(-)
23447 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
23448 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23449 Date: Mon Jun 6 17:38:21 2011 +0200
23451 Use _gi.Struct to wrap fundamentals
23453 https://bugzilla.gnome.org/show_bug.cgi?id=647509
23455 gi/module.py | 4 +++-
23456 1 file changed, 3 insertions(+), 1 deletion(-)
23458 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
23459 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23460 Date: Mon Jun 6 17:24:28 2011 +0200
23462 Merge gi/HACKING into /HACKING
23464 HACKING | 16 ++++++++++++++++
23465 gi/HACKING | 26 --------------------------
23466 2 files changed, 16 insertions(+), 26 deletions(-)
23468 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
23469 Author: Daniel Drake <dsd@laptop.org>
23470 Date: Fri Jun 3 16:59:15 2011 +0100
23472 Fix GC-related crash during PyGObject deallocation
23474 Python-2.7.1's GC source has the following comment:
23476 /* Python's cyclic gc should never see an incoming refcount
23477 * of 0: if something decref'ed to 0, it should have been
23478 * deallocated immediately at that time.
23479 * Possible cause (if the assert triggers): a tp_dealloc
23480 * routine left a gc-aware object tracked during its teardown
23481 * phase, and did something-- or allowed something to
23483 * that called back into Python. gc can trigger then, and may
23484 * see the still-tracked dying object. Before this assert
23485 * was added, such mistakes went on to allow gc to try to
23486 * delete the object again. In a debug build, that caused
23487 * a mysterious segfault, when _Py_ForgetReference tried
23488 * to remove the object from the doubly-linked list of all
23489 * objects a second time. In a release build, an actual
23490 * double deallocation occurred, which leads to corruption
23491 * of the allocator's internal bookkeeping pointers. That's
23492 * so serious that maybe this should be a release-build
23493 * check instead of an assert?
23496 As shown in a backtrace at
23497 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
23499 this exact mistake. Before untracking its object, pygobject_dealloc
23500 calls PyObject_ClearWeakRefs() which can call back into python, create
23501 new allocations, and trigger the GC.
23503 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
23505 crash on a regular basis while interacting with widgets or launching
23508 Fix this by untracking the object early. Also fix the same issue
23510 in the GSource wrapper.
23512 Thanks to Bernie Innocenti for initial diagnosis.
23514 glib/pygsource.c | 6 ++++--
23515 gobject/pygobject.c | 8 +++++++-
23516 2 files changed, 11 insertions(+), 3 deletions(-)
23518 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
23519 Author: John (J5) Palmieri <johnp@redhat.com>
23520 Date: Tue May 31 16:59:41 2011 -0400
23522 [gi-invoke-ng] enable invoke-ng by default
23524 configure.ac | 8 ++++----
23525 1 file changed, 4 insertions(+), 4 deletions(-)
23527 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
23528 Author: John (J5) Palmieri <johnp@redhat.com>
23529 Date: Tue May 31 16:37:21 2011 -0400
23531 [gi-invoke-ng] add code to clean up when input values fail to marshal
23533 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
23534 1 file changed, 25 insertions(+), 5 deletions(-)
23536 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
23537 Author: John (J5) Palmieri <johnp@redhat.com>
23538 Date: Tue May 31 16:01:03 2011 -0400
23540 [gi-invoke-ng] add hash cleanup routines
23542 gi/pygi-cache.c | 2 ++
23543 gi/pygi-marshal-cleanup.c | 64
23544 +++++++++++++++++++++++++++++++++++++++++++++++
23545 gi/pygi-marshal-cleanup.h | 10 ++++++--
23546 3 files changed, 74 insertions(+), 2 deletions(-)
23548 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
23549 Author: John (J5) Palmieri <johnp@redhat.com>
23550 Date: Tue May 31 14:47:30 2011 -0400
23552 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
23554 gi/pygi-marshal-cleanup.c | 3 ++-
23555 1 file changed, 2 insertions(+), 1 deletion(-)
23557 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
23558 Author: John (J5) Palmieri <johnp@redhat.com>
23559 Date: Tue May 31 14:40:49 2011 -0400
23561 [gi-invoke-ng] add list cleanup routines
23563 gi/pygi-cache.c | 8 ++---
23564 gi/pygi-marshal-cleanup.c | 84
23565 +++++++++++++++++++++++++++++++++++++++++++++++
23566 gi/pygi-marshal-cleanup.h | 8 +++++
23567 3 files changed, 96 insertions(+), 4 deletions(-)
23569 commit 2e542c327cd52c1f77af28905557dd25c64175d8
23570 Author: John (J5) Palmieri <johnp@redhat.com>
23571 Date: Thu May 26 16:10:13 2011 -0400
23575 gi/pygi-marshal.c | 8 ++++----
23576 1 file changed, 4 insertions(+), 4 deletions(-)
23578 commit 601aec11c49e821fe97dd30a2187fe3c75844712
23579 Author: John (J5) Palmieri <johnp@redhat.com>
23580 Date: Thu May 26 16:09:38 2011 -0400
23582 [gi-invoke-ng] add out array cleanup
23584 gi/pygi-cache.c | 2 +-
23585 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
23586 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
23587 3 files changed, 56 insertions(+), 7 deletions(-)
23589 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
23590 Author: John (J5) Palmieri <johnp@redhat.com>
23591 Date: Thu May 26 13:22:38 2011 -0400
23593 [gi-invoke-ng] do not allocate null terminator for garray
23595 * We are simply setting our own array so we don't want any allocate
23598 gi/pygi-marshal.c | 2 +-
23599 1 file changed, 1 insertion(+), 1 deletion(-)
23601 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
23602 Author: John (J5) Palmieri <johnp@redhat.com>
23603 Date: Thu May 26 13:21:55 2011 -0400
23605 [gi-invoke-ng] add array cleanup for in arrays
23607 gi/pygi-cache.c | 2 +-
23608 gi/pygi-marshal-cleanup.c | 72
23609 ++++++++++++++++++++++++++++++++++++++++++++++-
23610 gi/pygi-marshal-cleanup.h | 9 ++++++
23611 gi/pygi-marshal.c | 13 +++++++--
23612 4 files changed, 91 insertions(+), 5 deletions(-)
23614 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
23615 Author: John (J5) Palmieri <johnp@redhat.com>
23616 Date: Mon May 23 17:06:30 2011 -0400
23618 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
23620 gi/pygi-invoke-ng.c | 7 +------
23621 gi/pygi-invoke-state-struct.h | 14 --------------
23622 2 files changed, 1 insertion(+), 20 deletions(-)
23624 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
23625 Author: John (J5) Palmieri <johnp@redhat.com>
23626 Date: Mon May 23 16:59:57 2011 -0400
23628 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
23631 * cleanup now has symmetry with setup so there are now in and out
23633 for each type that needs to be cleaned up
23634 * no longer use state machine but instead call different cleanup
23636 different stages of invoke, making it easier to understand what
23640 gi/pygi-cache.c | 19 ++-
23641 gi/pygi-cache.h | 7 +-
23642 gi/pygi-invoke-ng.c | 10 +-
23643 gi/pygi-invoke-state-struct.h | 2 +
23644 gi/pygi-marshal-cleanup.c | 301
23645 +++++++++++++++++-------------------------
23646 gi/pygi-marshal-cleanup.h | 45 ++++---
23647 gi/pygi-marshal.c | 15 +--
23648 7 files changed, 174 insertions(+), 225 deletions(-)
23650 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
23651 Author: John (J5) Palmieri <johnp@redhat.com>
23652 Date: Thu May 12 17:29:20 2011 -0400
23654 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
23656 * The state machine concept of cleaning up was getting a bit messy.
23657 It was like we took a big bowl of spaghetti code and dumped it.
23658 * Now we call specific cleanup functions at the point of failure (or
23659 successful completion of a marshalling stage)
23661 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
23662 gi/pygi-marshal-cleanup.c | 72
23663 +++++++++++++++++++++++++++++++++++++++++++++++
23664 gi/pygi-marshal-cleanup.h | 14 +++++++++
23665 3 files changed, 135 insertions(+), 10 deletions(-)
23667 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
23668 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23669 Date: Thu May 12 11:53:40 2011 -0400
23671 Doc Extractor: Correct the logic of the --no-since option.
23673 * codegen/docextract.py (process_final_sections): If the
23675 option has been specified and a "Since:" is encountered
23677 processing of the final sections, simply don't append the
23679 instead of reading the next line. This preserves the logical
23683 codegen/docextract.py | 4 ++--
23684 1 file changed, 2 insertions(+), 2 deletions(-)
23686 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
23687 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23688 Date: Mon May 9 17:32:09 2011 -0400
23690 Doc Extractor: Add a --no-since option.
23692 * codegen/docextract.py:
23693 * codegen/docextract_to_xml.py: Modified so that if a
23695 option is specified at the command line, the "Since:
23697 the gtkdoc function block is omitted. This is useful for
23699 such as gstreamermm where this information would not be
23701 as the C API is still unstable.
23703 codegen/docextract.py | 15 ++++++++++++++-
23704 codegen/docextract_to_xml.py | 9 ++++++---
23705 2 files changed, 20 insertions(+), 4 deletions(-)
23707 commit 4f615c6e300d6f2d7551b640efa301060206ab58
23708 Author: John (J5) Palmieri <johnp@redhat.com>
23709 Date: Thu May 5 14:04:34 2011 -0400
23711 [gi-invoke-ng] tweek cleanup routines
23713 gi/pygi-cache.c | 5 +++
23714 gi/pygi-marshal-cleanup.c | 87
23715 +++++++++++++++++++++++++++++++++++------------
23716 gi/pygi-marshal-cleanup.h | 6 ++--
23717 gi/pygi-marshal.c | 11 ++----
23718 4 files changed, 76 insertions(+), 33 deletions(-)
23720 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
23721 Author: Martin Pitt <martin.pitt@ubuntu.com>
23722 Date: Mon May 2 15:49:52 2011 +0200
23724 Fix symbol names to be locale independent
23726 We currently use upper() to present enum values, which are usually
23728 lower case in the typelib, in upper cases. However, upper() is locale
23729 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
23730 because Turkish has some extra variants of "i".
23732 Use a local ASCII-only translate() call instead to avoid this. Thanks
23734 Philippsen for the idea!
23736 This also adds a test locale "te_ST@nouppera" which defines
23737 toupper('a') == 'a'.
23738 Run the Enum tests under this locale to reproduce the bug and verify
23741 https://bugzilla.gnome.org/show_bug.cgi?id=649165
23743 gi/module.py | 9 ++++++++-
23744 tests/te_ST@nouppera | 50
23745 ++++++++++++++++++++++++++++++++++++++++++++++++++
23746 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
23747 3 files changed, 88 insertions(+), 1 deletion(-)
23749 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
23750 Author: Martin Pitt <martin.pitt@ubuntu.com>
23751 Date: Wed May 4 08:35:27 2011 +0200
23753 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
23755 pygi-convert.sh | 1 +
23756 1 file changed, 1 insertion(+)
23758 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
23759 Author: John (J5) Palmieri <johnp@redhat.com>
23760 Date: Fri Apr 29 17:41:08 2011 -0400
23762 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
23764 gi/pygi-cache.c | 2 ++
23765 1 file changed, 2 insertions(+)
23767 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
23768 Author: John (J5) Palmieri <johnp@redhat.com>
23769 Date: Fri Apr 29 17:40:13 2011 -0400
23771 [gi-invoke-ng] handle caller allocates cleanup
23773 gi/pygi-invoke-ng.c | 5 ++-
23774 gi/pygi-marshal-cleanup.c | 104
23775 ++++++++++++++++++++++++++++++++++++----------
23776 gi/pygi-marshal-cleanup.h | 7 ++--
23777 3 files changed, 90 insertions(+), 26 deletions(-)
23779 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
23780 Author: John (J5) Palmieri <johnp@redhat.com>
23781 Date: Thu Apr 28 19:16:02 2011 -0400
23783 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
23786 gi/pygi-cache.c | 15 ++-----------
23787 gi/pygi-invoke-ng.c | 8 +++----
23788 gi/pygi-invoke-state-struct.h | 2 ++
23789 gi/pygi-marshal-cleanup.c | 51
23790 ++++++++++++++++++++++++++++++++++++++++++-
23791 gi/pygi-marshal-cleanup.h | 3 +++
23792 5 files changed, 60 insertions(+), 19 deletions(-)
23794 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
23795 Author: John (J5) Palmieri <johnp@redhat.com>
23796 Date: Wed Apr 27 15:47:19 2011 -0400
23798 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
23801 * PyCObject is deprecated and pycairo 1.10.0 is first release to
23804 configure.ac | 15 +++++++++++----
23805 gi/pygi-foreign-cairo.c | 2 +-
23806 2 files changed, 12 insertions(+), 5 deletions(-)
23808 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
23809 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23810 Date: Thu Apr 21 16:52:20 2011 +0200
23812 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
23814 gi/pygi-foreign-cairo.c | 7 ++++++-
23815 1 file changed, 6 insertions(+), 1 deletion(-)
23817 commit 3e933784df423757e591d703614cb700adb0bbe0
23818 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23819 Date: Mon Apr 18 18:36:25 2011 +0200
23823 pygobject.doap | 15 +++++++++++++++
23824 1 file changed, 15 insertions(+)
23826 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
23827 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23828 Date: Sat Apr 16 16:02:05 2011 +0200
23830 [gi] Don't create variant twice
23832 gi/overrides/GLib.py | 2 +-
23833 1 file changed, 1 insertion(+), 1 deletion(-)
23835 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
23836 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23837 Date: Fri Apr 15 16:14:43 2011 +0200
23839 pygi-convert.sh: Make sure the uppercase GObject module is imported
23840 instead of the lowercase
23842 https://bugzilla.gnome.org/show_bug.cgi?id=647736
23844 pygi-convert.sh | 1 +
23845 1 file changed, 1 insertion(+)
23847 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
23848 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23849 Date: Fri Apr 15 15:58:53 2011 +0200
23851 [gi] Removed hack to avoid using GLib.Variant.new_variant.
23853 The bug in the annotations of GLib is fixed now.
23854 https://bugzilla.gnome.org/show_bug.cgi?id=639952
23855 https://bugzilla.gnome.org/show_bug.cgi?id=647796
23857 gi/overrides/GLib.py | 14 +-------------
23858 1 file changed, 1 insertion(+), 13 deletions(-)
23860 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
23861 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23862 Date: Fri Apr 15 15:58:31 2011 +0200
23864 [gi] Added additional test case for GVariant handling
23866 tests/test_overrides.py | 15 +++++++++++++++
23867 1 file changed, 15 insertions(+)
23869 commit 138df2778543409752e229a09828a805f68a420d
23870 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23871 Date: Mon Apr 11 18:34:31 2011 +0200
23873 [gi] Added support for GVariant arguments
23875 This is required in order for the "g-signal" signal of GDBusProxy
23876 to work properly and thus to properly receive DBus signals with any
23879 https://bugzilla.gnome.org/show_bug.cgi?id=647477
23881 gi/pygi-argument.c | 2 ++
23882 1 file changed, 2 insertions(+)
23884 commit 985f239d891c7697d76ccecb797b189669ae6ee1
23885 Author: John (J5) Palmieri <johnp@redhat.com>
23886 Date: Tue Mar 22 18:46:28 2011 -0400
23888 fix static ABI for setting string gvalues from python objects
23890 * the static bindings used to be able to set a string gvalue to
23892 object that implemented __str__, for instance when setting a
23894 * this restores that code while still keeping unicode and python 3
23897 gobject/pygtype.c | 28 +++++++++++++++++++---------
23898 tests/test_properties.py | 8 ++++++++
23899 2 files changed, 27 insertions(+), 9 deletions(-)
23901 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
23902 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23903 Date: Tue Mar 22 20:47:51 2011 +0100
23905 dsextras.py: ensure eol characters are preserved when writing template
23906 files (so \n does not become \r\n)
23909 1 file changed, 1 insertion(+), 1 deletion(-)
23911 commit 629d267478982c426ba61a639d5c9603fed856e6
23912 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23913 Date: Tue Mar 22 11:35:44 2011 +0100
23915 dsextras.py: remove \r as wel as \n character
23918 1 file changed, 1 insertion(+), 1 deletion(-)
23920 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
23921 Author: John (J5) Palmieri <johnp@redhat.com>
23922 Date: Wed Apr 27 15:47:19 2011 -0400
23924 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
23927 * PyCObject is deprecated and pycairo 1.10.0 is first release to
23930 configure.ac | 15 +++++++++++----
23931 gi/pygi-foreign-cairo.c | 2 +-
23932 2 files changed, 12 insertions(+), 5 deletions(-)
23934 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
23935 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23936 Date: Thu Apr 21 16:52:20 2011 +0200
23938 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
23940 gi/pygi-foreign-cairo.c | 7 ++++++-
23941 1 file changed, 6 insertions(+), 1 deletion(-)
23943 commit 91ec337359720839862d3f5a8a0ea98f760a0752
23944 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23945 Date: Mon Apr 18 18:36:25 2011 +0200
23949 pygobject.doap | 15 +++++++++++++++
23950 1 file changed, 15 insertions(+)
23952 commit 05c766044c83340c44564d0097514bfc1d1d9df7
23953 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23954 Date: Sat Apr 16 16:02:05 2011 +0200
23956 [gi] Don't create variant twice
23958 gi/overrides/GLib.py | 2 +-
23959 1 file changed, 1 insertion(+), 1 deletion(-)
23961 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
23962 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23963 Date: Fri Apr 15 16:14:43 2011 +0200
23965 pygi-convert.sh: Make sure the uppercase GObject module is imported
23966 instead of the lowercase
23968 https://bugzilla.gnome.org/show_bug.cgi?id=647736
23970 pygi-convert.sh | 1 +
23971 1 file changed, 1 insertion(+)
23973 commit af31729573de24161ee90563e5738187c749783c
23974 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23975 Date: Fri Apr 15 15:58:53 2011 +0200
23977 [gi] Removed hack to avoid using GLib.Variant.new_variant.
23979 The bug in the annotations of GLib is fixed now.
23980 https://bugzilla.gnome.org/show_bug.cgi?id=639952
23981 https://bugzilla.gnome.org/show_bug.cgi?id=647796
23983 gi/overrides/GLib.py | 14 +-------------
23984 1 file changed, 1 insertion(+), 13 deletions(-)
23986 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
23987 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23988 Date: Fri Apr 15 15:58:31 2011 +0200
23990 [gi] Added additional test case for GVariant handling
23992 tests/test_overrides.py | 15 +++++++++++++++
23993 1 file changed, 15 insertions(+)
23995 commit 65aa040e86d94ee6bb227a2bce09668b60208027
23996 Author: John (J5) Palmieri <johnp@redhat.com>
23997 Date: Tue Apr 12 14:51:35 2011 -0400
23999 [gi-invoke-ng] fix prototype
24001 gi/pygi-cache.h | 2 +-
24002 1 file changed, 1 insertion(+), 1 deletion(-)
24004 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
24005 Author: John (J5) Palmieri <johnp@redhat.com>
24006 Date: Tue Apr 12 14:48:16 2011 -0400
24008 [gi-invoke-ng] create new framework for cleaning up args
24010 * we now have a state machine so we know what point in the marshalling
24012 we are and which args need to be cleaned up
24013 * call the cleanup functions after invoking the gi callable, after
24015 the out parameters and at any time an error occures
24017 gi/Makefile.am | 4 ++-
24018 gi/pygi-cache.c | 25 +++++++------
24019 gi/pygi-cache.h | 5 ++-
24020 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
24021 gi/pygi-invoke-state-struct.h | 13 +++++++
24022 gi/pygi-marshal-cleanup.c | 81
24023 +++++++++++++++++++++++++++++++++++++++++++
24024 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
24025 gi/pygi-marshal.c | 1 +
24026 8 files changed, 187 insertions(+), 19 deletions(-)
24028 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
24029 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24030 Date: Mon Apr 11 18:34:31 2011 +0200
24032 [gi] Added support for GVariant arguments
24034 This is required in order for the "g-signal" signal of GDBusProxy
24035 to work properly and thus to properly receive DBus signals with any
24038 https://bugzilla.gnome.org/show_bug.cgi?id=647477
24040 gi/pygi-argument.c | 2 ++
24041 1 file changed, 2 insertions(+)
24043 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
24044 Author: John (J5) Palmieri <johnp@redhat.com>
24045 Date: Wed Mar 30 16:40:31 2011 -0400
24047 [gi-invoke-ng] fix marshal header that is no longer part of
24050 gi/pygi-marshal.h | 8 ++++----
24051 1 file changed, 4 insertions(+), 4 deletions(-)
24053 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
24054 Author: John (J5) Palmieri <johnp@redhat.com>
24055 Date: Wed Mar 30 15:53:13 2011 -0400
24057 [gi-invoke-ng] code style space fixes
24059 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
24060 gi/pygi-invoke-ng.c | 145 +++++++-------
24061 gi/pygi-marshal.c | 565
24062 ++++++++++++++++++++++++++--------------------------
24063 3 files changed, 566 insertions(+), 564 deletions(-)
24065 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
24066 Author: John (J5) Palmieri <johnp@redhat.com>
24067 Date: Tue Mar 29 16:54:44 2011 -0400
24069 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
24071 gi/pygi-invoke-ng.c | 1 -
24072 1 file changed, 1 deletion(-)
24074 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
24075 Author: John (J5) Palmieri <johnp@redhat.com>
24076 Date: Tue Mar 29 15:23:06 2011 -0400
24078 [gi-invoke-ng] return None when appropriate so we don't crash
24080 gi/pygi-marshal.c | 18 +++++++++++++++++-
24081 1 file changed, 17 insertions(+), 1 deletion(-)
24083 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
24084 Author: John (J5) Palmieri <johnp@redhat.com>
24085 Date: Tue Mar 29 15:21:41 2011 -0400
24087 [gi-invoke-ng] fix aux value caching
24089 gi/pygi-cache.c | 15 ++++++++++-----
24090 1 file changed, 10 insertions(+), 5 deletions(-)
24092 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
24093 Author: John (J5) Palmieri <johnp@redhat.com>
24094 Date: Mon Mar 28 20:25:46 2011 -0400
24096 [gi-invoke-ng] backport handling flags with no gtype
24098 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
24099 1 file changed, 24 insertions(+), 1 deletion(-)
24101 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
24102 Author: John (J5) Palmieri <johnp@redhat.com>
24103 Date: Mon Mar 28 18:32:00 2011 -0400
24105 [gi-invoke-ng] backport raw gvalue handling
24107 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
24108 1 file changed, 18 insertions(+), 5 deletions(-)
24110 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
24111 Author: John (J5) Palmieri <johnp@redhat.com>
24112 Date: Mon Mar 28 18:30:31 2011 -0400
24114 [gi-invoke-ng] marshal instances seperately since they differ slightly
24117 gi/pygi-cache.c | 2 +-
24118 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
24119 2 files changed, 39 insertions(+), 1 deletion(-)
24121 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
24122 Author: John (J5) Palmieri <johnp@redhat.com>
24123 Date: Mon Mar 28 18:26:09 2011 -0400
24125 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
24127 gi/pygi-cache.c | 392
24128 +++++++++++++++++++++++++++-------------------------
24129 gi/pygi-cache.h | 12 +-
24130 gi/pygi-info.c | 2 +-
24131 gi/pygi-invoke-ng.c | 40 +++---
24132 gi/pygi-marshal.c | 140 +++++++++----------
24133 gi/pygi-marshal.h | 159 +++++++++------------
24135 7 files changed, 362 insertions(+), 385 deletions(-)
24137 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
24138 Author: John (J5) Palmieri <johnp@redhat.com>
24139 Date: Mon Mar 28 15:01:12 2011 -0400
24141 [gi-invoke-rewrite] backport glib error handling
24143 gi/pygi-invoke-ng.c | 14 ++++++--------
24144 1 file changed, 6 insertions(+), 8 deletions(-)
24146 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
24147 Author: John (J5) Palmieri <johnp@redhat.com>
24148 Date: Fri Mar 25 18:48:42 2011 -0400
24150 [gi-invoke-ng] backport closure passing from invoke
24152 gi/pygi-marshal.c | 13 ++++++++++---
24153 1 file changed, 10 insertions(+), 3 deletions(-)
24155 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
24156 Author: John (J5) Palmieri <johnp@redhat.com>
24157 Date: Fri Mar 25 18:47:36 2011 -0400
24159 [gi-invoke-ng] handle vfuncs and fix cosntrutors
24161 gi/pygi-cache.c | 9 +++++++
24162 gi/pygi-cache.h | 2 ++
24163 gi/pygi-invoke-ng.c | 56
24164 ++++++++++++++++++++++++++++++++-----------
24165 gi/pygi-invoke-state-struct.h | 2 ++
24166 4 files changed, 55 insertions(+), 14 deletions(-)
24168 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
24169 Author: John (J5) Palmieri <johnp@redhat.com>
24170 Date: Fri Mar 25 18:39:06 2011 -0400
24172 [gi-invoke-ng] handle foreign types correctly
24174 gi/pygi-cache.c | 22 ++++++----------------
24175 gi/pygi-marshal.c | 3 +++
24176 2 files changed, 9 insertions(+), 16 deletions(-)
24178 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
24179 Author: John (J5) Palmieri <johnp@redhat.com>
24180 Date: Fri Mar 25 13:14:01 2011 -0400
24182 [gi] remove the class parameter from the argument list of constructors
24184 * constructors pass in their class to be constructed. Since we
24186 and g_object_new to do the construction we ignore this for now but
24187 keep it around in the state for future use.
24189 gi/pygi-invoke-ng.c | 46
24190 +++++++++++++++++++++++++++++++++++++------
24191 gi/pygi-invoke-state-struct.h | 1 +
24192 2 files changed, 41 insertions(+), 6 deletions(-)
24194 commit 0534eb0e843cdf09611143da184052f7e549e4dc
24195 Author: John (J5) Palmieri <johnp@redhat.com>
24196 Date: Tue Mar 22 18:46:28 2011 -0400
24198 fix static ABI for setting string gvalues from python objects
24200 * the static bindings used to be able to set a string gvalue to
24202 object that implemented __str__, for instance when setting a
24204 * this restores that code while still keeping unicode and python 3
24207 gobject/pygtype.c | 28 +++++++++++++++++++---------
24208 tests/test_properties.py | 8 ++++++++
24209 2 files changed, 27 insertions(+), 9 deletions(-)
24211 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
24212 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24213 Date: Tue Mar 22 20:47:51 2011 +0100
24215 dsextras.py: ensure eol characters are preserved when writing template
24216 files (so \n does not become \r\n)
24219 1 file changed, 1 insertion(+), 1 deletion(-)
24221 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
24222 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24223 Date: Tue Mar 22 11:35:44 2011 +0100
24225 dsextras.py: remove \r as wel as \n character
24228 1 file changed, 1 insertion(+), 1 deletion(-)
24230 commit 86c436978c933f6ebe17627abe98325ce66f6baa
24231 Author: John (J5) Palmieri <johnp@redhat.com>
24232 Date: Tue Mar 22 16:13:58 2011 -0400
24234 [gi] make new invoke-ng codepath compile correctly
24237 gi/Makefile.am | 5 +-
24238 gi/pygi-cache.c | 2 +-
24239 gi/pygi-invoke-ng.c | 841 ----------------------
24240 gi/pygi-marshal.c | 1962
24241 +--------------------------------------------------
24242 gi/pygi-private.h | 4 +-
24243 6 files changed, 9 insertions(+), 2809 deletions(-)
24245 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
24246 Author: John (J5) Palmieri <johnp@redhat.com>
24247 Date: Tue Mar 22 15:40:02 2011 -0400
24249 [gi] conditionalize invoke code paths
24251 configure.ac | 7 +++++++
24252 gi/Makefile.am | 20 +++++++++++++++-----
24253 gi/pygi-cache.h | 2 ++
24254 gi/pygi-info.c | 4 +++-
24255 gi/pygi-private.h | 9 +++++++--
24257 6 files changed, 37 insertions(+), 9 deletions(-)
24259 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
24260 Author: John (J5) Palmieri <johnp@redhat.com>
24261 Date: Tue Mar 22 15:37:24 2011 -0400
24263 [gi] revert back to the type.py from master
24265 gi/types.py | 21 +++++++++++++++------
24266 1 file changed, 15 insertions(+), 6 deletions(-)
24268 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
24269 Author: John (J5) Palmieri <johnp@redhat.com>
24270 Date: Tue Mar 22 14:46:29 2011 -0400
24272 [gi] revert pygi-argument.h and move the invoke-ng code to
24275 gi/pygi-argument.h | 268 +-----------------------------------------
24276 gi/pygi-marshal.h | 336
24277 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24278 2 files changed, 337 insertions(+), 267 deletions(-)
24280 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
24281 Merge: 7332a1b9 01596a9b
24282 Author: John (J5) Palmieri <johnp@redhat.com>
24283 Date: Tue Mar 22 13:34:36 2011 -0400
24285 Merge branch 'master' into invoke-rewrite
24290 gi/pygi-foreign-cairo.c
24291 gi/pygi-foreign-gvariant.c
24292 gi/pygi-foreign-gvariant.h
24298 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
24299 Author: John (J5) Palmieri <johnp@redhat.com>
24300 Date: Tue Mar 22 13:20:54 2011 -0400
24302 [gi] foreign types now take interface infos instead of type infos
24304 * this is a prep for the invoke-rewrite branch
24305 * when marshalling foreign structs we may not have the type info but
24306 we will always have the interface info to pass
24307 * this simplifies the code because we were simply converting the
24308 type info back to an interface info anyway so there is less
24309 refcounting to keep track of
24310 * also fixes a bug where we were leaking PyNone ref counts
24312 gi/pygi-argument.c | 4 ++--
24313 gi/pygi-foreign-cairo.c | 16 ++++++++--------
24314 gi/pygi-foreign-gvariant.c | 12 ++++++------
24315 gi/pygi-foreign.c | 32 +++++++++++++-------------------
24316 gi/pygi-foreign.h | 8 ++++----
24317 gi/pygi-invoke.c | 6 +++---
24318 gi/pygi.h | 12 ++++++------
24319 7 files changed, 42 insertions(+), 48 deletions(-)
24321 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
24322 Author: Martin Pitt <martin.pitt@ubuntu.com>
24323 Date: Tue Mar 22 15:04:01 2011 +0100
24325 Fix GSchema tests for separate build tree
24327 When using a separate build tree, the compiled GSettings schema will
24329 build tree, but as the test scripts are only in the source tree they
24331 the compiled schema. Pass the build dir as environment variable and
24333 over test_overrides.py's directory.
24335 tests/Makefile.am | 3 ++-
24336 tests/test_overrides.py | 4 +++-
24337 2 files changed, 5 insertions(+), 2 deletions(-)
24339 commit 7332a1b99775519fdc5500cab6628b713e946a8c
24340 Author: John (J5) Palmieri <johnp@redhat.com>
24341 Date: Mon Mar 21 19:03:29 2011 -0400
24343 [gi] start of merge from master
24345 * move some of the modified files that will cause merge conflicts
24347 own, nonconflicting files
24348 * copy the old files out of master
24350 gi/pygi-argument.c | 2101 +++------------------------
24351 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
24352 gi/pygi-invoke.c | 421 ++----
24353 gi/pygi-marshal.c | 3916
24354 +++++++++++++++++++++++++++++++++++++++++++++++++++
24355 4 files changed, 5389 insertions(+), 2228 deletions(-)
24357 commit 62b49dae97441953452d097cb1751df14302547a
24358 Author: John (J5) Palmieri <johnp@redhat.com>
24359 Date: Wed Mar 16 17:34:18 2011 -0400
24361 [gi] marshal raw closures
24363 * before we were able to marshal python callables into methods
24365 GClosures but we had no way to take a GClosure returned from one
24366 method and pass it to another - this enables that usecase
24368 https://bugzilla.gnome.org/show_bug.cgi?id=644757
24370 gi/pygi-argument.c | 17 ++++++++++-------
24371 tests/test_gi.py | 4 ++++
24372 2 files changed, 14 insertions(+), 7 deletions(-)
24374 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
24375 Author: John Stowers <john.stowers@gmail.com>
24376 Date: Sun Mar 6 23:41:01 2011 +1300
24378 pygi-convert.sh add GObject.xxx and webkit
24380 https://bugzilla.gnome.org/show_bug.cgi?id=644347
24382 pygi-convert.sh | 7 +++++++
24383 1 file changed, 7 insertions(+)
24385 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
24386 Author: John Stowers <john.stowers@gmail.com>
24387 Date: Sun Mar 6 23:41:30 2011 +1300
24389 pygi-convert.sh remove gobject tests, GObject works now
24391 https://bugzilla.gnome.org/show_bug.cgi?id=644347
24393 pygi-convert.sh | 28 ----------------------------
24394 1 file changed, 28 deletions(-)
24396 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
24397 Author: John (J5) Palmieri <johnp@redhat.com>
24398 Date: Fri Mar 11 14:09:02 2011 -0500
24400 [gi-demos] add pickers demo
24402 demos/gtk-demo/demos/pickers.py | 74
24403 +++++++++++++++++++++++++++++++++++++++++
24404 1 file changed, 74 insertions(+)
24406 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
24407 Author: John (J5) Palmieri <johnp@redhat.com>
24408 Date: Thu Mar 10 18:12:50 2011 -0500
24410 [gi-demos] add menu demo
24412 demos/gtk-demo/demos/menus.py | 122
24413 ++++++++++++++++++++++++++++++++++++++++++
24414 1 file changed, 122 insertions(+)
24416 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
24417 Author: John (J5) Palmieri <johnp@redhat.com>
24418 Date: Wed Mar 9 13:02:50 2011 -0500
24420 [gi-overrides] fix exception block so it works in Python 2.5
24422 gi/overrides/Gio.py | 5 ++++-
24423 1 file changed, 4 insertions(+), 1 deletion(-)
24425 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
24426 Author: Martin Pitt <martin.pitt@ubuntu.com>
24427 Date: Mon Mar 21 13:19:58 2011 +0100
24429 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
24431 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
24433 This introduces additional libpython dependencies, which breaks
24435 which support multiple Python versions, and also causes the python
24437 to be in memory twice in some cases.
24439 https://bugzilla.gnome.org/show_bug.cgi?id=620215
24441 gi/Makefile.am | 4 +---
24442 glib/Makefile.am | 2 +-
24443 m4/python.m4 | 7 ++-----
24444 tests/Makefile.am | 2 +-
24445 4 files changed, 5 insertions(+), 10 deletions(-)
24447 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
24448 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24449 Date: Fri Mar 18 17:06:08 2011 +0100
24451 setup.py: fix user_access_control option
24454 1 file changed, 1 insertion(+), 1 deletion(-)
24456 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
24457 Author: Martin Pitt <martin.pitt@ubuntu.com>
24458 Date: Wed Mar 16 10:22:35 2011 +0100
24460 [gi] Respect the MessageType for Gtk.MessageDialog
24462 Don't just ignore the type argument, actually pass it on. Thanks
24464 Chou for spotting this!
24466 gi/overrides/Gtk.py | 1 +
24467 1 file changed, 1 insertion(+)
24469 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
24470 Author: Martin Pitt <martin.pitt@ubuntu.com>
24471 Date: Tue Mar 15 10:22:39 2011 +0100
24473 [gi] Do not require signature for D-BUS methods without arguments
24475 Calling methods on DBusProxy objects usually requires specifying
24477 as first argument. However, if the D-BUS method does not take any
24479 specifying the empty '()' signature does not give any additional
24481 so allow the caller to just call the proxy method without any
24484 Also ensure that passing a non-string signature raises a
24486 exception, instead of crashing deep in the GVariant leaf constructor.
24488 https://bugzilla.gnome.org/show_bug.cgi?id=644260
24490 gi/overrides/Gio.py | 16 +++++++++++++++-
24491 tests/test_gdbus.py | 13 +++++++++++++
24492 2 files changed, 28 insertions(+), 1 deletion(-)
24494 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
24495 Author: John Stowers <john.stowers@gmail.com>
24496 Date: Sun Mar 6 23:05:33 2011 +1300
24498 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
24500 https://bugzilla.gnome.org/show_bug.cgi?id=644343
24502 gi/overrides/Gtk.py | 2 ++
24503 1 file changed, 2 insertions(+)
24505 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
24506 Author: John Stowers <john.stowers@gmail.com>
24507 Date: Sun Mar 6 17:48:04 2011 +1300
24509 [gi-demos] dont try and run demos that represent directories
24511 demos/gtk-demo/gtk-demo.py | 3 ++-
24512 1 file changed, 2 insertions(+), 1 deletion(-)
24514 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
24515 Author: John (J5) Palmieri <johnp@redhat.com>
24516 Date: Mon Mar 7 18:09:18 2011 -0500
24518 [gi-demos] some python 3 compat fixes
24520 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
24521 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
24522 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
24523 demos/gtk-demo/gtk-demo.py | 4 ++--
24524 4 files changed, 11 insertions(+), 5 deletions(-)
24526 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
24527 Author: John (J5) Palmieri <johnp@redhat.com>
24528 Date: Tue Feb 22 15:07:40 2011 -0500
24530 [gi-demos] add liststore demo
24532 demos/gtk-demo/demos/Tree View/__init__.py | 0
24533 demos/gtk-demo/demos/Tree View/liststore.py | 205
24534 ++++++++++++++++++++++++++++
24535 2 files changed, 205 insertions(+)
24537 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
24538 Author: John (J5) Palmieri <johnp@redhat.com>
24539 Date: Mon Mar 7 18:08:40 2011 -0500
24541 [gi-demos] catch the correct error class
24543 demos/gtk-demo/demos/images.py | 11 ++++++-----
24544 1 file changed, 6 insertions(+), 5 deletions(-)
24546 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
24547 Author: Steve Frécinaux <code@istique.net>
24548 Date: Sun Mar 6 21:18:36 2011 +0100
24550 Do not leak python references when using the gobject.property()
24553 Since this helper was storing plain references in a long-lived
24555 refcount for the instances would never drop to zero, and so they would
24556 never get finalized.
24558 https://bugzilla.gnome.org/show_bug.cgi?id=644039
24560 gobject/propertyhelper.py | 5 ++---
24561 tests/test_properties.py | 23 +++++++++++++++++++++++
24562 2 files changed, 25 insertions(+), 3 deletions(-)
24564 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
24565 Author: John (J5) Palmieri <johnp@redhat.com>
24566 Date: Fri Mar 4 12:25:49 2011 -0500
24568 handle uchar as bytes, not strings in python 3
24570 * This worked in Python2 because bytes and strings are equivilant
24572 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
24573 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
24575 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
24576 and a PyBytes object in Python 3
24578 gobject/pygtype.c | 2 +-
24579 1 file changed, 1 insertion(+), 1 deletion(-)
24581 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
24582 Author: John (J5) Palmieri <johnp@redhat.com>
24583 Date: Fri Mar 4 12:24:35 2011 -0500
24585 [gi-overrides] handle unichar gvalues when setting treemodels
24587 gi/overrides/Gtk.py | 10 ++++++++++
24588 1 file changed, 10 insertions(+)
24590 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
24591 Author: John (J5) Palmieri <johnp@redhat.com>
24592 Date: Fri Mar 4 11:43:51 2011 -0500
24594 [gi-overrides] special case python 2 keywords that crept in
24596 gi/overrides/Gtk.py | 6 +++++-
24597 tests/test_overrides.py | 8 ++++----
24598 2 files changed, 9 insertions(+), 5 deletions(-)
24600 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
24601 Author: John (J5) Palmieri <johnp@redhat.com>
24602 Date: Fri Mar 4 11:10:16 2011 -0500
24604 check for the py3 _thread module in configure.ac if thread is
24607 configure.ac | 6 +++++-
24608 1 file changed, 5 insertions(+), 1 deletion(-)
24610 commit 4645af87d3c587f535404867dab56608719e5c7b
24611 Author: John (J5) Palmieri <johnp@redhat.com>
24612 Date: Fri Mar 4 00:39:23 2011 -0500
24614 [gi-demos] add iconview demo
24616 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
24617 +++++++++++++++++++++++
24618 1 file changed, 212 insertions(+)
24620 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
24621 Author: John (J5) Palmieri <johnp@redhat.com>
24622 Date: Thu Mar 3 18:39:16 2011 -0500
24624 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
24626 * python < 2.6 does not allow sending in keyword litterals after
24628 *args. You can only send in **kwds.
24631 1 file changed, 1 insertion(+), 1 deletion(-)
24633 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
24634 Author: John (J5) Palmieri <johnp@redhat.com>
24635 Date: Thu Mar 3 18:30:40 2011 -0500
24637 [gi-demos] add the combobox with string ids section to the demos
24639 demos/gtk-demo/demos/combobox.py | 49
24640 +++++++++++++++++++++++++++++++++++++++-
24641 1 file changed, 48 insertions(+), 1 deletion(-)
24643 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
24644 Author: John (J5) Palmieri <johnp@redhat.com>
24645 Date: Thu Mar 3 16:47:51 2011 -0500
24647 [gi-overrides] add an override for Gdk.RGBA
24649 gi/overrides/Gdk.py | 18 ++++++++++++++++++
24650 tests/test_overrides.py | 10 ++++++++++
24651 2 files changed, 28 insertions(+)
24653 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
24654 Author: John (J5) Palmieri <johnp@redhat.com>
24655 Date: Thu Mar 3 16:10:17 2011 -0500
24657 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
24660 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
24661 1 file changed, 9 insertions(+), 14 deletions(-)
24663 commit cd046e4c355706ead5f512b810a2a48317f8c32e
24664 Author: John (J5) Palmieri <johnp@redhat.com>
24665 Date: Wed Mar 2 18:13:43 2011 -0500
24667 [gi-demos] add search entry demo
24669 demos/gtk-demo/demos/Entry/search_entry.py | 257
24670 +++++++++++++++++++++++++++++
24671 1 file changed, 257 insertions(+)
24673 commit d5ddaa92e6349c2f52b67317326060973cb69661
24674 Author: John (J5) Palmieri <johnp@redhat.com>
24675 Date: Wed Mar 2 15:37:27 2011 -0500
24677 [gi] wrap map in a list for Python 3 compat
24680 1 file changed, 1 insertion(+), 1 deletion(-)
24682 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
24683 Author: John (J5) Palmieri <johnp@redhat.com>
24684 Date: Tue Mar 1 14:52:00 2011 -0500
24686 [gi-demos] fix up the validation combobox
24688 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
24689 1 file changed, 15 insertions(+), 6 deletions(-)
24691 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
24692 Author: John (J5) Palmieri <johnp@redhat.com>
24693 Date: Tue Mar 1 12:31:35 2011 -0500
24695 add overridesdir variable in the .pc file for 3rd party overrides
24697 pygobject-2.0.pc.in | 1 +
24698 1 file changed, 1 insertion(+)
24700 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
24701 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24702 Date: Fri Feb 11 17:14:11 2011 +0100
24704 setup.py: Set bdist_wininst user-access-control property
24707 1 file changed, 2 insertions(+), 1 deletion(-)
24709 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
24710 Author: Martin Pitt <martin.pitt@ubuntu.com>
24711 Date: Wed Mar 2 16:29:00 2011 +0100
24713 Fix uninitialized variable in gi.require_version()
24715 gi/__init__.py | 3 ++-
24716 1 file changed, 2 insertions(+), 1 deletion(-)
24718 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
24719 Author: Martin Pitt <martin.pitt@ubuntu.com>
24720 Date: Tue Mar 1 23:26:07 2011 +0100
24722 Run tests with LC_MESSAGES="C"
24724 Some tests, such as tests/test_gdbus.py check parts of error messages
24726 visible strings. Ensure that these do not get translated in the
24729 tests/runtests.py | 2 ++
24730 1 file changed, 2 insertions(+)
24732 commit 0461e05174637ae02f34029b85ba217d5ae48c53
24733 Author: John (J5) Palmieri <johnp@redhat.com>
24734 Date: Mon Feb 28 18:21:43 2011 -0500
24736 [gi-overrides] override Gtk.stock_lookup to not return success
24738 demos/gtk-demo/demos/combobox.py | 2 +-
24739 gi/overrides/Gtk.py | 9 +++++++++
24740 2 files changed, 10 insertions(+), 1 deletion(-)
24742 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
24743 Author: John (J5) Palmieri <johnp@redhat.com>
24744 Date: Mon Feb 28 14:16:00 2011 -0500
24746 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
24749 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
24750 1 file changed, 50 insertions(+)
24752 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
24753 Author: John (J5) Palmieri <johnp@redhat.com>
24754 Date: Mon Feb 28 14:08:05 2011 -0500
24756 [gi-tests] use Gdk.test_simulate_button instead of emitting event
24759 * this function is available specifically so we can test events so
24761 instead of creating our own button press event
24763 tests/test_overrides.py | 9 +++++----
24764 1 file changed, 5 insertions(+), 4 deletions(-)
24766 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
24767 Author: Laszlo Pandy <lpandy@src.gnome.org>
24768 Date: Thu Feb 24 19:30:32 2011 +0100
24770 [gi-tests] tests for EventButton override.
24772 * John (J5) Palmieri - fixed up original patch so that we actually
24773 emit the event instead of just creating a Gdk.ButtonEvent object
24775 https://bugzilla.gnome.org/show_bug.cgi?id=642554
24777 tests/test_overrides.py | 21 +++++++++++++++++++++
24778 1 file changed, 21 insertions(+)
24780 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
24781 Author: John (J5) Palmieri <johnp@redhat.com>
24782 Date: Wed Feb 23 18:43:27 2011 -0500
24784 [gi-overrides] Add event methods to all event union members
24786 https://bugzilla.gnome.org/show_bug.cgi?id=642554
24788 gi/overrides/Gdk.py | 70
24789 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24790 1 file changed, 70 insertions(+)
24792 commit 6e30c69d38fd382414eb820097c297a80be547ac
24793 Author: John (J5) Palmieri <johnp@redhat.com>
24794 Date: Wed Feb 23 14:14:16 2011 -0500
24796 [gi] check to see if object is a member of a union when validating
24799 * union members are not subclasses of the union they belong to so
24801 inteface requires you pass a union but you pass one of its members
24802 there will be a type error
24803 * this patch checks to see if the type you are passing is a member
24805 union and passes the checks if it is
24806 * this works in python 3 but in python 2 methods do their own
24808 check on the instance parameter (e.g. self) so we need to figure
24809 out how to override that for union methods
24810 (e.g. Gdk.Event.get_state)
24812 https://bugzilla.gnome.org/show_bug.cgi?id=642554
24814 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
24815 1 file changed, 38 insertions(+)
24817 commit 525f21d1365c24488b768955362085bf82512dee
24818 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24819 Date: Wed Feb 16 09:44:12 2011 +0100
24821 Skip interfaces when checking for conflicts in the MRO
24823 https://bugzilla.gnome.org/show_bug.cgi?id=642437
24825 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
24826 gobject/gobjectmodule.c | 9 +++++++--
24827 tests/test_gi.py | 16 ++++++++++++++++
24828 3 files changed, 63 insertions(+), 2 deletions(-)
24830 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
24831 Author: Laszlo Pandy <lpandy@src.gnome.org>
24832 Date: Thu Feb 24 18:46:15 2011 +0100
24834 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
24837 gi/importer.py | 2 +-
24838 gi/module.py | 2 +-
24839 2 files changed, 2 insertions(+), 2 deletions(-)
24841 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
24842 Author: Laszlo Pandy <lpandy@src.gnome.org>
24843 Date: Wed Feb 23 12:05:03 2011 +0100
24845 Test case with John's fix for crash with C arrays and a GError is set.
24847 I have added a test case, and made a few fixes to John's patch,
24849 solution is the same his.
24851 Workaround a bug when freeing C array types
24853 * This is a hack and there is really no way around it without
24855 the current array handling code which spans between pygi-invoke.c
24857 pygi-argument.c and completely rewriting it.
24858 * The is no time before our stable release
24859 * This patch trades a segfault for a leak in the very unusual
24861 an error occures inside an interface that takes one or more C
24863 we wrap C arrays in GArrays internally but have to unwrap them
24865 to the introspected C function, there is a period of time where
24867 can occure with the C array in an unknown state (some being true
24869 and others still wrapped in a GArray)
24870 * This patch adds a c_arrays_are_wrapped state to signal that it
24872 free them. However since c_arrays_are_wrapped can only track
24874 as a group, not individually, if it is set to FALSE we can
24876 that every array is a pure C array, so instead we will simply
24878 to avoid incorrectly freeing one and causing a segfault.
24879 * This issue is fixed in the invoke rewrite branch as it treats
24881 GArrays separately, however that branch is not yet ready to be
24883 won't be until the next release.
24885 https://bugzilla.gnome.org/show_bug.cgi?id=642708
24887 gi/pygi-invoke.c | 54
24888 ++++++++++++++++++++++++++++++++++++++++++++++++++----
24889 tests/test_gi.py | 9 +++++++++
24890 2 files changed, 59 insertions(+), 4 deletions(-)
24892 commit 702a89beca92cab6b0142829b20281b9245f28b8
24893 Author: John (J5) Palmieri <johnp@redhat.com>
24894 Date: Wed Feb 23 15:11:59 2011 -0500
24896 [gi-overrides] fix setting rows in treeview to accept None as a value
24898 * as done in PyGTK None indicates the column should not be set
24900 gi/overrides/Gtk.py | 3 +++
24901 tests/test_overrides.py | 18 +++++++++++++-----
24902 2 files changed, 16 insertions(+), 5 deletions(-)
24904 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
24905 Author: Laszlo Pandy <lpandy@src.gnome.org>
24906 Date: Wed Feb 23 14:23:19 2011 +0100
24908 [gi] Add value_name for enum and flags from introspection
24909 "c:identifier" (if attr is available).
24911 gi/gimodule.c | 22 ++++++++++++++++++----
24912 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
24913 2 files changed, 54 insertions(+), 4 deletions(-)
24915 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
24916 Author: Laszlo Pandy <lpandy@src.gnome.org>
24917 Date: Wed Feb 23 11:40:55 2011 +0100
24919 Fix flags with multiple names for the same value.
24921 Flags constructs a dict __flags_values__ and uses it to cache
24922 instances. However some flags in Glib such as G_IO_FLAG_MASK and
24923 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
24924 override each other's place in the dictionary.
24926 The dict length check is not necessary. It only reduces the number
24927 of duplicate instances we keep, because if an instance is not
24928 found in the dict, a new one is created anyway.
24930 gobject/pygflags.c | 2 +-
24931 1 file changed, 1 insertion(+), 1 deletion(-)
24933 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
24934 Author: Laszlo Pandy <lpandy@src.gnome.org>
24935 Date: Tue Feb 22 21:37:33 2011 +0100
24937 Don't force loading of DynamicModule until set in sys.modules
24939 This fixes Tomeu's previous commit, which removed lazy loading.
24940 Forcing the loading of a module before it is installed in sys.modules
24941 prevents some overrides from being registered (namely Gtk.main_quit).
24943 https://bugzilla.gnome.org/show_bug.cgi?id=642305
24945 gi/importer.py | 2 +-
24946 1 file changed, 1 insertion(+), 1 deletion(-)
24948 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
24949 Author: John (J5) Palmieri <johnp@redhat.com>
24950 Date: Mon Feb 21 17:20:57 2011 -0500
24952 use GValue support to marshal GtkTreeModel values correctly
24954 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
24956 https://bugzilla.gnome.org/show_bug.cgi?id=642921
24958 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
24959 tests/test_overrides.py | 87
24960 +++++++++++++++++++++++++++++++++++++++++--------
24961 2 files changed, 107 insertions(+), 17 deletions(-)
24963 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
24964 Author: John (J5) Palmieri <johnp@redhat.com>
24965 Date: Mon Feb 21 16:14:20 2011 -0500
24967 [gi] pass raw GValues instead of trying to marshal them
24969 * Right now GValues are transparent to the user but this leave us no
24970 way to describe fundimental types other than those supported
24972 by python (e.g. int, str, etc)
24973 * If an interface is expecting a uint or other GValue type a user
24975 the raw GValue interfaces and expect paramaters that take
24977 marshal them correctly e.g.:
24978 value = GObject.Value()
24979 value.int(GObject.TYPE_UINT)
24980 value.set_uint(1234)
24981 * The objective here is to not for users to use this API but for
24983 to be able to utilize them. For instance in the TreeModel API
24985 get the expected type for a column and them create a GValue with
24987 type so that he underlying python object is marshalled correctly.
24989 https://bugzilla.gnome.org/show_bug.cgi?id=642914
24991 gi/pygi-argument.c | 24 ++++++++++++++++++------
24992 tests/test_gi.py | 9 ++++++++-
24993 2 files changed, 26 insertions(+), 7 deletions(-)
24995 commit b458f6f3424a04f6ceece09d443009372d70544c
24996 Author: John (J5) Palmieri <johnp@redhat.com>
24997 Date: Sat Feb 19 19:42:41 2011 -0500
24999 [gi-demos] add icon view edit and drag-and-drop demo
25001 demos/gtk-demo/demos/Icon View/__init__.py | 0
25002 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
25003 +++++++++++++++++++++++++
25004 2 files changed, 101 insertions(+)
25006 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
25007 Author: John (J5) Palmieri <johnp@redhat.com>
25008 Date: Sat Feb 19 17:26:42 2011 -0500
25010 [gi-demos] add info bars demo
25012 demos/gtk-demo/demos/infobars.py | 99
25013 ++++++++++++++++++++++++++++++++++++++++
25014 1 file changed, 99 insertions(+)
25016 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
25017 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25018 Date: Wed Feb 16 11:53:18 2011 +0100
25020 Load typelibs at import time, add gi.require_version()
25022 also adds Repository.get_loaded_namespaces()
25024 https://bugzilla.gnome.org/show_bug.cgi?id=642305
25026 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
25027 gi/importer.py | 1 +
25028 gi/module.py | 21 ++++-----------------
25029 gi/pygi-repository.c | 23 +++++++++++++++++++++++
25030 4 files changed, 56 insertions(+), 18 deletions(-)
25032 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
25033 Author: Laszlo Pandy <lpandy@src.gnome.org>
25034 Date: Sat Feb 19 23:11:25 2011 +0100
25036 [gi] Register GType for non-GType enums and flags at runtime.
25038 Note: rebuild of gobject-introspection is required for new tests.
25040 Previously non-GType enums used a separate type implemented in
25041 Python, and non-GType flags had no implementation at all. This
25042 removes the separate type for enums, and registers a new GType at
25043 runtime if there isn't one.
25045 This allows non-GType enums and flags to use the same Python type
25046 as GType enums and flags. This removes duplication of code, and
25047 make both kinds behave identically.
25049 https://bugzilla.gnome.org/show_bug.cgi?id=642607
25051 gi/gimodule.c | 117
25052 +++++++++++++++++++++++++++++++++++++++++++++++++++++
25053 gi/module.py | 24 ++++++-----
25054 gi/pygi-info.c | 15 +++++++
25055 gi/types.py | 16 --------
25056 gobject/pygflags.c | 13 ++++--
25057 tests/test_gi.py | 35 ++++++++++++++++
25058 6 files changed, 191 insertions(+), 29 deletions(-)
25060 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
25061 Author: Martin Pitt <martin.pitt@ubuntu.com>
25062 Date: Tue Feb 8 15:38:21 2011 +0100
25064 [gi] Add Pythonic gdbus method invocation
25066 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
25068 Python object. This will handle the Python object <-> GVariant
25070 optional keyword arguments for flags, timeout, and a result handler
25072 asynchronous calls.
25074 Require specifying the input argument signature as the first argument
25076 method call. This ensures that the types of e. g. integers are
25078 and avoids having to do expensive D-Bus introspection for each call.
25080 https://bugzilla.gnome.org/show_bug.cgi?id=640181
25082 gi/overrides/Gio.py | 99
25083 ++++++++++++++++++++++++++++++++++++++++++++++++++
25084 tests/test_gdbus.py | 102
25085 ++++++++++++++++++++++++++++++++++++++++++++++++++--
25086 2 files changed, 199 insertions(+), 2 deletions(-)
25088 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
25089 Author: Laszlo Pandy <lpandy@src.gnome.org>
25090 Date: Fri Feb 18 22:48:59 2011 +0100
25092 Skip GError out parameters in Python closure.
25094 Python code should have never have to explicitely return a GError.
25095 Once we are able to marshal exceptions the Python code should
25096 throw an exception instead. Until then, set GError to NULL, and
25097 don't complain if a Python function doesn't return an arg for it.
25099 https://bugzilla.gnome.org/show_bug.cgi?id=642715
25101 gi/pygi-closure.c | 8 ++++++++
25102 1 file changed, 8 insertions(+)
25104 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
25105 Author: Laszlo Pandy <lpandy@src.gnome.org>
25106 Date: Fri Feb 18 10:15:59 2011 +0100
25108 Fix runtests.py to work with Python3 (print function syntax error).
25110 tests/runtests.py | 2 +-
25111 1 file changed, 1 insertion(+), 1 deletion(-)
25113 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
25114 Author: John (J5) Palmieri <johnp@redhat.com>
25115 Date: Thu Feb 17 19:46:49 2011 -0500
25117 [gi-demos] added rotate text demo
25119 * needs some Pango Attr fixes to be 100% done, See FIXME
25121 demos/gtk-demo/demos/rotatedtext.py | 196
25122 ++++++++++++++++++++++++++++++++++++
25123 1 file changed, 196 insertions(+)
25125 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
25126 Author: John (J5) Palmieri <johnp@redhat.com>
25127 Date: Thu Feb 17 17:25:00 2011 -0500
25129 [gi-demos] add images demo
25131 * needs annotation fix from GdkPixbuf for ImageLoader to work
25133 demos/gtk-demo/demos/images.py | 311
25134 +++++++++++++++++++++++++++++++++++++++++
25135 1 file changed, 311 insertions(+)
25137 commit 13b06170b89b3468e6255be32af4833ffc675c9d
25138 Author: John (J5) Palmieri <johnp@redhat.com>
25139 Date: Thu Feb 17 14:48:24 2011 -0500
25141 [gi-demos] add pixbuf demo
25143 demos/gtk-demo/demos/pixbuf.py | 183
25144 +++++++++++++++++++++++++++++++++++++++++
25145 1 file changed, 183 insertions(+)
25147 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
25148 Author: John (J5) Palmieri <johnp@redhat.com>
25149 Date: Thu Feb 17 14:47:12 2011 -0500
25151 [gi-demos] remove fixmes from print demo, fixed in pango
25153 demos/gtk-demo/demos/printing.py | 10 +++-------
25154 1 file changed, 3 insertions(+), 7 deletions(-)
25156 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
25157 Author: John (J5) Palmieri <johnp@redhat.com>
25158 Date: Wed Feb 16 19:39:30 2011 -0500
25160 [gi-demos] add printing demo
25162 * needs some annotations for pango before it is 100% useful
25164 demos/gtk-demo/demos/printing.py | 177
25165 +++++++++++++++++++++++++++++++++++++++
25166 1 file changed, 177 insertions(+)
25168 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
25169 Author: John (J5) Palmieri <johnp@redhat.com>
25170 Date: Wed Feb 16 17:52:38 2011 -0500
25172 [gi-overrides] add cursor overrides
25174 https://bugzilla.gnome.org/show_bug.cgi?id=635947
25176 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
25177 tests/test_overrides.py | 23 +++++++++++++++++++++++
25178 2 files changed, 64 insertions(+)
25180 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
25181 Author: John (J5) Palmieri <johnp@redhat.com>
25182 Date: Wed Feb 16 16:18:24 2011 -0500
25184 [gi-demos] add the links demo
25186 demos/gtk-demo/demos/links.py | 74
25187 +++++++++++++++++++++++++++++++++++++++++++
25188 1 file changed, 74 insertions(+)
25190 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
25191 Author: John (J5) Palmieri <johnp@redhat.com>
25192 Date: Wed Feb 16 15:48:40 2011 -0500
25194 [gi-demos] add expander demo
25196 demos/gtk-demo/demos/expander.py | 60
25197 ++++++++++++++++++++++++++++++++++++++++
25198 1 file changed, 60 insertions(+)
25200 commit 76cdb13ab872f91f8384d26b0f2932087a746117
25201 Author: John (J5) Palmieri <johnp@redhat.com>
25202 Date: Wed Feb 16 15:14:35 2011 -0500
25204 [gi-overrides] use pop instead of del and add extra tests for
25207 gi/overrides/Gtk.py | 6 ++----
25208 tests/test_overrides.py | 8 ++++++++
25209 2 files changed, 10 insertions(+), 4 deletions(-)
25211 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
25212 Author: Laszlo Pandy <lpandy@src.gnome.org>
25213 Date: Tue Feb 15 20:07:42 2011 +0100
25215 [tests] Separate processes for GI and static binding tests.
25217 Importing and using both static gobject bindings and
25218 introspection GObject bindings in the same process can cause
25219 conflicts with types which otherwise wouldn't be there.
25221 This patch changes "make check" to call runtests.py twice -- once
25222 for each set of tests.
25224 In the case of a test failure, runtests.py now sets the exit code
25225 so that make does not continue. Otherwise you might miss the
25226 failures from the first batch of tests in the scrollback.
25228 tests/Makefile.am | 19 +++++++++++--------
25229 tests/runtests.py | 4 +++-
25230 2 files changed, 14 insertions(+), 9 deletions(-)
25232 commit e0896b45f60f37097ec521f1bc38778383b78dd8
25233 Author: John (J5) Palmieri <johnp@redhat.com>
25234 Date: Tue Feb 15 14:47:10 2011 -0500
25236 [gi-demos] add dialogs demo
25238 demos/gtk-demo/demos/dialogs.py | 153
25239 ++++++++++++++++++++++++++++++++++++++++
25240 1 file changed, 153 insertions(+)
25242 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
25243 Author: John (J5) Palmieri <johnp@redhat.com>
25244 Date: Tue Feb 15 14:46:41 2011 -0500
25246 [gi-overrides] fix typo in GtkTable constructor
25248 gi/overrides/Gtk.py | 8 ++++----
25249 1 file changed, 4 insertions(+), 4 deletions(-)
25251 commit 9c277e1782c5a9d672d91fabf5289c5415891682
25252 Author: John (J5) Palmieri <johnp@redhat.com>
25253 Date: Tue Feb 15 13:26:38 2011 -0500
25255 [gi-demos] keep popup menu from destroying itself by holding a ref
25258 demos/gtk-demo/demos/clipboard.py | 8 ++++----
25259 1 file changed, 4 insertions(+), 4 deletions(-)
25261 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
25262 Author: John (J5) Palmieri <johnp@redhat.com>
25263 Date: Tue Feb 15 13:25:13 2011 -0500
25265 [gi-overrides] add a Gtk.Menu override for the popup method
25267 gi/overrides/Gtk.py | 7 +++++++
25268 1 file changed, 7 insertions(+)
25270 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
25271 Author: John (J5) Palmieri <johnp@redhat.com>
25272 Date: Tue Feb 15 13:24:33 2011 -0500
25274 [gi-demos] fix the about dialog in appwindow demo
25276 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
25277 1 file changed, 9 insertions(+), 13 deletions(-)
25279 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
25280 Author: John (J5) Palmieri <johnp@redhat.com>
25281 Date: Tue Feb 15 11:21:13 2011 -0500
25283 [gi-demos] fix clipboard demo so DnD works
25285 * menu popups don't work because the API takes a callback without
25289 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
25290 1 file changed, 10 insertions(+), 10 deletions(-)
25292 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
25293 Author: John (J5) Palmieri <johnp@redhat.com>
25294 Date: Tue Feb 15 10:18:53 2011 -0500
25296 [gi-demos] fix clipboard demo to reflect new API
25298 demos/gtk-demo/demos/clipboard.py | 6 +++---
25299 1 file changed, 3 insertions(+), 3 deletions(-)
25301 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
25302 Author: John (J5) Palmieri <johnp@redhat.com>
25303 Date: Mon Feb 14 18:17:20 2011 -0500
25305 [gi-demo] Fix color dialog demo to run with new draw, style and
25308 demos/gtk-demo/demos/colorselector.py | 44
25309 ++++++++++++++---------------------
25310 1 file changed, 17 insertions(+), 27 deletions(-)
25312 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
25313 Author: John (J5) Palmieri <johnp@redhat.com>
25314 Date: Mon Feb 14 17:58:25 2011 -0500
25316 [gi-demos] fix most of the combobox app
25318 * Still having some issues with filtering the ComboBoxText widget
25320 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
25321 1 file changed, 8 insertions(+), 9 deletions(-)
25323 commit 3606eb20ad1651af621bf1aa429ec102082565eb
25324 Author: Laszlo Pandy <lpandy@src.gnome.org>
25325 Date: Mon Feb 14 19:36:27 2011 +0100
25327 Use PyGI type conversion (to fix foreign types) for signal callbacks.
25329 First attempt at patch to fix foreign types in signal callbacks.
25330 Tests are not implemented yet.
25332 https://bugzilla.gnome.org/show_bug.cgi?id=637601
25334 gi/Makefile.am | 2 +
25335 gi/gimodule.c | 1 +
25336 gi/pygi-argument.c | 91 ++++++++++++++++++
25337 gi/pygi-argument.h | 2 +
25338 gi/pygi-private.h | 1 +
25339 gi/pygi-signal-closure.c | 245
25340 +++++++++++++++++++++++++++++++++++++++++++++++
25341 gi/pygi-signal-closure.h | 46 +++++++++
25342 gi/pygi.h | 28 ++++++
25343 gobject/pygobject.c | 24 ++++-
25344 9 files changed, 436 insertions(+), 4 deletions(-)
25346 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
25347 Author: John (J5) Palmieri <johnp@redhat.com>
25348 Date: Mon Feb 14 16:47:03 2011 -0500
25350 [gi-demos] fix drawingarea app to use the new draw api
25352 demos/gtk-demo/demos/drawingarea.py | 144
25353 +++++++++++++-----------------------
25354 1 file changed, 50 insertions(+), 94 deletions(-)
25356 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
25357 Author: John (J5) Palmieri <johnp@redhat.com>
25358 Date: Mon Feb 14 16:43:35 2011 -0500
25360 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
25362 * note this is the introspected gobject-cairo boxed type not the
25365 * we alias this so people do not get confused
25367 gi/overrides/Gdk.py | 5 +++++
25368 1 file changed, 5 insertions(+)
25370 commit d491c369e049ab726f09002af0462391d5c2f3ec
25371 Author: John (J5) Palmieri <johnp@redhat.com>
25372 Date: Mon Feb 14 15:07:11 2011 -0500
25374 [gi-overrides] let user set the proper property names in Gtk.Table
25376 * the old override added a columns and rows parameters to the Table
25378 to be in sync with PyGtk.
25379 * The GTK properties are n_columns and n_rows
25382 gi/overrides/Gtk.py | 8 ++++++++
25383 1 file changed, 8 insertions(+)
25385 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
25386 Author: John (J5) Palmieri <johnp@redhat.com>
25387 Date: Mon Feb 14 15:06:38 2011 -0500
25389 [gi-demos] get appwindow demo working again
25391 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
25392 1 file changed, 4 insertions(+), 20 deletions(-)
25394 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
25395 Author: John (J5) Palmieri <johnp@redhat.com>
25396 Date: Mon Feb 14 15:05:44 2011 -0500
25398 [gi-demos] fixed use of tree_iter_get
25400 demos/gtk-demo/gtk-demo.py | 2 +-
25401 1 file changed, 1 insertion(+), 1 deletion(-)
25403 commit 0c20977e4598e5447dd07c069e91226efacb1160
25404 Author: Simon van der Linden <svdlinden@gnome.org>
25405 Date: Fri Feb 11 22:02:03 2011 +0100
25407 Remove last GIO-related bits
25409 https://bugzilla.gnome.org/show_bug.cgi?id=638899
25413 configure.ac | 3 --
25414 examples/gio/directory-async.py | 33 ------------------
25415 examples/gio/downloader.py | 77
25416 -----------------------------------------
25417 pygobject.doap | 2 +-
25418 6 files changed, 3 insertions(+), 117 deletions(-)
25420 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
25421 Author: Simon van der Linden <svdlinden@gnome.org>
25422 Date: Fri Feb 11 18:38:27 2011 +0100
25424 Remove GIO documentation
25426 https://bugzilla.gnome.org/show_bug.cgi?id=638899
25428 docs/Makefile.am | 82 +-
25429 docs/reference/pygio-appinfo.xml | 894 -----
25430 docs/reference/pygio-applaunchcontext.xml | 194 --
25431 docs/reference/pygio-asyncresult.xml | 117 -
25432 docs/reference/pygio-bufferedinputstream.xml | 461 ---
25433 docs/reference/pygio-bufferedoutputstream.xml | 275 --
25434 docs/reference/pygio-cancellable.xml | 290 --
25435 docs/reference/pygio-classes.xml | 47 -
25436 docs/reference/pygio-constants.xml | 1540 ---------
25437 docs/reference/pygio-datainputstream.xml | 799 -----
25438 docs/reference/pygio-dataoutputstream.xml | 504 ---
25439 docs/reference/pygio-drive.xml | 546 ---
25440 docs/reference/pygio-emblem.xml | 232 --
25441 docs/reference/pygio-emblemedicon.xml | 160 -
25442 docs/reference/pygio-file.xml | 4534
25443 -------------------------
25444 docs/reference/pygio-fileattributeinfo.xml | 73 -
25445 docs/reference/pygio-fileenumerator.xml | 488 ---
25446 docs/reference/pygio-fileicon.xml | 109 -
25447 docs/reference/pygio-fileinfo.xml | 346 --
25448 docs/reference/pygio-fileinputstream.xml | 214 --
25449 docs/reference/pygio-filemonitor.xml | 128 -
25450 docs/reference/pygio-fileoutputstream.xml | 257 --
25451 docs/reference/pygio-filterinputstream.xml | 152 -
25452 docs/reference/pygio-filteroutputstream.xml | 152 -
25453 docs/reference/pygio-functions.xml | 395 ---
25454 docs/reference/pygio-icon.xml | 217 --
25455 docs/reference/pygio-inputstream.xml | 730 ----
25456 docs/reference/pygio-loadableicon.xml | 198 --
25457 docs/reference/pygio-memoryinputstream.xml | 151 -
25458 docs/reference/pygio-memoryoutputstream.xml | 175 -
25459 docs/reference/pygio-mount.xml | 962 ------
25460 docs/reference/pygio-mountoperation.xml | 726 ----
25461 docs/reference/pygio-outputstream.xml | 140 -
25462 docs/reference/pygio-seekable.xml | 231 --
25463 docs/reference/pygio-simpleasyncresult.xml | 317 --
25464 docs/reference/pygio-themedicon.xml | 204 --
25465 docs/reference/pygio-unixinputstream.xml | 202 --
25466 docs/reference/pygio-unixoutputstream.xml | 202 --
25467 docs/reference/pygio-volume.xml | 718 ----
25468 docs/reference/pygio-volumemonitor.xml | 844 -----
25469 docs/reference/pygiounix-classes.xml | 13 -
25470 docs/reference/pygobject-ref.xml | 2 -
25471 42 files changed, 1 insertion(+), 19020 deletions(-)
25473 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
25474 Author: John (J5) Palmieri <johnp@redhat.com>
25475 Date: Fri Feb 11 11:05:04 2011 -0500
25477 bump version to reflect the master branch moving towards pygobject 3.0
25479 * added NEWS file from branch pygobject-2-28
25481 * this branch will drop support for the static binding
25482 * use the pygobject-2-28 branch for static binding fixes
25485 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25486 configure.ac | 4 +-
25487 2 files changed, 291 insertions(+), 2 deletions(-)
25489 commit 16140237aa45b4f188923da9f95b9d2af971011b
25490 Author: John (J5) Palmieri <johnp@redhat.com>
25491 Date: Thu Feb 10 16:46:08 2011 -0500
25493 fix build to correctly use python-config
25496 configure.ac | 6 ------
25497 m4/python.m4 | 9 +++++----
25498 tests/runtests.py | 1 +
25499 4 files changed, 9 insertions(+), 10 deletions(-)
25501 commit c2079f415638ef892b1e51f25eaafa3e1621667f
25502 Author: Simon van der Linden <svdlinden@gnome.org>
25503 Date: Thu Feb 10 22:26:00 2011 +0100
25505 Add missing libraries to link against
25507 glib/Makefile.am | 2 +-
25508 gobject/Makefile.am | 1 +
25509 2 files changed, 2 insertions(+), 1 deletion(-)
25511 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
25512 Author: Steve Frécinaux <code@istique.net>
25513 Date: Wed Jan 19 15:00:56 2011 +0100
25515 Make runtests.py able to run command-line provided test files
25517 With this patch we are now able to run ./runtests.py <somefile>, which
25518 is more friendly than defining an environment variable to run some
25521 https://bugzilla.gnome.org/show_bug.cgi?id=639948
25523 tests/runtests.py | 9 +++++++++
25524 1 file changed, 9 insertions(+)
25526 commit 14c4cf8e6edae893538680964380d543bde4a14d
25527 Author: Martin Pitt <martin.pitt@ubuntu.com>
25528 Date: Wed Feb 9 11:34:59 2011 +0100
25530 Run test suite under dbus-launch
25532 When available, run the test suite in dbus-launch, so that the
25534 succeed even when building this in an environment without a running
25536 D-BUS (such as distribution package builds).
25538 tests/Makefile.am | 3 ++-
25539 1 file changed, 2 insertions(+), 1 deletion(-)
25541 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
25542 Author: Martin Pitt <martin.pitt@ubuntu.com>
25543 Date: Tue Feb 8 15:46:36 2011 +0100
25545 Fix test_gdbus.py to be Python3 friendly
25547 - TestCase.assert_() has been deprecated by assertTrue().
25548 - Exceptions don't have a message attribute any more, use str(e)
25550 tests/test_gdbus.py | 34 +++++++++++++++-------------------
25551 1 file changed, 15 insertions(+), 19 deletions(-)
25553 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
25554 Author: Martin Pitt <martin.pitt@ubuntu.com>
25555 Date: Sat Jan 29 12:20:50 2011 +0100
25557 [gi] Provide comfortable GSettings API
25559 Make Gio.Settings behave like a dictionary, with transparent
25561 GVariants. Also provide a more comfortable constructor.
25563 https://bugzilla.gnome.org/show_bug.cgi?id=640838
25565 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
25566 tests/org.gnome.test.gschema.xml | 9 +++++
25567 tests/test_overrides.py | 73
25568 ++++++++++++++++++++++++++++++++--------
25569 3 files changed, 122 insertions(+), 14 deletions(-)
25571 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
25572 Author: Laszlo Pandy <lpandy@src.gnome.org>
25573 Date: Fri Feb 4 16:36:07 2011 +0100
25575 Fix vfunc search bug when using GInterfaces and a do_* method.
25577 If a class inherits from a GInterface, as well as implements a do_*
25578 method (which is not in a super class), all the base interfaces
25579 will be searched for an __info__ attribute. GInterface doesn't
25580 have one, causing an error on class creation.
25582 https://bugzilla.gnome.org/show_bug.cgi?id=641493
25584 gi/types.py | 4 +++-
25585 tests/test_gi.py | 8 ++++++++
25586 2 files changed, 11 insertions(+), 1 deletion(-)
25588 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
25589 Author: Laszlo Pandy <lpandy@src.gnome.org>
25590 Date: Thu Feb 3 15:31:42 2011 +0100
25592 [GI] Add tests for Gtk.Widget.drag_* methods.
25594 Previously all the drag_* methods were accessible as Gtk.drag_*.
25595 Now that the (method) attribute has been included for these
25596 methods in Gtk+, this test checks that they are included as class
25597 methods when using pygobject introspection.
25599 https://bugzilla.gnome.org/show_bug.cgi?id=639945
25601 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
25602 1 file changed, 40 insertions(+)
25604 commit d57500537014b3da624be33b40401ba289fa22b8
25605 Author: John (J5) Palmieri <johnp@redhat.com>
25606 Date: Thu Feb 3 09:02:16 2011 -0500
25608 [gi] make caller allocates work again
25610 gi/pygi-cache.c | 18 +++---------------
25611 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
25612 2 files changed, 37 insertions(+), 18 deletions(-)
25614 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
25615 Author: John (J5) Palmieri <johnp@redhat.com>
25616 Date: Wed Feb 2 19:27:40 2011 -0500
25618 [gi] fix container object reffing
25620 gi/pygi-argument.c | 7 +++----
25621 gi/pygi-cache.c | 12 ++++--------
25622 2 files changed, 7 insertions(+), 12 deletions(-)
25624 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
25625 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25626 Date: Wed Feb 2 21:00:48 2011 +0100
25628 [python 3] use the right syntaxis to raise exceptions
25630 codegen/argtypes.py | 8 ++++----
25631 codegen/definitions.py | 14 +++++++-------
25632 gi/overrides/Gtk.py | 2 +-
25633 3 files changed, 12 insertions(+), 12 deletions(-)
25635 commit 36094e5982d3e05d5662843b6d401f0974f5235f
25636 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25637 Date: Wed Feb 2 20:50:12 2011 +0100
25639 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
25641 tests/testhelpermodule.c | 6 +++---
25642 1 file changed, 3 insertions(+), 3 deletions(-)
25644 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
25645 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25646 Date: Wed Feb 2 20:37:21 2011 +0100
25648 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
25650 This is to avoid some warnings when building with python 3
25652 gi/gimodule.c | 6 +++---
25653 1 file changed, 3 insertions(+), 3 deletions(-)
25655 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
25656 Author: Steve Frécinaux <code@istique.net>
25657 Date: Sat Jan 29 00:16:50 2011 +0100
25659 Fix wrong refcount when calling introspected widget constructors
25661 Introspected widget constructors, like Gtk.Button.new(), can return
25662 objects with a floating reference, which was then reffed by pygobject,
25663 resulting in two references, despite the object is not owned by
25666 This patch uses ref_sink() when pygobject takes its own reference, to
25667 avoid adding that extra reference. Hence we now claim ownership on
25668 objects returned by constructors with transfer=none (which is the case
25669 for nearly all the widget constructors, despite the floating ref).
25671 https://bugzilla.gnome.org/show_bug.cgi?id=640868
25673 gobject/pygobject.c | 4 +++-
25674 tests/test_everything.py | 9 ++++++++-
25675 2 files changed, 11 insertions(+), 2 deletions(-)
25677 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
25678 Author: Simon Schampijer <simon@laptop.org>
25679 Date: Wed Jan 19 16:19:46 2011 +0100
25681 Gdk.Window: Map the standard constructor to the *new* constructor
25683 Gdk.Window had to be made abstract
25684 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
25685 this override allows using the standard constructor
25687 This commit adds as well a testcase.
25689 https://bugzilla.gnome.org/show_bug.cgi?id=639936
25691 gi/overrides/Gdk.py | 6 ++++++
25692 tests/test_overrides.py | 8 ++++++++
25693 2 files changed, 14 insertions(+)
25695 commit 4a67f45880433905de33632fe0c32a13b44c0b33
25696 Author: John (J5) Palmieri <johnp@redhat.com>
25697 Date: Mon Jan 31 16:51:37 2011 -0500
25699 [gi] handle hash being NULL
25701 gi/pygi-argument.c | 6 ++++++
25702 1 file changed, 6 insertions(+)
25704 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
25705 Author: John (J5) Palmieri <johnp@redhat.com>
25706 Date: Mon Jan 31 16:50:52 2011 -0500
25708 [gi] handle the situation where an aux arg comes before its parent
25710 gi/pygi-cache.c | 70
25711 ++++++++++++++++++++++++++++++++++++++++----------------
25712 gi/pygi-invoke.c | 2 +-
25713 2 files changed, 51 insertions(+), 21 deletions(-)
25715 commit 858669f92c9907dd70b4966d6a8521ed122225be
25716 Author: Martin Pitt <martin.pitt@ubuntu.com>
25717 Date: Mon Jan 31 17:38:52 2011 +0100
25719 Ship tests/org.gnome.test.gschema.xml in dist tarballs
25721 tests/Makefile.am | 3 ++-
25722 1 file changed, 2 insertions(+), 1 deletion(-)
25724 commit 77d76df59606e470808085e977fb199cc76e8251
25725 Author: John (J5) Palmieri <johnp@redhat.com>
25726 Date: Sun Jan 30 18:21:24 2011 -0500
25728 [gi] allow caching and marshalling of ghash out
25730 gi/pygi-argument.c | 155
25731 +++++++++++++++++++++++++++++++++++++++++++++++++----
25732 gi/pygi-cache.c | 27 ++++++----
25733 2 files changed, 162 insertions(+), 20 deletions(-)
25735 commit bd66af67f248a3ca90d2fa2626605263c2392e16
25736 Author: John (J5) Palmieri <johnp@redhat.com>
25737 Date: Sun Jan 30 17:06:44 2011 -0500
25739 [gi] whitespace fixes
25741 gi/pygi-cache.c | 60
25742 ++++++++++++++++++++++++++++-----------------------------
25743 1 file changed, 30 insertions(+), 30 deletions(-)
25745 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
25746 Author: John (J5) Palmieri <johnp@redhat.com>
25747 Date: Sun Jan 30 17:04:13 2011 -0500
25749 [gi] added ugly aux arg counters
25751 * we need to simplify the ffi invoke so we can simply reference args
25752 at their position in the C parameter list
25753 * this works for now but is fragile if new aux values are added in
25756 gi/pygi-argument.c | 12 ++++++++--
25757 gi/pygi-cache.c | 66
25758 +++++++++++++++++++++++++++++++++++++-----------------
25759 gi/pygi-cache.h | 2 ++
25760 gi/pygi-invoke.c | 12 +++++++---
25761 4 files changed, 66 insertions(+), 26 deletions(-)
25763 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
25764 Author: John (J5) Palmieri <johnp@redhat.com>
25765 Date: Sun Jan 30 11:30:54 2011 -0500
25767 [gi] make inout marshalling work
25769 * refactor cache generation so we can create caches and then fill
25771 values based on if they are in, out or inout
25772 * in invoke we order the pointers based on their direction
25774 gi/pygi-cache.c | 1445
25775 ++++++++++++++++++++++++++----------------------------
25776 gi/pygi-invoke.c | 19 +-
25777 2 files changed, 711 insertions(+), 753 deletions(-)
25779 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
25780 Author: John (J5) Palmieri <johnp@redhat.com>
25781 Date: Sat Jan 29 13:49:36 2011 -0500
25783 [gi] marshal arrays out
25785 gi/pygi-argument.c | 101
25786 +++++++++++++++++++++++++++++++++++++++++++++++++++--
25787 1 file changed, 99 insertions(+), 2 deletions(-)
25789 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
25790 Author: John (J5) Palmieri <johnp@redhat.com>
25791 Date: Sat Jan 29 13:48:23 2011 -0500
25793 [gi] fix sequence caching to support out
25795 gi/pygi-cache.c | 111
25796 ++++++++++++++++++++++++++++++++++++++++++++------------
25797 1 file changed, 87 insertions(+), 24 deletions(-)
25799 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
25800 Author: Martin Pitt <martin.pitt@ubuntu.com>
25801 Date: Fri Jan 28 17:14:19 2011 +0100
25803 [gi] Add GSettings tests
25805 Ryan Lortie proposed an override for more convenient GSettings access,
25807 first make sure that the canonical GLib API works.
25809 tests/Makefile.am | 7 +++++--
25810 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
25811 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
25812 3 files changed, 52 insertions(+), 2 deletions(-)
25814 commit 488478a83640d50baee963337fcc870fec76b784
25815 Author: Martin Pitt <martin.pitt@ubuntu.com>
25816 Date: Fri Jan 28 07:20:26 2011 +0100
25818 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
25820 Provide an actual insert_with_tags_by_name() instead of overloading
25821 insert_with_tags() to handle both types. This keeps the overrides
25823 with the actual GTK API.
25825 gi/overrides/Gtk.py | 19 ++++++++++++++-----
25826 tests/test_overrides.py | 4 ++--
25827 2 files changed, 16 insertions(+), 7 deletions(-)
25829 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
25830 Author: Martin Pitt <martin.pitt@ubuntu.com>
25831 Date: Thu Jan 27 13:37:18 2011 +0100
25833 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
25835 Neither insert_with_tags() nor insert_with_tags_by_name() are
25837 due to using varargs. As both are useful, support both cases in
25840 gi/overrides/Gtk.py | 5 +++++
25841 tests/test_overrides.py | 9 +++++++++
25842 2 files changed, 14 insertions(+)
25844 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
25845 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25846 Date: Thu Jan 27 12:23:18 2011 +0100
25848 Add MAINTAINERCLEANFILES
25850 This var behaves like .gitignore and allows us to skip some specific
25853 Makefile.am | 27 +++++++++++++++++++++++++++
25854 1 file changed, 27 insertions(+)
25856 commit 8a98d26981ce68809a21c64cac4962e58c927905
25857 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25858 Date: Thu Jan 27 12:15:30 2011 +0100
25860 Remove .gitignore files and use git.mk
25862 git.mk is a script maintained in pango. From time to time we must
25863 check if it was updated and update it here.
25865 .gitignore | 46 -----------
25867 codegen/.gitignore | 2 -
25868 codegen/Makefile.am | 2 +
25869 docs/.gitignore | 7 --
25870 docs/Makefile.am | 2 +
25871 examples/Makefile.am | 2 +
25872 gi/.gitignore | 40 ----------
25873 gi/Makefile.am | 2 +
25874 gi/overrides/Makefile.am | 2 +
25875 gi/repository/Makefile.am | 2 +
25876 gi/tests/Makefile.am | 2 +
25878 ++++++++++++++++++++++++++++++++++++++++++++++
25879 glib/Makefile.am | 2 +
25880 gobject/.gitignore | 3 -
25881 gobject/Makefile.am | 2 +
25882 tests/.gitignore | 2 -
25883 tests/Makefile.am | 2 +
25884 18 files changed, 222 insertions(+), 100 deletions(-)
25886 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
25887 Author: Martin Pitt <martin.pitt@ubuntu.com>
25888 Date: Thu Jan 27 12:04:19 2011 +0100
25890 pygi-convert.sh: Convert Pango.TabAlign.*
25892 pygi-convert.sh | 1 +
25893 1 file changed, 1 insertion(+)
25895 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
25896 Author: Martin Pitt <martin.pitt@ubuntu.com>
25897 Date: Thu Jan 27 12:02:39 2011 +0100
25899 pygi-convert.sh: Drop window -> get_window() conversion
25901 It is doing more harm than good for projects which use things like
25904 pygi-convert.sh | 1 -
25905 1 file changed, 1 deletion(-)
25907 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
25908 Author: Martin Pitt <martin.pitt@ubuntu.com>
25909 Date: Thu Jan 27 11:58:26 2011 +0100
25911 pygi-convert.sh: Don't convert self.window assignments
25913 pygi-convert.sh | 2 +-
25914 1 file changed, 1 insertion(+), 1 deletion(-)
25916 commit 975341a26772966d4afc87a88a6a566d61237fa0
25917 Author: Steve Frécinaux <code@istique.net>
25918 Date: Fri Jan 21 18:41:54 2011 +0100
25920 Fix leaked python reference in python-defined subclasses
25922 https://bugzilla.gnome.org/show_bug.cgi?id=640184
25924 gobject/gobjectmodule.c | 1 +
25925 tests/test_gobject.py | 4 ++++
25926 2 files changed, 5 insertions(+)
25928 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
25929 Author: Steve Frécinaux <code@istique.net>
25930 Date: Fri Jan 21 15:54:43 2011 +0100
25932 Add some tests for the number of python refs held at creation time
25934 https://bugzilla.gnome.org/show_bug.cgi?id=640184
25936 tests/test_gobject.py | 21 +++++++++++++++++++++
25937 1 file changed, 21 insertions(+)
25939 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
25940 Author: Steve Frécinaux <code@istique.net>
25941 Date: Fri Jan 21 17:24:49 2011 +0100
25943 Factor out parameter marshalling from construction functions.
25945 https://bugzilla.gnome.org/show_bug.cgi?id=640197
25947 gobject/gobjectmodule.c | 35 ++--------------------
25948 gobject/pygobject-private.h | 5 ++++
25949 gobject/pygobject.c | 71
25950 +++++++++++++++++++++++++++------------------
25951 3 files changed, 50 insertions(+), 61 deletions(-)
25953 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
25954 Author: John (J5) Palmieri <johnp@redhat.com>
25955 Date: Wed Jan 26 15:34:24 2011 -0500
25957 [gi] in python 3 an array of uint8 can be bytes but not string
25959 tests/test_gi.py | 4 +++-
25960 1 file changed, 3 insertions(+), 1 deletion(-)
25962 commit 843553ea958eddec185bb660851a310dc050a14b
25963 Author: John (J5) Palmieri <johnp@redhat.com>
25964 Date: Wed Jan 26 15:30:06 2011 -0500
25966 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
25968 gi/overrides/Gio.py | 6 +++++-
25969 1 file changed, 5 insertions(+), 1 deletion(-)
25971 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
25972 Author: John (J5) Palmieri <johnp@redhat.com>
25973 Date: Wed Jan 26 15:17:03 2011 -0500
25975 [gi] python 3 fixes
25977 Patches need to work in Python 3 - here are some of the issues I
25979 Patch submitters should keep this in mind. When I note to only
25981 in tests it means that there is a compat module that is only available
25983 tests. Actuall code should either add the workaround to the top
25985 module or try not to have a distinction between things such as
25987 longs which no longer exist in Python 3
25989 * use range instead of xrange - loss of performance in Python 2 but
25991 treats range similarly to python 2's xrange
25992 * use dict.items() instead of dict.iteritems() - same as the xrange
25994 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
25996 if sys.version_info > (3, 0):
25998 return hasattr(obj, '__call__')
26000 * using unicode in tests is tricky, you can't use u'' even in
26002 conditional as python3's parser chokes on it. Do this in tests
26006 from compathelper import _unicode
26007 unicode_string = _unicode('this is a unicode string')
26009 * exception caching changed in 2.7, instead of except Exception,
26011 except Exception as e. Do this to be compatible with older
26015 etype, e = sys.exc_info()[:2]
26017 * Unbound methods with an im_func attribute no longer exits in 3.x.
26018 Unbound methods are now just functions so class.method in 3.x is
26019 equivalent to class.method.im_func in 2.x. If you have to go this
26022 func = class1.method
26023 if sys.version_info < (3,0):
26024 func = func.im_func
26026 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
26027 only in tests) do this:
26029 from compathelper import _long
26032 gi/overrides/GLib.py | 16 ++++++++--------
26033 gi/types.py | 5 ++++-
26034 tests/compathelper.py | 19 +++++++++++++++++++
26035 tests/test_gdbus.py | 12 ++++++++----
26036 tests/test_gi.py | 19 ++++++++++++-------
26037 tests/test_overrides.py | 8 +++++---
26038 6 files changed, 56 insertions(+), 23 deletions(-)
26040 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
26041 Author: John (J5) Palmieri <johnp@redhat.com>
26042 Date: Wed Jan 26 14:00:08 2011 -0500
26044 [gi] fix try/except blocks using depricated raise format
26046 gi/overrides/GLib.py | 4 ++--
26047 gi/overrides/Gdk.py | 2 +-
26048 2 files changed, 3 insertions(+), 3 deletions(-)
26050 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
26051 Author: Martin Pitt <martin.pitt@ubuntu.com>
26052 Date: Wed Jan 26 19:03:48 2011 +0100
26054 [gi] Add docstring to GLib.Variant constructor
26056 gi/overrides/GLib.py | 11 +++++++++++
26057 1 file changed, 11 insertions(+)
26059 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
26060 Author: Martin Pitt <martin.pitt@ubuntu.com>
26061 Date: Wed Jan 26 18:45:38 2011 +0100
26063 [gi] update gdbus test cases for previous GVariant change
26065 tests/test_gdbus.py | 4 ++--
26066 1 file changed, 2 insertions(+), 2 deletions(-)
26068 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
26069 Author: Martin Pitt <martin.pitt@ubuntu.com>
26070 Date: Wed Jan 26 18:39:17 2011 +0100
26072 [gi] Accept only a single object in GLib.Variant constructor
26074 We previously allowed flat arguments for tuple signatures, e. g.
26076 GLib.Variant('(ii)', 1, 2)
26078 However, that's not how GVariant is supposed to work. Remove the
26080 to handle flat argument lists, and only accept a single value, i. e.
26082 GLib.Variant('(ii)', (1, 2))
26084 Note that this breaks the current API, but as it is not used widely
26088 Thanks to Ryan Lortie for pointing this out!
26090 gi/overrides/GLib.py | 25 ++++++++++---------------
26091 tests/test_overrides.py | 32 +++++++++++++-------------------
26092 2 files changed, 23 insertions(+), 34 deletions(-)
26094 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
26095 Author: Laszlo Pandy <lpandy@src.gnome.org>
26096 Date: Wed Jan 26 00:40:49 2011 +0100
26098 Speed up _setup_native_vfuncs()
26100 This changes _setup_native_vfuncs() to only install native
26101 vfunc wrappers from the current class on the current class.
26102 Native vfuncs will not be propogated up or down the class
26103 hierarchy as this is unnecessary and wastes CPU and memory.
26105 Since the normal process in python to retrieve a method or
26106 attribute recurses to the base classes if an attribute is not
26107 found in the subclass, there is no need to setup all base class
26108 virtual functions on a subclass.
26110 This patch removes the recursion in _setup_native_vfuncs()
26111 and lets Python find them in the base classes like a normal
26112 Python class would work. This significantly increases the speed
26113 of any class which is or inherits from a C class which includes
26116 https://bugzilla.gnome.org/show_bug.cgi?id=640629
26118 gi/types.py | 26 +++++++++++++-------------
26119 tests/test_gi.py | 13 +++++++++++++
26120 2 files changed, 26 insertions(+), 13 deletions(-)
26122 commit 569d42ac2f50fb706ef289ff631db743483f40ee
26123 Author: Laszlo Pandy <lpandy@src.gnome.org>
26124 Date: Thu Jan 20 16:26:18 2011 +0100
26126 Speed up class creation: rewrite _setup_vfuncs() to be much more
26129 This patch rewrites the _setup_vfuncs() method to remove recursion and
26130 make the running time linear in the number of virtual functions to
26132 (ie. methods starting with "do_") instead of linear in the number of
26133 virtual functions in the base class which could possibly be
26136 Since most classes do not override all of the virtual functions in the
26137 base class (and many override none), this runs much faster.
26139 It is possible to not recurse on all base classes because
26141 base classes will have the virtual function installed as an attribute.
26142 Thus getattr() can be called, which recurses to the base classes much
26143 faster than a custom implementation in Python. If the method cannot be
26144 found with getattr(), all interface bases classes are searched
26147 The function is_function_in_classes() has been deleted. Because of the
26148 above changes, it is not used anymore.
26150 https://bugzilla.gnome.org/show_bug.cgi?id=640073
26153 ++++++++++++++++++++++++++++++++++---------------------
26154 tests/test_gi.py | 13 +++++++
26155 2 files changed, 77 insertions(+), 40 deletions(-)
26157 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
26158 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26159 Date: Mon Jan 24 19:23:19 2011 +0100
26161 pygi-convert.sh: Convert gtk.UI_MANAGER_*
26163 pygi-convert.sh | 1 +
26164 1 file changed, 1 insertion(+)
26166 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
26167 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26168 Date: Fri Jan 21 18:41:54 2011 +0100
26170 pygi-convert.sh: Convert gdk.GRAB_*
26172 pygi-convert.sh | 1 +
26173 1 file changed, 1 insertion(+)
26175 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
26176 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26177 Date: Fri Jan 21 16:45:07 2011 +0100
26179 [gi] set the gtype GValue correctly
26181 gi/pygi-property.c | 4 ++--
26182 1 file changed, 2 insertions(+), 2 deletions(-)
26184 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
26185 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26186 Date: Fri Jan 21 16:20:23 2011 +0100
26188 [gi] use the right argument type for callback
26190 gi/pygi-foreign-cairo.c | 8 ++++----
26191 gi/pygi-foreign-gvariant.c | 4 ++--
26192 gi/pygi-foreign-gvariant.h | 2 +-
26193 gi/pygi-foreign.c | 2 +-
26195 5 files changed, 9 insertions(+), 9 deletions(-)
26197 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
26198 Author: John (J5) Palmieri <johnp@redhat.com>
26199 Date: Fri Jan 21 09:23:54 2011 -0500
26201 [gi] marshal out flags and enum
26203 gi/pygi-argument.c | 14 +++++++++-----
26204 gi/pygi-cache.c | 24 ++++++++++++------------
26205 2 files changed, 21 insertions(+), 17 deletions(-)
26207 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
26208 Author: John (J5) Palmieri <johnp@redhat.com>
26209 Date: Fri Jan 21 08:18:37 2011 -0500
26211 [gi] marshal unions
26213 gi/pygi-cache.c | 27 +++++++++++++--------------
26214 1 file changed, 13 insertions(+), 14 deletions(-)
26216 commit a060287d1a6d190acb9d344f08fd5662e3296da5
26217 Author: Martin Pitt <martin.pitt@ubuntu.com>
26218 Date: Fri Jan 21 11:00:27 2011 +0100
26220 [gi] Add test cases for GDBus client operations
26222 tests/Makefile.am | 1 +
26223 tests/test_gdbus.py | 94
26224 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26225 2 files changed, 95 insertions(+)
26227 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
26228 Author: John (J5) Palmieri <johnp@redhat.com>
26229 Date: Fri Jan 21 04:28:15 2011 -0500
26231 [gi] error out if the constructor returns NULL
26233 gi/pygi-invoke.c | 7 +++++++
26234 1 file changed, 7 insertions(+)
26236 commit 58ff2b2c38c1004861083ca88633be76767229f0
26237 Author: John (J5) Palmieri <johnp@redhat.com>
26238 Date: Fri Jan 21 04:26:45 2011 -0500
26240 [gi] throw error for caller allocates until we can write code to
26243 gi/pygi-cache.c | 11 +++++++++++
26244 1 file changed, 11 insertions(+)
26246 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
26247 Author: John (J5) Palmieri <johnp@redhat.com>
26248 Date: Fri Jan 21 04:26:11 2011 -0500
26250 [gi] support struct out
26252 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
26253 gi/pygi-cache.c | 15 ++-------------
26254 2 files changed, 28 insertions(+), 17 deletions(-)
26256 commit 3133dc595adf44279397d30712c0f8595f0e1acc
26257 Author: John (J5) Palmieri <johnp@redhat.com>
26258 Date: Fri Jan 21 04:22:06 2011 -0500
26260 [gi] move to using type_info and interface_info instead of arg_info
26262 * only arguments have arg_infos, not return types and instances so
26263 type_info is much better to pass. In fact most API that took an
26264 arg_info simply converted it to a type_info
26265 * In the case of instances for methods we don't even have a type_info.
26266 Since all instances are interfaces, we also attach the
26268 to the interface cache
26270 gi/pygi-argument.c | 20 ++++----------------
26271 gi/pygi-cache.c | 43
26272 ++++++++++++++++++++++++++++++++-----------
26273 gi/pygi-cache.h | 4 +++-
26274 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
26275 gi/pygi-foreign-gvariant.c | 11 +++++------
26276 gi/pygi-foreign-gvariant.h | 10 +++++-----
26277 gi/pygi-foreign.c | 21 +++++++++------------
26278 gi/pygi-foreign.h | 6 +++---
26279 gi/pygi.h | 8 ++++----
26280 9 files changed, 77 insertions(+), 70 deletions(-)
26282 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
26283 Author: Martin Pitt <martin.pitt@ubuntu.com>
26284 Date: Fri Jan 21 09:54:14 2011 +0100
26286 [gi] Add Variant construction/unpack support for boxed Variants
26288 Construction uses a GVariantBuilder for now, as the new_variant()
26290 currently does not work (see
26291 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
26293 gi/overrides/GLib.py | 18 +++++++++++++++++-
26294 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
26295 2 files changed, 43 insertions(+), 1 deletion(-)
26297 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
26298 Merge: bc29600a bd002c72
26299 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26300 Date: Fri Jan 21 09:33:16 2011 +0100
26302 Merge branch 'windows-setup-fixes'
26304 commit bc29600a2a04c972ceab7ef8d3292e8633977591
26305 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
26306 Date: Thu Jan 20 19:48:23 2011 +0100
26308 pygi-convert.sh: GdkPixbuf methods
26312 pygi-convert.sh | 1 +
26313 1 file changed, 1 insertion(+)
26315 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
26316 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
26317 Date: Thu Jan 20 19:45:01 2011 +0100
26319 pygi-convert.sh: Gdk.COLORSPACE_RGB
26323 pygi-convert.sh | 1 +
26324 1 file changed, 1 insertion(+)
26326 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
26327 Author: Martin Pitt <martin.pitt@ubuntu.com>
26328 Date: Wed Jan 19 11:41:11 2011 +0100
26330 [gi] Support nested objects and empty sequences in GLib.Variant
26333 The GVariant constructor (in the overrides) previously did not
26335 arrays/dictionaries or nested structures. Rewrite the VariantCreator
26337 be fully recursive and determine the element types of
26338 arrays/dictionaries.
26340 This now also allows you to use actual tuples as input values for
26342 tuple types. Taking values from the flat argument list is still
26344 convenience, though.
26346 https://bugzilla.gnome.org/show_bug.cgi?id=639939
26348 gi/overrides/GLib.py | 229
26349 ++++++++++++++++++++++++++----------------------
26350 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
26351 2 files changed, 273 insertions(+), 115 deletions(-)
26353 commit ac095f5435f106e175fa3297cb273e63c85d2809
26354 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26355 Date: Thu Jan 20 15:55:45 2011 +0100
26357 Uncomment test_gi.TestInterfaceClash
26359 tests/test_gi.py | 22 +++++++++++-----------
26360 1 file changed, 11 insertions(+), 11 deletions(-)
26362 commit 1239f3709ba257c404dda72b7067b77b19c240fa
26363 Author: John (J5) Palmieri <johnp@redhat.com>
26364 Date: Thu Jan 20 09:05:02 2011 -0500
26366 [gi] add support for enum and flags
26368 gi/pygi-argument.c | 121
26369 +++++++++++++++++++++++++++++++++++++++++------------
26370 gi/pygi-cache.c | 30 ++++++-------
26371 2 files changed, 111 insertions(+), 40 deletions(-)
26373 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
26374 Author: Steve Frécinaux <code@istique.net>
26375 Date: Thu Jan 20 14:14:15 2011 +0100
26377 Fix reference leaks for GInitiallyUnowned objects
26379 References were leaked for GInitiallyUnowned objects which got their
26380 wrappers created several times, because someone else holds reference
26381 on it and it got out of python scope at some point.
26383 https://bugzilla.gnome.org/show_bug.cgi?id=639949
26385 gobject/gobjectmodule.c | 2 ++
26386 gobject/pygobject.c | 14 +++++------
26387 tests/test-floating.c | 36 +++++++++++++++++++++++++++
26388 tests/test-floating.h | 21 ++++++++++++++++
26389 tests/test_gobject.py | 63
26390 ++++++++++++++++++++++++++++++++++++++++++++++++
26391 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
26392 6 files changed, 179 insertions(+), 7 deletions(-)
26394 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
26395 Author: Steve Frécinaux <code@istique.net>
26396 Date: Wed Jan 19 16:57:57 2011 +0100
26398 Add tests for refcount of a GObject owned by a library
26400 When the object is constructed, its refcount is 2 because the library
26401 refs it once. It should remain around until we ask the library to
26402 release its reference.
26404 https://bugzilla.gnome.org/show_bug.cgi?id=639949
26406 tests/test-floating.c | 30 +++++++++++++++++++++++
26407 tests/test-floating.h | 20 ++++++++++++++++
26408 tests/test_gobject.py | 62
26409 ++++++++++++++++++++++++++++++++++++++++++++++++
26410 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
26411 4 files changed, 163 insertions(+)
26413 commit b6737b91938d527872eff1d645a205cacf94e15d
26414 Author: Steve Frécinaux <code@istique.net>
26415 Date: Wed Jan 19 14:52:41 2011 +0100
26417 Add a test to check for regular object reference count
26419 https://bugzilla.gnome.org/show_bug.cgi?id=639949
26421 tests/test_gobject.py | 8 +++++++-
26422 1 file changed, 7 insertions(+), 1 deletion(-)
26424 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
26425 Author: Martin Pitt <martin.pitt@ubuntu.com>
26426 Date: Thu Jan 20 14:15:52 2011 +0100
26428 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
26430 GTK master now landed a lot of annotation fixes which also correctly
26432 array length argument of
26433 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
26434 drop the explicit array length argument from the call in the override.
26436 gi/overrides/Gtk.py | 2 --
26437 1 file changed, 2 deletions(-)
26439 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
26440 Author: Steve Frécinaux <code@istique.net>
26441 Date: Wed Jan 19 18:04:10 2011 +0100
26443 Fix a typo in a private symbol name.
26445 gobject/gobjectmodule.c | 6 +++---
26446 1 file changed, 3 insertions(+), 3 deletions(-)
26448 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
26449 Author: Martin Pitt <martin.pitt@ubuntu.com>
26450 Date: Thu Jan 20 11:49:08 2011 +0100
26452 pygi-convert.sh: Convert glib.source_remove()
26454 pygi-convert.sh | 1 +
26455 1 file changed, 1 insertion(+)
26457 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
26458 Author: Martin Pitt <martin.pitt@ubuntu.com>
26459 Date: Thu Jan 20 11:42:34 2011 +0100
26461 Fix typo in previous commit to actually convert glib.GError
26463 pygi-convert.sh | 2 +-
26464 1 file changed, 1 insertion(+), 1 deletion(-)
26466 commit b238cb614338f46e6feb7935cca0a55c7a929418
26467 Author: Martin Pitt <martin.pitt@ubuntu.com>
26468 Date: Thu Jan 20 11:40:14 2011 +0100
26470 pygi-convert.sh: Move some glib bits which are better handled
26473 pygi-convert.sh | 3 +++
26474 1 file changed, 3 insertions(+)
26476 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
26477 Author: Laszlo Pandy <lpandy@src.gnome.org>
26478 Date: Wed Jan 19 12:00:02 2011 +0100
26480 Modify override for Gtk.Adjustment to allow position or keyword
26481 arguments in __init__().
26483 Previously passing no arguments was not working, because the default
26484 value for each parameter was None, and GObject.__init__() refuses to
26485 allow None for integer properties. This patch does not pass None up
26486 to GObject.__init__. Instead it does not pass the parameter at all,
26487 and uses the class's default values.
26489 https://bugzilla.gnome.org/show_bug.cgi?id=639934
26491 gi/overrides/Gtk.py | 14 ++++++++++++--
26492 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
26493 2 files changed, 39 insertions(+), 9 deletions(-)
26495 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
26496 Author: Martin Pitt <martin.pitt@ubuntu.com>
26497 Date: Wed Jan 19 22:52:51 2011 +0100
26499 [gi] Fix small typo in previous commit
26501 The GVariant signature of the self test had a trailing 'i'. The
26503 GVariant builder doesn't mind, but the new implementation proposed
26507 tests/test_overrides.py | 2 +-
26508 1 file changed, 1 insertion(+), 1 deletion(-)
26510 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
26511 Author: Martin Pitt <martin.pitt@ubuntu.com>
26512 Date: Wed Jan 19 20:18:19 2011 +0100
26514 [gi] Add pythonic iterator and indexing for string GVariants
26516 This extends commit b1a98083c to also work for strings.
26518 gi/overrides/GLib.py | 8 +++++++-
26519 tests/test_overrides.py | 13 +++++++++++++
26520 2 files changed, 20 insertions(+), 1 deletion(-)
26522 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
26523 Author: John (J5) Palmieri <johnp@redhat.com>
26524 Date: Wed Jan 19 14:08:03 2011 -0500
26526 [gi] return NULL if out_marshaller fails
26528 gi/pygi-invoke.c | 5 +++++
26529 1 file changed, 5 insertions(+)
26531 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
26532 Author: John (J5) Palmieri <johnp@redhat.com>
26533 Date: Wed Jan 19 13:57:54 2011 -0500
26535 [gi] fix some transfer issues and test case failures
26537 gi/pygi-argument.c | 4 ++++
26538 gi/pygi-cache.c | 11 ++++++++---
26539 gi/pygi-invoke.c | 17 +++++++++--------
26540 3 files changed, 21 insertions(+), 11 deletions(-)
26542 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
26543 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26544 Date: Wed Jan 19 18:09:23 2011 +0100
26546 Construct structs using default API constructor
26548 If the struct has something that looks like a default constructor,
26549 use it instead of trying to directly allocate it, as it will fail
26550 if the struct fields are not exposed.
26552 https://bugzilla.gnome.org/show_bug.cgi?id=627444
26554 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
26555 gi/types.py | 7 +++++++
26556 2 files changed, 44 insertions(+)
26558 commit db7300e173388d9557dcd2333781bfaa6b021605
26559 Author: Martin Pitt <martin.pitt@ubuntu.com>
26560 Date: Wed Jan 19 18:54:39 2011 +0100
26562 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
26564 pygi-convert.sh | 2 ++
26565 1 file changed, 2 insertions(+)
26567 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
26568 Author: Martin Pitt <martin.pitt@ubuntu.com>
26569 Date: Wed Jan 19 18:43:29 2011 +0100
26571 pygi-convert.sh: Handle .window attributes
26573 In general, convert them to .get_window(). For some of them, prefer
26575 GtkWidget methods instead.
26577 pygi-convert.sh | 5 ++++-
26578 1 file changed, 4 insertions(+), 1 deletion(-)
26580 commit b1049b947d073fb569ba900a4d5c8519482d831e
26581 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26582 Date: Wed Jan 19 17:35:09 2011 +0100
26584 Also deal with foreign boxed structs
26586 cairo.Context has been boxed and our tests started failing
26588 https://bugzilla.gnome.org/show_bug.cgi?id=639967
26590 gi/pygi-argument.c | 4 ++--
26591 1 file changed, 2 insertions(+), 2 deletions(-)
26593 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
26594 Author: Laszlo Pandy <lpandy@src.gnome.org>
26595 Date: Wed Jan 19 17:45:11 2011 +0100
26597 [gi] Convert GErrors to GObject.GError exceptions, and throw them
26598 upon returning from calling the C function.
26600 This changes gi to make use of pyglib_error_check() which already
26603 The included tests make use of the other patch attached to this bug,
26604 to check that the right exception is thrown from the new function
26605 in GIMarshallingTests.
26606 two Gtk C functions.
26608 https://bugzilla.gnome.org/show_bug.cgi?id=639834
26610 gi/Makefile.am | 3 ++-
26611 gi/pygi-invoke.c | 12 +++---------
26612 tests/test_gi.py | 10 ++++++++++
26613 3 files changed, 15 insertions(+), 10 deletions(-)
26615 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
26616 Author: John (J5) Palmieri <johnp@redhat.com>
26617 Date: Wed Jan 19 12:05:45 2011 -0500
26619 [gi] fix out marshalling for a couple of int types
26621 gi/pygi-argument.c | 2 +-
26622 gi/pygi-cache.c | 2 +-
26623 2 files changed, 2 insertions(+), 2 deletions(-)
26625 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
26626 Author: John (J5) Palmieri <johnp@redhat.com>
26627 Date: Wed Jan 19 11:59:09 2011 -0500
26629 [gi] fixed range checking and type conversion with unsigned and
26632 gi/pygi-argument.c | 90
26633 +++++++++++++++++++++++++++++++++++++++++++++---------
26634 gi/pygi-cache.c | 2 +-
26635 2 files changed, 76 insertions(+), 16 deletions(-)
26637 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
26638 Author: Martin Pitt <martin.pitt@ubuntu.com>
26639 Date: Wed Jan 19 17:03:06 2011 +0100
26641 pygi-convert.sh: Don't convert glib -> GLib for now
26643 This currently leads to a load of crashes, MemoryErrors, etc, as
26645 very well introspectable, due to the low-level operations that
26648 John Palmieri confirms that using the static "glib" binding is
26650 now, so disable the replacement rules.
26652 pygi-convert.sh | 19 ++++++++++---------
26653 1 file changed, 10 insertions(+), 9 deletions(-)
26655 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
26656 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26657 Date: Wed Jan 19 16:47:08 2011 +0100
26659 Link libregress.so to GIO_LIBS again
26661 configure.ac | 5 +++++
26662 1 file changed, 5 insertions(+)
26664 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
26665 Author: Laszlo Pandy <lpandy@src.gnome.org>
26666 Date: Wed Jan 19 16:14:42 2011 +0100
26668 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
26670 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
26671 because in Python attributes starting with a numeral causes a
26674 gi/overrides/Gdk.py | 7 +++++--
26675 1 file changed, 5 insertions(+), 2 deletions(-)
26677 commit 4f5d20966d4a8c649e5fae584039621edab178f3
26678 Author: John (J5) Palmieri <johnp@redhat.com>
26679 Date: Wed Jan 19 10:02:40 2011 -0500
26681 [gi] use correct format stings when setting errors
26683 gi/pygi-argument.c | 12 ++++++------
26684 1 file changed, 6 insertions(+), 6 deletions(-)
26686 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
26687 Author: John (J5) Palmieri <johnp@redhat.com>
26688 Date: Wed Jan 19 09:45:09 2011 -0500
26690 [gi] allow marshalling strings as None
26692 gi/pygi-argument.c | 5 +++++
26693 1 file changed, 5 insertions(+)
26695 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
26696 Author: John (J5) Palmieri <johnp@redhat.com>
26697 Date: Wed Jan 19 09:41:56 2011 -0500
26699 [gi] make error messages more detailed
26701 gi/pygi-argument.c | 2 +-
26702 gi/pygi-cache.c | 18 +++++++++---------
26703 2 files changed, 10 insertions(+), 10 deletions(-)
26705 commit f0b17605ed2eb917b350654b070984beb553eae3
26706 Author: John (J5) Palmieri <johnp@redhat.com>
26707 Date: Wed Jan 19 09:41:13 2011 -0500
26709 [gi] allow marshalling None for hashes
26711 gi/pygi-argument.c | 5 +++++
26712 1 file changed, 5 insertions(+)
26714 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
26715 Author: John (J5) Palmieri <johnp@redhat.com>
26716 Date: Wed Jan 19 09:40:37 2011 -0500
26718 [gi] add marshalling to some out values
26720 gi/pygi-argument.c | 50
26721 +++++++++++++++++++++++++++++++++++++++++---------
26722 1 file changed, 41 insertions(+), 9 deletions(-)
26724 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
26725 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26726 Date: Wed Jan 19 15:27:33 2011 +0100
26728 [gi] Fixed typo in exception
26730 gi/overrides/Gtk.py | 2 +-
26731 1 file changed, 1 insertion(+), 1 deletion(-)
26733 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
26734 Author: John (J5) Palmieri <johnp@redhat.com>
26735 Date: Wed Jan 19 09:13:44 2011 -0500
26737 [gi] fix marshalling structs
26739 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
26740 gi/pygi-foreign.c | 18 ++++++++++++------
26741 gi/pygi-foreign.h | 8 ++++----
26742 3 files changed, 51 insertions(+), 22 deletions(-)
26744 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
26745 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26746 Date: Wed Jan 19 15:12:25 2011 +0100
26748 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
26750 gi/overrides/Gdk.py | 4 ++--
26751 1 file changed, 2 insertions(+), 2 deletions(-)
26753 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
26754 Author: Martin Pitt <martin.pitt@ubuntu.com>
26755 Date: Wed Jan 19 14:54:57 2011 +0100
26757 Revert "Fix Pango FontDescription override"
26760 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
26761 the default constructor actually does take no arguments; we should
26763 the MemoryError. Add a test case for this.
26765 Remove the FIXME though, as pango_font_description_from_string()
26767 FontDescription constructor, but a static factory method.
26769 Thanks to Paolo Borelli for pointing this out!
26771 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
26773 gi/overrides/Pango.py | 5 ++++-
26774 tests/test_overrides.py | 5 +++++
26775 2 files changed, 9 insertions(+), 1 deletion(-)
26777 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
26778 Author: Tony Young <rofflwaffls@gmail.com>
26779 Date: Thu Dec 16 23:39:33 2010 +0000
26781 Python iterator interface support for GFileEnumerator.
26783 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
26784 gi/overrides/Makefile.am | 1 +
26785 tests/test_overrides.py | 20 ++++++++++++++++++++
26786 3 files changed, 62 insertions(+)
26788 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
26789 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26790 Date: Fri Jan 7 12:10:37 2011 +0100
26792 Remove gio static bindings
26794 https://bugzilla.gnome.org/show_bug.cgi?id=638899
26797 configure.ac | 25 -
26798 gio/.gitignore | 3 -
26799 gio/Makefile.am | 117 -
26800 gio/__init__.py | 40 -
26801 gio/gappinfo.override | 213 --
26802 gio/gapplaunchcontext.override | 99 -
26803 gio/gbufferedinputstream.override | 70 -
26804 gio/gcancellable.override | 38 -
26805 gio/gdatainputstream.override | 250 --
26806 gio/gdrive.override | 347 --
26807 gio/gfile.override | 2215 -----------
26808 gio/gfileattribute.override | 153 -
26809 gio/gfileenumerator.override | 184 -
26810 gio/gfileinfo.override | 121 -
26811 gio/gfileinputstream.override | 68 -
26812 gio/gfileiostream.override | 68 -
26813 gio/gfileoutputstream.override | 68 -
26814 gio/gicon.override | 310 --
26815 gio/ginputstream.override | 344 --
26816 gio/gio-types.defs | 807 ----
26817 gio/gio.defs | 7465
26818 -------------------------------------
26819 gio/gio.override | 409 --
26820 gio/giomodule.c | 208 --
26821 gio/giostream.override | 68 -
26822 gio/gmemoryinputstream.override | 91 -
26823 gio/gmemoryoutputstream.override | 45 -
26824 gio/gmount.override | 454 ---
26825 gio/goutputstream.override | 292 --
26826 gio/gresolver.override | 312 --
26827 gio/gsocket.override | 575 ---
26828 gio/gvolume.override | 237 --
26829 gio/gvolumemonitor.override | 94 -
26830 gio/pygio-utils.c | 236 --
26831 gio/pygio-utils.h | 49 -
26832 gio/unix-types.defs | 55 -
26833 gio/unix.defs | 475 ---
26834 gio/unix.override | 62 -
26835 gio/unixmodule.c | 52 -
26836 tests/Makefile.am | 9 -
26837 tests/runtests-windows.py | 3 -
26838 tests/test_gcancellable.py | 15 -
26839 tests/test_gicon.py | 112 -
26840 tests/test_gio.py | 1138 ------
26841 tests/test_gresolver.py | 68 -
26842 tests/test_gsocket.py | 126 -
26843 46 files changed, 1 insertion(+), 18191 deletions(-)
26845 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
26846 Author: John (J5) Palmieri <johnp@redhat.com>
26847 Date: Wed Jan 19 07:56:16 2011 -0500
26849 [gi] switch from using (*arg). to arg-> when referencing union
26852 gi/pygi-argument.c | 54
26853 +++++++++++++++++++++++++++---------------------------
26854 1 file changed, 27 insertions(+), 27 deletions(-)
26856 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
26857 Author: John (J5) Palmieri <johnp@redhat.com>
26858 Date: Wed Jan 19 07:49:52 2011 -0500
26860 [gi] return FALSE when setting errors in the marshaller
26862 gi/pygi-argument.c | 3 ++-
26863 1 file changed, 2 insertions(+), 1 deletion(-)
26865 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
26866 Author: John (J5) Palmieri <johnp@redhat.com>
26867 Date: Wed Jan 19 07:14:18 2011 -0500
26869 [gi] do arg counting in new invoke
26871 gi/pygi-cache.c | 2 ++
26872 gi/pygi-cache.h | 14 ++++++++------
26873 gi/pygi-invoke-state-struct.h | 2 +-
26874 gi/pygi-invoke.c | 20 +++++++++++++++++++-
26875 4 files changed, 30 insertions(+), 8 deletions(-)
26877 commit f45033858bed70d7defec3f71f26aa5b3999d680
26878 Author: John (J5) Palmieri <johnp@redhat.com>
26879 Date: Wed Jan 19 06:35:45 2011 -0500
26881 [gi] set length for uint8 in arrays in new invoke marshaller
26883 gi/pygi-argument.c | 1 +
26884 1 file changed, 1 insertion(+)
26886 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
26887 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26888 Date: Wed Jan 19 12:04:15 2011 +0100
26890 [gi] set length when marshalling guint8 erases
26892 gi/pygi-argument.c | 1 +
26893 tests/test_gi.py | 4 ++++
26894 2 files changed, 5 insertions(+)
26896 commit 22eee43e50a150ace80694213fb87be9f0c72f51
26897 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26898 Date: Wed Jan 19 10:27:47 2011 +0100
26900 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
26902 pygi-convert.sh | 1 +
26903 1 file changed, 1 insertion(+)
26905 commit a4b210d69c832629894090b7154ae194209b0c60
26906 Author: Arnaud Charlet <charlet@adacore.com>
26907 Date: Tue Jan 18 18:31:29 2011 +0100
26909 Disable calls to PyGILState_* when threads are disabled
26911 Since threads may also be disabled in Python too, those symbols
26915 https://bugzilla.gnome.org/show_bug.cgi?id=374603
26917 glib/pyglib.c | 12 ++++++++++++
26918 gobject/pygobject-private.h | 6 ++++++
26919 2 files changed, 18 insertions(+)
26921 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
26922 Author: John (J5) Palmieri <johnp@redhat.com>
26923 Date: Tue Jan 18 12:31:57 2011 -0500
26925 [gi] fix handling of garrays vs c arrays
26927 gi/pygi-argument.c | 9 +++++++--
26928 gi/pygi-cache.c | 2 ++
26929 gi/pygi-cache.h | 1 +
26930 3 files changed, 10 insertions(+), 2 deletions(-)
26932 commit a000627ec3904b9414ce375aec8d144fc0c26248
26933 Author: Martin Pitt <martin.pitt@ubuntu.com>
26934 Date: Tue Jan 18 18:29:50 2011 +0100
26936 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
26937 these should be ported properly
26939 pygi-convert.sh | 1 -
26940 1 file changed, 1 deletion(-)
26942 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
26943 Author: Martin Pitt <martin.pitt@ubuntu.com>
26944 Date: Tue Jan 18 18:26:01 2011 +0100
26946 pygi-convert.sh: Fix match for adding missing imports
26948 pygi-convert.sh | 8 ++++----
26949 1 file changed, 4 insertions(+), 4 deletions(-)
26951 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
26952 Author: Martin Pitt <martin.pitt@ubuntu.com>
26953 Date: Tue Jan 18 18:09:30 2011 +0100
26955 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
26957 As we are not replacing line by line, but the whole file at once,
26959 hackish unfortunately. We can't use a match test or a lookahead/behind
26962 pygi-convert.sh | 5 +++--
26963 1 file changed, 3 insertions(+), 2 deletions(-)
26965 commit f66051380c0432bf142774542ade2144adcd455e
26966 Author: John (J5) Palmieri <johnp@redhat.com>
26967 Date: Tue Jan 18 11:44:27 2011 -0500
26969 [gi] use correct union memeber when marshalling floats
26971 gi/pygi-argument.c | 2 +-
26972 1 file changed, 1 insertion(+), 1 deletion(-)
26974 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
26975 Author: Laszlo Pandy <lpandy@src.gnome.org>
26976 Date: Tue Jan 18 17:29:52 2011 +0100
26978 Remove trailing whitespace from gi/overrides/Gtk.py
26980 gi/overrides/Gtk.py | 10 +++++-----
26981 1 file changed, 5 insertions(+), 5 deletions(-)
26983 commit 1006df1929a667716c25e74b35b8f14643358732
26984 Author: John (J5) Palmieri <johnp@redhat.com>
26985 Date: Tue Jan 18 11:24:06 2011 -0500
26987 [gi] fix constructor invoking and add some support for interface
26990 * constructors are now simplified and are treated like normal
26992 which happen to return an instance
26994 gi/pygi-argument.c | 8 ++--
26995 gi/pygi-cache.c | 132
26996 +++++++++++++++++++++++++++++++++++++++++++++++++++--
26997 gi/pygi-invoke.c | 9 ++--
26998 gi/types.py | 21 +++------
26999 4 files changed, 142 insertions(+), 28 deletions(-)
27001 commit 8878c57676091c08e66bc6cbe735d898cb420582
27002 Author: Martin Pitt <martin.pitt@ubuntu.com>
27003 Date: Tue Jan 18 16:47:10 2011 +0100
27005 Fix Pango FontDescription override
27007 Trying to call __new__() on a record crashes with a MemoryError,
27009 the intended static factory method for a None argument as well
27013 gi/overrides/Pango.py | 7 +------
27014 1 file changed, 1 insertion(+), 6 deletions(-)
27016 commit efbbe71634037fa100b17327389b883b259cca54
27017 Author: Martin Pitt <martin.pitt@ubuntu.com>
27018 Date: Tue Jan 18 16:23:39 2011 +0100
27020 tests: Respect existing $GI_TYPELIB_PATH
27022 This allows us to run the test suite against local typelibs.
27024 tests/Makefile.am | 2 +-
27025 1 file changed, 1 insertion(+), 1 deletion(-)
27027 commit c96ca383350e5b9b079d9a86464922314939c006
27028 Author: John (J5) Palmieri <johnp@redhat.com>
27029 Date: Tue Jan 18 07:16:40 2011 -0500
27031 [gi] fix aux value offsets for methods and element size crashers
27033 * if the callable is a method we need to add 1 to the aux index
27034 for in values so we grab the right argument cache
27035 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
27038 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
27039 1 file changed, 24 insertions(+), 18 deletions(-)
27041 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
27042 Merge: 84d6142c 7d997b6f
27043 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27044 Date: Tue Jan 18 13:14:45 2011 +0100
27046 Merge branch 'value'
27048 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
27049 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27050 Date: Tue Jan 18 13:12:36 2011 +0100
27052 GTK overrides: Do type conversion to column types of ListStore and
27053 TreeStore in set_value
27055 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
27056 tests/test_overrides.py | 12 +++++++++++-
27057 2 files changed, 29 insertions(+), 11 deletions(-)
27059 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
27060 Author: Steve Frécinaux <code@istique.net>
27061 Date: Mon Jan 17 18:57:58 2011 +0100
27063 Always register a new GType when a GObject class is subclassed
27065 This patch makes the GType <-> python mapping much more predictible,
27066 and fixes the bug caused by overriding methods without specifying a
27067 __gtype_name__ member in the subclass, and makes type_register useless
27070 It is still possible to provide an explicit __gtype_name__ member
27072 subclass as it allows having a predictible GType name, which is handy
27073 for some of our tests. There is also an explicit special case for
27074 overrides because we obviously do not want to register new GTypes for
27075 those ones as it would clearly defeat the purpose of overrides.
27077 https://bugzilla.gnome.org/show_bug.cgi?id=543056
27079 gobject/__init__.py | 6 +++---
27080 tests/test_gi.py | 21 ++-------------------
27081 2 files changed, 5 insertions(+), 22 deletions(-)
27083 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
27084 Author: Simon van der Linden <svdlinden@gnome.org>
27085 Date: Tue Jan 18 12:57:13 2011 +0100
27087 Raise required versions of GLib and GObject-Introspection
27089 https://bugzilla.gnome.org/show_bug.cgi?id=612126
27091 configure.ac | 6 +++---
27092 1 file changed, 3 insertions(+), 3 deletions(-)
27094 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
27095 Author: Martin Pitt <martin.pitt@ubuntu.com>
27096 Date: Tue Jan 18 12:52:32 2011 +0100
27098 pygi-convert.sh: Handle keysyms
27100 pygi-convert.sh | 1 +
27101 1 file changed, 1 insertion(+)
27103 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
27104 Author: Martin Pitt <martin.pitt@ubuntu.com>
27105 Date: Tue Jan 18 12:14:09 2011 +0100
27107 GLib overrides: Add test case for array variant building
27109 tests/test_overrides.py | 7 +++++++
27110 1 file changed, 7 insertions(+)
27112 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
27113 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27114 Date: Tue Jan 18 10:21:03 2011 +0100
27116 Remove cairo.RectangleInt from the foreign module
27118 https://bugzilla.gnome.org/show_bug.cgi?id=639824
27120 gi/pygi-foreign-cairo.c | 96
27121 -------------------------------------------------
27122 1 file changed, 96 deletions(-)
27124 commit 017680c9a5e163021628bf29543598861a3b600a
27125 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27126 Date: Tue Jan 18 10:20:25 2011 +0100
27128 Dont try to guess the transfer if its a boxed
27130 https://bugzilla.gnome.org/show_bug.cgi?id=639823
27132 gi/pygi-invoke.c | 5 ++++-
27133 1 file changed, 4 insertions(+), 1 deletion(-)
27135 commit 771ef76574690eb98926249f38661d741d1ebbb0
27136 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27137 Date: Tue Jan 18 12:02:01 2011 +0100
27139 The tags can be Empty not None.
27141 gi/overrides/Gtk.py | 2 +-
27142 1 file changed, 1 insertion(+), 1 deletion(-)
27144 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
27145 Author: Martin Pitt <martin.pitt@ubuntu.com>
27146 Date: Tue Jan 18 12:01:28 2011 +0100
27148 Add Pythonic iterators and indexing to GVariant
27150 Add the usual set of iterators and index accessors to GLib.Variant
27152 which are containers.
27154 Add corresponding test cases.
27156 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
27157 tests/test_overrides.py | 55
27158 +++++++++++++++++++++++++++++++++++++++++++++++++
27159 2 files changed, 105 insertions(+)
27161 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
27162 Author: Martin Pitt <martin.pitt@ubuntu.com>
27163 Date: Tue Jan 18 10:48:03 2011 +0100
27165 Add GLib.Variant.unpack()
27167 This method decomposes a GLib.Variant into a native Python object,
27169 counterpart of _VariantCreator. This makes it a lot nicer for
27171 developers to use e. g. return values from gdbus calls.
27173 Add appropriate test case.
27175 gi/overrides/GLib.py | 45
27176 +++++++++++++++++++++++++++++++++++++++++++++
27177 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
27178 2 files changed, 77 insertions(+), 1 deletion(-)
27180 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
27181 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27182 Date: Tue Jan 18 10:56:18 2011 +0100
27184 Add override for gtk_text_buffer_insert_with_tags
27186 gi/overrides/Gtk.py | 12 ++++++++++++
27187 tests/test_overrides.py | 6 ++++++
27188 2 files changed, 18 insertions(+)
27190 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
27191 Author: Simon van der Linden <svdlinden@gnome.org>
27192 Date: Mon Jan 17 14:35:14 2011 +0100
27194 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
27196 https://bugzilla.gnome.org/show_bug.cgi?id=620215
27198 gi/Makefile.am | 6 ++++--
27199 gio/Makefile.am | 2 +-
27200 glib/Makefile.am | 2 +-
27201 m4/python.m4 | 7 +++++--
27202 tests/Makefile.am | 2 +-
27203 5 files changed, 12 insertions(+), 7 deletions(-)
27205 commit bceec758b27e6c396d17a79424633b5dc9116f54
27206 Author: Simon van der Linden <svdlinden@gnome.org>
27207 Date: Mon Jan 17 14:20:55 2011 +0100
27209 Kill JD_CHECK_PYTHON_HEADERS
27211 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
27213 https://bugzilla.gnome.org/show_bug.cgi?id=620215
27215 configure.ac | 2 +-
27216 m4/python.m4 | 31 +------------------------------
27217 2 files changed, 2 insertions(+), 31 deletions(-)
27219 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
27220 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27221 Date: Mon Jan 17 19:09:27 2011 +0100
27223 Revert "Override Gtk.Box.pack_start and pack_end to set default
27224 values to be compliant with pygtk"
27226 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
27230 gi/overrides/Gtk.py
27232 gi/overrides/Gtk.py | 10 ----------
27233 1 file changed, 10 deletions(-)
27235 commit 4fbae9629adc166627de05bb0946b71485343d69
27236 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27237 Date: Mon Jan 17 19:08:23 2011 +0100
27239 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
27240 default values to be compliant with pygtk"
27242 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
27244 gi/overrides/Gtk.py | 13 ++-----------
27245 1 file changed, 2 insertions(+), 11 deletions(-)
27247 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
27248 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27249 Date: Mon Jan 17 19:08:06 2011 +0100
27251 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
27252 set_cell_data_func to add default values to be compliant with pygtk"
27254 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
27256 gi/overrides/Gtk.py | 9 ---------
27257 1 file changed, 9 deletions(-)
27259 commit 2d9534f347505573da46743b47318e08bf073aef
27260 Author: Martin Pitt <martin.pitt@ubuntu.com>
27261 Date: Mon Jan 17 18:54:10 2011 +0100
27263 pygi-convert.sh: Handle gtk.combo_box_new_text()
27265 pygi-convert.sh | 1 +
27266 1 file changed, 1 insertion(+)
27268 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
27269 Author: John (J5) Palmieri <johnp@redhat.com>
27270 Date: Mon Jan 17 12:31:03 2011 -0500
27274 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
27275 gi/pygi-cache.c | 80
27276 +++++++++++++++++++++++++++++++++++++++++-------------
27277 gi/pygi-cache.h | 13 +++++++--
27278 gi/pygi-invoke.c | 2 +-
27279 4 files changed, 138 insertions(+), 25 deletions(-)
27281 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
27282 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27283 Date: Mon Jan 17 16:57:53 2011 +0100
27285 Override TreeSortable.set_sort_func and set_default_sort_func to
27286 add default values to be pygtk compliant
27288 gi/overrides/Gtk.py | 6 ++++++
27289 1 file changed, 6 insertions(+)
27291 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
27292 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27293 Date: Mon Jan 17 16:29:28 2011 +0100
27295 Override Gtk.TreeViewColumn.pack_start, pack_end and
27296 set_cell_data_func to add default values to be compliant with pygtk
27298 gi/overrides/Gtk.py | 9 +++++++++
27299 1 file changed, 9 insertions(+)
27301 commit 232841148f35684be83a2f47b5b18da4fb74f63a
27302 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27303 Date: Mon Jan 17 16:28:51 2011 +0100
27305 Override Gtk.CellLayout.pack_start and pack_end to add default values
27306 to be compliant with pygtk
27308 gi/overrides/Gtk.py | 13 +++++++++++--
27309 1 file changed, 11 insertions(+), 2 deletions(-)
27311 commit 1dec12826753756fcadefc8ef8c756fc902c320b
27312 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27313 Date: Mon Jan 17 15:54:32 2011 +0100
27315 Override Gtk.Paned pack1 and pack2 to add default values to be
27316 compliant with pygtk
27318 gi/overrides/Gtk.py | 10 ++++++++++
27319 1 file changed, 10 insertions(+)
27321 commit a8c727b9c4195d8085a45661683a18614ae84485
27322 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27323 Date: Mon Jan 17 15:46:25 2011 +0100
27325 Override Gtk.Box.pack_start and pack_end to set default values to
27326 be compliant with pygtk
27328 gi/overrides/Gtk.py | 10 ++++++++++
27329 1 file changed, 10 insertions(+)
27331 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
27332 Author: Steve Frécinaux <code@istique.net>
27333 Date: Wed Aug 4 00:30:05 2010 +0200
27335 Handle GObject subclasses in the property helper.
27337 https://bugzilla.gnome.org/show_bug.cgi?id=625982
27339 gobject/propertyhelper.py | 26 +++++++++++++-------------
27340 tests/test_properties.py | 9 +++++++++
27341 2 files changed, 22 insertions(+), 13 deletions(-)
27343 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
27344 Author: Martin Pitt <martin.pitt@ubuntu.com>
27345 Date: Mon Jan 17 17:52:15 2011 +0100
27347 Fix handling of unicode for GtkTreeModels
27349 The code previously converted an unicode object into unicode, but
27351 models actually have to specify 'str' (GTK expects a gchararray). So
27353 UTF-8 instead to get what GTK expects.
27355 Add corresponding test case.
27357 gi/overrides/Gtk.py | 2 +-
27358 tests/test_overrides.py | 12 +++++++++++-
27359 2 files changed, 12 insertions(+), 2 deletions(-)
27361 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
27362 Author: Laszlo Pandy <lpandy@src.gnome.org>
27363 Date: Mon Jan 17 16:46:08 2011 +0100
27365 In IntrospectionModule and DynamicModule classes, make all instance
27366 attributes start with an underscore.
27368 This changes IntrospectionModule.version to _version and
27369 DynamicModule.introspection_module to _introspection_module.
27370 This is done to mark the attributes as private, and also avoid name
27371 collisions with attributes from the typelib.
27372 In Gstreamer, there is a function gst_version, which was previously
27373 inaccessible because of IntrospectionModule.version overriding it.
27375 gi/module.py | 26 +++++++++++++-------------
27376 gi/overrides/GIMarshallingTests.py | 2 +-
27377 gi/overrides/GLib.py | 2 +-
27378 gi/overrides/Gdk.py | 10 +++++-----
27379 gi/overrides/Gtk.py | 2 +-
27380 gi/overrides/Pango.py | 2 +-
27381 gi/overrides/__init__.py | 2 +-
27382 tests/test_everything.py | 2 +-
27383 8 files changed, 24 insertions(+), 24 deletions(-)
27385 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
27386 Author: Laszlo Pandy <lpandy@src.gnome.org>
27387 Date: Mon Jan 17 16:17:25 2011 +0100
27389 Amend previous enum wrapping commit to remove redundant setting of
27390 __info__ attribute.
27392 gi/module.py | 2 +-
27393 gi/types.py | 6 +++---
27394 2 files changed, 4 insertions(+), 4 deletions(-)
27396 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
27397 Author: Martin Pitt <martin.pitt@ubuntu.com>
27398 Date: Mon Jan 17 16:16:45 2011 +0100
27400 pygi-convert.sh: Handle GdkPixbuf.InterpType
27402 pygi-convert.sh | 2 ++
27403 1 file changed, 2 insertions(+)
27405 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
27406 Author: Laszlo Pandy <laszlok2@gmail.com>
27407 Date: Mon Jan 17 15:43:34 2011 +0100
27409 Fix wrapping of enums: Create new Python type for each non-gtype enum.
27411 Previously non-gtype enums used the same class, which meant they
27412 were all the same type.
27413 This caused another problem that since they were all the same class,
27414 attributes from different enums were available from each other.
27416 A new test case is created to check for this bug. It requires a new
27417 enum from the GIMarshallingTests (updating gobject-introspection
27420 gi/module.py | 2 +-
27422 tests/test_gi.py | 10 ++++++++++
27423 3 files changed, 13 insertions(+), 1 deletion(-)
27425 commit da50d5620a42046d4fc905bb28a0890d73533cb1
27426 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27427 Date: Mon Dec 13 18:03:51 2010 +0100
27429 Use g_vfunc_info_invoke for chaining up in vfuncs
27431 https://bugzilla.gnome.org/show_bug.cgi?id=637165
27433 gi/pygi-info.c | 4 ++--
27434 gi/pygi-invoke.c | 72
27435 +++++++++++++++++++++++++++++++++++++++++++-------------
27436 gi/pygi-invoke.h | 3 ++-
27437 gi/types.py | 28 +++++++++++++++++++++-
27438 tests/test_gi.py | 5 ++--
27439 5 files changed, 89 insertions(+), 23 deletions(-)
27441 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
27442 Author: Simon van der Linden <svdlinden@gnome.org>
27443 Date: Fri Dec 31 18:38:04 2010 +0100
27445 Move pyglib_{main_context, option_context, option_group}_new into
27448 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
27450 when used inside the glib module, since pyglib_init is not called.
27452 pyglib.c is compiled as a stand-alone library loaded by the _glib
27454 declares the above-mentioned types. Hence, they cannot be accessed
27456 former. This patch moves the functions that need those symbols
27458 glib._glib module and exports them to the pyglib library through
27461 https://bugzilla.gnome.org/show_bug.cgi?id=636656
27463 glib/glibmodule.c | 5 ++++-
27464 glib/pyglib-private.h | 3 +++
27466 +++---------------------------------------------
27467 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
27468 glib/pygmaincontext.h | 2 +-
27469 glib/pygmainloop.c | 2 +-
27470 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
27471 glib/pygoptioncontext.h | 2 ++
27472 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
27473 glib/pygoptiongroup.h | 2 ++
27474 glib/pygsource.c | 2 +-
27475 11 files changed, 86 insertions(+), 49 deletions(-)
27477 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
27478 Author: Martin Pitt <martin.pitt@ubuntu.com>
27479 Date: Mon Jan 17 14:51:26 2011 +0100
27481 pygi-convert.sh: Handle Gdk.DragAction
27483 pygi-convert.sh | 1 +
27484 1 file changed, 1 insertion(+)
27486 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
27487 Author: Martin Pitt <martin.pitt@ubuntu.com>
27488 Date: Mon Jan 17 14:46:58 2011 +0100
27490 pygi-convert.sh: Generalize Gtk.Settings migration
27492 There are other GSettings.get_* functions like get_for_screen().
27494 pygi-convert.sh | 2 +-
27495 1 file changed, 1 insertion(+), 1 deletion(-)
27497 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
27498 Author: Martin Pitt <martin.pitt@ubuntu.com>
27499 Date: Mon Jan 17 11:22:46 2011 +0100
27501 pygi-convert.sh: Don't change the name of "glib" submodules
27503 This particular affects dbus.mainloop.glib.*
27505 pygi-convert.sh | 2 +-
27506 1 file changed, 1 insertion(+), 1 deletion(-)
27508 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
27509 Author: Paolo Borelli <pborelli@gnome.org>
27510 Date: Sun Jan 16 22:09:56 2011 +0100
27512 Plug another memory leak
27514 Do not leak interface info in (g|s)_et_property.
27516 gi/pygi-property.c | 4 ++++
27517 1 file changed, 4 insertions(+)
27519 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
27520 Author: Paolo Borelli <pborelli@gnome.org>
27521 Date: Sun Jan 16 21:43:30 2011 +0100
27523 Plug a small memory leak.
27525 Do not leak type_info in find_vfunc_info
27527 gi/gimodule.c | 10 +++++-----
27528 1 file changed, 5 insertions(+), 5 deletions(-)
27530 commit d0cbcc45366d40702c69cef207d3c0f361260c02
27531 Author: Paolo Borelli <pborelli@gnome.org>
27532 Date: Sun Jan 16 12:16:31 2011 +0100
27534 Override Table.attach() to behave like pygtk
27536 It is fairly common and even gtk itself still has attach_defaults.
27538 gi/overrides/Gtk.py | 3 +++
27539 tests/test_overrides.py | 4 ++++
27540 2 files changed, 7 insertions(+)
27542 commit 6409d659326bf3cefdf6051379e8bc2031f16733
27543 Author: Martin Pitt <martin.pitt@ubuntu.com>
27544 Date: Sat Jan 15 11:20:23 2011 -0600
27546 pygi-convert.sh: Convert Pango.WrapMode
27548 pygi-convert.sh | 1 +
27549 1 file changed, 1 insertion(+)
27551 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
27552 Author: Martin Pitt <martin.pitt@ubuntu.com>
27553 Date: Sat Jan 15 11:17:09 2011 -0600
27555 pygi-convert.sh: Don't change the name of "gtk" submodules
27557 Some projects have local modules like "myproject.ui.gtk". Avoid
27559 just change module names which start with "gtk" or "gdk".
27561 pygi-convert.sh | 4 ++--
27562 1 file changed, 2 insertions(+), 2 deletions(-)
27564 commit 9be0f1f2dfb89150faf1827ef482feea03645149
27565 Author: John (J5) Palmieri <johnp@redhat.com>
27566 Date: Thu Jan 13 23:56:19 2011 -0500
27568 [gi] implement aux arg handling for array lengths
27570 gi/pygi-argument.c | 8 ++++++++
27571 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
27572 gi/pygi-cache.h | 1 -
27573 gi/pygi-invoke.c | 8 ++++++--
27574 4 files changed, 42 insertions(+), 11 deletions(-)
27576 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
27577 Author: John (J5) Palmieri <johnp@redhat.com>
27578 Date: Thu Jan 13 21:07:25 2011 -0500
27580 [gi] marshal in hashes
27582 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
27583 gi/pygi-cache.c | 122
27584 +++++++++++++++++++++++++++++++++++++----------------
27585 2 files changed, 176 insertions(+), 39 deletions(-)
27587 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
27588 Author: Laszlo Pandy <git@laszlopandy.com>
27589 Date: Tue Jan 11 21:41:47 2011 +0100
27591 Fix the __dir__() methods on DynamicModule and IntrospectionModule
27593 Previously the __dir__() methods did not list all attributes.
27594 A simple test case is included. It does not test to see if
27595 every attribute is listed, it just tests a few of each kind:
27596 - (wrapped) typelib attributes
27597 - class attributes and methods
27598 - instance attributes
27600 A set() is used to avoid returning duplicate attributes.
27601 The test case checks for this as well.
27603 https://bugzilla.gnome.org/show_bug.cgi?id=639229
27605 gi/module.py | 28 +++++++++++++++++++++-------
27606 tests/test_everything.py | 18 ++++++++++++++++++
27607 2 files changed, 39 insertions(+), 7 deletions(-)
27609 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
27610 Author: Paolo Borelli <pborelli@gnome.org>
27611 Date: Thu Jan 13 00:02:20 2011 +0100
27613 pygi-convert.sh: handle ReliefStyle
27615 pygi-convert.sh | 1 +
27616 1 file changed, 1 insertion(+)
27618 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
27619 Author: John (J5) Palmieri <johnp@redhat.com>
27620 Date: Wed Jan 12 16:50:30 2011 -0500
27622 [gi] support for GList and GSList in
27624 gi/pygi-argument.c | 122
27625 ++++++++++++++++++++++++++++++++++++++++++++++++++---
27626 1 file changed, 116 insertions(+), 6 deletions(-)
27628 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
27629 Author: John (J5) Palmieri <johnp@redhat.com>
27630 Date: Wed Jan 12 16:24:17 2011 -0500
27632 [gi] handle allow_none for all args
27634 gi/pygi-cache.c | 3 ++-
27635 gi/pygi-cache.h | 1 +
27636 gi/pygi-invoke.c | 7 +++++++
27637 3 files changed, 10 insertions(+), 1 deletion(-)
27639 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
27640 Author: John (J5) Palmieri <johnp@redhat.com>
27641 Date: Wed Jan 12 16:23:02 2011 -0500
27643 [gi] fix marshalling fixed arrays
27645 * get the correct item_size and pass the GArray data not the GArray
27647 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
27648 gi/pygi-cache.c | 3 ++-
27649 2 files changed, 24 insertions(+), 18 deletions(-)
27651 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
27652 Author: John (J5) Palmieri <johnp@redhat.com>
27653 Date: Tue Jan 11 17:20:43 2011 -0500
27655 [gi] implement out arg handling
27657 gi/pygi-argument.c | 43 ++++++++++---------------------------
27658 gi/pygi-cache.c | 22 ++++++++++++++-----
27659 gi/pygi-invoke-state-struct.h | 13 +++++++++++
27660 gi/pygi-invoke.c | 50
27661 +++++++++++++++++++++++++++++++++++++++++--
27662 4 files changed, 89 insertions(+), 39 deletions(-)
27664 commit bd002c72675d35b5e60ab773181e7c36c30d2625
27665 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27666 Date: Tue Jan 11 22:21:18 2011 +0100
27668 setup.py: fix the provides keyword argument
27671 1 file changed, 1 insertion(+), 1 deletion(-)
27673 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
27674 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27675 Date: Tue Jan 11 22:19:18 2011 +0100
27677 setup.py: use the same spaces-less format for all setup() parameters
27679 setup.py | 8 ++++----
27680 1 file changed, 4 insertions(+), 4 deletions(-)
27682 commit c5c149be171895d292852df364541f14f0ec423a
27683 Author: John (J5) Palmieri <johnp@redhat.com>
27684 Date: Tue Jan 11 15:39:09 2011 -0500
27686 [gi] implemented return marshalling and started on out marshalling
27688 gi/pygi-argument.c | 387
27689 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
27690 gi/pygi-argument.h | 117 ++++++++++++++++
27691 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
27692 gi/pygi-cache.h | 8 +-
27693 gi/pygi-invoke.c | 12 +-
27694 5 files changed, 829 insertions(+), 11 deletions(-)
27696 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
27697 Author: John (J5) Palmieri <johnp@redhat.com>
27698 Date: Tue Jan 11 13:49:58 2011 -0500
27700 [gi] flesh out interface in marshalling a bit more
27702 gi/pygi-argument.c | 74
27703 ++++++++++++++++++++++++++++++++++++++++----------
27704 gi/pygi-cache.c | 79
27705 ++++++++++++++++++++++++++++++++++++++++++------------
27706 gi/pygi-cache.h | 1 +
27707 3 files changed, 123 insertions(+), 31 deletions(-)
27709 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
27710 Author: Laszlo Pandy <laszlok2@gmail.com>
27711 Date: Tue Jan 11 19:30:38 2011 +0100
27713 Add a __repr__() method to DynamicModule.
27715 This patch adds a __repr__() method to DynamicModule so that modules
27717 meaningful string with the typelib path included:
27719 >>> from gi.repository import Gtk
27721 <gi.module.DynamicModule 'Gtk' from
27722 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
27724 https://bugzilla.gnome.org/show_bug.cgi?id=639232
27726 gi/module.py | 9 +++++++++
27727 1 file changed, 9 insertions(+)
27729 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
27730 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27731 Date: Tue Jan 11 19:40:19 2011 +0100
27733 Go back to using getattr() in DynamicModule.__getattr__
27735 Breaks marshalling of some types
27737 gi/module.py | 2 +-
27738 1 file changed, 1 insertion(+), 1 deletion(-)
27740 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
27741 Author: Laszlo Pandy <laszlok2@gmail.com>
27742 Date: Tue Jan 11 19:26:50 2011 +0100
27744 Change __dir__() to report all the attributes that __getattr__
27747 Change DynamicModule.__dir__() to return the local class members as
27749 typelib attributes.
27751 Change DynamicModule.__getattr__() to call
27752 IntrospectionModule.__getattr__()
27753 directly, so that it won't inadvertently return class attributes from
27754 IntrospectionModule.
27756 https://bugzilla.gnome.org/show_bug.cgi?id=639229
27758 gi/module.py | 10 +++++++---
27759 1 file changed, 7 insertions(+), 3 deletions(-)
27761 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
27762 Author: John (J5) Palmieri <johnp@redhat.com>
27763 Date: Mon Jan 10 17:55:03 2011 -0500
27765 [gi] add object and interface in marshalling
27767 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
27770 gi/pygi-argument.c | 15 +++--
27771 gi/pygi-cache.c | 182
27772 ++++++++++++++++++++++++++++++++++++++++++++++++-----
27773 gi/pygi-cache.h | 1 -
27774 gi/pygi-invoke.c | 1 +
27775 4 files changed, 178 insertions(+), 21 deletions(-)
27777 commit 88531c58d0491a31dd319387237a03df5c9edc07
27778 Author: John (J5) Palmieri <johnp@redhat.com>
27779 Date: Mon Jan 10 15:33:56 2011 -0500
27781 [gi] fix casting when marshaling a char to uint8
27783 gi/pygi-argument.c | 2 +-
27784 1 file changed, 1 insertion(+), 1 deletion(-)
27786 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
27787 Author: John (J5) Palmieri <johnp@redhat.com>
27788 Date: Mon Jan 10 15:07:16 2011 -0500
27790 [gi] hook up invoke to the cache
27792 * We now can invoke with in values
27793 * out, constructors and returns still don't work along with numerous
27797 gi/Makefile.am | 1 +
27798 gi/pygi-argument.c | 60 +++++++++--------
27799 gi/pygi-argument.h | 60 ++++++++---------
27800 gi/pygi-cache.h | 6 +-
27801 gi/pygi-invoke-state-struct.h | 26 ++++++++
27802 gi/pygi-invoke.c | 149
27803 ++++++++++++++++++++++++++++++++----------
27804 gi/pygi-invoke.h | 2 +-
27805 gi/pygi-private.h | 1 +
27806 8 files changed, 208 insertions(+), 97 deletions(-)
27808 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
27809 Author: John (J5) Palmieri <johnp@redhat.com>
27810 Date: Sun Jan 9 19:37:55 2011 -0500
27812 hooked up caching stage and fixed segfaults
27814 * caching stage is hooked up but not used yet
27815 * throws exceptions for everything that can not be cached yet
27817 gi/pygi-cache.c | 59
27818 +++++++++++++++++++++++++++++++++++++++++++-------------
27819 gi/pygi-info.c | 3 +++
27820 gi/pygi-invoke.c | 5 +++++
27822 4 files changed, 56 insertions(+), 13 deletions(-)
27824 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
27825 Author: John (J5) Palmieri <johnp@redhat.com>
27826 Date: Sun Jan 9 18:05:31 2011 -0500
27828 [gi] fix some function names
27830 gi/pygi-cache.c | 5 ++---
27831 1 file changed, 2 insertions(+), 3 deletions(-)
27833 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
27834 Author: John (J5) Palmieri <johnp@redhat.com>
27835 Date: Sun Jan 9 15:58:06 2011 -0500
27837 [gi] refactor cache structs so they inherit from ArgCache
27839 gi/pygi-argument.c | 122 +++++++++----------
27840 gi/pygi-cache.c | 344
27841 +++++++++++++++++++++++++++++------------------------
27842 gi/pygi-cache.h | 50 ++++----
27843 3 files changed, 273 insertions(+), 243 deletions(-)
27845 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
27846 Author: John (J5) Palmieri <johnp@redhat.com>
27847 Date: Sat Jan 8 20:45:11 2011 -0500
27849 [gi]fix cache compile error - now compiles but cache still not
27852 gi/Makefile.am | 2 +
27853 gi/pygi-argument.c | 100 +++++++++++++++---------------
27854 gi/pygi-argument.h | 174
27855 ++++++++++++++++++++++++++++++++++++++++++++---------
27856 gi/pygi-cache.c | 169
27857 +++++++++++++++++++++++++--------------------------
27858 gi/pygi-cache.h | 25 ++++----
27859 5 files changed, 293 insertions(+), 177 deletions(-)
27861 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
27862 Author: John (J5) Palmieri <johnp@redhat.com>
27863 Date: Sat Jan 8 19:10:29 2011 -0500
27865 add sequence caching and array marshalling w/ item marshalling
27867 * simplify what we pass into the arg cache generators so we may
27869 for geneating marshalling caches for container items, not just
27872 gi/pygi-argument.c | 76 ++++++++++++++++-
27873 gi/pygi-cache.c | 242
27874 ++++++++++++++++++++++-------------------------------
27875 gi/pygi-cache.h | 4 +-
27876 3 files changed, 175 insertions(+), 147 deletions(-)
27878 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
27879 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
27880 Date: Sat Jan 8 02:19:52 2011 +0000
27882 Bump the minimum gio dependency
27884 Needed for G_TYPE_CONVERTER_FLAGS and others.
27886 configure.ac | 2 +-
27887 1 file changed, 1 insertion(+), 1 deletion(-)
27889 commit c3aa36151fdef9ed9884d93114786bbe86387983
27890 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27891 Date: Fri Jan 7 12:58:11 2011 +0100
27893 Add test for incorrect attributes in Gdk.Event
27895 tests/test_overrides.py | 4 ++++
27896 1 file changed, 4 insertions(+)
27898 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
27899 Author: Simon van der Linden <svdlinden@gnome.org>
27900 Date: Sun Jan 2 19:25:55 2011 +0100
27902 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
27904 __getattr__ is only called when the attribute is not found through
27906 mechanism, so getattr must not be called again in __getattr__
27908 create an infinite loop).
27910 Another possibility would be to implement __getattribute__ instead,
27912 called in place of the normal mechanism. In that case, calling
27914 needed for normal attributes.
27916 https://bugzilla.gnome.org/show_bug.cgi?id=638523
27918 gi/overrides/Gdk.py | 2 +-
27919 1 file changed, 1 insertion(+), 1 deletion(-)
27921 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
27922 Author: Mike Gorse <mgorse@novell.com>
27923 Date: Fri Jan 7 09:08:31 2011 +0100
27925 Release allocated array of arguments when handling closures
27927 https://bugzilla.gnome.org/show_bug.cgi?id=638847
27929 gi/pygi-closure.c | 3 +++
27930 1 file changed, 3 insertions(+)
27932 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
27933 Author: Mike Gorse <mgorse@novell.com>
27934 Date: Fri Jan 7 09:07:35 2011 +0100
27936 Release GIValueInfo when checking an enum argument
27938 https://bugzilla.gnome.org/show_bug.cgi?id=638847
27940 gi/pygi-argument.c | 1 +
27941 1 file changed, 1 insertion(+)
27943 commit 43849c51391fc9cd239697065c3d40fa02fb6783
27944 Author: John (J5) Palmieri <johnp@redhat.com>
27945 Date: Thu Jan 6 17:30:14 2011 -0500
27949 gi/pygi-cache.c | 24 ++++++++++++------------
27950 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
27951 2 files changed, 33 insertions(+), 33 deletions(-)
27953 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
27954 Author: John (J5) Palmieri <johnp@redhat.com>
27955 Date: Thu Jan 6 17:29:00 2011 -0500
27957 add marshalling for basic types and add more skeleton code
27959 * still doesn't compile
27961 gi/pygi-argument.c | 708
27962 +++++++++++++++++++++++++++++++++++++++++++++++++++++
27963 gi/pygi-argument.h | 35 ++-
27964 gi/pygi-cache.c | 82 +++++--
27965 gi/pygi-cache.h | 41 +++-
27966 4 files changed, 832 insertions(+), 34 deletions(-)
27968 commit f554cf62848104d31518138ae85bc51acaafda67
27969 Author: John (J5) Palmieri <johnp@redhat.com>
27970 Date: Tue Jan 4 18:49:53 2011 -0500
27972 first checkin of the new caching branch
27974 * this does not compile and is not hooked up to the build system
27975 * lays out the caching data structures and some skeleton functions
27977 gi/pygi-cache.c | 480
27978 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27979 gi/pygi-cache.h | 104 ++++++++++++
27980 2 files changed, 584 insertions(+)
27982 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
27983 Author: Eitan Isaacson <eitan@monotonous.org>
27984 Date: Wed Dec 22 12:34:10 2010 -0800
27986 Respect different type lengths when assigning out-argument pointers.
27988 https://bugzilla.gnome.org/show_bug.cgi?id=637832
27990 gi/pygi-closure.c | 66
27991 ++++++++++++++++++++++++++++++++++++++++++++++---------
27992 1 file changed, 56 insertions(+), 10 deletions(-)
27994 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
27995 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27996 Date: Tue Dec 28 18:34:25 2010 +0100
27998 Fix stupid name clash
28000 gi/module.py | 7 +++++--
28001 1 file changed, 5 insertions(+), 2 deletions(-)
28003 commit 01b2a193d403beb861eab524300b4f1af63157ce
28004 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28005 Date: Tue Dec 28 13:49:18 2010 +0100
28007 Add /usr/share to XDG_DATA_DIRS when running the tests
28009 tests/Makefile.am | 7 ++++++-
28010 1 file changed, 6 insertions(+), 1 deletion(-)
28012 commit efc186f692f9eac781cc47456be74a3da7f14dcd
28013 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28014 Date: Tue Dec 28 13:25:34 2010 +0100
28016 Comment out tests that require SRV lookups
28018 tests/test_gresolver.py | 5 ++++-
28019 1 file changed, 4 insertions(+), 1 deletion(-)
28021 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
28022 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28023 Date: Tue Dec 28 13:00:16 2010 +0100
28025 Use suppresion file when running valgrind
28027 tests/Makefile.am | 2 +-
28028 tests/python.supp | 387
28029 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
28030 2 files changed, 388 insertions(+), 1 deletion(-)
28032 commit 0ee58113ecbea72784c52de928c041fc8fc88984
28033 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28034 Date: Thu Dec 23 00:10:41 2010 +0100
28038 gi/pygi-argument.c | 16 +++++++---------
28039 gi/pygi-foreign-cairo.c | 13 ++-----------
28040 gio/gfile.override | 5 ++---
28041 glib/pyglib-python-compat.h | 3 +++
28042 glib/pyglib.c | 2 +-
28043 glib/pygmainloop.c | 3 ++-
28044 6 files changed, 17 insertions(+), 25 deletions(-)
28046 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
28047 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
28048 Date: Sun Dec 19 23:10:57 2010 +0100
28050 Allow comparing Gtk.TreePath to None
28052 https://bugzilla.gnome.org/show_bug.cgi?id=637615
28054 gi/overrides/Gtk.py | 12 ++++++------
28055 tests/test_overrides.py | 6 ++++++
28056 2 files changed, 12 insertions(+), 6 deletions(-)
28058 commit 046cc5915286e042d1040271a90676b77632409e
28059 Author: John (J5) Palmieri <johnp@redhat.com>
28060 Date: Thu Dec 16 15:41:10 2010 -0500
28062 handle unicode objects in properties
28064 * There are still some cavets in Python 2:
28065 - properties are returned as String objects with the unicode
28067 - you must add # coding=utf-8 to the top of your python file
28069 will error out if it sees embeded unicode charaters (such as when
28070 supporting python 3 and python 2 from the same source)
28072 https://bugzilla.gnome.org/show_bug.cgi?id=620579
28074 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
28075 tests/test_properties.py | 16 ++++++++++++++++
28076 2 files changed, 42 insertions(+), 9 deletions(-)
28078 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
28079 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
28080 Date: Tue Dec 14 12:29:54 2010 +0100
28082 dsextras.py: check if gcc is there when platform is win32 and compiler
28085 dsextras.py | 6 ++++++
28086 1 file changed, 6 insertions(+)
28088 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
28089 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
28090 Date: Tue Dec 14 12:29:01 2010 +0100
28092 dsextras.py: be consistent in how distutils imports are done
28094 dsextras.py | 6 +++---
28095 1 file changed, 3 insertions(+), 3 deletions(-)
28097 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
28098 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
28099 Date: Tue Dec 14 12:25:07 2010 +0100
28101 dsextras.py: add have_gcc() function
28103 dsextras.py | 5 +++++
28104 1 file changed, 5 insertions(+)
28106 commit 637c2c287cfb0e89365026531c651111f5593ac7
28107 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
28108 Date: Tue Dec 14 12:24:41 2010 +0100
28110 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
28112 dsextras.py | 8 ++------
28113 1 file changed, 2 insertions(+), 6 deletions(-)
28115 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
28116 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
28117 Date: Tue Dec 14 12:22:54 2010 +0100
28119 setup.py: fix another case of use True/False instead of 1/0
28122 1 file changed, 1 insertion(+), 1 deletion(-)
28124 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
28125 Author: Paolo Borelli <pborelli@gnome.org>
28126 Date: Mon Dec 13 10:21:52 2010 +0100
28128 pygi-convert.sh: improve GtkSourceView conversion
28130 pygi-convert.sh | 7 +++++++
28131 1 file changed, 7 insertions(+)
28133 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
28134 Author: Paolo Borelli <pborelli@gnome.org>
28135 Date: Mon Dec 13 10:27:56 2010 +0100
28137 pygi-convert.sh: Gtk.DialogFlags conversion
28139 pygi-convert.sh | 1 +
28140 1 file changed, 1 insertion(+)
28142 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
28143 Author: José Alburquerque <jaalburqu@svn.gnome.org>
28144 Date: Sun Dec 12 20:38:46 2010 -0500
28146 Doc Extractor: Print the gtk-doc blocks sorted by function
28149 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
28151 alphabetical order according to the identifier (function name)
28153 the generation of xml files in the C++ bindings is
28155 Thanks to Krzesimir Nowak for suggesting this in a
28159 codegen/docextract_to_xml.py | 2 +-
28160 1 file changed, 1 insertion(+), 1 deletion(-)
28162 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
28163 Author: Paolo Borelli <pborelli@gnome.org>
28164 Date: Mon Dec 13 00:17:26 2010 +0100
28166 pygi-convert.sh: add more Gtk conversions and sort
28168 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
28169 1 file changed, 26 insertions(+), 24 deletions(-)
28171 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
28172 Author: Paolo Borelli <pborelli@gnome.org>
28173 Date: Mon Dec 13 00:01:40 2010 +0100
28175 pygi-convert.sh: convert Atk
28177 pygi-convert.sh | 12 ++++++++++++
28178 1 file changed, 12 insertions(+)
28180 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
28181 Author: Paolo Borelli <pborelli@gnome.org>
28182 Date: Sun Dec 12 23:48:48 2010 +0100
28184 pygi-convert.sh: convert a few more Gio types
28186 pygi-convert.sh | 9 +++++++++
28187 1 file changed, 9 insertions(+)
28189 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
28190 Author: Paolo Borelli <pborelli@gnome.org>
28191 Date: Sun Dec 12 14:19:00 2010 +0100
28193 pygi-convert.sh: more GLib conversion
28195 pygi-convert.sh | 7 +++++++
28196 1 file changed, 7 insertions(+)
28198 commit c903390814bebdc62d530472f6f94feecc59b8b3
28199 Author: Paolo Borelli <pborelli@gnome.org>
28200 Date: Sun Dec 12 14:00:34 2010 +0100
28202 pygi-convert.sh: remove two cases handled by overrides
28204 pygi-convert.sh | 2 --
28205 1 file changed, 2 deletions(-)
28207 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
28208 Author: Paolo Borelli <pborelli@gnome.org>
28209 Date: Sun Dec 12 13:38:56 2010 +0100
28211 Override Gtk.ScrolledWindow constructor
28213 gi/overrides/Gtk.py | 7 +++++++
28214 tests/test_overrides.py | 7 +++++++
28215 2 files changed, 14 insertions(+)
28217 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
28218 Author: Paolo Borelli <pborelli@gnome.org>
28219 Date: Sun Dec 12 12:32:39 2010 +0100
28221 pygi-convert.sh: Fix 'find' syntax
28223 pygi-convert.sh | 2 +-
28224 1 file changed, 1 insertion(+), 1 deletion(-)
28226 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
28227 Author: Paolo Borelli <pborelli@gnome.org>
28228 Date: Sun Dec 12 12:29:38 2010 +0100
28230 pygi-convert.sh: start handling Gio and GLib
28232 pygi-convert.sh | 8 ++++++++
28233 1 file changed, 8 insertions(+)
28235 commit 365bf3251af3498dc797a58cce071805451b49b1
28236 Author: Paolo Borelli <pborelli@gnome.org>
28237 Date: Sat Dec 11 23:05:31 2010 +0100
28239 pygi-convert.sh: convert Gdk.ScrollDirection.
28241 pygi-convert.sh | 1 +
28242 1 file changed, 1 insertion(+)
28244 commit bca603de0f217fb290189a0ea330f82961c46d5d
28245 Author: Paolo Borelli <pborelli@gnome.org>
28246 Date: Sat Dec 11 15:03:21 2010 +0100
28248 Override Pango.Layout constructor.
28250 I must take a Pango.Context argument. Unfortumately the context is
28252 gobject property so we need to jump through some oops.
28254 gi/overrides/Pango.py | 13 +++++++++++++
28255 tests/test_overrides.py | 6 ++++++
28256 2 files changed, 19 insertions(+)
28258 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
28259 Author: Paolo Borelli <pborelli@gnome.org>
28260 Date: Sat Dec 11 14:18:53 2010 +0100
28262 Remove Pango.FontDescription() conversion.
28264 It is now properly handled by an override.
28266 pygi-convert.sh | 1 -
28267 1 file changed, 1 deletion(-)
28269 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
28270 Author: Paolo Borelli <pborelli@gnome.org>
28271 Date: Fri Dec 10 14:05:20 2010 +0100
28273 Override GtkAction and GtkRadioAction constructors.
28275 gi/overrides/Gtk.py | 20 +++++++++++++++++---
28276 tests/test_overrides.py | 18 ++++++++++++++++++
28277 2 files changed, 35 insertions(+), 3 deletions(-)
28279 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
28280 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
28281 Date: Sat Dec 4 22:13:28 2010 +0000
28283 Override Adjustment constructor to behave like pygtk
28285 https://bugzilla.gnome.org/show_bug.cgi?id=636486
28287 gi/overrides/Gtk.py | 7 +++++++
28288 tests/test_overrides.py | 9 +++++++++
28289 2 files changed, 16 insertions(+)
28291 commit e76352dd83c8706e68ad57d00d185da9afea99c4
28292 Author: John (J5) Palmieri <johnp@redhat.com>
28293 Date: Thu Dec 9 13:23:10 2010 -0500
28295 add secondary_text apis to MessageDialog
28297 gi/overrides/Gtk.py | 8 ++++++++
28298 tests/test_overrides.py | 8 ++++++++
28299 2 files changed, 16 insertions(+)
28301 commit de682b2d36c362140ab7d43c0743b01ec0865a74
28302 Author: John (J5) Palmieri <johnp@redhat.com>
28303 Date: Wed Dec 8 16:39:27 2010 -0500
28305 [gi] get rid of some debug prints and fix error messages
28307 gi/overrides/Gtk.py | 7 +++----
28308 1 file changed, 3 insertions(+), 4 deletions(-)
28310 commit dbb16571803bf51f497768bf80944514f4290ee5
28311 Author: Paolo Borelli <pborelli@gnome.org>
28312 Date: Wed Dec 8 18:25:15 2010 +0100
28314 Fix demo for override changes.
28316 demos/gtk-demo/gtk-demo.py | 5 +++--
28317 1 file changed, 3 insertions(+), 2 deletions(-)
28319 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
28320 Author: Paolo Borelli <pborelli@gnome.org>
28321 Date: Wed Dec 8 18:06:01 2010 +0100
28323 Override Pango.FontDescription.
28325 demos/gtk-demo/gtk-demo.py | 2 +-
28326 gi/overrides/Makefile.am | 1 +
28327 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
28328 tests/test_overrides.py | 7 +++++++
28329 4 files changed, 49 insertions(+), 1 deletion(-)
28331 commit 769da968c9187414d0420412d8fb8c833d12042a
28332 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28333 Date: Wed Dec 8 17:38:11 2010 +0100
28335 Stop checking that all vfuncs are implemented
28337 Because some methods are optionally implementable but g-i won't
28340 https://bugzilla.gnome.org/show_bug.cgi?id=619606
28342 gi/gimodule.c | 4 +++-
28343 gi/types.py | 12 ++----------
28344 tests/test_gi.py | 10 ----------
28345 3 files changed, 5 insertions(+), 21 deletions(-)
28347 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
28348 Author: Paolo Borelli <pborelli@gnome.org>
28349 Date: Wed Dec 8 17:37:00 2010 +0100
28351 Fix usage of TreeIter api that is now an override.
28353 demos/gtk-demo/gtk-demo.py | 6 +++---
28354 1 file changed, 3 insertions(+), 3 deletions(-)
28356 commit d2cfd6e9250d40de7c715ac74e299deddf137683
28357 Author: Paolo Borelli <pborelli@gnome.org>
28358 Date: Wed Dec 8 17:34:54 2010 +0100
28360 Fix Gtk.Label(label="Foo")
28362 Use 'label' as an argument name instead of 'str', otherwise we may
28363 end up up with two 'label' in the kwds dict. Besides 'str' is a
28366 gi/overrides/Gtk.py | 4 ++--
28367 1 file changed, 2 insertions(+), 2 deletions(-)
28369 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
28370 Author: Paolo Borelli <pborelli@gnome.org>
28371 Date: Wed Dec 8 14:16:39 2010 +0100
28373 Fix typo when raising an exception
28376 1 file changed, 1 insertion(+), 1 deletion(-)
28378 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
28379 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28380 Date: Wed Dec 8 10:46:27 2010 +0100
28382 pygi-convert.sh: Added more conversions
28384 pygi-convert.sh | 14 ++++++++++++++
28385 1 file changed, 14 insertions(+)
28387 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
28388 Author: Paolo Borelli <pborelli@gnome.org>
28389 Date: Tue Dec 7 20:39:15 2010 +0100
28391 Override LinkButton constructor to make 'uri' mandatory
28393 gi/overrides/Gtk.py | 7 +++++++
28394 tests/test_overrides.py | 6 ++++++
28395 2 files changed, 13 insertions(+)
28397 commit f4f7fb35af1b41598dc050f5df155a01c370a920
28398 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
28399 Date: Sat Dec 4 19:19:19 2010 +0600
28401 Container should be iterable.
28403 gi/overrides/Gtk.py | 9 +++++++++
28404 tests/test_overrides.py | 6 +++++-
28405 2 files changed, 14 insertions(+), 1 deletion(-)
28407 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
28408 Author: Paolo Borelli <pborelli@gnome.org>
28409 Date: Tue Dec 7 14:13:00 2010 +0100
28411 No need to import Gdk
28413 gi/overrides/Gtk.py | 1 -
28414 1 file changed, 1 deletion(-)
28416 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
28417 Author: Paolo Borelli <pborelli@gnome.org>
28418 Date: Tue Dec 7 14:07:53 2010 +0100
28422 gi/overrides/Gtk.py | 7 +++----
28423 1 file changed, 3 insertions(+), 4 deletions(-)
28425 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
28426 Author: John (J5) Palmieri <johnp@redhat.com>
28427 Date: Mon Dec 6 16:05:30 2010 -0500
28429 [gi] make sure Gtk.Button override passes all keywords to parent
28432 gi/overrides/Gtk.py | 4 ++--
28433 1 file changed, 2 insertions(+), 2 deletions(-)
28435 commit cede81ad65db017e95543d8d35715751aa202fed
28436 Author: Paolo Borelli <pborelli@gnome.org>
28437 Date: Sun Dec 5 13:31:20 2010 +0100
28439 Fix cut&paste error in the Label override
28441 gi/overrides/Gtk.py | 2 +-
28442 1 file changed, 1 insertion(+), 1 deletion(-)
28444 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
28445 Author: Paolo Borelli <pborelli@gnome.org>
28446 Date: Sat Dec 4 16:03:27 2010 +0100
28448 pygi-convert.sh: handle TextWindowType
28450 pygi-convert.sh | 1 +
28451 1 file changed, 1 insertion(+)
28453 commit dfeabe0b68938e27da2e65903983b5113dc422f1
28454 Author: Paolo Borelli <pborelli@gnome.org>
28455 Date: Sat Dec 4 15:49:15 2010 +0100
28457 Override Label constructor to behave like pygtk
28459 gi/overrides/Gtk.py | 7 +++++++
28460 tests/test_overrides.py | 4 ++++
28461 2 files changed, 11 insertions(+)
28463 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
28464 Author: Paolo Borelli <pborelli@gnome.org>
28465 Date: Sat Dec 4 15:40:35 2010 +0100
28467 Override GtkTable constructor to behave like pygtk
28469 gi/overrides/Gtk.py | 7 +++++++
28470 tests/test_overrides.py | 12 ++++++++++++
28471 2 files changed, 19 insertions(+)
28473 commit 81452c23ab1befa59ff375692e582791432796a5
28474 Author: Paolo Borelli <pborelli@gnome.org>
28475 Date: Sat Dec 4 12:59:43 2010 +0100
28477 pygi-convert.sh: convert MovementStep
28479 pygi-convert.sh | 1 +
28480 1 file changed, 1 insertion(+)
28482 commit 4d097eea94258eda0c328711491fd456cbd6741b
28483 Author: Paolo Borelli <pborelli@gnome.org>
28484 Date: Sat Dec 4 11:57:02 2010 +0100
28486 Update Gdk overrides to work with latest Gtk+ 3
28488 For now added consitionals on version == 2.0, but maybe at some
28490 shuld just clean up the old stuff.
28492 gi/overrides/Gdk.py | 22 ++++++++++++++++------
28493 1 file changed, 16 insertions(+), 6 deletions(-)
28495 commit cda317195566711d66190145b545e26ed7226172
28496 Author: Johan Dahlin <johan@gnome.org>
28497 Date: Thu Dec 2 23:47:40 2010 -0200
28499 Gtk: add an override for Gtk.main_quit
28501 Override gtk.main_quit so that it can be used as a callback
28502 to signals, most importantly to the destroy signal of a widget:
28504 widget.connect('destroy', gtk.main_quit)
28506 This is compatible with what PyGTK does.
28508 https://bugzilla.gnome.org/show_bug.cgi?id=636336
28510 gi/overrides/Gtk.py | 5 ++++-
28511 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
28512 2 files changed, 29 insertions(+), 3 deletions(-)
28514 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
28515 Author: John (J5) Palmieri <johnp@redhat.com>
28516 Date: Thu Dec 2 16:27:04 2010 -0500
28518 [gi] handle subtypes when inserting into tree models
28520 * Often modules will give back basic types wrapped in a subtype.
28521 This is the case with D-Bus where you may want to keep some of the
28522 metadata around. More often than not, the developer is just looking
28523 to use the basetype.
28525 * This override checks the column type and handles basic types such as
28526 gchararrays, ints, longs, floats and doubles, converting them
28528 base types before sending them to the generic GI type marshaller.
28530 * More types may need to be supported but these are the common
28534 https://bugzilla.gnome.org/show_bug.cgi?id=635172
28536 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
28537 tests/test_overrides.py | 8 +++++++-
28538 2 files changed, 43 insertions(+), 3 deletions(-)
28540 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
28541 Author: Paolo Borelli <pborelli@gnome.org>
28542 Date: Fri Dec 3 23:39:50 2010 +0100
28544 Override TreeSelection.select_path and TreeView.scroll_to_cell
28546 The "path" argument may also be a string or a tuple
28548 gi/overrides/Gtk.py | 10 ++++++++++
28549 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
28550 2 files changed, 39 insertions(+)
28552 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
28553 Author: Paolo Borelli <pborelli@gnome.org>
28554 Date: Fri Dec 3 23:29:00 2010 +0100
28556 Override TreePath.__new__
28558 Instead of having a private _tree_path_from_string it is cleaner to
28559 override __new__ and it will be useful for all the api that take a
28560 TreePath or a string or a tuple.
28562 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
28563 tests/test_overrides.py | 18 ++++++++++++++++++
28564 2 files changed, 33 insertions(+), 18 deletions(-)
28566 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
28567 Author: Paolo Borelli <pborelli@gnome.org>
28568 Date: Sun Nov 28 13:02:30 2010 +0100
28570 Override Container to behave like a sequence
28572 gi/overrides/Gtk.py | 6 ++++++
28573 tests/test_overrides.py | 11 +++++++++++
28574 2 files changed, 17 insertions(+)
28576 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
28577 Author: John (J5) Palmieri <johnp@redhat.com>
28578 Date: Tue Nov 30 16:57:05 2010 -0500
28580 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
28583 * this patch does the recursion using the previous patche's support
28586 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
28587 1 file changed, 45 insertions(+), 10 deletions(-)
28589 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
28590 Author: Jonathan Matthew <jonathan@d14n.org>
28591 Date: Thu Jul 22 23:19:51 2010 +1000
28593 Recurse up through base classes when setting up vfuncs
28595 * this patch adds the support methods to do the recursion
28597 https://bugzilla.gnome.org/show_bug.cgi?id=625033
28599 gi/gimodule.c | 130
28600 ++++++++++++++++++++++++++++++++++++++++---------------
28601 tests/test_gi.py | 37 ++++++++++++++++
28602 2 files changed, 131 insertions(+), 36 deletions(-)
28604 commit 78358e1ab54d02317f397276adee03ecb2187588
28605 Author: John (J5) Palmieri <johnp@redhat.com>
28606 Date: Mon Nov 29 18:29:57 2010 -0500
28608 add a profiling torture test for when we fix up invoke
28610 tests/test_everything.py | 67
28611 ++++++++++++++++++++++++++++++++++++++++++++++++
28612 1 file changed, 67 insertions(+)
28614 commit 792e679c06df4357843fd310c7953a931172fc99
28615 Author: John (J5) Palmieri <johnp@redhat.com>
28616 Date: Mon Nov 29 16:41:38 2010 -0500
28618 moved dynamic and base modules outside of gtk-2.0 directory
28620 * do not move header files yet as they are mostly used by static
28622 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
28624 these back to pygtk but you might want to import gio static
28626 having to have pygtk installed
28627 * I have not tested this with pygtk, committing it so we can find
28629 causes any issues with legacy modules and code
28631 gi/Makefile.am | 2 +-
28632 gi/overrides/Makefile.am | 2 +-
28633 gi/repository/Makefile.am | 2 +-
28634 glib/Makefile.am | 2 +-
28635 gobject/Makefile.am | 2 +-
28636 tests/test_gi.py | 2 --
28637 tests/test_overrides.py | 3 ---
28638 7 files changed, 5 insertions(+), 10 deletions(-)
28640 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
28641 Author: John (J5) Palmieri <johnp@redhat.com>
28642 Date: Mon Nov 29 15:11:46 2010 -0500
28644 add test for inout argument count
28646 tests/test_gi.py | 1 +
28647 1 file changed, 1 insertion(+)
28649 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
28650 Author: John (J5) Palmieri <johnp@redhat.com>
28651 Date: Mon Nov 22 19:17:23 2010 -0500
28653 [gi] add check for UNICHAR
28655 https://bugzilla.gnome.org/show_bug.cgi?id=623615
28657 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
28658 tests/test_everything.py | 17 +++++++++++++++--
28659 2 files changed, 41 insertions(+), 3 deletions(-)
28661 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
28662 Author: Paolo Borelli <pborelli@gnome.org>
28663 Date: Sun Nov 21 12:16:53 2010 +0100
28667 https://bugzilla.gnome.org/show_bug.cgi?id=623615
28669 gi/pygi-argument.c | 60
28670 ++++++++++++++++++++++++++++++++++++++++++++++++
28671 gi/pygi-info.c | 5 ++++
28672 tests/test_everything.py | 5 ++++
28673 3 files changed, 70 insertions(+)
28675 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
28676 Author: Paolo Borelli <pborelli@gnome.org>
28677 Date: Sat Nov 27 23:01:42 2010 +0100
28679 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
28681 pygi-convert.sh | 1 +
28682 1 file changed, 1 insertion(+)
28684 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
28685 Author: Paolo Borelli <pborelli@gnome.org>
28686 Date: Sat Nov 27 22:34:13 2010 +0100
28688 pygi-convert.sh: handle "from gtk import gdk"
28690 pygi-convert.sh | 2 ++
28691 1 file changed, 2 insertions(+)
28693 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
28694 Author: Paolo Borelli <pborelli@gnome.org>
28695 Date: Sat Nov 27 22:23:24 2010 +0100
28697 pygi-convert.sh: add some Pango special cases
28699 pygi-convert.sh | 3 +++
28700 1 file changed, 3 insertions(+)
28702 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
28703 Author: Paolo Borelli <pborelli@gnome.org>
28704 Date: Sat Nov 27 19:51:38 2010 +0100
28706 Override TextIter (begins|ends|toggles)_tag()
28708 Make the tag argument optional.
28710 gi/overrides/Gtk.py | 9 +++++++++
28711 tests/test_overrides.py | 17 +++++++++++++++++
28712 2 files changed, 26 insertions(+)
28714 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
28715 Author: Paolo Borelli <pborelli@gnome.org>
28716 Date: Sat Nov 27 19:32:48 2010 +0100
28718 Override TextBuffer.set_text() to make length optional
28720 gi/overrides/Gtk.py | 3 +++
28721 tests/test_overrides.py | 11 ++++++++++-
28722 2 files changed, 13 insertions(+), 1 deletion(-)
28724 commit bf55dc862755a57bb1b998702d284fc460e88a30
28725 Author: Paolo Borelli <pborelli@gnome.org>
28726 Date: Sat Nov 27 16:46:40 2010 +0100
28728 Override TextBuffer.create_mark()
28730 Override create_mark to make the left_gravity argument optional
28732 gi/overrides/Gtk.py | 3 +++
28733 tests/test_overrides.py | 3 +++
28734 2 files changed, 6 insertions(+)
28736 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
28737 Author: Paolo Borelli <pborelli@gnome.org>
28738 Date: Sat Nov 27 16:10:33 2010 +0100
28740 Fix TextBuffer.get_selection_bounds() override
28742 Fix the override and add unit test
28744 gi/overrides/Gtk.py | 8 +++++---
28745 tests/test_overrides.py | 7 +++++++
28746 2 files changed, 12 insertions(+), 3 deletions(-)
28748 commit 0cd717e3926276540b9145e58a4a3368136b00de
28749 Author: John (J5) Palmieri <johnp@redhat.com>
28750 Date: Mon Nov 22 18:35:09 2010 -0500
28752 [gi] fix ActionGroup constructor to allow other keyword properties
28755 gi/overrides/Gtk.py | 4 ++--
28756 1 file changed, 2 insertions(+), 2 deletions(-)
28758 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
28759 Author: John (J5) Palmieri <johnp@redhat.com>
28760 Date: Mon Nov 22 18:32:28 2010 -0500
28762 [gi] require the name parameter when creatin a Gtk.ActionGroup
28764 gi/overrides/Gtk.py | 3 +++
28765 tests/test_overrides.py | 2 ++
28766 2 files changed, 5 insertions(+)
28768 commit d0049fa9982d13b3553b05569fb0a227e48b6647
28769 Author: Paolo Borelli <pborelli@gnome.org>
28770 Date: Sun Nov 21 15:20:58 2010 +0100
28772 Override UIManager.insert_action_group
28774 https://bugzilla.gnome.org/show_bug.cgi?id=635437
28776 gi/overrides/Gtk.py | 3 +++
28777 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
28778 2 files changed, 24 insertions(+), 13 deletions(-)
28780 commit e1db544e46aeed984133896af34b671a6a5547df
28781 Author: Paolo Borelli <pborelli@gnome.org>
28782 Date: Sun Nov 21 23:03:25 2010 +0100
28784 Override TreeModel.get() to return a tuple
28786 https://bugzilla.gnome.org/show_bug.cgi?id=635466
28788 gi/overrides/Gtk.py | 15 +++++++++++++++
28789 tests/test_overrides.py | 6 ++++++
28790 2 files changed, 21 insertions(+)
28792 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
28793 Author: Paolo Borelli <pborelli@gnome.org>
28794 Date: Sun Nov 21 21:57:40 2010 +0100
28796 Make TreeSelection.get_selected_rows compatible with PyGtk
28798 https://bugzilla.gnome.org/show_bug.cgi?id=635464
28800 gi/overrides/Gtk.py | 6 ++++++
28801 1 file changed, 6 insertions(+)
28803 commit 1c537bc67107948c92b51ba6ba749747e84263e2
28804 Author: John (J5) Palmieri <johnp@redhat.com>
28805 Date: Mon Nov 22 15:04:00 2010 -0500
28807 [gi] switch to using sequences/tuples when marshalling
28808 cairo_rectangle_int_t
28810 * Upstream pycairo didn't want to add a new wrapper for
28811 cairo_rectangle_int_t
28812 * this works around that issue by using 4 element squences instead
28814 should be accepted by pycairo for any API that takes a rect
28816 gi/pygi-foreign-cairo.c | 85
28817 +++++++++++++++++++++++++++++++++++++------------
28818 1 file changed, 64 insertions(+), 21 deletions(-)
28820 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
28821 Author: John (J5) Palmieri <johnp@redhat.com>
28822 Date: Fri Nov 19 16:46:53 2010 -0500
28824 [gi] overrides for treeview Drag and Drop
28826 https://bugzilla.gnome.org/show_bug.cgi?id=627367
28828 gi/overrides/Gdk.py | 7 +++++++
28829 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
28830 2 files changed, 32 insertions(+)
28832 commit 3fd51bb903724b752f72f49c7cb35652b819791d
28833 Author: John (J5) Palmieri <johnp@redhat.com>
28834 Date: Fri Nov 19 16:44:32 2010 -0500
28836 [gi] when encountering guint8 arrays treat them as byte arrays
28838 * In Python 2 this means returning a PyString object
28839 * In Python 3 we return a PyBytes object
28841 https://bugzilla.gnome.org/show_bug.cgi?id=627367
28843 gi/pygi-argument.c | 65
28844 ++++++++++++++++++++++++++++++++++++++++++++----------
28845 tests/test_gi.py | 6 +++--
28846 2 files changed, 57 insertions(+), 14 deletions(-)
28848 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
28849 Author: Martin Pitt <martin.pitt@ubuntu.com>
28850 Date: Fri Nov 19 18:19:38 2010 +0100
28852 pygi-convert.sh: Add pynotify -> Notify
28854 pygi-convert.sh | 3 +++
28855 1 file changed, 3 insertions(+)
28857 commit bf03d4db03a7739ac16ddc4e614441557ede554d
28858 Author: Martin Pitt <martin.pitt@ubuntu.com>
28859 Date: Fri Nov 19 09:08:07 2010 +0100
28861 pygi-convert.sh: Remove sugar specifics, and allow command line
28864 This script is generally useful for converting pygtk2 projects,
28866 sugar. Remove the sugar specific bits, since they will just cause
28869 Also allow the user to specify the files to convert as command line
28870 arguments. If not given, all *.py files will be processed.
28872 https://bugzilla.gnome.org/show_bug.cgi?id=635244
28874 pygi-convert.sh | 25 +++++--------------------
28875 1 file changed, 5 insertions(+), 20 deletions(-)
28877 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
28878 Author: Martin Pitt <martin.pitt@ubuntu.com>
28879 Date: Fri Nov 19 09:00:35 2010 +0100
28881 pygi-convert.sh: Cover Message and Buttons types
28883 https://bugzilla.gnome.org/show_bug.cgi?id=635244
28885 pygi-convert.sh | 2 ++
28886 1 file changed, 2 insertions(+)
28888 commit ef74273c2043944708515e59a654ebe4944b46ff
28889 Author: John (J5) Palmieri <johnp@redhat.com>
28890 Date: Thu Nov 18 13:54:48 2010 -0500
28892 [gi] fix actiongroup test since actions are hashed
28894 * when actions are listed they may not show up in the order they
28896 since they reside in an unordered hash internally
28898 tests/test_overrides.py | 9 +++++----
28899 1 file changed, 5 insertions(+), 4 deletions(-)
28901 commit 2c25886bf6710568d0646f82dce4770faa44c40d
28902 Author: John (J5) Palmieri <johnp@redhat.com>
28903 Date: Wed Nov 17 14:38:09 2010 -0500
28905 [gi] when converting to UTF-8 accept Python Unicode objects as input
28908 https://bugzilla.gnome.org/show_bug.cgi?id=620579
28910 gi/pygi-argument.c | 14 ++++++++++++--
28911 glib/pyglib-python-compat.h | 5 +++++
28912 tests/test_gi.py | 3 +++
28913 3 files changed, 20 insertions(+), 2 deletions(-)
28915 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
28916 Author: Damien Caliste <damien.caliste@cea.fr>
28917 Date: Fri Nov 12 10:20:32 2010 +0100
28919 Correct a bug in the freeing of memory in pygi-invoke.c.
28921 When a method with inout arguments is called from Python with
28922 a wrong number of arguments, the system crashs because of an
28923 assertion fail. This patch corrects this behaviour.
28925 https://bugzilla.gnome.org/show_bug.cgi?id=634671
28927 gi/pygi-invoke.c | 25 ++++++++++++++-----------
28928 1 file changed, 14 insertions(+), 11 deletions(-)
28930 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
28931 Author: John (J5) Palmieri <johnp@redhat.com>
28932 Date: Wed Nov 10 14:11:56 2010 -0500
28934 update news for release
28937 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
28938 1 file changed, 73 insertions(+)
28940 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
28941 Author: Jonathan Matthew <jonathan@d14n.org>
28942 Date: Tue Sep 28 13:44:13 2010 +1000
28944 Implement richcompare for GIBaseInfo
28946 https://bugzilla.gnome.org/show_bug.cgi?id=625033
28948 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
28949 1 file changed, 29 insertions(+)
28951 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
28952 Author: John (J5) Palmieri <johnp@redhat.com>
28953 Date: Tue Nov 9 22:57:41 2010 -0500
28955 [gi] add the rectangle_int_t forign cairo type
28957 * the pycairo maintainer is not being responsive so you will need
28959 https://bugs.freedesktop.org/show_bug.cgi?id=31111
28960 * added conditionals, if the api doesn't exist in PyCairo we will
28962 without the forign structs
28964 gi/pygi-foreign-cairo.c | 4 ++++
28965 1 file changed, 4 insertions(+)
28967 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
28968 Author: John (J5) Palmieri <johnp@redhat.com>
28969 Date: Mon Oct 25 18:28:36 2010 -0400
28971 add a foreign type for cairo_rectangle_int_t and allow it to be
28974 * this is needed because Gdk and Gtk switched from returning a
28976 to a CairoRectangleInt structure
28977 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
28979 for pycairo (however there is currently no patch for python 2)
28980 * added fix for foreign types to allow them to be caller allocated
28981 * in order for a type to be caller allocated it must be able to take
28983 and create an empty struct in foreign_struct_from_arg and it must
28985 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
28987 https://bugzilla.gnome.org/show_bug.cgi?id=627545
28989 gi/pygi-foreign-cairo.c | 57
28990 +++++++++++++++++++++++++++++++++++++++++++++++++
28991 gi/pygi-invoke.c | 15 +++++++++++--
28992 2 files changed, 70 insertions(+), 2 deletions(-)
28994 commit ce8b948310220288e9eef904eef4ec8f4e24a376
28995 Author: John (J5) Palmieri <johnp@redhat.com>
28996 Date: Tue Nov 9 22:11:51 2010 -0500
28998 [gi] add overrides to Gtk.Editable
29000 gi/overrides/Gtk.py | 17 +++++++++++++++++
29001 tests/test_overrides.py | 12 ++++++++++++
29002 2 files changed, 29 insertions(+)
29004 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
29005 Author: John (J5) Palmieri <johnp@redhat.com>
29006 Date: Tue Nov 9 21:12:54 2010 -0500
29008 [gi] handle virtual invokers
29010 * right now we check to see if there is an method with the same name
29011 as the virtual method and assume that is the invoker
29012 * some invokers are named different so we now ask the VFuncInfo if
29013 the vfunc has an invoker
29014 * this is still not completly correct, gi needs to support telling
29015 us which vfuncs must be overridden.
29016 * this keeps the old way of checking vfuncs while adding the edge case
29017 where vfunc is named differently from their invoker
29019 gi/pygi-info.c | 16 ++++++++++++++++
29021 2 files changed, 17 insertions(+), 1 deletion(-)
29023 commit 540e9f1f349ba3625e28b7673c92210eb8974098
29024 Author: John (J5) Palmieri <johnp@redhat.com>
29025 Date: Tue Nov 9 12:17:05 2010 -0500
29027 add overrides for the insert* apis of list_store and tree_store
29029 * add set_row to tree_model as convinience method for both list and
29032 https://bugzilla.gnome.org/show_bug.cgi?id=634423
29034 gi/overrides/Gtk.py | 80
29035 ++++++++++++++++++++++++++++++++++++++-----------
29036 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
29037 2 files changed, 114 insertions(+), 19 deletions(-)
29039 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
29040 Author: John (J5) Palmieri <johnp@redhat.com>
29041 Date: Fri Nov 5 13:56:12 2010 -0400
29043 fix dialogs overrides which were relying on broken inheritance
29046 gi/overrides/Gtk.py | 14 ++++++++++++--
29047 1 file changed, 12 insertions(+), 2 deletions(-)
29049 commit 89c104d17d79d7b935cd76101cba19d49390f7be
29050 Author: John (J5) Palmieri <johnp@redhat.com>
29051 Date: Thu Nov 4 12:00:14 2010 -0400
29053 Add a overrides registry so we can refrence overrides inside the
29056 * Overrides have a reentrancy issue when doing inheritance. If an
29058 inherits from another override down the stack it won't see the
29060 because the module is not finished loading and will inherit from the
29061 non-overriden object instead. This causes type errors later.
29062 * By adding the overrides to a registry outside of the module we
29064 registration and make the override available as soon as the class
29066 not when the whole module is parsed.
29068 https://bugzilla.gnome.org/show_bug.cgi?id=633347
29070 gi/module.py | 12 ++++++++++-
29071 gi/overrides/GIMarshallingTests.py | 2 +-
29072 gi/overrides/Gdk.py | 2 +-
29073 gi/overrides/Gtk.py | 2 +-
29074 gi/overrides/__init__.py | 43
29075 ++++++++++++++++++++++++++++++++++++++
29076 gi/types.py | 8 -------
29077 tests/test_overrides.py | 27 ++++++++++++++++++++++++
29078 7 files changed, 84 insertions(+), 12 deletions(-)
29080 commit 878b8f630acd2146bee364054acd45cd33eea37a
29081 Merge: cdacaa95 e3178381
29082 Author: John Stowers <john.stowers@gmail.com>
29083 Date: Fri Nov 5 11:40:22 2010 +1300
29085 Merge remote branch 'dieterv/setup-fixes-for-merge'
29087 commit e317838178fba5f0590fb8bd323f49602d564b53
29088 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29089 Date: Thu Nov 4 11:16:43 2010 +0100
29091 setup.py: ease maintenance burden for tests installation
29093 setup.py | 23 +++--------------------
29094 1 file changed, 3 insertions(+), 20 deletions(-)
29096 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
29097 Author: John (J5) Palmieri <johnp@redhat.com>
29098 Date: Wed Nov 3 09:51:09 2010 -0400
29100 fix inheritence issues in overrides
29102 gi/overrides/Gtk.py | 79
29103 +++++++++++++++++++++++++++--------------------------
29104 1 file changed, 40 insertions(+), 39 deletions(-)
29106 commit 3d5955767d81f45e796ab2af0707533375681774
29107 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29108 Date: Wed Nov 3 09:38:56 2010 +0100
29110 tests: add runtests-windows.py script
29112 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29114 tests/runtests-windows.py | 47
29115 +++++++++++++++++++++++++++++++++++++++++++++++
29116 1 file changed, 47 insertions(+)
29118 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
29119 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29120 Date: Wed Nov 3 09:35:52 2010 +0100
29122 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
29123 postinstall as pkg-config on windows figures out the correct prefix
29126 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29128 pygobject_postinstall.py | 26 +++-----------------------
29129 1 file changed, 3 insertions(+), 23 deletions(-)
29131 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
29132 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29133 Date: Wed Nov 3 09:34:38 2010 +0100
29135 pygobject_postinstall.py: remove shortcut creation
29137 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29139 pygobject_postinstall.py | 35 +----------------------------------
29140 1 file changed, 1 insertion(+), 34 deletions(-)
29142 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
29143 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29144 Date: Wed Nov 3 09:31:14 2010 +0100
29146 setup.py: formatting cleanup, makes things readable
29148 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29150 setup.py | 56 ++++++++++++++++++++++++++------------------------------
29151 1 file changed, 26 insertions(+), 30 deletions(-)
29153 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
29154 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29155 Date: Wed Nov 3 09:28:36 2010 +0100
29157 setup.py: build and install tests
29159 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29162 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
29163 1 file changed, 61 insertions(+)
29165 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
29166 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29167 Date: Wed Nov 3 09:26:59 2010 +0100
29169 setup.py: install documentation when available on build system
29171 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29174 1 file changed, 3 insertions(+)
29176 commit 78533d851ee1314686f18cfa793613a9cf7d6686
29177 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29178 Date: Wed Nov 3 09:25:56 2010 +0100
29180 setup.py: install pygobject-codegen script
29182 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29184 setup.py | 25 +++++++++++++++++++++++++
29185 1 file changed, 25 insertions(+)
29187 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
29188 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29189 Date: Wed Nov 3 09:24:45 2010 +0100
29191 setup.py: install fixxref.py script
29193 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29196 1 file changed, 3 insertions(+)
29198 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
29199 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29200 Date: Wed Nov 3 09:23:05 2010 +0100
29202 setup.py: rearrange constants
29204 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29206 setup.py | 37 ++++++++++++++++++++-----------------
29207 1 file changed, 20 insertions(+), 17 deletions(-)
29209 commit 7d353d04892de67265bf693f591f37fd393de639
29210 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29211 Date: Wed Nov 3 09:18:11 2010 +0100
29213 setup.py: check python version and pkgconig availability before
29216 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29218 setup.py | 18 ++++++++++--------
29219 1 file changed, 10 insertions(+), 8 deletions(-)
29221 commit 286364ed39953e942e24d5911519bcac2f90975a
29222 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29223 Date: Wed Nov 3 09:05:59 2010 +0100
29225 setup.py: simplify sys.platform != 'win32' detection and error
29228 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29230 setup.py | 29 +++++++++--------------------
29231 1 file changed, 9 insertions(+), 20 deletions(-)
29233 commit 3f70f92904c123e6cc40929c0affd3f75d061828
29234 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29235 Date: Wed Nov 3 09:02:30 2010 +0100
29237 setup.py: rearrange imports
29239 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29241 setup.py | 31 ++++++++++++++++++++++---------
29242 1 file changed, 22 insertions(+), 9 deletions(-)
29244 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
29245 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29246 Date: Wed Nov 3 08:58:00 2010 +0100
29248 README.win32: update build instructions
29250 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29252 README.win32 | 13 +++++--------
29253 1 file changed, 5 insertions(+), 8 deletions(-)
29255 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
29256 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29257 Date: Wed Nov 3 07:59:18 2010 +0100
29259 dsextras.py: formatting cleanup, makes things readable
29261 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29264 ++++++++++++++++++++++++++++++++++++++----------------------
29265 1 file changed, 93 insertions(+), 55 deletions(-)
29267 commit d03503d0412d173acb383926ab3c2d640dad3e3f
29268 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29269 Date: Wed Nov 3 07:00:40 2010 +0100
29271 dsextras.py: add ggc4 to MSVC compatible struct packing comment
29273 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29275 dsextras.py | 4 ++--
29276 1 file changed, 2 insertions(+), 2 deletions(-)
29278 commit 8c62968e9f8467e24870b8c4f61112676eef4630
29279 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29280 Date: Wed Nov 3 06:56:32 2010 +0100
29282 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
29283 incantations all over the place
29285 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29287 dsextras.py | 15 ++++++---------
29288 1 file changed, 6 insertions(+), 9 deletions(-)
29290 commit b98277afc24886bbda400e0ad360992bffa77b7c
29291 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29292 Date: Wed Nov 3 06:49:48 2010 +0100
29294 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
29296 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29298 dsextras.py | 10 ++++++++++
29299 1 file changed, 10 insertions(+)
29301 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
29302 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29303 Date: Wed Nov 3 06:45:05 2010 +0100
29305 dsextras.py: PEP8: Comparisons to singletons like None should always
29306 be done with 'is' or 'is not', never the equality operators.
29308 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29310 dsextras.py | 4 ++--
29311 1 file changed, 2 insertions(+), 2 deletions(-)
29313 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
29314 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29315 Date: Wed Nov 3 06:44:21 2010 +0100
29317 dsextras.py: use True/False instead of 1/0
29319 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29321 dsextras.py | 25 +++++++++++++------------
29322 1 file changed, 13 insertions(+), 12 deletions(-)
29324 commit 819a21cea831c3892040390e9446b78a91d1cbbe
29325 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29326 Date: Wed Nov 3 06:28:04 2010 +0100
29328 dsextras.py: rearrange imports
29330 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29333 +++++++++++++++++++++++++++++++---------------------------
29334 1 file changed, 31 insertions(+), 27 deletions(-)
29336 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
29337 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29338 Date: Wed Nov 3 06:16:21 2010 +0100
29340 Add distutils generated build/dist directories and eclipse
29341 configuration files to .gitignore
29343 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
29345 .gitignore | 7 +++++++
29346 1 file changed, 7 insertions(+)
29348 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
29349 Author: John (J5) Palmieri <johnp@redhat.com>
29350 Date: Thu Oct 28 15:32:28 2010 -0400
29352 [gi] add tests for calling dir on a dynamic module
29354 tests/test_gi.py | 24 ++++++++++++++++++++++++
29355 1 file changed, 24 insertions(+)
29357 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
29358 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
29359 Date: Wed Oct 27 18:28:11 2010 -0400
29361 [gi] dir() now works for modules
29363 https://bugzilla.gnome.org/show_bug.cgi?id=625093
29365 gi/module.py | 8 ++++++++
29366 1 file changed, 8 insertions(+)
29368 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
29369 Author: Simón Pena <spenap@gmail.com>
29370 Date: Mon Sep 20 23:10:14 2010 +0200
29372 Don't check the inner type when comparing gpointers
29374 When using pyg_pointer_richcompare to compare two objects,
29375 don't check their inner types. As we can't compare their private
29376 fields, nor get a proper compare function, we can consider them
29377 gpointers and compare them that way.
29379 https://bugzilla.gnome.org/show_bug.cgi?id=629552
29381 gobject/pygpointer.c | 2 +-
29382 1 file changed, 1 insertion(+), 1 deletion(-)
29384 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
29385 Author: John (J5) Palmieri <johnp@redhat.com>
29386 Date: Thu Oct 28 14:21:12 2010 -0400
29388 Release GIL when calling into C functions
29390 Author: Daniel P. Berrange <dan@berrange.com>
29392 https://bugzilla.gnome.org/show_bug.cgi?id=629042
29394 gi/pygi-invoke.c | 10 +++++++++-
29395 1 file changed, 9 insertions(+), 1 deletion(-)
29397 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
29398 Author: José Aliste <jaliste@src.gnome.org>
29399 Date: Fri Oct 15 14:30:10 2010 -0300
29401 _gi.Repository : Implement missing info bindings.
29403 https://bugzilla.gnome.org/show_bug.cgi?id=632185
29405 gi/pygi-info.c | 91
29406 +++++++++++++++++++++++++++++++++++++++++++++++++---------
29407 gi/pygi-info.h | 7 +++++
29408 2 files changed, 84 insertions(+), 14 deletions(-)
29410 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
29411 Author: John (J5) Palmieri <johnp@redhat.com>
29412 Date: Thu Oct 28 13:49:15 2010 -0400
29414 include Python.h so that PY_VERSION_HEX gets defined
29416 gi/pygi-foreign-cairo.c | 1 +
29417 1 file changed, 1 insertion(+)
29419 commit 8b28b1d713df33931e255600ab98feda37a8e02a
29420 Author: John (J5) Palmieri <johnp@redhat.com>
29421 Date: Thu Oct 28 13:47:34 2010 -0400
29423 [gi] make overrides work for python 3.x protocols and alias for
29426 gi/overrides/Gtk.py | 9 +++++++--
29427 1 file changed, 7 insertions(+), 2 deletions(-)
29429 commit 3c09710d2f68af9c16ce39fd25656147656a486a
29430 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29431 Date: Sat Oct 23 14:24:24 2010 +0200
29433 Override Gtk.Widget.translate_coordinates to not return success value
29435 gi/overrides/Gtk.py | 11 +++++++++++
29436 1 file changed, 11 insertions(+)
29438 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
29439 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29440 Date: Sat Oct 23 14:22:36 2010 +0200
29442 Override Gtk.TreeViewColumn.cell_get_position to not return success
29445 gi/overrides/Gtk.py | 5 +++++
29446 1 file changed, 5 insertions(+)
29448 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
29449 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29450 Date: Sat Oct 23 14:21:36 2010 +0200
29452 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
29453 not return success value
29455 gi/overrides/Gtk.py | 15 +++++++++++++++
29456 1 file changed, 15 insertions(+)
29458 commit 80b1b266fa68a5c67106871502017166628f71e4
29459 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29460 Date: Sat Oct 23 14:20:38 2010 +0200
29462 Override Gtk.TreeSortable.get_sort_column_id to not return success
29465 gi/overrides/Gtk.py | 12 ++++++++++++
29466 1 file changed, 12 insertions(+)
29468 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
29469 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29470 Date: Sat Oct 23 14:19:20 2010 +0200
29472 Override forward_search and backward_search of Gtk.TextIter to not
29473 return success value
29475 gi/overrides/Gtk.py | 15 +++++++++++++++
29476 1 file changed, 15 insertions(+)
29478 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
29479 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29480 Date: Sat Oct 23 14:18:09 2010 +0200
29482 Override Gtk.TextBuffer.get_selection_bounds to not return success
29485 gi/overrides/Gtk.py | 5 +++++
29486 1 file changed, 5 insertions(+)
29488 commit da6d87460b9392c29d025a7eed9249fb604204bc
29489 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29490 Date: Sat Oct 23 14:17:04 2010 +0200
29492 Override Gtk.RecentInfo.get_application_info to not return success
29495 gi/overrides/Gtk.py | 10 ++++++++++
29496 1 file changed, 10 insertions(+)
29498 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
29499 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29500 Date: Sat Oct 23 14:16:21 2010 +0200
29502 Override Gtk.IMContext.get_surrounding to not return success value
29504 gi/overrides/Gtk.py | 10 ++++++++++
29505 1 file changed, 10 insertions(+)
29507 commit b85b445f15421209c0b4adf676d7c8218d6437c5
29508 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29509 Date: Sat Oct 23 14:15:24 2010 +0200
29511 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
29512 of Gtk.IconView to not return success value
29514 gi/overrides/Gtk.py | 19 +++++++++++++++++++
29515 1 file changed, 19 insertions(+)
29517 commit 684d716192d58c972083e579e909bcd97f8a5025
29518 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29519 Date: Sat Oct 23 14:13:47 2010 +0200
29521 Override Gtk.Container.get_focus_chain to not return success value
29523 gi/overrides/Gtk.py | 10 ++++++++++
29524 1 file changed, 10 insertions(+)
29526 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
29527 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29528 Date: Sat Oct 23 14:12:44 2010 +0200
29530 Override Gtk.ComboBox.get_active_iter to not return success value
29532 gi/overrides/Gtk.py | 10 ++++++++++
29533 1 file changed, 10 insertions(+)
29535 commit b483852904468722230903989e3451c7c6a24c0f
29536 Author: John (J5) Palmieri <johnp@redhat.com>
29537 Date: Tue Oct 12 12:18:33 2010 -0400
29539 [gi] make parameter check less strict when dealing with GValue params
29541 * Some GValue API can store a pointer to a python object for later
29542 use but our parameter checking was too strict to allow this
29543 * Add pyg_type_from_object_strict API which takes a strict boolean and
29544 returns PY_TYPE_OBJECT if no other GType can be found
29545 * Since we don't have enough info to genrically check GValue
29547 use the less strict type guessing when encountering a GValue param
29548 * Other API stays the same and continues to do strict testing
29550 https://bugzilla.gnome.org/show_bug.cgi?id=622987
29552 gi/pygi-argument.c | 17 ++++++---------
29553 gobject/gobjectmodule.c | 4 ++--
29554 gobject/pygobject-private.h | 1 +
29555 gobject/pygobject.h | 2 ++
29556 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
29557 tests/test_gi.py | 1 -
29558 tests/test_overrides.py | 50
29559 +++++++++++++++++++++++++++++++++++++++++----
29560 7 files changed, 90 insertions(+), 22 deletions(-)
29562 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
29563 Author: John Stowers <john.stowers@gmail.com>
29564 Date: Fri Oct 22 13:28:31 2010 +1300
29566 Shortcut removal is not needed on post-uninstall
29568 pygobject_postinstall.py | 14 ++------------
29569 1 file changed, 2 insertions(+), 12 deletions(-)
29571 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
29572 Author: John Stowers <john.stowers@gmail.com>
29573 Date: Thu Oct 21 13:25:35 2010 +1300
29575 Disable shortcut creation in windows installer
29577 pygobject_postinstall.py | 2 +-
29578 1 file changed, 1 insertion(+), 1 deletion(-)
29580 commit a3d6212b0abccef58f05d454c091936776413d98
29581 Author: John (J5) Palmieri <johnp@redhat.com>
29582 Date: Thu Oct 7 11:43:27 2010 -0400
29584 overrides for all subclasses of dialog
29586 https://bugzilla.gnome.org/show_bug.cgi?id=631634
29588 gi/overrides/Gtk.py | 94
29589 +++++++++++++++++++++++++++++++++++++++++++++----
29590 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
29591 2 files changed, 151 insertions(+), 7 deletions(-)
29593 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
29594 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29595 Date: Thu Oct 7 19:37:53 2010 +0200
29597 Make TreeModel behave like in GTK-2.x
29599 Moved stuff from __getitem__ to get_iter.
29600 Added TreePath.__cmp__
29602 get_iter_from_string throws ValueError.
29603 iterchildren() does not return None.
29605 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
29608 Added support for negative row and column indices
29610 Use rich comparison methods instead of __cmp__
29612 Added TreeModel.__bool__/__nonzero__
29614 Raise Error if tree path string is empty
29616 https://bugzilla.gnome.org/show_bug.cgi?id=631547
29618 gi/overrides/Gtk.py | 195
29619 ++++++++++++++++++++++++++++++++++++++++++++++++
29620 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
29621 2 files changed, 349 insertions(+), 6 deletions(-)
29623 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
29624 Author: John Stowers <john.stowers@gmail.com>
29625 Date: Sat Oct 16 18:59:25 2010 +1300
29627 Correctly build GIO on windows
29629 setup.py | 6 +++---
29630 1 file changed, 3 insertions(+), 3 deletions(-)
29632 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
29633 Author: John Stowers <john.stowers@gmail.com>
29634 Date: Sat Oct 16 18:17:28 2010 +1300
29636 Require Python >= 2.6.0 for Windows build
29639 1 file changed, 1 insertion(+), 1 deletion(-)
29641 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
29642 Author: John Stowers <john.stowers@gmail.com>
29643 Date: Sat Oct 16 17:41:01 2010 +1300
29645 Fix depreciation warning in dsextras.py
29648 1 file changed, 1 insertion(+), 1 deletion(-)
29650 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
29651 Author: John Stowers <john.stowers@gmail.com>
29652 Date: Sat Oct 16 17:34:50 2010 +1300
29654 Fix build on windows
29656 gi/pygi-foreign.c | 5 ++++-
29657 gi/pygi.h | 5 ++++-
29659 3 files changed, 10 insertions(+), 4 deletions(-)
29661 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
29662 Author: Michael Culbertson <michael.culbertson@gmail.com>
29663 Date: Sat Oct 16 17:08:11 2010 +1300
29665 Support for GCC4 in Windows distutils build - bug 626548
29667 dsextras.py | 3 ++-
29668 1 file changed, 2 insertions(+), 1 deletion(-)
29670 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
29671 Author: John Stowers <john.stowers@gmail.com>
29672 Date: Fri Oct 15 09:39:02 2010 +1300
29674 Remove obsolete comments in dsextras.py
29676 dsextras.py | 11 ++---------
29677 1 file changed, 2 insertions(+), 9 deletions(-)
29679 commit b5f383f854fb8f72677828b029589320c59006d1
29680 Author: John Stowers <john.stowers@gmail.com>
29681 Date: Fri Oct 15 09:21:03 2010 +1300
29683 Broken dsextras.py pkg-config check error message
29688 1 file changed, 1 insertion(+), 1 deletion(-)
29690 commit e1981da105b574e273ae6500fc6d25caf6af6aae
29691 Author: John (J5) Palmieri <johnp@redhat.com>
29692 Date: Tue Sep 28 15:31:03 2010 -0400
29694 add compat functions for the deprecated PyCObject api
29696 * Moved to using the PyCapsule API for python >= 3
29697 * PyCObject is removed from Python 3.2
29698 * It has also been deprecated in 2.7 but since we use the API in
29700 which are consumed by static binding modules, appling this for
29702 causes crashes unless the modules are recompiled, breaking ABI.
29704 to rely on for 2.7 because it will never be removed and there is
29706 undeprecating it upstream.
29707 * There is no issues with static bindings under python 3 because
29709 supported yet and most likely never will be.
29710 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
29712 which adds a poorman's type check when unboxing.
29714 https://bugzilla.gnome.org/show_bug.cgi?id=630844
29716 gi/gimodule.c | 2 +-
29717 gi/pygi.h | 5 ++++-
29718 glib/glibmodule.c | 2 +-
29719 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
29720 glib/pyglib.c | 6 +++---
29721 glib/pygoptioncontext.c | 2 +-
29722 gobject/gobjectmodule.c | 2 +-
29723 gobject/pygobject.h | 6 ++++++
29724 gobject/pygtype.c | 10 +++++-----
29725 9 files changed, 50 insertions(+), 13 deletions(-)
29727 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
29728 Author: Damien Caliste <damien.caliste@cea.fr>
29729 Date: Tue Sep 28 12:44:42 2010 +0200
29731 Add __path__ attributes.
29733 Add an attribute __path__ to DynamicModule and IntrospectionModule,
29734 using the path of the typelib.
29736 https://bugzilla.gnome.org/show_bug.cgi?id=630807
29738 gi/module.py | 2 ++
29739 1 file changed, 2 insertions(+)
29741 commit 28f9366c9cb382801bad080864f667c867daa3c7
29742 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29743 Date: Sat Oct 9 17:40:40 2010 +0200
29745 Override Gtk.TreeSelection.get_selected to not return success value.
29747 https://bugzilla.gnome.org/show_bug.cgi?id=631765
29749 gi/overrides/Gtk.py | 12 ++++++++++++
29750 1 file changed, 12 insertions(+)
29752 commit f01a7d9e8222663ce52100e061033f2745a5e7af
29753 Author: Vincent Untz <vuntz@gnome.org>
29754 Date: Thu Oct 7 09:42:24 2010 +0200
29756 Make row optional in Gtk.TreeStore/ListStore.append override
29758 https://bugzilla.gnome.org/show_bug.cgi?id=631548
29760 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
29761 1 file changed, 22 insertions(+), 14 deletions(-)
29763 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
29764 Author: John (J5) Palmieri <johnp@redhat.com>
29765 Date: Mon Oct 4 12:50:55 2010 -0400
29767 Revert "add compat functions for the deprecated PyCObject api"
29769 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
29771 I ment to commit another patch and ended up comitting both
29773 gi/gimodule.c | 2 +-
29774 gi/pygi.h | 5 +----
29775 glib/glibmodule.c | 2 +-
29776 glib/pyglib-python-compat.h | 19 -------------------
29777 glib/pyglib.c | 6 +++---
29778 glib/pygoptioncontext.c | 2 +-
29779 gobject/gobjectmodule.c | 2 +-
29780 gobject/pygobject.h | 6 ------
29781 gobject/pygtype.c | 10 +++++-----
29782 9 files changed, 13 insertions(+), 41 deletions(-)
29784 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
29785 Author: John (J5) Palmieri <johnp@redhat.com>
29786 Date: Mon Oct 4 12:43:31 2010 -0400
29788 return NULL instead of -1 which fixes crash when introspection is
29791 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
29794 1 file changed, 1 insertion(+), 1 deletion(-)
29796 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
29797 Author: John (J5) Palmieri <johnp@redhat.com>
29798 Date: Tue Sep 28 15:31:03 2010 -0400
29800 add compat functions for the deprecated PyCObject api
29802 * Moved to using the PyCapsule API for python >= 2.7
29804 https://bugzilla.gnome.org/show_bug.cgi?id=630844
29806 gi/gimodule.c | 2 +-
29807 gi/pygi.h | 5 ++++-
29808 glib/glibmodule.c | 2 +-
29809 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
29810 glib/pyglib.c | 6 +++---
29811 glib/pygoptioncontext.c | 2 +-
29812 gobject/gobjectmodule.c | 2 +-
29813 gobject/pygobject.h | 6 ++++++
29814 gobject/pygtype.c | 10 +++++-----
29815 9 files changed, 41 insertions(+), 13 deletions(-)
29817 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
29818 Author: John (J5) Palmieri <johnp@redhat.com>
29819 Date: Tue Sep 28 15:28:16 2010 -0400
29821 fix commit 7fe83108 which didn't use the compat functions for
29824 glib/glibmodule.c | 2 +-
29825 1 file changed, 1 insertion(+), 1 deletion(-)
29827 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
29828 Author: John (J5) Palmieri <johnp@redhat.com>
29829 Date: Tue Sep 28 13:15:57 2010 -0400
29831 Python 3 fixes for dsextras and the python.m4 distribution files
29833 dsextras.py | 13 +++++++------
29834 m4/python.m4 | 4 ++--
29835 2 files changed, 9 insertions(+), 8 deletions(-)
29837 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
29838 Author: John (J5) Palmieri <johnp@redhat.com>
29839 Date: Mon Sep 27 14:01:31 2010 -0400
29841 post release bump to 2.27.0 unstable
29843 * update hacking to fill in some holes in the release instructions
29846 configure.ac | 2 +-
29847 2 files changed, 5 insertions(+), 3 deletions(-)
29849 commit fd38010101411e6bc1ca9314657f418de660fa13
29850 Author: John (J5) Palmieri <johnp@redhat.com>
29851 Date: Mon Sep 27 12:03:10 2010 -0400
29853 update NEWS for release
29856 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
29857 1 file changed, 93 insertions(+)
29859 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
29860 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29861 Date: Sun Sep 26 08:37:31 2010 +0200
29863 Pre-release version bump 2.26.0
29865 configure.ac | 4 ++--
29866 1 file changed, 2 insertions(+), 2 deletions(-)
29868 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
29869 Author: John Stowers <john.stowers@gmail.com>
29870 Date: Fri Sep 24 22:44:03 2010 +1200
29872 Wrap g_get_system_{config,data}_dirs ()
29874 * Also tidy up g_get_{cache,config,data}_dir
29875 to share common code
29877 glib/glibmodule.c | 68
29878 ++++++++++++++++++++++++++++++++++++++++---------------
29879 1 file changed, 50 insertions(+), 18 deletions(-)
29881 commit 328aca600714bdca89dfdb531c222ee561ede27e
29882 Author: John (J5) Palmieri <johnp@redhat.com>
29883 Date: Fri Sep 24 12:16:22 2010 -0400
29885 fixed make check and make dist
29887 tests/Makefile.am | 31 ++++++++++++++++++-------------
29888 1 file changed, 18 insertions(+), 13 deletions(-)
29890 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
29891 Author: John Stowers <john.stowers@gmail.com>
29892 Date: Fri Sep 24 21:20:53 2010 +1200
29894 Disable GI tests when introspection disabled
29896 tests/Makefile.am | 2 ++
29897 1 file changed, 2 insertions(+)
29899 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
29900 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29901 Date: Sat Jul 18 19:35:08 2009 +0200
29903 Wrap g_uri_list_extract_uris. Fixes bug #584431
29905 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
29906 gobject/__init__.py | 2 +-
29907 tests/Makefile.am | 3 ++-
29908 tests/test_uris.py | 15 +++++++++++++++
29909 4 files changed, 56 insertions(+), 2 deletions(-)
29911 commit d6721a59c294f2471142b8c32de2f647b7084bca
29912 Author: Paul Bolle <pebolle@tiscali.nl>
29913 Date: Thu Sep 23 15:38:40 2010 -0400
29915 Fix a few uses of TRUE and FALSE in the docs
29917 docs/reference/pygio-mount.xml | 5 +++--
29918 docs/reference/pyglib-functions.xml | 18 +++++++++---------
29919 docs/reference/pyglib-maincontext.xml | 12 ++++++------
29920 docs/reference/pyglib-mainloop.xml | 6 +++---
29921 docs/reference/pygobject-functions.xml | 6 +++---
29922 docs/reference/pygobject.xml | 4 ++--
29923 6 files changed, 26 insertions(+), 25 deletions(-)
29925 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
29926 Author: Damien Caliste <damien.caliste@cea.fr>
29927 Date: Tue Sep 21 17:52:14 2010 +0200
29929 pygi: always free the invocation_state struct
29931 In pygi-invoke.c, the invocation_state struct is never freed
29932 in case of success. Thus, always call _free_invocation_state()
29934 Modify _free_invocation_state to avoid double free in case of
29935 caller-allocated GValue, once as a released argument in the
29936 _process routine and another time in the _free as the special
29937 case. So move all argument releasing code from the _process
29938 routine to the _free one.
29939 Modify the tests for the callback routines to return an integer
29940 value as specified in the GIR file.
29942 Make check is as successful as before (already existing error
29943 related to GVariant is still there).
29945 https://bugzilla.gnome.org/show_bug.cgi?id=630271
29947 gi/pygi-invoke.c | 83
29948 +++++++++++++++++++++---------------------------
29949 tests/test_everything.py | 4 ++-
29950 2 files changed, 40 insertions(+), 47 deletions(-)
29952 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
29953 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29954 Date: Mon Sep 13 16:36:47 2010 +0200
29956 Start implementing something equivalent to g_variant_new
29958 https://bugzilla.gnome.org/show_bug.cgi?id=629367
29960 gi/gimodule.c | 20 +++++++
29961 gi/overrides/GLib.py | 131
29962 ++++++++++++++++++++++++++++++++++++++++++---
29963 gi/pygi-foreign-gvariant.c | 2 +-
29964 tests/test_everything.py | 16 ------
29965 tests/test_overrides.py | 25 +++++++++
29966 5 files changed, 170 insertions(+), 24 deletions(-)
29968 commit fc45abdd9b55ab63556798ab0f04715be79dba08
29969 Author: John (J5) Palmieri <johnp@redhat.com>
29970 Date: Thu Sep 23 10:49:36 2010 -0400
29972 fixed typo - missing comma in glib.option module
29974 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
29976 glib/option.py | 2 +-
29977 1 file changed, 1 insertion(+), 1 deletion(-)
29979 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
29980 Author: John (J5) Palmieri <johnp@redhat.com>
29981 Date: Fri Sep 17 12:08:09 2010 -0400
29983 add checks so we can compile under python 3 by setting PYTHON=python3
29985 * compile for python 3
29986 * disables gio if compiling under python 3.x
29987 * runs only pertinant tests
29989 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29991 configure.ac | 32 +++++++++++++++++++++++++++++---
29992 tests/Makefile.am | 35 ++++++++++++++++++++---------------
29993 tests/runtests.py | 4 ++++
29994 3 files changed, 53 insertions(+), 18 deletions(-)
29996 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
29997 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29998 Date: Fri Sep 17 15:50:47 2010 +0200
30000 Rename static methods as functions
30002 In recent gobject-introspection releases, static methods have been
30003 removed and placed as functions in the namespace level. In a future
30004 releases it's planned to become static methods again but for now
30005 let's fix the tests.
30007 tests/test_gi.py | 14 +++++++-------
30008 1 file changed, 7 insertions(+), 7 deletions(-)
30010 commit 2da8da589644d6125101210712defb1272a8abb1
30011 Author: John (J5) Palmieri <johnp@redhat.com>
30012 Date: Thu Sep 9 13:52:14 2010 -0400
30014 fix a couple of compiler warnings
30016 https://bugzilla.gnome.org/show_bug.cgi?id=629199
30018 gi/pygi-argument.c | 4 ++--
30019 gi/pygi-struct.c | 2 +-
30020 gobject/gobjectmodule.c | 2 +-
30021 3 files changed, 4 insertions(+), 4 deletions(-)
30023 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
30024 Author: John (J5) Palmieri <johnp@redhat.com>
30025 Date: Thu Sep 9 13:55:17 2010 -0400
30029 * we use richcompare now
30031 https://bugzilla.gnome.org/show_bug.cgi?id=629198
30033 gobject/pygtype.c | 9 ---------
30034 1 file changed, 9 deletions(-)
30036 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
30037 Author: John (J5) Palmieri <johnp@redhat.com>
30038 Date: Tue Sep 14 14:10:49 2010 -0400
30040 Check the type of the instance object
30042 * in python 2 methods were added to classes as unbound methods and
30044 check the instance type to make sure it was correct
30045 * in python 3 for perfomance reasons methods are added to classes
30047 functions which treat the instance as an untyped argument so
30050 * this patch adds a type check so that the correct errors are
30052 python 3 (python 2 this just adds another layer of redundancy should
30053 something change with type checking in the future)
30054 * since GI handles regular args and the instance arg slightly
30056 we had to split out the interface checks in
30057 _pygi_g_type_info_check_object
30058 in order to not duplicate code
30060 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30062 gi/pygi-argument.c | 182
30063 ++++++++++++++++++++++++++++-------------------------
30064 gi/pygi-argument.h | 2 +
30065 gi/pygi-invoke.c | 14 +++++
30066 3 files changed, 112 insertions(+), 86 deletions(-)
30068 commit 5d79498d38b147b66ae72c1481e397160491e8d6
30069 Author: John (J5) Palmieri <johnp@redhat.com>
30070 Date: Wed Sep 15 10:26:20 2010 -0400
30072 include the correct pycairo version
30074 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30076 gi/pygi-foreign-cairo.c | 6 ++++++
30077 1 file changed, 6 insertions(+)
30079 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
30080 Author: John (J5) Palmieri <johnp@redhat.com>
30081 Date: Thu Sep 9 22:16:58 2010 -0400
30083 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
30085 * in Py3k PyMapping_Check returns true for sequences such as strings
30086 and lists. Since we need to get the keys anyway, and it returns
30087 NULL if this is not a dict, this is a much better test, even in
30090 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30092 gi/pygi-argument.c | 10 +++-------
30093 1 file changed, 3 insertions(+), 7 deletions(-)
30095 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
30096 Author: John (J5) Palmieri <johnp@redhat.com>
30097 Date: Thu Sep 9 18:44:11 2010 -0400
30099 fix handling of UINT64 and INT64 arguments in py3k
30101 * decode to the right sized C long
30103 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30105 gi/pygi-argument.c | 20 ++++++++++++--------
30106 1 file changed, 12 insertions(+), 8 deletions(-)
30108 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
30109 Author: John (J5) Palmieri <johnp@redhat.com>
30110 Date: Thu Sep 9 17:35:10 2010 -0400
30112 properly handle ulongs properties in py3k
30114 * If this is a PyLong object pull use AsUnsignedLong
30116 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30118 gobject/pygtype.c | 29 ++++++++++++++++-------------
30119 1 file changed, 16 insertions(+), 13 deletions(-)
30121 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
30122 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30123 Date: Fri Sep 17 12:14:56 2010 +0200
30125 Specify encoding of tests/test_gi.py
30127 tests/test_gi.py | 3 ++-
30128 1 file changed, 2 insertions(+), 1 deletion(-)
30130 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
30131 Author: John (J5) Palmieri <johnp@redhat.com>
30132 Date: Thu Sep 9 13:24:30 2010 -0400
30134 use actual unicode in the tests on py3k, not the byte representation
30136 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30138 tests/test_gi.py | 6 +++++-
30139 1 file changed, 5 insertions(+), 1 deletion(-)
30141 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
30142 Author: John (J5) Palmieri <johnp@redhat.com>
30143 Date: Thu Sep 9 12:45:21 2010 -0400
30145 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
30148 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
30150 with both the METH_VARARGS and METH_KEYWORDS flags.
30152 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30154 glib/pygiochannel.c | 30 +++++++++++++++---------------
30155 glib/pygsource.c | 4 ++--
30156 gobject/pygobject.c | 2 +-
30157 3 files changed, 18 insertions(+), 18 deletions(-)
30159 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
30160 Author: John (J5) Palmieri <johnp@redhat.com>
30161 Date: Thu Sep 9 08:04:40 2010 -0400
30163 fix subclassing PyLong by calling __new__ correctly
30165 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30167 glib/pygspawn.c | 4 ++--
30168 1 file changed, 2 insertions(+), 2 deletions(-)
30170 commit a499b2f0d622b671bd154544f66b73f1278e66ed
30171 Author: John (J5) Palmieri <johnp@redhat.com>
30172 Date: Thu Sep 9 07:56:44 2010 -0400
30174 minor py3k fixups for python modules
30176 * add _basestring and _bytes and _callable wrappers
30177 * use items instead of iteritems and range instead of xrange
30181 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30183 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
30184 glib/option.py | 16 ++++++++++++----
30185 2 files changed, 28 insertions(+), 12 deletions(-)
30187 commit dec9001d26c97949e7b3578086cb35e98075c047
30188 Author: John (J5) Palmieri <johnp@redhat.com>
30189 Date: Thu Sep 9 07:36:04 2010 -0400
30191 minor fixes in tests for py3k compat
30193 * add a _bytes wrapper for API that expects bytes in py3k but str
30195 * fix some more exception handling using sys.exc_info()[:2]
30196 * use range instead of xrange, items instead of iteritems since py3k
30197 dropped support for the different ways of accessing iterators
30198 - this is less efficient in py2 but we plan to target py3k as the
30200 * use list(dict.items()) since py3k only returns iterables which
30203 * missed some _long wrapping
30205 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30207 tests/compathelper.py | 18 ++++++++++++++++++
30208 tests/test_everything.py | 5 +++--
30209 tests/test_mainloop.py | 3 ++-
30210 tests/test_option.py | 6 ++++--
30211 tests/test_overrides.py | 4 ++--
30212 tests/test_properties.py | 6 +++---
30213 6 files changed, 32 insertions(+), 10 deletions(-)
30215 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
30216 Author: Colin Walters <walters@verbum.org>
30217 Date: Thu Sep 9 16:25:51 2010 -0400
30219 compilation: Fix syntax error
30221 gi/pygi-info.c | 2 +-
30222 1 file changed, 1 insertion(+), 1 deletion(-)
30224 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
30225 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30226 Date: Thu Sep 9 22:17:00 2010 +0200
30230 gi/overrides/GLib.py | 48
30231 ++++++++++++++++++++++++++++++++++++++++++++++++
30232 1 file changed, 48 insertions(+)
30234 commit 306b792ac97a458ddee59fb86d66453495117f3e
30235 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30236 Date: Thu Jul 22 13:48:51 2010 +0100
30238 Add override for GLib.Variant.new_tuple
30240 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
30241 * gi/overrides/GLib.py: Override Variant.new_tuple and
30243 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
30244 _pygi_type_import_by_gi_info
30245 * gi/types.py: Never override gobject.TYPE_NONE
30246 * tests/test_everything.py: Add tests for GVariant tuples
30248 https://bugzilla.gnome.org/show_bug.cgi?id=625050
30250 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
30251 gi/overrides/Makefile.am | 1 +
30252 gi/pygi-type.c | 15 +++++++++------
30253 gi/pygi-type.h | 2 ++
30255 tests/test_everything.py | 9 +++++++++
30256 6 files changed, 60 insertions(+), 6 deletions(-)
30258 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
30259 Author: John (J5) Palmieri <johnp@redhat.com>
30260 Date: Wed Sep 8 13:08:48 2010 -0400
30262 fix for changes in the gi test libraries
30264 tests/test_everything.py | 2 +-
30265 1 file changed, 1 insertion(+), 1 deletion(-)
30267 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
30268 Author: John (J5) Palmieri <johnp@redhat.com>
30269 Date: Wed Sep 8 13:08:07 2010 -0400
30271 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
30273 gi/overrides/Gtk.py | 10 ++++++++--
30274 1 file changed, 8 insertions(+), 2 deletions(-)
30276 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
30277 Author: John (J5) Palmieri <johnp@redhat.com>
30278 Date: Wed Sep 8 12:35:09 2010 -0400
30280 no need to offset arg positions when is_method is true
30282 * The old GI libraries required we offset arg positions for the
30284 self argument. The new library fixes this so we don't have
30288 https://bugzilla.gnome.org/show_bug.cgi?id=629087
30290 gi/pygi-callbacks.c | 5 +----
30291 1 file changed, 1 insertion(+), 4 deletions(-)
30293 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
30294 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30295 Date: Fri Aug 20 14:54:35 2010 +0200
30297 gi: Add support for more property types
30299 https://bugzilla.gnome.org/show_bug.cgi?id=627494
30301 gi/pygi-property.c | 156
30302 ++++++++++++++++++++++++++++++++++++-----------
30303 tests/test_everything.py | 34 +++++++++++
30304 2 files changed, 154 insertions(+), 36 deletions(-)
30306 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
30307 Author: John (J5) Palmieri <johnp@redhat.com>
30308 Date: Fri Sep 3 12:04:16 2010 -0400
30310 use PyObject_SetAttrString, not PyDict_SetItemString when setting
30313 * When registering a gtype wrapper we used to set tp_dict
30314 directly. This works
30315 in python 2 but python 3 seems to handle attributes in a slightly
30317 way where the tp_dict and attr get out of sync. By setting the attr
30318 directly we avoid this issue.
30319 * Note that there are many more places where we set __gtype__
30321 however for objects which are not instantiated yet we have to
30324 * Since this one change fixes a lot of failed tests, for now we
30326 other places where we set __gtype__. If we run into more issues
30328 with __gtype__ we can take a closer look later.
30330 https://bugzilla.gnome.org/show_bug.cgi?id=627878
30332 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30334 gobject/gobjectmodule.c | 2 +-
30335 1 file changed, 1 insertion(+), 1 deletion(-)
30337 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
30338 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30339 Date: Wed Sep 1 11:03:40 2010 +0200
30341 Rename GArgument to GIArgument
30343 gi/pygi-argument.c | 52
30344 +++++++++++++++++++++++-----------------------
30345 gi/pygi-argument.h | 10 ++++-----
30346 gi/pygi-closure.c | 34 +++++++++++++++---------------
30347 gi/pygi-foreign-cairo.c | 8 +++----
30348 gi/pygi-foreign-gvariant.c | 4 ++--
30349 gi/pygi-foreign-gvariant.h | 4 ++--
30350 gi/pygi-foreign.c | 12 +++++------
30351 gi/pygi-foreign.h | 8 +++----
30352 gi/pygi-info.c | 8 +++----
30353 gi/pygi-invoke.c | 28 ++++++++++++-------------
30354 gi/pygi-property.c | 4 ++--
30355 gi/pygi.h | 16 +++++++-------
30356 12 files changed, 94 insertions(+), 94 deletions(-)
30358 commit 7197f85c9be2b03636639ac909ca2c3170653509
30359 Author: John (J5) Palmieri <johnp@redhat.com>
30360 Date: Wed Aug 18 10:29:19 2010 -0400
30362 fix up tests so they run in py3k
30364 * add a compat helper that should only be used by tests
30365 * fix long notation to use the compat helper instead
30366 * add parens to print statements
30367 * use compatable try/except pattern
30369 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30371 gobject/propertyhelper.py | 16 +++++++++++-----
30372 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
30373 tests/test_option.py | 7 ++++++-
30374 tests/test_properties.py | 24 ++++++++++++++----------
30375 tests/test_signal.py | 14 +++++++-------
30376 tests/test_source.py | 4 ++--
30377 6 files changed, 72 insertions(+), 25 deletions(-)
30379 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
30380 Author: Colin Walters <walters@verbum.org>
30381 Date: Fri Aug 20 10:58:48 2010 -0400
30383 tests: Port to new introspection tests
30385 Everything is renamed "Regress", and both it and GIMarshallingTests
30386 are now in source form, so we compile them.
30388 The scanner now adds "static methods" to objects, structs, and unions,
30389 so update the test code to use those.
30391 In the tests, remove broken (inout) cases - the person writing these
30392 tests misunderstood the semantics of (inout). It's not acceptable for
30393 a C API to mutate e.g. a GSList* passed in, or unref an object.
30395 The invocation code needed to be updated for this - remove some
30398 https://bugzilla.gnome.org/show_bug.cgi?id=627878
30400 configure.ac | 5 +-
30401 gi/pygi-argument.c | 9 +--
30402 gi/pygi-invoke.c | 147
30403 +++++----------------------------------------
30404 tests/Makefile.am | 42 ++++++++++++-
30405 tests/test_everything.py | 6 +-
30406 tests/test_gi.py | 151
30407 +++++++++--------------------------------------
30408 6 files changed, 93 insertions(+), 267 deletions(-)
30410 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
30411 Author: John (J5) Palmieri <johnp@redhat.com>
30412 Date: Fri Aug 20 10:43:58 2010 -0400
30414 we need to specify tp_hash since we overide tp_richcompare
30416 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30418 gobject/pygenum.c | 1 +
30419 gobject/pygflags.c | 1 +
30420 2 files changed, 2 insertions(+)
30422 commit c03e6b482548aee99362356807c804f8834fad2b
30423 Author: John Ehresman <jpe@wingware.com>
30424 Date: Thu Apr 15 17:11:30 2010 -0400
30426 working enum/flags/pid subclasses of long
30428 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30430 glib/pygspawn.c | 7 ++---
30431 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
30432 gobject/pygflags.c | 76
30433 +++++++++++++++++++++++-------------------------------
30434 3 files changed, 71 insertions(+), 73 deletions(-)
30436 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
30437 Author: John (J5) Palmieri <johnp@redhat.com>
30438 Date: Wed Aug 18 11:03:32 2010 -0400
30440 make vfuncs work in py3k
30442 * methods now export __func__ instead of im_func for getting the
30444 out of a method closure
30445 * however classes no longer return unbound methods in py3k and instead
30446 return the actual function
30447 * in python 2 we use im_func when getting the function from the
30449 * in py3k we simply assign vfunc to the function
30451 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30453 gi/types.py | 12 ++++++++----
30454 1 file changed, 8 insertions(+), 4 deletions(-)
30456 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
30457 Author: John (J5) Palmieri <johnp@redhat.com>
30458 Date: Tue Aug 17 15:43:42 2010 -0400
30460 make cairo module compile in py3k
30462 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30464 gi/Makefile.am | 2 +-
30465 gi/pygi-foreign-cairo.c | 17 +++++++----------
30466 2 files changed, 8 insertions(+), 11 deletions(-)
30468 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
30469 Author: John (J5) Palmieri <johnp@redhat.com>
30470 Date: Tue Aug 17 02:33:45 2010 -0400
30472 fix exceptions so they work in python 3.x
30474 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30476 gi/module.py | 2 +-
30478 2 files changed, 2 insertions(+), 2 deletions(-)
30480 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
30481 Author: John (J5) Palmieri <johnp@redhat.com>
30482 Date: Tue Aug 17 02:24:44 2010 -0400
30484 make the gi module compile under 3.x
30486 * include the compat macros
30487 * use GLIB_MODULE_START/END to define module
30488 * add PyInit__gi to the exported symbols
30490 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30492 gi/Makefile.am | 2 +-
30493 gi/gimodule.c | 24 +++++++++---------------
30494 2 files changed, 10 insertions(+), 16 deletions(-)
30496 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
30497 Author: John (J5) Palmieri <johnp@redhat.com>
30498 Date: Tue Aug 17 02:14:14 2010 -0400
30500 fix up testshelper module so it compiles in python 3.x
30502 * include the compat header
30503 * fix up PyInts to be PYGLIB_Long
30504 * Use PYGLIB_DEFINE_TYPE macros to define module objects
30505 * Use PYGLIB_MODULE_START/END to define modules
30507 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30509 tests/Makefile.am | 2 +-
30510 tests/testhelpermodule.c | 221
30511 ++++++-----------------------------------------
30512 2 files changed, 28 insertions(+), 195 deletions(-)
30514 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
30515 Author: John (J5) Palmieri <johnp@redhat.com>
30516 Date: Mon Aug 16 21:14:27 2010 -0400
30518 convert to using PYGLIB_DEFINE_TYPE for module objects
30520 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30522 gi/pygi-boxed.c | 43 ++-----------
30523 gi/pygi-info.c | 171
30524 ++++++++++++++++++++-------------------------------
30525 gi/pygi-repository.c | 39 +++---------
30526 gi/pygi-struct.c | 45 +++-----------
30527 4 files changed, 88 insertions(+), 210 deletions(-)
30529 commit 1efa2b12913b194d433c17014bc1077271a6ca32
30530 Author: John (J5) Palmieri <johnp@redhat.com>
30531 Date: Mon Aug 16 13:51:05 2010 -0400
30533 some more p3k PyString and PyInt eradication in GI
30535 * add the glib dir to the includes list in the build
30536 * make sure we include the compat macros
30537 * add GLIB_PyBytes_FromString to compat macros
30538 * add GLIB_PyNumber_Long to compat macros
30539 * use RichCompare instead of Compare
30541 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30543 gi/Makefile.am | 2 +-
30544 gi/pygi-argument.c | 96
30545 +++++++++++++++++++++++++++------------------
30546 gi/pygi-boxed.c | 1 +
30547 gi/pygi-info.c | 13 +++---
30548 gi/pygi-private.h | 23 +++++++++++
30549 gi/pygi-repository.c | 8 ++--
30550 gi/pygi-struct.c | 1 +
30551 glib/pyglib-python-compat.h | 6 +++
30552 8 files changed, 103 insertions(+), 47 deletions(-)
30554 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
30555 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30556 Date: Fri Aug 20 09:28:57 2010 +0200
30558 pyglib: Fix typo (Leo Singer)
30560 https://bugzilla.gnome.org/show_bug.cgi?id=627408
30562 glib/option.py | 4 ++--
30563 1 file changed, 2 insertions(+), 2 deletions(-)
30565 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
30566 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
30567 Date: Thu Aug 19 18:45:05 2010 -0300
30569 Add defines for size_t and ssize_t conversion functions
30571 These missing defines cause the resulting module to have unresolved
30572 symbols, rendering it unusable.
30574 https://bugzilla.gnome.org/show_bug.cgi?id=627440
30576 glib/pyglib-python-compat.h | 2 ++
30577 1 file changed, 2 insertions(+)
30579 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
30580 Author: Colin Walters <walters@verbum.org>
30581 Date: Thu Aug 19 17:50:35 2010 -0400
30583 pyglib: Fix a compiler warning
30585 glib/pyglib.c | 1 +
30586 1 file changed, 1 insertion(+)
30588 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
30589 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30590 Date: Wed Aug 18 20:36:51 2010 +0200
30592 Don't force gtk 2.0
30594 pygi-convert.sh | 11 +++++++----
30595 1 file changed, 7 insertions(+), 4 deletions(-)
30597 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
30598 Author: Steve Frécinaux <code@istique.net>
30599 Date: Tue Aug 17 14:49:30 2010 +0200
30601 Fix some ref leaks in hook_up_vfunc_implementation()
30603 https://bugzilla.gnome.org/show_bug.cgi?id=627143
30605 gi/gimodule.c | 9 +++++++--
30606 1 file changed, 7 insertions(+), 2 deletions(-)
30608 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
30609 Author: John (J5) Palmieri <johnp@redhat.com>
30610 Date: Thu Aug 12 12:16:31 2010 -0400
30612 handle strings correctly in gio
30614 gio/gappinfo.override | 5 +++++
30615 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
30616 2 files changed, 40 insertions(+), 7 deletions(-)
30618 commit 45ab0c03110c911b47519941dfd753326891b5e0
30619 Author: John (J5) Palmieri <johnp@redhat.com>
30620 Date: Wed Aug 11 16:13:59 2010 -0400
30622 make giomodule compile under py3k
30624 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30626 gio/giomodule.c | 153
30627 +++++++++++++++++++++++++++++---------------------------
30628 1 file changed, 78 insertions(+), 75 deletions(-)
30630 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
30631 Author: John (J5) Palmieri <johnp@redhat.com>
30632 Date: Wed Aug 11 16:04:48 2010 -0400
30634 for py3k we need to do some more processing to get bytes from a
30637 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30639 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
30640 1 file changed, 27 insertions(+), 4 deletions(-)
30642 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
30643 Author: John (J5) Palmieri <johnp@redhat.com>
30644 Date: Wed Aug 11 15:03:55 2010 -0400
30646 use Bytes instead of Unicode when reading io
30648 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30650 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
30651 1 file changed, 24 insertions(+), 6 deletions(-)
30653 commit 5824ff98175b749dbcfa72d24b994230b6e05377
30654 Author: John (J5) Palmieri <johnp@redhat.com>
30655 Date: Mon Aug 9 15:16:51 2010 -0400
30657 prefix compat macros with PYGLIB
30659 * refactor from John Ehresman <jpe@wingware.com> py3k branch
30660 * fix up some extranious PyString calls
30661 * remove duplicate macros from pyglib.h that are in
30662 pyglib-python-compat.h
30663 * pygobject.h can't import pyglib-python-compat.h so add codepaths
30664 for both Py3k and legacy code instead of using macros
30666 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30668 glib/glibmodule.c | 48 +++++-----
30669 glib/pygiochannel.c | 46 +++++-----
30670 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
30671 glib/pyglib.c | 22 ++---
30672 glib/pyglib.h | 14 ---
30673 glib/pygoptioncontext.c | 4 +-
30674 glib/pygsource.c | 16 ++--
30675 glib/pygspawn.c | 32 +++----
30676 gobject/gobjectmodule.c | 216
30677 ++++++++++++++++++++++----------------------
30678 gobject/pygboxed.c | 2 +-
30679 gobject/pygenum.c | 84 ++++++++---------
30680 gobject/pygflags.c | 122 ++++++++++++-------------
30681 gobject/pygobject-private.h | 12 +--
30682 gobject/pygobject.c | 46 +++++-----
30683 gobject/pygobject.h | 23 +++++
30684 gobject/pygparamspec.c | 24 ++---
30685 gobject/pygpointer.c | 2 +-
30686 gobject/pygtype.c | 170 +++++++++++++++++-----------------
30687 18 files changed, 563 insertions(+), 473 deletions(-)
30689 commit 231e934cc01d061e81bb60d35127a133cd0e1793
30690 Author: John (J5) Palmieri <johnp@redhat.com>
30691 Date: Mon Aug 16 10:14:04 2010 +0200
30693 Gtk.Button unit tests
30695 https://bugzilla.gnome.org/show_bug.cgi?id=622606
30697 tests/test_overrides.py | 10 ++++++++++
30698 1 file changed, 10 insertions(+)
30700 commit f07cfde377e42686c6b80f56cac62338ee333e61
30701 Author: Johan Dahlin <johan@gnome.org>
30702 Date: Mon Aug 16 10:08:38 2010 +0200
30704 [Gtk] Add overrides for Button
30706 https://bugzilla.gnome.org/show_bug.cgi?id=622606
30708 gi/overrides/Gtk.py | 13 +++++++++++++
30709 1 file changed, 13 insertions(+)
30711 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
30712 Author: Simon van der Linden <svdlinden@gnome.org>
30713 Date: Thu Aug 12 16:18:58 2010 +0200
30715 Make Cairo an optional dependency
30717 Add the --enable-cairo configure argument.
30719 https://bugzilla.gnome.org/show_bug.cgi?id=616732
30721 configure.ac | 15 ++++++++++++---
30722 gi/Makefile.am | 20 ++++++++++++--------
30723 2 files changed, 24 insertions(+), 11 deletions(-)
30725 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
30726 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30727 Date: Mon Aug 16 09:55:35 2010 +0200
30729 Don't import again PyGObject (John Ralls)
30731 https://bugzilla.gnome.org/show_bug.cgi?id=626996
30734 1 file changed, 1 insertion(+)
30736 commit 0dc3656070f496431829c6e8441ca17129c569f8
30737 Author: John (J5) Palmieri <johnp@redhat.com>
30738 Date: Mon Aug 9 16:11:55 2010 -0400
30740 move to using richcompare slot instead of compare
30742 https://bugzilla.gnome.org/show_bug.cgi?id=615872
30744 glib/pygiochannel.c | 18 +++++++----
30746 +++++++++++++++++++++++++++++++++++++++++++++++++
30747 glib/pyglib.h | 3 ++
30748 glib/pygmaincontext.c | 17 ++++++----
30749 glib/pygmainloop.c | 17 ++++++----
30750 glib/pygoptioncontext.c | 18 +++++++----
30751 glib/pygoptiongroup.c | 22 +++++++------
30752 gobject/pygboxed.c | 18 +++++++----
30753 gobject/pygobject.c | 44 ++++++++++++++++++-------
30754 gobject/pygparamspec.c | 19 +++++++----
30755 gobject/pygpointer.c | 17 ++++++----
30756 gobject/pygtype.c | 26 +++++++++++----
30757 12 files changed, 233 insertions(+), 71 deletions(-)
30759 commit b426e531dc53d4b50e572a2da19733479635e662
30760 Author: Simon van der Linden <svdlinden@gnome.org>
30761 Date: Thu Aug 12 18:09:33 2010 +0200
30763 Replace autogen.sh by a newer version
30765 It pulls automake 1.10 or 1.11.
30766 Greatly inspired from GLib's.
30768 https://bugzilla.gnome.org/show_bug.cgi?id=625661
30771 +++++++------------------------------------------------------
30772 1 file changed, 58 insertions(+), 448 deletions(-)
30774 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
30775 Author: Simon van der Linden <svdlinden@gnome.org>
30776 Date: Thu Aug 12 14:11:55 2010 +0200
30780 pyglib.c: In function ‘pyglib_gerror_exception_check’:
30781 pyglib.c:362: warning: format not a string literal and no format
30783 pyglib.c:371: warning: format not a string literal and no format
30786 gio.override: In function 'pygio_notify_allocate_buffer':
30787 gio.override:144:13: warning: format '%d' expects type 'int', but
30791 https://bugzilla.gnome.org/show_bug.cgi?id=625437
30793 gio/gio.override | 2 +-
30794 glib/pyglib.c | 4 ++--
30795 2 files changed, 3 insertions(+), 3 deletions(-)
30797 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
30798 Author: Simon van der Linden <svdlinden@gnome.org>
30799 Date: Thu Aug 12 11:09:37 2010 +0200
30801 Fix caller-allocates emergency free.
30803 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
30805 NULL in order to be able caller-allocates. This patch adds those
30808 Moreover, the interface info needs to be freed afterwards.
30810 https://bugzilla.gnome.org/show_bug.cgi?id=626684
30812 gi/pygi-invoke.c | 9 ++++++++-
30813 1 file changed, 8 insertions(+), 1 deletion(-)
30815 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
30816 Author: Simon van der Linden <svdlinden@gnome.org>
30817 Date: Thu Aug 12 10:46:17 2010 +0200
30819 Remove useless checks.
30821 No need to check for state->arg_infos, state->arg_type_infos, and
30822 state->args_is_auxiliary to be NULL, they are always allocated.
30824 https://bugzilla.gnome.org/show_bug.cgi?id=626684
30826 gi/pygi-invoke.c | 14 +++-----------
30827 1 file changed, 3 insertions(+), 11 deletions(-)
30829 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
30830 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30831 Date: Tue Aug 10 17:40:16 2010 +0200
30833 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
30835 tests/Makefile.am | 2 +-
30836 1 file changed, 1 insertion(+), 1 deletion(-)
30838 commit 8be59c37dd57acc51875c7189ca09d728b729013
30839 Author: Ignacio Casal Quinteiro <icq@gnome.org>
30840 Date: Wed Aug 4 13:43:17 2010 +0200
30844 gi/pygi-argument.c | 2 --
30845 gi/pygi-invoke.c | 2 +-
30846 gi/pygi-struct.c | 1 -
30847 3 files changed, 1 insertion(+), 4 deletions(-)
30849 commit 529eca6054e9a7e2267f1529e317c2373932762f
30850 Author: Simon van der Linden <svdlinden@gnome.org>
30851 Date: Fri Jul 30 22:39:40 2010 +0200
30853 Add myself as a maintainer
30855 MAINTAINERS | 4 ++++
30856 1 file changed, 4 insertions(+)
30858 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
30859 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30860 Date: Fri Jul 30 14:14:16 2010 +0200
30862 Properly allocate boxed structs that are (caller-allocates)
30864 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
30865 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
30866 are (caller-allocates)
30867 * tests/test_overrides.py: Split the TreeView tests
30869 https://bugzilla.gnome.org/show_bug.cgi?id=625653
30871 gi/pygi-boxed.c | 50
30872 ++++++++++++++++++++++++++++++++-----------------
30873 gi/pygi-boxed.h | 10 ++++++----
30874 gi/pygi-invoke.c | 16 ++++++----------
30875 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
30876 4 files changed, 64 insertions(+), 51 deletions(-)
30878 commit 99c7322898c00a576c7319ea0a7c808446253133
30879 Author: Toms Baugis <toms.baugis@gmail.com>
30880 Date: Fri Jul 30 15:44:21 2010 +0200
30882 override gdk.Event to return attribute from the proper event object
30884 https://bugzilla.gnome.org/show_bug.cgi?id=620593
30886 gi/overrides/Gdk.py | 48
30887 ++++++++++++++++++++++++++++++++++++++++++++++++
30888 gi/pygi-invoke.c | 4 ----
30889 tests/test_overrides.py | 10 ++++++++++
30890 3 files changed, 58 insertions(+), 4 deletions(-)
30892 commit 55814e722c2ae11310f346790c9221e4fad92b50
30893 Author: John (J5) Palmieri <johnp@redhat.com>
30894 Date: Fri Jul 30 06:30:48 2010 -0400
30896 check if z# needs an int or Py_ssize_t
30898 https://bugzilla.gnome.org/show_bug.cgi?id=625438
30900 gio/gio.override | 5 +++++
30901 1 file changed, 5 insertions(+)
30903 commit 477315465d0a6d84b51e146e86e254873bc564ff
30904 Author: John (J5) Palmieri <johnp@redhat.com>
30905 Date: Fri Jul 30 06:43:06 2010 -0400
30907 make sure we parse parameters to python object vars not glib vars
30909 * py_flags was already set up but due to a typo &flags was being
30913 https://bugzilla.gnome.org/show_bug.cgi?id=625438
30915 gio/gfile.override | 8 ++++----
30916 1 file changed, 4 insertions(+), 4 deletions(-)
30918 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
30919 Author: Paul Bolle <pebolle@tiscali.nl>
30920 Date: Fri Jul 30 10:56:01 2010 +0200
30922 Make an example and a demo work out of the box
30924 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
30925 regarding pygtk to work out of the box. So add those.
30927 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
30929 https://bugzilla.gnome.org/show_bug.cgi?id=625638
30931 demos/gtk-demo/gtk-demo.py | 2 ++
30932 examples/cairo-demo.py | 2 ++
30933 2 files changed, 4 insertions(+)
30935 commit c9da5782e6c633d9af43ee85075e9ee65db09780
30936 Author: John (J5) Palmieri <johnp@redhat.com>
30937 Date: Fri Jul 9 13:14:42 2010 -0400
30939 make sure caller allocated structs are freed when they go out of scope
30941 * Move struct transfer checks from pygi-arguments to pygi-invoke
30942 * add better warning if an unknown struct is fully transfered
30943 * only free GValues we create in the invoke cleanup. All other
30945 get cleaned up when they go out of scope in python
30946 * Fixes issues with caller allocated treeiters getting freed to early
30947 * this is a fix to crashes in the current test suite when API's
30949 TreeIters were annotated as out caller-allocates so no new tests
30952 https://bugzilla.gnome.org/show_bug.cgi?id=623969
30954 gi/pygi-argument.c | 13 +++++--------
30955 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
30956 2 files changed, 45 insertions(+), 14 deletions(-)
30958 commit e0a85305cd107aae5902e524afd074cd8c329927
30959 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30960 Date: Fri Jul 30 10:35:33 2010 +0200
30962 Revert "override gdk.Event to return attribute from the proper
30965 Pushed by mistake, we still need testcases
30967 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
30969 gi/overrides/Gdk.py | 44 --------------------------------------------
30970 1 file changed, 44 deletions(-)
30972 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
30973 Author: Paul Bolle <pebolle@tiscali.nl>
30974 Date: Thu Jul 29 22:55:28 2010 +0200
30976 PyGI: properly quit cairo-demo
30978 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
30980 https://bugzilla.gnome.org/show_bug.cgi?id=625619
30982 examples/cairo-demo.py | 2 +-
30983 1 file changed, 1 insertion(+), 1 deletion(-)
30985 commit e7bb3954880568884ca66e7751ede689dc2f24f6
30986 Author: Toms Baugis <toms.baugis@gmail.com>
30987 Date: Tue Jul 27 21:37:16 2010 +0200
30989 override gdk.Event to return attribute from the proper event object.
30991 https://bugzilla.gnome.org/show_bug.cgi?id=620593
30993 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
30994 1 file changed, 44 insertions(+)
30996 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
30997 Author: Simon van der Linden <svdlinden@gnome.org>
30998 Date: Wed Jul 28 14:56:00 2010 +0200
31000 Clean and improve the test infrastructure
31002 To run select tests, use for instance:
31003 % make check TEST_NAMES='test_everything test_gi.TestConstant'
31005 It works with check.gdb and check.valgrind too.
31007 https://bugzilla.gnome.org/show_bug.cgi?id=625488
31009 Makefile.am | 5 ----
31010 tests/Makefile.am | 65
31011 +++++++++++++++++++++-------------------------
31012 tests/common.py | 47 ---------------------------------
31013 tests/runtests.py | 43 ++++++++++++------------------
31014 tests/test_gcancellable.py | 4 +--
31015 tests/test_gi.py | 3 ---
31016 tests/test_gicon.py | 3 ++-
31017 tests/test_gio.py | 3 ++-
31018 tests/test_gobject.py | 3 ++-
31019 tests/test_gresolver.py | 4 +--
31020 tests/test_gsocket.py | 4 ++-
31021 tests/test_interface.py | 6 ++++-
31022 tests/test_mainloop.py | 11 +++-----
31023 tests/test_signal.py | 4 ++-
31024 tests/test_source.py | 4 +--
31025 tests/test_subprocess.py | 5 +---
31026 tests/test_thread.py | 5 +++-
31027 tests/test_unknown.py | 5 +++-
31028 18 files changed, 82 insertions(+), 142 deletions(-)
31030 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
31031 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31032 Date: Thu Jul 29 12:34:19 2010 +0200
31034 Add some more transformations to pygi-convert.sh
31036 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
31037 1 file changed, 29 insertions(+), 8 deletions(-)
31039 commit de519adcd21947a0aef7932cdecb78cef200c85e
31040 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31041 Date: Wed Jul 28 14:42:36 2010 +0200
31043 Adapt to API changes: g_irepository_enumerate_versions
31045 gi/importer.py | 2 +-
31046 gi/pygi-repository.c | 12 ++++++------
31047 2 files changed, 7 insertions(+), 7 deletions(-)
31049 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
31050 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31051 Date: Wed Jul 28 12:26:48 2010 +0200
31053 Add GValue<->GArgument marshalling for some more types
31055 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
31056 1 file changed, 36 insertions(+), 1 deletion(-)
31058 commit ddffa70c3ee0e837070f390632bc692430f79171
31059 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31060 Date: Wed Jul 28 11:10:42 2010 +0200
31062 Chain up with the non-introspection implementation for properties
31065 gobject/pygobject.c | 7 ++++++-
31066 1 file changed, 6 insertions(+), 1 deletion(-)
31068 commit 045433a1f8167205dc8eae613dcb8835d02c8916
31069 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31070 Date: Wed Jul 28 10:59:49 2010 +0200
31072 Improve error reporting for missing attributes in introspection
31075 gi/module.py | 4 ++--
31076 1 file changed, 2 insertions(+), 2 deletions(-)
31078 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
31079 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31080 Date: Tue Jul 27 21:52:49 2010 +0200
31082 Implement getting and setting properties using introspection
31085 This allows us to use information not present in GObject such as
31086 transfer and element types.
31088 https://bugzilla.gnome.org/show_bug.cgi?id=620808
31090 gi/Makefile.am | 2 +
31091 gi/gimodule.c | 2 +
31092 gi/pygi-argument.c | 2 +
31093 gi/pygi-private.h | 1 +
31094 gi/pygi-property.c | 226
31095 +++++++++++++++++++++++++++++++++++++++++++++++
31096 gi/pygi-property.h | 39 ++++++++
31097 gi/pygi.h | 41 +++++++++
31098 gobject/pygobject.c | 9 ++
31099 tests/test_everything.py | 19 ++++
31100 9 files changed, 341 insertions(+)
31102 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
31103 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31104 Date: Tue Jul 27 21:32:41 2010 +0200
31106 Readd Gdk.Rectangle override for Gtk-2.0
31108 gi/overrides/Gdk.py | 19 +++++++++++++++++++
31109 1 file changed, 19 insertions(+)
31111 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
31112 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31113 Date: Tue Jul 27 18:25:27 2010 +0200
31115 Allow specifying a version when loading a typelib
31117 * gi/importer.py: Defer loading the typelib until first usage.
31118 * gi/module.py: Load the typelib in IntrospectionModule().
31119 * gi/overrides/*.py: Adapt to API change.
31120 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
31121 g_irepository_get_version.
31123 gi/importer.py | 26 ++++++-----------
31125 +++++++++++++++++++++++++-------------
31126 gi/overrides/GIMarshallingTests.py | 2 +-
31127 gi/overrides/Gdk.py | 2 +-
31128 gi/overrides/Gtk.py | 2 +-
31129 gi/pygi-repository.c | 56
31130 +++++++++++++++++++++++++++++++++++-
31131 6 files changed, 105 insertions(+), 41 deletions(-)
31133 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
31134 Author: Jonathan Matthew <jonathan@d14n.org>
31135 Date: Tue Jul 13 20:27:28 2010 +1000
31137 treat GFreeFunc as equivalent to GDestroyNotify when scanning
31140 https://bugzilla.gnome.org/show_bug.cgi?id=624232
31142 gi/pygi-callbacks.c | 3 ++-
31143 1 file changed, 2 insertions(+), 1 deletion(-)
31145 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
31146 Author: Simon van der Linden <svdlinden@gnome.org>
31147 Date: Mon Jul 26 17:00:23 2010 +0200
31149 Don't use == to compare doubles, use <= and =>.
31151 This avoids inequality due to small precisions difference.
31153 https://bugzilla.gnome.org/show_bug.cgi?id=625326
31155 tests/testhelpermodule.c | 2 +-
31156 1 file changed, 1 insertion(+), 1 deletion(-)
31158 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
31159 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31160 Date: Thu Jul 8 11:36:12 2010 +0200
31162 Allow passing ints as enum args
31164 https://bugzilla.gnome.org/show_bug.cgi?id=622584
31166 gi/pygi-argument.c | 23 +++++++++++++++++++++--
31167 tests/test_gi.py | 6 ++++--
31168 2 files changed, 25 insertions(+), 4 deletions(-)
31170 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
31171 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31172 Date: Sun Jul 25 17:30:40 2010 +0100
31174 Make error message less ambiguous
31176 https://bugzilla.gnome.org/show_bug.cgi?id=625095
31178 gi/pygi-callbacks.c | 3 ++-
31179 1 file changed, 2 insertions(+), 1 deletion(-)
31181 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
31182 Author: John (J5) Palmieri <johnp@redhat.com>
31183 Date: Thu Jun 24 10:07:12 2010 -0400
31185 fix passing in type names as a GType and add gtype unit tests
31187 * a simple call to pyg_type_from_object covers all the bases
31188 * added unit tests to check for correct GType value passing
31189 * fixed up tree override tests to also check different ways of
31192 https://bugzilla.gnome.org/show_bug.cgi?id=622605
31194 gi/pygi-argument.c | 8 +-------
31195 tests/test_everything.py | 27 +++++++++++++++++++++++++++
31196 tests/test_overrides.py | 6 ++----
31197 3 files changed, 30 insertions(+), 11 deletions(-)
31199 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
31200 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31201 Date: Mon Jul 26 11:54:47 2010 +0200
31203 Increase a bit verbosity of tests so people know which test failed
31205 tests/runtests.py | 2 +-
31206 1 file changed, 1 insertion(+), 1 deletion(-)
31208 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
31209 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31210 Date: Thu Jul 15 15:17:53 2010 +0200
31212 Actually add the files for GVariant foreign structs
31214 gi/pygi-foreign-gvariant.c | 63
31215 ++++++++++++++++++++++++++++++++++++++++++++++
31216 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
31217 2 files changed, 104 insertions(+)
31219 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
31220 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31221 Date: Thu Jul 15 13:31:33 2010 +0200
31223 Add foreign struct support for GVariant
31225 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
31226 * gi/pygi-foreign.c: Register foreign support for GVariant
31227 * gi/pygi-struct.c: properly release foreign structs
31228 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
31230 * tests/test_everything.py: Add basic tests for GVariant
31232 https://bugzilla.gnome.org/show_bug.cgi?id=619501
31234 gi/Makefile.am | 2 +
31235 gi/pygi-argument.c | 2 +-
31236 gi/pygi-foreign-cairo.c | 16 +++----
31237 gi/pygi-foreign.c | 107
31238 +++++++++++++++++++++++++++++------------------
31239 gi/pygi-foreign.h | 7 ++--
31240 gi/pygi-invoke.c | 18 ++++----
31241 gi/pygi-struct.c | 10 ++++-
31243 tests/test_everything.py | 8 ++++
31244 9 files changed, 110 insertions(+), 69 deletions(-)
31246 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
31247 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31248 Date: Mon Jul 12 11:19:06 2010 +0200
31250 Add HACKING to MANIFEST.in
31253 1 file changed, 1 insertion(+), 1 deletion(-)
31255 commit 40bf08ff001b119c7daf709197005ef6480216c5
31256 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31257 Date: Mon Jul 12 11:18:04 2010 +0200
31259 Add HACKING file with instructions for releasing
31261 HACKING | 14 ++++++++++++++
31262 1 file changed, 14 insertions(+)
31264 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
31265 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31266 Date: Mon Jul 12 11:09:58 2010 +0200
31268 Post release version bump to 2.21.6
31270 configure.ac | 2 +-
31271 1 file changed, 1 insertion(+), 1 deletion(-)
31273 commit 42a5a0897b38156ae010c396ea254abf502f35de
31274 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31275 Date: Mon Jul 12 11:00:29 2010 +0200
31277 Update NEWS and release PyGObject-2.21.5
31279 NEWS | 17 +++++++++++++++++
31280 1 file changed, 17 insertions(+)
31282 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
31283 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31284 Date: Mon Jul 12 11:00:20 2010 +0200
31286 Pre-release version bump to 2.21.5
31288 configure.ac | 2 +-
31289 1 file changed, 1 insertion(+), 1 deletion(-)
31291 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
31292 Author: Florian Müllner <florian.muellner@gmail.com>
31293 Date: Sat Jul 10 22:35:13 2010 +0200
31295 Shut up some compiler warnings
31297 Remove unused variables, make sure variables are properly initialized.
31299 https://bugzilla.gnome.org/show_bug.cgi?id=624066
31301 gi/pygi-callbacks.c | 1 -
31302 gi/pygi-closure.c | 2 +-
31303 gi/pygi-invoke.c | 1 -
31304 3 files changed, 1 insertion(+), 3 deletions(-)
31306 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
31307 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
31308 Date: Mon Jul 12 10:31:42 2010 +0200
31310 Adjust to API break in GObject-Introspection
31312 As of commit 5cb925b20, many type_tags for standard C types have
31313 been removed - namely machine-dependent integer types and derived
31314 types (size_t, time_t).
31316 Most removals are just synonyms of other types, so their removal
31317 should not have too much impact, with the exception of time_t,
31318 which was translated to a native datetime object before.
31320 Also remove time_t tests (Tomeu Vizoso).
31322 https://bugzilla.gnome.org/show_bug.cgi?id=624065
31324 configure.ac | 2 +-
31325 gi/importer.py | 7 +--
31326 gi/pygi-argument.c | 146
31327 -----------------------------------------------------
31328 gi/pygi-closure.c | 10 ----
31329 gi/pygi-info.c | 37 --------------
31330 tests/test_gi.py | 21 --------
31331 6 files changed, 5 insertions(+), 218 deletions(-)
31333 commit 27a417c71f8c122e46c7472663bb25c17413f103
31334 Author: John (J5) Palmieri <johnp@redhat.com>
31335 Date: Thu Jul 8 16:01:25 2010 -0400
31337 pass in the demo app so demos can use utility methods like requesting
31340 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
31341 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
31342 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
31343 demos/gtk-demo/demos/assistant.py | 2 +-
31344 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
31345 demos/gtk-demo/demos/button_box.py | 2 +-
31346 demos/gtk-demo/demos/clipboard.py | 8 +-------
31347 demos/gtk-demo/demos/colorselector.py | 2 +-
31348 demos/gtk-demo/demos/combobox.py | 8 +++++---
31349 demos/gtk-demo/demos/drawingarea.py | 2 +-
31350 demos/gtk-demo/demos/test.py | 2 +-
31351 demos/gtk-demo/gtk-demo.py | 6 +++---
31352 12 files changed, 37 insertions(+), 26 deletions(-)
31354 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
31355 Author: John (J5) Palmieri <johnp@redhat.com>
31356 Date: Thu Jul 8 15:38:07 2010 -0400
31358 demo fixes to keep up with Gtk+
31360 * treeiter changes to reflect caller-allocate annotations
31361 * fix some flag handling
31362 * use get_indicies_with_depth instead of get_indices for paths
31364 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
31365 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
31366 demos/gtk-demo/gtk-demo.py | 13 +++++--------
31367 3 files changed, 24 insertions(+), 23 deletions(-)
31369 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
31370 Author: John (J5) Palmieri <johnp@redhat.com>
31371 Date: Thu Jul 8 12:54:43 2010 -0400
31373 override test fixes for new GTK+ annotations
31375 tests/test_overrides.py | 23 +++++++++++++----------
31376 1 file changed, 13 insertions(+), 10 deletions(-)
31378 commit 7a400f8139b70ddfe7c949035e0851689951c647
31379 Author: Ignacio Casal Quinteiro <icq@gnome.org>
31380 Date: Thu Jul 8 12:42:25 2010 +0200
31384 gi/pygi-argument.c | 4 ++--
31385 1 file changed, 2 insertions(+), 2 deletions(-)
31387 commit 39fd0a85a3de06b1b877d1125f91036409886373
31388 Author: John (J5) Palmieri <johnp@redhat.com>
31389 Date: Wed Jul 7 15:48:36 2010 -0400
31391 fix up treeiter usage due to caller-allocates annotations in gtk+
31393 * we still don't pass tests because the caller-allocates code path
31395 handle the case where the parameter is followed by a regular
31398 gi/overrides/Gtk.py | 7 +++----
31399 tests/test_overrides.py | 21 +++++++++++----------
31400 2 files changed, 14 insertions(+), 14 deletions(-)
31402 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
31403 Author: John (J5) Palmieri <johnp@redhat.com>
31404 Date: Tue Jul 6 17:50:10 2010 -0400
31406 add entry completion demo
31408 demos/gtk-demo/demos/Entry/entry_completion.py | 87
31409 ++++++++++++++++++++++++++
31410 1 file changed, 87 insertions(+)
31412 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
31413 Author: John (J5) Palmieri <johnp@redhat.com>
31414 Date: Tue Jul 6 17:49:18 2010 -0400
31418 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
31419 1 file changed, 2 insertions(+), 2 deletions(-)
31421 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
31422 Author: John (J5) Palmieri <johnp@redhat.com>
31423 Date: Tue Jul 6 17:27:04 2010 -0400
31425 add the Entry demo directory and the entry_buffer demo
31427 demos/gtk-demo/demos/Entry/__init__.py | 0
31428 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
31429 ++++++++++++++++++++++++++++++
31430 2 files changed, 73 insertions(+)
31432 commit f2b1d222120f055bec9339cca55c9cc90f538c00
31433 Author: John (J5) Palmieri <johnp@redhat.com>
31434 Date: Tue Jul 6 17:26:03 2010 -0400
31436 fix loading of demo modules to support sub modules
31438 demos/gtk-demo/gtk-demo.py | 9 +++++++--
31439 1 file changed, 7 insertions(+), 2 deletions(-)
31441 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
31442 Author: John (J5) Palmieri <johnp@redhat.com>
31443 Date: Tue Jul 6 15:56:34 2010 -0400
31445 add the ability to have demos in sub catagories
31447 demos/gtk-demo/gtk-demo.py | 76
31448 ++++++++++++++++++++++++++++++++--------------
31449 1 file changed, 54 insertions(+), 22 deletions(-)
31451 commit dc2249a3ecf339008351316217191d0551ccc588
31452 Author: Jose Aliste <jaliste@src.gnome.org>
31453 Date: Mon Jul 5 14:36:59 2010 -0400
31455 Add __name__ to DynamicModule class.
31460 1 file changed, 1 insertion(+)
31462 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
31463 Author: Ignacio Casal Quinteiro <icq@gnome.org>
31464 Date: Mon Jul 5 16:11:07 2010 +0200
31466 Do not override GdkRectangle.
31468 This class was lately removed from gtk+ 3, so there is no need
31472 gi/overrides/Gdk.py | 19 -------------------
31473 1 file changed, 19 deletions(-)
31475 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
31476 Author: Philip Withnall <philip.withnall@collabora.co.uk>
31477 Date: Tue Jun 29 16:37:36 2010 +0100
31479 Add override for TreeModel implementing __len__()
31483 gi/overrides/Gtk.py | 11 +++++++++--
31484 tests/test_overrides.py | 5 +++++
31485 2 files changed, 14 insertions(+), 2 deletions(-)
31487 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
31488 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31489 Date: Tue Jun 29 11:27:13 2010 +0200
31491 Update NEWS and release PyGObject-2.21.4
31493 NEWS | 27 +++++++++++++++++++++++++--
31494 1 file changed, 25 insertions(+), 2 deletions(-)
31496 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
31497 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31498 Date: Tue Jun 29 10:55:03 2010 +0200
31500 Remove files from the makefiles
31502 gi/Makefile.am | 4 +---
31503 gobject/Makefile.am | 3 +--
31504 2 files changed, 2 insertions(+), 5 deletions(-)
31506 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
31507 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31508 Date: Tue Jun 29 10:27:39 2010 +0200
31510 Build the cairo shim as a python module so the _gi module stops
31513 https://bugzilla.gnome.org/show_bug.cgi?id=623021
31516 gi/Makefile.am | 38 ++++++++++-----
31517 gi/gimodule.c | 8 +---
31518 gi/pygi-argument.c | 10 +---
31519 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
31520 gi/pygi-foreign-cairo.h | 55 ---------------------
31521 gi/pygi-foreign.c | 125
31522 ++++++++++++++++++++++++++++--------------------
31523 gi/pygi-foreign.h | 31 ++++++------
31524 gi/pygi.h | 40 ++++++++++++++--
31525 9 files changed, 196 insertions(+), 169 deletions(-)
31527 commit a6a90551311bc64f037cbd442e13f70c30060871
31528 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31529 Date: Mon Jun 28 14:20:43 2010 +0200
31531 Remove pygi-external.h
31533 https://bugzilla.gnome.org/show_bug.cgi?id=623021
31535 gi/gimodule.c | 8 +++---
31536 gi/pygi-type.c | 4 +--
31537 gi/pygi-type.h | 2 +-
31538 gi/pygi.h | 54 ++++++++++++++++-----------------------
31539 gobject/Makefile.am | 6 +++++
31540 gobject/pygboxed.c | 2 +-
31541 gobject/pygenum.c | 2 +-
31542 gobject/pygflags.c | 2 +-
31543 gobject/pygi-external.h | 67
31544 -------------------------------------------------
31545 gobject/pygobject.c | 2 +-
31546 gobject/pygpointer.c | 2 +-
31547 11 files changed, 40 insertions(+), 111 deletions(-)
31549 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
31550 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31551 Date: Fri Jun 25 13:54:57 2010 +0200
31553 Revert "correctly handle floating objects in gtk"
31555 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
31560 tests/test_everything.py
31562 gi/gimodule.c | 13 -------------
31563 tests/test_everything.py | 3 ++-
31564 2 files changed, 2 insertions(+), 14 deletions(-)
31566 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
31567 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31568 Date: Fri Jun 25 13:49:04 2010 +0200
31570 Make valgrind happy again
31572 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
31573 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
31575 gi/pygi-argument.c | 1 +
31576 gi/pygi-info.c | 2 ++
31577 gi/pygi-invoke.c | 8 ++++++--
31578 3 files changed, 9 insertions(+), 2 deletions(-)
31580 commit 63afe55906c8637e913783e65b82b540b81bed65
31581 Author: John (J5) Palmieri <johnp@redhat.com>
31582 Date: Thu Jun 24 16:13:37 2010 -0400
31584 add drawing area demo
31586 demos/gtk-demo/demos/drawingarea.py | 249
31587 ++++++++++++++++++++++++++++++++++++
31588 1 file changed, 249 insertions(+)
31590 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
31591 Author: John (J5) Palmieri <johnp@redhat.com>
31592 Date: Thu Jun 24 14:11:00 2010 -0400
31596 demos/gtk-demo/gtk-demo.py | 2 ++
31597 1 file changed, 2 insertions(+)
31599 commit b9da82742701ed276b01dee39626cd71cbef8556
31600 Author: John (J5) Palmieri <johnp@redhat.com>
31601 Date: Thu Jun 24 13:56:18 2010 -0400
31603 rename iter to treeiter so we aren't using a python reserved word
31605 demos/gtk-demo/gtk-demo.py | 12 ++++++------
31606 1 file changed, 6 insertions(+), 6 deletions(-)
31608 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
31609 Author: John (J5) Palmieri <johnp@redhat.com>
31610 Date: Thu Jun 24 13:47:54 2010 -0400
31612 Fixup for change in buffer API
31614 * Part of buffer API dealing with TextIter now marked (out
31617 demos/gtk-demo/gtk-demo.py | 10 ++++------
31618 1 file changed, 4 insertions(+), 6 deletions(-)
31620 commit 8d9516a593a515290109401a9db7aa259b5aa35c
31621 Author: John (J5) Palmieri <johnp@redhat.com>
31622 Date: Wed Jun 23 17:04:33 2010 -0400
31624 add ListStore, TreeStore and TreeViewColumn APIs
31626 * this is enough to support the gtk-demo.py shell
31627 * TreeStore and ListStore allow passing in as an argument list
31628 of either python or GLib types to the constructor as a description
31629 of the columns in the model
31630 * TreeStore and ListStore override the append method, allowing
31631 the application developer to send in a list of column values
31632 for one row in the model. Unlike the append in C which
31633 just returns an iter that you can then add data to,
31634 this append actualy appends data in one step
31635 * TreeViewColumn overrides the constructor to allow the adding
31636 of attributes and a cell renderer when constructing the
31639 https://bugzilla.gnome.org/show_bug.cgi?id=620405
31641 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
31642 tests/test_overrides.py | 69
31643 +++++++++++++++++++++++++++++++++++++++++++++++++
31644 2 files changed, 128 insertions(+)
31646 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
31647 Author: Johan Dahlin <johan@gnome.org>
31648 Date: Wed Jun 23 14:34:28 2010 -0300
31650 [gi] Add -I../gobject to cflags
31652 Since we're no longer pulling in pygobject cflags,
31653 add this to be able to include pygobject.h
31655 gi/Makefile.am | 3 +++
31656 1 file changed, 3 insertions(+)
31658 commit 53a093198851e3ba5abd1f6c3314737decd401d8
31659 Author: Ignacio Casal Quinteiro <icq@gnome.org>
31660 Date: Wed Jun 23 18:09:19 2010 +0200
31662 Add unit test for add_actions user data.
31664 tests/test_overrides.py | 20 +++++++++++++++-----
31665 1 file changed, 15 insertions(+), 5 deletions(-)
31667 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
31668 Author: Paolo Borelli <pborelli@gnome.org>
31669 Date: Wed Jun 23 18:06:46 2010 +0200
31671 Pass user_data param when adding actions
31673 gi/overrides/Gtk.py | 12 ++++++------
31674 1 file changed, 6 insertions(+), 6 deletions(-)
31676 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
31677 Author: John (J5) Palmieri <johnp@redhat.com>
31678 Date: Wed Jun 23 12:02:04 2010 -0400
31680 add an exception type to the try/except block
31682 * we should always specify what exception types we are expecting
31684 gi/overrides/Gtk.py | 6 +++---
31685 1 file changed, 3 insertions(+), 3 deletions(-)
31687 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
31688 Author: Johan Dahlin <johan@gnome.org>
31689 Date: Wed Jun 23 12:31:51 2010 -0300
31691 Avoid duplicating required versions
31693 Avoid duplicating the version of all required packages.
31694 Also remove cyclic dependency of pygobject
31696 https://bugzilla.gnome.org/show_bug.cgi?id=622503
31698 configure.ac | 9 +++++----
31699 1 file changed, 5 insertions(+), 4 deletions(-)
31701 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
31702 Author: John (J5) Palmieri <johnp@redhat.com>
31703 Date: Tue Jun 22 15:03:08 2010 -0400
31705 return PyList instead of PyTuple for array, return empty list for
31708 * returns an empty list when a NULL array (empty array) is encountered
31709 * fix tests to check for lists instead of tuples or None
31710 * test the ability to send in both None and empty list for arrays
31713 gi/pygi-argument.c | 7 ++--
31714 tests/test_everything.py | 5 ++-
31715 tests/test_gi.py | 84
31716 ++++++++++++++++++++++++------------------------
31717 3 files changed, 49 insertions(+), 47 deletions(-)
31719 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
31720 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31721 Date: Wed Jun 23 15:42:29 2010 +0200
31723 Fix 'make distcheck'
31725 * Makefile.am: put the tests dir to the end
31726 * g*/Makefile.am: build the .so when running make check
31727 * tests/Makefile.am: Don't pass the src dir to runtests.py and
31728 remove (hopefully) unneeded cruft.
31729 * tests/common.py: Don't add the src dir to the python path
31730 * tests/runtests.py: Don't pass the src dir to common.py
31732 Makefile.am | 4 +++-
31733 gi/Makefile.am | 1 +
31734 gio/Makefile.am | 1 +
31735 glib/Makefile.am | 2 +-
31736 gobject/Makefile.am | 1 +
31737 tests/Makefile.am | 17 ++---------------
31738 tests/common.py | 3 +--
31739 tests/runtests.py | 12 +++++-------
31740 8 files changed, 15 insertions(+), 26 deletions(-)
31742 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
31743 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31744 Date: Wed Jun 23 13:59:14 2010 +0200
31746 Allow building pygobject without introspection support by providing
31747 --disable-introspection to configure.
31749 Makefile.am | 6 +++++-
31750 configure.ac | 15 ++++++++-------
31751 gobject/pygi-external.h | 4 ++--
31752 tests/Makefile.am | 8 ++++++--
31753 tests/runtests.py | 21 +++++++--------------
31754 5 files changed, 28 insertions(+), 26 deletions(-)
31756 commit cc3ea77318ee572673d2a044deca9001366b0f08
31757 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31758 Date: Wed Jun 23 12:26:51 2010 +0200
31760 Make sure that sys.argv is a list and not a sequence.
31762 Because Python's optparse will try to do things on it that can
31763 only be done with list.
31765 gi/overrides/Gtk.py | 2 +-
31766 1 file changed, 1 insertion(+), 1 deletion(-)
31768 commit 3d72b8248cc534a689dee5679a729b2fba56c528
31769 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31770 Date: Wed Jun 23 12:26:02 2010 +0200
31772 Force loading the GObject typelib so we have available the wrappers
31773 for base classes such as GInitiallyUnowned.
31775 gi/__init__.py | 3 +++
31776 1 file changed, 3 insertions(+)
31778 commit c7c94ef349c30597f2f10d90f74718d678ec7add
31779 Author: John (J5) Palmieri <johnp@redhat.com>
31780 Date: Tue Jun 22 14:45:48 2010 -0400
31782 we shouldn't g_array_free NULL pointers
31784 https://bugzilla.gnome.org/show_bug.cgi?id=622425
31786 gi/pygi-info.c | 5 +++--
31787 1 file changed, 3 insertions(+), 2 deletions(-)
31789 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
31790 Merge: acf7b43a 5f9cb91c
31791 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31792 Date: Wed Jun 23 12:53:05 2010 +0200
31794 Merge branch 'pygi'
31796 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
31797 Author: John (J5) Palmieri <johnp@redhat.com>
31798 Date: Tue Jun 22 15:39:46 2010 -0400
31800 remove unneeded TextIter creation in the tests
31802 tests/test_overrides.py | 3 ---
31803 1 file changed, 3 deletions(-)
31805 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
31806 Author: John (J5) Palmieri <johnp@redhat.com>
31807 Date: Mon Jun 21 11:42:12 2010 -0400
31809 add override for TextBuffer
31811 * TextBuffer.create_tag takes vargs which we can't bind yet so
31813 to except a keyword list of properties
31814 * override the insert* methods so the developer does not have to
31816 - lengths are already encapsulated by a string in Python
31818 https://bugzilla.gnome.org/show_bug.cgi?id=620583
31820 gi/overrides/Gtk.py | 51
31821 +++++++++++++++++++++++++++++++++++++++++++++++++
31822 tests/test_overrides.py | 25 ++++++++++++++++++++++++
31823 2 files changed, 76 insertions(+)
31825 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
31826 Author: John (J5) Palmieri <johnp@redhat.com>
31827 Date: Tue Jun 22 12:46:39 2010 -0400
31829 fix up some build issues
31831 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
31833 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
31834 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
31836 make check.gdb work
31838 configure.ac | 2 +-
31839 tests/Makefile.am | 2 +-
31840 2 files changed, 2 insertions(+), 2 deletions(-)
31842 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
31843 Author: John (J5) Palmieri <johnp@redhat.com>
31844 Date: Tue Jun 22 11:50:30 2010 -0400
31846 make the overrides file git friendly by appending to __all__ after
31849 * modifying the __all__ line for each override would confuse git as
31850 each override needs to get seperate approval before comitting.
31852 this commits would not always go in in the same order as they
31854 Also different people working on the same file would start from
31856 commit states. This caused conflicts when patches were merged.
31857 * instead of modifying a single hard coded list we now append to
31859 after each override. This creates distinct blocks of changed text
31860 which will not conflict
31862 gi/overrides/GIMarshallingTests.py | 10 ++++------
31863 gi/overrides/Gdk.py | 8 ++++----
31864 gi/overrides/Gtk.py | 7 +++++--
31865 3 files changed, 13 insertions(+), 12 deletions(-)
31867 commit 49321b934603e1ec69fb04082c63902970907d2b
31868 Author: Paolo Borelli <pborelli@gnome.org>
31869 Date: Sun Jun 20 13:27:34 2010 +0200
31871 Override Dialog constructor and add_buttons method
31873 gi/overrides/Gtk.py | 46
31874 +++++++++++++++++++++++++++++++++++++++++++++-
31875 tests/test_overrides.py | 16 ++++++++++++++++
31876 2 files changed, 61 insertions(+), 1 deletion(-)
31878 commit acf7b43a41ce814f0c57ce609a090826f04771db
31879 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31880 Date: Mon Jun 21 18:17:38 2010 +0200
31882 Post release version bump to 2.21.4
31884 configure.ac | 2 +-
31885 1 file changed, 1 insertion(+), 1 deletion(-)
31887 commit a7fa8b80406227a06cf18f8675dbc1f471283829
31888 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31889 Date: Mon Jun 21 18:10:32 2010 +0200
31891 Update NEWS and release PyGObject-2.21.3
31894 1 file changed, 7 insertions(+)
31896 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
31897 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
31898 Date: Tue Jul 21 16:28:34 2009 +0200
31900 Proper handling of null-ok in virtual methods
31902 https://bugzilla.gnome.org/show_bug.cgi?id=589253
31904 codegen/codegen.py | 2 ++
31905 codegen/reversewrapper.py | 18 +++++++++++++++---
31906 2 files changed, 17 insertions(+), 3 deletions(-)
31908 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
31909 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31910 Date: Mon Jun 21 17:34:54 2010 +0200
31912 Add *~ and *.orig to .gitignore
31914 .gitignore | 5 ++++-
31915 1 file changed, 4 insertions(+), 1 deletion(-)
31917 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
31918 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31919 Date: Mon Jun 21 17:33:56 2010 +0200
31921 Fall back to use the floating references API in glib if there isn't
31922 a sinkfunc defined.
31924 * tests/*: Add ref counting tests for floating objects
31925 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
31927 or g_object_ref if there isn't a sinkfunc defined. Make sure that
31928 pygobject_sink gets called only once per GObject instance.
31930 https://bugzilla.gnome.org/show_bug.cgi?id=583909
31932 gobject/gobjectmodule.c | 2 -
31933 gobject/pygobject.c | 50 +++++++++++++---------
31934 gobject/pygobject.h | 1 +
31935 tests/Makefile.am | 2 +
31936 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
31937 tests/test-floating.h | 60 ++++++++++++++++++++++++++
31938 tests/test_gobject.py | 19 ++++++++-
31939 tests/testhelpermodule.c | 109
31940 +++++++++++++++++++++++++++++++++++++++++++++++
31941 8 files changed, 315 insertions(+), 23 deletions(-)
31943 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
31944 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31945 Date: Mon Jun 21 13:06:13 2010 +0200
31947 Revert "Drop sinkfuncs."
31949 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
31951 gobject/gobjectmodule.c | 3 ++-
31952 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
31953 gobject/pygobject.h | 1 -
31954 3 files changed, 36 insertions(+), 10 deletions(-)
31956 commit b2661054d6bde673484eab472e69ca021124528d
31957 Author: Johan Dahlin <johan@gnome.org>
31958 Date: Sun Jun 20 11:09:57 2010 -0300
31962 For reasons outlined at:
31963 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
31965 Makefile.am | 14 ++++-
31966 configure.ac | 29 ++++++++--
31967 {gi/demos => demos}/gtk-demo/demos/__init__.py | 0
31968 {gi/demos => demos}/gtk-demo/demos/appwindow.py | 0
31969 {gi/demos => demos}/gtk-demo/demos/assistant.py | 0
31970 {gi/demos => demos}/gtk-demo/demos/builder.py | 0
31971 {gi/demos => demos}/gtk-demo/demos/button_box.py | 0
31972 {gi/demos => demos}/gtk-demo/demos/clipboard.py | 0
31973 .../gtk-demo/demos/colorselector.py | 0
31974 {gi/demos => demos}/gtk-demo/demos/combobox.py | 0
31975 .../gtk-demo/demos/data/alphatest.png | Bin
31976 .../gtk-demo/demos/data/apple-red.png | Bin
31977 .../gtk-demo/demos/data/background.jpg | Bin
31978 {gi/demos => demos}/gtk-demo/demos/data/demo.ui | 0
31979 .../gtk-demo/demos/data/floppybuddy.gif | Bin
31980 .../gtk-demo/demos/data/gnome-applets.png | Bin
31981 .../gtk-demo/demos/data/gnome-calendar.png | Bin
31982 .../gtk-demo/demos/data/gnome-foot.png | Bin
31983 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
31984 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
31985 .../gtk-demo/demos/data/gnome-gimp.png | Bin
31986 .../gtk-demo/demos/data/gnome-gmush.png | Bin
31987 .../gtk-demo/demos/data/gnome-gsame.png | Bin
31988 .../gtk-demo/demos/data/gnu-keys.png | Bin
31989 .../gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
31990 {gi/demos => demos}/gtk-demo/demos/test.py | 0
31991 {gi/demos => demos}/gtk-demo/gtk-demo.py | 0
31992 examples/Makefile.am | 2 +-
31993 {gi/examples => examples}/cairo-demo.py | 0
31994 gi/Makefile.am | 4 +-
31995 gi/examples/Makefile.am | 2 -
31996 pygi-Makefile.am | 28 ----------
31997 pygi-configure.ac | 60
31998 ---------------------
31999 pygi.doap | 34 ------------
32000 pygobject.doap | 16 +++++-
32001 tests/Makefile.am | 23 ++++++--
32002 {gi/tests => tests}/test_everything.py | 0
32003 {gi/tests => tests}/test_gi.py | 0
32004 {gi/tests => tests}/test_overrides.py | 0
32005 39 files changed, 75 insertions(+), 137 deletions(-)
32007 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
32008 Merge: ec8d148e fa91dfd3
32009 Author: Johan Dahlin <johan@gnome.org>
32010 Date: Sun Jun 20 10:53:46 2010 -0300
32012 Merge branch 'pygi-merge'
32014 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
32015 Author: Johan Dahlin <johan@gnome.org>
32016 Date: Sun Jun 20 10:53:36 2010 -0300
32021 ---------------------
32022 .gitignore => gi/.gitignore | 0
32023 HACKING => gi/HACKING | 0
32024 {demos => gi/demos}/gtk-demo/demos/__init__.py | 0
32025 {demos => gi/demos}/gtk-demo/demos/appwindow.py | 0
32026 {demos => gi/demos}/gtk-demo/demos/assistant.py | 0
32027 {demos => gi/demos}/gtk-demo/demos/builder.py | 0
32028 {demos => gi/demos}/gtk-demo/demos/button_box.py | 0
32029 {demos => gi/demos}/gtk-demo/demos/clipboard.py | 0
32030 .../demos}/gtk-demo/demos/colorselector.py | 0
32031 {demos => gi/demos}/gtk-demo/demos/combobox.py | 0
32032 .../demos}/gtk-demo/demos/data/alphatest.png | Bin
32033 .../demos}/gtk-demo/demos/data/apple-red.png | Bin
32034 .../demos}/gtk-demo/demos/data/background.jpg | Bin
32035 {demos => gi/demos}/gtk-demo/demos/data/demo.ui | 0
32036 .../demos}/gtk-demo/demos/data/floppybuddy.gif | Bin
32037 .../demos}/gtk-demo/demos/data/gnome-applets.png | Bin
32038 .../demos}/gtk-demo/demos/data/gnome-calendar.png | Bin
32039 .../demos}/gtk-demo/demos/data/gnome-foot.png | Bin
32040 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
32041 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
32042 .../demos}/gtk-demo/demos/data/gnome-gimp.png | Bin
32043 .../demos}/gtk-demo/demos/data/gnome-gmush.png | Bin
32044 .../demos}/gtk-demo/demos/data/gnome-gsame.png | Bin
32045 .../demos}/gtk-demo/demos/data/gnu-keys.png | Bin
32046 .../demos}/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
32047 {demos => gi/demos}/gtk-demo/demos/test.py | 0
32048 {demos => gi/demos}/gtk-demo/gtk-demo.py | 0
32049 {examples => gi/examples}/Makefile.am | 0
32050 {examples => gi/examples}/cairo-demo.py | 0
32051 {tests => gi/tests}/Makefile.am | 0
32052 {tests => gi/tests}/runtests.py | 0
32053 {tests => gi/tests}/test_everything.py | 0
32054 {tests => gi/tests}/test_gi.py | 0
32055 {tests => gi/tests}/test_overrides.py | 0
32056 Makefile.am => pygi-Makefile.am | 0
32057 configure.ac => pygi-configure.ac | 0
32058 37 files changed, 166 deletions(-)
32060 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
32061 Author: Johan Dahlin <johan@gnome.org>
32062 Date: Sun Jun 20 10:49:55 2010 -0300
32064 [giounix] Make it possible to compile on glib 2.20
32066 gio/unix.override | 2 ++
32067 1 file changed, 2 insertions(+)
32069 commit 606018a2c551d890fc2bb987d99683f777598bda
32070 Author: John (J5) Palmieri <johnp@redhat.com>
32071 Date: Mon Jun 7 16:32:29 2010 -0400
32073 Don't free transfer full struct pointers because we can't do it safely
32075 * Most libraries which are sending back structs as transfer-full
32076 are either annotated incorrectly or should be sending boxed types
32077 * It is much better to throw a warning and leak memory than it is to
32078 call free on an unknown struct pointer. Doing so may cause
32080 * Specific case is gdk_atom_intern where a GdkAtom is not actually
32082 but an integer stuffed into a pointer type
32084 https://bugzilla.gnome.org/show_bug.cgi?id=620898
32086 gi/pygi-argument.c | 9 ++++++++-
32087 gi/pygi-invoke.c | 11 +++++++++--
32088 2 files changed, 17 insertions(+), 3 deletions(-)
32090 commit 433ee2aa029a1482961f478252a06492bd3498e6
32091 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
32092 Date: Tue Jun 15 11:42:28 2010 +0200
32094 Release the lock when potentially invoking Python code.
32096 * gobject/pygobject.c: Release GIL lock when retrieving properties
32097 and when clearing a PyGObject.
32099 https://bugzilla.gnome.org/show_bug.cgi?id=530935
32101 gobject/pygobject.c | 11 ++++++++++-
32102 1 file changed, 10 insertions(+), 1 deletion(-)
32104 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
32105 Author: John (J5) Palmieri <johnp@redhat.com>
32106 Date: Mon Jun 14 18:36:57 2010 -0400
32108 add combobox example
32110 demos/gtk-demo/demos/combobox.py | 282
32111 +++++++++++++++++++++++++++++++++++++++
32112 1 file changed, 282 insertions(+)
32114 commit a8668694da59c2dd959c875f13337e64ca22f7e9
32115 Author: John (J5) Palmieri <johnp@redhat.com>
32116 Date: Mon Jun 14 13:43:53 2010 -0400
32118 fix leak in the allow None callbacks patch
32120 gi/pygi-callbacks.c | 4 ++--
32121 1 file changed, 2 insertions(+), 2 deletions(-)
32123 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
32124 Author: John (J5) Palmieri <johnp@redhat.com>
32125 Date: Mon Jun 7 17:12:09 2010 -0400
32127 Allow passing None for callbacks which are annotated allow-none
32129 * Many callbacks are optional parameters yet we were asserting on
32131 * We now check to see if allow_none is set when setting up callbacks,
32132 if it is set and py_function == Py_None, we set the closure to NULL
32134 * pygi-invoke.c now checks to see if the closure == NULL when setting
32136 * if it is NULL there is no reason to set the the destroy notify
32138 so we skip that too
32140 https://bugzilla.gnome.org/show_bug.cgi?id=620906
32142 gi/pygi-callbacks.c | 7 +++++++
32143 gi/pygi-invoke.c | 14 +++++++++++---
32144 tests/test_everything.py | 4 ++++
32145 3 files changed, 22 insertions(+), 3 deletions(-)
32147 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
32148 Author: Paolo Borelli <pborelli@gnome.org>
32149 Date: Mon Jun 14 19:06:45 2010 +0200
32151 Fix to match latest gtk annotations
32153 demos/gtk-demo/demos/appwindow.py | 3 +--
32154 1 file changed, 1 insertion(+), 2 deletions(-)
32156 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
32157 Author: John (J5) Palmieri <johnp@redhat.com>
32158 Date: Tue Jun 8 15:03:49 2010 -0400
32160 fix variable member names in Gdk.Color override
32162 * override was using r, g, and b for the red, green, blue components
32164 the struct specifies red, green, blue so we need to use those names
32166 https://bugzilla.gnome.org/show_bug.cgi?id=621007
32168 gi/overrides/Gdk.py | 10 +++++-----
32169 tests/test_overrides.py | 6 +++---
32170 2 files changed, 8 insertions(+), 8 deletions(-)
32172 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
32173 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32174 Date: Thu Jun 10 20:23:13 2010 +0200
32176 Post release version bump to 2.21.3
32178 configure.ac | 2 +-
32179 1 file changed, 1 insertion(+), 1 deletion(-)
32181 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
32182 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32183 Date: Thu Jun 10 20:21:13 2010 +0200
32185 Update NEWS and release PyGObject-2.21.2
32187 NEWS | 26 ++++++++++++++++++++++++++
32188 1 file changed, 26 insertions(+)
32190 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
32191 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32192 Date: Thu Jun 10 20:09:07 2010 +0200
32194 Remove deleted files from the Makefile.
32201 tests/Makefile.am | 4 ----
32202 1 file changed, 4 deletions(-)
32204 commit 495a301cb81c5e914bcef905999265604faa27fc
32205 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32206 Date: Thu Jun 10 19:39:09 2010 +0200
32208 Add myself to the maintainers list in the README
32211 1 file changed, 1 insertion(+)
32213 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
32214 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32215 Date: Thu Jun 10 19:24:31 2010 +0200
32219 * use g_object methods to sink floating refs instead of allowing
32220 custom sink functions to be registered
32221 * we now sink inside of pygobject_new_full to handle cases where
32222 a library creates its own gobject via g_object_new and just
32223 needs a python wrapper
32224 - a previous patch had done the sink when creating the gobject,
32225 since it needs to call pygobject_new_full to wrap the object,
32226 this patch handles both cases (e.g. pygobject created object
32227 and externally created gobject)
32229 https://bugzilla.gnome.org/show_bug.cgi?id=583909
32231 gobject/gobjectmodule.c | 3 +--
32232 gobject/pygobject.c | 42 ++++++++----------------------------------
32233 gobject/pygobject.h | 1 +
32234 3 files changed, 10 insertions(+), 36 deletions(-)
32236 commit 07df124dc06cf506634e95d08397f50a2d07fce2
32237 Author: Steve Frécinaux <code@istique.net>
32238 Date: Mon Jun 7 09:47:23 2010 +0200
32240 Make the "wrong argument count" exception more explicit.
32242 Previously we had messages like this one:
32243 TypeError: takes exactly 2 argument(s) (1 given)
32245 With this patch, they become like this:
32246 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
32248 It makes things much easier to debug when there are several pygi calls
32251 https://bugzilla.gnome.org/show_bug.cgi?id=620804
32253 gi/pygi-invoke.c | 3 ++-
32254 tests/test_everything.py | 6 ++++++
32255 2 files changed, 8 insertions(+), 1 deletion(-)
32257 commit b435319fe830a909cc4d414533b3b66574931e24
32258 Author: Steve Frécinaux <code@istique.net>
32259 Date: Mon Jun 7 09:54:06 2010 +0200
32261 Use bash explicitely in the pre-commit hook.
32263 The "builtin" command is not available in all sh flavours, so the
32264 pre-commit hook is going to fail if you use dash or others instead of
32265 bash as your default 'sh' alias.
32267 https://bugzilla.gnome.org/show_bug.cgi?id=620805
32269 pre-commit.hook | 2 +-
32270 1 file changed, 1 insertion(+), 1 deletion(-)
32272 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
32273 Author: John (J5) Palmieri <johnp@redhat.com>
32274 Date: Tue Jun 8 16:55:26 2010 -0400
32278 demos/gtk-demo/demos/colorselector.py | 121
32279 ++++++++++++++++++++++++++++++++++
32280 1 file changed, 121 insertions(+)
32282 commit ec598128de9e90dccab662ed2f5511c8d659e156
32283 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32284 Date: Tue Jun 8 15:48:33 2010 +0200
32286 Update PyGObject dependency to 2.21.1
32288 configure.ac | 2 +-
32289 1 file changed, 1 insertion(+), 1 deletion(-)
32291 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
32292 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32293 Date: Tue Jun 8 10:40:39 2010 +0200
32295 Add myself to maintainers
32297 MAINTAINERS | 4 ++++
32298 pygobject.doap | 7 +++++++
32299 2 files changed, 11 insertions(+)
32301 commit 46c91a11d448e5e11d142d3362aff1483226bca4
32302 Author: Colin Walters <walters@verbum.org>
32303 Date: Wed May 5 13:54:27 2010 -0400
32305 Clear error if we failed the import
32307 Otherwise we leave the exception set which causes bizarre problems
32308 later in unrelated code.
32310 https://bugzilla.redhat.com/show_bug.cgi?id=569885
32312 https://bugzilla.gnome.org/show_bug.cgi?id=617796
32314 gobject/pygi-external.h | 2 ++
32315 1 file changed, 2 insertions(+)
32317 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
32318 Author: John (J5) Palmieri <johnp@redhat.com>
32319 Date: Mon Jun 7 17:19:30 2010 -0400
32321 fix some typos and add a link to a patch which fixes a FIXME
32323 demos/gtk-demo/demos/clipboard.py | 7 +++++--
32324 1 file changed, 5 insertions(+), 2 deletions(-)
32326 commit e7fabb5024d94a3166766e5fca740741bc50380a
32327 Author: John (J5) Palmieri <johnp@redhat.com>
32328 Date: Mon Jun 7 16:21:42 2010 -0400
32332 demos/gtk-demo/demos/clipboard.py | 235
32333 ++++++++++++++++++++++++++++++++++++++
32334 1 file changed, 235 insertions(+)
32336 commit e0f1dce5ec58d071759f886697501da6eeea549d
32337 Author: John (J5) Palmieri <johnp@redhat.com>
32338 Date: Sun Jun 6 13:27:46 2010 -0400
32340 set is_fully_bound to false
32342 demos/gtk-demo/demos/button_box.py | 2 +-
32343 1 file changed, 1 insertion(+), 1 deletion(-)
32345 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
32346 Author: John (J5) Palmieri <johnp@redhat.com>
32347 Date: Sat Jun 5 23:53:36 2010 -0400
32349 new button box demo
32351 demos/gtk-demo/demos/button_box.py | 121
32352 +++++++++++++++++++++++++++++++++++++
32353 1 file changed, 121 insertions(+)
32355 commit e9f5f8a829121e59367bae690442150f144946ad
32356 Author: John (J5) Palmieri <johnp@redhat.com>
32357 Date: Sat Jun 5 23:26:03 2010 -0400
32359 set is_fully_bound to True fro builder example
32361 demos/gtk-demo/demos/builder.py | 2 +-
32362 1 file changed, 1 insertion(+), 1 deletion(-)
32364 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
32365 Author: John (J5) Palmieri <johnp@redhat.com>
32366 Date: Sat Jun 5 23:24:36 2010 -0400
32368 fix up formatting in demos
32370 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
32371 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
32372 demos/gtk-demo/demos/builder.py | 2 +-
32373 3 files changed, 21 insertions(+), 21 deletions(-)
32375 commit ffca02536bafb55e8c3bce31cd992365207429f6
32376 Author: John (J5) Palmieri <johnp@redhat.com>
32377 Date: Sat Jun 5 14:54:47 2010 -0400
32379 add the builder demo
32381 demos/gtk-demo/demos/builder.py | 57
32382 +++++++++++++++++++++++++++++++++++++++++
32383 1 file changed, 57 insertions(+)
32385 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
32386 Author: John (J5) Palmieri <johnp@redhat.com>
32387 Date: Fri Jun 4 17:48:24 2010 -0400
32391 demos/gtk-demo/demos/assistant.py | 134
32392 ++++++++++++++++++++++++++++++++++++++
32393 1 file changed, 134 insertions(+)
32395 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
32396 Author: John (J5) Palmieri <johnp@redhat.com>
32397 Date: Fri Jun 4 16:56:46 2010 -0400
32399 add formatting rules and copyright notice
32401 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
32402 1 file changed, 19 insertions(+)
32404 commit 03b99692b81631d397ab62dcd263341465bcee88
32405 Author: John (J5) Palmieri <johnp@redhat.com>
32406 Date: Fri Jun 4 16:26:54 2010 -0400
32408 add the gtk-demo app along with a couple of demos
32410 * note there are still a couple of patches in bugzilla that are
32413 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
32414 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
32416 demos/gtk-demo/demos/__init__.py | 0
32417 demos/gtk-demo/demos/appwindow.py | 393
32418 +++++++++++++++++++++++
32419 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
32420 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
32421 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
32422 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
32423 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
32424 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
32425 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
32426 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
32427 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
32428 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
32429 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
32430 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
32431 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
32432 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
32433 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
32434 demos/gtk-demo/demos/test.py | 14 +
32435 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
32436 19 files changed, 931 insertions(+)
32438 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
32439 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32440 Date: Fri Jun 4 11:25:08 2010 +0200
32442 Update gobject-introspection dependency to 0.6.14
32444 configure.ac | 2 +-
32445 1 file changed, 1 insertion(+), 1 deletion(-)
32447 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
32448 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32449 Date: Fri Jun 4 11:23:41 2010 +0200
32451 Post-release version bump to 0.6.1
32453 configure.ac | 2 +-
32454 1 file changed, 1 insertion(+), 1 deletion(-)
32456 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
32457 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32458 Date: Fri Jun 4 08:29:42 2010 +0200
32460 Pre-release version bump 0.6.0
32462 configure.ac | 2 +-
32463 1 file changed, 1 insertion(+), 1 deletion(-)
32465 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
32466 Author: John (J5) Palmieri <johnp@redhat.com>
32467 Date: Fri May 28 10:03:11 2010 -0400
32469 support for caller-allocates annotations for structs
32471 * out caller-allocates parameters expect an already constructed
32473 to be passed in by reference. It is then modified and the caller
32475 modified value. We support this by using only one level of pointer
32477 * Only structs are considered to be caller-allocates parameters
32479 they are marked as such by GI. This is because the GI scanner
32481 enough to correctly guess 100% of the time
32482 * GValues are a special case of a caller-allocates parameter when
32484 up (e.g. g_value_unset is called). GValues make no sense in
32486 language. Developers should never deal with them.
32488 https://bugzilla.gnome.org/show_bug.cgi?id=620406
32490 gi/pygi-invoke.c | 73
32491 +++++++++++++++++++++++++++++++++++++++++++++---
32492 tests/test_everything.py | 28 +++++++++++++++++++
32493 2 files changed, 97 insertions(+), 4 deletions(-)
32495 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
32496 Author: John (J5) Palmieri <johnp@redhat.com>
32497 Date: Wed Jun 2 14:14:16 2010 -0400
32499 don't import gobject directly in the tests
32501 * use from gi.repository import GObject
32503 tests/test_overrides.py | 5 ++---
32504 1 file changed, 2 insertions(+), 3 deletions(-)
32506 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
32507 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32508 Date: Tue Jun 1 14:28:57 2010 +0200
32510 Wrap C arrays in structs as GArrays before converting to Python
32512 https://bugzilla.gnome.org/show_bug.cgi?id=620247
32514 gi/pygi-info.c | 11 +++++++++++
32515 tests/test_gi.py | 17 +++++++++++++++++
32516 2 files changed, 28 insertions(+)
32518 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
32519 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32520 Date: Wed May 26 13:20:27 2010 +0200
32522 Install pre-commit hook that checks the code changes for style
32525 autogen.sh | 7 +++++++
32526 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
32527 2 files changed, 46 insertions(+)
32529 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
32530 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32531 Date: Wed May 26 12:19:17 2010 +0200
32533 Apply consistent whitespace formatting with:
32535 astyle -p -d -c -S -U -M60
32537 This won't affect git blame nor git diff if the switch -w is used.
32539 gi/gimodule.c | 138 +++----
32540 gi/pygi-argument.c | 960
32541 ++++++++++++++++++++++++------------------------
32542 gi/pygi-boxed.c | 108 +++---
32543 gi/pygi-callbacks.c | 154 ++++----
32544 gi/pygi-callbacks.h | 8 +-
32545 gi/pygi-closure.c | 270 +++++++-------
32546 gi/pygi-closure.h | 18 +-
32547 gi/pygi-foreign-cairo.c | 36 +-
32548 gi/pygi-foreign-cairo.h | 36 +-
32549 gi/pygi-foreign.c | 54 +--
32550 gi/pygi-foreign.h | 10 +-
32551 gi/pygi-info.c | 646 ++++++++++++++++----------------
32552 gi/pygi-invoke.c | 380 +++++++++----------
32553 gi/pygi-repository.c | 114 +++---
32554 gi/pygi-struct.c | 88 ++---
32555 gi/pygi-type.c | 32 +-
32557 gi/pygobject-external.h | 14 +-
32558 18 files changed, 1544 insertions(+), 1542 deletions(-)
32560 commit 6156f15cb15b4c20e975527227135d49207c520a
32561 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32562 Date: Tue May 25 14:08:51 2010 +0200
32564 Prepend gi.repository to the __module__ attribute of wrapper classes.
32566 https://bugzilla.gnome.org/show_bug.cgi?id=619597
32568 gi/module.py | 4 ++--
32569 tests/test_gi.py | 4 +++-
32570 2 files changed, 5 insertions(+), 3 deletions(-)
32572 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
32573 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32574 Date: Tue May 25 14:17:13 2010 +0200
32576 Correctly identify at creation time:
32578 * if the class is defined in python -> hook up vfuncs
32579 * if the class wraps a type from a .typelib -> set atributes
32580 * else (GLocalFile) -> do nothing
32582 https://bugzilla.gnome.org/show_bug.cgi?id=619604
32584 gi/types.py | 15 +++++++++++----
32585 1 file changed, 11 insertions(+), 4 deletions(-)
32587 commit 686e10fcdb108af9758eb025a3447813c3513a93
32588 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32589 Date: Thu Apr 29 10:55:13 2010 +0200
32591 Dont complain if another base has implemented the method
32593 https://bugzilla.gnome.org/show_bug.cgi?id=617153
32595 gi/types.py | 3 ++-
32596 1 file changed, 2 insertions(+), 1 deletion(-)
32598 commit 9f34d120845d936b04546a5cea599ec67e9181a7
32599 Author: John (J5) Palmieri <johnp@redhat.com>
32600 Date: Mon May 24 16:16:50 2010 -0400
32602 fix up Builder override, add new override methods, and add unit tests
32604 * check for flags when connecting signals now that we get gi
32606 * override the add_from_string and add_objects_from string overrides
32608 that you don't have to pass in the length of the buffer
32609 * add test that loads objects from strings and connects them to
32612 gi/overrides/Gtk.py | 19 +++++++++++--
32613 tests/test_overrides.py | 72
32614 ++++++++++++++++++++++++++++++++++++++++++++++---
32615 2 files changed, 86 insertions(+), 5 deletions(-)
32617 commit 1561d2977691f1cb8684f183a2e274c47960d931
32618 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32619 Date: Mon May 24 18:48:10 2010 +0200
32621 Improve handling of subclasses without __gtype_name__
32623 Gives a better message at type registration.
32625 https://bugzilla.gnome.org/show_bug.cgi?id=616849
32627 gi/gimodule.c | 9 +++++++++
32628 tests/test_gi.py | 13 ++++++++++++-
32629 2 files changed, 21 insertions(+), 1 deletion(-)
32631 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
32632 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32633 Date: Fri Apr 30 18:17:50 2010 +0200
32635 Add support for GArray args
32637 https://bugzilla.gnome.org/show_bug.cgi?id=617054
32639 gi/pygi-invoke.c | 11 +++++++----
32640 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
32641 2 files changed, 57 insertions(+), 4 deletions(-)
32643 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
32644 Author: John (J5) Palmieri <johnp@redhat.com>
32645 Date: Mon May 24 11:48:16 2010 -0400
32647 check refcounting of callback userdata in unit tests
32649 tests/test_everything.py | 18 ++++++++++++++++++
32650 1 file changed, 18 insertions(+)
32652 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
32653 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32654 Date: Sat May 22 15:12:37 2010 +0200
32656 Add support for out args in callbacks
32658 This patch refactors argument marshalling for closures in
32659 preparation for more complete support.
32661 Also fixes a bug in the memory management of user_data args.
32663 https://bugzilla.gnome.org/show_bug.cgi?id=617780
32665 gi/pygi-closure.c | 335
32666 +++++++++++++++++++++++++++++++++++++++++-------------
32667 tests/test_gi.py | 4 +
32668 2 files changed, 263 insertions(+), 76 deletions(-)
32670 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
32671 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32672 Date: Sun May 23 10:59:27 2010 +0200
32674 If None is passed to an interface which takes an object, convert it to
32677 * without this patch PyGI treats the None object as a PyGObject
32679 extracting garbage data causing a crash
32680 * None's equivalent in C is NULL so we must provide a special case
32682 marshal the None as NULL
32684 https://bugzilla.gnome.org/show_bug.cgi?id=617880
32686 gi/pygi-argument.c | 5 +++++
32687 tests/test_everything.py | 6 ++++++
32688 2 files changed, 11 insertions(+)
32690 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
32691 Author: John (J5) Palmieri <johnp@redhat.com>
32692 Date: Sat May 22 14:06:37 2010 +0200
32694 correctly handle floating objects in gtk
32696 * this is a stopgap so we work with older pygobject libraries
32697 * there is a patch at
32698 https://bugzilla.gnome.org/show_bug.cgi?id=583909
32699 which adds the correct fix to pygobject
32700 * once pygobject accepts the above patch this patch does not need to
32701 be reverted because pygobject_register_sinkfunc becomes a noop
32702 * add tests (Tomeu)
32704 https://bugzilla.gnome.org/show_bug.cgi?id=619007
32706 gi/gimodule.c | 12 ++++++++++++
32707 tests/test_everything.py | 3 +++
32708 2 files changed, 15 insertions(+)
32710 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
32711 Author: John (J5) Palmieri <johnp@redhat.com>
32712 Date: Sat May 22 13:21:30 2010 +0200
32714 Return an empty list when a NULL GList and GSList is returned
32716 * In GTK a GList * and GSList set to NULL is equivilant to empty
32718 GTK list methods can take a NULL and treat it as an empty list. e.g.
32719 g_list_length(NULL) returns 0
32720 * PyGtk consitently returns empty list when a NULL is returned for
32723 * Many PyGtk apps do this:
32724 for i in range(len(obj.get_list())):
32726 * If we were to continue to return None, they would have to add
32728 which is needlessly verbose and isn't very "pythonic"
32730 https://bugzilla.gnome.org/show_bug.cgi?id=619232
32732 gi/pygi-argument.c | 6 ------
32733 tests/test_everything.py | 4 ++--
32734 2 files changed, 2 insertions(+), 8 deletions(-)
32736 commit 71a2148b00dfdda99e0d961ae39b901608724e59
32737 Author: Steve Frécinaux <code@istique.net>
32738 Date: Fri May 21 19:05:03 2010 +0200
32740 Fix warning in configure.
32742 The warning is caused by the use of the construction 'CFLAGS+=' in a
32743 sh version that doesn't understand it (in this case, 'dash').
32745 https://bugzilla.gnome.org/show_bug.cgi?id=619311
32747 configure.ac | 2 +-
32748 1 file changed, 1 insertion(+), 1 deletion(-)
32750 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
32751 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32752 Date: Thu Apr 29 13:06:15 2010 +0200
32754 GTypeInterface cannot be unrefed
32756 https://bugzilla.gnome.org/show_bug.cgi?id=617159
32758 gi/gimodule.c | 4 +++-
32759 1 file changed, 3 insertions(+), 1 deletion(-)
32761 commit ab1aaff108d23aabd28c3634edfb67236eb55460
32762 Author: John (J5) Palmieri <johnp@redhat.com>
32763 Date: Sat May 22 13:09:48 2010 +0200
32765 fix NULL array unit tests and fix crasher when sending None as
32768 * Unit tests were wrong given the annotation for
32769 test_array_int_null_in and
32770 test_array_int_null_out:
32773 * test_array_int_null_in:
32774 * @arr: (array length=len) (allow-none):
32781 * test_array_int_null_out:
32782 * @arr: (out) (array length=len) (allow-none):
32783 * @len: (out) : length
32786 The (array length=len) annotation meant we don't pass in or
32787 receive the len argument as this is handled under the hood
32788 (Python's representation of an array, the list type, encapsulates
32789 the length inside the type)
32791 * Fixing up the tests revealed a latent crasher bug when passing
32793 interface that accepts an array. The fix was to check for NULL
32795 the length argument to 0 when invoking the bound method.
32797 https://bugzilla.gnome.org/show_bug.cgi?id=619235
32799 gi/pygi-invoke.c | 6 +++++-
32800 tests/test_everything.py | 4 ++--
32801 2 files changed, 7 insertions(+), 3 deletions(-)
32803 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
32804 Author: John (J5) Palmieri <johnp@redhat.com>
32805 Date: Fri May 14 14:57:27 2010 -0400
32807 don't error out on methods with callbacks as return type
32809 * Right now we just throw an error which means API's like
32810 gtk_about_dialog_set_url_hook aren't able to be called,
32811 * this allows us to call such APIs while printing a warning, in
32813 API such as this doesn't need to be used anymore and is a result of
32814 early GTK development
32816 gi/pygi-argument.c | 14 +++++++++++---
32817 1 file changed, 11 insertions(+), 3 deletions(-)
32819 commit d963007aab123f4e53a944a66a935db2d22907c2
32820 Author: John (J5) Palmieri <johnp@redhat.com>
32821 Date: Mon May 17 11:54:34 2010 -0400
32823 reset sys.argv to the return value of Gtk.init_check
32825 * applications which check command line arguments will error out if it
32826 encounters a GTK command line switch such as --g-fatal-warnings.
32827 * The Gtk.init* API reads these switches and returns a new argv with
32829 switches stripped out
32830 * In C argv is modified in place but in Python we must set sys.argv
32832 new modified argument list
32833 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
32835 gi/overrides/Gtk.py | 1 +
32836 1 file changed, 1 insertion(+)
32838 commit 897420ed97cc4a7b8a806894df5e76ed72617614
32839 Author: John (J5) Palmieri <johnp@redhat.com>
32840 Date: Wed May 12 14:25:32 2010 -0400
32842 add GtkUIManager and GtkActionGroup overrides
32844 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
32846 gi/overrides/Gtk.py | 167
32847 +++++++++++++++++++++++++++++++++++++++++++++++-
32848 tests/test_overrides.py | 45 +++++++++++++
32849 2 files changed, 211 insertions(+), 1 deletion(-)
32851 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
32852 Author: Zach Goldberg <zach@zachgoldberg.com>
32853 Date: Thu May 13 01:02:24 2010 -0400
32855 Bump version for development to 0.5.2 (hopefully 0.6)
32857 configure.ac | 2 +-
32858 1 file changed, 1 insertion(+), 1 deletion(-)
32860 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
32861 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32862 Date: Wed May 5 15:54:39 2010 +0200
32864 Fix overrides.Gdk.Color.__new__ args
32866 https://bugzilla.gnome.org/show_bug.cgi?id=617757
32868 gi/overrides/Gdk.py | 2 +-
32869 tests/Makefile.am | 3 ++-
32870 tests/test_overrides.py | 22 ++++++++++++++++++++++
32871 3 files changed, 25 insertions(+), 2 deletions(-)
32873 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
32874 Author: John (J5) Palmieri <johnp@redhat.com>
32875 Date: Thu Apr 29 14:55:33 2010 -0400
32877 wrap GObject module so we can go through GI when requesting attrs
32879 * This gives us the best of both worlds.
32880 - We remain backwards compatable with pygobject by checking for
32882 attrs in the gobject module
32883 - If an attr does not exist we use the GI mechanism to look it up
32885 things like flags look the same whether exported from GObject, Gtk
32886 or any GI managed library
32888 * add DynamicGObjectModule tests and make tests use the new module
32889 - change import gobject to from gi.repository import GObject
32891 gi/importer.py | 6 ++--
32892 gi/module.py | 30 ++++++++++++++++
32893 tests/test_everything.py | 6 ++--
32894 tests/test_gi.py | 93
32895 ++++++++++++++++++++++++++----------------------
32896 4 files changed, 87 insertions(+), 48 deletions(-)
32898 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
32899 Author: John (J5) Palmieri <johnp@redhat.com>
32900 Date: Fri Apr 30 14:11:55 2010 -0400
32902 override Gdk.Drawable to add cairo_create convinience method
32904 gi/overrides/Gdk.py | 7 ++++++-
32905 1 file changed, 6 insertions(+), 1 deletion(-)
32907 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
32908 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32909 Date: Mon May 3 19:13:46 2010 +0200
32911 Fix passing callbacks as constructor args
32913 https://bugzilla.gnome.org/show_bug.cgi?id=617551
32915 gi/pygi-callbacks.c | 3 ++-
32916 gi/pygi-callbacks.h | 1 +
32917 gi/pygi-invoke.c | 7 +++++--
32918 tests/test_everything.py | 21 +++++++++++++++++++++
32919 4 files changed, 29 insertions(+), 3 deletions(-)
32921 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
32922 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32923 Date: Wed May 5 08:06:03 2010 +0200
32925 Avoid freeing garbage
32927 gi/pygi-invoke.c | 6 ++++--
32928 1 file changed, 4 insertions(+), 2 deletions(-)
32930 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
32931 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32932 Date: Thu Apr 29 13:09:03 2010 +0200
32934 Only hookup vfunc implementations for locally-defined methods
32936 https://bugzilla.gnome.org/show_bug.cgi?id=617160
32938 gi/types.py | 10 +++++++++-
32939 tests/test_gi.py | 10 ++++++++++
32940 2 files changed, 19 insertions(+), 1 deletion(-)
32942 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
32943 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32944 Date: Mon May 3 18:35:13 2010 +0200
32946 Fix passing GDestroyNotify
32948 https://bugzilla.gnome.org/show_bug.cgi?id=617542
32950 gi/pygi-invoke.c | 3 ++-
32951 tests/test_everything.py | 10 ++++++++++
32952 2 files changed, 12 insertions(+), 1 deletion(-)
32954 commit 9669acd0fad193013ef3505ae231588307f9834c
32955 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32956 Date: Mon May 3 12:23:58 2010 +0200
32958 Move invocation code to its own file
32960 https://bugzilla.gnome.org/show_bug.cgi?id=617107
32962 gi/Makefile.am | 2 +
32963 gi/pygi-info.c | 884
32964 ----------------------------------------------------
32965 gi/pygi-invoke.c | 909
32966 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32967 gi/pygi-invoke.h | 37 +++
32968 gi/pygi-private.h | 1 +
32969 5 files changed, 949 insertions(+), 884 deletions(-)
32971 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
32972 Author: John (J5) Palmieri <johnp@redhat.com>
32973 Date: Tue Apr 27 19:13:08 2010 -0400
32975 Add the Gtk.Builder override
32977 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
32978 1 file changed, 36 insertions(+), 1 deletion(-)
32980 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
32981 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32982 Date: Fri Apr 30 15:00:52 2010 +0200
32984 Fix GAsyncReadyCallback
32986 https://bugzilla.gnome.org/show_bug.cgi?id=616236
32988 gi/pygi-closure.c | 8 +++++++-
32989 tests/test_everything.py | 16 ++++++++++++++++
32990 2 files changed, 23 insertions(+), 1 deletion(-)
32992 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
32993 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32994 Date: Thu Apr 29 18:32:50 2010 +0200
32996 Add override for Gdk.Color
32998 https://bugzilla.gnome.org/show_bug.cgi?id=617162
33000 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
33001 1 file changed, 19 insertions(+), 1 deletion(-)
33003 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
33004 Author: John (J5) Palmieri <johnp@redhat.com>
33005 Date: Wed Apr 28 13:19:48 2010 -0400
33007 make __all__ be a list of strings, fix override mechanism to use
33010 * before we were adding classes to the __all__ module property but
33011 the convention is to use the name of the class
33012 * simplified the check to just check the name against __all__
33013 instead of trying to get the class and then checking the class
33014 against None as well as in __all__
33015 * went through all the overrides and made __all__ be a list of strings
33017 gi/module.py | 9 ++++-----
33018 gi/overrides/GIMarshallingTests.py | 2 +-
33019 gi/overrides/Gdk.py | 2 +-
33020 3 files changed, 6 insertions(+), 7 deletions(-)
33022 commit 64fa8f936bad9a90628df446e690d67d947a0a22
33023 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33024 Date: Mon Apr 26 11:41:06 2010 +0200
33026 One more step at refactoring _wrap_g_function_info_invoke
33028 https://bugzilla.gnome.org/show_bug.cgi?id=616357
33030 gi/pygi-callbacks.c | 22 +-
33031 gi/pygi-callbacks.h | 4 +-
33032 gi/pygi-info.c | 582
33033 ++++++++++++++++++++++++++++++----------------------
33034 3 files changed, 346 insertions(+), 262 deletions(-)
33036 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
33037 Author: Zach Goldberg <zach@zachgoldberg.com>
33038 Date: Tue Apr 20 23:23:38 2010 -0400
33040 Step 1 of refactoring _wrap_g_function_info_invoke
33042 Original patch by David Malcom <dmalcolm@redhat.com>
33044 This patch bitrots *REALLY* fast.
33046 https://bugzilla.gnome.org/show_bug.cgi?id=616357
33048 gi/pygi-info.c | 417
33049 +++++++++++++++++++++++++++++----------------------------
33050 1 file changed, 214 insertions(+), 203 deletions(-)
33052 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
33053 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33054 Date: Tue Apr 27 10:24:35 2010 +0200
33056 Dont force subclasses to implement all virtual methods of their bases
33058 https://bugzilla.gnome.org/show_bug.cgi?id=616674
33060 gi/types.py | 4 ++--
33061 tests/test_gi.py | 15 +++++++++++++++
33062 2 files changed, 17 insertions(+), 2 deletions(-)
33064 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
33065 Author: Zach Goldberg <zach@zachgoldberg.com>
33066 Date: Sun Apr 25 15:09:08 2010 -0400
33068 Correct the reference counting of userdata in closure handling
33070 Without this we lose references on every call and eventually end up
33072 while they are still in use.
33074 https://bugzilla.gnome.org/show_bug.cgi?id=616786
33076 gi/pygi-closure.c | 3 +++
33077 tests/test_everything.py | 13 +++++++++++++
33078 2 files changed, 16 insertions(+)
33080 commit 2b12049306bf57513c43d08017185468bf897a4a
33081 Author: Zach Goldberg <zach@zachgoldberg.com>
33082 Date: Tue Apr 20 22:57:14 2010 -0400
33084 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
33086 (Previous commit did not include the proper error message. I blame
33089 https://bugzilla.gnome.org/show_bug.cgi?id=616356
33091 gi/pygi-closure.c | 4 ++--
33092 1 file changed, 2 insertions(+), 2 deletions(-)
33094 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
33095 Author: Zach Goldberg <zach@zachgoldberg.com>
33096 Date: Tue Apr 20 23:53:57 2010 -0400
33098 Force out arguments to be initialized as NULL. Comes with a test.
33100 This fix was motivated by a real world library which had a transfer
33102 utf8 out argument which sometimes was not set. We would leave
33104 dangling and try and free it at the end of invoke() and crash.
33106 to change their behavior so we're forced to take care of it on
33109 https://bugzilla.gnome.org/show_bug.cgi?id=616043
33111 gi/pygi-info.c | 1 +
33112 tests/test_gi.py | 3 +++
33113 2 files changed, 4 insertions(+)
33115 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
33116 Author: Zach Goldberg <zach@zachgoldberg.com>
33117 Date: Tue Apr 20 22:57:14 2010 -0400
33119 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
33121 Be slightly nicer to library maintainers. It really isn't a fatal
33123 if we don't have a proper scope type, better to leave a good code
33125 and a warning than to cause their code to segv.
33127 https://bugzilla.gnome.org/show_bug.cgi?id=616356
33129 gi/pygi-closure.c | 3 ++-
33130 1 file changed, 2 insertions(+), 1 deletion(-)
33132 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
33133 Author: Zach Goldberg <zach@zachgoldberg.com>
33134 Date: Tue Apr 20 22:43:20 2010 -0400
33136 Refactor implementation of scope call to allow for multiple calls
33137 during lifetime of function invocation.
33139 https://bugzilla.gnome.org/show_bug.cgi?id=616343
33141 gi/pygi-closure.c | 10 +++++-----
33142 gi/pygi-info.c | 9 +++++++--
33143 tests/test_everything.py | 9 +++++++++
33144 3 files changed, 21 insertions(+), 7 deletions(-)
33146 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
33147 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33148 Date: Sat Jan 2 16:31:55 2010 +0100
33150 Add basic support for unions
33152 https://bugzilla.gnome.org/show_bug.cgi?id=603598
33154 gi/module.py | 3 +-
33155 gi/pygi-argument.c | 24 +++-----------
33156 gi/pygi-boxed.c | 18 +++++++++--
33157 gi/pygi-info.c | 94
33158 ++++++++++++++++++++++++++++++++++++++++++++++++------
33159 gi/pygi-info.h | 1 +
33160 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
33161 6 files changed, 165 insertions(+), 31 deletions(-)
33163 commit af9e4e086d160fe7fb24758ed81753e784b198a8
33164 Author: Simon van der Linden <svdlinden@src.gnome.org>
33165 Date: Fri Jan 22 22:16:32 2010 +0100
33167 Bump required GLib version to 2.22
33169 Since PyGObject now depends on GLib 2.22.4, there is no need to
33171 backward-compatible.
33173 configure.ac | 2 +-
33174 gi/pygi-private.h | 20 --------------------
33175 2 files changed, 1 insertion(+), 21 deletions(-)
33177 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
33178 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33179 Date: Sun Apr 18 11:50:14 2010 -0400
33181 Refactor get_* methods in the *Info wrappers
33183 https://bugzilla.gnome.org/show_bug.cgi?id=616108
33185 gi/pygi-info.c | 360
33186 +++++++++++++++++++++++++++------------------------------
33187 1 file changed, 168 insertions(+), 192 deletions(-)
33189 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
33190 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33191 Date: Tue Apr 20 15:12:47 2010 +0200
33193 Print any error messages raised inside _pygi_closure_handle
33195 https://bugzilla.gnome.org/show_bug.cgi?id=616279
33197 gi/pygi-closure.c | 9 +++++----
33198 1 file changed, 5 insertions(+), 4 deletions(-)
33200 commit d1ba23cdd05686ea721425f233371d573a2e9cce
33201 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33202 Date: Thu Apr 22 19:57:17 2010 +0200
33204 Rename variable with a very generic name
33206 gi/module.py | 28 ++++++++++++++--------------
33207 1 file changed, 14 insertions(+), 14 deletions(-)
33209 commit 391640b30ede50af3667b1019edb72bd79f2c68c
33210 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33211 Date: Thu Apr 22 19:53:06 2010 +0200
33213 Add support for enums without GType
33215 https://bugzilla.gnome.org/show_bug.cgi?id=616520
33217 gi/module.py | 6 +++++-
33218 gi/pygi-argument.c | 22 +++++++++++++++++++++-
33219 gi/types.py | 14 ++++++++++++++
33220 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
33221 4 files changed, 68 insertions(+), 4 deletions(-)
33223 commit 89704f60ddae0c81f1383d86491ef2785590a353
33224 Author: Zach Goldberg <zach@zachgoldberg.com>
33225 Date: Tue Apr 20 22:20:42 2010 -0400
33227 Bump version during development to 0.5.1
33229 This follows what is, according to Colin Walters,
33230 standard versioning practice. During development the
33231 version in your config is the *next* version you will release,
33232 not the version after. Thus after a release you make a new commit
33233 bumping to the next development version.
33235 configure.ac | 2 +-
33236 1 file changed, 1 insertion(+), 1 deletion(-)
33238 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
33239 Author: John Ehresman <jpe@wingware.com>
33240 Date: Tue Apr 20 20:40:02 2010 -0400
33242 Added missing , to keyword list of gio.GFile.set_attribute
33244 gio/gresolver.override | 2 +-
33245 1 file changed, 1 insertion(+), 1 deletion(-)
33247 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
33248 Author: John Ehresman <jpe@wingware.com>
33249 Date: Tue Apr 20 20:37:12 2010 -0400
33251 Fix arg conversion in gio.GFile.set_attribute
33253 gio/gfile.override | 232
33254 +++++++++++++++++++++++++++++++++++++++++++++++++++--
33255 1 file changed, 227 insertions(+), 5 deletions(-)
33257 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
33258 Author: John Ehresman <jpe@wingware.com>
33259 Date: Tue Apr 20 20:01:53 2010 -0400
33261 Set constants under python 2.5 or before
33263 gobject/gobjectmodule.c | 8 ++++++++
33264 1 file changed, 8 insertions(+)
33266 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
33267 Author: José Alburquerque <jaalburqu@svn.gnome.org>
33268 Date: Sun Apr 18 20:22:21 2010 -0400
33270 Doc Extractor: Use replacements that make sense for &...;
33273 * codegen/docextract_to_xml.py: Use # and  
33275 # (#) and . These are interpreted correctly in
33277 not make the parsing crash.
33279 codegen/docextract_to_xml.py | 4 ++--
33280 1 file changed, 2 insertions(+), 2 deletions(-)
33282 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
33283 Author: Zach Goldberg <zach@zachgoldberg.com>
33284 Date: Sun Apr 18 14:32:06 2010 -0400
33286 Bump version for release 0.5.0
33288 HACKING | 7 +++++++
33289 configure.ac | 4 ++--
33290 2 files changed, 9 insertions(+), 2 deletions(-)
33292 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
33293 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33294 Date: Sun Apr 18 14:28:13 2010 -0400
33296 One more missing file...
33298 examples/Makefile.am | 2 ++
33299 1 file changed, 2 insertions(+)
33301 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
33302 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33303 Date: Sun Apr 18 14:18:44 2010 -0400
33305 Add more stuff to the tarballs
33307 Makefile.am | 8 +++++++-
33309 2 files changed, 8 insertions(+), 1 deletion(-)
33311 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
33312 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33313 Date: Sun Apr 18 13:48:45 2010 -0400
33315 Add one more missing file to tarballs
33317 gi/overrides/GIMarshallingTests.py | 0
33318 gi/overrides/Makefile.am | 1 +
33319 2 files changed, 1 insertion(+)
33321 commit 979e01852fc7f830ee91093accdc387fa535075f
33322 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33323 Date: Sun Apr 18 13:45:29 2010 -0400
33325 Add missing file to tarballs
33327 tests/Makefile.am | 1 +
33328 1 file changed, 1 insertion(+)
33330 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
33331 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33332 Date: Sun Apr 18 13:11:11 2010 -0400
33336 https://bugzilla.gnome.org/show_bug.cgi?id=602736
33339 +++++++++++++++++++++++++++++++++++++++++++++++++++++
33340 gi/pygi-argument.c | 1 +
33341 gi/pygi-callbacks.c | 3 +-
33342 gi/pygi-closure.c | 4 +--
33343 gi/pygi-closure.h | 2 +-
33344 gi/pygi-info.c | 86
33345 +++++++++++++++++++++++++++++++++++++++++++++++++--
33346 gi/pygi-info.h | 1 +
33347 gi/types.py | 44 +++++++++++++++++---------
33348 tests/test_gi.py | 18 +++++++++++
33349 9 files changed, 227 insertions(+), 21 deletions(-)
33351 commit e239faacb4798fe2d166233ca1a19a843a6225e3
33352 Author: Zach Goldberg <zach@zachgoldberg.com>
33353 Date: Sun Apr 18 11:59:06 2010 -0400
33355 Fix a typo in pygi-callbacks.c header
33357 gi/pygi-callbacks.c | 2 +-
33358 1 file changed, 1 insertion(+), 1 deletion(-)
33360 commit 79aa416ae8632b123da61d79fb820d9e2704209c
33361 Author: Zach Goldberg <zach@zachgoldberg.com>
33362 Date: Sat Apr 17 12:00:05 2010 -0400
33364 Implement nullable argument support, including tests
33366 https://bugzilla.gnome.org/show_bug.cgi?id=616035
33368 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
33369 gi/pygi-argument.h | 3 ++-
33370 gi/pygi-info.c | 19 +++++++++++++------
33371 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
33372 4 files changed, 80 insertions(+), 13 deletions(-)
33374 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
33375 Author: Zach Goldberg <zach@zachgoldberg.com>
33376 Date: Sat Apr 17 12:56:19 2010 -0400
33378 Move some tests from test_gi to test_everything
33380 tests/test_everything.py | 60
33381 ++++++++++++++++++++++++++++++++++++++++++++++
33382 tests/test_gi.py | 62
33383 +-----------------------------------------------
33384 2 files changed, 61 insertions(+), 61 deletions(-)
33386 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
33387 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33388 Date: Sun Apr 18 10:44:35 2010 -0400
33390 Update to latest version of the pygi-convert.sh script
33392 pygi-convert.sh | 193
33393 ++++++++++++++++++++++++++++++++++++++++----------------
33394 1 file changed, 137 insertions(+), 56 deletions(-)
33396 commit 34a39318c674737c6d64f2430456daef86ba1626
33397 Author: Colin Walters <walters@verbum.org>
33398 Date: Sun Apr 18 10:40:44 2010 -0400
33400 Add Tomeu's prototype script for converting pygtk to pygi
33402 pygi-convert.sh | 71
33403 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33404 1 file changed, 71 insertions(+)
33406 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
33407 Author: Olav Vitters <olav@vitters.nl>
33408 Date: Sun Apr 18 13:01:58 2010 +0200
33413 1 file changed, 4 insertions(+)
33415 commit 0de73d0bba79f92af22f43693f3575c596712416
33416 Author: Zach Goldberg <zach@zachgoldberg.com>
33417 Date: Sat Apr 17 16:01:31 2010 -0400
33419 Add Zach Goldberg as a pygi maintainer
33421 pygi.doap | 5 +++++
33422 1 file changed, 5 insertions(+)
33424 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
33425 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33426 Date: Sat Apr 17 11:47:54 2010 -0400
33430 configure.ac | 7 +------
33431 1 file changed, 1 insertion(+), 6 deletions(-)
33433 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
33434 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33435 Date: Sat Apr 17 11:40:14 2010 -0400
33437 Add examples/cairo-demo.py
33439 examples/cairo-demo.py | 121
33440 +++++++++++++++++++++++++++++++++++++++++++++++++
33441 1 file changed, 121 insertions(+)
33443 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
33444 Author: Zach Goldberg <zach@zachgoldberg.com>
33445 Date: Sat Apr 17 09:17:14 2010 -0400
33447 Implementation callback support with scoping and basic argument
33450 This patch was originally written by
33451 Zach Goldberg <zach@zachgoldberg.com> with modifications and
33452 review by Simon van der Linden <svdlinden@src.gnome.org> and
33453 Colin Walters <walters@verbum.org>.
33455 This impementation enforces the assumption that any one function
33456 signature can only have one (callback, userdata, destronotify) tuple.
33457 This allows us to move callback creation into the actual function
33458 invoke pipeline and also to keep just one destroy notify callback
33459 around, vastly simplifying the code.
33461 https://bugzilla.gnome.org/show_bug.cgi?id=603095
33464 gi/Makefile.am | 4 +
33465 gi/pygi-argument.c | 12 ++-
33466 gi/pygi-callbacks.c | 216
33467 ++++++++++++++++++++++++++++++++++++++++++++++++++++
33468 gi/pygi-callbacks.h | 47 ++++++++++++
33469 gi/pygi-closure.c | 205
33470 +++++++++++++++++++++++++++++++++++++++++++++++++
33471 gi/pygi-closure.h | 57 ++++++++++++++
33472 gi/pygi-info.c | 49 ++++++++++--
33473 gi/pygi-private.h | 2 +
33474 tests/test_gi.py | 64 +++++++++++++++-
33475 10 files changed, 648 insertions(+), 10 deletions(-)
33477 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
33478 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33479 Date: Sat Apr 17 10:54:45 2010 -0400
33481 Add support for foreign structs
33483 https://bugzilla.gnome.org/show_bug.cgi?id=603712
33485 configure.ac | 6 +++
33486 gi/Makefile.am | 10 +++-
33487 gi/gimodule.c | 7 +++
33488 gi/pygi-argument.c | 27 ++++++++++-
33489 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
33490 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
33491 gi/pygi-foreign.c | 123
33492 +++++++++++++++++++++++++++++++++++++++++++++++
33493 gi/pygi-foreign.h | 52 ++++++++++++++++++++
33494 gi/pygi-private.h | 1 +
33495 tests/test_everything.py | 48 ++++++++++++++++++
33496 10 files changed, 428 insertions(+), 4 deletions(-)
33498 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
33499 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33500 Date: Fri Apr 16 14:35:13 2010 -0400
33502 Allow creating structs with pointers
33504 https://bugzilla.gnome.org/show_bug.cgi?id=603537
33506 gi/pygi-struct.c | 6 ------
33507 tests/test_gi.py | 3 ++-
33508 2 files changed, 2 insertions(+), 7 deletions(-)
33510 commit fc9ff02e53aacf9e77625c70985e99813544912a
33511 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33512 Date: Fri Apr 16 10:40:40 2010 -0400
33514 Add gdb and valgrind variants for the tests
33516 HACKING | 19 +++++++++++++++++++
33517 Makefile.am | 12 ++++++++++++
33518 tests/Makefile.am | 14 +++++++++++++-
33519 3 files changed, 44 insertions(+), 1 deletion(-)
33521 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
33522 Author: John Stowers <john.stowers@gmail.com>
33523 Date: Fri Apr 16 14:36:11 2010 +1200
33525 Add build docs for windows
33528 README.win32 | 24 ++++++++++++++++++++++++
33529 2 files changed, 25 insertions(+)
33531 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
33532 Author: John Stowers <john.stowers@gmail.com>
33533 Date: Thu Apr 15 13:40:39 2010 +1200
33535 Setup.py cosmetic tidy
33537 * Remove local doc install, point to website instead
33538 * link to versioned docs
33540 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
33541 setup.py | 39 ++++++++++++++-------------------------
33542 2 files changed, 40 insertions(+), 42 deletions(-)
33544 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
33545 Author: John Stowers <john.stowers@gmail.com>
33546 Date: Sat Jul 25 14:12:30 2009 +1200
33548 Fix crash when importing gio
33550 Only seems to be necessary on windows, but
33551 no harm on linux as multiple calls to init
33554 gio/giomodule.c | 3 +++
33555 1 file changed, 3 insertions(+)
33557 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
33558 Author: John Stowers <john.stowers@gmail.com>
33559 Date: Thu Apr 15 22:52:48 2010 +1200
33561 Bug 589671 - Dont use generate-constants
33563 This breaks the build using distutils, and it is
33564 largely unneeded. Just add the G_XXX constants
33565 to the module directly
33567 gobject/Makefile.am | 16 +----------
33568 gobject/{constants.py.in => constants.py} | 33 +++++++++++++++++++++++
33569 gobject/generate-constants.c | 44
33570 -------------------------------
33571 gobject/gobjectmodule.c | 35 ++++++++++++++++++++++++
33573 tests/runtests.py | 3 +--
33574 6 files changed, 71 insertions(+), 62 deletions(-)
33576 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
33577 Author: John Stowers <john.stowers@gmail.com>
33578 Date: Thu Apr 15 22:49:17 2010 +1200
33580 Bug 589671 - Fix setup.py for windows build
33582 * Building pyglib as a static private library
33583 * Update to include new defs
33584 * Modernise setup.py and add more util functions
33587 dsextras.py | 32 ++++++++++++++++---
33589 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
33590 2 files changed, 116 insertions(+), 18 deletions(-)
33592 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
33593 Author: John Stowers <john.stowers@gmail.com>
33594 Date: Thu Apr 15 22:48:28 2010 +1200
33596 Include pygsource.h
33598 glib/pygiochannel.c | 1 +
33599 1 file changed, 1 insertion(+)
33601 commit c5f6af4844c74354abc508d17969d9d45153acf2
33602 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33603 Date: Thu Apr 15 14:25:59 2010 -0400
33605 Add metadata to the .doap file
33608 1 file changed, 3 insertions(+)
33610 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
33611 Author: John (J5) Palmieri <johnp@redhat.com>
33612 Date: Wed Apr 14 12:01:43 2010 -0400
33614 override that wasn't checked in - fixes some test cases
33616 gi/overrides/GIMarshallingTests.py | 69
33617 ++++++++++++++++++++++++++++++++++++++
33618 1 file changed, 69 insertions(+)
33620 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
33621 Author: Colin Walters <walters@verbum.org>
33622 Date: Wed Apr 14 10:06:07 2010 -0400
33624 [Makefile.am] Clean up CFLAGS handling, don't override all: target
33626 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
33627 per-target CFLAGS forces Automake to prefix object files, which
33628 is unnecessary since we only have one target.
33630 More importantly, avoid overriding the all: target here; that's
33631 owned by Automake. Use all-local instead to append things to
33632 the end of the normal build.
33634 gi/Makefile.am | 15 +++++++++------
33635 1 file changed, 9 insertions(+), 6 deletions(-)
33637 commit 5a47e96e3f580c973e6880dafa747f54c144c760
33638 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33639 Date: Tue Apr 13 19:15:49 2010 -0400
33641 Use GIMarshallingTests (old TestGI) in gobject-introspection
33643 gi/overrides/TestGI.py | 69 --
33644 tests/Makefile.am | 40 -
33645 tests/libtestgi.c | 2924
33646 ------------------------------------------------
33647 tests/libtestgi.h | 628 -----------
33648 tests/test_gi.py | 832 +++++++-------
33649 5 files changed, 416 insertions(+), 4077 deletions(-)
33651 commit 681832c3cd040433a488a400693b68f213bf7078
33652 Author: José Alburquerque <jaalburqu@svn.gnome.org>
33653 Date: Tue Apr 13 13:33:12 2010 -0400
33655 codegen/docextract_to_xml.py: One more &...; replacement
33658 * codegen/docextract_to_xml.py: Replace which also
33660 errors with a regular space.
33662 codegen/docextract_to_xml.py | 1 +
33663 1 file changed, 1 insertion(+)
33665 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
33666 Author: José Alburquerque <jaalburqu@svn.gnome.org>
33667 Date: Tue Apr 13 12:28:10 2010 -0400
33669 codegen/docextract_to_xml.py: Replace some &..; that cause
33672 * codegen/docextract_to_xml.py (escape_text): Replace
33674 expressions that cause errors with more appropriate output.
33676 codegen/docextract_to_xml.py | 4 ++++
33677 1 file changed, 4 insertions(+)
33679 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
33680 Author: José Alburquerque <jaalburqu@svn.gnome.org>
33681 Date: Sun Apr 11 17:46:40 2010 -0400
33683 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
33685 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
33687 in text to '/ *' and '* /' respectively so that comment
33689 show up when the descriptions that include C++ code with C++
33690 multi-line comments are used in Doxygen blocks.
33692 codegen/docextract_to_xml.py | 9 +++++++++
33693 1 file changed, 9 insertions(+)
33695 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
33696 Author: José Alburquerque <jaalburqu@svn.gnome.org>
33697 Date: Sun Apr 11 16:15:01 2010 -0400
33699 codegen/docextract.py: Stop final section processing on
33702 * codegen/docextract.py (process_final_sections): Modify
33704 section pattern matching for loop to stop on first match so
33706 doesn't match both a colon return ('Returns: ...') and a
33708 return ('Returns ...') which leads to annotation extraction
33711 codegen/docextract.py | 4 ++++
33712 1 file changed, 4 insertions(+)
33714 commit 825fd305f03b726665edca34963978ce27448182
33715 Author: José Alburquerque <jaalburqu@svn.gnome.org>
33716 Date: Sun Apr 11 15:45:09 2010 -0400
33718 Update doc extraction tool to handle GObjectIntrospection
33721 * codegen/docextract.py (FunctionDoc): Renamed class to
33723 (GtkDoc::annotations): Added a list field to store annotations
33725 are 2-tuples of (name, value).
33726 (GtkDoc::ret): Modified field to store the return description
33728 with a list of annotations as described above.
33729 (GtkDoc::params): Now holds a list of 3-tupples: name,
33731 annotations (as described above).
33732 (GtkDoc::block_type): Add a field to tell if the comment
33734 function block, signal block or property block.
33735 (GtkDoc::set_type):
33736 (GtkDoc::get_type): Add methods for setting/getting the
33738 (GtkDoc::add_param): Modified to also accept a list of
33740 be added with the parameter.
33741 (GtkDoc::add_annotation):
33742 (GtkDoc::get_annotations): Added methods to add/get
33745 (GtkDoc::append_description): Renamed to
33746 append_to_description().
33747 (GtkDoc::get_param_description): Removed unused method.
33748 (GtkDoc::get_description): Added method to get block
33750 (GtkDoc::add_return): Added method to add a return accepting
33752 line of the description and its annotations.
33753 (GtkDoc::append_return): Renamed to append_to_return().
33754 (Regular expressions):
33755 - Made the names of the variables un-abbreviated.
33757 - Added 'since', 'deprecated' and 'rename to' regular
33760 - Modified the return matching regular expression so that
33762 match descriptions that begin with 'Returns ...'.
33764 the docs of many function.
33766 - Added signal and property comment block identifier
33768 expressions in case those are useful.
33770 - Modified existing identifier matching regular expressions
33772 signal, and property regular expressions) to properly parse
33773 annotations. Also added a regular expression for extracting
33774 annotations from the parameter and return descriptions.
33776 - Refined the function name matching regular expression to
33778 identifiers that begin with a lowercase letter.
33780 'SECTION:' matches.
33782 - Finally, grouped commonly related expressions like
33784 since_pattern, etc. into groups (in lists) so that
33786 sections can be done using loops.
33788 (Parsing algorithm): Modified the algorithm to use a
33790 approach to parsing. Extra methods like skip_to_comment() and
33791 processs_params() have been added and used in the parse_file()
33792 function to now process the comment blocks.
33793 (parse_dir): Added file processing output to stderr.
33794 * codegen/docextract_to_xml.py (usage): Added function to
33797 (print_annotations): Added function to print the given list of
33799 (options): Added --with-signals (-i), with-properties (-p) and
33800 --with-annotation (-a) to the existing --source-dir (-s)
33803 (algorithm): Now prints annotations, if specified. Also,
33805 signals and properties correctly (using names like
33807 for signals and Classs:property) with xml such as <signal
33808 name="...">...</signal>. The return xml is slightly
33810 annotations but this would only be exhibited if annotation
33814 codegen/docextract.py | 439
33815 ++++++++++++++++++++++++++++++++++---------
33816 codegen/docextract_to_xml.py | 87 ++++++---
33817 2 files changed, 414 insertions(+), 112 deletions(-)
33819 commit 9fef1acb42cd900d4a814a7378f60bc189121785
33820 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33821 Date: Fri Apr 9 13:47:03 2010 +0200
33823 Always create the .so link
33825 gi/Makefile.am | 2 +-
33826 1 file changed, 1 insertion(+), 1 deletion(-)
33828 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
33829 Author: Paul Bolle <pebolle@tiscali.nl>
33830 Date: Thu Apr 8 11:52:25 2010 +0200
33832 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
33834 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
33836 docs/reference/pygio-file.xml | 58
33837 ++++++++++++++++++------------------
33838 docs/reference/pygio-inputstream.xml | 22 +++++++-------
33839 docs/reference/pygio-mount.xml | 10 +++----
33840 3 files changed, 45 insertions(+), 45 deletions(-)
33842 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
33843 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33844 Date: Mon Apr 5 18:10:42 2010 +0200
33846 Bug 613341 - pygobject tests seem to require pygtk causing a circular
33847 dependencies problem
33849 move tests that require pygtk to pygtk itself
33851 tests/test_conversion.py | 83 --------------
33852 tests/test_enum.py | 234 --------------------------------------
33853 tests/test_gtype.py | 112 ------------------
33854 tests/test_subtype.py | 289
33855 -----------------------------------------------
33856 4 files changed, 718 deletions(-)
33858 commit ef0ceb266a45715ece58642fb0042e3376416755
33859 Author: Simon van der Linden <svdlinden@src.gnome.org>
33860 Date: Wed Feb 3 20:33:03 2010 +0100
33862 Add modelines and copyright information to overrides modules
33864 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
33865 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
33866 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
33867 3 files changed, 62 insertions(+)
33869 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
33870 Author: Simon van der Linden <svdlinden@src.gnome.org>
33871 Date: Wed Feb 3 20:29:55 2010 +0100
33873 Fix and complete overrides tests
33875 Those tests were missing in the last commit
33877 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33879 gi/overrides/TestGI.py | 49
33880 +++++++++++++++++++++++++++++++++++++++++++++++++
33881 tests/test_gi.py | 8 +++++++-
33882 2 files changed, 56 insertions(+), 1 deletion(-)
33884 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
33885 Author: Simon van der Linden <svdlinden@src.gnome.org>
33886 Date: Thu Jan 21 17:30:51 2010 +0100
33888 Don't raise an error in _pygi_import if pygi support is disabled
33890 http://bugzilla.gnome.org/show_bug.cgi?id=607674
33892 gobject/pygboxed.c | 6 +-----
33893 gobject/pygi-external.h | 1 -
33894 gobject/pygobject.c | 6 +-----
33895 gobject/pygpointer.c | 6 +-----
33896 4 files changed, 3 insertions(+), 16 deletions(-)
33898 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
33899 Author: Simon van der Linden <svdlinden@src.gnome.org>
33900 Date: Fri Jan 22 22:22:37 2010 +0100
33902 Remove support for pointers to basic types as input-only argument
33905 There is no reason for an API to use such things, and
33906 g_function_info_invoke
33907 broke such features.
33909 https://bugzilla.gnome.org/show_bug.cgi?id=607759
33911 gi/pygi-argument.c | 586 ++++-------------------------------------------
33912 gi/pygi-argument.h | 1 -
33913 gi/pygi-info.c | 8 +-
33914 tests/libtestgi.c | 660
33915 -----------------------------------------------------
33916 tests/libtestgi.h | 86 -------
33917 tests/test_gi.py | 144 ------------
33918 6 files changed, 47 insertions(+), 1438 deletions(-)
33920 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
33921 Author: Simon van der Linden <svdlinden@src.gnome.org>
33922 Date: Fri Jan 22 13:41:21 2010 +0100
33924 Restore the overrides support
33926 Add a ModuleProxy in front of the DynamicModule when an overrides
33928 present. There is no need for an overrides module to be a class;
33929 it can just be a module.
33931 Add an override decorator to override the wrapper of a registered
33934 Adapt Gdk and Gtk accordingly.
33938 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33940 gi/importer.py | 40 +++++++-------------
33941 gi/module.py | 43 ++++++++++++++-------
33942 gi/overrides/Gdk.py | 42 +++++++++++++--------
33943 gi/overrides/Gtk.py | 16 ++++----
33944 gi/types.py | 6 +++
33945 tests/libtestgi.c | 105
33946 ++++++++++++++++++++++++++++++++++++++++++++++++++++
33947 tests/libtestgi.h | 49 ++++++++++++++++++++++++
33948 tests/test_gi.py | 36 ++++++++++++++++++
33949 8 files changed, 273 insertions(+), 64 deletions(-)
33951 commit 289d641775d1ea52d2a5379126b70b7fcee46683
33952 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33953 Date: Sun Jan 10 21:01:59 2010 +0100
33955 Initialize PyGPollFD_Type.fd_obj to NULL
33957 https://bugzilla.gnome.org/show_bug.cgi?id=606582
33959 gio/gcancellable.override | 1 +
33960 1 file changed, 1 insertion(+)
33962 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
33963 Author: Simon van der Linden <svdlinden@src.gnome.org>
33964 Date: Fri Jan 8 21:10:28 2010 +0100
33966 Initialize struct fields to 0 when allocating
33968 gi/pygi-struct.c | 2 +-
33969 tests/test_gi.py | 5 +++++
33970 2 files changed, 6 insertions(+), 1 deletion(-)
33972 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
33973 Author: Simon van der Linden <svdlinden@src.gnome.org>
33974 Date: Fri Jan 8 20:33:44 2010 +0100
33976 Don't set a default constructor for structures.
33978 Update tests accordingly.
33980 The reason for this change is that setting __new__ in the metaclass
33982 one overrides it afterwards, in a subclass (in my experience, at
33984 though it seems weird).
33986 https://bugzilla.gnome.org/show_bug.cgi?id=603536
33988 gi/types.py | 35 +++++++----------------------------
33989 tests/libtestgi.c | 33 ---------------------------------
33990 tests/libtestgi.h | 7 -------
33991 tests/test_gi.py | 21 ++++++++++-----------
33992 4 files changed, 17 insertions(+), 79 deletions(-)
33994 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
33995 Author: Simon van der Linden <svdlinden@src.gnome.org>
33996 Date: Tue Jan 5 13:36:44 2010 +0100
33998 Suppress compilation warnings
34000 gi/pygi-argument.c | 3 ++-
34001 gi/pygi-boxed.c | 2 --
34002 gi/pygobject-external.h | 2 +-
34003 3 files changed, 3 insertions(+), 4 deletions(-)
34005 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
34006 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34007 Date: Mon Jan 4 08:35:14 2010 +0100
34009 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
34011 Committed a patch from Kevin Pyle
34013 Makefile.am | 27 +++++++++++++--------------
34014 1 file changed, 13 insertions(+), 14 deletions(-)
34016 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
34017 Author: Simon van der Linden <svdlinden@src.gnome.org>
34018 Date: Fri Dec 11 22:24:30 2009 +0100
34020 sys.path must be modified after pygtk is imported
34022 Otherwise, sys.path is overridden by pygtk and gi.repository is
34024 system's default site-package directory.
34026 tests/runtests.py | 1 -
34027 tests/test_gi.py | 3 +++
34028 2 files changed, 3 insertions(+), 1 deletion(-)
34030 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
34031 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34032 Date: Sun Jan 3 11:02:57 2010 +0100
34034 Wrap gio.Cancellable.make_pollfd() and add a test
34036 gio/Makefile.am | 1 +
34037 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
34038 gio/gio.override | 3 +++
34039 tests/test_gcancellable.py | 15 +++++++++++++++
34040 4 files changed, 56 insertions(+)
34042 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
34043 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34044 Date: Sat Jan 2 23:15:56 2010 +0100
34046 Make cancellable an optional parameter in many methods
34049 +++++++++++++++++++++++++++++------------------------------
34050 1 file changed, 51 insertions(+), 51 deletions(-)
34052 commit 49a078cd22d55dc33a03ecfda235d63955edc741
34053 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34054 Date: Sat Jan 2 23:15:21 2010 +0100
34056 Post release version bump to 2.21.2
34058 configure.ac | 2 +-
34059 1 file changed, 1 insertion(+), 1 deletion(-)
34061 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
34062 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34063 Date: Sat Jan 2 22:58:36 2010 +0100
34065 Update NEWS and release PyGObject-2.21.1
34067 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
34068 1 file changed, 55 insertions(+)
34070 commit c1f34be73bd186d7b4682dfef133da2c4229d213
34071 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34072 Date: Fri Jan 1 20:25:35 2010 +0100
34074 Wrap gio.Volume.eject_with_operation()
34076 gio/gvolume.override | 54
34077 ++++++++++++++++++++++++++++++++++++++++++++++++++++
34078 1 file changed, 54 insertions(+)
34080 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
34081 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34082 Date: Fri Jan 1 20:22:21 2010 +0100
34084 gio.Mount.unmount_with_operation() fix a copy/paste leftover
34086 gio/gmount.override | 4 ++--
34087 1 file changed, 2 insertions(+), 2 deletions(-)
34089 commit 6f459786dd641cd49d81eba403d940620f961cab
34090 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34091 Date: Fri Jan 1 20:21:05 2010 +0100
34093 Wrap gio.Mount.eject_with_operation()
34095 gio/gmount.override | 54
34096 +++++++++++++++++++++++++++++++++++++++++++++++++++++
34097 1 file changed, 54 insertions(+)
34099 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
34100 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34101 Date: Fri Jan 1 20:15:38 2010 +0100
34103 Wrap gio.Mount.unmount_mountable_with_operation()
34105 gio/gmount.override | 54
34106 +++++++++++++++++++++++++++++++++++++++++++++++++++++
34107 1 file changed, 54 insertions(+)
34109 commit e919d47c2430451b436cec955e9b99237f97028c
34110 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34111 Date: Fri Jan 1 18:22:46 2010 +0100
34113 Wrap File.unmount_mountable_with_operation()
34115 gio/gfile.override | 54
34116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
34117 1 file changed, 54 insertions(+)
34119 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
34120 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34121 Date: Fri Jan 1 18:14:11 2010 +0100
34123 Wrap gio.File.stop_mountable()
34125 gio/gfile.override | 52
34126 ++++++++++++++++++++++++++++++++++++++++++++++++++++
34127 1 file changed, 52 insertions(+)
34129 commit 6af506647f36f2b825bc6556df5ee57fa7721906
34130 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34131 Date: Fri Jan 1 18:10:49 2010 +0100
34133 Wrap gio.File.start_mountable()
34135 gio/gfile.override | 52
34136 ++++++++++++++++++++++++++++++++++++++++++++++++++++
34137 1 file changed, 52 insertions(+)
34139 commit e700efc839fc0b651fc9794a1611190bffa80263
34140 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34141 Date: Fri Jan 1 18:02:46 2010 +0100
34143 Wrap gio.File.replace_readwrite_async()
34145 gio/gfile.override | 55
34146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
34147 1 file changed, 55 insertions(+)
34149 commit 92662f129fc728258fd5e34f53dcb081e3715017
34150 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34151 Date: Fri Jan 1 17:00:26 2010 +0100
34153 Wrap gio.File.poll_mountable()
34155 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
34156 1 file changed, 41 insertions(+)
34158 commit 99902b786500948c3278779841e4db54223b9256
34159 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34160 Date: Fri Jan 1 16:56:26 2010 +0100
34162 Wrap gio.File.open_readwrite_async()
34164 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
34165 1 file changed, 44 insertions(+)
34167 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
34168 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34169 Date: Fri Jan 1 16:50:15 2010 +0100
34171 Wrap gio.File.eject_mountable_with_operation()
34173 gio/gfile.override | 54
34174 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
34175 1 file changed, 54 insertions(+)
34177 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
34178 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34179 Date: Fri Jan 1 13:30:24 2010 +0100
34181 Wrap gio.File.create_readwrite_async() and add a test
34183 gio/gfile.override | 51
34184 +++++++++++++++++++++++++++++++++++++++++++++++++++
34185 tests/test_gio.py | 24 ++++++++++++++++++++++++
34186 2 files changed, 75 insertions(+)
34188 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
34189 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34190 Date: Fri Jan 1 13:20:11 2010 +0100
34192 Wrap gio.Drive.stop()
34194 gio/gdrive.override | 52
34195 ++++++++++++++++++++++++++++++++++++++++++++++++++++
34196 1 file changed, 52 insertions(+)
34198 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
34199 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34200 Date: Fri Jan 1 13:00:42 2010 +0100
34202 Wrap gio.Drive.start()
34204 gio/gdrive.override | 52
34205 ++++++++++++++++++++++++++++++++++++++++++++++++++++
34206 1 file changed, 52 insertions(+)
34208 commit dff374287bbecc8af782bbc726fad86c6c867754
34209 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34210 Date: Fri Jan 1 12:45:29 2010 +0100
34212 Add more remainders on missing methods of gio.Socket and related types
34214 gio/gsocket.override | 3 +++
34215 1 file changed, 3 insertions(+)
34217 commit b8c7e996498bd72df551011af85ff05ef7335b4f
34218 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34219 Date: Fri Jan 1 12:41:08 2010 +0100
34221 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
34223 gio/gsocket.override | 86
34224 +++++++++++++++++++++++++++++++++++++++++++++++++--
34225 tests/test_gsocket.py | 24 ++++++++++++++
34226 2 files changed, 108 insertions(+), 2 deletions(-)
34228 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
34229 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34230 Date: Fri Jan 1 12:28:53 2010 +0100
34232 Wrap gio.SocketListener.accept_finish() and add a test
34234 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
34235 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
34236 2 files changed, 66 insertions(+), 2 deletions(-)
34238 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
34239 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34240 Date: Fri Jan 1 11:19:34 2010 +0100
34242 Wrap gio.SocketListener.accept_async()
34244 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
34245 1 file changed, 42 insertions(+)
34247 commit c9496b29ef9ef232020a4044577d2947353953a5
34248 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34249 Date: Fri Jan 1 11:14:35 2010 +0100
34251 Wrap gio.SocketListener.accept_socket() and add a test
34253 gio/gsocket.override | 48
34254 +++++++++++++++++++++++++++++++++++++++++++++++-
34255 tests/test_gsocket.py | 13 +++++++++++++
34256 2 files changed, 60 insertions(+), 1 deletion(-)
34258 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
34259 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34260 Date: Thu Dec 31 16:35:18 2009 +0100
34262 Wrap gio.SocketListener.accept() and add a test
34264 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
34265 tests/test_gsocket.py | 13 +++++++++++++
34266 2 files changed, 58 insertions(+), 1 deletion(-)
34268 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
34269 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34270 Date: Thu Dec 31 16:25:33 2009 +0100
34272 Make cancellable optional in gio.SocketClient.connect_to_host()
34274 gio/gio.defs | 2 +-
34275 1 file changed, 1 insertion(+), 1 deletion(-)
34277 commit 3829d7667b19126fb74562b28d271e616b154c99
34278 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34279 Date: Thu Dec 31 15:25:10 2009 +0100
34281 Wrap gio.SocketListener.add_address() and add a test
34283 gio/gsocket.override | 57
34284 ++++++++++++++++++++++++++++++++++++++++++++++++++-
34285 tests/test_gsocket.py | 9 ++++++++
34286 2 files changed, 65 insertions(+), 1 deletion(-)
34288 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
34289 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34290 Date: Thu Dec 31 10:19:47 2009 +0100
34292 Add more remainders on missing methods of gio.Socket and related types
34294 gio/gsocket.override | 8 ++++++++
34295 1 file changed, 8 insertions(+)
34297 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
34298 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34299 Date: Thu Dec 31 10:16:18 2009 +0100
34301 Wrap gio.SocketClient.connect_to_service_async()
34303 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
34304 1 file changed, 47 insertions(+)
34306 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
34307 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34308 Date: Thu Dec 31 10:10:43 2009 +0100
34310 Wrap gio.SocketClient.connect_to_host_async()
34312 gio/gsocket.override | 48
34313 ++++++++++++++++++++++++++++++++++++++++++++++++
34314 1 file changed, 48 insertions(+)
34316 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
34317 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34318 Date: Thu Dec 31 09:59:46 2009 +0100
34320 Wrap gio.SocketClient.connect_async()
34322 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
34323 1 file changed, 45 insertions(+)
34325 commit dff024256295c15e49888ad9d5fef74a7746edd7
34326 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34327 Date: Wed Dec 30 23:44:25 2009 +0100
34329 Wrap gio.SocketAddressEnumerator.next_async() and add a test
34331 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
34332 tests/test_gsocket.py | 16 ++++++++++++++++
34333 2 files changed, 58 insertions(+)
34335 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
34336 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34337 Date: Wed Dec 30 23:43:14 2009 +0100
34339 Add a missing object gio.InetSocketAddress new in GIO 2.22
34341 gio/gio-types.defs | 7 +++++++
34342 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
34343 2 files changed, 38 insertions(+)
34345 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
34346 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34347 Date: Wed Dec 30 22:54:47 2009 +0100
34349 Make cancellable optional for gio.SocketAddressEnumerator.next()
34351 gio/gio.defs | 2 +-
34352 1 file changed, 1 insertion(+), 1 deletion(-)
34354 commit b19f59790b9de943d69b6c5e483928e0443c3d20
34355 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34356 Date: Wed Dec 30 22:17:44 2009 +0100
34358 Add a remainder of the Socket methods that needs manual wrapping still
34360 gio/gsocket.override | 5 +++++
34361 1 file changed, 5 insertions(+)
34363 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
34364 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34365 Date: Wed Dec 30 17:20:35 2009 +0100
34367 Wrap gio.Socket.condition_wait() and add a test
34369 gio/gsocket.override | 27 +++++++++++++++++++++++++++
34370 tests/test_gsocket.py | 6 +++++-
34371 2 files changed, 32 insertions(+), 1 deletion(-)
34373 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
34374 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34375 Date: Wed Dec 30 16:21:49 2009 +0100
34377 Wrap gio.Socket.condition_check() and add a test
34379 gio/Makefile.am | 1 +
34380 gio/gio.override | 1 +
34381 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
34382 tests/test_gsocket.py | 21 +++++++++++++++++++++
34383 4 files changed, 64 insertions(+)
34385 commit de7a359e81792ae8573ac944455ea289985449ed
34386 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34387 Date: Wed Dec 30 14:07:52 2009 +0100
34389 Wrap gio.Resolver.lookup_service_finish() and add a test
34391 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
34392 tests/test_gresolver.py | 13 +++++++++++++
34393 2 files changed, 50 insertions(+)
34395 commit 308421789ce849040d645077c41c80b6e2e65e83
34396 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34397 Date: Wed Dec 30 14:00:22 2009 +0100
34399 Wrap gio.Resolver.lookup_service_async()
34401 gio/gresolver.override | 48
34402 ++++++++++++++++++++++++++++++++++++++++++++++++
34403 1 file changed, 48 insertions(+)
34405 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
34406 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34407 Date: Wed Dec 30 11:11:32 2009 +0100
34409 Wrap gio.Resolver.lookup_service() and add a test
34411 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
34412 tests/test_gresolver.py | 5 +++++
34413 2 files changed, 47 insertions(+)
34415 commit 7fc71f490494dae73a5264869a97a9d30814930e
34416 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34417 Date: Tue Dec 29 22:12:50 2009 +0100
34419 Wrap gio.Resolver.lookup_by_address_async() and add a test
34421 gio/gresolver.override | 46
34422 ++++++++++++++++++++++++++++++++++++++++++++++
34423 tests/test_gresolver.py | 14 ++++++++++++++
34424 2 files changed, 60 insertions(+)
34426 commit c91656dbe56f07d3ebbad5113467c22427cf212a
34427 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34428 Date: Tue Dec 29 21:41:30 2009 +0100
34430 Wrap gio.Resolver.lookup_by_name_finish() and add a test
34432 gio/gresolver.override | 82
34433 +++++++++++++++++++++++++++++++++++++++++++++++++
34434 tests/test_gresolver.py | 16 ++++++++--
34435 2 files changed, 96 insertions(+), 2 deletions(-)
34437 commit 45b477342fa1c2435917c6d97745ad57665c4734
34438 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34439 Date: Tue Dec 29 17:15:44 2009 +0100
34441 Wrap gio.Drive.eject_with_data()
34443 gio/gdrive.override | 54
34444 +++++++++++++++++++++++++++++++++++++++++++++++++++++
34445 1 file changed, 54 insertions(+)
34447 commit 635227480f9659a1f91ab1ec12536d3ed012a976
34448 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34449 Date: Tue Dec 29 17:06:52 2009 +0100
34451 Deprecate old gio.Drive methods
34453 gio/gdrive.override | 7 ++++++-
34455 2 files changed, 7 insertions(+), 1 deletion(-)
34457 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
34458 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34459 Date: Tue Dec 29 13:51:54 2009 +0100
34461 Small fix in the header
34463 gio/gdrive.override | 2 +-
34464 1 file changed, 1 insertion(+), 1 deletion(-)
34466 commit 7589128515b79d836365247dc876538c6352da23
34467 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34468 Date: Tue Dec 29 12:40:50 2009 +0100
34470 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
34472 gio/Makefile.am | 1 +
34473 gio/gio.override | 1 +
34474 gio/gresolver.override | 57
34475 +++++++++++++++++++++++++++++++++++++++++++++++++
34476 tests/test_gresolver.py | 21 ++++++++++++++++++
34477 4 files changed, 80 insertions(+)
34479 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
34480 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34481 Date: Tue Dec 29 12:39:13 2009 +0100
34483 Make cancellable an optional parameter in
34484 gio.Resolver.lookup_by_address()
34486 gio/gio.defs | 2 +-
34487 1 file changed, 1 insertion(+), 1 deletion(-)
34489 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
34490 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34491 Date: Tue Dec 29 10:15:14 2009 +0100
34493 Strip g_ prefix for many other functions
34496 ++++++++++++++++++++++++++++++------------------------------
34497 1 file changed, 47 insertions(+), 47 deletions(-)
34499 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
34500 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34501 Date: Tue Dec 29 10:12:53 2009 +0100
34503 Strip g_prefix from InetAddress functions
34505 gio/gio.defs | 8 ++++----
34506 1 file changed, 4 insertions(+), 4 deletions(-)
34508 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
34509 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34510 Date: Tue Dec 29 10:03:59 2009 +0100
34512 Fix function name gio.resolver_get_default()
34514 Strip the g_ prefix from function name
34516 gio/gio.defs | 2 +-
34517 1 file changed, 1 insertion(+), 1 deletion(-)
34519 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
34520 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34521 Date: Tue Dec 29 09:54:05 2009 +0100
34523 Wrap gio.FileIOStream.query_info_async() and add a test
34525 gio/Makefile.am | 1 +
34526 gio/gfileiostream.override | 68
34527 ++++++++++++++++++++++++++++++++++++++++++++++
34528 gio/gio.override | 1 +
34529 tests/test_gio.py | 18 ++++++++++++
34530 4 files changed, 88 insertions(+)
34532 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
34533 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34534 Date: Tue Dec 29 13:08:29 2009 +0100
34536 Register enums and flags in PyGI if needed
34538 https://bugzilla.gnome.org/show_bug.cgi?id=603534
34540 gobject/pygenum.c | 20 ++++++++++++++------
34541 gobject/pygflags.c | 19 +++++++++++++------
34542 2 files changed, 27 insertions(+), 12 deletions(-)
34544 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
34545 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34546 Date: Mon Dec 28 22:41:54 2009 +0100
34548 Wrap GIOStream.close_async() and add a test
34550 gio/Makefile.am | 1 +
34551 gio/gio.override | 1 +
34552 gio/giostream.override | 68
34553 ++++++++++++++++++++++++++++++++++++++++++++++++++
34554 tests/test_gio.py | 21 ++++++++++++++++
34555 4 files changed, 91 insertions(+)
34557 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
34558 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34559 Date: Mon Dec 28 22:39:09 2009 +0100
34561 Make cancellable an optional parameter in GFile.create_readwrite()
34563 gio/gio.defs | 2 +-
34564 1 file changed, 1 insertion(+), 1 deletion(-)
34566 commit 1cabd733cde269ce3164834933f4a226673ecb0b
34567 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34568 Date: Mon Dec 28 21:39:50 2009 +0100
34570 Remove a duplicate entry in gio.defs
34572 gio/gio.defs | 9 ---------
34573 1 file changed, 9 deletions(-)
34575 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
34576 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34577 Date: Mon Dec 28 21:37:49 2009 +0100
34579 Wrap gio.FileInfo.set_modification_time and add a test
34581 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
34582 tests/test_gio.py | 7 ++++++-
34583 2 files changed, 38 insertions(+), 2 deletions(-)
34585 commit 7bc2673f92138b1804d8eba091942d14d8884f90
34586 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34587 Date: Mon Dec 28 18:28:03 2009 +0100
34589 Wrap gio.EmblemedIcon.get_emblems() and add a test
34591 gio/gicon.override | 14 ++++++++++++++
34592 tests/test_gicon.py | 7 +++++++
34593 2 files changed, 21 insertions(+)
34595 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
34596 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34597 Date: Sat Dec 26 22:27:48 2009 +0100
34599 Update Enums and Flags with new API
34601 gio/gio-types.defs | 153
34602 +++++++++++++++++++++++++++++++++++++++++++++++++++--
34603 1 file changed, 149 insertions(+), 4 deletions(-)
34605 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
34606 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34607 Date: Fri Dec 25 18:06:39 2009 +0100
34609 Post release version bump to 2.21.1
34611 configure.ac | 2 +-
34612 1 file changed, 1 insertion(+), 1 deletion(-)
34614 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
34615 Author: Bastian Winkler <buz@netbuz.org>
34616 Date: Fri Aug 14 15:10:26 2009 +0200
34618 Fix handling of uchar in pyg_value_from_pyobject
34620 Set the value by g_value_set_uchar and allow to use integer types
34623 gobject/pygtype.c | 15 +++++++++++----
34624 1 file changed, 11 insertions(+), 4 deletions(-)
34626 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
34627 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34628 Date: Tue Dec 22 18:05:47 2009 +0100
34630 Add Gtk.keysyms to overrides
34632 gi/overrides/Gtk.py | 2 +
34633 gi/overrides/Makefile.am | 1 +
34634 gi/overrides/keysyms.py | 1499
34635 ++++++++++++++++++++++++++++++++++++++++++++++
34636 3 files changed, 1502 insertions(+)
34638 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
34639 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34640 Date: Wed Nov 25 10:33:56 2009 +0100
34642 The array field 'length' starts to count from the C arg list, so
34643 need to decrement when it's a method
34645 https://bugzilla.gnome.org/show_bug.cgi?id=602640
34647 gi/pygi-argument.c | 11 +++++++++-
34648 gi/pygi-argument.h | 3 ++-
34649 gi/pygi-info.c | 14 +++++++++++--
34650 tests/libtestgi.c | 60
34651 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
34652 tests/libtestgi.h | 4 ++++
34653 tests/test_gi.py | 15 ++++++++++++++
34654 6 files changed, 103 insertions(+), 4 deletions(-)
34656 commit 867536c6734e606d045760837ed22583da06566e
34657 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34658 Date: Fri Dec 18 10:50:09 2009 +0100
34660 Update NEWS and README, release pygobject 2.21.0
34662 NEWS | 18 ++++++++++++++++++
34664 2 files changed, 21 insertions(+), 3 deletions(-)
34666 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
34667 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34668 Date: Fri Dec 18 10:31:48 2009 +0100
34670 Add pygi-external.h into Makefile SOURCES
34672 gobject/Makefile.am | 3 ++-
34673 1 file changed, 2 insertions(+), 1 deletion(-)
34675 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
34676 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34677 Date: Fri Dec 18 01:20:34 2009 +0100
34679 Bug 598435 - No wrapping for g_find_program_in_path ()
34681 glib/glibmodule.c | 20 ++++++++++++++++++++
34682 1 file changed, 20 insertions(+)
34684 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
34685 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34686 Date: Thu Dec 17 21:54:36 2009 +0100
34688 Wrap new API added in GIO-UNIX 2.22
34690 gio/unix-types.defs | 22 ++++++++++
34691 gio/unix.defs | 115
34692 +++++++++++++++++++++++++++++++++++++++++++++++++++-
34693 gio/unix.override | 8 ++++
34694 3 files changed, 144 insertions(+), 1 deletion(-)
34696 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
34697 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34698 Date: Thu Dec 17 21:52:11 2009 +0100
34700 Bump required glib version to 2.22.4
34702 I've committed a patch to glib which will be released in the stable
34704 Without the patch the unix module will fail, so I'm forced to bump.
34706 configure.ac | 6 +++---
34707 1 file changed, 3 insertions(+), 3 deletions(-)
34709 commit b630c8d4b1e55938dac89729768c4a877b305215
34710 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34711 Date: Thu Dec 17 02:24:45 2009 +0100
34713 Properly define Connectable as interface type and not object type
34715 gio/gio-types.defs | 12 ++++++------
34716 1 file changed, 6 insertions(+), 6 deletions(-)
34718 commit e955b931b07113c7432f7a85f882f69f12d263ad
34719 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
34720 Date: Mon Nov 30 22:01:25 2009 +0100
34722 Depend on GLib 2.20 rather than 2.22
34724 Backport g_array_get_element_size.
34726 https://bugzilla.gnome.org/show_bug.cgi?id=603411
34728 configure.ac | 2 +-
34729 gi/pygi-private.h | 19 +++++++++++++++++++
34730 2 files changed, 20 insertions(+), 1 deletion(-)
34732 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
34733 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34734 Date: Sat Nov 28 18:48:19 2009 +0000
34736 Use the limit constants from glib and interpret G_MAXUINT32 as
34737 PyLong_FromLongLong
34739 https://bugzilla.gnome.org/show_bug.cgi?id=602384
34741 gi/pygi-argument.c | 14 +++++++-------
34742 tests/test_gi.py | 18 +++++++++---------
34743 2 files changed, 16 insertions(+), 16 deletions(-)
34745 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
34746 Author: Simon van der Linden <svdlinden@src.gnome.org>
34747 Date: Mon Nov 30 00:10:56 2009 +0100
34749 Suppress warnings about format conversion
34751 https://bugzilla.gnome.org/show_bug.cgi?id=603355
34753 gobject/generate-constants.c | 32 ++++++++++++++++----------------
34754 1 file changed, 16 insertions(+), 16 deletions(-)
34756 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
34757 Author: Simon van der Linden <svdlinden@src.gnome.org>
34758 Date: Sat Nov 28 00:22:21 2009 +0100
34760 Remove global checks for pointers and move them in type cases that
34763 gi/pygi-argument.c | 516
34764 +++++++++++++++++++++++++++++++++++++++++++----------
34765 gi/pygi-info.c | 333 +++++++++++++++++-----------------
34766 2 files changed, 596 insertions(+), 253 deletions(-)
34768 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
34769 Author: Johan Dahlin <johan@gnome.org>
34770 Date: Mon Nov 23 15:58:17 2009 -0200
34772 Pythonify. Avoid ; and () around if statements
34774 https://bugzilla.gnome.org/show_bug.cgi?id=602830
34776 gi/types.py | 8 ++++----
34777 1 file changed, 4 insertions(+), 4 deletions(-)
34779 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
34780 Author: Johan Dahlin <johan@gnome.org>
34781 Date: Tue Nov 24 10:36:18 2009 -0200
34783 Remove trailing whitespace
34785 https://bugzilla.gnome.org/show_bug.cgi?id=602830
34787 gi/module.py | 4 ++--
34788 1 file changed, 2 insertions(+), 2 deletions(-)
34790 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
34791 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34792 Date: Mon Nov 30 10:03:34 2009 +0000
34794 Set a default constructor for boxed structs that don't have one
34796 https://bugzilla.gnome.org/show_bug.cgi?id=602735
34798 gi/Makefile.am | 2 +
34799 gi/gimodule.c | 1 +
34800 gi/module.py | 2 +-
34801 gi/pygi-argument.c | 14 +++-
34802 gi/pygi-boxed.c | 184
34803 +++++++++++++++++++++++++++++++++++++++++++++++++++++
34804 gi/pygi-boxed.h | 40 ++++++++++++
34805 gi/pygi-info.c | 2 +-
34806 gi/pygi-private.h | 1 +
34808 gi/types.py | 18 ------
34809 tests/libtestgi.c | 72 ++++++++++-----------
34810 tests/libtestgi.h | 18 +++---
34811 tests/test_gi.py | 47 ++++++++------
34812 13 files changed, 321 insertions(+), 86 deletions(-)
34814 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
34815 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34816 Date: Mon Nov 30 10:53:57 2009 +0000
34818 Revert "Use the limit constants from glib and interpret G_MAXUINT32
34819 as PyLong_FromLongLong"
34821 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
34823 gi/pygi-argument.c | 14 +++++++-------
34824 tests/test_gi.py | 18 +++++++++---------
34825 2 files changed, 16 insertions(+), 16 deletions(-)
34827 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
34828 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34829 Date: Sat Nov 28 18:48:19 2009 +0000
34831 Use the limit constants from glib and interpret G_MAXUINT32 as
34832 PyLong_FromLongLong
34834 https://bugzilla.gnome.org/show_bug.cgi?id=602384
34836 gi/pygi-argument.c | 14 +++++++-------
34837 tests/test_gi.py | 18 +++++++++---------
34838 2 files changed, 16 insertions(+), 16 deletions(-)
34840 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
34841 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34842 Date: Sat Nov 28 18:45:54 2009 +0000
34844 Add the missing limit constants from glibconfig.h
34846 https://bugzilla.gnome.org/show_bug.cgi?id=603244
34848 gobject/generate-constants.c | 17 ++++++++++++++++-
34849 1 file changed, 16 insertions(+), 1 deletion(-)
34851 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
34852 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34853 Date: Sat Nov 28 18:48:49 2009 +0100
34855 Fix bad name when rebuilding the unix source module
34857 gio/Makefile.am | 2 +-
34858 1 file changed, 1 insertion(+), 1 deletion(-)
34860 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
34861 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34862 Date: Sat Nov 28 18:47:26 2009 +0100
34864 Wrap new API added in GIO 2.22
34866 gio/gio-types.defs | 138 +++
34867 gio/gio.defs | 2444
34868 +++++++++++++++++++++++++++++++++++++++++++++++-----
34869 2 files changed, 2360 insertions(+), 222 deletions(-)
34871 commit 96f6c638709636d7e2ddf560b877879691da3314
34872 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34873 Date: Sat Nov 28 11:03:51 2009 +0000
34875 A few tests about interfaces
34877 https://bugzilla.gnome.org/show_bug.cgi?id=601181
34879 tests/libtestgi.c | 23 +++++++++++++++++++++++
34880 tests/libtestgi.h | 16 ++++++++++++++++
34881 tests/test_gi.py | 21 +++++++++++++++++++++
34882 3 files changed, 60 insertions(+)
34884 commit 076ba3156c13375a75983cef7a409c8c8afea119
34885 Author: Simon van der Linden <svdlinden@src.gnome.org>
34886 Date: Thu Nov 26 23:50:54 2009 +0100
34888 Fix members initialization in metaclasses
34890 In metaclasses, the test for the name of the class was wrong, since it
34891 prevented one to create a subclass with the same name (especially
34893 overrides). Now, if a GType is available from the info, the fact
34895 doesn't have any wrapper yet means that the metaclass is creating
34897 class, which will be registerd just after its creation. This is
34899 objects, and for structures registered as boxed or pointer too.
34901 This patch includes a test for basic subclassing in Python. It
34903 that methods don't get overridden by the metaclass.
34905 gi/types.py | 5 +++--
34906 tests/test_gi.py | 19 +++++++++++++++++++
34907 2 files changed, 22 insertions(+), 2 deletions(-)
34909 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
34910 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34911 Date: Fri Nov 27 12:06:59 2009 +0000
34913 Structs in arrays are not marshalled correctly
34915 https://bugzilla.gnome.org/show_bug.cgi?id=602709
34917 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
34918 tests/libtestgi.c | 23 ++++++++++++++++++++++-
34919 tests/libtestgi.h | 7 +++++--
34920 tests/test_gi.py | 8 ++++++++
34921 4 files changed, 59 insertions(+), 8 deletions(-)
34923 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
34924 Author: Simon van der Linden <svdlinden@src.gnome.org>
34925 Date: Wed Nov 25 16:53:55 2009 +0100
34927 Use the right variable when looking up in sys.modules
34929 gi/importer.py | 2 +-
34930 1 file changed, 1 insertion(+), 1 deletion(-)
34932 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
34933 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34934 Date: Tue Nov 24 15:52:47 2009 +0100
34936 Accept 0 as a valid value for flag and enum arguments
34938 https://bugzilla.gnome.org/show_bug.cgi?id=602638
34940 gi/pygi-argument.c | 19 ++++++++++++++++++-
34941 tests/libtestgi.c | 6 ++++++
34942 tests/libtestgi.h | 1 +
34943 tests/test_gi.py | 1 +
34944 4 files changed, 26 insertions(+), 1 deletion(-)
34946 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
34947 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34948 Date: Tue Nov 24 13:10:11 2009 +0100
34950 Add stuff to .gitignore
34952 .gitignore | 7 +++++++
34953 1 file changed, 7 insertions(+)
34955 commit 5c010fe673d9bd01c27c8d7d312064665275888c
34956 Author: Simon van der Linden <svdlinden@src.gnome.org>
34957 Date: Mon Nov 23 22:39:12 2009 +0100
34959 Remove the girepository module
34962 configure.ac | 17 -
34963 girepository/Makefile.am | 54 --
34964 girepository/__init__.py | 24 -
34965 girepository/bank-argument.c | 379 ------------
34966 girepository/bank-info.c | 1194
34967 ------------------------------------
34968 girepository/bank-repository.c | 236 -------
34969 girepository/bank.c | 155 -----
34970 girepository/bank.h | 80 ---
34971 girepository/btypes.py | 300 ---------
34972 girepository/importer.py | 51 --
34973 girepository/module.py | 224 -------
34974 girepository/overrides/Gdk.py | 14 -
34975 girepository/overrides/Gtk.py | 8 -
34976 girepository/overrides/__init__.py | 0
34977 girepository/repository.py | 51 --
34978 tests/test_girepository.py | 386 ------------
34979 17 files changed, 1 insertion(+), 3174 deletions(-)
34981 commit a644edf0515c26ed027522891ccf02aceac764e8
34982 Author: Johan Dahlin <johan@gnome.org>
34983 Date: Mon Nov 23 15:32:16 2009 -0200
34985 Create overridden modules in two passes
34987 This patch splits overridden module creation into two passes. The
34989 creates the auto-generated module normally before the overridden
34991 attempted to be imported. The second pass imports the overridden
34993 replaces the auto-generated module with the overridden. This is
34995 for the overridden modules to be able to access the auto-generated
34998 gi/importer.py | 34 +++++++++++++++++++++-------------
34999 1 file changed, 21 insertions(+), 13 deletions(-)
35001 commit fad89e12a744b57e6348968f351d25d167de8248
35002 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35003 Date: Sun Nov 22 17:56:20 2009 +0100
35005 Add support for Any arguments
35007 https://bugzilla.gnome.org/show_bug.cgi?id=601253
35009 gi/pygi-argument.c | 20 ++++++++++++--------
35010 tests/libtestgi.c | 5 +++++
35011 tests/libtestgi.h | 5 +++++
35012 tests/test_gi.py | 5 +++++
35013 4 files changed, 27 insertions(+), 8 deletions(-)
35015 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
35016 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35017 Date: Sun Nov 22 17:25:04 2009 +0100
35019 Register interfaces
35021 https://bugzilla.gnome.org/show_bug.cgi?id=601181
35023 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
35024 gi/types.py | 5 ++++-
35025 2 files changed, 37 insertions(+), 1 deletion(-)
35027 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
35028 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35029 Date: Sun Nov 22 18:23:02 2009 +0200
35031 Ignore one more file.
35034 1 file changed, 1 insertion(+)
35036 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
35037 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35038 Date: Sun Nov 22 18:22:23 2009 +0200
35040 Fix wrong minimum checking in float properties
35042 Bug #587637. Test the fix.
35044 gobject/propertyhelper.py | 5 +++--
35045 tests/test_properties.py | 6 ++++++
35046 2 files changed, 9 insertions(+), 2 deletions(-)
35048 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
35049 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35050 Date: Mon Oct 26 18:06:06 2009 +0000
35052 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
35054 gi/pygi-argument.c | 3 +++
35055 1 file changed, 3 insertions(+)
35057 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
35058 Author: Simon van der Linden <svdlinden@src.gnome.org>
35059 Date: Sat Nov 14 21:42:43 2009 +0100
35061 Import pygtk properly to avoid failure on some setups
35063 tests/test_gi.py | 3 +++
35064 1 file changed, 3 insertions(+)
35066 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
35067 Author: Alex Dedul <rotmer@gmail.com>
35068 Date: Sat Nov 14 21:39:15 2009 +0100
35070 Search for python-config-${VERSION} when python${VERSION}-config is
35073 On Gentoo, notably, the config tool is named python-config-${VERSION},
35075 Fedora and Ubuntu, it is named python${VERSION}-config.
35077 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
35079 configure.ac | 7 +++++--
35080 1 file changed, 5 insertions(+), 2 deletions(-)
35082 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
35083 Author: Simon van der Linden <svdlinden@src.gnome.org>
35084 Date: Sat Nov 14 21:36:19 2009 +0100
35086 Fix silent rules setup
35088 configure.ac | 2 +-
35089 1 file changed, 1 insertion(+), 1 deletion(-)
35091 commit 602afea88c338a38327cd84e08703c5daa384ec6
35092 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35093 Date: Tue Nov 10 22:32:33 2009 +0200
35095 Move threads_init() function from 'gobject' to 'glib'
35097 Retain in original place for backward compatibility, but remove it
35100 docs/reference/pygobject-functions.xml | 36
35101 +++++++---------------------------
35102 glib/glibmodule.c | 16 +++++++++++++++
35103 2 files changed, 23 insertions(+), 29 deletions(-)
35105 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
35106 Author: Simon van der Linden <svdlinden@src.gnome.org>
35107 Date: Mon Nov 9 22:44:12 2009 +0100
35109 Remove PyGObject patches since they've been merged to master
35111 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
35112 patches/0002-Fix-girpository-build-setup.patch | 186
35113 -------------------
35114 ...capabilities-to-import-wrappers-from-pygi.patch | 200
35115 ---------------------
35116 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
35117 4 files changed, 493 deletions(-)
35119 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
35120 Author: Simon van der Linden <svdlinden@src.gnome.org>
35121 Date: Sat Nov 7 23:42:07 2009 +0100
35123 Create instances by calling tp_alloc rather than PyObject_NEW
35125 PyObject_NEW calls a generic allocator and should only be called by
35127 that the type's free function agrees. In pyg_boxed_new, we may
35129 PyGBoxed subtypes, so the subtype's allocation function must be
35132 gobject/pygboxed.c | 3 ++-
35133 1 file changed, 2 insertions(+), 1 deletion(-)
35135 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
35136 Author: Simon van der Linden <svdlinden@src.gnome.org>
35137 Date: Sat Nov 7 16:43:35 2009 +0100
35139 Add capabilities to import wrappers from pygi
35141 At instance creation for boxed and pointers, at lookup for objects,
35142 when the gtype has no wrapper yet, a wrapper may be imported from
35145 The feature is turned on at configure time by --enable-pygi.
35147 Because we couldn't create a circular build dependency, PyGI's import
35149 API definition had to be copied in this tree.
35151 configure.ac | 8 ++++++
35152 gobject/pygboxed.c | 10 ++++++++
35153 gobject/pygi-external.h | 66
35154 +++++++++++++++++++++++++++++++++++++++++++++++++
35155 gobject/pygobject.c | 10 ++++++++
35156 gobject/pygpointer.c | 11 +++++++++
35157 5 files changed, 105 insertions(+)
35159 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
35160 Author: Simon van der Linden <svdlinden@src.gnome.org>
35161 Date: Sun Nov 8 20:03:58 2009 +0100
35163 Update PyGObject patches
35165 A file, pygi-external.h, was missing in patch #3.
35167 ...capabilities-to-import-wrappers-from-pygi.patch | 74
35168 ++++++++++++++++++++--
35169 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
35170 2 files changed, 69 insertions(+), 7 deletions(-)
35172 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
35173 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35174 Date: Sun Nov 8 16:52:18 2009 +0100
35176 Add myself to pygi.doap
35178 pygi.doap | 5 +++++
35179 1 file changed, 5 insertions(+)
35181 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
35182 Author: Simon van der Linden <svdlinden@src.gnome.org>
35183 Date: Sun Nov 8 15:40:51 2009 +0100
35187 pygi.doap | 17 +++++++++++++++++
35188 1 file changed, 17 insertions(+)
35190 commit ce673b9027868e6add4eeb438bc707eb40bfd046
35191 Author: Simon van der Linden <svdlinden@src.gnome.org>
35192 Date: Sun Nov 8 13:06:54 2009 +0100
35194 Add PyGObject patches
35196 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
35197 patches/0002-Fix-girpository-build-setup.patch | 186
35198 +++++++++++++++++++++
35199 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
35200 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
35201 4 files changed, 431 insertions(+)
35203 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
35204 Author: Simon van der Linden <svdlinden@src.gnome.org>
35205 Date: Sun Nov 8 12:35:08 2009 +0100
35211 autogen.sh | 159 +++
35212 configure.ac | 53 +
35213 gi/Makefile.am | 50 +
35214 gi/__init__.py | 24 +
35215 gi/gimodule.c | 144 ++
35216 gi/importer.py | 89 ++
35217 gi/module.py | 167 +++
35218 gi/overrides/Gdk.py | 21 +
35219 gi/overrides/Gtk.py | 13 +
35220 gi/overrides/Makefile.am | 10 +
35221 gi/overrides/__init__.py | 0
35222 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
35223 gi/pygi-argument.h | 65 +
35224 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
35225 gi/pygi-info.h | 64 +
35226 gi/pygi-private.h | 55 +
35227 gi/pygi-repository.c | 238 ++++
35228 gi/pygi-repository.h | 39 +
35229 gi/pygi-struct.c | 175 +++
35230 gi/pygi-struct.h | 40 +
35231 gi/pygi-type.c | 96 ++
35232 gi/pygi-type.h | 43 +
35234 gi/pygobject-external.h | 83 ++
35235 gi/repository/Makefile.am | 8 +
35236 gi/repository/__init__.py | 30 +
35237 gi/types.py | 163 +++
35238 tests/Makefile.am | 48 +
35239 tests/libtestgi.c | 3397
35240 +++++++++++++++++++++++++++++++++++++++++++++
35241 tests/libtestgi.h | 643 +++++++++
35242 tests/runtests.py | 22 +
35243 tests/test_gi.py | 1416 +++++++++++++++++++
35244 34 files changed, 11566 insertions(+)
35246 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
35247 Author: Simon van der Linden <svdlinden@src.gnome.org>
35248 Date: Sat Nov 7 13:23:53 2009 +0100
35250 Fix girpository build setup
35252 configure.ac | 21 ++++++-----
35253 girepository/Makefile.am | 13 ++++---
35254 m4/introspection.m4 | 92
35255 ++++++++++++++++++++++++++++++++++++++++++++++++
35256 3 files changed, 111 insertions(+), 15 deletions(-)
35258 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
35259 Author: Simon van der Linden <svdlinden@src.gnome.org>
35260 Date: Fri Nov 6 19:17:36 2009 +0100
35262 Make GType.pytype aware of the interface, enum, flags, pointer and
35265 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
35266 1 file changed, 33 insertions(+), 6 deletions(-)
35268 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
35269 Author: Philippe Normad <phil@base-art.net>
35270 Date: Wed Oct 21 18:01:16 2009 +0200
35272 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
35276 glib/pygmainloop.c | 95
35277 ++++++++++++++++++++++++++++--------------------------
35278 1 file changed, 50 insertions(+), 45 deletions(-)
35280 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
35281 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35282 Date: Fri Sep 25 20:12:21 2009 +0200
35284 Post release version bump to 2.21.0
35286 configure.ac | 2 +-
35287 1 file changed, 1 insertion(+), 1 deletion(-)
35289 commit 33920eb013628a5e22b7b32403fb965ae3210f47
35290 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35291 Date: Wed Sep 23 21:52:04 2009 +0200
35293 Update NEWS and release 2.20.0
35296 1 file changed, 6 insertions(+)
35298 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
35299 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35300 Date: Wed Sep 23 21:51:43 2009 +0200
35302 Bump version to 2.20.0
35304 configure.ac | 2 +-
35305 1 file changed, 1 insertion(+), 1 deletion(-)
35307 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
35308 Author: Brian Cameron <Brian.Cameron@sun.com>
35309 Date: Wed Sep 23 12:11:50 2009 -0500
35311 Updated uninstalled.pc file so that it contains the right paths for
35312 defsdir files and codegen files. See bug #596023.
35314 pygobject-2.0-uninstalled.pc.in | 4 ++--
35315 1 file changed, 2 insertions(+), 2 deletions(-)
35317 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
35318 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35319 Date: Tue Sep 22 22:02:27 2009 +0300
35321 Plug reference leak of GSource in pyg_main_loop_init()
35323 Bug #579406, second change.
35325 glib/pygmainloop.c | 1 +
35326 1 file changed, 1 insertion(+)
35328 commit 640be8109d066e85ed77c810830a5f73c750415b
35329 Author: Frédéric Péters <fpeters@0d.be>
35330 Date: Sun Aug 30 16:46:02 2009 +0200
35332 Specify programming language in .devhelp file
35334 This add a new language attribute (hardcoded to python) in the
35336 file that is produced when using ref-html-style.xsl.
35338 docs/xsl/devhelp.xsl | 2 +-
35339 1 file changed, 1 insertion(+), 1 deletion(-)
35341 commit c888b5ca722fcad6a03de585606c677c2969ebd6
35342 Author: Paolo Borelli <pborelli@gnome.org>
35343 Date: Thu Aug 13 21:32:07 2009 +0200
35345 Allow to use automake 1.11
35347 autogen.sh | 13 +++++++------
35348 1 file changed, 7 insertions(+), 6 deletions(-)
35350 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
35351 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35352 Date: Tue Aug 11 22:19:50 2009 +0200
35356 README | 10 ++++++++--
35357 1 file changed, 8 insertions(+), 2 deletions(-)
35359 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
35360 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35361 Date: Tue Aug 11 22:16:52 2009 +0200
35365 AUTHORS | 8 +++++---
35366 1 file changed, 5 insertions(+), 3 deletions(-)
35368 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
35369 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35370 Date: Tue Aug 11 22:11:43 2009 +0200
35372 Add myself and Paul as maintainers
35374 MAINTAINERS | 8 ++++++++
35375 pygobject.doap | 14 ++++++++++++++
35376 2 files changed, 22 insertions(+)
35378 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
35379 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35380 Date: Tue Aug 11 20:52:44 2009 +0200
35382 Update NEWS release 2.19.0
35384 NEWS | 29 +++++++++++++++++++++++++++++
35385 1 file changed, 29 insertions(+)
35387 commit e82a1841f31ad54dd50569d0d45290713409e0bf
35388 Author: John Finlay <finlay@moeraki.com>
35389 Date: Tue Aug 11 00:04:31 2009 -0700
35391 Add macros to help with Python list to/from GList/GSList conversions.
35393 gobject/pygobject.h | 242
35394 +++++++++++++++++++++++++++++++++++++++++++++++++++-
35395 1 file changed, 241 insertions(+), 1 deletion(-)
35397 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
35398 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35399 Date: Sat Aug 8 21:37:54 2009 +0200
35401 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
35403 gio/gfileinfo.override | 4 ++--
35404 1 file changed, 2 insertions(+), 2 deletions(-)
35406 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
35407 Author: Johan Dahlin <johan@gnome.org>
35408 Date: Fri Jul 24 14:30:37 2009 -0300
35410 Remove myself as a maintainer
35412 MAINTAINERS | 4 ----
35413 pygobject.doap | 7 -------
35414 2 files changed, 11 deletions(-)
35416 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
35417 Author: John Finlay <finlay@moeraki.com>
35418 Date: Wed Jul 8 15:47:44 2009 -0700
35420 * codegen/defsgen.py (clean_patterns): Strip out Windows
35423 codegen/defsgen.py | 6 +++---
35424 1 file changed, 3 insertions(+), 3 deletions(-)
35426 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
35427 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35428 Date: Tue Jun 23 21:18:23 2009 +0200
35430 Fix the gio.unix namespace in docs
35432 docs/Makefile.am | 2 ++
35433 docs/reference/pygio-classes.xml | 2 --
35434 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
35435 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
35436 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
35437 docs/reference/pygobject-ref.xml | 1 +
35438 6 files changed, 42 insertions(+), 28 deletions(-)
35440 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
35441 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35442 Date: Mon Jun 22 23:13:36 2009 +0200
35444 Add docs for gio functions (mostly for content types)
35446 docs/Makefile.am | 2 +
35447 docs/reference/pygio-classes.xml | 1 +
35448 docs/reference/pygio-functions.xml | 395
35449 +++++++++++++++++++++++++++++++++++++
35450 3 files changed, 398 insertions(+)
35452 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
35453 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35454 Date: Sun Jun 21 18:35:56 2009 +0200
35456 Add docs for gio.Unix[In|Out]putStream classes
35458 docs/Makefile.am | 4 +
35459 docs/reference/pygio-classes.xml | 2 +
35460 docs/reference/pygio-unixinputstream.xml | 202
35461 ++++++++++++++++++++++++++++++
35462 docs/reference/pygio-unixoutputstream.xml | 202
35463 ++++++++++++++++++++++++++++++
35464 4 files changed, 410 insertions(+)
35466 commit 5b71e58117c85634d95d08449eb54079b246e5be
35467 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35468 Date: Sun Jun 21 16:50:03 2009 +0300
35470 Document that many functions got moved gobject -> glib
35472 docs/reference/pygobject-functions.xml | 7 +++++++
35473 1 file changed, 7 insertions(+)
35475 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
35476 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35477 Date: Sat Jun 20 19:23:25 2009 +0200
35479 Add docs for class gio.DataOutputStream
35481 docs/Makefile.am | 2 +
35482 docs/reference/pygio-classes.xml | 1 +
35483 docs/reference/pygio-dataoutputstream.xml | 504
35484 ++++++++++++++++++++++++++++++
35485 3 files changed, 507 insertions(+)
35487 commit 549313fc4886fa3deb31761de6f5400708165d86
35488 Author: Murray Cumming <murrayc@murrayc.com>
35489 Date: Thu Jun 18 18:48:37 2009 +0200
35491 Allow h2def.py to work when there are tabs or multiple spaces after
35492 the struct keyword.
35494 codegen/h2def.py | 8 ++++----
35495 1 file changed, 4 insertions(+), 4 deletions(-)
35497 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
35498 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35499 Date: Mon Jun 15 23:02:34 2009 +0200
35501 Add dpcs for class gio.DataInputStream
35503 docs/Makefile.am | 2 +
35504 docs/reference/pygio-classes.xml | 1 +
35505 docs/reference/pygio-constants.xml | 66 +++
35506 docs/reference/pygio-datainputstream.xml | 799
35507 +++++++++++++++++++++++++++++++
35508 4 files changed, 868 insertions(+)
35510 commit a8b36c343c6850af929c1d5a930f923831b4e637
35511 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
35512 Date: Mon Jun 15 23:25:01 2009 +0300
35514 Fix build when builddir is not the same as srcdir
35518 girepository/Makefile.am | 2 +-
35519 1 file changed, 1 insertion(+), 1 deletion(-)
35521 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
35522 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35523 Date: Mon Jun 15 23:19:47 2009 +0300
35525 Make gio.Emblem constructor new-style
35527 Add optional 'origin' parameter. Expand gio.Emblem documentation and
35528 mark gio.emblem_new_with_origin as sort-of-deprecated.
35530 docs/reference/pygio-emblem.xml | 51
35531 +++++++++++++++++++++++++++++++++++++++--
35532 gio/gio.defs | 5 ++--
35533 2 files changed, 52 insertions(+), 4 deletions(-)
35535 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
35536 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35537 Date: Sat Jun 13 14:44:47 2009 +0200
35539 Add docs for gio.BufferedOutputStream class
35541 docs/Makefile.am | 96 ++++-----
35542 docs/reference/pygio-bufferedoutputstream.xml | 275
35543 ++++++++++++++++++++++++++
35544 docs/reference/pygio-classes.xml | 1 +
35545 3 files changed, 325 insertions(+), 47 deletions(-)
35547 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
35548 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35549 Date: Sat Jun 13 14:38:34 2009 +0200
35551 Fix gio.BufferedInputStream docs
35553 Added the constructor reference and fixed a typo in properties header
35555 docs/reference/pygio-bufferedinputstream.xml | 34
35556 ++++++++++++++++++++++++++--
35557 1 file changed, 32 insertions(+), 2 deletions(-)
35559 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
35560 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35561 Date: Sat Jun 13 01:25:06 2009 +0200
35563 Add docs for gio.BufferedInputStream
35565 docs/Makefile.am | 2 +
35566 docs/reference/pygio-bufferedinputstream.xml | 431
35567 +++++++++++++++++++++++++++
35568 docs/reference/pygio-classes.xml | 1 +
35569 3 files changed, 434 insertions(+)
35571 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
35572 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35573 Date: Sun May 31 18:25:47 2009 +0300
35575 Cleanup GIO overrides to use Python function/method names
35577 Also move several gio.Mount overrides over from 'gio.override' to
35578 existing 'gmount.override'. Part of bug #584289.
35580 gio/gfile.override | 20 ++---
35581 gio/gfileenumerator.override | 6 +-
35582 gio/ginputstream.override | 2 +-
35583 gio/gio.override | 204
35584 -------------------------------------------
35585 gio/gmount.override | 204
35586 +++++++++++++++++++++++++++++++++++++++++++
35587 5 files changed, 218 insertions(+), 218 deletions(-)
35589 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
35590 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35591 Date: Sun May 31 18:56:55 2009 +0300
35593 Make codegen report errors using Python function/method names
35595 Part of bug #584289.
35597 codegen/codegen.py | 9 +++++----
35598 codegen/definitions.py | 10 +++++++++-
35599 2 files changed, 14 insertions(+), 5 deletions(-)
35601 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
35602 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35603 Date: Fri Jun 12 00:12:17 2009 +0200
35605 Fix object type in gio.BufferedInputStream_fill_async
35607 gio/gbufferedinputstream.override | 2 +-
35608 1 file changed, 1 insertion(+), 1 deletion(-)
35610 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
35611 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35612 Date: Tue Jun 9 00:08:21 2009 +0200
35614 Wrap gio.BufferedInputStream.fill_async
35616 Wrap the method gio.BufferedInputStream.fill_async and add a test
35618 gio/Makefile.am | 1 +
35619 gio/gbufferedinputstream.override | 70
35620 +++++++++++++++++++++++++++++++++++++++
35621 gio/gio.override | 1 +
35622 tests/test_gio.py | 25 ++++++++++++++
35623 4 files changed, 97 insertions(+)
35625 commit b7c96b41b287685fe57504e0add3a6f16e649975
35626 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35627 Date: Mon Jun 8 15:42:40 2009 +0200
35629 Add gio.BufferedOutputStream which was forgotten in the types
35632 gio/gio-types.defs | 7 +++++++
35633 1 file changed, 7 insertions(+)
35635 commit 3666f75af4ef2c8e038116aee5afada59d59f689
35636 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35637 Date: Mon Jun 8 14:20:02 2009 +0200
35639 Add docs for gio.MemoryOutputStream
35641 docs/Makefile.am | 2 +
35642 docs/reference/pygio-classes.xml | 1 +
35643 docs/reference/pygio-memoryoutputstream.xml | 175
35644 ++++++++++++++++++++++++++++
35645 3 files changed, 178 insertions(+)
35647 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
35648 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35649 Date: Mon Jun 8 13:30:15 2009 +0200
35651 Split overrides for gio.MemoryOutputStream
35653 gio/Makefile.am | 1 +
35654 gio/gio.override | 1 +
35655 gio/gmemoryoutputstream.override | 45
35656 ++++++++++++++++++++++++++++++++++++++++
35657 gio/goutputstream.override | 24 ---------------------
35658 4 files changed, 47 insertions(+), 24 deletions(-)
35660 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
35661 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35662 Date: Mon Jun 8 11:45:11 2009 +0200
35664 Wrap gio.memory_input_stream_new_from_data
35666 Add the wrapper for gio.memory_input_stream_new_from_data including
35669 docs/Makefile.am | 4 +-
35670 docs/reference/pygio-classes.xml | 1 +
35671 docs/reference/pygio-memoryinputstream.xml | 151
35672 +++++++++++++++++++++++++++++
35673 gio/Makefile.am | 1 +
35674 gio/ginputstream.override | 34 -------
35675 gio/gio.override | 1 +
35676 gio/gmemoryinputstream.override | 91 +++++++++++++++++
35677 tests/test_gio.py | 4 +
35678 8 files changed, 252 insertions(+), 35 deletions(-)
35680 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
35681 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
35682 Date: Mon Jun 8 19:15:24 2009 +0200
35684 Fixes whitespaces style issues with girepository.
35686 girepository/Makefile.am | 2 +-
35687 girepository/bank-repository.c | 67
35688 +++++++++++++++++++++---------------------
35689 girepository/bank.h | 2 +-
35690 girepository/btypes.py | 6 ++--
35691 girepository/module.py | 2 +-
35692 5 files changed, 39 insertions(+), 40 deletions(-)
35694 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
35695 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
35696 Date: Fri Jun 5 19:03:59 2009 +0200
35698 Removes the header but the modeline in test_girepository.py.
35700 tests/test_girepository.py | 26 +-------------------------
35701 1 file changed, 1 insertion(+), 25 deletions(-)
35703 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
35704 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
35705 Date: Wed Jun 3 10:47:58 2009 +0200
35707 Adds overrides modules from PyBank.
35709 girepository/Makefile.am | 3 +++
35710 girepository/importer.py | 3 +--
35711 girepository/overrides/Gdk.py | 14 ++++++++++++++
35712 girepository/overrides/Gtk.py | 8 ++++++++
35713 girepository/overrides/__init__.py | 0
35714 5 files changed, 26 insertions(+), 2 deletions(-)
35716 commit c12964e6a3354d8063355225c94e6d21d621e08b
35717 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
35718 Date: Tue Jun 2 23:40:41 2009 +0200
35720 Disables the tests that fail in tests/test_girepository.py.
35722 tests/test_girepository.py | 242
35723 ++++++++++++++++++++++++++++++++++-----------
35724 1 file changed, 182 insertions(+), 60 deletions(-)
35726 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
35727 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
35728 Date: Tue Jun 2 23:03:26 2009 +0200
35730 Imports test_girepository.py from former PyBank's
35731 everything_unittest.py.
35733 tests/test_girepository.py | 288
35734 +++++++++++++++++++++++++++++++++++++++++++++
35735 1 file changed, 288 insertions(+)
35737 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
35738 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
35739 Date: Thu May 28 17:45:11 2009 +0200
35741 Introduces the girepository module from the former PyBank.
35745 configure.ac | 12 +
35746 girepository/Makefile.am | 52 ++
35747 girepository/__init__.py | 24 +
35748 girepository/bank-argument.c | 379 +++++++++++++
35749 girepository/bank-info.c | 1194
35750 ++++++++++++++++++++++++++++++++++++++++
35751 girepository/bank-repository.c | 237 ++++++++
35752 girepository/bank.c | 155 ++++++
35753 girepository/bank.h | 80 +++
35754 girepository/btypes.py | 300 ++++++++++
35755 girepository/importer.py | 52 ++
35756 girepository/module.py | 224 ++++++++
35757 girepository/repository.py | 51 ++
35758 14 files changed, 2799 insertions(+), 32 deletions(-)
35760 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
35761 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35762 Date: Tue Jun 2 18:28:22 2009 +0200
35764 Fix the docs for gio.FilterOutputStream
35766 docs/reference/pygio-filteroutputstream.xml | 6 +++---
35767 1 file changed, 3 insertions(+), 3 deletions(-)
35769 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
35770 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35771 Date: Tue Jun 2 18:27:00 2009 +0200
35773 Add gio.FilterOutputStream docs
35775 docs/Makefile.am | 2 +
35776 docs/reference/pygio-classes.xml | 1 +
35777 docs/reference/pygio-filteroutputstream.xml | 152
35778 ++++++++++++++++++++++++++++
35779 3 files changed, 155 insertions(+)
35781 commit e2c31f916967229b6547e68013628ce0082cf875
35782 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35783 Date: Tue Jun 2 13:29:59 2009 +0200
35785 Add gio.FilterInputStream docs
35787 docs/Makefile.am | 2 +
35788 docs/reference/pygio-classes.xml | 1 +
35789 docs/reference/pygio-filterinputstream.xml | 152
35790 +++++++++++++++++++++++++++++
35791 3 files changed, 155 insertions(+)
35793 commit 49a467eee445bc75554db0374006722ac075194b
35794 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35795 Date: Tue Jun 2 11:33:20 2009 +0200
35797 Add API appeared in 2.20 but not marked as such in gio docs
35799 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
35800 1 file changed, 30 insertions(+)
35802 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
35803 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35804 Date: Tue Jun 2 10:41:26 2009 +0200
35806 Wrap gio.FileOutputStream.query_info_async
35808 Add the wrapper for gio.FileOutputStream.query_info_async
35809 including docs and a test.
35811 docs/Makefile.am | 2 +
35812 docs/reference/pygio-classes.xml | 1 +
35813 docs/reference/pygio-fileoutputstream.xml | 257
35814 ++++++++++++++++++++++++++++++
35815 gio/Makefile.am | 3 +-
35816 gio/gfileoutputstream.override | 68 ++++++++
35817 gio/gio.override | 1 +
35818 tests/test_gio.py | 27 ++++
35819 7 files changed, 358 insertions(+), 1 deletion(-)
35821 commit 4673577d1f6c3d54423808dd575987092fb05ad2
35822 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35823 Date: Tue Jun 2 10:17:41 2009 +0200
35825 Fix gio.FileInputStream docs
35827 Add implemented interface section and remove a method description
35829 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
35830 1 file changed, 9 insertions(+), 16 deletions(-)
35832 commit 1e1cad02879d514745b5233658654cbe944530a5
35833 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35834 Date: Mon Jun 1 22:54:26 2009 +0200
35836 Fix the method name
35838 gio/gfileinputstream.override | 14 +++++++-------
35839 1 file changed, 7 insertions(+), 7 deletions(-)
35841 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
35842 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35843 Date: Mon Jun 1 22:40:56 2009 +0200
35845 Wrap gio.FileInputStream.query_async
35847 Add the wrapper for gio.FileInputStream.query_async including docs and
35850 docs/Makefile.am | 2 +
35851 docs/reference/pygio-classes.xml | 1 +
35852 docs/reference/pygio-fileinputstream.xml | 221
35853 +++++++++++++++++++++++++++++++
35854 gio/Makefile.am | 1 +
35855 gio/gfileinputstream.override | 68 ++++++++++
35856 gio/gio.override | 1 +
35857 tests/test_gio.py | 27 ++++
35858 7 files changed, 321 insertions(+)
35860 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
35861 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35862 Date: Sun May 31 17:43:16 2009 +0300
35864 Install executable codegen parts with executing permissions
35866 Also add shebang where it was missing. Bug #583979.
35868 codegen/Makefile.am | 23 ++++++++++++-----------
35869 codegen/code-coverage.py | 2 ++
35870 codegen/codegen.py | 2 ++
35871 codegen/createdefs.py | 0
35872 codegen/defsconvert.py | 2 ++
35873 codegen/defsgen.py | 0
35874 codegen/docgen.py | 0
35875 codegen/scmexpr.py | 0
35876 8 files changed, 18 insertions(+), 11 deletions(-)
35878 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
35879 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35880 Date: Sat May 30 16:57:49 2009 +0300
35882 Wrap gio.DataInputStream.read_line_async and read_until_async
35884 Wrap the functions and their corresponding *_finish() functions.
35885 Create 'gdatainputstream.override' for these and move two existing
35886 functions there. Add unit tests. Re-enable synchronous read_line
35887 unit test and adjust it for new official GIO behavior. Bug #584285.
35889 gio/Makefile.am | 1 +
35890 gio/gdatainputstream.override | 250
35891 ++++++++++++++++++++++++++++++++++++++++++
35892 gio/ginputstream.override | 65 -----------
35893 gio/gio.defs | 4 +-
35894 gio/gio.override | 1 +
35895 tests/test_gio.py | 51 ++++++++-
35896 6 files changed, 300 insertions(+), 72 deletions(-)
35898 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
35899 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35900 Date: Sat May 30 17:24:15 2009 +0300
35902 Fix gio.OutputStream.splice_async
35906 gio/goutputstream.override | 8 ++++----
35907 1 file changed, 4 insertions(+), 4 deletions(-)
35909 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
35910 Author: Paul Pogonyshev <pogonyshev@gmx.net>
35911 Date: Wed May 27 21:19:27 2009 +0300
35913 Code maintenance: ignore one more file created by unit tests
35915 tests/.gitignore | 1 +
35916 1 file changed, 1 insertion(+)
35918 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
35919 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35920 Date: Mon May 25 20:20:38 2009 +0200
35922 Update the docs with new 2.20 API
35924 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
35925 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
35926 docs/reference/pygio-mount.xml | 156
35927 +++++++++++++++++++++++++++++++++++++++
35928 3 files changed, 367 insertions(+), 3 deletions(-)
35930 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
35931 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35932 Date: Mon May 25 01:33:08 2009 +0200
35936 add the new API added in gio 2.20, some needs to be wrapped manually
35939 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35940 gio/unix.defs | 48 +++++++++++++++++++++-----
35941 2 files changed, 146 insertions(+), 8 deletions(-)
35943 commit 0d08df42514fba6abc896814abfee0d2d083c29e
35944 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35945 Date: Mon May 25 00:14:21 2009 +0200
35947 Post release version bump 2.19.0
35949 configure.ac | 2 +-
35950 1 file changed, 1 insertion(+), 1 deletion(-)
35952 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
35953 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35954 Date: Sun May 24 23:56:29 2009 +0200
35956 Update NEWS, release 2.18.0
35958 NEWS | 14 ++++++++++++++
35959 configure.ac | 4 ++--
35960 2 files changed, 16 insertions(+), 2 deletions(-)
35962 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
35963 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35964 Date: Sun May 24 22:18:40 2009 +0200
35966 Add documentation for the gio.OutputStream class
35968 The docs for this class are not completed, missing methods
35970 The index is complete though, it will be completed once all the
35972 are in place so we can ship a (almost) complete reference.
35974 docs/Makefile.am | 2 +
35975 docs/reference/pygio-classes.xml | 3 +-
35976 docs/reference/pygio-outputstream.xml | 140
35977 ++++++++++++++++++++++++++++++++++
35978 3 files changed, 144 insertions(+), 1 deletion(-)
35980 commit 11524cdf6472d9115a812ce431f6767aec5627bc
35981 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
35982 Date: Sun May 24 22:12:04 2009 +0200
35984 Wrap gio.OutputStream.splice_async()
35986 wrap gio.OutputStream.splice_async() and add a test.
35988 gio/goutputstream.override | 58
35989 +++++++++++++++++++++++++++++++++++++++++++++-
35990 tests/test_gio.py | 20 ++++++++++++++++
35991 2 files changed, 77 insertions(+), 1 deletion(-)
35993 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
35994 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
35995 Date: Sun May 24 22:55:16 2009 +0300
35997 Add Python version into installed libpyglib name
35999 Do this now, while no-one (as far as we know) links to the library
36000 besides PyGObject itself. Bug #550235.
36002 configure.ac | 2 ++
36003 gio/Makefile.am | 2 +-
36004 glib/Makefile.am | 10 +++++-----
36005 gobject/Makefile.am | 2 +-
36006 4 files changed, 9 insertions(+), 7 deletions(-)
36008 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
36009 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36010 Date: Sun May 24 11:44:24 2009 +0200
36012 Wrap gio.OutputStream.flush_async()
36014 wrap gio.OutputStream.flush_async() and add a test.
36016 gio/goutputstream.override | 47
36017 +++++++++++++++++++++++++++++++++++++++++++++-
36018 tests/test_gio.py | 11 +++++++++++
36019 2 files changed, 57 insertions(+), 1 deletion(-)
36021 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
36022 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36023 Date: Sun May 17 17:29:37 2009 +0200
36025 Add documentation for the gio.FileMonitor class
36027 The docs for this class are not completed, missing methods
36029 The index is complete though, it will be completed once all the
36031 are in place so we can ship a (almost) complete reference.
36033 docs/Makefile.am | 2 +
36034 docs/reference/pygio-classes.xml | 1 +
36035 docs/reference/pygio-filemonitor.xml | 128
36036 +++++++++++++++++++++++++++++++++++
36037 3 files changed, 131 insertions(+)
36039 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
36040 Author: Josselin Mouette <joss@malsain.org>
36041 Date: Sun May 17 18:03:44 2009 +0300
36043 Use 'Requires.private' for libffi in '.pc' files
36045 Correction for patch in bug #550231.
36047 pygobject-2.0-uninstalled.pc.in | 3 ++-
36048 pygobject-2.0.pc.in | 3 ++-
36049 2 files changed, 4 insertions(+), 2 deletions(-)
36051 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
36052 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36053 Date: Wed May 13 21:54:39 2009 +0200
36055 Add wrapper for gio.FileAttributeMatcher
36057 added a boxed type for gio.FileAttributeMatcher which has been
36059 wrapping the gio API. This should probably be done in gio itself.
36061 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
36062 gio/gio-types.defs | 7 +++++++
36063 gio/gio.override | 2 ++
36064 3 files changed, 31 insertions(+), 2 deletions(-)
36066 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
36067 Author: Paul Pogonyshev <pogonyshev@gmx.net>
36068 Date: Wed May 13 22:06:25 2009 +0300
36070 Mark relevant glib.IOChannel methods as METH_NOARGS
36072 Additionally fix glib.IOChannel.set_close_on_unref: was marked
36073 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
36075 glib/pygiochannel.c | 83
36076 +++++++++++++----------------------------------------
36077 1 file changed, 20 insertions(+), 63 deletions(-)
36079 commit 002915e5f458fec5a89766a54e8119a70a80caa7
36080 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36081 Date: Tue May 12 20:37:24 2009 +0200
36083 Add documentation for the gio.FileInfo class
36085 The docs for this class are not completed, missing methods
36087 The index is complete though, it will be completed once all the
36089 are in place so we can ship a (almost) complete reference.
36091 docs/Makefile.am | 2 +
36092 docs/reference/pygio-classes.xml | 1 +
36093 docs/reference/pygio-fileinfo.xml | 346
36094 ++++++++++++++++++++++++++++++++++++++
36095 3 files changed, 349 insertions(+)
36097 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
36098 Author: Paul Pogonyshev <pogonyshev@gmx.net>
36099 Date: Sat May 9 16:46:04 2009 +0300
36101 Retire hand-written ChangeLog; autocreate from Git history
36103 Basically copied over from GLib source tree.
36105 ChangeLog => ChangeLog.pre-2.18 | 2 ++
36106 Makefile.am | 32 ++++++++++++++++++++++++++++++++
36107 2 files changed, 34 insertions(+)
36109 commit 23556bdbcf9cf06db866901fb822dd78a9043648
36110 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36111 Date: Sat May 9 00:03:05 2009 +0200
36113 Fix a bug in InputStream.skip_async
36115 use the count argument instead of buffer_size which is always zero
36117 gio/ginputstream.override | 3 ++-
36118 1 file changed, 2 insertions(+), 1 deletion(-)
36120 commit ed6b06315c17441b41c001d38537c904b8fe18de
36121 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36122 Date: Sat May 9 00:02:33 2009 +0200
36124 Add docs for the gio.InputStream class
36126 docs/Makefile.am | 2 +
36127 docs/reference/pygio-classes.xml | 1 +
36128 docs/reference/pygio-inputstream.xml | 730
36129 +++++++++++++++++++++++++++++++++++
36130 3 files changed, 733 insertions(+)
36132 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
36133 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36134 Date: Mon May 4 23:40:28 2009 +0200
36136 Wrap gio.InputStream.skip_async()
36138 wrap gio.InputStream.skip_async() and add a test.
36140 gio/ginputstream.override | 50
36141 ++++++++++++++++++++++++++++++++++++++++++++++-
36142 tests/test_gio.py | 20 +++++++++++++++++++
36143 2 files changed, 69 insertions(+), 1 deletion(-)
36145 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
36146 Author: Siavash Safi <siavash@siavashs.org>
36147 Date: Mon May 4 15:46:49 2009 +0430
36149 Add -n --namespace option and the code to remove
36150 dll API in headers, Added documentation
36152 Patch from bug #579275
36155 codegen/h2def.py | 133
36156 +++++++++++++++++++++++++++++++++++++++++++++----------
36157 2 files changed, 117 insertions(+), 24 deletions(-)
36159 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
36160 Author: Paul Pogonyshev <pogonyshev@gmx.net>
36161 Date: Sat May 2 23:54:52 2009 +0300
36163 Properly mark glib.get_user_special_dir() as a keywords method
36167 glib/glibmodule.c | 2 +-
36168 1 file changed, 1 insertion(+), 1 deletion(-)
36170 commit f466dca880cc6ea68b9fe236943eea7a07d33520
36171 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36172 Date: Sun May 3 11:03:25 2009 +0200
36174 Add docs for the gio.LoadableIcon class
36176 docs/Makefile.am | 2 +
36177 docs/reference/pygio-classes.xml | 1 +
36178 docs/reference/pygio-loadableicon.xml | 198
36179 ++++++++++++++++++++++++++++++++++
36180 3 files changed, 201 insertions(+)
36182 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
36183 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36184 Date: Sun May 3 01:21:55 2009 +0200
36186 Add docs for the gio.ThemedIcon class
36188 docs/Makefile.am | 2 +
36189 docs/reference/pygio-classes.xml | 1 +
36190 docs/reference/pygio-themedicon.xml | 204
36191 ++++++++++++++++++++++++++++++++++++
36192 3 files changed, 207 insertions(+)
36194 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
36195 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36196 Date: Sat May 2 12:25:19 2009 +0200
36198 post release version bump to 2.17.1
36200 configure.ac | 2 +-
36201 1 file changed, 1 insertion(+), 1 deletion(-)
36203 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
36204 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36205 Date: Fri May 1 23:40:31 2009 +0200
36207 Fix the class title
36209 docs/reference/pygio-mountoperation.xml | 2 +-
36210 1 file changed, 1 insertion(+), 1 deletion(-)
36212 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
36213 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36214 Date: Fri May 1 22:24:33 2009 +0200
36216 Add docs for the gio.MountOperation class
36218 docs/Makefile.am | 2 +
36219 docs/reference/pygio-classes.xml | 1 +
36220 docs/reference/pygio-constants.xml | 107 +++++
36221 docs/reference/pygio-mountoperation.xml | 726
36222 ++++++++++++++++++++++++++++++++
36223 4 files changed, 836 insertions(+)
36225 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
36226 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36227 Date: Thu Apr 30 22:13:06 2009 +0200
36229 Update NEWS, release 2.17.0
36232 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36233 1 file changed, 93 insertions(+)
36235 commit 47389217d1a65a8e3f404d486c508cf5d3164756
36236 Author: Paul Pogonyshev <pogonyshev@gmx.net>
36237 Date: Thu Apr 30 22:47:19 2009 +0300
36239 Fix memory leak in gio.File.query_info_async()
36241 After the recent patch it would leak exception data if old argument
36242 order was used. Properly decref the objects.
36244 gio/gfile.override | 4 ++++
36245 1 file changed, 4 insertions(+)