1 commit ecb2e6c64cbc420ed8f0d8dc8d1c3f6c516d6f63
2 Author: Christoph Reiter <creiter@src.gnome.org>
3 Date: Thu Apr 23 22:03:54 2015 +0200
5 overrides: Provide _overrides_module attribute to make gst-python
8 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
10 the Gst.Fraction class through
11 gi.repository.Gst._overrides_module.Fraction
12 and failed since _overrides_module was removed in revision
15 This adds it back pointing to the proxy itself which also contains
18 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
20 gi/overrides/__init__.py | 7 +++++++
21 1 file changed, 7 insertions(+)
23 commit eddc46202fc813f03137fcaba80090d19cc8f200
24 Author: Simon Feltman <sfeltman@src.gnome.org>
25 Date: Mon Apr 13 19:48:24 2015 -0700
27 configure.ac: post release version bump to 3.16.2
30 1 file changed, 1 insertion(+), 1 deletion(-)
32 commit 763510d091bcb9833a3de7f9646d9a06282135da
33 Author: Simon Feltman <sfeltman@src.gnome.org>
34 Date: Mon Apr 13 19:46:48 2015 -0700
39 1 file changed, 4 insertions(+)
41 commit 7291cb1f841c384f1a18cc744c8d9c6be20c48e2
42 Author: Simon Feltman <sfeltman@src.gnome.org>
43 Date: Mon Apr 13 19:33:40 2015 -0700
45 overrides: Conditionalize touch override support in Gdk
47 Conditionalize Gdk.EventTouch union discrimination. This fixes the
48 Gdk overrides to continue working with versions of Gdk less than 3.4.
50 https://bugzilla.gnome.org/show_bug.cgi?id=747717
52 gi/overrides/Gdk.py | 18 +++++++++++++-----
53 1 file changed, 13 insertions(+), 5 deletions(-)
55 commit c5952495351b551b5295afc36643e3d10004225e
56 Author: Simon Feltman <sfeltman@src.gnome.org>
57 Date: Sun Mar 29 16:29:35 2015 -0700
59 configure.ac: post release version bump to 3.16.1
62 1 file changed, 1 insertion(+), 1 deletion(-)
64 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
65 Author: Simon Feltman <sfeltman@src.gnome.org>
66 Date: Tue Mar 24 01:25:25 2015 -0700
72 2 files changed, 4 insertions(+), 2 deletions(-)
74 commit bf802599f5d0d13cc4b69f1716400561a16a2443
75 Author: Simon Feltman <sfeltman@src.gnome.org>
76 Date: Thu Mar 5 01:09:12 2015 -0800
78 configure.ac: post release version bump to 3.15.92
81 1 file changed, 1 insertion(+), 1 deletion(-)
83 commit a86f309066f007f9787a6d1ac679dc041740d8dc
84 Author: Simon Feltman <sfeltman@src.gnome.org>
85 Date: Thu Mar 5 01:08:03 2015 -0800
89 NEWS | 14 ++++++++++++++
91 2 files changed, 15 insertions(+), 1 deletion(-)
93 commit 9948a67e677c8a351f2de17080d7a671882570f3
94 Author: Christoph Reiter <reiter.christoph@gmail.com>
95 Date: Tue Jan 27 17:47:49 2015 +0100
97 tests: Don't use deprecated override attributes
99 In case the test explicitly tests the deprecated attribute
100 silence the resulting warnings.
102 Instead of replacing GObject.PARAM_READWRITE with
103 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
104 to not depend on a newer glib version.
106 https://bugzilla.gnome.org/show_bug.cgi?id=743514
108 tests/test_everything.py | 168
109 ++++++++++++++++++++++----------------------
110 tests/test_gi.py | 66 ++++++++---------
111 tests/test_glib.py | 33 +++++----
112 tests/test_gobject.py | 21 +++---
113 tests/test_internal_api.py | 4 +-
114 tests/test_iochannel.py | 11 +--
115 tests/test_overrides_gtk.py | 20 +++---
116 tests/test_properties.py | 100 ++++++++++++++------------
117 tests/test_signal.py | 111 ++++++++++++++---------------
118 tests/test_source.py | 8 +--
119 tests/test_subprocess.py | 7 +-
120 tests/testmodule.py | 3 +-
121 12 files changed, 292 insertions(+), 260 deletions(-)
123 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
124 Author: Christoph Reiter <reiter.christoph@gmail.com>
125 Date: Tue Jan 27 16:36:02 2015 +0100
127 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
129 They are defined in glib, not gobject and not included in the gir;
130 Similar constants like G_MAXINT64 are defined in GLib gir and marked
131 deprecated in the GObject overrides already.
133 https://bugzilla.gnome.org/show_bug.cgi?id=743514
135 gi/overrides/GLib.py | 12 ++++++++++++
136 gi/overrides/GObject.py | 4 +++-
137 tests/test_overrides_glib.py | 7 +++++++
138 3 files changed, 22 insertions(+), 1 deletion(-)
140 commit f74acb38f1410982f3419acb134adf173600e497
141 Author: Christoph Reiter <reiter.christoph@gmail.com>
142 Date: Tue Jan 27 16:06:03 2015 +0100
144 Emit PyGIDeprecationWarning when accessing deprecated override
147 Adds a new helper function for overrides to mark a module level
149 as deprecated. A warning will be emitted every time the attribute gets
152 e.g. when marking GObject.STATUS_FOO as deprecated using
154 STATUS_FOO = GLib.Status.FOO
155 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
156 __all__.append("STATUS_FOO")
158 accessing it will emit
160 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
162 https://bugzilla.gnome.org/show_bug.cgi?id=743514
164 gi/overrides/GLib.py | 44 ++++++++++++++++-------
165 gi/overrides/GObject.py | 90
166 +++++++++++++++++++++++++-----------------------
167 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
168 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
169 4 files changed, 221 insertions(+), 57 deletions(-)
171 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
172 Author: Christoph Reiter <reiter.christoph@gmail.com>
173 Date: Tue Jan 27 19:13:54 2015 +0100
175 Add namespace and container name to callable cache and include them
176 in all warnings/error messages.
178 https://bugzilla.gnome.org/show_bug.cgi?id=743468
180 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
181 gi/pygi-cache.h | 5 +++++
182 gi/pygi-closure.c | 4 +++-
183 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
184 tests/test_everything.py | 2 +-
185 tests/test_gi.py | 28 ++++++++++++++++++----------
186 6 files changed, 90 insertions(+), 29 deletions(-)
188 commit 747fc3754c296ad5481d354bbf35521f886c5c61
189 Author: Garrett Regier <garrettregier@gmail.com>
190 Date: Sun Mar 1 03:30:46 2015 -0800
192 tests: Add test for GIRepository.UnionInfo.get_size()
194 https://bugzilla.gnome.org/show_bug.cgi?id=745362
196 tests/test_repository.py | 1 +
197 1 file changed, 1 insertion(+)
199 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
200 Author: Garrett Regier <garrettregier@gmail.com>
201 Date: Fri Jan 23 01:37:35 2015 -0800
203 Avoid duping filenames when marshalling from Python to C
205 https://bugzilla.gnome.org/show_bug.cgi?id=744719
207 gi/pygi-basictype.c | 12 ++++++------
208 1 file changed, 6 insertions(+), 6 deletions(-)
210 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
211 Author: Simon Feltman <sfeltman@src.gnome.org>
212 Date: Fri Feb 20 22:06:24 2015 -0800
214 configure.ac: post release version bump to 3.15.1
217 1 file changed, 1 insertion(+), 1 deletion(-)
219 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
220 Author: Simon Feltman <sfeltman@src.gnome.org>
221 Date: Fri Feb 20 22:04:43 2015 -0800
226 1 file changed, 10 insertions(+)
228 commit 5dc113283c0a721c4027026bb8de7243585f1289
229 Author: Simon Feltman <sfeltman@src.gnome.org>
230 Date: Fri Feb 20 21:59:10 2015 -0800
232 Ignore deprecation warning for g_option_group_free()
234 gi/pygoptiongroup.c | 5 ++++-
235 1 file changed, 4 insertions(+), 1 deletion(-)
237 commit d8961622ea748c42171bdb4703e70022035ec3cc
238 Author: Simon Feltman <sfeltman@src.gnome.org>
239 Date: Fri Feb 20 21:52:58 2015 -0800
241 tests: Make get_all_dependendencies() test more robust
243 Replace array comparison with checking if individual items are in
245 This solves a problem where the returned array might be in a
247 as well as future proofs the test in case more dependencies are added.
249 tests/test_import_machinery.py | 8 +++++---
250 1 file changed, 5 insertions(+), 3 deletions(-)
252 commit b10ab49afb97655507e2d3b92f621387287a2928
253 Author: Simon Feltman <sfeltman@src.gnome.org>
254 Date: Fri Feb 20 20:16:35 2015 -0800
256 tests: Fix PEP8 error with commented code in test
258 tests/test_gi.py | 1 -
259 1 file changed, 1 deletion(-)
261 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
262 Author: Garrett Regier <garrett.regier@riftio.com>
263 Date: Tue Jan 27 10:39:53 2015 -0800
265 Avoid copying bytearrays from Python to C when transfer nothing
267 https://bugzilla.gnome.org/show_bug.cgi?id=743278
269 gi/pygi-array.c | 23 +++++++++++++++++++----
270 tests/test_gi.py | 14 +++++++++++++-
271 2 files changed, 32 insertions(+), 5 deletions(-)
273 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
274 Author: Garrett Regier <garrett.regier@riftio.com>
275 Date: Mon Jan 19 14:53:53 2015 -0800
277 Allows passing arguments to opaque Boxed types
279 https://bugzilla.gnome.org/show_bug.cgi?id=743214
281 gi/pygi-info.c | 7 +++++++
282 gi/types.py | 10 +++++++++-
283 tests/test_everything.py | 9 +++++++++
284 tests/test_glib.py | 6 +++---
285 4 files changed, 28 insertions(+), 4 deletions(-)
287 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
288 Author: Christoph Reiter <reiter.christoph@gmail.com>
289 Date: Sat Jan 24 20:01:00 2015 +0100
291 Emit ImportWarning when gi.require_version() is not used
293 gi tries to import the latest version of typelibs which can cause
294 existing code to break when a newer typelib is released.
295 Emit an ImportWarning when gi.require_version() is not used to give
296 developers this awareness so they can future proof their code.
298 https://bugzilla.gnome.org/show_bug.cgi?id=727379
301 +++++++++++++++++++++++++++++++++++++++++-
302 gi/pygi-repository.c | 35 +++++++++++++++
303 tests/compat_test_pygtk.py | 7 ++-
304 tests/test_atoms.py | 6 ++-
305 tests/test_import_machinery.py | 22 ++++++++++
306 tests/test_overrides_gtk.py | 7 ++-
307 tests/test_overrides_pango.py | 5 ++-
308 tests/test_properties.py | 5 ++-
309 tests/test_repository.py | 10 +++++
310 9 files changed, 187 insertions(+), 9 deletions(-)
312 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
313 Author: Christoph Reiter <reiter.christoph@gmail.com>
314 Date: Tue Dec 2 15:38:57 2014 +0100
316 Refactor overrides import/modules
318 Removes Registry and DynamicModule in favor of a simple module
320 contains only overrides and falls back to the introspection module.
321 Moves all the overrides logic into gi.overrides; Speeds up module
324 https://bugzilla.gnome.org/show_bug.cgi?id=736678
326 gi/importer.py | 11 ++--
327 gi/module.py | 68 ---------------------
328 gi/overrides/__init__.py | 131
329 ++++++++++++++++++++++++++++++-----------
330 tests/test_gi.py | 4 --
331 tests/test_import_machinery.py | 32 +++++++---
332 5 files changed, 126 insertions(+), 120 deletions(-)
334 commit 4d0ab13a8461f781986accc637fada3909cfb91a
335 Author: Simon Feltman <sfeltman@src.gnome.org>
336 Date: Thu Aug 21 15:11:39 2014 -0700
338 Replace statically bound GLib.Variant.new_tuple() with GI
340 Remove the static implementation of _wrap_pyg_variant_new_tuple with
341 usage of the dynamic version coming from GI. Array marshalling has
342 drastically improved in recent years making the dynamic version usable
343 with a small compatibility shim for the arguments.
345 https://bugzilla.gnome.org/show_bug.cgi?id=735199
347 gi/gimodule.c | 39 ---------------------------------------
348 gi/overrides/GLib.py | 12 +++++-------
349 2 files changed, 5 insertions(+), 46 deletions(-)
351 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
352 Author: Simon Feltman <sfeltman@src.gnome.org>
353 Date: Wed Sep 10 13:30:48 2014 -0700
355 overrides: Add Gdk.EventTouch union discrimination
357 Add EventTouch to get/setattr pass-through to support BEGIN,
359 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
360 get_axis(), get_coords(), and get_root_coords() are patched onto
363 https://bugzilla.gnome.org/show_bug.cgi?id=736380
365 gi/overrides/Gdk.py | 5 +++++
366 tests/test_overrides_gdk.py | 12 ++++++++++++
367 2 files changed, 17 insertions(+)
369 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
370 Author: Simon Feltman <sfeltman@src.gnome.org>
371 Date: Sat Jan 3 17:20:14 2015 -0800
373 tests: Update pixbuf loader test to not raise exception when closing
376 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
377 changed the close() method to raise if the a loader is prematurely
379 Update the test to write a 1x1 PNG stream to ensure close() will
382 tests/compat_test_pygtk.py | 9 +++++++++
383 1 file changed, 9 insertions(+)
385 commit fd3935541ab4baddb504e000ec659b80923afa13
386 Author: Murray Cumming <murrayc@murrayc.com>
387 Date: Tue Dec 2 19:55:51 2014 +0100
389 PyGObjectFlags: Remove a trailing comma on the enum.
391 Because this produces a g++ pedantic warning.
393 gi/pygobject.h | 2 +-
394 1 file changed, 1 insertion(+), 1 deletion(-)
396 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
397 Author: Simon Feltman <sfeltman@src.gnome.org>
398 Date: Mon Oct 27 20:19:23 2014 -0700
400 Remove redefinitions of function and vfunc cache typedefs
402 https://bugzilla.gnome.org/show_bug.cgi?id=737874
404 gi/pygi-cache.h | 8 ++++----
405 1 file changed, 4 insertions(+), 4 deletions(-)
407 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
408 Author: Simon Feltman <sfeltman@src.gnome.org>
409 Date: Mon Sep 22 13:26:24 2014 -0700
411 configure.ac: post release version bump to 3.15.0
414 1 file changed, 1 insertion(+), 1 deletion(-)
416 commit f20df385f480b65a8128986ce3df4022b324ade0
417 Author: Simon Feltman <sfeltman@src.gnome.org>
418 Date: Mon Sep 22 12:38:35 2014 -0700
423 1 file changed, 3 insertions(+)
425 commit 309d4100a08867d18420586c3b1f8709c360250f
426 Author: Simon Feltman <sfeltman@src.gnome.org>
427 Date: Mon Sep 22 12:24:32 2014 -0700
429 configure.ac: pre release version bump to 3.14.0
431 configure.ac | 4 ++--
432 1 file changed, 2 insertions(+), 2 deletions(-)
434 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
435 Author: Simon Feltman <sfeltman@src.gnome.org>
436 Date: Mon Sep 15 15:46:04 2014 -0700
441 1 file changed, 7 insertions(+)
443 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
444 Author: Simon Feltman <sfeltman@src.gnome.org>
445 Date: Fri Sep 12 17:10:04 2014 -0700
447 tests: Add test for Gio.Application.add_main_option()
449 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
450 1 file changed, 29 insertions(+)
452 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
453 Author: Simon Feltman <sfeltman@src.gnome.org>
454 Date: Thu Sep 11 19:32:53 2014 -0700
456 Split test_everything.TestEverything.test_string() into multiple tests
458 https://bugzilla.gnome.org/show_bug.cgi?id=735193
460 tests/test_everything.py | 25 +++++++++++++++++++------
461 1 file changed, 19 insertions(+), 6 deletions(-)
463 commit 6674701b6de02353738b9dc04ab88de23996704e
464 Author: Simon Feltman <sfeltman@src.gnome.org>
465 Date: Thu Sep 11 19:08:53 2014 -0700
467 tests: Split array tests up
469 Split test_everything.TestEverything.test_array(),
470 test_array_fixed_size(),
471 and test_ptrarray() into functions of a finer granularity. This
473 easier diagnosis of problems and leaks when they occur.
475 https://bugzilla.gnome.org/show_bug.cgi?id=735193
477 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
478 1 file changed, 32 insertions(+), 5 deletions(-)
480 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
481 Author: Simon Feltman <sfeltman@src.gnome.org>
482 Date: Thu Sep 11 16:17:13 2014 -0700
484 tests: Split test_strv() into multiple tests
486 https://bugzilla.gnome.org/show_bug.cgi?id=735193
488 tests/test_everything.py | 10 +++++++++-
489 1 file changed, 9 insertions(+), 1 deletion(-)
491 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
492 Author: Simon Feltman <sfeltman@src.gnome.org>
493 Date: Wed Sep 10 19:06:35 2014 -0700
495 Fix invalid read error in argument cleanup code
497 Always set initial length argument index for arrays to -1. Ensure
499 attempt retrieving Python cleanup arguments until we know it is valid.
500 This was causing an invalid read in test_gi.TestArray.test_array_out()
502 gi/pygi-array.c | 1 +
503 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
504 2 files changed, 9 insertions(+), 5 deletions(-)
506 commit 972e944ad4b2aac03c61633b8c277e35395c114c
507 Author: Simon Feltman <sfeltman@src.gnome.org>
508 Date: Wed Sep 10 18:55:45 2014 -0700
510 tests: Increase num-callers for valgrind runs
512 Additionally split valgrind check variations over multiple lines
515 tests/Makefile.am | 23 ++++++++++++++++++++---
516 1 file changed, 20 insertions(+), 3 deletions(-)
518 commit d70b300c7415dd7b20ff88b09fe835690da19831
519 Author: Simon Feltman <sfeltman@src.gnome.org>
520 Date: Sat Sep 6 23:58:25 2014 -0700
522 Fix memory management problems with struct arguments to signals
524 Replicate struct marshaling logic for determining if struct arguments
525 to signals should be passed by reference to callbacks.
526 Maintain a list of these structs and apply an in-place copy of
528 pointer if the struct wrapper is held longer than the duration of the
529 Python callback. This allows for both mutation of struct arguments
531 callbacks as well as memory safety incase a callbacks holds onto
534 https://bugzilla.gnome.org/show_bug.cgi?id=736175
536 gi/pygi-boxed.c | 20 ++++++++++++++++++++
537 gi/pygi-boxed.h | 2 ++
538 gi/pygi-signal-closure.c | 43
539 +++++++++++++++++++++++++++++++++++++------
540 tests/test_overrides_gtk.py | 1 -
541 tests/test_signal.py | 27 +++++++++++++++++++++++++++
542 5 files changed, 86 insertions(+), 7 deletions(-)
544 commit 09161ff690ad37c94668d5d65191f4d84829d41f
545 Author: Simon Feltman <sfeltman@src.gnome.org>
546 Date: Sun Sep 7 15:53:35 2014 -0700
548 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
550 Add struct type check before calling g_struct_info_is_foreign().
552 https://bugzilla.gnome.org/show_bug.cgi?id=736175
554 gi/pygi-argument.c | 11 ++++++++---
555 gi/pygi-struct-marshal.c | 7 +++++--
556 2 files changed, 13 insertions(+), 5 deletions(-)
558 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
559 Author: Simon Feltman <sfeltman@src.gnome.org>
560 Date: Sat Sep 6 15:16:06 2014 -0700
562 tests: Add failing regression test for Gtk.TextBuffer.insert-text
565 https://bugzilla.gnome.org/show_bug.cgi?id=736175
567 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
568 1 file changed, 19 insertions(+)
570 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
571 Author: Simon Feltman <sfeltman@src.gnome.org>
572 Date: Mon Sep 1 17:36:46 2014 -0700
574 configure.ac: post release version bump to 3.13.92
577 1 file changed, 1 insertion(+), 1 deletion(-)
579 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
580 Author: Simon Feltman <sfeltman@src.gnome.org>
581 Date: Mon Sep 1 17:31:39 2014 -0700
585 NEWS | 15 +++++++++++++++
586 1 file changed, 15 insertions(+)
588 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
589 Author: Simon Feltman <sfeltman@src.gnome.org>
590 Date: Mon Sep 1 16:48:15 2014 -0700
592 docs: Skip "Constructors" header for anonymous structs
594 Structs which don't have a size or constructor should not procuce
596 string. The trailing "::" was causing a problem with sphinx.
598 gi/docstring.py | 8 ++++++--
599 tests/test_docstring.py | 3 ++-
600 2 files changed, 8 insertions(+), 3 deletions(-)
602 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
603 Author: Simon Feltman <sfeltman@src.gnome.org>
604 Date: Mon Sep 1 15:21:04 2014 -0700
606 docs: Fix error when using may_return_null()
608 Fix error with an untested code path opened up by commit 1f78dc0ace.
610 gi/docstring.py | 3 ++-
611 tests/test_docstring.py | 4 ++++
612 2 files changed, 6 insertions(+), 1 deletion(-)
614 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
615 Author: Simon Feltman <sfeltman@src.gnome.org>
616 Date: Fri Aug 29 16:49:14 2014 -0700
618 docs: Fix function doc string generator return types
620 Change skip_return() access into a function call. This was causing
621 return type doc strings to always be skipped.
623 gi/docstring.py | 2 +-
624 tests/test_docstring.py | 8 ++++++--
625 2 files changed, 7 insertions(+), 3 deletions(-)
627 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
628 Author: Simon Feltman <sfeltman@src.gnome.org>
629 Date: Fri Aug 29 14:18:28 2014 -0700
631 Special case signal output arguments which are structs as
634 Add a special case which avoids copying of struct arguments marked
636 to signals. Since we don't currently support output arguments,
638 come to rely on a pass-by-reference bug which was fixed and caused
640 regress (bug 722899). Add unittest which is currently failing due
642 of issues with emit() not supporting type annotations or output
646 https://bugzilla.gnome.org/show_bug.cgi?id=735486
648 gi/pygi-signal-closure.c | 41
649 +++++++++++++++++++++++++++++++++++------
650 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
651 2 files changed, 59 insertions(+), 6 deletions(-)
653 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
654 Author: Simon Feltman <sfeltman@src.gnome.org>
655 Date: Wed Aug 27 23:55:06 2014 -0700
657 Ignore closure callbacks when Python is not initialized
659 Add an immediate return in ffi closures if Python is not initialized.
660 This fixes rare events when which lead to a segfault when a process
663 https://bugzilla.gnome.org/show_bug.cgi?id=722562
665 gi/pygi-closure.c | 7 +++++++
666 1 file changed, 7 insertions(+)
668 commit 27a14679dce33f64bbb5d77677eba83849f168ff
669 Author: Christoph Reiter <reiter.christoph@gmail.com>
670 Date: Fri Aug 22 21:51:31 2014 -0700
672 Change boxed init with args to warn instead of raise
674 Replace raising a TypeError in gi.types.Boxed() with a warning.
675 Even though passing arguments or keywords to the parent class is
676 incorrect here, raising an exception was causing a bit of fallout
677 in some apps (Gramps).
679 https://bugzilla.gnome.org/show_bug.cgi?id=727810
681 gi/pygi-boxed.c | 5 ++++-
682 tests/test_gi.py | 13 +++++++++++--
683 2 files changed, 15 insertions(+), 3 deletions(-)
685 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
686 Author: Simon Feltman <sfeltman@src.gnome.org>
687 Date: Fri Aug 22 02:16:10 2014 -0700
689 tests: Add test for GLib.spawn_async_with_pipes()
691 https://bugzilla.gnome.org/show_bug.cgi?id=735213
693 tests/test_signal.py | 2 +-
694 tests/test_subprocess.py | 17 +++++++++++++++++
695 2 files changed, 18 insertions(+), 1 deletion(-)
697 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
698 Author: Simon Feltman <sfeltman@src.gnome.org>
699 Date: Thu Aug 21 17:16:31 2014 -0700
701 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
703 This was accidentally pushed.
704 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
706 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
707 gi/overrides/GLib.py | 12 +++++++-----
708 2 files changed, 46 insertions(+), 5 deletions(-)
710 commit b7a4e68a224ab66f67e45667023f74dd743e6177
711 Author: Christoph Reiter <reiter.christoph@gmail.com>
712 Date: Fri Aug 22 01:04:40 2014 +0200
714 Fix crash in GList/GSList marshaling error handling path.
716 In case PySequence_GetItem() failed, the retured NULL was passed
719 https://bugzilla.gnome.org/show_bug.cgi?id=735201
721 gi/pygi-list.c | 4 ++--
722 tests/test_gi.py | 16 ++++++++++++++++
723 2 files changed, 18 insertions(+), 2 deletions(-)
725 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
726 Author: Simon Feltman <sfeltman@src.gnome.org>
727 Date: Thu Aug 21 15:11:39 2014 -0700
729 Replace statically bound GLib.Variant.new_tuple() with GI
731 Remove the static implementation of _wrap_pyg_variant_new_tuple with
732 usage of the dynamic version coming from GI. Array marshalling has
733 drastically improved in recent years making the dynamic version usable
734 with a small compatibility shim for the arguments.
736 https://bugzilla.gnome.org/show_bug.cgi?id=735199
738 gi/gimodule.c | 39 ---------------------------------------
739 gi/overrides/GLib.py | 12 +++++-------
740 2 files changed, 5 insertions(+), 46 deletions(-)
742 commit c1d387540a0b2db66e860c574b070051a5431914
743 Author: Simon Feltman <sfeltman@src.gnome.org>
744 Date: Thu Aug 21 14:37:14 2014 -0700
746 Fix reference counting problems with GLib.Variant.new_tuple()
748 Always sink the results of g_variant_new_tuple() in the statically
749 bound wrapper. This matches the generic GI marshalling behavior
750 of passing GVariants to Python with transfer-none.
752 https://bugzilla.gnome.org/show_bug.cgi?id=735166
755 tests/test_overrides_glib.py | 7 +++++++
756 2 files changed, 8 insertions(+)
758 commit 9ce261f27742ba200f70003f162291a375d244d3
759 Author: Simon Feltman <sfeltman@src.gnome.org>
760 Date: Tue Aug 19 14:57:31 2014 -0700
762 configure.ac: Fix darwin builds
764 Merge platform_win32 and os_win32 variables/case statements and
765 define "link_python_libs" for win32 as well as darwin.
767 https://bugzilla.gnome.org/show_bug.cgi?id=735068
769 configure.ac | 30 +++++++++++-------------------
770 1 file changed, 11 insertions(+), 19 deletions(-)
772 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
773 Author: Simon Feltman <sfeltman@src.gnome.org>
774 Date: Wed Aug 20 13:39:31 2014 -0700
776 Skip marshalling NULL output arguments in Python closures
778 Skip marshalling optional output arguments which are passed NULL
779 as the memory location. This fixes fallout from bug 727004.
781 https://bugzilla.gnome.org/show_bug.cgi?id=735090
783 gi/pygi-closure.c | 3 ++-
784 1 file changed, 2 insertions(+), 1 deletion(-)
786 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
787 Author: Simon Feltman <sfeltman@src.gnome.org>
788 Date: Mon Aug 18 19:10:36 2014 -0700
790 configure.ac: post release version bump to 3.13.91
793 1 file changed, 1 insertion(+), 1 deletion(-)
795 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
796 Author: Simon Feltman <sfeltman@src.gnome.org>
797 Date: Mon Aug 18 19:07:10 2014 -0700
801 NEWS | 15 +++++++++++++++
802 1 file changed, 15 insertions(+)
804 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
805 Author: Simon Feltman <sfeltman@src.gnome.org>
806 Date: Mon Aug 18 18:57:28 2014 -0700
808 configure.ac: pre release version bump to 3.13.90
811 1 file changed, 1 insertion(+), 1 deletion(-)
813 commit 3b5b590599ca98cc51871878618cd59fc05212d1
814 Author: Simon Feltman <sfeltman@src.gnome.org>
815 Date: Mon Aug 18 02:33:54 2014 -0700
817 gtk-demo: Don't use deprecated constructor for Gtk.Label
819 demos/gtk-demo/demos/pickers.py | 2 +-
820 1 file changed, 1 insertion(+), 1 deletion(-)
822 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
823 Author: Simon Feltman <sfeltman@src.gnome.org>
824 Date: Sat Aug 9 02:30:43 2014 -0700
826 Fast path Python Property getter when accessed through GObject
829 Break do_get_property() call into a re-usable function.
830 Call do_get_property() Python implementations instead of going
832 machinery for Python GObjects. This gives a performance boost
834 GObject properties when accessed via. obj.get_property() and
837 https://bugzilla.gnome.org/show_bug.cgi?id=723872
839 gi/gobjectmodule.c | 11 ++++-------
840 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
841 gi/pygi-property.h | 3 +++
842 3 files changed, 34 insertions(+), 15 deletions(-)
844 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
845 Author: Simon Feltman <sfeltman@src.gnome.org>
846 Date: Sat Aug 9 02:10:11 2014 -0700
848 Fast path Python Property getter when accessing descriptor directly
850 Call the Python implemented fget() when a property is accessed
852 on a Python implemented GObject. This skips going through the GObject
853 machinery which ends up calling fget() and marshalling the results
856 https://bugzilla.gnome.org/show_bug.cgi?id=723872
858 gi/_propertyhelper.py | 19 +++++++++++++++----
859 1 file changed, 15 insertions(+), 4 deletions(-)
861 commit 74722386192ad27aac8855d4603d8120af82c98e
862 Author: Simon Feltman <sfeltman@src.gnome.org>
863 Date: Mon Aug 18 02:05:58 2014 -0700
865 Don't use GI type for determining pointer extraction from GValues
867 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
868 pointers from GValues being marshalled from properties and signals.
869 This fixes fallout from commit abdfb0f.
871 gi/pygi-value.c | 10 ++++------
872 1 file changed, 4 insertions(+), 6 deletions(-)
874 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
875 Author: Simon Feltman <sfeltman@src.gnome.org>
876 Date: Fri Aug 8 23:58:17 2014 -0700
878 Fast path property access for basic types
880 Attempt marshalling with pygi_value_to_py_basic_type() prior to
882 GI info. This gives a quick conversion for basic types like bools,
884 strings without having to go through GIArgument and GI
886 gives approximately a 3x performance boost for accessing these
888 the unified GValue marshaller.
890 https://bugzilla.gnome.org/show_bug.cgi?id=726999
892 gi/pygi-property.c | 9 +++++++++
893 gi/pygi-value.c | 26 ++++++++++++++++++--------
894 2 files changed, 27 insertions(+), 8 deletions(-)
896 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
897 Author: Simon Feltman <sfeltman@src.gnome.org>
898 Date: Fri Aug 8 16:31:01 2014 -0700
900 Break pyg_value_as_pyobject into two functions
902 Add pygi_value_to_py_basic_type() which is limited to handling basic
903 types that don't need introspection information when marshalling
905 Add pygi_value_to_py_structured_type() for marshalling of structured
907 which can eventually accept GI type hints.
909 https://bugzilla.gnome.org/show_bug.cgi?id=726999
912 +++++++++++++++++++++++++++++++++++++++++++++++----------
913 gi/pygi-value.h | 6 +++++
914 2 files changed, 68 insertions(+), 12 deletions(-)
916 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
917 Author: Simon Feltman <sfeltman@src.gnome.org>
918 Date: Fri Aug 8 20:55:28 2014 -0700
920 Unify property getters
922 Consolidate duplicate logic into pygi_get_property_value().
923 Use the function for GObject.get_property(), GObject.get_properties(),
925 Remove overridden expected failures in TestCGetPropertyMethod which
926 now work due to the unification.
928 https://bugzilla.gnome.org/show_bug.cgi?id=733893
929 https://bugzilla.gnome.org/show_bug.cgi?id=726999
931 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
932 gi/pygi-property.h | 4 ++
934 +++++++-----------------------------------------
935 tests/test_properties.py | 38 -------------------
936 4 files changed, 77 insertions(+), 147 deletions(-)
938 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
939 Author: Simon Feltman <sfeltman@src.gnome.org>
940 Date: Mon Jul 28 19:09:30 2014 -0700
942 Merge pygi_get_property_value and _pygi_argument_from_g_value
944 Merge duplicated GValue marshaling code which has diverged over time
945 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
947 Use _pygi_argument_to_array within pygi_get_property_value. This
949 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
951 Side effects of this change also include support for properties
953 G_TYPE_FLAGS and G_TYPE_PARAM.
955 https://bugzilla.gnome.org/show_bug.cgi?id=726999
957 gi/pygi-property.c | 140
958 +++++------------------------------------------------
959 gi/pygi-value.c | 24 ++++++---
960 2 files changed, 28 insertions(+), 136 deletions(-)
962 commit 142ff1903d34876db3d1bee5e9782ac49de12313
963 Author: Simon Feltman <sfeltman@src.gnome.org>
964 Date: Mon Jul 28 04:40:36 2014 -0700
966 Never dup data structures when marshaling signal in arguments
968 Always assume transfer-none of GValue arguments to signal handlers.
969 A signal handler with arguments marked as transfer-full does not
970 make any sense, so assume they are always transfer-none.
972 https://bugzilla.gnome.org/show_bug.cgi?id=726999
974 gi/pygi-signal-closure.c | 4 +---
975 gi/pygi-value.c | 4 +++-
976 2 files changed, 4 insertions(+), 4 deletions(-)
978 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
979 Author: Simon Feltman <sfeltman@src.gnome.org>
980 Date: Mon Jul 28 04:23:39 2014 -0700
982 Never dup data structures when marshaling from g_object_get_property()
984 Always use transfer-none with the results of g_object_get_property()
985 and assume g_value_unset() will cleanup the results. This gives us
986 control over memory of properties and limits property anotations to
989 https://bugzilla.gnome.org/show_bug.cgi?id=726999
991 gi/pygi-property.c | 24 +++++++-----------------
992 1 file changed, 7 insertions(+), 17 deletions(-)
994 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
995 Author: Simon Feltman <sfeltman@src.gnome.org>
996 Date: Tue Jul 29 19:29:28 2014 -0700
998 Refactor boxed wrapper memory management strategy
1000 Change pygi_boxed_new() to accept "copy_boxed" instead of
1002 This changes memory management so the PyGIBoxed wrapper owns the boxed
1003 pointer given to it. Use __del__ instead of dealloc for freeing
1005 memory. This is needed for edge cases where objects like GSource can
1006 trigger the finalized callback during de-alloc, resulting in the
1008 references counts being manipulated and triggering a re-entrant
1010 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
1012 which rely on pass-by-reference.
1013 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
1015 https://bugzilla.gnome.org/show_bug.cgi?id=722899
1017 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1019 gi/gimodule.c | 6 +++-
1020 gi/overrides/GLib.py | 4 ---
1021 gi/overrides/GObject.py | 3 ++
1022 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
1023 gi/pygi-boxed.h | 4 +--
1024 gi/pygi-source.c | 6 ++--
1025 gi/pygi-struct-marshal.c | 81
1026 +++++++++++++++++++++++++++++++++++++++++++++---
1027 tests/test_gi.py | 1 -
1028 tests/test_source.py | 8 +++--
1029 9 files changed, 140 insertions(+), 27 deletions(-)
1031 commit 62aed0977090f7099a5e538209f7c680ea22fe12
1032 Author: Simon Feltman <sfeltman@src.gnome.org>
1033 Date: Sun Aug 17 19:04:51 2014 -0700
1035 Replace GObject.signal_query with introspected version
1037 Remove the static bindings for GObject.signal_query and replace with a
1038 Python compatibility shim which utilizes the introspection exposed
1042 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1044 gi/gobjectmodule.c | 89
1045 -------------------------------------------------
1046 gi/overrides/GObject.py | 39 ++++++++++++----------
1047 2 files changed, 21 insertions(+), 107 deletions(-)
1049 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
1050 Author: Simon Feltman <sfeltman@src.gnome.org>
1051 Date: Sun Aug 17 19:03:32 2014 -0700
1053 Use array lengths specified on struct fields
1055 Add array length marshalling policy for struct fields. This fixes
1057 C array fields on structs which also specify a length field.
1059 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1061 gi/pygi-argument.c | 14 ++++++-------
1062 gi/pygi-argument.h | 4 ++++
1064 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
1065 3 files changed, 68 insertions(+), 9 deletions(-)
1067 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
1068 Author: Simon Feltman <sfeltman@src.gnome.org>
1069 Date: Sun Aug 17 18:15:23 2014 -0700
1071 Refactor signal array length marshalling to support a length policy
1073 Replace passing arrays of data to non-caching array marshallers with
1075 closure that can be customized depending on context. In the case
1077 this is mostly scaffolding which will be replaced with caching
1079 However, it opens the legacy marshaller for usage with struct
1083 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1085 gi/pygi-argument.c | 70
1086 ++++++++++++++++++++++++++++++++----------------
1087 gi/pygi-argument.h | 14 +++++++---
1088 gi/pygi-signal-closure.c | 8 ++++--
1089 3 files changed, 64 insertions(+), 28 deletions(-)
1091 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
1092 Author: Simon Feltman <sfeltman@src.gnome.org>
1093 Date: Sun Aug 17 13:58:10 2014 -0700
1095 Remove dead code for marshalling array lengths in the context
1098 Remove usage of the args parameter from _pygi_argument_to_array. This
1100 longer used because array marshalling for vfuncs is now handled by
1104 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1106 gi/pygi-argument.c | 24 +++++++++---------------
1107 1 file changed, 9 insertions(+), 15 deletions(-)
1109 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
1110 Author: Simon Feltman <sfeltman@src.gnome.org>
1111 Date: Sun Aug 17 21:53:55 2014 -0700
1113 Fix memory leak with unboxed caller allocated structs
1115 Take caller-allocates into account when wrapping unboxed structures.
1116 This will free the allocated memory when the Python object is
1119 gi/pygi-struct-marshal.c | 2 +-
1120 1 file changed, 1 insertion(+), 1 deletion(-)
1122 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
1123 Author: Simon Feltman <sfeltman@src.gnome.org>
1124 Date: Sat Aug 16 22:34:29 2014 -0700
1126 tests: Add reference count test for signal connection arguments
1128 Add tests for ensuring reference counts are what we expect for
1129 connect() callback, user_data, and swap object (currently broken
1132 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1134 tests/test_signal.py | 133
1135 +++++++++++++++++++++++++++++++++++++++++++++++++++
1136 1 file changed, 133 insertions(+)
1138 commit 7076669aadfc5227144df87277d69ae66865770a
1139 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
1140 Date: Sat Aug 16 17:46:50 2014 -0700
1142 Don't mask GObject sub-class doc strings in meta-class
1144 If a class has a __doc__ attribute explicitly set, always return it.
1145 Only generate doc strings for classes coming from gi.repository
1148 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1150 https://bugzilla.gnome.org/show_bug.cgi?id=731452
1152 https://bugzilla.gnome.org/show_bug.cgi?id=734926
1154 gi/types.py | 12 +++++++++++-
1155 tests/test_docstring.py | 2 --
1156 2 files changed, 11 insertions(+), 3 deletions(-)
1158 commit 4cdca4328da7442be247e775294fc676cf677bb7
1159 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
1160 Date: Sat Aug 16 15:06:40 2014 -0700
1162 tests: Add failing tests for GObject sub-class doc-strings
1164 Add tests for sub-class docstrings set with either doc-string
1165 syntax and by setting the __doc__ attribute directly.
1167 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1169 https://bugzilla.gnome.org/show_bug.cgi?id=731452
1171 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
1172 1 file changed, 39 insertions(+)
1174 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
1175 Author: Simon Feltman <sfeltman@src.gnome.org>
1176 Date: Thu Aug 14 22:47:14 2014 -0700
1178 configure.ac: post release version bump to 3.13.5
1181 1 file changed, 1 insertion(+), 1 deletion(-)
1183 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
1184 Author: Simon Feltman <sfeltman@src.gnome.org>
1185 Date: Thu Aug 14 22:42:27 2014 -0700
1189 NEWS | 22 ++++++++++++++++++++++
1190 1 file changed, 22 insertions(+)
1192 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
1193 Author: Simon Feltman <sfeltman@src.gnome.org>
1194 Date: Thu Aug 14 18:33:06 2014 -0700
1196 Fix invalid unref after getting callable container
1198 Don't unref the results of g_base_info_get_container() because it is
1199 transfer-none. This was causing an attempted unref on an invalid
1201 when setting up callback caches for signals.
1203 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1205 gi/pygi-cache.c | 2 --
1206 1 file changed, 2 deletions(-)
1208 commit 654c28faffc8d956bd31987adca092fa014cc897
1209 Author: Simon Feltman <sfeltman@src.gnome.org>
1210 Date: Thu Aug 14 21:31:33 2014 -0700
1212 tests: Silence valgrindlog and valgrindxml output from forked procs
1214 This is needed to properly diff valgrind runs between commits.
1216 tests/Makefile.am | 4 ++--
1217 1 file changed, 2 insertions(+), 2 deletions(-)
1219 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
1220 Author: Simon Feltman <sfeltman@src.gnome.org>
1221 Date: Wed Aug 13 10:27:01 2014 -0700
1223 Remove ffi wrapped destroy notify used for closure cleanup
1225 Remove global ffi wrapper for _pygi_invoke_closure_free() and
1227 a pointer to _pygi_invoke_closure_free() directly. There is no need
1229 a known single use function with an ffi closure. Originally
1231 commit 610dd1eec87f.
1233 gi/pygi-closure.c | 49 +------------------------------------------------
1234 1 file changed, 1 insertion(+), 48 deletions(-)
1236 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
1237 Author: Simon Feltman <sfeltman@src.gnome.org>
1238 Date: Tue Aug 12 22:19:24 2014 -0700
1240 tests: Update tests for static binding protection to check
1243 tests/test_import_machinery.py | 10 +++++-----
1244 1 file changed, 5 insertions(+), 5 deletions(-)
1246 commit e674340db90c29c556b45e0a8f8b2da72661b738
1247 Author: Simon Feltman <sfeltman@src.gnome.org>
1248 Date: Mon Aug 11 23:12:38 2014 -0700
1250 Use AttributeError for static binding protection
1252 Replace usage of RuntimeError with AttributeError in the dummy module
1253 protecting importing of static bindings. This is needed so we
1255 modules like inspect which is used by ipython.
1257 gi/__init__.py | 2 +-
1258 1 file changed, 1 insertion(+), 1 deletion(-)
1260 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
1261 Author: Simon Feltman <sfeltman@src.gnome.org>
1262 Date: Mon Aug 11 22:47:14 2014 -0700
1264 Add deprecation warning for connect_object() with non-GObject argument
1266 GObject.connect_object() accepts any Python object and holds a strong
1267 reference to it in the closure defeating the purpose of
1269 Add a warning so we can eventually limit connect_object() to GObject
1271 use the underlying g_signal_connect_object() which holds a weak
1274 https://bugzilla.gnome.org/show_bug.cgi?id=688064
1276 gi/pygobject.c | 9 +++++++++
1277 1 file changed, 9 insertions(+)
1279 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
1280 Author: Simon Feltman <sfeltman@src.gnome.org>
1281 Date: Mon Aug 11 22:39:13 2014 -0700
1283 tests: Add tests for connect_object()
1285 Add tests for both introspected and non-introspected signals
1287 of connect_object() and connect_object_after() in combination
1289 and Python object swap data.
1291 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1293 tests/test_signal.py | 139
1294 +++++++++++++++++++++++++++++++++++++++++++--------
1295 1 file changed, 117 insertions(+), 22 deletions(-)
1297 commit 581acc4c56be127b3a724df504bb46a40959fdd9
1298 Author: Simon Feltman <sfeltman@src.gnome.org>
1299 Date: Mon Aug 11 21:21:42 2014 -0700
1301 Add Python implementation of Object.connect_data()
1303 Add GObject.Object.connect_data() which takes an optional
1305 keyword argument accepting GObject.ConnectFlags enum values. This is
1306 for supporting user data swapping (ConnectFlags.SWAPPED).
1308 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1310 gi/overrides/GObject.py | 37 ++++++++++++++++
1311 tests/test_signal.py | 109
1312 ++++++++++++++++++++++++++++++++++++++++++++++++
1313 2 files changed, 146 insertions(+)
1315 commit b1caef95c4b68b65f3f159563162afde5a0b0939
1316 Author: Simon Feltman <sfeltman@src.gnome.org>
1317 Date: Sat Aug 9 02:14:23 2014 -0700
1319 tests: Add failing tests which verify exceptions raised in property
1322 https://bugzilla.gnome.org/show_bug.cgi?id=575652
1324 tests/test_properties.py | 17 +++++++++++++++++
1325 1 file changed, 17 insertions(+)
1327 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
1328 Author: Garrett Regier <Garrett.Regier@riftio.com>
1329 Date: Fri Aug 8 10:08:23 2014 -0400
1331 Cleanup input args when marshaling in closures
1333 The cleanup must happen before setting the out args otherwise
1334 the args that cleanup would free are the just set args, not the
1337 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1339 gi/pygi-closure.c | 2 +-
1340 1 file changed, 1 insertion(+), 1 deletion(-)
1342 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
1343 Author: Simon Feltman <sfeltman@src.gnome.org>
1344 Date: Fri Aug 8 02:47:11 2014 -0700
1346 tests: Fix Python 2 build for newly added test_array_parm()
1348 Use @unittest.skip() with a string argument as required by Python 2.
1350 tests/test_signal.py | 2 +-
1351 1 file changed, 1 insertion(+), 1 deletion(-)
1353 commit 3165c17a455652de9a61439428fa40f30120dc6a
1354 Author: Simon Feltman <sfeltman@src.gnome.org>
1355 Date: Fri Aug 8 02:46:26 2014 -0700
1357 Remove incorrect and unused casts from tp_free calls
1359 Arguments to Py_TYPE() do not need to be cast since the macro
1361 to a PyObject* internall.
1363 gi/pygi-boxed.c | 2 +-
1364 gi/pygi-ccallback.c | 2 +-
1365 gi/pygi-info.c | 2 +-
1366 gi/pygi-struct.c | 2 +-
1367 4 files changed, 4 insertions(+), 4 deletions(-)
1369 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
1370 Author: Simon Feltman <sfeltman@src.gnome.org>
1371 Date: Fri Aug 8 02:33:51 2014 -0700
1373 Fix GCallback Python wrapper leak
1375 The PyObject wrapper for GCallbacks was not calling tp_free in
1377 tp_dealloc class method.
1379 https://bugzilla.gnome.org/show_bug.cgi?id=695130
1381 gi/pygi-ccallback.c | 2 ++
1382 1 file changed, 2 insertions(+)
1384 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
1385 Author: Martin Pitt <martinpitt@gnome.org>
1386 Date: Fri Aug 8 01:55:21 2014 -0700
1388 tests: Add failing test for marshalling an array of GValues through
1391 https://bugzilla.gnome.org/show_bug.cgi?id=669496
1393 tests/test_signal.py | 12 ++++++++++++
1394 1 file changed, 12 insertions(+)
1396 commit d689d24f271c30612c6a86b5c51d50a1179aedad
1397 Author: Simon Feltman <sfeltman@src.gnome.org>
1398 Date: Thu Aug 7 17:52:35 2014 -0700
1400 tests: Add tests for GApplication local command line handling
1402 Add various tests which override Gio.Appliction.do_command_line and
1403 do_local_command_line.
1405 https://bugzilla.gnome.org/show_bug.cgi?id=690851
1407 tests/test_gio.py | 65
1408 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1409 1 file changed, 65 insertions(+)
1411 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
1412 Author: Garrett Regier <Garrett.Regier@riftio.com>
1413 Date: Thu Aug 7 12:25:59 2014 -0400
1415 Add test for a callback with an inout array
1417 This was broken until the closures used the caches for marshaling.
1419 https://bugzilla.gnome.org/show_bug.cgi?id=702508
1421 tests/test_everything.py | 19 +++++++++++++++++++
1422 1 file changed, 19 insertions(+)
1424 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
1425 Author: Garrett Regier <Garrett.Regier@riftio.com>
1426 Date: Thu Aug 7 12:06:30 2014 -0400
1428 Fix raising an error in a constructor
1430 It should raise a Python exception instead of warnings about
1431 a constructor returning NULL.
1433 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1435 gi/pygi-cache.c | 6 +++---
1436 tests/test_gi.py | 6 ++++++
1437 2 files changed, 9 insertions(+), 3 deletions(-)
1439 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
1440 Author: Garrett Regier <Garrett.Regier@riftio.com>
1441 Date: Wed Aug 6 15:30:58 2014 -0400
1443 Use the caches for marshaling the arguments in closures
1445 Changes to object marshaling when the calling context is from
1446 C was required to correctly keep the correct floating status.
1448 The array cache has been modified to set to/from_py_marshaller
1449 for the length arg cache. This is required for closures which include
1450 the length arg for backwards compatibility. The closure cache takes
1451 care to change the length arg cache's meta type so it gets marshalled
1454 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1456 gi/pygi-array.c | 5 +-
1457 gi/pygi-basictype.c | 4 +-
1458 gi/pygi-basictype.h | 36 +++--
1459 gi/pygi-cache.c | 30 +++-
1460 gi/pygi-closure.c | 403
1461 ++++++++++++++++++++++++++++------------------------
1462 gi/pygi-invoke.c | 3 +-
1463 6 files changed, 271 insertions(+), 210 deletions(-)
1465 commit 9337acf98d783777c94d4bcb912a185ba6791efb
1466 Author: Garrett Regier <Garrett.Regier@riftio.com>
1467 Date: Wed Aug 6 12:14:27 2014 -0400
1469 Specialize GObject marshaling when called from C
1471 These are needed otherwise the floating status of
1472 the GObject will not be kept.
1474 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1476 gi/pygi-object.c | 86
1477 +++++++++++++++++++++++++++++++++++++++++++++++---------
1478 1 file changed, 72 insertions(+), 14 deletions(-)
1480 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
1481 Author: Garrett Regier <Garrett.Regier@riftio.com>
1482 Date: Wed Aug 6 11:59:09 2014 -0400
1484 Move special handling of GObject from Python when calling from C
1486 This will soon be used in the GObject arg cache marshaling when
1487 the calling context is C.
1489 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1491 gi/pygi-argument.c | 21 +--------------------
1492 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
1493 gi/pygi-object.h | 5 +++++
1494 3 files changed, 36 insertions(+), 20 deletions(-)
1496 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
1497 Author: Garrett Regier <Garrett.Regier@riftio.com>
1498 Date: Wed Aug 6 11:53:39 2014 -0400
1500 Always pass along the callable cache to the arg cache constructors
1502 This will be needed in a future patch which requires that the callable
1503 cache is always available.
1505 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1507 gi/pygi-array.c | 20 ++++++++++++--------
1508 gi/pygi-array.h | 9 +++++----
1509 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
1510 gi/pygi-cache.h | 7 ++++---
1511 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
1512 gi/pygi-hashtable.h | 9 +++++----
1513 gi/pygi-list.c | 30 +++++++++++++++++++-----------
1514 gi/pygi-list.h | 9 +++++----
1515 gi/pygi-object.c | 25 ++++++++++++++-----------
1516 gi/pygi-object.h | 3 ++-
1517 10 files changed, 103 insertions(+), 74 deletions(-)
1519 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
1520 Author: Garrett Regier <Garrett.Regier@riftio.com>
1521 Date: Tue Aug 5 10:42:46 2014 -0400
1523 Set the correct meta type for GErrors when marshaling to Python
1525 Otherwise we do not pass the GError into python callbacks and
1526 we also want to convert these into Python Exceptions.
1528 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1530 gi/pygi-error.c | 2 +-
1531 1 file changed, 1 insertion(+), 1 deletion(-)
1533 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
1534 Author: Garrett Regier <Garrett.Regier@riftio.com>
1535 Date: Tue Aug 5 10:37:58 2014 -0400
1537 Pass the GIArgument to the closure assign functions
1539 This will be required once we use the caches for marshaling.
1541 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1543 gi/pygi-closure.c | 102
1544 ++++++++++++++++++++++++++----------------------------
1545 1 file changed, 50 insertions(+), 52 deletions(-)
1547 commit ca3579db14df278923674c294d07481a7255510f
1548 Author: Garrett Regier <Garrett.Regier@riftio.com>
1549 Date: Tue Aug 5 10:25:40 2014 -0400
1551 Use the caches for closures, but not yet for marshaling the arguments
1553 Instead of using the various GI functions we use the data from
1555 This also fixes generating an arg cache for a closure as it was
1557 data or simply setting incorrect data. Also, always included the
1559 until the closures no longer need it for marshaling the arguments.
1561 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1563 gi/pygi-cache.c | 33 +++++++-
1564 gi/pygi-cache.h | 4 +
1565 gi/pygi-closure.c | 245
1566 +++++++++++++++++++++++++-----------------------------
1567 gi/pygi-closure.h | 2 +
1568 4 files changed, 150 insertions(+), 134 deletions(-)
1570 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
1571 Author: Garrett Regier <Garrett.Regier@riftio.com>
1572 Date: Tue Aug 5 10:16:45 2014 -0400
1574 Correctly set the destroy notify for callbacks in closures
1576 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1578 gi/pygi-closure.c | 2 +-
1579 1 file changed, 1 insertion(+), 1 deletion(-)
1581 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
1582 Author: Garrett Regier <Garrett.Regier@riftio.com>
1583 Date: Fri Aug 1 11:40:08 2014 -0400
1585 Split the callable cache into the different types
1587 Instead of doing different things based on the various function types
1588 this adds vfuncs for generate_args_cache() and invoke() which are then
1589 specialized for the various function types. Also add a calling context
1590 to the callable cache which is then used to determine the direction
1591 when generating the arg caches.
1593 This is in preparation for adding closure caches.
1595 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1597 gi/pygi-cache.c | 514
1598 +++++++++++++++++++++++++++++++-----------
1599 gi/pygi-cache.h | 96 +++++---
1600 gi/pygi-ccallback.c | 16 +-
1601 gi/pygi-info.c | 3 +-
1602 gi/pygi-invoke-state-struct.h | 2 -
1603 gi/pygi-invoke.c | 244 ++++++++------------
1604 gi/pygi-invoke.h | 4 +
1606 8 files changed, 564 insertions(+), 317 deletions(-)
1608 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
1609 Author: Ignacio Casal Quinteiro <icq@gnome.org>
1610 Date: Wed Aug 6 08:27:43 2014 +0200
1612 Generate .dll libraries on windows
1614 https://bugzilla.gnome.org/show_bug.cgi?id=734288
1616 configure.ac | 8 ++++++++
1617 tests/Makefile.am | 8 ++++----
1618 2 files changed, 12 insertions(+), 4 deletions(-)
1620 commit d70403357d6b510356dd375304fb97e458fd12b2
1621 Author: Simon Feltman <sfeltman@src.gnome.org>
1622 Date: Tue Aug 5 22:45:46 2014 -0700
1624 Add protection against attempts at importing static bindings
1626 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
1628 gi with dummy modules which produce an error upon access.
1630 https://bugzilla.gnome.org/show_bug.cgi?id=709183
1632 gi/__init__.py | 25 ++++++++++++++++++++++---
1633 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
1634 2 files changed, 46 insertions(+), 3 deletions(-)
1636 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
1637 Author: Simon Feltman <sfeltman@src.gnome.org>
1638 Date: Tue Dec 31 16:15:04 2013 -0800
1640 Update and deprecate gi.overrides.keysyms
1642 Replace manually assigned keysyms with a dynamically generated version
1643 pulling names and values from Gdk via GI. Add a runtime warning when
1644 this module is imported.
1646 https://bugzilla.gnome.org/show_bug.cgi?id=721295
1648 gi/overrides/keysyms.py | 1490
1649 +-------------------------------------------
1650 pygtkcompat/pygtkcompat.py | 14 +-
1651 2 files changed, 27 insertions(+), 1477 deletions(-)
1653 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
1654 Author: Alexey Pavlov <alexpux@gmail.com>
1655 Date: Tue Aug 5 19:03:38 2014 -0700
1657 Use -no-undefined for building on Windows
1659 See LT_INIT([win32-dll]):
1660 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
1662 Additionally add PYTHON_LIBS to testhelper.la linking.
1664 https://bugzilla.gnome.org/show_bug.cgi?id=734284
1666 tests/Makefile.am | 6 +++---
1667 1 file changed, 3 insertions(+), 3 deletions(-)
1669 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
1670 Author: Alexey Pavlov <alexpux@gmail.com>
1671 Date: Tue Aug 5 18:40:53 2014 -0700
1673 Use python-config for libs when available
1675 https://bugzilla.gnome.org/show_bug.cgi?id=734289
1677 m4/python.m4 | 7 ++++++-
1678 1 file changed, 6 insertions(+), 1 deletion(-)
1680 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
1681 Author: Alexey Pavlov <alexpux@gmail.com>
1682 Date: Tue Aug 5 18:20:25 2014 -0700
1684 Link gi.so with FFI_LIBS
1686 https://bugzilla.gnome.org/show_bug.cgi?id=734286
1688 gi/Makefile.am | 3 ++-
1689 1 file changed, 2 insertions(+), 1 deletion(-)
1691 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
1692 Author: Alexey Pavlov <alexpux@gmail.com>
1693 Date: Tue Aug 5 15:45:04 2014 +0200
1695 Include math headers also on mingw
1697 https://bugzilla.gnome.org/show_bug.cgi?id=734287
1699 gi/pygi-basictype.c | 2 --
1700 1 file changed, 2 deletions(-)
1702 commit 964ced98e03c704074d10cc362abfa14c00457ba
1703 Author: Garrett Regier <Garrett.Regier@riftio.com>
1704 Date: Thu Jul 31 10:16:47 2014 -0400
1706 Added args_offset to the cache instead of checking the function type
1708 gi/pygi-array.c | 6 ++----
1709 gi/pygi-cache.c | 6 +++---
1710 gi/pygi-cache.h | 3 +++
1711 gi/pygi-closure.c | 4 +---
1712 4 files changed, 9 insertions(+), 10 deletions(-)
1714 commit 9943d876059201cbee87f072a84234ed774ed932
1715 Author: Simon Feltman <sfeltman@src.gnome.org>
1716 Date: Thu Jul 31 21:51:00 2014 -0700
1718 doap: Update homepage URL and email address
1720 pygobject.doap | 4 ++--
1721 1 file changed, 2 insertions(+), 2 deletions(-)
1723 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
1724 Author: Simon Feltman <sfeltman@src.gnome.org>
1725 Date: Thu Jul 31 21:46:37 2014 -0700
1727 Change maintainer in PKG-INFO to self
1729 PKG-INFO.in | 4 ++--
1730 1 file changed, 2 insertions(+), 2 deletions(-)
1732 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
1733 Author: Andre Klapper <a9016009@gmx.de>
1734 Date: Thu Jul 31 21:28:12 2014 +0200
1736 doap: add <programming-language>
1738 pygobject.doap | 2 ++
1739 1 file changed, 2 insertions(+)
1741 commit f30001f2b01896577a2b4d956bc4658350e56b8d
1742 Author: Simon Feltman <sfeltman@src.gnome.org>
1743 Date: Wed Jul 30 00:29:01 2014 -0700
1745 Add GClosure marshalling cleanup
1747 Add marshalling cleanup for Python callables and boxed GClosures
1748 passed as arguments. Make sure the marshaller owns a reference
1749 until clean. Fix transfer everything case by adding a new reference.
1750 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
1752 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1754 gi/pygi-struct-marshal.c | 46
1755 ++++++++++++++++++++++++++++++++++++++--------
1756 gi/pygi-struct-marshal.h | 4 ----
1757 2 files changed, 38 insertions(+), 12 deletions(-)
1759 commit cf4e830f1b613736ef9586562eb6c0b354165925
1760 Author: Simon Feltman <sfeltman@src.gnome.org>
1761 Date: Wed Jul 30 12:42:15 2014 -0700
1763 Remove decrementing argument index for failed marshalling cleanup
1765 Remove index decrement when cleanup function is called for failed
1767 marshalling. The decrement is incorrect and causes the failed argument
1768 cleanup to be skipped. The decrement also causes cleanup for arguments
1769 prior to the failed argument to receive "was_successful" as FALSE,
1773 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1775 gi/pygi-invoke.c | 10 +++++-----
1776 1 file changed, 5 insertions(+), 5 deletions(-)
1778 commit 662a4421125d126a11ca163c362d205f0c2147c4
1779 Author: Simon Feltman <sfeltman@src.gnome.org>
1780 Date: Wed Jul 30 12:46:18 2014 -0700
1782 Use cleanup data for argument marshalling failures
1784 Use state->args_cleanup_data when cleaning up failed argument
1786 This was overlooked when cleanup data tracking was implemented
1789 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1791 gi/pygi-marshal-cleanup.c | 14 +++++++-------
1792 1 file changed, 7 insertions(+), 7 deletions(-)
1794 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
1795 Author: Olav Vitters <olav@vitters.nl>
1796 Date: Wed Jul 30 20:41:37 2014 +0200
1800 pygobject.doap | 2 +-
1801 1 file changed, 1 insertion(+), 1 deletion(-)
1803 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
1804 Author: Simon Feltman <sfeltman@src.gnome.org>
1805 Date: Mon Jul 28 23:51:19 2014 -0700
1807 tests: Move object property reference count tests to test_properties
1809 Move and consolidate tests for object property reference counts from
1810 tests_object_marshaling to test_properties.
1812 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1814 tests/test_object_marshaling.py | 68
1815 -----------------------------------------
1816 tests/test_properties.py | 36 ++++++++++++++++++++++
1817 2 files changed, 36 insertions(+), 68 deletions(-)
1819 commit 15b795354ca5a8f436779ee5d81936af8961acb5
1820 Author: Simon Feltman <sfeltman@src.gnome.org>
1821 Date: Mon Jul 28 22:20:44 2014 -0700
1823 tests: Move test_everything.TestProperties into test_properties
1825 Consolidate property tests found in test_everything into test_property
1826 removing redundant tests already found in test_property.
1828 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1830 tests/test_everything.py | 69
1831 +-----------------------------------------------
1832 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
1833 2 files changed, 60 insertions(+), 68 deletions(-)
1835 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
1836 Author: Simon Feltman <sfeltman@src.gnome.org>
1837 Date: Mon Jul 28 21:32:44 2014 -0700
1839 tests: Add tests for get/set_property()
1841 Re-use the new CPropertiesTestBase class for testing
1845 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1847 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
1848 1 file changed, 32 insertions(+)
1850 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
1851 Author: Simon Feltman <sfeltman@src.gnome.org>
1852 Date: Mon Jul 28 21:32:00 2014 -0700
1854 tests: Break TestPropertiesObject up for re-use
1856 Refactor TestPropertiesObject into a base class which abstracts
1858 property methods. This will allow re-use for testing both
1860 and the props accessor.
1862 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1864 tests/test_properties.py | 221
1865 +++++++++++++++++++++++++----------------------
1866 1 file changed, 118 insertions(+), 103 deletions(-)
1868 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
1869 Author: Simon Feltman <sfeltman@src.gnome.org>
1870 Date: Mon Jul 28 19:32:00 2014 -0700
1872 tests: Move test_gi.TestPropertiesObject into test_properties
1874 Move all property testing code into the test_properties module.
1876 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1878 tests/test_gi.py | 233
1879 ----------------------------------------------
1880 tests/test_properties.py | 235
1881 +++++++++++++++++++++++++++++++++++++++++++++++
1882 2 files changed, 235 insertions(+), 233 deletions(-)
1884 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
1885 Author: Simon Feltman <sfeltman@src.gnome.org>
1886 Date: Fri Jul 25 18:33:15 2014 -0700
1888 pyflakes: Fix legacy print and exception usage under Python 3
1890 Fix print statements and legacy exception usage in examples.
1892 https://bugzilla.gnome.org/show_bug.cgi?id=731042
1894 examples/properties.py | 12 ++++++------
1895 tests/runtests-windows.py | 4 ++--
1896 2 files changed, 8 insertions(+), 8 deletions(-)
1898 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
1899 Author: Simon Feltman <sfeltman@src.gnome.org>
1900 Date: Fri Jul 25 17:49:57 2014 -0700
1902 tests: Ignore warnings for GtkAlignment
1904 This was causing unittests to bail. Even though this is deprecated,
1905 we still need to test its usage in the context of pygtkcompat.
1907 tests/compat_test_pygtk.py | 15 ++++++++++++++-
1908 1 file changed, 14 insertions(+), 1 deletion(-)
1910 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
1911 Author: Simon Feltman <sfeltman@src.gnome.org>
1912 Date: Fri Jul 25 17:40:36 2014 -0700
1914 tests: Remove usage of deprecated "schema" property in GSettings
1917 Use new and new_with_path instead as the schema property was causing a
1918 hard warning which fails the test suite.
1920 tests/test_gio.py | 6 +++---
1921 1 file changed, 3 insertions(+), 3 deletions(-)
1923 commit 6b806137825891cc6bdad82a68cf3deb087feb70
1924 Author: Simon Feltman <sfeltman@src.gnome.org>
1925 Date: Fri Jul 25 17:35:06 2014 -0700
1927 tests: Ignore stock-id usage warnings
1929 Add ignore_glib_warnings context manager for easily ignoring warnings
1930 caused by stock-id usage. Even though stock-id is deprecated, we still
1931 need to test the related Python binding overrides.
1933 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
1934 1 file changed, 24 insertions(+), 16 deletions(-)
1936 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
1937 Author: Simon Feltman <sfeltman@src.gnome.org>
1938 Date: Mon Jun 23 15:55:57 2014 -0700
1940 configure.ac: post release version bump to 3.13.4
1943 1 file changed, 1 insertion(+), 1 deletion(-)
1945 commit 58198b6ae426448cde82cad7304018c7c770c0ea
1946 Author: Simon Feltman <sfeltman@src.gnome.org>
1947 Date: Mon Jun 23 15:53:03 2014 -0700
1952 1 file changed, 8 insertions(+)
1954 commit cdf8c40768b00d08a1facca696a042efc6e8988f
1955 Author: Simon Feltman <sfeltman@src.gnome.org>
1956 Date: Thu May 29 13:02:44 2014 -0700
1958 demos: Cleanup CSS accordion demo to use a loop for adding buttons
1960 Also use Gtk.main_quit directly since it has been overridden to accept
1963 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
1964 1 file changed, 3 insertions(+), 18 deletions(-)
1966 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
1967 Author: Simon Feltman <sfeltman@src.gnome.org>
1968 Date: Tue May 27 19:24:20 2014 -0700
1970 refactor: Move builder connection utilities outside of Builder class
1972 Move _extract_handler_and_args and _builder_connect_callback into
1974 scope for re-use by GTK+ Composite Templates.
1976 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1978 gi/overrides/Gtk.py | 83
1979 ++++++++++++++++++++++++---------------------
1980 tests/test_overrides_gtk.py | 8 ++---
1981 2 files changed, 48 insertions(+), 43 deletions(-)
1983 commit f127fabe9664b243774b76a68e6fce5986aa23a0
1984 Author: Simon Feltman <sfeltman@src.gnome.org>
1985 Date: Tue May 27 15:52:10 2014 -0700
1987 tests: Move TestSignals from test_everything into test_signal
1989 Move these tests into a more meaningful location.
1991 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1993 tests/test_everything.py | 123
1994 --------------------------------------------
1995 tests/test_signal.py | 131
1996 +++++++++++++++++++++++++++++++++++++++++++++++
1997 2 files changed, 131 insertions(+), 123 deletions(-)
1999 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
2000 Author: Simon Feltman <sfeltman@src.gnome.org>
2001 Date: Mon May 26 04:21:07 2014 -0700
2003 configure.ac: post release version bump to 3.13.2
2006 1 file changed, 1 insertion(+), 1 deletion(-)
2008 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
2009 Author: Simon Feltman <sfeltman@src.gnome.org>
2010 Date: Mon May 26 04:18:55 2014 -0700
2014 NEWS | 21 +++++++++++++++++++++
2015 1 file changed, 21 insertions(+)
2017 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
2018 Author: Simon Feltman <sfeltman@src.gnome.org>
2019 Date: Mon May 26 03:01:13 2014 -0700
2021 Python 3.4 make check fixes
2023 Bump GI required version to 1.39.0. This is needed to get rid of
2024 expectedFailures which pass when built with 1.39.0 (unexpected
2026 fail unittesting in Python 3.4).
2027 Silence deprecation warning when using imp.reload.
2029 https://bugzilla.gnome.org/show_bug.cgi?id=730411
2032 pygtkcompat/pygtkcompat.py | 4 +++-
2033 tests/test_gi.py | 1 -
2034 tests/test_repository.py | 2 --
2035 4 files changed, 4 insertions(+), 5 deletions(-)
2037 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
2038 Author: Simon Feltman <sfeltman@src.gnome.org>
2039 Date: Mon May 26 01:53:14 2014 -0700
2041 tests: Don't use deprecated positional argument for Gio.Settings
2044 tests/test_gio.py | 6 +++---
2045 1 file changed, 3 insertions(+), 3 deletions(-)
2047 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
2048 Author: Simon Feltman <sfeltman@src.gnome.org>
2049 Date: Sun May 25 23:03:35 2014 -0700
2051 overrides: Add Gtk.Container.child_get/set overrides
2053 Add overrides for child_get and child_set to Gtk.Container since these
2054 are not introspectable methods.
2056 https://bugzilla.gnome.org/show_bug.cgi?id=685076
2058 gi/overrides/Gtk.py | 10 ++++++++++
2059 tests/test_overrides_gtk.py | 16 ++++++++++++++++
2060 2 files changed, 26 insertions(+)
2062 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
2063 Author: Simon Feltman <sfeltman@src.gnome.org>
2064 Date: Sun May 25 22:07:07 2014 -0700
2066 overrides: Make value argument to Widget.style_get_property optional
2068 Override Gtk.Widget.style_get_property to optionally accept the
2070 argument. If "value" is not supplied, the override will locate
2072 property value type and create the GValue. Additionally return
2074 GValue converted to a native Python value.
2076 https://bugzilla.gnome.org/show_bug.cgi?id=685076
2078 gi/overrides/Gtk.py | 11 +++++++++++
2079 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
2080 2 files changed, 40 insertions(+)
2082 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
2083 Author: Simon Feltman <sfeltman@src.gnome.org>
2084 Date: Sun May 25 21:08:47 2014 -0700
2086 overrides: Make value argument to Container.child_get_property
2089 Override Gtk.Container.child_get_property to optionally accept the
2091 argument. If "value" is not supplied, the override will locate
2093 property value type and create the GValue. Additionally return
2095 GValue converted to a native Python value.
2097 https://bugzilla.gnome.org/show_bug.cgi?id=685076
2099 gi/overrides/Gtk.py | 11 +++++++++++
2100 tests/test_overrides_gtk.py | 47
2101 +++++++++++++++++++++++++++++++++++++++++++++
2102 2 files changed, 58 insertions(+)
2104 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
2105 Author: Johan Dahlin <johan@gnome.org>
2106 Date: Mon Oct 1 06:42:24 2012 -0700
2108 Add GTypeClass methods as Python GObject class methods
2110 Take all the methods from an objects type classs and add them
2111 as class methods. For instance, GObject.ObjectClass.list_properties
2112 is available as GObject.Object.list_properties().
2114 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2116 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2118 gi/types.py | 13 +++++++++++++
2119 tests/test_typeclass.py | 13 +++++++++++++
2120 2 files changed, 26 insertions(+)
2122 commit 778d05c93e079ba207a250b754bda9377cb47457
2123 Author: Simon Feltman <sfeltman@src.gnome.org>
2124 Date: Sun May 25 19:05:56 2014 -0700
2126 Add marshalling coercion for Python classes and instances to
2129 Automatically marshal Python GObject classes and instances to
2131 structs (GObjectClass). This allows usage of the GTypeClass methods by
2132 passing a Python GObject class or instance to the GTypeClass method.
2133 This is needed to support usage of GTypeClass methods since we don't
2134 manually bind GTypeClasses and they are not very well supported with
2137 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2139 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
2140 tests/Makefile.am | 1 +
2141 tests/test_typeclass.py | 67
2142 ++++++++++++++++++++++++++++++++++++++++++++++++
2143 3 files changed, 117 insertions(+), 5 deletions(-)
2145 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
2146 Author: Simon Feltman <sfeltman@src.gnome.org>
2147 Date: Sun May 25 02:00:00 2014 -0700
2149 Cleanup struct marshalling function names
2151 Use a consistent naming scheme for struct marshalling cache related
2152 functions. This removes prefixed underscores from function names
2153 as well as redundant wording.
2155 To ignore this commit with git blame use:
2156 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
2158 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2160 gi/pygi-argument.c | 34 ++++----
2161 gi/pygi-array.c | 2 +-
2162 gi/pygi-struct-marshal.c | 221
2163 ++++++++++++++++++++---------------------------
2164 gi/pygi-struct-marshal.h | 56 ++++++------
2165 4 files changed, 142 insertions(+), 171 deletions(-)
2167 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
2168 Author: Simon Feltman <sfeltman@src.gnome.org>
2169 Date: Fri May 16 15:08:35 2014 -0700
2171 Use accessors for getting and setting PyGParamSpec pointers
2173 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
2174 setting the GParamSpec pointer field held by the Python wrapper. This
2175 is preliminary cleanup work for supporting fundamental types.
2177 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2179 gi/pygi-value.c | 2 +-
2180 gi/pygobject.h | 9 +++++++--
2181 gi/pygparamspec.c | 22 +++++++++++-----------
2182 3 files changed, 19 insertions(+), 14 deletions(-)
2184 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
2185 Author: Simon Feltman <sfeltman@src.gnome.org>
2186 Date: Fri May 16 14:50:57 2014 -0700
2188 Use accessors for getting and setting PyGPointer fields
2190 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
2191 setting the pointer field. This is preliminary cleanup work for
2195 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2197 gi/gimodule.c | 2 +-
2198 gi/pygi-struct.c | 6 +++---
2199 gi/pygobject.h | 2 ++
2200 gi/pygpointer.c | 14 +++++++-------
2201 4 files changed, 13 insertions(+), 11 deletions(-)
2203 commit 92fe52243d819ffe91597744a6a1c2362a295bce
2204 Author: Simon Feltman <sfeltman@src.gnome.org>
2205 Date: Fri May 16 14:19:47 2014 -0700
2207 Use accessors for getting and setting PyGBoxed pointers
2209 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
2211 the boxed pointer field. This is preliminary cleanup work for
2215 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2217 gi/pygboxed.c | 20 ++++++++++----------
2218 gi/pygi-boxed.c | 6 +++---
2219 gi/pygobject.h | 2 ++
2220 gi/pygtype.c | 3 ++-
2221 4 files changed, 17 insertions(+), 14 deletions(-)
2223 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
2224 Author: Simon Feltman <sfeltman@src.gnome.org>
2225 Date: Sun May 11 16:04:55 2014 -0700
2227 tests: Use assertRaises as a context manager for GError test
2229 Simplify tests/test_error.py:TestMarshalling.test_exception so that
2230 it no longer needs to pull exception information out of sys.exc_info.
2232 tests/test_error.py | 14 ++++++--------
2233 1 file changed, 6 insertions(+), 8 deletions(-)
2235 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
2236 Author: Andrew Grigorev <andrew@ei-grad.ru>
2237 Date: Sun May 11 23:54:46 2014 +0400
2239 Replace direct parent class call by super()
2241 Super works, it just needs the correct class.
2243 https://bugzilla.gnome.org/show_bug.cgi?id=729970
2245 demos/gtk-demo/gtk-demo.py | 6 ++----
2246 1 file changed, 2 insertions(+), 4 deletions(-)
2248 commit de827d00762f2a741f90bc38f8b55518593f4509
2249 Author: Simon Feltman <sfeltman@src.gnome.org>
2250 Date: Sun Mar 23 01:59:00 2014 -0700
2252 Add cairo marshaling support for non-introspected signals
2254 Add link dependency of cairo-gobject to _gi_cairo_la needed for
2256 the GTypes of cairo classes.
2257 Add GValue marshalers for cairo Context, Surface, FontFace,
2259 and Pattern classes.
2261 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2263 gi/Makefile.am | 2 +
2264 gi/pygi-foreign-cairo.c | 186
2265 ++++++++++++++++++++++++++++++++++++++++++++++++
2266 gi/pygi-type.h | 1 +
2268 tests/test_cairo.py | 65 +++++++++++++++++
2269 5 files changed, 256 insertions(+)
2271 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
2272 Author: Simon Feltman <sfeltman@src.gnome.org>
2273 Date: Mon May 5 19:37:18 2014 -0700
2275 [New API] Add gi.require_foreign
2277 Add gi.require_foreign(namespace, symbol=None) API for determining
2278 if a foreign marshaling module is available. This can be used in an
2279 applications import statement block to verify the existence of a
2280 specific foreign marshaling module (cairo).
2281 Additionally it forces loading of the foreign marshaling module as
2282 well as the GI repository module. This allows non-introspected signal
2283 closures to correctly marshal their arguments (bug 694604).
2285 https://bugzilla.gnome.org/show_bug.cgi?id=707735
2287 gi/__init__.py | 28 +++++++++++++++++++++++++
2288 gi/gimodule.c | 2 ++
2289 gi/pygi-foreign.c | 60
2290 ++++++++++++++++++++++++++++++++++++++++++++++-------
2291 gi/pygi-foreign.h | 4 ++++
2292 tests/test_cairo.py | 9 ++++++++
2293 5 files changed, 95 insertions(+), 8 deletions(-)
2295 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
2296 Author: Simon Feltman <sfeltman@src.gnome.org>
2297 Date: Mon May 5 19:48:06 2014 -0700
2299 tests: Move cairo tests into test_cairo.py
2301 Move cairo related tests from test_everything.py into test_cairo.py
2303 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2305 tests/Makefile.am | 1 +
2306 tests/test_cairo.py | 67
2307 ++++++++++++++++++++++++++++++++++++++++++++++++
2308 tests/test_everything.py | 43 +------------------------------
2309 3 files changed, 69 insertions(+), 42 deletions(-)
2311 commit 31ecd935564984068e6646676392122bdc03e42e
2312 Author: Simon Feltman <sfeltman@src.gnome.org>
2313 Date: Mon May 5 19:42:59 2014 -0700
2315 Initialize the foreign API at PyGI load time
2317 Initialize the foreign struct list at gi._gi module load time. This
2319 we always have a valid (non-null) list of foreign marshalers outside
2321 context of marshaling.
2323 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2325 gi/gimodule.c | 3 ++-
2326 gi/pygi-foreign.c | 12 ++++++++----
2327 gi/pygi-foreign.h | 2 ++
2328 3 files changed, 12 insertions(+), 5 deletions(-)
2330 commit def47144b63a1492ebf47a4eadb535f45253ff3a
2331 Author: Simon Feltman <sfeltman@src.gnome.org>
2332 Date: Sat Mar 22 14:13:01 2014 -0700
2334 Move pygi foreign API into pygi-foreign-api.h
2336 Move limited set of APIs necessary for registering foreign marshalers
2338 pygi-foreign-api.h. Remove "_real" from internally used APIs and
2340 includes to the rest of pygobject for calling directly (instead of
2342 the PyCapsule API within PyGI itself).
2343 This is needed to avoid compilation errors when including pygobject.h
2345 foreign marshaling plugins which conflicts with pygobject-private.h.
2347 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2349 gi/Makefile.am | 1 +
2350 gi/gimodule.c | 6 +--
2354 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
2355 gi/pygi-foreign-cairo.c | 8 ++--
2356 gi/pygi-foreign.c | 10 ++---
2357 gi/pygi-foreign.h | 14 +++----
2358 gi/pygi-property.c | 8 ++--
2359 gi/pygi-property.h | 14 ++++---
2360 gi/pygi-signal-closure.c | 12 +++---
2361 gi/pygi-signal-closure.h | 15 +++----
2362 gi/pygi-type.c | 4 +-
2363 gi/pygi-type.h | 2 +-
2365 -----------------------------------------------
2366 gi/pygobject.c | 3 ++
2367 gi/pygpointer.c | 1 +
2368 18 files changed, 139 insertions(+), 154 deletions(-)
2370 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
2371 Author: Simon Feltman <sfeltman@src.gnome.org>
2372 Date: Sun May 4 23:19:30 2014 -0700
2374 Clobber GLib.Error with custom implementation
2376 Clobber the introspection GLib.Error class with the custom Python
2377 implementation found in gi._error.GError. Update references to
2381 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2383 gi/_error.py | 3 ++-
2384 gi/overrides/GLib.py | 9 ++++++---
2385 gi/pygi-error.c | 10 +++++-----
2386 tests/test_error.py | 24 ++++++++++++------------
2387 4 files changed, 25 insertions(+), 21 deletions(-)
2389 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
2390 Author: Simon Feltman <sfeltman@src.gnome.org>
2391 Date: Sun May 4 23:43:50 2014 -0700
2393 Simplify pygi_error_marshal to use GError initializer arguments
2395 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2397 gi/pygi-error.c | 25 ++++++-------------------
2398 1 file changed, 6 insertions(+), 19 deletions(-)
2400 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
2401 Author: Simon Feltman <sfeltman@src.gnome.org>
2402 Date: Sun May 4 04:13:46 2014 -0700
2404 Add Python implementation of GError
2406 Add internally used gi/_error.py module as a basis for implementing
2407 a unified GError between introspection and static bindings. Patch
2409 implementations of GError.matches and GError.new_literal in the GLib
2412 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2416 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2417 gi/_option.py | 3 ++-
2418 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
2419 gi/pygi-error.c | 18 +++++++-----------
2420 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
2421 6 files changed, 125 insertions(+), 14 deletions(-)
2423 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
2424 Author: Simon Feltman <sfeltman@src.gnome.org>
2425 Date: Sun May 4 23:14:27 2014 -0700
2427 tests: Move GError tests into test_error.py
2429 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2431 tests/Makefile.am | 1 +
2432 tests/test_error.py | 81
2433 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2434 tests/test_gi.py | 49 --------------------------------
2435 3 files changed, 82 insertions(+), 49 deletions(-)
2437 commit 649895d83a90cd3a370da215a6f98a606b987419
2438 Author: Simon Feltman <sfeltman@src.gnome.org>
2439 Date: Sun May 4 00:18:41 2014 -0700
2441 Consolidate GError related code into pygi-error
2443 Rename all pyglib_error_* functions to pygi_error_* and move them into
2445 Register GError as part of the gi._gi module instead of gi._gi._glib.
2446 Update all code to use new naming.
2448 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2450 gi/_option.py | 6 +-
2451 gi/gimodule.c | 4 +-
2452 gi/glibmodule.c | 19 -----
2453 gi/gobjectmodule.c | 54 +-----------
2454 gi/overrides/GLib.py | 3 +-
2455 gi/pygi-argument.c | 6 +-
2456 gi/pygi-cache.c | 4 +-
2457 gi/pygi-error.c | 222
2458 ++++++++++++++++++++++++++++++++++++++++++++++++-
2459 gi/pygi-error.h | 21 ++++-
2460 gi/pygi-invoke.c | 5 +-
2461 gi/pyglib-private.h | 1 -
2462 gi/pyglib.c | 199 --------------------------------------------
2464 gi/pygobject-private.h | 3 -
2465 gi/pygoptioncontext.c | 3 +-
2466 gi/pygoptiongroup.c | 3 +-
2467 gi/pygspawn.c | 3 +-
2468 17 files changed, 262 insertions(+), 299 deletions(-)
2470 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
2471 Author: Simon Feltman <sfeltman@src.gnome.org>
2472 Date: Sat May 3 22:56:49 2014 -0700
2474 Add gi.CallableInfo.can_throw_gerror()
2476 Add static binding for g_callable_info_can_throw_gerror.
2478 gi/pygi-info.c | 10 ++++++++++
2479 tests/test_repository.py | 16 ++++++++++++++++
2480 2 files changed, 26 insertions(+)
2482 commit f129e78d579b7897cb86111c524d87b5b12019ad
2483 Author: Simon Feltman <sfeltman@src.gnome.org>
2484 Date: Sat May 3 22:56:03 2014 -0700
2486 Derive PyCallbackInfo from PyCallableInfo
2488 Update the static GI bindings for PyGICallbackInfo to derive
2489 from PyGICallableInfo. This makes all the gi.CallableInfo methods
2490 available to gi.CallbackInfo for use from Python.
2492 gi/pygi-info.c | 4 ++--
2493 tests/test_repository.py | 7 +++++++
2494 2 files changed, 9 insertions(+), 2 deletions(-)
2496 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
2497 Author: Simon Feltman <sfeltman@src.gnome.org>
2498 Date: Fri May 2 21:36:25 2014 -0700
2502 Use infix 'not' instead of prefixed.
2503 Don't use double comments (##).
2504 Use space between comment and text.
2505 Un-comment tests that now work.
2506 Move broken (and won't fix) implicit int64 signal tests into
2507 a new skipped test function.
2509 gi/overrides/GIMarshallingTests.py | 4 ++--
2510 gi/overrides/Gio.py | 4 ++--
2511 gi/overrides/Gtk.py | 6 +++---
2513 pygtkcompat/pygtkcompat.py | 4 ++--
2514 tests/test_everything.py | 1 -
2515 tests/test_gi.py | 9 +++------
2516 tests/test_iochannel.py | 2 +-
2517 tests/test_option.py | 2 +-
2518 tests/test_signal.py | 28 +++++++++++++---------------
2519 10 files changed, 28 insertions(+), 34 deletions(-)
2521 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
2522 Author: Simon Feltman <sfeltman@src.gnome.org>
2523 Date: Mon Apr 28 14:06:30 2014 -0700
2525 configure.ac: post release version bump to 3.13.2
2528 1 file changed, 1 insertion(+), 1 deletion(-)
2530 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
2531 Author: Simon Feltman <sfeltman@src.gnome.org>
2532 Date: Mon Apr 28 14:00:59 2014 -0700
2536 NEWS | 14 ++++++++++++++
2537 1 file changed, 14 insertions(+)
2539 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
2540 Author: Christoph Reiter <reiter.christoph@gmail.com>
2541 Date: Mon Apr 14 23:33:52 2014 +0200
2543 Raise TypeError if arguments are passed to Boxed.__init__
2545 This is a partial revert of
2546 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
2547 which removed a type check in __new__. This adds it back
2548 into __init__. Overrides which define __new__ now have to
2549 filter out any arguments in __init__ and not the other way
2550 around, which is a bit less surprising in the common case.
2552 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2554 gi/overrides/GLib.py | 6 ++++++
2555 gi/overrides/Gtk.py | 6 ++++++
2556 gi/overrides/Pango.py | 3 +++
2557 gi/pygi-boxed.c | 6 ++++++
2558 tests/test_gi.py | 4 ++++
2559 5 files changed, 25 insertions(+)
2561 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
2562 Author: Christoph Reiter <reiter.christoph@gmail.com>
2563 Date: Mon Apr 14 15:40:50 2014 +0200
2565 Gdk.Event: Override __setattr__ to set fields based on the event type
2567 Pass the setting of attributes through to the underlying union based
2568 on event type. This mirrors the logic in __getattr__.
2570 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2572 gi/overrides/Gdk.py | 7 +++++++
2573 tests/test_overrides_gdk.py | 13 ++++++++++---
2574 2 files changed, 17 insertions(+), 3 deletions(-)
2576 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
2577 Author: Christoph Reiter <reiter.christoph@gmail.com>
2578 Date: Mon Apr 14 13:06:02 2014 +0200
2580 Gdk.Event: Include GdkEventType in __repr__
2582 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2584 gi/overrides/Gdk.py | 4 ++++
2585 tests/test_overrides_gdk.py | 4 ++++
2586 2 files changed, 8 insertions(+)
2588 commit 23965455f060793ffcbc0d8288527d41a667579c
2589 Author: Simon Feltman <sfeltman@src.gnome.org>
2590 Date: Mon Apr 14 15:10:01 2014 -0700
2592 Fix crash with type checking for GObject arguments
2594 Ensure we have a valid GObject before attempting to call g_type_is_a.
2595 Swap conditional blocks to make if condition more readable.
2597 https://bugzilla.gnome.org/show_bug.cgi?id=727604
2599 gi/pygi-object.c | 19 ++++++++++---------
2600 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
2601 2 files changed, 45 insertions(+), 9 deletions(-)
2603 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
2604 Author: Paolo Borelli <pborelli@gnome.org>
2605 Date: Sun Mar 30 18:27:59 2014 +0200
2607 Do not leak info of destroy notify
2609 gi/pygi-closure.c | 11 ++++++-----
2610 1 file changed, 6 insertions(+), 5 deletions(-)
2612 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
2613 Author: Simon Feltman <sfeltman@src.gnome.org>
2614 Date: Fri Mar 28 19:51:58 2014 -0700
2616 configure.ac: Update PyGObject wiki link in AC_INIT
2619 1 file changed, 1 insertion(+), 1 deletion(-)
2621 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
2622 Author: Simon Feltman <sfeltman@src.gnome.org>
2623 Date: Mon Mar 24 18:57:56 2014 -0700
2625 Ignore GValueArray deprecations
2627 Wrap calls to GValueArray related calls with
2628 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
2629 Although GValueArray is deprecated, we still need to support the
2631 them in PyGObject. The deprecations add noise to the build processes
2633 new warnings could be lost. Essentially losing the element of surprise
2635 warning should have on maintainers.
2637 gi/pygi-value.c | 23 ++++++++++++++++++++---
2638 tests/testhelpermodule.c | 3 +++
2639 2 files changed, 23 insertions(+), 3 deletions(-)
2641 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
2642 Author: Simon Feltman <sfeltman@src.gnome.org>
2643 Date: Mon Mar 24 18:09:10 2014 -0700
2645 Raise ImportError when importing modules not found in repository
2647 Raise an ImportError with extra information noting the typelib was not
2648 found. This removes the need to log a similar message which adds
2650 noise when attempting controlled imports within try/except statements.
2651 In Python 2, the additional information is lost but in Python 3 it
2654 https://bugzilla.gnome.org/show_bug.cgi?id=726877
2656 gi/importer.py | 9 ++++-----
2657 tests/test_import_machinery.py | 18 ++++++++++++++++++
2658 2 files changed, 22 insertions(+), 5 deletions(-)
2660 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
2661 Author: Simon Feltman <sfeltman@src.gnome.org>
2662 Date: Mon Mar 24 18:04:27 2014 -0700
2664 tests: Rename test_overrides to test_import_machinery
2666 Rename this test to better suit the contents of the file. This
2668 us a more concise location to grow other tests related to import
2672 https://bugzilla.gnome.org/show_bug.cgi?id=726877
2674 tests/Makefile.am | 2 +-
2675 tests/test_import_machinery.py | 58
2676 ++++++++++++++++++++++++++++++++++++++++++
2677 tests/test_overrides.py | 58
2678 ------------------------------------------
2679 3 files changed, 59 insertions(+), 59 deletions(-)
2681 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
2682 Author: Simon Feltman <sfeltman@src.gnome.org>
2683 Date: Mon Mar 24 04:39:47 2014 -0700
2685 HACKING: Update branch creation instructions to include -b
2688 1 file changed, 1 insertion(+), 1 deletion(-)
2690 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
2691 Author: Simon Feltman <sfeltman@src.gnome.org>
2692 Date: Mon Mar 24 04:35:52 2014 -0700
2694 configure.ac: post release version bump to 3.13.1
2696 configure.ac | 4 ++--
2697 1 file changed, 2 insertions(+), 2 deletions(-)
2699 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
2700 Author: Simon Feltman <sfeltman@src.gnome.org>
2701 Date: Mon Mar 24 03:35:21 2014 -0700
2706 1 file changed, 2 insertions(+)
2708 commit 70020e9934abb39cbccfa49e582fb838465c0490
2709 Author: Simon Feltman <sfeltman@src.gnome.org>
2710 Date: Mon Mar 24 03:05:16 2014 -0700
2712 pre-release version bump to 3.12.0
2714 configure.ac | 4 ++--
2715 1 file changed, 2 insertions(+), 2 deletions(-)
2717 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
2718 Author: Simon Feltman <sfeltman@src.gnome.org>
2719 Date: Mon Mar 17 15:17:12 2014 -0700
2721 configure.ac: post release version bump to 3.11.93
2724 1 file changed, 1 insertion(+), 1 deletion(-)
2726 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
2727 Author: Simon Feltman <sfeltman@src.gnome.org>
2728 Date: Mon Mar 17 15:12:33 2014 -0700
2733 1 file changed, 6 insertions(+)
2735 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
2736 Author: Simon Feltman <sfeltman@src.gnome.org>
2737 Date: Mon Mar 17 14:55:52 2014 -0700
2739 configure.ac: Remove option to build without libffi
2741 We've always had a hard dependency on libffi headers.
2742 Commit 5798f94b6a727b93 added a direct module dependency on libffi
2743 instead of indirect via GI. Remove the option to build without libffi.
2745 configure.ac | 21 +++------------------
2746 1 file changed, 3 insertions(+), 18 deletions(-)
2748 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
2749 Author: Simon Feltman <sfeltman@src.gnome.org>
2750 Date: Sat Mar 15 00:50:14 2014 -0700
2752 docs: Standardize Python doc strings
2754 Use consistent doc string quotations (three double quotes).
2755 Update usage of GObject.GObject in docs to GObject.Object.
2756 Use reStructuredText markup for parameter annotations, instance
2758 admonitions, and code examples.
2759 This allows for better Sphinx documentation generation for the
2761 Preliminary style guide:
2762 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
2764 gi/_option.py | 67 +++++++++++++++------------
2765 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
2766 gi/_signalhelper.py | 117
2767 ++++++++++++++++++++++++-----------------------
2768 gi/docstring.py | 17 ++++---
2769 gi/glibmodule.c | 3 +-
2770 gi/overrides/GLib.py | 20 ++++----
2771 gi/overrides/GObject.py | 39 ++++++++++------
2772 gi/overrides/Gtk.py | 28 ++++++++----
2773 gi/overrides/__init__.py | 66 +++++++++++++-------------
2775 10 files changed, 242 insertions(+), 203 deletions(-)
2777 commit 2d268ef661badabcb63e696dab01857d57cb3371
2778 Author: Simon Feltman <sfeltman@src.gnome.org>
2779 Date: Sat Mar 15 00:49:00 2014 -0700
2781 Quote argument names in initializer deprecation warning
2783 Add quotation marks around names of deprecated positional arguments.
2784 This makes the message clearer in stating what has been deprecated
2785 in cases when only a single argument is displayed.
2787 gi/overrides/__init__.py | 2 +-
2788 tests/test_gi.py | 6 +++---
2789 2 files changed, 4 insertions(+), 4 deletions(-)
2791 commit a070e712526e433c236753813acc3ef300f0d203
2792 Author: Simon Feltman <sfeltman@src.gnome.org>
2793 Date: Sat Mar 15 00:35:03 2014 -0700
2795 docs: Ignore meta-class bases in dynamic docstring generation
2797 Skip attempts at generating a doc string for GObject meta-class bases
2798 since they do not contain an __info__ attribute.
2799 This circumvents errors with documentation generators (Sphinx).
2801 gi/types.py | 7 ++++++-
2802 1 file changed, 6 insertions(+), 1 deletion(-)
2804 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
2805 Author: Simon Feltman <sfeltman@src.gnome.org>
2806 Date: Thu Mar 13 10:13:34 2014 -0700
2808 Update Free Software Foundation addresses
2810 Update all references to the FSF physical address
2811 to use the web address: http://www.gnu.org/licenses
2813 gi/_constants.py | 4 +---
2814 gi/_gobject/__init__.py | 4 +---
2815 gi/_option.py | 4 +---
2816 gi/_propertyhelper.py | 4 +---
2817 gi/_signalhelper.py | 4 +---
2818 gi/glibmodule.c | 4 +---
2819 gi/gobjectmodule.c | 4 +---
2820 gi/overrides/keysyms.py | 4 +---
2821 gi/pygboxed.c | 4 +---
2822 gi/pygboxed.h | 4 +---
2823 gi/pygenum.c | 4 +---
2824 gi/pygenum.h | 4 +---
2825 gi/pygflags.c | 4 +---
2826 gi/pygflags.h | 4 +---
2827 gi/pygi-argument.c | 4 +---
2828 gi/pygi-argument.h | 4 +---
2829 gi/pygi-boxed.c | 4 +---
2830 gi/pygi-boxed.h | 4 +---
2831 gi/pygi-cache.c | 4 +---
2832 gi/pygi-cache.h | 4 +---
2833 gi/pygi-ccallback.c | 4 +---
2834 gi/pygi-ccallback.h | 4 +---
2835 gi/pygi-info.c | 4 +---
2836 gi/pygi-info.h | 4 +---
2837 gi/pygi-invoke.c | 4 +---
2838 gi/pygi-invoke.h | 4 +---
2839 gi/pygi-marshal-cleanup.c | 4 +---
2840 gi/pygi-marshal-cleanup.h | 4 +---
2841 gi/pygi-repository.c | 4 +---
2842 gi/pygi-repository.h | 4 +---
2843 gi/pygi-signal-closure.c | 4 +---
2844 gi/pygi-struct.c | 4 +---
2845 gi/pygi-struct.h | 4 +---
2846 gi/pygi-type.c | 4 +---
2847 gi/pygi-type.h | 4 +---
2849 gi/pyginterface.c | 4 +---
2850 gi/pyginterface.h | 4 +---
2851 gi/pyglib-private.h | 4 +---
2852 gi/pyglib-python-compat.h | 4 +---
2853 gi/pyglib.c | 4 +---
2854 gi/pyglib.h | 4 +---
2855 gi/pygobject-external.h | 4 +---
2856 gi/pygobject.c | 4 +---
2857 gi/pygoptioncontext.c | 4 +---
2858 gi/pygoptioncontext.h | 4 +---
2859 gi/pygoptiongroup.c | 4 +---
2860 gi/pygoptiongroup.h | 4 +---
2861 gi/pygparamspec.c | 4 +---
2862 gi/pygparamspec.h | 4 +---
2863 gi/pygpointer.c | 4 +---
2864 gi/pygpointer.h | 4 +---
2865 gi/pygspawn.c | 4 +---
2866 gi/pygspawn.h | 4 +---
2867 gi/pygtype.c | 4 +---
2868 gi/pygtype.h | 4 +---
2869 pygtkcompat/generictreemodel.py | 4 +---
2870 tests/test_generictreemodel.py | 4 +---
2871 58 files changed, 58 insertions(+), 174 deletions(-)
2873 commit bbfcebdfdc5e574999221b60520422ea6da82435
2874 Author: Owen W. Taylor <otaylor@fishsoup.net>
2875 Date: Wed Mar 12 18:32:47 2014 -0400
2877 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
2879 Any (transfer full) return of a cairo type other than a path
2882 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
2883 it for the cairo foreign type. For paths we can only handle
2884 (transfer full) so throw an error for (transfer none).
2886 https://bugzilla.gnome.org/show_bug.cgi?id=726206
2888 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
2889 gi/pygi-foreign.c | 3 ++-
2890 gi/pygi-foreign.h | 1 +
2891 gi/pygi-invoke.c | 1 +
2892 gi/pygi-struct-marshal.c | 1 +
2894 6 files changed, 31 insertions(+), 8 deletions(-)
2896 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
2897 Author: Simon Feltman <sfeltman@src.gnome.org>
2898 Date: Mon Mar 3 15:20:02 2014 -0800
2900 configure.ac: post release version bump to 3.11.92
2903 1 file changed, 1 insertion(+), 1 deletion(-)
2905 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
2906 Author: Simon Feltman <sfeltman@src.gnome.org>
2907 Date: Mon Mar 3 15:16:43 2014 -0800
2912 1 file changed, 7 insertions(+)
2914 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
2915 Author: Simon Feltman <sfeltman@src.gnome.org>
2916 Date: Mon Mar 3 06:49:09 2014 -0800
2918 build: Update release-news to use srcdir
2920 Use $(top_srcdir)/NEWS for pulling in news items to ensure
2921 "make release-news" works in a vpath build environment.
2924 1 file changed, 1 insertion(+), 1 deletion(-)
2926 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
2927 Author: Simon Feltman <sfeltman@src.gnome.org>
2928 Date: Fri Feb 7 20:16:21 2014 -0800
2930 Use ffi_call directly instead of g_callable_info_invoke
2932 Cleanup internal callable cache and state tracking by removing
2934 counting schemes for differently sized "in" and "out" argument arrays.
2935 Use a single count based on the total number of arguments passed to C
2936 (inclusive of instance argument and GError exception where
2938 Size all state tracking arrays to the same size and ensure argument
2940 indices always line up with these arrays. This cleans up logic
2942 required by g_callable_info_invoke for splitting "in" and "out"
2946 Cleanup array marshaling which can now rely on the new scheme
2948 the "arg_values" array always points to the correct location for
2952 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
2954 related GI methods. Overall, these changes can give a performance
2956 almost 2x for simple function calls (see ticket for micro benchmarks).
2958 https://bugzilla.gnome.org/show_bug.cgi?id=723642
2960 gi/pygi-array.c | 26 ++---
2961 gi/pygi-cache.c | 61 +++++++++--
2962 gi/pygi-cache.h | 10 +-
2963 gi/pygi-ccallback.c | 3 +-
2964 gi/pygi-closure.c | 6 +-
2965 gi/pygi-invoke-state-struct.h | 42 +++++---
2966 gi/pygi-invoke.c | 241
2967 +++++++++++++++++++++++-------------------
2968 gi/pygi-invoke.h | 2 +-
2969 gi/pygi-marshal-cleanup.c | 4 +-
2970 9 files changed, 230 insertions(+), 165 deletions(-)
2972 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
2973 Author: Simon Feltman <sfeltman@src.gnome.org>
2974 Date: Mon Mar 3 04:51:09 2014 -0800
2976 tests: Move class definition depending on GTK+ within function
2979 Move the definition of WindowWithSizeAllocOverride inside of the test
2980 function call to so it is lazily defined. This avoids problems
2982 on systems without GTK+ installed.
2984 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
2985 1 file changed, 16 insertions(+), 16 deletions(-)
2987 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
2988 Author: Simon Feltman <sfeltman@src.gnome.org>
2989 Date: Mon Mar 3 04:45:59 2014 -0800
2991 tests: Conditionalize usage of GTK+ in tests_generictreemodel
2993 This allows running make check without GTK+ installed.
2995 tests/test_generictreemodel.py | 16 +++++++++++++---
2996 1 file changed, 13 insertions(+), 3 deletions(-)
2998 commit 038563ed620e0d966e385a1779455d9b0e148c41
2999 Author: Simon Feltman <sfeltman@src.gnome.org>
3000 Date: Mon Mar 3 04:39:35 2014 -0800
3002 tests: Conditionalize usage of regress typelib in test_properties
3004 Unconditional usage of regress breaks tests when PyGObject is
3008 tests/test_properties.py | 27 +++++++++++++++++----------
3009 1 file changed, 17 insertions(+), 10 deletions(-)
3011 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
3012 Author: Simon Feltman <sfeltman@src.gnome.org>
3013 Date: Mon Mar 3 02:44:12 2014 -0800
3015 configure.ac: Use -std=c90 and error on declaration-after-statement
3017 Replace gcc option of -std=c9x with c90 and add
3018 -Werror=declaration-after-statement
3019 This ensures we keep compatibility with msvc builds.
3021 configure.ac | 3 ++-
3022 1 file changed, 2 insertions(+), 1 deletion(-)
3024 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
3025 Author: Simon Feltman <sfeltman@src.gnome.org>
3026 Date: Mon Mar 3 02:38:30 2014 -0800
3028 Use g_snprintf instead of snprintf
3030 Use g_snprintf for consistency with the rest of gobjectmodule.c
3032 gi/gobjectmodule.c | 2 +-
3033 1 file changed, 1 insertion(+), 1 deletion(-)
3035 commit b016ae6793839b2a6a00a69d00de30937bc611be
3036 Author: Simon Feltman <sfeltman@src.gnome.org>
3037 Date: Thu Feb 27 04:27:41 2014 -0800
3039 Use C style comments
3041 Update various locations which use C99 single line comments to
3043 C90 style comments. Found with: make CFLAGS="-std=C90"
3045 gi/gimodule.c | 2 +-
3046 gi/pygi-array.c | 3 ++-
3047 gi/pygi-property.c | 2 +-
3049 4 files changed, 5 insertions(+), 4 deletions(-)
3051 commit df7cba1495c167f1019dec7f4398dc5de62a5937
3052 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3053 Date: Tue Feb 25 14:38:41 2014 +0800
3055 Fix Build on Visual Studio
3057 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
3059 included the use of the NAN and INFINITY macros/constants, so the
3060 definitions for those need to be moved to pygi-basictype.c as well.
3062 avoid defining a variable in the middle of the block.
3064 https://bugzilla.gnome.org/show_bug.cgi?id=725122
3066 gi/pygi-basictype.c | 16 ++++++++++++++++
3067 gi/pygi-cache.c | 3 ++-
3068 gi/pygi-enum-marshal.c | 16 ----------------
3069 3 files changed, 18 insertions(+), 17 deletions(-)
3071 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
3072 Author: Simon Feltman <sfeltman@src.gnome.org>
3073 Date: Mon Feb 17 17:22:40 2014 -0800
3075 Update release steps to be more explicit in regards to NEWS
3077 Add an explicit step to commit the NEWS changes and push prior
3080 HACKING | 11 ++++++-----
3081 1 file changed, 6 insertions(+), 5 deletions(-)
3083 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
3084 Author: Simon Feltman <sfeltman@src.gnome.org>
3085 Date: Mon Feb 17 17:18:10 2014 -0800
3087 configure.ac: post release version bump to 3.11.91
3090 1 file changed, 1 insertion(+), 1 deletion(-)
3092 commit f87e341c5528d066371d4ec493956db28dd0bafa
3093 Author: Simon Feltman <sfeltman@src.gnome.org>
3094 Date: Mon Feb 17 17:08:13 2014 -0800
3099 1 file changed, 4 insertions(+)
3101 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
3102 Author: Simon Feltman <sfeltman@src.gnome.org>
3103 Date: Wed Feb 12 10:28:35 2014 -0800
3105 Use GObject type checking for instance arguments
3107 Add a g_type_is_a check to interface/object instance arguments
3109 to the Python IsInstance check. This loosens restrictions on
3111 don't use gi.overrides.override() and is needed to keep API
3113 which broke with commit:
3114 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
3116 https://bugzilla.gnome.org/show_bug.cgi?id=724009
3118 gi/pygi-object.c | 6 +++++-
3119 1 file changed, 5 insertions(+), 1 deletion(-)
3121 commit 419e13e1717b725d5c6815bae9672649b0afddd4
3122 Author: Simon Feltman <sfeltman@src.gnome.org>
3123 Date: Mon Feb 3 15:58:30 2014 -0800
3125 configure.ac: post release version bump to 3.11.90
3128 1 file changed, 1 insertion(+), 1 deletion(-)
3130 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
3131 Author: Simon Feltman <sfeltman@src.gnome.org>
3132 Date: Mon Feb 3 15:51:27 2014 -0800
3136 NEWS | 16 ++++++++++++++++
3137 1 file changed, 16 insertions(+)
3139 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
3140 Author: Simon Feltman <sfeltman@src.gnome.org>
3141 Date: Mon Feb 3 06:45:09 2014 -0800
3143 Restore pygobject_version API needed for pygobject.h
3145 Add gi._gobject.pygobject_version which was removed with commit:
3146 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
3147 This is needed for pygobject.h to function properly.
3149 gi/_gobject/__init__.py | 1 +
3150 1 file changed, 1 insertion(+)
3152 commit f3be4cedcb1d395a3fabee95d7460bce86268153
3153 Author: Simon Feltman <sfeltman@src.gnome.org>
3154 Date: Mon Feb 3 06:29:07 2014 -0800
3156 cache refactoring: Add comments to arg cache setup functions
3158 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3160 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
3161 1 file changed, 36 insertions(+)
3163 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
3164 Author: Simon Feltman <sfeltman@src.gnome.org>
3165 Date: Mon Feb 3 06:24:18 2014 -0800
3167 cache refactoring: Use consistent prefix for arg cache functions
3169 Use "pygi_arg_cache" as the prefix for arg cache memory related
3172 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3174 gi/pygi-array.c | 6 ++--
3175 gi/pygi-basictype.c | 4 +--
3176 gi/pygi-cache.c | 74
3177 ++++++++++++++++++++++++------------------------
3178 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
3179 gi/pygi-ccallback.c | 2 +-
3180 gi/pygi-closure.c | 6 ++--
3181 gi/pygi-enum-marshal.c | 4 +--
3182 gi/pygi-error.c | 4 +--
3183 gi/pygi-hashtable.c | 30 ++++++++++----------
3184 gi/pygi-info.c | 2 +-
3185 gi/pygi-invoke.c | 2 +-
3186 gi/pygi-list.c | 2 +-
3187 gi/pygi-object.c | 2 +-
3188 gi/pygi-struct-marshal.c | 2 +-
3189 14 files changed, 102 insertions(+), 96 deletions(-)
3191 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
3192 Author: Simon Feltman <sfeltman@src.gnome.org>
3193 Date: Sun Jan 12 12:26:30 2014 -0800
3195 marshal refactoring: Move GValue marshaling from pytype into
3198 Move marshaling of GValues to and from PyObjects into
3200 PyGTypeMarshal struct and related functions accessible via pygtype.h.
3202 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3204 gi/gobjectmodule.c | 2 +
3205 gi/pygi-struct-marshal.c | 1 +
3206 gi/pygi-value.c | 720
3207 +++++++++++++++++++++++++++++++++++++++++++++-
3208 gi/pygi-value.h | 12 +
3209 gi/pygobject-private.h | 16 --
3210 gi/pygobject.c | 2 +-
3212 +----------------------------------------------
3213 gi/pygtype.h | 17 ++
3214 8 files changed, 757 insertions(+), 741 deletions(-)
3216 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
3217 Author: Simon Feltman <sfeltman@src.gnome.org>
3218 Date: Sun Jan 12 11:41:20 2014 -0800
3220 marshal refactoring: Move GIArgument from GValue code to new file
3222 Add gi/pygi-value.h and .c files with initial contents of
3223 _pygi_argument_from_g_value. Eventually this file will contain
3225 related to GValue marshaling from various code locations in the
3228 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3230 gi/Makefile.am | 2 +
3231 gi/pygi-argument.c | 126 +----------------------------------------
3232 gi/pygi-argument.h | 3 -
3233 gi/pygi-signal-closure.c | 1 +
3234 gi/pygi-value.c | 144
3235 +++++++++++++++++++++++++++++++++++++++++++++++
3236 gi/pygi-value.h | 32 +++++++++++
3237 6 files changed, 180 insertions(+), 128 deletions(-)
3239 commit c2d5857e9b964427190e1230be32ae7919e86bc0
3240 Author: Simon Feltman <sfeltman@src.gnome.org>
3241 Date: Sat Oct 12 21:26:55 2013 -0700
3243 cache refactoring: Move enum and flags arg setup and marshaling to
3246 Move enum and flags argument cache setup and marshaling fragments into
3247 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
3249 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3251 gi/Makefile.am | 6 +-
3252 gi/pygi-argument.c | 2 -
3253 gi/pygi-cache.c | 74 ++-------
3254 gi/pygi-enum-marshal.c | 408
3255 ++++++++++++++++++++++++++++++++++++++++++++++
3256 gi/pygi-enum-marshal.h | 42 +++++
3257 gi/pygi-marshal-from-py.c | 206 -----------------------
3258 gi/pygi-marshal-from-py.h | 57 -------
3259 gi/pygi-marshal-to-py.c | 152 -----------------
3260 gi/pygi-marshal-to-py.h | 34 ----
3261 9 files changed, 464 insertions(+), 517 deletions(-)
3263 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
3264 Author: Simon Feltman <sfeltman@src.gnome.org>
3265 Date: Sat Oct 12 20:00:12 2013 -0700
3267 cache refactoring: Move various struct arg setup and marshaling to
3270 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
3272 cache setup and marshaling fragments into isolated file:
3273 pygi-struct-marshal.c.
3274 Remove redundant and dead code related to boxed and union marshaling.
3276 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3278 gi/Makefile.am | 2 +
3279 gi/pygi-argument.c | 1 +
3280 gi/pygi-array.c | 3 +
3281 gi/pygi-cache.c | 72 +------
3282 gi/pygi-cache.h | 1 +
3283 gi/pygi-marshal-cleanup.c | 48 -----
3284 gi/pygi-marshal-cleanup.h | 16 --
3285 gi/pygi-marshal-from-py.c | 288 --------------------------
3286 gi/pygi-marshal-from-py.h | 33 ---
3287 gi/pygi-marshal-to-py.c | 120 -----------
3288 gi/pygi-marshal-to-py.h | 27 ---
3289 gi/pygi-object.c | 2 +-
3290 gi/pygi-struct-marshal.c | 516
3291 ++++++++++++++++++++++++++++++++++++++++++++++
3292 gi/pygi-struct-marshal.h | 73 +++++++
3293 14 files changed, 607 insertions(+), 595 deletions(-)
3295 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
3296 Author: Simon Feltman <sfeltman@src.gnome.org>
3297 Date: Sat Oct 12 16:40:58 2013 -0700
3299 cache refactoring: Move GObject arg setup and marshaling into new file
3301 Move GObject argument cache setup and marshaling fragments into
3302 isolated file: pygi-object.c.
3303 Break GIInterfaceCache creation and setup into API for interface based
3304 argument cache usage.
3306 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3308 gi/Makefile.am | 2 +
3309 gi/pygi-argument.c | 7 +-
3310 gi/pygi-cache.c | 183 ++++++++++++++-----------------
3311 gi/pygi-cache.h | 7 ++
3312 gi/pygi-marshal-cleanup.c | 27 -----
3313 gi/pygi-marshal-cleanup.h | 10 --
3314 gi/pygi-marshal-from-py.c | 123 ---------------------
3315 gi/pygi-marshal-from-py.h | 12 --
3316 gi/pygi-marshal-to-py.c | 31 ------
3317 gi/pygi-marshal-to-py.h | 8 --
3318 gi/pygi-object.c | 273
3319 ++++++++++++++++++++++++++++++++++++++++++++++
3320 gi/pygi-object.h | 46 ++++++++
3321 12 files changed, 416 insertions(+), 313 deletions(-)
3323 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
3324 Author: Simon Feltman <sfeltman@src.gnome.org>
3325 Date: Sat Oct 12 12:39:20 2013 -0700
3327 cache refactoring: Move closure setup and marshaling into pygi-closure
3329 Move closure argument caching and marshaling fragments into
3332 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3334 gi/pygi-cache.c | 111 ++--------------
3335 gi/pygi-cache.h | 9 --
3336 gi/pygi-closure.c | 314
3337 +++++++++++++++++++++++++++++++++++++++++++++-
3338 gi/pygi-closure.h | 13 +-
3339 gi/pygi-marshal-cleanup.c | 14 ---
3340 gi/pygi-marshal-cleanup.h | 5 -
3341 gi/pygi-marshal-from-py.c | 160 -----------------------
3342 gi/pygi-marshal-from-py.h | 6 -
3343 gi/pygi-marshal-to-py.c | 13 --
3344 gi/pygi-marshal-to-py.h | 4 -
3345 10 files changed, 333 insertions(+), 316 deletions(-)
3347 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
3348 Author: Simon Feltman <sfeltman@src.gnome.org>
3349 Date: Sat Oct 12 11:30:36 2013 -0700
3351 cache refactoring: Move GError arg setup and marshaling to new file
3353 Move GError argument caching and marshaling fragments into
3354 isolated file: pygi-error.c.
3356 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3358 gi/Makefile.am | 2 +
3359 gi/pygi-cache.c | 93 ++++++++++++---------------------------
3360 gi/pygi-error.c | 109
3361 ++++++++++++++++++++++++++++++++++++++++++++++
3362 gi/pygi-error.h | 35 +++++++++++++++
3363 gi/pygi-marshal-from-py.c | 13 ------
3364 gi/pygi-marshal-from-py.h | 6 ---
3365 gi/pygi-marshal-to-py.c | 22 ----------
3366 gi/pygi-marshal-to-py.h | 4 --
3367 8 files changed, 174 insertions(+), 110 deletions(-)
3369 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
3370 Author: Simon Feltman <sfeltman@src.gnome.org>
3371 Date: Sat Oct 12 03:07:53 2013 -0700
3373 cache refactoring: Move GArray arg setup and marshaling into new file
3375 Move GArray argument caching and marshaling fragments into an
3376 isolated file: pygi-array.c.
3378 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3380 gi/Makefile.am | 2 +
3381 gi/pygi-array.c | 906
3382 ++++++++++++++++++++++++++++++++++++++++++++++
3383 gi/pygi-array.h | 42 +++
3384 gi/pygi-cache.c | 236 +-----------
3385 gi/pygi-marshal-cleanup.c | 150 --------
3386 gi/pygi-marshal-cleanup.h | 10 -
3387 gi/pygi-marshal-from-py.c | 354 ------------------
3388 gi/pygi-marshal-from-py.h | 6 -
3389 gi/pygi-marshal-to-py.c | 210 -----------
3390 gi/pygi-marshal-to-py.h | 4 -
3391 10 files changed, 963 insertions(+), 957 deletions(-)
3393 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
3394 Author: Simon Feltman <sfeltman@src.gnome.org>
3395 Date: Fri Oct 11 23:26:08 2013 -0700
3397 cache refactoring: Move GList/GSList arg setup and marshaling into
3400 Move GList and GSList argument caching and marshaling fragments
3402 isolated file: pygi-list.c.
3404 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3406 gi/Makefile.am | 2 +
3407 gi/pygi-cache.c | 71 ++-----
3408 gi/pygi-list.c | 466
3409 ++++++++++++++++++++++++++++++++++++++++++++++
3410 gi/pygi-list.h | 38 ++++
3411 gi/pygi-marshal-cleanup.c | 80 --------
3412 gi/pygi-marshal-cleanup.h | 10 -
3413 gi/pygi-marshal-from-py.c | 156 ----------------
3414 gi/pygi-marshal-from-py.h | 12 --
3415 gi/pygi-marshal-to-py.c | 98 ----------
3416 gi/pygi-marshal-to-py.h | 8 -
3417 10 files changed, 517 insertions(+), 424 deletions(-)
3419 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
3420 Author: Simon Feltman <sfeltman@src.gnome.org>
3421 Date: Fri Oct 11 21:30:45 2013 -0700
3423 cache refactoring: Break sequence cache up for array vs list
3425 Add new arg cache type specialized for arrays. This cleans up
3427 sequence cache type which does not need length and size related
3429 fixed length checks from GList and GSList from_py marshaling
3433 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3435 gi/pygi-cache.c | 160
3436 +++++++++++++++++++++++++++++++++++-----------
3437 gi/pygi-cache.h | 16 ++++-
3438 gi/pygi-invoke.c | 4 +-
3439 gi/pygi-marshal-cleanup.c | 28 ++++----
3440 gi/pygi-marshal-from-py.c | 37 ++++-------
3441 gi/pygi-marshal-to-py.c | 23 +++----
3442 6 files changed, 177 insertions(+), 91 deletions(-)
3444 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
3445 Author: Simon Feltman <sfeltman@src.gnome.org>
3446 Date: Fri Oct 11 20:12:01 2013 -0700
3448 cache refactoring: Move basic type arg setup and marshaling into
3451 Move all basic type arg caching and marshaling fragments into
3453 file where most functions are made static. pygi-basictype.h exposes:
3454 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
3456 _pygi_marshal_to_py_basic_type which allows continued use for all
3460 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3462 gi/Makefile.am | 2 +
3463 gi/pygi-argument.c | 1 +
3464 gi/pygi-basictype.c | 824
3465 ++++++++++++++++++++++++++++++++++++++++++++++
3466 gi/pygi-basictype.h | 42 +++
3467 gi/pygi-cache.c | 82 +----
3468 gi/pygi-cache.h | 1 +
3469 gi/pygi-marshal-cleanup.c | 26 --
3470 gi/pygi-marshal-cleanup.h | 10 -
3471 gi/pygi-marshal-from-py.c | 478 ---------------------------
3472 gi/pygi-marshal-from-py.h | 18 -
3473 gi/pygi-marshal-to-py.c | 155 ---------
3474 gi/pygi-marshal-to-py.h | 11 -
3475 12 files changed, 880 insertions(+), 770 deletions(-)
3477 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
3478 Author: Simon Feltman <sfeltman@src.gnome.org>
3479 Date: Fri Oct 11 17:39:31 2013 -0700
3481 cache refactoring: Move PyGIHashCache and related marshaling into
3484 Re-organize hash table arg cache and its marshaling by moving all
3485 related code fragments into an isolated file where most of it is made
3486 static. pygi-hashtable.h exposes a single function:
3487 pygi_arg_hash_table_new_from_info. This is all the caching system
3489 produce the proper bits for handling hash table marshaling.
3491 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3493 gi/Makefile.am | 4 +-
3494 gi/pygi-cache.c | 103 +-----------
3495 gi/pygi-cache.h | 21 ++-
3496 gi/pygi-hashtable.c | 413
3497 ++++++++++++++++++++++++++++++++++++++++++++++
3498 gi/pygi-hashtable.h | 35 ++++
3499 gi/pygi-marshal-cleanup.c | 63 -------
3500 gi/pygi-marshal-cleanup.h | 10 --
3501 gi/pygi-marshal-from-py.c | 125 --------------
3502 gi/pygi-marshal-from-py.h | 6 -
3503 gi/pygi-marshal-to-py.c | 85 ----------
3504 gi/pygi-marshal-to-py.h | 4 -
3505 11 files changed, 471 insertions(+), 398 deletions(-)
3507 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
3508 Author: Simon Feltman <sfeltman@src.gnome.org>
3509 Date: Fri Oct 11 15:49:32 2013 -0700
3511 cache refactoring: Separate ArgCache creation and setup
3513 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
3514 functions: pygi_arg_base_setup and pygi_arg_interface_setup
3516 Shift argument order and move arguments which will eventually
3518 from the signature into the tail with comment. Isolate special
3520 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
3521 _arg_cache_new_for_interface.
3523 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3525 gi/pygi-cache.c | 263
3526 ++++++++++++++++++++++++++++++++------------------------
3527 gi/pygi-cache.h | 15 ++++
3528 2 files changed, 167 insertions(+), 111 deletions(-)
3530 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
3531 Author: Simon Feltman <sfeltman@src.gnome.org>
3532 Date: Sun Feb 2 15:52:24 2014 -0800
3534 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
3536 https://bugzilla.gnome.org/show_bug.cgi?id=722899
3538 tests/test_gi.py | 3 +++
3539 1 file changed, 3 insertions(+)
3541 commit e79d2acc54c1e3b052835de5de20feb0b7069476
3542 Author: Mike Gorse <mgorse@suse.com>
3543 Date: Fri Jan 24 05:17:06 2014 -0600
3545 tests: Add test for an owned boxed struct passed in a callback
3547 https://bugzilla.gnome.org/show_bug.cgi?id=722899
3549 tests/test_gi.py | 11 +++++++++++
3550 1 file changed, 11 insertions(+)
3552 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
3553 Author: Simon Feltman <sfeltman@src.gnome.org>
3554 Date: Thu Jan 23 17:19:12 2014 -0800
3556 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
3558 Rename GIObjectMeta to GObjectMeta reverting it to its original
3560 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
3561 That change could have been considered an API break for anyone
3563 gi.types.GObjectMeta since it is essentially public API. Rename
3565 class to _GObjectMetaBase which was previously gi._gobject before
3566 commit 2624bd2b (private API).
3568 gi/module.py | 8 ++++----
3569 gi/types.py | 10 +++++-----
3570 2 files changed, 9 insertions(+), 9 deletions(-)
3572 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
3573 Author: Patrick Welche <prlw1@cam.ac.uk>
3574 Date: Thu Jan 23 23:49:51 2014 +0000
3576 build: Add --without-common configure option for package maintainers
3578 https://bugzilla.gnome.org/show_bug.cgi?id=721646
3581 configure.ac | 7 +++++++
3582 gi/Makefile.am | 2 ++
3583 3 files changed, 11 insertions(+)
3585 commit df21dbbc84fa319af2a0f0664de436ca30df616e
3586 Author: Simon Feltman <sfeltman@src.gnome.org>
3587 Date: Thu Jan 16 16:33:41 2014 -0800
3589 tests: Add skipped test for GLib.Source inheritance problems
3591 Add test showing memory problems with sub-classes of GLib.Source.
3593 https://bugzilla.gnome.org/show_bug.cgi?id=722387
3595 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
3596 1 file changed, 45 insertions(+)
3598 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
3599 Author: Simon Feltman <sfeltman@src.gnome.org>
3600 Date: Wed Jan 15 12:51:57 2014 -0800
3602 Fix reference sharing of gi sub-modules in Python 2
3604 Ensure we add a new reference to sub-modules added to gi._gi. This may
3605 have caused GC errors upon exiting the Python process since a
3607 shared by sys.modules and gi._gi.
3609 https://bugzilla.gnome.org/show_bug.cgi?id=722274
3611 gi/gimodule.c | 11 +++++++++++
3612 1 file changed, 11 insertions(+)
3614 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
3615 Author: Simon Feltman <sfeltman@src.gnome.org>
3616 Date: Tue Jan 14 23:46:44 2014 -0800
3618 demo: Add TreeModel interface implementation demonstration
3620 Add demo which shows how to implement the Gtk.TreeModel interfaces
3624 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
3625 +++++++++++++++++++++++
3626 1 file changed, 143 insertions(+)
3628 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
3629 Author: Simon Feltman <sfeltman@src.gnome.org>
3630 Date: Tue Jan 14 23:33:16 2014 -0800
3632 demo: Remove "Icon View" and "Tree View" directories
3634 demos/gtk-demo/demos/Icon View/__init__.py | 0
3635 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
3636 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
3637 demos/gtk-demo/demos/Tree View/__init__.py | 0
3638 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
3639 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
3641 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
3642 ---------------------
3643 7 files changed, 1041 deletions(-)
3645 commit f89fa08ba756a1c529ff48beb39025f834a249bf
3646 Author: Simon Feltman <sfeltman@src.gnome.org>
3647 Date: Tue Jan 14 23:08:33 2014 -0800
3649 demo: Remove spaces from demo sub-directories
3651 Move "Icon View" to IconView and "Tree View" to TreeView. This
3653 ability to package the demos in tarball releases in future versions.
3655 demos/gtk-demo/demos/IconView/__init__.py | 0
3656 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
3657 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
3658 demos/gtk-demo/demos/TreeView/__init__.py | 0
3659 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
3660 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
3662 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
3663 +++++++++++++++++++++
3664 7 files changed, 1041 insertions(+)
3666 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
3667 Author: Simon Feltman <sfeltman@src.gnome.org>
3668 Date: Tue Jan 14 14:28:52 2014 -0800
3670 build: Remove _glib directory include from testhelper CFLAGS
3672 tests/Makefile.am | 2 +-
3673 1 file changed, 1 insertion(+), 1 deletion(-)
3675 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
3676 Author: Colin Walters <walters@verbum.org>
3677 Date: Tue Jan 14 16:33:38 2014 -0500
3679 build: Set PLATFORM_VERSION again to 3.0
3681 We are installing headers to:
3682 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
3684 If the variable isn't set, then things attempting to use pygobject
3687 This was a regression from a build system refactoring.
3689 gi/Makefile.am | 2 ++
3690 1 file changed, 2 insertions(+)
3692 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
3693 Author: Simon Feltman <sfeltman@src.gnome.org>
3694 Date: Tue Jan 14 12:54:42 2014 -0800
3696 Fix Python 2 build warning for module definitions
3698 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
3700 needed now that the function signature created with
3701 PYGLIB_MODULE_START is
3702 consistent between the two versions.
3704 gi/pyglib-python-compat.h | 5 ++---
3705 1 file changed, 2 insertions(+), 3 deletions(-)
3707 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
3708 Author: Simon Feltman <sfeltman@src.gnome.org>
3709 Date: Tue Jan 14 12:26:16 2014 -0800
3711 tests: Run PyFlakes and PEP8 only on SUBDIRS
3713 Move PyFlakes and PEP8 checks into check-local of the root
3715 run these tools on selective subdirs of top_srcdir. This fixes
3717 where vpath build directories within the srcdir would contain links
3719 source files, causing these tools to run multiple times slowing
3723 Makefile.am | 21 ++++++++++++++++++++-
3724 tests/Makefile.am | 6 ------
3725 2 files changed, 20 insertions(+), 7 deletions(-)
3727 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
3728 Author: Simon Feltman <sfeltman@src.gnome.org>
3729 Date: Tue Jan 14 12:25:09 2014 -0800
3731 Remove _glib include path from gi module target
3733 gi/Makefile.am | 7 ++-----
3734 1 file changed, 2 insertions(+), 5 deletions(-)
3736 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
3737 Author: Simon Feltman <sfeltman@src.gnome.org>
3738 Date: Wed Jan 8 19:22:08 2014 -0800
3740 Move Python glib options module into gi package
3742 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
3746 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3750 gi/Makefile.am | 1 -
3751 gi/_glib/Makefile.am | 21 ---
3752 gi/_glib/__init__.py | 20 ---
3753 gi/_glib/option.py | 363
3754 ------------------------------------------------
3756 ++++++++++++++++++++++++++++++++++++++++++++++++
3757 gi/overrides/GLib.py | 2 +-
3758 gi/overrides/GObject.py | 2 +-
3759 9 files changed, 367 insertions(+), 409 deletions(-)
3761 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
3762 Author: Simon Feltman <sfeltman@src.gnome.org>
3763 Date: Wed Jan 8 18:57:58 2014 -0800
3765 Merge static PyGLib module into PyGI
3767 Remove gi._glib._glib as a separately compiled module. Move all C
3769 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
3771 shared dependency since we do not distribute header files for it.
3772 Remove unused threading macros.
3774 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3776 gi/Makefile.am | 16 +-
3777 gi/_glib/Makefile.am | 74 +------
3778 gi/_glib/__init__.py | 5 -
3779 gi/_glib/glibmodule.c | 103 ---------
3780 gi/_glib/option.py | 2 +-
3781 gi/_glib/pyglib-private.h | 49 -----
3782 gi/_glib/pyglib-python-compat.h | 195 -----------------
3783 gi/_glib/pyglib.c | 475
3784 ----------------------------------------
3785 gi/_glib/pyglib.h | 77 -------
3786 gi/_glib/pygoptioncontext.c | 337 ----------------------------
3787 gi/_glib/pygoptioncontext.h | 39 ----
3788 gi/_glib/pygoptiongroup.c | 298 -------------------------
3789 gi/_glib/pygoptiongroup.h | 42 ----
3790 gi/_glib/pygspawn.c | 259 ----------------------
3791 gi/_glib/pygspawn.h | 32 ---
3793 gi/glibmodule.c | 77 +++++++
3794 gi/gobjectmodule.c | 5 +-
3795 gi/overrides/GLib.py | 2 +-
3796 gi/pyglib-private.h | 43 ++++
3797 gi/pyglib-python-compat.h | 195 +++++++++++++++++
3798 gi/pyglib.c | 402 ++++++++++++++++++++++++++++++++++
3799 gi/pyglib.h | 67 ++++++
3800 gi/pygoptioncontext.c | 337 ++++++++++++++++++++++++++++
3801 gi/pygoptioncontext.h | 39 ++++
3802 gi/pygoptiongroup.c | 298 +++++++++++++++++++++++++
3803 gi/pygoptiongroup.h | 42 ++++
3804 gi/pygspawn.c | 259 ++++++++++++++++++++++
3805 gi/pygspawn.h | 32 +++
3806 29 files changed, 1819 insertions(+), 1991 deletions(-)
3808 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
3809 Author: Simon Feltman <sfeltman@src.gnome.org>
3810 Date: Thu Oct 31 03:13:53 2013 -0700
3812 Move gobject sub-module Python files into the main gi package
3814 This moves the signalhelper, propertyhelper, and constants Python
3816 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
3818 still needed to maintain the "_PyGObject_API" exposed by
3820 allows external modules compiled with prior versions of PyGObject to
3821 continue working with newer versions.
3823 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3826 gi/__init__.py | 19 +-
3827 gi/_constants.py | 49 +++++
3828 gi/_gobject/Makefile.am | 5 +-
3829 gi/_gobject/__init__.py | 42 +----
3830 gi/_gobject/constants.py | 50 -----
3831 gi/_gobject/propertyhelper.py | 417
3832 ------------------------------------------
3833 gi/_gobject/signalhelper.py | 259 --------------------------
3834 gi/_propertyhelper.py | 417
3835 ++++++++++++++++++++++++++++++++++++++++++
3836 gi/_signalhelper.py | 258 ++++++++++++++++++++++++++
3837 gi/module.py | 16 +-
3838 gi/overrides/GObject.py | 7 +-
3839 gi/overrides/__init__.py | 2 +-
3840 gi/types.py | 41 ++++-
3841 pygtkcompat/pygtkcompat.py | 4 +-
3842 tests/test_gi.py | 2 +-
3843 tests/test_gobject.py | 4 +-
3844 tests/test_properties.py | 2 +-
3845 tests/test_signal.py | 2 +-
3846 19 files changed, 796 insertions(+), 805 deletions(-)
3848 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
3849 Author: Simon Feltman <sfeltman@src.gnome.org>
3850 Date: Thu Oct 31 02:22:03 2013 -0700
3852 Merge gobject static code into the gi module
3854 Remove gi._gobject._gobject as a separately compiled static module and
3855 move all the files into gi._gi.
3856 Remove dead module initialization macros from "pyglib-python-compat.h"
3858 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3860 gi/Makefile.am | 31 +-
3861 gi/_glib/pyglib-python-compat.h | 62 +-
3862 gi/_gobject/Makefile.am | 69 +-
3863 gi/_gobject/__init__.py | 4 +-
3864 gi/_gobject/constants.py | 3 +-
3865 gi/_gobject/gobjectmodule.c | 2213
3866 -----------------------------------
3867 gi/_gobject/propertyhelper.py | 16 +-
3868 gi/_gobject/pygboxed.c | 235 ----
3869 gi/_gobject/pygboxed.h | 27 -
3870 gi/_gobject/pygenum.c | 371 ------
3871 gi/_gobject/pygenum.h | 27 -
3872 gi/_gobject/pygflags.c | 497 --------
3873 gi/_gobject/pygflags.h | 27 -
3874 gi/_gobject/pyginterface.c | 124 --
3875 gi/_gobject/pyginterface.h | 40 -
3876 gi/_gobject/pygobject-private.h | 204 ----
3877 gi/_gobject/pygobject.c | 2473
3878 ---------------------------------------
3879 gi/_gobject/pygobject.h | 636 ----------
3880 gi/_gobject/pygparamspec.c | 418 -------
3881 gi/_gobject/pygparamspec.h | 31 -
3882 gi/_gobject/pygpointer.c | 198 ----
3883 gi/_gobject/pygpointer.h | 27 -
3884 gi/_gobject/pygtype.c | 1927 ------------------------------
3885 gi/_gobject/pygtype.h | 28 -
3886 gi/_gobject/signalhelper.py | 3 +-
3887 gi/gimodule.c | 13 +-
3888 gi/gobjectmodule.c | 2213
3889 +++++++++++++++++++++++++++++++++++
3891 gi/pygboxed.c | 235 ++++
3892 gi/pygboxed.h | 27 +
3893 gi/pygenum.c | 371 ++++++
3895 gi/pygflags.c | 497 ++++++++
3896 gi/pygflags.h | 27 +
3897 gi/pygi-argument.c | 3 +-
3898 gi/pygi-boxed.c | 2 +-
3899 gi/pygi-ccallback.c | 2 +-
3900 gi/pygi-foreign.c | 2 +-
3901 gi/pygi-info.c | 2 +-
3902 gi/pygi-marshal-to-py.c | 3 +-
3903 gi/pygi-private.h | 2 +-
3904 gi/pygi-source.c | 3 +-
3905 gi/pygi-struct.c | 2 +-
3907 gi/pyginterface.c | 124 ++
3908 gi/pyginterface.h | 40 +
3909 gi/pygobject-private.h | 205 ++++
3910 gi/pygobject.c | 2473
3911 +++++++++++++++++++++++++++++++++++++++
3912 gi/pygobject.h | 636 ++++++++++
3913 gi/pygparamspec.c | 418 +++++++
3914 gi/pygparamspec.h | 33 +
3915 gi/pygpointer.c | 198 ++++
3916 gi/pygpointer.h | 27 +
3917 gi/pygtype.c | 1927 ++++++++++++++++++++++++++++++
3920 tests/Makefile.am | 2 +-
3921 57 files changed, 9594 insertions(+), 9649 deletions(-)
3923 commit a329f559002f2be0898309c9d81cdf2c34aef158
3924 Author: Simon Feltman <sfeltman@src.gnome.org>
3925 Date: Tue Jan 14 10:15:53 2014 -0800
3927 tests: Fix test_torture_profile to return a number from its callback
3929 Return a number from rather than None from the callback passed to
3930 regress_test_torture_signature_2. This fixes a TypeError being
3932 callback return argument marshaling which was ignored by the test
3935 tests/test_everything.py | 2 +-
3936 1 file changed, 1 insertion(+), 1 deletion(-)
3938 commit a50a8386aae54dace7e46569415fdef85758fb9c
3939 Author: Martin Pitt <martinpitt@gnome.org>
3940 Date: Tue Jan 14 08:53:25 2014 +0100
3942 Add test for callback user data arguments with following arguments
3944 In this case we can't use the varargs userdata handling. Provides
3946 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
3948 tests/test_everything.py | 48
3949 ++++++++++++++++++++++++++++++++++++++++++++++++
3950 1 file changed, 48 insertions(+)
3952 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
3953 Author: Simon Feltman <sfeltman@src.gnome.org>
3954 Date: Mon Jan 13 08:19:02 2014 -0800
3956 valgrind: Add suppression files for python3.3 and python3.3dm
3958 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
3959 suppression filename in the various make check.valgrind
3961 python.supp to python2.7.supp
3963 tests/Makefile.am | 6 +-
3964 tests/python.supp | 387 ----------------------------------------
3965 tests/python2.7.supp | 387 ++++++++++++++++++++++++++++++++++++++++
3966 tests/python3.3.supp | 471
3967 +++++++++++++++++++++++++++++++++++++++++++++++++
3968 tests/python3.3dm.supp | 471
3969 +++++++++++++++++++++++++++++++++++++++++++++++++
3970 5 files changed, 1332 insertions(+), 390 deletions(-)
3972 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
3973 Author: Simon Feltman <sfeltman@src.gnome.org>
3974 Date: Mon Jan 13 18:53:55 2014 -0800
3976 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
3978 Make sure NEWS generation uses top_srcdir to allow "make release-news"
3980 work under a vpath build (directory outside the source tree).
3981 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
3983 where running "make dist" under a vpath build directory would
3987 Makefile.am | 6 +++---
3988 1 file changed, 3 insertions(+), 3 deletions(-)
3990 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
3991 Author: Simon Feltman <sfeltman@src.gnome.org>
3992 Date: Mon Jan 13 18:53:02 2014 -0800
3994 Update HACKING to include better release tagging instructions
3996 HACKING | 15 ++++++++-------
3997 1 file changed, 8 insertions(+), 7 deletions(-)
3999 commit c0a43d259c003c5d06db23debd0675b87e805b74
4000 Author: Simon Feltman <sfeltman@src.gnome.org>
4001 Date: Mon Jan 13 17:20:17 2014 -0800
4003 configure.ac: post release version bump to 3.11.5
4005 NEWS | 16 ++++++++++++++++
4007 2 files changed, 17 insertions(+), 1 deletion(-)
4009 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
4010 Author: Simon Feltman <sfeltman@src.gnome.org>
4011 Date: Mon Jan 13 16:51:41 2014 -0800
4013 Fix mid-argument list callback user data expecting a tuple
4015 Ensure user data arguments are always packed into a tuple during
4017 marshaling. This fixes cases where there is mid-argument user data
4019 not in the form of a variable length tuple.
4021 https://bugzilla.gnome.org/show_bug.cgi?id=722104
4023 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
4024 1 file changed, 15 insertions(+), 1 deletion(-)
4026 commit 415b240e3baab522f3bf9752995610f950ba609e
4027 Author: Simon Feltman <sfeltman@src.gnome.org>
4028 Date: Tue Oct 15 03:57:52 2013 -0700
4030 Remove special case GObject base class check when creating GI classes
4032 Replace explicit GObject.Object string name check when calculating the
4033 introspection class hierarchy with a more generalized technique. This
4035 any C based wrapper of a GType to "underride" an introspection class
4036 automatically. This currently only handles the case of GObject.Object,
4038 will be used for fundamentals and GParamSpec.
4040 https://bugzilla.gnome.org/show_bug.cgi?id=631901
4042 gi/module.py | 17 +++++++++++------
4043 1 file changed, 11 insertions(+), 6 deletions(-)
4045 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
4046 Author: Simon Feltman <sfeltman@src.gnome.org>
4047 Date: Tue Jan 7 09:16:54 2014 -0800
4049 overrides: Fix __repr__ for various Gdk structs
4051 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
4053 string reprentation that is valid Python given an expected
4055 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
4057 gi/overrides/Gdk.py | 10 +++++-----
4058 tests/test_atoms.py | 7 +++++--
4059 tests/test_overrides_gdk.py | 9 +++++++++
4060 3 files changed, 19 insertions(+), 7 deletions(-)
4062 commit f6a87935596a3b59c238a5572b288f34691b53d1
4063 Author: Simon Feltman <sfeltman@src.gnome.org>
4064 Date: Tue Jan 7 07:31:22 2014 -0800
4066 docs: Fix array length argument skipping with preceding out arguments
4068 Remove split_function_info_args and use a list of all arguments for
4069 generating skipped index lists. Determine argument skipping based
4071 full argument list in each in/inout and out/inout argument list
4073 This fixes a problem where out arguments preceding array length
4075 would still show array length arguments in the docstring. This was
4077 index mismatch when using split lists instead of list of all
4080 gi/docstring.py | 38 ++++++++++++--------------------------
4081 tests/test_docstring.py | 37 +++++++++++++++----------------------
4082 2 files changed, 27 insertions(+), 48 deletions(-)
4084 commit f114edc0a0afa64077a13459034afc4255b7a3f1
4085 Author: Simon Feltman <sfeltman@src.gnome.org>
4086 Date: Mon Jan 6 22:10:47 2014 -0800
4088 overrides: Remove GLib.Source.attach
4090 Remove GLib.Source.attach override now that tail end allow-none
4092 default to None when not specified.
4094 gi/overrides/GLib.py | 5 -----
4095 tests/test_glib.py | 7 +++++++
4096 2 files changed, 7 insertions(+), 5 deletions(-)
4098 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
4099 Author: Simon Feltman <sfeltman@src.gnome.org>
4100 Date: Mon Jan 6 21:42:09 2014 -0800
4102 overrides: Remove Gtk overrides with tail end allow-none keywords
4104 Remove overrides for Widget.render_icon, TextIter.begins_tag,
4106 toggles_tag, and TreeModel.filter_new. These overrides added an
4107 optional keyword=None for allow-none arguments. This is now implicitly
4108 accepted by the PyGObject machinery so the overrides can go away.
4110 gi/overrides/Gtk.py | 16 ----------------
4111 tests/test_overrides_gtk.py | 11 +++++++++++
4112 2 files changed, 11 insertions(+), 16 deletions(-)
4114 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
4115 Author: Simon Feltman <sfeltman@src.gnome.org>
4116 Date: Mon Jan 6 21:22:41 2014 -0800
4118 overrides: Remove Pango.Context.get_metrics
4120 Remove the override for Pango.Context and the get_metrics method. This
4122 be done now that tail end method arguments with "allow-none"
4124 defaulted to use None/NULL.
4126 gi/overrides/Pango.py | 9 ---------
4127 tests/test_overrides_pango.py | 12 ++++++++++++
4128 2 files changed, 12 insertions(+), 9 deletions(-)
4130 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
4131 Author: Simon Feltman <sfeltman@src.gnome.org>
4132 Date: Mon Jan 6 17:35:04 2014 -0800
4134 Add enum and flags member methods
4136 Add all methods from GIEnumInfo to both enums and flags classes.
4138 https://bugzilla.gnome.org/show_bug.cgi?id=693099
4141 tests/test_gi.py | 9 +++++++++
4142 2 files changed, 11 insertions(+)
4144 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
4145 Author: Patrick Welche <prlw1@cam.ac.uk>
4146 Date: Mon Jan 6 22:31:48 2014 +0000
4148 python.m4: g/c JD_PYTHON_CHECK_VERSION
4150 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
4151 is identical (made here).
4153 https://bugzilla.gnome.org/show_bug.cgi?id=721662
4155 configure.ac | 4 ++--
4156 m4/python.m4 | 23 ++---------------------
4157 2 files changed, 4 insertions(+), 23 deletions(-)
4159 commit aaaead18e2167c2becb309f1d9ae199222c0256b
4160 Author: Simon Feltman <sfeltman@src.gnome.org>
4161 Date: Sat Jan 4 16:31:56 2014 -0800
4163 Support union creation with PyGIStruct
4165 Add additional case for allowing the creation bare unions wrapped with
4166 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
4169 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
4170 tests/test_repository.py | 13 +++++++++++++
4171 2 files changed, 47 insertions(+), 5 deletions(-)
4173 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
4174 Author: Simon Feltman <sfeltman@src.gnome.org>
4175 Date: Sat Jan 4 16:07:44 2014 -0800
4177 Fix crash in error handling when creating struct with mismatched
4180 Error handling code was attempting to get the PyType of a pointer to a
4181 pointer. Use the correct amount of indirection so an exception is
4183 intended rather than a segfault.
4185 gi/pygi-info.c | 2 +-
4186 1 file changed, 1 insertion(+), 1 deletion(-)
4188 commit 07abf8343bbeac6f36d370ced654fa6506b22175
4189 Author: Simon Feltman <sfeltman@src.gnome.org>
4190 Date: Wed Jan 1 20:23:17 2014 -0800
4192 docs: Skip display of default constructor for disguised structs
4194 Structs which have zero length should now show a default constructor.
4195 Structs with a length should not show keyword arguments in the default
4198 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4200 gi/docstring.py | 9 ++++++++-
4201 tests/test_docstring.py | 18 ++++++++++++++++--
4202 2 files changed, 24 insertions(+), 3 deletions(-)
4204 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
4205 Author: Simon Feltman <sfeltman@src.gnome.org>
4206 Date: Wed Jan 1 19:57:06 2014 -0800
4208 Cleanup disguised struct constructor error and add it to boxed
4210 Give a cleaner error message when an attempt is made to create
4212 struct which also gives a hint to look at the pydoc. Add similar
4214 disguised boxed/unions.
4216 https://bugzilla.gnome.org/show_bug.cgi?id=647249
4218 gi/pygi-boxed.c | 17 ++++++++++++++---
4219 gi/pygi-struct.c | 2 +-
4220 tests/test_everything.py | 1 -
4221 tests/test_glib.py | 4 ++++
4222 4 files changed, 19 insertions(+), 5 deletions(-)
4224 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
4225 Author: Simon Feltman <sfeltman@src.gnome.org>
4226 Date: Wed Jan 1 19:54:59 2014 -0800
4228 docs: List default constructor in doc strings
4230 Add default constructor to class docs strings as:
4231 Object(**properties)
4233 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4235 gi/docstring.py | 10 ++++------
4236 1 file changed, 4 insertions(+), 6 deletions(-)
4238 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
4239 Author: Simon Feltman <sfeltman@src.gnome.org>
4240 Date: Wed Jan 1 17:34:32 2014 -0800
4242 docs: List constructors in object and struct doc strings
4244 Add type dispatching to gi.docstring documentation generator for
4246 of StructInfo and ObjectInfo. Add lazy doc string generation to
4247 Object and Struct meta classes by using a property for __doc__. This
4249 available constructors immediately in all GObject.Object and Struct
4255 Button(**properties)
4257 new_from_icon_name(icon_name:str, size:int)
4258 new_from_stock(stock_id:str)
4259 new_with_label(label:str)
4260 new_with_mnemonic(label:str)
4262 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4264 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
4265 gi/types.py | 9 +++++++++
4266 tests/test_docstring.py | 8 ++++++++
4267 3 files changed, 46 insertions(+), 7 deletions(-)
4269 commit 44612636575dd93c97210a7255c4490e2c84db67
4270 Author: Simon Feltman <sfeltman@src.gnome.org>
4271 Date: Wed Jan 1 17:10:15 2014 -0800
4273 docs: Cleanup PyGIBaseInfo repr
4275 Remove angle brackets and pointer address from
4276 PyGIBaseInfo.__repr__. This
4277 cleans up documentation and makes it easier to read.
4279 gi/pygi-info.c | 5 ++---
4280 1 file changed, 2 insertions(+), 3 deletions(-)
4282 commit 826c0e63eabac68fd665335950d311988a1405e3
4283 Author: Simon Feltman <sfeltman@src.gnome.org>
4284 Date: Tue Dec 31 21:45:21 2013 -0800
4286 docs: Add return values and skip implicit out arguments in functions
4288 Add gi.CallableInfo.skip_return static binding for testing if
4290 value should show up in docs. Skip implicit list index arguments
4294 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4296 gi/docstring.py | 26 +++++++++++++++++++++-----
4297 gi/pygi-info.c | 7 +++++++
4298 tests/test_docstring.py | 6 ++++++
4299 3 files changed, 34 insertions(+), 5 deletions(-)
4301 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
4302 Author: Simon Feltman <sfeltman@src.gnome.org>
4303 Date: Tue Dec 31 21:15:27 2013 -0800
4305 docs: Replace usage of functools.wraps with a custom version
4307 Using functools.wraps in overrides would cause docstring evaluation
4309 can hurt performance during overrides loading. Add custom wraps
4311 which only copies __name__ and __module__ attributes. Remove function
4312 wrapping used within gi.overrides.overridefunc because the wrapping
4314 doing anything, this preserves __doc__ ability without causing an
4318 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4320 gi/overrides/GObject.py | 3 +--
4321 gi/overrides/__init__.py | 21 ++++++++++++---------
4322 2 files changed, 13 insertions(+), 11 deletions(-)
4324 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
4325 Author: Simon Feltman <sfeltman@src.gnome.org>
4326 Date: Tue Dec 31 19:42:02 2013 -0800
4328 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
4330 Move the C implementation of pytype hinting into pure Python. Now that
4331 doc strings are lazily evaluated we can simplify this tedious bit of C
4332 code with Python. This is precursory work for getting return
4334 function doc strings.
4336 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4338 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
4339 gi/pygi-info.c | 49 ----------------------------------------
4341 ------------------------------------------------
4342 gi/pygi-type.h | 2 --
4343 tests/test_docstring.py | 8 ++++---
4344 tests/test_repository.py | 1 -
4345 6 files changed, 52 insertions(+), 116 deletions(-)
4347 commit 28a178e385e32c56910f1c430b370a8872218081
4348 Author: Simon Feltman <sfeltman@src.gnome.org>
4349 Date: Tue Dec 31 17:50:36 2013 -0800
4351 docs: Skip implicit array length args when building function doc
4354 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4356 gi/docstring.py | 8 ++++++--
4357 tests/test_docstring.py | 4 ++++
4358 2 files changed, 10 insertions(+), 2 deletions(-)
4360 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
4361 Author: Simon Feltman <sfeltman@src.gnome.org>
4362 Date: Tue Dec 31 13:41:20 2013 -0800
4364 gtk-demo: Avoid crash in CSS demos
4366 Avoid a potential crash in the CSS demos where the text editing
4368 out of sync with the last good CSS parsing buffer. In the case of CSS
4369 warnings, we get a parsing-error callback but no exception is raised.
4370 This would cause the buffers to become out of sync and accessing
4372 information from the parsing-error section would crash the text
4374 to an out of range iterator being created.
4376 demos/gtk-demo/demos/Css/css_basics.py | 31
4377 +++++++++++++++++++++--------
4378 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
4379 +++++++++++++++++++++--------
4380 2 files changed, 46 insertions(+), 16 deletions(-)
4382 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
4383 Author: Simon Feltman <sfeltman@src.gnome.org>
4384 Date: Tue Dec 31 02:05:46 2013 -0800
4386 gtk-demo: Add info bar and better error handling to CSS demos
4388 Use an info bar for displaying CSS parsing errors. Store the last good
4389 stylesheet text for use as a backup when a parsing error occures. This
4391 a seamless look while typing changes into the text editor.
4393 https://bugzilla.gnome.org/show_bug.cgi?id=719722
4395 demos/gtk-demo/demos/Css/css_basics.py | 28
4396 +++++++++++++++++++++-------
4397 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
4398 ++++++++++++++++++++++-------
4399 2 files changed, 43 insertions(+), 14 deletions(-)
4401 commit becb56734e13df182fd31cfe46c465477dfc4d2c
4402 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
4403 Date: Mon Dec 30 16:36:28 2013 +0100
4405 gtk-demo: Add CSS demos
4407 Add a couple of demos demostrating the use of CSS, the css files are
4408 stored into a GResource binary file compiled with
4409 glib-compile-resources,
4410 the comments in gtk-demo.py explain the usage of GResource.
4412 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
4414 https://bugzilla.gnome.org/show_bug.cgi?id=719722
4417 demos/gtk-demo/demos/Css/__init__.py | 0
4418 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
4419 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
4420 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
4421 ++++++++++++++++++++++++++
4422 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
4423 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
4424 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
4425 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
4426 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
4427 ++++++++++++++++++++++
4428 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
4429 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
4430 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
4431 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
4432 demos/gtk-demo/gtk-demo.py | 16 ++-
4433 15 files changed, 723 insertions(+), 1 deletion(-)
4435 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
4436 Author: Colin Watson <cjwatson@ubuntu.com>
4437 Date: Tue Dec 24 22:19:02 2013 +0000
4439 build: Avoid clash between gi/types.py and stdlib
4441 Use non-recursive make for the Python modules in gi/ to work around a
4442 clash between gi/types.py and the standard library's types module when
4445 https://bugzilla.gnome.org/show_bug.cgi?id=721025
4447 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
4449 Makefile.am | 24 ++++++++++++++++++++++++
4450 gi/Makefile.am | 20 ++------------------
4451 2 files changed, 26 insertions(+), 18 deletions(-)
4453 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
4454 Author: Simon Feltman <sfeltman@src.gnome.org>
4455 Date: Mon Dec 16 04:17:28 2013 -0800
4457 configure.ac: post-release bump to 3.11.4
4460 1 file changed, 1 insertion(+), 1 deletion(-)
4462 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
4463 Author: Simon Feltman <sfeltman@src.gnome.org>
4464 Date: Mon Dec 16 04:10:54 2013 -0800
4469 1 file changed, 4 insertions(+)
4471 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
4472 Author: Simon Feltman <sfeltman@src.gnome.org>
4473 Date: Thu Dec 12 01:35:11 2013 -0800
4475 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
4477 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
4479 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
4480 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
4481 we can use the GIStructInfo API for boxed types because we also
4483 base classes on GType checks as seen in:
4484 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
4485 This fixes some of the issues noted in bug 581525.
4487 https://bugzilla.gnome.org/show_bug.cgi?id=581525
4489 gi/pygi-info.c | 13 +------------
4490 1 file changed, 1 insertion(+), 12 deletions(-)
4492 commit b3c85eec75c62c138c136531ebe49a33351941f0
4493 Author: Simon Feltman <sfeltman@src.gnome.org>
4494 Date: Sun Nov 17 20:12:50 2013 -0800
4496 configure.ac: post release version bump to 3.11.3
4499 1 file changed, 1 insertion(+), 1 deletion(-)
4501 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
4502 Author: Simon Feltman <sfeltman@src.gnome.org>
4503 Date: Sun Nov 17 20:04:49 2013 -0800
4508 1 file changed, 6 insertions(+)
4510 commit 6fc3d977f17397e514aed492055e93d03c410f60
4511 Author: Simon Feltman <sfeltman@src.gnome.org>
4512 Date: Tue Nov 12 23:04:50 2013 -0800
4514 gtk-demo: Fix pyflakes error after recent commit
4516 demos/gtk-demo/demos/pixbuf.py | 2 +-
4517 1 file changed, 1 insertion(+), 1 deletion(-)
4519 commit a309b3baf5ee99139cc2d1817339233e24391bc2
4520 Author: Simon Feltman <sfeltman@src.gnome.org>
4521 Date: Tue Nov 12 18:41:35 2013 -0800
4523 gkt-demo: Change main info/source notebook into a GtkStack
4525 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
4527 and Source tabs. Beyond giving a newer look and feel to the demo,
4529 provides an example for how to use a GtkStack.
4531 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
4532 1 file changed, 17 insertions(+), 6 deletions(-)
4534 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
4535 Author: Simon Feltman <sfeltman@src.gnome.org>
4536 Date: Tue Nov 12 19:32:18 2013 -0800
4538 gtk-demo: Cleanup deprecated calls throughout demo code
4540 Specify constructor arguments as keyword args for various object
4541 creation calls. Update combobox demo to use bind_property instead
4543 signal connections with update callbacks.
4545 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
4546 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
4547 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
4548 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
4549 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
4550 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
4551 demos/gtk-demo/demos/appwindow.py | 4 +--
4552 demos/gtk-demo/demos/combobox.py | 30
4553 +++-------------------
4554 demos/gtk-demo/demos/dialogs.py | 26
4556 demos/gtk-demo/demos/expander.py | 9 +++----
4557 demos/gtk-demo/demos/images.py | 2 +-
4558 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
4559 demos/gtk-demo/demos/links.py | 10 ++++----
4560 demos/gtk-demo/demos/menus.py | 4 +--
4561 demos/gtk-demo/demos/pickers.py | 8 +++---
4562 demos/gtk-demo/demos/pixbuf.py | 4 +--
4563 demos/gtk-demo/demos/rotatedtext.py | 2 +-
4564 17 files changed, 64 insertions(+), 90 deletions(-)
4566 commit 890fb7b97823985d5c800284ead43a49174db244
4567 Author: Simon Feltman <sfeltman@src.gnome.org>
4568 Date: Tue Nov 12 18:19:34 2013 -0800
4570 Revert TreeStore and ListStore initializer replacements
4572 Revert changes to Tree/ListStore where the __init__ overrides were
4574 with __new__ overrides which accept column types directly. The
4576 the change is sub-classes of these types can override __init__
4578 passing in their own column types to the super class. These
4580 expect the super class to handle column type setup via __init__
4582 the change described is an API break. This reverts parts of commit:
4583 2f2069c9efcd8f312ce9ffa572df371fbc08822d
4585 gi/overrides/Gtk.py | 10 ++++++----
4586 1 file changed, 6 insertions(+), 4 deletions(-)
4588 commit 795201873a3aae530598f5e16470b6a8d2d55c23
4589 Author: Simon Feltman <sfeltman@src.gnome.org>
4590 Date: Thu Aug 15 20:01:48 2013 -0700
4592 Deprecate Gdk.Cursor constructor dispatching
4594 Give deprecation warning for the overridden __new__ method on
4595 Gdk.Cursor when more than one argument is used. Recommend using
4596 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
4599 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4601 gi/overrides/Gdk.py | 48
4602 ++++++++++++++++++++++++++-------------------
4603 tests/test_overrides_gdk.py | 17 ++++++++++++----
4604 2 files changed, 41 insertions(+), 24 deletions(-)
4606 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
4607 Author: Simon Feltman <sfeltman@src.gnome.org>
4608 Date: Thu Aug 15 19:23:18 2013 -0700
4610 Cleanup overzealous new and init implementations
4612 Remove PyGObject initializer code attempting to set properties on
4613 GObjects that have already been created. There were a number of
4614 overridden __new__ and __init__ methods that stripped away
4615 arguments before calling the base class to work around attempted
4616 property sets and argument count errors (fixing the symptom not
4618 Use Gtk.ListStore/TreeStore.new with __new__ override instead
4619 of __init__ with set_column_types.
4621 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4623 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
4624 gi/_gobject/pygobject.c | 16 ++++++++++++++--
4625 gi/overrides/GObject.py | 3 ---
4626 gi/overrides/Gdk.py | 15 ---------------
4627 gi/overrides/Gtk.py | 11 ++++-------
4628 gi/overrides/Pango.py | 5 -----
4629 gi/pygi-boxed.c | 6 ------
4630 7 files changed, 32 insertions(+), 59 deletions(-)
4632 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
4633 Author: Simon Feltman <sfeltman@src.gnome.org>
4634 Date: Tue Aug 13 18:02:54 2013 -0700
4636 Add deprecation warnings and cleanup class initializer overrides
4638 Print deprecation warnings for calls to class initializers which
4639 don't explicitly specify keywords. Print deprecation warning
4640 for overrides that have renamed keywords (Gtk.Table.rows should
4641 be n_rows). Additionally deprecate non-standard defaults with
4642 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
4643 and VERTICAL in PyGI).
4644 Remove AboutDialog override because it doesn't do anything.
4646 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4648 gi/overrides/Gio.py | 6 +-
4649 gi/overrides/Gtk.py | 367
4650 ++++++++++++++++++++++----------------------
4651 gi/overrides/__init__.py | 88 +++++++++++
4652 tests/test_gi.py | 75 +++++++++
4653 tests/test_overrides_gtk.py | 95 ++++++++----
4654 5 files changed, 411 insertions(+), 220 deletions(-)
4656 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
4657 Author: Simon Feltman <sfeltman@src.gnome.org>
4658 Date: Tue Aug 13 17:42:11 2013 -0700
4660 tests: Use explicit keywords args when calling initializers
4662 Replace all usage of GObject creation that relies on positional
4663 arguments from overrides. Positional initializer args will be
4664 deprecated, updating the tests as a first pass proves backwards
4665 and forwards compatibility of the deprecation.
4667 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4669 tests/test_overrides_gtk.py | 107
4670 +++++++++++++++++++++++---------------------
4671 1 file changed, 55 insertions(+), 52 deletions(-)
4673 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
4674 Author: Simon Feltman <sfeltman@src.gnome.org>
4675 Date: Tue Nov 12 03:46:08 2013 -0800
4677 Revert "Add type checking to positional Gtk.Box and Gtk.Window
4680 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
4682 gi/overrides/Gtk.py | 7 -------
4683 tests/test_overrides_gtk.py | 18 ------------------
4684 tests/test_properties.py | 9 ---------
4685 3 files changed, 34 deletions(-)
4687 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
4688 Author: Simon Feltman <sfeltman@src.gnome.org>
4689 Date: Sun Nov 10 03:26:10 2013 -0800
4691 Fix dir method for static GParamSpec in Python 3
4693 Add a __dir__ method which lists GParamSpec attributes and remove
4695 getattr which made use of the deprecated __members__ technique for dir
4696 (removed in Python 3). This makes dir(pspec) work again in Python 3.
4698 gi/_gobject/pygparamspec.c | 218
4699 ++++++++++++++++++++++++---------------------
4700 tests/test_gi.py | 10 +++
4701 2 files changed, 126 insertions(+), 102 deletions(-)
4703 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
4704 Author: Martin Pitt <martinpitt@gnome.org>
4705 Date: Tue Nov 5 15:28:12 2013 +0100
4707 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
4709 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
4711 when trying to create a subclass of them through the GObject
4713 positional arguments by at least verifying that their type is
4715 you can do things like
4717 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
4719 which succeeds, but does not have the desired effect (it sets the
4721 property of the Gtk.Box superclass instead).
4723 https://bugzilla.gnome.org/show_bug.cgi?id=711487
4725 gi/overrides/Gtk.py | 7 +++++++
4726 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
4727 tests/test_properties.py | 9 +++++++++
4728 3 files changed, 34 insertions(+)
4730 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
4731 Author: Simon Feltman <sfeltman@src.gnome.org>
4732 Date: Mon Nov 4 03:29:57 2013 -0800
4734 Remove overzealous argument checking for callback userdata
4736 Remove check which ensures userdata is None if the callback is None.
4737 This check would need to become more complicated with recent
4739 PyGObject where userdata can be variable (would also need to check
4741 a tuple containing None). Instead of adding more complex checking,
4743 remove the checking as it is unnecessary to begin with.
4745 https://bugzilla.gnome.org/show_bug.cgi?id=711173
4747 gi/pygi-marshal-from-py.c | 7 -------
4748 tests/test_overrides_gtk.py | 11 +++++++----
4749 2 files changed, 7 insertions(+), 11 deletions(-)
4751 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
4752 Author: Martin Pitt <martinpitt@gnome.org>
4753 Date: Mon Oct 28 16:00:57 2013 +0100
4755 configure.ac: post-release bump to 3.11.2
4758 1 file changed, 1 insertion(+), 1 deletion(-)
4760 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
4761 Author: Martin Pitt <martinpitt@gnome.org>
4762 Date: Mon Oct 28 15:59:51 2013 +0100
4766 NEWS | 27 +++++++++++++++++++++++++++
4767 1 file changed, 27 insertions(+)
4769 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
4770 Author: Simon Feltman <sfeltman@src.gnome.org>
4771 Date: Sun Oct 27 22:09:27 2013 -0700
4773 Fix toggleref safety problems by always enabling the GIL
4775 Call PyEval_InitThreads for the base gi module import. This forces the
4776 Python internals create the GIL and always support threading with the
4777 various thread state enter/exit funcs. This is needed since we cannot
4778 predict which GI repositories might accept Python callbacks and run
4780 non-Python threads or trigger toggle ref notifications in a thread
4784 https://bugzilla.gnome.org/show_bug.cgi?id=709223
4786 gi/__init__.py | 2 --
4787 gi/gimodule.c | 18 +++++++-----------
4788 gi/overrides/GLib.py | 8 ++------
4789 3 files changed, 9 insertions(+), 19 deletions(-)
4791 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
4792 Author: Simon Feltman <sfeltman@src.gnome.org>
4793 Date: Sun Oct 27 16:02:13 2013 -0700
4795 Add consistent GLib.MainLoop SIGINT cleanup
4797 Remove auto cleanup of SIGINT source handling by returning True
4799 signal callback. This gives the __del__ method consistent cleanup
4801 regardless of whether or not a SIGINT occurred.
4803 https://bugzilla.gnome.org/show_bug.cgi?id=710978
4805 gi/overrides/GLib.py | 4 ++++
4806 1 file changed, 4 insertions(+)
4808 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
4809 Author: Simon Feltman <sfeltman@src.gnome.org>
4810 Date: Sun Oct 27 15:16:09 2013 -0700
4812 tests: Fix source testing to handle critical with non-existing sources
4814 Silence new critical coming from g_source_remove on non-existing
4816 This function still returns False, but we need to silence the new
4818 so the test suite doesn't fail. See bug 710724.
4820 https://bugzilla.gnome.org/show_bug.cgi?id=710978
4822 tests/test_source.py | 18 ++++++++++++------
4823 1 file changed, 12 insertions(+), 6 deletions(-)
4825 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
4826 Author: Simon Feltman <sfeltman@src.gnome.org>
4827 Date: Sun Jul 28 00:01:35 2013 -0700
4829 docs: Add a keyword value of None for allow-none annotations
4831 Update documentation generator for allow-none arguments and
4832 user_data arguments to show a keyword value of None.
4833 Add skip for GDestroyNotify closure arguments.
4835 https://bugzilla.gnome.org/show_bug.cgi?id=640812
4837 gi/docstring.py | 20 +++++++++++++++++---
4838 tests/test_docstring.py | 10 ++++++++++
4839 2 files changed, 27 insertions(+), 3 deletions(-)
4841 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
4842 Author: Simon Feltman <sfeltman@src.gnome.org>
4843 Date: Sat Oct 19 19:03:12 2013 -0700
4845 Remove overrides for supporting pre-3.10 GObject signal functions
4847 Remove GObject override code for supporting pre-3.10 signal functions
4849 annotate the object argument as "gpointer". With PyGObject 3.11
4851 dependency on GObject 3.10, clear the special case overrides out.
4853 gi/overrides/GObject.py | 76
4854 ++++++-------------------------------------------
4855 1 file changed, 9 insertions(+), 67 deletions(-)
4857 commit 0c308de528c402f67808b13760ca30d55d4c99d7
4858 Author: Simon Feltman <sfeltman@src.gnome.org>
4859 Date: Fri Oct 18 17:15:06 2013 -0700
4861 Add threads_init back as a requirement for non-Python threaded repos
4863 Re-add a "threads_init" function to gi for explicit intialization
4865 threading support. This was marked as deprecated in the previous cycle
4866 because using Python threads already initializes everything.
4867 However, we still need an explicit initalization when using
4869 with non-Python threads which may interact with Python callbacks
4872 https://bugzilla.gnome.org/show_bug.cgi?id=710447
4874 gi/__init__.py | 2 ++
4875 gi/gimodule.c | 10 ++++++++++
4876 gi/overrides/GLib.py | 11 +++++++----
4877 3 files changed, 19 insertions(+), 4 deletions(-)
4879 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
4880 Author: Simon Feltman <sfeltman@src.gnome.org>
4881 Date: Mon Oct 14 20:38:13 2013 -0700
4883 Add dir method to GObject props accessor
4885 Remove special case __members__ attribute from the props accessor
4886 objects getattr method. This has been deprecated since Python 2.3 and
4887 removed in Python 3. Replace this with a __dir__ method making use
4889 old members list building code. Additionally fix error where the
4890 GObjectClass was being unref'd too many times when using
4892 causing a GLib critical.
4894 https://bugzilla.gnome.org/show_bug.cgi?id=705754
4896 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
4897 tests/test_gi.py | 14 ++++++++++++++
4898 2 files changed, 35 insertions(+), 8 deletions(-)
4900 commit 799989ada2f6b1d729f078f204445651c808a2c7
4901 Author: Simon Feltman <sfeltman@src.gnome.org>
4902 Date: Fri May 3 04:37:13 2013 -0700
4904 Remove PyGObjectWeakRef now that g_binding_unbind exists
4906 Remove the static code for managing GBinding weak references now
4908 has a method (unbind) for clearing out bindings.
4910 https://bugzilla.gnome.org/show_bug.cgi?id=699571
4912 gi/_gobject/pygobject.c | 59
4913 +------------------------------------------------
4914 gi/overrides/GObject.py | 19 ++++++++++++++++
4915 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
4916 3 files changed, 44 insertions(+), 75 deletions(-)
4918 commit fe217e0afbd63f05285e59628533f351896377d9
4919 Author: Simon Feltman <sfeltman@src.gnome.org>
4920 Date: Wed Oct 9 00:34:37 2013 -0700
4922 Fix GArray, GList, GSList, and GHashTable marshaling leaks
4924 Remove calling of cleanup code for transfer-everything modes by
4926 cleanup_data is set to NULL in from_py marshalers. Use array and hash
4927 table ref/unref functions for container transfer mode to ensure we
4929 valid container ref after invoke and during from_py cleanup of
4931 Rework restrictions with to_py marshaling cleanup so we always
4933 container for transfer-everything and transfer-container modes.
4935 https://bugzilla.gnome.org/show_bug.cgi?id=693402
4937 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
4938 gi/pygi-marshal-from-py.c | 77
4939 ++++++++++++++++++++++++++++++++++++++++-------
4940 2 files changed, 84 insertions(+), 47 deletions(-)
4942 commit 7407367f424595c2780a2d6a47d936ad0bd91735
4943 Author: Simon Feltman <sfeltman@src.gnome.org>
4944 Date: Mon Oct 7 14:11:39 2013 -0700
4946 Add cleanup_data argument used for Python to C marshaler cleanup
4948 Add a new output argument to all from_py marshalers which is used for
4949 keeping track of marshaling data that later needs cleanup. Previously
4951 marshalers would rely on the GIArgument->v_pointer as the means
4953 cleanup. However, this pointer would get clobbered in the case of
4954 bi-directional arguments (inout) and the memory lost.
4955 Use the new cleanup_data for storing temporarily wrapped C arrays
4957 don't need to re-calculate the length argument during cleanup.
4959 Additionally delay the from_py marshaling cleanup function until after
4960 _invoke_marshal_out_args is called. This gives inout arguments
4962 modify the pointer sufficient time to exist until they marshaled
4964 Python (gi_marshalling_tests_gvalue_inout).
4966 https://bugzilla.gnome.org/show_bug.cgi?id=693402
4968 gi/pygi-argument.c | 4 +-
4969 gi/pygi-cache.h | 3 +-
4970 gi/pygi-invoke-state-struct.h | 7 +-
4971 gi/pygi-invoke.c | 20 +++---
4972 gi/pygi-marshal-cleanup.c | 43 +++++-------
4973 gi/pygi-marshal-from-py.c | 160
4974 ++++++++++++++++++++++++++++--------------
4975 gi/pygi-marshal-from-py.h | 45 ++++++++----
4976 7 files changed, 177 insertions(+), 105 deletions(-)
4978 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
4979 Author: Simon Feltman <sfeltman@src.gnome.org>
4980 Date: Wed Aug 7 12:08:15 2013 -0700
4982 Add support for variable user data arguments
4984 Support a variable number of user data arguments for all callback
4985 connection function where the user data is the last explicit argument.
4986 This adds convience as well as consistency with the rest of PyGObject.
4987 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
4988 io_add_watch, and child_watch_add which manually implemented this
4991 https://bugzilla.gnome.org/show_bug.cgi?id=640812
4993 gi/overrides/GLib.py | 75
4994 +++++++++++++++--------------------------------
4995 gi/pygi-cache.c | 14 +++++++++
4996 gi/pygi-cache.h | 3 ++
4997 gi/pygi-closure.c | 37 +++++++++++++++--------
4998 gi/pygi-invoke.c | 71
4999 +++++++++++++++++++++++++++++++-------------
5000 gi/pygi-marshal-from-py.c | 5 ++++
5001 tests/test_everything.py | 32 ++++++++++++++++++++
5002 tests/test_glib.py | 21 +++++++++++++
5003 tests/test_subprocess.py | 8 ++---
5004 9 files changed, 177 insertions(+), 89 deletions(-)
5006 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
5007 Author: Martin Pitt <martinpitt@gnome.org>
5008 Date: Mon Oct 14 12:57:04 2013 +0200
5010 Bump glib and g-i dependencies to latest stable.
5012 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
5016 Drop @unittest.skipUnless tags from tests which didn't work with
5020 configure.ac | 6 +++---
5021 tests/test_gi.py | 2 --
5022 3 files changed, 5 insertions(+), 6 deletions(-)
5024 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
5025 Author: Nuno Araujo <nuno.araujo@russo79.com>
5026 Date: Fri Oct 11 18:41:48 2013 +0200
5028 Fix TypeError when setting drag target_list to None
5030 When calling Widget.drag_dest_set_target_list(None) or
5031 Widget.drag_source_set_target_list(None)
5032 a "TypeError: 'NoneType' object is not iterable" is thrown.
5034 According to Gtk documentation [1] [2], this shouldn't be the case
5035 since client code should be
5036 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
5037 gtk_drag_source_set_target_list.
5039 We now check if the target_list is None and do not try to create a
5040 TargetList if it is the case.
5043 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
5045 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
5047 https://bugzilla.gnome.org/show_bug.cgi?id=709926
5049 gi/overrides/Gtk.py | 4 ++--
5050 tests/test_overrides_gtk.py | 2 ++
5051 2 files changed, 4 insertions(+), 2 deletions(-)
5053 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
5054 Author: Simon Feltman <sfeltman@src.gnome.org>
5055 Date: Tue Oct 1 17:09:39 2013 -0700
5057 Use qdata for wrapper retrieval in toggle reference notifications
5059 Replace usage of user data holding PyGObject wrappers in toggle ref
5060 notifications with GObject qdata retrieval. This fixes thread
5062 where a toggle notify may be called from another thread during
5064 wrappers dealloc. In this case the toggle notify is blocked because
5066 is held in dealloc, and when it continues, the user data would be
5068 invalid PyGObject wrapper. Using qdata solves this by ensuring
5070 retrieval is done within the safety of the GIL and may turn up
5073 https://bugzilla.gnome.org/show_bug.cgi?id=709223
5075 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
5076 1 file changed, 14 insertions(+), 7 deletions(-)
5078 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
5079 Author: Simon Feltman <sfeltman@src.gnome.org>
5080 Date: Thu Oct 10 16:10:16 2013 -0700
5082 Add expected failure to deal with fixes in gimarshallingtests.c
5084 Fix test_object_full_inout based on newer gimarshallingtests.c >
5086 Add expectedFailure to deal with previous versions of
5087 gimarshallingtests.c.
5089 https://bugzilla.gnome.org/show_bug.cgi?id=709796
5091 tests/test_gi.py | 6 +++++-
5092 1 file changed, 5 insertions(+), 1 deletion(-)
5094 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
5095 Author: Simon Feltman <sfeltman@src.gnome.org>
5096 Date: Mon Oct 7 01:17:08 2013 -0700
5098 Fix memory leaks for inout array arguments
5100 Add tracking for array allocations to from_py marashalers in the
5101 argument states extra data (arg_data). This is then used later
5103 marshaling cleanup to call the array cleanup function.
5105 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5107 gi/pygi-invoke.c | 1 +
5108 gi/pygi-marshal-cleanup.c | 1 +
5109 gi/pygi-marshal-from-py.c | 13 +++++++++----
5110 3 files changed, 11 insertions(+), 4 deletions(-)
5112 commit 31263ac117027446c8e2fd1b56d7e348384aabef
5113 Author: Simon Feltman <sfeltman@src.gnome.org>
5114 Date: Sun Oct 6 21:54:15 2013 -0700
5116 Fix to Python marshaling leaks for arrays holding GVariants
5118 Add early check for array items holding pointers and simply assign the
5119 pointer to GIArgument.v_pointer prior giving it to the per-item
5121 This simplifies marshaling and fixes leaks regarding arrays of
5123 removing the unneeded g_variant_ref_sink (variants are always
5125 Conditionalize the use of g_variant_ref_sink based on transfer mode
5127 per-item marshaler. This fixes a reference leak where we are given
5129 of the variant (transfer full) but added a new ref anyway.
5131 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5133 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
5134 1 file changed, 18 insertions(+), 16 deletions(-)
5136 commit c9580ce1156789221aa19b00c7aab404db5431b5
5137 Author: Simon Feltman <sfeltman@src.gnome.org>
5138 Date: Sun Oct 6 04:26:18 2013 -0700
5140 Cleanup per-item array marshaling code for flat arrays
5142 Add an early per-item check which tests if the item being marshaled
5144 pointer and simply copies the pointer into the array. This takes
5146 GdkAtom and GVariant special cases because these items are always
5149 Fix error condition cleanup code when an item fails marshaling in
5153 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5155 gi/pygi-marshal-from-py.c | 87
5156 +++++++++++++++++++++--------------------------
5157 tests/test_gi.py | 32 +++++++++++++++++
5158 2 files changed, 71 insertions(+), 48 deletions(-)
5160 commit 4623caa71c54958ab821db27a9eff2790acb3975
5161 Author: Simon Feltman <sfeltman@src.gnome.org>
5162 Date: Sat Oct 5 17:00:54 2013 -0700
5164 Fix GValue array marshaling leaks and crash fallout
5166 * Decrement references for results of PySequence_GetItem. There were
5168 places we were not decrementing the Python reference, leaking
5170 * Add tracking of Python arguments with recursive marshaling
5172 allows arrays of GValues which have been coerced from Python types
5174 properly free'd (also fixes bug 703662).
5175 * Use g_variant_ref for variant arguments marked as transfer
5177 This fixes double free's caused by the decrementing of
5181 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5183 gi/pygi-cache.h | 1 +
5184 gi/pygi-invoke.c | 1 +
5185 gi/pygi-marshal-cleanup.c | 50
5186 +++++++++++++++++++++++++++++++++++++++++------
5187 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
5188 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
5189 gi/pygi-marshal-to-py.c | 1 +
5190 6 files changed, 78 insertions(+), 9 deletions(-)
5192 commit 549f849ef8854352483657df3d7558688a4b0007
5193 Author: Simon Feltman <sfeltman@src.gnome.org>
5194 Date: Sat Sep 28 00:26:28 2013 -0700
5196 Refactor GLib.io_add_watch to make it more testable
5198 Break the argument munging code into a separate function which
5199 can be tested in isolation of adding an io watch.
5200 Add additional failing test which specifies all args as keywords
5201 which we eventually need to support for consistency with the
5204 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5206 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
5207 1 file changed, 18 insertions(+), 5 deletions(-)
5209 commit bc780ed17bc4cc62959c63c3f0142161a924679f
5210 Author: Simon Feltman <sfeltman@src.gnome.org>
5211 Date: Fri Sep 27 20:59:45 2013 -0700
5213 Refactor GLib.child_watch_add to make it more testable
5215 Break the argument munging code into a separate function which
5216 can be tested in isolation of adding a child watch. Update tests
5217 to reflect this. Add additional failing test which specify
5218 all args as keywords which we eventually need to support for
5219 consistency with the rest of PyGObject.
5221 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5223 gi/overrides/GLib.py | 25 +++++++++-----
5224 tests/test_subprocess.py | 88
5225 +++++++++++++++++++++---------------------------
5226 2 files changed, 56 insertions(+), 57 deletions(-)
5228 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
5229 Author: Simon Feltman <sfeltman@src.gnome.org>
5230 Date: Thu Sep 26 19:05:20 2013 -0700
5232 Don't pass None to callbacks when user data is not specified
5234 For APIs which support a callback and optional user data,
5235 don't pass the user data to the callback if it was not explicitly
5236 specified when the callback was connected.
5238 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5240 gi/pygi-closure.c | 17 ++++++++++++++---
5241 gi/pygi-marshal-from-py.c | 5 -----
5242 tests/test_everything.py | 7 ++-----
5243 3 files changed, 16 insertions(+), 13 deletions(-)
5245 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
5246 Author: Simon Feltman <sfeltman@src.gnome.org>
5247 Date: Fri Oct 4 17:27:47 2013 -0700
5249 Add missing methods on PyGIBaseInfo and sub-classes
5251 Expose all methods of GIBaseBase info and its sub-classes.
5253 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5255 gi/_glib/pyglib-python-compat.h | 1 +
5256 gi/pygi-info.c | 550
5257 +++++++++++++++++++++++++++++++++++++++-
5258 tests/test_repository.py | 134 ++++++++++
5259 3 files changed, 677 insertions(+), 8 deletions(-)
5261 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
5262 Author: Simon Feltman <sfeltman@src.gnome.org>
5263 Date: Fri Oct 4 13:46:36 2013 -0700
5265 Expose all GI enum and flags types
5267 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
5268 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
5270 GInfoType. These types are found in the gi._gi module exposed
5272 "GI" prefix and contain all of their values as class attributes. e.g.
5273 gi._gi.Transfer.EVERYTHING.
5275 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5277 gi/docstring.py | 10 ++--
5278 gi/pygi-info.c | 150
5279 ++++++++++++++++++++++++++++++++++++++++++++---
5280 tests/test_repository.py | 13 +++-
5281 3 files changed, 158 insertions(+), 15 deletions(-)
5283 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
5284 Author: Simon Feltman <sfeltman@src.gnome.org>
5285 Date: Fri Oct 4 13:42:34 2013 -0700
5287 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
5289 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
5291 cause a crash. Avoid this by adding _safe_base_info_get_name and
5293 throughout the bindings.
5294 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
5296 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5298 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
5299 1 file changed, 25 insertions(+), 10 deletions(-)
5301 commit c86b2fe8d01070f06c45fffd910d890afba1313a
5302 Author: Simon Feltman <sfeltman@src.gnome.org>
5303 Date: Fri Oct 4 13:41:08 2013 -0700
5305 Add GIBaseInfo.equal method
5307 Break PyGIBaseInfo rich compare into two methods: equal and
5309 Equal is a direct exposure of the GI method and richcompare makes
5311 this with additional support for Pyton "==" and "!=" operators.
5313 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5315 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
5316 tests/test_repository.py | 1 +
5317 2 files changed, 25 insertions(+), 8 deletions(-)
5319 commit e7b758badd0ab0b147117859f7871c39fb5399c1
5320 Author: Simon Feltman <sfeltman@src.gnome.org>
5321 Date: Fri Oct 4 13:36:11 2013 -0700
5323 Move info string retrieval into generic function
5325 Add get_info_string for sharing binding of simple string retrieval on
5328 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5330 gi/pygi-info.c | 15 +++++++++++++--
5331 1 file changed, 13 insertions(+), 2 deletions(-)
5333 commit d2aef364de778da966bc1cfffe184d649f9ebb21
5334 Author: Simon Feltman <sfeltman@src.gnome.org>
5335 Date: Tue Sep 24 06:26:17 2013 -0700
5337 Move child info retrieval into generic function
5339 Add a generic function for bindings which return a single child info.
5340 This trivializes binding methods like PyGIObjectInfo.get_parent and
5341 fixes leaks in PyGIObjectInfo.get_class_struct and
5342 PyGIVFuncInfo.get_invoker.
5344 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5347 +++++++++++++++++++++++---------------------------------
5348 1 file changed, 23 insertions(+), 33 deletions(-)
5350 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
5351 Author: Simon Feltman <sfeltman@src.gnome.org>
5352 Date: Tue Sep 24 02:52:22 2013 -0700
5354 Move info tuple retrieval into generic function
5356 Create new generic function for retrieving a tuple of child infos.
5357 This greatly simplifies all the bindings which return tuples from
5358 a common pattern of functions on GIBaseInfo based instances.
5360 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5362 gi/pygi-info.c | 469
5363 ++++++++-------------------------------------------------
5364 1 file changed, 59 insertions(+), 410 deletions(-)
5366 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
5367 Author: Simon Feltman <sfeltman@src.gnome.org>
5368 Date: Sun Oct 6 16:41:37 2013 -0700
5370 tests: Update check.valgrind with always-malloc and add logging
5373 Based on notes in https://wiki.gnome.org/Valgrind we need to use
5374 always-malloc for valgrind runs.
5375 Add check.valgrindlog and check.valgrindxml which output valgrind
5377 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
5379 can track commits and use diff tools on the logs.
5382 Makefile.am | 6 ++++++
5383 tests/Makefile.am | 10 +++++++++-
5384 3 files changed, 16 insertions(+), 1 deletion(-)
5386 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
5387 Author: Simon Feltman <sfeltman@src.gnome.org>
5388 Date: Fri Oct 4 20:43:02 2013 -0700
5390 Move existing repository tests into test_repository
5392 Move flags and enum double registration tests into test_repository.py.
5393 Remove duplicate ObjectInfo tests from test_gi.py.
5395 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5397 tests/test_gi.py | 38 --------------------------------------
5398 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
5399 2 files changed, 28 insertions(+), 38 deletions(-)
5401 commit 31840888c8948aab78041da93c329572f3aabb64
5402 Author: Simon Feltman <sfeltman@src.gnome.org>
5403 Date: Fri Oct 4 17:31:21 2013 -0700
5405 Add unittests for GIRepository
5407 Add basic unittests for the existing classes and methods exposed for
5408 the GIRepository module (gi._gi).
5410 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5412 tests/Makefile.am | 1 +
5413 tests/test_repository.py | 170
5414 +++++++++++++++++++++++++++++++++++++++++++++++
5415 2 files changed, 171 insertions(+)
5417 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
5418 Author: Simon Feltman <sfeltman@src.gnome.org>
5419 Date: Fri Oct 4 15:50:05 2013 -0700
5421 Derive SignalInfo info from CallableInfo
5423 Change Python class derivation of PyGISignalInfo to use
5425 the base class. This accurately reflects the GI class layout and
5427 the callable information for signals.
5429 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5431 gi/pygi-info.c | 7 ++++---
5432 1 file changed, 4 insertions(+), 3 deletions(-)
5434 commit b01daba04ff001b9e63d343938e879d339d9a98c
5435 Author: Simon Feltman <sfeltman@src.gnome.org>
5436 Date: Fri Oct 4 15:48:05 2013 -0700
5438 Use PYGLIB_PyLong_FromLong for GIDirection return
5440 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5442 gi/pygi-info.c | 2 +-
5443 1 file changed, 1 insertion(+), 1 deletion(-)
5445 commit d644cbd0c0ad85142286754838db848c4eb1707f
5446 Author: Simon Feltman <sfeltman@src.gnome.org>
5447 Date: Thu Oct 3 19:25:34 2013 -0700
5449 Fix memory leak for caller allocated GValue out arguments
5451 Swizzle the order of type checks in _cleanup_caller_allocates so
5452 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
5454 important because G_TYPE_VALUE is a sub-type of boxed and so its
5456 cleanup code was never being called (g_value_unset).
5457 Additionally update check to use g_type_is_a instead of a compare
5459 the potential case of a G_TYPE_VALUE sub-type.
5461 https://bugzilla.gnome.org/show_bug.cgi?id=709397
5463 gi/pygi-marshal-cleanup.c | 11 ++++++-----
5464 1 file changed, 6 insertions(+), 5 deletions(-)
5466 commit 510789d52e9e2fd863d26613f3282364eb175601
5467 Author: Simon Feltman <sfeltman@src.gnome.org>
5468 Date: Sun Jul 28 14:44:51 2013 -0700
5470 Add support for default arguments annotated with allow-none
5472 Support default value of NULL for tail end arguments which are
5473 marked with allow-none.
5474 The implementation uses a place holder object for un-supplied
5476 which are annotated with allow-none. This is then used later during
5477 marshaling to supply NULL as the default.
5478 Additionally support an implicit default for callback user_data
5479 using the same technique.
5481 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5483 gi/gimodule.c | 6 +++
5484 gi/pygi-cache.c | 103
5485 ++++++++++++++++++++++++++++++----------------
5486 gi/pygi-cache.h | 8 ++++
5487 gi/pygi-invoke.c | 42 +++++++++++++------
5488 gi/pygi-marshal-from-py.c | 5 +++
5490 tests/test_everything.py | 16 +++++++
5491 tests/test_gi.py | 30 ++++++++++++++
5492 8 files changed, 162 insertions(+), 49 deletions(-)
5494 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
5495 Author: Simon Feltman <sfeltman@src.gnome.org>
5496 Date: Fri Aug 2 22:27:10 2013 -0700
5498 cache refactoring: Move arg cache field assignments into
5501 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5503 gi/pygi-cache.c | 23 +++++++++++------------
5504 1 file changed, 11 insertions(+), 12 deletions(-)
5506 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
5507 Author: Simon Feltman <sfeltman@src.gnome.org>
5508 Date: Fri Aug 2 20:27:02 2013 -0700
5510 cache refactoring: Cleanup array length argument marshaling
5512 Add shared function: _arg_cache_array_len_arg_setup for use
5513 with both to and from array marshaling setup. This function
5514 consolidates all of the edge cases regarding array length setup
5515 and removes the need for flagging arguments with
5516 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
5518 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5520 gi/pygi-cache.c | 145
5521 +++++++++++++++++++++++++++-----------------------------
5522 gi/pygi-cache.h | 5 --
5523 2 files changed, 71 insertions(+), 79 deletions(-)
5525 commit c9d8639401ae82977e960de44d80b94a501a2184
5526 Author: Simon Feltman <sfeltman@src.gnome.org>
5527 Date: Sat Aug 3 00:26:11 2013 -0700
5529 cache refactoring: Move variable declarations to blocks where they
5532 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5534 gi/pygi-cache.c | 25 ++++++++++++++-----------
5535 1 file changed, 14 insertions(+), 11 deletions(-)
5537 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
5538 Author: Simon Feltman <sfeltman@src.gnome.org>
5539 Date: Thu Aug 1 19:33:27 2013 -0700
5541 cache refactoring: Remove continue statements from
5542 _args_cache_generate
5544 Remove continue and goto statements from the large loop within
5545 _args_cache_generate. This simplifies the sharing of parts of
5546 the loop for future refactoring.
5548 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5550 gi/pygi-cache.c | 126
5551 +++++++++++++++++++++++++++-----------------------------
5552 1 file changed, 61 insertions(+), 65 deletions(-)
5554 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
5555 Author: Simon Feltman <sfeltman@src.gnome.org>
5556 Date: Wed Jul 31 18:10:05 2013 -0700
5558 cache refactoring: Use bit field for PyGIDirection instead of enum
5560 This supports cleaner logic when testing the direction of
5561 arguments due to the majority of these tests being along the
5562 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
5563 Which is replaced with: (direction & FROM_PYTHON)
5565 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5567 gi/pygi-cache.c | 64
5568 ++++++++++++++++++++++++++++-----------------------------
5569 gi/pygi-cache.h | 6 +++---
5570 2 files changed, 35 insertions(+), 35 deletions(-)
5572 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
5573 Author: Simon Feltman <sfeltman@src.gnome.org>
5574 Date: Sun Jul 28 20:45:05 2013 -0700
5576 cache refactoring: Remove special case marshaling for instance
5579 Remove duplicate code for marshaling struct and objects for
5580 instance arguments. Re-use individual cache marshalers for
5581 structs and objects with the instance argument. This required
5582 removal of passing GITypeInfo to the marshaler because it is
5583 not available for instance arguments. Instead always assume
5584 "is_pointer" for the instance argument by using the cache.
5586 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5588 gi/pygi-argument.c | 4 +--
5589 gi/pygi-cache.c | 16 ++++-----
5590 gi/pygi-marshal-from-py.c | 87
5591 +++--------------------------------------------
5592 gi/pygi-marshal-from-py.h | 16 ++-------
5593 4 files changed, 16 insertions(+), 107 deletions(-)
5595 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
5596 Author: Simon Feltman <sfeltman@src.gnome.org>
5597 Date: Sun Jul 28 16:44:01 2013 -0700
5599 cache refactoring: Use GPtrArray for callable arg cache
5601 Replace manual management of the C array holding individual
5602 argument caches with usage of GPtrArray. This provides storage
5603 of the array length along with item memory management.
5605 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5607 gi/pygi-cache.c | 62
5608 +++++++++++++++++++++++------------------------
5609 gi/pygi-cache.h | 16 +++++++++---
5610 gi/pygi-invoke.c | 16 ++++++------
5611 gi/pygi-marshal-cleanup.c | 8 +++---
5612 gi/pygi-marshal-from-py.c | 6 ++---
5613 gi/pygi-marshal-to-py.c | 6 ++---
5614 6 files changed, 62 insertions(+), 52 deletions(-)
5616 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
5617 Author: Simon Feltman <sfeltman@src.gnome.org>
5618 Date: Sun Jul 28 15:02:51 2013 -0700
5620 cache refactoring: Move PyGI direction code into new function
5622 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5624 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
5625 1 file changed, 21 insertions(+), 21 deletions(-)
5627 commit 83208bf495b152e93a28a231d445f43ea827d2eb
5628 Author: Simon Feltman <sfeltman@src.gnome.org>
5629 Date: Fri Aug 2 15:59:25 2013 -0700
5631 cache refactoring: Add comments to callable cache structure
5633 Add comments to count fields on _PyGICallableCache.
5635 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5637 gi/pygi-cache.h | 13 ++++++++++++-
5638 1 file changed, 12 insertions(+), 1 deletion(-)
5640 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
5641 Author: Simon Feltman <sfeltman@src.gnome.org>
5642 Date: Wed Jul 24 01:14:29 2013 -0700
5644 Remove support for allowing PyObjects as void pointers
5646 Final removal of marshaling Python object addresses as
5647 void pointers. This ensures we can successfully pass
5648 integer values as the pointer without the Python object
5649 leaking or crashing due to invalid memory.
5651 https://bugzilla.gnome.org/show_bug.cgi?id=688081
5653 gi/pygi-marshal-from-py.c | 20 ++++++--------------
5654 gi/pygi-marshal-to-py.c | 14 ++------------
5655 tests/test_signal.py | 5 +----
5656 3 files changed, 9 insertions(+), 30 deletions(-)
5658 commit 1469403ee2faa699430055384b338f0cd8e672d7
5659 Author: Simon Feltman <sfeltman@src.gnome.org>
5660 Date: Wed Sep 25 18:21:22 2013 -0700
5662 configure.ac: bump trunk to 3.11.1
5665 1 file changed, 1 insertion(+), 1 deletion(-)
5667 commit 8e774e61d62c82efa3d907c1201359121878b4b5
5668 Author: Simon Feltman <sfeltman@src.gnome.org>
5669 Date: Mon Sep 23 03:57:03 2013 -0700
5671 configure.ac: post-release bump to 3.10.1
5674 1 file changed, 1 insertion(+), 1 deletion(-)
5676 commit 95af6279a9affff5c816db2db53207ff0f19872d
5677 Author: Simon Feltman <sfeltman@src.gnome.org>
5678 Date: Mon Sep 23 03:17:19 2013 -0700
5683 configure.ac | 4 ++--
5684 2 files changed, 5 insertions(+), 2 deletions(-)
5686 commit c626be6317b610277c95461108573d1ae6f42b6d
5687 Author: Martin Pitt <martinpitt@gnome.org>
5688 Date: Mon Sep 23 12:06:11 2013 +0200
5690 Fix test_gi.TestProjectVersion.test_version_str()
5692 In this test case we only do a string comparison, not a proper
5694 component" numerical one. So relax the test to also work with 3.10.
5696 tests/test_gi.py | 2 +-
5697 1 file changed, 1 insertion(+), 1 deletion(-)
5699 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
5700 Author: Martin Pitt <martinpitt@gnome.org>
5701 Date: Mon Sep 16 10:12:33 2013 -0500
5706 1 file changed, 7 insertions(+)
5708 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
5709 Author: Simon Feltman <sfeltman@src.gnome.org>
5710 Date: Mon Sep 16 01:23:49 2013 -0700
5712 Update current maintainers list in README
5715 1 file changed, 2 insertions(+), 1 deletion(-)
5717 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
5718 Author: Simon Feltman <sfeltman@src.gnome.org>
5719 Date: Tue Sep 10 17:11:21 2013 -0700
5721 Fix union argument regression when marshaling from python
5723 Check for union members when marshaling boxed types from Python.
5724 This is a regression caused by stricter type checking added when
5725 merging code from pygi-argument.c.
5726 Re-add pyg_boxed_check to the same bit of code in addition to
5727 __gtype__ checking to avoid a double regression.
5729 https://bugzilla.gnome.org/show_bug.cgi?id=703873
5731 gi/pygi-marshal-from-py.c | 53
5732 ++++++++++++++++++++++++++---------------------
5733 1 file changed, 29 insertions(+), 24 deletions(-)
5735 commit 59a2964141e963d2961e55d4b84a777927b4f21b
5736 Author: Simon Feltman <sfeltman@src.gnome.org>
5737 Date: Wed Sep 11 05:05:33 2013 -0700
5739 Fix GLib.Source sub-classing with initializer args
5741 Add variable args and keyword args to the GLib.Source.__new__
5742 method to support sub-classes which want to implement __init__.
5744 https://bugzilla.gnome.org/show_bug.cgi?id=707904
5746 gi/overrides/GLib.py | 2 +-
5747 tests/test_source.py | 11 +++++++++++
5748 2 files changed, 12 insertions(+), 1 deletion(-)
5750 commit afa42ab95327da1de0cf86005974cd8ab0d46872
5751 Author: Vratislav Podzimek <vpodzime@redhat.com>
5752 Date: Wed Sep 4 14:17:31 2013 +0200
5754 Copy __doc__ when wrapping function
5756 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
5757 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5759 gi/overrides/__init__.py | 1 +
5760 1 file changed, 1 insertion(+)
5762 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
5763 Author: Martin Pitt <martinpitt@gnome.org>
5764 Date: Mon Sep 2 14:56:24 2013 +0200
5766 configure.ac: post-release bump to 3.9.92
5769 1 file changed, 1 insertion(+), 1 deletion(-)
5771 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
5772 Author: Martin Pitt <martinpitt@gnome.org>
5773 Date: Mon Sep 2 14:38:41 2013 +0200
5777 NEWS | 10 ++++++++++
5778 1 file changed, 10 insertions(+)
5780 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
5781 Author: Simon Feltman <sfeltman@src.gnome.org>
5782 Date: Mon Sep 2 04:19:35 2013 -0700
5784 Fix GObject signal methods to work with new annotations
5786 Add conditional support for signal methods annotated as gpointer
5787 or GObject.Object. This is needed to work with newer versions of
5788 glib which changed annotations to GObject.Object (bug #685387).
5790 https://bugzilla.gnome.org/show_bug.cgi?id=707280
5792 gi/overrides/GObject.py | 106
5793 ++++++++++++++++++++++++++++++------------------
5794 1 file changed, 66 insertions(+), 40 deletions(-)
5796 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
5797 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5798 Date: Thu Aug 15 14:41:40 2013 +0800
5800 Fix build on C89 Compilers
5802 Avoid a variable declaration at the middle of the block
5804 https://bugzilla.gnome.org/show_bug.cgi?id=707264
5806 gi/pygi-closure.c | 3 ++-
5807 1 file changed, 2 insertions(+), 1 deletion(-)
5809 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
5810 Author: Simon Feltman <sfeltman@src.gnome.org>
5811 Date: Sun Sep 1 20:44:26 2013 -0700
5813 Change boxed type checking in marshaling to use __gtype__ attribute
5815 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
5816 pyg_type_from_object. This has the effect of using the __gtype__
5817 attribute stashed on object class instead of the PyGBoxed
5818 internally held gtype. This fixes type descrepencies for objects
5819 marshaled into overridden signal class closures and passed back
5820 to functions taking an alias their type.
5822 https://bugzilla.gnome.org/show_bug.cgi?id=707140
5824 gi/pygi-marshal-from-py.c | 8 +++++++-
5825 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
5826 2 files changed, 41 insertions(+), 1 deletion(-)
5828 commit dab0c09f1996e124ca98334e5aea0852904b44b5
5829 Author: Simon Feltman <sfeltman@src.gnome.org>
5830 Date: Sun Sep 1 17:49:09 2013 -0700
5832 Use G_IS_VALUE for checking return values in closure marshaling
5834 Replace return_value argument NULL checks in GClosureMarshal
5835 implementations with G_IS_VALUE. This checks both NULL and
5836 validity of the value (!= G_TYPE_INVALID). This is needed
5837 because GLib can pass either NULL or an invalid value based
5838 on whether or not G_ENABLE_DEBUG is set.
5839 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
5841 https://bugzilla.gnome.org/show_bug.cgi?id=707170
5843 gi/_gobject/pygtype.c | 4 ++--
5844 gi/pygi-signal-closure.c | 2 +-
5845 2 files changed, 3 insertions(+), 3 deletions(-)
5847 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
5848 Author: Yanko Kaneti <yaneti@declera.com>
5849 Date: Wed Aug 21 08:53:07 2013 +0200
5851 Fix PEP-8 errors in propertyhelper.py
5853 https://bugzilla.gnome.org/show_bug.cgi?id=706319
5855 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5857 gi/_gobject/propertyhelper.py | 12 ++++++------
5858 1 file changed, 6 insertions(+), 6 deletions(-)
5860 commit 6fdd58404103596accb6ab04d4de33846d853c58
5861 Author: Martin Pitt <martinpitt@gnome.org>
5862 Date: Mon Aug 19 17:13:30 2013 +0200
5864 configure.ac: post-release bump to 3.9.91
5867 1 file changed, 1 insertion(+), 1 deletion(-)
5869 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
5870 Author: Martin Pitt <martinpitt@gnome.org>
5871 Date: Mon Aug 19 17:10:52 2013 +0200
5876 1 file changed, 9 insertions(+)
5878 commit a8d5da559ef088b05062681206758d2718946269
5879 Author: Martin Pitt <martinpitt@gnome.org>
5880 Date: Mon Aug 19 11:38:31 2013 +0200
5882 NEWS: retroactively fix last version number
5885 1 file changed, 1 insertion(+), 1 deletion(-)
5887 commit aba45eb2617c4b35168089bc9028f351732a617f
5888 Author: Benjamin Berg <benjamin@sipsolutions.net>
5889 Date: Tue Aug 6 00:41:52 2013 +0200
5891 Create GLib.Pid in the same way on python 2 and 3
5893 https://bugzilla.gnome.org/show_bug.cgi?id=705451
5895 gi/_glib/pygspawn.c | 8 --------
5896 1 file changed, 8 deletions(-)
5898 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
5899 Author: Benjamin Berg <benjamin@sipsolutions.net>
5900 Date: Mon Aug 5 17:04:15 2013 +0200
5902 Use PyLong_Type.tp_new for GLib.Pid
5904 For GLib.Pid the original implementation for __new__ needs to be used,
5905 as it is able to initialize the integer correctly.
5907 https://bugzilla.gnome.org/show_bug.cgi?id=705451
5909 gi/_glib/pygspawn.c | 1 +
5910 tests/test_subprocess.py | 1 +
5911 2 files changed, 2 insertions(+)
5913 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
5914 Author: Simon Feltman <sfeltman@src.gnome.org>
5915 Date: Mon Aug 5 14:40:38 2013 -0700
5917 Add accumulator and accu_data arguments to GObject.Signal decorator
5919 Update __init__, __call__, and copy methods to accept and pass
5920 accumulators and associated user data through them. Update
5921 accumulator unittests to use Signal decorators for testing accumulator
5922 pass throughs. Verified the __gsignals__ dictionary accepts None
5923 as valid values for accumulator and accu_data so specialization
5924 for these arguments is not necessary.
5926 https://bugzilla.gnome.org/show_bug.cgi?id=705533
5928 gi/_gobject/signalhelper.py | 17 ++++++++++-----
5929 tests/test_signal.py | 52
5930 ++++++++++++++++++++++++---------------------
5931 2 files changed, 40 insertions(+), 29 deletions(-)
5933 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
5934 Author: Simon Feltman <sfeltman@src.gnome.org>
5935 Date: Mon Aug 5 14:12:24 2013 -0700
5937 Pass return values through the GObject.Signal.emit wrapper
5939 Return the result of GObject.emit from the Signal decorators wrapping.
5940 Update unittest for decorated return type to use skipUnless for
5942 Add test for Signal decorator return type.
5944 https://bugzilla.gnome.org/show_bug.cgi?id=705530
5946 gi/_gobject/signalhelper.py | 2 +-
5947 tests/test_signal.py | 37 +++++++++++++++++++++----------------
5948 2 files changed, 22 insertions(+), 17 deletions(-)
5950 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
5951 Author: Simon Feltman <sfeltman@src.gnome.org>
5952 Date: Mon Jul 29 03:33:40 2013 -0700
5954 configure.ac: post-release bump to 3.9.90
5957 1 file changed, 1 insertion(+), 1 deletion(-)
5959 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
5960 Author: Simon Feltman <sfeltman@src.gnome.org>
5961 Date: Mon Jul 29 02:23:02 2013 -0700
5965 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
5967 2 files changed, 42 insertions(+), 1 deletion(-)
5969 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
5970 Author: Simon Feltman <sfeltman@src.gnome.org>
5971 Date: Mon Jul 29 01:21:19 2013 -0700
5973 Ensure exceptions set in closure out argument marshaling are printed
5975 Call PyErr_Print when an exception occurs after marshaling closure
5976 out arguments. These exceptions were being ignored and cleared out
5977 only to show up in debug builds of Python.
5979 https://bugzilla.gnome.org/show_bug.cgi?id=705064
5981 gi/pygi-closure.c | 8 ++++++++
5982 tests/test_generictreemodel.py | 17 +++++++++++------
5983 2 files changed, 19 insertions(+), 6 deletions(-)
5985 commit b5dcb1800839f747a052e487643c234668384677
5986 Author: Simon Feltman <sfeltman@src.gnome.org>
5987 Date: Sun Jul 28 23:00:26 2013 -0700
5989 Use Python error messages for marshaling integers from Python
5991 Use Pythons default error messages where possible.
5992 Change all explicitly raised ValueError to use OverflowError
5993 for out of range data.
5995 https://bugzilla.gnome.org/show_bug.cgi?id=705057
5997 gi/pygi-marshal-from-py.c | 76
5998 +++++++++++++++++------------------------------
5999 tests/test_everything.py | 52 ++++++++++++++++----------------
6000 tests/test_gi.py | 64 +++++++++++++++++++--------------------
6001 tests/test_gobject.py | 2 +-
6002 4 files changed, 86 insertions(+), 108 deletions(-)
6004 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
6005 Author: Simon Feltman <sfeltman@src.gnome.org>
6006 Date: Sat Jul 27 21:10:07 2013 -0700
6008 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
6010 gi/pygi-closure.c | 11 ++---------
6011 1 file changed, 2 insertions(+), 9 deletions(-)
6013 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
6014 Author: Simon Feltman <sfeltman@src.gnome.org>
6015 Date: Sat Jul 27 15:25:20 2013 -0700
6017 Cleanup invoke args and kwargs combiner code
6019 Change _py_args_combine_and_check_length use cleaner reference
6021 It no longer DECREFs input arguments and always returns a new value
6023 Use PyGICallableCache directly as an argument instead of passing
6027 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
6028 1 file changed, 17 insertions(+), 27 deletions(-)
6030 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
6031 Author: Simon Feltman <sfeltman@src.gnome.org>
6032 Date: Wed Jul 17 16:10:25 2013 -0700
6034 Replace Python VFunc descriptor directly with PyGIVFuncInfo
6036 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
6037 to be used directly as a callable descriptor. This piggy backs
6038 off the added support for functions and constructors in previous
6041 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6043 gi/pygi-info.c | 25 +++++++++++++++++++++++--
6044 gi/types.py | 33 ++++-----------------------------
6045 2 files changed, 27 insertions(+), 31 deletions(-)
6047 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
6048 Author: Simon Feltman <sfeltman@src.gnome.org>
6049 Date: Tue Jul 16 16:00:14 2013 -0700
6051 Add callable and descriptor protocols to PyGICallableInfo
6053 Add tp_call (__call__) function to callable info objects.
6054 This allows for replacement of wrapped invoke methods directly
6055 with the already created callable info object. This has the
6056 additional side effect of making doc strings lazily bound
6057 (only generated when __doc__ is accessed).
6059 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
6060 a bound version of itself for methods and constructors.
6062 Update various internal type checks to reflect the changes.
6063 Update tests to reflect the new callable type being the same
6064 across Python 2 & 3.
6066 This patch gives roughly a %17 speedup for Gtk imports and
6067 an %11 speedup for GI method calls.
6069 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6072 gi/overrides/__init__.py | 10 ++-
6073 gi/pygi-info.c | 179
6074 ++++++++++++++++++++++++++++++++++++++++++--
6076 gi/types.py | 35 +--------
6077 tests/test_docstring.py | 6 +-
6078 tests/test_gi.py | 32 +++-----
6079 tests/test_overrides_gtk.py | 4 +-
6080 8 files changed, 212 insertions(+), 72 deletions(-)
6082 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
6083 Author: Simon Feltman <sfeltman@src.gnome.org>
6084 Date: Fri Jul 26 19:33:32 2013 -0700
6086 Move "from Python" GObject out arg marshaler into specialized function
6088 Move hacks specific to out argument marshaling for vfuncs into a
6089 a specialized function. This allows standard function call marshaling
6090 to continue working correctly when there are no extra references
6091 holding the arguments "foo(SomeObject())". This is currently being
6092 masked because all GI functions are wrapped by additional layers
6093 of Python functions. When these layers are removed, it exposes
6094 bugs introduced by reference counting hacks intended for vfunc
6097 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6099 gi/pygi-argument.c | 2 +-
6100 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
6101 gi/pygi-marshal-from-py.h | 3 +++
6102 3 files changed, 34 insertions(+), 8 deletions(-)
6104 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
6105 Author: Simon Feltman <sfeltman@src.gnome.org>
6106 Date: Fri Jul 26 17:34:01 2013 -0700
6108 Add underscore prefix and _cache_adapter suffix to marshaling
6111 Add underscores to all _pygi_marshal_* functions. We don't currently
6112 export symbols, but we might need to for C unittesting. This will
6113 ensure we don't have a "public API".
6114 Add _cache_adapter suffix to marshaling functions which are light
6115 weight wrappers intended only for cached marshalers.
6117 gi/pygi-argument.c | 40 +++++++++++-----------
6118 gi/pygi-cache.c | 10 +++---
6119 gi/pygi-marshal-from-py.c | 86
6120 +++++++++++++++++++++++------------------------
6121 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
6122 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
6123 gi/pygi-marshal-to-py.h | 34 +++++++++----------
6124 6 files changed, 131 insertions(+), 131 deletions(-)
6126 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
6127 Author: Simon Feltman <sfeltman@src.gnome.org>
6128 Date: Tue Jul 16 11:13:17 2013 -0700
6130 Add common attribute accessors to PyGIBaseInfo
6132 Add __name__, __module__, and __doc__ accessors to
6133 PyGIBaseInfo object. This is a precursory patch for setting
6134 up PyGICallableInfo as a directly callable object with lazy
6135 doc string evaluation.
6137 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6139 gi/_glib/pyglib-python-compat.h | 5 +++
6141 +++++++++++++++++++++++++++++++++++++++--
6142 gi/types.py | 7 ++--
6143 3 files changed, 88 insertions(+), 7 deletions(-)
6145 commit ea194404843a16555f9a475cc973872a4428bfe1
6146 Author: Simon Feltman <sfeltman@src.gnome.org>
6147 Date: Sat Jul 13 23:10:31 2013 -0700
6149 Merge method and constructor setup
6151 Merge _setup_constructors into _setup_methods as they contain same
6152 basic logic. This removes an unnecessary call with additional
6153 filtering of GIObjectInfo.get_methods() which can be large for
6154 objects with many methods.
6156 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6158 gi/types.py | 15 ++++-----------
6159 1 file changed, 4 insertions(+), 11 deletions(-)
6161 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
6162 Author: Simon Feltman <sfeltman@src.gnome.org>
6163 Date: Sat Jul 13 18:11:18 2013 -0700
6165 Remove redundant info.get_name calls
6167 Remove a number of redundant calls to GIBaseInfo.get_name. Info
6168 names are already cached on function objects so re-use them when
6169 possible. This gives a small load time improvement by removing over
6170 2000 calls when importing Gtk.
6172 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6175 gi/types.py | 8 +++-----
6176 2 files changed, 3 insertions(+), 6 deletions(-)
6178 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
6179 Author: Simon Feltman <sfeltman@src.gnome.org>
6180 Date: Fri Jul 12 12:21:54 2013 -0700
6182 Move doc string generator into separate module
6184 Move the doc string generator for creating function signatures
6185 into "gi.docstring". This includes a new API for getting and
6186 setting the doc string creation functions:
6188 gi.docstring.get_doc_string_generator
6189 gi.docstring.set_doc_string_generator
6190 gi.docstring.generate_doc_string
6192 Beyond adding the ability for custom doc string generators,
6193 this API is a necessary step for adding lazy __doc__
6194 attribute access for optimization.
6196 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6198 gi/Makefile.am | 3 +-
6199 gi/docstring.py | 106
6200 ++++++++++++++++++++++++++++++++++++++++++++++++
6201 gi/types.py | 55 ++-----------------------
6202 tests/Makefile.am | 1 +
6203 tests/test_docstring.py | 49 ++++++++++++++++++++++
6204 tests/test_gi.py | 30 --------------
6205 6 files changed, 161 insertions(+), 83 deletions(-)
6207 commit f86701b15ee04c717d9c6bf688101606165e4f83
6208 Author: Simon Feltman <sfeltman@src.gnome.org>
6209 Date: Wed Jul 24 19:36:28 2013 -0700
6211 tests: Change GHashTable<string,GValue> marshaling test to use GValue
6213 Add test to explicitly use a boxed GStrv GValue in addition to a
6214 Python list sub-class.
6216 https://bugzilla.gnome.org/show_bug.cgi?id=666636
6218 tests/test_everything.py | 21 +++++++++++++++------
6219 1 file changed, 15 insertions(+), 6 deletions(-)
6221 commit 6ea41b60691e1ba7e21374582d7aea072af71103
6222 Author: Simon Feltman <sfeltman@src.gnome.org>
6223 Date: Thu Jul 25 18:00:47 2013 -0700
6225 gtk-demo: Change demo to use Gtk.Application
6227 Replace deriving from Gtk.Window with deriving from Gtk.Application
6228 connected to a Gtk.ApplicationWindow instance.
6230 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6232 demos/gtk-demo/demos/printing.py | 2 +-
6233 demos/gtk-demo/gtk-demo.py | 40
6234 ++++++++++++++++++++--------------------
6235 2 files changed, 21 insertions(+), 21 deletions(-)
6237 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
6238 Author: Simon Feltman <sfeltman@src.gnome.org>
6239 Date: Tue Jul 23 14:25:01 2013 -0700
6241 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
6243 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
6244 and rename to _pygi_marshal_to_py_basic_type.
6245 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
6248 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6250 gi/pygi-argument.c | 73 +-----------------------------
6251 gi/pygi-argument.h | 4 --
6252 gi/pygi-cache.c | 4 +-
6253 gi/pygi-marshal-to-py.c | 115
6254 +++++++++++++++++++++++++++++++++++++-----------
6255 gi/pygi-marshal-to-py.h | 27 +++---------
6256 5 files changed, 99 insertions(+), 124 deletions(-)
6258 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
6259 Author: Simon Feltman <sfeltman@src.gnome.org>
6260 Date: Tue Jul 23 13:06:33 2013 -0700
6262 Unify and clean up from Python marshalers for basic types
6264 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
6265 and filename marshalers.
6267 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6269 gi/pygi-cache.c | 101
6270 ++--------------------------------------------
6271 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
6272 gi/pygi-marshal-from-py.h | 30 --------------
6273 3 files changed, 28 insertions(+), 189 deletions(-)
6275 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
6276 Author: Simon Feltman <sfeltman@src.gnome.org>
6277 Date: Tue Jul 23 12:35:06 2013 -0700
6279 Unify from Python int64 and uint64 marshalers
6281 Replaced int64 and uint64 cached marshalers with usage of the
6282 unified basic type marshaler. Replace a large amount of int64
6283 exception formatting code with usage of %S for Python 3 and
6284 give a more vague message for Python 2.
6286 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6288 gi/pygi-cache.c | 36 +--------
6289 gi/pygi-marshal-from-py.c | 193
6290 ++++++++++------------------------------------
6291 gi/pygi-marshal-from-py.h | 10 ---
6292 3 files changed, 43 insertions(+), 196 deletions(-)
6294 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
6295 Author: Simon Feltman <sfeltman@src.gnome.org>
6296 Date: Tue Jul 23 11:03:14 2013 -0700
6298 Unify from Python int16 and int32 marshalers
6300 Add PyNumber_Check to unified basic type marshaler.
6301 Add bounds checking to unified int16 and int32 marshalers.
6302 Replaced int16 and int32 cached marshalers with usage of
6303 unified basic type marshaler.
6305 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6307 gi/pygi-cache.c | 69 +--------------
6308 gi/pygi-marshal-from-py.c | 218
6309 ++++++++++------------------------------------
6310 gi/pygi-marshal-from-py.h | 20 -----
6311 3 files changed, 48 insertions(+), 259 deletions(-)
6313 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
6314 Author: Simon Feltman <sfeltman@src.gnome.org>
6315 Date: Tue Jul 23 00:27:14 2013 -0700
6317 Unify from Python boolean, int8, and uint8 marshalers
6319 Replaced boolean, int8, and uint8 cached marshalers with usage of
6320 unified basic type marshaler. Add bounds checking to unified int8
6323 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6325 gi/pygi-cache.c | 48 +++------------
6326 gi/pygi-marshal-from-py.c | 146
6327 +++++++++++-----------------------------------
6328 gi/pygi-marshal-from-py.h | 20 ++-----
6329 3 files changed, 45 insertions(+), 169 deletions(-)
6331 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
6332 Author: Simon Feltman <sfeltman@src.gnome.org>
6333 Date: Mon Jul 22 23:24:13 2013 -0700
6335 Add support for PyBytes with int8 and uint8 from Python marshaler
6337 This additional type marshaling is necessary for unifying marhalers
6338 due to the same feature being available with cached argument
6341 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6343 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
6344 1 file changed, 14 insertions(+)
6346 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
6347 Author: Simon Feltman <sfeltman@src.gnome.org>
6348 Date: Mon Jul 22 23:23:29 2013 -0700
6350 Move from Python integer marshaling into separate function
6352 Add _pygi_marshal_from_py_long for marshaling Python objects
6353 that can convert to a PyLong type. This allows for better
6354 sharing of code amongst marshalers along with unifying
6355 them across Python 2.7 and 3.0.
6357 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6359 gi/pygi-argument.c | 3 +-
6360 gi/pygi-marshal-from-py.c | 159
6361 ++++++++++++++++++++++++----------------------
6362 2 files changed, 84 insertions(+), 78 deletions(-)
6364 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
6365 Author: Simon Feltman <sfeltman@src.gnome.org>
6366 Date: Mon Jul 22 22:19:26 2013 -0700
6368 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
6370 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
6371 and rename to: _pygi_marshal_from_py_basic_type
6373 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6375 gi/pygi-argument.c | 149
6376 +---------------------------------------------
6377 gi/pygi-marshal-from-py.c | 147
6378 +++++++++++++++++++++++++++++++++++++++++++++
6379 gi/pygi-marshal-from-py.h | 4 ++
6380 3 files changed, 152 insertions(+), 148 deletions(-)
6382 commit 9c9510eec782f242280af24e86adf3561e4fac72
6383 Author: Simon Feltman <sfeltman@src.gnome.org>
6384 Date: Fri Jul 19 23:37:35 2013 -0700
6386 Move basic type marshaling out of _pygi_argument_from_object
6388 Move the marshaling of Python objects to GI arguments for basic types
6389 into a new function: _pygi_argument_from_object_basic_type
6390 This is staging work needed before unifying basic type marshaling
6391 of arguments from Python to GI.
6393 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6395 gi/pygi-argument.c | 73
6396 ++++++++++++++++++++++++++++++++++--------------------
6397 1 file changed, 46 insertions(+), 27 deletions(-)
6399 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
6400 Author: Simon Feltman <sfeltman@src.gnome.org>
6401 Date: Fri Jul 19 20:16:10 2013 -0700
6403 Replace to Python cached marshalers with unified basic type marshaler
6405 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
6406 unifies functions, vfuncs, signals, and property marshaling for
6407 "basic types". Remove all the individual cached arg marshalers
6410 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6412 gi/pygi-argument.c | 104 +++++++++++------------------------
6413 gi/pygi-argument.h | 4 ++
6414 gi/pygi-cache.c | 114 +++++++-------------------------------
6415 gi/pygi-marshal-to-py.c | 142
6416 ++++--------------------------------------------
6417 gi/pygi-marshal-to-py.h | 48 ++--------------
6418 5 files changed, 73 insertions(+), 339 deletions(-)
6420 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
6421 Author: Simon Feltman <sfeltman@src.gnome.org>
6422 Date: Fri Jul 19 18:00:40 2013 -0700
6424 Move to Python basic type marshaling out of _pygi_argument_to_object
6426 Move the marshaling of GI arguments to Python objects for basic types
6427 into a new function. The required information for this marshaler
6428 is a GITypeTag and GITransfer. Argument marshaling matching these
6429 requirments are now found in: _pygi_argument_to_object_basic_type.
6430 The new marshaler can be used with a generic argument cache marshaler
6431 to unify all of the "basic type" marshaling.
6433 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6435 gi/pygi-argument.c | 86
6436 +++++++++++++++++++++++++++++++++++++++---------------
6437 1 file changed, 63 insertions(+), 23 deletions(-)
6439 commit dd43a1e19440dbe025451d2e4e07a6074086498d
6440 Author: Simon Feltman <sfeltman@src.gnome.org>
6441 Date: Sat Jul 6 14:16:36 2013 -0700
6443 Override GValue.set/get_boxed with static C marshaler
6445 Override boxed type get/set methods on GValue to use the static C
6446 GValue marshaler. This works around the inability of the introspection
6447 version of these methods to know what the held GValue type is.
6448 With this, all boxed types will now marshal properly with GValues as
6451 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6453 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
6454 gi/overrides/GObject.py | 9 +++++++++
6455 2 files changed, 47 insertions(+)
6457 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
6458 Author: Simon Feltman <sfeltman@src.gnome.org>
6459 Date: Sat Jul 6 14:10:20 2013 -0700
6461 Refactor pyg_value_from_pyobject into two functions
6463 Break pyg_value_from_pyobject into two functions. One which keeps
6464 Python exceptions queued (pyg_value_from_pyobject_with_error) and
6465 one which clears them (pyg_value_from_pyobject). This allows for
6466 re-use for code which want to keep the errors around
6468 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6470 gi/_gobject/gobjectmodule.c | 4 ++-
6471 gi/_gobject/pygobject-private.h | 1 +
6472 gi/_gobject/pygobject.h | 2 ++
6473 gi/_gobject/pygtype.c | 67
6474 ++++++++++++++++++++++++++++++++---------
6475 4 files changed, 59 insertions(+), 15 deletions(-)
6477 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
6478 Author: Simon Feltman <sfeltman@src.gnome.org>
6479 Date: Sat Jul 6 20:41:19 2013 -0700
6481 Fix indentation for pyg_value_from_pyobject
6483 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6485 gi/_gobject/pygtype.c | 744
6486 +++++++++++++++++++++++++-------------------------
6487 1 file changed, 372 insertions(+), 372 deletions(-)
6489 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
6490 Author: Simon Feltman <sfeltman@src.gnome.org>
6491 Date: Sat Jul 6 13:32:39 2013 -0700
6493 Add deprecation warning for marshaling arbitrary objects as pointers
6495 Add deprecation warning for marshaling arbitrary objects to/from void
6496 pointers with the exception of integers, PyCapsules, and None.
6498 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6500 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
6501 gi/pygi-marshal-to-py.c | 10 ++++++++--
6502 2 files changed, 24 insertions(+), 3 deletions(-)
6504 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
6505 Author: Simon Feltman <sfeltman@src.gnome.org>
6506 Date: Sat Jul 6 13:34:53 2013 -0700
6508 Move PyGIDeprecationWarning to C for shared Python/C usage
6510 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6512 gi/__init__.py | 19 ++++---------------
6513 gi/gimodule.c | 18 ++++++++++++++++++
6515 3 files changed, 24 insertions(+), 15 deletions(-)
6517 commit 90427107af36ea3c624b36967ee181ed13b9828f
6518 Author: Simon Feltman <sfeltman@src.gnome.org>
6519 Date: Thu Jul 18 14:59:55 2013 -0700
6521 Replace usage of __import__ with importlib.import_module
6523 https://bugzilla.gnome.org/show_bug.cgi?id=682320
6525 gi/module.py | 8 ++++----
6526 1 file changed, 4 insertions(+), 4 deletions(-)
6528 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
6529 Author: Mike Gorse <mgorse@suse.com>
6530 Date: Wed Jul 10 16:44:23 2013 -0500
6532 Always unref the GiTypeInfo when generating an argument cache
6534 We were leaking a GiTypeInfo when handling child arguments.
6536 https://bugzilla.gnome.org/show_bug.cgi?id=703973
6538 gi/pygi-cache.c | 1 +
6539 1 file changed, 1 insertion(+)
6541 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
6542 Author: Mike Gorse <mgorse@suse.com>
6543 Date: Wed Jul 10 12:10:16 2013 -0500
6545 Unref interface info when fetching enums or flags
6547 When calling g_type_info_get_interface, the resulting interface should
6548 be dereferenced by calling g_base_info_unref.
6550 https://bugzilla.gnome.org/show_bug.cgi?id=703960
6552 gi/pygi-marshal-from-py.c | 8 +++++++-
6553 gi/pygi-marshal-to-py.c | 3 +++
6554 2 files changed, 10 insertions(+), 1 deletion(-)
6556 commit a93755ddba9a1761b627583d7b9be63783c2c063
6557 Author: Daniel Drake <dsd@laptop.org>
6558 Date: Tue Jul 9 13:03:36 2013 -0600
6560 Speed up MRO calculation
6562 Optimize gi.type.mro() with the following observations and tricks:
6564 1. Python prepares all the base classes before trying to calculate the
6565 MRO of the current one (it first needs to populate __bases__, for
6566 example). So we can assume that the base class MRO is already
6568 in __mro__ and this will have been previously calculated (by us,
6570 case of gi classes). This avoids repeating a lot of MRO-calculating
6572 and also avoids (re)calculating MROs for inheritance chains
6574 have any gi classes in them anyway.
6576 2. With that simplification in place, we can avoid recursion, which
6578 all that great in Python...
6580 3. ...except in the uncommon case of a Python2 old-style classes,
6582 __mro__ is not available. There doesn't seem to be any existing
6583 function to calculate or read MRO of old-style python classes,
6585 keep doing as before: calculate the C3 MRO of the old-style
6587 recursion. That behaviour is not really correct, and the
6589 not desirable, so we print a warning here.
6591 This makes the "hello world" Sugar app start up approximately
6595 https://bugzilla.gnome.org/show_bug.cgi?id=703829
6597 gi/types.py | 30 +++++++++++++++++++++++++++---
6598 tests/test_gi.py | 16 ++++++++++++----
6599 2 files changed, 39 insertions(+), 7 deletions(-)
6601 commit 7aca95781fc76f3e820e63325ccc07d128a60075
6602 Author: Daniel Drake <dsd@laptop.org>
6603 Date: Wed Jul 10 10:45:47 2013 -0600
6605 tests: Add tests for MRO override
6607 Add tests for the MRO override to prevent against unintended
6610 https://bugzilla.gnome.org/show_bug.cgi?id=703829
6612 tests/test_gi.py | 66
6613 ++++++++++++++++++++++++++++++++++++++++++--------------
6614 1 file changed, 50 insertions(+), 16 deletions(-)
6616 commit a15333a36e31b76ea6b80251553840269ec5deb1
6617 Author: Simon Feltman <sfeltman@src.gnome.org>
6618 Date: Sat Jul 6 13:34:13 2013 -0700
6620 Add GIL safety to pyobject_copy for copying boxed PyObjects
6622 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6624 gi/_gobject/pygobject.c | 3 +++
6625 1 file changed, 3 insertions(+)
6627 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
6628 Author: Simon Feltman <sfeltman@src.gnome.org>
6629 Date: Sat Jul 6 09:48:35 2013 -0700
6631 testhelper: Fix import requirement for GObject
6633 Replace the importing of gi._gobject._gobject with
6634 gi.repository.GObject
6635 in tests/testhelpermodule.c
6637 The testhelper module was only importing the static bindings
6638 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
6639 This was causing some tests to fail when test_thread was the first
6640 test to run in the suite due to it registering new types based on
6643 https://bugzilla.gnome.org/show_bug.cgi?id=703647
6645 tests/testhelpermodule.c | 2 +-
6646 1 file changed, 1 insertion(+), 1 deletion(-)
6648 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
6649 Author: Simon Feltman <sfeltman@src.gnome.org>
6650 Date: Wed Jul 3 05:26:12 2013 -0700
6652 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
6654 Replace assertion for this case with a simple marshalling of the
6655 pointer value to a Python int. While not particularly useful
6656 this allows some callbacks in WebKit to function without causing
6659 https://bugzilla.gnome.org/show_bug.cgi?id=694233
6661 gi/pygi-argument.c | 4 ++--
6662 1 file changed, 2 insertions(+), 2 deletions(-)
6664 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
6665 Author: Cole Robinson <crobinso@redhat.com>
6666 Date: Sat Feb 16 17:26:43 2013 -0500
6668 GTK overrides: Make connect_signals handle tuple
6670 This is used for passing extra arguments to callbacks during
6671 signal emission in the form of:
6672 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
6674 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6676 https://bugzilla.gnome.org/show_bug.cgi?id=693994
6678 gi/overrides/Gtk.py | 51 ++++++++----
6679 tests/test_overrides_gtk.py | 196
6680 +++++++++++++++++++++++++++++---------------
6681 2 files changed, 165 insertions(+), 82 deletions(-)
6683 commit 466567373289e6f141709f08efa80ba588d3d64a
6684 Author: Simon Feltman <sfeltman@src.gnome.org>
6685 Date: Tue Jul 2 18:06:01 2013 -0700
6687 Re-add support for passing GValue's by reference
6689 Fix special casing when marshaling from a Python held GValue
6690 to a GValue argument intended for a function call.
6691 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
6692 broke this by always making a copy of the GValue. This removed the
6693 ability to retrieve values with functions like
6694 gtk_style_context_get_style_property.
6696 https://bugzilla.gnome.org/show_bug.cgi?id=701058
6698 gi/pygi-argument.c | 2 +-
6699 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
6700 2 files changed, 16 insertions(+), 18 deletions(-)
6702 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
6703 Author: Simon Feltman <sfeltman@src.gnome.org>
6704 Date: Tue Jul 2 19:20:04 2013 -0700
6706 tests: Add test for pass-by-reference GValue
6708 https://bugzilla.gnome.org/show_bug.cgi?id=701058
6710 tests/test_gi.py | 7 +++++++
6711 1 file changed, 7 insertions(+)
6713 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
6714 Author: Simon Feltman <sfeltman@src.gnome.org>
6715 Date: Tue Jul 2 23:02:17 2013 -0700
6717 Clear return value of closures to zero when an exception occures
6719 For return types other than void, set the ffi closure return argument
6720 to 0 when a Python exception occures. This a good default in general
6721 but also has the side affect of fixing failing idle callbacks
6722 by causing them to be removed from main loops (after their stack
6725 https://bugzilla.gnome.org/show_bug.cgi?id=702552
6727 gi/pygi-closure.c | 14 ++++++++++++++
6728 tests/test_gi.py | 8 ++++++++
6729 2 files changed, 22 insertions(+)
6731 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
6732 Author: Martin Pitt <martinpitt@gnome.org>
6733 Date: Wed Jul 3 10:40:28 2013 +0200
6735 Don't use doctest syntax in docstrings for examples
6737 These are not actual doctests, so don't use the >>> syntax there. Just
6741 This fixes pyflakes 0.7 failures.
6743 https://bugzilla.gnome.org/show_bug.cgi?id=701009
6745 gi/_gobject/propertyhelper.py | 11 +++++------
6746 gi/overrides/GObject.py | 8 ++++----
6747 gi/overrides/Gtk.py | 2 +-
6748 3 files changed, 10 insertions(+), 11 deletions(-)
6750 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
6751 Author: Garrett Regier <garrettregier@gmail.com>
6752 Date: Tue Jul 2 06:07:15 2013 -0700
6754 Add support for properties of type GInterface
6756 Add support for G_TYPE_INTERFACE/GInterface to switch
6757 statement which handles G_TYPE_OBJECT based properties.
6759 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
6761 https://bugzilla.gnome.org/show_bug.cgi?id=703456
6763 gi/_gobject/gobjectmodule.c | 1 +
6764 gi/_gobject/propertyhelper.py | 3 ++-
6765 tests/test_properties.py | 16 ++++++++++++++++
6766 3 files changed, 19 insertions(+), 1 deletion(-)
6768 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
6769 Author: Martin Pitt <martinpitt@gnome.org>
6770 Date: Fri Jun 21 07:27:48 2013 +0200
6772 pygtkcompat: Fix for missing methods on Windows
6774 Deal with non-existing Gtk.Clipboard.get() and
6775 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
6777 https://bugzilla.gnome.org/show_bug.cgi?id=702787
6779 pygtkcompat/pygtkcompat.py | 10 ++++++++--
6780 1 file changed, 8 insertions(+), 2 deletions(-)
6782 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
6783 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
6784 Date: Fri Jun 21 12:32:33 2013 +0800
6786 gi/pygi-info.c: Avoid C99-style variable declaration
6788 https://bugzilla.gnome.org/show_bug.cgi?id=702786
6790 gi/pygi-info.c | 3 ++-
6791 1 file changed, 2 insertions(+), 1 deletion(-)
6793 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
6794 Author: Martin Pitt <martinpitt@gnome.org>
6795 Date: Wed May 29 11:20:35 2013 +0200
6797 GLib overrides: fix typo in deprecation message
6799 Spotted by Dmitrijs Ledkovs, thanks!
6801 gi/overrides/GLib.py | 2 +-
6802 1 file changed, 1 insertion(+), 1 deletion(-)
6804 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
6805 Author: Martin Pitt <martinpitt@gnome.org>
6806 Date: Tue May 28 17:57:20 2013 +0200
6808 configure.ac: post-release version bump to 3.9.3
6811 1 file changed, 1 insertion(+), 1 deletion(-)
6813 commit 10f703189ed6a7104252907d1b1a114f26d79559
6814 Author: Martin Pitt <martinpitt@gnome.org>
6815 Date: Tue May 28 17:56:07 2013 +0200
6819 NEWS | 15 +++++++++++++++
6820 1 file changed, 15 insertions(+)
6822 commit af8d048442b924c72a1d0ae868ee63ccf292759d
6823 Author: Martin Pitt <martinpitt@gnome.org>
6824 Date: Fri May 24 13:03:07 2013 +0200
6826 examples/option.py: Port to GI and Python 3
6828 examples/option.py | 38 +++++++++++++++++++-------------------
6829 1 file changed, 19 insertions(+), 19 deletions(-)
6831 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
6832 Author: Simon Feltman <sfeltman@src.gnome.org>
6833 Date: Sun May 12 18:58:06 2013 -0700
6835 Fix vfunc info search for classes with multiple inheritance
6837 Ensure the search for vfunc GI info continues recursively even if the
6838 current class being looked at does not contain GI info of type
6839 InterfaceInfo. This more exhaustive search is needed for setups with
6840 multiple sub-classes and multiple inheritance.
6842 https://bugzilla.gnome.org/show_bug.cgi?id=700092
6844 gi/types.py | 12 +++++++-----
6845 tests/test_gi.py | 1 -
6846 2 files changed, 7 insertions(+), 6 deletions(-)
6848 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
6849 Author: Simon Feltman <sfeltman@src.gnome.org>
6850 Date: Sun May 12 22:19:38 2013 -0700
6852 Fix closure argument conversion for enum and flag in args
6854 Replace incorrect cast and assignment of double with uint for flags
6857 gi/pygi-closure.c | 2 +-
6858 1 file changed, 1 insertion(+), 1 deletion(-)
6860 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
6861 Author: Simon Feltman <sfeltman@src.gnome.org>
6862 Date: Sat May 11 21:47:54 2013 -0700
6864 tests: Add tests for overriding vfunc implementations
6866 Add tests for overriding vfuncs for both single inheritance
6867 and multiple inheritance with an interface (currently failing).
6869 https://bugzilla.gnome.org/show_bug.cgi?id=700092
6871 tests/test_gi.py | 23 +++++++++++++++++++++++
6872 1 file changed, 23 insertions(+)
6874 commit c4e1112840004af264b4f2a052f333ea38f95cb6
6875 Author: Simon Feltman <sfeltman@src.gnome.org>
6876 Date: Sat May 11 20:28:22 2013 -0700
6878 Fix marshaling Python to FFI return value for enum and flags
6880 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
6882 assignment of arg.v_pointer to the ffi return arg.
6884 gi/pygi-closure.c | 1 +
6885 1 file changed, 1 insertion(+)
6887 commit a703217eaf4075e9720d4247351e1dfc4f553772
6888 Author: Simon Feltman <sfeltman@src.gnome.org>
6889 Date: Fri Apr 19 06:37:24 2013 -0700
6891 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
6893 Remove half implemented GC tracking from PyGIBaseInfo as it was not
6894 needed (the implemented was also missing usage of
6895 PyObject_GC_New/Track).
6896 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
6899 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
6900 for both PyGIStruct and PyGIBoxed as these types were not being
6901 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
6903 https://bugzilla.gnome.org/show_bug.cgi?id=677091
6905 gi/pygi-boxed.c | 4 ----
6906 gi/pygi-info.c | 20 +++++---------------
6907 gi/pygi-struct.c | 4 ----
6908 3 files changed, 5 insertions(+), 23 deletions(-)
6910 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
6911 Author: Simon Feltman <sfeltman@src.gnome.org>
6912 Date: Fri May 3 02:00:07 2013 -0700
6914 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
6916 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
6917 of Py_BEGIN_ALLOW_THREADS.
6919 https://bugzilla.gnome.org/show_bug.cgi?id=699440
6921 gi/_glib/pyglib.h | 4 ----
6922 gi/_glib/pygoptioncontext.c | 4 ++--
6923 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
6924 gi/gimodule.c | 4 ++--
6925 gi/pygi-invoke.c | 4 ++--
6926 5 files changed, 22 insertions(+), 27 deletions(-)
6928 commit c9e95663d05de98a9abd3d1479554b1f09753382
6929 Author: Simon Feltman <sfeltman@src.gnome.org>
6930 Date: Thu May 2 03:57:05 2013 -0700
6932 Remove and deprecate API for setting of thread blocking functions
6934 Remove pyglib_set_thread_block_funcs and deprecate
6935 pyg_set_thread_block_funcs.
6936 The thread block function APIs are no longer be neccessary because
6938 can use the Python C API directly when working with threads.
6940 https://bugzilla.gnome.org/show_bug.cgi?id=699440
6942 gi/_glib/pyglib.c | 41 -----------------------------------
6943 gi/_glib/pyglib.h | 9 ++++----
6944 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
6945 gi/_gobject/pygobject-private.h | 33 ----------------------------
6946 gi/_gobject/pygobject.h | 48
6947 ++++++++++++++++++++---------------------
6948 gi/gimodule.c | 15 +++++++------
6949 6 files changed, 46 insertions(+), 125 deletions(-)
6951 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
6952 Author: Martin Pitt <martinpitt@gnome.org>
6953 Date: Tue Apr 30 11:51:05 2013 -0700
6955 configure.ac: Post-release bump to 3.9.2
6958 1 file changed, 1 insertion(+), 1 deletion(-)
6960 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
6961 Author: Martin Pitt <martinpitt@gnome.org>
6962 Date: Tue Apr 30 11:49:03 2013 -0700
6966 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
6967 1 file changed, 49 insertions(+)
6969 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
6970 Author: Simon Feltman <sfeltman@src.gnome.org>
6971 Date: Sun Apr 28 19:59:35 2013 -0700
6973 gtk-demo: Wrap description strings at 80 characters
6975 Wrap trailing demo description strings so they are easier to read
6976 in a programming editor. The gtk-demo itself re-wraps this using
6977 textwrap and the Gtk.TextView dynamic wrapping.
6979 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6981 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
6982 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
6983 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
6984 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
6985 demos/gtk-demo/demos/images.py | 6 ++++--
6986 demos/gtk-demo/demos/menus.py | 20
6987 ++++++++++++++++----
6988 demos/gtk-demo/demos/pickers.py | 4 ++--
6989 demos/gtk-demo/demos/pixbuf.py | 5 +++--
6990 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
6991 9 files changed, 43 insertions(+), 22 deletions(-)
6993 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
6994 Author: Simon Feltman <sfeltman@src.gnome.org>
6995 Date: Sat Apr 27 22:30:35 2013 -0700
6997 gtk-demo: Use textwrap to reformat description for Gtk.TextView
6999 https://bugzilla.gnome.org/show_bug.cgi?id=698547
7001 demos/gtk-demo/gtk-demo.py | 8 +++++++-
7002 1 file changed, 7 insertions(+), 1 deletion(-)
7004 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
7005 Author: Simon Feltman <sfeltman@src.gnome.org>
7006 Date: Sat Apr 27 21:58:28 2013 -0700
7008 gtk-demo: Use GtkSource.View for showing source code
7010 Replace manual syntax highlighting of Gtk.TextView with usage of
7011 GtkSource.View when available. Fall back to TextView with no
7012 hightlighting when GtkSource is not available.
7014 https://bugzilla.gnome.org/show_bug.cgi?id=698547
7016 demos/gtk-demo/gtk-demo.py | 170
7017 ++++++++++++---------------------------------
7018 1 file changed, 44 insertions(+), 126 deletions(-)
7020 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
7021 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
7022 Date: Sun Apr 28 01:40:34 2013 -0500
7024 Use correct class for GtkEditable's get_selection_bounds() function
7026 https://bugzilla.gnome.org/show_bug.cgi?id=699096
7028 gi/overrides/Gtk.py | 2 +-
7029 1 file changed, 1 insertion(+), 1 deletion(-)
7031 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
7032 Author: Simon Feltman <sfeltman@src.gnome.org>
7033 Date: Thu Apr 25 05:27:35 2013 -0700
7035 Test results of g_base_info_get_name for NULL
7037 Block against potential NULL result when generating type hint with
7038 _g_arg_get_pytype_hint.
7040 https://bugzilla.gnome.org/show_bug.cgi?id=698829
7042 gi/pygi-info.c | 12 ++++++++++--
7043 1 file changed, 10 insertions(+), 2 deletions(-)
7045 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
7046 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7047 Date: Sun Apr 21 19:09:59 2013 -0300
7049 Remove g_type_init conditional call
7051 It's deprecated in the glib version we depend on.
7053 https://bugzilla.gnome.org/show_bug.cgi?id=698763
7055 gi/_gobject/gobjectmodule.c | 3 ---
7056 1 file changed, 3 deletions(-)
7058 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
7059 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7060 Date: Sat Mar 30 20:59:44 2013 -0300
7062 Update deps versions also in README
7064 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
7067 https://bugzilla.gnome.org/show_bug.cgi?id=698763
7070 1 file changed, 2 insertions(+), 2 deletions(-)
7072 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
7073 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7074 Date: Sat Mar 30 20:50:35 2013 -0300
7076 Drop compat code for old python version
7078 https://bugzilla.gnome.org/show_bug.cgi?id=698763
7080 gi/_glib/pyglib-python-compat.h | 12 ------------
7081 1 file changed, 12 deletions(-)
7083 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
7084 Author: Niklas Koep <niklas.koep@gmail.com>
7085 Date: Thu Apr 25 06:14:12 2013 +0200
7087 Remove duplicate call to _gi.Repository.require()
7089 repository.require() was called twice in IntrospectionModule's
7092 https://bugzilla.gnome.org/show_bug.cgi?id=698797
7095 1 file changed, 1 deletion(-)
7097 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
7098 Author: Johan Dahlin <johan@gnome.org>
7099 Date: Mon Oct 1 03:02:10 2012 -0700
7101 Add ObjectInfo.get_class_struct()
7103 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7105 gi/pygi-info.c | 15 +++++++++++++++
7106 tests/test_gi.py | 4 ++++
7107 2 files changed, 19 insertions(+)
7109 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
7110 Author: Simon Feltman <sfeltman@src.gnome.org>
7111 Date: Mon Apr 22 03:43:23 2013 -0700
7113 Change interpretation of NULL pointer field from None to 0
7115 The usage of 0 is needed because these fields should generally
7116 be used to store integer indices or hashes, not necessarily
7117 pointers to actual data.
7119 https://bugzilla.gnome.org/show_bug.cgi?id=698366
7121 gi/pygi-argument.c | 11 +----------
7122 tests/test_everything.py | 5 +++--
7123 2 files changed, 4 insertions(+), 12 deletions(-)
7125 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
7126 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
7127 Date: Fri Mar 8 08:25:58 2013 +0330
7129 Do not build tests until needed
7131 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
7133 https://bugzilla.gnome.org/show_bug.cgi?id=698444
7135 tests/Makefile.am | 12 ++++++------
7136 1 file changed, 6 insertions(+), 6 deletions(-)
7138 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
7139 Author: Kai Willadsen <kai.willadsen@gmail.com>
7140 Date: Sun Apr 14 15:16:40 2013 +1000
7142 pygi-convert: Support toolbar styles
7144 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7146 pygi-convert.sh | 1 +
7147 1 file changed, 1 insertion(+)
7149 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
7150 Author: Kai Willadsen <kai.willadsen@gmail.com>
7151 Date: Sun Apr 14 10:54:04 2013 +1000
7153 pygi-convert: Support new-style constructors for Gio.File
7155 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7157 pygi-convert.sh | 2 ++
7158 1 file changed, 2 insertions(+)
7160 commit 1e8120992dc103ac817351be3c150e6cb25f719f
7161 Author: Kai Willadsen <kai.willadsen@gmail.com>
7162 Date: Sun Apr 14 10:22:55 2013 +1000
7164 pygi-convert: Add some support for recent manager constructs
7166 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7168 pygi-convert.sh | 3 +++
7169 1 file changed, 3 insertions(+)
7171 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
7172 Author: Kai Willadsen <kai.willadsen@gmail.com>
7173 Date: Sun Apr 14 07:37:24 2013 +1000
7175 pygi-convert: Check for double quote in require statement
7177 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7179 pygi-convert.sh | 1 +
7180 1 file changed, 1 insertion(+)
7182 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
7183 Author: Kai Willadsen <kai.willadsen@gmail.com>
7184 Date: Sun Apr 14 07:37:00 2013 +1000
7186 pygi-convert: Don't transform arbitrary keysym imports
7188 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7190 pygi-convert.sh | 2 +-
7191 1 file changed, 1 insertion(+), 1 deletion(-)
7193 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
7194 Author: Simon Feltman <sfeltman@src.gnome.org>
7195 Date: Thu Apr 11 04:09:59 2013 -0700
7197 Remove Python keyword escapement in Repository.find_by_name
7199 Strip trailing underscore from module level items before
7200 calling g_irepository_find_by_name. This fixes a problem
7201 with GI module level items having the same name as a Python
7202 keyword raising an AttributeError during access (Pango.break_).
7204 https://bugzilla.gnome.org/show_bug.cgi?id=697363
7206 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
7207 gi/pygi-info.h | 2 ++
7208 gi/pygi-repository.c | 16 ++++++++++++++++
7209 tests/test_overrides_pango.py | 5 +++++
7210 4 files changed, 45 insertions(+), 10 deletions(-)
7212 commit c07404461b126206e369270b56e613f81369c70a
7213 Author: Daniel Drake <dsd@laptop.org>
7214 Date: Mon Mar 18 16:08:09 2013 -0600
7216 Optimize signal lookup in gi repository
7218 Now that we have GSignalQuery results available to us when connecting
7219 signals, we already know which GType implements the signal in
7222 Therefore there is no need to traverse the class parent hierarchy
7223 looking for this, which takes a considerable amount of CPU time.
7225 There is also no need to canonicalize the signal name; both before
7226 and after this patch, by the time we reach this point we have already
7227 successfully looked up the signal name as presented from Python.
7229 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7231 gi/_gobject/pygobject.c | 5 ++--
7232 gi/pygi-signal-closure.c | 59
7233 +++++++++++++-----------------------------------
7234 gi/pygi-signal-closure.h | 1 +
7236 4 files changed, 23 insertions(+), 46 deletions(-)
7238 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
7239 Author: Daniel Drake <dsd@laptop.org>
7240 Date: Mon Mar 18 15:38:19 2013 -0600
7242 Optimize connection of Python-implemented signals
7244 Like properties, when working with signals we must detect if the
7245 signal is implemented in a Python class or if it originates from the
7246 gi repository, and act accordingly.
7248 Asking the gi repository if it can find a signal that is implemented
7249 in a Python class (it can't) takes a considerable amount of CPU time.
7251 Use g_signal_query() to find out which GType implements the signal.
7252 Then perform a simple test to see if this type is implemented at the
7253 Python level, allowing us to to skip the GI querying in this case.
7255 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7257 gi/_gobject/pygobject.c | 19 +++++++++++++++----
7258 1 file changed, 15 insertions(+), 4 deletions(-)
7260 commit e91b35d72f93678a79623347dce271148d57046f
7261 Author: Daniel Drake <dsd@laptop.org>
7262 Date: Mon Mar 18 15:24:52 2013 -0600
7264 Consolidate signal connection code
7266 This code was repeated 4 times with very little variance;
7267 consolidate it and add simple tests to ensure basic coverage.
7269 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7271 gi/_gobject/pygobject.c | 129
7272 +++++++++++++++--------------------------------
7273 tests/test_everything.py | 33 ++++++++++++
7274 2 files changed, 74 insertions(+), 88 deletions(-)
7276 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
7277 Author: Daniel Drake <dsd@laptop.org>
7278 Date: Mon Mar 18 15:11:16 2013 -0600
7280 Fix setting of struct property values
7282 "goto out" in this context means that an error occurred, but this
7283 particular instance was sitting in the "good" codepath.
7285 Fixes setting of struct property values.
7287 gi/pygi-property.c | 3 ++-
7288 1 file changed, 2 insertions(+), 1 deletion(-)
7290 commit 8981ea0422c6837d488311dafe8937593372e736
7291 Author: Daniel Drake <dsd@laptop.org>
7292 Date: Mon Mar 18 14:25:45 2013 -0600
7294 Optimize property get/set when using GObject.props
7296 Skip GI repository lookup for properties defined on Python
7297 defined GObject types.
7299 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7301 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7303 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
7304 1 file changed, 19 insertions(+), 18 deletions(-)
7306 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
7307 Author: Christoph Reiter <reiter.christoph@gmail.com>
7308 Date: Sat Apr 13 17:28:26 2013 +0200
7310 configure.ac: Fix PYTHON_SO with Python3.3
7312 https://bugzilla.gnome.org/show_bug.cgi?id=696646
7314 configure.ac | 5 ++++-
7315 1 file changed, 4 insertions(+), 1 deletion(-)
7317 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
7318 Author: Daniel Drake <dsd@laptop.org>
7319 Date: Mon Mar 18 14:13:37 2013 -0600
7321 Simplify registration of custom types
7323 Use custom quark data to track Python created GTypes.
7325 Remove previous mechanism to track registration of python-implemented
7326 GTypes as it was unused (no custom registration was ever tracked).
7328 Leave vtable pointer and set to NULL to avoid an ABI break.
7330 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7332 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7334 gi/_gobject/gobjectmodule.c | 11 +++++--
7335 gi/_gobject/pygobject-private.h | 8 ++---
7336 gi/_gobject/pygobject.c | 8 ++---
7337 gi/_gobject/pygobject.h | 9 +++---
7338 gi/_gobject/pygtype.c | 69
7339 +++--------------------------------------
7340 5 files changed, 22 insertions(+), 83 deletions(-)
7342 commit 50702a09344825e3a8aa54365d78de807f989d88
7343 Author: Christoph Reiter <reiter.christoph@gmail.com>
7344 Date: Sat Apr 13 16:04:17 2013 +0200
7346 pygi-convert.sh: Add GStreamer rules
7348 https://bugzilla.gnome.org/show_bug.cgi?id=697951
7350 pygi-convert.sh | 17 +++++++++++++++++
7351 1 file changed, 17 insertions(+)
7353 commit b289176e6b37cb2825bd555cea019b85b68d5c57
7354 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
7355 Date: Sun Mar 10 15:04:40 2013 +0200
7357 pygi-convert: Add rule for TreeModelFlags
7359 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7361 pygi-convert.sh | 1 +
7362 1 file changed, 1 insertion(+)
7364 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
7365 Author: Simon Feltman <sfeltman@src.gnome.org>
7366 Date: Fri Mar 29 03:20:44 2013 -0700
7368 Unify interface struct to Python GI marshaling code
7370 Add pygi_marshal_to_py_interface_struct used for direct gi method
7371 call out args and vfunc in args.
7373 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7375 gi/pygi-argument.c | 72 ++++++-------------------------
7376 gi/pygi-marshal-to-py.c | 112
7377 +++++++++++++++++++++++++++++-------------------
7378 gi/pygi-marshal-to-py.h | 8 ++++
7379 3 files changed, 91 insertions(+), 101 deletions(-)
7381 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
7382 Author: Simon Feltman <sfeltman@src.gnome.org>
7383 Date: Thu Mar 28 22:41:51 2013 -0700
7385 Unify Python interface struct to GI marshaling code
7387 Add pygi_marshal_from_py_interface_struct used for direct gi method
7388 call in args and vfunc out args.
7390 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7392 gi/pygi-argument.c | 75 +++++++--------------
7393 gi/pygi-cache.c | 12 +---
7394 gi/pygi-marshal-from-py.c | 167
7395 +++++++++++++++++++++++++++++-----------------
7396 gi/pygi-marshal-from-py.h | 11 +++
7397 4 files changed, 141 insertions(+), 124 deletions(-)
7399 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
7400 Author: Simon Feltman <sfeltman@src.gnome.org>
7401 Date: Thu Mar 28 06:17:15 2013 -0700
7403 Unify Python float and double to GI marshaling code
7405 Change _pygi_argument_from_object to use the cachers marshalers
7406 (_pygi_marshal_from_py_float/double) directly instead of keeping a
7408 Refactor _pygi_marshal_from_py_float/double to use a common utility
7409 _pygi_py_arg_to_double for initial error checking and conversion.
7411 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7413 gi/pygi-argument.c | 26 ++++----------------------
7414 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
7415 2 files changed, 24 insertions(+), 44 deletions(-)
7417 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
7418 Author: Simon Feltman <sfeltman@src.gnome.org>
7419 Date: Thu Mar 28 05:29:08 2013 -0700
7421 Unify filename to Python GI marshaling code
7423 Change _pygi_argument_to_object to use the cachers marshaler
7424 (_pygi_marshal_to_py_filename) directly instead of keeping a
7427 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7429 gi/pygi-argument.c | 22 ++--------------------
7430 gi/pygi-marshal-to-py.c | 6 ++----
7431 2 files changed, 4 insertions(+), 24 deletions(-)
7433 commit 54aa043d96deb02589e13042a46917405ca53780
7434 Author: Simon Feltman <sfeltman@src.gnome.org>
7435 Date: Thu Mar 28 05:20:00 2013 -0700
7437 Unify utf8 to Python GI marshaling code
7439 Change _pygi_argument_to_object to use the cachers marshaler
7440 (_pygi_marshal_to_py_utf8) directly instead of keeping a
7443 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7445 gi/pygi-argument.c | 11 ++++-------
7446 gi/pygi-marshal-to-py.c | 4 +---
7447 2 files changed, 5 insertions(+), 10 deletions(-)
7449 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
7450 Author: Simon Feltman <sfeltman@src.gnome.org>
7451 Date: Thu Mar 28 05:10:45 2013 -0700
7453 Unify unichar to Python GI marshaling code
7455 Change _pygi_argument_to_object to use the cachers marshaler
7456 (_pygi_marshal_to_py_unichar) directly instead of keeping a
7459 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7461 gi/pygi-argument.c | 19 ++-----------------
7462 1 file changed, 2 insertions(+), 17 deletions(-)
7464 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
7465 Author: Simon Feltman <sfeltman@src.gnome.org>
7466 Date: Sat Feb 16 19:49:59 2013 -0800
7468 Unify Python unicode to filename GI marshaling code
7470 Change _pygi_argument_from_object to use the cachers marshaler
7471 (_pygi_marshal_from_py_filename) directly instead of keeping a
7474 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7476 gi/pygi-argument.c | 30 ++----------------------------
7477 1 file changed, 2 insertions(+), 28 deletions(-)
7479 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
7480 Author: Simon Feltman <sfeltman@src.gnome.org>
7481 Date: Sat Feb 16 19:32:54 2013 -0800
7483 Unify Python unicode to utf8 GI marshaling code
7485 Change _pygi_argument_from_object to use the cachers marshaler
7486 (_pygi_marshal_from_py_utf8) directly instead of keeping a
7489 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7491 gi/pygi-argument.c | 32 ++------------------------------
7492 1 file changed, 2 insertions(+), 30 deletions(-)
7494 commit e253c73335fccabc61e0329f8528a90f79858c67
7495 Author: Simon Feltman <sfeltman@src.gnome.org>
7496 Date: Sat Feb 16 19:16:43 2013 -0800
7498 Unify Python unicode to unichar GI marshaling code
7500 Change _pygi_argument_from_object to use the cachers marshaler
7501 (_pygi_marshal_from_py_unichar) directly instead of keeping a
7504 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7506 gi/pygi-argument.c | 34 ++--------------------------------
7507 gi/pygi-marshal-from-py.c | 9 +++++++++
7508 2 files changed, 11 insertions(+), 32 deletions(-)
7510 commit 216caf590b262fed40d10bb34d020089d1197160
7511 Author: Simon Feltman <sfeltman@src.gnome.org>
7512 Date: Thu Apr 4 15:57:12 2013 -0700
7514 Fix enum and flags marshaling type assumptions
7516 Replace assignments of GFlags and GEnum values to various GIArgument
7517 members with v_uint and v_int respectively.
7519 gi/pygi-argument.c | 6 +++---
7520 gi/pygi-property.c | 4 ++--
7521 2 files changed, 5 insertions(+), 5 deletions(-)
7523 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
7524 Author: Christoph Reiter <reiter.christoph@gmail.com>
7525 Date: Thu Apr 4 10:08:38 2013 +0200
7527 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
7529 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
7531 m4/python.m4 | 4 ++--
7532 1 file changed, 2 insertions(+), 2 deletions(-)
7534 commit f82f755a0f419539c223e4a74e33145726c6e69f
7535 Author: Christoph Reiter <reiter.christoph@gmail.com>
7536 Date: Thu Apr 4 09:05:48 2013 +0200
7538 Use distutils.sysconfig to retrieve the python include path.
7540 https://bugzilla.gnome.org/show_bug.cgi?id=696648
7542 m4/python.m4 | 8 ++------
7543 1 file changed, 2 insertions(+), 6 deletions(-)
7545 commit cf81dd66e6387bf27122a71176e91ca39beb6519
7546 Author: Martin Pitt <martinpitt@gnome.org>
7547 Date: Thu Apr 4 06:47:56 2013 +0200
7549 Use g_strdup() consistently
7551 https://bugzilla.gnome.org/show_bug.cgi?id=696650
7553 gi/pygi-marshal-from-py.c | 2 +-
7554 1 file changed, 1 insertion(+), 1 deletion(-)
7556 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
7557 Author: Christoph Reiter <reiter.christoph@gmail.com>
7558 Date: Tue Mar 26 16:03:59 2013 +0100
7560 Support PEP 3149 (ABI version tagged .so files)
7562 Add a ABI suffix to the shared library retrieved from
7564 instead of hardcoding it. This should also make things more robust
7567 https://bugzilla.gnome.org/show_bug.cgi?id=696646
7569 configure.ac | 3 +++
7570 gi/Makefile.am | 14 +++++++-------
7571 gi/_glib/Makefile.am | 14 +++++++-------
7572 gi/_gobject/Makefile.am | 14 +++++++-------
7573 4 files changed, 24 insertions(+), 21 deletions(-)
7575 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
7576 Author: Simon Feltman <sfeltman@src.gnome.org>
7577 Date: Sun Mar 31 01:32:34 2013 -0700
7579 Fix stack corruption due to incorrect format for argument parser
7581 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
7582 of "l" meaning long (8 bytes) in combination with an output pointer
7583 of guint (4 bytes). Change to use gulong with a format of "k".
7585 https://bugzilla.gnome.org/show_bug.cgi?id=696892
7587 gi/_gobject/pygflags.c | 4 ++--
7588 1 file changed, 2 insertions(+), 2 deletions(-)
7590 commit 48e52210ece0e144b4c959e773ea542a912358e7
7591 Author: Simon Feltman <sfeltman@src.gnome.org>
7592 Date: Thu Mar 7 00:26:37 2013 -0800
7594 Deprecate GLib and GObject threads_init
7596 Remove a handful of Python threading related helper functions
7597 from pyglib and pygobject. The binding internals required
7598 GLib.threads_init to be called for PyGObject to work with
7599 Python threads. This was removed as it should not be a requirement.
7600 Using the Python threading module already initializes threading
7601 for us (PyEval_InitThreads).
7603 https://bugzilla.gnome.org/show_bug.cgi?id=686914
7605 gi/_glib/glibmodule.c | 16 --------
7606 gi/_glib/pyglib.c | 94
7607 ---------------------------------------------
7608 gi/_glib/pyglib.h | 28 +++++++-------
7609 gi/_gobject/gobjectmodule.c | 31 ++++-----------
7610 gi/overrides/GLib.py | 8 +++-
7611 gi/overrides/GObject.py | 2 +-
7612 6 files changed, 28 insertions(+), 151 deletions(-)
7614 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
7615 Author: Martin Pitt <martinpitt@gnome.org>
7616 Date: Mon Mar 25 09:03:51 2013 +0100
7618 Drop support for Python 2.6
7620 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
7622 this unblocks e. g. GNOME #682320.
7624 Drop usage of PyCObject_* (which has been superseded by PyCapsule
7626 and drop Python 2.6 specific workarounds.
7629 gi/_glib/pyglib-python-compat.h | 20 ------------------
7630 gi/_gobject/pygobject.h | 6 ------
7633 tests/runtests.py | 45
7634 +----------------------------------------
7635 tests/test_gobject.py | 1 -
7636 tests/test_signal.py | 4 ----
7637 8 files changed, 3 insertions(+), 81 deletions(-)
7639 commit 56347953abb1e214817186581eaf2b2d8762cf97
7640 Author: Martin Pitt <martinpitt@gnome.org>
7641 Date: Wed Oct 24 16:43:25 2012 +0200
7643 Remove static PollFD bindings
7645 Use the GLib API through GI instead, and provide an override to keep a
7646 backwards compatible constructor syntax.
7648 https://bugzilla.gnome.org/show_bug.cgi?id=686795
7650 gi/_glib/Makefile.am | 2 --
7651 gi/_glib/glibmodule.c | 2 --
7652 gi/_glib/pygsource.c | 98
7653 ---------------------------------------------------
7654 gi/_glib/pygsource.h | 36 -------------------
7655 gi/overrides/GLib.py | 17 +++++++--
7656 5 files changed, 15 insertions(+), 140 deletions(-)
7658 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
7659 Author: Martin Pitt <martinpitt@gnome.org>
7660 Date: Mon Mar 25 08:44:24 2013 +0100
7662 Drop test skipping due to too old g-i
7664 We depend on gobject-introspection 1.35.9 now, which has all this API.
7666 tests/test_gi.py | 24 ------------------------
7667 tests/test_object_marshaling.py | 14 --------------
7668 2 files changed, 38 deletions(-)
7670 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
7671 Author: Martin Pitt <martinpitt@gnome.org>
7672 Date: Mon Mar 25 08:37:37 2013 +0100
7674 Bump glib and g-i dependencies
7676 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
7678 versions. This allows us to drop the conditional test suite skips
7680 static PollFD bindings.
7682 configure.ac | 6 +++---
7683 1 file changed, 3 insertions(+), 3 deletions(-)
7685 commit 252556d044322207429c0d0c269365f48e4d819a
7686 Author: Martin Pitt <martinpitt@gnome.org>
7687 Date: Mon Mar 25 08:43:53 2013 +0100
7689 configure.ac: post-release version bump to 3.9.1
7691 configure.ac | 4 ++--
7692 1 file changed, 2 insertions(+), 2 deletions(-)
7694 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
7695 Author: Martin Pitt <martinpitt@gnome.org>
7696 Date: Mon Mar 25 08:12:10 2013 +0100
7701 1 file changed, 4 insertions(+)
7703 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
7704 Author: Simon Feltman <sfeltman@src.gnome.org>
7705 Date: Wed Mar 20 23:45:01 2013 -0700
7707 tests: Fix incorrect assumption when testing pyglib version
7709 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
7710 value that can be used for a future proof unittest here.
7712 tests/test_glib.py | 4 ++--
7713 1 file changed, 2 insertions(+), 2 deletions(-)
7715 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
7716 Author: Martin Pitt <martinpitt@gnome.org>
7717 Date: Mon Mar 18 14:02:29 2013 +0100
7719 configure.ac: post-release bump to 3.8.0
7721 configure.ac | 4 ++--
7722 1 file changed, 2 insertions(+), 2 deletions(-)
7724 commit defbd63e95faafaa84230f160bc95dad0f55e37d
7725 Author: Martin Pitt <martinpitt@gnome.org>
7726 Date: Mon Mar 18 14:01:05 2013 +0100
7730 NEWS | 18 ++++++++++++++++++
7731 1 file changed, 18 insertions(+)
7733 commit a0844a896603c5c91bed24cf94106765f0ced74e
7734 Author: Simon Feltman <sfeltman@src.gnome.org>
7735 Date: Sun Mar 17 23:22:38 2013 -0700
7737 Fix stack smasher when marshaling enums as a vfunc return value
7739 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
7740 flag types. Default interfaces to marshal as a pointer.
7741 Add explicit cases for GType and Unichar out/return marshaling.
7742 Fix leaking of GIBaseInfo when marshaling interface as out arg.
7744 https://bugzilla.gnome.org/show_bug.cgi?id=637832
7746 gi/pygi-closure.c | 69
7747 ++++++++++++++++++++++++++++++++++++++++++++++---------
7748 tests/test_gi.py | 19 +++++++++++++++
7749 2 files changed, 77 insertions(+), 11 deletions(-)
7751 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
7752 Author: Simon Feltman <sfeltman@src.gnome.org>
7753 Date: Sun Mar 17 15:37:09 2013 -0700
7755 Change base class of PyGIDeprecationWarning based on minor version
7757 Use RuntimeWarning as the base class of PyGIDeprecationWarning
7758 for unstable (odd minor version) and use DeprecationWarning for
7759 stable (even minor version). This is so PyGObject deprecations
7760 behave the same as regular Python deprecations in stable releases.
7762 https://bugzilla.gnome.org/show_bug.cgi?id=696011
7764 gi/__init__.py | 14 +++++++++++---
7765 1 file changed, 11 insertions(+), 3 deletions(-)
7767 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
7768 Author: Alban Browaeys <prahal@yahoo.com>
7769 Date: Thu Feb 28 18:57:21 2013 +0100
7771 autogen.sh: Source gnome-autogen to fix out of source builddir
7773 https://bugzilla.gnome.org/show_bug.cgi?id=694889
7776 1 file changed, 1 insertion(+), 1 deletion(-)
7778 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
7779 Author: Martin Pitt <martinpitt@gnome.org>
7780 Date: Tue Mar 5 12:22:15 2013 +0100
7782 Add 3.7.91.1 NEWS entry
7784 Forgot to push this back then.
7787 1 file changed, 3 insertions(+)
7789 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
7790 Author: Simon Feltman <sfeltman@src.gnome.org>
7791 Date: Sun Mar 17 04:19:57 2013 -0700
7793 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
7795 Make get_geometry return a tuple of (x, y, width, height, depth)
7796 as it did in pygtk 2.
7797 Update pygtkcompat.enable_gtk() to default to version 3.0 because
7798 version 2.0 core dumps trying to use introspection with gtk 2.
7800 pygtkcompat/pygtkcompat.py | 8 +++++++-
7801 1 file changed, 7 insertions(+), 1 deletion(-)
7803 commit 38683f721c33cc35f0260868e58643fd35f04cbe
7804 Author: Simon Feltman <sfeltman@src.gnome.org>
7805 Date: Sun Mar 17 02:08:03 2013 -0700
7807 testhelpermodule: Fix build warning for PyGObject_Type redefinition
7809 Remove dynamic retrieval of PyGObject_Type as it is available
7810 in pygobject.h since commit 2656bc47 (causing this compile warning)
7812 tests/testhelpermodule.c | 14 +-------------
7813 1 file changed, 1 insertion(+), 13 deletions(-)
7815 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
7816 Author: Simon Feltman <sfeltman@src.gnome.org>
7817 Date: Sun Mar 17 01:51:33 2013 -0700
7819 pygtkcompat: Initialize hint to zero in set_geometry_hints
7821 pygtkcompat/pygtkcompat.py | 2 +-
7822 1 file changed, 1 insertion(+), 1 deletion(-)
7824 commit 471204953d6fc93b3d311afd133d40f7d75ec541
7825 Author: Simon Feltman <sfeltman@src.gnome.org>
7826 Date: Fri Mar 15 04:33:22 2013 -0700
7828 Remove incorrect bounds check with property helper flags
7830 Remove bounds check for flags as it is not necessary for the
7831 helper to make these kind of judgement calls in general.
7832 e.g. leave it to marshaling/internals to complain about potential
7833 problems. The flags were being bounds checked to a maximum
7834 value of 32 (the intention was most likely to limit it to 32 bits).
7836 gi/_gobject/propertyhelper.py | 3 ---
7837 tests/test_properties.py | 1 -
7838 2 files changed, 4 deletions(-)
7840 commit 2656bc47ca1219b329066da1c2c58018ae624866
7841 Author: Simon Feltman <sfeltman@src.gnome.org>
7842 Date: Thu Mar 7 18:07:17 2013 -0800
7844 Fix crash when setting property of type object to an incorrect type
7846 Add type check when marshaling an object from Python for GObject
7848 Add PyGObject_Type as part of the pygobject API to check for this.
7850 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7852 gi/_gobject/gobjectmodule.c | 3 ++-
7853 gi/_gobject/pygobject.h | 2 ++
7854 gi/pygi-marshal-from-py.c | 8 ++++++++
7855 tests/test_object_marshaling.py | 4 ++++
7856 4 files changed, 16 insertions(+), 1 deletion(-)
7858 commit 44587f42224a44a480629223c8d78a426bc32a12
7859 Author: Simon Feltman <sfeltman@src.gnome.org>
7860 Date: Thu Mar 7 17:59:02 2013 -0800
7862 Remove skipping of object property tests
7864 These were showing up as unexpected successes now that bug 675726
7867 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7869 tests/test_object_marshaling.py | 7 ++-----
7870 1 file changed, 2 insertions(+), 5 deletions(-)
7872 commit 10214ba2d96fd6d66eeea159219f585abff8632a
7873 Author: Simon Feltman <sfeltman@src.gnome.org>
7874 Date: Thu Mar 7 15:34:49 2013 -0800
7876 Give more informative error when setting property to incorrect type
7878 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7880 gi/_gobject/pygobject.c | 10 ++++++++--
7881 1 file changed, 8 insertions(+), 2 deletions(-)
7883 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
7884 Author: Martin Pitt <martinpitt@gnome.org>
7885 Date: Tue Mar 5 12:04:55 2013 +0100
7887 Revert "Drop gi.overrides.overridefunc()"
7889 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
7891 like GEdit plugins use @overrides for functions as well, we must
7895 https://bugzilla.gnome.org/show_bug.cgi?id=695199
7897 gi/overrides/Gtk.py | 7 ++++---
7898 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
7899 2 files changed, 26 insertions(+), 5 deletions(-)
7901 commit 862de794bf01a66aa6d796c674bce375cad37ba7
7902 Author: Martin Pitt <martinpitt@gnome.org>
7903 Date: Mon Mar 4 17:33:51 2013 +0100
7905 configure.ac: Post-release bump to 3.7.92
7908 1 file changed, 1 insertion(+), 1 deletion(-)
7910 commit bb12e652d661cf6ce931b44a89c11951894101bf
7911 Author: Martin Pitt <martinpitt@gnome.org>
7912 Date: Mon Mar 4 17:27:50 2013 +0100
7916 NEWS | 33 +++++++++++++++++++++++++++++++++
7917 1 file changed, 33 insertions(+)
7919 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
7920 Author: Martin Pitt <martinpitt@gnome.org>
7921 Date: Mon Mar 4 17:16:22 2013 +0100
7923 Dot not clobber original Gdk/Gtk functions with overrides
7925 https://bugzilla.gnome.org/show_bug.cgi?id=686835
7927 gi/overrides/Gdk.py | 3 ++-
7928 gi/overrides/Gtk.py | 3 ++-
7929 2 files changed, 4 insertions(+), 2 deletions(-)
7931 commit d50d16428edf42799489fe1befbc4ce56f0fa181
7932 Author: Martin Pitt <martinpitt@gnome.org>
7933 Date: Mon Mar 4 15:30:31 2013 +0100
7935 tests: Reorganize GError and GClosure tests
7937 Split TestGClosure.test_gclosure_in() into its three components.
7939 Merge the various TestGError* classes into one, to match the structure
7943 tests/test_gi.py | 59
7944 +++++++++++++++++++++++++-------------------------------
7945 1 file changed, 26 insertions(+), 33 deletions(-)
7947 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
7948 Author: Martin Pitt <martinpitt@gnome.org>
7949 Date: Mon Mar 4 15:16:25 2013 +0100
7951 Fix memory leaks in property setting/getting
7953 Do not leak GValues and string arrays, free them properly. As we
7955 the intermediate GValues, use g_value_dup_boxed() instead of
7956 g_value_get_boxed() when appropriate.
7958 Detected by test_gi.TestPropertiesObject.test_strv test case.
7960 gi/pygi-property.c | 21 ++++++++++++++++-----
7961 1 file changed, 16 insertions(+), 5 deletions(-)
7963 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
7964 Author: Martin Pitt <martinpitt@gnome.org>
7965 Date: Mon Mar 4 12:43:24 2013 +0100
7967 Fix memory leak in pyg_flags_get_value_nicks()
7969 Discovered by test_gi.TestKeywords.test_uppercase() test.
7971 gi/_gobject/pygflags.c | 7 +++++--
7972 1 file changed, 5 insertions(+), 2 deletions(-)
7974 commit 002a834dd993b82508a4fe262269befcf1a6d341
7975 Author: Martin Pitt <martinpitt@gnome.org>
7976 Date: Mon Mar 4 12:10:03 2013 +0100
7978 Fix memory leak in _pygi_argument_to_array()
7980 Free the originally allocated GArray data before setting it to
7984 Discovered by test_gi.TestStructure.test_boxed_struct_return test
7987 gi/pygi-argument.c | 1 +
7988 1 file changed, 1 insertion(+)
7990 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
7991 Author: Martin Pitt <martinpitt@gnome.org>
7992 Date: Mon Mar 4 10:19:34 2013 +0100
7994 Fix leaking inout C arrays
7996 g_*_info_invoke() changes the original state->in_args and state->args
7998 to the output values for (inout) arguments, thus losing the pointer
8000 originally allocated array. Remember that in state->args_data,
8002 free it in _pygi_marshal_cleanup_from_py_array().
8004 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
8006 gi/pygi-marshal-cleanup.c | 6 ++++++
8007 gi/pygi-marshal-from-py.c | 4 ++++
8008 2 files changed, 10 insertions(+)
8010 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
8011 Author: Martin Pitt <martinpitt@gnome.org>
8012 Date: Fri Mar 1 15:12:31 2013 +0100
8014 Fix leak in _PyGI_ERROR_PREFIX()
8016 Properly clean up our allocated py_error_prefix string.
8018 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
8020 gi/pygi-private.h | 1 +
8021 1 file changed, 1 insertion(+)
8023 commit b388c3e87ce86d26560337c88eb33d0a95647db8
8024 Author: Martin Pitt <martinpitt@gnome.org>
8025 Date: Fri Mar 1 15:01:06 2013 +0100
8027 Fix leaking of boxed array elements
8029 Commit 631d8ef879a copies struct array elements, but this needlessly
8031 and leaks the array element for boxed types. So only do it for
8034 This fixes the memory leak with
8035 test_gi.TestGValue.test_gvalue_flat_array_out.
8037 https://bugzilla.gnome.org/show_bug.cgi?id=693402
8039 gi/pygi-marshal-to-py.c | 3 ++-
8040 1 file changed, 2 insertions(+), 1 deletion(-)
8042 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
8043 Author: Martin Pitt <martinpitt@gnome.org>
8044 Date: Fri Mar 1 14:04:34 2013 +0100
8046 Drop gi.overrides.overridefunc()
8048 This just adds an unnecessary extra function call and is not really
8050 Drop it from the only remaining function which uses this
8052 drop overridefunc().
8054 https://bugzilla.gnome.org/show_bug.cgi?id=686835
8056 gi/overrides/Gtk.py | 7 +++----
8057 gi/overrides/__init__.py | 24 ++----------------------
8058 2 files changed, 5 insertions(+), 26 deletions(-)
8060 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
8061 Author: Martin Pitt <martinpitt@gnome.org>
8062 Date: Fri Mar 1 14:02:02 2013 +0100
8064 Add some tests for overridden Gdk/Gtk functions
8066 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
8068 have overrides for them.
8070 tests/test_overrides_gdk.py | 7 +++++++
8071 tests/test_overrides_gtk.py | 15 +++++++++++++++
8072 2 files changed, 22 insertions(+)
8074 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
8075 Author: Martin Pitt <martinpitt@gnome.org>
8076 Date: Fri Mar 1 11:10:01 2013 +0100
8078 Fix GLib.Source ref leak upon destruction
8080 In GLib.Source.__del__(), manually unref the source if we are a
8082 As we use a static binding to create it, the GI part won't unref it
8084 leading to finalize() method not being called and the GSource
8087 https://bugzilla.gnome.org/show_bug.cgi?id=510511
8089 gi/overrides/GLib.py | 4 ++++
8090 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
8091 2 files changed, 35 insertions(+)
8093 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
8094 Author: Martin Pitt <martinpitt@gnome.org>
8095 Date: Thu Feb 28 15:08:56 2013 +0100
8097 Add performance test for Gtk.ListStore.append
8099 We are going to optimize this in various ways, so let's measure it.
8101 tests/test_overrides_gtk.py | 14 ++++++++++++++
8102 1 file changed, 14 insertions(+)
8104 commit b1ff74b085bdca72c272f019be4dd387073a991a
8105 Author: Simon Feltman <sfeltman@src.gnome.org>
8106 Date: Thu Feb 28 04:32:30 2013 -0800
8108 Optimize GValue.get/set_value by setting GValue.g_type to a local
8110 This increases performance by a factor of 2x for types later
8113 https://bugzilla.gnome.org/show_bug.cgi?id=694857
8115 gi/overrides/GObject.py | 98
8116 +++++++++++++++++++++++++------------------------
8117 1 file changed, 51 insertions(+), 47 deletions(-)
8119 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
8120 Author: Martin Pitt <martinpitt@gnome.org>
8121 Date: Thu Feb 28 11:43:47 2013 +0100
8123 Fix leak of caller-allocated boxed values
8125 Add a new "allocated_slice" argument to _pygi_boxed_new() which
8127 whether its "boxed" pointer was allocated using a slice (by giving
8129 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
8133 Use this in _pygi_marshal_to_py_interface_struct() for
8134 caller-allocated boxed
8135 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
8137 which would otherwise leak.
8139 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
8141 https://bugzilla.gnome.org/show_bug.cgi?id=691501
8143 gi/gimodule.c | 2 +-
8144 gi/pygi-argument.c | 2 +-
8145 gi/pygi-boxed.c | 14 ++++++++++----
8146 gi/pygi-boxed.h | 3 ++-
8147 gi/pygi-marshal-to-py.c | 6 ++++--
8148 gi/pygi-source.c | 3 ++-
8149 6 files changed, 20 insertions(+), 10 deletions(-)
8151 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
8152 Author: Martin Pitt <martinpitt@gnome.org>
8153 Date: Thu Feb 28 10:48:18 2013 +0100
8155 Fix memory handling of caller-allocated boxed types
8157 _pygi_marshal_to_py_interface_struct() and other places treat
8159 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
8160 _caller_alloc() and _cleanup_caller_allocates() to consider
8162 subtypes as well and use the slice allocator instead of malloc()'ing
8164 This avoids trying to free an malloc'ed struct with g_slice_free()
8166 cleans up the boxed values.
8168 The leak was produced with:
8170 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
8171 --leak-check=full --show-possibly-lost=no \
8172 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
8173 (s,e) = b.get_bounds()'
8175 gi/pygi-invoke.c | 2 +-
8176 gi/pygi-marshal-cleanup.c | 2 +-
8177 2 files changed, 2 insertions(+), 2 deletions(-)
8179 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
8180 Author: Martin Pitt <martinpitt@gnome.org>
8181 Date: Wed Feb 27 23:21:34 2013 +0100
8183 Fix cleanup of GValue arrays
8185 Commit bc1fd8 introduced a thinko: We must not change
8186 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
8188 change, and instead put the hack into
8189 _pygi_marshal_cleanup_from_py_array(),
8190 which now short-circuits
8191 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
8192 trying to release a slice which has never been allocated in
8193 _pygi_marshal_from_py_array().
8195 https://bugzilla.gnome.org/show_bug.cgi?id=672224
8197 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
8198 gi/pygi-marshal-from-py.c | 10 +++-------
8199 2 files changed, 13 insertions(+), 8 deletions(-)
8201 commit 70118c3840b10e1585d066a4be485c097cd23e99
8202 Author: Martin Pitt <martinpitt@gnome.org>
8203 Date: Wed Feb 27 21:52:43 2013 +0100
8205 Revert "Mark caller-allocated boxed structures as having a slice
8208 This is wrong after all, as it sets slice_allocated to TRUE, but
8210 corresponding size. Also, poking in internal fields from that place
8212 this should rather be fixed in gi/pygi-marshal-cleanup.c
8213 _cleanup_caller_allocates().
8215 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
8217 gi/pygi-marshal-to-py.c | 4 +---
8218 1 file changed, 1 insertion(+), 3 deletions(-)
8220 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
8221 Author: Martin Pitt <martinpitt@gnome.org>
8222 Date: Wed Feb 27 21:51:30 2013 +0100
8224 Run tests with G_SLICE=debug_blocks
8226 This will help finding regressions in slice management, like in
8227 https://bugzilla.gnome.org/show_bug.cgi?id=691501
8229 tests/Makefile.am | 3 ++-
8230 1 file changed, 2 insertions(+), 1 deletion(-)
8232 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
8233 Author: Martin Pitt <martinpitt@gnome.org>
8234 Date: Wed Feb 27 18:30:23 2013 +0100
8236 Add override helper for stripping boolean returns
8238 Introduce a gi.overrides.strip_boolean_result() helper which checks
8240 return value and if True, return the remaining arguments, otherwise
8242 default. This pattern is being used by a lot of overrides, which get
8243 significantly smaller and more consistent that way.
8245 https://bugzilla.gnome.org/show_bug.cgi?id=694431
8247 gi/overrides/Gdk.py | 27 +-------
8248 gi/overrides/Gtk.py | 156
8249 +++++++++--------------------------------------
8250 gi/overrides/__init__.py | 22 +++++++
8251 3 files changed, 53 insertions(+), 152 deletions(-)
8253 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
8254 Author: Martin Pitt <martinpitt@gnome.org>
8255 Date: Wed Feb 27 15:39:23 2013 +0100
8257 Drop obsolete pygobject_register_sinkfunc() declaration
8259 There is no definition for this any more, nor is it being used
8262 https://bugzilla.gnome.org/show_bug.cgi?id=639849
8264 gi/_gobject/pygobject-private.h | 2 --
8265 1 file changed, 2 deletions(-)
8267 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
8268 Author: Martin Pitt <martinpitt@gnome.org>
8269 Date: Wed Feb 27 13:41:55 2013 +0100
8271 Fix marshalling of C arrays with explicit length in signal arguments
8273 We need _pygi_argument_to_array() from both closure marshalling
8275 the arguments as GIArgument array) and signal closure marshalling
8277 have the arguments in a GValue array). Add an alternative
8279 parameter to _pygi_argument_to_array() so that callers can specify
8281 other depending on which type they have available.
8283 This allows us to pass on the full argument list for signal closures,
8285 _pygi_argument_to_array() can access the explicit length argument
8289 This fixes the GSettings:change-event signal.
8291 https://bugzilla.gnome.org/show_bug.cgi?id=662241
8293 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
8294 gi/pygi-argument.h | 1 +
8295 gi/pygi-closure.c | 2 +-
8296 gi/pygi-info.c | 4 ++--
8297 gi/pygi-signal-closure.c | 3 ++-
8298 tests/test_gio.py | 18 ++++++++++++++++++
8299 6 files changed, 52 insertions(+), 12 deletions(-)
8301 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
8302 Author: Martin Pitt <martinpitt@gnome.org>
8303 Date: Wed Feb 27 08:07:20 2013 +0100
8305 Fix signedness, overflow checking, and 32 bit overflow of GFlags
8307 GFlagsValue.value is a guint, so we must access it as unsigned
8309 new macros PYGLIB_PyLong_FromUnsignedLong() and
8310 PYGLIB_PyLong_AsUnsignedLong()
8311 for that purpose, and consistently use them for handling flag
8313 checked variant of these functions which produce OverflowErrors
8315 of the unchecked PYGLIB_PyLong_AS_LONG().
8317 Insert zero padding after the PyLongObject in PyGFlags and
8319 this, the directly adjacent GType field seems to confuse
8320 PyLong_FromUnsignedLong() and includes the GType into the numeric
8323 https://bugzilla.gnome.org/show_bug.cgi?id=693121
8325 gi/_glib/pyglib-python-compat.h | 8 +++++++
8326 gi/_gobject/gobjectmodule.c | 2 +-
8327 gi/_gobject/pygflags.c | 52
8328 +++++++++++++++++++++++++----------------
8329 gi/_gobject/pygobject-private.h | 10 ++++----
8330 gi/_gobject/pygobject.h | 4 ++--
8331 gi/_gobject/pygtype.c | 6 ++---
8332 tests/test_overrides_gdk.py | 15 ++++++++++++
8333 7 files changed, 67 insertions(+), 30 deletions(-)
8335 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
8336 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8337 Date: Tue Feb 26 16:15:36 2013 +0800
8339 gi/pygi-marshal-from-py.c: Fix build on Visual C++
8341 Since Visual C++ does not provide the INFINITY and NAN constants
8343 math.h (they are items defined by C99), provide fallback
8345 for it here. The INFINITY constant can be provided with HUGE_VAL,
8347 we are using INFINITY to check the value of a variable of double
8349 we could use a rather simple workaround for NAN.
8351 Also avoid declaring variables in the middle of the block.
8353 https://bugzilla.gnome.org/show_bug.cgi?id=692856
8355 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
8356 1 file changed, 18 insertions(+), 1 deletion(-)
8358 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
8359 Author: Martin Pitt <martinpitt@gnome.org>
8360 Date: Tue Feb 26 16:42:19 2013 +0100
8362 Fix some style issues with previous patch
8364 gi/pygi-cache.c | 6 +++---
8365 1 file changed, 3 insertions(+), 3 deletions(-)
8367 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
8368 Author: Martin Pitt <martinpitt@gnome.org>
8369 Date: Tue Feb 26 10:15:22 2013 +0100
8371 Raise DeprecationWarning on deprecated callables
8373 Check if a callable is marked as deprecated and raise a
8374 DeprecationWarning in
8378 - Python hides DeprecationWarning by default, you need to enable
8380 - The deprecation message is currently not in the typelib (bug
8383 https://bugzilla.gnome.org/show_bug.cgi?id=665084
8385 gi/pygi-cache.c | 14 ++++++++++++++
8386 tests/test_gi.py | 10 ++++++++++
8387 2 files changed, 24 insertions(+)
8389 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
8390 Author: Simon Feltman <sfeltman@src.gnome.org>
8391 Date: Mon Feb 18 00:39:45 2013 -0800
8393 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
8395 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
8396 Add Gtk.Widget.window property which uses get_window()
8397 Add Gtk.TextView.scroll_to_mark with defaults
8398 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
8400 https://bugzilla.gnome.org/show_bug.cgi?id=694067
8402 gi/pygtkcompat.py | 2 ++
8403 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
8404 2 files changed, 16 insertions(+)
8406 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
8407 Author: Simon Feltman <sfeltman@src.gnome.org>
8408 Date: Sun Dec 16 02:56:06 2012 -0800
8410 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
8413 Monkey patch a keyword argument version of set_geometry_hints onto
8415 This version is compatible with pygtk and takes keywords instead of a
8416 Gdk.Geometry and Gdk.GeometryMask.
8418 https://bugzilla.gnome.org/show_bug.cgi?id=694067
8420 pygtkcompat/pygtkcompat.py | 44
8421 ++++++++++++++++++++++++++++++++++++++++++++
8422 1 file changed, 44 insertions(+)
8424 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
8425 Author: Martin Pitt <martinpitt@gnome.org>
8426 Date: Tue Feb 26 10:09:47 2013 +0100
8428 tests: Fix warning behaviour
8430 -Werror::* does not seem to do what it says on the tin, these
8432 ignored entirely apparently. Just keep -Wd to actually show all
8434 including DeprecationWarning, which is hidden by default.
8436 tests/Makefile.am | 2 +-
8437 1 file changed, 1 insertion(+), 1 deletion(-)
8439 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
8440 Author: Martin Pitt <martinpitt@gnome.org>
8441 Date: Tue Feb 26 08:49:10 2013 +0100
8443 Ship pygobject.doap for autogen.sh
8445 https://bugzilla.gnome.org/show_bug.cgi?id=694591
8448 1 file changed, 1 insertion(+)
8450 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
8451 Author: Simon Feltman <sfeltman@src.gnome.org>
8452 Date: Tue Feb 19 03:07:19 2013 -0800
8454 Fix crashes in various GObject signal handler functions
8456 Fix crashes in a large amount of signal handler functions exposed
8457 on the GObject module. This is possible now that the underlying
8458 GObject pointer is exposed to Python as a PyCapsule which marshaling
8459 can handle. The following functions in the GObject module have been
8462 signal_handler_unblock
8463 signal_handler_disconnect
8464 signal_handler_is_connected
8465 signal_stop_emission
8466 signal_stop_emission_by_name
8467 signal_has_handler_pending
8468 signal_connect_closure
8469 signal_connect_closure_by_id
8471 signal_handlers_destroy
8473 https://bugzilla.gnome.org/show_bug.cgi?id=633927
8475 gi/_gobject/gobjectmodule.c | 57 ++--------------
8476 gi/overrides/GObject.py | 158
8477 ++++++++++++++++++++++++++++++++++----------
8478 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
8479 3 files changed, 247 insertions(+), 89 deletions(-)
8481 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
8482 Author: Olivier Crête <olivier.crete@collabora.com>
8483 Date: Fri Sep 14 21:29:53 2012 -0400
8485 pygi-closure: Protect the GSList prepend with the GIL
8487 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8489 https://bugzilla.gnome.org/show_bug.cgi?id=684060
8491 gi/pygi-closure.c | 4 ++--
8492 1 file changed, 2 insertions(+), 2 deletions(-)
8494 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
8495 Author: Simon Feltman <sfeltman@src.gnome.org>
8496 Date: Wed Feb 20 01:21:32 2013 -0800
8498 generictreemodel: Fix bad default return type for get_column_type
8500 pygtkcompat/generictreemodel.py | 2 +-
8501 1 file changed, 1 insertion(+), 1 deletion(-)
8503 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
8504 Author: Martin Pitt <martinpitt@gnome.org>
8505 Date: Tue Feb 19 12:23:13 2013 +0100
8507 configure.ac: post-release bump to 3.7.91
8510 1 file changed, 1 insertion(+), 1 deletion(-)
8512 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
8513 Author: Martin Pitt <martinpitt@gnome.org>
8514 Date: Tue Feb 19 12:19:35 2013 +0100
8518 NEWS | 17 +++++++++++++++++
8520 2 files changed, 18 insertions(+), 1 deletion(-)
8522 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
8523 Author: Simon Feltman <sfeltman@src.gnome.org>
8524 Date: Mon Feb 18 01:46:22 2013 -0800
8526 overrides: Fix inconsistencies with drag and drop target list API
8528 Add support to Gtk.Widget.drag_dest_set_target_list and
8529 Gtk.Widget.drag_source_set_target_list to accept iterables containing
8530 mixed TargetEntry or a tuple of (target, flags, info).
8531 Add support to Gtk.TreeView.enable_model_drag_source and
8532 Gtk.TreeView.enable_model_drag_dest to accept a list of
8536 https://bugzilla.gnome.org/show_bug.cgi?id=680640
8538 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
8539 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
8540 2 files changed, 61 insertions(+), 11 deletions(-)
8542 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
8543 Author: Simon Feltman <sfeltman@src.gnome.org>
8544 Date: Mon Feb 18 03:19:34 2013 -0800
8546 tests: Add test_marshaling_object to Makefile.am
8548 tests/Makefile.am | 1 +
8549 1 file changed, 1 insertion(+)
8551 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
8552 Author: Simon Feltman <s.feltman@gmail.com>
8553 Date: Wed Aug 29 03:46:23 2012 -0700
8555 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
8557 Add Python implementation of the GenericTreeModel that was
8558 available in pygtk. The implementation attempts a better job
8559 than the original at ref counting by guaranteeing no leaks
8560 upon deletion of the model itself. Or by using the extra "node"
8561 argument to the row_deleted signal. The model is available in
8562 the pygtkcompat package directly as
8563 pygtkcompat.generictreemodel.GenericTreeModel or with as
8564 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
8566 Add file list and tree demos making use of GenericTreeModel
8569 Auto-expand gtk-demo app tree to give a better overview of
8570 the demos available.
8572 https://bugzilla.gnome.org/show_bug.cgi?id=682933
8574 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
8575 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
8576 demos/gtk-demo/gtk-demo.py | 2 +-
8577 gi/pygtkcompat.py | 2 +-
8578 pygtkcompat/Makefile.am | 1 +
8579 pygtkcompat/generictreemodel.py | 420
8580 +++++++++++++++++++++
8581 pygtkcompat/pygtkcompat.py | 3 +
8582 tests/Makefile.am | 1 +
8583 tests/test_generictreemodel.py | 406
8584 ++++++++++++++++++++
8585 9 files changed, 1346 insertions(+), 2 deletions(-)
8587 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
8588 Author: Simon Feltman <sfeltman@src.gnome.org>
8589 Date: Mon Feb 18 02:54:14 2013 -0800
8591 overrides: Add support for iterables besides tuples for TreePath
8594 Allow Gtk.TreePath to accept any iterable for creation of the path.
8596 https://bugzilla.gnome.org/show_bug.cgi?id=682933
8598 gi/overrides/Gtk.py | 2 +-
8599 1 file changed, 1 insertion(+), 1 deletion(-)
8601 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
8602 Author: Simon Feltman <sfeltman@src.gnome.org>
8603 Date: Fri Feb 15 22:56:29 2013 -0800
8605 Unify Python callable to GClosure GI marshaling code
8607 Add pygi_marshal_from_py_gclosure which can be used for direct
8609 call args and vfunc out args.
8611 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8613 gi/pygi-argument.c | 14 +-----------
8614 gi/pygi-marshal-from-py.c | 55
8615 ++++++++++++++++++++++++++++-------------------
8616 gi/pygi-marshal-from-py.h | 3 +++
8617 3 files changed, 37 insertions(+), 35 deletions(-)
8619 commit 9e47afe459df942d9ffc4f71b39f1443976293df
8620 Author: Simon Feltman <sfeltman@src.gnome.org>
8621 Date: Fri Feb 15 20:56:12 2013 -0800
8623 Unify Python object to GValue GI marshaling code
8625 Add pygi_marshal_from_py_g_value which can be used for direct
8627 call args and vfunc out args. The new method also adds an
8629 parameter that will be used to fix leaks in the future.
8631 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8633 gi/pygi-argument.c | 43 +++++++--------------------
8634 gi/pygi-marshal-from-py.c | 74
8635 ++++++++++++++++++++++++++++++++---------------
8636 gi/pygi-marshal-from-py.h | 5 ++++
8637 3 files changed, 65 insertions(+), 57 deletions(-)
8639 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
8640 Author: Simon Feltman <sfeltman@src.gnome.org>
8641 Date: Fri Feb 15 23:07:57 2013 -0800
8643 Rename pygi_marshal_from_py_object to make it more explicit
8645 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
8646 to make it more explicit and give consistency with future refactoring.
8648 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8650 gi/pygi-argument.c | 2 +-
8651 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
8652 gi/pygi-marshal-from-py.h | 6 +++---
8653 3 files changed, 17 insertions(+), 13 deletions(-)
8655 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
8656 Author: Niklas Koep <niklas.koep@gmail.com>
8657 Date: Fri Feb 15 21:23:01 2013 -0800
8659 Prefix __module__ attribute of function objects with gi.repository
8661 This allows gi module methods to work with pydoc and help().
8662 Additionally correct typo in two docstrings of the same module.
8664 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
8666 https://bugzilla.gnome.org/show_bug.cgi?id=693839
8668 gi/overrides/__init__.py | 3 ++-
8669 gi/types.py | 6 +++---
8670 2 files changed, 5 insertions(+), 4 deletions(-)
8672 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
8673 Author: Jonathan Ballet <jon@multani.info>
8674 Date: Thu Feb 14 07:50:02 2013 +0100
8676 configure.ac: only enable code coverage when available
8678 When building with an older gnome-common which does not yet provide
8680 coverage support, disable it instead of breaking the configure script.
8682 https://bugzilla.gnome.org/show_bug.cgi?id=693328
8684 configure.ac | 10 +++++++++-
8685 1 file changed, 9 insertions(+), 1 deletion(-)
8687 commit 42cbff60e2032f715d9be6ab280954211899e03c
8688 Author: Jonathan Ballet <jon@multani.info>
8689 Date: Tue Feb 12 23:03:00 2013 +0100
8691 Correctly set properties on object with statically defined properties
8693 Fix failures in GObject.Object.set_properties() when used with
8694 statically defined properties:
8696 * Calling the method was raising a "SystemError: error return without
8697 exception set" since `result` was (most of the time) still NULL at the
8698 end of pygobject_set_properties()
8700 * Calling the method with several properties would only set one of
8701 the properties, since the function was exiting too early.
8703 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8705 https://bugzilla.gnome.org/show_bug.cgi?id=693618
8707 gi/_gobject/pygobject.c | 19 +++++++++++--------
8708 tests/test_gi.py | 6 ++++++
8709 2 files changed, 17 insertions(+), 8 deletions(-)
8711 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
8712 Author: Martin Pitt <martinpitt@gnome.org>
8713 Date: Mon Feb 11 18:08:37 2013 +0100
8715 autogen.sh: Use gnome-autogen.sh
8717 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
8719 in a much better error message when gnome-common is not installed,
8722 https://bugzilla.gnome.org/show_bug.cgi?id=693328
8724 autogen.sh | 30 +++++++++++++++++-------------
8725 1 file changed, 17 insertions(+), 13 deletions(-)
8727 commit c107bb1f9275a748b494d3f32818f227e07cadf0
8728 Author: Christoph Reiter <christoph.reiter@gmx.at>
8729 Date: Mon Feb 11 10:07:47 2013 +0100
8731 GTK tests: Add and use context manager for realized widgets
8733 https://bugzilla.gnome.org/show_bug.cgi?id=693377
8735 tests/test_overrides_gtk.py | 91
8736 +++++++++++++++++++++++++--------------------
8737 1 file changed, 50 insertions(+), 41 deletions(-)
8739 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
8740 Author: Martin Pitt <martinpitt@gnome.org>
8741 Date: Mon Feb 11 08:55:19 2013 +0100
8743 _pygi_marshal_from_py_array: Fix uninitialized variable
8745 gi/pygi-marshal-from-py.c | 2 +-
8746 1 file changed, 1 insertion(+), 1 deletion(-)
8748 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
8749 Author: Christoph Reiter <christoph.reiter@gmx.at>
8750 Date: Mon Feb 11 08:34:42 2013 +0100
8752 Skip some vfunc tests with gi 1.34
8754 https://bugzilla.gnome.org/show_bug.cgi?id=693374
8756 tests/test_object_marshaling.py | 14 ++++++++++++++
8757 1 file changed, 14 insertions(+)
8759 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
8760 Author: Simon Feltman <sfeltman@src.gnome.org>
8761 Date: Sun Feb 10 13:40:45 2013 -0800
8763 Remove workaround for g_struct_info_get_size reporting incorrect size
8765 Remove workaround for g_struct_info_get_size reporting incorrect size
8766 for boxed GValues. Verified this now returns the correct size of 24.
8768 https://bugzilla.gnome.org/show_bug.cgi?id=622711
8770 gi/pygi-boxed.c | 31 +++++++++++++------------------
8771 1 file changed, 13 insertions(+), 18 deletions(-)
8773 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
8774 Author: Simon Feltman <sfeltman@src.gnome.org>
8775 Date: Mon Feb 4 20:50:10 2013 -0800
8777 Fix reference leaks with transient floating objects
8779 Unify and refactor caller and callee GObject argument marshalers.
8780 Combine code from the large switch statement used to marshal
8781 arguments to and from vfuncs/closures with the marshalers used
8782 for direct calls to gi functions. This fixes a reference leak
8783 when marshalling GObjects to Python with transfer=full due to
8784 the diverging code paths.
8785 Replace ability in gobject_new_full to optionally sink objects
8786 with ability to optionaly "steal" objects. This fits the premise
8787 that binding layers should always sink objects initially. The
8788 steal argument is then used for marshalling arguments which are
8790 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
8792 https://bugzilla.gnome.org/show_bug.cgi?id=687522
8794 gi/_gobject/gobjectmodule.c | 10 +++++--
8795 gi/_gobject/pygobject-private.h | 2 +-
8796 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
8797 gi/_gobject/pygobject.h | 8 ++++--
8798 gi/pygi-argument.c | 52 +++++++++++++++++------------------
8799 gi/pygi-marshal-from-py.c | 61
8800 +++++++++++++++++++++++++++++++++++++----
8801 gi/pygi-marshal-from-py.h | 6 ++++
8802 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
8803 gi/pygi-marshal-to-py.h | 5 ++++
8804 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
8805 10 files changed, 181 insertions(+), 97 deletions(-)
8807 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
8808 Author: Simon Feltman <sfeltman@src.gnome.org>
8809 Date: Wed Feb 6 12:56:44 2013 -0800
8811 tests: Fix spelling mistakes in new vfunc object marshalling tests
8813 tests/test_object_marshaling.py | 12 ++++++------
8814 1 file changed, 6 insertions(+), 6 deletions(-)
8816 commit cd96fd8b8e10add9890f36ec237bb78548de7002
8817 Author: Martin Pitt <martinpitt@gnome.org>
8818 Date: Tue Feb 5 07:53:38 2013 +0100
8820 configure.ac: post-release bump to 3.7.6
8823 1 file changed, 1 insertion(+), 1 deletion(-)
8825 commit 92b1404e61f46348168f32720eff4a482531e5e3
8826 Author: Martin Pitt <martinpitt@gnome.org>
8827 Date: Tue Feb 5 07:46:46 2013 +0100
8833 2 files changed, 4 insertions(+), 1 deletion(-)
8835 commit a3a30559240077194f23c4651d6f382fa59b7d63
8836 Author: Simon Feltman <sfeltman@src.gnome.org>
8837 Date: Mon Feb 4 15:16:37 2013 -0800
8839 Fix API break with pygobject.h
8841 Move pygobject_new_full after everything in the public API table.
8842 This fixes a break that went in along with bug 675726.
8844 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8846 gi/_gobject/gobjectmodule.c | 5 +++--
8847 gi/_gobject/pygobject.h | 2 +-
8848 2 files changed, 4 insertions(+), 3 deletions(-)
8850 commit b3ca7e27494c35620995840d777037a097082661
8851 Author: Martin Pitt <martinpitt@gnome.org>
8852 Date: Mon Feb 4 19:53:26 2013 +0100
8854 configure.ac: post-release bump to 3.7.6
8857 1 file changed, 1 insertion(+), 1 deletion(-)
8859 commit 77f638411314218748f349b337a36e2864eed1f4
8860 Author: Martin Pitt <martinpitt@gnome.org>
8861 Date: Mon Feb 4 19:37:14 2013 +0100
8865 NEWS | 24 ++++++++++++++++++++++++
8866 1 file changed, 24 insertions(+)
8868 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
8869 Author: Simon Feltman <sfeltman@src.gnome.org>
8870 Date: Sun Feb 3 23:56:14 2013 -0800
8872 Fix pointer cast warning that was missed in bug 675726
8874 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8876 gi/_gobject/pygobject.h | 2 +-
8877 1 file changed, 1 insertion(+), 1 deletion(-)
8879 commit b31d8a952cd57dc92b06a381e054199660a2d570
8880 Author: Simon Feltman <sfeltman@src.gnome.org>
8881 Date: Thu Jan 31 02:35:36 2013 -0800
8883 Move various signal methods from static bindings to gi and python
8885 Move disconnect, handler_is_connected, handler_block, handler_unblock,
8886 and stop_emission from static to gi python overrides.
8888 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8890 gi/_gobject/pygobject.c | 90
8891 -------------------------------------------------
8892 gi/overrides/GObject.py | 44 +++++++++++++++++-------
8893 tests/test_signal.py | 19 ++++++-----
8894 3 files changed, 42 insertions(+), 111 deletions(-)
8896 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
8897 Author: Paolo Borelli <pborelli@gnome.org>
8898 Date: Fri Feb 1 21:09:26 2013 +0100
8900 GLib overrides: Support unpacking 'maybe' variants
8902 Automatically unpack 'maybe' variants to None or to their actual value
8903 as we do for other kind of variants
8905 https://bugzilla.gnome.org/show_bug.cgi?id=693032
8907 gi/overrides/GLib.py | 5 +++++
8908 tests/test_overrides_glib.py | 8 ++++++++
8909 2 files changed, 13 insertions(+)
8911 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
8912 Author: Mike Gorse <mgorse@suse.com>
8913 Date: Mon Jan 21 16:45:52 2013 -0600
8915 Fix ref count leak when creating pygobject wrappers for input args
8917 Only sink input references for closures and vfuncs when transfer is
8918 everything. This fixes cases where incoming floating references for
8919 callbacks need to maintain their floating state throughout the
8920 callback so they don't leak a strong reference. Re-introduce a
8921 working "sink" argument to pygobject_new_full which allows for this.
8922 Change existing callers to always sink in order maintain behavior.
8924 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
8926 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8928 gi/_gobject/gobjectmodule.c | 5 +--
8929 gi/_gobject/pygobject.c | 7 ++--
8930 gi/_gobject/pygobject.h | 2 ++
8931 gi/pygi-argument.c | 13 +++----
8932 tests/test_object_marshaling.py | 76
8933 +++++++++++++++++++++++++++++++++++++----
8934 5 files changed, 85 insertions(+), 18 deletions(-)
8936 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
8937 Author: Simon Feltman <sfeltman@src.gnome.org>
8938 Date: Thu Jan 31 01:50:44 2013 -0800
8940 Add tests for signal stop_emission, disconnect, and
8941 handler_is_connected
8943 Add tests for methods which will be moving from static bindings to gi
8944 by using the new __gpointer__ attribute of GObject.
8946 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8948 tests/test_signal.py | 51
8949 ++++++++++++++++++++++++++++++++++++++++++++++++++-
8950 1 file changed, 50 insertions(+), 1 deletion(-)
8952 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
8953 Author: Simon Feltman <sfeltman@src.gnome.org>
8954 Date: Wed Jan 30 21:37:07 2013 -0800
8956 Add __gpointer__ property to GObject static binding
8958 Add access to the underlying C GObject pointer by wrapping it in a
8959 PyCapsule/PyCPointer and exposing it as __gpointer__.
8960 Add special case marshaling for gi parameters annotated as gpointer
8961 to accept a PyCapsule and extract the underlying pointer as the arg.
8962 This allows usage of methods like GObject.signal_handler_disconnect
8963 which we can start replacing the static bindings with.
8965 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8967 gi/_gobject/pygobject.c | 11 +++++++++--
8968 gi/pygi-marshal-from-py.c | 6 +++++-
8969 2 files changed, 14 insertions(+), 3 deletions(-)
8971 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
8972 Author: Simon Feltman <sfeltman@src.gnome.org>
8973 Date: Sun Jan 27 01:22:37 2013 -0800
8975 Prefix names of typeless enums and flags for GType registration
8977 Prefix names given to g_flags_register_static and
8978 g_enum_register_static
8979 with "Py". This avoids conflicts with GTypes of the same name being
8980 registered later by a library which does not provide a "get-type"
8983 https://bugzilla.gnome.org/show_bug.cgi?id=692515
8985 gi/gimodule.c | 10 ++++++++--
8986 tests/test_gi.py | 4 ++--
8987 2 files changed, 10 insertions(+), 4 deletions(-)
8989 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
8990 Author: Simon Feltman <sfeltman@src.gnome.org>
8991 Date: Wed Jan 30 04:35:32 2013 -0800
8993 Add tests for vfunc object arguments and returns
8995 Add tests which use different combinations of floating, transfer full,
8996 transfer none, and held wrapper as in, out, or return arguments
8998 Most of these are marked as skip or expectedFailure due to various
9002 https://bugzilla.gnome.org/show_bug.cgi?id=687522
9004 gi/overrides/GObject.py | 15 +-
9005 tests/test_object_marshaling.py | 540
9006 ++++++++++++++++++++++++++++++++++++++++
9007 2 files changed, 550 insertions(+), 5 deletions(-)
9009 commit 73a83186329ede7702501d5bc49df269482461e4
9010 Author: Paolo Borelli <pborelli@gnome.org>
9011 Date: Wed Jan 30 17:48:12 2013 +0100
9013 Cosmetic fix to last patch
9015 gi/pygi-argument.c | 7 +++++--
9016 1 file changed, 5 insertions(+), 2 deletions(-)
9018 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
9019 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9020 Date: Fri Jan 25 13:05:18 2013 +0800
9022 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
9024 Drop the array forward static declarations. They are not necessary
9028 Also move declarations of variables to the top of their respective
9031 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9033 gi/pygi-info.c | 18 ++++++++++--------
9034 gi/pygi-repository.c | 2 --
9035 2 files changed, 10 insertions(+), 10 deletions(-)
9037 commit 2e7c458ef6377a872043634b47737ef12eed744a
9038 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9039 Date: Fri Jan 25 13:00:48 2013 +0800
9041 Move variable declaration to top of blocks (C99ism)
9043 Move variable declarations to the top of their respective blocks,
9045 code will build under C89 compilers such as Visual C++.
9047 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9049 gi/pygi-argument.c | 10 ++++++----
9050 gi/pygi-closure.c | 23 +++++++++++++++--------
9051 gi/pygi-invoke.c | 3 ++-
9052 gi/pygi-marshal-cleanup.c | 3 ++-
9053 gi/pygi-property.c | 3 ++-
9054 5 files changed, 27 insertions(+), 15 deletions(-)
9056 commit 20fc5aa7514215fc7807adceb603d17f7943304a
9057 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9058 Date: Fri Jan 25 12:58:26 2013 +0800
9060 gi/pygobject-external.h: Remove GCCism
9062 We can use G_GNUC_UNUSED from GLib that does the same purpose of
9063 __attribute__ ( (unused)) when we are using a GCC that provides this.
9065 The GLib headers that defines that macro should have already been
9067 before this header is included (due to use of gboolean).
9069 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9071 gi/pygobject-external.h | 2 +-
9072 1 file changed, 1 insertion(+), 1 deletion(-)
9074 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
9075 Author: Martin Pitt <martinpitt@gnome.org>
9076 Date: Wed Jan 30 14:59:11 2013 +0100
9078 tests: Update test_double() after e65c1248
9080 Commit e65c1248 introduced support for NaN and ±inf as valid
9082 rendering the "expect ValueError on 2*double" check broken. Just
9085 tests/test_everything.py | 1 -
9086 1 file changed, 1 deletion(-)
9088 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
9089 Author: Martin Pitt <martinpitt@gnome.org>
9090 Date: Wed Jan 23 07:14:16 2013 +0100
9092 Do not immediately initialize Gdk and Gtk on import
9094 Raising an exception if Gdk/Gtk cannot be imported makes it
9096 merely import a module for e. g. nosetests without actually running
9099 Programs who want to provide a proper error message should check
9100 Gtk.initialized explicitly after importing. Check initialized
9102 Window.__init__() instead to provide a reasonably early error message
9106 https://bugzilla.gnome.org/show_bug.cgi?id=692300
9108 gi/overrides/Gdk.py | 2 --
9109 gi/overrides/Gtk.py | 5 +++--
9110 2 files changed, 3 insertions(+), 4 deletions(-)
9112 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
9113 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9114 Date: Fri Jan 25 12:49:18 2013 +0800
9116 gi/overrides/Glib.py: Fix running on Windows/non-Unix
9118 The definition of self._signal_source uses a Unix-specific GLib
9120 does not exist or have a direct equivilant on Windows.
9122 Only define and use that variable when we aren't on Windows.
9124 gi/overrides/GLib.py | 18 ++++++++++--------
9125 1 file changed, 10 insertions(+), 8 deletions(-)
9127 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
9128 Author: Martin Pitt <martinpitt@gnome.org>
9129 Date: Wed Jan 23 14:56:02 2013 +0100
9131 Accept ±inf and NaN as float and double values
9133 Also fix the broken error message when a float value is out of range.
9134 PyErr_Format() does not support float macros.
9136 https://bugzilla.gnome.org/show_bug.cgi?id=692381
9138 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
9139 tests/test_gobject.py | 14 ++++++++++++++
9140 2 files changed, 33 insertions(+), 18 deletions(-)
9142 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
9143 Author: Martin Pitt <martinpitt@gnome.org>
9144 Date: Wed Jan 23 14:28:42 2013 +0100
9146 Fix repr() of GLib.Variant
9148 When using a standard constructor like GLib.Variant.new_*(), the
9150 not have a format_string property, and previously repr() would
9152 to get_type_string() instead.
9154 Also drop the unintended type annotations in repr().
9156 gi/overrides/GLib.py | 6 +++++-
9157 tests/test_overrides_glib.py | 15 ++++++++++++++-
9158 2 files changed, 19 insertions(+), 2 deletions(-)
9160 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
9161 Author: Martin Pitt <martinpitt@gnome.org>
9162 Date: Wed Jan 23 14:14:29 2013 +0100
9164 Fix gtk-demo for Python 3
9166 It was crashing with
9168 package = __import__(packagename, globals(), locals(),
9170 ValueError: level must be >= 0
9172 Using level zero works with both Python 2 and 3.
9174 demos/gtk-demo/gtk-demo.py | 2 +-
9175 1 file changed, 1 insertion(+), 1 deletion(-)
9177 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
9178 Author: Colin Walters <walters@verbum.org>
9179 Date: Tue Jan 22 10:49:57 2013 -0500
9181 build: Add autogen.sh to EXTRA_DIST
9183 So downstreams that patch the autotools can use it.
9186 1 file changed, 1 insertion(+)
9188 commit ed7fb99efa81854d947ae548d41a03f5275c5884
9189 Author: Martin Pitt <martinpitt@gnome.org>
9190 Date: Thu Jan 17 08:23:02 2013 +0100
9192 Define GObject.TYPE_VALUE gtype constant
9194 gi/overrides/GObject.py | 4 +++-
9195 tests/test_gobject.py | 4 ++++
9196 2 files changed, 7 insertions(+), 1 deletion(-)
9198 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
9199 Author: Olivier Crête <olivier.crete@collabora.com>
9200 Date: Mon Sep 17 15:37:04 2012 -0400
9202 gobject: Go through introspection on property setting
9204 Consider introspected properties in object.set_property().
9206 https://bugzilla.gnome.org/show_bug.cgi?id=684062
9208 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
9209 tests/test_properties.py | 13 ++++++++++---
9210 2 files changed, 27 insertions(+), 4 deletions(-)
9212 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
9213 Author: Mike Gorse <mgorse@suse.com>
9214 Date: Tue Jan 15 20:04:46 2013 -0600
9216 Clean up caller-allocated GValues and their memory
9218 When space for a GValue is allocated by the caller (as in
9219 gtk_tree_model_get_value), we need to free the space allocated for the
9220 value along with its contents. The GValue is not needed after
9221 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
9222 have it unset the value and deallocate the memory.
9224 https://bugzilla.gnome.org/show_bug.cgi?id=691820
9226 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
9227 1 file changed, 18 insertions(+), 2 deletions(-)
9229 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
9230 Author: Dmitry Shachnev <mitya57@ubuntu.com>
9231 Date: Wed Jan 16 13:44:42 2013 +0400
9233 tests: define correct unittest.skipIf for python 2.6
9235 tests/runtests.py | 2 +-
9236 1 file changed, 1 insertion(+), 1 deletion(-)
9238 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
9239 Author: Martin Pitt <martinpitt@gnome.org>
9240 Date: Wed Jan 16 09:17:13 2013 +0100
9242 tests: More robust tree view realization
9244 With current GNOME git head, the Gtk.TreeViews were not realized
9246 more to receive property values. Put them into a Gtk.Dialog now and
9248 ensure that they are realized.
9250 tests/test_overrides_gtk.py | 16 ++++++++++------
9251 1 file changed, 10 insertions(+), 6 deletions(-)
9253 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
9254 Author: Martin Pitt <martinpitt@gnome.org>
9255 Date: Tue Jan 15 10:42:49 2013 +0100
9257 Drop deprecated g_thread_create()
9259 Replace with g_thread_new(). This is available with glib >= 2.32,
9261 already require >= 2.34.
9263 tests/test-thread.c | 3 +--
9264 1 file changed, 1 insertion(+), 2 deletions(-)
9266 commit 98504273dead9eade6e53c2297bcaec7bea6265a
9267 Author: Martin Pitt <martinpitt@gnome.org>
9268 Date: Tue Jan 15 10:37:52 2013 +0100
9270 Drop usage of deprecated GStaticPrivate
9272 Replace with GPrivate.
9274 gi/_gobject/gobjectmodule.c | 6 +++---
9275 1 file changed, 3 insertions(+), 3 deletions(-)
9277 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
9278 Author: Martin Pitt <martinpitt@gnome.org>
9279 Date: Tue Jan 15 10:29:47 2013 +0100
9281 Don't call g_type_init() with glib >= 2.35.x
9283 This fixes a deprecation warning.
9285 gi/_gobject/gobjectmodule.c | 2 ++
9286 1 file changed, 2 insertions(+)
9288 commit 206e736380ba798c68de09f661d75c8e27451117
9289 Author: Martin Pitt <martinpitt@gnome.org>
9290 Date: Tue Jan 15 09:47:11 2013 +0100
9292 Use GNOME_COMPILE_WARNINGS from gnome-common
9294 As we are now using gnome-common anyway for the code coverage macro,
9296 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
9300 This also enables -Wstrict-prototypes.
9302 configure.ac | 14 ++++----------
9303 1 file changed, 4 insertions(+), 10 deletions(-)
9305 commit 137679426ff39507e15f08e9e6428d851fee06b7
9306 Author: Martin Pitt <martinpitt@gnome.org>
9307 Date: Tue Jan 15 09:46:01 2013 +0100
9309 Fix function prototypes and static functions
9311 These cause errors/warnings with -Wstrict-prototypes.
9313 gi/_glib/pyglib-python-compat.h | 2 ++
9314 gi/pygi-foreign.c | 2 +-
9315 gi/pygi-marshal-from-py.c | 4 ++--
9316 gi/pygi-marshal-to-py.c | 4 ++--
9317 gi/pygi-source.c | 2 +-
9318 gi/pygi-source.h | 2 +-
9319 6 files changed, 9 insertions(+), 7 deletions(-)
9321 commit d47927f1701a11aec8566425f22688c5df73d7f2
9322 Author: Martin Pitt <martinpitt@gnome.org>
9323 Date: Mon Jan 14 17:38:23 2013 +0100
9325 configure.ac: post-release bump to 3.7.5
9328 1 file changed, 1 insertion(+), 1 deletion(-)
9330 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
9331 Author: Martin Pitt <martinpitt@gnome.org>
9332 Date: Mon Jan 14 17:30:48 2013 +0100
9336 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
9337 1 file changed, 38 insertions(+)
9339 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
9340 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
9341 Date: Tue Dec 4 15:45:00 2012 +0200
9343 Allow setting values through GtkTreeModelFilter
9345 Previously, trying to set a value through filter throwed an exception
9347 model has no set_value() method. You had to first retrieve the
9349 model and set value to it.
9351 https://bugzilla.gnome.org/show_bug.cgi?id=689624
9353 gi/overrides/Gtk.py | 5 +++++
9354 tests/test_overrides_gtk.py | 11 +++++++++++
9355 2 files changed, 16 insertions(+)
9357 commit b092630efc691a6f7ae94ae896193254f5a961a6
9358 Author: Martin Pitt <martinpitt@gnome.org>
9359 Date: Mon Jan 14 12:37:18 2013 +0100
9361 tests: Add (failing) test case for GParamSpec arguments
9364 https://bugzilla.gnome.org/show_bug.cgi?id=682355
9366 tests/test_gi.py | 9 +++++++++
9367 1 file changed, 9 insertions(+)
9369 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
9370 Author: Martin Pitt <martinpitt@gnome.org>
9371 Date: Mon Jan 14 12:20:27 2013 +0100
9373 tests: Skip struct string member tests with g-i 1.34
9375 We still support building against gobject-introspection 1.34, so
9377 which do not work with that version yet.
9379 tests/test_gi.py | 8 ++++++++
9380 1 file changed, 8 insertions(+)
9382 commit f9429192cb1002725a11a75a7b8f9300375b9caf
9383 Author: Martin Pitt <martinpitt@gnome.org>
9384 Date: Mon Jan 14 12:15:27 2013 +0100
9386 Support GParamSpec signal arguments from Python
9388 In pyg_value_from_pyobject(), recognize both the real GI
9389 GObject.ParamSpec type
9390 as well as the statically wrapped _gobject.GParamSpec type.
9392 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
9394 https://bugzilla.gnome.org/show_bug.cgi?id=683099
9396 gi/_gobject/pygtype.c | 6 +++++-
9397 tests/test_signal.py | 12 ++++++++++++
9398 tests/testhelpermodule.c | 13 +++++++++++++
9399 3 files changed, 30 insertions(+), 1 deletion(-)
9401 commit 99f72925c7de76611f7592bce9d8217a9ff46809
9402 Author: Martin Pitt <martinpitt@gnome.org>
9403 Date: Mon Jan 14 11:48:11 2013 +0100
9405 pygobject_emit(): Fix cleanup on error
9407 Dot not try to unset GValues which have not been initialized yet,
9409 conversion fails for a parameter.
9411 gi/_gobject/pygobject.c | 8 ++++----
9412 1 file changed, 4 insertions(+), 4 deletions(-)
9414 commit acef1d3266d11b2465d61185a55526df879a5c62
9415 Author: Simon Feltman <sfeltman@src.gnome.org>
9416 Date: Mon Dec 31 19:01:57 2012 -0800
9418 Add signal emission methods to TreeModel which coerce the path
9421 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
9422 row_deleted, and rows_reordered methods to accept python iterables as
9423 the path parameter. This is for compatibility with pygtk and
9425 with the rest of the TreeModel and TreePath overrides.
9427 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9429 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
9430 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
9431 2 files changed, 55 insertions(+), 3 deletions(-)
9433 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
9434 Author: Martin Pitt <martinpitt@gnome.org>
9435 Date: Mon Jan 14 10:36:36 2013 +0100
9437 Simplify overrides and tests using the new GObject.Value override
9439 The previous commit added support for constructing a GObject.Value
9441 GType and Python object conversion. Use this to simplify the Gtk
9443 the tests that construct GValues.
9445 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
9447 gi/overrides/Gtk.py | 88
9448 +++------------------------------------------
9449 tests/test_gi.py | 26 +++++---------
9450 tests/test_overrides_gtk.py | 2 +-
9451 tests/test_signal.py | 12 ++-----
9452 4 files changed, 17 insertions(+), 111 deletions(-)
9454 commit f62b98398177991bfdbe0b6753342e79e6cf170a
9455 Author: Bastian Winkler <buz@netbuz.org>
9456 Date: Mon Jan 14 10:26:08 2013 +0100
9458 Add override for GValue
9460 Override GValue with a custom constructor and set_value()/get_value()
9461 methods. This allows you to call
9463 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
9467 >>> value = GObject.Value()
9468 >>> value.init(GObject.TYPE_FLOAT)
9469 >>> value.set_float(42.23)
9471 This is especially useful for overrides that need to convert a Python
9472 value to a expected type like G_TYPE_FLOAT.
9474 https://bugzilla.gnome.org/show_bug.cgi?id=677473
9476 gi/overrides/GObject.py | 127
9477 +++++++++++++++++++++++++++++++++++++++++++++++-
9478 tests/test_gobject.py | 47 +++++++++++++++++-
9479 2 files changed, 172 insertions(+), 2 deletions(-)
9481 commit dc3d21173b75232f7ea0b9913f7309486456a69d
9482 Author: Mike Gorse <mgorse@suse.com>
9483 Date: Thu Jan 10 15:48:30 2013 -0600
9485 Mark caller-allocated boxed structures as having a slice allocated
9487 When a C function takes a pointer and fills it with a boxed structure
9489 gtk_tree_store_insert_with_values), pygi should deallocate the slice
9491 box is no longer being used.
9493 https://bugzilla.gnome.org/show_bug.cgi?id=699501
9495 gi/pygi-marshal-to-py.c | 4 +++-
9496 1 file changed, 3 insertions(+), 1 deletion(-)
9498 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
9499 Author: Olivier Crête <olivier.crete@collabora.com>
9500 Date: Fri Sep 14 21:31:32 2012 -0400
9502 pygi-property: Support boxed GSList/GList types
9504 Note that this does not yet work for construct properties.
9506 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9508 https://bugzilla.gnome.org/show_bug.cgi?id=684059
9510 gi/pygi-property.c | 10 ++++++++--
9511 tests/test_gi.py | 21 +++++++++++++++++++++
9512 2 files changed, 29 insertions(+), 2 deletions(-)
9514 commit 074f10d815453e58f4bee2f440c5db799add3876
9515 Author: Martin Pitt <martinpitt@gnome.org>
9516 Date: Mon Jan 14 07:48:31 2013 +0100
9518 test_gio: Fix for Python 2
9520 Python 2 does not yet take an "encoding" argument for str(), while
9522 requires it. Use a less fancy static test string instead.
9524 tests/test_gio.py | 2 +-
9525 1 file changed, 1 insertion(+), 1 deletion(-)
9527 commit 734979d0c8317201148a7e94a323225fba2d1635
9528 Author: Martin Pitt <martinpitt@gnome.org>
9529 Date: Mon Jan 14 07:40:10 2013 +0100
9531 tests: Add missing backwards compat methods for Python 2.6
9533 Define skipIf(), assertLess(), and assertLessEqual() for running
9537 https://bugzilla.gnome.org/show_bug.cgi?id=691646
9539 tests/runtests.py | 17 +++++++++++++++++
9540 1 file changed, 17 insertions(+)
9542 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
9543 Author: Martin Pitt <martinpitt@gnome.org>
9544 Date: Mon Jan 14 07:34:46 2013 +0100
9546 tests: Stop using assertSequenceEqual()
9548 assertSequenceEqual() does not yet exist in Python 2.6, and is
9550 either as assertEqual() on sequences automatically does list
9553 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
9555 tests/test_gtype.py | 6 ++----
9556 tests/test_signal.py | 6 ++----
9557 2 files changed, 4 insertions(+), 8 deletions(-)
9559 commit 0a5587b6a56d417a6703e342f153596f08cd5889
9560 Author: Simon Feltman <sfeltman@src.gnome.org>
9561 Date: Sun Jan 13 18:19:51 2013 -0800
9563 Allow setting TreeModel values to None
9565 Change TreeModel.set_value to use an empty but initialized GValue when
9566 None is used as the value argument. This allows clearing of cell data
9567 which was not accessible due to auto-coercion.
9569 https://bugzilla.gnome.org/show_bug.cgi?id=684094
9571 gi/overrides/Gtk.py | 11 ++++++++---
9572 tests/test_overrides_gtk.py | 8 ++++++++
9573 2 files changed, 16 insertions(+), 3 deletions(-)
9575 commit 5ae129da436793478750f0dc9427a174a980e10b
9576 Author: Mike Gorse <mgorse@suse.com>
9577 Date: Thu Jan 10 16:42:17 2013 -0600
9579 Set clean-up handler for marshalled arrays
9581 Arrays did not have a cleanup handler set in some cases, resulting
9584 https://bugzilla.gnome.org/show_bug.cgi?id=691509
9586 gi/pygi-cache.c | 1 +
9587 1 file changed, 1 insertion(+)
9589 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
9590 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
9591 Date: Fri Jan 11 15:41:27 2013 +0100
9593 Support setting string fields in structs
9595 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9597 https://bugzilla.gnome.org/show_bug.cgi?id=678401
9599 gi/pygi-info.c | 3 ++-
9600 tests/test_gi.py | 16 ++++++++++++++++
9601 2 files changed, 18 insertions(+), 1 deletion(-)
9603 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
9604 Author: Martin Pitt <martinpitt@gnome.org>
9605 Date: Fri Jan 11 14:58:44 2013 +0100
9607 Re-enable test_gi.TestPropertiesObject.test_char test
9609 The gobject-introspection bug got fixed:
9610 https://bugzilla.gnome.org/show_bug.cgi?id=691524
9612 tests/test_gi.py | 14 +++-----------
9613 1 file changed, 3 insertions(+), 11 deletions(-)
9615 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
9616 Author: Martin Pitt <martinpitt@gnome.org>
9617 Date: Fri Jan 11 09:46:56 2013 +0100
9619 tests: Re-enable test_callback_scope_call_array() check
9621 Drop the expected failure from test_callback_scope_call_array()
9623 the explicit array length arguments. While it would look cleaner to
9625 them, it is probably not worth breaking the API for this.
9627 tests/test_everything.py | 9 +++------
9628 1 file changed, 3 insertions(+), 6 deletions(-)
9630 commit 609636424b5f9b659e99a4bb53a48c165187c430
9631 Author: Martin Pitt <martinpitt@gnome.org>
9632 Date: Fri Jan 11 09:13:36 2013 +0100
9634 Permit plain integers for "gchar" values
9636 Similar to guchar/guint8, allow plain integers (withing correct
9638 values for gchar/gint8 types.
9640 This is covered by the test_gi.TestPropertiesObject.test_char
9642 removing the "expected failure" flag.
9644 gi/_gobject/pygtype.c | 16 ++++++++++++----
9645 1 file changed, 12 insertions(+), 4 deletions(-)
9647 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
9648 Author: Martin Pitt <martinpitt@gnome.org>
9649 Date: Fri Jan 11 09:09:41 2013 +0100
9651 Allow single byte values for int8 types
9653 When fixing gobject-introspection to consider "gchar" as signed (see
9654 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
9656 single-element "bytes" array as a valid value for int8, not just
9659 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
9662 gi/pygi-argument.c | 4 ++--
9663 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
9664 2 files changed, 23 insertions(+), 15 deletions(-)
9666 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
9667 Author: Mike Gorse <mgorse@suse.com>
9668 Date: Thu Jan 10 14:11:56 2013 -0600
9670 Fix invalid memory access handling errors when registering an
9673 Don't free the name until we are done with it.
9675 gi/gimodule.c | 8 ++++----
9676 1 file changed, 4 insertions(+), 4 deletions(-)
9678 commit ecd235959317d39b6d598662c00829e0ec717b17
9679 Author: Martin Pitt <martinpitt@gnome.org>
9680 Date: Thu Jan 10 16:42:46 2013 +0100
9682 Fix (out) arguments in callbacks
9684 Do not ignore the first argument in _pygi_closure_set_out_arguments().
9685 Presumably that has been done to skip over "self", but callbacks
9687 required to have a self argument. As self is never (out), we can
9691 gi/pygi-closure.c | 2 +-
9692 tests/test_gi.py | 4 ----
9693 2 files changed, 1 insertion(+), 5 deletions(-)
9695 commit d8e241e24a816691acbd592775b73defd9aa4f44
9696 Author: Martin Pitt <martinpitt@gnome.org>
9697 Date: Thu Jan 10 15:14:05 2013 +0100
9699 Fix C to Python marshalling of struct pointer arrays
9701 Do not treat an array of pointers to values like an array of values on
9702 marshalling from C. This makes the test_array_boxed_struct_return()
9706 gi/pygi-marshal-to-py.c | 5 +++--
9707 tests/test_gi.py | 2 --
9708 2 files changed, 3 insertions(+), 4 deletions(-)
9710 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
9711 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
9712 Date: Tue Jan 8 23:22:54 2013 +0200
9716 Most notably this commit contains a test for
9717 Gio.File.replace_contents_async(),
9718 which currently fails. Disable the tests for now as it breaks the
9721 https://bugzilla.gnome.org/show_bug.cgi?id=690525
9723 tests/test_gio.py | 64
9724 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
9725 1 file changed, 64 insertions(+)
9727 commit 118c5eaad045580455515876ba73b9537a8468b4
9728 Author: Martin Pitt <martinpitt@gnome.org>
9729 Date: Thu Jan 10 13:56:11 2013 +0100
9731 Rename test_overrides_gio.py to test_gio.py
9733 As we want to add more tests for non-overridden API.
9735 tests/Makefile.am | 2 +-
9736 tests/test_gio.py | 121
9737 ++++++++++++++++++++++++++++++++++++++++++++
9738 tests/test_overrides_gio.py | 121
9739 --------------------------------------------
9740 3 files changed, 122 insertions(+), 122 deletions(-)
9742 commit 8117e6bce73581e89211371708ff7d5de7d870d4
9743 Author: Martin Pitt <martinpitt@gnome.org>
9744 Date: Thu Jan 10 12:13:16 2013 +0100
9746 Don't let Property.setter() method names define property names
9748 Defining property names in install_properties() is too late when using
9749 @propname.setter decorators; their method names don't define a
9751 nor are they even required to be a valid property identifier.
9753 So change the logic to already fix the property name when using
9755 decorator and use that instead of the member name in
9756 install_properties().
9758 https://bugzilla.gnome.org/show_bug.cgi?id=688971
9760 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
9761 tests/test_properties.py | 18 ++++++++++++++++++
9762 2 files changed, 40 insertions(+), 7 deletions(-)
9764 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
9765 Author: Martin Pitt <martinpitt@gnome.org>
9766 Date: Wed Jan 9 10:39:36 2013 +0100
9768 tests: Force UTF-8 file name encoding
9770 The test_gi.TestFilename tests fail if the environment specifies
9772 file name encoding. Force it to "UTF-8" for the tests.
9774 https://bugzilla.gnome.org/show_bug.cgi?id=691355
9776 tests/runtests.py | 1 +
9777 1 file changed, 1 insertion(+)
9779 commit c02a00ae9599a661076630b21b7e24e78fb88c29
9780 Author: Martin Pitt <martinpitt@gnome.org>
9781 Date: Tue Jan 8 16:56:40 2013 +0100
9783 Use g-i stack allocation API
9785 Where possible, i. e. when not keeping references across functions,
9787 _load_() methods instead of the _get_() ones from
9788 gobject-introspection, which
9789 is faster and less prone to memory leaks:
9791 g_callable_info_get_arg () → g_callable_info_load_arg ()
9792 g_callable_info_get_return_type() →
9793 g_callable_info_load_return_type ()
9794 g_arg_info_get_type() → g_arg_info_load_type ()
9796 https://bugzilla.gnome.org/show_bug.cgi?id=615982
9798 gi/pygi-argument.c | 16 ++++------
9799 gi/pygi-closure.c | 88
9800 ++++++++++++++++++++++++------------------------------
9801 2 files changed, 45 insertions(+), 59 deletions(-)
9803 commit 23d1f14f553069740465c82eaa937b877c41e0cb
9804 Author: Ray Strode <rstrode@redhat.com>
9805 Date: Wed Dec 19 13:04:32 2012 -0500
9807 pyg_value_from_pyobject: support GArray
9809 This commit adds support for marshalling a python list (or other
9811 returned from signal handlers to GArray, if necessary.
9813 This parallels the implementation written to marshal to (the now
9817 This fixes a crash in rhythmbox as seen downstream here:
9818 https://bugzilla.redhat.com/show_bug.cgi?id=872851
9820 https://bugzilla.gnome.org/show_bug.cgi?id=690514
9822 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9824 gi/_gobject/pygtype.c | 60
9825 ++++++++++++++++++++++++++++++++++++++++++++++++
9826 tests/test_everything.py | 22 ++++++++++++++++++
9827 2 files changed, 82 insertions(+)
9829 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
9830 Author: Marko Lindqvist <cazfi74@gmail.com>
9831 Date: Fri Jan 4 07:01:29 2013 +0100
9833 Fix obsolete automake macros
9835 https://bugzilla.gnome.org/show_bug.cgi?id=691101
9837 configure.ac | 3 +--
9838 1 file changed, 1 insertion(+), 2 deletions(-)
9840 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
9841 Author: Simon Feltman <sfeltman@src.gnome.org>
9842 Date: Mon Dec 31 02:53:07 2012 -0800
9844 Change dynamic enum and flag gtype creation to use namespaced naming
9846 Use the combination of g_base_info_get_namespace and
9847 g_base_info_get_name
9848 as the name for registering enum and flag types with glib through
9849 g_enum_register_static and g_flags_register_static. This avoids
9851 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
9852 and memory cleanup for invalid registration problems.
9854 https://bugzilla.gnome.org/show_bug.cgi?id=690455
9856 gi/_gobject/pygenum.c | 6 ++--
9858 ++++++++++++++++++++++++++++++++++++++++++++-------
9859 tests/test_gi.py | 35 +++++++++++++++++++++++
9860 3 files changed, 106 insertions(+), 13 deletions(-)
9862 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
9863 Author: Dan Horák <dan@danny.cz>
9864 Date: Fri Dec 28 22:12:32 2012 +0100
9866 Fix test for GBytes.compare()
9868 The result of the compare method is defined as equal, less than or
9870 and the test must match to that. The underlaying memcmp() function
9872 values than -1, 0 and 1. For example on architectures where it is
9873 implemented directly
9874 via a CPU instruction like on s390(x) where I can see -2 as a result
9878 https://bugzilla.gnome.org/show_bug.cgi?id=690837
9880 tests/test_gi.py | 4 ++--
9881 1 file changed, 2 insertions(+), 2 deletions(-)
9883 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
9884 Author: Jonathan Ballet <jon@multani.info>
9885 Date: Thu Dec 27 16:04:51 2012 +0100
9887 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
9889 The length argument is the size of the buffer in bytes, not in
9892 https://bugzilla.gnome.org/show_bug.cgi?id=690329
9894 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9896 gi/overrides/Gtk.py | 2 +-
9897 tests/test_overrides_gtk.py | 7 +++++++
9898 2 files changed, 8 insertions(+), 1 deletion(-)
9900 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
9901 Author: Mike Gorse <mgorse@suse.com>
9902 Date: Wed Dec 19 20:51:03 2012 -0500
9904 Don't dup strings before passing them to type registration functions
9906 Strings passed to g_enum_register_static and g_flags_register_static
9908 eventually passed to g_quark_from_string, which dups the string
9910 needed and does not take ownership of it, so passing in a
9911 dynamically-allocated
9912 string without freeing it results in a small leak.
9914 https://bugzilla.gnome.org/show_bug.cgi?id=690532
9916 gi/gimodule.c | 2 --
9917 1 file changed, 2 deletions(-)
9919 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
9920 Author: Carlos Garnacho <carlos@lanedo.com>
9921 Date: Tue Dec 18 22:47:09 2012 +0100
9923 Fix marshalling of arrays of boxed struct values
9925 This fixes methods like gtk_selection_set_with_data(). In such cases
9926 data is passed as an array of struct pointers, so it must be converted
9927 to an array of structs.
9929 https://bugzilla.gnome.org/show_bug.cgi?id=656312
9931 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9933 gi/pygi-marshal-from-py.c | 6 ++++++
9934 tests/test_gi.py | 12 ++++++++++++
9935 2 files changed, 18 insertions(+)
9937 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
9938 Author: Simon Feltman <sfeltman@src.gnome.org>
9939 Date: Tue Dec 18 02:03:41 2012 -0800
9941 Add reference counting tests for Object.bind_property
9943 Add tests which ensure transform callbacks and user_data
9944 are propertly ref-counted.
9946 https://bugzilla.gnome.org/show_bug.cgi?id=690397
9948 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
9949 1 file changed, 36 insertions(+), 4 deletions(-)
9951 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
9952 Author: Martin Pitt <martinpitt@gnome.org>
9953 Date: Tue Dec 18 11:43:04 2012 +0100
9955 testhelpermodule.c: Do not unref called method
9957 In _wrap_test_gerror_exception(), do not unref the method
9959 causes a crash when being run with the stricter refcounting/memory
9961 debug-enabled Python builds.
9963 tests/testhelpermodule.c | 1 -
9964 1 file changed, 1 deletion(-)
9966 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
9967 Author: Martin Pitt <martinpitt@gnome.org>
9968 Date: Mon Dec 17 23:20:50 2012 +0100
9970 configure.ac: post-release bump to 3.7.4
9973 1 file changed, 1 insertion(+), 1 deletion(-)
9975 commit 061b23d14386c0e54d2c3af113554231bbe85f16
9976 Author: Martin Pitt <martinpitt@gnome.org>
9977 Date: Mon Dec 17 23:18:31 2012 +0100
9981 NEWS | 19 +++++++++++++++++++
9982 1 file changed, 19 insertions(+)
9984 commit a242f02823a63c9dca5d0b1ce84b031221053690
9985 Author: Martin Pitt <martinpitt@gnome.org>
9986 Date: Mon Dec 17 23:11:29 2012 +0100
9988 Add (failing) tests for callbacks with out arguments
9990 Most of these fail and need marshalling fixes.
9992 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
9993 1 file changed, 36 insertions(+)
9995 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
9996 Author: Martin Pitt <martinpitt@gnome.org>
9997 Date: Mon Dec 17 22:50:59 2012 +0100
9999 Add tests for internal API
10001 These cover functions like pygobject_new(), pyg_value_from_pyobject()
10003 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
10005 functions can be tested in isolation without the whole GI stack
10008 tests/Makefile.am | 1 +
10009 tests/test_internal_api.py | 73
10010 ++++++++++++++++++++++++++++++++++++++++++++++
10011 2 files changed, 74 insertions(+)
10013 commit e44312139426f51e576ef9e880819542cc224383
10014 Author: Martin Pitt <martinpitt@gnome.org>
10015 Date: Mon Dec 17 18:02:15 2012 +0100
10017 Add support for caller-allocated GArray out arguments
10019 https://bugzilla.gnome.org/show_bug.cgi?id=690041
10021 gi/pygi-cache.c | 2 +-
10022 gi/pygi-invoke.c | 57
10023 ++++++++++++++++++++++++++++++--------------------------
10024 tests/test_gi.py | 5 +++--
10025 3 files changed, 35 insertions(+), 29 deletions(-)
10027 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
10028 Author: Martin Pitt <martinpitt@gnome.org>
10029 Date: Mon Dec 17 16:18:24 2012 +0100
10031 Add (failing) test for caller-allocated GArray return value
10033 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
10035 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
10037 The test is failing and causing a segfault right now, so disable it
10041 tests/test_gi.py | 4 ++++
10042 1 file changed, 4 insertions(+)
10044 commit 1cb4c30c3cf19690210010d39b6272965f489c58
10045 Author: Martin Pitt <martinpitt@gnome.org>
10046 Date: Mon Dec 17 15:56:44 2012 +0100
10048 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
10050 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
10052 available, but fall back to GLib.unix_signal_add_full() until we
10056 gi/overrides/GLib.py | 8 ++++++--
10057 1 file changed, 6 insertions(+), 2 deletions(-)
10059 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
10060 Author: Martin Pitt <martinpitt@gnome.org>
10061 Date: Fri Nov 30 14:17:18 2012 +0100
10063 Re-support calling GLib.io_add_watch with an fd or Python file
10065 This does not strictly adhere to the GLib API, but it's very
10067 unlike the other modes, does not change the number or order of
10069 let's keep support for this and drop the deprecation warning.
10071 gi/overrides/GLib.py | 9 +++------
10072 1 file changed, 3 insertions(+), 6 deletions(-)
10074 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
10075 Author: Martin Pitt <martinpitt@gnome.org>
10076 Date: Fri Nov 30 09:04:20 2012 +0100
10078 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
10080 Use a longer timeout to avoid races on slow architectures, and cut
10082 loop as soon as we received all expected events.
10084 tests/test_glib.py | 5 ++++-
10085 1 file changed, 4 insertions(+), 1 deletion(-)
10087 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
10088 Author: Martin Pitt <martinpitt@gnome.org>
10089 Date: Fri Nov 30 08:44:56 2012 +0100
10091 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
10093 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
10095 unavailable monitor backends in the test environment) to fail
10098 tests/test_overrides_gtk.py | 12 +++++++++---
10099 1 file changed, 9 insertions(+), 3 deletions(-)
10101 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
10102 Author: Martin Pitt <martinpitt@gnome.org>
10103 Date: Thu Nov 29 16:45:49 2012 +0100
10105 pygtkcompat: Work around IndexError on large flags
10107 On 32 bit systems pygtkcompat currently fails with
10109 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
10110 name = flag.value_names[-1].replace(modname + '_', '')
10111 IndexError: cannot fit 'int' into an index-sized integer
10113 on 32 bit systems as some flags in Gdk are too large to fit into a
10115 "long". Work around this crash until this gets fixed properly
10119 pygtkcompat/pygtkcompat.py | 7 ++++++-
10120 1 file changed, 6 insertions(+), 1 deletion(-)
10122 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
10123 Author: Martin Pitt <martinpitt@gnome.org>
10124 Date: Thu Nov 29 14:11:29 2012 +0100
10126 Fix pyg_value_from_pyobject() range check for uint
10128 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
10130 this overflows large uints. Use PyLong_AsLongLong() separately to
10132 negative values, and PyLong_AsUnsignedLong() for the actual
10135 gi/_gobject/pygtype.c | 12 ++++++++----
10136 1 file changed, 8 insertions(+), 4 deletions(-)
10138 commit 05d767a602571805e80099f1db47ad4164575c53
10139 Author: Martin Pitt <martinpitt@gnome.org>
10140 Date: Thu Nov 29 13:30:56 2012 +0100
10142 Fix tests to work with g-i 1.34.2
10144 Do not try to call GIMarshallingTests API which isn't present
10146 against g-i 1.34.2. This can be dropped when the g-i dependency gets
10150 tests/test_gi.py | 8 +++++---
10151 1 file changed, 5 insertions(+), 3 deletions(-)
10153 commit a107c928ef85b4e3b9075a408774b74879586029
10154 Author: Martin Pitt <martinpitt@gnome.org>
10155 Date: Thu Nov 29 13:13:14 2012 +0100
10157 Fix wrong refcount for GVariant property defaults
10159 Drop the bogus DECREF for the GVariant default argument, as we need
10161 around in the class. Otherwise the refcount drops to zero, and
10163 garbage collection run causes segfaults.
10165 https://bugzilla.gnome.org/show_bug.cgi?id=689267
10167 gi/_gobject/gobjectmodule.c | 1 -
10168 1 file changed, 1 deletion(-)
10170 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
10171 Author: Martin Pitt <martinpitt@gnome.org>
10172 Date: Thu Nov 29 11:44:22 2012 +0100
10174 test_gi: Fix TestFilename failure under C locale
10176 tests/test_gi.py | 1 +
10177 1 file changed, 1 insertion(+)
10179 commit 37ab227555ba8628b4fa99aa286bd046208745ed
10180 Author: Martin Pitt <martinpitt@gnome.org>
10181 Date: Thu Nov 29 11:16:26 2012 +0100
10183 Fix array arguments on 32 bit
10185 In _pygi_argument_from_object() we never put the actual element
10187 constructed array. The array contains GIArguments, or bytes in the
10189 passing a string as an array.
10191 This happened to work on 64 bit machines where GIArgument and char*
10193 same size, but not on 32 bit machines
10194 (test_gi.TestPropertiesObject.test_strv
10197 gi/pygi-argument.c | 6 +++++-
10198 1 file changed, 5 insertions(+), 1 deletion(-)
10200 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
10201 Author: Martin Pitt <martinpitt@gnome.org>
10202 Date: Thu Nov 29 10:20:27 2012 +0100
10204 test_gi: Disable failing check in test_module_name()
10206 When calling this under some conditions, such as
10208 TEST_NAMES='test_thread test_gi.TestOverrides'
10210 then the module name of GObject.InitiallyUnowned comes out as
10211 "importlib._bootstrap" instead of "gi.repository.GObject". To be
10213 Add a couple of other tests to ensure that it is not broken in
10216 tests/test_gi.py | 10 +++++++++-
10217 1 file changed, 9 insertions(+), 1 deletion(-)
10219 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
10220 Author: Martin Pitt <martinpitt@gnome.org>
10221 Date: Thu Nov 29 09:40:32 2012 +0100
10223 test_gdbus: Drop failure if timeout=0 works differently
10225 In some test environments we do not actually get a timeout exceptions
10227 timeout=0, but a different error message. So only ensure that we
10231 tests/test_gdbus.py | 4 +++-
10232 1 file changed, 3 insertions(+), 1 deletion(-)
10234 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
10235 Author: Martin Pitt <martinpitt@gnome.org>
10236 Date: Thu Nov 29 09:29:05 2012 +0100
10238 test_glib: Drop some assumptions about XDG dirs
10240 Some directories do not exist in minimal test environments, and this
10242 important for testing that calling these GLib functions works.
10244 tests/test_glib.py | 8 +++++---
10245 1 file changed, 5 insertions(+), 3 deletions(-)
10247 commit e45c690bc83b6d513887649de88965a9752e316d
10248 Author: Martin Pitt <martinpitt@gnome.org>
10249 Date: Wed Nov 28 12:20:31 2012 +0100
10251 Add backwards compatible API for GLib.unix_signal_add_full()
10253 This was renamed to GLib.unix_signal_add() in
10254 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
10256 Provide a backwards compatible shim with a deprecation message.
10258 gi/overrides/GLib.py | 10 ++++++++++
10259 1 file changed, 10 insertions(+)
10261 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
10262 Author: Martin Pitt <martinpitt@gnome.org>
10263 Date: Mon Nov 26 08:11:36 2012 +0100
10265 Drop MININT64/MAXUINT64 workaround
10267 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
10269 properly now. Drop the workaround in the overrides to manually
10273 gi/overrides/GLib.py | 7 -------
10274 1 file changed, 7 deletions(-)
10276 commit d16604f64d25d18409270d7537fc993113b65c19
10277 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10278 Date: Fri Nov 23 19:57:56 2012 +0200
10280 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
10282 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
10283 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
10284 warnings even tough values are valid.
10286 https://bugzilla.gnome.org/show_bug.cgi?id=688949
10288 gi/_gobject/propertyhelper.py | 6 +++---
10289 tests/test_properties.py | 11 ++++-------
10290 2 files changed, 7 insertions(+), 10 deletions(-)
10292 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
10293 Author: Martin Pitt <martinpitt@gnome.org>
10294 Date: Wed Nov 21 12:58:07 2012 +0100
10296 Test virtual methods with in and out arguments
10298 ... and both caller and callee out argument allocation.
10300 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
10302 tests/test_gi.py | 13 +++++++++++++
10303 1 file changed, 13 insertions(+)
10305 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
10306 Author: Martin Pitt <martinpitt@gnome.org>
10307 Date: Tue Nov 20 07:00:44 2012 +0100
10309 Ship pygi-convert.sh in tarballs
10311 https://bugzilla.gnome.org/show_bug.cgi?id=688697
10314 1 file changed, 1 insertion(+)
10316 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
10317 Author: Martin Pitt <martinpitt@gnome.org>
10318 Date: Mon Nov 19 15:25:38 2012 +0100
10320 Post-release version bump to 3.7.3
10322 configure.ac | 2 +-
10323 1 file changed, 1 insertion(+), 1 deletion(-)
10325 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
10326 Author: Martin Pitt <martinpitt@gnome.org>
10327 Date: Mon Nov 19 15:13:28 2012 +0100
10331 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
10332 1 file changed, 47 insertions(+)
10334 commit 29dc7425dd7584411b52ef07b50f929ed119a000
10335 Author: Martin Pitt <martinpitt@gnome.org>
10336 Date: Mon Nov 19 14:37:02 2012 +0100
10340 Commit e617f76e forgot to rename the file in EXTRA_DIST
10342 tests/Makefile.am | 2 +-
10343 1 file changed, 1 insertion(+), 1 deletion(-)
10345 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
10346 Author: Martin Pitt <martinpitt@gnome.org>
10347 Date: Mon Nov 19 14:34:13 2012 +0100
10349 tests: Fix unicode vs. str issues in Python 2
10351 Some of the tests assumed a system default encoding of UTF-8, which
10353 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
10356 tests/test_gi.py | 8 ++++----
10357 tests/test_iochannel.py | 16 +++++++++-------
10358 2 files changed, 13 insertions(+), 11 deletions(-)
10360 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
10361 Author: Martin Pitt <martinpitt@gnome.org>
10362 Date: Mon Nov 19 14:20:56 2012 +0100
10364 tests: Fix previous commit to fail properly on test failures
10366 tests/Makefile.am | 2 +-
10367 1 file changed, 1 insertion(+), 1 deletion(-)
10369 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
10370 Author: Martin Pitt <martinpitt@gnome.org>
10371 Date: Mon Nov 19 14:09:14 2012 +0100
10373 tests: Run pygtkcompat tests separately
10375 pygtkcompat changes the global namespace, in particular patching
10377 overrides. Run the tests in a separate process so that the main
10379 potentially affected by the pygtkcompat test.
10381 runtests.py runs all tests/test_*.py by default, so rename to
10382 compat_test_pygtk.py and run that explicitly after successfully
10386 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
10388 tests/Makefile.am | 3 +
10389 tests/compat_test_pygtk.py | 147
10390 +++++++++++++++++++++++++++++++++++++++++++++
10391 tests/test_pygtkcompat.py | 147
10392 ---------------------------------------------
10393 3 files changed, 150 insertions(+), 147 deletions(-)
10395 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
10396 Author: Simon Feltman <sfeltman@src.gnome.org>
10397 Date: Thu Nov 15 02:51:52 2012 -0800
10399 Move pygtkcompat into sibling package of gi
10401 Move the pygtkcompat module out of the gi package and into
10402 a sibling package as follows:
10408 This allows for pygtkcompat to grow without affecting the gi package.
10409 Add deprecation message to gi/pygtkcompat.py
10411 https://bugzilla.gnome.org/show_bug.cgi?id=688219
10415 gi/pygtkcompat.py | 524
10416 +++------------------------------------------
10417 pygtkcompat/Makefile.am | 15 ++
10418 pygtkcompat/__init__.py | 20 ++
10419 pygtkcompat/pygtkcompat.py | 501
10420 +++++++++++++++++++++++++++++++++++++++++++
10421 tests/test_pygtkcompat.py | 6 +-
10422 7 files changed, 565 insertions(+), 504 deletions(-)
10424 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
10425 Author: Martin Pitt <martinpitt@gnome.org>
10426 Date: Mon Nov 19 13:59:20 2012 +0100
10428 Bump g-i dependency to >= 1.34.2
10430 We need this for updated GLib annotations and new test API.
10432 configure.ac | 2 +-
10433 1 file changed, 1 insertion(+), 1 deletion(-)
10435 commit f6c994c76cd8010460b76bf455e1a341348d735b
10436 Author: Martin Pitt <martinpitt@gnome.org>
10437 Date: Mon Nov 19 10:39:26 2012 +0100
10439 test_gi: Fix failing tests with g-i 1.34.x
10441 Skip tests which require g-i test API from 1.35.x when building
10445 tests/test_gi.py | 6 ++++++
10446 1 file changed, 6 insertions(+)
10448 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
10449 Author: Martin Pitt <martinpitt@gnome.org>
10450 Date: Wed Nov 14 11:57:21 2012 +0100
10452 test_gi: Add tests for type "filename"
10454 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
10455 1 file changed, 30 insertions(+)
10457 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
10458 Author: Martin Pitt <martinpitt@gnome.org>
10459 Date: Wed Nov 14 11:09:33 2012 +0100
10461 Drop foreign GVariant registration/support
10463 This is dead code. We have tests for GVariant in and out method
10465 callback arguments and return values, properties, etc to ensure that
10469 gi/Makefile.am | 2 --
10470 gi/pygi-foreign-gvariant.c | 63
10471 ----------------------------------------------
10472 gi/pygi-foreign-gvariant.h | 41 ------------------------------
10473 gi/pygi-foreign.c | 8 +-----
10474 4 files changed, 1 insertion(+), 113 deletions(-)
10476 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
10477 Author: Martin Pitt <martinpitt@gnome.org>
10478 Date: Wed Nov 14 10:33:24 2012 +0100
10480 test_properties.py: Fix PEP-8 errors
10482 tests/test_properties.py | 3 +--
10483 1 file changed, 1 insertion(+), 2 deletions(-)
10485 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
10486 Author: Martin Pitt <martinpitt@gnome.org>
10487 Date: Wed Nov 14 10:14:36 2012 +0100
10489 Add support for GVariant properties defined in Python
10491 gi/_gobject/gobjectmodule.c | 13 +++++++
10492 gi/_gobject/propertyhelper.py | 11 ++++--
10493 tests/test_properties.py | 81
10494 +++++++++++++++++++++++++++++++++++++------
10495 3 files changed, 91 insertions(+), 14 deletions(-)
10497 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
10498 Author: Martin Pitt <martinpitt@gnome.org>
10499 Date: Wed Nov 14 09:33:43 2012 +0100
10501 pyg_value_from_pyobject(): Simplify GVariant type check
10503 Use pyg_type_from_object_strict() instead of the much more expensive
10505 pyg_get_gvariant_type().
10507 gi/_gobject/pygtype.c | 23 +----------------------
10508 1 file changed, 1 insertion(+), 22 deletions(-)
10510 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
10511 Author: Martin Pitt <martinpitt@gnome.org>
10512 Date: Wed Nov 14 09:27:42 2012 +0100
10514 test_everything: Add test for callback returning wrong type
10516 This covers the "expected a GVariant, got something else" check in
10517 pyg_value_from_pyobject().
10519 tests/test_everything.py | 16 ++++++++++++++++
10520 1 file changed, 16 insertions(+)
10522 commit 84db7109dfbaf443758a5a4871ee385686d2703d
10523 Author: Martin Pitt <martinpitt@gnome.org>
10524 Date: Wed Nov 14 08:42:53 2012 +0100
10526 Add type checking to GVariant argument assignment
10528 gi/pygi-argument.c | 7 ++++++-
10529 tests/test_gi.py | 5 ++---
10530 2 files changed, 8 insertions(+), 4 deletions(-)
10532 commit e944caf5ff53143a98dd4a5578530996358013ec
10533 Author: Martin Pitt <martinpitt@gnome.org>
10534 Date: Wed Nov 14 08:22:35 2012 +0100
10536 Add support for GVariant properties defined in C
10538 Note that trying to assign a non-GVariant value to a GVariant property
10541 gi/pygi-property.c | 6 +++++-
10542 tests/test_gi.py | 21 +++++++++++++++++++++
10543 2 files changed, 26 insertions(+), 1 deletion(-)
10545 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
10546 Author: Martin Pitt <martinpitt@gnome.org>
10547 Date: Wed Nov 14 07:09:58 2012 +0100
10549 test_unknown.py: Check property interface
10551 NB that the property implementation in test-unknown.c does not
10553 anything, we just want to assert that the properties are properly
10556 tests/test_unknown.py | 10 ++++++++++
10557 1 file changed, 10 insertions(+)
10559 commit 9d7771affcf788d251cced65da56fc2773a278b3
10560 Author: Martin Pitt <martinpitt@gnome.org>
10561 Date: Wed Nov 14 07:01:24 2012 +0100
10563 Fix previous commit for Python 2
10565 gi/pygi-foreign-cairo.c | 2 +-
10566 1 file changed, 1 insertion(+), 1 deletion(-)
10568 commit 997d4e70b2793039d916acf8921087576622152e
10569 Author: Martin Pitt <martinpitt@gnome.org>
10570 Date: Wed Nov 14 06:57:04 2012 +0100
10572 pygi-foreign-cairo.c: Use official py3cairo API
10574 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
10576 instead of our own code.
10578 gi/pygi-foreign-cairo.c | 4 ++--
10579 1 file changed, 2 insertions(+), 2 deletions(-)
10581 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
10582 Author: Martin Pitt <martinpitt@gnome.org>
10583 Date: Wed Nov 14 06:47:23 2012 +0100
10585 Drop dead code from pygi-callbacks.[hc]
10587 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
10589 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
10591 there, and drop pygi-callbacks.[hc] completely.
10593 gi/Makefile.am | 2 -
10594 gi/pygi-callbacks.c | 217
10595 ----------------------------------------------
10596 gi/pygi-callbacks.h | 48 ----------
10597 gi/pygi-marshal-from-py.c | 44 ++++++++++
10598 gi/pygi-private.h | 1 -
10599 5 files changed, 44 insertions(+), 268 deletions(-)
10601 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
10602 Author: Carlos Garnacho <carlos@lanedo.com>
10603 Date: Tue Nov 13 18:24:28 2012 +0100
10605 Fix marshalling of arrays of struct pointers to Python
10607 Fill in the pointer to the struct, not the pointer to the
10608 array position. This makes the GdkAtom** argument in
10609 gtk_clipboard_wait_for_targets() work.
10611 https://bugzilla.gnome.org/show_bug.cgi?id=678620
10613 gi/pygi-marshal-to-py.c | 5 ++++-
10614 1 file changed, 4 insertions(+), 1 deletion(-)
10616 commit fc021516552b1720bacc4afe6b7a610c413194c4
10617 Author: Martin Pitt <martinpitt@gnome.org>
10618 Date: Wed Nov 14 06:27:17 2012 +0100
10620 test_atoms.py: Add test for out array
10622 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
10624 tests/test_atoms.py | 19 +++++++++++++++++++
10625 1 file changed, 19 insertions(+)
10627 commit e2790d22610aae773635d4caef2458082a307283
10628 Author: Martin Pitt <martinpitt@gnome.org>
10629 Date: Tue Nov 13 16:38:36 2012 +0100
10631 Fix Gdk.Atom str()/repr() fallback
10633 Fix regression in commit 6713618: If an atom does not have a name,
10635 recursively call our own str()/repr() methods, but just print
10636 "Gdk.Atom<atom_id>".
10638 gi/overrides/Gdk.py | 6 ++++--
10639 1 file changed, 4 insertions(+), 2 deletions(-)
10641 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
10642 Author: Martin Pitt <martinpitt@gnome.org>
10643 Date: Tue Nov 13 13:16:14 2012 +0100
10645 test_gi: Stop using GLib.bytes.unref_to_array()
10647 This method isn't safe for GI, and should be (skip)ed. Use get_data()
10649 which is safe and works fine.
10651 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
10653 tests/test_gi.py | 6 ------
10654 1 file changed, 6 deletions(-)
10656 commit 671361841de797ef62b59d1d7568fc3d431898c7
10657 Author: Martin Pitt <martinpitt@gnome.org>
10658 Date: Tue Nov 13 12:56:11 2012 +0100
10660 Fix Gdk.Atom to have a proper str() and repr()
10662 Gdk.Atom is not proper GType'd class, so we cannot override the
10664 Just override its __str__() and __repr__() methods so that printing
10666 something sensible. For nameless/invalid atoms, fall back to the old
10667 <void at 0xdeadbeef> output to help with debugging.
10669 https://bugzilla.gnome.org/show_bug.cgi?id=678620
10671 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
10672 tests/test_atoms.py | 12 ++++++++++++
10673 2 files changed, 33 insertions(+)
10675 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
10676 Author: Simon Feltman <sfeltman@src.gnome.org>
10677 Date: Tue Nov 13 02:53:34 2012 -0800
10679 Make sure g_value_set_boxed does not cause a buffer overrun with
10682 Add NULL terminator to gchar** passed to g_value_set_boxed to
10683 make sure it does not overrun memory in pygi_set_property_value_real.
10684 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
10687 https://bugzilla.gnome.org/show_bug.cgi?id=688232
10689 gi/pygi-property.c | 8 ++++++--
10690 tests/Makefile.am | 1 +
10691 2 files changed, 7 insertions(+), 2 deletions(-)
10693 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
10694 Author: Martin Pitt <martinpitt@gnome.org>
10695 Date: Mon Nov 12 08:35:28 2012 +0100
10697 types.py: Fix PEP-8 violation
10700 1 file changed, 1 insertion(+), 1 deletion(-)
10702 commit df589458358d7e7bf178dff4e6ad937a70f806e3
10703 Author: Simon Feltman <sfeltman@src.gnome.org>
10704 Date: Sun Nov 11 22:26:19 2012 -0800
10706 Fix leaks with GValues holding boxed and object types
10708 Expose read access to PyGIBoxed.free_on_dealloc.
10709 Add GObject.Value.__del__ override and call unset() to
10710 correctly free reference counts.
10712 https://bugzilla.gnome.org/show_bug.cgi?id=688137
10714 gi/overrides/GObject.py | 9 +++++++++
10715 gi/pygi-boxed.c | 12 ++++++++++++
10716 tests/test_gi.py | 2 --
10717 3 files changed, 21 insertions(+), 2 deletions(-)
10719 commit c01c95b9fb3d726385efac945f6d1270ae65d109
10720 Author: Simon Feltman <sfeltman@src.gnome.org>
10721 Date: Sun Nov 11 19:46:15 2012 -0800
10723 Add expectantly failing unittests for GValue boxed/object leaks
10725 https://bugzilla.gnome.org/show_bug.cgi?id=688137
10727 tests/test_gi.py | 80
10728 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10729 1 file changed, 80 insertions(+)
10731 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
10732 Author: Simon Feltman <s.feltman@gmail.com>
10733 Date: Thu Aug 16 15:09:08 2012 -0700
10735 Add doc strings showing method signatures for gi methods
10737 Add signature based doc string to all methods pulled in from
10738 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
10739 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
10740 icon_area:cairo.RectangleInt
10742 https://bugzilla.gnome.org/show_bug.cgi?id=681967
10744 gi/overrides/GIMarshallingTests.py | 1 +
10745 gi/pygi-info.c | 103
10746 +++++++++++++++++++++++++++++++++----
10747 gi/pygi-type.c | 60 +++++++++++++++++++++
10748 gi/pygi-type.h | 1 +
10750 ++++++++++++++++++++++++++-------
10751 tests/test_gi.py | 30 +++++++++++
10752 6 files changed, 259 insertions(+), 28 deletions(-)
10754 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
10755 Author: Simon Feltman <sfeltman@src.gnome.org>
10756 Date: Fri Nov 9 19:17:03 2012 -0800
10758 Set Property instance doc string and blurb to getter doc string
10760 Assign Property getter __doc__ strings or explicit blurb parameters
10761 to the Property instances __doc__ attribute. This clobbers the
10762 default Property classes lengthy and unhelpful doc string in the case
10765 https://bugzilla.gnome.org/show_bug.cgi?id=688025
10767 gi/_gobject/propertyhelper.py | 10 +++++++---
10768 tests/test_properties.py | 14 ++++++++++----
10769 2 files changed, 17 insertions(+), 7 deletions(-)
10771 commit c5343d329ebb452d97afac30e4120ebab8477556
10772 Author: Martin Pitt <martinpitt@gnome.org>
10773 Date: Mon Nov 12 07:47:02 2012 +0100
10775 tests: Fix for Python 2
10777 Add quirks for Python 2's string handling, and disable the
10778 Everything.test_array_gint8_in() as there seems to be no way of
10782 tests/test_everything.py | 7 +++++--
10783 1 file changed, 5 insertions(+), 2 deletions(-)
10785 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
10786 Author: Martin Pitt <martinpitt@gnome.org>
10787 Date: Sat Nov 10 15:52:15 2012 +0100
10789 test_everything: Add tests for more Regress data and container types
10791 Add more tests for Regress' data and container type test API.
10793 This detects a number of bugs, which have been marked as expected
10795 disabled completely for the cases where they cause crashes:
10797 * unsigned enums with values >= 0x80000000 do not work
10798 * nested ghashes in return values do not work
10799 * array length arguments in callbacks are passed instead of
10802 tests/test_everything.py | 156
10803 ++++++++++++++++++++++++++++++++++++++++++++++-
10804 1 file changed, 154 insertions(+), 2 deletions(-)
10806 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
10807 Author: Martin Pitt <martinpitt@gnome.org>
10808 Date: Fri Nov 9 18:45:22 2012 +0100
10810 test_everything: Add tests for Regress type tests
10812 Add tests for all the data type handling tests of g-i's Regress
10815 tests/test_everything.py | 183
10816 +++++++++++++++++++++++++++++++++++++++++++++++
10817 1 file changed, 183 insertions(+)
10819 commit 0d7974396e8379b518403983d9d13629066680d7
10820 Author: Martin Pitt <martinpitt@gnome.org>
10821 Date: Fri Nov 9 18:44:50 2012 +0100
10823 Add GObject.G_MINSSIZE
10825 gi/_gobject/gobjectmodule.c | 1 +
10826 gi/overrides/GObject.py | 2 +-
10827 2 files changed, 2 insertions(+), 1 deletion(-)
10829 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
10830 Author: Martin Pitt <martinpitt@gnome.org>
10831 Date: Fri Nov 9 16:02:00 2012 +0100
10833 Fix marshalling of GByteArrays
10835 In _pygi_marshal_from_py_array(), set the array length after copying
10837 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
10839 will always come out as zero length.
10841 Enable the TestGByteArray.test_bytearray_none_in() test case as that
10844 gi/pygi-marshal-from-py.c | 1 +
10845 tests/test_gi.py | 3 +--
10846 2 files changed, 2 insertions(+), 2 deletions(-)
10848 commit fa568949c46dd4b537357f1af74d1f675294b760
10849 Author: Martin Pitt <martinpitt@gnome.org>
10850 Date: Fri Nov 9 15:23:37 2012 +0100
10852 Fix marshalling of ssize_t to smaller ints
10854 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
10855 TestArray.test_array_in test, so drop the expected failure.
10857 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
10858 tests/test_gi.py | 2 --
10859 2 files changed, 29 insertions(+), 3 deletions(-)
10861 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
10862 Author: Martin Pitt <martinpitt@gnome.org>
10863 Date: Fri Nov 9 09:37:00 2012 +0100
10865 test_gi: Enable GByteArray constructor tests
10867 GByteArray annotations have been fixed in GLib now, enable the
10870 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
10872 is the same as disabled_test_bytearray_none_in().
10874 tests/test_gi.py | 16 ++++------------
10875 1 file changed, 4 insertions(+), 12 deletions(-)
10877 commit e2c545896ab08b1f1885b502a8472db83f193d08
10878 Author: Martin Pitt <martinpitt@gnome.org>
10879 Date: Fri Nov 9 09:11:38 2012 +0100
10881 test_gi: Enable GBytes test cases
10883 GBytes annotations are fixed in GLib now, enable the test case and
10885 for g_bytes_new_take() and g_bytes_{compare,equal}().
10887 Please note that calling unref_to_array() on a GBytes object that
10889 ourselves currently causes a double free crash, so disable that part
10892 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
10893 1 file changed, 25 insertions(+), 5 deletions(-)
10895 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
10896 Author: Martin Pitt <martinpitt@gnome.org>
10897 Date: Fri Nov 9 08:26:29 2012 +0100
10899 test_gi: Add missing data type tests from GIMarshallingTests
10901 Add tests for types time_t, GBytes, GByteArray, and various variants
10903 around GValues, flags, enums, arrays, and boxed structs. This tests
10905 is provided by GIMarshallingTests, but which we did not cover yet.
10907 This detects a number of bugs in annotations and our
10908 marshalling. These have
10909 been marked as expected failure, or disabled completely for the
10911 they cause crashes.
10913 tests/test_gi.py | 152
10914 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
10915 1 file changed, 152 insertions(+)
10917 commit 0456d9c892b76ed79134230a4a8610a23c602964
10918 Author: Martin Pitt <martinpitt@gnome.org>
10919 Date: Fri Nov 9 06:44:46 2012 +0100
10921 autogen.sh: Only enable code coverage if lcov is installed
10923 Otherwise we break minimal build environments.
10925 autogen.sh | 8 +++++++-
10926 1 file changed, 7 insertions(+), 1 deletion(-)
10928 commit 76a3acebf73f930c541d0f30249f67d254f948ab
10929 Author: Martin Pitt <martinpitt@gnome.org>
10930 Date: Fri Nov 9 06:41:58 2012 +0100
10932 Lower autoconf dependency to 2.68 again
10934 configure.ac | 2 +-
10935 1 file changed, 1 insertion(+), 1 deletion(-)
10937 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
10938 Author: Martin Pitt <martinpitt@gnome.org>
10939 Date: Thu Nov 8 14:54:30 2012 +0100
10941 Add support for lcov code coverage
10943 Use gnome-common's new code coverage flags. Default to enabling
10945 in autogen.sh (but not for dist).
10947 To use this, run "make check-code-coverage" after building.
10952 configure.ac | 6 ++++++
10953 4 files changed, 10 insertions(+), 1 deletion(-)
10955 commit e46af4aba220cfaf4b84a9be847f3363da556993
10956 Author: Martin Pitt <martinpitt@gnome.org>
10957 Date: Wed Nov 7 17:14:22 2012 +0100
10959 Update documentation files
10961 Update AUTHORS to have the current maintainers.
10963 Update HACKING to drop Tomeu's GNOME login (this should be set in
10966 Update INSTALL to current upstream version.
10971 +++++++++++++++++++++++++++++++++++++++++++---------------------
10972 3 files changed, 267 insertions(+), 130 deletions(-)
10974 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
10975 Author: Martin Pitt <martinpitt@gnome.org>
10976 Date: Wed Nov 7 17:08:11 2012 +0100
10978 Quiesce automake output
10980 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
10982 existing symlinks on rebuilds.
10984 gi/Makefile.am | 2 +-
10985 gi/_glib/Makefile.am | 2 +-
10986 gi/_gobject/Makefile.am | 2 +-
10987 tests/Makefile.am | 6 +++---
10988 4 files changed, 6 insertions(+), 6 deletions(-)
10990 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
10991 Author: Martin Pitt <martinpitt@gnome.org>
10992 Date: Wed Nov 7 16:50:07 2012 +0100
10994 Drop unused variable, fail builds on those
10996 Build with -Werror=unused-variable, as these could hide programming
10998 incomplete refactoring, and are not platform dependent.
11000 Drop unused variable in pyg_type_add_interfaces().
11003 gi/_gobject/gobjectmodule.c | 1 -
11004 2 files changed, 1 insertion(+), 1 deletion(-)
11006 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
11007 Author: Martin Pitt <martinpitt@gnome.org>
11008 Date: Wed Nov 7 16:37:04 2012 +0100
11010 configure.ac: Drop maintainer mode, modernize libtool declarations
11012 Use all arguments of AC_INIT.
11014 AM_MAINTAINER_MODE is discouraged now, drop it.
11016 Use LT_PREREQ and LT_INIT for libtool initialization instead of
11020 See https://live.gnome.org/GnomeGoals/ModernAutotools
11022 configure.ac | 19 ++++++-------------
11023 1 file changed, 6 insertions(+), 13 deletions(-)
11025 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
11026 Author: Martin Pitt <martinpitt@gnome.org>
11027 Date: Wed Nov 7 16:21:13 2012 +0100
11029 autoupdate configure.ac
11031 Result of "autoupdate", with slight manual beautification.
11033 See https://live.gnome.org/GnomeGoals/ModernAutotools
11035 configure.ac | 21 +++++++++------------
11036 1 file changed, 9 insertions(+), 12 deletions(-)
11038 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
11039 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11040 Date: Mon Nov 5 14:26:05 2012 -0300
11042 pygi-convert: remove deprecated GLib → GObject conversions
11044 Using these functions from the GObject module is deprecated now,
11048 pygi-convert.sh | 5 -----
11049 1 file changed, 5 deletions(-)
11051 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
11052 Author: Simon Feltman <sfeltman@src.gnome.org>
11053 Date: Wed Nov 7 03:49:24 2012 -0800
11055 Use hasattr when testing for __info__ when finding vfuncs
11057 Change gi.types.find_vfunc_info_in_interface to use hasattr
11058 when finding vfuncs. Using '__info__' in __dict__ was skipping
11059 overridden interfaces which don't directly contain the __info__.
11062 1 file changed, 1 insertion(+), 1 deletion(-)
11064 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
11065 Author: Martin Pitt <martinpitt@gnome.org>
11066 Date: Wed Nov 7 12:05:24 2012 +0100
11068 tests: Ensure that the fatal mask is always reset
11070 On test case failures the fatal mask might be left in a wrong state,
11072 with "finally" that it is reset on failed tests as well, to avoid
11076 tests/test_gi.py | 11 ++++++-----
11077 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
11078 tests/test_pygtkcompat.py | 6 ++++--
11079 tests/test_signal.py | 6 ++++--
11080 4 files changed, 33 insertions(+), 23 deletions(-)
11082 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
11083 Author: Simon Feltman <sfeltman@src.gnome.org>
11084 Date: Tue Nov 6 21:34:06 2012 -0800
11086 Replace GObject notify methods with introspection and python
11088 Replace static context managers for freeze_notify and
11089 handler_block with python context managers. Remove notify,
11090 freeze_notify, thaw_notify static methods as the introspection
11091 versions work fine.
11093 https://bugzilla.gnome.org/show_bug.cgi?id=672727
11095 gi/_gobject/pygobject.c | 173
11096 ++----------------------------------------------
11097 gi/overrides/GObject.py | 61 +++++++++++++++--
11098 tests/test_gobject.py | 26 ++++++--
11099 tests/test_signal.py | 13 +++-
11100 4 files changed, 91 insertions(+), 182 deletions(-)
11102 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
11103 Author: Simon Feltman <sfeltman@src.gnome.org>
11104 Date: Tue Oct 23 13:56:32 2012 -0700
11106 Add support for overriding GObject.Object
11108 Shift pygi module mechanics so the introspection generated 'Object'
11109 class becomes derived from the static GObject class. Add initial
11110 GObject.Object override which sets all static methods back essentially
11111 leapfrogging the introspection methods. This sets the stage for having
11112 the ability to remove static methods piecemeal in favor of
11113 introspection/python in future commits.
11115 https://bugzilla.gnome.org/show_bug.cgi?id=672727
11117 gi/module.py | 30 +++++++++++---------
11118 gi/overrides/GObject.py | 74
11119 ++++++++++++++++++++++++++++++++++++++++++++++++
11120 gi/pygobject-external.h | 10 +------
11121 gi/types.py | 7 +++++
11122 tests/test_gobject.py | 31 ++++++++++++++++----
11123 tests/testhelpermodule.c | 2 +-
11124 6 files changed, 126 insertions(+), 28 deletions(-)
11126 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
11127 Author: Martin Pitt <martinpitt@gnome.org>
11128 Date: Tue Nov 6 13:55:21 2012 +0100
11130 Bump glib dependency to >= 2.34.2
11132 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
11136 configure.ac | 4 ++--
11137 2 files changed, 3 insertions(+), 3 deletions(-)
11139 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
11140 Author: Martin Pitt <martinpitt@gnome.org>
11141 Date: Tue Nov 6 11:28:42 2012 +0100
11145 Point to python-hackers-list instead of the old pygtk list, update
11147 versions, and point to wiki page and IRC.
11149 README | 19 ++++++++++---------
11150 1 file changed, 10 insertions(+), 9 deletions(-)
11152 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
11153 Author: Martin Pitt <martinpitt@gnome.org>
11154 Date: Tue Nov 6 11:21:32 2012 +0100
11156 Add --with-python configure option
11158 This behaves like setting $PYTHON, but also works in build systems
11160 which do not support setting environment variables.
11162 Update README accordingly.
11164 README | 15 +++++++++------
11165 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
11166 2 files changed, 43 insertions(+), 15 deletions(-)
11168 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
11169 Author: Martin Pitt <martinpitt@gnome.org>
11170 Date: Tue Nov 6 10:39:27 2012 +0100
11172 python.m4: Add python3.3, do not prefer unversioned "python"
11174 Add python 3.3 to the search list.
11176 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
11178 "python", so use that as last fallback if more specific versions do
11181 configure.ac | 2 +-
11182 m4/python.m4 | 2 +-
11183 2 files changed, 2 insertions(+), 2 deletions(-)
11185 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
11186 Author: Martin Pitt <martinpitt@gnome.org>
11187 Date: Tue Nov 6 09:48:50 2012 +0100
11189 m4: Update py-compile to current upstream version
11191 Update py-compile to current versions from automake 1.11.6.
11194 +++++++++++++++++++++++++++++++++++------------------------
11195 1 file changed, 48 insertions(+), 33 deletions(-)
11197 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
11198 Author: Martin Pitt <martinpitt@gnome.org>
11199 Date: Tue Nov 6 09:57:00 2012 +0100
11201 m4: Update introspection.m4 to current upstream version
11203 m4/introspection.m4 | 4 ++++
11204 1 file changed, 4 insertions(+)
11206 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
11207 Author: Martin Pitt <martinpitt@gnome.org>
11208 Date: Tue Nov 6 09:53:15 2012 +0100
11210 option.py: Fix PEP-8 error
11212 gi/_glib/option.py | 2 +-
11213 1 file changed, 1 insertion(+), 1 deletion(-)
11215 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
11216 Author: Simon Feltman <sfeltman@src.gnome.org>
11217 Date: Mon Nov 5 18:27:56 2012 -0800
11219 Remove DynamicGLibModule and DynamicGObjectModule
11221 Move final bits of _glib static binding imports directly into
11222 the GLib override. Change _glib/option use the .so directly
11223 rather than the staged variables in _glib/__init__.py.
11224 Remove DynamicGLibModule and DynamicGObjectModule and update
11227 https://bugzilla.gnome.org/show_bug.cgi?id=687488
11229 gi/_glib/__init__.py | 11 ----------
11230 gi/_glib/option.py | 16 +++++++-------
11231 gi/importer.py | 12 ++---------
11233 ----------------------------------------------------
11234 gi/overrides/GLib.py | 14 ++++++++++++
11235 tests/test_gi.py | 9 ++------
11236 6 files changed, 26 insertions(+), 96 deletions(-)
11238 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
11239 Author: Daniel Drake <dsd@laptop.org>
11240 Date: Thu Nov 1 14:46:22 2012 +0000
11242 Fix property lookup in class hierarchy
11244 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
11245 a Python subclass of a gi-provided base class overrides a property
11249 The new behaviour in the above commit causes pygobject to seek
11251 in the base class and try to read it from there (resulting in
11253 rather than noticing that the property is overridden and present
11255 Python object instance.
11257 To provide a nicer solution here, we can exploit the fact that
11258 g_object_class_find_property() will traverse the hierarchy in order to
11259 find the right GParamSpec, and the returned GParamSpec can tell
11261 which GType introduces the property. The strategy is:
11263 1. Find pspec with g_object_class_find_property()
11264 2. Find the class that owns that property (pspec->owner_type)
11265 3. See if girepository owns that class.
11266 3a. If yes, get property from there.
11267 3b. If not, get property "directly"
11269 And the same for property setting.
11271 Now that _pygi_lookup_property_from_g_type is always passed the
11273 implements the property, it no longer has to go recursing through
11275 classes, which was the original cause of confusion.
11277 https://bugzilla.gnome.org/show_bug.cgi?id=686942
11279 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
11280 gi/pygi-property.c | 130
11281 ++++++++++++++++++++++-------------------------
11282 gi/pygi-property.h | 4 +-
11283 gi/pygi.h | 12 ++---
11284 tests/test_properties.py | 30 +++++++++++
11285 5 files changed, 164 insertions(+), 104 deletions(-)
11287 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
11288 Author: Martin Pitt <martinpitt@gnome.org>
11289 Date: Sat Nov 3 16:14:01 2012 +0100
11291 Move property and signal creation into _class_init()
11293 We must not add class interfaces after g_type_class_ref() has been
11295 first time. Move signal and property creation from pyg_type_register()
11297 pyg_object_class_init(), and drop the hack of registering interfaces
11300 This changed class initialization order now exposes GLib's warning
11302 unknown signals, so adjust
11303 test_signal.TestGSignalsError.test_invalid_name() to
11306 https://bugzilla.gnome.org/show_bug.cgi?id=686149
11308 gi/_gobject/gobjectmodule.c | 177
11309 ++++++++++++++++++--------------------------
11310 tests/test_signal.py | 6 +-
11311 2 files changed, 75 insertions(+), 108 deletions(-)
11313 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
11314 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11315 Date: Sat Nov 3 13:21:52 2012 -0300
11317 Remove unused macro definitions
11319 PYGLIB_*_VERSION are not used anywhere any more, remove those.
11320 (dropped in commit 8d52bceb1)
11322 gi/_glib/glibmodule.c | 5 -----
11323 1 file changed, 5 deletions(-)
11325 commit fa054fd15b8874760bee97d9af168a2969e6ece4
11326 Author: Martin Pitt <martinpitt@gnome.org>
11327 Date: Mon Nov 5 14:38:07 2012 +0100
11329 testhelpermodule.c: Drop obsolete g_thread_init()
11331 We already require a new enough glib version as we dropped
11333 the main code a long time ago. But for formality's sake, bump glib
11337 configure.ac | 4 ++--
11338 tests/testhelpermodule.c | 1 -
11339 2 files changed, 2 insertions(+), 3 deletions(-)
11341 commit 2e57530a27a44e94927d487cf2f2d9e543777654
11342 Author: Martin Pitt <martinpitt@gnome.org>
11343 Date: Mon Nov 5 14:37:11 2012 +0100
11345 pygi-source.c: Drop dead code
11347 gi/pygi-source.c | 2 --
11348 1 file changed, 2 deletions(-)
11350 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
11351 Author: Simon Feltman <sfeltman@src.gnome.org>
11352 Date: Sun Nov 4 22:22:53 2012 -0800
11354 Move TYPE constants from _gobject to GObject
11356 Clear out TYPE constants from _gobject/__init__.py and move them
11358 GObject overrides. Disperse class imports among modules that use
11360 of using _gobject/__init__.py as a staging area (e.g. GInterface).
11362 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11364 gi/_gobject/__init__.py | 30 ------------------------------
11365 gi/_gobject/constants.py | 2 +-
11366 gi/module.py | 38 +++++++++++++++++++++++++-------------
11367 gi/overrides/__init__.py | 9 ++++++---
11368 gi/types.py | 10 ++++++----
11369 5 files changed, 38 insertions(+), 51 deletions(-)
11371 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
11372 Author: Martin Pitt <martinpitt@gnome.org>
11373 Date: Mon Nov 5 13:10:05 2012 +0100
11375 Move G_MIN/MAX constants into GObject overrides
11377 These really ought to come from GLib's typelib, but are not right
11379 need to keep the static bindings for those. But drop them from
11381 move them into the overrides where they belong.
11383 gi/_gobject/__init__.py | 17 -----------------
11384 gi/_gobject/constants.py | 21 ---------------------
11385 gi/_gobject/propertyhelper.py | 2 +-
11386 gi/overrides/GObject.py | 9 +++++++++
11387 tests/test_gi.py | 32 ++++++++++++++++----------------
11388 5 files changed, 26 insertions(+), 55 deletions(-)
11390 commit 12b84727edc36f686a7031b5c4c6bf662838908d
11391 Author: Martin Pitt <martinpitt@gnome.org>
11392 Date: Mon Nov 5 11:04:54 2012 +0100
11394 Replace static OPTION_* constants with GI
11396 Drop static definitions of GLib.OPTION_* constants and use the ones
11400 https://bugzilla.gnome.org/show_bug.cgi?id=686765
11402 gi/_glib/__init__.py | 13 -------------
11403 gi/_glib/glibmodule.c | 32 --------------------------------
11404 gi/_glib/option.py | 46
11405 ++++++++++++++++++++++++----------------------
11406 gi/overrides/GLib.py | 13 +++++++++++++
11407 gi/overrides/GObject.py | 2 +-
11408 5 files changed, 38 insertions(+), 68 deletions(-)
11410 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
11411 Author: Martin Pitt <martinpitt@gnome.org>
11412 Date: Mon Nov 5 10:14:52 2012 +0100
11414 tests: Do not use deprecated assertRaisesRegexp()
11416 Use assertRaisesRegex() instead and provide 2.7 compatibility in
11419 tests/runtests.py | 3 +++
11420 tests/test_signal.py | 8 ++++----
11421 2 files changed, 7 insertions(+), 4 deletions(-)
11423 commit da2106902eb3dabebdff1674743cb3040566a745
11424 Author: Simon Feltman <sfeltman@src.gnome.org>
11425 Date: Sun Nov 4 02:57:29 2012 -0800
11427 Move gobject static functions and constants to gi
11429 Replace the following functions with gi and overrides:
11430 type_children, type_interfaces, signal_list_ids, signal_list_names,
11431 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
11432 PARAM_* from gi SignalFlags and ParamFlags respectively.
11433 Move module level assignments of a number of static functions to
11434 the GObject.py overrides file.
11436 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11438 docs/reference/pygobject-functions.xml | 25 ---
11439 gi/_gobject/__init__.py | 72 +--------
11440 gi/_gobject/gobjectmodule.c | 272
11441 ---------------------------------
11442 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
11443 gi/overrides/__init__.py | 5 +-
11444 tests/test_signal.py | 11 +-
11445 6 files changed, 215 insertions(+), 378 deletions(-)
11447 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
11448 Author: Simon Feltman <sfeltman@src.gnome.org>
11449 Date: Sun Nov 4 02:52:19 2012 -0800
11451 Make unitests for gobject functions moving to gi more strict
11453 Add expected failure test for invalid SystemError's coming from
11454 signal_lookup and signal_list_ids. Remove excessive type_name
11455 tests and type_from_name tests.
11457 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11459 tests/test_gtype.py | 53
11460 ----------------------------------------------------
11461 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
11462 2 files changed, 25 insertions(+), 68 deletions(-)
11464 commit 3267808318b284814e52f2803b17af56fca648ad
11465 Author: Martin Pitt <martinpitt@gnome.org>
11466 Date: Sat Nov 3 14:17:25 2012 +0100
11468 [API change] Remove static filename_from_utf8() binding
11470 Replace static GLib.filename_from_utf8() with GI. The old static
11472 tried to convert the result to an Unicode object, which will fail
11474 is not UTF-8 encoded (which is the whole point of this function
11478 Although the static binding was rather useless before, this is
11482 docs/reference/pyglib-functions.xml | 32 --------------------------------
11483 gi/_glib/__init__.py | 1 -
11484 gi/_glib/glibmodule.c | 26 --------------------------
11485 gi/_gobject/__init__.py | 1 -
11486 gi/overrides/GLib.py | 8 ++++++++
11487 gi/overrides/GObject.py | 3 ++-
11488 tests/test_glib.py | 8 ++++++++
11489 7 files changed, 18 insertions(+), 61 deletions(-)
11491 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
11492 Author: Martin Pitt <martinpitt@gnome.org>
11493 Date: Sat Nov 3 13:14:15 2012 +0100
11495 Drop static glib_version and pyglib_version constants
11497 Use the GLib version from GI instead, and the already existing
11500 docs/reference/pyglib-constants.xml | 50
11501 ----------------------------------
11502 docs/reference/pygobject-constants.xml | 19 -------------
11503 gi/_glib/__init__.py | 2 --
11504 gi/_glib/glibmodule.c | 21 --------------
11505 gi/_gobject/__init__.py | 1 -
11506 gi/overrides/GLib.py | 8 +++++-
11507 gi/overrides/GObject.py | 3 +-
11508 tests/test_glib.py | 12 ++++++++
11509 8 files changed, 21 insertions(+), 95 deletions(-)
11511 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
11512 Author: Martin Pitt <martinpitt@gnome.org>
11513 Date: Sat Nov 3 12:12:44 2012 +0100
11515 Drop static G_MININT8 and related constants
11517 Use the introspected constants from GLib instead.
11519 gi/_gobject/__init__.py | 12 ------------
11520 gi/_gobject/constants.py | 12 ------------
11521 gi/_gobject/gobjectmodule.c | 18 +-----------------
11522 gi/overrides/GObject.py | 17 +++++++++++++++++
11523 tests/test_gobject.py | 4 ++++
11524 5 files changed, 22 insertions(+), 41 deletions(-)
11526 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
11527 Author: Martin Pitt <martinpitt@gnome.org>
11528 Date: Sat Nov 3 11:58:40 2012 +0100
11530 test_gobject: Add test case for min/max int constants
11532 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
11534 tests/test_gobject.py | 9 +++++++++
11535 1 file changed, 9 insertions(+)
11537 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
11538 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11539 Date: Sat Oct 27 15:37:32 2012 -0300
11541 Use g_object_info_find_signal()
11543 Replace our custom code with a call to the corresponding
11544 gobject-instrospection
11547 https://bugzilla.gnome.org/show_bug.cgi?id=687371
11549 gi/pygi-signal-closure.c | 21 ++++-----------------
11550 1 file changed, 4 insertions(+), 17 deletions(-)
11552 commit ae6d0aada9587cd4dca168375527b80785b604a0
11553 Author: Martin Pitt <martinpitt@gnome.org>
11554 Date: Sat Nov 3 11:23:06 2012 +0100
11556 GLib overrides: code cleanup
11558 Factorize the logic to handle zero or multiple user_data arguments
11560 user_data_varargs_shim(), and put code that handles deprecated API
11562 corresponding "then" branches, to improve readability.
11564 gi/overrides/GLib.py | 87
11565 ++++++++++++++++++++++++++++------------------------
11566 1 file changed, 47 insertions(+), 40 deletions(-)
11568 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
11569 Author: Martin Pitt <martinpitt@gnome.org>
11570 Date: Sat Nov 3 09:33:08 2012 +0100
11572 Restore actual GLib API after previous fix
11574 Re-fix the acceptance of priority as first argument for idle_add(),
11575 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
11577 this keeps supporting the backwards compatible API with supplying
11581 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11583 gi/overrides/GLib.py | 117
11584 +++++++++++++++++++++++++-----------------------
11585 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
11586 tests/test_source.py | 30 +++++++++++++
11587 3 files changed, 158 insertions(+), 63 deletions(-)
11589 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
11590 Author: Simon Feltman <sfeltman@src.gnome.org>
11591 Date: Fri Nov 2 21:01:38 2012 -0700
11593 Add unittests for module level type and signal functions
11595 Add tests for the following methods: signal_list_ids,
11596 signal_name, signal_lookup, signal_query, type_children,
11597 type_from_name, type_name, type_is_a, and type_interfaces.
11599 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11601 tests/Makefile.am | 1 +
11602 tests/test_gtype.py | 106
11603 +++++++++++++++++++++++++++++++++++++++++++++++++++
11604 tests/test_signal.py | 43 +++++++++++++++++++++
11605 3 files changed, 150 insertions(+)
11607 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
11608 Author: Simon Feltman <sfeltman@src.gnome.org>
11609 Date: Tue Oct 30 18:33:44 2012 -0700
11611 Fix GLib override incompatibilities with old static API
11613 Change idle_add, timeout_add, timeout_add_seconds, and
11614 io_add_watch to accept *args and **kwargs as arguments
11615 to the callback functions instead of only accepting a single
11616 user_data arg. This ensures the new overridden introspection
11617 methods are backwards compatible with the static versions
11620 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11622 gi/overrides/GLib.py | 98
11623 ++++++++++++++++++++++++++++---------------------
11624 tests/test_iochannel.py | 37 +++++++++++++++++--
11625 2 files changed, 90 insertions(+), 45 deletions(-)
11627 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
11628 Author: Simon Feltman <sfeltman@src.gnome.org>
11629 Date: Tue Oct 30 12:01:44 2012 -0700
11631 Fix IOChannel unittests for python 2.7
11633 Use __future__ unicode_literals to minimize difference
11634 between python 2.7 and 3. Comparisons need to encode arguments as
11635 'UTF-8' for testing readline operations.
11636 Add backwards compatible "next" to support the python 2.7 iteration.
11637 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
11638 support all python versions (and duck typing).
11640 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11642 gi/overrides/GLib.py | 4 +++-
11643 tests/test_iochannel.py | 1 +
11644 2 files changed, 4 insertions(+), 1 deletion(-)
11646 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
11647 Author: Martin Pitt <martinpitt@gnome.org>
11648 Date: Mon Oct 29 23:00:31 2012 +0100
11650 Allow calling io_add_watch with a file object
11652 The old static bindings allowed that, so we need to allow it to
11654 backwards compatibility. Deprecate this mode as well, so that we
11658 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11660 gi/overrides/GLib.py | 7 +++++++
11661 tests/test_glib.py | 26 ++++++++++++++++++++++++++
11662 2 files changed, 33 insertions(+)
11664 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
11665 Author: John Ralls <jralls@ceridwen.us>
11666 Date: Mon Oct 29 14:57:22 2012 -0700
11668 Fix duplicate symbols error on OSX
11670 gi/pygi-source.c | 1 +
11671 1 file changed, 1 insertion(+)
11673 commit 5a367aa067e369f2b1e713199614e3426fecc10e
11674 Author: Martin Pitt <martinpitt@gnome.org>
11675 Date: Sun Oct 28 17:42:34 2012 +0100
11677 Drop removed markup-escape-text() from reference documentation
11679 docs/reference/pyglib-functions.xml | 36
11680 ------------------------------------
11681 1 file changed, 36 deletions(-)
11683 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
11684 Author: Martin Pitt <martinpitt@gnome.org>
11685 Date: Sun Oct 28 17:41:03 2012 +0100
11687 Drop some dead code from gi/_glib/glibmodule.c
11689 gi/_glib/glibmodule.c | 45 ---------------------------------------------
11690 1 file changed, 45 deletions(-)
11692 commit 7b12803bce3418bb487127f497f022c973f35888
11693 Author: Martin Pitt <martinpitt@gnome.org>
11694 Date: Sun Oct 28 17:37:29 2012 +0100
11696 Remove static get_current_time() binding
11698 Use GLib.get_real_time() through GI instead. Deprecate the function,
11700 GLib.get_real_time() should be called directly.
11702 docs/reference/pyglib-functions.xml | 26 --------------------------
11703 gi/_glib/__init__.py | 1 -
11704 gi/_glib/glibmodule.c | 11 -----------
11705 gi/_glib/pyglib.c | 16 ----------------
11706 gi/_glib/pyglib.h | 1 -
11707 gi/_gobject/__init__.py | 1 -
11708 gi/overrides/GLib.py | 8 ++++++++
11709 gi/overrides/GObject.py | 2 +-
11710 tests/test_glib.py | 6 +++++-
11711 9 files changed, 14 insertions(+), 58 deletions(-)
11713 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
11714 Author: Martin Pitt <martinpitt@gnome.org>
11715 Date: Sun Oct 28 17:23:23 2012 +0100
11717 Add more tests for GLib.spawn_async()
11719 Check spawn_async() with getting stdin/out/err pipes and specifying
11722 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
11723 1 file changed, 29 insertions(+)
11725 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
11726 Author: Martin Pitt <martinpitt@gnome.org>
11727 Date: Sun Oct 28 14:15:05 2012 +0100
11729 Remove static child_add_watch() binding
11731 Use the GLib API through GI instead, and provide override to keep
11733 compatible API. Also allow using the actual GLib API, and deprecate
11735 static API of calling without a priority as first argument.
11737 docs/reference/pyglib-functions.xml | 61 ---------------------------
11738 gi/_glib/__init__.py | 1 -
11739 gi/_glib/glibmodule.c | 72 -------------------------------
11740 gi/_gobject/__init__.py | 1 -
11741 gi/overrides/GLib.py | 46 ++++++++++++++++++++
11742 gi/overrides/GObject.py | 2 +-
11743 tests/test_mainloop.py | 2 +-
11744 tests/test_subprocess.py | 84
11745 ++++++++++++++++++++++++++++++++++---
11746 8 files changed, 127 insertions(+), 142 deletions(-)
11748 commit 4b16427714b850e33c6020d8de1833bae19a3b87
11749 Author: Martin Pitt <martinpitt@gnome.org>
11750 Date: Sun Oct 28 13:44:23 2012 +0100
11752 test_subprocess: Cover more child_watch_add() cases
11754 Verify that priority is set correctly, and also test calling without
11757 tests/test_subprocess.py | 24 +++++++++++++++++++-----
11758 1 file changed, 19 insertions(+), 5 deletions(-)
11760 commit 83ff5938612d37d52f112867a472777dd6786d69
11761 Author: Colin Walters <walters@verbum.org>
11762 Date: Sat Oct 27 12:22:53 2012 -0400
11764 gi/__init__.py: Pacify pep8 style checker
11766 It was complaining about finding only 1 blank line. Regression
11767 likely introduced by f976d05b.
11769 https://bugzilla.gnome.org/show_bug.cgi?id=686991
11771 gi/__init__.py | 1 +
11772 1 file changed, 1 insertion(+)
11774 commit f976d05b04f26e733d19988e68989e340eb3a29e
11775 Author: Martin Pitt <martinpitt@gnome.org>
11776 Date: Fri Oct 26 10:39:28 2012 +0200
11778 Use a custom deprecation warning to make them visible by default
11780 DeprecationWarning is not shown by default, and is thus rather
11782 developers. Use a custom PyGIDeprecationWarning class and derive
11784 RuntimeWarning to make it visible.
11786 gi/__init__.py | 5 +++++
11787 gi/overrides/GLib.py | 5 +++--
11788 gi/overrides/Gtk.py | 5 +++--
11789 gi/overrides/__init__.py | 4 ++--
11790 gi/pygtkcompat.py | 4 ++--
11791 tests/Makefile.am | 2 +-
11792 tests/test_glib.py | 5 +++--
11793 tests/test_gobject.py | 3 ++-
11794 tests/test_iochannel.py | 5 +++--
11795 tests/test_source.py | 3 ++-
11796 10 files changed, 26 insertions(+), 15 deletions(-)
11798 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
11799 Author: Martin Pitt <martinpitt@gnome.org>
11800 Date: Fri Oct 26 09:26:17 2012 +0200
11802 Remove static io_add_watch() binding
11804 Use the GLib API through GI instead, and provide override to keep
11806 compatible API. Also allow using the actual GLib API, and deprecate
11809 - calling with an fd as first argument instead of an IOChannel
11810 - calling without a priority as second argument
11812 docs/reference/pyglib-functions.xml | 106
11813 ------------------------------------
11814 gi/_glib/__init__.py | 1 -
11815 gi/_glib/glibmodule.c | 98
11816 ---------------------------------
11817 gi/_gobject/__init__.py | 1 -
11818 gi/overrides/GLib.py | 51 ++++++++++++++---
11819 gi/overrides/GObject.py | 3 +-
11820 tests/test_glib.py | 15 ++++-
11821 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
11822 8 files changed, 126 insertions(+), 219 deletions(-)
11824 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
11825 Author: Martin Pitt <martinpitt@gnome.org>
11826 Date: Fri Oct 26 08:48:35 2012 +0200
11828 Add tests for GLib.io_add_watch()
11830 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
11831 1 file changed, 36 insertions(+)
11833 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
11834 Author: Martin Pitt <martinpitt@gnome.org>
11835 Date: Thu Oct 25 15:55:46 2012 +0200
11837 Remove static GIOChannel bindings
11839 Use the GLib API through GI instead, and provide overrides to keep
11841 compatible API, including its bugs.
11843 We still need to keep a static wrapper around
11844 g_io_channel_read_chars() until
11845 we teach PyGObject to correctly handle caller allocated out array
11848 https://bugzilla.gnome.org/show_bug.cgi?id=686795
11850 gi/_glib/Makefile.am | 2 -
11851 gi/_glib/__init__.py | 1 -
11852 gi/_glib/glibmodule.c | 2 -
11853 gi/_glib/pygiochannel.c | 748
11854 ------------------------------------------------
11855 gi/_glib/pygiochannel.h | 29 --
11856 gi/_gobject/__init__.py | 1 -
11857 gi/gimodule.c | 72 +++++
11858 gi/overrides/GLib.py | 95 +++++-
11859 8 files changed, 161 insertions(+), 789 deletions(-)
11861 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
11862 Author: Martin Pitt <martinpitt@gnome.org>
11863 Date: Thu Oct 25 12:59:46 2012 +0200
11865 test_iochannel.py: Fix data type of IOFlags
11867 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
11869 the result is of type GLib.IOFlags again.
11871 tests/test_iochannel.py | 2 +-
11872 1 file changed, 1 insertion(+), 1 deletion(-)
11874 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
11875 Author: Martin Pitt <martinpitt@gnome.org>
11876 Date: Thu Oct 25 08:24:31 2012 +0200
11878 Add environment variable to disable pep8 checks
11880 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
11882 makes the test/fix turnaround time faster.
11884 tests/Makefile.am | 6 ++++--
11885 1 file changed, 4 insertions(+), 2 deletions(-)
11887 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
11888 Author: Simon Feltman <sfeltman@src.gnome.org>
11889 Date: Wed Oct 24 04:31:26 2012 -0700
11891 [API add] Add get_introspection_module for getting un-overridden
11894 Add gi.module.get_introspection_module to explicitly get a
11895 wrapped module pulled in through introspection without static
11896 and python override handling. This API is intended for python
11897 overrides to use rather than having them access
11898 gi.importer.modules['<name>']._introspection_module directly.
11899 Replace aforementioned usage in all overrides.
11901 https://bugzilla.gnome.org/show_bug.cgi?id=686828
11904 +++++++++++++++++++++++++++++++++++---
11905 gi/overrides/GIMarshallingTests.py | 4 ++--
11906 gi/overrides/GLib.py | 4 ++--
11907 gi/overrides/Gdk.py | 6 +++---
11908 gi/overrides/Gio.py | 4 ++--
11909 gi/overrides/Gtk.py | 5 +++--
11910 gi/overrides/Pango.py | 4 ++--
11911 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
11912 8 files changed, 78 insertions(+), 16 deletions(-)
11914 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
11915 Author: Martin Pitt <martinpitt@gnome.org>
11916 Date: Wed Oct 24 15:16:13 2012 +0200
11918 test_option: Use public API
11920 Use GLib.option, not gi._glib.option.
11922 tests/test_option.py | 42 ++++++++++++++++++++----------------------
11923 1 file changed, 20 insertions(+), 22 deletions(-)
11925 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
11926 Author: Martin Pitt <martinpitt@gnome.org>
11927 Date: Wed Oct 24 14:12:05 2012 +0200
11929 Drop static SPAWN_* constants
11931 Use the introspected constants instead, which are identical. Add
11933 compatible aliases.
11935 These constants are covered by tests/test_subprocess.py.
11937 https://bugzilla.gnome.org/show_bug.cgi?id=686765
11939 docs/reference/pyglib-constants.xml | 68
11940 ----------------------------------
11941 docs/reference/pyglib-functions.xml | 26 ++++++-------
11942 docs/reference/pygobject-constants.xml | 67
11943 ---------------------------------
11944 gi/_glib/__init__.py | 7 ----
11945 gi/_glib/glibmodule.c | 15 --------
11946 gi/_gobject/__init__.py | 7 ----
11947 gi/overrides/GLib.py | 6 +++
11948 gi/overrides/GObject.py | 6 ++-
11949 tests/test_subprocess.py | 6 ++-
11950 9 files changed, 29 insertions(+), 179 deletions(-)
11952 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
11953 Author: Martin Pitt <martinpitt@gnome.org>
11954 Date: Wed Oct 24 13:59:31 2012 +0200
11956 Drop static IO_* constants
11958 Use the introspected constants instead, which are identical. Add
11960 compatible aliases.
11962 These constants are covered by tests/test_iochannel.py.
11964 docs/reference/pyglib-constants.xml | 52
11965 -------------------------------------
11966 gi/_glib/__init__.py | 19 --------------
11967 gi/_glib/glibmodule.c | 32 -----------------------
11968 gi/_gobject/__init__.py | 18 -------------
11969 gi/overrides/GLib.py | 18 ++++++++++++-
11970 gi/overrides/GObject.py | 8 +++++-
11971 tests/test_iochannel.py | 1 +
11972 tests/test_source.py | 2 +-
11973 8 files changed, 26 insertions(+), 124 deletions(-)
11975 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
11976 Author: Martin Pitt <martinpitt@gnome.org>
11977 Date: Wed Oct 24 12:50:50 2012 +0200
11979 Fix various bugs in GLib.IOChannel
11981 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
11983 NULL on the last element, instead of raising a StopIteration.
11985 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
11987 stream is being used in binary mode; in that case, we should not
11989 do any automagic conversion to an Unicode object. As this special
11991 inconsistent and has never worked anyway, and the current buggy
11992 implementation breaks binary streams, just drop it without
11994 (Introduced in commit de9eae4dfcce8)
11996 These bugs were uncovered by the previously committed tests.
11998 gi/_glib/pygiochannel.c | 25 +++++--------------------
11999 1 file changed, 5 insertions(+), 20 deletions(-)
12001 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
12002 Author: Martin Pitt <martinpitt@gnome.org>
12003 Date: Wed Oct 24 12:49:04 2012 +0200
12005 Add tests for GLib.IOChannel
12007 This did not have any code coverage at all. The tests uncover a
12009 which will be fixed in the next commit.
12011 tests/Makefile.am | 1 +
12012 tests/test_iochannel.py | 262
12013 ++++++++++++++++++++++++++++++++++++++++++++++++
12014 2 files changed, 263 insertions(+)
12016 commit 1b27432abf6004553e9476d5ffeb2bf603534419
12017 Author: Martin Pitt <martinpitt@gnome.org>
12018 Date: Wed Oct 24 08:50:37 2012 +0200
12020 Remove static idle_add/timeout_add bindings
12022 Use the GLib functions through GI instead. Add overrides to ensure
12024 arguments continue to work as before, and that callbacks are called
12026 userdata argument if it wasn't specified.
12028 docs/reference/pyglib-functions.xml | 165
12029 ------------------------------------
12030 gi/_glib/__init__.py | 3 -
12031 gi/_glib/glibmodule.c | 139 ------------------------------
12032 gi/_gobject/__init__.py | 3 -
12033 gi/overrides/GLib.py | 31 +++++++
12034 gi/overrides/GObject.py | 3 +-
12035 tests/test_source.py | 19 +++++
12036 7 files changed, 52 insertions(+), 311 deletions(-)
12038 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
12039 Author: Martin Pitt <martinpitt@gnome.org>
12040 Date: Wed Oct 24 09:14:57 2012 +0200
12042 Add tests for priority argument of idle_add/timeout_add
12044 There is a potential to treat the priority as user data in a call like
12045 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
12047 using a keyword argument for the priority (but silently ignore it
12049 specify both userdata and priority as a positional argument).
12051 Test the correct handling of priority as well.
12053 tests/test_source.py | 63
12054 ++++++++++++++++++++++++++++++++++++++++++++++++----
12055 1 file changed, 59 insertions(+), 4 deletions(-)
12057 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
12058 Author: Martin Pitt <martinpitt@gnome.org>
12059 Date: Wed Oct 24 08:40:50 2012 +0200
12061 Drop old ChangeLog.pre-2.18
12063 This is ancient by now, quite sizable, and the complete history can
12065 seen in the git log.
12067 ChangeLog.pre-2.18 | 3608
12068 ----------------------------------------------------
12070 2 files changed, 3609 deletions(-)
12072 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
12073 Author: Martin Pitt <martinpitt@gnome.org>
12074 Date: Wed Oct 24 08:39:05 2012 +0200
12076 Fix PEP-8 whitespace in previous commit
12078 tests/test_source.py | 4 ++++
12079 1 file changed, 4 insertions(+)
12081 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
12082 Author: Martin Pitt <martinpitt@gnome.org>
12083 Date: Wed Oct 24 08:33:49 2012 +0200
12085 Add tests for idle_add()/timeout_add with and without user data
12087 This is implicitly spread over various test cases, but let's test
12089 to ensure that the behaviour stays consistent when moving this to GI.
12091 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
12092 1 file changed, 35 insertions(+)
12094 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
12095 Author: Martin Pitt <martinpitt@gnome.org>
12096 Date: Wed Oct 24 08:05:43 2012 +0200
12098 tests: consitent naming style
12100 Stop mixing camel case and underline naming, use the latter
12104 tests/test_gobject.py | 64
12105 +++++++++++++++++++++++------------------------
12106 tests/test_interface.py | 4 +--
12107 tests/test_option.py | 14 +++++------
12108 tests/test_pygtkcompat.py | 32 ++++++++++++------------
12109 tests/test_signal.py | 10 ++++----
12110 tests/test_source.py | 23 ++++++++---------
12111 tests/test_subprocess.py | 2 +-
12112 tests/test_thread.py | 2 +-
12113 tests/test_unknown.py | 2 +-
12114 9 files changed, 76 insertions(+), 77 deletions(-)
12116 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
12117 Author: Martin Pitt <martinpitt@gnome.org>
12118 Date: Wed Oct 24 07:28:10 2012 +0200
12120 Work around wrong 64 bit constants in GLib Gir
12122 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
12124 set them in an override, until this gets fixed properly.
12126 https://bugzilla.gnome.org/show_bug.cgi?id=685022
12128 gi/overrides/GLib.py | 8 ++++++++
12129 tests/test_gi.py | 9 +++++++++
12130 2 files changed, 17 insertions(+)
12132 commit f30efd2619911c89ca873fac6bec06a1b60fab82
12133 Author: Martin Pitt <martinpitt@gnome.org>
12134 Date: Tue Oct 23 13:32:14 2012 +0200
12136 Mark GLib.Source.get_current_time() as deprecated
12138 This method has been deprecated in GLib long ago. We have a workaround
12139 implementation using GLib.get_real_time(), but eventually this should
12142 gi/overrides/GLib.py | 5 ++++-
12143 tests/test_source.py | 8 +++++++-
12144 2 files changed, 11 insertions(+), 2 deletions(-)
12146 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
12147 Author: Martin Pitt <martinpitt@gnome.org>
12148 Date: Tue Oct 23 08:56:19 2012 +0200
12150 Mark GLib API that is exposed in GObject as deprecated
12152 A lot of API in GObject really belongs into GLib and is just there for
12153 historical/backwards compatible reasons. Mark these methods as
12155 that at some point we can drop them.
12157 gi/overrides/GObject.py | 3 ++-
12158 gi/overrides/__init__.py | 13 +++++++++++++
12159 tests/test_gobject.py | 24 ++++++++++++++----------
12160 3 files changed, 29 insertions(+), 11 deletions(-)
12162 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
12163 Author: Martin Pitt <martinpitt@gnome.org>
12164 Date: Fri Oct 19 09:55:05 2012 +0200
12166 Remove static MainLoop, MainContext, and some GSource bindings
12168 glib's MainLoop and MainContext are fully introspectable these days,
12170 our static bindings. This reduces our code, as well enables GLib
12172 hasn't been available through the static bindings before.
12174 This also requires dropping our custom static types for GLib Source,
12176 and Idle. The latter two work fine with introspection and just
12178 overrides for a backwards compatible API. g_source_new() is not
12180 though, so we need to keep our static wrappers for that. Move
12182 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
12185 Note that gi/_glib/pygsource.[hc] is still required for the static
12187 which is used by the static IOChannel binding. Once the latter
12189 PollFD can be dropped as well.
12191 https://bugzilla.gnome.org/show_bug.cgi?id=686443
12193 docs/Makefile.am | 6 +-
12194 docs/reference/pyglib-classes.xml | 2 -
12195 docs/reference/pyglib-constants.xml | 53 ---
12196 docs/reference/pyglib-functions.xml | 58 ---
12197 docs/reference/pyglib-maincontext.xml | 152 --------
12198 docs/reference/pyglib-mainloop.xml | 202 -----------
12199 gi/Makefile.am | 2 +
12200 gi/_glib/Makefile.am | 4 -
12201 gi/_glib/__init__.py | 12 -
12202 gi/_glib/glibmodule.c | 45 +--
12203 gi/_glib/pyglib.c | 15 -
12204 gi/_glib/pyglib.h | 1 -
12205 gi/_glib/pygmaincontext.c | 126 -------
12206 gi/_glib/pygmaincontext.h | 40 ---
12207 gi/_glib/pygmainloop.c | 362 -------------------
12208 gi/_glib/pygmainloop.h | 36 --
12209 gi/_glib/pygsource.c | 640
12210 ----------------------------------
12211 gi/_glib/pygsource.h | 3 -
12212 gi/_gobject/__init__.py | 13 -
12213 gi/gimodule.c | 9 +
12214 gi/overrides/GLib.py | 116 +++++-
12215 gi/overrides/GObject.py | 10 +-
12216 gi/pygi-private.h | 1 +
12217 gi/pygi-source.c | 247 +++++++++++++
12218 gi/pygi-source.h | 31 ++
12219 tests/test_glib.py | 22 +-
12220 tests/test_gobject.py | 2 +
12221 tests/test_source.py | 3 -
12222 28 files changed, 437 insertions(+), 1776 deletions(-)
12224 commit 326218a20681c1f2234a6eea1ed800382be57626
12225 Author: Simon Feltman <s.feltman@gmail.com>
12226 Date: Wed Sep 19 15:37:14 2012 -0700
12228 Deprecate void pointer fields as general PyObject storage.
12230 Complete deprecation of gpointer struct fields as general
12231 PyObject storage. Only int types are now allowed.
12232 Assignment of anything other than an int or None raises
12233 a TypeError stating the error and associated bug URL.
12235 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12237 gi/pygi-argument.c | 25 ++++++++++++++++-----
12238 gi/pygi-info.c | 28 ++++--------------------
12239 tests/test_everything.py | 53
12240 +++++++++++++++++++++++++--------------------
12241 tests/test_overrides_gtk.py | 41 -----------------------------------
12242 4 files changed, 54 insertions(+), 93 deletions(-)
12244 commit 3dba328010a4ffd9259700ffec95871c7341d491
12245 Author: Martin Pitt <martinpitt@gnome.org>
12246 Date: Tue Oct 23 11:59:08 2012 +0200
12248 Add some MainLoop, MainContext, and Source test cases
12250 These cover the remaining static API and behaviour, so that we
12252 regression tests for converting them to GI.
12254 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
12256 tests/test_glib.py | 21 +++++++++++++++++++++
12257 tests/test_gobject.py | 11 +++++++++++
12258 tests/test_mainloop.py | 16 ++++++++++++++++
12259 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
12260 4 files changed, 92 insertions(+)
12262 commit 7635340271df0a135873459e6a2a365fd4b187a2
12263 Author: Steve Frécinaux <code@istique.net>
12264 Date: Wed Feb 9 18:37:33 2011 +0100
12266 [API change] Do not bind gobject_get_data() and gobject_set_data()
12268 They will basically cause a crash if misused, and you can always use a
12269 python member attribute instead.
12271 These methods were marked as deprecated for 3.4 and throwing a
12273 let's remove them for good now.
12275 https://bugzilla.gnome.org/show_bug.cgi?id=641944
12277 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12279 docs/reference/pygobject.xml | 63
12280 --------------------------------------------
12281 gi/_gobject/pygobject.c | 44 -------------------------------
12282 2 files changed, 107 deletions(-)
12284 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
12285 Author: Martin Pitt <martinpitt@gnome.org>
12286 Date: Tue Oct 23 08:17:40 2012 +0200
12288 Add test for GLib.get_current_time()
12290 This adds a plausibility test, as well as ensuring the documented
12292 This will be useful if/once we drop the static _glib binding.
12294 tests/test_glib.py | 5 +++++
12295 1 file changed, 5 insertions(+)
12297 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
12298 Author: Martin Pitt <martinpitt@gnome.org>
12299 Date: Tue Oct 23 07:48:52 2012 +0200
12301 Drop unnecessary static _glib bindings
12303 Drop static pyglib bindings which have straightforward and working
12305 bindings. Add tests for all dropped functions to ensure they keep
12308 docs/reference/pyglib-constants.xml | 59 -------
12309 docs/reference/pyglib-functions.xml | 270 ------------------------------
12310 gi/_glib/__init__.py | 24 ---
12311 gi/_glib/glibmodule.c | 319
12312 ------------------------------------
12313 gi/_gobject/__init__.py | 9 -
12314 gi/overrides/GLib.py | 16 ++
12315 gi/overrides/GObject.py | 32 ++++
12316 gi/overrides/Makefile.am | 1 +
12317 tests/Makefile.am | 1 -
12318 tests/test_glib.py | 46 ++++++
12319 tests/test_gobject.py | 4 +
12320 tests/test_uris.py | 16 --
12321 12 files changed, 99 insertions(+), 698 deletions(-)
12323 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
12324 Author: Martin Pitt <martinpitt@gnome.org>
12325 Date: Tue Oct 23 06:12:08 2012 +0200
12327 Fix OverflowError in source_remove()
12329 GSource IDs are unsigned, so we must use 'I' for parsing then, not
12332 https://bugzilla.gnome.org/show_bug.cgi?id=684526
12334 gi/_glib/glibmodule.c | 2 +-
12335 tests/test_source.py | 13 ++++++++++++-
12336 2 files changed, 13 insertions(+), 2 deletions(-)
12338 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
12339 Author: Martin Pitt <martinpitt@gnome.org>
12340 Date: Mon Oct 22 13:38:23 2012 +0200
12342 Fix TestSource.testSources() test case
12344 PyGObject has established the assumption that the destruction of
12346 Python object does not destroy the actual GSource, as shown in
12347 TestSource.setup_timeout(), TestTimeout.test504337(), and
12348 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
12350 So we need to explicitly destroy our MySource and Idle objects
12352 them, as their callbacks always return True and we do not want them
12354 over into other tests.
12356 Also fix the assertions to actually verify that MySources' callback
12358 (pos > 0, not pos >= 0), and use the unittest comparison API instead
12360 simple assert statement.
12362 https://bugzilla.gnome.org/show_bug.cgi?id=686627
12364 tests/test_source.py | 8 +++++++-
12365 1 file changed, 7 insertions(+), 1 deletion(-)
12367 commit b984a5fe0d065818a153f259db4dbde79534f084
12368 Author: Martin Pitt <martinpitt@gnome.org>
12369 Date: Mon Oct 22 17:38:56 2012 +0200
12371 configure.ac: post-release bump to 3.7.2
12373 configure.ac | 2 +-
12374 1 file changed, 1 insertion(+), 1 deletion(-)
12376 commit ce0825f58c3eba6084143e430605ffb597622369
12377 Author: Martin Pitt <martinpitt@gnome.org>
12378 Date: Mon Oct 22 17:37:17 2012 +0200
12382 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
12383 1 file changed, 42 insertions(+)
12385 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
12386 Author: Martin Pitt <martinpitt@gnome.org>
12387 Date: Mon Oct 22 17:33:12 2012 +0200
12389 Bump version to 3.7.1
12391 Let's follow the real GNOME versioning from now on.
12393 configure.ac | 2 +-
12394 1 file changed, 1 insertion(+), 1 deletion(-)
12396 commit 3fb13cc05a281970c3a624c2dd152996031b482c
12397 Author: Martin Pitt <martinpitt@gnome.org>
12398 Date: Mon Oct 22 11:36:49 2012 +0200
12400 test_mainloop code cleanup
12402 Ensure that sys.excepthook is always restored, even if the test
12404 assert{True,False,Equal} unittest API instead of simple asserts for
12408 tests/test_mainloop.py | 19 ++++++++++---------
12409 1 file changed, 10 insertions(+), 9 deletions(-)
12411 commit 31061f20083aa60919f6763a12addbf2b052cab7
12412 Author: Simon Feltman <sfeltman@src.gnome.org>
12413 Date: Sun Oct 21 18:55:24 2012 -0700
12415 Change install_properties to not use getattr on classes
12417 The usage of getattr for accessing a classes __gproperties__
12418 variable can be problematic due to the potential of it returning
12419 the parent classes variable when it does not exist on the sub-class.
12420 Similar to the fix for
12421 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
12422 cls.__dict__.get is used to ensure this does not happen.
12424 https://bugzilla.gnome.org/show_bug.cgi?id=686559
12426 gi/_gobject/propertyhelper.py | 2 +-
12427 tests/test_properties.py | 6 ++++--
12428 2 files changed, 5 insertions(+), 3 deletions(-)
12430 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
12431 Author: Simon Feltman <sfeltman@src.gnome.org>
12432 Date: Sat Oct 20 19:56:04 2012 -0700
12434 Move property install function into propertyhelper.py
12436 Move _install_properties() into gi/_gobject/propertyhelper.py
12439 https://bugzilla.gnome.org/show_bug.cgi?id=686559
12441 gi/_gobject/__init__.py | 45 +++----------------------------
12442 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
12443 tests/test_properties.py | 63
12444 +++++++++++++++++++++++++++++++++++++++++++
12445 3 files changed, 111 insertions(+), 42 deletions(-)
12447 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
12448 Author: Simon Feltman <s.feltman@gmail.com>
12449 Date: Sat Oct 20 03:11:07 2012 -0700
12451 Fix Signal decorator to not use base class gsignals dict
12453 Fix install_signals to not use the parent classes __gsignals__
12454 dict if one does not exist on the given class.
12456 https://bugzilla.gnome.org/show_bug.cgi?id=686496
12458 gi/_gobject/signalhelper.py | 2 +-
12459 tests/test_signal.py | 43
12460 +++++++++++++++++++++++++++++++++++++++++++
12461 2 files changed, 44 insertions(+), 1 deletion(-)
12463 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
12464 Author: Martin Pitt <martinpitt@gnome.org>
12465 Date: Fri Oct 19 09:05:01 2012 +0200
12467 tests: Consistently use GLib.MainLoop
12469 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
12471 tests/test_everything.py | 4 ++--
12472 tests/test_gdbus.py | 11 +++++------
12473 2 files changed, 7 insertions(+), 8 deletions(-)
12475 commit ff7e7401b4cf50532fef70263f7559ea513b8333
12476 Author: Kalev Lember <kalevlember@gmail.com>
12477 Date: Wed Oct 17 18:27:14 2012 +0200
12479 Install the .egg-info files into correct multilib directory
12481 This makes sure the .egg-info files end up in the same python
12483 directory as the rest of the gi .py files.
12485 https://bugzilla.gnome.org/show_bug.cgi?id=686315
12487 Makefile.am | 6 +++---
12488 1 file changed, 3 insertions(+), 3 deletions(-)
12490 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
12491 Author: Simon Feltman <s.feltman@gmail.com>
12492 Date: Mon Oct 15 04:03:50 2012 -0700
12494 Fix leaked vfunc return values
12496 Simple fix to dec ref returned values from closures wrapping
12499 https://bugzilla.gnome.org/show_bug.cgi?id=686140
12501 gi/pygi-closure.c | 1 +
12502 tests/test_gi.py | 21 +++++++++++++++++++--
12503 2 files changed, 20 insertions(+), 2 deletions(-)
12505 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
12506 Author: Martin Pitt <martinpitt@gnome.org>
12507 Date: Mon Oct 15 07:42:05 2012 +0200
12509 Skip Regress tests with --disable-cairo
12511 We need cairo to build g-i's Regress library, gir, and typelib. Update
12512 configure.ac to only require cairo if --disable-cairo was not
12514 --disable-cairo, skip building the Regress library and skip all
12518 https://bugzilla.gnome.org/show_bug.cgi?id=685094
12520 configure.ac | 5 ++---
12521 tests/Makefile.am | 45
12522 +++++++++++++++++++++++++++------------------
12523 tests/test_everything.py | 15 +++++++++++----
12524 tests/test_overrides.py | 7 ++++++-
12525 4 files changed, 46 insertions(+), 26 deletions(-)
12527 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
12528 Author: Martin Pitt <martinpitt@gnome.org>
12529 Date: Fri Oct 12 11:05:24 2012 +0200
12531 _pygi_marshal_from_py_uint64: Re-fix check of negative values
12533 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
12537 https://bugzilla.gnome.org/show_bug.cgi?id=685000
12539 gi/pygi-marshal-from-py.c | 6 +++---
12540 1 file changed, 3 insertions(+), 3 deletions(-)
12542 commit 22c22124b787ae67638aff89796d7ce14900ea8e
12543 Author: Simon Feltman <s.feltman@gmail.com>
12544 Date: Mon Oct 8 05:54:30 2012 -0700
12546 Fix leak with python callables as closure argument.
12548 The fix adds an extra args_data list to the PyGIInvokeState
12549 structure. This list is used to track dynamically generated
12550 closures that wrap python callables. This allows the ffi closure
12551 and python callable to be freed when call scope has finished.
12553 https://bugzilla.gnome.org/show_bug.cgi?id=685598
12555 gi/pygi-cache.c | 1 +
12556 gi/pygi-closure.c | 41 +++++++++----
12557 gi/pygi-invoke-state-struct.h | 4 ++
12558 gi/pygi-invoke.c | 7 +++
12559 gi/pygi-marshal-cleanup.c | 14 +++++
12560 gi/pygi-marshal-cleanup.h | 4 ++
12561 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
12562 tests/test_everything.py | 137
12563 +++++++++++++++++++++++++++++++-----------
12564 8 files changed, 206 insertions(+), 59 deletions(-)
12566 commit c0bc69906df2db64560f7c054277ad1956aab57f
12567 Author: Martin Pitt <martinpitt@gnome.org>
12568 Date: Thu Oct 11 17:49:30 2012 +0200
12570 Gio overrides: Handle setting GSettings enum keys
12572 https://bugzilla.gnome.org/show_bug.cgi?id=685947
12574 gi/overrides/Gio.py | 9 ++++++++-
12575 tests/test_overrides_gio.py | 3 +++
12576 2 files changed, 11 insertions(+), 1 deletion(-)
12578 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
12579 Author: Martin Pitt <martinpitt@gnome.org>
12580 Date: Thu Oct 11 17:20:38 2012 +0200
12582 tests: Check reading GSettings enums in Gio overrides
12584 Also split test_override() into several smaller test cases.
12586 tests/org.gnome.test.gschema.xml | 9 +++++++++
12587 tests/test_overrides_gio.py | 14 +++++++++-----
12588 2 files changed, 18 insertions(+), 5 deletions(-)
12590 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
12591 Author: Martin Pitt <martinpitt@gnome.org>
12592 Date: Thu Oct 11 16:08:11 2012 +0200
12594 Fix unsigned values in GArray/GList/GSList/GHash
12596 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
12598 https://bugzilla.gnome.org/show_bug.cgi?id=685860
12600 gi/pygi-argument.c | 9 +++++++++
12601 tests/test_gi.py | 12 ++++++++++++
12602 2 files changed, 21 insertions(+)
12604 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
12605 Author: Colin Walters <walters@verbum.org>
12606 Date: Thu Oct 4 20:13:55 2012 -0400
12608 build: Fix srcdir != builddir
12611 1 file changed, 1 insertion(+), 1 deletion(-)
12613 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
12614 Author: Alban Browaeys <prahal@yahoo.com>
12615 Date: Thu Sep 27 22:44:22 2012 +0200
12617 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
12619 Casting an unsigned to signed and checking if positive was not
12621 unsigned 64 is below G_MAXUINT64 instead.
12623 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
12625 gi/pygi-marshal-from-py.c | 4 ++--
12626 1 file changed, 2 insertions(+), 2 deletions(-)
12628 commit f0870336b9fc7797895f206e0d3ef17a19efe253
12629 Author: Johan Dahlin <johan@gnome.org>
12630 Date: Tue Oct 2 05:30:16 2012 -0700
12632 Install an .egg-info file
12634 This will help easy_install and pip to figure out that PyGObject
12635 is already installed.
12637 https://bugzilla.gnome.org/show_bug.cgi?id=680138
12639 Makefile.am | 13 ++++++++-----
12640 1 file changed, 8 insertions(+), 5 deletions(-)
12642 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
12643 Author: Johan Dahlin <johan@gnome.org>
12644 Date: Thu Oct 4 09:42:41 2012 +0200
12646 PyGProps_getattro(): Fix GObjectClass leak
12648 https://bugzilla.gnome.org/show_bug.cgi?id=685218
12650 gi/_gobject/pygobject.c | 4 +++-
12651 1 file changed, 3 insertions(+), 1 deletion(-)
12653 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
12654 Author: Olivier Crête <olivier.crete@collabora.com>
12655 Date: Mon Sep 17 15:16:32 2012 -0400
12657 pygobject.c: Don't leak GObjectClass reference
12659 https://bugzilla.gnome.org/show_bug.cgi?id=684062
12661 gi/_gobject/pygobject.c | 6 +++++-
12662 1 file changed, 5 insertions(+), 1 deletion(-)
12664 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
12665 Author: Alban Browaeys <prahal@yahoo.com>
12666 Date: Sat Sep 29 01:17:14 2012 +0200
12668 Fix memory leak in _pygi_argument_to_array()
12670 Length arg and type info need to be unref'ed.
12672 https://bugzilla.gnome.org/show_bug.cgi?id=685082
12674 gi/pygi-argument.c | 3 +++
12675 1 file changed, 3 insertions(+)
12677 commit 34270a109d2af20391c80e88874ee7303eaf5c09
12678 Author: Martin Pitt <martinpitt@gnome.org>
12679 Date: Fri Sep 28 07:42:51 2012 +0200
12681 Fix error messages for out of range numbers
12683 PyErr_Format() does not understand %lli and %li, it needs to be %lld
12685 So we cannot use those and G_GINT64_FORMAT.
12687 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
12689 is a gint64 which can't possibly overflow its own data type. It
12691 an unprintable error message.
12693 https://bugzilla.gnome.org/show_bug.cgi?id=684314
12695 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
12696 1 file changed, 8 insertions(+), 13 deletions(-)
12698 commit 7f1422bf929976722edd6144beb0b4c96d74391b
12699 Author: Martin Pitt <martinpitt@gnome.org>
12700 Date: Fri Sep 28 06:59:38 2012 +0200
12702 Kill dbus-daemon after running tests
12704 dbus-launch does not kill the spawned dbus-daemon by itself (see
12705 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
12707 our tests. Take care to preserve the exit code.
12709 https://bugzilla.gnome.org/show_bug.cgi?id=685009
12711 tests/Makefile.am | 5 ++++-
12712 1 file changed, 4 insertions(+), 1 deletion(-)
12714 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
12715 Author: Martin Pitt <martinpitt@gnome.org>
12716 Date: Thu Sep 27 08:18:34 2012 +0200
12718 GVariant overrides: Support empty tuple arrays
12720 Implement the "empty value" branch in _create_tuple(), so that
12722 can call it for parsing the element type for an empty array.
12724 This fixes creating variants such as GLib.Variant('a(ii)', []).
12726 https://bugzilla.gnome.org/show_bug.cgi?id=684928
12728 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
12729 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
12730 2 files changed, 54 insertions(+), 7 deletions(-)
12732 commit 75d452ea5b179c3585adcf95356b4316c9180768
12733 Author: Martin Pitt <martinpitt@gnome.org>
12734 Date: Thu Sep 27 06:50:12 2012 +0200
12736 TestGVariant: Split creation test case into several smaller ones
12738 tests/test_overrides_glib.py | 20 ++++++--------------
12739 1 file changed, 6 insertions(+), 14 deletions(-)
12741 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
12742 Author: Martin Pitt <martinpitt@gnome.org>
12743 Date: Tue Sep 25 09:10:10 2012 +0200
12745 Fix unused variables and results
12747 This gets rid of all warnings except the deprecated symbol ones.
12749 gi/_glib/pygiochannel.c | 9 +++------
12750 gi/pygi-argument.c | 4 +---
12751 gi/pygi-callbacks.c | 4 ----
12752 gi/pygi-ccallback.c | 1 -
12753 gi/pygi-repository.c | 3 +--
12754 5 files changed, 5 insertions(+), 16 deletions(-)
12756 commit 5285f14fee93d2729d4422c40a945adc2be69c14
12757 Author: Martin Pitt <martinpitt@gnome.org>
12758 Date: Tue Sep 25 08:56:20 2012 +0200
12760 tests: Fix wrong return type in test_int64_callback()
12762 https://bugzilla.gnome.org/show_bug.cgi?id=684700
12764 tests/testhelpermodule.c | 2 +-
12765 1 file changed, 1 insertion(+), 1 deletion(-)
12767 commit e14ebab6099d082466ec11ca21d44de0d6017216
12768 Author: Giovanni Campagna <gcampagna@src.gnome.org>
12769 Date: Wed Sep 19 00:10:57 2012 +0200
12771 Fix GValue marshalling of long and unsigned long
12773 long can be equivalent to int64 or int32, depending on the
12775 and GI conflates this distinction in the typelib, but GType does
12777 warns if the wrong accessor is used.
12779 https://bugzilla.gnome.org/show_bug.cgi?id=684331
12781 gi/pygi-argument.c | 25 +++++++++++++++++++++----
12782 1 file changed, 21 insertions(+), 4 deletions(-)
12784 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
12785 Author: Simon Feltman <s.feltman@gmail.com>
12786 Date: Wed Sep 19 19:07:00 2012 -0700
12788 Clean up deprecation message for assigning gpointers to objects.
12790 The previous deprecation message was worded as if the deprecation
12791 had already occurred and it has not.
12793 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12795 gi/pygi-info.c | 4 ++--
12796 1 file changed, 2 insertions(+), 2 deletions(-)
12798 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
12799 Author: Olivier Crête <olivier.crete@collabora.com>
12800 Date: Tue Sep 18 08:52:02 2012 +0200
12802 pygi-property: Lookup property in base classes of non-introspected
12805 Look for introspection data in the base classes of non-introspected
12807 This is necessary to look up introspection data for plugins.
12809 https://bugzilla.gnome.org/show_bug.cgi?id=684058
12811 gi/pygi-property.c | 28 ++++++++++++++--------------
12812 tests/test_everything.py | 12 ++++++++++++
12813 2 files changed, 26 insertions(+), 14 deletions(-)
12815 commit 7aa94cc861082147b9c382b930f3257f0a842c84
12816 Author: Martin Pitt <martinpitt@gnome.org>
12817 Date: Mon Sep 24 09:41:10 2012 +0200
12819 post-release bump to 3.4.1
12821 configure.ac | 2 +-
12822 1 file changed, 1 insertion(+), 1 deletion(-)
12824 commit fcceed3adb8d78baba68861a1408627321b2c1ef
12825 Author: Martin Pitt <martinpitt@gnome.org>
12826 Date: Mon Sep 24 09:35:33 2012 +0200
12831 configure.ac | 4 ++--
12832 2 files changed, 5 insertions(+), 2 deletions(-)
12834 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
12835 Author: Martin Pitt <martinpitt@gnome.org>
12836 Date: Mon Sep 24 09:27:47 2012 +0200
12838 Bump g-i dependency to 1.33.14
12840 To ensure we have all the Regress test APIs that we use.
12842 configure.ac | 2 +-
12843 1 file changed, 1 insertion(+), 1 deletion(-)
12845 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
12846 Author: Martin Pitt <martinpitt@gnome.org>
12847 Date: Mon Sep 17 22:52:49 2012 +0200
12849 post-release bump to 3.3.93
12851 configure.ac | 2 +-
12852 1 file changed, 1 insertion(+), 1 deletion(-)
12854 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
12855 Author: Martin Pitt <martinpitt@gnome.org>
12856 Date: Mon Sep 17 22:48:13 2012 +0200
12860 NEWS | 12 ++++++++++++
12861 1 file changed, 12 insertions(+)
12863 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
12864 Author: Martin Pitt <martinpitt@gnome.org>
12865 Date: Mon Sep 17 22:32:55 2012 +0200
12867 release-news: Generate HTML changelog
12869 In addition to producing a NEWS paragraph from the changelog,
12871 changelog HTML which can be put into blog announcements.
12873 Update HACKING to point this out, too.
12876 Makefile.am | 22 ++++++++++++++++------
12877 2 files changed, 17 insertions(+), 7 deletions(-)
12879 commit be4a0682bdd189ee908ab1961001f759a80e133c
12880 Author: Simon Feltman <s.feltman@gmail.com>
12881 Date: Sun Sep 16 17:27:25 2012 -0700
12883 [API add] Add ObjectInfo.get_abstract method
12885 Adds exposure of g_object_info_get_abstract to python for
12886 helping with analysis of non-constructable objects from
12889 https://bugzilla.gnome.org/show_bug.cgi?id=675581
12891 gi/pygi-info.c | 8 ++++++++
12892 tests/test_gi.py | 12 ++++++++++++
12893 2 files changed, 20 insertions(+)
12895 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
12896 Author: Simon Feltman <s.feltman@gmail.com>
12897 Date: Thu Sep 13 20:53:22 2012 -0700
12899 Add deprecation warning when setting gpointers to anything other
12902 This is a first pass which does not change anything except add
12904 when anything other than an int is set on a gpointer on a boxed type.
12906 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12908 gi/pygi-info.c | 8 ++++++++
12909 1 file changed, 8 insertions(+)
12911 commit a047f61f26d9c78b82d22948199313e5a389e918
12912 Author: Martin Pitt <martinpitt@gnome.org>
12913 Date: Mon Sep 17 09:41:24 2012 +0200
12915 test_properties: Test accessing a property from a superclass
12917 We already cover accessing the superclass' property if that was
12919 Python. Add a corresponding test case for a property defined in C.
12921 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
12923 tests/test_properties.py | 12 ++++++++++++
12924 1 file changed, 12 insertions(+)
12926 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
12927 Author: Martin Pitt <martinpitt@gnome.org>
12928 Date: Mon Sep 17 09:31:05 2012 +0200
12930 test_properties.py: Consistent test names
12932 Use underscore style method/test case names consistently. Also rename
12934 cases to better describe what they do.
12936 tests/test_properties.py | 78
12937 ++++++++++++++++++++++++------------------------
12938 1 file changed, 39 insertions(+), 39 deletions(-)
12940 commit 4069c3d8547f35437e0cee175a5912febe25326d
12941 Author: Martin Pitt <martinpitt@gnome.org>
12942 Date: Wed Sep 12 06:51:24 2012 +0200
12944 test_everything: Ensure TestSignals callback does get called
12946 tests/test_everything.py | 3 +++
12947 1 file changed, 3 insertions(+)
12949 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
12950 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
12951 Date: Fri Sep 7 17:17:09 2012 -0400
12953 argument: Fix 64bit integer convertion from GValue
12955 Trying to get a 64bit integer using the wrong getter was resulting
12957 assertion and 0 being returned.
12959 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12961 https://bugzilla.gnome.org/show_bug.cgi?id=683596
12963 gi/pygi-argument.c | 8 ++++++--
12964 tests/test_everything.py | 52
12965 ++++++++++++++++++++++++++++++++++++++++++++++++
12966 2 files changed, 58 insertions(+), 2 deletions(-)
12968 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
12969 Author: Martin Pitt <martinpitt@gnome.org>
12970 Date: Tue Sep 11 12:32:10 2012 +0200
12972 Add Simon Feltman as a project maintainer
12974 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
12975 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
12977 pygobject.doap | 7 +++++++
12978 1 file changed, 7 insertions(+)
12980 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
12981 Author: Martin Pitt <martinpitt@gnome.org>
12982 Date: Tue Sep 11 10:17:50 2012 +0200
12984 test_signals.py: Drop global type variables
12986 Just use the real types and flags from GObject instead of redefining
12988 for them. They weren't used consistently, make the tests harder to
12990 really do not want global single-letter variables like "f" and "l".
12992 tests/test_signal.py | 38 ++++++++++++++++----------------------
12993 1 file changed, 16 insertions(+), 22 deletions(-)
12995 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
12996 Author: Martin Pitt <martinpitt@gnome.org>
12997 Date: Tue Sep 11 10:11:58 2012 +0200
12999 test_signals.py: Consistent test names
13001 Use underscore style method/test case names consistently.
13003 tests/test_signal.py | 88
13004 ++++++++++++++++++++++++++--------------------------
13005 1 file changed, 44 insertions(+), 44 deletions(-)
13007 commit 4559247553b792db956f69c9674c12344d719c82
13008 Author: Martin Pitt <martinpitt@gnome.org>
13009 Date: Tue Sep 11 09:43:14 2012 +0200
13011 Add test cases for GValue signal arguments
13013 These cover various types, (u)int(64) and string.
13015 Keep the test case for implicit int64 GValues disabled, as this
13017 not work and it is not clear whether it should:
13018 https://bugzilla.gnome.org/show_bug.cgi?id=683775
13020 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
13021 tests/testhelpermodule.c | 17 +++++++++++++++++
13022 2 files changed, 58 insertions(+)
13024 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
13025 Author: Martin Pitt <martinpitt@gnome.org>
13026 Date: Tue Sep 11 09:31:18 2012 +0200
13028 Add test for GValue signal return values
13030 Another attempt to reproduce the reported error in
13031 https://bugzilla.gnome.org/show_bug.cgi?id=683596
13032 but this works already.
13034 tests/test_signal.py | 13 +++++++++++++
13035 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
13036 2 files changed, 49 insertions(+)
13038 commit 4f77c7798563ea436ff5b6306a987f03de50b211
13039 Author: Simon Feltman <s.feltman@gmail.com>
13040 Date: Fri Sep 7 02:32:15 2012 -0700
13042 Improve setting pointer fields/arguments to NULL using None
13044 Setting gi pointers will set them to the address of the python object.
13045 This is good except in the case of None which should be used to NULL
13046 the pointer out as a special case.
13048 Commit 21b1d17d2a already fixed this. This improved patch
13049 does that in a cleaner and safer way and adds more comments.
13051 https://bugzilla.gnome.org/show_bug.cgi?id=683150
13053 gi/pygi-argument.c | 8 +-------
13054 gi/pygi-info.c | 14 +++++++++++++-
13055 2 files changed, 14 insertions(+), 8 deletions(-)
13057 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
13058 Author: Martin Pitt <martinpitt@gnome.org>
13059 Date: Mon Sep 10 16:46:30 2012 +0200
13061 Test gint64 C signal arguments and return values
13063 tests/test_signal.py | 12 ++++++++++++
13064 tests/testhelpermodule.c | 14 ++++++++++++++
13065 2 files changed, 26 insertions(+)
13067 commit 822d9e07a95f706a40f64335765293542787da90
13068 Author: Martin Pitt <martinpitt@gnome.org>
13069 Date: Mon Sep 10 16:29:32 2012 +0200
13071 Test in/out int64 GValue method arguments.
13073 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
13075 tests/test_gi.py | 9 +++++++++
13076 1 file changed, 9 insertions(+)
13078 commit 2d83e52233812618493af4b165615e8741ba41c8
13079 Author: Martin Pitt <martinpitt@gnome.org>
13080 Date: Wed Sep 5 08:54:53 2012 +0200
13082 Bump g-i dependency to 1.33.10
13084 To ensure we have all the Regress test APIs that we use.
13086 configure.ac | 2 +-
13087 1 file changed, 1 insertion(+), 1 deletion(-)
13089 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
13090 Author: Thibault Saunier <thibault.saunier@collabora.com>
13091 Date: Wed Aug 8 12:57:41 2012 -0400
13093 Fix -uninstalled.pc.in file
13095 https://bugzilla.gnome.org/show_bug.cgi?id=683379
13097 pygobject-3.0-uninstalled.pc.in | 6 +++---
13098 1 file changed, 3 insertions(+), 3 deletions(-)
13100 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
13101 Author: Martin Pitt <martinpitt@gnome.org>
13102 Date: Mon Sep 3 22:16:47 2012 +0200
13104 post-release bump to 3.3.92
13106 configure.ac | 2 +-
13107 1 file changed, 1 insertion(+), 1 deletion(-)
13109 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
13110 Author: Martin Pitt <martinpitt@gnome.org>
13111 Date: Mon Sep 3 22:04:01 2012 +0200
13115 NEWS | 32 ++++++++++++++++++++++++++++++++
13116 1 file changed, 32 insertions(+)
13118 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
13119 Author: Martin Pitt <martinpitt@gnome.org>
13120 Date: Mon Sep 3 21:57:00 2012 +0200
13122 Fix exception test case for Python 2
13124 Regression from commit 77844c5 which did not work with Python 2.
13126 tests/test_everything.py | 12 +++++++-----
13127 1 file changed, 7 insertions(+), 5 deletions(-)
13129 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
13130 Author: Martin Pitt <martinpitt@gnome.org>
13131 Date: Mon Sep 3 21:16:01 2012 +0200
13133 Bump g-i dependency
13135 Require at least 1.33.9, as we got a couple of bug fixes there which
13137 and for some cases the code, depend on. We actually require 1.33.10
13139 tests to succeed, but that hasn't been released yet.
13141 configure.ac | 2 +-
13142 1 file changed, 1 insertion(+), 1 deletion(-)
13144 commit 77844c571ad0badc189428b93de9f2572051b67e
13145 Author: Martin Pitt <martinpitt@gnome.org>
13146 Date: Mon Sep 3 17:58:38 2012 +0200
13148 Show proper exception when trying to allocate a disguised struct
13150 Instead of a simple "MemoryError" with no details, raise a proper
13151 TypeError with a traceback and an explanation what happened.
13153 https://bugzilla.gnome.org/show_bug.cgi?id=639972
13155 gi/pygi-struct.c | 7 +++++++
13156 tests/test_everything.py | 13 +++++++++++++
13157 2 files changed, 20 insertions(+)
13159 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
13160 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
13161 Date: Mon Sep 3 16:47:22 2012 +0200
13163 Support marshalling GParamSpec signal arguments
13165 Fix marshalling GParamSpec arguments from C to Python.
13167 https://bugzilla.gnome.org/show_bug.cgi?id=683099
13169 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13171 gi/pygi-argument.c | 10 +++++++++-
13172 tests/test_signal.py | 14 ++++++++++++++
13173 2 files changed, 23 insertions(+), 1 deletion(-)
13175 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
13176 Author: Martin Pitt <martinpitt@gnome.org>
13177 Date: Mon Sep 3 16:06:49 2012 +0200
13179 Add test for a signal that returns a GParamSpec
13181 https://bugzilla.gnome.org/show_bug.cgi?id=683265
13183 tests/test_signal.py | 6 ++++++
13184 tests/testhelpermodule.c | 12 ++++++++++++
13185 2 files changed, 18 insertions(+)
13187 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
13188 Author: Simon Feltman <s.feltman@gmail.com>
13189 Date: Tue Mar 20 04:33:50 2012 -0700
13191 [API add] Add Signal class for adding and connecting custom signals.
13193 The Signal class provides easy creation of signals and removes the
13194 need for __gsignals__ in client code. The Signal class can also be
13195 used as a decorator for wrapping up the custom closure. As well as
13196 providing a "BoundSignal" when accessed on an instance for making
13197 connections without specifying a signal name string.
13198 Python3 annotations can also be used to supply closure argument and
13199 return types when Signal is used as a decorator. For example:
13201 class Eggs(GObject.GObject):
13203 def spam(self, count:int):
13206 https://bugzilla.gnome.org/show_bug.cgi?id=434924
13208 examples/signal.py | 34 ++++--
13209 gi/_gobject/Makefile.am | 3 +-
13210 gi/_gobject/__init__.py | 5 +
13211 gi/_gobject/signalhelper.py | 251
13212 ++++++++++++++++++++++++++++++++++++++++++++
13213 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
13214 5 files changed, 482 insertions(+), 19 deletions(-)
13216 commit 96fa22369fd188465559fc904c7f76e73040e6dd
13217 Author: Martin Pitt <martinpitt@gnome.org>
13218 Date: Mon Sep 3 15:32:12 2012 +0200
13220 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
13222 We have a proper implementation for insert_column_with_attributes()
13224 drop pygtkcompat's empty stub for it.
13226 Also improve test case for
13227 Gtk.TreeView.insert_column_with_attributes().
13229 gi/pygtkcompat.py | 6 ------
13230 tests/test_overrides_gtk.py | 16 ++++++++--------
13231 2 files changed, 8 insertions(+), 14 deletions(-)
13233 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
13234 Author: Marta Maria Casetti <mmcasetti@gmail.com>
13235 Date: Mon Sep 3 13:06:22 2012 +0200
13237 Add override for Gtk.TreeView.insert_column_with_attributes()
13239 https://bugzilla.gnome.org/show_bug.cgi?id=679415
13241 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13243 gi/overrides/Gtk.py | 7 +++++++
13244 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
13245 2 files changed, 45 insertions(+)
13247 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
13248 Author: Martin Pitt <martinpitt@gnome.org>
13249 Date: Mon Sep 3 11:09:55 2012 +0200
13251 .gitignore: Add missing built files
13253 .gitignore | 9 +++++++--
13254 1 file changed, 7 insertions(+), 2 deletions(-)
13256 commit 96431f393036a688666dcf67911bf12b9824b264
13257 Author: Martin Pitt <martinpitt@gnome.org>
13258 Date: Mon Sep 3 11:07:32 2012 +0200
13260 Ship tests/gi in tarball
13262 Spotted by distcheck.
13264 tests/Makefile.am | 6 +++++-
13265 1 file changed, 5 insertions(+), 1 deletion(-)
13267 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
13268 Author: Martin Pitt <martinpitt@gnome.org>
13269 Date: Mon Sep 3 10:18:45 2012 +0200
13271 Fix separate build tree and distcheck
13273 Fix regression from c7c95a79: We must set sys.path in runtests.py
13275 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
13277 prepends the directory of the source file to sys.path, but that
13279 source dir, not the build dir. The build dir has to take precedence,
13281 we fail to import the built libraries.
13283 tests/runtests-windows.py | 10 +++++++---
13284 tests/runtests.py | 13 ++++++++-----
13285 2 files changed, 15 insertions(+), 8 deletions(-)
13287 commit 2d8f48f4ff56bb75985136452b50b75895258608
13288 Author: Martin Pitt <martinpitt@gnome.org>
13289 Date: Mon Sep 3 07:57:01 2012 +0200
13291 Split test_overrides.py
13293 Split the huge test_overrides.py into separate files for gdk, gtk,
13295 and pango. Further split the monolithic classes for Gtk and Gio
13299 https://bugzilla.gnome.org/show_bug.cgi?id=683188
13301 tests/Makefile.am | 5 +
13302 tests/test_overrides.py | 2198
13303 +----------------------------------------
13304 tests/test_overrides_gdk.py | 119 +++
13305 tests/test_overrides_gio.py | 114 +++
13306 tests/test_overrides_glib.py | 445 +++++++++
13307 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
13308 tests/test_overrides_pango.py | 32 +
13309 7 files changed, 2234 insertions(+), 2196 deletions(-)
13311 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
13312 Author: Martin Pitt <martinpitt@gnome.org>
13313 Date: Mon Sep 3 07:17:57 2012 +0200
13315 _pygi_argument_to_object(): Clean up array unmarshalling
13317 The NULL case is already handled at the top, so it does not need to be
13320 Emit a critical if we fail to allocate a Python array of the
13323 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
13324 1 file changed, 16 insertions(+), 31 deletions(-)
13326 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
13327 Author: Alban Browaeys <prahal@yahoo.com>
13328 Date: Wed Aug 29 21:24:17 2012 +0200
13330 Fix memory leak in _pygi_argument_to_object()
13332 Avoid leaking the item_type_info when breaking out of the
13333 switch in _pygi_argument_to_object() for unmarshalling arrays.
13335 https://bugzilla.gnome.org/show_bug.cgi?id=682979
13337 gi/pygi-argument.c | 4 ++++
13338 1 file changed, 4 insertions(+)
13340 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
13341 Author: Simon Feltman <s.feltman@gmail.com>
13342 Date: Sat Sep 1 03:40:31 2012 -0700
13344 Fix setting pointer fields/arguments to NULL using None.
13346 Setting gi pointers will set them to the address of the python object.
13347 This is good except in the case of None which should be used to NULL
13348 the pointer out as a special case.
13350 https://bugzilla.gnome.org/show_bug.cgi?id=683150
13352 gi/pygi-argument.c | 8 +++++++-
13353 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
13354 2 files changed, 48 insertions(+), 1 deletion(-)
13356 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
13357 Author: Martin Pitt <martinpitt@gnome.org>
13358 Date: Thu Aug 23 06:44:27 2012 +0200
13360 Fix for python 2.6, drop support for < 2.6
13362 Replace sys.version_info.major access to tuple access which also
13366 When building for Python 2.6, inject some missing unittest API such as
13367 @unittest.skipUnless and assertGreaterEqual() into the unittest
13369 runtests.py, so that the tests have a chance to run.
13371 As building with Python 2.5 has been broken for a long time with
13373 complaining, and 2.5 is ancient, bump minimum Python requirement to
13375 obsolete #ifdef paths which only apply to <= 2.5.
13377 https://bugzilla.gnome.org/show_bug.cgi?id=682422
13379 configure.ac | 2 +-
13380 gi/_glib/pyglib-python-compat.h | 8 --------
13381 gi/_gobject/gobjectmodule.c | 8 --------
13382 gi/module.py | 2 +-
13383 tests/runtests.py | 27 +++++++++++++++++++++++++++
13384 tests/test_gi.py | 2 +-
13385 6 files changed, 30 insertions(+), 19 deletions(-)
13387 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
13388 Author: Thibault Saunier <thibault.saunier@collabora.com>
13389 Date: Tue Aug 21 07:54:09 2012 +0200
13391 Allow overrides in other directories than gi itself
13393 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
13394 libraries can install overrides in a path that is different from
13396 pygobject installs itself into. These overrides need to put this
13398 __init__.py at the top:
13400 from pkgutil import extend_path
13401 __path__ = extend_path(__path__, __name__)
13403 and put themselves somewhere into the default PYTHONPATH.
13405 https://bugzilla.gnome.org/show_bug.cgi?id=680913
13407 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13408 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
13410 gi/__init__.py | 4 ++++
13411 gi/overrides/__init__.py | 4 ++++
13412 tests/gi/__init__.py | 2 ++
13413 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
13414 tests/gi/overrides/__init__.py | 2 ++
13415 tests/test_overrides.py | 6 ++++++
13416 6 files changed, 44 insertions(+)
13418 commit c7c95a795eee499373499ea5b771447746317bfb
13419 Author: Simon Feltman <s.feltman@gmail.com>
13420 Date: Thu Aug 23 06:03:09 2012 +0200
13422 Clean up sys.path handling in tests
13424 Only set sys.path once in runtests.py, not in the individual test
13426 reduces hidden dependencies between tests by building up a run
13428 search path, and also makes it easier in the future to run the
13430 the installed system libraries.
13432 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
13434 tests/runtests-windows.py | 6 +++++-
13435 tests/runtests.py | 3 +++
13436 tests/test_everything.py | 1 -
13437 tests/test_gdbus.py | 3 ---
13438 tests/test_overrides.py | 3 ---
13439 tests/test_pygtkcompat.py | 3 ---
13440 6 files changed, 8 insertions(+), 11 deletions(-)
13442 commit 3e3525e93d852cde0f63e835b774a9b004773c69
13443 Author: Simon Feltman <s.feltman@gmail.com>
13444 Date: Sun Aug 19 02:30:39 2012 -0700
13446 Fix dynamic creation of enum and flag gi types for Python 3.3
13448 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
13449 subclasses due to what looks to be an unsupported technique. Change
13450 tp_new() method for classes dynamically derived from PyGEnum_Type and
13451 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
13453 __new__() as a python method. This technique seems to work with all
13454 versions of python so the previous python version checking also became
13457 https://bugzilla.gnome.org/show_bug.cgi?id=682323
13459 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
13460 gi/_gobject/pygflags.c | 21 +++++++++------------
13461 2 files changed, 25 insertions(+), 25 deletions(-)
13463 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
13464 Author: Paolo Borelli <pborelli@gnome.org>
13465 Date: Wed Aug 22 10:45:39 2012 +0200
13467 [API add] Override g_menu_item_set_attribute
13469 This C utility API take a vararg, add a corresponding override that
13470 takes a list of tuples
13472 https://bugzilla.gnome.org/show_bug.cgi?id=682436
13474 gi/overrides/Gio.py | 10 ++++++++++
13475 tests/test_overrides.py | 11 +++++++++++
13476 2 files changed, 21 insertions(+)
13478 commit 836902801373e386d370c44e7487aac3432f19f6
13479 Author: Martin Pitt <martinpitt@gnome.org>
13480 Date: Mon Aug 20 23:37:40 2012 +0200
13482 post-release bump to 3.3.91
13484 configure.ac | 2 +-
13485 1 file changed, 1 insertion(+), 1 deletion(-)
13487 commit 6a629e23ff7b0d6f532184017577c7427d577e28
13488 Author: Martin Pitt <martinpitt@gnome.org>
13489 Date: Mon Aug 20 23:05:49 2012 +0200
13493 NEWS | 13 +++++++++++++
13494 configure.ac | 2 +-
13495 2 files changed, 14 insertions(+), 1 deletion(-)
13497 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
13498 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
13499 Date: Mon Aug 20 22:54:52 2012 +0200
13501 Implement marshalling for GParamSpec
13503 https://bugzilla.gnome.org/show_bug.cgi?id=681565
13505 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13507 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
13508 tests/test_gi.py | 14 ++++++++++++++
13509 2 files changed, 26 insertions(+), 4 deletions(-)
13511 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
13512 Author: Martin Pitt <martinpitt@gnome.org>
13513 Date: Mon Aug 20 15:24:10 2012 +0200
13515 Fix pep8/pyflakes invocation
13517 Fix regression from commit 1e056e4f4a: Do fail the tests if
13521 tests/Makefile.am | 4 ++--
13522 1 file changed, 2 insertions(+), 2 deletions(-)
13524 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
13525 Author: Simon Feltman <s.feltman@gmail.com>
13526 Date: Thu Aug 16 16:05:52 2012 -0700
13528 Fix erronous import statements for Python 3.3
13530 Update pygobject-external.h to use GType (which is what GTypeWrapper
13532 exposed as) instead of GTypeWrapper when attempting import.
13534 Catch ImportError around attempted imports of a typelibs override file
13535 which don't always exist (GObject...). This is a behavioural change in
13536 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
13539 https://bugzilla.gnome.org/show_bug.cgi?id=682051
13541 gi/module.py | 7 +++++--
13542 gi/pygobject-external.h | 2 +-
13543 2 files changed, 6 insertions(+), 3 deletions(-)
13545 commit 1e056e4f4a19fd1139187467677c2592c2722290
13546 Author: Martin Pitt <martinpitt@gnome.org>
13547 Date: Mon Aug 20 11:52:08 2012 +0200
13549 Do not fail tests if pyflakes or pep8 are not installed
13551 These tools might not be desirable in restricted build environments or
13552 backports, and e. g. Fedora patches those out. So let the tests
13556 tests/Makefile.am | 4 ++--
13557 1 file changed, 2 insertions(+), 2 deletions(-)
13559 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
13560 Author: Martin Pitt <martinpitt@gnome.org>
13561 Date: Mon Aug 20 11:42:47 2012 +0200
13563 gtk-demo: Fix some PEP-8 whitespace issues
13565 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
13566 demos/gtk-demo/demos/dialogs.py | 2 +-
13567 demos/gtk-demo/demos/rotatedtext.py | 3 +--
13568 3 files changed, 3 insertions(+), 5 deletions(-)
13570 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
13571 Author: Martin Pitt <martinpitt@gnome.org>
13572 Date: Mon Aug 20 11:38:50 2012 +0200
13574 test_overrides.py: Fix PEP8 whitespacing
13576 tests/test_overrides.py | 48
13577 +++++++++++++++++++++++++-----------------------
13578 1 file changed, 25 insertions(+), 23 deletions(-)
13580 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
13581 Author: Martin Pitt <martinpitt@gnome.org>
13582 Date: Mon Aug 20 11:36:19 2012 +0200
13584 Ignore E124 pep8 error
13586 This is "closing bracket does not match visual indentation" which
13588 stupid. We do want the closing bracket at the same indentation level
13590 opening bracket, not the indentation level of the whole statement.
13592 tests/Makefile.am | 2 +-
13593 1 file changed, 1 insertion(+), 1 deletion(-)
13595 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
13596 Author: David Malcolm <dmalcolm@redhat.com>
13597 Date: Mon Aug 20 11:27:52 2012 +0200
13599 Fix unmarshalling of gssize
13601 Do not assume that the v_int union member always corresponds to a
13603 is not true on big-endian 64 bit machines like ppc64, so add a new
13604 gi_argument_to_gssize() and use it properly.
13606 https://bugzilla.gnome.org/show_bug.cgi?id=680693
13607 https://bugzilla.redhat.com/show_bug.cgi?id=842880
13609 gi/pygi-argument.c | 53
13610 +++++++++++++++++++++++++++++++++++++++++++++---
13611 gi/pygi-argument.h | 1 +
13612 gi/pygi-closure.c | 2 +-
13613 gi/pygi-info.c | 4 ++--
13614 gi/pygi-signal-closure.c | 2 +-
13615 5 files changed, 55 insertions(+), 7 deletions(-)
13617 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
13618 Author: David Malcolm <dmalcolm@redhat.com>
13619 Date: Mon Aug 20 11:19:27 2012 +0200
13621 Fix various endianess errors
13623 Fix code which assumed little endian behaviour when mixing different
13625 ints, putting ints into pointers, etc.
13627 https://bugzilla.gnome.org/show_bug.cgi?id=680692
13628 https://bugzilla.redhat.com/show_bug.cgi?id=841596
13630 gi/pygi-argument.c | 64 +++++++++++++--
13631 gi/pygi-argument.h | 6 ++
13632 gi/pygi-cache.c | 2 +
13633 gi/pygi-closure.c | 57 ++++++++++++-
13634 gi/pygi-marshal-from-py.c | 203
13635 ++++++++++++++++++++++++++++++++++++----------
13636 gi/pygi-marshal-from-py.h | 3 +
13637 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
13638 7 files changed, 391 insertions(+), 81 deletions(-)
13640 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
13641 Author: Paolo Borelli <pborelli@gnome.org>
13642 Date: Wed Aug 15 13:16:11 2012 +0200
13644 Add unit test for the TreeModelSort override
13646 tests/test_overrides.py | 7 +++++++
13647 1 file changed, 7 insertions(+)
13649 commit 9f027daa5737107b5959964b699c0089aec8ab1e
13650 Author: Simon Feltman <s.feltman@gmail.com>
13651 Date: Thu Aug 9 03:33:06 2012 -0700
13653 Gtk overrides: Add TreeModelSort.__init__(self, model)
13655 This adds "model" as a required argument to TreeModelSort
13656 instead of it being a hidden keyword argument. This is needed
13657 because the model property is set to construct only and the
13658 default value of None/NULL makes the object useless anyhow.
13660 https://bugzilla.gnome.org/show_bug.cgi?id=681477
13662 gi/overrides/Gtk.py | 8 ++++++++
13663 1 file changed, 8 insertions(+)
13665 commit c8424c2bb19356679e250e73542682dd5f4c74a5
13666 Author: Manuel Quiñones <manuq@laptop.org>
13667 Date: Fri Aug 10 09:38:24 2012 -0300
13669 Convert Gtk.CellRendererState in the pygi-convert script
13671 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
13673 https://bugzilla.gnome.org/show_bug.cgi?id=681596
13675 pygi-convert.sh | 5 +++++
13676 1 file changed, 5 insertions(+)
13678 commit 54d829b34a0d32d852db370f61cc7f25c149f373
13679 Author: Paolo Borelli <pborelli@gnome.org>
13680 Date: Mon Aug 6 16:19:28 2012 +0200
13682 More updates to the HACKING file
13684 module-install has been replaced with 'ftpadmin install' and other
13688 HACKING | 26 ++++++++++----------------
13689 1 file changed, 10 insertions(+), 16 deletions(-)
13691 commit 0788880c6cf4070d3db09896c165fe470d2ec186
13692 Author: Paolo Borelli <pborelli@gnome.org>
13693 Date: Mon Aug 6 16:00:39 2012 +0200
13695 Post-release version bump to 3.3.6
13697 configure.ac | 2 +-
13698 1 file changed, 1 insertion(+), 1 deletion(-)
13700 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
13701 Author: Paolo Borelli <pborelli@gnome.org>
13702 Date: Mon Aug 6 15:52:22 2012 +0200
13706 NEWS | 29 +++++++++++++++++++++++++++++
13707 1 file changed, 29 insertions(+)
13709 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
13710 Author: Paolo Borelli <pborelli@gnome.org>
13711 Date: Mon Aug 6 15:44:32 2012 +0200
13713 Update HACKING file to mention "make release-news"
13715 HACKING | 7 +++----
13716 1 file changed, 3 insertions(+), 4 deletions(-)
13718 commit 587a0c33901383b891f8eb77351c17f06af20b4f
13719 Author: Paolo Borelli <pborelli@gnome.org>
13720 Date: Mon Aug 6 15:38:23 2012 +0200
13722 pygi-closure: remove unused variables
13724 These variables are assigned but never actually used
13726 gi/pygi-closure.c | 8 --------
13727 1 file changed, 8 deletions(-)
13729 commit dbc6df6aad7197fcf8721ade429baadd749f7069
13730 Author: Martin Pitt <martinpitt@gnome.org>
13731 Date: Fri Aug 3 07:13:55 2012 +0200
13733 tests: Do not break on Pango warnings
13735 In some restricted environments (like chroots) we sometimes get
13737 Pango when it cannot find an appropriate font. Do not make the tests
13741 tests/test_overrides.py | 4 ++++
13742 tests/test_pygtkcompat.py | 6 ++++++
13743 2 files changed, 10 insertions(+)
13745 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
13746 Author: Martin Pitt <martinpitt@gnome.org>
13747 Date: Fri Aug 3 06:45:48 2012 +0200
13749 Fix list marshalling on big-endian machines
13751 On big endian machines we cannot simply set e. g. GIArgument.v_int8
13753 GIArgument.v_pointer to be a correct representation. This needs to use
13754 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
13755 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
13757 to and from GList and GSList, and handle int8 and int16 as well.
13759 Part of porting pygobject to ppc64:
13760 https://bugzilla.redhat.com/show_bug.cgi?id=842880
13761 https://bugzilla.gnome.org/show_bug.cgi?id=680693
13763 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
13764 gi/pygi-marshal-to-py.c | 54
13765 +++++++++++++++++++++++++++--------------------
13766 2 files changed, 60 insertions(+), 42 deletions(-)
13768 commit b5cd13f47309ec26727b7574e33595a357602468
13769 Author: Colin Walters <walters@verbum.org>
13770 Date: Tue Jul 31 11:47:02 2012 -0400
13772 pygi-marshal: One more 32-bit -Werror=format fix
13774 gi/pygi-marshal-from-py.c | 6 +++---
13775 1 file changed, 3 insertions(+), 3 deletions(-)
13777 commit 526bf43691cb6ed908589312b1693a6389eba00c
13778 Author: Martin Pitt <martinpitt@gnome.org>
13779 Date: Tue Jul 31 17:14:37 2012 +0200
13781 Beautify class/interface type mismatch error messages
13783 Avoid saying "<unknown module>.int", just skip the module name
13784 completely if we do not have one.
13786 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
13787 1 file changed, 12 insertions(+), 8 deletions(-)
13789 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
13790 Author: Martin Pitt <martinpitt@gnome.org>
13791 Date: Tue Jul 31 13:13:21 2012 +0200
13793 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
13795 On initial jhbuild bootstrap or restricted environments, the Pango,
13797 and Gtk typelibs might not be available. Skip tests which need these
13799 failing the testsuite.
13801 tests/test_atoms.py | 7 ++++++-
13802 tests/test_everything.py | 9 ++++++++-
13803 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
13804 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
13805 4 files changed, 60 insertions(+), 18 deletions(-)
13807 commit a2e73c109f3ed6080eabc85810e624b9f984317e
13808 Author: Colin Walters <walters@verbum.org>
13809 Date: Tue Jul 31 09:02:24 2012 -0400
13811 pygi-argument: Fix -Wformat warning on 32 bit builds
13813 gi/pygi-argument.c | 4 ++--
13814 1 file changed, 2 insertions(+), 2 deletions(-)
13816 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
13817 Author: Martin Pitt <martinpitt@gnome.org>
13818 Date: Tue Jul 31 11:14:36 2012 +0200
13820 Fix tests for Python 2
13822 In Python 2 we get different error messages for a mismatching self
13824 check after commit 121b14028.
13826 tests/test_gi.py | 32 ++++++++++++++++++++------------
13827 1 file changed, 20 insertions(+), 12 deletions(-)
13829 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
13830 Author: Martin Pitt <martinpitt@gnome.org>
13831 Date: Tue Jul 31 10:30:22 2012 +0200
13833 Build with -Werror=format
13835 This catches format string problems on particular architectures like
13837 dea24f8e12 much more insistently.
13840 1 file changed, 1 insertion(+)
13842 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
13843 Author: Simon Feltman <s.feltman@gmail.com>
13844 Date: Mon Jul 30 02:00:16 2012 -0700
13846 [API add] pygtkcompat: Add more pixbuf creation functions
13848 Add the following functions:
13849 pixbuf_new_from_data
13850 pixbuf_new_from_file_at_scale
13851 pixbuf_new_from_file_at_size
13852 pixbuf_new_from_inline
13853 pixbuf_new_from_stream
13854 pixbuf_new_from_stream_at_scale
13855 pixbuf_new_from_xpm_data
13856 pixbuf_get_file_info
13858 https://bugzilla.gnome.org/show_bug.cgi?id=680814
13860 gi/pygtkcompat.py | 10 +++++++++-
13861 1 file changed, 9 insertions(+), 1 deletion(-)
13863 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
13864 Author: Colin Walters <walters@verbum.org>
13865 Date: Mon Jul 30 22:17:44 2012 -0400
13867 marshal: Fix a lot of format string warnings on 32 bit
13869 G_GUINT64_FORMAT and friends handle "%lld" portably.
13871 https://bugzilla.gnome.org/show_bug.cgi?id=680878
13873 gi/pygi-marshal-from-py.c | 18 +++++++++---------
13874 1 file changed, 9 insertions(+), 9 deletions(-)
13876 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
13877 Author: Colin Walters <walters@verbum.org>
13878 Date: Mon Jul 30 22:30:07 2012 -0400
13880 marshal: Fix build break on Python 2
13882 I *think* using this wrapper function instead is right.
13884 https://bugzilla.gnome.org/show_bug.cgi?id=680879
13886 gi/pygi-marshal-from-py.c | 8 ++++----
13887 1 file changed, 4 insertions(+), 4 deletions(-)
13889 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
13890 Author: Manuel Quiñones <manuq@laptop.org>
13891 Date: Mon Jul 30 12:53:36 2012 -0300
13893 Improve testcase for tree_view_column_set_attributes
13895 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
13897 https://bugzilla.gnome.org/show_bug.cgi?id=680320
13899 tests/test_overrides.py | 20 ++++++++++++++++++--
13900 1 file changed, 18 insertions(+), 2 deletions(-)
13902 commit 121b1402860407fe46f7501e42447bf3607872ec
13903 Author: Martin Pitt <martinpitt@gnome.org>
13904 Date: Tue Jul 31 00:37:55 2012 +0200
13906 Fix error messages on interface/class type mismatches
13908 Previously, when you called a function with an argument which was not
13909 compatible with the expected class/interface type, you got an
13913 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
13915 which had the wrong (and useless) class name for the actual type,
13917 tell you which argument caused the problem. With this it says e. g.
13919 TypeError: argument column: Expected Gtk.TreeViewColumn, but
13924 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
13925 tests/test_gi.py | 57
13926 ++++++++++++++++++++++++++++++++++++++++++++++-
13927 2 files changed, 88 insertions(+), 10 deletions(-)
13929 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
13930 Author: Simon Feltman <s.feltman@gmail.com>
13931 Date: Sun Jul 29 23:36:25 2012 -0700
13933 Fix crash when returning (False, None) from
13934 Gtk.TreeModel.do_get_iter()
13936 Add a Py_None check before attempting memcpy().
13938 https://bugzilla.gnome.org/show_bug.cgi?id=680812
13940 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13942 gi/pygi-closure.c | 10 +++++++---
13943 tests/test_overrides.py | 9 +++++++++
13944 2 files changed, 16 insertions(+), 3 deletions(-)
13946 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
13947 Author: Martin Pitt <martinpitt@gnome.org>
13948 Date: Mon Jul 30 11:58:24 2012 +0200
13950 Add test case for Gtk.TextIter.forward_search()
13952 https://bugzilla.gnome.org/show_bug.cgi?id=679415
13954 tests/test_overrides.py | 19 +++++++++++++++++++
13955 1 file changed, 19 insertions(+)
13957 commit aae4e77482c02e21154ab02b159f380f5f0f74be
13958 Author: Martin Pitt <martinpitt@gnome.org>
13959 Date: Fri Jul 27 23:06:39 2012 +0200
13961 Add missing static declarations
13963 This fixes a lot of -Wmissing-prototype warnings.
13965 Also remove _pygi_marshal_cleanup_closure_unref() which is not
13968 gi/_gobject/gobjectmodule.c | 4 ++--
13969 gi/_gobject/pygobject.c | 2 +-
13970 gi/pygi-cache.c | 2 +-
13971 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
13972 gi/pygi-foreign.c | 2 +-
13973 gi/pygi-marshal-cleanup.c | 9 ---------
13974 tests/test-unknown.c | 2 +-
13975 tests/testhelpermodule.c | 4 ++--
13976 8 files changed, 20 insertions(+), 29 deletions(-)
13978 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
13979 Author: Martin Pitt <martinpitt@gnome.org>
13980 Date: Fri Jul 27 23:01:08 2012 +0200
13982 Fix more missing #includes
13984 Add missing includes which caused -Wmissing-prototypes warnings.
13986 gi/_gobject/pygenum.c | 2 ++
13987 gi/_gobject/pyginterface.c | 2 ++
13988 2 files changed, 4 insertions(+)
13990 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
13991 Author: Martin Pitt <martinpitt@gnome.org>
13992 Date: Fri Jul 27 22:59:21 2012 +0200
13994 Make some warnings fatal
13996 Add -Werror for some warnings which are real errors in the source
13998 really want to avoid. This includes -Wmissing-prototypes, but that
14000 breaks on building g-i's regress.c.
14002 configure.ac | 5 +++++
14003 1 file changed, 5 insertions(+)
14005 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
14006 Author: Martin Pitt <martinpitt@gnome.org>
14007 Date: Fri Jul 27 22:08:47 2012 +0200
14009 Fix missing #includes
14011 Add missing includes which caused -Wmissing-prototypes warnings.
14013 gi/_glib/pygiochannel.c | 2 ++
14014 gi/_glib/pygspawn.c | 2 ++
14015 2 files changed, 4 insertions(+)
14017 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
14018 Author: Martin Pitt <martinpitt@gnome.org>
14019 Date: Fri Jul 27 20:52:00 2012 +0200
14021 pygi-info.c: Robustify pointer arithmetic
14023 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
14025 that we are using byte offsets. Fixes warnings:
14027 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
14028 arithmetic [-Werror=pointer-arith]
14030 gi/pygi-info.c | 4 ++--
14031 1 file changed, 2 insertions(+), 2 deletions(-)
14033 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
14034 Author: Martin Pitt <martinpitt@gnome.org>
14035 Date: Fri Jul 27 20:50:30 2012 +0200
14037 pyglib.c: Remove some dead code
14039 Drop unused pyglib_gil_state_ensure_py23() and
14040 pyglib_gil_state_release_py23().
14042 gi/_glib/pyglib.c | 18 ------------------
14043 1 file changed, 18 deletions(-)
14045 commit a46d165d906d0ac7613f4d946542423e979f39d5
14046 Author: Manuel Quiñones <manuq@laptop.org>
14047 Date: Fri Jul 20 10:37:04 2012 -0300
14049 Add set_attributes() override to Gtk.TreeViewColumn
14051 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
14052 gtk_cell_layout_clear_attributes and then
14053 gtk_cell_layout_add_attribute for each (name, value) passed. This
14054 patch makes the same in the overrides.
14056 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14057 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14059 gi/overrides/Gtk.py | 7 +++++++
14060 tests/test_overrides.py | 6 ++++++
14061 2 files changed, 13 insertions(+)
14063 commit 4df676e10a5ea595a0d491af10268f557dd722d7
14064 Author: Daniel Narvaez <dwnarvaez@gmail.com>
14065 Date: Tue Jul 24 13:49:15 2012 +0200
14069 The autogenerated gitignores was missing several files. So we
14070 was using a manual .gitignore at the root. But since it's
14071 enough to add a couple of entries to it to cover the whole
14072 tree, there is no much point in using git.mk at all.
14074 https://bugzilla.gnome.org/show_bug.cgi?id=678192
14077 docs/Makefile.am | 2 -
14078 examples/Makefile.am | 3 -
14079 gi/Makefile.am | 3 -
14080 gi/_glib/Makefile.am | 3 -
14081 gi/_gobject/Makefile.am | 2 -
14082 gi/overrides/Makefile.am | 2 -
14083 gi/repository/Makefile.am | 2 -
14085 ----------------------------------------------
14086 tests/Makefile.am | 2 -
14087 10 files changed, 222 deletions(-)
14089 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
14090 Author: Simon Feltman <s.feltman@gmail.com>
14091 Date: Fri Jul 20 19:55:46 2012 -0700
14093 Gtk overrides: Add TreePath.__getitem__()
14095 Use pythons sub-script operator for indexing into TreePaths
14096 as was the case in PyGtk. Also changed __iter__ to use
14097 TreePath.get_indices as opposed to formatting and re-parsing
14098 a string for getting an index list.
14100 https://bugzilla.gnome.org/show_bug.cgi?id=680353
14102 gi/overrides/Gtk.py | 5 ++++-
14103 tests/test_overrides.py | 4 ++++
14104 2 files changed, 8 insertions(+), 1 deletion(-)
14106 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
14107 Author: Simon Feltman <s.feltman@gmail.com>
14108 Date: Fri Jul 20 21:34:33 2012 -0700
14110 Fix property type mapping from int to TYPE_INT for python3.
14112 Python3 does not have a long type, however, propertyhelper.py was
14113 using long_ = int; to get things working. Type mapping code
14114 was then checking for long_ first and always returning TYPE_LONG.
14115 Additional refactoring was done to move large if/elif statements
14116 into dictionary lookups and usage of tuples instead of lists
14117 for simple 'in' list of items tests.
14119 https://bugzilla.gnome.org/show_bug.cgi?id=679939
14121 gi/_gobject/propertyhelper.py | 117
14122 +++++++++++++++++++-----------------------
14123 tests/test_properties.py | 55 +++++++++++++++-----
14124 2 files changed, 96 insertions(+), 76 deletions(-)
14126 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
14127 Author: Manuel Quiñones <manuq@laptop.org>
14128 Date: Thu Jul 19 12:11:34 2012 -0300
14130 Convert Gtk.DestDefaults constants in pygi-convert.sh script
14132 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14134 https://bugzilla.gnome.org/show_bug.cgi?id=680259
14136 pygi-convert.sh | 1 +
14137 1 file changed, 1 insertion(+)
14139 commit d58c3553062fd8704a81a8233b4a1563a6611718
14140 Author: Manuel Quiñones <manuq@laptop.org>
14141 Date: Thu Jul 19 12:04:03 2012 -0300
14143 Convert all Gdk.WindowState constants in pygi-convert.sh
14145 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14147 https://bugzilla.gnome.org/show_bug.cgi?id=680257
14149 pygi-convert.sh | 1 +
14150 1 file changed, 1 insertion(+)
14152 commit a3aae2e152c0b955037b7b85e16d14d00881d870
14153 Author: Joe R. Nassimian <placidrage@gmail.com>
14154 Date: Thu Jul 19 15:48:20 2012 +0200
14156 [API add] Add API for checking pygobject's version
14158 Add a gi.__version__ attribute for the textual version, and
14159 gi.version_info for
14160 a version triple similar to sys.version_info.
14162 Also add a gi.require_version(<minimum_version>) which raises an
14164 the pygobject version is older.
14166 https://bugzilla.gnome.org/show_bug.cgi?id=680176
14168 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14170 gi/__init__.py | 16 ++++++++++++++++
14171 tests/test_gi.py | 16 ++++++++++++++++
14172 2 files changed, 32 insertions(+)
14174 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
14175 Author: Manuel Quiñones <manuq@laptop.org>
14176 Date: Mon Jul 16 17:14:46 2012 -0300
14178 pygi-convert.sh: Add some missing Gdk.CursorTypes
14180 This patch adds WATCH, ARROW and CLOCK.
14182 https://bugzilla.gnome.org/show_bug.cgi?id=680050
14184 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14185 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14187 pygi-convert.sh | 3 +++
14188 1 file changed, 3 insertions(+)
14190 commit 0b08c01414ac73a4604acd9a846e7af09574929f
14191 Author: Manuel Kaufmann <humitos@gmail.com>
14192 Date: Tue Jul 17 09:05:27 2012 -0300
14194 pygi-convert.sh: convert rsvg.Handle(data=...)
14196 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
14198 https://bugzilla.gnome.org/show_bug.cgi?id=680092
14200 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
14201 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14203 pygi-convert.sh | 2 ++
14204 1 file changed, 2 insertions(+)
14206 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
14207 Author: Martin Pitt <martinpitt@gnome.org>
14208 Date: Mon Jul 16 17:35:38 2012 +0200
14210 configure.ac: post-release bump to 3.3.5
14212 configure.ac | 2 +-
14213 1 file changed, 1 insertion(+), 1 deletion(-)
14215 commit 126842b7227fcc1381dc158acdc5a96d0a465515
14216 Author: Martin Pitt <martinpitt@gnome.org>
14217 Date: Mon Jul 16 17:33:08 2012 +0200
14221 NEWS | 28 ++++++++++++++++++++++++++++
14222 1 file changed, 28 insertions(+)
14224 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
14225 Author: Martin Pitt <martinpitt@gnome.org>
14226 Date: Mon Jul 16 17:29:22 2012 +0200
14228 test_gi: Fix for Python 2
14230 tests/test_gi.py | 7 +++++--
14231 1 file changed, 5 insertions(+), 2 deletions(-)
14233 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
14234 Author: Martin Pitt <martinpitt@gnome.org>
14235 Date: Mon Jul 16 16:35:33 2012 +0200
14237 pygi-convert.sh: Drop bogus filter_new() conversion
14239 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
14240 constructor, so do not try to convert it to a constructor call.
14242 https://bugzilla.gnome.org/show_bug.cgi?id=679999
14244 pygi-convert.sh | 1 -
14245 1 file changed, 1 deletion(-)
14247 commit c0607d970fc59528ca27d518282cf2871b92e909
14248 Author: Martin Pitt <martinpitt@gnome.org>
14249 Date: Mon Jul 16 16:00:40 2012 +0200
14251 Fix help() for GI modules
14253 Derive DynamicModule from types.ModuleType, so that the inspect
14255 ismodule() actually succeeds on those and generates useful help on
14259 https://bugzilla.gnome.org/show_bug.cgi?id=679804
14261 gi/module.py | 3 ++-
14262 tests/test_gi.py | 15 +++++++++++++++
14263 2 files changed, 17 insertions(+), 1 deletion(-)
14265 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
14266 Author: Martin Pitt <martinpitt@gnome.org>
14267 Date: Mon Jul 16 15:53:31 2012 +0200
14269 Skip gi.CallbackInfo objects from a module's dir()
14271 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
14273 implement __getattr__ for those.
14275 Add a test case that dir() works on GI modules, contain expected
14277 and that all identifiers in dir() can actually be retrieved.
14279 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
14281 gi/module.py | 7 +++++--
14282 tests/test_gi.py | 14 ++++++++++++++
14283 2 files changed, 19 insertions(+), 2 deletions(-)
14285 commit f6cc039e014448a553d626aac4020ee69717edab
14286 Author: Martin Pitt <martinpitt@gnome.org>
14287 Date: Mon Jul 16 15:38:05 2012 +0200
14289 Fix __path__ module attribute
14291 get_typelib_path() returns bytes, not strings, so in Python 3 we
14293 it to get a proper __path__ attribute.
14295 gi/module.py | 17 +++++++++++++++++
14296 tests/test_gi.py | 10 ++++++++++
14297 2 files changed, 27 insertions(+)
14299 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
14300 Author: Joe R. Nassimian <placidrage@gmail.com>
14301 Date: Mon Jul 16 15:02:10 2012 +0200
14303 pygi-convert.sh: Fix some child → getChild() false positives
14305 https://bugzilla.gnome.org/show_bug.cgi?id=680004
14307 pygi-convert.sh | 2 +-
14308 1 file changed, 1 insertion(+), 1 deletion(-)
14310 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
14311 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
14312 Date: Thu Jul 12 09:19:42 2012 +0200
14314 Fix array handling for interfaces, properties, and signals
14316 Fix lots of corner cases where arrays are not handled properly.
14317 _pygi_argument_to_object() now has the documented expectation of
14319 packed in GArrays. This was implicit before and not correctly done
14323 The helper _pygi_argument_to_array() has been improved to work on
14325 array. Fix all call sites of _pygi_argument_to_object() to do the
14326 array conversion appropriately before calling
14327 _pygi_argument_to_object().
14329 Adds a test case that implements a GInterface with a method that
14331 of variants as input.
14333 https://bugzilla.gnome.org/show_bug.cgi?id=667244
14335 gi/pygi-argument.c | 156
14336 ++++++++++++++++++++++++++++++++---------------
14337 gi/pygi-argument.h | 4 +-
14338 gi/pygi-closure.c | 11 ++++
14339 gi/pygi-info.c | 20 ++++--
14340 gi/pygi-property.c | 1 +
14341 gi/pygi-signal-closure.c | 14 ++++-
14342 tests/test_gi.py | 18 ++++++
14343 7 files changed, 167 insertions(+), 57 deletions(-)
14345 commit bb80d124269ee2389c04d03a478475868fd9ff7b
14346 Author: Manuel Quiñones <manuq@laptop.org>
14347 Date: Wed Jul 11 22:05:41 2012 -0300
14349 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
14351 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14353 https://bugzilla.gnome.org/show_bug.cgi?id=679775
14355 pygi-convert.sh | 3 +++
14356 1 file changed, 3 insertions(+)
14358 commit e3a63eefa5fb2abeabd210790e12642e577363c8
14359 Author: Manuel Quiñones <manuq@laptop.org>
14360 Date: Wed Jul 11 13:18:16 2012 -0300
14362 Add the same rules for pack_start to convert pack_end
14364 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14366 https://bugzilla.gnome.org/show_bug.cgi?id=679760
14368 pygi-convert.sh | 5 +++++
14369 1 file changed, 5 insertions(+)
14371 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
14372 Author: Dave Malcolm <dmalcolm@redhat.com>
14373 Date: Wed Jul 11 08:21:27 2012 +0200
14375 Add error-checking for the case where _arg_cache_new() fails
14377 This can happen when a typelib and its underlying library are
14379 converts the segfault into a more helpful traceback.
14381 https://bugzilla.gnome.org/show_bug.cgi?id=678914
14383 gi/pygi-cache.c | 2 ++
14384 1 file changed, 2 insertions(+)
14386 commit 41287d8a439c656e4ac60361fddec643c713234c
14387 Author: Manuel Quiñones <manuq@laptop.org>
14388 Date: Wed Jul 11 11:13:38 2012 -0300
14390 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
14393 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14395 https://bugzilla.gnome.org/show_bug.cgi?id=679754
14397 pygi-convert.sh | 6 ++++++
14398 1 file changed, 6 insertions(+)
14400 commit 5403149b900d1b73cbc78767dc43be2eb344c836
14401 Author: Simon Feltman <s.feltman@gmail.com>
14402 Date: Tue Jul 10 19:07:32 2012 -0700
14404 Fix PyObject_Repr and PyObject_Str reference leaks
14406 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
14409 https://bugzilla.gnome.org/show_bug.cgi?id=675857
14411 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14413 gi/_glib/glibmodule.c | 10 +++++++--
14414 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
14415 gi/_gobject/pygobject.c | 53
14416 ++++++++++++++++++++++++++++++---------------
14417 gi/pygi-marshal-from-py.c | 9 +++++---
14418 4 files changed, 62 insertions(+), 27 deletions(-)
14420 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
14421 Author: Martin Pitt <martinpitt@gnome.org>
14422 Date: Wed Jul 4 08:46:30 2012 +0200
14424 [API add] Gtk overrides: Add TreePath.__len__()
14426 Use the path depth as length of a Gtk.TreePath object.
14428 https://bugzilla.gnome.org/show_bug.cgi?id=679199
14430 gi/overrides/Gtk.py | 3 +++
14431 tests/test_overrides.py | 4 ++++
14432 2 files changed, 7 insertions(+)
14434 commit e1e849d1a9af77c29ee35971db8d439bac60d573
14435 Author: Martin Pitt <martinpitt@gnome.org>
14436 Date: Wed Jul 4 08:35:16 2012 +0200
14438 GLib.Variant: Fix repr(), add proper str()
14440 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
14442 proper __str__() method, and tests for both.
14444 Thanks to Rul Matos for spotting this!
14446 https://bugzilla.gnome.org/show_bug.cgi?id=679336
14448 gi/overrides/GLib.py | 6 +++++-
14449 tests/test_overrides.py | 5 +++++
14450 2 files changed, 10 insertions(+), 1 deletion(-)
14452 commit af20d7c929b9c1888454b52932a308d346e1c12b
14453 Author: Martin Pitt <martinpitt@gnome.org>
14454 Date: Thu Jun 28 06:51:22 2012 +0200
14456 m4/python.m4: Update Python version list
14458 Thanks to Dieter Verfaillie for pointing this out.
14460 m4/python.m4 | 3 +--
14461 1 file changed, 1 insertion(+), 2 deletions(-)
14463 commit a96a26234e2aaa157837d26094864e3ad9b63edf
14464 Author: Micah Carrick <micah@quixotix.com>
14465 Date: Mon Jun 25 09:05:59 2012 -0700
14467 Remove "label" property from Gtk.MenuItem if it is not set
14469 The Gtk.MenuItem will not render as a separator if the "label" or
14470 "user-underline" properties have been accessed. The constructor
14471 for Gtk.MenuItem override should not pass the "label" property
14472 as an argument if it is None since that will still result in an
14473 empty label widget which breaks Gtk.SeparatorMenuItem.
14475 https://bugzilla.gnome.org/show_bug.cgi?id=670575
14477 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14479 gi/overrides/Gtk.py | 5 ++++-
14480 1 file changed, 4 insertions(+), 1 deletion(-)
14482 commit afa12faf339efb4f7780168e884ecf49b630644a
14483 Author: Martin Pitt <martinpitt@gnome.org>
14484 Date: Mon Jun 25 16:36:31 2012 +0200
14486 configure.ac: Post-release bump to 3.3.4.
14488 configure.ac | 2 +-
14489 1 file changed, 1 insertion(+), 1 deletion(-)
14491 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
14492 Author: Martin Pitt <martinpitt@gnome.org>
14493 Date: Mon Jun 25 16:35:49 2012 +0200
14498 configure.ac | 2 +-
14499 2 files changed, 4 insertions(+), 1 deletion(-)
14501 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
14502 Author: Martin Pitt <martinpitt@gnome.org>
14503 Date: Mon Jun 25 16:32:45 2012 +0200
14505 Do not escape enum and flag names that are Python keywords
14507 These are translated to upper case, and thus can never be
14508 keywords. This broke
14509 existing API such as Gtk.ShadowType.IN.
14511 gi/module.py | 2 +-
14512 gi/pygi-info.c | 7 +++++++
14513 tests/test_gi.py | 3 +++
14514 3 files changed, 11 insertions(+), 1 deletion(-)
14516 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
14517 Author: Martin Pitt <martinpitt@gnome.org>
14518 Date: Mon Jun 25 15:39:50 2012 +0200
14520 configure.ac: Post-release version bump to 3.3.4
14522 configure.ac | 2 +-
14523 1 file changed, 1 insertion(+), 1 deletion(-)
14525 commit fe56faa346c8e8f9fd5915602424778d458a776d
14526 Author: Martin Pitt <martinpitt@gnome.org>
14527 Date: Mon Jun 25 15:36:37 2012 +0200
14531 NEWS | 15 +++++++++++++++
14532 1 file changed, 15 insertions(+)
14534 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
14535 Author: Martin Pitt <martinpitt@gnome.org>
14536 Date: Mon Jun 25 15:35:19 2012 +0200
14538 Bring back ChangeLog make target
14540 This is being used by "make dist".
14542 Makefile.am | 15 +++++++++++++++
14543 1 file changed, 15 insertions(+)
14545 commit 760118e4ed73de2f022706ef897fcc848e90c005
14546 Author: Martin Pitt <martinpitt@gnome.org>
14547 Date: Mon Jun 25 15:31:14 2012 +0200
14549 Remove obsolete ChangeLog and release-tag make targets
14551 Makefile.am | 23 -----------------------
14552 1 file changed, 23 deletions(-)
14554 commit e92278692bb51679d6e957c2ac36db64498a7c73
14555 Author: Simon Schampijer <simon@schampijer.de>
14556 Date: Fri Jun 15 16:11:21 2012 +0200
14558 Do not do any python calls when GObjects are destroyed after the
14559 python interpreter has been finalized
14561 This happens when pygobject_data_free () function is called after
14563 interpreter shuts down, we can't do python calls after that.
14565 Benzea did the findings because of a bug in Sugar, and commented
14567 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
14569 https://bugzilla.gnome.org/show_bug.cgi?id=678046
14571 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
14572 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14574 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
14575 1 file changed, 22 insertions(+), 5 deletions(-)
14577 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
14578 Author: Martin Pitt <martinpitt@gnome.org>
14579 Date: Mon Jun 25 15:06:47 2012 +0200
14581 Do not change constructor-only "type" Window property
14583 When reading a Gtk.Window subclass from a GtkBuilder object,
14585 properties are already set at __init__ time. Do not try to set it
14589 https://bugzilla.gnome.org/show_bug.cgi?id=678510
14591 gi/overrides/Gtk.py | 8 +++++++-
14592 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
14593 2 files changed, 43 insertions(+), 1 deletion(-)
14595 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
14596 Author: Martin Pitt <martinpitt@gnome.org>
14597 Date: Mon Jun 25 09:40:38 2012 +0200
14599 Escape identifiers which are Python keywords
14601 Add a trailing underscore to identifiers which are Python keywords.
14603 We use a per-major-version static identifier list derived from
14605 instead of calling out to Python's keyword.iskeyword(). This is
14607 and also allows us to tweak the result. For example, Python 3 dropped
14609 as a keyword, but we still want to escape that to avoid breaking
14611 between different Python versions.
14613 Error out when building with a major Python version not covered yet,
14615 do not forget to update the list in the future.
14617 https://bugzilla.gnome.org/show_bug.cgi?id=676746
14619 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
14620 tests/test_gi.py | 17 +++++++++++++++++
14621 2 files changed, 54 insertions(+), 1 deletion(-)
14623 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
14624 Author: Martin Pitt <martinpitt@gnome.org>
14625 Date: Fri Jun 22 13:13:37 2012 +0200
14627 Ignore E123 in pep8 tests
14629 This is "closing bracket does not match indentation of opening
14631 but it really looks better to have the closing bracket on the
14633 of the opening bracket instead of the indentation level of the
14635 contains the opening bracket.
14637 tests/Makefile.am | 2 +-
14638 1 file changed, 1 insertion(+), 1 deletion(-)
14640 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
14641 Author: Martin Pitt <martinpitt@gnome.org>
14642 Date: Fri Jun 22 13:08:34 2012 +0200
14644 PEP8: Fix indentation
14646 Spotted by current pep8 checker.
14648 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
14649 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
14650 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
14651 demos/gtk-demo/demos/appwindow.py | 2 +-
14652 demos/gtk-demo/demos/clipboard.py | 8 +--
14653 demos/gtk-demo/demos/colorselector.py | 6 +--
14654 demos/gtk-demo/demos/rotatedtext.py | 8 +--
14655 demos/gtk-demo/gtk-demo.py | 6 +--
14656 examples/option.py | 29 ++++++-----
14657 examples/signal.py | 3 +-
14658 gi/_glib/option.py | 6 +--
14659 gi/_gobject/propertyhelper.py | 18 +++----
14660 gi/module.py | 14 +++---
14661 gi/overrides/GLib.py | 2 +-
14662 gi/overrides/Gio.py | 11 +++--
14663 gi/overrides/Gtk.py | 16 +++---
14664 gi/pygtkcompat.py | 7 ++-
14665 gi/types.py | 17 ++++---
14666 tests/runtests.py | 2 +-
14667 tests/test_gdbus.py | 55 +++++++++++----------
14668 tests/test_gi.py | 15 +++---
14669 tests/test_gobject.py | 18 +++----
14670 tests/test_option.py | 26 +++++-----
14671 tests/test_overrides.py | 67
14672 +++++++++++++-------------
14673 tests/test_properties.py | 30 ++++++------
14674 tests/test_signal.py | 2 +-
14675 tests/test_uris.py | 9 ++--
14676 27 files changed, 200 insertions(+), 193 deletions(-)
14678 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
14679 Author: Martin Pitt <martinpitt@gnome.org>
14680 Date: Fri Jun 22 12:36:54 2012 +0200
14682 PEP8: Use isinstance() instead of direct type comparisons
14684 Spotted by current pep8 checker.
14686 gi/overrides/GLib.py | 2 +-
14687 gi/overrides/__init__.py | 2 +-
14688 2 files changed, 2 insertions(+), 2 deletions(-)
14690 commit 50e45a624e6301e65c150e137aad6d092f203f3f
14691 Author: Martin Pitt <martinpitt@gnome.org>
14692 Date: Fri Jun 22 12:30:10 2012 +0200
14694 PEP8: Fix continuation lines
14696 Spotted by current pep8 checker.
14698 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
14699 gi/__init__.py | 6 +++---
14700 gi/_gobject/__init__.py | 6 ++----
14701 gi/module.py | 6 +++---
14702 tests/test_overrides.py | 11 +++--------
14703 5 files changed, 14 insertions(+), 21 deletions(-)
14705 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
14706 Author: Martin Pitt <martinpitt@gnome.org>
14707 Date: Fri Jun 22 12:24:32 2012 +0200
14709 PEP8: Consistent comparisons against True, False, and None
14711 Spotted by current pep8 checker.
14713 demos/gtk-demo/demos/clipboard.py | 4 ++--
14714 demos/gtk-demo/demos/drawingarea.py | 4 ++--
14715 demos/gtk-demo/gtk-demo.py | 8 ++++----
14716 gi/overrides/Gdk.py | 2 +-
14717 gi/overrides/Gtk.py | 2 +-
14718 tests/test_gi.py | 4 ++--
14719 tests/test_overrides.py | 3 +--
14720 7 files changed, 13 insertions(+), 14 deletions(-)
14722 commit 379c1474a071292a1e8da413af2f5438cff09fc8
14723 Author: Martin Pitt <martinpitt@gnome.org>
14724 Date: Wed Jun 20 12:23:12 2012 +0200
14726 Fix crash in GLib.find_program_in_path()
14728 We need to handle a NULL return value properly.
14730 https://bugzilla.gnome.org/show_bug.cgi?id=678119
14732 gi/_glib/glibmodule.c | 10 ++++++++--
14733 tests/Makefile.am | 1 +
14734 tests/test_glib.py | 15 +++++++++++++++
14735 3 files changed, 24 insertions(+), 2 deletions(-)
14737 commit 73531fd7820bd1922347bd856298d68205a27877
14738 Author: Martin Pitt <martinpitt@gnome.org>
14739 Date: Wed Jun 20 11:16:39 2012 +0200
14741 Revert "Do not bind gobject_get_data() and gobject_set_data()"
14743 We should have some deprecation period for this, so bring back
14745 methods and add deprecation warnings.
14747 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
14749 https://bugzilla.gnome.org/show_bug.cgi?id=641944
14751 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
14752 1 file changed, 44 insertions(+)
14754 commit a0daa843801658929ffee5bcb9eb67d955dc7921
14755 Author: David Keijser <keijser@gmail.com>
14756 Date: Mon Jun 18 15:09:34 2012 +0200
14758 GVariant: Raise proper TypeError on invalid tuple input
14760 https://bugzilla.gnome.org/show_bug.cgi?id=678317
14762 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14764 gi/overrides/GLib.py | 4 ++--
14765 tests/test_overrides.py | 1 +
14766 2 files changed, 3 insertions(+), 2 deletions(-)
14768 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
14769 Author: Martin Pitt <martinpitt@gnome.org>
14770 Date: Tue Jun 5 19:11:38 2012 +0200
14772 configure.ac: Post-release bump to 3.3.3
14774 configure.ac | 2 +-
14775 1 file changed, 1 insertion(+), 1 deletion(-)
14777 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
14778 Author: Martin Pitt <martinpitt@gnome.org>
14779 Date: Tue Jun 5 19:09:12 2012 +0200
14783 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
14784 1 file changed, 44 insertions(+)
14786 commit 8209c1ae1632c77768699481e574d5d378956e71
14787 Author: Martin Pitt <martinpitt@gnome.org>
14788 Date: Tue Jun 5 19:04:49 2012 +0200
14790 Fix "release-news" make target
14792 Actually list changes since the previous release, not since 3.1.92.
14795 1 file changed, 1 insertion(+), 1 deletion(-)
14797 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
14798 Author: Bastian Winkler <buz@netbuz.org>
14799 Date: Wed May 9 19:04:01 2012 +0200
14801 foreign: Register cairo.Path and cairo.FontOptions foreign structs
14803 They are rarely used, but they are used at least by Gdk, PangoCairo
14807 clutter.Path is not used by any API that the test suite uses, so
14809 without a test for now.
14811 https://bugzilla.gnome.org/show_bug.cgi?id=677388
14813 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14815 gi/pygi-foreign-cairo.c | 85
14816 ++++++++++++++++++++++++++++++++++++++++++++++++
14817 tests/test_everything.py | 8 +++++
14818 2 files changed, 93 insertions(+)
14820 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
14821 Author: Marien Zwart <marien.zwart@gmail.com>
14822 Date: Wed May 23 01:51:46 2012 +0200
14824 Check types in GBoxed assignments
14826 Check if the Python value is GBoxed instead of assuming it is.
14827 Without this, the following segfaults:
14829 from gi.repository import Soup
14831 msg = Soup.Message()
14832 msg.props.uri = 'http://www.gnome.org'
14834 as we assume the new property is a GBoxed while it is actually a
14837 https://bugzilla.gnome.org/show_bug.cgi?id=676603
14839 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
14840 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14842 gi/pygi-argument.c | 10 +++++++---
14843 tests/test_gi.py | 19 +++++++++++++++++++
14844 2 files changed, 26 insertions(+), 3 deletions(-)
14846 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
14847 Author: Bastian Winkler <buz@netbuz.org>
14848 Date: Sat May 12 14:08:51 2012 +0200
14850 [API add] Gtk overrides: Add TreeModelRow.get_previous()
14852 TreeModelRow has get_next() and a next property, it should also have
14853 get_previous() and previous.
14855 https://bugzilla.gnome.org/show_bug.cgi?id=677389
14857 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14859 gi/overrides/Gtk.py | 9 +++++++++
14860 1 file changed, 9 insertions(+)
14862 commit 5501fba534696974899f2591929bff9e1b6ecd65
14863 Author: Bastian Winkler <buz@netbuz.org>
14864 Date: Sat May 12 13:50:02 2012 +0200
14866 [API add] Add missing GObject.TYPE_VARIANT
14868 Add TYPE_VARIANT to constants to make it accessible as
14869 GObject.TYPE_VARIANT.
14871 https://bugzilla.gnome.org/show_bug.cgi?id=677387
14873 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14875 gi/_gobject/__init__.py | 1 +
14876 gi/_gobject/constants.py | 1 +
14877 2 files changed, 2 insertions(+)
14879 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
14880 Author: Jasper St. Pierre <jstpierre@mecheye.net>
14881 Date: Fri Jun 1 02:53:13 2012 -0400
14883 Fix boxed type equality
14885 Each boxed type has its own Python type, not PyGBoxed_Type. Use
14886 PyObject_IsInstance instead of comparing against PyGBoxed_Type
14889 https://bugzilla.gnome.org/show_bug.cgi?id=677249
14891 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14893 gi/_gobject/pygboxed.c | 3 ++-
14894 tests/test_everything.py | 8 ++++++++
14895 2 files changed, 10 insertions(+), 1 deletion(-)
14897 commit dc8eef26906753fcb3ce057b23ca110137897fa5
14898 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14899 Date: Fri Jun 1 13:43:38 2012 +0200
14901 Fix TestProperties.testBoxed test
14903 A typo was preventing the test from being run.
14905 https://bugzilla.gnome.org/show_bug.cgi?id=676644
14907 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14909 tests/test_properties.py | 4 ++--
14910 1 file changed, 2 insertions(+), 2 deletions(-)
14912 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
14913 Author: Carlos Garnacho <carlos@lanedo.com>
14914 Date: Thu May 17 17:09:15 2012 +0200
14916 Fix handling of by-reference structs as out parameters
14918 When marshalling back from python, copy the result of by-reference
14919 structs into the memory expected by the native caller, instead of
14920 attempting to handle it as a pointer.
14922 https://bugzilla.gnome.org/show_bug.cgi?id=653151
14924 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14926 gi/pygi-closure.c | 17 +++++++++++++++++
14927 tests/test_gi.py | 5 +++++
14928 2 files changed, 22 insertions(+)
14930 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
14931 Author: Martin Pitt <martinpitt@gnome.org>
14932 Date: Fri Jun 1 12:28:53 2012 +0200
14934 tests: Add more vfunc checks for GIMarshallingTestsObject
14936 tests/test_gi.py | 25 +++++++++++++++++++++++++
14937 1 file changed, 25 insertions(+)
14939 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
14940 Author: Martin Pitt <martinpitt@gnome.org>
14941 Date: Fri Jun 1 12:02:55 2012 +0200
14943 Test caller-allocated GValue out parameter
14945 This came up as a side issue in
14946 https://bugzilla.gnome.org/show_bug.cgi?id=653151
14948 tests/test_gi.py | 3 +++
14949 1 file changed, 3 insertions(+)
14951 commit edc17e703e1a05e20545d3df9167ceb076450443
14952 Author: Bastian Winkler <buz@netbuz.org>
14953 Date: Wed May 16 11:13:05 2012 +0200
14955 GObject.bind_property: Support transform functions
14957 Add support for optional transformation functions to
14958 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
14959 return value correctly.
14961 https://bugzilla.gnome.org/show_bug.cgi?id=676169
14963 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14965 gi/_gobject/pygobject.c | 130
14966 +++++++++++++++++++++++++++++++++++++++++++++---
14967 tests/test_gobject.py | 59 ++++++++++++++++++++++
14968 2 files changed, 181 insertions(+), 8 deletions(-)
14970 commit 07a08b49aae83a297e2f91240448314e4663f724
14971 Author: Carlos Garnacho <carlos@lanedo.com>
14972 Date: Mon May 14 15:31:14 2012 +0200
14974 Fix lookup of vfuncs in parent classes
14976 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
14978 As subclasses implemented in python override the attribute for the
14979 vfunc, __mro__ has to be used so subclasses of the subclass overriding
14980 methods may find the corresponding VFuncInfo.
14982 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
14984 gi/types.py | 6 +++---
14985 tests/test_gi.py | 27 +++++++++++++++++++++++++++
14986 2 files changed, 30 insertions(+), 3 deletions(-)
14988 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
14989 Author: Martin Pitt <martinpitt@gnome.org>
14990 Date: Fri Jun 1 08:18:40 2012 +0200
14992 tests/test_properties.py: Fix whitespace
14994 The pep8 check failed on this.
14996 tests/test_properties.py | 2 +-
14997 1 file changed, 1 insertion(+), 1 deletion(-)
14999 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
15000 Author: Jasper St. Pierre <jstpierre@mecheye.net>
15001 Date: Wed May 30 16:45:53 2012 -0400
15003 gi: Support zero-terminated arrays with length arguments
15005 Sometimes, you may see (array zero-terminated=1 length=length)
15007 Don't expose the length argument to the user in this case.
15009 https://bugzilla.gnome.org/show_bug.cgi?id=677124
15011 gi/pygi-cache.c | 13 ++++---------
15012 tests/test_gi.py | 3 +++
15013 2 files changed, 7 insertions(+), 9 deletions(-)
15015 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
15016 Author: Jasper St. Pierre <jstpierre@mecheye.net>
15017 Date: Fri May 25 17:09:55 2012 -0400
15021 libregress now needs cairo-gobject
15023 configure.ac | 2 +-
15024 1 file changed, 1 insertion(+), 1 deletion(-)
15026 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
15027 Author: Martin Pitt <martinpitt@gnome.org>
15028 Date: Mon May 14 15:48:34 2012 +0200
15030 Fix comment in previous commit
15032 tests/test_gobject.py | 2 +-
15033 1 file changed, 1 insertion(+), 1 deletion(-)
15035 commit 6610428394d0c65987de5021bf2c38641cdb7116
15036 Author: Simon Feltman <s.feltman@gmail.com>
15037 Date: Tue May 8 20:04:09 2012 -0700
15039 [API add] Add GObject.bind_property method
15041 This adds the "bind_property" method for binding two gobject
15043 together. The method returns a weak reference to a GBinding object.
15044 The BindingWeakRef object is used to manage GBinding objects within
15046 created through GObject.bind_property. It is a sub-class
15047 PyGObjectWeakRef so
15048 that we can maintain the same reference counting semantics between
15050 and GObject Binding objects. This gives explicit direct control of the
15051 binding lifetime by using the "unbind" method on the BindingWeakRef
15053 along with implicit management based on the lifetime of the source or
15056 Note this does not yet include support for converter closures. This
15058 later after the initial implementation is accepted.
15060 https://bugzilla.gnome.org/show_bug.cgi?id=675582
15062 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15064 gi/_gobject/pygobject.c | 104
15065 +++++++++++++++++++++++++++++++++++++++++++++++-
15066 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
15067 2 files changed, 193 insertions(+), 1 deletion(-)
15069 commit 88babe7377402f6e6f912a8b83615aab848eae81
15070 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15071 Date: Fri May 11 19:08:47 2012 -0300
15073 pygtkcompat: Correctly set flags
15075 https://bugzilla.gnome.org/show_bug.cgi?id=675911
15077 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15079 gi/pygtkcompat.py | 5 ++---
15080 tests/test_pygtkcompat.py | 1 +
15081 2 files changed, 3 insertions(+), 3 deletions(-)
15083 commit 3f712b56397296bca2f5358cd52977b1a2011964
15084 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15085 Date: Fri May 11 12:39:05 2012 -0300
15087 Gtk overrides: Implement __delitem__ on TreeModel
15089 https://bugzilla.gnome.org/show_bug.cgi?id=675892
15091 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15093 gi/overrides/Gtk.py | 16 ++++++++++++----
15094 tests/test_overrides.py | 9 +++++++++
15095 2 files changed, 21 insertions(+), 4 deletions(-)
15097 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
15098 Author: Simon Feltman <s.feltman@gmail.com>
15099 Date: Sun May 6 18:10:39 2012 -0700
15101 Gdk Color override should support red/green/blue_float properties
15103 Added red_float, green_float, and blue_float properties to Color.
15104 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
15106 https://bugzilla.gnome.org/show_bug.cgi?id=675579
15108 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15110 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
15111 tests/Makefile.am | 2 +-
15112 tests/test_overrides.py | 17 +++++++++++++++++
15113 3 files changed, 62 insertions(+), 1 deletion(-)
15115 commit d9608c332d9592f03545b110cfac8105453ea035
15116 Author: Martin Pitt <martinpitt@gnome.org>
15117 Date: Sat May 5 12:42:42 2012 -0700
15119 Support marshalling of GVariants for closures
15121 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
15123 be called with GVariant arguments and return GVariant.
15125 Unmark the corresponding test case as "expected failure", and also
15127 for None values and type mismatches.
15129 https://bugzilla.gnome.org/show_bug.cgi?id=656554
15131 gi/_gobject/pygtype.c | 47
15132 +++++++++++++++++++++++++++++++++++++++++++++--
15133 tests/test_everything.py | 16 ++++++++++++----
15134 2 files changed, 57 insertions(+), 6 deletions(-)
15136 commit e7a909c16dc1c625ab11e270f23d540f15c71767
15137 Author: Johan Dahlin <johan@gnome.org>
15138 Date: Mon May 7 10:33:40 2012 -0300
15140 Require gobject-introspection 1.33.0
15142 configure.ac | 2 +-
15143 1 file changed, 1 insertion(+), 1 deletion(-)
15145 commit 9e8239684433631e0d1650d25416e4d7bf92a058
15146 Author: Martin Pitt <martinpitt@gnome.org>
15147 Date: Sun May 6 18:28:23 2012 -0700
15149 NEWS: Add API additions since 3.2.0
15152 1 file changed, 4 insertions(+), 3 deletions(-)
15154 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
15155 Author: Martin Pitt <martinpitt@gnome.org>
15156 Date: Sun May 6 18:25:23 2012 -0700
15158 NEWS: Mark API changes since 3.2.0
15161 1 file changed, 3 insertions(+), 3 deletions(-)
15163 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
15164 Author: Martin Pitt <martinpitt@gnome.org>
15165 Date: Sun May 6 18:19:35 2012 -0700
15167 Fix commit 168a087 for Python 3
15169 Simplify the type check and use the already existing one. Fix the
15171 to work with both Python 2 and 3.
15173 gi/pygi-argument.c | 42 +++++++++---------------------------------
15174 1 file changed, 9 insertions(+), 33 deletions(-)
15176 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
15177 Author: Martin Pitt <martinpitt@gnome.org>
15178 Date: Sun May 6 18:08:57 2012 -0700
15180 pygtkcompat.py: Typo fix
15182 Was missing a space around operator, causing the PEP8 check to fail.
15184 gi/pygtkcompat.py | 2 +-
15185 1 file changed, 1 insertion(+), 1 deletion(-)
15187 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
15188 Author: Martin Pitt <martinpitt@gnome.org>
15189 Date: Sun May 6 18:02:04 2012 -0700
15191 _pygi_argument_from_object(): Check for compatible data type
15193 Verify that the passed PyObject actually matches the expected type
15195 argument. With this, trying to assign a wrong type to a property
15197 a proper TypeError.
15199 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
15200 gi/pygi-property.c | 3 +++
15201 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
15202 3 files changed, 82 insertions(+)
15204 commit 5948b62ba3e08ea943e6965ee38c94c363186226
15205 Author: Martin Pitt <martinpitt@gnome.org>
15206 Date: Sun May 6 17:59:57 2012 -0700
15208 pygtkcompat: Fix color conversion
15210 gtk_style_context_get_background_color() returns a GdkRGBA value,
15212 float values between 0 and 1. However, we construct a GdkColor
15214 that, so we need to scale to 0..65535 and round to int.
15216 gi/pygtkcompat.py | 6 +++---
15217 1 file changed, 3 insertions(+), 3 deletions(-)
15219 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
15220 Author: Martin Pitt <martinpitt@gnome.org>
15221 Date: Sun May 6 06:02:31 2012 -0700
15223 test_gi: Check setting properties in constructor
15225 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
15226 1 file changed, 33 insertions(+)
15228 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
15229 Author: Martin Pitt <martinpitt@gnome.org>
15230 Date: Sun May 6 05:50:00 2012 -0700
15232 Support getting and setting GStrv properties
15234 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
15235 tests/test_gi.py | 11 +++++++++++
15236 2 files changed, 47 insertions(+)
15238 commit 8321af2c7df499291e664c676376f149a0c3dcac
15239 Author: Martin Pitt <martinpitt@gnome.org>
15240 Date: Sat May 5 13:58:29 2012 -0700
15242 Support defining GStrv properties from Python
15244 gi/_gobject/propertyhelper.py | 10 ++++++--
15245 tests/test_properties.py | 58
15246 +++++++++++++++++++++++++++++++++++++++++--
15247 2 files changed, 64 insertions(+), 4 deletions(-)
15249 commit f2494526e1c579c41babfe7ff67deef0f6966adf
15250 Author: Martin Pitt <martinpitt@gnome.org>
15251 Date: Sat May 5 13:21:20 2012 -0700
15253 Add GObject.TYPE_STRV constant
15255 gi/_gobject/__init__.py | 1 +
15256 gi/_gobject/constants.py | 1 +
15257 tests/test_everything.py | 2 +-
15258 tests/test_signal.py | 2 +-
15259 4 files changed, 4 insertions(+), 2 deletions(-)
15261 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
15262 Author: Martin Pitt <martinpitt@gnome.org>
15263 Date: Sat May 5 09:28:36 2012 +0200
15265 Unref GVariants when destroying the wrapper
15267 https://bugzilla.gnome.org/show_bug.cgi?id=675472
15269 gi/overrides/GLib.py | 3 +++
15270 1 file changed, 3 insertions(+)
15272 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
15273 Author: Martin Pitt <martinpitt@gnome.org>
15274 Date: Sat May 5 09:23:55 2012 +0200
15276 Fix TestArrayGVariant test cases
15278 test_array_gvariant_container_in() and test_array_gvariant_full_in()
15280 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
15282 Actually do what they mean to do now and call the corresponding
15283 GIMarshallingTests methods.
15285 tests/test_gi.py | 4 ++--
15286 1 file changed, 2 insertions(+), 2 deletions(-)
15288 commit fda8a069d503e63c76a6b1ba285a181822549059
15289 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15290 Date: Sat May 5 08:52:41 2012 +0200
15292 pygtkcompat: Add gdk.pixbuf_get_formats compat code
15294 https://bugzilla.gnome.org/show_bug.cgi?id=675489
15296 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15298 gi/pygtkcompat.py | 20 ++++++++++++++++++++
15299 tests/test_pygtkcompat.py | 8 ++++++++
15300 2 files changed, 28 insertions(+)
15302 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
15303 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15304 Date: Mon Apr 30 13:44:19 2012 -0300
15306 pygtkcompat: Add some more compat functions
15308 https://bugzilla.gnome.org/show_bug.cgi?id=675489
15310 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15312 gi/pygtkcompat.py | 14 ++++++++++++++
15313 1 file changed, 14 insertions(+)
15315 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
15316 Author: Martin Pitt <martinpitt@gnome.org>
15317 Date: Thu May 3 12:25:04 2012 +0200
15319 Fix tests for Python 3
15321 cmp() does not exist any more in Python 3, replace with comparison
15324 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
15326 can't pass a str (which is an Unicode object in Python 3). Pass a
15330 tests/test_gi.py | 2 +-
15331 tests/test_overrides.py | 2 +-
15332 2 files changed, 2 insertions(+), 2 deletions(-)
15334 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
15335 Author: Martin Pitt <martinpitt@gnome.org>
15336 Date: Thu May 3 09:38:56 2012 +0200
15338 Fix building with --disable-cairo
15340 Build gobject-introspection's regress.c against cairo, not
15341 pycairo/py3cairo. We
15342 always need cairo to build, so unconditionally check for this in
15345 In test_everything.py, gracefully handle the absence of the "cairo"
15347 module, which we do not have when building without cairo support.
15349 configure.ac | 3 +++
15350 tests/Makefile.am | 4 ++--
15351 tests/test_everything.py | 8 +++++++-
15352 3 files changed, 12 insertions(+), 3 deletions(-)
15354 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
15355 Author: Martin Pitt <martinpitt@gnome.org>
15356 Date: Thu May 3 09:28:51 2012 +0200
15358 tests: Fix deprecated assertions
15360 assertAlmostEquals → assertAlmostEqual
15361 assertNotEquals → assertNotEqual
15363 tests/test_everything.py | 4 ++--
15364 tests/test_gi.py | 12 ++++++------
15365 tests/test_overrides.py | 10 +++++-----
15366 3 files changed, 13 insertions(+), 13 deletions(-)
15368 commit 07f312e66c07357168098d3f96813d2c997e8dc7
15369 Author: Martin Pitt <martinpitt@gnome.org>
15370 Date: Wed May 2 12:08:19 2012 +0200
15372 Run tests with MALLOC_PERTURB_
15374 We mostly use the glib allocation functions, but this might
15375 help to uncover access to already freed or uninitialized memory in
15379 tests/Makefile.am | 1 +
15380 1 file changed, 1 insertion(+)
15382 commit b0740d386c2cbbd153878209b584b568968e4d98
15383 Author: Martin Pitt <martinpitt@gnome.org>
15384 Date: Mon Apr 30 16:26:57 2012 +0200
15386 configure.ac: Post-release bump to 3.3.2
15388 configure.ac | 2 +-
15389 1 file changed, 1 insertion(+), 1 deletion(-)
15391 commit d3977266faadacd3d05705497c1cf51a01a6606f
15392 Author: Martin Pitt <martinpitt@gnome.org>
15393 Date: Mon Apr 30 16:08:09 2012 +0200
15398 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15399 1 file changed, 66 insertions(+)
15401 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
15402 Author: Giovanni Campagna <gcampagna@src.gnome.org>
15403 Date: Sun Apr 29 23:55:15 2012 +0200
15405 GSettings: allow extra keyword arguments
15407 All GObject constructors are expected to accept any construct
15408 property as keyword argument, and overrides should respect that.
15409 In particular, not doing this for GSettings prevents using a custom
15412 https://bugzilla.gnome.org/show_bug.cgi?id=675105
15414 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15416 gi/overrides/Gio.py | 4 ++--
15417 1 file changed, 2 insertions(+), 2 deletions(-)
15419 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
15420 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15421 Date: Sun Apr 29 12:56:50 2012 -0300
15423 pygtkcompat: Correct Userlist module use
15425 https://bugzilla.gnome.org/show_bug.cgi?id=675084
15427 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15429 gi/pygtkcompat.py | 2 +-
15430 tests/test_pygtkcompat.py | 4 ++++
15431 2 files changed, 5 insertions(+), 1 deletion(-)
15433 commit 3551462a429ef30274fa01fc8111da5025f9c342
15434 Author: Martin Pitt <martinpitt@gnome.org>
15435 Date: Sun Apr 29 20:17:47 2012 +0200
15437 Add release-news make rule
15439 This produces a commit log since the previous release in our
15441 format. This does not currently wrap long lines automatically, though.
15443 Do include bug numbers from now on, as they are very useful.
15445 Makefile.am | 12 ++++++++++--
15446 1 file changed, 10 insertions(+), 2 deletions(-)
15448 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
15449 Author: Martin Pitt <martinpitt@gnome.org>
15450 Date: Wed Apr 25 13:07:59 2012 +0200
15452 Add "make check.nemiver" target
15454 Similar to "check.gdb", but invokes nemiver.
15456 Makefile.am | 3 +++
15457 tests/Makefile.am | 3 +++
15458 2 files changed, 6 insertions(+)
15460 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
15461 Author: Martin Pitt <martinpitt@gnome.org>
15462 Date: Tue Apr 24 13:24:00 2012 +0200
15464 Test flags and enums in GHash values
15466 https://bugzilla.gnome.org/show_bug.cgi?id=637466
15468 tests/test_everything.py | 18 ++++++++++++------
15469 1 file changed, 12 insertions(+), 6 deletions(-)
15471 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
15472 Author: Martin Pitt <martinpitt@gnome.org>
15473 Date: Tue Apr 24 13:03:36 2012 +0200
15475 tests: Activate test_hash_in and apply workaround
15477 Work around pygobject's current inability to produce a GStrv object
15479 string array by explicitly producing a GStrV object, and reactivate
15482 https://bugzilla.gnome.org/show_bug.cgi?id=666636
15484 tests/test_everything.py | 24 +++++++++++++-----------
15485 1 file changed, 13 insertions(+), 11 deletions(-)
15487 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
15488 Author: Martin Pitt <martinpitt@gnome.org>
15489 Date: Mon Apr 23 12:33:09 2012 +0200
15491 Add special case for Gdk.Atom array entries from Python
15493 Gdk.Atom pretends to be a struct pointer, but is really just an
15495 into a pointer. So we must not dereference it directly, nor free
15497 instead just copy the pointer value.
15499 Also add a few other test cases for "single Atom return", "single
15501 in", and Atom GList return", which already work fine.
15503 https://bugzilla.gnome.org/show_bug.cgi?id=661709
15505 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
15506 tests/Makefile.am | 1 +
15507 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
15508 3 files changed, 56 insertions(+), 4 deletions(-)
15510 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
15511 Author: Martin Pitt <martinpitt@gnome.org>
15512 Date: Mon Apr 23 20:09:43 2012 +0200
15514 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
15516 https://bugzilla.gnome.org/show_bug.cgi?id=667954
15518 tests/test_gdbus.py | 2 +-
15519 1 file changed, 1 insertion(+), 1 deletion(-)
15521 commit 3ae38d7519524288a57e5d522954b9d6725f0185
15522 Author: Martin Pitt <martinpitt@gnome.org>
15523 Date: Mon Apr 23 18:47:34 2012 +0200
15525 Add test case for Gtk.ListStore custom sort
15527 This works in Python 2, but crashes in Python 3, another case of
15529 we get when C calls a Python callback in Python 3.
15531 https://bugzilla.gnome.org/show_bug.cgi?id=674475
15533 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
15534 1 file changed, 31 insertions(+)
15536 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
15537 Author: Martin Pitt <martinpitt@gnome.org>
15538 Date: Mon Apr 23 17:40:23 2012 +0200
15540 GTK overrides: Add missing keyword arguments
15542 Add missing **kwargs to overridden __init__() constructors, to
15544 arbitrary widget properties.
15546 https://bugzilla.gnome.org/show_bug.cgi?id=660018
15548 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
15549 tests/test_overrides.py | 6 ++++++
15550 2 files changed, 24 insertions(+), 16 deletions(-)
15552 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
15553 Author: Martin Pitt <martinpitt@gnome.org>
15554 Date: Mon Apr 23 15:24:04 2012 +0200
15556 Add missing override for TreeModel.iter_previous()
15558 This should behave like the override for TreeModel.iter_next().
15560 https://bugzilla.gnome.org/show_bug.cgi?id=660018
15562 gi/overrides/Gtk.py | 6 ++++++
15563 tests/test_overrides.py | 4 ++++
15564 2 files changed, 10 insertions(+)
15566 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
15567 Author: Martin Pitt <martinpitt@gnome.org>
15568 Date: Sun Apr 22 16:45:06 2012 +0200
15570 pygi-convert.py: Drop obsolete drag method conversions
15572 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
15574 fixed a while ago to be proper Widget methods again.
15576 https://bugzilla.gnome.org/show_bug.cgi?id=652860
15578 pygi-convert.sh | 3 ---
15579 1 file changed, 3 deletions(-)
15581 commit f82eca6006dec21624796074af8ffe9b2256f7a4
15582 Author: Martin Pitt <martinpitt@gnome.org>
15583 Date: Sat Apr 21 14:00:50 2012 +0200
15585 tests: Replace deprecated assertEquals() with assertEqual()
15587 tests/test_everything.py | 144 ++++++-------
15588 tests/test_gi.py | 502
15589 +++++++++++++++++++++++-----------------------
15590 tests/test_gobject.py | 58 +++---
15591 tests/test_option.py | 6 +-
15592 tests/test_overrides.py | 352 ++++++++++++++++----------------
15593 tests/test_properties.py | 18 +-
15594 tests/test_pygtkcompat.py | 42 ++--
15595 7 files changed, 561 insertions(+), 561 deletions(-)
15597 commit ddb0bf01e694585d58af52673a21796e7c9578ea
15598 Author: Paolo Borelli <pborelli@gnome.org>
15599 Date: Sat Apr 21 12:02:54 2012 +0200
15601 Plug tiny leak in constant_info_get_value
15603 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
15605 gi/pygi-info.c | 1 +
15606 1 file changed, 1 insertion(+)
15608 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
15609 Author: Bastian Winkler <buz@netbuz.org>
15610 Date: Thu Apr 12 20:30:05 2012 +0200
15612 Fix len_arg_index for array arguments
15614 Don't set len_arg_index for arrays without the length annotation
15616 This fixes methods like Clutter.Texture.set_from_rgb_data() and
15617 Clutter.Image.set_data()
15619 https://bugzilla.gnome.org/show_bug.cgi?id=674271
15621 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15623 gi/pygi-cache.c | 4 +++-
15624 gi/pygi-marshal-cleanup.c | 4 ++--
15625 tests/test_gi.py | 3 +++
15626 3 files changed, 8 insertions(+), 3 deletions(-)
15628 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
15629 Author: Martin Pitt <martinpitt@gnome.org>
15630 Date: Thu Apr 19 13:11:56 2012 +0200
15632 Support defining GType properties from Python
15634 Commit 84e3471 fixed the handling of GType properties for properties
15636 defined in the C library already. Add the missing support for
15638 properties in Python as well.
15640 https://bugzilla.gnome.org/show_bug.cgi?id=674351
15642 gi/_gobject/gobjectmodule.c | 5 ++++-
15643 gi/_gobject/propertyhelper.py | 9 ++++++---
15644 tests/test_properties.py | 42
15645 +++++++++++++++++++++++++++++++++++++++---
15646 3 files changed, 49 insertions(+), 7 deletions(-)
15648 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
15649 Author: Martin Pitt <martinpitt@gnome.org>
15650 Date: Thu Apr 19 16:12:29 2012 +0200
15652 Fix typo in previous commit
15654 In the test case, actually assign the newly created object, so that
15656 properties of the right object.
15658 tests/test_everything.py | 2 +-
15659 1 file changed, 1 insertion(+), 1 deletion(-)
15661 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
15662 Author: Bastian Winkler <buz@netbuz.org>
15663 Date: Wed Apr 18 21:44:08 2012 +0200
15665 Handle GType properties correctly
15667 Fix conversion from/to properties of type G_TYPE_GTYPE
15669 https://bugzilla.gnome.org/show_bug.cgi?id=674351
15671 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15673 gi/_gobject/pygtype.c | 9 +++++++--
15674 tests/test_everything.py | 15 +++++++++++++++
15675 2 files changed, 22 insertions(+), 2 deletions(-)
15677 commit d1362451e070e156d2f49c9cde930cc38befb12b
15678 Author: Martin Pitt <martinpitt@gnome.org>
15679 Date: Thu Apr 19 07:27:10 2012 +0200
15681 Add missing GObject.TYPE_GTYPE
15683 gi/_gobject/__init__.py | 1 +
15684 gi/_gobject/constants.py | 1 +
15685 2 files changed, 2 insertions(+)
15687 commit d3225f1540e09719caa73e52d402e946da3add24
15688 Author: Martin Pitt <martinpitt@gnome.org>
15689 Date: Tue Apr 10 12:44:00 2012 +0200
15691 Fix test_mainloop.py for Python 3
15693 tests/test_mainloop.py | 9 +++++++--
15694 1 file changed, 7 insertions(+), 2 deletions(-)
15696 commit 903283119896f3e054694484da4147788b02ce60
15697 Author: Martin Pitt <martinpitt@gnome.org>
15698 Date: Mon Apr 9 15:20:39 2012 +0200
15700 Make callback exception propagation test stricter
15702 Propagating Python exceptions from callbacks through the C context
15704 original caller does not currently happen, is nontrivial/unsafe
15706 and not desirable at this point any more as by now we have established
15708 current behaviour. So remove the catching of ZeroDivisionError in
15711 https://bugzilla.gnome.org/show_bug.cgi?id=616279
15713 tests/test_everything.py | 16 ++++++++--------
15714 1 file changed, 8 insertions(+), 8 deletions(-)
15716 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
15717 Author: Simon Feltman <s.feltman@gmail.com>
15718 Date: Sun Mar 18 15:59:58 2012 -0700
15720 Add context management to freeze_notify() and handler_block().
15722 These methods now return a context manager object. Within the
15724 thaw_notify() and handler_unblock() are called respectively. This
15726 statements like the following:
15728 with obj.freeze_notify():
15729 obj.props.width = 100
15730 obj.props.height = 100
15731 obj.props.opacity = 0.5
15733 This does not affect standard usage of these methods.
15735 https://bugzilla.gnome.org/show_bug.cgi?id=672324
15737 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15739 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
15740 tests/test_gobject.py | 158
15741 ++++++++++++++++++++++++++++++++++++++++++++++++
15742 2 files changed, 288 insertions(+), 8 deletions(-)
15744 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
15745 Author: Martin Pitt <martinpitt@gnome.org>
15746 Date: Wed Apr 4 19:08:54 2012 +0200
15748 Add support for GFlags properties
15750 https://bugzilla.gnome.org/show_bug.cgi?id=620943
15752 gi/_gobject/propertyhelper.py | 9 +++++++--
15753 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
15754 2 files changed, 34 insertions(+), 3 deletions(-)
15756 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
15757 Author: Martin Pitt <martinpitt@gnome.org>
15758 Date: Wed Apr 4 17:54:52 2012 +0200
15760 Wrap GLib.Source.is_destroyed() method
15762 Based on original patch from Bryan Silverthorn.
15764 https://bugzilla.gnome.org/show_bug.cgi?id=524719
15766 gi/_glib/pygsource.c | 15 +++++++++++++++
15767 tests/test_source.py | 24 ++++++++++++++++++++++++
15768 2 files changed, 39 insertions(+)
15770 commit 05030a95a4d3090162ed5f510a26d69bbb152942
15771 Author: Martin Pitt <martinpitt@gnome.org>
15772 Date: Wed Apr 4 15:59:24 2012 +0200
15774 Fix error message when trying to override a non-GI class
15776 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
15778 https://bugzilla.gnome.org/show_bug.cgi?id=646667
15780 gi/overrides/__init__.py | 7 ++++---
15781 tests/test_overrides.py | 13 +++++++++++++
15782 2 files changed, 17 insertions(+), 3 deletions(-)
15784 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
15785 Author: Steve Frécinaux <code@istique.net>
15786 Date: Wed Apr 4 15:30:55 2012 +0200
15788 Fix segfault when accessing __grefcount__ before creating the GObject
15790 When creating a new instance using Type() and trying to access
15791 __grefcount__ before calling the subclass's __init__ function, there
15792 used to be a segmentation fault because we were trying to access the
15793 not yet created object. Now raise a proper exception instead.
15795 https://bugzilla.gnome.org/show_bug.cgi?id=640434
15797 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
15799 gi/_gobject/pygobject.c | 4 ++++
15800 tests/test_gobject.py | 11 +++++++++++
15801 2 files changed, 15 insertions(+)
15803 commit 24cc09a7105299805fcc5bc151f53ac69958d728
15804 Author: Steve Frécinaux <code@istique.net>
15805 Date: Wed Feb 9 18:37:33 2011 +0100
15807 Do not bind gobject_get_data() and gobject_set_data()
15809 They will basically cause a crash if misused, and you can always use a
15810 python member attribute instead.
15812 https://bugzilla.gnome.org/show_bug.cgi?id=641944
15814 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15816 gi/_gobject/pygobject.c | 40 ----------------------------------------
15817 1 file changed, 40 deletions(-)
15819 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
15820 Author: Martin Pitt <martinpitt@gnome.org>
15821 Date: Tue Apr 3 22:26:34 2012 +0200
15823 Add test case for multiple GLib.MainLoop instances
15825 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
15829 https://bugzilla.gnome.org/show_bug.cgi?id=663068
15831 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
15832 1 file changed, 24 insertions(+), 1 deletion(-)
15834 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
15835 Author: John (J5) Palmieri <johnp@redhat.com>
15836 Date: Tue Feb 21 15:13:42 2012 +0100
15838 Add a ccallback type which is used to invoke callbacks passed to
15841 Used when overriding methods like gtk_container_forall wich pass in a
15842 callback that needs to be executed on internal children:
15843 def do_forall(self, callback, userdata):
15844 callback(self.custom_child, userdata)
15846 https://bugzilla.gnome.org/show_bug.cgi?id=644926
15848 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
15849 Co-authored-by: Simon Schampijer <simon@laptop.org>
15851 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15853 gi/Makefile.am | 2 +
15854 gi/gimodule.c | 1 +
15855 gi/module.py | 5 +++
15856 gi/pygi-argument.c | 12 +----
15857 gi/pygi-cache.c | 28 ++++++++++--
15858 gi/pygi-cache.h | 9 ++--
15859 gi/pygi-ccallback.c | 100
15860 ++++++++++++++++++++++++++++++++++++++++++
15861 gi/pygi-ccallback.h | 41 +++++++++++++++++
15862 gi/pygi-closure.c | 50 ++++++++++++++++++++-
15863 gi/pygi-invoke-state-struct.h | 2 +
15864 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
15865 gi/pygi-invoke.h | 3 ++
15866 gi/pygi-private.h | 1 +
15867 gi/pygi.h | 10 +++++
15868 tests/test_gi.py | 16 +++++++
15869 15 files changed, 312 insertions(+), 41 deletions(-)
15871 commit db7e1d078db16b6f11dee51aa97525c451346632
15872 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
15873 Date: Tue Mar 27 17:34:48 2012 +0200
15875 Regression test: marshalling GValues in GHashTable
15877 https://bugzilla.gnome.org/show_bug.cgi?id=668903
15879 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15881 tests/test_everything.py | 19 +++++++++++++++++++
15882 1 file changed, 19 insertions(+)
15884 commit 7c0017c30129a8db391f902ed592782200d69c64
15885 Author: Martin Pitt <martin.pitt@ubuntu.com>
15886 Date: Mon Mar 26 17:55:41 2012 +0200
15888 Bump version to 3.3.1
15890 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
15892 continue with 3.3.x on master.
15894 configure.ac | 4 ++--
15895 1 file changed, 2 insertions(+), 2 deletions(-)
15897 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
15898 Author: Martin Pitt <martin.pitt@ubuntu.com>
15899 Date: Mon Mar 26 17:51:37 2012 +0200
15903 - Ignore *.o, backup files, and generated Makefiles in all
15905 - Ignore *.pyc files.
15906 - Do not ignore .gitignore, we actually want to track this.
15909 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15910 1 file changed, 61 insertions(+)
15912 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
15913 Author: Martin Pitt <martin.pitt@ubuntu.com>
15914 Date: Mon Mar 26 17:45:08 2012 +0200
15916 Fix "distcheck" and tests with out-of-tree builds
15918 - Symlink *.py files from srcdir into builddir during build, as
15920 accept the extensions and modules in different paths.
15921 - "make clean" should remove *.pyc files
15922 - tests/runtests.py: Look for tests in srcdir, not in builddir
15924 Makefile.am | 6 ++++--
15925 gi/Makefile.am | 13 +++++++++++--
15926 gi/_glib/Makefile.am | 12 ++++++++++--
15927 gi/_gobject/Makefile.am | 12 ++++++++++--
15928 gi/overrides/Makefile.am | 10 ++++++++++
15929 gi/repository/Makefile.am | 11 +++++++++++
15930 tests/runtests.py | 6 ++++--
15931 7 files changed, 60 insertions(+), 10 deletions(-)
15933 commit f83d95e6fff572bda659a48e309b4524dafa4e83
15934 Author: Johan Dahlin <johan@gnome.org>
15935 Date: Thu Mar 22 11:14:03 2012 -0300
15937 Add a pep8 check to the makefile
15939 Also reorganize the pyflakes check, since target dependencies do not
15940 take the exit status of the shell command into account.
15942 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15944 tests/Makefile.am | 9 ++++-----
15945 1 file changed, 4 insertions(+), 5 deletions(-)
15947 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
15948 Author: Johan Dahlin <johan@gnome.org>
15949 Date: Thu Mar 22 10:56:59 2012 -0300
15951 PEP8: Remaining whitespace fixes
15953 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15955 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
15956 demos/gtk-demo/demos/Tree View/liststore.py | 28
15957 +++++++++++++-------------
15958 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
15959 demos/gtk-demo/demos/rotatedtext.py | 2 +-
15960 examples/cairo-demo.py | 4 ++--
15961 tests/test_gi.py | 12 +++++------
15962 tests/test_overrides.py | 2 +-
15963 7 files changed, 32 insertions(+), 33 deletions(-)
15965 commit 032fcce2bf6070a9001cbb780e90403051e303b1
15966 Author: Johan Dahlin <johan@gnome.org>
15967 Date: Thu Mar 22 10:56:03 2012 -0300
15969 PEP8: Add spaces before #
15971 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15973 demos/gtk-demo/demos/drawingarea.py | 6 +++---
15974 demos/gtk-demo/demos/images.py | 10 +++++-----
15975 demos/gtk-demo/demos/rotatedtext.py | 2 +-
15976 gi/__init__.py | 2 +-
15977 gi/_glib/option.py | 2 +-
15978 gi/_gobject/__init__.py | 2 +-
15979 gi/overrides/GLib.py | 12 ++++++------
15980 gi/types.py | 4 ++--
15981 tests/runtests.py | 2 +-
15982 tests/test_gdbus.py | 4 ++--
15983 10 files changed, 23 insertions(+), 23 deletions(-)
15985 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
15986 Author: Johan Dahlin <johan@gnome.org>
15987 Date: Thu Mar 22 10:52:05 2012 -0300
15989 PEP8: Add missing whitespace after : and ,
15991 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15993 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
15994 demos/gtk-demo/demos/appwindow.py | 2 +-
15995 tests/test_everything.py | 23 +++++++++--------------
15996 tests/test_gi.py | 2 +-
15997 tests/test_overrides.py | 2 +-
15998 5 files changed, 13 insertions(+), 18 deletions(-)
16000 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
16001 Author: Johan Dahlin <johan@gnome.org>
16002 Date: Thu Mar 22 10:49:52 2012 -0300
16004 PEP8: Remove too whitespace before }
16006 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16008 tests/test_overrides.py | 2 +-
16009 1 file changed, 1 insertion(+), 1 deletion(-)
16011 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
16012 Author: Johan Dahlin <johan@gnome.org>
16013 Date: Thu Mar 22 10:49:27 2012 -0300
16015 PEP8: Remove too many blank lines
16017 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16019 demos/gtk-demo/demos/rotatedtext.py | 1 -
16020 tests/test_overrides.py | 1 -
16021 2 files changed, 2 deletions(-)
16023 commit 03e597cb8f3b075efae556ee51a598695a883ad3
16024 Author: Johan Dahlin <johan@gnome.org>
16025 Date: Thu Mar 22 10:48:59 2012 -0300
16027 PEP8: Fix whitespace around operators
16029 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16031 demos/gtk-demo/demos/images.py | 2 +-
16032 examples/cairo-demo.py | 8 ++++----
16033 tests/test_gi.py | 4 ++--
16034 tests/test_overrides.py | 8 ++++----
16035 tests/test_properties.py | 14 +++++++-------
16036 tests/test_signal.py | 2 +-
16037 6 files changed, 19 insertions(+), 19 deletions(-)
16039 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
16040 Author: Johan Dahlin <johan@gnome.org>
16041 Date: Thu Mar 22 10:46:17 2012 -0300
16043 PEP8: Remove whitespace before (
16045 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16047 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
16048 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
16049 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
16050 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
16051 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
16052 demos/gtk-demo/demos/dialogs.py | 12 ++---
16053 demos/gtk-demo/demos/pickers.py | 8 ++--
16054 demos/gtk-demo/demos/pixbuf.py | 4 +-
16055 demos/gtk-demo/demos/printing.py | 8 ++--
16056 demos/gtk-demo/demos/rotatedtext.py | 2 +-
16057 demos/gtk-demo/gtk-demo.py | 4 +-
16058 gi/module.py | 4 +-
16059 gi/overrides/Pango.py | 2 +-
16060 gi/pygtkcompat.py | 4 +-
16061 tests/test_everything.py | 4 +-
16062 tests/test_overrides.py | 62
16063 +++++++++++++-------------
16064 16 files changed, 68 insertions(+), 68 deletions(-)
16066 commit b04d209930ab01bae6563b0d714aec829739bdc6
16067 Author: Johan Dahlin <johan@gnome.org>
16068 Date: Thu Mar 22 10:40:46 2012 -0300
16070 PEP8: Remove whitespace around {}
16072 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16074 tests/test_signal.py | 20 ++++++++++----------
16075 1 file changed, 10 insertions(+), 10 deletions(-)
16077 commit 725483a5dc36739dc7836716b5d6d48091564bf8
16078 Author: Johan Dahlin <johan@gnome.org>
16079 Date: Thu Mar 22 10:38:59 2012 -0300
16081 PEP8: run via --fix from craigds fork
16083 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16085 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
16086 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
16087 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
16088 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
16089 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
16090 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
16091 demos/gtk-demo/demos/appwindow.py | 13 +++++-
16092 demos/gtk-demo/demos/assistant.py | 1 +
16093 demos/gtk-demo/demos/builder.py | 1 +
16094 demos/gtk-demo/demos/button_box.py | 1 +
16095 demos/gtk-demo/demos/clipboard.py | 2 +-
16096 demos/gtk-demo/demos/colorselector.py | 1 +
16097 demos/gtk-demo/demos/combobox.py | 4 +-
16098 demos/gtk-demo/demos/dialogs.py | 2 +
16099 demos/gtk-demo/demos/drawingarea.py | 1 +
16100 demos/gtk-demo/demos/expander.py | 4 +-
16101 demos/gtk-demo/demos/images.py | 10 +++--
16102 demos/gtk-demo/demos/infobars.py | 2 +
16103 demos/gtk-demo/demos/links.py | 2 +
16104 demos/gtk-demo/demos/menus.py | 2 +
16105 demos/gtk-demo/demos/pickers.py | 2 +
16106 demos/gtk-demo/demos/pixbuf.py | 2 +
16107 demos/gtk-demo/demos/printing.py | 5 ++-
16108 demos/gtk-demo/demos/rotatedtext.py | 4 +-
16109 demos/gtk-demo/demos/test.py | 1 +
16110 demos/gtk-demo/gtk-demo.py | 9 ++--
16111 examples/cairo-demo.py | 57
16112 ++++++++++++++----------
16113 examples/option.py | 1 -
16114 examples/properties.py | 1 +
16115 examples/signal.py | 4 ++
16116 gi/__init__.py | 2 +
16117 gi/_glib/option.py | 4 +-
16118 gi/_gobject/__init__.py | 1 +
16119 gi/_gobject/propertyhelper.py | 5 ++-
16120 gi/module.py | 3 ++
16121 gi/overrides/GIMarshallingTests.py | 2 +
16122 gi/overrides/GLib.py | 12 +++--
16123 gi/overrides/Gdk.py | 9 ++++
16124 gi/overrides/Gio.py | 4 ++
16125 gi/overrides/Gtk.py | 56
16126 ++++++++++++++++++++---
16127 gi/overrides/Pango.py | 2 +
16128 gi/overrides/__init__.py | 5 ++-
16129 gi/pygtkcompat.py | 16 +++++--
16131 tests/test_everything.py | 30 +++++++++----
16132 tests/test_gdbus.py | 1 +
16133 tests/test_gi.py | 30 +++++++------
16134 tests/test_gobject.py | 3 +-
16135 tests/test_mainloop.py | 1 +
16136 tests/test_option.py | 1 +
16137 tests/test_overrides.py | 55
16138 ++++++++++++-----------
16139 tests/test_properties.py | 11 ++++-
16140 tests/test_signal.py | 32 ++++++++++++-
16141 tests/test_source.py | 1 +
16142 tests/test_subprocess.py | 1 +
16143 tests/test_thread.py | 1 +
16144 tests/test_uris.py | 1 +
16145 tests/testmodule.py | 1 +
16146 58 files changed, 326 insertions(+), 111 deletions(-)
16148 commit 917275d4aa81db39ccaca34fa514032fb80a3187
16149 Author: Johan Dahlin <johan@gnome.org>
16150 Date: Thu Mar 22 10:33:29 2012 -0300
16152 PEP8: Remove spaces around = for keyword arguments
16154 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16156 demos/gtk-demo/demos/appwindow.py | 8 ++++----
16157 demos/gtk-demo/demos/colorselector.py | 4 ++--
16158 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
16159 examples/option.py | 4 ++--
16160 gi/_glib/option.py | 2 +-
16161 gi/overrides/Gtk.py | 2 +-
16162 tests/test_gi.py | 26 +++++++++++++-------------
16163 tests/test_option.py | 2 +-
16164 tests/test_overrides.py | 8 ++++----
16165 9 files changed, 40 insertions(+), 40 deletions(-)
16167 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
16168 Author: Johan Dahlin <johan@gnome.org>
16169 Date: Thu Mar 22 10:28:28 2012 -0300
16171 PEP8: Remove trailing ;
16173 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16175 demos/gtk-demo/demos/appwindow.py | 4 ++--
16176 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
16177 demos/gtk-demo/demos/links.py | 2 +-
16178 demos/gtk-demo/demos/pixbuf.py | 2 +-
16179 demos/gtk-demo/demos/printing.py | 8 ++++----
16180 gi/overrides/Gtk.py | 4 ++--
16181 tests/test_everything.py | 22 +++++++++++-----------
16182 tests/test_gi.py | 2 +-
16183 tests/test_overrides.py | 8 ++++----
16184 9 files changed, 41 insertions(+), 41 deletions(-)
16186 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
16187 Author: Johan Dahlin <johan@gnome.org>
16188 Date: Thu Mar 22 10:24:40 2012 -0300
16190 Remove all tabs and fix indentation
16192 By running the whole source tree via the indent.py script found
16193 in the Python distribution.
16195 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
16196 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
16197 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
16198 demos/gtk-demo/demos/appwindow.py | 18 +--
16199 demos/gtk-demo/demos/dialogs.py | 26 ++---
16200 demos/gtk-demo/demos/expander.py | 6 +-
16201 demos/gtk-demo/demos/images.py | 2 +-
16202 demos/gtk-demo/demos/links.py | 2 +-
16203 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
16204 gi/_glib/option.py | 2 +-
16205 gi/_gobject/constants.py | 1 -
16206 gi/importer.py | 1 -
16207 gi/module.py | 10 +-
16208 gi/overrides/GLib.py | 11 +-
16209 gi/overrides/Gdk.py | 30 ++---
16210 gi/overrides/Gio.py | 4 +-
16211 gi/overrides/Gtk.py | 150
16212 ++++++++++++-------------
16213 gi/overrides/Pango.py | 1 -
16214 gi/overrides/__init__.py | 10 +-
16215 gi/pygtkcompat.py | 2 +-
16216 tests/compathelper.py | 2 +-
16217 tests/runtests.py | 19 ++--
16218 tests/test_everything.py | 22 ++--
16219 tests/test_gdbus.py | 11 +-
16220 tests/test_gi.py | 38 +++----
16221 tests/test_gobject.py | 2 +-
16222 tests/test_interface.py | 1 -
16223 tests/test_option.py | 1 -
16224 tests/test_overrides.py | 78 ++++++-------
16225 tests/test_properties.py | 2 +-
16226 tests/test_uris.py | 1 -
16227 31 files changed, 255 insertions(+), 271 deletions(-)
16229 commit c375e3136f0f48eb8a6717c0053155db088b329d
16230 Author: Martin Pitt <martin.pitt@ubuntu.com>
16231 Date: Thu Mar 22 10:32:43 2012 +0100
16233 tests: Replace deprecated Python API
16235 failIf → assertFalse, failUnless → assertTrue
16237 Caught by the previous commit of making deprecations fatal.
16239 tests/test_option.py | 10 +++----
16240 tests/test_overrides.py | 66
16241 +++++++++++++++++++++++------------------------
16242 tests/test_properties.py | 14 +++++-----
16243 tests/test_pygtkcompat.py | 18 ++++++-------
16244 tests/test_signal.py | 4 +--
16245 5 files changed, 56 insertions(+), 56 deletions(-)
16247 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
16248 Author: Martin Pitt <martin.pitt@ubuntu.com>
16249 Date: Thu Mar 22 10:31:22 2012 +0100
16251 Fail tests if they use or encounter deprecations
16253 tests/Makefile.am | 2 +-
16254 1 file changed, 1 insertion(+), 1 deletion(-)
16256 commit 65762243a34af014950527c323a51a29d40fb3e1
16257 Author: Martin Pitt <martin.pitt@ubuntu.com>
16258 Date: Thu Mar 22 10:15:16 2012 +0100
16260 Do not run tests in two phases any more
16262 As we dropped the static bindings a while ago, there is no need any
16264 the tests in two phases (static/GI). Now just run them all in one go,
16265 simplifying tests/Makefile.am.
16267 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
16269 needs to happen even further, so move it from tests/test_overrides.py
16273 tests/Makefile.am | 33 ++++++++++++---------------------
16274 tests/runtests.py | 7 +++++++
16275 tests/test_overrides.py | 6 ------
16276 3 files changed, 19 insertions(+), 27 deletions(-)
16278 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
16279 Author: Martin Pitt <martin.pitt@ubuntu.com>
16280 Date: Thu Mar 22 09:58:21 2012 +0100
16282 test_overrides: Find local gsettings schema with current glib
16284 With current glib, gsettings now fails to find the gschemas.compiled
16286 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
16288 which makes this work again.
16290 tests/test_overrides.py | 9 +++++----
16291 1 file changed, 5 insertions(+), 4 deletions(-)
16293 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
16294 Author: Paolo Borelli <pborelli@gnome.org>
16295 Date: Wed Mar 21 21:09:24 2012 +0100
16297 Add GtkComboBoxEntry compatibility
16299 This widget has been removed in Gtk+ 3, add a small wrapper to the
16300 compat module to make at least basic pygtk programs that use it work.
16302 https://bugzilla.gnome.org/show_bug.cgi?id=672589
16304 gi/pygtkcompat.py | 19 +++++++++++++++++++
16305 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
16306 2 files changed, 41 insertions(+)
16308 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
16309 Author: Johan Dahlin <johan@gnome.org>
16310 Date: Wed Mar 21 16:01:35 2012 -0300
16312 Correct review comments from Martin
16314 https://bugzilla.gnome.org/show_bug.cgi?id=672578
16316 tests/test_everything.py | 4 ++--
16317 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
16318 2 files changed, 20 insertions(+), 2 deletions(-)
16320 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
16321 Author: Johan Dahlin <johan@gnome.org>
16322 Date: Wed Mar 21 14:45:53 2012 -0300
16324 Correct pyflakes warnings/errors
16326 And add a target to make check that runs pyflakes.
16328 https://bugzilla.gnome.org/show_bug.cgi?id=672578
16330 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
16331 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
16332 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
16333 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
16334 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
16335 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
16336 demos/gtk-demo/demos/appwindow.py | 13 +-
16337 demos/gtk-demo/demos/assistant.py | 4 +-
16338 demos/gtk-demo/demos/builder.py | 4 +-
16339 demos/gtk-demo/demos/button_box.py | 2 +-
16340 demos/gtk-demo/demos/clipboard.py | 2 +-
16341 demos/gtk-demo/demos/colorselector.py | 2 +-
16342 demos/gtk-demo/demos/combobox.py | 4 +-
16343 demos/gtk-demo/demos/dialogs.py | 4 +-
16344 demos/gtk-demo/demos/drawingarea.py | 2 +-
16345 demos/gtk-demo/demos/expander.py | 4 +-
16346 demos/gtk-demo/demos/images.py | 8 +-
16347 demos/gtk-demo/demos/infobars.py | 2 +-
16348 demos/gtk-demo/demos/links.py | 2 +-
16349 demos/gtk-demo/demos/menus.py | 5 +-
16350 demos/gtk-demo/demos/pickers.py | 2 +-
16351 demos/gtk-demo/demos/pixbuf.py | 2 +-
16352 demos/gtk-demo/demos/printing.py | 3 +-
16353 demos/gtk-demo/demos/rotatedtext.py | 6 +-
16354 demos/gtk-demo/gtk-demo.py | 9 +-
16355 examples/cairo-demo.py | 2 +-
16356 gi/__init__.py | 4 +
16357 gi/_glib/__init__.py | 101 ++++++++++-
16358 gi/_glib/option.py | 1 +
16359 gi/_gobject/__init__.py | 203
16360 ++++++++++++++++++++---
16361 gi/_gobject/constants.py | 2 -
16362 gi/_gobject/propertyhelper.py | 4 +-
16363 gi/importer.py | 2 +-
16365 gi/overrides/Gtk.py | 1 -
16366 gi/overrides/__init__.py | 1 -
16367 gi/pygtkcompat.py | 2 +
16369 tests/Makefile.am | 5 +
16370 tests/test_everything.py | 6 +-
16371 tests/test_gi.py | 8 +-
16372 tests/test_option.py | 10 +-
16373 tests/test_overrides.py | 30 ++--
16374 tests/test_properties.py | 12 +-
16375 tests/test_pygtkcompat.py | 4 -
16376 tests/test_signal.py | 4 +-
16377 tests/test_source.py | 6 +-
16378 47 files changed, 377 insertions(+), 138 deletions(-)
16380 commit 39650906559fcc39b4be406fa7e25c4788d349a3
16381 Author: Martin Pitt <martin.pitt@ubuntu.com>
16382 Date: Wed Mar 21 16:59:33 2012 +0100
16384 Make tests fail on CRITICAL logs, too, and apply to all tests
16386 Instead of setting warnings/criticals to fatal in individual test
16388 it in runtests.py, so that it applies to all tests.
16390 We currently have some tests which are known to generate CRITICALs
16392 with FIXME), and some WARNINGs (as they test behaviour with known-bad
16394 For these, warnings/criticals are now explicitly permitted.
16396 tests/runtests.py | 1 +
16397 tests/test_gi.py | 7 ++++++-
16398 tests/test_overrides.py | 14 +++++++-------
16399 tests/test_properties.py | 36 +++++++++++++++++++++---------------
16400 4 files changed, 35 insertions(+), 23 deletions(-)
16402 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
16403 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
16404 Date: Tue Mar 20 14:55:07 2012 +0400
16406 Support marshalling GI_TYPE_TAG_INTERFACE
16408 Marshalling of interfaces got broken with commit
16409 7746d2188ac4933c2c9011d84525d1e62fc18953.
16411 Also, do not abort on unsupported types, but log a critical failure
16415 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16417 gi/pygi-marshal-from-py.c | 3 ++-
16418 gi/pygi-marshal-to-py.c | 3 ++-
16419 2 files changed, 4 insertions(+), 2 deletions(-)
16421 commit 8d85d6639778ec6364235071d272d67e7aae49ae
16422 Author: Martin Pitt <martin.pitt@ubuntu.com>
16423 Date: Wed Mar 21 14:34:36 2012 +0100
16425 Fix warnings on None values in added tree/list store rows
16427 Commit bf8c95836e1c changed the List/TreeStore overrides to use
16428 insert_with_valuesv(), but supplied all columns instead of just
16430 not None. With this, None values cause warnings like
16432 (runtests.py:12375): Gtk-WARNING **:
16433 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
16434 convert from (null) to gboolean
16436 Update the tests to make warnings fatal, to catch this better.
16438 Change _convert_row() to skip the None entries and return the list
16440 columns, and use the latter instead of a simple range(n_columns). This
16442 the behaviour before bf8c95836e1c, where columns with None values
16446 https://bugzilla.gnome.org/show_bug.cgi?id=672463
16448 gi/overrides/Gtk.py | 26 ++++++++++++++------------
16449 tests/test_overrides.py | 5 +++++
16450 2 files changed, 19 insertions(+), 12 deletions(-)
16452 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
16453 Author: Martin Pitt <martin.pitt@ubuntu.com>
16454 Date: Wed Mar 21 15:21:02 2012 +0100
16456 pygtkcompat test: Properly clean up PixbufLoader
16458 Tests currently give
16460 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
16461 without calling gdk_pixbuf_loader_close() - this is not allowed. You
16462 must explicitly end the data stream to the loader before dropping
16463 the last reference.
16465 Fix this by calling close().
16467 tests/test_pygtkcompat.py | 3 ++-
16468 1 file changed, 2 insertions(+), 1 deletion(-)
16470 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
16471 Author: Martin Pitt <martin.pitt@ubuntu.com>
16472 Date: Mon Mar 19 16:58:22 2012 +0100
16476 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
16478 configure.ac | 2 +-
16479 1 file changed, 1 insertion(+), 1 deletion(-)
16481 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
16482 Author: Martin Pitt <martin.pitt@ubuntu.com>
16483 Date: Mon Mar 19 16:41:17 2012 +0100
16487 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
16488 1 file changed, 46 insertions(+)
16490 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
16491 Author: Martin Pitt <martin.pitt@ubuntu.com>
16492 Date: Mon Mar 19 16:14:54 2012 +0100
16494 README: Update current maintainers
16496 Also update Martin's email address.
16498 README | 10 ++++++----
16499 pygobject.doap | 2 +-
16500 2 files changed, 7 insertions(+), 5 deletions(-)
16502 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
16503 Author: Martin Pitt <martin.pitt@ubuntu.com>
16504 Date: Mon Mar 19 16:11:22 2012 +0100
16506 Bump version to 3.1.92, in sync with GNOME
16508 configure.ac | 2 +-
16509 1 file changed, 1 insertion(+), 1 deletion(-)
16511 commit 77d358f8c5f524259249ea686899e3a4da05562e
16512 Author: Johan Dahlin <johan@gnome.org>
16513 Date: Mon Mar 19 11:54:07 2012 -0300
16515 Correct Gtk.TreePath.__iter__ to work with Python 3
16517 gi/overrides/Gtk.py | 2 +-
16518 1 file changed, 1 insertion(+), 1 deletion(-)
16520 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
16521 Author: Martin Pitt <martin.pitt@ubuntu.com>
16522 Date: Mon Mar 19 15:54:13 2012 +0100
16524 Fix pygtkcompat.py to work with Python 3
16526 gi/pygtkcompat.py | 20 +++++++++++++++-----
16527 1 file changed, 15 insertions(+), 5 deletions(-)
16529 commit 96a9f92da801989464fbcedf6d849819f6dbea64
16530 Author: Martin Pitt <martin.pitt@ubuntu.com>
16531 Date: Mon Mar 19 15:32:22 2012 +0100
16533 Fix test_everything.TestSignals.test_object_param_signal test case
16535 The callback gets two arguments, not one. This short-circuited
16537 assertions. Fix the arguments and update the refcount check, as it
16539 exactly two at the moment.
16541 tests/test_everything.py | 4 ++--
16542 1 file changed, 2 insertions(+), 2 deletions(-)
16544 commit ba00afb1e50759b2b321f16e05a15946053cdafa
16545 Author: Johan Dahlin <johan@gnome.org>
16546 Date: Mon Mar 19 10:58:09 2012 -0300
16548 pygtkcompat: Remove first argument for get_origin()
16550 gi/pygtkcompat.py | 5 +++++
16551 tests/test_pygtkcompat.py | 5 +++++
16552 2 files changed, 10 insertions(+)
16554 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
16555 Author: Johan Dahlin <johan@gnome.org>
16556 Date: Fri Mar 16 16:08:44 2012 -0300
16558 GtkViewport: Add a default values for the adjustment constructor
16561 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16563 gi/overrides/Gtk.py | 10 ++++++++++
16564 tests/test_overrides.py | 11 +++++++++++
16565 2 files changed, 21 insertions(+)
16567 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
16568 Author: Johan Dahlin <johan@gnome.org>
16569 Date: Fri Mar 16 16:08:23 2012 -0300
16571 GtkIconSet: Add a default value for the pixbuf constructor parameter
16573 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16575 gi/overrides/Gtk.py | 11 +++++++++++
16576 tests/test_overrides.py | 6 ++++++
16577 2 files changed, 17 insertions(+)
16579 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
16580 Author: Johan Dahlin <johan@gnome.org>
16581 Date: Fri Mar 16 16:07:30 2012 -0300
16583 PangoLayout: Add a default value for set_markup()
16585 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16587 gi/overrides/Pango.py | 3 +++
16588 tests/test_overrides.py | 4 ++++
16589 2 files changed, 7 insertions(+)
16591 commit a3ca47b086b7fcf084282be788c5d737dde847ac
16592 Author: Johan Dahlin <johan@gnome.org>
16593 Date: Fri Mar 16 16:06:37 2012 -0300
16595 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
16598 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16600 gi/overrides/Gtk.py | 15 +++++++++++++++
16601 tests/test_overrides.py | 14 ++++++++++++++
16602 2 files changed, 29 insertions(+)
16604 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
16605 Author: Johan Dahlin <johan@gnome.org>
16606 Date: Fri Mar 16 16:06:12 2012 -0300
16608 GtkToolButton: Add a default value for the stock_id constructor
16611 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16613 gi/overrides/Gtk.py | 10 ++++++++++
16614 tests/test_overrides.py | 9 ++++++++-
16615 2 files changed, 18 insertions(+), 1 deletion(-)
16617 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
16618 Author: Johan Dahlin <johan@gnome.org>
16619 Date: Fri Mar 16 16:05:55 2012 -0300
16621 GtkIconView: Add a default value for the model constructor parameter
16623 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16625 gi/overrides/Gtk.py | 3 +++
16626 tests/test_overrides.py | 11 +++++++++++
16627 2 files changed, 14 insertions(+)
16629 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
16630 Author: Johan Dahlin <johan@gnome.org>
16631 Date: Thu Mar 15 15:22:46 2012 -0300
16633 Add a default value for column in Gtk.TreeView.get_cell_area()
16635 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16637 gi/overrides/Gtk.py | 5 +++++
16638 tests/test_overrides.py | 3 +++
16639 2 files changed, 8 insertions(+)
16641 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
16642 Author: Martin Pitt <martin.pitt@ubuntu.com>
16643 Date: Thu Mar 15 09:48:10 2012 +0100
16645 Atomic inserts in Gtk.{List,Tree}Store overrides
16647 Gtk.{List,Tree}Store's overrides provide append(), insert()
16649 take an optional data row array. If this is given, use
16650 insert_with_valuesv()
16651 instead of creating a new iter and then filling it with data. The
16653 row-added signal, at which time the row was still empty, and a
16655 row-changed signal. With this we only get a single row-added
16659 Note that this does not change insert_{before,after}(), as there is no
16660 counterpart of insert_with_valuesv() which takes a TreeIter instead
16662 position. For those you will still get two signals, and have to deal
16666 https://bugzilla.gnome.org/show_bug.cgi?id=671610
16668 gi/overrides/Gtk.py | 81
16669 ++++++++++++++++++++++++++++++-------------------
16670 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
16671 2 files changed, 124 insertions(+), 31 deletions(-)
16673 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
16674 Author: Martin Pitt <martin.pitt@ubuntu.com>
16675 Date: Sun Mar 18 16:07:26 2012 +0100
16677 Fix Gtk.Button constructor to accept use_stock parameter
16679 Thanks to kalanzun@googlemail.com!
16681 https://bugzilla.gnome.org/show_bug.cgi?id=672318
16683 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16685 gi/overrides/Gtk.py | 4 +---
16686 tests/test_overrides.py | 6 ++++++
16687 2 files changed, 7 insertions(+), 3 deletions(-)
16689 commit 466337cf2fd091738eeab12c10d250a9d0827284
16690 Author: Johan Dahlin <johan@gnome.org>
16691 Date: Fri Mar 16 16:55:47 2012 -0300
16693 Correct bad rebase, remove duplicate Window
16695 gi/overrides/Gtk.py | 7 -------
16696 1 file changed, 7 deletions(-)
16698 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
16699 Author: Johan Dahlin <johan@gnome.org>
16700 Date: Thu Mar 15 15:42:28 2012 -0300
16702 Add a PyGTK compatibility layer
16704 This module tries quite a bit harder to maintain compatibility
16705 with PyGTK, module names, enums, flags and some API.
16707 https://bugzilla.gnome.org/show_bug.cgi?id=653462
16709 gi/Makefile.am | 3 +-
16710 gi/pygtkcompat.py | 421
16711 ++++++++++++++++++++++++++++++++++++++++++++++
16712 tests/Makefile.am | 3 +-
16713 tests/test_pygtkcompat.py | 77 +++++++++
16714 4 files changed, 502 insertions(+), 2 deletions(-)
16716 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
16717 Author: Johan Dahlin <johan@gnome.org>
16718 Date: Wed Mar 14 15:20:53 2012 -0300
16720 Add bw-compatible arguments to Gtk.Adjustment
16722 The argument used to be called page/step_incr, if they
16723 are found map them to the existing properties for extra
16726 https://bugzilla.gnome.org/show_bug.cgi?id=672087
16728 gi/overrides/Gtk.py | 8 +++++++-
16729 1 file changed, 7 insertions(+), 1 deletion(-)
16731 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
16732 Author: Johan Dahlin <johan@gnome.org>
16733 Date: Wed Mar 14 17:13:04 2012 -0300
16735 GtkTreePath: make it iterable
16737 https://bugzilla.gnome.org/show_bug.cgi?id=672093
16739 gi/overrides/Gtk.py | 3 +++
16740 tests/test_overrides.py | 2 ++
16741 2 files changed, 5 insertions(+)
16743 commit a7b08cb75541612c78d123b1d968be7874e3c481
16744 Author: Johan Dahlin <johan@gnome.org>
16745 Date: Wed Mar 14 13:32:31 2012 -0300
16747 Add a default argument to TreeModelFilter.set_visible_func()
16749 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16751 gi/overrides/Gtk.py | 14 ++++++++++++++
16752 1 file changed, 14 insertions(+)
16754 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
16755 Author: Johan Dahlin <johan@gnome.org>
16756 Date: Wed Mar 14 13:31:41 2012 -0300
16758 Add a default argument to Gtk.TreeView.set_cursor
16760 And also make sure that the path is a Gtk.TreePath.
16762 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16764 gi/overrides/Gtk.py | 4 ++++
16765 tests/test_overrides.py | 10 ++++++++++
16766 2 files changed, 14 insertions(+)
16768 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
16769 Author: Johan Dahlin <johan@gnome.org>
16770 Date: Wed Mar 14 13:31:06 2012 -0300
16772 Add a default argument to Pango.Context.get_metrics()
16774 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16776 gi/overrides/Pango.py | 9 +++++++++
16777 1 file changed, 9 insertions(+)
16779 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
16780 Author: Martin Pitt <martin.pitt@ubuntu.com>
16781 Date: Fri Mar 16 13:27:56 2012 +0100
16783 Fix double-freeing GValues in arrays
16785 When marshalling a GValue array to C, the GValue items are copied
16787 GValue array, not a C GValue pointer
16788 array. _pygi_marshal_from_py_array()
16789 already calls the cleanup_func for the original item;
16790 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
16792 to g_slice_free the array item.
16794 https://bugzilla.gnome.org/show_bug.cgi?id=672224
16796 gi/pygi-marshal-from-py.c | 7 ++++++-
16797 1 file changed, 6 insertions(+), 1 deletion(-)
16799 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
16800 Author: Simon Feltman <s.feltman@gmail.com>
16801 Date: Fri Mar 16 00:29:31 2012 -0700
16803 Renamed "property" class to "Property"
16805 Renamed to match the rest of the class names in GObject and also
16806 not clobber the builtin python property.
16808 Keep the old "property" identifier for backwards compatibility
16811 https://bugzilla.gnome.org/show_bug.cgi?id=672168
16813 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16815 examples/properties.py | 6 +--
16816 gi/_gobject/__init__.py | 7 ++--
16817 gi/_gobject/propertyhelper.py | 12 +++---
16818 tests/test_interface.py | 4 +-
16819 tests/test_properties.py | 94
16820 +++++++++++++++++++++----------------------
16821 5 files changed, 62 insertions(+), 61 deletions(-)
16823 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
16824 Author: Martin Pitt <martin.pitt@ubuntu.com>
16825 Date: Wed Mar 14 22:52:47 2012 +0100
16827 Fix Python to C marshalling of GValue arrays
16829 For GValues we cannot just copy the GValue memory in
16830 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
16832 releases the GValue and with it its v_pointer. Use g_value_copy()
16836 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
16838 assumed that C arrays contained pointers, but this is not the case
16840 arrays: these are actual struct arrays, not struct pointer arrays
16842 construction in _pygi_marshal_from_py_array()). Check if an array
16844 pointers or values and compute the correct array item pointer for
16847 Also add a corresponding test case for marshalling GValue arrays
16849 Python, which works fine.
16851 https://bugzilla.gnome.org/show_bug.cgi?id=672065
16853 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
16854 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
16855 tests/test_gi.py | 8 ++++++++
16856 3 files changed, 34 insertions(+), 6 deletions(-)
16858 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
16859 Author: Johan Dahlin <johan@gnome.org>
16860 Date: Fri Mar 16 09:59:57 2012 +0100
16862 Correct the Gtk.Window hierarchy
16864 We need to make sure that all Gtk.Dialog subclasses inherit from
16865 the overridden Window class. For that to be done automaticly we need
16866 to create the Window class before the Dialog class.
16868 Now when it's inherited properly we need to avoid calling the Window
16869 constructor twice as it passes in a construct-only parameter. So add
16870 **kwargs to the Window constructor to allow us to pass in any kind
16871 of GObject property to it and refactor the Dialog subclasses to pass
16872 in all properties to the same constructor.
16874 Also adds a bunch of tests to make sure that the hiearchy is correct.
16876 https://bugzilla.gnome.org/show_bug.cgi?id=672158
16878 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16880 gi/overrides/Gtk.py | 56
16881 ++++++++++++++++++++++++-------------------------
16882 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
16883 2 files changed, 61 insertions(+), 30 deletions(-)
16885 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
16886 Author: simon <simon@gerty>
16887 Date: Tue Mar 13 01:41:53 2012 -0700
16889 Renamed getter/setter instance attributes to fget/fset respectively.
16891 The python 'property' class allows for decoration of methods using
16892 .getter and .setter. These were added as methods to the
16894 class to match that of the python property class and allow for
16898 In addition, __call__ was added to allow an instantiated decorator
16900 args to also decorate a method:
16902 class C(GObject.GObject):
16904 @GObject.property(type=int, default=0)
16908 def propInt(self, value):
16909 self._value = value
16911 https://bugzilla.gnome.org/show_bug.cgi?id=586181
16913 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16915 gi/_gobject/__init__.py | 10 ++++----
16916 gi/_gobject/propertyhelper.py | 59
16917 +++++++++++++++++++++++++++++++------------
16918 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
16919 3 files changed, 89 insertions(+), 21 deletions(-)
16921 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
16922 Author: Johan Dahlin <johan@gnome.org>
16923 Date: Tue Mar 13 17:10:13 2012 -0300
16925 Add Gtk.Arrow/Gtk.Window constructor override
16927 Adds argument that makes them compatible with PyGTK.
16929 https://bugzilla.gnome.org/show_bug.cgi?id=672045
16931 gi/overrides/Gtk.py | 17 +++++++++++++++++
16932 1 file changed, 17 insertions(+)
16934 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
16935 Author: Michel Dänzer <michel@daenzer.net>
16936 Date: Fri Mar 9 12:26:53 2012 +0100
16938 Fix marshalling to/from Python to work on big endian machines.
16940 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16942 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16944 gi/pygi-argument.c | 25 ++++++++++++++++---------
16945 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
16946 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
16947 3 files changed, 60 insertions(+), 16 deletions(-)
16949 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
16950 Author: Michel Dänzer <michel@daenzer.net>
16951 Date: Thu Mar 8 12:21:28 2012 +0100
16953 Use gi_cclosure_marshal_generic instead of duplicating it.
16955 Bump gobject-introspection dependency to ensure that we have the
16959 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16961 Signed-off-by: Michel Dänzer <michel@daenzer.net>
16962 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16964 configure.ac | 3 +-
16965 gi/_gobject/Makefile.am | 7 +-
16966 gi/_gobject/ffi-marshaller.c | 194
16967 -------------------------------------------
16968 gi/_gobject/ffi-marshaller.h | 31 -------
16969 gi/_gobject/gobjectmodule.c | 12 +--
16970 5 files changed, 4 insertions(+), 243 deletions(-)
16972 commit 8ca828825a2c47080055c5f986979aac8da9a93f
16973 Author: René Stadler <rene.stadler@collabora.co.uk>
16974 Date: Mon Mar 5 21:10:55 2012 +0100
16976 Override Gtk.TreeView.get_visible_range to fix return
16978 Just like IconView.
16980 https://bugzilla.gnome.org/show_bug.cgi?id=671409
16982 gi/overrides/Gtk.py | 5 +++++
16983 1 file changed, 5 insertions(+)
16985 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
16986 Author: Paolo Borelli <pborelli@gnome.org>
16987 Date: Sun Mar 4 16:41:18 2012 +0100
16989 Plug memory leak in _is_union_member
16991 When we found the member, unref the objects before breaking out of the
16994 gi/pygi-marshal-from-py.c | 9 +++------
16995 1 file changed, 3 insertions(+), 6 deletions(-)
16997 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
16998 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16999 Date: Tue Feb 21 15:37:18 2012 +0100
17001 tests: Split TestInterfaces into separate tests
17003 tests/test_gi.py | 36 +++++++++++++++++++-----------------
17004 1 file changed, 19 insertions(+), 17 deletions(-)
17006 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
17007 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17008 Date: Mon Feb 20 19:37:32 2012 +0100
17010 Post release version bump to 3.1.2
17012 configure.ac | 2 +-
17013 1 file changed, 1 insertion(+), 1 deletion(-)
17015 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
17016 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17017 Date: Mon Feb 20 19:33:56 2012 +0100
17019 Prepare 3.1.1 release
17021 NEWS | 18 ++++++++++++++++++
17022 1 file changed, 18 insertions(+)
17024 commit 99485d96811667ef7a7a393b68b7361733157d61
17025 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17026 Date: Sat Feb 18 00:38:05 2012 +0100
17028 Don't use C99 style
17030 gi/pygi-cache.c | 3 ++-
17031 1 file changed, 2 insertions(+), 1 deletion(-)
17033 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
17034 Author: Martin Pitt <martin.pitt@ubuntu.com>
17035 Date: Thu Feb 16 16:42:53 2012 +0100
17037 Add test for GPtrArray with transfer full
17039 This complements the already existing test for a "transfer container"
17041 array. We can't verify the internal refcount as these arrays get
17043 internally, but at least we can verify that it does not crash due to
17046 tests/test_everything.py | 10 +++++++++-
17047 1 file changed, 9 insertions(+), 1 deletion(-)
17049 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
17050 Author: Martin Pitt <martin.pitt@ubuntu.com>
17051 Date: Wed Feb 15 13:36:39 2012 +0100
17053 Drop obsolete g_thread_init()
17055 Not necessary any more since glib 2.24, and we depend on 2.31.
17057 gi/_glib/pyglib.c | 3 ---
17058 1 file changed, 3 deletions(-)
17060 commit 66fb610e45912a7def29e5848577d280ef55643a
17061 Author: Martin Pitt <martin.pitt@ubuntu.com>
17062 Date: Wed Feb 15 13:35:33 2012 +0100
17064 Fix deprecated g_source_get_current_time()
17066 Use g_get_real_time() instead as recommended by the
17067 documentation. This also
17068 simplifies the code.
17070 gi/_glib/pygsource.c | 4 +---
17071 1 file changed, 1 insertion(+), 3 deletions(-)
17073 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
17074 Author: Martin Pitt <martin.pitt@ubuntu.com>
17075 Date: Wed Feb 15 13:31:23 2012 +0100
17077 Fix deprecated g_value_[gs]et_char()
17079 Replace with _schar(). We depend on glib >= 2.31 already.
17081 gi/_gobject/ffi-marshaller.c | 2 +-
17082 gi/_gobject/pygtype.c | 6 +++---
17083 gi/pygi-argument.c | 2 +-
17084 3 files changed, 5 insertions(+), 5 deletions(-)
17086 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
17087 Author: Simon Schampijer <simon@schampijer.de>
17088 Date: Thu Feb 2 19:06:01 2012 +0100
17090 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
17092 Looking at the gir file gtk.gdk.x11_* should get converted to
17093 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
17095 pygi-convert.sh | 2 +-
17096 1 file changed, 1 insertion(+), 1 deletion(-)
17098 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
17099 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17100 Date: Fri Feb 10 13:29:41 2012 +0100
17102 Raise required glib version to 2.31 because of g_value_(get|set)_schar
17104 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
17106 configure.ac | 6 +++---
17107 1 file changed, 3 insertions(+), 3 deletions(-)
17109 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
17110 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17111 Date: Fri Feb 10 09:28:36 2012 +0100
17113 Fix cset_first typo
17115 https://bugzilla.gnome.org/show_bug.cgi?id=649267
17117 gi/_gobject/pygparamspec.c | 2 +-
17118 1 file changed, 1 insertion(+), 1 deletion(-)
17120 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
17121 Author: Bastian Winkler <buz@netbuz.org>
17122 Date: Mon Nov 14 14:41:08 2011 +0100
17124 pygi-convert: Handle Clutter and Cogl
17126 https://bugzilla.gnome.org/show_bug.cgi?id=664496
17128 pygi-convert.sh | 76
17129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17130 1 file changed, 76 insertions(+)
17132 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
17133 Author: Cédric Krier <cedric.krier@b2ck.com>
17134 Date: Fri Feb 10 09:04:18 2012 +0100
17136 Provide access to gpointer struct values
17138 https://bugzilla.gnome.org/show_bug.cgi?id=668356
17140 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17142 gi/pygi-argument.c | 3 ++-
17143 gi/pygi-info.c | 13 +++++++++++++
17144 tests/test_everything.py | 21 +++++++++++++++++++++
17145 3 files changed, 36 insertions(+), 1 deletion(-)
17147 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
17148 Author: Paolo Borelli <pborelli@gnome.org>
17149 Date: Thu Feb 9 18:15:42 2012 +0100
17151 Add some GType tests
17153 Use what was recently added in g-i
17155 tests/test_gi.py | 17 +++++++++++++++--
17156 1 file changed, 15 insertions(+), 2 deletions(-)
17158 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
17159 Author: Paolo Borelli <pborelli@gnome.org>
17160 Date: Thu Feb 9 18:14:52 2012 +0100
17162 Split GStrv and array variant tests in their own classes
17164 Also tidy up the spacing a bit
17166 tests/test_gi.py | 29 +++++++++++++++++++++++------
17167 1 file changed, 23 insertions(+), 6 deletions(-)
17169 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
17170 Author: Paolo Borelli <pborelli@gnome.org>
17171 Date: Wed Feb 8 22:23:30 2012 +0100
17173 Add unit test for builder's connect_after
17175 tests/test_overrides.py | 8 ++++++++
17176 1 file changed, 8 insertions(+)
17178 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
17179 Author: Ryan Lortie <desrt@desrt.ca>
17180 Date: Wed Feb 8 16:06:22 2012 -0500
17182 fix GtkBuilder signal connection 'after' logic
17184 All GtkBuilder signals are presently being connected 'after', ignoring
17185 what is specified in the builder XML. This is due to an obvious logic
17188 https://bugzilla.gnome.org/show_bug.cgi?id=669705
17190 gi/overrides/Gtk.py | 2 +-
17191 1 file changed, 1 insertion(+), 1 deletion(-)
17193 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
17194 Author: Patrick Welche <prlw1@cam.ac.uk>
17195 Date: Tue Feb 7 11:49:58 2012 +0000
17197 test(1) uses '=' to test if strings are identical
17199 https://bugzilla.gnome.org/show_bug.cgi?id=669598
17201 m4/python.m4 | 6 +++---
17202 1 file changed, 3 insertions(+), 3 deletions(-)
17204 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
17205 Author: Ryan Lortie <desrt@desrt.ca>
17206 Date: Tue Feb 7 13:42:19 2012 -0500
17208 pygspawn: improve error checking
17210 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
17211 is enforced by checking that the passed argument is a sequence
17213 each item returned from it is a string.
17215 We do now, however, verify that each item can be successfully
17217 the sequence. 'os.environ' is an example of an object that passes
17218 PySequence_Check() but fails to return objects from PySequence_ITEM().
17220 Add a simple NULL check to avoid the crash.
17222 https://bugzilla.gnome.org/show_bug.cgi?id=669594
17224 gi/_glib/pygspawn.c | 4 ++--
17225 1 file changed, 2 insertions(+), 2 deletions(-)
17227 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
17228 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17229 Date: Mon Feb 6 19:15:53 2012 +0100
17231 Post release version bump to 3.1.1
17233 configure.ac | 2 +-
17234 1 file changed, 1 insertion(+), 1 deletion(-)
17236 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
17237 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17238 Date: Mon Feb 6 19:11:52 2012 +0100
17240 Prepare 3.1.0 release
17242 NEWS | 34 ++++++++++++++++++++++++++++++++++
17243 1 file changed, 34 insertions(+)
17245 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
17246 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17247 Date: Mon Feb 6 19:04:41 2012 +0100
17249 Updated DOAP file to only include people currently actively working
17252 Removed obsolete MAINTAINERS file
17254 MAINTAINERS | 19 -------------------
17255 pygobject.doap | 44 +++++++++++++++-----------------------------
17256 2 files changed, 15 insertions(+), 48 deletions(-)
17258 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
17259 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17260 Date: Mon Feb 6 18:57:01 2012 +0100
17262 Revert "Convert all strings to utf-8 encoding when retrieving from
17265 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
17267 Due to this commit breaking backwards compatability, we decided to
17270 gi/overrides/Gtk.py | 15 ---------------
17271 tests/compathelper.py | 2 --
17272 tests/test_overrides.py | 31 +------------------------------
17273 3 files changed, 1 insertion(+), 47 deletions(-)
17275 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
17276 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17277 Date: Sun Feb 5 13:47:10 2012 +0100
17279 tests: Fixed issues with python3
17281 tests/test_gi.py | 9 ++++++---
17282 1 file changed, 6 insertions(+), 3 deletions(-)
17284 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
17285 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17286 Date: Sun Feb 5 11:59:51 2012 +0100
17288 Properly distinguish between different integer types for properties
17290 https://bugzilla.gnome.org/show_bug.cgi?id=664150
17292 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
17293 tests/test_gi.py | 62
17294 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17295 2 files changed, 106 insertions(+), 4 deletions(-)
17297 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
17298 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17299 Date: Sun Feb 5 11:46:21 2012 +0100
17301 Distinguish between GArray and GPtrArray when cleaning up
17303 This fixes a crash in test_gi.TestGPtrArray and makes sure
17304 memory is free'd correctly
17306 https://bugzilla.gnome.org/show_bug.cgi?id=669393
17308 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
17309 1 file changed, 23 insertions(+), 9 deletions(-)
17311 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
17312 Author: Paolo Borelli <pborelli@gnome.org>
17313 Date: Sun Feb 5 18:51:53 2012 +0100
17315 Add null_gerror_callback unit test
17317 This models the case where the callback is successful and does not set
17320 https://bugzilla.gnome.org/show_bug.cgi?id=669415
17322 tests/test_everything.py | 9 +++++++++
17323 1 file changed, 9 insertions(+)
17325 commit a41984780ee49dcf02c718ca1be87bba747472e5
17326 Author: Martin Pitt <martin.pitt@ubuntu.com>
17327 Date: Mon Feb 6 09:34:28 2012 +0100
17329 pyglib_error_check: Re-add missing NULL check
17331 Commit adcfe96d49b09bc accidentally dropped the check if *error is
17333 any error is actually set. Due to that, pyglib_error_check()
17335 TRUE. Reintroduce the check.
17337 Thanks to Alberto Mardegan for spotting this!
17339 https://bugzilla.gnome.org/show_bug.cgi?id=669415
17341 gi/_glib/pyglib.c | 2 ++
17342 1 file changed, 2 insertions(+)
17344 commit 2c797c17913999379e277788d5e4cce8d68cebb0
17345 Author: Michael Culbertson <michael.culbertson@gmail.com>
17346 Date: Sat Feb 4 16:11:34 2012 +0100
17348 Add tests/runtests-windows.py to source tarball
17350 https://bugzilla.gnome.org/show_bug.cgi?id=663288
17352 tests/Makefile.am | 1 +
17353 1 file changed, 1 insertion(+)
17355 commit d6a899cdf70e978534326155e3fad75a705f4b20
17356 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17357 Date: Sat Feb 4 15:55:55 2012 +0100
17359 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
17362 https://bugzilla.gnome.org/show_bug.cgi?id=665553
17364 gi/overrides/Gtk.py | 6 ++----
17365 1 file changed, 2 insertions(+), 4 deletions(-)
17367 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
17368 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
17369 Date: Sat Feb 4 15:42:36 2012 +0100
17371 Fix bool() operations on GLib.Variant objects
17373 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
17375 Also adds some tests for boolean comparisons.
17377 https://bugzilla.gnome.org/show_bug.cgi?id=647723
17379 gi/overrides/GLib.py | 18 ++++++++++++++++++
17380 tests/test_overrides.py | 45
17381 +++++++++++++++++++++++++++++++++++++++++++++
17382 2 files changed, 63 insertions(+)
17384 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
17385 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
17386 Date: Sat Feb 4 15:41:08 2012 +0100
17388 Fix hash() and __eq__() for GLib.Variant objects
17390 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
17391 be used in sets, dicts, and can be compared using == and != easily.
17393 Also adds some tests for this.
17395 https://bugzilla.gnome.org/show_bug.cgi?id=647725
17397 gi/overrides/GLib.py | 23 ++++++++++++++++++++
17398 tests/test_overrides.py | 56
17399 +++++++++++++++++++++++++++++++++++++++++++++++++
17400 2 files changed, 79 insertions(+)
17402 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
17403 Author: Martin Pitt <martin.pitt@ubuntu.com>
17404 Date: Wed Jan 25 07:01:06 2012 +0100
17406 Fix method names of callback tests
17408 Change test_everything.TestCallbacks.* test names from camelCase
17410 standard PEP-8 underscore_style. This is now consistent with all
17414 tests/test_everything.py | 30 +++++++++++++++---------------
17415 1 file changed, 15 insertions(+), 15 deletions(-)
17417 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
17418 Author: Will Thompson <will.thompson@collabora.co.uk>
17419 Date: Mon Jan 23 13:10:30 2012 +0000
17421 Cairo: add missing braces around array-of-struct definition
17423 This triggered a -Wmissing-braces warning.
17425 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17427 gi/pygi-foreign-cairo.c | 2 +-
17428 1 file changed, 1 insertion(+), 1 deletion(-)
17430 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
17431 Author: Will Thompson <will.thompson@collabora.co.uk>
17432 Date: Mon Jan 23 13:06:41 2012 +0000
17434 g_instance_init: cast to PyGObject * as needed
17436 This squashes a compiler warning.
17438 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17440 gi/_gobject/gobjectmodule.c | 2 +-
17441 1 file changed, 1 insertion(+), 1 deletion(-)
17443 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
17444 Author: Will Thompson <will.thompson@collabora.co.uk>
17445 Date: Mon Jan 23 13:01:27 2012 +0000
17447 Fix a few set-but-not-used warnings.
17449 In a couple of cases, the variable in question was set to a value
17450 spelled out again later in the function.
17452 The 'sequence_cache' variable is re-declared five lines below.
17454 The return value of 'read' was previously completely ignored. The
17455 'gssize ret' variable was in fact added to squash an unused-result
17458 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17460 gi/_glib/pygiochannel.c | 2 +-
17461 gi/_glib/pygmainloop.c | 3 +--
17462 gi/_gobject/pygobject.c | 2 +-
17463 gi/pygi-marshal-cleanup.c | 2 --
17464 4 files changed, 3 insertions(+), 6 deletions(-)
17466 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
17467 Author: Stefano Facchini <stefano.facchini@gmail.com>
17468 Date: Thu Jan 19 18:09:07 2012 +0100
17470 pygmainloop: allow for extra arguments in 'quit' method
17472 To allow for the common syntax:
17474 object.connect('signal-name', main_loop.quit)
17476 https://bugzilla.gnome.org/show_bug.cgi?id=668288
17478 gi/_glib/pygmainloop.c | 4 ++--
17479 1 file changed, 2 insertions(+), 2 deletions(-)
17481 commit 557a61c12c01137a0d7c679c4b053973df09d445
17482 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
17483 Date: Mon Dec 26 00:44:56 2011 -0500
17485 Fix bytearray test compatibility with python3
17487 https://bugs.gentoo.org/show_bug.cgi?id=321879
17489 https://bugzilla.gnome.org/show_bug.cgi?id=666852
17491 tests/test_gi.py | 4 ++--
17492 1 file changed, 2 insertions(+), 2 deletions(-)
17494 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
17495 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17496 Date: Mon Jan 23 12:37:26 2012 +0200
17498 Respect transfer-type when demarshalling GErrors
17500 The marshaller previously ignored "transfer full" on GError*
17502 crashes due to double-freeing them. This causes the
17503 testCallbackUserdata() test
17504 case to crash after the previous GError/GHashTable marshalling fix.
17506 https://bugzilla.gnome.org/show_bug.cgi?id=666270
17508 gi/pygi-argument.c | 12 +++++++++++-
17509 1 file changed, 11 insertions(+), 1 deletion(-)
17511 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
17512 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17513 Date: Thu Dec 15 16:12:01 2011 +0200
17515 Support GHashTable and GError as callback/closure arguments
17517 Marshalling of these types from C is already implemented, let's
17519 into use for calbacks and closures too.
17521 Add corresponding test cases.
17523 https://bugzilla.gnome.org/show_bug.cgi?id=666270
17525 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17527 gi/pygi-closure.c | 2 ++
17528 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
17529 2 files changed, 37 insertions(+)
17531 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
17532 Author: Will Thompson <will.thompson@collabora.co.uk>
17533 Date: Mon Jan 23 13:56:02 2012 +0000
17535 Don't leak when marshalling GErrors to C
17537 Python-land GLib.GErrors are supposed to have three attributes:
17538 "message", "domain" and "code". If those attributes are missing,
17540 have the wrong types, the C GError is filled in with a message
17541 describing the error. The present-but-ill-typed code paths did not
17542 DECREF the ill-typed values.
17544 https://bugzilla.gnome.org/show_bug.cgi?id=666098
17546 gi/_glib/pyglib.c | 3 +++
17547 1 file changed, 3 insertions(+)
17549 commit adcfe96d49b09bcc550653d73de196610fd5144d
17550 Author: Will Thompson <will.thompson@collabora.co.uk>
17551 Date: Fri Jan 20 16:20:10 2012 +0000
17553 Support functions which return GError
17555 GStreamer has the following method:
17557 void gst_message_parse_error (
17558 GstMessage *message,
17560 gchar **debug_message);
17562 With this patch, we marshal the GError out parameter as a
17564 exception, but return it rather than throwing it. The test cases cover
17565 two variations on the theme of the function above (one with (transfer
17566 full), as in GStreamer, and another with (transfer none)) as well as a
17567 function with return type GError *.
17569 https://bugzilla.gnome.org/show_bug.cgi?id=666098
17571 gi/_glib/pyglib.c | 46
17572 +++++++++++++++++++++++++++++++++++-----------
17573 gi/_glib/pyglib.h | 1 +
17574 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
17575 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
17576 4 files changed, 81 insertions(+), 14 deletions(-)
17578 commit 09f003729eac9d553a208c343c2a14d253b77d9a
17579 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17580 Date: Mon Jan 23 12:42:21 2012 +0200
17582 Fix indentation of _pygi_argument_to_object()
17584 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
17586 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17588 gi/pygi-argument.c | 26 +++++++++++++-------------
17589 1 file changed, 13 insertions(+), 13 deletions(-)
17591 commit c71c010be01d706f90bc200194325fd82f4071b2
17592 Author: Paolo Borelli <pborelli@gnome.org>
17593 Date: Sat Jan 14 14:24:23 2012 +0100
17597 gi/gimodule.c | 10 ++++++----
17598 1 file changed, 6 insertions(+), 4 deletions(-)
17600 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
17601 Author: Paolo Borelli <pborelli@gnome.org>
17602 Date: Fri Jan 6 13:39:31 2012 +0100
17604 Connect to first action of a radio group.
17606 gi/overrides/Gtk.py | 4 ++--
17607 1 file changed, 2 insertions(+), 2 deletions(-)
17609 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
17610 Author: Paolo Borelli <pborelli@gnome.org>
17611 Date: Wed Jan 4 16:40:51 2012 +0100
17613 Use g_slist_free_full in pygi-closure.
17615 gi/pygi-closure.c | 3 +--
17616 1 file changed, 1 insertion(+), 2 deletions(-)
17618 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
17619 Author: Paolo Borelli <pborelli@gnome.org>
17620 Date: Wed Jan 4 15:24:13 2012 +0100
17622 Avoid O(n^2) behavior when marshalling lists
17624 Appending requires walking the list every time: just prepend and
17626 the list at the end.
17628 https://bugzilla.gnome.org/show_bug.cgi?id=667261
17630 gi/pygi-marshal-from-py.c | 8 ++++----
17631 1 file changed, 4 insertions(+), 4 deletions(-)
17633 commit d68455e99b1a9ebba31209b17a11317b1958678b
17634 Author: Paolo Borelli <pborelli@gnome.org>
17635 Date: Tue Jan 3 16:57:40 2012 +0100
17637 Handle NULL as a valid case of a char** array
17639 Treat NULL as an empty array and add the corresponding testcase
17641 gi/pygi-marshal-to-py.c | 9 +++++----
17642 tests/test_gi.py | 3 +++
17643 2 files changed, 8 insertions(+), 4 deletions(-)
17645 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
17646 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17647 Date: Fri Dec 23 12:01:43 2011 +0100
17649 Branching, bump version to 3.1.0
17651 configure.ac | 4 ++--
17652 1 file changed, 2 insertions(+), 2 deletions(-)
17654 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
17655 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17656 Date: Mon Dec 12 18:35:30 2011 +0100
17658 Add notes about branching to HACKING
17660 HACKING | 10 ++++++++++
17661 1 file changed, 10 insertions(+)
17663 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
17664 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17665 Date: Sat Dec 10 12:51:45 2011 +0100
17667 Fixed bug where GObject.property did not respect minimum and maximum
17670 https://bugzilla.gnome.org/show_bug.cgi?id=664864
17672 gi/_gobject/propertyhelper.py | 2 +-
17673 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
17674 2 files changed, 32 insertions(+), 1 deletion(-)
17676 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
17677 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17678 Date: Mon Dec 12 17:00:24 2011 +0100
17680 Remove mention of removed option --enable-docs
17683 1 file changed, 1 insertion(+), 1 deletion(-)
17685 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
17686 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17687 Date: Mon Dec 12 17:00:03 2011 +0100
17689 Fix sebp's name in NEWS
17692 1 file changed, 1 insertion(+), 1 deletion(-)
17694 commit 8c95981d0ba224a577f87998030c384b3dae3d80
17695 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17696 Date: Mon Dec 12 16:20:09 2011 +0100
17700 NEWS | 15 +++++++++++++++
17701 1 file changed, 15 insertions(+)
17703 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
17704 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17705 Date: Mon Dec 12 16:16:44 2011 +0100
17707 Pre-release version bump
17709 configure.ac | 2 +-
17710 1 file changed, 1 insertion(+), 1 deletion(-)
17712 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
17713 Author: Manuel Quiñones <manuq@laptop.org>
17714 Date: Thu Dec 1 11:50:38 2011 -0300
17716 Convert all modifier constants to Gdk.ModifierType
17718 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17720 pygi-convert.sh | 14 ++++++++++++++
17721 1 file changed, 14 insertions(+)
17723 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
17724 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17725 Date: Tue Nov 8 12:38:12 2011 +0100
17727 Convert all strings to utf-8 encoding when retrieving from TreeModel
17729 https://bugzilla.gnome.org/show_bug.cgi?id=663610
17731 gi/overrides/Gtk.py | 15 +++++++++++++++
17732 tests/compathelper.py | 2 ++
17733 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
17734 3 files changed, 47 insertions(+), 1 deletion(-)
17736 commit 4f637212f13b197a95c824967a58496b9e3b877c
17737 Author: John (J5) Palmieri <johnp@redhat.com>
17738 Date: Wed Nov 2 14:51:24 2011 -0400
17740 add test for bytearray variants
17742 tests/test_gi.py | 4 ++++
17743 1 file changed, 4 insertions(+)
17745 commit 20ca3f129d6cc662285cce8c732b55596016aefa
17746 Author: John (J5) Palmieri <johnp@redhat.com>
17747 Date: Wed Nov 2 14:50:42 2011 -0400
17749 handle NULL arrays correctly for each array type
17751 gi/pygi-marshal-to-py.c | 11 ++++++-----
17752 1 file changed, 6 insertions(+), 5 deletions(-)
17754 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
17755 Author: John (J5) Palmieri <johnp@redhat.com>
17756 Date: Wed Nov 2 14:17:21 2011 -0400
17758 Revert "Revert "Fix array termination and size calculation""
17760 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
17762 gi/pygi-marshal-from-py.c | 6 +++++-
17763 gi/pygi-marshal-to-py.c | 8 +++++++-
17764 2 files changed, 12 insertions(+), 2 deletions(-)
17766 commit 832f16f96815adc22cc3acbeb3fa969631795a29
17767 Author: Owen W. Taylor <otaylor@fishsoup.net>
17768 Date: Sun Oct 30 18:08:57 2011 -0400
17770 pygmainloop: avoid lockups if multiple glib.MainLoop exist
17772 If multiple glib.MainLoop() sources exist, then we will add multiple
17773 watches, and when python writes a byte to the wakeup pipe, all of the
17774 sources will try to read it; only one will succeed and the others
17775 will block. Set both ends of the pipe nonblocking to avoid this.
17777 https://bugzilla.gnome.org/show_bug.cgi?id=663068
17779 gi/_glib/pygmainloop.c | 5 ++++-
17780 1 file changed, 4 insertions(+), 1 deletion(-)
17782 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
17783 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17784 Date: Sat Oct 29 15:08:03 2011 +0200
17786 Properly chain up to the class that implements a given vfunc.
17788 https://bugzilla.gnome.org/show_bug.cgi?id=662994
17790 gi/types.py | 22 +++++++++++++---------
17791 tests/test_gi.py | 20 ++++++++++----------
17792 2 files changed, 23 insertions(+), 19 deletions(-)
17794 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
17795 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17796 Date: Wed Nov 2 14:54:21 2011 +0100
17798 Revert "Fix array termination and size calculation"
17800 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
17802 gi/pygi-marshal-from-py.c | 6 +-----
17803 gi/pygi-marshal-to-py.c | 8 +-------
17804 2 files changed, 2 insertions(+), 12 deletions(-)
17806 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
17807 Author: Holger Berndt <hb@gnome.org>
17808 Date: Sun Oct 30 16:36:32 2011 +0100
17810 Fix array termination and size calculation
17812 When creating an array of element type uint8 and setting it directly
17814 memcpy(), make sure that zero-termination is respected.
17816 When calculating the length of a zero-terminated array of type uint8,
17817 fall back to strlen() instead of g_strv_length().
17819 https://bugzilla.gnome.org/show_bug.cgi?id=662550
17821 gi/pygi-marshal-from-py.c | 6 +++++-
17822 gi/pygi-marshal-to-py.c | 8 +++++++-
17823 2 files changed, 12 insertions(+), 2 deletions(-)
17825 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
17826 Author: Daniel Drake <dsd@laptop.org>
17827 Date: Sun Oct 30 09:20:45 2011 +0000
17829 pygi-convert: fix for Pango.Alignment
17831 pygi-convert.sh | 1 +
17832 1 file changed, 1 insertion(+)
17834 commit e3abd76096cc9f335681c7225f452c286b9c59e2
17835 Author: Daniel Drake <dsd@laptop.org>
17836 Date: Sun Oct 30 07:06:57 2011 +0000
17838 pygi-convert: fix for Gtk.Orientation
17840 pygi-convert.sh | 1 +
17841 1 file changed, 1 insertion(+)
17843 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
17844 Author: Martin Pitt <martin.pitt@ubuntu.com>
17845 Date: Thu Oct 27 07:16:24 2011 +0200
17847 Add tests for calling closures
17849 Add checks for correct handling of closure calls.
17850 Regress.test_closure_one_arg() is working fine and should continue
17852 Regress.test_closure_variant() is known to not work yet, so mark
17854 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
17856 tests/test_everything.py | 24 ++++++++++++++++++++++++
17857 1 file changed, 24 insertions(+)
17859 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
17860 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
17861 Date: Tue Oct 4 12:28:26 2011 +0200
17863 fix marshaling of arrays of GVariants
17865 Add unit tests for marshaling of arrays of variants with all
17866 transfer modes. Requires latest gobject-introspection.
17868 Plug potential leaks of GArray data members
17870 Fix calling of wrong cleanup_from_py for arrays
17872 Simplify and fix logic for cleaning up arrays both in from_py()
17873 and to_py() code paths.
17875 https://bugzilla.gnome.org/show_bug.cgi?id=638915
17877 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17879 gi/pygi-cache.c | 2 +-
17880 gi/pygi-marshal-cleanup.c | 81
17881 ++++++++++++++++++++++++++++++-----------------
17882 gi/pygi-marshal-from-py.c | 10 ++++--
17883 gi/pygi-marshal-to-py.c | 13 ++++++--
17884 tests/test_gi.py | 14 +++++++-
17885 5 files changed, 85 insertions(+), 35 deletions(-)
17887 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
17888 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17889 Date: Sat Oct 22 00:20:57 2011 +0200
17894 1 file changed, 8 insertions(+)
17896 commit 5c24760b797e985721f7fe51d52252e4dd54a417
17897 Author: Martin Pitt <martin.pitt@ubuntu.com>
17898 Date: Fri Oct 21 17:31:41 2011 +0200
17900 Fix "Returns: (skip)" method calls without (out) arguments
17902 When we have a method call with a skipped return value, but no
17904 arguments, we previously returned NULL to Python, which causes
17906 error return without exception set". Return None instead.
17908 https://bugzilla.gnome.org/show_bug.cgi?id=662383
17910 gi/pygi-invoke.c | 10 ++++++++++
17911 tests/test_everything.py | 8 ++++++++
17912 2 files changed, 18 insertions(+)
17914 commit 585222915dc98b0e375de3db4771466278a32e81
17915 Author: John (J5) Palmieri <johnp@redhat.com>
17916 Date: Tue Oct 18 00:39:16 2011 -0400
17918 Do union member checks for unions that are parameters
17920 * before we were only doing checks if the union was an instance
17922 https://bugzilla.gnome.org/show_bug.cgi?id=661673
17924 gi/pygi-marshal-from-py.c | 121
17925 ++++++++++++++++++++++++++--------------------
17926 1 file changed, 68 insertions(+), 53 deletions(-)
17928 commit 8deaec6b9abd87f02060c9feec773d4693e89028
17929 Author: Martin Pitt <martin.pitt@ubuntu.com>
17930 Date: Wed Oct 19 14:35:11 2011 +0200
17932 Gdk overrides: Unbreak for Gdk-2.0
17934 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
17936 only do this for Gdk >= 3.0.
17938 https://launchpad.net/bugs/875399
17940 gi/overrides/Gdk.py | 95
17941 +++++++++++++++++++++++++++--------------------------
17942 1 file changed, 48 insertions(+), 47 deletions(-)
17944 commit f395fb131caf7ca550acd17138d8061926ef4f92
17945 Author: John (J5) Palmieri <johnp@redhat.com>
17946 Date: Fri Oct 14 17:19:45 2011 -0400
17948 unit test for checking ref count of object param in signals
17950 https://bugzilla.gnome.org/show_bug.cgi?id=661359
17952 tests/test_everything.py | 11 +++++++++++
17953 1 file changed, 11 insertions(+)
17955 commit 611f58b99851328653af4930f188c33eccaa9f6f
17956 Author: John (J5) Palmieri <johnp@redhat.com>
17957 Date: Fri Oct 14 16:42:32 2011 -0400
17959 when converting an object with transfer none, make sure the wrapper
17962 https://bugzilla.gnome.org/show_bug.cgi?id=661359
17964 gi/pygi-argument.c | 10 ++++++++++
17965 1 file changed, 10 insertions(+)
17967 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
17968 Author: Timo Vanwynsberghe <timovwb@gmail.com>
17969 Date: Tue Oct 4 11:13:43 2011 +0200
17971 Allow GBoxed types as property
17973 Add the GBoxed type as valid type to the gobject property helper
17974 https://bugzilla.gnome.org/show_bug.cgi?id=660798
17976 gi/_gobject/propertyhelper.py | 5 +++--
17977 1 file changed, 3 insertions(+), 2 deletions(-)
17979 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
17980 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17981 Date: Mon Oct 10 11:24:42 2011 +0200
17983 Add tests for boxed properties.
17985 tests/test_properties.py | 20 ++++++++++++++++++--
17986 1 file changed, 18 insertions(+), 2 deletions(-)
17988 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
17989 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17990 Date: Fri Sep 30 20:21:07 2011 +0200
17992 Post release bump version
17994 configure.ac | 2 +-
17995 1 file changed, 1 insertion(+), 1 deletion(-)
17997 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
17998 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17999 Date: Fri Sep 30 20:19:46 2011 +0200
18004 configure.ac | 2 +-
18005 2 files changed, 6 insertions(+), 1 deletion(-)
18007 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
18008 Author: John (J5) Palmieri <johnp@redhat.com>
18009 Date: Thu Sep 22 19:03:20 2011 -0400
18011 when checking instances union members are same type as parent
18013 * this is so we can support sending Gdk.Event members in place of
18014 the Event union into methods
18015 * we only support this if the union member has a type of GI_INTERFACE
18018 https://bugzilla.gnome.org/show_bug.cgi?id=659879
18020 gi/pygi-marshal-from-py.c | 60
18021 +++++++++++++++++++++++++++++++++++++++++++----
18022 1 file changed, 56 insertions(+), 4 deletions(-)
18024 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
18025 Author: John (J5) Palmieri <johnp@redhat.com>
18026 Date: Wed Sep 21 21:50:48 2011 -0400
18028 add a floating flag to pygobjects
18030 * this allows us to correctly refcount when custom gobjects are
18034 gi/_gobject/gobjectmodule.c | 5 +++++
18035 gi/_gobject/pygobject-private.h | 3 +++
18036 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
18037 gi/_gobject/pygobject.h | 3 ++-
18038 4 files changed, 36 insertions(+), 2 deletions(-)
18040 commit d2d29ae5845217254b9336fd8629f369cb119b25
18041 Author: John (J5) Palmieri <johnp@redhat.com>
18042 Date: Wed Sep 21 21:13:22 2011 -0400
18044 Revert "Fix refcount bug by not creating python wrapper during
18045 gobject init stage"
18047 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
18049 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
18050 1 file changed, 17 insertions(+), 15 deletions(-)
18052 commit a24c10b779f2a1b0425d56d03d59c393389cad98
18053 Author: John (J5) Palmieri <johnp@redhat.com>
18054 Date: Wed Sep 21 21:10:00 2011 -0400
18056 make sure to commit the NEWS file
18059 1 file changed, 4 insertions(+)
18061 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
18062 Author: John (J5) Palmieri <johnp@redhat.com>
18063 Date: Mon Sep 19 13:19:57 2011 -0400
18065 prep for 3.0 release
18067 configure.ac | 6 +++---
18068 1 file changed, 3 insertions(+), 3 deletions(-)
18070 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
18071 Author: John (J5) Palmieri <johnp@redhat.com>
18072 Date: Fri Sep 16 14:19:15 2011 -0400
18074 up version required of gobject-introspection to 1.29.0
18076 configure.ac | 2 +-
18077 1 file changed, 1 insertion(+), 1 deletion(-)
18079 commit 225f21117b6b3546989abe22538c784291e86b2a
18080 Author: John (J5) Palmieri <johnp@redhat.com>
18081 Date: Fri Sep 16 12:26:10 2011 -0400
18085 * remove some unused vars
18086 * correctly cast vars
18087 * handle deprecated enums in switch statments by using default:
18088 * unused wanrings still remain in some places
18090 gi/pygi-argument.c | 2 +-
18091 gi/pygi-cache.c | 7 ++-----
18092 gi/pygi-info.c | 6 ++++++
18093 gi/pygi-invoke.c | 2 +-
18094 gi/pygi-marshal-from-py.c | 17 +++++++++--------
18095 gi/pygi-marshal-to-py.c | 3 +--
18096 6 files changed, 20 insertions(+), 17 deletions(-)
18098 commit 9a70f01288e1b049206d25d67938907f1b38a490
18099 Author: John (J5) Palmieri <johnp@redhat.com>
18100 Date: Fri Sep 16 12:24:38 2011 -0400
18104 configure.ac | 2 +-
18105 1 file changed, 1 insertion(+), 1 deletion(-)
18107 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
18108 Author: John (J5) Palmieri <johnp@redhat.com>
18109 Date: Thu Sep 15 18:12:01 2011 -0400
18111 edit HACKING file to show correct tag format
18114 1 file changed, 1 insertion(+), 1 deletion(-)
18116 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
18117 Author: John (J5) Palmieri <johnp@redhat.com>
18118 Date: Thu Sep 15 18:10:33 2011 -0400
18120 update NEWS file to prep for release
18122 NEWS | 35 +++++++++++++++++++++++++++++++++++
18123 1 file changed, 35 insertions(+)
18125 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
18126 Author: John (J5) Palmieri <johnp@redhat.com>
18127 Date: Thu Sep 15 17:59:31 2011 -0400
18129 fix typo s/lenth/length
18131 gi/overrides/Gtk.py | 2 +-
18132 1 file changed, 1 insertion(+), 1 deletion(-)
18134 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
18135 Author: John (J5) Palmieri <johnp@redhat.com>
18136 Date: Thu Sep 15 17:48:58 2011 -0400
18138 fix typo in docstring
18140 gi/_gobject/propertyhelper.py | 2 +-
18141 1 file changed, 1 insertion(+), 1 deletion(-)
18143 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
18144 Author: John (J5) Palmieri <johnp@redhat.com>
18145 Date: Thu Sep 15 17:46:46 2011 -0400
18147 do not pass in len(str) to the length argument of
18148 gtk_test_buffer_insert* apis
18150 * in python 3 len(str) returns the number of characters while
18152 parameter is expecting the number of bytes. It also excepts -1
18154 terminated string. Since all of our strings are null terminated,
18156 set length to that.
18158 gi/overrides/Gtk.py | 6 ++----
18159 1 file changed, 2 insertions(+), 4 deletions(-)
18161 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
18162 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18163 Date: Mon Sep 12 21:07:20 2011 +0200
18165 Switch tarball compression format to tar.xz only.
18168 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
18169 for more information.
18171 https://bugzilla.gnome.org/show_bug.cgi?id=659140
18173 configure.ac | 2 +-
18174 1 file changed, 1 insertion(+), 1 deletion(-)
18176 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
18177 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18178 Date: Thu Sep 15 14:18:57 2011 +0200
18180 Remove pygtk_version attribute from internal gi._gobject module.
18182 This used to be provided for backwards compatibility with older PyGTK
18183 versions. As PyGObject3 no longer provides support for static bindings
18184 like PyGTK, the pygtk_version attribute has become obsolete.
18186 https://bugzilla.gnome.org/show_bug.cgi?id=659142
18188 gi/_gobject/gobjectmodule.c | 4 ----
18189 gi/_gobject/pygobject.h | 2 --
18190 2 files changed, 6 deletions(-)
18192 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
18193 Author: John (J5) Palmieri <johnp@redhat.com>
18194 Date: Thu Sep 15 15:52:18 2011 -0400
18196 remove overridesdir from the .pc file and add it to the gi module
18198 * having the variable in the .pc file caused issues parallel
18200 for different versions of python
18201 * putting it into the module allows us to give the correct directory
18202 based on which version of python you run the script from
18203 * access the var as such:
18205 installdir = gi._overridesdir
18207 gi/__init__.py | 2 ++
18208 pygobject-3.0.pc.in | 10 +++++++++-
18209 2 files changed, 11 insertions(+), 1 deletion(-)
18211 commit beea7072a5a989be47a755ac46647380d4dbd6b4
18212 Author: John (J5) Palmieri <johnp@redhat.com>
18213 Date: Thu Sep 15 00:11:09 2011 -0400
18215 fix tests to correctly construct a dummy Gtk.TargetEntry
18217 * structs are sometimes a pain in gi. Simply constructing them
18219 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
18221 but not correctly initialize the fields which can cause a crash.
18222 * tests didn't crash before because they were sending in bogus
18224 somehow did not trigger the issue
18225 * now with the C struct array marshallers doing the right thing,
18227 use of TargetEntry was causing a crash
18229 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18231 tests/test_overrides.py | 4 ++--
18232 1 file changed, 2 insertions(+), 2 deletions(-)
18234 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
18235 Author: John (J5) Palmieri <johnp@redhat.com>
18236 Date: Thu Sep 15 00:08:31 2011 -0400
18238 we now assume that C arrays of structs are flat so memcpy them
18241 * there is no way in GI to tell if a C array is flat or an array
18243 so we assume that all arrays of simple structs and gvalues are
18245 all arrays of objects and boxed structs are pointer arrays.
18246 * this will be removed once GI gets the ability to annotate level
18249 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18251 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
18252 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
18253 2 files changed, 61 insertions(+), 3 deletions(-)
18255 commit e30a41592baa942188574e5c9f99572963e2e387
18256 Author: John (J5) Palmieri <johnp@redhat.com>
18257 Date: Thu Sep 15 00:02:34 2011 -0400
18259 only update the arg counts once if child arg comes before parent arg
18261 * if the child arg comes before the parent arg we need to update the
18262 argument counts and take the child arg out of the marshalling lists
18263 since it is handled by the parent
18264 * when two parents reference the same child arg as is the case with
18265 two arrays which have a single length argument we only want
18268 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
18270 and only do the count update if this is set
18271 * APIs should keep in mind that this take extra processing so
18273 should really come after their parents
18275 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18277 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
18278 gi/pygi-cache.h | 9 +++++++--
18279 2 files changed, 27 insertions(+), 12 deletions(-)
18281 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
18282 Author: John (J5) Palmieri <johnp@redhat.com>
18283 Date: Wed Sep 14 20:26:15 2011 -0400
18285 Fix refcount bug by not creating python wrapper during gobject
18288 * This only applys to python subclasses of GObject which are
18291 * Because we were creating the wrapper when the gobject is
18293 and then again calling pygobject_new_full the wrapper would get
18295 * we could not simply Py_DECREF the wrapper due to the fact that
18296 non-subclassed objects (e.g. GObject.Object) instantiated via
18297 new do not run the same initialization code and would not have the
18299 * solution was to simply not create the wrapper during initialization
18300 because if it doesn't exist when pygobject_new_full is called
18301 it gets created and registered there
18302 * move the call to __init__ into pyg_object_new
18304 https://bugzilla.gnome.org/show_bug.cgi?id=657403
18306 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
18307 1 file changed, 15 insertions(+), 17 deletions(-)
18309 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
18310 Author: John (J5) Palmieri <johnp@redhat.com>
18311 Date: Tue Sep 13 18:08:04 2011 -0400
18313 don't destroy just created wrapper when object is created via
18316 https://bugzilla.gnome.org/show_bug.cgi?id=657403
18318 gi/_gobject/gobjectmodule.c | 2 +-
18319 1 file changed, 1 insertion(+), 1 deletion(-)
18321 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
18322 Author: Steve Frécinaux <code@istique.net>
18323 Date: Fri Aug 26 11:22:09 2011 +0200
18325 Remove deprecated API from pygobject.h
18327 https://bugzilla.gnome.org/show_bug.cgi?id=657416
18329 gi/_gobject/pygobject.h | 19 +------------------
18330 1 file changed, 1 insertion(+), 18 deletions(-)
18332 commit e1c71092af6e2cffa36248519adfceac1874051d
18333 Author: Marcin Owsiany <marcin@owsiany.pl>
18334 Date: Wed Aug 31 09:43:28 2011 +0100
18336 Convert gtk.TRUE/FALSE to Python True/False.
18338 https://bugzilla.gnome.org/show_bug.cgi?id=657785
18340 pygi-convert.sh | 2 ++
18341 1 file changed, 2 insertions(+)
18343 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
18344 Author: Steve Frécinaux <code@istique.net>
18345 Date: Fri Sep 2 08:37:15 2011 +0200
18347 Drop legacy __gobject_init__ method of GObject.Object.
18349 This method was used in gobject initialization at some point, but now
18350 using GObject.__init__() is sufficient, so let's not keep this old
18351 method around and let people misuse it.
18353 https://bugzilla.gnome.org/show_bug.cgi?id=658032
18355 examples/signal.py | 2 --
18356 gi/_gobject/pygobject.c | 11 -----------
18357 2 files changed, 13 deletions(-)
18359 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
18360 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18361 Date: Tue Sep 13 12:05:30 2011 +0200
18363 AM_CHECK_PYTHON_LIBS does not work for lib64
18365 But on Windows, Python extension modules need to be explicitly
18366 linked to libpython.
18368 https://bugzilla.gnome.org/show_bug.cgi?id=658856
18370 configure.ac | 4 +++-
18371 gi/Makefile.am | 9 ++++++---
18372 gi/_glib/Makefile.am | 10 ++++++++--
18373 gi/_gobject/Makefile.am | 8 +++++++-
18374 4 files changed, 24 insertions(+), 7 deletions(-)
18376 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
18377 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18378 Date: Mon Sep 12 23:03:05 2011 +0200
18380 Remove common_ldflags from Makefile.am as it is no longer used.
18382 https://bugzilla.gnome.org/show_bug.cgi?id=658856
18384 Makefile.am | 6 ------
18385 1 file changed, 6 deletions(-)
18387 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
18388 Author: John (J5) Palmieri <johnp@redhat.com>
18389 Date: Tue Sep 13 16:20:48 2011 -0400
18391 cast params for PyObject_IsInstance to suppress warnings
18393 gi/_gobject/pygobject-private.h | 4 ++--
18394 1 file changed, 2 insertions(+), 2 deletions(-)
18396 commit 861369ec59b17f67151813dc2e87c6e86126b954
18397 Author: John (J5) Palmieri <johnp@redhat.com>
18398 Date: Tue Sep 13 16:04:31 2011 -0400
18400 check if object is actually a PyGFlag before trying to access g_type
18402 * we are lucky this bit of code worked for as long as it did but when
18403 checking if an object is a PyGFlag we can't just rely on looking
18404 at the g_type field because if a regular gobject is passed in
18405 as is the case when you compare a long to a gflag, the gobject
18406 will not have a g_type field. Accessing a non-existant field
18407 could at best give you a false positive and at worse read
18408 memory beyond the bounds of the actual structure passed in
18410 gi/_gobject/pygobject-private.h | 4 ++--
18411 1 file changed, 2 insertions(+), 2 deletions(-)
18413 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
18414 Author: John (J5) Palmieri <johnp@redhat.com>
18415 Date: Tue Sep 13 16:03:02 2011 -0400
18417 fix regression - add instance type checks since Py3 no longer does
18420 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
18421 1 file changed, 19 insertions(+), 2 deletions(-)
18423 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
18424 Author: John (J5) Palmieri <johnp@redhat.com>
18425 Date: Fri Sep 2 18:39:51 2011 -0400
18427 refactor in/out marshalling to be to_py/from_py
18429 * in/out make sense from a C perspective but when you get to the
18430 python layers it makes more sense to label them as to_py and
18431 from_py to denote which way we are marshalling
18432 * this helps clear up the difference between callbacks which
18433 call into python and invoked functions which call into C
18434 * in the callback case we marshal in values to Python objects
18435 and out values to C types but in the invoke case we do the
18436 reverse. Dealing with to_py/from_py makes the code much more
18437 resuable and consistant
18439 https://bugzilla.gnome.org/show_bug.cgi?id=658362
18441 gi/Makefile.am | 8 +-
18442 gi/pygi-cache.c | 673 ++++++++++-----------
18443 gi/pygi-cache.h | 62 +-
18444 gi/pygi-invoke.c | 144 ++---
18445 gi/pygi-marshal-cleanup.c | 168 +++---
18446 gi/pygi-marshal-cleanup.h | 128 ++--
18447 gi/pygi-marshal-from-py.c | 1412
18448 +++++++++++++++++++++++++++++++++++++++++++++
18449 gi/pygi-marshal-from-py.h | 186 ++++++
18450 gi/pygi-marshal-in.c | 1412
18451 ---------------------------------------------
18452 gi/pygi-marshal-in.h | 186 ------
18453 gi/pygi-marshal-out.c | 768 ------------------------
18454 gi/pygi-marshal-out.h | 144 -----
18455 gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
18456 gi/pygi-marshal-to-py.h | 144 +++++
18457 14 files changed, 3122 insertions(+), 3081 deletions(-)
18459 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
18460 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18461 Date: Fri Sep 9 16:50:25 2011 +0200
18463 Examples: fix cairo-demo.py imports
18465 examples/cairo-demo.py | 6 +++---
18466 1 file changed, 3 insertions(+), 3 deletions(-)
18468 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
18469 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18470 Date: Fri Sep 9 15:08:27 2011 +0200
18472 Fix paths and add missing overridesdir variable used in uninstalled
18475 https://bugzilla.gnome.org/show_bug.cgi?id=658654
18477 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
18478 1 file changed, 7 insertions(+), 7 deletions(-)
18480 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
18481 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18482 Date: Fri Sep 9 15:08:04 2011 +0200
18484 Remove no longer used variables from pkgconfig files
18486 https://bugzilla.gnome.org/show_bug.cgi?id=658654
18488 pygobject-3.0-uninstalled.pc.in | 6 ------
18489 pygobject-3.0.pc.in | 5 +----
18490 2 files changed, 1 insertion(+), 10 deletions(-)
18492 commit 81d388780311311d8dc4a027a59d114edf9a00fc
18493 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18494 Date: Fri Sep 9 14:57:58 2011 +0200
18496 docs/Makefile.am and m4/python.m4: Python3 portability fixes
18498 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18500 docs/Makefile.am | 2 +-
18501 m4/python.m4 | 2 +-
18502 2 files changed, 2 insertions(+), 2 deletions(-)
18504 commit 7e692ee061406e48e4862b98a0829650b1d6d585
18505 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18506 Date: Fri Sep 9 14:57:46 2011 +0200
18508 Refactor and clean Makefile.am files
18510 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18513 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
18514 gi/_glib/Makefile.am | 100
18515 ++++++++++++++++++++++++++++++----------------
18516 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
18517 gi/overrides/Makefile.am | 4 +-
18518 gi/repository/Makefile.am | 4 +-
18519 6 files changed, 162 insertions(+), 114 deletions(-)
18521 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
18522 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18523 Date: Fri Sep 9 14:57:36 2011 +0200
18525 Remove all PLATFORM_VERSION = 2.0 traces
18527 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18529 gi/Makefile.am | 2 --
18530 gi/overrides/Makefile.am | 1 -
18531 gi/repository/Makefile.am | 1 -
18532 3 files changed, 4 deletions(-)
18534 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
18535 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18536 Date: Fri Sep 9 14:57:25 2011 +0200
18538 Remove gi/tests/ directory as all the tests now live in tests/
18540 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18542 gi/tests/Makefile.am | 24 ------------------------
18543 gi/tests/runtests.py | 21 ---------------------
18544 2 files changed, 45 deletions(-)
18546 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
18547 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18548 Date: Fri Sep 9 14:55:25 2011 +0200
18550 autogen.sh: Use autoreconf instead of a custom script and honor
18553 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18557 +++++++------------------------------------------------------
18558 2 files changed, 12 insertions(+), 85 deletions(-)
18560 commit 4671f5397003f376f00830e3fd1c214de594619f
18561 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18562 Date: Fri Sep 9 14:55:01 2011 +0200
18564 use improved python.m4 macros to search for Python headers and libs
18566 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18568 configure.ac | 3 ++-
18569 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
18570 2 files changed, 39 insertions(+), 11 deletions(-)
18572 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
18573 Author: Javier Jardón <jjardon@gnome.org>
18574 Date: Fri Sep 9 15:38:22 2011 +0100
18576 Make maintiner mode enabled by default
18579 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
18581 configure.ac | 2 +-
18582 1 file changed, 1 insertion(+), 1 deletion(-)
18584 commit b24dcb415406668931e02a1f669ef9861bb3a660
18585 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18586 Date: Wed Aug 24 09:58:10 2011 +0200
18588 Disable documentation for now since they are completely wrong for GI.
18590 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18593 configure.ac | 25 -------------------------
18594 2 files changed, 1 insertion(+), 26 deletions(-)
18596 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
18597 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18598 Date: Wed Sep 7 10:38:28 2011 +0200
18600 Fix documentation installation directory
18602 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18604 docs/Makefile.am | 5 +++--
18605 1 file changed, 3 insertions(+), 2 deletions(-)
18607 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
18608 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18609 Date: Tue Sep 6 22:22:11 2011 +0200
18611 Remove distutils based build system.
18613 The only reason this might be brought back to life again is when
18614 the whole stack can be built with Visual Studio (including
18615 gobject-introspection) again. Building with MinGW/MSYS can now
18616 be done with the usual autogen.sh/configure/make/make install dance.
18618 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18621 Makefile.am | 25 +--
18622 README.win32 | 21 --
18624 -----------------------------------------------
18625 pygobject_postinstall.py | 9 -
18626 setup.py | 351 --------------------------------
18627 6 files changed, 7 insertions(+), 915 deletions(-)
18629 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
18630 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18631 Date: Wed Sep 7 10:40:36 2011 +0200
18633 [gtk-demo] Fix syntax highlighter encoding issue
18635 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
18636 Python 2 however we get a str (not unicode). So with Python 2 the
18637 tokenizer returned bogus data when ran over a demo that contains real
18638 UTF-8 codepoints (like rotatedtext.py for example).
18640 This patch thus fixes the "Gtk-CRITICAL **:
18641 gtk_text_iter_set_line_offset:
18642 assertion `char_on_line <= chars_in_line` failed" assertions when
18644 the rotated text demo in the treeview.
18646 demos/gtk-demo/gtk-demo.py | 3 +++
18647 1 file changed, 3 insertions(+)
18649 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
18650 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18651 Date: Tue Sep 6 22:13:54 2011 +0200
18653 overrides: add constants for atoms
18655 gi/overrides/Gdk.py | 49
18656 +++++++++++++++++++++++++++++++++++++++++++++++++
18657 1 file changed, 49 insertions(+)
18659 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
18660 Author: Steve Frécinaux <code@istique.net>
18661 Date: Wed Aug 31 14:18:56 2011 +0200
18663 Drop pygobject_construct() from public API.
18665 These functions were introduced in 2005 because python objects
18667 "just" be instantiated using g_object_new(), but this is not true
18668 anymore since the introduction of new-style constructors. Hence
18670 has no reason to be there anymore.
18672 Nowadays, people who want to construct GObjects defined in python
18674 just use g_object_new().
18676 https://bugzilla.gnome.org/show_bug.cgi?id=657814
18678 gi/_gobject/gobjectmodule.c | 118
18679 +++++++++-------------------------------
18680 gi/_gobject/pygobject-private.h | 3 -
18681 gi/_gobject/pygobject.h | 8 ---
18682 3 files changed, 26 insertions(+), 103 deletions(-)
18684 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
18685 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18686 Date: Wed Aug 31 18:00:44 2011 +0200
18688 post release version bump
18690 configure.ac | 2 +-
18691 1 file changed, 1 insertion(+), 1 deletion(-)
18693 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
18694 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18695 Date: Wed Aug 31 17:58:37 2011 +0200
18699 NEWS | 12 ++++++++++++
18700 1 file changed, 12 insertions(+)
18702 commit 429569abddada5a3bad554de707ddf35b349936e
18703 Author: John (J5) Palmieri <johnp@redhat.com>
18704 Date: Thu Aug 25 13:57:53 2011 -0400
18706 support skip annotation for return values
18708 * this is used for things like skiping gboolean returns that are
18709 useful is C but useless in python
18711 * cleans up after skipped returns that are also marked transfer
18713 https://bugzilla.gnome.org/show_bug.cgi?id=650135
18715 gi/pygi-cache.c | 1 +
18716 gi/pygi-cache.h | 1 +
18717 gi/pygi-invoke.c | 48
18718 ++++++++++++++++++++++++++++++------------------
18719 tests/test_everything.py | 8 ++++++++
18720 4 files changed, 40 insertions(+), 18 deletions(-)
18722 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
18723 Author: Xavier Claessens <xclaesse@gmail.com>
18724 Date: Tue Aug 2 12:05:12 2011 +0200
18726 Test GPtrArray regression
18728 tests/test_everything.py | 3 +++
18729 1 file changed, 3 insertions(+)
18731 commit 42fc9fa437102c882844a0e70a081ab08de92658
18732 Author: Steve Frécinaux <code@istique.net>
18733 Date: Fri Aug 26 10:53:43 2011 +0200
18735 Drop support for old constructor style.
18737 Bindings don't write their own constructors anymore, and the old style
18738 has been deprecated for ages, so let's just drop them now and make
18741 https://bugzilla.gnome.org/show_bug.cgi?id=657413
18743 gi/_gobject/gobjectmodule.c | 20 --------------------
18744 gi/_gobject/pygobject-private.h | 1 -
18745 gi/_gobject/pygobject.c | 1 -
18746 gi/_gobject/pygobject.h | 2 --
18747 gi/gimodule.c | 28 ----------------------------
18749 tests/testhelpermodule.c | 5 -----
18750 7 files changed, 59 deletions(-)
18752 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
18753 Author: Steve Frécinaux <code@istique.net>
18754 Date: Fri Aug 26 10:45:59 2011 +0200
18756 Drop support for sink functions.
18758 Sink functions were meant to deal with floating references in a custom
18759 way. They are not useful anymore with the dynamic bindings.
18761 https://bugzilla.gnome.org/show_bug.cgi?id=642233
18763 gi/_gobject/gobjectmodule.c | 1 -
18764 gi/_gobject/pygobject.c | 53 ----------------------------------------
18765 gi/_gobject/pygobject.h | 4 ---
18766 tests/test-floating.c | 59
18767 +++++++--------------------------------------
18768 tests/test-floating.h | 42 +++++++++-----------------------
18769 tests/test_gobject.py | 13 +++-------
18770 tests/testhelpermodule.c | 32 +++++++-----------------
18771 7 files changed, 32 insertions(+), 172 deletions(-)
18773 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
18774 Author: Mike Gorse <mgorse@novell.com>
18775 Date: Wed Aug 24 17:30:09 2011 -0500
18777 Reinstate copying of in-line structs in arrays
18779 For arrays of in-line, non-boxed structures with (transfer full),
18780 _pygi_marshal_free_out_array eventually gets called and frees
18782 data, so we should copy it (IE, BGO#653588).
18784 https://bugzilla.gnome.org/show_bug.cgi?id=657120
18786 gi/pygi-marshal-out.c | 8 +++++++-
18787 1 file changed, 7 insertions(+), 1 deletion(-)
18789 commit f38511f251602e18551c04617cc2e2d42e812e1e
18790 Author: John (J5) Palmieri <johnp@redhat.com>
18791 Date: Tue Aug 23 14:18:43 2011 -0400
18793 fix inline struct array handling
18795 * we now assume any non-boxed structs are inline in an array since
18797 no way to check in GI and this is the most common use for an
18801 https://bugzilla.gnome.org/show_bug.cgi?id=657120
18803 gi/pygi-marshal-out.c | 23 +++++++++--------------
18804 tests/test_gi.py | 8 ++++++++
18805 2 files changed, 17 insertions(+), 14 deletions(-)
18807 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
18808 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18809 Date: Tue Aug 23 11:30:41 2011 +0200
18811 [gtk-demo] printing.py: set print and error dialog transient parent
18813 demos/gtk-demo/demos/printing.py | 8 ++++----
18814 1 file changed, 4 insertions(+), 4 deletions(-)
18816 commit 1aebc1565752840075027b9452fe2a67217bf53b
18817 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18818 Date: Tue Aug 23 11:28:05 2011 +0200
18820 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
18821 handle printing errors
18823 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
18824 1 file changed, 10 insertions(+), 4 deletions(-)
18826 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
18827 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18828 Date: Tue Aug 23 08:05:43 2011 +0200
18830 [gtk-demo] show "activated" demo's in italic font in the TreeView
18832 demos/gtk-demo/gtk-demo.py | 7 +++++--
18833 1 file changed, 5 insertions(+), 2 deletions(-)
18835 commit 971d063f7a36e13ef6621db7002b00af52f6292a
18836 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18837 Date: Mon Aug 22 14:52:28 2011 +0200
18839 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
18840 token, so simply remove it
18842 demos/gtk-demo/gtk-demo.py | 5 +----
18843 1 file changed, 1 insertion(+), 4 deletions(-)
18845 commit c2979a37d6d505095b6e55789150a6498d95819d
18846 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18847 Date: Mon Aug 22 14:22:18 2011 +0200
18849 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
18850 but Gtk.TextBuffer.insert expects a string.
18852 Fixed by using codes.open() as hinted in
18853 http://docs.python.org/dev/howto/pyporting.html#text-files
18854 section "If pre-2.6 compatibility is needed" (because configure.ac
18855 is still happy with Python 2.5.2).
18857 demos/gtk-demo/gtk-demo.py | 6 +++++-
18858 1 file changed, 5 insertions(+), 1 deletion(-)
18860 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
18861 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18862 Date: Mon Aug 22 12:30:24 2011 +0200
18864 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
18866 demos/gtk-demo/demos/images.py | 2 +-
18867 1 file changed, 1 insertion(+), 1 deletion(-)
18869 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
18870 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18871 Date: Mon Aug 22 10:38:04 2011 +0200
18873 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
18876 demos/gtk-demo/demos/printing.py | 4 ++--
18877 1 file changed, 2 insertions(+), 2 deletions(-)
18879 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
18880 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18881 Date: Mon Aug 22 10:37:08 2011 +0200
18883 [gtk-demo] printing.py: fix text file loading
18885 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
18886 1 file changed, 16 insertions(+), 16 deletions(-)
18888 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
18889 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18890 Date: Mon Aug 22 10:20:35 2011 +0200
18892 [gtk-demo] pixbuf.py: fix image loading
18894 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
18895 1 file changed, 11 insertions(+), 14 deletions(-)
18897 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
18898 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18899 Date: Mon Aug 22 10:10:02 2011 +0200
18901 [gtk-demo] images.py: fix logo loading
18903 demos/gtk-demo/demos/images.py | 70
18904 +++++++++++++++++-------------------------
18905 1 file changed, 29 insertions(+), 41 deletions(-)
18907 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
18908 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18909 Date: Wed Aug 24 12:19:21 2011 +0200
18911 [gtk-demo] appwindow.py: set AboutDialog parent
18913 demos/gtk-demo/demos/appwindow.py | 7 +++----
18914 1 file changed, 3 insertions(+), 4 deletions(-)
18916 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
18917 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18918 Date: Mon Aug 22 07:58:25 2011 +0200
18920 [gtk-demo] appwindow.py: fix logo loading
18922 demos/gtk-demo/demos/appwindow.py | 10 +++-------
18923 1 file changed, 3 insertions(+), 7 deletions(-)
18925 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
18926 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18927 Date: Mon Aug 22 07:57:31 2011 +0200
18929 [gtk-demo] appwindow.py: fix callback signatures
18931 demos/gtk-demo/demos/appwindow.py | 6 +++---
18932 1 file changed, 3 insertions(+), 3 deletions(-)
18934 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
18935 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18936 Date: Mon Aug 22 07:48:28 2011 +0200
18938 [gtk-demo] fix glib vs GLib usage
18940 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
18941 demos/gtk-demo/demos/appwindow.py | 2 +-
18942 2 files changed, 2 insertions(+), 2 deletions(-)
18944 commit d29cad6976a80862e1fc590d3e7d190e8a234866
18945 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18946 Date: Wed Aug 24 12:19:02 2011 +0200
18948 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
18949 caused by improved GDK overrides
18951 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
18952 1 file changed, 3 insertions(+), 3 deletions(-)
18954 commit f29d3a85a275a39e8481484779264b0dea1160ab
18955 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18956 Date: Mon Aug 22 07:25:32 2011 +0200
18958 [gtk-demo] optimize source colorizer by only preparing iters for
18959 known colorized tokens
18961 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
18962 1 file changed, 15 insertions(+), 5 deletions(-)
18964 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
18965 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18966 Date: Fri Aug 19 18:31:20 2011 +0200
18968 [gtk-demo] small formatting fixes
18970 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
18971 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
18972 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
18973 demos/gtk-demo/demos/assistant.py | 1 +
18974 demos/gtk-demo/demos/builder.py | 4 +++-
18975 demos/gtk-demo/demos/button_box.py | 1 +
18976 demos/gtk-demo/demos/clipboard.py | 1 +
18977 demos/gtk-demo/demos/colorselector.py | 1 +
18978 demos/gtk-demo/demos/combobox.py | 1 +
18979 demos/gtk-demo/demos/drawingarea.py | 4 +++-
18980 demos/gtk-demo/demos/test.py | 2 ++
18981 11 files changed, 19 insertions(+), 6 deletions(-)
18983 commit c42cb4da399ff5732f4ca732b85134de796a60fa
18984 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18985 Date: Fri Aug 19 18:30:50 2011 +0200
18987 [gtk-demo] remove "is_fully_bound" from demos
18989 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
18990 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
18991 demos/gtk-demo/demos/appwindow.py | 3 ---
18992 demos/gtk-demo/demos/assistant.py | 2 --
18993 demos/gtk-demo/demos/builder.py | 2 --
18994 demos/gtk-demo/demos/button_box.py | 2 --
18995 demos/gtk-demo/demos/clipboard.py | 2 --
18996 demos/gtk-demo/demos/colorselector.py | 2 --
18997 demos/gtk-demo/demos/combobox.py | 2 --
18998 demos/gtk-demo/demos/drawingarea.py | 2 --
18999 demos/gtk-demo/demos/test.py | 1 -
19000 11 files changed, 22 deletions(-)
19002 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
19003 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19004 Date: Fri Aug 19 18:26:31 2011 +0200
19006 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
19007 and GTK+'s gtk-demo code
19009 demos/gtk-demo/gtk-demo.py | 116
19010 +++++++++++++++++++++++++++++++++++++++------
19011 1 file changed, 101 insertions(+), 15 deletions(-)
19013 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
19014 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19015 Date: Fri Aug 19 15:08:15 2011 +0200
19017 [gtk-demo] remove C-isms
19019 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
19020 1 file changed, 14 insertions(+), 14 deletions(-)
19022 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
19023 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19024 Date: Fri Aug 19 14:54:39 2011 +0200
19026 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
19028 demos/gtk-demo/gtk-demo.py | 4 ++--
19029 1 file changed, 2 insertions(+), 2 deletions(-)
19031 commit 241827208e25c72a990d8edd95a3b879470d6409
19032 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19033 Date: Fri Aug 19 14:40:56 2011 +0200
19035 [gtk-demo] remove duplicate storage of demos by only storing them
19036 in a TreeStore subclass
19038 This also moves demos loading code into the TreeStore subclass and
19039 demo loading code into the Demo class
19041 demos/gtk-demo/gtk-demo.py | 151
19042 +++++++++++++++++++++------------------------
19043 1 file changed, 70 insertions(+), 81 deletions(-)
19045 commit 58797c355a08a35375988881a17958bb42ad54bb
19046 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19047 Date: Fri Aug 19 14:40:00 2011 +0200
19049 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
19050 to demonstrate the GLib.MainLoop
19052 demos/gtk-demo/gtk-demo.py | 43
19053 ++++++++++++++++++++++++++-----------------
19054 1 file changed, 26 insertions(+), 17 deletions(-)
19056 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
19057 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19058 Date: Fri Aug 19 11:46:17 2011 +0200
19060 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
19062 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
19063 1 file changed, 23 insertions(+), 16 deletions(-)
19065 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
19066 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19067 Date: Fri Aug 19 11:02:35 2011 +0200
19069 [gtk-demo] drawingarea: fix labels
19071 demos/gtk-demo/demos/drawingarea.py | 4 ++--
19072 1 file changed, 2 insertions(+), 2 deletions(-)
19074 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
19075 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19076 Date: Fri Aug 19 09:57:31 2011 +0200
19078 [gtk-demo] fix imports
19080 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
19081 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
19082 demos/gtk-demo/gtk-demo.py | 8 ++++----
19083 3 files changed, 14 insertions(+), 9 deletions(-)
19085 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
19086 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19087 Date: Fri Aug 19 10:07:14 2011 +0200
19089 [gtk-demo] fix shebang
19091 demos/gtk-demo/gtk-demo.py | 2 +-
19092 1 file changed, 1 insertion(+), 1 deletion(-)
19094 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
19095 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19096 Date: Fri Aug 19 12:27:04 2011 +0200
19098 Added support for __setitem__ to TreeModel and support for slices
19101 https://bugzilla.gnome.org/show_bug.cgi?id=656891
19103 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
19104 tests/test_overrides.py | 57
19105 +++++++++++++++++++++++++++++++++++++++++++++++++
19106 2 files changed, 81 insertions(+), 2 deletions(-)
19108 commit d6da96c65b2ed3cda238886990a624fbc31f6987
19109 Author: Olav Vitters <olav@vitters.nl>
19110 Date: Wed Aug 24 16:31:12 2011 +0200
19112 Convert ACCEL_* constants into Gtk.AccelFlags.
19114 pygi-convert.sh | 1 +
19115 1 file changed, 1 insertion(+)
19117 commit 0841d41698302abb5d987849a5874252564ed428
19118 Author: Olav Vitters <olav@vitters.nl>
19119 Date: Wed Aug 24 16:22:17 2011 +0200
19121 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
19123 pygi-convert.sh | 1 +
19124 1 file changed, 1 insertion(+)
19126 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
19127 Author: John (J5) Palmieri <johnp@redhat.com>
19128 Date: Thu Aug 18 14:06:32 2011 -0400
19130 post commit version bump
19132 configure.ac | 2 +-
19133 1 file changed, 1 insertion(+), 1 deletion(-)
19135 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
19136 Author: John (J5) Palmieri <johnp@redhat.com>
19137 Date: Thu Aug 18 14:02:30 2011 -0400
19141 NEWS | 10 ++++++++++
19142 1 file changed, 10 insertions(+)
19144 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
19145 Author: John (J5) Palmieri <johnp@redhat.com>
19146 Date: Thu Aug 18 13:50:51 2011 -0400
19148 remove tests that were removed from gi
19150 tests/test_gi.py | 11 -----------
19151 1 file changed, 11 deletions(-)
19153 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
19154 Author: John (J5) Palmieri <johnp@redhat.com>
19155 Date: Thu Aug 18 13:48:57 2011 -0400
19157 don't calculate item_size using is_pointer
19159 * is_pointer is poorly defined and cacluating item_size for
19160 arrays causes a crash in the tests because of this
19161 * disregaurd is_pointer when cacluating item sizes
19163 gi/pygi-info.c | 8 ++------
19164 1 file changed, 2 insertions(+), 6 deletions(-)
19166 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
19167 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19168 Date: Wed Jul 6 01:50:31 2011 +0200
19170 Updated signal example to use GObject introspection
19172 https://bugzilla.gnome.org/show_bug.cgi?id=654162
19174 examples/signal.py | 9 ++++-----
19175 1 file changed, 4 insertions(+), 5 deletions(-)
19177 commit 0332010e704e253380e993874eab9dd122e59a7e
19178 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19179 Date: Wed Jul 6 01:54:50 2011 +0200
19181 Updated properties example to use GObject introspection
19183 https://bugzilla.gnome.org/show_bug.cgi?id=654162
19185 examples/properties.py | 14 +++++++-------
19186 1 file changed, 7 insertions(+), 7 deletions(-)
19188 commit c39f4555ebd703651eca6f978ed9870655b737f0
19189 Author: Martin Pitt <martin.pitt@ubuntu.com>
19190 Date: Fri Aug 12 22:55:02 2011 +0200
19192 Add override for GLib.Variant.split_signature()
19194 This is useful for e. g. iterating over method parameters which are
19196 single Variant. In particular we will need it for automatically
19198 introspection XML for exported DBus server objects.
19200 gi/overrides/GLib.py | 50
19201 +++++++++++++++++++++++++++++++++++++++++++++++++
19202 tests/test_overrides.py | 22 ++++++++++++++++++++++
19203 2 files changed, 72 insertions(+)
19205 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
19206 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19207 Date: Mon Aug 15 18:58:31 2011 +0200
19209 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
19211 https://bugzilla.gnome.org/show_bug.cgi?id=654001
19213 pygi-convert.sh | 2 ++
19214 1 file changed, 2 insertions(+)
19216 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
19217 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19218 Date: Mon Aug 15 13:12:49 2011 +0200
19220 Install pygobject.h again.
19222 This is needed by libpeas.
19224 gi/_gobject/Makefile.am | 5 ++++-
19225 pygobject-3.0-uninstalled.pc.in | 4 ++--
19226 pygobject-3.0.pc.in | 6 +++---
19227 3 files changed, 9 insertions(+), 6 deletions(-)
19229 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
19230 Author: John (J5) Palmieri <johnp@redhat.com>
19231 Date: Sun Aug 14 11:20:15 2011 -0400
19233 update the doap file
19235 pygobject.doap | 26 ++++++++++++++------------
19236 1 file changed, 14 insertions(+), 12 deletions(-)
19238 commit 762a36d2343bc39a502507d600fd1b9db9649dae
19239 Author: John (J5) Palmieri <johnp@redhat.com>
19240 Date: Sun Aug 14 11:13:25 2011 -0400
19244 configure.ac | 2 +-
19245 1 file changed, 1 insertion(+), 1 deletion(-)
19247 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
19248 Author: John (J5) Palmieri <johnp@redhat.com>
19249 Date: Sun Aug 14 10:13:37 2011 -0400
19251 get things ready for release
19254 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19255 1 file changed, 194 insertions(+)
19257 commit ffd057649380d4249c1c52e1225e3646f3994bc6
19258 Author: John (J5) Palmieri <johnp@redhat.com>
19259 Date: Sun Aug 14 05:26:18 2011 -0400
19261 pass exta keywords to the Box constructor
19263 gi/overrides/Gtk.py | 4 ++--
19264 1 file changed, 2 insertions(+), 2 deletions(-)
19266 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
19267 Author: John (J5) Palmieri <johnp@redhat.com>
19268 Date: Sat Aug 13 11:03:07 2011 -0400
19270 add (Tree|List)Store set method override
19272 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
19273 tests/test_overrides.py | 102
19274 ++++++++++++++++++++++++++++++++++++++++++++++--
19275 2 files changed, 149 insertions(+), 3 deletions(-)
19277 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
19278 Author: John (J5) Palmieri <johnp@redhat.com>
19279 Date: Sat Aug 13 09:19:29 2011 -0400
19281 add test for object arrays
19283 tests/test_everything.py | 6 ++++++
19284 1 file changed, 6 insertions(+)
19286 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
19287 Author: John (J5) Palmieri <johnp@redhat.com>
19288 Date: Sat Aug 13 08:46:18 2011 -0400
19290 only support C pointer arrays for structs and objects
19292 * There is no way to know if an array of structs or objects are
19294 or flat arrays. Since pointer arrays are the most useful and
19296 it has been decided to only support those arrays
19298 gi/pygi-marshal-out.c | 2 +-
19299 tests/test_gi.py | 8 --------
19300 2 files changed, 1 insertion(+), 9 deletions(-)
19302 commit b12379de1790b72d51883bf7b63c892639a892e7
19303 Author: John (J5) Palmieri <johnp@redhat.com>
19304 Date: Sat Aug 13 06:31:52 2011 -0400
19306 revert Gtk.Window override because it causes issues with subclasses
19308 gi/overrides/Gtk.py | 9 ---------
19309 1 file changed, 9 deletions(-)
19311 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
19312 Author: Jonathan Matthew <jonathan@d14n.org>
19313 Date: Thu Apr 7 21:05:32 2011 +1000
19315 take GIL in _pygi_invoke_closure_free (bug #647016)
19317 gi/pygi-closure.c | 3 +++
19318 1 file changed, 3 insertions(+)
19320 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
19321 Author: Johan Dahlin <jdahlin@litl.com>
19322 Date: Mon Jun 27 00:41:24 2011 -0300
19324 Add a default parameter to GtkTreeModel.filter_new
19326 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19328 gi/overrides/Gtk.py | 3 +++
19329 1 file changed, 3 insertions(+)
19331 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
19332 Author: Johan Dahlin <jdahlin@litl.com>
19333 Date: Mon Jun 27 00:40:12 2011 -0300
19335 Add vbox/action_area properties
19337 Accessing vbox/action_area directly creates segmentation fault,
19338 avoid that by mapping the fields to their getters for PyGTK
19341 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19343 gi/overrides/Gtk.py | 3 +++
19344 1 file changed, 3 insertions(+)
19346 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
19347 Author: Johan Dahlin <jdahlin@litl.com>
19348 Date: Mon Jun 27 00:39:41 2011 -0300
19350 Add a couple of constructors
19352 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
19355 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19357 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
19358 1 file changed, 40 insertions(+)
19360 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
19361 Author: Johan Dahlin <jdahlin@litl.com>
19362 Date: Mon Jun 27 00:38:30 2011 -0300
19364 Do not always pass in user_data to callbacks.
19366 This keeps API compatibility with PyGTK and avoids sending
19367 in user_data if it's None.
19369 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19371 gi/overrides/Gtk.py | 15 ++++++++++++---
19372 1 file changed, 12 insertions(+), 3 deletions(-)
19374 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
19375 Author: Johan Dahlin <jdahlin@litl.com>
19376 Date: Mon Jun 27 00:38:20 2011 -0300
19378 Add a default detail value for Widget.render_icon
19380 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19382 gi/overrides/Gtk.py | 3 +++
19383 1 file changed, 3 insertions(+)
19385 commit 5b1c875269b7979caae97e84919a690a34d92f29
19386 Author: Johan Dahlin <jdahlin@litl.com>
19387 Date: Mon Jun 27 00:36:20 2011 -0300
19389 Add an override for Gdk.color_parse()
19391 Change Gdk.color_parse() to not return a tuple, instead just
19392 return the created color or None if it wasn't possible to parse
19393 the name into a color.
19395 This keeps compatibility with PyGTK but breaks the current API.
19397 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19399 gi/overrides/Gdk.py | 8 ++++++++
19400 1 file changed, 8 insertions(+)
19402 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
19403 Author: Laszlo Pandy <lpandy@src.gnome.org>
19404 Date: Mon Aug 8 12:06:18 2011 +0200
19406 Support function calling with keyword arguments in invoke.
19408 https://bugzilla.gnome.org/show_bug.cgi?id=625596
19410 gi/pygi-cache.c | 39 ++++++++++++
19411 gi/pygi-cache.h | 4 ++
19412 gi/pygi-invoke.c | 162
19413 +++++++++++++++++++++++++++++++++++++++++++++--
19414 gi/types.py | 12 ++--
19415 tests/test_everything.py | 2 +-
19416 tests/test_gi.py | 58 +++++++++++++++++
19417 6 files changed, 265 insertions(+), 12 deletions(-)
19419 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
19420 Author: John (J5) Palmieri <johnp@redhat.com>
19421 Date: Sat Aug 13 04:13:28 2011 -0400
19423 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
19425 gi/pygi-info.c | 5 -----
19426 1 file changed, 5 deletions(-)
19428 commit 745001178fc72be5626c7211366d694f41162987
19429 Author: Martin Pitt <martin.pitt@ubuntu.com>
19430 Date: Thu Aug 11 15:11:42 2011 +0200
19432 Fix gobject vs. gi.repository warning
19434 Check the warning earlier and fix the operator, so that it actually
19436 update the warning to explain how to fix the problem.
19438 gi/_gobject/__init__.py | 8 ++++----
19439 1 file changed, 4 insertions(+), 4 deletions(-)
19441 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
19442 Author: John (J5) Palmieri <johnp@redhat.com>
19443 Date: Fri Jul 22 15:46:31 2011 -0400
19445 make GObject and GLib able to take overrides
19447 * derive directly from DynamicModule instead of InterfaceModule
19449 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19451 gi/importer.py | 11 +++---
19453 ++++++++++++++++++++++++++++-----------------------------
19454 2 files changed, 64 insertions(+), 65 deletions(-)
19456 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
19457 Author: John (J5) Palmieri <johnp@redhat.com>
19458 Date: Fri Jul 22 15:45:09 2011 -0400
19460 avoid dependency issue by importing the internal gobject
19462 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19464 gi/__init__.py | 2 +-
19465 1 file changed, 1 insertion(+), 1 deletion(-)
19467 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
19468 Author: John (J5) Palmieri <johnp@redhat.com>
19469 Date: Fri Jul 22 14:13:02 2011 -0400
19471 fix tests to use the new GLib module
19473 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19475 tests/test_mainloop.py | 7 +++----
19476 tests/test_option.py | 3 ++-
19477 tests/test_source.py | 24 +++++++++++-------------
19478 tests/test_subprocess.py | 12 +++++-------
19479 tests/test_thread.py | 10 ++++------
19480 tests/test_uris.py | 4 ++--
19481 6 files changed, 27 insertions(+), 33 deletions(-)
19483 commit 191ef79315f8a5641699536fde58da18e23ef904
19484 Author: John (J5) Palmieri <johnp@redhat.com>
19485 Date: Fri Jul 22 14:11:53 2011 -0400
19487 add DynamicGLibModule which works like DynamicGObjectModule
19489 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19491 gi/importer.py | 7 +++++--
19492 gi/module.py | 32 +++++++++++++++++++++++++++++---
19493 2 files changed, 34 insertions(+), 5 deletions(-)
19495 commit fbd4a8263260c187211799454c08b1e55e2cb998
19496 Author: John (J5) Palmieri <johnp@redhat.com>
19497 Date: Fri Jul 22 12:27:41 2011 -0400
19499 refactor, add objects and types to the correct internal module
19501 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19503 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
19504 gi/_glib/pygmaincontext.c | 2 +-
19505 gi/_glib/pygmainloop.c | 4 ++--
19506 gi/_glib/pygoptioncontext.c | 4 ++--
19507 gi/_glib/pygoptiongroup.c | 4 ++--
19508 gi/_glib/pygsource.c | 14 +++++++-------
19509 gi/_glib/pygspawn.c | 14 +++++++-------
19510 7 files changed, 40 insertions(+), 40 deletions(-)
19512 commit 7431b49a161df9178c55b814d3adff992ac2d722
19513 Author: John (J5) Palmieri <johnp@redhat.com>
19514 Date: Fri Jul 22 12:26:32 2011 -0400
19516 rename the pyglib shared library so we don't load the old one
19518 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19520 gi/Makefile.am | 2 +-
19521 gi/_glib/Makefile.am | 10 +++++-----
19522 gi/_gobject/Makefile.am | 2 +-
19523 3 files changed, 7 insertions(+), 7 deletions(-)
19525 commit b8700451acd4a19b59b64fc8641fca748d2189e2
19526 Author: John (J5) Palmieri <johnp@redhat.com>
19527 Date: Fri Jul 22 11:20:09 2011 -0400
19529 refactor tests to only use PyGObject 3 syntax
19531 * for PyGObject 3 we want to discourage the use of legacy
19533 * Using interfaces like from gi.repository import GObject makes
19534 sure that the internal _gobject module is loaded and not
19535 PyGObject 2's gobject module which would cause the application
19536 to not work correctly
19538 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19540 tests/runtests-windows.py | 4 +-
19541 tests/test_gdbus.py | 12 ++---
19542 tests/test_gi.py | 4 +-
19543 tests/test_gobject.py | 31 ++++++------
19544 tests/test_interface.py | 16 +++---
19545 tests/test_mainloop.py | 3 +-
19546 tests/test_overrides.py | 8 +--
19547 tests/test_properties.py | 124
19548 +++++++++++++++++++++++-----------------------
19549 tests/test_signal.py | 98 ++++++++++++++++++------------------
19550 tests/test_source.py | 5 +-
19551 tests/test_subprocess.py | 3 +-
19552 tests/test_thread.py | 5 +-
19553 tests/test_unknown.py | 8 +--
19554 tests/testhelpermodule.c | 2 +-
19555 tests/testmodule.py | 10 ++--
19556 15 files changed, 169 insertions(+), 164 deletions(-)
19558 commit c980dae21468fe073cc8782608148c346bb90ad7
19559 Author: John (J5) Palmieri <johnp@redhat.com>
19560 Date: Fri Jul 22 11:16:00 2011 -0400
19562 refactor the internal _glib module to import correct modules
19564 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19566 gi/_glib/__init__.py | 3 ++-
19567 gi/_glib/glibmodule.c | 10 +++++-----
19568 gi/_glib/option.py | 4 ++--
19569 gi/_glib/pyglib.c | 18 +++++++++---------
19570 4 files changed, 18 insertions(+), 17 deletions(-)
19572 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
19573 Author: John (J5) Palmieri <johnp@redhat.com>
19574 Date: Fri Jul 22 11:10:46 2011 -0400
19576 refactor to use the new internal _glib and _gobject modules
19578 * use relative imports instead of aboslute
19579 * fix the C imports to import the internal _gobject libs
19580 * add a check to see if the PyGObject 2 gobject module
19581 was already imported
19583 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19585 gi/_gobject/__init__.py | 20 +++++++++++++-------
19586 gi/_gobject/constants.py | 3 +--
19587 gi/_gobject/gobjectmodule.c | 2 +-
19588 gi/_gobject/propertyhelper.py | 11 +++++------
19589 gi/_gobject/pygobject.c | 16 ++++++++--------
19590 gi/_gobject/pygobject.h | 2 +-
19591 6 files changed, 29 insertions(+), 25 deletions(-)
19593 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
19594 Author: John (J5) Palmieri <johnp@redhat.com>
19595 Date: Fri Jul 22 11:07:10 2011 -0400
19597 refactor gi module to import and use internal _gobject module
19599 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19601 gi/importer.py | 2 --
19602 gi/module.py | 31 ++++++++++++++++---------------
19603 gi/overrides/Gtk.py | 2 +-
19604 gi/overrides/__init__.py | 6 +++---
19605 gi/pygobject-external.h | 2 +-
19606 gi/types.py | 12 ++++++------
19607 6 files changed, 27 insertions(+), 28 deletions(-)
19609 commit 6b9d738d78c6ac45d49f00402c89356887555069
19610 Author: John (J5) Palmieri <johnp@redhat.com>
19611 Date: Fri Jul 22 11:02:49 2011 -0400
19613 move the static bits internal to gi and refactor build files
19615 * the glib module now becomes the gi._glib module
19616 * the gobject module now becomes the gi._gobject module
19617 * we do this so we can install in parallel with PyGObject 2
19619 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19622 configure.ac | 6 +-
19623 gi/Makefile.am | 8 +-
19624 gi/_glib/Makefile.am | 58 +
19625 gi/_glib/__init__.py | 25 +
19626 gi/_glib/glibmodule.c | 969 ++++++++++++++
19627 gi/_glib/option.py | 358 ++++++
19628 gi/_glib/pygiochannel.c | 764 ++++++++++++
19629 gi/_glib/pygiochannel.h | 29 +
19630 gi/_glib/pyglib-private.h | 49 +
19631 gi/_glib/pyglib-python-compat.h | 245 ++++
19632 gi/_glib/pyglib.c | 633 ++++++++++
19633 gi/_glib/pyglib.h | 83 ++
19634 gi/_glib/pygmaincontext.c | 126 ++
19635 gi/_glib/pygmaincontext.h | 40 +
19636 gi/_glib/pygmainloop.c | 360 ++++++
19637 gi/_glib/pygmainloop.h | 36 +
19638 gi/_glib/pygoptioncontext.c | 337 +++++
19639 gi/_glib/pygoptioncontext.h | 39 +
19640 gi/_glib/pygoptiongroup.c | 298 +++++
19641 gi/_glib/pygoptiongroup.h | 42 +
19642 gi/_glib/pygsource.c | 725 +++++++++++
19643 gi/_glib/pygsource.h | 39 +
19644 gi/_glib/pygspawn.c | 264 ++++
19645 gi/_glib/pygspawn.h | 32 +
19646 gi/_gobject/Makefile.am | 71 ++
19647 gi/_gobject/__init__.py | 117 ++
19648 gi/_gobject/constants.py | 83 ++
19649 gi/_gobject/ffi-marshaller.c | 194 +++
19650 gi/_gobject/ffi-marshaller.h | 31 +
19651 gi/_gobject/gobjectmodule.c | 2638
19652 +++++++++++++++++++++++++++++++++++++++
19653 gi/_gobject/propertyhelper.py | 312 +++++
19654 gi/_gobject/pygboxed.c | 234 ++++
19655 gi/_gobject/pygboxed.h | 27 +
19656 gi/_gobject/pygenum.c | 366 ++++++
19657 gi/_gobject/pygenum.h | 27 +
19658 gi/_gobject/pygflags.c | 485 +++++++
19659 gi/_gobject/pygflags.h | 27 +
19660 gi/_gobject/pyginterface.c | 122 ++
19661 gi/_gobject/pyginterface.h | 40 +
19662 gi/_gobject/pygobject-private.h | 241 ++++
19663 gi/_gobject/pygobject.c | 2397
19664 +++++++++++++++++++++++++++++++++++
19665 gi/_gobject/pygobject.h | 667 ++++++++++
19666 gi/_gobject/pygparamspec.c | 404 ++++++
19667 gi/_gobject/pygparamspec.h | 31 +
19668 gi/_gobject/pygpointer.c | 198 +++
19669 gi/_gobject/pygpointer.h | 27 +
19670 gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
19671 gi/_gobject/pygtype.h | 28 +
19672 glib/Makefile.am | 61 -
19673 glib/__init__.py | 25 -
19674 glib/glibmodule.c | 969 --------------
19675 glib/option.py | 358 ------
19676 glib/pygiochannel.c | 764 ------------
19677 glib/pygiochannel.h | 29 -
19678 glib/pyglib-private.h | 49 -
19679 glib/pyglib-python-compat.h | 245 ----
19680 glib/pyglib.c | 633 ----------
19681 glib/pyglib.h | 83 --
19682 glib/pygmaincontext.c | 126 --
19683 glib/pygmaincontext.h | 40 -
19684 glib/pygmainloop.c | 360 ------
19685 glib/pygmainloop.h | 36 -
19686 glib/pygoptioncontext.c | 337 -----
19687 glib/pygoptioncontext.h | 39 -
19688 glib/pygoptiongroup.c | 298 -----
19689 glib/pygoptiongroup.h | 42 -
19690 glib/pygsource.c | 725 -----------
19691 glib/pygsource.h | 39 -
19692 glib/pygspawn.c | 264 ----
19693 glib/pygspawn.h | 32 -
19694 gobject/Makefile.am | 73 --
19695 gobject/__init__.py | 117 --
19696 gobject/constants.py | 83 --
19697 gobject/ffi-marshaller.c | 194 ---
19698 gobject/ffi-marshaller.h | 31 -
19699 gobject/gobjectmodule.c | 2638
19700 ---------------------------------------
19701 gobject/propertyhelper.py | 312 -----
19702 gobject/pygboxed.c | 234 ----
19703 gobject/pygboxed.h | 27 -
19704 gobject/pygenum.c | 366 ------
19705 gobject/pygenum.h | 27 -
19706 gobject/pygflags.c | 485 -------
19707 gobject/pygflags.h | 27 -
19708 gobject/pyginterface.c | 122 --
19709 gobject/pyginterface.h | 40 -
19710 gobject/pygobject-private.h | 241 ----
19711 gobject/pygobject.c | 2397
19712 -----------------------------------
19713 gobject/pygobject.h | 667 ----------
19714 gobject/pygparamspec.c | 404 ------
19715 gobject/pygparamspec.h | 31 -
19716 gobject/pygpointer.c | 198 ---
19717 gobject/pygpointer.h | 27 -
19718 gobject/pygtype.c | 1844 ---------------------------
19719 gobject/pygtype.h | 28 -
19720 tests/Makefile.am | 2 +-
19721 96 files changed, 16172 insertions(+), 16175 deletions(-)
19723 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
19724 Author: John (J5) Palmieri <johnp@redhat.com>
19725 Date: Mon Jul 18 18:46:31 2011 -0400
19729 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19731 Makefile.am | 5 ----
19733 -------------------------------------------------------------
19734 2 files changed, 100 deletions(-)
19736 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
19737 Author: John (J5) Palmieri <johnp@redhat.com>
19738 Date: Mon Jul 18 18:41:41 2011 -0400
19740 introspection is no longer optional
19742 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19744 Makefile.am | 8 +-------
19745 configure.ac | 43 +++++++++++++++++--------------------------
19746 gi/pygi.h | 37 -------------------------------------
19747 gobject/Makefile.am | 5 +----
19748 tests/Makefile.am | 7 +------
19749 5 files changed, 20 insertions(+), 80 deletions(-)
19751 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
19752 Author: John (J5) Palmieri <johnp@redhat.com>
19753 Date: Mon Jul 18 18:28:50 2011 -0400
19755 up platform version to 3.0
19757 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19760 configure.ac | 4 ++--
19761 pygobject-2.0-uninstalled.pc.in | 18 ------------------
19762 pygobject-2.0.pc.in | 22 ----------------------
19763 pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
19764 pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
19765 6 files changed, 43 insertions(+), 43 deletions(-)
19767 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
19768 Author: Martin Pitt <martin.pitt@ubuntu.com>
19769 Date: Thu Aug 11 09:53:15 2011 +0200
19771 [gi] Handle GVariants from callback return values
19773 Callbacks still use GIArgument, add missing GVariant support for
19776 gi/pygi-argument.c | 6 ++++--
19777 1 file changed, 4 insertions(+), 2 deletions(-)
19779 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
19780 Author: Martin Pitt <martin.pitt@ubuntu.com>
19781 Date: Wed Aug 10 14:11:10 2011 +0200
19783 Handle GVariants for callback arguments
19785 Callbacks still use GIArgument, add missing GVariant support. This
19787 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
19789 gi/pygi-argument.c | 7 +++++++
19790 1 file changed, 7 insertions(+)
19792 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
19793 Author: Laszlo Pandy <lpandy@src.gnome.org>
19794 Date: Mon Aug 8 01:58:10 2011 +0200
19796 [gi] Fix crash: check return value of
19797 _invoke_state_init_from_callable_cache() before continuing.
19799 gi/pygi-invoke.c | 4 +++-
19800 1 file changed, 3 insertions(+), 1 deletion(-)
19802 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
19803 Author: Laszlo Pandy <lpandy@src.gnome.org>
19804 Date: Fri Aug 5 21:03:33 2011 +0200
19806 [gi] Pass gtype as first parameter to vfuncs (instead of using
19809 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
19811 2 files changed, 19 insertions(+), 15 deletions(-)
19813 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
19814 Author: John (J5) Palmieri <johnp@redhat.com>
19815 Date: Mon Jul 18 18:21:51 2011 -0400
19820 codegen/Makefile.am | 33 -
19821 codegen/README.defs | 351 --------
19822 codegen/__init__.py | 16 -
19823 codegen/argtypes.py | 1043 -----------------------
19824 codegen/code-coverage.py | 44 -
19825 codegen/codegen.py | 1722
19826 --------------------------------------
19827 codegen/createdefs.py | 17 -
19828 codegen/definitions.py | 575 -------------
19829 codegen/defsconvert.py | 132 ---
19830 codegen/defsgen.py | 737 ----------------
19831 codegen/defsparser.py | 153 ----
19832 codegen/docextract.py | 461 ----------
19833 codegen/docextract_to_xml.py | 142 ----
19834 codegen/docgen.py | 766 -----------------
19835 codegen/h2def.py | 631 --------------
19836 codegen/mergedefs.py | 26 -
19837 codegen/missingdefs.py | 17 -
19838 codegen/mkskel.py | 89 --
19839 codegen/override.py | 285 -------
19840 codegen/pygobject-codegen-2.0.in | 11 -
19841 codegen/reversewrapper.py | 912 --------------------
19842 codegen/scanvirtuals.py | 54 --
19843 codegen/scmexpr.py | 143 ----
19845 pygobject-2.0-uninstalled.pc.in | 1 -
19846 pygobject-2.0.pc.in | 1 -
19847 27 files changed, 1 insertion(+), 8368 deletions(-)
19849 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
19850 Author: John (J5) Palmieri <johnp@redhat.com>
19851 Date: Mon Jul 18 11:04:58 2011 -0400
19853 remove some left over ifdefs to complete merge of the invoke-rewrite
19856 gi/pygi-cache.h | 2 --
19857 gi/pygi-info.c | 2 --
19858 gi/pygi-private.h | 5 +----
19860 4 files changed, 1 insertion(+), 10 deletions(-)
19862 commit 8c653ec3033fab47c4bb4071b5732a349357141f
19863 Author: John (J5) Palmieri <johnp@redhat.com>
19864 Date: Mon Jul 18 10:59:45 2011 -0400
19866 rename pygi-invoke-ng to pygi-invoke
19868 gi/Makefile.am | 3 +-
19869 gi/pygi-invoke-ng.c | 464
19870 ----------------------------------------------------
19871 gi/pygi-invoke.c | 464
19872 ++++++++++++++++++++++++++++++++++++++++++++++++++++
19873 3 files changed, 466 insertions(+), 465 deletions(-)
19875 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
19876 Author: John (J5) Palmieri <johnp@redhat.com>
19877 Date: Mon Jul 18 10:56:36 2011 -0400
19879 make invoke-ng the only invoker
19881 configure.ac | 11 -
19882 gi/Makefile.am | 10 +-
19883 gi/pygi-invoke.c | 1030
19884 ------------------------------------------------------
19885 3 files changed, 1 insertion(+), 1050 deletions(-)
19887 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
19888 Merge: 519e556 917ea2d
19889 Author: John (J5) Palmieri <johnp@redhat.com>
19890 Date: Mon Jul 18 10:45:18 2011 -0400
19892 Merge branch 'master' into invoke-rewrite
19894 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
19895 Merge: bab7e88 38cca3c
19896 Author: John (J5) Palmieri <johnp@redhat.com>
19897 Date: Mon Jul 18 10:37:20 2011 -0400
19899 Merge branch 'master' into invoke-rewrite
19901 commit bab7e88251bffcd360186c6dedc26be8eb077084
19902 Author: John (J5) Palmieri <johnp@redhat.com>
19903 Date: Mon Jul 18 10:35:10 2011 -0400
19905 split the marshalling routines into two source files
19907 * update copy and paste copyright info to list the correct owner
19909 gi/Makefile.am | 6 +-
19910 gi/pygi-cache.c | 3 +-
19911 gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
19912 gi/pygi-marshal-in.h | 186 +++++
19913 gi/pygi-marshal-out.c | 767 ++++++++++++++++++
19914 gi/pygi-marshal-out.h | 144 ++++
19915 gi/pygi-marshal.c | 2145
19916 -------------------------------------------------
19917 gi/pygi-marshal.h | 303 -------
19918 8 files changed, 2515 insertions(+), 2451 deletions(-)
19920 commit 917ea2dfa2d097e563233145003a66b3e4423287
19921 Author: Martin Pitt <martin.pitt@ubuntu.com>
19922 Date: Thu Jul 14 11:21:10 2011 +0200
19924 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
19926 tests/Makefile.am | 1 +
19927 1 file changed, 1 insertion(+)
19929 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
19930 Author: John (J5) Palmieri <johnp@redhat.com>
19931 Date: Wed Jul 13 15:43:02 2011 -0400
19933 [invoke] break out caller_allocates allocating into its own function
19935 gi/pygi-invoke-ng.c | 78
19936 +++++++++++++++++++++++++++++++++--------------------
19937 1 file changed, 49 insertions(+), 29 deletions(-)
19939 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
19940 Author: John (J5) Palmieri <johnp@redhat.com>
19941 Date: Wed Jul 13 15:42:26 2011 -0400
19943 [invoke] missed a bit when removing constructor_class usage
19945 gi/pygi-invoke-ng.c | 2 +-
19946 1 file changed, 1 insertion(+), 1 deletion(-)
19948 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
19949 Author: John (J5) Palmieri <johnp@redhat.com>
19950 Date: Wed Jul 13 15:16:17 2011 -0400
19952 [invoke] don't hold on to the constructor class, just add a TODO
19954 gi/pygi-invoke-ng.c | 11 +++++------
19955 gi/pygi-invoke-state-struct.h | 1 -
19956 2 files changed, 5 insertions(+), 7 deletions(-)
19958 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
19959 Author: Martin Pitt <martin.pitt@ubuntu.com>
19960 Date: Wed Jul 13 10:40:25 2011 +0200
19962 [gi] Port test_properties from static gio to GI Gio
19964 As we ripped out the static gio bindings a while ago, this test case
19966 the system installed gio bindings with Python 2, and now fails
19968 Python 3. Rewrite it to use gi.repository.Gio.
19970 tests/test_properties.py | 38 +++++++++++++++++++-------------------
19971 1 file changed, 19 insertions(+), 19 deletions(-)
19973 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
19974 Author: Martin Pitt <martin.pitt@ubuntu.com>
19975 Date: Wed Jul 13 08:42:22 2011 +0200
19977 [python3] Fix maketrans import
19979 Python3 moved the maketrans() function from the string module to a
19981 This unbreaks gi/module.py for Python 3 again.
19983 gi/module.py | 8 ++++++--
19984 1 file changed, 6 insertions(+), 2 deletions(-)
19986 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
19987 Author: John (J5) Palmieri <johnp@redhat.com>
19988 Date: Fri Jul 8 14:39:22 2011 -0400
19990 [caching] remove all inline compiler flags
19992 gi/pygi-cache.c | 96
19993 ++++++++++++++++++++++++++++-----------------------------
19994 1 file changed, 48 insertions(+), 48 deletions(-)
19996 commit bf7bb79b66ad406063fb443e7452d830c55986ef
19997 Author: John (J5) Palmieri <johnp@redhat.com>
19998 Date: Fri Jul 8 14:35:20 2011 -0400
20000 [caching] refactor function names to be less confusing
20002 gi/pygi-cache.c | 307
20003 +++++++++++++++++++++++++++-----------------------------
20004 1 file changed, 150 insertions(+), 157 deletions(-)
20006 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
20007 Author: John (J5) Palmieri <johnp@redhat.com>
20008 Date: Fri Jul 8 11:24:09 2011 -0400
20010 [overrides] deprecate the use of type keyword MessageDialog
20013 * pygtk used type to determine the "type" of message dialog to
20015 use the proper property name "message_type" since we should not be
20016 overriding a reserved word
20017 * to keep compat with pygtk we check the kwds hash for the key
20019 assign it to message_type while throwing a deprecation warning
20020 * also add a deprication warning when trying to use the depricated
20024 gi/overrides/Gtk.py | 13 ++++++++-----
20025 1 file changed, 8 insertions(+), 5 deletions(-)
20027 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
20028 Author: Martin Pitt <martin.pitt@ubuntu.com>
20029 Date: Fri Jul 8 10:15:53 2011 +0200
20031 gdbus tests: Fix hang if test case fails
20033 In the TestGDBusClient.test_native_calls_async() test case, the main
20035 never quit when the call failed.
20037 tests/test_gdbus.py | 6 ++++--
20038 1 file changed, 4 insertions(+), 2 deletions(-)
20040 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
20041 Author: John (J5) Palmieri <johnp@redhat.com>
20042 Date: Thu Jul 7 19:30:11 2011 -0400
20044 use an enum instead of booleans to denote function type
20046 gi/pygi-cache.c | 85
20047 ++++++++++++++++++++++++++++++-----------------------
20048 gi/pygi-cache.h | 18 +++++++++---
20049 gi/pygi-invoke-ng.c | 8 ++---
20050 3 files changed, 67 insertions(+), 44 deletions(-)
20052 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
20053 Author: John (J5) Palmieri <johnp@redhat.com>
20054 Date: Thu Jul 7 15:18:03 2011 -0400
20056 rename aux arguments to child arguments to make their purpose clearer
20058 gi/pygi-cache.c | 64
20059 ++++++++++++++++++++++++++---------------------------
20060 gi/pygi-cache.h | 29 ++++++++++++++++--------
20061 gi/pygi-invoke-ng.c | 10 ++++-----
20062 gi/pygi-marshal.c | 12 +++++-----
20063 4 files changed, 63 insertions(+), 52 deletions(-)
20065 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
20066 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20067 Date: Thu Jul 7 10:59:08 2011 +0200
20069 Fixed the cairo example
20071 https://bugzilla.gnome.org/show_bug.cgi?id=653844
20073 examples/cairo-demo.py | 6 ++----
20074 1 file changed, 2 insertions(+), 4 deletions(-)
20076 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
20077 Author: Adam Dingle <adam@yorba.org>
20078 Date: Tue Jul 5 14:28:20 2011 -0700
20080 Add override binding for Gtk.ListStore.prepend().
20082 https://bugzilla.gnome.org/show_bug.cgi?id=654056
20084 gi/overrides/Gtk.py | 8 ++++++++
20085 tests/test_overrides.py | 13 ++++++++++++-
20086 2 files changed, 20 insertions(+), 1 deletion(-)
20088 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
20089 Author: Martin Pitt <martin.pitt@ubuntu.com>
20090 Date: Thu Jul 7 13:39:19 2011 +0200
20092 Fix crash in Gtk.TextIter overrides
20094 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
20096 pointers when the search was unsuccessful. Actually check the
20098 value; if it is False return None, just like PyGTK used to.
20100 Thanks to Michael Vogt for discovering this and writing the test case!
20104 -------------- 8< -----------------
20105 from gi.repository import Gtk
20107 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
20108 textview = Gtk.TextView()
20109 buffer = textview.get_buffer()
20110 buffer.set_text("hello world")
20115 iter = buffer.get_start_iter()
20116 end = buffer.get_end_iter()
20117 ret = iter.forward_search("foo",
20118 Gtk.TextSearchFlags.VISIBLE_ONLY,
20120 print "this is my return value"
20122 print "now I crash"
20123 print ret[0].get_offset()
20126 -------------- 8< -----------------
20128 gi/overrides/Gtk.py | 10 ++++++++--
20129 1 file changed, 8 insertions(+), 2 deletions(-)
20131 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
20132 Author: John (J5) Palmieri <johnp@redhat.com>
20133 Date: Tue Jul 5 15:57:23 2011 -0400
20135 use gssize instead of int for arg indexes
20137 gi/pygi-cache.c | 24 ++++++++++++------------
20138 gi/pygi-cache.h | 6 +++---
20139 gi/pygi-invoke-ng.c | 6 +++---
20140 gi/pygi-marshal-cleanup.c | 6 +++---
20141 4 files changed, 21 insertions(+), 21 deletions(-)
20143 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
20144 Author: John (J5) Palmieri <johnp@redhat.com>
20145 Date: Tue Jul 5 14:17:30 2011 -0400
20147 [cache] remove refrence to default value as it is not implemented yet
20149 gi/pygi-cache.h | 1 -
20150 1 file changed, 1 deletion(-)
20152 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
20153 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20154 Date: Thu May 12 18:53:06 2011 +0200
20156 Handle arguments that are flags correctly
20158 https://bugzilla.gnome.org/show_bug.cgi?id=647581
20160 gi/pygi-argument.c | 2 ++
20161 1 file changed, 2 insertions(+)
20163 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
20164 Author: John (J5) Palmieri <johnp@redhat.com>
20165 Date: Fri Jul 1 05:19:15 2011 -0400
20167 correctly initialize the _gi_cairo_functions array to be zero filled
20169 gi/pygi-foreign-cairo.c | 2 +-
20170 1 file changed, 1 insertion(+), 1 deletion(-)
20172 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
20173 Author: John (J5) Palmieri <johnp@redhat.com>
20174 Date: Fri Jul 1 05:19:15 2011 -0400
20176 correctly initialize the _gi_cairo_functions array to be zero filled
20178 gi/pygi-foreign-cairo.c | 2 +-
20179 1 file changed, 1 insertion(+), 1 deletion(-)
20181 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
20182 Author: John (J5) Palmieri <johnp@redhat.com>
20183 Date: Wed Jun 29 18:14:40 2011 -0400
20185 pass in the address of the gerror, not the gerror itself
20187 gi/pygi-argument.c | 2 +-
20188 1 file changed, 1 insertion(+), 1 deletion(-)
20190 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
20191 Author: John (J5) Palmieri <johnp@redhat.com>
20192 Date: Wed Jun 29 18:01:44 2011 -0400
20194 [gi] handle marshalling gerrors arguments for signals
20196 gi/pygi-argument.c | 18 ++++++++++++++++--
20197 1 file changed, 16 insertions(+), 2 deletions(-)
20199 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
20200 Author: John (J5) Palmieri <johnp@redhat.com>
20201 Date: Wed Jun 29 12:12:29 2011 -0400
20203 [gi-invoke-ng] fix NULL check to check before we access the cache
20206 gi/pygi-cache.c | 6 +++---
20207 1 file changed, 3 insertions(+), 3 deletions(-)
20209 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
20210 Author: John (J5) Palmieri <johnp@redhat.com>
20211 Date: Tue Jun 28 18:21:55 2011 -0400
20213 [gi-tests] add test for PyGObject->PyObject TreeModel storage
20215 * make sure we can store a custom GObject as a PyObject inside of
20218 tests/test_overrides.py | 26 +++++++++++++++-----------
20219 1 file changed, 15 insertions(+), 11 deletions(-)
20221 commit b6842e4b2a28733e143d4022864041ca82e91f7a
20222 Author: John (J5) Palmieri <johnp@redhat.com>
20223 Date: Tue Jun 28 18:13:38 2011 -0400
20225 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
20227 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
20230 gi/overrides/Gtk.py | 7 ++++---
20231 gobject/pygtype.c | 7 ++++---
20232 2 files changed, 8 insertions(+), 6 deletions(-)
20234 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
20235 Author: John (J5) Palmieri <johnp@redhat.com>
20236 Date: Tue Jun 28 17:32:29 2011 -0400
20238 [gi-invoke-ng] copy structs when transfer is full for array
20240 gi/pygi-marshal.c | 21 ++++++++++++++++++---
20241 1 file changed, 18 insertions(+), 3 deletions(-)
20243 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
20244 Author: John (J5) Palmieri <johnp@redhat.com>
20245 Date: Tue Jun 28 13:54:48 2011 -0400
20247 [gtk-override] print warning if user imports Gtk 2.0
20249 * this is needed because people file bugs not realizing they are
20251 which is not supported
20253 gi/overrides/Gtk.py | 12 ++++++++++++
20254 1 file changed, 12 insertions(+)
20256 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
20257 Author: John (J5) Palmieri <johnp@redhat.com>
20258 Date: Tue Jun 28 13:08:49 2011 -0400
20260 [gtk-overrides] allow the message_type keyword to be used for
20263 * for pygtk compat we use the type keyword for message type but
20265 the use of message_type because it is more descriptive and does
20267 with a python reserved word
20268 * if you passed message_type into a MessageDialog constructor you
20270 an error because we also convert type to message_type when
20273 * this patch looks to see if message_type was passed in as a
20275 assigns it to type while removing message_type from the keywords
20277 to avoid name clashing
20279 gi/overrides/Gtk.py | 5 +++++
20280 1 file changed, 5 insertions(+)
20282 commit 2aa12267bee91aa696633a0cea2a0accae09250a
20283 Author: Johan Dahlin <jdahlin@litl.com>
20284 Date: Mon Jun 27 10:56:20 2011 -0300
20286 Add support for enums in gobject.property
20288 https://bugzilla.gnome.org/show_bug.cgi?id=653488
20290 gobject/propertyhelper.py | 23 ++++++++++++++++-------
20291 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
20292 2 files changed, 52 insertions(+), 11 deletions(-)
20294 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
20295 Author: Johan Dahlin <jdahlin@litl.com>
20296 Date: Mon Jun 27 10:56:20 2011 -0300
20298 Add support for enums in gobject.property
20300 https://bugzilla.gnome.org/show_bug.cgi?id=653488
20302 gobject/propertyhelper.py | 23 ++++++++++++++++-------
20303 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
20304 2 files changed, 52 insertions(+), 11 deletions(-)
20306 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
20307 Author: John (J5) Palmieri <johnp@redhat.com>
20308 Date: Fri Jun 24 14:17:24 2011 -0400
20310 [gi-invoke-ng] use g_slice for allocating GValues that are caller
20313 gi/pygi-invoke-ng.c | 2 ++
20314 gi/pygi-marshal-cleanup.c | 2 ++
20315 2 files changed, 4 insertions(+)
20317 commit eff65cd2ce490296865441c3c78b7846f380459c
20318 Author: John (J5) Palmieri <johnp@redhat.com>
20319 Date: Fri Jun 24 11:49:05 2011 -0400
20321 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
20324 gi/pygi-marshal.c | 56
20325 +++++++++++++++++++++++++++++++++++++++++++------------
20326 1 file changed, 44 insertions(+), 12 deletions(-)
20328 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
20329 Author: John (J5) Palmieri <johnp@redhat.com>
20330 Date: Wed Jun 22 12:26:39 2011 -0400
20332 [gi-invoke-ng] only cache caller allocates for interfaces as some
20335 gi/pygi-cache.c | 6 ++++--
20336 1 file changed, 4 insertions(+), 2 deletions(-)
20338 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
20339 Author: John (J5) Palmieri <johnp@redhat.com>
20340 Date: Fri Jun 17 17:07:56 2011 -0400
20342 [gi-invoke-ng] handle in pointer array marshalling
20344 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
20345 1 file changed, 22 insertions(+), 6 deletions(-)
20347 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
20348 Author: Alex Eftimie <alex@eftimie.ro>
20349 Date: Fri Jun 10 08:44:04 2011 +0300
20351 Adding GPtrArray tests
20353 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
20354 1 file changed, 42 insertions(+), 1 deletion(-)
20356 commit e32c2be53175014399d89e1e85c9afc6e53c94be
20357 Author: John (J5) Palmieri <johnp@redhat.com>
20358 Date: Fri Jun 17 11:32:28 2011 -0400
20360 [gi-invoke-ng] fix array element offset calculations
20362 * use pointer arithmetic to calculate based on element size instead of
20363 relying on the size of GIArgument
20364 * special case GPtrArrays
20366 gi/pygi-marshal.c | 27 +++++++++------------------
20367 1 file changed, 9 insertions(+), 18 deletions(-)
20369 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
20370 Author: John (J5) Palmieri <johnp@redhat.com>
20371 Date: Wed Jun 15 12:46:03 2011 -0400
20373 [gi] don't clean up arguments that weren't yet processed during in
20376 gi/pygi-marshal-cleanup.c | 2 +-
20377 1 file changed, 1 insertion(+), 1 deletion(-)
20379 commit af7c93ea98b7f492eef265e58c8b3c878805524f
20380 Author: John (J5) Palmieri <johnp@redhat.com>
20381 Date: Wed Jun 15 12:06:47 2011 -0400
20383 [gi-overrides] use new instead of init when constructing a
20384 GLib.VariantBuilder
20386 * init is now skipped in the gir
20388 gi/overrides/GLib.py | 18 ++++++++----------
20389 tests/test_overrides.py | 6 ++----
20390 2 files changed, 10 insertions(+), 14 deletions(-)
20392 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
20393 Author: John (J5) Palmieri <johnp@redhat.com>
20394 Date: Wed Jun 15 11:42:45 2011 -0400
20396 [gi-invoke-ng] actual code to import overrides
20398 gi/pygi-cache.c | 7 +------
20399 1 file changed, 1 insertion(+), 6 deletions(-)
20401 commit 902575d857beffb14e56821ea8a52f705385f6bb
20402 Author: John (J5) Palmieri <johnp@redhat.com>
20403 Date: Wed Jun 15 11:25:10 2011 -0400
20405 [gi-invoke-ng] import pytypes so we get overrides
20407 gi/pygi-marshal.c | 4 +++-
20408 1 file changed, 3 insertions(+), 1 deletion(-)
20410 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
20411 Author: John (J5) Palmieri <johnp@redhat.com>
20412 Date: Tue Jun 14 16:13:37 2011 -0400
20414 [gi-invoke-ng] handle gvariants now that they are not foreign
20416 gi/pygi-marshal.c | 7 ++++++-
20417 1 file changed, 6 insertions(+), 1 deletion(-)
20419 commit c1f5651062687e800a52b5d8d16c88c0acde2934
20420 Author: John (J5) Palmieri <johnp@redhat.com>
20421 Date: Tue Jun 14 16:12:43 2011 -0400
20423 [gi-invoke-ng] do not try to clean up NULL arguments
20425 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
20426 1 file changed, 16 insertions(+), 8 deletions(-)
20428 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
20429 Merge: 499b68d 1491f62
20430 Author: John (J5) Palmieri <johnp@redhat.com>
20431 Date: Mon Jun 13 17:28:23 2011 -0400
20433 Merge branch 'master' into invoke-rewrite
20435 commit 499b68d6c9040cffc6e43dc87789d68446564a92
20436 Merge: 4c9bced 426c710
20437 Author: John (J5) Palmieri <johnp@redhat.com>
20438 Date: Mon Jun 13 17:26:37 2011 -0400
20440 Merge branch 'master' into invoke-rewrite
20442 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
20443 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20444 Date: Fri Jun 10 14:01:32 2011 +0200
20446 closure: avoid double free crash
20448 gi/pygi-closure.c | 12 ++++--------
20449 1 file changed, 4 insertions(+), 8 deletions(-)
20451 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
20452 Author: Jason Siefken <siefkenj@gmail.com>
20453 Date: Fri Jun 3 23:11:17 2011 -0700
20455 Added __eq__ method for Gdk.Color and Gdk.RGBA
20457 Call Gdk.Color.equal and Gdk.RGBA.equal when
20458 == equality testing is used.
20460 gi/overrides/Gdk.py | 6 ++++++
20461 tests/test_overrides.py | 4 ++++
20462 2 files changed, 10 insertions(+)
20464 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
20465 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20466 Date: Wed Jun 8 19:13:48 2011 +0200
20468 closure: Check the out arg is not null. Fixes bug #651812
20470 gi/pygi-closure.c | 3 +++
20471 1 file changed, 3 insertions(+)
20473 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
20474 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20475 Date: Wed Jun 8 09:47:20 2011 +0200
20477 Use constants instead of literals
20479 tests/test_overrides.py | 8 ++++----
20480 1 file changed, 4 insertions(+), 4 deletions(-)
20482 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
20483 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20484 Date: Mon Jun 6 19:07:22 2011 +0200
20486 GVariant has now a GType, take that into account
20488 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20490 gi/pygi-argument.c | 8 ++++----
20491 gi/pygi-invoke.c | 20 +++++++++++++-------
20492 2 files changed, 17 insertions(+), 11 deletions(-)
20494 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
20495 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20496 Date: Mon Jun 6 19:05:07 2011 +0200
20498 GVariantType is a boxed struct
20500 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20502 gi/gimodule.c | 2 +-
20503 1 file changed, 1 insertion(+), 1 deletion(-)
20505 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
20506 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20507 Date: Mon Jun 6 17:38:21 2011 +0200
20509 Use _gi.Struct to wrap fundamentals
20511 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20513 gi/module.py | 4 +++-
20514 1 file changed, 3 insertions(+), 1 deletion(-)
20516 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
20517 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20518 Date: Mon Jun 6 17:24:28 2011 +0200
20520 Merge gi/HACKING into /HACKING
20522 HACKING | 16 ++++++++++++++++
20523 gi/HACKING | 26 --------------------------
20524 2 files changed, 16 insertions(+), 26 deletions(-)
20526 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
20527 Author: Daniel Drake <dsd@laptop.org>
20528 Date: Fri Jun 3 16:59:15 2011 +0100
20530 Fix GC-related crash during PyGObject deallocation
20532 Python-2.7.1's GC source has the following comment:
20534 /* Python's cyclic gc should never see an incoming refcount
20535 * of 0: if something decref'ed to 0, it should have been
20536 * deallocated immediately at that time.
20537 * Possible cause (if the assert triggers): a tp_dealloc
20538 * routine left a gc-aware object tracked during its teardown
20539 * phase, and did something-- or allowed something to
20541 * that called back into Python. gc can trigger then, and may
20542 * see the still-tracked dying object. Before this assert
20543 * was added, such mistakes went on to allow gc to try to
20544 * delete the object again. In a debug build, that caused
20545 * a mysterious segfault, when _Py_ForgetReference tried
20546 * to remove the object from the doubly-linked list of all
20547 * objects a second time. In a release build, an actual
20548 * double deallocation occurred, which leads to corruption
20549 * of the allocator's internal bookkeeping pointers. That's
20550 * so serious that maybe this should be a release-build
20551 * check instead of an assert?
20554 As shown in a backtrace at
20555 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
20557 this exact mistake. Before untracking its object, pygobject_dealloc
20558 calls PyObject_ClearWeakRefs() which can call back into python, create
20559 new allocations, and trigger the GC.
20561 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
20563 crash on a regular basis while interacting with widgets or launching
20566 Fix this by untracking the object early. Also fix the same issue
20568 in the GSource wrapper.
20570 Thanks to Bernie Innocenti for initial diagnosis.
20572 glib/pygsource.c | 6 ++++--
20573 gobject/pygobject.c | 8 +++++++-
20574 2 files changed, 11 insertions(+), 3 deletions(-)
20576 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
20577 Author: John (J5) Palmieri <johnp@redhat.com>
20578 Date: Tue May 31 16:59:41 2011 -0400
20580 [gi-invoke-ng] enable invoke-ng by default
20582 configure.ac | 8 ++++----
20583 1 file changed, 4 insertions(+), 4 deletions(-)
20585 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
20586 Author: John (J5) Palmieri <johnp@redhat.com>
20587 Date: Tue May 31 16:37:21 2011 -0400
20589 [gi-invoke-ng] add code to clean up when input values fail to marshal
20591 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
20592 1 file changed, 25 insertions(+), 5 deletions(-)
20594 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
20595 Author: John (J5) Palmieri <johnp@redhat.com>
20596 Date: Tue May 31 16:01:03 2011 -0400
20598 [gi-invoke-ng] add hash cleanup routines
20600 gi/pygi-cache.c | 2 ++
20601 gi/pygi-marshal-cleanup.c | 64
20602 +++++++++++++++++++++++++++++++++++++++++++++++
20603 gi/pygi-marshal-cleanup.h | 10 ++++++--
20604 3 files changed, 74 insertions(+), 2 deletions(-)
20606 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
20607 Author: John (J5) Palmieri <johnp@redhat.com>
20608 Date: Tue May 31 14:47:30 2011 -0400
20610 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
20612 gi/pygi-marshal-cleanup.c | 3 ++-
20613 1 file changed, 2 insertions(+), 1 deletion(-)
20615 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
20616 Author: John (J5) Palmieri <johnp@redhat.com>
20617 Date: Tue May 31 14:40:49 2011 -0400
20619 [gi-invoke-ng] add list cleanup routines
20621 gi/pygi-cache.c | 8 ++---
20622 gi/pygi-marshal-cleanup.c | 84
20623 +++++++++++++++++++++++++++++++++++++++++++++++
20624 gi/pygi-marshal-cleanup.h | 8 +++++
20625 3 files changed, 96 insertions(+), 4 deletions(-)
20627 commit 2e542c327cd52c1f77af28905557dd25c64175d8
20628 Author: John (J5) Palmieri <johnp@redhat.com>
20629 Date: Thu May 26 16:10:13 2011 -0400
20633 gi/pygi-marshal.c | 8 ++++----
20634 1 file changed, 4 insertions(+), 4 deletions(-)
20636 commit 601aec11c49e821fe97dd30a2187fe3c75844712
20637 Author: John (J5) Palmieri <johnp@redhat.com>
20638 Date: Thu May 26 16:09:38 2011 -0400
20640 [gi-invoke-ng] add out array cleanup
20642 gi/pygi-cache.c | 2 +-
20643 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
20644 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
20645 3 files changed, 56 insertions(+), 7 deletions(-)
20647 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
20648 Author: John (J5) Palmieri <johnp@redhat.com>
20649 Date: Thu May 26 13:22:38 2011 -0400
20651 [gi-invoke-ng] do not allocate null terminator for garray
20653 * We are simply setting our own array so we don't want any allocate
20656 gi/pygi-marshal.c | 2 +-
20657 1 file changed, 1 insertion(+), 1 deletion(-)
20659 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
20660 Author: John (J5) Palmieri <johnp@redhat.com>
20661 Date: Thu May 26 13:21:55 2011 -0400
20663 [gi-invoke-ng] add array cleanup for in arrays
20665 gi/pygi-cache.c | 2 +-
20666 gi/pygi-marshal-cleanup.c | 72
20667 ++++++++++++++++++++++++++++++++++++++++++++++-
20668 gi/pygi-marshal-cleanup.h | 9 ++++++
20669 gi/pygi-marshal.c | 13 +++++++--
20670 4 files changed, 91 insertions(+), 5 deletions(-)
20672 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
20673 Author: John (J5) Palmieri <johnp@redhat.com>
20674 Date: Mon May 23 17:06:30 2011 -0400
20676 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
20678 gi/pygi-invoke-ng.c | 7 +------
20679 gi/pygi-invoke-state-struct.h | 14 --------------
20680 2 files changed, 1 insertion(+), 20 deletions(-)
20682 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
20683 Author: John (J5) Palmieri <johnp@redhat.com>
20684 Date: Mon May 23 16:59:57 2011 -0400
20686 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
20689 * cleanup now has symmetry with setup so there are now in and out
20691 for each type that needs to be cleaned up
20692 * no longer use state machine but instead call different cleanup
20694 different stages of invoke, making it easier to understand what
20698 gi/pygi-cache.c | 19 ++-
20699 gi/pygi-cache.h | 7 +-
20700 gi/pygi-invoke-ng.c | 10 +-
20701 gi/pygi-invoke-state-struct.h | 2 +
20702 gi/pygi-marshal-cleanup.c | 301
20703 +++++++++++++++++-------------------------
20704 gi/pygi-marshal-cleanup.h | 45 ++++---
20705 gi/pygi-marshal.c | 15 +--
20706 7 files changed, 174 insertions(+), 225 deletions(-)
20708 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
20709 Author: John (J5) Palmieri <johnp@redhat.com>
20710 Date: Thu May 12 17:29:20 2011 -0400
20712 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
20714 * The state machine concept of cleaning up was getting a bit messy.
20715 It was like we took a big bowl of spaghetti code and dumped it.
20716 * Now we call specific cleanup functions at the point of failure (or
20717 successful completion of a marshalling stage)
20719 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
20720 gi/pygi-marshal-cleanup.c | 72
20721 +++++++++++++++++++++++++++++++++++++++++++++++
20722 gi/pygi-marshal-cleanup.h | 14 +++++++++
20723 3 files changed, 135 insertions(+), 10 deletions(-)
20725 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
20726 Author: José Alburquerque <jaalburqu@svn.gnome.org>
20727 Date: Thu May 12 11:53:40 2011 -0400
20729 Doc Extractor: Correct the logic of the --no-since option.
20731 * codegen/docextract.py (process_final_sections): If the
20733 option has been specified and a "Since:" is encountered during the
20734 processing of the final sections, simply don't append the
20736 instead of reading the next line. This preserves the logical
20740 codegen/docextract.py | 4 ++--
20741 1 file changed, 2 insertions(+), 2 deletions(-)
20743 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
20744 Author: José Alburquerque <jaalburqu@svn.gnome.org>
20745 Date: Mon May 9 17:32:09 2011 -0400
20747 Doc Extractor: Add a --no-since option.
20749 * codegen/docextract.py:
20750 * codegen/docextract_to_xml.py: Modified so that if a --no-since
20751 option is specified at the command line, the "Since: ..." portion
20753 the gtkdoc function block is omitted. This is useful for C++
20755 such as gstreamermm where this information would not be useful
20757 as the C API is still unstable.
20759 codegen/docextract.py | 15 ++++++++++++++-
20760 codegen/docextract_to_xml.py | 9 ++++++---
20761 2 files changed, 20 insertions(+), 4 deletions(-)
20763 commit 4f615c6e300d6f2d7551b640efa301060206ab58
20764 Author: John (J5) Palmieri <johnp@redhat.com>
20765 Date: Thu May 5 14:04:34 2011 -0400
20767 [gi-invoke-ng] tweek cleanup routines
20769 gi/pygi-cache.c | 5 +++
20770 gi/pygi-marshal-cleanup.c | 87
20771 +++++++++++++++++++++++++++++++++++------------
20772 gi/pygi-marshal-cleanup.h | 6 ++--
20773 gi/pygi-marshal.c | 11 ++----
20774 4 files changed, 76 insertions(+), 33 deletions(-)
20776 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
20777 Author: Martin Pitt <martin.pitt@ubuntu.com>
20778 Date: Mon May 2 15:49:52 2011 +0200
20780 Fix symbol names to be locale independent
20782 We currently use upper() to present enum values, which are usually
20784 lower case in the typelib, in upper cases. However, upper() is locale
20785 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
20786 because Turkish has some extra variants of "i".
20788 Use a local ASCII-only translate() call instead to avoid this. Thanks
20790 Philippsen for the idea!
20792 This also adds a test locale "te_ST@nouppera" which defines
20793 toupper('a') == 'a'.
20794 Run the Enum tests under this locale to reproduce the bug and verify
20797 https://bugzilla.gnome.org/show_bug.cgi?id=649165
20799 gi/module.py | 9 ++++++++-
20800 tests/te_ST@nouppera | 50
20801 ++++++++++++++++++++++++++++++++++++++++++++++++++
20802 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
20803 3 files changed, 88 insertions(+), 1 deletion(-)
20805 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
20806 Author: Martin Pitt <martin.pitt@ubuntu.com>
20807 Date: Wed May 4 08:35:27 2011 +0200
20809 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
20811 pygi-convert.sh | 1 +
20812 1 file changed, 1 insertion(+)
20814 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
20815 Author: John (J5) Palmieri <johnp@redhat.com>
20816 Date: Fri Apr 29 17:41:08 2011 -0400
20818 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
20820 gi/pygi-cache.c | 2 ++
20821 1 file changed, 2 insertions(+)
20823 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
20824 Author: John (J5) Palmieri <johnp@redhat.com>
20825 Date: Fri Apr 29 17:40:13 2011 -0400
20827 [gi-invoke-ng] handle caller allocates cleanup
20829 gi/pygi-invoke-ng.c | 5 ++-
20830 gi/pygi-marshal-cleanup.c | 104
20831 ++++++++++++++++++++++++++++++++++++----------
20832 gi/pygi-marshal-cleanup.h | 7 ++--
20833 3 files changed, 90 insertions(+), 26 deletions(-)
20835 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
20836 Author: John (J5) Palmieri <johnp@redhat.com>
20837 Date: Thu Apr 28 19:16:02 2011 -0400
20839 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
20842 gi/pygi-cache.c | 15 ++-----------
20843 gi/pygi-invoke-ng.c | 8 +++----
20844 gi/pygi-invoke-state-struct.h | 2 ++
20845 gi/pygi-marshal-cleanup.c | 51
20846 ++++++++++++++++++++++++++++++++++++++++++-
20847 gi/pygi-marshal-cleanup.h | 3 +++
20848 5 files changed, 60 insertions(+), 19 deletions(-)
20850 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
20851 Author: John (J5) Palmieri <johnp@redhat.com>
20852 Date: Wed Apr 27 15:47:19 2011 -0400
20854 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
20857 * PyCObject is deprecated and pycairo 1.10.0 is first release to
20860 configure.ac | 15 +++++++++++----
20861 gi/pygi-foreign-cairo.c | 2 +-
20862 2 files changed, 12 insertions(+), 5 deletions(-)
20864 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
20865 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20866 Date: Thu Apr 21 16:52:20 2011 +0200
20868 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
20870 gi/pygi-foreign-cairo.c | 7 ++++++-
20871 1 file changed, 6 insertions(+), 1 deletion(-)
20873 commit 3e933784df423757e591d703614cb700adb0bbe0
20874 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20875 Date: Mon Apr 18 18:36:25 2011 +0200
20879 pygobject.doap | 15 +++++++++++++++
20880 1 file changed, 15 insertions(+)
20882 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
20883 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20884 Date: Sat Apr 16 16:02:05 2011 +0200
20886 [gi] Don't create variant twice
20888 gi/overrides/GLib.py | 2 +-
20889 1 file changed, 1 insertion(+), 1 deletion(-)
20891 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
20892 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20893 Date: Fri Apr 15 16:14:43 2011 +0200
20895 pygi-convert.sh: Make sure the uppercase GObject module is imported
20896 instead of the lowercase
20898 https://bugzilla.gnome.org/show_bug.cgi?id=647736
20900 pygi-convert.sh | 1 +
20901 1 file changed, 1 insertion(+)
20903 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
20904 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20905 Date: Fri Apr 15 15:58:53 2011 +0200
20907 [gi] Removed hack to avoid using GLib.Variant.new_variant.
20909 The bug in the annotations of GLib is fixed now.
20910 https://bugzilla.gnome.org/show_bug.cgi?id=639952
20911 https://bugzilla.gnome.org/show_bug.cgi?id=647796
20913 gi/overrides/GLib.py | 14 +-------------
20914 1 file changed, 1 insertion(+), 13 deletions(-)
20916 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
20917 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20918 Date: Fri Apr 15 15:58:31 2011 +0200
20920 [gi] Added additional test case for GVariant handling
20922 tests/test_overrides.py | 15 +++++++++++++++
20923 1 file changed, 15 insertions(+)
20925 commit 138df2778543409752e229a09828a805f68a420d
20926 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20927 Date: Mon Apr 11 18:34:31 2011 +0200
20929 [gi] Added support for GVariant arguments
20931 This is required in order for the "g-signal" signal of GDBusProxy
20932 to work properly and thus to properly receive DBus signals with any
20935 https://bugzilla.gnome.org/show_bug.cgi?id=647477
20937 gi/pygi-argument.c | 2 ++
20938 1 file changed, 2 insertions(+)
20940 commit 985f239d891c7697d76ccecb797b189669ae6ee1
20941 Author: John (J5) Palmieri <johnp@redhat.com>
20942 Date: Tue Mar 22 18:46:28 2011 -0400
20944 fix static ABI for setting string gvalues from python objects
20946 * the static bindings used to be able to set a string gvalue to
20948 object that implemented __str__, for instance when setting a
20950 * this restores that code while still keeping unicode and python 3
20953 gobject/pygtype.c | 28 +++++++++++++++++++---------
20954 tests/test_properties.py | 8 ++++++++
20955 2 files changed, 27 insertions(+), 9 deletions(-)
20957 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
20958 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20959 Date: Tue Mar 22 20:47:51 2011 +0100
20961 dsextras.py: ensure eol characters are preserved when writing template
20962 files (so \n does not become \r\n)
20965 1 file changed, 1 insertion(+), 1 deletion(-)
20967 commit 629d267478982c426ba61a639d5c9603fed856e6
20968 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20969 Date: Tue Mar 22 11:35:44 2011 +0100
20971 dsextras.py: remove \r as wel as \n character
20974 1 file changed, 1 insertion(+), 1 deletion(-)
20976 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
20977 Author: John (J5) Palmieri <johnp@redhat.com>
20978 Date: Wed Apr 27 15:47:19 2011 -0400
20980 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
20983 * PyCObject is deprecated and pycairo 1.10.0 is first release to
20986 configure.ac | 15 +++++++++++----
20987 gi/pygi-foreign-cairo.c | 2 +-
20988 2 files changed, 12 insertions(+), 5 deletions(-)
20990 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
20991 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20992 Date: Thu Apr 21 16:52:20 2011 +0200
20994 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
20996 gi/pygi-foreign-cairo.c | 7 ++++++-
20997 1 file changed, 6 insertions(+), 1 deletion(-)
20999 commit 91ec337359720839862d3f5a8a0ea98f760a0752
21000 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21001 Date: Mon Apr 18 18:36:25 2011 +0200
21005 pygobject.doap | 15 +++++++++++++++
21006 1 file changed, 15 insertions(+)
21008 commit 05c766044c83340c44564d0097514bfc1d1d9df7
21009 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21010 Date: Sat Apr 16 16:02:05 2011 +0200
21012 [gi] Don't create variant twice
21014 gi/overrides/GLib.py | 2 +-
21015 1 file changed, 1 insertion(+), 1 deletion(-)
21017 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
21018 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21019 Date: Fri Apr 15 16:14:43 2011 +0200
21021 pygi-convert.sh: Make sure the uppercase GObject module is imported
21022 instead of the lowercase
21024 https://bugzilla.gnome.org/show_bug.cgi?id=647736
21026 pygi-convert.sh | 1 +
21027 1 file changed, 1 insertion(+)
21029 commit af31729573de24161ee90563e5738187c749783c
21030 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21031 Date: Fri Apr 15 15:58:53 2011 +0200
21033 [gi] Removed hack to avoid using GLib.Variant.new_variant.
21035 The bug in the annotations of GLib is fixed now.
21036 https://bugzilla.gnome.org/show_bug.cgi?id=639952
21037 https://bugzilla.gnome.org/show_bug.cgi?id=647796
21039 gi/overrides/GLib.py | 14 +-------------
21040 1 file changed, 1 insertion(+), 13 deletions(-)
21042 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
21043 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21044 Date: Fri Apr 15 15:58:31 2011 +0200
21046 [gi] Added additional test case for GVariant handling
21048 tests/test_overrides.py | 15 +++++++++++++++
21049 1 file changed, 15 insertions(+)
21051 commit 65aa040e86d94ee6bb227a2bce09668b60208027
21052 Author: John (J5) Palmieri <johnp@redhat.com>
21053 Date: Tue Apr 12 14:51:35 2011 -0400
21055 [gi-invoke-ng] fix prototype
21057 gi/pygi-cache.h | 2 +-
21058 1 file changed, 1 insertion(+), 1 deletion(-)
21060 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
21061 Author: John (J5) Palmieri <johnp@redhat.com>
21062 Date: Tue Apr 12 14:48:16 2011 -0400
21064 [gi-invoke-ng] create new framework for cleaning up args
21066 * we now have a state machine so we know what point in the marshalling
21068 we are and which args need to be cleaned up
21069 * call the cleanup functions after invoking the gi callable, after
21071 the out parameters and at any time an error occures
21073 gi/Makefile.am | 4 ++-
21074 gi/pygi-cache.c | 25 +++++++------
21075 gi/pygi-cache.h | 5 ++-
21076 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
21077 gi/pygi-invoke-state-struct.h | 13 +++++++
21078 gi/pygi-marshal-cleanup.c | 81
21079 +++++++++++++++++++++++++++++++++++++++++++
21080 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
21081 gi/pygi-marshal.c | 1 +
21082 8 files changed, 187 insertions(+), 19 deletions(-)
21084 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
21085 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21086 Date: Mon Apr 11 18:34:31 2011 +0200
21088 [gi] Added support for GVariant arguments
21090 This is required in order for the "g-signal" signal of GDBusProxy
21091 to work properly and thus to properly receive DBus signals with any
21094 https://bugzilla.gnome.org/show_bug.cgi?id=647477
21096 gi/pygi-argument.c | 2 ++
21097 1 file changed, 2 insertions(+)
21099 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
21100 Author: John (J5) Palmieri <johnp@redhat.com>
21101 Date: Wed Mar 30 16:40:31 2011 -0400
21103 [gi-invoke-ng] fix marshal header that is no longer part of
21106 gi/pygi-marshal.h | 8 ++++----
21107 1 file changed, 4 insertions(+), 4 deletions(-)
21109 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
21110 Author: John (J5) Palmieri <johnp@redhat.com>
21111 Date: Wed Mar 30 15:53:13 2011 -0400
21113 [gi-invoke-ng] code style space fixes
21115 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
21116 gi/pygi-invoke-ng.c | 145 +++++++-------
21117 gi/pygi-marshal.c | 565
21118 ++++++++++++++++++++++++++--------------------------
21119 3 files changed, 566 insertions(+), 564 deletions(-)
21121 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
21122 Author: John (J5) Palmieri <johnp@redhat.com>
21123 Date: Tue Mar 29 16:54:44 2011 -0400
21125 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
21127 gi/pygi-invoke-ng.c | 1 -
21128 1 file changed, 1 deletion(-)
21130 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
21131 Author: John (J5) Palmieri <johnp@redhat.com>
21132 Date: Tue Mar 29 15:23:06 2011 -0400
21134 [gi-invoke-ng] return None when appropriate so we don't crash
21136 gi/pygi-marshal.c | 18 +++++++++++++++++-
21137 1 file changed, 17 insertions(+), 1 deletion(-)
21139 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
21140 Author: John (J5) Palmieri <johnp@redhat.com>
21141 Date: Tue Mar 29 15:21:41 2011 -0400
21143 [gi-invoke-ng] fix aux value caching
21145 gi/pygi-cache.c | 15 ++++++++++-----
21146 1 file changed, 10 insertions(+), 5 deletions(-)
21148 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
21149 Author: John (J5) Palmieri <johnp@redhat.com>
21150 Date: Mon Mar 28 20:25:46 2011 -0400
21152 [gi-invoke-ng] backport handling flags with no gtype
21154 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
21155 1 file changed, 24 insertions(+), 1 deletion(-)
21157 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
21158 Author: John (J5) Palmieri <johnp@redhat.com>
21159 Date: Mon Mar 28 18:32:00 2011 -0400
21161 [gi-invoke-ng] backport raw gvalue handling
21163 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
21164 1 file changed, 18 insertions(+), 5 deletions(-)
21166 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
21167 Author: John (J5) Palmieri <johnp@redhat.com>
21168 Date: Mon Mar 28 18:30:31 2011 -0400
21170 [gi-invoke-ng] marshal instances seperately since they differ slightly
21173 gi/pygi-cache.c | 2 +-
21174 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
21175 2 files changed, 39 insertions(+), 1 deletion(-)
21177 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
21178 Author: John (J5) Palmieri <johnp@redhat.com>
21179 Date: Mon Mar 28 18:26:09 2011 -0400
21181 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
21183 gi/pygi-cache.c | 392
21184 +++++++++++++++++++++++++++-------------------------
21185 gi/pygi-cache.h | 12 +-
21186 gi/pygi-info.c | 2 +-
21187 gi/pygi-invoke-ng.c | 40 +++---
21188 gi/pygi-marshal.c | 140 +++++++++----------
21189 gi/pygi-marshal.h | 159 +++++++++------------
21191 7 files changed, 362 insertions(+), 385 deletions(-)
21193 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
21194 Author: John (J5) Palmieri <johnp@redhat.com>
21195 Date: Mon Mar 28 15:01:12 2011 -0400
21197 [gi-invoke-rewrite] backport glib error handling
21199 gi/pygi-invoke-ng.c | 14 ++++++--------
21200 1 file changed, 6 insertions(+), 8 deletions(-)
21202 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
21203 Author: John (J5) Palmieri <johnp@redhat.com>
21204 Date: Fri Mar 25 18:48:42 2011 -0400
21206 [gi-invoke-ng] backport closure passing from invoke
21208 gi/pygi-marshal.c | 13 ++++++++++---
21209 1 file changed, 10 insertions(+), 3 deletions(-)
21211 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
21212 Author: John (J5) Palmieri <johnp@redhat.com>
21213 Date: Fri Mar 25 18:47:36 2011 -0400
21215 [gi-invoke-ng] handle vfuncs and fix cosntrutors
21217 gi/pygi-cache.c | 9 +++++++
21218 gi/pygi-cache.h | 2 ++
21219 gi/pygi-invoke-ng.c | 56
21220 ++++++++++++++++++++++++++++++++-----------
21221 gi/pygi-invoke-state-struct.h | 2 ++
21222 4 files changed, 55 insertions(+), 14 deletions(-)
21224 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
21225 Author: John (J5) Palmieri <johnp@redhat.com>
21226 Date: Fri Mar 25 18:39:06 2011 -0400
21228 [gi-invoke-ng] handle foreign types correctly
21230 gi/pygi-cache.c | 22 ++++++----------------
21231 gi/pygi-marshal.c | 3 +++
21232 2 files changed, 9 insertions(+), 16 deletions(-)
21234 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
21235 Author: John (J5) Palmieri <johnp@redhat.com>
21236 Date: Fri Mar 25 13:14:01 2011 -0400
21238 [gi] remove the class parameter from the argument list of constructors
21240 * constructors pass in their class to be constructed. Since we
21242 and g_object_new to do the construction we ignore this for now but
21243 keep it around in the state for future use.
21245 gi/pygi-invoke-ng.c | 46
21246 +++++++++++++++++++++++++++++++++++++------
21247 gi/pygi-invoke-state-struct.h | 1 +
21248 2 files changed, 41 insertions(+), 6 deletions(-)
21250 commit 0534eb0e843cdf09611143da184052f7e549e4dc
21251 Author: John (J5) Palmieri <johnp@redhat.com>
21252 Date: Tue Mar 22 18:46:28 2011 -0400
21254 fix static ABI for setting string gvalues from python objects
21256 * the static bindings used to be able to set a string gvalue to
21258 object that implemented __str__, for instance when setting a
21260 * this restores that code while still keeping unicode and python 3
21263 gobject/pygtype.c | 28 +++++++++++++++++++---------
21264 tests/test_properties.py | 8 ++++++++
21265 2 files changed, 27 insertions(+), 9 deletions(-)
21267 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
21268 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21269 Date: Tue Mar 22 20:47:51 2011 +0100
21271 dsextras.py: ensure eol characters are preserved when writing template
21272 files (so \n does not become \r\n)
21275 1 file changed, 1 insertion(+), 1 deletion(-)
21277 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
21278 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21279 Date: Tue Mar 22 11:35:44 2011 +0100
21281 dsextras.py: remove \r as wel as \n character
21284 1 file changed, 1 insertion(+), 1 deletion(-)
21286 commit 86c436978c933f6ebe17627abe98325ce66f6baa
21287 Author: John (J5) Palmieri <johnp@redhat.com>
21288 Date: Tue Mar 22 16:13:58 2011 -0400
21290 [gi] make new invoke-ng codepath compile correctly
21293 gi/Makefile.am | 5 +-
21294 gi/pygi-cache.c | 2 +-
21295 gi/pygi-invoke-ng.c | 841 ----------------------
21296 gi/pygi-marshal.c | 1962
21297 +--------------------------------------------------
21298 gi/pygi-private.h | 4 +-
21299 6 files changed, 9 insertions(+), 2809 deletions(-)
21301 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
21302 Author: John (J5) Palmieri <johnp@redhat.com>
21303 Date: Tue Mar 22 15:40:02 2011 -0400
21305 [gi] conditionalize invoke code paths
21307 configure.ac | 7 +++++++
21308 gi/Makefile.am | 20 +++++++++++++++-----
21309 gi/pygi-cache.h | 2 ++
21310 gi/pygi-info.c | 4 +++-
21311 gi/pygi-private.h | 9 +++++++--
21313 6 files changed, 37 insertions(+), 9 deletions(-)
21315 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
21316 Author: John (J5) Palmieri <johnp@redhat.com>
21317 Date: Tue Mar 22 15:37:24 2011 -0400
21319 [gi] revert back to the type.py from master
21321 gi/types.py | 21 +++++++++++++++------
21322 1 file changed, 15 insertions(+), 6 deletions(-)
21324 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
21325 Author: John (J5) Palmieri <johnp@redhat.com>
21326 Date: Tue Mar 22 14:46:29 2011 -0400
21328 [gi] revert pygi-argument.h and move the invoke-ng code to
21331 gi/pygi-argument.h | 268 +-----------------------------------------
21332 gi/pygi-marshal.h | 336
21333 +++++++++++++++++++++++++++++++++++++++++++++++++++++
21334 2 files changed, 337 insertions(+), 267 deletions(-)
21336 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
21337 Merge: 7332a1b 01596a9
21338 Author: John (J5) Palmieri <johnp@redhat.com>
21339 Date: Tue Mar 22 13:34:36 2011 -0400
21341 Merge branch 'master' into invoke-rewrite
21346 gi/pygi-foreign-cairo.c
21347 gi/pygi-foreign-gvariant.c
21348 gi/pygi-foreign-gvariant.h
21354 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
21355 Author: John (J5) Palmieri <johnp@redhat.com>
21356 Date: Tue Mar 22 13:20:54 2011 -0400
21358 [gi] foreign types now take interface infos instead of type infos
21360 * this is a prep for the invoke-rewrite branch
21361 * when marshalling foreign structs we may not have the type info but
21362 we will always have the interface info to pass
21363 * this simplifies the code because we were simply converting the
21364 type info back to an interface info anyway so there is less
21365 refcounting to keep track of
21366 * also fixes a bug where we were leaking PyNone ref counts
21368 gi/pygi-argument.c | 4 ++--
21369 gi/pygi-foreign-cairo.c | 16 ++++++++--------
21370 gi/pygi-foreign-gvariant.c | 12 ++++++------
21371 gi/pygi-foreign.c | 32 +++++++++++++-------------------
21372 gi/pygi-foreign.h | 8 ++++----
21373 gi/pygi-invoke.c | 6 +++---
21374 gi/pygi.h | 12 ++++++------
21375 7 files changed, 42 insertions(+), 48 deletions(-)
21377 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
21378 Author: Martin Pitt <martin.pitt@ubuntu.com>
21379 Date: Tue Mar 22 15:04:01 2011 +0100
21381 Fix GSchema tests for separate build tree
21383 When using a separate build tree, the compiled GSettings schema will
21385 build tree, but as the test scripts are only in the source tree they
21387 the compiled schema. Pass the build dir as environment variable and
21389 over test_overrides.py's directory.
21391 tests/Makefile.am | 3 ++-
21392 tests/test_overrides.py | 4 +++-
21393 2 files changed, 5 insertions(+), 2 deletions(-)
21395 commit 7332a1b99775519fdc5500cab6628b713e946a8c
21396 Author: John (J5) Palmieri <johnp@redhat.com>
21397 Date: Mon Mar 21 19:03:29 2011 -0400
21399 [gi] start of merge from master
21401 * move some of the modified files that will cause merge conflicts
21403 own, nonconflicting files
21404 * copy the old files out of master
21406 gi/pygi-argument.c | 2101 +++------------------------
21407 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
21408 gi/pygi-invoke.c | 421 ++----
21409 gi/pygi-marshal.c | 3916
21410 +++++++++++++++++++++++++++++++++++++++++++++++++++
21411 4 files changed, 5389 insertions(+), 2228 deletions(-)
21413 commit 62b49dae97441953452d097cb1751df14302547a
21414 Author: John (J5) Palmieri <johnp@redhat.com>
21415 Date: Wed Mar 16 17:34:18 2011 -0400
21417 [gi] marshal raw closures
21419 * before we were able to marshal python callables into methods
21421 GClosures but we had no way to take a GClosure returned from one
21422 method and pass it to another - this enables that usecase
21424 https://bugzilla.gnome.org/show_bug.cgi?id=644757
21426 gi/pygi-argument.c | 17 ++++++++++-------
21427 tests/test_gi.py | 4 ++++
21428 2 files changed, 14 insertions(+), 7 deletions(-)
21430 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
21431 Author: John Stowers <john.stowers@gmail.com>
21432 Date: Sun Mar 6 23:41:01 2011 +1300
21434 pygi-convert.sh add GObject.xxx and webkit
21436 https://bugzilla.gnome.org/show_bug.cgi?id=644347
21438 pygi-convert.sh | 7 +++++++
21439 1 file changed, 7 insertions(+)
21441 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
21442 Author: John Stowers <john.stowers@gmail.com>
21443 Date: Sun Mar 6 23:41:30 2011 +1300
21445 pygi-convert.sh remove gobject tests, GObject works now
21447 https://bugzilla.gnome.org/show_bug.cgi?id=644347
21449 pygi-convert.sh | 28 ----------------------------
21450 1 file changed, 28 deletions(-)
21452 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
21453 Author: John (J5) Palmieri <johnp@redhat.com>
21454 Date: Fri Mar 11 14:09:02 2011 -0500
21456 [gi-demos] add pickers demo
21458 demos/gtk-demo/demos/pickers.py | 74
21459 +++++++++++++++++++++++++++++++++++++++++
21460 1 file changed, 74 insertions(+)
21462 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
21463 Author: John (J5) Palmieri <johnp@redhat.com>
21464 Date: Thu Mar 10 18:12:50 2011 -0500
21466 [gi-demos] add menu demo
21468 demos/gtk-demo/demos/menus.py | 122
21469 ++++++++++++++++++++++++++++++++++++++++++
21470 1 file changed, 122 insertions(+)
21472 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
21473 Author: John (J5) Palmieri <johnp@redhat.com>
21474 Date: Wed Mar 9 13:02:50 2011 -0500
21476 [gi-overrides] fix exception block so it works in Python 2.5
21478 gi/overrides/Gio.py | 5 ++++-
21479 1 file changed, 4 insertions(+), 1 deletion(-)
21481 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
21482 Author: Martin Pitt <martin.pitt@ubuntu.com>
21483 Date: Mon Mar 21 13:19:58 2011 +0100
21485 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
21487 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
21489 This introduces additional libpython dependencies, which breaks
21491 which support multiple Python versions, and also causes the python
21493 to be in memory twice in some cases.
21495 https://bugzilla.gnome.org/show_bug.cgi?id=620215
21497 gi/Makefile.am | 4 +---
21498 glib/Makefile.am | 2 +-
21499 m4/python.m4 | 7 ++-----
21500 tests/Makefile.am | 2 +-
21501 4 files changed, 5 insertions(+), 10 deletions(-)
21503 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
21504 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21505 Date: Fri Mar 18 17:06:08 2011 +0100
21507 setup.py: fix user_access_control option
21510 1 file changed, 1 insertion(+), 1 deletion(-)
21512 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
21513 Author: Martin Pitt <martin.pitt@ubuntu.com>
21514 Date: Wed Mar 16 10:22:35 2011 +0100
21516 [gi] Respect the MessageType for Gtk.MessageDialog
21518 Don't just ignore the type argument, actually pass it on. Thanks
21520 Chou for spotting this!
21522 gi/overrides/Gtk.py | 1 +
21523 1 file changed, 1 insertion(+)
21525 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
21526 Author: Martin Pitt <martin.pitt@ubuntu.com>
21527 Date: Tue Mar 15 10:22:39 2011 +0100
21529 [gi] Do not require signature for D-BUS methods without arguments
21531 Calling methods on DBusProxy objects usually requires specifying
21533 as first argument. However, if the D-BUS method does not take any
21535 specifying the empty '()' signature does not give any additional
21537 so allow the caller to just call the proxy method without any
21540 Also ensure that passing a non-string signature raises a
21542 exception, instead of crashing deep in the GVariant leaf constructor.
21544 https://bugzilla.gnome.org/show_bug.cgi?id=644260
21546 gi/overrides/Gio.py | 16 +++++++++++++++-
21547 tests/test_gdbus.py | 13 +++++++++++++
21548 2 files changed, 28 insertions(+), 1 deletion(-)
21550 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
21551 Author: John Stowers <john.stowers@gmail.com>
21552 Date: Sun Mar 6 23:05:33 2011 +1300
21554 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
21556 https://bugzilla.gnome.org/show_bug.cgi?id=644343
21558 gi/overrides/Gtk.py | 2 ++
21559 1 file changed, 2 insertions(+)
21561 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
21562 Author: John Stowers <john.stowers@gmail.com>
21563 Date: Sun Mar 6 17:48:04 2011 +1300
21565 [gi-demos] dont try and run demos that represent directories
21567 demos/gtk-demo/gtk-demo.py | 3 ++-
21568 1 file changed, 2 insertions(+), 1 deletion(-)
21570 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
21571 Author: John (J5) Palmieri <johnp@redhat.com>
21572 Date: Mon Mar 7 18:09:18 2011 -0500
21574 [gi-demos] some python 3 compat fixes
21576 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
21577 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
21578 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
21579 demos/gtk-demo/gtk-demo.py | 4 ++--
21580 4 files changed, 11 insertions(+), 5 deletions(-)
21582 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
21583 Author: John (J5) Palmieri <johnp@redhat.com>
21584 Date: Tue Feb 22 15:07:40 2011 -0500
21586 [gi-demos] add liststore demo
21588 demos/gtk-demo/demos/Tree View/__init__.py | 0
21589 demos/gtk-demo/demos/Tree View/liststore.py | 205
21590 ++++++++++++++++++++++++++++
21591 2 files changed, 205 insertions(+)
21593 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
21594 Author: John (J5) Palmieri <johnp@redhat.com>
21595 Date: Mon Mar 7 18:08:40 2011 -0500
21597 [gi-demos] catch the correct error class
21599 demos/gtk-demo/demos/images.py | 11 ++++++-----
21600 1 file changed, 6 insertions(+), 5 deletions(-)
21602 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
21603 Author: Steve Frécinaux <code@istique.net>
21604 Date: Sun Mar 6 21:18:36 2011 +0100
21606 Do not leak python references when using the gobject.property()
21609 Since this helper was storing plain references in a long-lived
21611 refcount for the instances would never drop to zero, and so they would
21612 never get finalized.
21614 https://bugzilla.gnome.org/show_bug.cgi?id=644039
21616 gobject/propertyhelper.py | 5 ++---
21617 tests/test_properties.py | 23 +++++++++++++++++++++++
21618 2 files changed, 25 insertions(+), 3 deletions(-)
21620 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
21621 Author: John (J5) Palmieri <johnp@redhat.com>
21622 Date: Fri Mar 4 12:25:49 2011 -0500
21624 handle uchar as bytes, not strings in python 3
21626 * This worked in Python2 because bytes and strings are equivilant
21628 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
21629 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
21631 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
21632 and a PyBytes object in Python 3
21634 gobject/pygtype.c | 2 +-
21635 1 file changed, 1 insertion(+), 1 deletion(-)
21637 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
21638 Author: John (J5) Palmieri <johnp@redhat.com>
21639 Date: Fri Mar 4 12:24:35 2011 -0500
21641 [gi-overrides] handle unichar gvalues when setting treemodels
21643 gi/overrides/Gtk.py | 10 ++++++++++
21644 1 file changed, 10 insertions(+)
21646 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
21647 Author: John (J5) Palmieri <johnp@redhat.com>
21648 Date: Fri Mar 4 11:43:51 2011 -0500
21650 [gi-overrides] special case python 2 keywords that crept in
21652 gi/overrides/Gtk.py | 6 +++++-
21653 tests/test_overrides.py | 8 ++++----
21654 2 files changed, 9 insertions(+), 5 deletions(-)
21656 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
21657 Author: John (J5) Palmieri <johnp@redhat.com>
21658 Date: Fri Mar 4 11:10:16 2011 -0500
21660 check for the py3 _thread module in configure.ac if thread is
21663 configure.ac | 6 +++++-
21664 1 file changed, 5 insertions(+), 1 deletion(-)
21666 commit 4645af87d3c587f535404867dab56608719e5c7b
21667 Author: John (J5) Palmieri <johnp@redhat.com>
21668 Date: Fri Mar 4 00:39:23 2011 -0500
21670 [gi-demos] add iconview demo
21672 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
21673 +++++++++++++++++++++++
21674 1 file changed, 212 insertions(+)
21676 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
21677 Author: John (J5) Palmieri <johnp@redhat.com>
21678 Date: Thu Mar 3 18:39:16 2011 -0500
21680 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
21682 * python < 2.6 does not allow sending in keyword litterals after
21684 *args. You can only send in **kwds.
21687 1 file changed, 1 insertion(+), 1 deletion(-)
21689 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
21690 Author: John (J5) Palmieri <johnp@redhat.com>
21691 Date: Thu Mar 3 18:30:40 2011 -0500
21693 [gi-demos] add the combobox with string ids section to the demos
21695 demos/gtk-demo/demos/combobox.py | 49
21696 +++++++++++++++++++++++++++++++++++++++-
21697 1 file changed, 48 insertions(+), 1 deletion(-)
21699 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
21700 Author: John (J5) Palmieri <johnp@redhat.com>
21701 Date: Thu Mar 3 16:47:51 2011 -0500
21703 [gi-overrides] add an override for Gdk.RGBA
21705 gi/overrides/Gdk.py | 18 ++++++++++++++++++
21706 tests/test_overrides.py | 10 ++++++++++
21707 2 files changed, 28 insertions(+)
21709 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
21710 Author: John (J5) Palmieri <johnp@redhat.com>
21711 Date: Thu Mar 3 16:10:17 2011 -0500
21713 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
21716 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
21717 1 file changed, 9 insertions(+), 14 deletions(-)
21719 commit cd046e4c355706ead5f512b810a2a48317f8c32e
21720 Author: John (J5) Palmieri <johnp@redhat.com>
21721 Date: Wed Mar 2 18:13:43 2011 -0500
21723 [gi-demos] add search entry demo
21725 demos/gtk-demo/demos/Entry/search_entry.py | 257
21726 +++++++++++++++++++++++++++++
21727 1 file changed, 257 insertions(+)
21729 commit d5ddaa92e6349c2f52b67317326060973cb69661
21730 Author: John (J5) Palmieri <johnp@redhat.com>
21731 Date: Wed Mar 2 15:37:27 2011 -0500
21733 [gi] wrap map in a list for Python 3 compat
21736 1 file changed, 1 insertion(+), 1 deletion(-)
21738 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
21739 Author: John (J5) Palmieri <johnp@redhat.com>
21740 Date: Tue Mar 1 14:52:00 2011 -0500
21742 [gi-demos] fix up the validation combobox
21744 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
21745 1 file changed, 15 insertions(+), 6 deletions(-)
21747 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
21748 Author: John (J5) Palmieri <johnp@redhat.com>
21749 Date: Tue Mar 1 12:31:35 2011 -0500
21751 add overridesdir variable in the .pc file for 3rd party overrides
21753 pygobject-2.0.pc.in | 1 +
21754 1 file changed, 1 insertion(+)
21756 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
21757 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21758 Date: Fri Feb 11 17:14:11 2011 +0100
21760 setup.py: Set bdist_wininst user-access-control property
21763 1 file changed, 2 insertions(+), 1 deletion(-)
21765 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
21766 Author: Martin Pitt <martin.pitt@ubuntu.com>
21767 Date: Wed Mar 2 16:29:00 2011 +0100
21769 Fix uninitialized variable in gi.require_version()
21771 gi/__init__.py | 3 ++-
21772 1 file changed, 2 insertions(+), 1 deletion(-)
21774 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
21775 Author: Martin Pitt <martin.pitt@ubuntu.com>
21776 Date: Tue Mar 1 23:26:07 2011 +0100
21778 Run tests with LC_MESSAGES="C"
21780 Some tests, such as tests/test_gdbus.py check parts of error messages
21782 visible strings. Ensure that these do not get translated in the
21785 tests/runtests.py | 2 ++
21786 1 file changed, 2 insertions(+)
21788 commit 0461e05174637ae02f34029b85ba217d5ae48c53
21789 Author: John (J5) Palmieri <johnp@redhat.com>
21790 Date: Mon Feb 28 18:21:43 2011 -0500
21792 [gi-overrides] override Gtk.stock_lookup to not return success
21794 demos/gtk-demo/demos/combobox.py | 2 +-
21795 gi/overrides/Gtk.py | 9 +++++++++
21796 2 files changed, 10 insertions(+), 1 deletion(-)
21798 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
21799 Author: John (J5) Palmieri <johnp@redhat.com>
21800 Date: Mon Feb 28 14:16:00 2011 -0500
21802 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
21805 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
21806 1 file changed, 50 insertions(+)
21808 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
21809 Author: John (J5) Palmieri <johnp@redhat.com>
21810 Date: Mon Feb 28 14:08:05 2011 -0500
21812 [gi-tests] use Gdk.test_simulate_button instead of emitting event
21815 * this function is available specifically so we can test events so
21817 instead of creating our own button press event
21819 tests/test_overrides.py | 9 +++++----
21820 1 file changed, 5 insertions(+), 4 deletions(-)
21822 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
21823 Author: Laszlo Pandy <lpandy@src.gnome.org>
21824 Date: Thu Feb 24 19:30:32 2011 +0100
21826 [gi-tests] tests for EventButton override.
21828 * John (J5) Palmieri - fixed up original patch so that we actually
21829 emit the event instead of just creating a Gdk.ButtonEvent object
21831 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21833 tests/test_overrides.py | 21 +++++++++++++++++++++
21834 1 file changed, 21 insertions(+)
21836 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
21837 Author: John (J5) Palmieri <johnp@redhat.com>
21838 Date: Wed Feb 23 18:43:27 2011 -0500
21840 [gi-overrides] Add event methods to all event union members
21842 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21844 gi/overrides/Gdk.py | 70
21845 +++++++++++++++++++++++++++++++++++++++++++++++++++++
21846 1 file changed, 70 insertions(+)
21848 commit 6e30c69d38fd382414eb820097c297a80be547ac
21849 Author: John (J5) Palmieri <johnp@redhat.com>
21850 Date: Wed Feb 23 14:14:16 2011 -0500
21852 [gi] check to see if object is a member of a union when validating
21855 * union members are not subclasses of the union they belong to so
21857 inteface requires you pass a union but you pass one of its members
21858 there will be a type error
21859 * this patch checks to see if the type you are passing is a member
21861 union and passes the checks if it is
21862 * this works in python 3 but in python 2 methods do their own
21864 check on the instance parameter (e.g. self) so we need to figure
21865 out how to override that for union methods
21866 (e.g. Gdk.Event.get_state)
21868 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21870 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
21871 1 file changed, 38 insertions(+)
21873 commit 525f21d1365c24488b768955362085bf82512dee
21874 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21875 Date: Wed Feb 16 09:44:12 2011 +0100
21877 Skip interfaces when checking for conflicts in the MRO
21879 https://bugzilla.gnome.org/show_bug.cgi?id=642437
21881 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
21882 gobject/gobjectmodule.c | 9 +++++++--
21883 tests/test_gi.py | 16 ++++++++++++++++
21884 3 files changed, 63 insertions(+), 2 deletions(-)
21886 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
21887 Author: Laszlo Pandy <lpandy@src.gnome.org>
21888 Date: Thu Feb 24 18:46:15 2011 +0100
21890 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
21893 gi/importer.py | 2 +-
21894 gi/module.py | 2 +-
21895 2 files changed, 2 insertions(+), 2 deletions(-)
21897 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
21898 Author: Laszlo Pandy <lpandy@src.gnome.org>
21899 Date: Wed Feb 23 12:05:03 2011 +0100
21901 Test case with John's fix for crash with C arrays and a GError is set.
21903 I have added a test case, and made a few fixes to John's patch,
21905 solution is the same his.
21907 Workaround a bug when freeing C array types
21909 * This is a hack and there is really no way around it without
21911 the current array handling code which spans between pygi-invoke.c
21913 pygi-argument.c and completely rewriting it.
21914 * The is no time before our stable release
21915 * This patch trades a segfault for a leak in the very unusual
21917 an error occures inside an interface that takes one or more C
21919 we wrap C arrays in GArrays internally but have to unwrap them
21921 to the introspected C function, there is a period of time where
21923 can occure with the C array in an unknown state (some being true
21925 and others still wrapped in a GArray)
21926 * This patch adds a c_arrays_are_wrapped state to signal that it
21928 free them. However since c_arrays_are_wrapped can only track
21930 as a group, not individually, if it is set to FALSE we can
21932 that every array is a pure C array, so instead we will simply
21934 to avoid incorrectly freeing one and causing a segfault.
21935 * This issue is fixed in the invoke rewrite branch as it treats
21937 GArrays separately, however that branch is not yet ready to be
21939 won't be until the next release.
21941 https://bugzilla.gnome.org/show_bug.cgi?id=642708
21943 gi/pygi-invoke.c | 54
21944 ++++++++++++++++++++++++++++++++++++++++++++++++++----
21945 tests/test_gi.py | 9 +++++++++
21946 2 files changed, 59 insertions(+), 4 deletions(-)
21948 commit 702a89beca92cab6b0142829b20281b9245f28b8
21949 Author: John (J5) Palmieri <johnp@redhat.com>
21950 Date: Wed Feb 23 15:11:59 2011 -0500
21952 [gi-overrides] fix setting rows in treeview to accept None as a value
21954 * as done in PyGTK None indicates the column should not be set
21956 gi/overrides/Gtk.py | 3 +++
21957 tests/test_overrides.py | 18 +++++++++++++-----
21958 2 files changed, 16 insertions(+), 5 deletions(-)
21960 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
21961 Author: Laszlo Pandy <lpandy@src.gnome.org>
21962 Date: Wed Feb 23 14:23:19 2011 +0100
21964 [gi] Add value_name for enum and flags from introspection
21965 "c:identifier" (if attr is available).
21967 gi/gimodule.c | 22 ++++++++++++++++++----
21968 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
21969 2 files changed, 54 insertions(+), 4 deletions(-)
21971 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
21972 Author: Laszlo Pandy <lpandy@src.gnome.org>
21973 Date: Wed Feb 23 11:40:55 2011 +0100
21975 Fix flags with multiple names for the same value.
21977 Flags constructs a dict __flags_values__ and uses it to cache
21978 instances. However some flags in Glib such as G_IO_FLAG_MASK and
21979 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
21980 override each other's place in the dictionary.
21982 The dict length check is not necessary. It only reduces the number
21983 of duplicate instances we keep, because if an instance is not
21984 found in the dict, a new one is created anyway.
21986 gobject/pygflags.c | 2 +-
21987 1 file changed, 1 insertion(+), 1 deletion(-)
21989 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
21990 Author: Laszlo Pandy <lpandy@src.gnome.org>
21991 Date: Tue Feb 22 21:37:33 2011 +0100
21993 Don't force loading of DynamicModule until set in sys.modules
21995 This fixes Tomeu's previous commit, which removed lazy loading.
21996 Forcing the loading of a module before it is installed in sys.modules
21997 prevents some overrides from being registered (namely Gtk.main_quit).
21999 https://bugzilla.gnome.org/show_bug.cgi?id=642305
22001 gi/importer.py | 2 +-
22002 1 file changed, 1 insertion(+), 1 deletion(-)
22004 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
22005 Author: John (J5) Palmieri <johnp@redhat.com>
22006 Date: Mon Feb 21 17:20:57 2011 -0500
22008 use GValue support to marshal GtkTreeModel values correctly
22010 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
22012 https://bugzilla.gnome.org/show_bug.cgi?id=642921
22014 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
22015 tests/test_overrides.py | 87
22016 +++++++++++++++++++++++++++++++++++++++++--------
22017 2 files changed, 107 insertions(+), 17 deletions(-)
22019 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
22020 Author: John (J5) Palmieri <johnp@redhat.com>
22021 Date: Mon Feb 21 16:14:20 2011 -0500
22023 [gi] pass raw GValues instead of trying to marshal them
22025 * Right now GValues are transparent to the user but this leave us no
22026 way to describe fundimental types other than those supported
22028 by python (e.g. int, str, etc)
22029 * If an interface is expecting a uint or other GValue type a user
22031 the raw GValue interfaces and expect paramaters that take
22033 marshal them correctly e.g.:
22034 value = GObject.Value()
22035 value.int(GObject.TYPE_UINT)
22036 value.set_uint(1234)
22037 * The objective here is to not for users to use this API but for
22039 to be able to utilize them. For instance in the TreeModel API
22041 get the expected type for a column and them create a GValue with
22043 type so that he underlying python object is marshalled correctly.
22045 https://bugzilla.gnome.org/show_bug.cgi?id=642914
22047 gi/pygi-argument.c | 24 ++++++++++++++++++------
22048 tests/test_gi.py | 9 ++++++++-
22049 2 files changed, 26 insertions(+), 7 deletions(-)
22051 commit b458f6f3424a04f6ceece09d443009372d70544c
22052 Author: John (J5) Palmieri <johnp@redhat.com>
22053 Date: Sat Feb 19 19:42:41 2011 -0500
22055 [gi-demos] add icon view edit and drag-and-drop demo
22057 demos/gtk-demo/demos/Icon View/__init__.py | 0
22058 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
22059 +++++++++++++++++++++++++
22060 2 files changed, 101 insertions(+)
22062 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
22063 Author: John (J5) Palmieri <johnp@redhat.com>
22064 Date: Sat Feb 19 17:26:42 2011 -0500
22066 [gi-demos] add info bars demo
22068 demos/gtk-demo/demos/infobars.py | 99
22069 ++++++++++++++++++++++++++++++++++++++++
22070 1 file changed, 99 insertions(+)
22072 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
22073 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22074 Date: Wed Feb 16 11:53:18 2011 +0100
22076 Load typelibs at import time, add gi.require_version()
22078 also adds Repository.get_loaded_namespaces()
22080 https://bugzilla.gnome.org/show_bug.cgi?id=642305
22082 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
22083 gi/importer.py | 1 +
22084 gi/module.py | 21 ++++-----------------
22085 gi/pygi-repository.c | 23 +++++++++++++++++++++++
22086 4 files changed, 56 insertions(+), 18 deletions(-)
22088 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
22089 Author: Laszlo Pandy <lpandy@src.gnome.org>
22090 Date: Sat Feb 19 23:11:25 2011 +0100
22092 [gi] Register GType for non-GType enums and flags at runtime.
22094 Note: rebuild of gobject-introspection is required for new tests.
22096 Previously non-GType enums used a separate type implemented in
22097 Python, and non-GType flags had no implementation at all. This
22098 removes the separate type for enums, and registers a new GType at
22099 runtime if there isn't one.
22101 This allows non-GType enums and flags to use the same Python type
22102 as GType enums and flags. This removes duplication of code, and
22103 make both kinds behave identically.
22105 https://bugzilla.gnome.org/show_bug.cgi?id=642607
22107 gi/gimodule.c | 117
22108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22109 gi/module.py | 24 ++++++-----
22110 gi/pygi-info.c | 15 +++++++
22111 gi/types.py | 16 --------
22112 gobject/pygflags.c | 13 ++++--
22113 tests/test_gi.py | 35 ++++++++++++++++
22114 6 files changed, 191 insertions(+), 29 deletions(-)
22116 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
22117 Author: Martin Pitt <martin.pitt@ubuntu.com>
22118 Date: Tue Feb 8 15:38:21 2011 +0100
22120 [gi] Add Pythonic gdbus method invocation
22122 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
22124 Python object. This will handle the Python object <-> GVariant
22126 optional keyword arguments for flags, timeout, and a result handler
22128 asynchronous calls.
22130 Require specifying the input argument signature as the first argument
22132 method call. This ensures that the types of e. g. integers are
22134 and avoids having to do expensive D-Bus introspection for each call.
22136 https://bugzilla.gnome.org/show_bug.cgi?id=640181
22138 gi/overrides/Gio.py | 99
22139 ++++++++++++++++++++++++++++++++++++++++++++++++++
22140 tests/test_gdbus.py | 102
22141 ++++++++++++++++++++++++++++++++++++++++++++++++++--
22142 2 files changed, 199 insertions(+), 2 deletions(-)
22144 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
22145 Author: Laszlo Pandy <lpandy@src.gnome.org>
22146 Date: Fri Feb 18 22:48:59 2011 +0100
22148 Skip GError out parameters in Python closure.
22150 Python code should have never have to explicitely return a GError.
22151 Once we are able to marshal exceptions the Python code should
22152 throw an exception instead. Until then, set GError to NULL, and
22153 don't complain if a Python function doesn't return an arg for it.
22155 https://bugzilla.gnome.org/show_bug.cgi?id=642715
22157 gi/pygi-closure.c | 8 ++++++++
22158 1 file changed, 8 insertions(+)
22160 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
22161 Author: Laszlo Pandy <lpandy@src.gnome.org>
22162 Date: Fri Feb 18 10:15:59 2011 +0100
22164 Fix runtests.py to work with Python3 (print function syntax error).
22166 tests/runtests.py | 2 +-
22167 1 file changed, 1 insertion(+), 1 deletion(-)
22169 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
22170 Author: John (J5) Palmieri <johnp@redhat.com>
22171 Date: Thu Feb 17 19:46:49 2011 -0500
22173 [gi-demos] added rotate text demo
22175 * needs some Pango Attr fixes to be 100% done, See FIXME
22177 demos/gtk-demo/demos/rotatedtext.py | 196
22178 ++++++++++++++++++++++++++++++++++++
22179 1 file changed, 196 insertions(+)
22181 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
22182 Author: John (J5) Palmieri <johnp@redhat.com>
22183 Date: Thu Feb 17 17:25:00 2011 -0500
22185 [gi-demos] add images demo
22187 * needs annotation fix from GdkPixbuf for ImageLoader to work
22189 demos/gtk-demo/demos/images.py | 311
22190 +++++++++++++++++++++++++++++++++++++++++
22191 1 file changed, 311 insertions(+)
22193 commit 13b06170b89b3468e6255be32af4833ffc675c9d
22194 Author: John (J5) Palmieri <johnp@redhat.com>
22195 Date: Thu Feb 17 14:48:24 2011 -0500
22197 [gi-demos] add pixbuf demo
22199 demos/gtk-demo/demos/pixbuf.py | 183
22200 +++++++++++++++++++++++++++++++++++++++++
22201 1 file changed, 183 insertions(+)
22203 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
22204 Author: John (J5) Palmieri <johnp@redhat.com>
22205 Date: Thu Feb 17 14:47:12 2011 -0500
22207 [gi-demos] remove fixmes from print demo, fixed in pango
22209 demos/gtk-demo/demos/printing.py | 10 +++-------
22210 1 file changed, 3 insertions(+), 7 deletions(-)
22212 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
22213 Author: John (J5) Palmieri <johnp@redhat.com>
22214 Date: Wed Feb 16 19:39:30 2011 -0500
22216 [gi-demos] add printing demo
22218 * needs some annotations for pango before it is 100% useful
22220 demos/gtk-demo/demos/printing.py | 177
22221 +++++++++++++++++++++++++++++++++++++++
22222 1 file changed, 177 insertions(+)
22224 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
22225 Author: John (J5) Palmieri <johnp@redhat.com>
22226 Date: Wed Feb 16 17:52:38 2011 -0500
22228 [gi-overrides] add cursor overrides
22230 https://bugzilla.gnome.org/show_bug.cgi?id=635947
22232 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
22233 tests/test_overrides.py | 23 +++++++++++++++++++++++
22234 2 files changed, 64 insertions(+)
22236 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
22237 Author: John (J5) Palmieri <johnp@redhat.com>
22238 Date: Wed Feb 16 16:18:24 2011 -0500
22240 [gi-demos] add the links demo
22242 demos/gtk-demo/demos/links.py | 74
22243 +++++++++++++++++++++++++++++++++++++++++++
22244 1 file changed, 74 insertions(+)
22246 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
22247 Author: John (J5) Palmieri <johnp@redhat.com>
22248 Date: Wed Feb 16 15:48:40 2011 -0500
22250 [gi-demos] add expander demo
22252 demos/gtk-demo/demos/expander.py | 60
22253 ++++++++++++++++++++++++++++++++++++++++
22254 1 file changed, 60 insertions(+)
22256 commit 76cdb13ab872f91f8384d26b0f2932087a746117
22257 Author: John (J5) Palmieri <johnp@redhat.com>
22258 Date: Wed Feb 16 15:14:35 2011 -0500
22260 [gi-overrides] use pop instead of del and add extra tests for
22263 gi/overrides/Gtk.py | 6 ++----
22264 tests/test_overrides.py | 8 ++++++++
22265 2 files changed, 10 insertions(+), 4 deletions(-)
22267 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
22268 Author: Laszlo Pandy <lpandy@src.gnome.org>
22269 Date: Tue Feb 15 20:07:42 2011 +0100
22271 [tests] Separate processes for GI and static binding tests.
22273 Importing and using both static gobject bindings and
22274 introspection GObject bindings in the same process can cause
22275 conflicts with types which otherwise wouldn't be there.
22277 This patch changes "make check" to call runtests.py twice -- once
22278 for each set of tests.
22280 In the case of a test failure, runtests.py now sets the exit code
22281 so that make does not continue. Otherwise you might miss the
22282 failures from the first batch of tests in the scrollback.
22284 tests/Makefile.am | 19 +++++++++++--------
22285 tests/runtests.py | 4 +++-
22286 2 files changed, 14 insertions(+), 9 deletions(-)
22288 commit e0896b45f60f37097ec521f1bc38778383b78dd8
22289 Author: John (J5) Palmieri <johnp@redhat.com>
22290 Date: Tue Feb 15 14:47:10 2011 -0500
22292 [gi-demos] add dialogs demo
22294 demos/gtk-demo/demos/dialogs.py | 153
22295 ++++++++++++++++++++++++++++++++++++++++
22296 1 file changed, 153 insertions(+)
22298 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
22299 Author: John (J5) Palmieri <johnp@redhat.com>
22300 Date: Tue Feb 15 14:46:41 2011 -0500
22302 [gi-overrides] fix typo in GtkTable constructor
22304 gi/overrides/Gtk.py | 8 ++++----
22305 1 file changed, 4 insertions(+), 4 deletions(-)
22307 commit 9c277e1782c5a9d672d91fabf5289c5415891682
22308 Author: John (J5) Palmieri <johnp@redhat.com>
22309 Date: Tue Feb 15 13:26:38 2011 -0500
22311 [gi-demos] keep popup menu from destroying itself by holding a ref
22314 demos/gtk-demo/demos/clipboard.py | 8 ++++----
22315 1 file changed, 4 insertions(+), 4 deletions(-)
22317 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
22318 Author: John (J5) Palmieri <johnp@redhat.com>
22319 Date: Tue Feb 15 13:25:13 2011 -0500
22321 [gi-overrides] add a Gtk.Menu override for the popup method
22323 gi/overrides/Gtk.py | 7 +++++++
22324 1 file changed, 7 insertions(+)
22326 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
22327 Author: John (J5) Palmieri <johnp@redhat.com>
22328 Date: Tue Feb 15 13:24:33 2011 -0500
22330 [gi-demos] fix the about dialog in appwindow demo
22332 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
22333 1 file changed, 9 insertions(+), 13 deletions(-)
22335 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
22336 Author: John (J5) Palmieri <johnp@redhat.com>
22337 Date: Tue Feb 15 11:21:13 2011 -0500
22339 [gi-demos] fix clipboard demo so DnD works
22341 * menu popups don't work because the API takes a callback without
22345 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
22346 1 file changed, 10 insertions(+), 10 deletions(-)
22348 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
22349 Author: John (J5) Palmieri <johnp@redhat.com>
22350 Date: Tue Feb 15 10:18:53 2011 -0500
22352 [gi-demos] fix clipboard demo to reflect new API
22354 demos/gtk-demo/demos/clipboard.py | 6 +++---
22355 1 file changed, 3 insertions(+), 3 deletions(-)
22357 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
22358 Author: John (J5) Palmieri <johnp@redhat.com>
22359 Date: Mon Feb 14 18:17:20 2011 -0500
22361 [gi-demo] Fix color dialog demo to run with new draw, style and
22364 demos/gtk-demo/demos/colorselector.py | 44
22365 ++++++++++++++---------------------
22366 1 file changed, 17 insertions(+), 27 deletions(-)
22368 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
22369 Author: John (J5) Palmieri <johnp@redhat.com>
22370 Date: Mon Feb 14 17:58:25 2011 -0500
22372 [gi-demos] fix most of the combobox app
22374 * Still having some issues with filtering the ComboBoxText widget
22376 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
22377 1 file changed, 8 insertions(+), 9 deletions(-)
22379 commit 3606eb20ad1651af621bf1aa429ec102082565eb
22380 Author: Laszlo Pandy <lpandy@src.gnome.org>
22381 Date: Mon Feb 14 19:36:27 2011 +0100
22383 Use PyGI type conversion (to fix foreign types) for signal callbacks.
22385 First attempt at patch to fix foreign types in signal callbacks.
22386 Tests are not implemented yet.
22388 https://bugzilla.gnome.org/show_bug.cgi?id=637601
22390 gi/Makefile.am | 2 +
22391 gi/gimodule.c | 1 +
22392 gi/pygi-argument.c | 91 ++++++++++++++++++
22393 gi/pygi-argument.h | 2 +
22394 gi/pygi-private.h | 1 +
22395 gi/pygi-signal-closure.c | 245
22396 +++++++++++++++++++++++++++++++++++++++++++++++
22397 gi/pygi-signal-closure.h | 46 +++++++++
22398 gi/pygi.h | 28 ++++++
22399 gobject/pygobject.c | 24 ++++-
22400 9 files changed, 436 insertions(+), 4 deletions(-)
22402 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
22403 Author: John (J5) Palmieri <johnp@redhat.com>
22404 Date: Mon Feb 14 16:47:03 2011 -0500
22406 [gi-demos] fix drawingarea app to use the new draw api
22408 demos/gtk-demo/demos/drawingarea.py | 144
22409 +++++++++++++-----------------------
22410 1 file changed, 50 insertions(+), 94 deletions(-)
22412 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
22413 Author: John (J5) Palmieri <johnp@redhat.com>
22414 Date: Mon Feb 14 16:43:35 2011 -0500
22416 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
22418 * note this is the introspected gobject-cairo boxed type not the
22421 * we alias this so people do not get confused
22423 gi/overrides/Gdk.py | 5 +++++
22424 1 file changed, 5 insertions(+)
22426 commit d491c369e049ab726f09002af0462391d5c2f3ec
22427 Author: John (J5) Palmieri <johnp@redhat.com>
22428 Date: Mon Feb 14 15:07:11 2011 -0500
22430 [gi-overrides] let user set the proper property names in Gtk.Table
22432 * the old override added a columns and rows parameters to the Table
22434 to be in sync with PyGtk.
22435 * The GTK properties are n_columns and n_rows
22438 gi/overrides/Gtk.py | 8 ++++++++
22439 1 file changed, 8 insertions(+)
22441 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
22442 Author: John (J5) Palmieri <johnp@redhat.com>
22443 Date: Mon Feb 14 15:06:38 2011 -0500
22445 [gi-demos] get appwindow demo working again
22447 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
22448 1 file changed, 4 insertions(+), 20 deletions(-)
22450 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
22451 Author: John (J5) Palmieri <johnp@redhat.com>
22452 Date: Mon Feb 14 15:05:44 2011 -0500
22454 [gi-demos] fixed use of tree_iter_get
22456 demos/gtk-demo/gtk-demo.py | 2 +-
22457 1 file changed, 1 insertion(+), 1 deletion(-)
22459 commit 0c20977e4598e5447dd07c069e91226efacb1160
22460 Author: Simon van der Linden <svdlinden@gnome.org>
22461 Date: Fri Feb 11 22:02:03 2011 +0100
22463 Remove last GIO-related bits
22465 https://bugzilla.gnome.org/show_bug.cgi?id=638899
22469 configure.ac | 3 --
22470 examples/gio/directory-async.py | 33 ------------------
22471 examples/gio/downloader.py | 77
22472 -----------------------------------------
22473 pygobject.doap | 2 +-
22474 6 files changed, 3 insertions(+), 117 deletions(-)
22476 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
22477 Author: Simon van der Linden <svdlinden@gnome.org>
22478 Date: Fri Feb 11 18:38:27 2011 +0100
22480 Remove GIO documentation
22482 https://bugzilla.gnome.org/show_bug.cgi?id=638899
22484 docs/Makefile.am | 82 +-
22485 docs/reference/pygio-appinfo.xml | 894 -----
22486 docs/reference/pygio-applaunchcontext.xml | 194 --
22487 docs/reference/pygio-asyncresult.xml | 117 -
22488 docs/reference/pygio-bufferedinputstream.xml | 461 ---
22489 docs/reference/pygio-bufferedoutputstream.xml | 275 --
22490 docs/reference/pygio-cancellable.xml | 290 --
22491 docs/reference/pygio-classes.xml | 47 -
22492 docs/reference/pygio-constants.xml | 1540 ---------
22493 docs/reference/pygio-datainputstream.xml | 799 -----
22494 docs/reference/pygio-dataoutputstream.xml | 504 ---
22495 docs/reference/pygio-drive.xml | 546 ---
22496 docs/reference/pygio-emblem.xml | 232 --
22497 docs/reference/pygio-emblemedicon.xml | 160 -
22498 docs/reference/pygio-file.xml | 4534
22499 -------------------------
22500 docs/reference/pygio-fileattributeinfo.xml | 73 -
22501 docs/reference/pygio-fileenumerator.xml | 488 ---
22502 docs/reference/pygio-fileicon.xml | 109 -
22503 docs/reference/pygio-fileinfo.xml | 346 --
22504 docs/reference/pygio-fileinputstream.xml | 214 --
22505 docs/reference/pygio-filemonitor.xml | 128 -
22506 docs/reference/pygio-fileoutputstream.xml | 257 --
22507 docs/reference/pygio-filterinputstream.xml | 152 -
22508 docs/reference/pygio-filteroutputstream.xml | 152 -
22509 docs/reference/pygio-functions.xml | 395 ---
22510 docs/reference/pygio-icon.xml | 217 --
22511 docs/reference/pygio-inputstream.xml | 730 ----
22512 docs/reference/pygio-loadableicon.xml | 198 --
22513 docs/reference/pygio-memoryinputstream.xml | 151 -
22514 docs/reference/pygio-memoryoutputstream.xml | 175 -
22515 docs/reference/pygio-mount.xml | 962 ------
22516 docs/reference/pygio-mountoperation.xml | 726 ----
22517 docs/reference/pygio-outputstream.xml | 140 -
22518 docs/reference/pygio-seekable.xml | 231 --
22519 docs/reference/pygio-simpleasyncresult.xml | 317 --
22520 docs/reference/pygio-themedicon.xml | 204 --
22521 docs/reference/pygio-unixinputstream.xml | 202 --
22522 docs/reference/pygio-unixoutputstream.xml | 202 --
22523 docs/reference/pygio-volume.xml | 718 ----
22524 docs/reference/pygio-volumemonitor.xml | 844 -----
22525 docs/reference/pygiounix-classes.xml | 13 -
22526 docs/reference/pygobject-ref.xml | 2 -
22527 42 files changed, 1 insertion(+), 19020 deletions(-)
22529 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
22530 Author: John (J5) Palmieri <johnp@redhat.com>
22531 Date: Fri Feb 11 11:05:04 2011 -0500
22533 bump version to reflect the master branch moving towards pygobject 3.0
22535 * added NEWS file from branch pygobject-2-28
22537 * this branch will drop support for the static binding
22538 * use the pygobject-2-28 branch for static binding fixes
22541 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22542 configure.ac | 4 +-
22543 2 files changed, 291 insertions(+), 2 deletions(-)
22545 commit 16140237aa45b4f188923da9f95b9d2af971011b
22546 Author: John (J5) Palmieri <johnp@redhat.com>
22547 Date: Thu Feb 10 16:46:08 2011 -0500
22549 fix build to correctly use python-config
22552 configure.ac | 6 ------
22553 m4/python.m4 | 9 +++++----
22554 tests/runtests.py | 1 +
22555 4 files changed, 9 insertions(+), 10 deletions(-)
22557 commit c2079f415638ef892b1e51f25eaafa3e1621667f
22558 Author: Simon van der Linden <svdlinden@gnome.org>
22559 Date: Thu Feb 10 22:26:00 2011 +0100
22561 Add missing libraries to link against
22563 glib/Makefile.am | 2 +-
22564 gobject/Makefile.am | 1 +
22565 2 files changed, 2 insertions(+), 1 deletion(-)
22567 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
22568 Author: Steve Frécinaux <code@istique.net>
22569 Date: Wed Jan 19 15:00:56 2011 +0100
22571 Make runtests.py able to run command-line provided test files
22573 With this patch we are now able to run ./runtests.py <somefile>, which
22574 is more friendly than defining an environment variable to run some
22577 https://bugzilla.gnome.org/show_bug.cgi?id=639948
22579 tests/runtests.py | 9 +++++++++
22580 1 file changed, 9 insertions(+)
22582 commit 14c4cf8e6edae893538680964380d543bde4a14d
22583 Author: Martin Pitt <martin.pitt@ubuntu.com>
22584 Date: Wed Feb 9 11:34:59 2011 +0100
22586 Run test suite under dbus-launch
22588 When available, run the test suite in dbus-launch, so that the
22590 succeed even when building this in an environment without a running
22592 D-BUS (such as distribution package builds).
22594 tests/Makefile.am | 3 ++-
22595 1 file changed, 2 insertions(+), 1 deletion(-)
22597 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
22598 Author: Martin Pitt <martin.pitt@ubuntu.com>
22599 Date: Tue Feb 8 15:46:36 2011 +0100
22601 Fix test_gdbus.py to be Python3 friendly
22603 - TestCase.assert_() has been deprecated by assertTrue().
22604 - Exceptions don't have a message attribute any more, use str(e)
22606 tests/test_gdbus.py | 34 +++++++++++++++-------------------
22607 1 file changed, 15 insertions(+), 19 deletions(-)
22609 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
22610 Author: Martin Pitt <martin.pitt@ubuntu.com>
22611 Date: Sat Jan 29 12:20:50 2011 +0100
22613 [gi] Provide comfortable GSettings API
22615 Make Gio.Settings behave like a dictionary, with transparent
22617 GVariants. Also provide a more comfortable constructor.
22619 https://bugzilla.gnome.org/show_bug.cgi?id=640838
22621 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
22622 tests/org.gnome.test.gschema.xml | 9 +++++
22623 tests/test_overrides.py | 73
22624 ++++++++++++++++++++++++++++++++--------
22625 3 files changed, 122 insertions(+), 14 deletions(-)
22627 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
22628 Author: Laszlo Pandy <lpandy@src.gnome.org>
22629 Date: Fri Feb 4 16:36:07 2011 +0100
22631 Fix vfunc search bug when using GInterfaces and a do_* method.
22633 If a class inherits from a GInterface, as well as implements a do_*
22634 method (which is not in a super class), all the base interfaces
22635 will be searched for an __info__ attribute. GInterface doesn't
22636 have one, causing an error on class creation.
22638 https://bugzilla.gnome.org/show_bug.cgi?id=641493
22640 gi/types.py | 4 +++-
22641 tests/test_gi.py | 8 ++++++++
22642 2 files changed, 11 insertions(+), 1 deletion(-)
22644 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
22645 Author: Laszlo Pandy <lpandy@src.gnome.org>
22646 Date: Thu Feb 3 15:31:42 2011 +0100
22648 [GI] Add tests for Gtk.Widget.drag_* methods.
22650 Previously all the drag_* methods were accessible as Gtk.drag_*.
22651 Now that the (method) attribute has been included for these
22652 methods in Gtk+, this test checks that they are included as class
22653 methods when using pygobject introspection.
22655 https://bugzilla.gnome.org/show_bug.cgi?id=639945
22657 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
22658 1 file changed, 40 insertions(+)
22660 commit d57500537014b3da624be33b40401ba289fa22b8
22661 Author: John (J5) Palmieri <johnp@redhat.com>
22662 Date: Thu Feb 3 09:02:16 2011 -0500
22664 [gi] make caller allocates work again
22666 gi/pygi-cache.c | 18 +++---------------
22667 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
22668 2 files changed, 37 insertions(+), 18 deletions(-)
22670 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
22671 Author: John (J5) Palmieri <johnp@redhat.com>
22672 Date: Wed Feb 2 19:27:40 2011 -0500
22674 [gi] fix container object reffing
22676 gi/pygi-argument.c | 7 +++----
22677 gi/pygi-cache.c | 12 ++++--------
22678 2 files changed, 7 insertions(+), 12 deletions(-)
22680 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
22681 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22682 Date: Wed Feb 2 21:00:48 2011 +0100
22684 [python 3] use the right syntaxis to raise exceptions
22686 codegen/argtypes.py | 8 ++++----
22687 codegen/definitions.py | 14 +++++++-------
22688 gi/overrides/Gtk.py | 2 +-
22689 3 files changed, 12 insertions(+), 12 deletions(-)
22691 commit 36094e5982d3e05d5662843b6d401f0974f5235f
22692 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22693 Date: Wed Feb 2 20:50:12 2011 +0100
22695 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
22697 tests/testhelpermodule.c | 6 +++---
22698 1 file changed, 3 insertions(+), 3 deletions(-)
22700 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
22701 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22702 Date: Wed Feb 2 20:37:21 2011 +0100
22704 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
22706 This is to avoid some warnings when building with python 3
22708 gi/gimodule.c | 6 +++---
22709 1 file changed, 3 insertions(+), 3 deletions(-)
22711 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
22712 Author: Steve Frécinaux <code@istique.net>
22713 Date: Sat Jan 29 00:16:50 2011 +0100
22715 Fix wrong refcount when calling introspected widget constructors
22717 Introspected widget constructors, like Gtk.Button.new(), can return
22718 objects with a floating reference, which was then reffed by pygobject,
22719 resulting in two references, despite the object is not owned by
22722 This patch uses ref_sink() when pygobject takes its own reference, to
22723 avoid adding that extra reference. Hence we now claim ownership on
22724 objects returned by constructors with transfer=none (which is the case
22725 for nearly all the widget constructors, despite the floating ref).
22727 https://bugzilla.gnome.org/show_bug.cgi?id=640868
22729 gobject/pygobject.c | 4 +++-
22730 tests/test_everything.py | 9 ++++++++-
22731 2 files changed, 11 insertions(+), 2 deletions(-)
22733 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
22734 Author: Simon Schampijer <simon@laptop.org>
22735 Date: Wed Jan 19 16:19:46 2011 +0100
22737 Gdk.Window: Map the standard constructor to the *new* constructor
22739 Gdk.Window had to be made abstract
22740 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
22741 this override allows using the standard constructor
22743 This commit adds as well a testcase.
22745 https://bugzilla.gnome.org/show_bug.cgi?id=639936
22747 gi/overrides/Gdk.py | 6 ++++++
22748 tests/test_overrides.py | 8 ++++++++
22749 2 files changed, 14 insertions(+)
22751 commit 4a67f45880433905de33632fe0c32a13b44c0b33
22752 Author: John (J5) Palmieri <johnp@redhat.com>
22753 Date: Mon Jan 31 16:51:37 2011 -0500
22755 [gi] handle hash being NULL
22757 gi/pygi-argument.c | 6 ++++++
22758 1 file changed, 6 insertions(+)
22760 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
22761 Author: John (J5) Palmieri <johnp@redhat.com>
22762 Date: Mon Jan 31 16:50:52 2011 -0500
22764 [gi] handle the situation where an aux arg comes before its parent
22766 gi/pygi-cache.c | 70
22767 ++++++++++++++++++++++++++++++++++++++++----------------
22768 gi/pygi-invoke.c | 2 +-
22769 2 files changed, 51 insertions(+), 21 deletions(-)
22771 commit 858669f92c9907dd70b4966d6a8521ed122225be
22772 Author: Martin Pitt <martin.pitt@ubuntu.com>
22773 Date: Mon Jan 31 17:38:52 2011 +0100
22775 Ship tests/org.gnome.test.gschema.xml in dist tarballs
22777 tests/Makefile.am | 3 ++-
22778 1 file changed, 2 insertions(+), 1 deletion(-)
22780 commit 77d76df59606e470808085e977fb199cc76e8251
22781 Author: John (J5) Palmieri <johnp@redhat.com>
22782 Date: Sun Jan 30 18:21:24 2011 -0500
22784 [gi] allow caching and marshalling of ghash out
22786 gi/pygi-argument.c | 155
22787 +++++++++++++++++++++++++++++++++++++++++++++++++----
22788 gi/pygi-cache.c | 27 ++++++----
22789 2 files changed, 162 insertions(+), 20 deletions(-)
22791 commit bd66af67f248a3ca90d2fa2626605263c2392e16
22792 Author: John (J5) Palmieri <johnp@redhat.com>
22793 Date: Sun Jan 30 17:06:44 2011 -0500
22795 [gi] whitespace fixes
22797 gi/pygi-cache.c | 60
22798 ++++++++++++++++++++++++++++-----------------------------
22799 1 file changed, 30 insertions(+), 30 deletions(-)
22801 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
22802 Author: John (J5) Palmieri <johnp@redhat.com>
22803 Date: Sun Jan 30 17:04:13 2011 -0500
22805 [gi] added ugly aux arg counters
22807 * we need to simplify the ffi invoke so we can simply reference args
22808 at their position in the C parameter list
22809 * this works for now but is fragile if new aux values are added in
22812 gi/pygi-argument.c | 12 ++++++++--
22813 gi/pygi-cache.c | 66
22814 +++++++++++++++++++++++++++++++++++++-----------------
22815 gi/pygi-cache.h | 2 ++
22816 gi/pygi-invoke.c | 12 +++++++---
22817 4 files changed, 66 insertions(+), 26 deletions(-)
22819 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
22820 Author: John (J5) Palmieri <johnp@redhat.com>
22821 Date: Sun Jan 30 11:30:54 2011 -0500
22823 [gi] make inout marshalling work
22825 * refactor cache generation so we can create caches and then fill
22827 values based on if they are in, out or inout
22828 * in invoke we order the pointers based on their direction
22830 gi/pygi-cache.c | 1445
22831 ++++++++++++++++++++++++++----------------------------
22832 gi/pygi-invoke.c | 19 +-
22833 2 files changed, 711 insertions(+), 753 deletions(-)
22835 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
22836 Author: John (J5) Palmieri <johnp@redhat.com>
22837 Date: Sat Jan 29 13:49:36 2011 -0500
22839 [gi] marshal arrays out
22841 gi/pygi-argument.c | 101
22842 +++++++++++++++++++++++++++++++++++++++++++++++++++--
22843 1 file changed, 99 insertions(+), 2 deletions(-)
22845 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
22846 Author: John (J5) Palmieri <johnp@redhat.com>
22847 Date: Sat Jan 29 13:48:23 2011 -0500
22849 [gi] fix sequence caching to support out
22851 gi/pygi-cache.c | 111
22852 ++++++++++++++++++++++++++++++++++++++++++++------------
22853 1 file changed, 87 insertions(+), 24 deletions(-)
22855 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
22856 Author: Martin Pitt <martin.pitt@ubuntu.com>
22857 Date: Fri Jan 28 17:14:19 2011 +0100
22859 [gi] Add GSettings tests
22861 Ryan Lortie proposed an override for more convenient GSettings access,
22863 first make sure that the canonical GLib API works.
22865 tests/Makefile.am | 7 +++++--
22866 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
22867 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
22868 3 files changed, 52 insertions(+), 2 deletions(-)
22870 commit 488478a83640d50baee963337fcc870fec76b784
22871 Author: Martin Pitt <martin.pitt@ubuntu.com>
22872 Date: Fri Jan 28 07:20:26 2011 +0100
22874 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
22876 Provide an actual insert_with_tags_by_name() instead of overloading
22877 insert_with_tags() to handle both types. This keeps the overrides
22879 with the actual GTK API.
22881 gi/overrides/Gtk.py | 19 ++++++++++++++-----
22882 tests/test_overrides.py | 4 ++--
22883 2 files changed, 16 insertions(+), 7 deletions(-)
22885 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
22886 Author: Martin Pitt <martin.pitt@ubuntu.com>
22887 Date: Thu Jan 27 13:37:18 2011 +0100
22889 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
22891 Neither insert_with_tags() nor insert_with_tags_by_name() are
22893 due to using varargs. As both are useful, support both cases in
22896 gi/overrides/Gtk.py | 5 +++++
22897 tests/test_overrides.py | 9 +++++++++
22898 2 files changed, 14 insertions(+)
22900 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
22901 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22902 Date: Thu Jan 27 12:23:18 2011 +0100
22904 Add MAINTAINERCLEANFILES
22906 This var behaves like .gitignore and allows us to skip some specific
22909 Makefile.am | 27 +++++++++++++++++++++++++++
22910 1 file changed, 27 insertions(+)
22912 commit 8a98d26981ce68809a21c64cac4962e58c927905
22913 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22914 Date: Thu Jan 27 12:15:30 2011 +0100
22916 Remove .gitignore files and use git.mk
22918 git.mk is a script maintained in pango. From time to time we must
22919 check if it was updated and update it here.
22921 .gitignore | 46 -----------
22923 codegen/.gitignore | 2 -
22924 codegen/Makefile.am | 2 +
22925 docs/.gitignore | 7 --
22926 docs/Makefile.am | 2 +
22927 examples/Makefile.am | 2 +
22928 gi/.gitignore | 40 ----------
22929 gi/Makefile.am | 2 +
22930 gi/overrides/Makefile.am | 2 +
22931 gi/repository/Makefile.am | 2 +
22932 gi/tests/Makefile.am | 2 +
22934 ++++++++++++++++++++++++++++++++++++++++++++++
22935 glib/Makefile.am | 2 +
22936 gobject/.gitignore | 3 -
22937 gobject/Makefile.am | 2 +
22938 tests/.gitignore | 2 -
22939 tests/Makefile.am | 2 +
22940 18 files changed, 222 insertions(+), 100 deletions(-)
22942 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
22943 Author: Martin Pitt <martin.pitt@ubuntu.com>
22944 Date: Thu Jan 27 12:04:19 2011 +0100
22946 pygi-convert.sh: Convert Pango.TabAlign.*
22948 pygi-convert.sh | 1 +
22949 1 file changed, 1 insertion(+)
22951 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
22952 Author: Martin Pitt <martin.pitt@ubuntu.com>
22953 Date: Thu Jan 27 12:02:39 2011 +0100
22955 pygi-convert.sh: Drop window -> get_window() conversion
22957 It is doing more harm than good for projects which use things like
22960 pygi-convert.sh | 1 -
22961 1 file changed, 1 deletion(-)
22963 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
22964 Author: Martin Pitt <martin.pitt@ubuntu.com>
22965 Date: Thu Jan 27 11:58:26 2011 +0100
22967 pygi-convert.sh: Don't convert self.window assignments
22969 pygi-convert.sh | 2 +-
22970 1 file changed, 1 insertion(+), 1 deletion(-)
22972 commit 975341a26772966d4afc87a88a6a566d61237fa0
22973 Author: Steve Frécinaux <code@istique.net>
22974 Date: Fri Jan 21 18:41:54 2011 +0100
22976 Fix leaked python reference in python-defined subclasses
22978 https://bugzilla.gnome.org/show_bug.cgi?id=640184
22980 gobject/gobjectmodule.c | 1 +
22981 tests/test_gobject.py | 4 ++++
22982 2 files changed, 5 insertions(+)
22984 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
22985 Author: Steve Frécinaux <code@istique.net>
22986 Date: Fri Jan 21 15:54:43 2011 +0100
22988 Add some tests for the number of python refs held at creation time
22990 https://bugzilla.gnome.org/show_bug.cgi?id=640184
22992 tests/test_gobject.py | 21 +++++++++++++++++++++
22993 1 file changed, 21 insertions(+)
22995 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
22996 Author: Steve Frécinaux <code@istique.net>
22997 Date: Fri Jan 21 17:24:49 2011 +0100
22999 Factor out parameter marshalling from construction functions.
23001 https://bugzilla.gnome.org/show_bug.cgi?id=640197
23003 gobject/gobjectmodule.c | 35 ++--------------------
23004 gobject/pygobject-private.h | 5 ++++
23005 gobject/pygobject.c | 71
23006 +++++++++++++++++++++++++++------------------
23007 3 files changed, 50 insertions(+), 61 deletions(-)
23009 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
23010 Author: John (J5) Palmieri <johnp@redhat.com>
23011 Date: Wed Jan 26 15:34:24 2011 -0500
23013 [gi] in python 3 an array of uint8 can be bytes but not string
23015 tests/test_gi.py | 4 +++-
23016 1 file changed, 3 insertions(+), 1 deletion(-)
23018 commit 843553ea958eddec185bb660851a310dc050a14b
23019 Author: John (J5) Palmieri <johnp@redhat.com>
23020 Date: Wed Jan 26 15:30:06 2011 -0500
23022 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
23024 gi/overrides/Gio.py | 6 +++++-
23025 1 file changed, 5 insertions(+), 1 deletion(-)
23027 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
23028 Author: John (J5) Palmieri <johnp@redhat.com>
23029 Date: Wed Jan 26 15:17:03 2011 -0500
23031 [gi] python 3 fixes
23033 Patches need to work in Python 3 - here are some of the issues I
23035 Patch submitters should keep this in mind. When I note to only
23037 in tests it means that there is a compat module that is only available
23039 tests. Actuall code should either add the workaround to the top
23041 module or try not to have a distinction between things such as
23043 longs which no longer exist in Python 3
23045 * use range instead of xrange - loss of performance in Python 2 but
23047 treats range similarly to python 2's xrange
23048 * use dict.items() instead of dict.iteritems() - same as the xrange
23050 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
23052 if sys.version_info > (3, 0):
23054 return hasattr(obj, '__call__')
23056 * using unicode in tests is tricky, you can't use u'' even in
23058 conditional as python3's parser chokes on it. Do this in tests
23062 from compathelper import _unicode
23063 unicode_string = _unicode('this is a unicode string')
23065 * exception caching changed in 2.7, instead of except Exception,
23067 except Exception as e. Do this to be compatible with older
23071 etype, e = sys.exc_info()[:2]
23073 * Unbound methods with an im_func attribute no longer exits in 3.x.
23074 Unbound methods are now just functions so class.method in 3.x is
23075 equivalent to class.method.im_func in 2.x. If you have to go this
23078 func = class1.method
23079 if sys.version_info < (3,0):
23080 func = func.im_func
23082 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
23083 only in tests) do this:
23085 from compathelper import _long
23088 gi/overrides/GLib.py | 16 ++++++++--------
23089 gi/types.py | 5 ++++-
23090 tests/compathelper.py | 19 +++++++++++++++++++
23091 tests/test_gdbus.py | 12 ++++++++----
23092 tests/test_gi.py | 19 ++++++++++++-------
23093 tests/test_overrides.py | 8 +++++---
23094 6 files changed, 56 insertions(+), 23 deletions(-)
23096 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
23097 Author: John (J5) Palmieri <johnp@redhat.com>
23098 Date: Wed Jan 26 14:00:08 2011 -0500
23100 [gi] fix try/except blocks using depricated raise format
23102 gi/overrides/GLib.py | 4 ++--
23103 gi/overrides/Gdk.py | 2 +-
23104 2 files changed, 3 insertions(+), 3 deletions(-)
23106 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
23107 Author: Martin Pitt <martin.pitt@ubuntu.com>
23108 Date: Wed Jan 26 19:03:48 2011 +0100
23110 [gi] Add docstring to GLib.Variant constructor
23112 gi/overrides/GLib.py | 11 +++++++++++
23113 1 file changed, 11 insertions(+)
23115 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
23116 Author: Martin Pitt <martin.pitt@ubuntu.com>
23117 Date: Wed Jan 26 18:45:38 2011 +0100
23119 [gi] update gdbus test cases for previous GVariant change
23121 tests/test_gdbus.py | 4 ++--
23122 1 file changed, 2 insertions(+), 2 deletions(-)
23124 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
23125 Author: Martin Pitt <martin.pitt@ubuntu.com>
23126 Date: Wed Jan 26 18:39:17 2011 +0100
23128 [gi] Accept only a single object in GLib.Variant constructor
23130 We previously allowed flat arguments for tuple signatures, e. g.
23132 GLib.Variant('(ii)', 1, 2)
23134 However, that's not how GVariant is supposed to work. Remove the
23136 to handle flat argument lists, and only accept a single value, i. e.
23138 GLib.Variant('(ii)', (1, 2))
23140 Note that this breaks the current API, but as it is not used widely
23144 Thanks to Ryan Lortie for pointing this out!
23146 gi/overrides/GLib.py | 25 ++++++++++---------------
23147 tests/test_overrides.py | 32 +++++++++++++-------------------
23148 2 files changed, 23 insertions(+), 34 deletions(-)
23150 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
23151 Author: Laszlo Pandy <lpandy@src.gnome.org>
23152 Date: Wed Jan 26 00:40:49 2011 +0100
23154 Speed up _setup_native_vfuncs()
23156 This changes _setup_native_vfuncs() to only install native
23157 vfunc wrappers from the current class on the current class.
23158 Native vfuncs will not be propogated up or down the class
23159 hierarchy as this is unnecessary and wastes CPU and memory.
23161 Since the normal process in python to retrieve a method or
23162 attribute recurses to the base classes if an attribute is not
23163 found in the subclass, there is no need to setup all base class
23164 virtual functions on a subclass.
23166 This patch removes the recursion in _setup_native_vfuncs()
23167 and lets Python find them in the base classes like a normal
23168 Python class would work. This significantly increases the speed
23169 of any class which is or inherits from a C class which includes
23172 https://bugzilla.gnome.org/show_bug.cgi?id=640629
23174 gi/types.py | 26 +++++++++++++-------------
23175 tests/test_gi.py | 13 +++++++++++++
23176 2 files changed, 26 insertions(+), 13 deletions(-)
23178 commit 569d42ac2f50fb706ef289ff631db743483f40ee
23179 Author: Laszlo Pandy <lpandy@src.gnome.org>
23180 Date: Thu Jan 20 16:26:18 2011 +0100
23182 Speed up class creation: rewrite _setup_vfuncs() to be much more
23185 This patch rewrites the _setup_vfuncs() method to remove recursion and
23186 make the running time linear in the number of virtual functions to
23188 (ie. methods starting with "do_") instead of linear in the number of
23189 virtual functions in the base class which could possibly be
23192 Since most classes do not override all of the virtual functions in the
23193 base class (and many override none), this runs much faster.
23195 It is possible to not recurse on all base classes because
23197 base classes will have the virtual function installed as an attribute.
23198 Thus getattr() can be called, which recurses to the base classes much
23199 faster than a custom implementation in Python. If the method cannot be
23200 found with getattr(), all interface bases classes are searched
23203 The function is_function_in_classes() has been deleted. Because of the
23204 above changes, it is not used anymore.
23206 https://bugzilla.gnome.org/show_bug.cgi?id=640073
23209 ++++++++++++++++++++++++++++++++++---------------------
23210 tests/test_gi.py | 13 +++++++
23211 2 files changed, 77 insertions(+), 40 deletions(-)
23213 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
23214 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23215 Date: Mon Jan 24 19:23:19 2011 +0100
23217 pygi-convert.sh: Convert gtk.UI_MANAGER_*
23219 pygi-convert.sh | 1 +
23220 1 file changed, 1 insertion(+)
23222 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
23223 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23224 Date: Fri Jan 21 18:41:54 2011 +0100
23226 pygi-convert.sh: Convert gdk.GRAB_*
23228 pygi-convert.sh | 1 +
23229 1 file changed, 1 insertion(+)
23231 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
23232 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23233 Date: Fri Jan 21 16:45:07 2011 +0100
23235 [gi] set the gtype GValue correctly
23237 gi/pygi-property.c | 4 ++--
23238 1 file changed, 2 insertions(+), 2 deletions(-)
23240 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
23241 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23242 Date: Fri Jan 21 16:20:23 2011 +0100
23244 [gi] use the right argument type for callback
23246 gi/pygi-foreign-cairo.c | 8 ++++----
23247 gi/pygi-foreign-gvariant.c | 4 ++--
23248 gi/pygi-foreign-gvariant.h | 2 +-
23249 gi/pygi-foreign.c | 2 +-
23251 5 files changed, 9 insertions(+), 9 deletions(-)
23253 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
23254 Author: John (J5) Palmieri <johnp@redhat.com>
23255 Date: Fri Jan 21 09:23:54 2011 -0500
23257 [gi] marshal out flags and enum
23259 gi/pygi-argument.c | 14 +++++++++-----
23260 gi/pygi-cache.c | 24 ++++++++++++------------
23261 2 files changed, 21 insertions(+), 17 deletions(-)
23263 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
23264 Author: John (J5) Palmieri <johnp@redhat.com>
23265 Date: Fri Jan 21 08:18:37 2011 -0500
23267 [gi] marshal unions
23269 gi/pygi-cache.c | 27 +++++++++++++--------------
23270 1 file changed, 13 insertions(+), 14 deletions(-)
23272 commit a060287d1a6d190acb9d344f08fd5662e3296da5
23273 Author: Martin Pitt <martin.pitt@ubuntu.com>
23274 Date: Fri Jan 21 11:00:27 2011 +0100
23276 [gi] Add test cases for GDBus client operations
23278 tests/Makefile.am | 1 +
23279 tests/test_gdbus.py | 94
23280 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23281 2 files changed, 95 insertions(+)
23283 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
23284 Author: John (J5) Palmieri <johnp@redhat.com>
23285 Date: Fri Jan 21 04:28:15 2011 -0500
23287 [gi] error out if the constructor returns NULL
23289 gi/pygi-invoke.c | 7 +++++++
23290 1 file changed, 7 insertions(+)
23292 commit 58ff2b2c38c1004861083ca88633be76767229f0
23293 Author: John (J5) Palmieri <johnp@redhat.com>
23294 Date: Fri Jan 21 04:26:45 2011 -0500
23296 [gi] throw error for caller allocates until we can write code to
23299 gi/pygi-cache.c | 11 +++++++++++
23300 1 file changed, 11 insertions(+)
23302 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
23303 Author: John (J5) Palmieri <johnp@redhat.com>
23304 Date: Fri Jan 21 04:26:11 2011 -0500
23306 [gi] support struct out
23308 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
23309 gi/pygi-cache.c | 15 ++-------------
23310 2 files changed, 28 insertions(+), 17 deletions(-)
23312 commit 3133dc595adf44279397d30712c0f8595f0e1acc
23313 Author: John (J5) Palmieri <johnp@redhat.com>
23314 Date: Fri Jan 21 04:22:06 2011 -0500
23316 [gi] move to using type_info and interface_info instead of arg_info
23318 * only arguments have arg_infos, not return types and instances so
23319 type_info is much better to pass. In fact most API that took an
23320 arg_info simply converted it to a type_info
23321 * In the case of instances for methods we don't even have a type_info.
23322 Since all instances are interfaces, we also attach the
23324 to the interface cache
23326 gi/pygi-argument.c | 20 ++++----------------
23327 gi/pygi-cache.c | 43
23328 ++++++++++++++++++++++++++++++++-----------
23329 gi/pygi-cache.h | 4 +++-
23330 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
23331 gi/pygi-foreign-gvariant.c | 11 +++++------
23332 gi/pygi-foreign-gvariant.h | 10 +++++-----
23333 gi/pygi-foreign.c | 21 +++++++++------------
23334 gi/pygi-foreign.h | 6 +++---
23335 gi/pygi.h | 8 ++++----
23336 9 files changed, 77 insertions(+), 70 deletions(-)
23338 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
23339 Author: Martin Pitt <martin.pitt@ubuntu.com>
23340 Date: Fri Jan 21 09:54:14 2011 +0100
23342 [gi] Add Variant construction/unpack support for boxed Variants
23344 Construction uses a GVariantBuilder for now, as the new_variant()
23346 currently does not work (see
23347 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
23349 gi/overrides/GLib.py | 18 +++++++++++++++++-
23350 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
23351 2 files changed, 43 insertions(+), 1 deletion(-)
23353 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
23354 Merge: bc29600 bd002c7
23355 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23356 Date: Fri Jan 21 09:33:16 2011 +0100
23358 Merge branch 'windows-setup-fixes'
23360 commit bc29600a2a04c972ceab7ef8d3292e8633977591
23361 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
23362 Date: Thu Jan 20 19:48:23 2011 +0100
23364 pygi-convert.sh: GdkPixbuf methods
23368 pygi-convert.sh | 1 +
23369 1 file changed, 1 insertion(+)
23371 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
23372 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
23373 Date: Thu Jan 20 19:45:01 2011 +0100
23375 pygi-convert.sh: Gdk.COLORSPACE_RGB
23379 pygi-convert.sh | 1 +
23380 1 file changed, 1 insertion(+)
23382 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
23383 Author: Martin Pitt <martin.pitt@ubuntu.com>
23384 Date: Wed Jan 19 11:41:11 2011 +0100
23386 [gi] Support nested objects and empty sequences in GLib.Variant
23389 The GVariant constructor (in the overrides) previously did not
23391 arrays/dictionaries or nested structures. Rewrite the VariantCreator
23393 be fully recursive and determine the element types of
23394 arrays/dictionaries.
23396 This now also allows you to use actual tuples as input values for
23398 tuple types. Taking values from the flat argument list is still
23400 convenience, though.
23402 https://bugzilla.gnome.org/show_bug.cgi?id=639939
23404 gi/overrides/GLib.py | 229
23405 ++++++++++++++++++++++++++----------------------
23406 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
23407 2 files changed, 273 insertions(+), 115 deletions(-)
23409 commit ac095f5435f106e175fa3297cb273e63c85d2809
23410 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23411 Date: Thu Jan 20 15:55:45 2011 +0100
23413 Uncomment test_gi.TestInterfaceClash
23415 tests/test_gi.py | 22 +++++++++++-----------
23416 1 file changed, 11 insertions(+), 11 deletions(-)
23418 commit 1239f3709ba257c404dda72b7067b77b19c240fa
23419 Author: John (J5) Palmieri <johnp@redhat.com>
23420 Date: Thu Jan 20 09:05:02 2011 -0500
23422 [gi] add support for enum and flags
23424 gi/pygi-argument.c | 121
23425 +++++++++++++++++++++++++++++++++++++++++------------
23426 gi/pygi-cache.c | 30 ++++++-------
23427 2 files changed, 111 insertions(+), 40 deletions(-)
23429 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
23430 Author: Steve Frécinaux <code@istique.net>
23431 Date: Thu Jan 20 14:14:15 2011 +0100
23433 Fix reference leaks for GInitiallyUnowned objects
23435 References were leaked for GInitiallyUnowned objects which got their
23436 wrappers created several times, because someone else holds reference
23437 on it and it got out of python scope at some point.
23439 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23441 gobject/gobjectmodule.c | 2 ++
23442 gobject/pygobject.c | 14 +++++------
23443 tests/test-floating.c | 36 +++++++++++++++++++++++++++
23444 tests/test-floating.h | 21 ++++++++++++++++
23445 tests/test_gobject.py | 63
23446 ++++++++++++++++++++++++++++++++++++++++++++++++
23447 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
23448 6 files changed, 179 insertions(+), 7 deletions(-)
23450 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
23451 Author: Steve Frécinaux <code@istique.net>
23452 Date: Wed Jan 19 16:57:57 2011 +0100
23454 Add tests for refcount of a GObject owned by a library
23456 When the object is constructed, its refcount is 2 because the library
23457 refs it once. It should remain around until we ask the library to
23458 release its reference.
23460 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23462 tests/test-floating.c | 30 +++++++++++++++++++++++
23463 tests/test-floating.h | 20 ++++++++++++++++
23464 tests/test_gobject.py | 62
23465 ++++++++++++++++++++++++++++++++++++++++++++++++
23466 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
23467 4 files changed, 163 insertions(+)
23469 commit b6737b91938d527872eff1d645a205cacf94e15d
23470 Author: Steve Frécinaux <code@istique.net>
23471 Date: Wed Jan 19 14:52:41 2011 +0100
23473 Add a test to check for regular object reference count
23475 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23477 tests/test_gobject.py | 8 +++++++-
23478 1 file changed, 7 insertions(+), 1 deletion(-)
23480 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
23481 Author: Martin Pitt <martin.pitt@ubuntu.com>
23482 Date: Thu Jan 20 14:15:52 2011 +0100
23484 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
23486 GTK master now landed a lot of annotation fixes which also correctly
23488 array length argument of
23489 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
23490 drop the explicit array length argument from the call in the override.
23492 gi/overrides/Gtk.py | 2 --
23493 1 file changed, 2 deletions(-)
23495 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
23496 Author: Steve Frécinaux <code@istique.net>
23497 Date: Wed Jan 19 18:04:10 2011 +0100
23499 Fix a typo in a private symbol name.
23501 gobject/gobjectmodule.c | 6 +++---
23502 1 file changed, 3 insertions(+), 3 deletions(-)
23504 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
23505 Author: Martin Pitt <martin.pitt@ubuntu.com>
23506 Date: Thu Jan 20 11:49:08 2011 +0100
23508 pygi-convert.sh: Convert glib.source_remove()
23510 pygi-convert.sh | 1 +
23511 1 file changed, 1 insertion(+)
23513 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
23514 Author: Martin Pitt <martin.pitt@ubuntu.com>
23515 Date: Thu Jan 20 11:42:34 2011 +0100
23517 Fix typo in previous commit to actually convert glib.GError
23519 pygi-convert.sh | 2 +-
23520 1 file changed, 1 insertion(+), 1 deletion(-)
23522 commit b238cb614338f46e6feb7935cca0a55c7a929418
23523 Author: Martin Pitt <martin.pitt@ubuntu.com>
23524 Date: Thu Jan 20 11:40:14 2011 +0100
23526 pygi-convert.sh: Move some glib bits which are better handled
23529 pygi-convert.sh | 3 +++
23530 1 file changed, 3 insertions(+)
23532 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
23533 Author: Laszlo Pandy <lpandy@src.gnome.org>
23534 Date: Wed Jan 19 12:00:02 2011 +0100
23536 Modify override for Gtk.Adjustment to allow position or keyword
23537 arguments in __init__().
23539 Previously passing no arguments was not working, because the default
23540 value for each parameter was None, and GObject.__init__() refuses to
23541 allow None for integer properties. This patch does not pass None up
23542 to GObject.__init__. Instead it does not pass the parameter at all,
23543 and uses the class's default values.
23545 https://bugzilla.gnome.org/show_bug.cgi?id=639934
23547 gi/overrides/Gtk.py | 14 ++++++++++++--
23548 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
23549 2 files changed, 39 insertions(+), 9 deletions(-)
23551 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
23552 Author: Martin Pitt <martin.pitt@ubuntu.com>
23553 Date: Wed Jan 19 22:52:51 2011 +0100
23555 [gi] Fix small typo in previous commit
23557 The GVariant signature of the self test had a trailing 'i'. The
23559 GVariant builder doesn't mind, but the new implementation proposed
23563 tests/test_overrides.py | 2 +-
23564 1 file changed, 1 insertion(+), 1 deletion(-)
23566 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
23567 Author: Martin Pitt <martin.pitt@ubuntu.com>
23568 Date: Wed Jan 19 20:18:19 2011 +0100
23570 [gi] Add pythonic iterator and indexing for string GVariants
23572 This extends commit b1a98083c to also work for strings.
23574 gi/overrides/GLib.py | 8 +++++++-
23575 tests/test_overrides.py | 13 +++++++++++++
23576 2 files changed, 20 insertions(+), 1 deletion(-)
23578 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
23579 Author: John (J5) Palmieri <johnp@redhat.com>
23580 Date: Wed Jan 19 14:08:03 2011 -0500
23582 [gi] return NULL if out_marshaller fails
23584 gi/pygi-invoke.c | 5 +++++
23585 1 file changed, 5 insertions(+)
23587 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
23588 Author: John (J5) Palmieri <johnp@redhat.com>
23589 Date: Wed Jan 19 13:57:54 2011 -0500
23591 [gi] fix some transfer issues and test case failures
23593 gi/pygi-argument.c | 4 ++++
23594 gi/pygi-cache.c | 11 ++++++++---
23595 gi/pygi-invoke.c | 17 +++++++++--------
23596 3 files changed, 21 insertions(+), 11 deletions(-)
23598 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
23599 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23600 Date: Wed Jan 19 18:09:23 2011 +0100
23602 Construct structs using default API constructor
23604 If the struct has something that looks like a default constructor,
23605 use it instead of trying to directly allocate it, as it will fail
23606 if the struct fields are not exposed.
23608 https://bugzilla.gnome.org/show_bug.cgi?id=627444
23610 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
23611 gi/types.py | 7 +++++++
23612 2 files changed, 44 insertions(+)
23614 commit db7300e173388d9557dcd2333781bfaa6b021605
23615 Author: Martin Pitt <martin.pitt@ubuntu.com>
23616 Date: Wed Jan 19 18:54:39 2011 +0100
23618 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
23620 pygi-convert.sh | 2 ++
23621 1 file changed, 2 insertions(+)
23623 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
23624 Author: Martin Pitt <martin.pitt@ubuntu.com>
23625 Date: Wed Jan 19 18:43:29 2011 +0100
23627 pygi-convert.sh: Handle .window attributes
23629 In general, convert them to .get_window(). For some of them, prefer
23631 GtkWidget methods instead.
23633 pygi-convert.sh | 5 ++++-
23634 1 file changed, 4 insertions(+), 1 deletion(-)
23636 commit b1049b947d073fb569ba900a4d5c8519482d831e
23637 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23638 Date: Wed Jan 19 17:35:09 2011 +0100
23640 Also deal with foreign boxed structs
23642 cairo.Context has been boxed and our tests started failing
23644 https://bugzilla.gnome.org/show_bug.cgi?id=639967
23646 gi/pygi-argument.c | 4 ++--
23647 1 file changed, 2 insertions(+), 2 deletions(-)
23649 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
23650 Author: Laszlo Pandy <lpandy@src.gnome.org>
23651 Date: Wed Jan 19 17:45:11 2011 +0100
23653 [gi] Convert GErrors to GObject.GError exceptions, and throw them
23654 upon returning from calling the C function.
23656 This changes gi to make use of pyglib_error_check() which already
23659 The included tests make use of the other patch attached to this bug,
23660 to check that the right exception is thrown from the new function
23661 in GIMarshallingTests.
23662 two Gtk C functions.
23664 https://bugzilla.gnome.org/show_bug.cgi?id=639834
23666 gi/Makefile.am | 3 ++-
23667 gi/pygi-invoke.c | 12 +++---------
23668 tests/test_gi.py | 10 ++++++++++
23669 3 files changed, 15 insertions(+), 10 deletions(-)
23671 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
23672 Author: John (J5) Palmieri <johnp@redhat.com>
23673 Date: Wed Jan 19 12:05:45 2011 -0500
23675 [gi] fix out marshalling for a couple of int types
23677 gi/pygi-argument.c | 2 +-
23678 gi/pygi-cache.c | 2 +-
23679 2 files changed, 2 insertions(+), 2 deletions(-)
23681 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
23682 Author: John (J5) Palmieri <johnp@redhat.com>
23683 Date: Wed Jan 19 11:59:09 2011 -0500
23685 [gi] fixed range checking and type conversion with unsigned and
23688 gi/pygi-argument.c | 90
23689 +++++++++++++++++++++++++++++++++++++++++++++---------
23690 gi/pygi-cache.c | 2 +-
23691 2 files changed, 76 insertions(+), 16 deletions(-)
23693 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
23694 Author: Martin Pitt <martin.pitt@ubuntu.com>
23695 Date: Wed Jan 19 17:03:06 2011 +0100
23697 pygi-convert.sh: Don't convert glib -> GLib for now
23699 This currently leads to a load of crashes, MemoryErrors, etc, as
23701 very well introspectable, due to the low-level operations that
23704 John Palmieri confirms that using the static "glib" binding is
23706 now, so disable the replacement rules.
23708 pygi-convert.sh | 19 ++++++++++---------
23709 1 file changed, 10 insertions(+), 9 deletions(-)
23711 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
23712 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23713 Date: Wed Jan 19 16:47:08 2011 +0100
23715 Link libregress.so to GIO_LIBS again
23717 configure.ac | 5 +++++
23718 1 file changed, 5 insertions(+)
23720 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
23721 Author: Laszlo Pandy <lpandy@src.gnome.org>
23722 Date: Wed Jan 19 16:14:42 2011 +0100
23724 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
23726 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
23727 because in Python attributes starting with a numeral causes a
23730 gi/overrides/Gdk.py | 7 +++++--
23731 1 file changed, 5 insertions(+), 2 deletions(-)
23733 commit 4f5d20966d4a8c649e5fae584039621edab178f3
23734 Author: John (J5) Palmieri <johnp@redhat.com>
23735 Date: Wed Jan 19 10:02:40 2011 -0500
23737 [gi] use correct format stings when setting errors
23739 gi/pygi-argument.c | 12 ++++++------
23740 1 file changed, 6 insertions(+), 6 deletions(-)
23742 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
23743 Author: John (J5) Palmieri <johnp@redhat.com>
23744 Date: Wed Jan 19 09:45:09 2011 -0500
23746 [gi] allow marshalling strings as None
23748 gi/pygi-argument.c | 5 +++++
23749 1 file changed, 5 insertions(+)
23751 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
23752 Author: John (J5) Palmieri <johnp@redhat.com>
23753 Date: Wed Jan 19 09:41:56 2011 -0500
23755 [gi] make error messages more detailed
23757 gi/pygi-argument.c | 2 +-
23758 gi/pygi-cache.c | 18 +++++++++---------
23759 2 files changed, 10 insertions(+), 10 deletions(-)
23761 commit f0b17605ed2eb917b350654b070984beb553eae3
23762 Author: John (J5) Palmieri <johnp@redhat.com>
23763 Date: Wed Jan 19 09:41:13 2011 -0500
23765 [gi] allow marshalling None for hashes
23767 gi/pygi-argument.c | 5 +++++
23768 1 file changed, 5 insertions(+)
23770 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
23771 Author: John (J5) Palmieri <johnp@redhat.com>
23772 Date: Wed Jan 19 09:40:37 2011 -0500
23774 [gi] add marshalling to some out values
23776 gi/pygi-argument.c | 50
23777 +++++++++++++++++++++++++++++++++++++++++---------
23778 1 file changed, 41 insertions(+), 9 deletions(-)
23780 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
23781 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23782 Date: Wed Jan 19 15:27:33 2011 +0100
23784 [gi] Fixed typo in exception
23786 gi/overrides/Gtk.py | 2 +-
23787 1 file changed, 1 insertion(+), 1 deletion(-)
23789 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
23790 Author: John (J5) Palmieri <johnp@redhat.com>
23791 Date: Wed Jan 19 09:13:44 2011 -0500
23793 [gi] fix marshalling structs
23795 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
23796 gi/pygi-foreign.c | 18 ++++++++++++------
23797 gi/pygi-foreign.h | 8 ++++----
23798 3 files changed, 51 insertions(+), 22 deletions(-)
23800 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
23801 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23802 Date: Wed Jan 19 15:12:25 2011 +0100
23804 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
23806 gi/overrides/Gdk.py | 4 ++--
23807 1 file changed, 2 insertions(+), 2 deletions(-)
23809 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
23810 Author: Martin Pitt <martin.pitt@ubuntu.com>
23811 Date: Wed Jan 19 14:54:57 2011 +0100
23813 Revert "Fix Pango FontDescription override"
23816 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
23817 the default constructor actually does take no arguments; we should
23819 the MemoryError. Add a test case for this.
23821 Remove the FIXME though, as pango_font_description_from_string()
23823 FontDescription constructor, but a static factory method.
23825 Thanks to Paolo Borelli for pointing this out!
23827 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
23829 gi/overrides/Pango.py | 5 ++++-
23830 tests/test_overrides.py | 5 +++++
23831 2 files changed, 9 insertions(+), 1 deletion(-)
23833 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
23834 Author: Tony Young <rofflwaffls@gmail.com>
23835 Date: Thu Dec 16 23:39:33 2010 +0000
23837 Python iterator interface support for GFileEnumerator.
23839 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
23840 gi/overrides/Makefile.am | 1 +
23841 tests/test_overrides.py | 20 ++++++++++++++++++++
23842 3 files changed, 62 insertions(+)
23844 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
23845 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23846 Date: Fri Jan 7 12:10:37 2011 +0100
23848 Remove gio static bindings
23850 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23853 configure.ac | 25 -
23854 gio/.gitignore | 3 -
23855 gio/Makefile.am | 117 -
23856 gio/__init__.py | 40 -
23857 gio/gappinfo.override | 213 --
23858 gio/gapplaunchcontext.override | 99 -
23859 gio/gbufferedinputstream.override | 70 -
23860 gio/gcancellable.override | 38 -
23861 gio/gdatainputstream.override | 250 --
23862 gio/gdrive.override | 347 --
23863 gio/gfile.override | 2215 -----------
23864 gio/gfileattribute.override | 153 -
23865 gio/gfileenumerator.override | 184 -
23866 gio/gfileinfo.override | 121 -
23867 gio/gfileinputstream.override | 68 -
23868 gio/gfileiostream.override | 68 -
23869 gio/gfileoutputstream.override | 68 -
23870 gio/gicon.override | 310 --
23871 gio/ginputstream.override | 344 --
23872 gio/gio-types.defs | 807 ----
23873 gio/gio.defs | 7465
23874 -------------------------------------
23875 gio/gio.override | 409 --
23876 gio/giomodule.c | 208 --
23877 gio/giostream.override | 68 -
23878 gio/gmemoryinputstream.override | 91 -
23879 gio/gmemoryoutputstream.override | 45 -
23880 gio/gmount.override | 454 ---
23881 gio/goutputstream.override | 292 --
23882 gio/gresolver.override | 312 --
23883 gio/gsocket.override | 575 ---
23884 gio/gvolume.override | 237 --
23885 gio/gvolumemonitor.override | 94 -
23886 gio/pygio-utils.c | 236 --
23887 gio/pygio-utils.h | 49 -
23888 gio/unix-types.defs | 55 -
23889 gio/unix.defs | 475 ---
23890 gio/unix.override | 62 -
23891 gio/unixmodule.c | 52 -
23892 tests/Makefile.am | 9 -
23893 tests/runtests-windows.py | 3 -
23894 tests/test_gcancellable.py | 15 -
23895 tests/test_gicon.py | 112 -
23896 tests/test_gio.py | 1138 ------
23897 tests/test_gresolver.py | 68 -
23898 tests/test_gsocket.py | 126 -
23899 46 files changed, 1 insertion(+), 18191 deletions(-)
23901 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
23902 Author: John (J5) Palmieri <johnp@redhat.com>
23903 Date: Wed Jan 19 07:56:16 2011 -0500
23905 [gi] switch from using (*arg). to arg-> when referencing union
23908 gi/pygi-argument.c | 54
23909 +++++++++++++++++++++++++++---------------------------
23910 1 file changed, 27 insertions(+), 27 deletions(-)
23912 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
23913 Author: John (J5) Palmieri <johnp@redhat.com>
23914 Date: Wed Jan 19 07:49:52 2011 -0500
23916 [gi] return FALSE when setting errors in the marshaller
23918 gi/pygi-argument.c | 3 ++-
23919 1 file changed, 2 insertions(+), 1 deletion(-)
23921 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
23922 Author: John (J5) Palmieri <johnp@redhat.com>
23923 Date: Wed Jan 19 07:14:18 2011 -0500
23925 [gi] do arg counting in new invoke
23927 gi/pygi-cache.c | 2 ++
23928 gi/pygi-cache.h | 14 ++++++++------
23929 gi/pygi-invoke-state-struct.h | 2 +-
23930 gi/pygi-invoke.c | 20 +++++++++++++++++++-
23931 4 files changed, 30 insertions(+), 8 deletions(-)
23933 commit f45033858bed70d7defec3f71f26aa5b3999d680
23934 Author: John (J5) Palmieri <johnp@redhat.com>
23935 Date: Wed Jan 19 06:35:45 2011 -0500
23937 [gi] set length for uint8 in arrays in new invoke marshaller
23939 gi/pygi-argument.c | 1 +
23940 1 file changed, 1 insertion(+)
23942 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
23943 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23944 Date: Wed Jan 19 12:04:15 2011 +0100
23946 [gi] set length when marshalling guint8 erases
23948 gi/pygi-argument.c | 1 +
23949 tests/test_gi.py | 4 ++++
23950 2 files changed, 5 insertions(+)
23952 commit 22eee43e50a150ace80694213fb87be9f0c72f51
23953 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23954 Date: Wed Jan 19 10:27:47 2011 +0100
23956 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
23958 pygi-convert.sh | 1 +
23959 1 file changed, 1 insertion(+)
23961 commit a4b210d69c832629894090b7154ae194209b0c60
23962 Author: Arnaud Charlet <charlet@adacore.com>
23963 Date: Tue Jan 18 18:31:29 2011 +0100
23965 Disable calls to PyGILState_* when threads are disabled
23967 Since threads may also be disabled in Python too, those symbols
23971 https://bugzilla.gnome.org/show_bug.cgi?id=374603
23973 glib/pyglib.c | 12 ++++++++++++
23974 gobject/pygobject-private.h | 6 ++++++
23975 2 files changed, 18 insertions(+)
23977 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
23978 Author: John (J5) Palmieri <johnp@redhat.com>
23979 Date: Tue Jan 18 12:31:57 2011 -0500
23981 [gi] fix handling of garrays vs c arrays
23983 gi/pygi-argument.c | 9 +++++++--
23984 gi/pygi-cache.c | 2 ++
23985 gi/pygi-cache.h | 1 +
23986 3 files changed, 10 insertions(+), 2 deletions(-)
23988 commit a000627ec3904b9414ce375aec8d144fc0c26248
23989 Author: Martin Pitt <martin.pitt@ubuntu.com>
23990 Date: Tue Jan 18 18:29:50 2011 +0100
23992 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
23993 these should be ported properly
23995 pygi-convert.sh | 1 -
23996 1 file changed, 1 deletion(-)
23998 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
23999 Author: Martin Pitt <martin.pitt@ubuntu.com>
24000 Date: Tue Jan 18 18:26:01 2011 +0100
24002 pygi-convert.sh: Fix match for adding missing imports
24004 pygi-convert.sh | 8 ++++----
24005 1 file changed, 4 insertions(+), 4 deletions(-)
24007 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
24008 Author: Martin Pitt <martin.pitt@ubuntu.com>
24009 Date: Tue Jan 18 18:09:30 2011 +0100
24011 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
24013 As we are not replacing line by line, but the whole file at once,
24015 hackish unfortunately. We can't use a match test or a lookahead/behind
24018 pygi-convert.sh | 5 +++--
24019 1 file changed, 3 insertions(+), 2 deletions(-)
24021 commit f66051380c0432bf142774542ade2144adcd455e
24022 Author: John (J5) Palmieri <johnp@redhat.com>
24023 Date: Tue Jan 18 11:44:27 2011 -0500
24025 [gi] use correct union memeber when marshalling floats
24027 gi/pygi-argument.c | 2 +-
24028 1 file changed, 1 insertion(+), 1 deletion(-)
24030 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
24031 Author: Laszlo Pandy <lpandy@src.gnome.org>
24032 Date: Tue Jan 18 17:29:52 2011 +0100
24034 Remove trailing whitespace from gi/overrides/Gtk.py
24036 gi/overrides/Gtk.py | 10 +++++-----
24037 1 file changed, 5 insertions(+), 5 deletions(-)
24039 commit 1006df1929a667716c25e74b35b8f14643358732
24040 Author: John (J5) Palmieri <johnp@redhat.com>
24041 Date: Tue Jan 18 11:24:06 2011 -0500
24043 [gi] fix constructor invoking and add some support for interface
24046 * constructors are now simplified and are treated like normal
24048 which happen to return an instance
24050 gi/pygi-argument.c | 8 ++--
24051 gi/pygi-cache.c | 132
24052 +++++++++++++++++++++++++++++++++++++++++++++++++++--
24053 gi/pygi-invoke.c | 9 ++--
24054 gi/types.py | 21 +++------
24055 4 files changed, 142 insertions(+), 28 deletions(-)
24057 commit 8878c57676091c08e66bc6cbe735d898cb420582
24058 Author: Martin Pitt <martin.pitt@ubuntu.com>
24059 Date: Tue Jan 18 16:47:10 2011 +0100
24061 Fix Pango FontDescription override
24063 Trying to call __new__() on a record crashes with a MemoryError,
24065 the intended static factory method for a None argument as well
24069 gi/overrides/Pango.py | 7 +------
24070 1 file changed, 1 insertion(+), 6 deletions(-)
24072 commit efbbe71634037fa100b17327389b883b259cca54
24073 Author: Martin Pitt <martin.pitt@ubuntu.com>
24074 Date: Tue Jan 18 16:23:39 2011 +0100
24076 tests: Respect existing $GI_TYPELIB_PATH
24078 This allows us to run the test suite against local typelibs.
24080 tests/Makefile.am | 2 +-
24081 1 file changed, 1 insertion(+), 1 deletion(-)
24083 commit c96ca383350e5b9b079d9a86464922314939c006
24084 Author: John (J5) Palmieri <johnp@redhat.com>
24085 Date: Tue Jan 18 07:16:40 2011 -0500
24087 [gi] fix aux value offsets for methods and element size crashers
24089 * if the callable is a method we need to add 1 to the aux index
24090 for in values so we grab the right argument cache
24091 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
24094 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
24095 1 file changed, 24 insertions(+), 18 deletions(-)
24097 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
24098 Merge: 84d6142 7d997b6
24099 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24100 Date: Tue Jan 18 13:14:45 2011 +0100
24102 Merge branch 'value'
24104 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
24105 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24106 Date: Tue Jan 18 13:12:36 2011 +0100
24108 GTK overrides: Do type conversion to column types of ListStore and
24109 TreeStore in set_value
24111 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
24112 tests/test_overrides.py | 12 +++++++++++-
24113 2 files changed, 29 insertions(+), 11 deletions(-)
24115 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
24116 Author: Steve Frécinaux <code@istique.net>
24117 Date: Mon Jan 17 18:57:58 2011 +0100
24119 Always register a new GType when a GObject class is subclassed
24121 This patch makes the GType <-> python mapping much more predictible,
24122 and fixes the bug caused by overriding methods without specifying a
24123 __gtype_name__ member in the subclass, and makes type_register useless
24126 It is still possible to provide an explicit __gtype_name__ member
24128 subclass as it allows having a predictible GType name, which is handy
24129 for some of our tests. There is also an explicit special case for
24130 overrides because we obviously do not want to register new GTypes for
24131 those ones as it would clearly defeat the purpose of overrides.
24133 https://bugzilla.gnome.org/show_bug.cgi?id=543056
24135 gobject/__init__.py | 6 +++---
24136 tests/test_gi.py | 21 ++-------------------
24137 2 files changed, 5 insertions(+), 22 deletions(-)
24139 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
24140 Author: Simon van der Linden <svdlinden@gnome.org>
24141 Date: Tue Jan 18 12:57:13 2011 +0100
24143 Raise required versions of GLib and GObject-Introspection
24145 https://bugzilla.gnome.org/show_bug.cgi?id=612126
24147 configure.ac | 6 +++---
24148 1 file changed, 3 insertions(+), 3 deletions(-)
24150 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
24151 Author: Martin Pitt <martin.pitt@ubuntu.com>
24152 Date: Tue Jan 18 12:52:32 2011 +0100
24154 pygi-convert.sh: Handle keysyms
24156 pygi-convert.sh | 1 +
24157 1 file changed, 1 insertion(+)
24159 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
24160 Author: Martin Pitt <martin.pitt@ubuntu.com>
24161 Date: Tue Jan 18 12:14:09 2011 +0100
24163 GLib overrides: Add test case for array variant building
24165 tests/test_overrides.py | 7 +++++++
24166 1 file changed, 7 insertions(+)
24168 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
24169 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24170 Date: Tue Jan 18 10:21:03 2011 +0100
24172 Remove cairo.RectangleInt from the foreign module
24174 https://bugzilla.gnome.org/show_bug.cgi?id=639824
24176 gi/pygi-foreign-cairo.c | 96
24177 -------------------------------------------------
24178 1 file changed, 96 deletions(-)
24180 commit 017680c9a5e163021628bf29543598861a3b600a
24181 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24182 Date: Tue Jan 18 10:20:25 2011 +0100
24184 Dont try to guess the transfer if its a boxed
24186 https://bugzilla.gnome.org/show_bug.cgi?id=639823
24188 gi/pygi-invoke.c | 5 ++++-
24189 1 file changed, 4 insertions(+), 1 deletion(-)
24191 commit 771ef76574690eb98926249f38661d741d1ebbb0
24192 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24193 Date: Tue Jan 18 12:02:01 2011 +0100
24195 The tags can be Empty not None.
24197 gi/overrides/Gtk.py | 2 +-
24198 1 file changed, 1 insertion(+), 1 deletion(-)
24200 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
24201 Author: Martin Pitt <martin.pitt@ubuntu.com>
24202 Date: Tue Jan 18 12:01:28 2011 +0100
24204 Add Pythonic iterators and indexing to GVariant
24206 Add the usual set of iterators and index accessors to GLib.Variant
24208 which are containers.
24210 Add corresponding test cases.
24212 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
24213 tests/test_overrides.py | 55
24214 +++++++++++++++++++++++++++++++++++++++++++++++++
24215 2 files changed, 105 insertions(+)
24217 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
24218 Author: Martin Pitt <martin.pitt@ubuntu.com>
24219 Date: Tue Jan 18 10:48:03 2011 +0100
24221 Add GLib.Variant.unpack()
24223 This method decomposes a GLib.Variant into a native Python object,
24225 counterpart of _VariantCreator. This makes it a lot nicer for
24227 developers to use e. g. return values from gdbus calls.
24229 Add appropriate test case.
24231 gi/overrides/GLib.py | 45
24232 +++++++++++++++++++++++++++++++++++++++++++++
24233 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
24234 2 files changed, 77 insertions(+), 1 deletion(-)
24236 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
24237 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24238 Date: Tue Jan 18 10:56:18 2011 +0100
24240 Add override for gtk_text_buffer_insert_with_tags
24242 gi/overrides/Gtk.py | 12 ++++++++++++
24243 tests/test_overrides.py | 6 ++++++
24244 2 files changed, 18 insertions(+)
24246 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
24247 Author: Simon van der Linden <svdlinden@gnome.org>
24248 Date: Mon Jan 17 14:35:14 2011 +0100
24250 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
24252 https://bugzilla.gnome.org/show_bug.cgi?id=620215
24254 gi/Makefile.am | 6 ++++--
24255 gio/Makefile.am | 2 +-
24256 glib/Makefile.am | 2 +-
24257 m4/python.m4 | 7 +++++--
24258 tests/Makefile.am | 2 +-
24259 5 files changed, 12 insertions(+), 7 deletions(-)
24261 commit bceec758b27e6c396d17a79424633b5dc9116f54
24262 Author: Simon van der Linden <svdlinden@gnome.org>
24263 Date: Mon Jan 17 14:20:55 2011 +0100
24265 Kill JD_CHECK_PYTHON_HEADERS
24267 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
24269 https://bugzilla.gnome.org/show_bug.cgi?id=620215
24271 configure.ac | 2 +-
24272 m4/python.m4 | 31 +------------------------------
24273 2 files changed, 2 insertions(+), 31 deletions(-)
24275 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
24276 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24277 Date: Mon Jan 17 19:09:27 2011 +0100
24279 Revert "Override Gtk.Box.pack_start and pack_end to set default
24280 values to be compliant with pygtk"
24282 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
24286 gi/overrides/Gtk.py
24288 gi/overrides/Gtk.py | 10 ----------
24289 1 file changed, 10 deletions(-)
24291 commit 4fbae9629adc166627de05bb0946b71485343d69
24292 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24293 Date: Mon Jan 17 19:08:23 2011 +0100
24295 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
24296 default values to be compliant with pygtk"
24298 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
24300 gi/overrides/Gtk.py | 13 ++-----------
24301 1 file changed, 2 insertions(+), 11 deletions(-)
24303 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
24304 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24305 Date: Mon Jan 17 19:08:06 2011 +0100
24307 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
24308 set_cell_data_func to add default values to be compliant with pygtk"
24310 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
24312 gi/overrides/Gtk.py | 9 ---------
24313 1 file changed, 9 deletions(-)
24315 commit 2d9534f347505573da46743b47318e08bf073aef
24316 Author: Martin Pitt <martin.pitt@ubuntu.com>
24317 Date: Mon Jan 17 18:54:10 2011 +0100
24319 pygi-convert.sh: Handle gtk.combo_box_new_text()
24321 pygi-convert.sh | 1 +
24322 1 file changed, 1 insertion(+)
24324 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
24325 Author: John (J5) Palmieri <johnp@redhat.com>
24326 Date: Mon Jan 17 12:31:03 2011 -0500
24330 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
24331 gi/pygi-cache.c | 80
24332 +++++++++++++++++++++++++++++++++++++++++-------------
24333 gi/pygi-cache.h | 13 +++++++--
24334 gi/pygi-invoke.c | 2 +-
24335 4 files changed, 138 insertions(+), 25 deletions(-)
24337 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
24338 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24339 Date: Mon Jan 17 16:57:53 2011 +0100
24341 Override TreeSortable.set_sort_func and set_default_sort_func to
24342 add default values to be pygtk compliant
24344 gi/overrides/Gtk.py | 6 ++++++
24345 1 file changed, 6 insertions(+)
24347 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
24348 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24349 Date: Mon Jan 17 16:29:28 2011 +0100
24351 Override Gtk.TreeViewColumn.pack_start, pack_end and
24352 set_cell_data_func to add default values to be compliant with pygtk
24354 gi/overrides/Gtk.py | 9 +++++++++
24355 1 file changed, 9 insertions(+)
24357 commit 232841148f35684be83a2f47b5b18da4fb74f63a
24358 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24359 Date: Mon Jan 17 16:28:51 2011 +0100
24361 Override Gtk.CellLayout.pack_start and pack_end to add default values
24362 to be compliant with pygtk
24364 gi/overrides/Gtk.py | 13 +++++++++++--
24365 1 file changed, 11 insertions(+), 2 deletions(-)
24367 commit 1dec12826753756fcadefc8ef8c756fc902c320b
24368 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24369 Date: Mon Jan 17 15:54:32 2011 +0100
24371 Override Gtk.Paned pack1 and pack2 to add default values to be
24372 compliant with pygtk
24374 gi/overrides/Gtk.py | 10 ++++++++++
24375 1 file changed, 10 insertions(+)
24377 commit a8c727b9c4195d8085a45661683a18614ae84485
24378 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24379 Date: Mon Jan 17 15:46:25 2011 +0100
24381 Override Gtk.Box.pack_start and pack_end to set default values to
24382 be compliant with pygtk
24384 gi/overrides/Gtk.py | 10 ++++++++++
24385 1 file changed, 10 insertions(+)
24387 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
24388 Author: Steve Frécinaux <code@istique.net>
24389 Date: Wed Aug 4 00:30:05 2010 +0200
24391 Handle GObject subclasses in the property helper.
24393 https://bugzilla.gnome.org/show_bug.cgi?id=625982
24395 gobject/propertyhelper.py | 26 +++++++++++++-------------
24396 tests/test_properties.py | 9 +++++++++
24397 2 files changed, 22 insertions(+), 13 deletions(-)
24399 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
24400 Author: Martin Pitt <martin.pitt@ubuntu.com>
24401 Date: Mon Jan 17 17:52:15 2011 +0100
24403 Fix handling of unicode for GtkTreeModels
24405 The code previously converted an unicode object into unicode, but
24407 models actually have to specify 'str' (GTK expects a gchararray). So
24409 UTF-8 instead to get what GTK expects.
24411 Add corresponding test case.
24413 gi/overrides/Gtk.py | 2 +-
24414 tests/test_overrides.py | 12 +++++++++++-
24415 2 files changed, 12 insertions(+), 2 deletions(-)
24417 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
24418 Author: Laszlo Pandy <lpandy@src.gnome.org>
24419 Date: Mon Jan 17 16:46:08 2011 +0100
24421 In IntrospectionModule and DynamicModule classes, make all instance
24422 attributes start with an underscore.
24424 This changes IntrospectionModule.version to _version and
24425 DynamicModule.introspection_module to _introspection_module.
24426 This is done to mark the attributes as private, and also avoid name
24427 collisions with attributes from the typelib.
24428 In Gstreamer, there is a function gst_version, which was previously
24429 inaccessible because of IntrospectionModule.version overriding it.
24431 gi/module.py | 26 +++++++++++++-------------
24432 gi/overrides/GIMarshallingTests.py | 2 +-
24433 gi/overrides/GLib.py | 2 +-
24434 gi/overrides/Gdk.py | 10 +++++-----
24435 gi/overrides/Gtk.py | 2 +-
24436 gi/overrides/Pango.py | 2 +-
24437 gi/overrides/__init__.py | 2 +-
24438 tests/test_everything.py | 2 +-
24439 8 files changed, 24 insertions(+), 24 deletions(-)
24441 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
24442 Author: Laszlo Pandy <lpandy@src.gnome.org>
24443 Date: Mon Jan 17 16:17:25 2011 +0100
24445 Amend previous enum wrapping commit to remove redundant setting of
24446 __info__ attribute.
24448 gi/module.py | 2 +-
24449 gi/types.py | 6 +++---
24450 2 files changed, 4 insertions(+), 4 deletions(-)
24452 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
24453 Author: Martin Pitt <martin.pitt@ubuntu.com>
24454 Date: Mon Jan 17 16:16:45 2011 +0100
24456 pygi-convert.sh: Handle GdkPixbuf.InterpType
24458 pygi-convert.sh | 2 ++
24459 1 file changed, 2 insertions(+)
24461 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
24462 Author: Laszlo Pandy <laszlok2@gmail.com>
24463 Date: Mon Jan 17 15:43:34 2011 +0100
24465 Fix wrapping of enums: Create new Python type for each non-gtype enum.
24467 Previously non-gtype enums used the same class, which meant they
24468 were all the same type.
24469 This caused another problem that since they were all the same class,
24470 attributes from different enums were available from each other.
24472 A new test case is created to check for this bug. It requires a new
24473 enum from the GIMarshallingTests (updating gobject-introspection
24476 gi/module.py | 2 +-
24478 tests/test_gi.py | 10 ++++++++++
24479 3 files changed, 13 insertions(+), 1 deletion(-)
24481 commit da50d5620a42046d4fc905bb28a0890d73533cb1
24482 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24483 Date: Mon Dec 13 18:03:51 2010 +0100
24485 Use g_vfunc_info_invoke for chaining up in vfuncs
24487 https://bugzilla.gnome.org/show_bug.cgi?id=637165
24489 gi/pygi-info.c | 4 ++--
24490 gi/pygi-invoke.c | 72
24491 +++++++++++++++++++++++++++++++++++++++++++-------------
24492 gi/pygi-invoke.h | 3 ++-
24493 gi/types.py | 28 +++++++++++++++++++++-
24494 tests/test_gi.py | 5 ++--
24495 5 files changed, 89 insertions(+), 23 deletions(-)
24497 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
24498 Author: Simon van der Linden <svdlinden@gnome.org>
24499 Date: Fri Dec 31 18:38:04 2010 +0100
24501 Move pyglib_{main_context, option_context, option_group}_new into
24504 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
24506 when used inside the glib module, since pyglib_init is not called.
24508 pyglib.c is compiled as a stand-alone library loaded by the _glib
24510 declares the above-mentioned types. Hence, they cannot be accessed
24512 former. This patch moves the functions that need those symbols
24514 glib._glib module and exports them to the pyglib library through
24517 https://bugzilla.gnome.org/show_bug.cgi?id=636656
24519 glib/glibmodule.c | 5 ++++-
24520 glib/pyglib-private.h | 3 +++
24522 +++---------------------------------------------
24523 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
24524 glib/pygmaincontext.h | 2 +-
24525 glib/pygmainloop.c | 2 +-
24526 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
24527 glib/pygoptioncontext.h | 2 ++
24528 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
24529 glib/pygoptiongroup.h | 2 ++
24530 glib/pygsource.c | 2 +-
24531 11 files changed, 86 insertions(+), 49 deletions(-)
24533 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
24534 Author: Martin Pitt <martin.pitt@ubuntu.com>
24535 Date: Mon Jan 17 14:51:26 2011 +0100
24537 pygi-convert.sh: Handle Gdk.DragAction
24539 pygi-convert.sh | 1 +
24540 1 file changed, 1 insertion(+)
24542 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
24543 Author: Martin Pitt <martin.pitt@ubuntu.com>
24544 Date: Mon Jan 17 14:46:58 2011 +0100
24546 pygi-convert.sh: Generalize Gtk.Settings migration
24548 There are other GSettings.get_* functions like get_for_screen().
24550 pygi-convert.sh | 2 +-
24551 1 file changed, 1 insertion(+), 1 deletion(-)
24553 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
24554 Author: Martin Pitt <martin.pitt@ubuntu.com>
24555 Date: Mon Jan 17 11:22:46 2011 +0100
24557 pygi-convert.sh: Don't change the name of "glib" submodules
24559 This particular affects dbus.mainloop.glib.*
24561 pygi-convert.sh | 2 +-
24562 1 file changed, 1 insertion(+), 1 deletion(-)
24564 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
24565 Author: Paolo Borelli <pborelli@gnome.org>
24566 Date: Sun Jan 16 22:09:56 2011 +0100
24568 Plug another memory leak
24570 Do not leak interface info in (g|s)_et_property.
24572 gi/pygi-property.c | 4 ++++
24573 1 file changed, 4 insertions(+)
24575 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
24576 Author: Paolo Borelli <pborelli@gnome.org>
24577 Date: Sun Jan 16 21:43:30 2011 +0100
24579 Plug a small memory leak.
24581 Do not leak type_info in find_vfunc_info
24583 gi/gimodule.c | 10 +++++-----
24584 1 file changed, 5 insertions(+), 5 deletions(-)
24586 commit d0cbcc45366d40702c69cef207d3c0f361260c02
24587 Author: Paolo Borelli <pborelli@gnome.org>
24588 Date: Sun Jan 16 12:16:31 2011 +0100
24590 Override Table.attach() to behave like pygtk
24592 It is fairly common and even gtk itself still has attach_defaults.
24594 gi/overrides/Gtk.py | 3 +++
24595 tests/test_overrides.py | 4 ++++
24596 2 files changed, 7 insertions(+)
24598 commit 6409d659326bf3cefdf6051379e8bc2031f16733
24599 Author: Martin Pitt <martin.pitt@ubuntu.com>
24600 Date: Sat Jan 15 11:20:23 2011 -0600
24602 pygi-convert.sh: Convert Pango.WrapMode
24604 pygi-convert.sh | 1 +
24605 1 file changed, 1 insertion(+)
24607 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
24608 Author: Martin Pitt <martin.pitt@ubuntu.com>
24609 Date: Sat Jan 15 11:17:09 2011 -0600
24611 pygi-convert.sh: Don't change the name of "gtk" submodules
24613 Some projects have local modules like "myproject.ui.gtk". Avoid
24615 just change module names which start with "gtk" or "gdk".
24617 pygi-convert.sh | 4 ++--
24618 1 file changed, 2 insertions(+), 2 deletions(-)
24620 commit 9be0f1f2dfb89150faf1827ef482feea03645149
24621 Author: John (J5) Palmieri <johnp@redhat.com>
24622 Date: Thu Jan 13 23:56:19 2011 -0500
24624 [gi] implement aux arg handling for array lengths
24626 gi/pygi-argument.c | 8 ++++++++
24627 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
24628 gi/pygi-cache.h | 1 -
24629 gi/pygi-invoke.c | 8 ++++++--
24630 4 files changed, 42 insertions(+), 11 deletions(-)
24632 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
24633 Author: John (J5) Palmieri <johnp@redhat.com>
24634 Date: Thu Jan 13 21:07:25 2011 -0500
24636 [gi] marshal in hashes
24638 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
24639 gi/pygi-cache.c | 122
24640 +++++++++++++++++++++++++++++++++++++----------------
24641 2 files changed, 176 insertions(+), 39 deletions(-)
24643 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
24644 Author: Laszlo Pandy <git@laszlopandy.com>
24645 Date: Tue Jan 11 21:41:47 2011 +0100
24647 Fix the __dir__() methods on DynamicModule and IntrospectionModule
24649 Previously the __dir__() methods did not list all attributes.
24650 A simple test case is included. It does not test to see if
24651 every attribute is listed, it just tests a few of each kind:
24652 - (wrapped) typelib attributes
24653 - class attributes and methods
24654 - instance attributes
24656 A set() is used to avoid returning duplicate attributes.
24657 The test case checks for this as well.
24659 https://bugzilla.gnome.org/show_bug.cgi?id=639229
24661 gi/module.py | 28 +++++++++++++++++++++-------
24662 tests/test_everything.py | 18 ++++++++++++++++++
24663 2 files changed, 39 insertions(+), 7 deletions(-)
24665 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
24666 Author: Paolo Borelli <pborelli@gnome.org>
24667 Date: Thu Jan 13 00:02:20 2011 +0100
24669 pygi-convert.sh: handle ReliefStyle
24671 pygi-convert.sh | 1 +
24672 1 file changed, 1 insertion(+)
24674 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
24675 Author: John (J5) Palmieri <johnp@redhat.com>
24676 Date: Wed Jan 12 16:50:30 2011 -0500
24678 [gi] support for GList and GSList in
24680 gi/pygi-argument.c | 122
24681 ++++++++++++++++++++++++++++++++++++++++++++++++++---
24682 1 file changed, 116 insertions(+), 6 deletions(-)
24684 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
24685 Author: John (J5) Palmieri <johnp@redhat.com>
24686 Date: Wed Jan 12 16:24:17 2011 -0500
24688 [gi] handle allow_none for all args
24690 gi/pygi-cache.c | 3 ++-
24691 gi/pygi-cache.h | 1 +
24692 gi/pygi-invoke.c | 7 +++++++
24693 3 files changed, 10 insertions(+), 1 deletion(-)
24695 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
24696 Author: John (J5) Palmieri <johnp@redhat.com>
24697 Date: Wed Jan 12 16:23:02 2011 -0500
24699 [gi] fix marshalling fixed arrays
24701 * get the correct item_size and pass the GArray data not the GArray
24703 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
24704 gi/pygi-cache.c | 3 ++-
24705 2 files changed, 24 insertions(+), 18 deletions(-)
24707 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
24708 Author: John (J5) Palmieri <johnp@redhat.com>
24709 Date: Tue Jan 11 17:20:43 2011 -0500
24711 [gi] implement out arg handling
24713 gi/pygi-argument.c | 43 ++++++++++---------------------------
24714 gi/pygi-cache.c | 22 ++++++++++++++-----
24715 gi/pygi-invoke-state-struct.h | 13 +++++++++++
24716 gi/pygi-invoke.c | 50
24717 +++++++++++++++++++++++++++++++++++++++++--
24718 4 files changed, 89 insertions(+), 39 deletions(-)
24720 commit bd002c72675d35b5e60ab773181e7c36c30d2625
24721 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24722 Date: Tue Jan 11 22:21:18 2011 +0100
24724 setup.py: fix the provides keyword argument
24727 1 file changed, 1 insertion(+), 1 deletion(-)
24729 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
24730 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24731 Date: Tue Jan 11 22:19:18 2011 +0100
24733 setup.py: use the same spaces-less format for all setup() parameters
24735 setup.py | 8 ++++----
24736 1 file changed, 4 insertions(+), 4 deletions(-)
24738 commit c5c149be171895d292852df364541f14f0ec423a
24739 Author: John (J5) Palmieri <johnp@redhat.com>
24740 Date: Tue Jan 11 15:39:09 2011 -0500
24742 [gi] implemented return marshalling and started on out marshalling
24744 gi/pygi-argument.c | 387
24745 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
24746 gi/pygi-argument.h | 117 ++++++++++++++++
24747 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
24748 gi/pygi-cache.h | 8 +-
24749 gi/pygi-invoke.c | 12 +-
24750 5 files changed, 829 insertions(+), 11 deletions(-)
24752 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
24753 Author: John (J5) Palmieri <johnp@redhat.com>
24754 Date: Tue Jan 11 13:49:58 2011 -0500
24756 [gi] flesh out interface in marshalling a bit more
24758 gi/pygi-argument.c | 74
24759 ++++++++++++++++++++++++++++++++++++++++----------
24760 gi/pygi-cache.c | 79
24761 ++++++++++++++++++++++++++++++++++++++++++------------
24762 gi/pygi-cache.h | 1 +
24763 3 files changed, 123 insertions(+), 31 deletions(-)
24765 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
24766 Author: Laszlo Pandy <laszlok2@gmail.com>
24767 Date: Tue Jan 11 19:30:38 2011 +0100
24769 Add a __repr__() method to DynamicModule.
24771 This patch adds a __repr__() method to DynamicModule so that modules
24773 meaningful string with the typelib path included:
24775 >>> from gi.repository import Gtk
24777 <gi.module.DynamicModule 'Gtk' from
24778 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
24780 https://bugzilla.gnome.org/show_bug.cgi?id=639232
24782 gi/module.py | 9 +++++++++
24783 1 file changed, 9 insertions(+)
24785 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
24786 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24787 Date: Tue Jan 11 19:40:19 2011 +0100
24789 Go back to using getattr() in DynamicModule.__getattr__
24791 Breaks marshalling of some types
24793 gi/module.py | 2 +-
24794 1 file changed, 1 insertion(+), 1 deletion(-)
24796 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
24797 Author: Laszlo Pandy <laszlok2@gmail.com>
24798 Date: Tue Jan 11 19:26:50 2011 +0100
24800 Change __dir__() to report all the attributes that __getattr__
24803 Change DynamicModule.__dir__() to return the local class members as
24805 typelib attributes.
24807 Change DynamicModule.__getattr__() to call
24808 IntrospectionModule.__getattr__()
24809 directly, so that it won't inadvertently return class attributes from
24810 IntrospectionModule.
24812 https://bugzilla.gnome.org/show_bug.cgi?id=639229
24814 gi/module.py | 10 +++++++---
24815 1 file changed, 7 insertions(+), 3 deletions(-)
24817 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
24818 Author: John (J5) Palmieri <johnp@redhat.com>
24819 Date: Mon Jan 10 17:55:03 2011 -0500
24821 [gi] add object and interface in marshalling
24823 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
24826 gi/pygi-argument.c | 15 +++--
24827 gi/pygi-cache.c | 182
24828 ++++++++++++++++++++++++++++++++++++++++++++++++-----
24829 gi/pygi-cache.h | 1 -
24830 gi/pygi-invoke.c | 1 +
24831 4 files changed, 178 insertions(+), 21 deletions(-)
24833 commit 88531c58d0491a31dd319387237a03df5c9edc07
24834 Author: John (J5) Palmieri <johnp@redhat.com>
24835 Date: Mon Jan 10 15:33:56 2011 -0500
24837 [gi] fix casting when marshaling a char to uint8
24839 gi/pygi-argument.c | 2 +-
24840 1 file changed, 1 insertion(+), 1 deletion(-)
24842 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
24843 Author: John (J5) Palmieri <johnp@redhat.com>
24844 Date: Mon Jan 10 15:07:16 2011 -0500
24846 [gi] hook up invoke to the cache
24848 * We now can invoke with in values
24849 * out, constructors and returns still don't work along with numerous
24853 gi/Makefile.am | 1 +
24854 gi/pygi-argument.c | 60 +++++++++--------
24855 gi/pygi-argument.h | 60 ++++++++---------
24856 gi/pygi-cache.h | 6 +-
24857 gi/pygi-invoke-state-struct.h | 26 ++++++++
24858 gi/pygi-invoke.c | 149
24859 ++++++++++++++++++++++++++++++++----------
24860 gi/pygi-invoke.h | 2 +-
24861 gi/pygi-private.h | 1 +
24862 8 files changed, 208 insertions(+), 97 deletions(-)
24864 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
24865 Author: John (J5) Palmieri <johnp@redhat.com>
24866 Date: Sun Jan 9 19:37:55 2011 -0500
24868 hooked up caching stage and fixed segfaults
24870 * caching stage is hooked up but not used yet
24871 * throws exceptions for everything that can not be cached yet
24873 gi/pygi-cache.c | 59
24874 +++++++++++++++++++++++++++++++++++++++++++-------------
24875 gi/pygi-info.c | 3 +++
24876 gi/pygi-invoke.c | 5 +++++
24878 4 files changed, 56 insertions(+), 13 deletions(-)
24880 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
24881 Author: John (J5) Palmieri <johnp@redhat.com>
24882 Date: Sun Jan 9 18:05:31 2011 -0500
24884 [gi] fix some function names
24886 gi/pygi-cache.c | 5 ++---
24887 1 file changed, 2 insertions(+), 3 deletions(-)
24889 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
24890 Author: John (J5) Palmieri <johnp@redhat.com>
24891 Date: Sun Jan 9 15:58:06 2011 -0500
24893 [gi] refactor cache structs so they inherit from ArgCache
24895 gi/pygi-argument.c | 122 +++++++++----------
24896 gi/pygi-cache.c | 344
24897 +++++++++++++++++++++++++++++------------------------
24898 gi/pygi-cache.h | 50 ++++----
24899 3 files changed, 273 insertions(+), 243 deletions(-)
24901 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
24902 Author: John (J5) Palmieri <johnp@redhat.com>
24903 Date: Sat Jan 8 20:45:11 2011 -0500
24905 [gi]fix cache compile error - now compiles but cache still not
24908 gi/Makefile.am | 2 +
24909 gi/pygi-argument.c | 100 +++++++++++++++---------------
24910 gi/pygi-argument.h | 174
24911 ++++++++++++++++++++++++++++++++++++++++++++---------
24912 gi/pygi-cache.c | 169
24913 +++++++++++++++++++++++++--------------------------
24914 gi/pygi-cache.h | 25 ++++----
24915 5 files changed, 293 insertions(+), 177 deletions(-)
24917 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
24918 Author: John (J5) Palmieri <johnp@redhat.com>
24919 Date: Sat Jan 8 19:10:29 2011 -0500
24921 add sequence caching and array marshalling w/ item marshalling
24923 * simplify what we pass into the arg cache generators so we may
24925 for geneating marshalling caches for container items, not just
24928 gi/pygi-argument.c | 76 ++++++++++++++++-
24929 gi/pygi-cache.c | 242
24930 ++++++++++++++++++++++-------------------------------
24931 gi/pygi-cache.h | 4 +-
24932 3 files changed, 175 insertions(+), 147 deletions(-)
24934 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
24935 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
24936 Date: Sat Jan 8 02:19:52 2011 +0000
24938 Bump the minimum gio dependency
24940 Needed for G_TYPE_CONVERTER_FLAGS and others.
24942 configure.ac | 2 +-
24943 1 file changed, 1 insertion(+), 1 deletion(-)
24945 commit c3aa36151fdef9ed9884d93114786bbe86387983
24946 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24947 Date: Fri Jan 7 12:58:11 2011 +0100
24949 Add test for incorrect attributes in Gdk.Event
24951 tests/test_overrides.py | 4 ++++
24952 1 file changed, 4 insertions(+)
24954 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
24955 Author: Simon van der Linden <svdlinden@gnome.org>
24956 Date: Sun Jan 2 19:25:55 2011 +0100
24958 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
24960 __getattr__ is only called when the attribute is not found through
24962 mechanism, so getattr must not be called again in __getattr__
24964 create an infinite loop).
24966 Another possibility would be to implement __getattribute__ instead,
24968 called in place of the normal mechanism. In that case, calling
24970 needed for normal attributes.
24972 https://bugzilla.gnome.org/show_bug.cgi?id=638523
24974 gi/overrides/Gdk.py | 2 +-
24975 1 file changed, 1 insertion(+), 1 deletion(-)
24977 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
24978 Author: Mike Gorse <mgorse@novell.com>
24979 Date: Fri Jan 7 09:08:31 2011 +0100
24981 Release allocated array of arguments when handling closures
24983 https://bugzilla.gnome.org/show_bug.cgi?id=638847
24985 gi/pygi-closure.c | 3 +++
24986 1 file changed, 3 insertions(+)
24988 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
24989 Author: Mike Gorse <mgorse@novell.com>
24990 Date: Fri Jan 7 09:07:35 2011 +0100
24992 Release GIValueInfo when checking an enum argument
24994 https://bugzilla.gnome.org/show_bug.cgi?id=638847
24996 gi/pygi-argument.c | 1 +
24997 1 file changed, 1 insertion(+)
24999 commit 43849c51391fc9cd239697065c3d40fa02fb6783
25000 Author: John (J5) Palmieri <johnp@redhat.com>
25001 Date: Thu Jan 6 17:30:14 2011 -0500
25005 gi/pygi-cache.c | 24 ++++++++++++------------
25006 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
25007 2 files changed, 33 insertions(+), 33 deletions(-)
25009 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
25010 Author: John (J5) Palmieri <johnp@redhat.com>
25011 Date: Thu Jan 6 17:29:00 2011 -0500
25013 add marshalling for basic types and add more skeleton code
25015 * still doesn't compile
25017 gi/pygi-argument.c | 708
25018 +++++++++++++++++++++++++++++++++++++++++++++++++++++
25019 gi/pygi-argument.h | 35 ++-
25020 gi/pygi-cache.c | 82 +++++--
25021 gi/pygi-cache.h | 41 +++-
25022 4 files changed, 832 insertions(+), 34 deletions(-)
25024 commit f554cf62848104d31518138ae85bc51acaafda67
25025 Author: John (J5) Palmieri <johnp@redhat.com>
25026 Date: Tue Jan 4 18:49:53 2011 -0500
25028 first checkin of the new caching branch
25030 * this does not compile and is not hooked up to the build system
25031 * lays out the caching data structures and some skeleton functions
25033 gi/pygi-cache.c | 480
25034 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25035 gi/pygi-cache.h | 104 ++++++++++++
25036 2 files changed, 584 insertions(+)
25038 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
25039 Author: Eitan Isaacson <eitan@monotonous.org>
25040 Date: Wed Dec 22 12:34:10 2010 -0800
25042 Respect different type lengths when assigning out-argument pointers.
25044 https://bugzilla.gnome.org/show_bug.cgi?id=637832
25046 gi/pygi-closure.c | 66
25047 ++++++++++++++++++++++++++++++++++++++++++++++---------
25048 1 file changed, 56 insertions(+), 10 deletions(-)
25050 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
25051 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25052 Date: Tue Dec 28 18:34:25 2010 +0100
25054 Fix stupid name clash
25056 gi/module.py | 7 +++++--
25057 1 file changed, 5 insertions(+), 2 deletions(-)
25059 commit 01b2a193d403beb861eab524300b4f1af63157ce
25060 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25061 Date: Tue Dec 28 13:49:18 2010 +0100
25063 Add /usr/share to XDG_DATA_DIRS when running the tests
25065 tests/Makefile.am | 7 ++++++-
25066 1 file changed, 6 insertions(+), 1 deletion(-)
25068 commit efc186f692f9eac781cc47456be74a3da7f14dcd
25069 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25070 Date: Tue Dec 28 13:25:34 2010 +0100
25072 Comment out tests that require SRV lookups
25074 tests/test_gresolver.py | 5 ++++-
25075 1 file changed, 4 insertions(+), 1 deletion(-)
25077 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
25078 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25079 Date: Tue Dec 28 13:00:16 2010 +0100
25081 Use suppresion file when running valgrind
25083 tests/Makefile.am | 2 +-
25084 tests/python.supp | 387
25085 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
25086 2 files changed, 388 insertions(+), 1 deletion(-)
25088 commit 0ee58113ecbea72784c52de928c041fc8fc88984
25089 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25090 Date: Thu Dec 23 00:10:41 2010 +0100
25094 gi/pygi-argument.c | 16 +++++++---------
25095 gi/pygi-foreign-cairo.c | 13 ++-----------
25096 gio/gfile.override | 5 ++---
25097 glib/pyglib-python-compat.h | 3 +++
25098 glib/pyglib.c | 2 +-
25099 glib/pygmainloop.c | 3 ++-
25100 6 files changed, 17 insertions(+), 25 deletions(-)
25102 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
25103 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
25104 Date: Sun Dec 19 23:10:57 2010 +0100
25106 Allow comparing Gtk.TreePath to None
25108 https://bugzilla.gnome.org/show_bug.cgi?id=637615
25110 gi/overrides/Gtk.py | 12 ++++++------
25111 tests/test_overrides.py | 6 ++++++
25112 2 files changed, 12 insertions(+), 6 deletions(-)
25114 commit 046cc5915286e042d1040271a90676b77632409e
25115 Author: John (J5) Palmieri <johnp@redhat.com>
25116 Date: Thu Dec 16 15:41:10 2010 -0500
25118 handle unicode objects in properties
25120 * There are still some cavets in Python 2:
25121 - properties are returned as String objects with the unicode
25123 - you must add # coding=utf-8 to the top of your python file
25125 will error out if it sees embeded unicode charaters (such as when
25126 supporting python 3 and python 2 from the same source)
25128 https://bugzilla.gnome.org/show_bug.cgi?id=620579
25130 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
25131 tests/test_properties.py | 16 ++++++++++++++++
25132 2 files changed, 42 insertions(+), 9 deletions(-)
25134 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
25135 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25136 Date: Tue Dec 14 12:29:54 2010 +0100
25138 dsextras.py: check if gcc is there when platform is win32 and compiler
25141 dsextras.py | 6 ++++++
25142 1 file changed, 6 insertions(+)
25144 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
25145 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25146 Date: Tue Dec 14 12:29:01 2010 +0100
25148 dsextras.py: be consistent in how distutils imports are done
25150 dsextras.py | 6 +++---
25151 1 file changed, 3 insertions(+), 3 deletions(-)
25153 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
25154 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25155 Date: Tue Dec 14 12:25:07 2010 +0100
25157 dsextras.py: add have_gcc() function
25159 dsextras.py | 5 +++++
25160 1 file changed, 5 insertions(+)
25162 commit 637c2c287cfb0e89365026531c651111f5593ac7
25163 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25164 Date: Tue Dec 14 12:24:41 2010 +0100
25166 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
25168 dsextras.py | 8 ++------
25169 1 file changed, 2 insertions(+), 6 deletions(-)
25171 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
25172 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25173 Date: Tue Dec 14 12:22:54 2010 +0100
25175 setup.py: fix another case of use True/False instead of 1/0
25178 1 file changed, 1 insertion(+), 1 deletion(-)
25180 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
25181 Author: Paolo Borelli <pborelli@gnome.org>
25182 Date: Mon Dec 13 10:21:52 2010 +0100
25184 pygi-convert.sh: improve GtkSourceView conversion
25186 pygi-convert.sh | 7 +++++++
25187 1 file changed, 7 insertions(+)
25189 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
25190 Author: Paolo Borelli <pborelli@gnome.org>
25191 Date: Mon Dec 13 10:27:56 2010 +0100
25193 pygi-convert.sh: Gtk.DialogFlags conversion
25195 pygi-convert.sh | 1 +
25196 1 file changed, 1 insertion(+)
25198 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
25199 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25200 Date: Sun Dec 12 20:38:46 2010 -0500
25202 Doc Extractor: Print the gtk-doc blocks sorted by function name.
25204 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
25206 alphabetical order according to the identifier (function name)
25208 the generation of xml files in the C++ bindings is deterministic.
25209 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
25212 codegen/docextract_to_xml.py | 2 +-
25213 1 file changed, 1 insertion(+), 1 deletion(-)
25215 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
25216 Author: Paolo Borelli <pborelli@gnome.org>
25217 Date: Mon Dec 13 00:17:26 2010 +0100
25219 pygi-convert.sh: add more Gtk conversions and sort
25221 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
25222 1 file changed, 26 insertions(+), 24 deletions(-)
25224 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
25225 Author: Paolo Borelli <pborelli@gnome.org>
25226 Date: Mon Dec 13 00:01:40 2010 +0100
25228 pygi-convert.sh: convert Atk
25230 pygi-convert.sh | 12 ++++++++++++
25231 1 file changed, 12 insertions(+)
25233 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
25234 Author: Paolo Borelli <pborelli@gnome.org>
25235 Date: Sun Dec 12 23:48:48 2010 +0100
25237 pygi-convert.sh: convert a few more Gio types
25239 pygi-convert.sh | 9 +++++++++
25240 1 file changed, 9 insertions(+)
25242 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
25243 Author: Paolo Borelli <pborelli@gnome.org>
25244 Date: Sun Dec 12 14:19:00 2010 +0100
25246 pygi-convert.sh: more GLib conversion
25248 pygi-convert.sh | 7 +++++++
25249 1 file changed, 7 insertions(+)
25251 commit c903390814bebdc62d530472f6f94feecc59b8b3
25252 Author: Paolo Borelli <pborelli@gnome.org>
25253 Date: Sun Dec 12 14:00:34 2010 +0100
25255 pygi-convert.sh: remove two cases handled by overrides
25257 pygi-convert.sh | 2 --
25258 1 file changed, 2 deletions(-)
25260 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
25261 Author: Paolo Borelli <pborelli@gnome.org>
25262 Date: Sun Dec 12 13:38:56 2010 +0100
25264 Override Gtk.ScrolledWindow constructor
25266 gi/overrides/Gtk.py | 7 +++++++
25267 tests/test_overrides.py | 7 +++++++
25268 2 files changed, 14 insertions(+)
25270 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
25271 Author: Paolo Borelli <pborelli@gnome.org>
25272 Date: Sun Dec 12 12:32:39 2010 +0100
25274 pygi-convert.sh: Fix 'find' syntax
25276 pygi-convert.sh | 2 +-
25277 1 file changed, 1 insertion(+), 1 deletion(-)
25279 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
25280 Author: Paolo Borelli <pborelli@gnome.org>
25281 Date: Sun Dec 12 12:29:38 2010 +0100
25283 pygi-convert.sh: start handling Gio and GLib
25285 pygi-convert.sh | 8 ++++++++
25286 1 file changed, 8 insertions(+)
25288 commit 365bf3251af3498dc797a58cce071805451b49b1
25289 Author: Paolo Borelli <pborelli@gnome.org>
25290 Date: Sat Dec 11 23:05:31 2010 +0100
25292 pygi-convert.sh: convert Gdk.ScrollDirection.
25294 pygi-convert.sh | 1 +
25295 1 file changed, 1 insertion(+)
25297 commit bca603de0f217fb290189a0ea330f82961c46d5d
25298 Author: Paolo Borelli <pborelli@gnome.org>
25299 Date: Sat Dec 11 15:03:21 2010 +0100
25301 Override Pango.Layout constructor.
25303 I must take a Pango.Context argument. Unfortumately the context is
25305 gobject property so we need to jump through some oops.
25307 gi/overrides/Pango.py | 13 +++++++++++++
25308 tests/test_overrides.py | 6 ++++++
25309 2 files changed, 19 insertions(+)
25311 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
25312 Author: Paolo Borelli <pborelli@gnome.org>
25313 Date: Sat Dec 11 14:18:53 2010 +0100
25315 Remove Pango.FontDescription() conversion.
25317 It is now properly handled by an override.
25319 pygi-convert.sh | 1 -
25320 1 file changed, 1 deletion(-)
25322 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
25323 Author: Paolo Borelli <pborelli@gnome.org>
25324 Date: Fri Dec 10 14:05:20 2010 +0100
25326 Override GtkAction and GtkRadioAction constructors.
25328 gi/overrides/Gtk.py | 20 +++++++++++++++++---
25329 tests/test_overrides.py | 18 ++++++++++++++++++
25330 2 files changed, 35 insertions(+), 3 deletions(-)
25332 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
25333 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
25334 Date: Sat Dec 4 22:13:28 2010 +0000
25336 Override Adjustment constructor to behave like pygtk
25338 https://bugzilla.gnome.org/show_bug.cgi?id=636486
25340 gi/overrides/Gtk.py | 7 +++++++
25341 tests/test_overrides.py | 9 +++++++++
25342 2 files changed, 16 insertions(+)
25344 commit e76352dd83c8706e68ad57d00d185da9afea99c4
25345 Author: John (J5) Palmieri <johnp@redhat.com>
25346 Date: Thu Dec 9 13:23:10 2010 -0500
25348 add secondary_text apis to MessageDialog
25350 gi/overrides/Gtk.py | 8 ++++++++
25351 tests/test_overrides.py | 8 ++++++++
25352 2 files changed, 16 insertions(+)
25354 commit de682b2d36c362140ab7d43c0743b01ec0865a74
25355 Author: John (J5) Palmieri <johnp@redhat.com>
25356 Date: Wed Dec 8 16:39:27 2010 -0500
25358 [gi] get rid of some debug prints and fix error messages
25360 gi/overrides/Gtk.py | 7 +++----
25361 1 file changed, 3 insertions(+), 4 deletions(-)
25363 commit dbb16571803bf51f497768bf80944514f4290ee5
25364 Author: Paolo Borelli <pborelli@gnome.org>
25365 Date: Wed Dec 8 18:25:15 2010 +0100
25367 Fix demo for override changes.
25369 demos/gtk-demo/gtk-demo.py | 5 +++--
25370 1 file changed, 3 insertions(+), 2 deletions(-)
25372 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
25373 Author: Paolo Borelli <pborelli@gnome.org>
25374 Date: Wed Dec 8 18:06:01 2010 +0100
25376 Override Pango.FontDescription.
25378 demos/gtk-demo/gtk-demo.py | 2 +-
25379 gi/overrides/Makefile.am | 1 +
25380 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
25381 tests/test_overrides.py | 7 +++++++
25382 4 files changed, 49 insertions(+), 1 deletion(-)
25384 commit 769da968c9187414d0420412d8fb8c833d12042a
25385 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25386 Date: Wed Dec 8 17:38:11 2010 +0100
25388 Stop checking that all vfuncs are implemented
25390 Because some methods are optionally implementable but g-i won't
25393 https://bugzilla.gnome.org/show_bug.cgi?id=619606
25395 gi/gimodule.c | 4 +++-
25396 gi/types.py | 12 ++----------
25397 tests/test_gi.py | 10 ----------
25398 3 files changed, 5 insertions(+), 21 deletions(-)
25400 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
25401 Author: Paolo Borelli <pborelli@gnome.org>
25402 Date: Wed Dec 8 17:37:00 2010 +0100
25404 Fix usage of TreeIter api that is now an override.
25406 demos/gtk-demo/gtk-demo.py | 6 +++---
25407 1 file changed, 3 insertions(+), 3 deletions(-)
25409 commit d2cfd6e9250d40de7c715ac74e299deddf137683
25410 Author: Paolo Borelli <pborelli@gnome.org>
25411 Date: Wed Dec 8 17:34:54 2010 +0100
25413 Fix Gtk.Label(label="Foo")
25415 Use 'label' as an argument name instead of 'str', otherwise we may
25416 end up up with two 'label' in the kwds dict. Besides 'str' is a
25419 gi/overrides/Gtk.py | 4 ++--
25420 1 file changed, 2 insertions(+), 2 deletions(-)
25422 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
25423 Author: Paolo Borelli <pborelli@gnome.org>
25424 Date: Wed Dec 8 14:16:39 2010 +0100
25426 Fix typo when raising an exception
25429 1 file changed, 1 insertion(+), 1 deletion(-)
25431 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
25432 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25433 Date: Wed Dec 8 10:46:27 2010 +0100
25435 pygi-convert.sh: Added more conversions
25437 pygi-convert.sh | 14 ++++++++++++++
25438 1 file changed, 14 insertions(+)
25440 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
25441 Author: Paolo Borelli <pborelli@gnome.org>
25442 Date: Tue Dec 7 20:39:15 2010 +0100
25444 Override LinkButton constructor to make 'uri' mandatory
25446 gi/overrides/Gtk.py | 7 +++++++
25447 tests/test_overrides.py | 6 ++++++
25448 2 files changed, 13 insertions(+)
25450 commit f4f7fb35af1b41598dc050f5df155a01c370a920
25451 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
25452 Date: Sat Dec 4 19:19:19 2010 +0600
25454 Container should be iterable.
25456 gi/overrides/Gtk.py | 9 +++++++++
25457 tests/test_overrides.py | 6 +++++-
25458 2 files changed, 14 insertions(+), 1 deletion(-)
25460 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
25461 Author: Paolo Borelli <pborelli@gnome.org>
25462 Date: Tue Dec 7 14:13:00 2010 +0100
25464 No need to import Gdk
25466 gi/overrides/Gtk.py | 1 -
25467 1 file changed, 1 deletion(-)
25469 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
25470 Author: Paolo Borelli <pborelli@gnome.org>
25471 Date: Tue Dec 7 14:07:53 2010 +0100
25475 gi/overrides/Gtk.py | 7 +++----
25476 1 file changed, 3 insertions(+), 4 deletions(-)
25478 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
25479 Author: John (J5) Palmieri <johnp@redhat.com>
25480 Date: Mon Dec 6 16:05:30 2010 -0500
25482 [gi] make sure Gtk.Button override passes all keywords to parent
25485 gi/overrides/Gtk.py | 4 ++--
25486 1 file changed, 2 insertions(+), 2 deletions(-)
25488 commit cede81ad65db017e95543d8d35715751aa202fed
25489 Author: Paolo Borelli <pborelli@gnome.org>
25490 Date: Sun Dec 5 13:31:20 2010 +0100
25492 Fix cut&paste error in the Label override
25494 gi/overrides/Gtk.py | 2 +-
25495 1 file changed, 1 insertion(+), 1 deletion(-)
25497 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
25498 Author: Paolo Borelli <pborelli@gnome.org>
25499 Date: Sat Dec 4 16:03:27 2010 +0100
25501 pygi-convert.sh: handle TextWindowType
25503 pygi-convert.sh | 1 +
25504 1 file changed, 1 insertion(+)
25506 commit dfeabe0b68938e27da2e65903983b5113dc422f1
25507 Author: Paolo Borelli <pborelli@gnome.org>
25508 Date: Sat Dec 4 15:49:15 2010 +0100
25510 Override Label constructor to behave like pygtk
25512 gi/overrides/Gtk.py | 7 +++++++
25513 tests/test_overrides.py | 4 ++++
25514 2 files changed, 11 insertions(+)
25516 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
25517 Author: Paolo Borelli <pborelli@gnome.org>
25518 Date: Sat Dec 4 15:40:35 2010 +0100
25520 Override GtkTable constructor to behave like pygtk
25522 gi/overrides/Gtk.py | 7 +++++++
25523 tests/test_overrides.py | 12 ++++++++++++
25524 2 files changed, 19 insertions(+)
25526 commit 81452c23ab1befa59ff375692e582791432796a5
25527 Author: Paolo Borelli <pborelli@gnome.org>
25528 Date: Sat Dec 4 12:59:43 2010 +0100
25530 pygi-convert.sh: convert MovementStep
25532 pygi-convert.sh | 1 +
25533 1 file changed, 1 insertion(+)
25535 commit 4d097eea94258eda0c328711491fd456cbd6741b
25536 Author: Paolo Borelli <pborelli@gnome.org>
25537 Date: Sat Dec 4 11:57:02 2010 +0100
25539 Update Gdk overrides to work with latest Gtk+ 3
25541 For now added consitionals on version == 2.0, but maybe at some
25543 shuld just clean up the old stuff.
25545 gi/overrides/Gdk.py | 22 ++++++++++++++++------
25546 1 file changed, 16 insertions(+), 6 deletions(-)
25548 commit cda317195566711d66190145b545e26ed7226172
25549 Author: Johan Dahlin <johan@gnome.org>
25550 Date: Thu Dec 2 23:47:40 2010 -0200
25552 Gtk: add an override for Gtk.main_quit
25554 Override gtk.main_quit so that it can be used as a callback
25555 to signals, most importantly to the destroy signal of a widget:
25557 widget.connect('destroy', gtk.main_quit)
25559 This is compatible with what PyGTK does.
25561 https://bugzilla.gnome.org/show_bug.cgi?id=636336
25563 gi/overrides/Gtk.py | 5 ++++-
25564 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
25565 2 files changed, 29 insertions(+), 3 deletions(-)
25567 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
25568 Author: John (J5) Palmieri <johnp@redhat.com>
25569 Date: Thu Dec 2 16:27:04 2010 -0500
25571 [gi] handle subtypes when inserting into tree models
25573 * Often modules will give back basic types wrapped in a subtype.
25574 This is the case with D-Bus where you may want to keep some of the
25575 metadata around. More often than not, the developer is just looking
25576 to use the basetype.
25578 * This override checks the column type and handles basic types such as
25579 gchararrays, ints, longs, floats and doubles, converting them
25581 base types before sending them to the generic GI type marshaller.
25583 * More types may need to be supported but these are the common
25587 https://bugzilla.gnome.org/show_bug.cgi?id=635172
25589 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
25590 tests/test_overrides.py | 8 +++++++-
25591 2 files changed, 43 insertions(+), 3 deletions(-)
25593 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
25594 Author: Paolo Borelli <pborelli@gnome.org>
25595 Date: Fri Dec 3 23:39:50 2010 +0100
25597 Override TreeSelection.select_path and TreeView.scroll_to_cell
25599 The "path" argument may also be a string or a tuple
25601 gi/overrides/Gtk.py | 10 ++++++++++
25602 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
25603 2 files changed, 39 insertions(+)
25605 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
25606 Author: Paolo Borelli <pborelli@gnome.org>
25607 Date: Fri Dec 3 23:29:00 2010 +0100
25609 Override TreePath.__new__
25611 Instead of having a private _tree_path_from_string it is cleaner to
25612 override __new__ and it will be useful for all the api that take a
25613 TreePath or a string or a tuple.
25615 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
25616 tests/test_overrides.py | 18 ++++++++++++++++++
25617 2 files changed, 33 insertions(+), 18 deletions(-)
25619 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
25620 Author: Paolo Borelli <pborelli@gnome.org>
25621 Date: Sun Nov 28 13:02:30 2010 +0100
25623 Override Container to behave like a sequence
25625 gi/overrides/Gtk.py | 6 ++++++
25626 tests/test_overrides.py | 11 +++++++++++
25627 2 files changed, 17 insertions(+)
25629 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
25630 Author: John (J5) Palmieri <johnp@redhat.com>
25631 Date: Tue Nov 30 16:57:05 2010 -0500
25633 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
25636 * this patch does the recursion using the previous patche's support
25639 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
25640 1 file changed, 45 insertions(+), 10 deletions(-)
25642 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
25643 Author: Jonathan Matthew <jonathan@d14n.org>
25644 Date: Thu Jul 22 23:19:51 2010 +1000
25646 Recurse up through base classes when setting up vfuncs
25648 * this patch adds the support methods to do the recursion
25650 https://bugzilla.gnome.org/show_bug.cgi?id=625033
25652 gi/gimodule.c | 130
25653 ++++++++++++++++++++++++++++++++++++++++---------------
25654 tests/test_gi.py | 37 ++++++++++++++++
25655 2 files changed, 131 insertions(+), 36 deletions(-)
25657 commit 78358e1ab54d02317f397276adee03ecb2187588
25658 Author: John (J5) Palmieri <johnp@redhat.com>
25659 Date: Mon Nov 29 18:29:57 2010 -0500
25661 add a profiling torture test for when we fix up invoke
25663 tests/test_everything.py | 67
25664 ++++++++++++++++++++++++++++++++++++++++++++++++
25665 1 file changed, 67 insertions(+)
25667 commit 792e679c06df4357843fd310c7953a931172fc99
25668 Author: John (J5) Palmieri <johnp@redhat.com>
25669 Date: Mon Nov 29 16:41:38 2010 -0500
25671 moved dynamic and base modules outside of gtk-2.0 directory
25673 * do not move header files yet as they are mostly used by static
25675 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
25677 these back to pygtk but you might want to import gio static
25679 having to have pygtk installed
25680 * I have not tested this with pygtk, committing it so we can find
25682 causes any issues with legacy modules and code
25684 gi/Makefile.am | 2 +-
25685 gi/overrides/Makefile.am | 2 +-
25686 gi/repository/Makefile.am | 2 +-
25687 glib/Makefile.am | 2 +-
25688 gobject/Makefile.am | 2 +-
25689 tests/test_gi.py | 2 --
25690 tests/test_overrides.py | 3 ---
25691 7 files changed, 5 insertions(+), 10 deletions(-)
25693 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
25694 Author: John (J5) Palmieri <johnp@redhat.com>
25695 Date: Mon Nov 29 15:11:46 2010 -0500
25697 add test for inout argument count
25699 tests/test_gi.py | 1 +
25700 1 file changed, 1 insertion(+)
25702 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
25703 Author: John (J5) Palmieri <johnp@redhat.com>
25704 Date: Mon Nov 22 19:17:23 2010 -0500
25706 [gi] add check for UNICHAR
25708 https://bugzilla.gnome.org/show_bug.cgi?id=623615
25710 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
25711 tests/test_everything.py | 17 +++++++++++++++--
25712 2 files changed, 41 insertions(+), 3 deletions(-)
25714 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
25715 Author: Paolo Borelli <pborelli@gnome.org>
25716 Date: Sun Nov 21 12:16:53 2010 +0100
25720 https://bugzilla.gnome.org/show_bug.cgi?id=623615
25722 gi/pygi-argument.c | 60
25723 ++++++++++++++++++++++++++++++++++++++++++++++++
25724 gi/pygi-info.c | 5 ++++
25725 tests/test_everything.py | 5 ++++
25726 3 files changed, 70 insertions(+)
25728 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
25729 Author: Paolo Borelli <pborelli@gnome.org>
25730 Date: Sat Nov 27 23:01:42 2010 +0100
25732 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
25734 pygi-convert.sh | 1 +
25735 1 file changed, 1 insertion(+)
25737 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
25738 Author: Paolo Borelli <pborelli@gnome.org>
25739 Date: Sat Nov 27 22:34:13 2010 +0100
25741 pygi-convert.sh: handle "from gtk import gdk"
25743 pygi-convert.sh | 2 ++
25744 1 file changed, 2 insertions(+)
25746 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
25747 Author: Paolo Borelli <pborelli@gnome.org>
25748 Date: Sat Nov 27 22:23:24 2010 +0100
25750 pygi-convert.sh: add some Pango special cases
25752 pygi-convert.sh | 3 +++
25753 1 file changed, 3 insertions(+)
25755 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
25756 Author: Paolo Borelli <pborelli@gnome.org>
25757 Date: Sat Nov 27 19:51:38 2010 +0100
25759 Override TextIter (begins|ends|toggles)_tag()
25761 Make the tag argument optional.
25763 gi/overrides/Gtk.py | 9 +++++++++
25764 tests/test_overrides.py | 17 +++++++++++++++++
25765 2 files changed, 26 insertions(+)
25767 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
25768 Author: Paolo Borelli <pborelli@gnome.org>
25769 Date: Sat Nov 27 19:32:48 2010 +0100
25771 Override TextBuffer.set_text() to make length optional
25773 gi/overrides/Gtk.py | 3 +++
25774 tests/test_overrides.py | 11 ++++++++++-
25775 2 files changed, 13 insertions(+), 1 deletion(-)
25777 commit bf55dc862755a57bb1b998702d284fc460e88a30
25778 Author: Paolo Borelli <pborelli@gnome.org>
25779 Date: Sat Nov 27 16:46:40 2010 +0100
25781 Override TextBuffer.create_mark()
25783 Override create_mark to make the left_gravity argument optional
25785 gi/overrides/Gtk.py | 3 +++
25786 tests/test_overrides.py | 3 +++
25787 2 files changed, 6 insertions(+)
25789 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
25790 Author: Paolo Borelli <pborelli@gnome.org>
25791 Date: Sat Nov 27 16:10:33 2010 +0100
25793 Fix TextBuffer.get_selection_bounds() override
25795 Fix the override and add unit test
25797 gi/overrides/Gtk.py | 8 +++++---
25798 tests/test_overrides.py | 7 +++++++
25799 2 files changed, 12 insertions(+), 3 deletions(-)
25801 commit 0cd717e3926276540b9145e58a4a3368136b00de
25802 Author: John (J5) Palmieri <johnp@redhat.com>
25803 Date: Mon Nov 22 18:35:09 2010 -0500
25805 [gi] fix ActionGroup constructor to allow other keyword properties
25808 gi/overrides/Gtk.py | 4 ++--
25809 1 file changed, 2 insertions(+), 2 deletions(-)
25811 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
25812 Author: John (J5) Palmieri <johnp@redhat.com>
25813 Date: Mon Nov 22 18:32:28 2010 -0500
25815 [gi] require the name parameter when creatin a Gtk.ActionGroup
25817 gi/overrides/Gtk.py | 3 +++
25818 tests/test_overrides.py | 2 ++
25819 2 files changed, 5 insertions(+)
25821 commit d0049fa9982d13b3553b05569fb0a227e48b6647
25822 Author: Paolo Borelli <pborelli@gnome.org>
25823 Date: Sun Nov 21 15:20:58 2010 +0100
25825 Override UIManager.insert_action_group
25827 https://bugzilla.gnome.org/show_bug.cgi?id=635437
25829 gi/overrides/Gtk.py | 3 +++
25830 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
25831 2 files changed, 24 insertions(+), 13 deletions(-)
25833 commit e1db544e46aeed984133896af34b671a6a5547df
25834 Author: Paolo Borelli <pborelli@gnome.org>
25835 Date: Sun Nov 21 23:03:25 2010 +0100
25837 Override TreeModel.get() to return a tuple
25839 https://bugzilla.gnome.org/show_bug.cgi?id=635466
25841 gi/overrides/Gtk.py | 15 +++++++++++++++
25842 tests/test_overrides.py | 6 ++++++
25843 2 files changed, 21 insertions(+)
25845 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
25846 Author: Paolo Borelli <pborelli@gnome.org>
25847 Date: Sun Nov 21 21:57:40 2010 +0100
25849 Make TreeSelection.get_selected_rows compatible with PyGtk
25851 https://bugzilla.gnome.org/show_bug.cgi?id=635464
25853 gi/overrides/Gtk.py | 6 ++++++
25854 1 file changed, 6 insertions(+)
25856 commit 1c537bc67107948c92b51ba6ba749747e84263e2
25857 Author: John (J5) Palmieri <johnp@redhat.com>
25858 Date: Mon Nov 22 15:04:00 2010 -0500
25860 [gi] switch to using sequences/tuples when marshalling
25861 cairo_rectangle_int_t
25863 * Upstream pycairo didn't want to add a new wrapper for
25864 cairo_rectangle_int_t
25865 * this works around that issue by using 4 element squences instead
25867 should be accepted by pycairo for any API that takes a rect
25869 gi/pygi-foreign-cairo.c | 85
25870 +++++++++++++++++++++++++++++++++++++------------
25871 1 file changed, 64 insertions(+), 21 deletions(-)
25873 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
25874 Author: John (J5) Palmieri <johnp@redhat.com>
25875 Date: Fri Nov 19 16:46:53 2010 -0500
25877 [gi] overrides for treeview Drag and Drop
25879 https://bugzilla.gnome.org/show_bug.cgi?id=627367
25881 gi/overrides/Gdk.py | 7 +++++++
25882 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
25883 2 files changed, 32 insertions(+)
25885 commit 3fd51bb903724b752f72f49c7cb35652b819791d
25886 Author: John (J5) Palmieri <johnp@redhat.com>
25887 Date: Fri Nov 19 16:44:32 2010 -0500
25889 [gi] when encountering guint8 arrays treat them as byte arrays
25891 * In Python 2 this means returning a PyString object
25892 * In Python 3 we return a PyBytes object
25894 https://bugzilla.gnome.org/show_bug.cgi?id=627367
25896 gi/pygi-argument.c | 65
25897 ++++++++++++++++++++++++++++++++++++++++++++----------
25898 tests/test_gi.py | 6 +++--
25899 2 files changed, 57 insertions(+), 14 deletions(-)
25901 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
25902 Author: Martin Pitt <martin.pitt@ubuntu.com>
25903 Date: Fri Nov 19 18:19:38 2010 +0100
25905 pygi-convert.sh: Add pynotify -> Notify
25907 pygi-convert.sh | 3 +++
25908 1 file changed, 3 insertions(+)
25910 commit bf03d4db03a7739ac16ddc4e614441557ede554d
25911 Author: Martin Pitt <martin.pitt@ubuntu.com>
25912 Date: Fri Nov 19 09:08:07 2010 +0100
25914 pygi-convert.sh: Remove sugar specifics, and allow command line
25917 This script is generally useful for converting pygtk2 projects,
25919 sugar. Remove the sugar specific bits, since they will just cause
25922 Also allow the user to specify the files to convert as command line
25923 arguments. If not given, all *.py files will be processed.
25925 https://bugzilla.gnome.org/show_bug.cgi?id=635244
25927 pygi-convert.sh | 25 +++++--------------------
25928 1 file changed, 5 insertions(+), 20 deletions(-)
25930 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
25931 Author: Martin Pitt <martin.pitt@ubuntu.com>
25932 Date: Fri Nov 19 09:00:35 2010 +0100
25934 pygi-convert.sh: Cover Message and Buttons types
25936 https://bugzilla.gnome.org/show_bug.cgi?id=635244
25938 pygi-convert.sh | 2 ++
25939 1 file changed, 2 insertions(+)
25941 commit ef74273c2043944708515e59a654ebe4944b46ff
25942 Author: John (J5) Palmieri <johnp@redhat.com>
25943 Date: Thu Nov 18 13:54:48 2010 -0500
25945 [gi] fix actiongroup test since actions are hashed
25947 * when actions are listed they may not show up in the order they
25949 since they reside in an unordered hash internally
25951 tests/test_overrides.py | 9 +++++----
25952 1 file changed, 5 insertions(+), 4 deletions(-)
25954 commit 2c25886bf6710568d0646f82dce4770faa44c40d
25955 Author: John (J5) Palmieri <johnp@redhat.com>
25956 Date: Wed Nov 17 14:38:09 2010 -0500
25958 [gi] when converting to UTF-8 accept Python Unicode objects as input
25961 https://bugzilla.gnome.org/show_bug.cgi?id=620579
25963 gi/pygi-argument.c | 14 ++++++++++++--
25964 glib/pyglib-python-compat.h | 5 +++++
25965 tests/test_gi.py | 3 +++
25966 3 files changed, 20 insertions(+), 2 deletions(-)
25968 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
25969 Author: Damien Caliste <damien.caliste@cea.fr>
25970 Date: Fri Nov 12 10:20:32 2010 +0100
25972 Correct a bug in the freeing of memory in pygi-invoke.c.
25974 When a method with inout arguments is called from Python with
25975 a wrong number of arguments, the system crashs because of an
25976 assertion fail. This patch corrects this behaviour.
25978 https://bugzilla.gnome.org/show_bug.cgi?id=634671
25980 gi/pygi-invoke.c | 25 ++++++++++++++-----------
25981 1 file changed, 14 insertions(+), 11 deletions(-)
25983 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
25984 Author: John (J5) Palmieri <johnp@redhat.com>
25985 Date: Wed Nov 10 14:11:56 2010 -0500
25987 update news for release
25990 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25991 1 file changed, 73 insertions(+)
25993 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
25994 Author: Jonathan Matthew <jonathan@d14n.org>
25995 Date: Tue Sep 28 13:44:13 2010 +1000
25997 Implement richcompare for GIBaseInfo
25999 https://bugzilla.gnome.org/show_bug.cgi?id=625033
26001 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
26002 1 file changed, 29 insertions(+)
26004 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
26005 Author: John (J5) Palmieri <johnp@redhat.com>
26006 Date: Tue Nov 9 22:57:41 2010 -0500
26008 [gi] add the rectangle_int_t forign cairo type
26010 * the pycairo maintainer is not being responsive so you will need
26012 https://bugs.freedesktop.org/show_bug.cgi?id=31111
26013 * added conditionals, if the api doesn't exist in PyCairo we will
26015 without the forign structs
26017 gi/pygi-foreign-cairo.c | 4 ++++
26018 1 file changed, 4 insertions(+)
26020 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
26021 Author: John (J5) Palmieri <johnp@redhat.com>
26022 Date: Mon Oct 25 18:28:36 2010 -0400
26024 add a foreign type for cairo_rectangle_int_t and allow it to be
26027 * this is needed because Gdk and Gtk switched from returning a
26029 to a CairoRectangleInt structure
26030 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
26032 for pycairo (however there is currently no patch for python 2)
26033 * added fix for foreign types to allow them to be caller allocated
26034 * in order for a type to be caller allocated it must be able to take
26036 and create an empty struct in foreign_struct_from_arg and it must
26038 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
26040 https://bugzilla.gnome.org/show_bug.cgi?id=627545
26042 gi/pygi-foreign-cairo.c | 57
26043 +++++++++++++++++++++++++++++++++++++++++++++++++
26044 gi/pygi-invoke.c | 15 +++++++++++--
26045 2 files changed, 70 insertions(+), 2 deletions(-)
26047 commit ce8b948310220288e9eef904eef4ec8f4e24a376
26048 Author: John (J5) Palmieri <johnp@redhat.com>
26049 Date: Tue Nov 9 22:11:51 2010 -0500
26051 [gi] add overrides to Gtk.Editable
26053 gi/overrides/Gtk.py | 17 +++++++++++++++++
26054 tests/test_overrides.py | 12 ++++++++++++
26055 2 files changed, 29 insertions(+)
26057 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
26058 Author: John (J5) Palmieri <johnp@redhat.com>
26059 Date: Tue Nov 9 21:12:54 2010 -0500
26061 [gi] handle virtual invokers
26063 * right now we check to see if there is an method with the same name
26064 as the virtual method and assume that is the invoker
26065 * some invokers are named different so we now ask the VFuncInfo if
26066 the vfunc has an invoker
26067 * this is still not completly correct, gi needs to support telling
26068 us which vfuncs must be overridden.
26069 * this keeps the old way of checking vfuncs while adding the edge case
26070 where vfunc is named differently from their invoker
26072 gi/pygi-info.c | 16 ++++++++++++++++
26074 2 files changed, 17 insertions(+), 1 deletion(-)
26076 commit 540e9f1f349ba3625e28b7673c92210eb8974098
26077 Author: John (J5) Palmieri <johnp@redhat.com>
26078 Date: Tue Nov 9 12:17:05 2010 -0500
26080 add overrides for the insert* apis of list_store and tree_store
26082 * add set_row to tree_model as convinience method for both list and
26085 https://bugzilla.gnome.org/show_bug.cgi?id=634423
26087 gi/overrides/Gtk.py | 80
26088 ++++++++++++++++++++++++++++++++++++++-----------
26089 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
26090 2 files changed, 114 insertions(+), 19 deletions(-)
26092 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
26093 Author: John (J5) Palmieri <johnp@redhat.com>
26094 Date: Fri Nov 5 13:56:12 2010 -0400
26096 fix dialogs overrides which were relying on broken inheritance
26099 gi/overrides/Gtk.py | 14 ++++++++++++--
26100 1 file changed, 12 insertions(+), 2 deletions(-)
26102 commit 89c104d17d79d7b935cd76101cba19d49390f7be
26103 Author: John (J5) Palmieri <johnp@redhat.com>
26104 Date: Thu Nov 4 12:00:14 2010 -0400
26106 Add a overrides registry so we can refrence overrides inside the
26109 * Overrides have a reentrancy issue when doing inheritance. If an
26111 inherits from another override down the stack it won't see the
26113 because the module is not finished loading and will inherit from the
26114 non-overriden object instead. This causes type errors later.
26115 * By adding the overrides to a registry outside of the module we
26117 registration and make the override available as soon as the class
26119 not when the whole module is parsed.
26121 https://bugzilla.gnome.org/show_bug.cgi?id=633347
26123 gi/module.py | 12 ++++++++++-
26124 gi/overrides/GIMarshallingTests.py | 2 +-
26125 gi/overrides/Gdk.py | 2 +-
26126 gi/overrides/Gtk.py | 2 +-
26127 gi/overrides/__init__.py | 43
26128 ++++++++++++++++++++++++++++++++++++++
26129 gi/types.py | 8 -------
26130 tests/test_overrides.py | 27 ++++++++++++++++++++++++
26131 7 files changed, 84 insertions(+), 12 deletions(-)
26133 commit 878b8f630acd2146bee364054acd45cd33eea37a
26134 Merge: cdacaa9 e317838
26135 Author: John Stowers <john.stowers@gmail.com>
26136 Date: Fri Nov 5 11:40:22 2010 +1300
26138 Merge remote branch 'dieterv/setup-fixes-for-merge'
26140 commit e317838178fba5f0590fb8bd323f49602d564b53
26141 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26142 Date: Thu Nov 4 11:16:43 2010 +0100
26144 setup.py: ease maintenance burden for tests installation
26146 setup.py | 23 +++--------------------
26147 1 file changed, 3 insertions(+), 20 deletions(-)
26149 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
26150 Author: John (J5) Palmieri <johnp@redhat.com>
26151 Date: Wed Nov 3 09:51:09 2010 -0400
26153 fix inheritence issues in overrides
26155 gi/overrides/Gtk.py | 79
26156 +++++++++++++++++++++++++++--------------------------
26157 1 file changed, 40 insertions(+), 39 deletions(-)
26159 commit 3d5955767d81f45e796ab2af0707533375681774
26160 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26161 Date: Wed Nov 3 09:38:56 2010 +0100
26163 tests: add runtests-windows.py script
26165 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26167 tests/runtests-windows.py | 47
26168 +++++++++++++++++++++++++++++++++++++++++++++++
26169 1 file changed, 47 insertions(+)
26171 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
26172 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26173 Date: Wed Nov 3 09:35:52 2010 +0100
26175 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
26176 postinstall as pkg-config on windows figures out the correct prefix
26179 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26181 pygobject_postinstall.py | 26 +++-----------------------
26182 1 file changed, 3 insertions(+), 23 deletions(-)
26184 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
26185 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26186 Date: Wed Nov 3 09:34:38 2010 +0100
26188 pygobject_postinstall.py: remove shortcut creation
26190 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26192 pygobject_postinstall.py | 35 +----------------------------------
26193 1 file changed, 1 insertion(+), 34 deletions(-)
26195 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
26196 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26197 Date: Wed Nov 3 09:31:14 2010 +0100
26199 setup.py: formatting cleanup, makes things readable
26201 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26203 setup.py | 56 ++++++++++++++++++++++++++------------------------------
26204 1 file changed, 26 insertions(+), 30 deletions(-)
26206 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
26207 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26208 Date: Wed Nov 3 09:28:36 2010 +0100
26210 setup.py: build and install tests
26212 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26215 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26216 1 file changed, 61 insertions(+)
26218 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
26219 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26220 Date: Wed Nov 3 09:26:59 2010 +0100
26222 setup.py: install documentation when available on build system
26224 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26227 1 file changed, 3 insertions(+)
26229 commit 78533d851ee1314686f18cfa793613a9cf7d6686
26230 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26231 Date: Wed Nov 3 09:25:56 2010 +0100
26233 setup.py: install pygobject-codegen script
26235 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26237 setup.py | 25 +++++++++++++++++++++++++
26238 1 file changed, 25 insertions(+)
26240 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
26241 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26242 Date: Wed Nov 3 09:24:45 2010 +0100
26244 setup.py: install fixxref.py script
26246 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26249 1 file changed, 3 insertions(+)
26251 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
26252 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26253 Date: Wed Nov 3 09:23:05 2010 +0100
26255 setup.py: rearrange constants
26257 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26259 setup.py | 37 ++++++++++++++++++++-----------------
26260 1 file changed, 20 insertions(+), 17 deletions(-)
26262 commit 7d353d04892de67265bf693f591f37fd393de639
26263 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26264 Date: Wed Nov 3 09:18:11 2010 +0100
26266 setup.py: check python version and pkgconig availability before
26269 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26271 setup.py | 18 ++++++++++--------
26272 1 file changed, 10 insertions(+), 8 deletions(-)
26274 commit 286364ed39953e942e24d5911519bcac2f90975a
26275 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26276 Date: Wed Nov 3 09:05:59 2010 +0100
26278 setup.py: simplify sys.platform != 'win32' detection and error
26281 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26283 setup.py | 29 +++++++++--------------------
26284 1 file changed, 9 insertions(+), 20 deletions(-)
26286 commit 3f70f92904c123e6cc40929c0affd3f75d061828
26287 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26288 Date: Wed Nov 3 09:02:30 2010 +0100
26290 setup.py: rearrange imports
26292 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26294 setup.py | 31 ++++++++++++++++++++++---------
26295 1 file changed, 22 insertions(+), 9 deletions(-)
26297 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
26298 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26299 Date: Wed Nov 3 08:58:00 2010 +0100
26301 README.win32: update build instructions
26303 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26305 README.win32 | 13 +++++--------
26306 1 file changed, 5 insertions(+), 8 deletions(-)
26308 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
26309 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26310 Date: Wed Nov 3 07:59:18 2010 +0100
26312 dsextras.py: formatting cleanup, makes things readable
26314 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26317 ++++++++++++++++++++++++++++++++++++++----------------------
26318 1 file changed, 93 insertions(+), 55 deletions(-)
26320 commit d03503d0412d173acb383926ab3c2d640dad3e3f
26321 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26322 Date: Wed Nov 3 07:00:40 2010 +0100
26324 dsextras.py: add ggc4 to MSVC compatible struct packing comment
26326 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26328 dsextras.py | 4 ++--
26329 1 file changed, 2 insertions(+), 2 deletions(-)
26331 commit 8c62968e9f8467e24870b8c4f61112676eef4630
26332 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26333 Date: Wed Nov 3 06:56:32 2010 +0100
26335 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
26336 incantations all over the place
26338 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26340 dsextras.py | 15 ++++++---------
26341 1 file changed, 6 insertions(+), 9 deletions(-)
26343 commit b98277afc24886bbda400e0ad360992bffa77b7c
26344 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26345 Date: Wed Nov 3 06:49:48 2010 +0100
26347 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
26349 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26351 dsextras.py | 10 ++++++++++
26352 1 file changed, 10 insertions(+)
26354 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
26355 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26356 Date: Wed Nov 3 06:45:05 2010 +0100
26358 dsextras.py: PEP8: Comparisons to singletons like None should always
26359 be done with 'is' or 'is not', never the equality operators.
26361 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26363 dsextras.py | 4 ++--
26364 1 file changed, 2 insertions(+), 2 deletions(-)
26366 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
26367 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26368 Date: Wed Nov 3 06:44:21 2010 +0100
26370 dsextras.py: use True/False instead of 1/0
26372 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26374 dsextras.py | 25 +++++++++++++------------
26375 1 file changed, 13 insertions(+), 12 deletions(-)
26377 commit 819a21cea831c3892040390e9446b78a91d1cbbe
26378 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26379 Date: Wed Nov 3 06:28:04 2010 +0100
26381 dsextras.py: rearrange imports
26383 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26386 +++++++++++++++++++++++++++++++---------------------------
26387 1 file changed, 31 insertions(+), 27 deletions(-)
26389 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
26390 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26391 Date: Wed Nov 3 06:16:21 2010 +0100
26393 Add distutils generated build/dist directories and eclipse
26394 configuration files to .gitignore
26396 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26398 .gitignore | 7 +++++++
26399 1 file changed, 7 insertions(+)
26401 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
26402 Author: John (J5) Palmieri <johnp@redhat.com>
26403 Date: Thu Oct 28 15:32:28 2010 -0400
26405 [gi] add tests for calling dir on a dynamic module
26407 tests/test_gi.py | 24 ++++++++++++++++++++++++
26408 1 file changed, 24 insertions(+)
26410 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
26411 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
26412 Date: Wed Oct 27 18:28:11 2010 -0400
26414 [gi] dir() now works for modules
26416 https://bugzilla.gnome.org/show_bug.cgi?id=625093
26418 gi/module.py | 8 ++++++++
26419 1 file changed, 8 insertions(+)
26421 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
26422 Author: Simón Pena <spenap@gmail.com>
26423 Date: Mon Sep 20 23:10:14 2010 +0200
26425 Don't check the inner type when comparing gpointers
26427 When using pyg_pointer_richcompare to compare two objects,
26428 don't check their inner types. As we can't compare their private
26429 fields, nor get a proper compare function, we can consider them
26430 gpointers and compare them that way.
26432 https://bugzilla.gnome.org/show_bug.cgi?id=629552
26434 gobject/pygpointer.c | 2 +-
26435 1 file changed, 1 insertion(+), 1 deletion(-)
26437 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
26438 Author: John (J5) Palmieri <johnp@redhat.com>
26439 Date: Thu Oct 28 14:21:12 2010 -0400
26441 Release GIL when calling into C functions
26443 Author: Daniel P. Berrange <dan@berrange.com>
26445 https://bugzilla.gnome.org/show_bug.cgi?id=629042
26447 gi/pygi-invoke.c | 10 +++++++++-
26448 1 file changed, 9 insertions(+), 1 deletion(-)
26450 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
26451 Author: José Aliste <jaliste@src.gnome.org>
26452 Date: Fri Oct 15 14:30:10 2010 -0300
26454 _gi.Repository : Implement missing info bindings.
26456 https://bugzilla.gnome.org/show_bug.cgi?id=632185
26458 gi/pygi-info.c | 91
26459 +++++++++++++++++++++++++++++++++++++++++++++++++---------
26460 gi/pygi-info.h | 7 +++++
26461 2 files changed, 84 insertions(+), 14 deletions(-)
26463 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
26464 Author: John (J5) Palmieri <johnp@redhat.com>
26465 Date: Thu Oct 28 13:49:15 2010 -0400
26467 include Python.h so that PY_VERSION_HEX gets defined
26469 gi/pygi-foreign-cairo.c | 1 +
26470 1 file changed, 1 insertion(+)
26472 commit 8b28b1d713df33931e255600ab98feda37a8e02a
26473 Author: John (J5) Palmieri <johnp@redhat.com>
26474 Date: Thu Oct 28 13:47:34 2010 -0400
26476 [gi] make overrides work for python 3.x protocols and alias for
26479 gi/overrides/Gtk.py | 9 +++++++--
26480 1 file changed, 7 insertions(+), 2 deletions(-)
26482 commit 3c09710d2f68af9c16ce39fd25656147656a486a
26483 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26484 Date: Sat Oct 23 14:24:24 2010 +0200
26486 Override Gtk.Widget.translate_coordinates to not return success value
26488 gi/overrides/Gtk.py | 11 +++++++++++
26489 1 file changed, 11 insertions(+)
26491 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
26492 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26493 Date: Sat Oct 23 14:22:36 2010 +0200
26495 Override Gtk.TreeViewColumn.cell_get_position to not return success
26498 gi/overrides/Gtk.py | 5 +++++
26499 1 file changed, 5 insertions(+)
26501 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
26502 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26503 Date: Sat Oct 23 14:21:36 2010 +0200
26505 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
26506 not return success value
26508 gi/overrides/Gtk.py | 15 +++++++++++++++
26509 1 file changed, 15 insertions(+)
26511 commit 80b1b266fa68a5c67106871502017166628f71e4
26512 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26513 Date: Sat Oct 23 14:20:38 2010 +0200
26515 Override Gtk.TreeSortable.get_sort_column_id to not return success
26518 gi/overrides/Gtk.py | 12 ++++++++++++
26519 1 file changed, 12 insertions(+)
26521 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
26522 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26523 Date: Sat Oct 23 14:19:20 2010 +0200
26525 Override forward_search and backward_search of Gtk.TextIter to not
26526 return success value
26528 gi/overrides/Gtk.py | 15 +++++++++++++++
26529 1 file changed, 15 insertions(+)
26531 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
26532 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26533 Date: Sat Oct 23 14:18:09 2010 +0200
26535 Override Gtk.TextBuffer.get_selection_bounds to not return success
26538 gi/overrides/Gtk.py | 5 +++++
26539 1 file changed, 5 insertions(+)
26541 commit da6d87460b9392c29d025a7eed9249fb604204bc
26542 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26543 Date: Sat Oct 23 14:17:04 2010 +0200
26545 Override Gtk.RecentInfo.get_application_info to not return success
26548 gi/overrides/Gtk.py | 10 ++++++++++
26549 1 file changed, 10 insertions(+)
26551 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
26552 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26553 Date: Sat Oct 23 14:16:21 2010 +0200
26555 Override Gtk.IMContext.get_surrounding to not return success value
26557 gi/overrides/Gtk.py | 10 ++++++++++
26558 1 file changed, 10 insertions(+)
26560 commit b85b445f15421209c0b4adf676d7c8218d6437c5
26561 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26562 Date: Sat Oct 23 14:15:24 2010 +0200
26564 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
26565 of Gtk.IconView to not return success value
26567 gi/overrides/Gtk.py | 19 +++++++++++++++++++
26568 1 file changed, 19 insertions(+)
26570 commit 684d716192d58c972083e579e909bcd97f8a5025
26571 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26572 Date: Sat Oct 23 14:13:47 2010 +0200
26574 Override Gtk.Container.get_focus_chain to not return success value
26576 gi/overrides/Gtk.py | 10 ++++++++++
26577 1 file changed, 10 insertions(+)
26579 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
26580 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26581 Date: Sat Oct 23 14:12:44 2010 +0200
26583 Override Gtk.ComboBox.get_active_iter to not return success value
26585 gi/overrides/Gtk.py | 10 ++++++++++
26586 1 file changed, 10 insertions(+)
26588 commit b483852904468722230903989e3451c7c6a24c0f
26589 Author: John (J5) Palmieri <johnp@redhat.com>
26590 Date: Tue Oct 12 12:18:33 2010 -0400
26592 [gi] make parameter check less strict when dealing with GValue params
26594 * Some GValue API can store a pointer to a python object for later
26595 use but our parameter checking was too strict to allow this
26596 * Add pyg_type_from_object_strict API which takes a strict boolean and
26597 returns PY_TYPE_OBJECT if no other GType can be found
26598 * Since we don't have enough info to genrically check GValue
26600 use the less strict type guessing when encountering a GValue param
26601 * Other API stays the same and continues to do strict testing
26603 https://bugzilla.gnome.org/show_bug.cgi?id=622987
26605 gi/pygi-argument.c | 17 ++++++---------
26606 gobject/gobjectmodule.c | 4 ++--
26607 gobject/pygobject-private.h | 1 +
26608 gobject/pygobject.h | 2 ++
26609 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
26610 tests/test_gi.py | 1 -
26611 tests/test_overrides.py | 50
26612 +++++++++++++++++++++++++++++++++++++++++----
26613 7 files changed, 90 insertions(+), 22 deletions(-)
26615 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
26616 Author: John Stowers <john.stowers@gmail.com>
26617 Date: Fri Oct 22 13:28:31 2010 +1300
26619 Shortcut removal is not needed on post-uninstall
26621 pygobject_postinstall.py | 14 ++------------
26622 1 file changed, 2 insertions(+), 12 deletions(-)
26624 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
26625 Author: John Stowers <john.stowers@gmail.com>
26626 Date: Thu Oct 21 13:25:35 2010 +1300
26628 Disable shortcut creation in windows installer
26630 pygobject_postinstall.py | 2 +-
26631 1 file changed, 1 insertion(+), 1 deletion(-)
26633 commit a3d6212b0abccef58f05d454c091936776413d98
26634 Author: John (J5) Palmieri <johnp@redhat.com>
26635 Date: Thu Oct 7 11:43:27 2010 -0400
26637 overrides for all subclasses of dialog
26639 https://bugzilla.gnome.org/show_bug.cgi?id=631634
26641 gi/overrides/Gtk.py | 94
26642 +++++++++++++++++++++++++++++++++++++++++++++----
26643 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
26644 2 files changed, 151 insertions(+), 7 deletions(-)
26646 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
26647 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26648 Date: Thu Oct 7 19:37:53 2010 +0200
26650 Make TreeModel behave like in GTK-2.x
26652 Moved stuff from __getitem__ to get_iter.
26653 Added TreePath.__cmp__
26655 get_iter_from_string throws ValueError.
26656 iterchildren() does not return None.
26658 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
26661 Added support for negative row and column indices
26663 Use rich comparison methods instead of __cmp__
26665 Added TreeModel.__bool__/__nonzero__
26667 Raise Error if tree path string is empty
26669 https://bugzilla.gnome.org/show_bug.cgi?id=631547
26671 gi/overrides/Gtk.py | 195
26672 ++++++++++++++++++++++++++++++++++++++++++++++++
26673 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
26674 2 files changed, 349 insertions(+), 6 deletions(-)
26676 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
26677 Author: John Stowers <john.stowers@gmail.com>
26678 Date: Sat Oct 16 18:59:25 2010 +1300
26680 Correctly build GIO on windows
26682 setup.py | 6 +++---
26683 1 file changed, 3 insertions(+), 3 deletions(-)
26685 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
26686 Author: John Stowers <john.stowers@gmail.com>
26687 Date: Sat Oct 16 18:17:28 2010 +1300
26689 Require Python >= 2.6.0 for Windows build
26692 1 file changed, 1 insertion(+), 1 deletion(-)
26694 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
26695 Author: John Stowers <john.stowers@gmail.com>
26696 Date: Sat Oct 16 17:41:01 2010 +1300
26698 Fix depreciation warning in dsextras.py
26701 1 file changed, 1 insertion(+), 1 deletion(-)
26703 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
26704 Author: John Stowers <john.stowers@gmail.com>
26705 Date: Sat Oct 16 17:34:50 2010 +1300
26707 Fix build on windows
26709 gi/pygi-foreign.c | 5 ++++-
26710 gi/pygi.h | 5 ++++-
26712 3 files changed, 10 insertions(+), 4 deletions(-)
26714 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
26715 Author: Michael Culbertson <michael.culbertson@gmail.com>
26716 Date: Sat Oct 16 17:08:11 2010 +1300
26718 Support for GCC4 in Windows distutils build - bug 626548
26720 dsextras.py | 3 ++-
26721 1 file changed, 2 insertions(+), 1 deletion(-)
26723 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
26724 Author: John Stowers <john.stowers@gmail.com>
26725 Date: Fri Oct 15 09:39:02 2010 +1300
26727 Remove obsolete comments in dsextras.py
26729 dsextras.py | 11 ++---------
26730 1 file changed, 2 insertions(+), 9 deletions(-)
26732 commit b5f383f854fb8f72677828b029589320c59006d1
26733 Author: John Stowers <john.stowers@gmail.com>
26734 Date: Fri Oct 15 09:21:03 2010 +1300
26736 Broken dsextras.py pkg-config check error message
26741 1 file changed, 1 insertion(+), 1 deletion(-)
26743 commit e1981da105b574e273ae6500fc6d25caf6af6aae
26744 Author: John (J5) Palmieri <johnp@redhat.com>
26745 Date: Tue Sep 28 15:31:03 2010 -0400
26747 add compat functions for the deprecated PyCObject api
26749 * Moved to using the PyCapsule API for python >= 3
26750 * PyCObject is removed from Python 3.2
26751 * It has also been deprecated in 2.7 but since we use the API in
26753 which are consumed by static binding modules, appling this for
26755 causes crashes unless the modules are recompiled, breaking ABI.
26757 to rely on for 2.7 because it will never be removed and there is
26759 undeprecating it upstream.
26760 * There is no issues with static bindings under python 3 because
26762 supported yet and most likely never will be.
26763 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
26765 which adds a poorman's type check when unboxing.
26767 https://bugzilla.gnome.org/show_bug.cgi?id=630844
26769 gi/gimodule.c | 2 +-
26770 gi/pygi.h | 5 ++++-
26771 glib/glibmodule.c | 2 +-
26772 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
26773 glib/pyglib.c | 6 +++---
26774 glib/pygoptioncontext.c | 2 +-
26775 gobject/gobjectmodule.c | 2 +-
26776 gobject/pygobject.h | 6 ++++++
26777 gobject/pygtype.c | 10 +++++-----
26778 9 files changed, 50 insertions(+), 13 deletions(-)
26780 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
26781 Author: Damien Caliste <damien.caliste@cea.fr>
26782 Date: Tue Sep 28 12:44:42 2010 +0200
26784 Add __path__ attributes.
26786 Add an attribute __path__ to DynamicModule and IntrospectionModule,
26787 using the path of the typelib.
26789 https://bugzilla.gnome.org/show_bug.cgi?id=630807
26791 gi/module.py | 2 ++
26792 1 file changed, 2 insertions(+)
26794 commit 28f9366c9cb382801bad080864f667c867daa3c7
26795 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26796 Date: Sat Oct 9 17:40:40 2010 +0200
26798 Override Gtk.TreeSelection.get_selected to not return success value.
26800 https://bugzilla.gnome.org/show_bug.cgi?id=631765
26802 gi/overrides/Gtk.py | 12 ++++++++++++
26803 1 file changed, 12 insertions(+)
26805 commit f01a7d9e8222663ce52100e061033f2745a5e7af
26806 Author: Vincent Untz <vuntz@gnome.org>
26807 Date: Thu Oct 7 09:42:24 2010 +0200
26809 Make row optional in Gtk.TreeStore/ListStore.append override
26811 https://bugzilla.gnome.org/show_bug.cgi?id=631548
26813 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
26814 1 file changed, 22 insertions(+), 14 deletions(-)
26816 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
26817 Author: John (J5) Palmieri <johnp@redhat.com>
26818 Date: Mon Oct 4 12:50:55 2010 -0400
26820 Revert "add compat functions for the deprecated PyCObject api"
26822 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
26824 I ment to commit another patch and ended up comitting both
26826 gi/gimodule.c | 2 +-
26827 gi/pygi.h | 5 +----
26828 glib/glibmodule.c | 2 +-
26829 glib/pyglib-python-compat.h | 19 -------------------
26830 glib/pyglib.c | 6 +++---
26831 glib/pygoptioncontext.c | 2 +-
26832 gobject/gobjectmodule.c | 2 +-
26833 gobject/pygobject.h | 6 ------
26834 gobject/pygtype.c | 10 +++++-----
26835 9 files changed, 13 insertions(+), 41 deletions(-)
26837 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
26838 Author: John (J5) Palmieri <johnp@redhat.com>
26839 Date: Mon Oct 4 12:43:31 2010 -0400
26841 return NULL instead of -1 which fixes crash when introspection is
26844 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
26847 1 file changed, 1 insertion(+), 1 deletion(-)
26849 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
26850 Author: John (J5) Palmieri <johnp@redhat.com>
26851 Date: Tue Sep 28 15:31:03 2010 -0400
26853 add compat functions for the deprecated PyCObject api
26855 * Moved to using the PyCapsule API for python >= 2.7
26857 https://bugzilla.gnome.org/show_bug.cgi?id=630844
26859 gi/gimodule.c | 2 +-
26860 gi/pygi.h | 5 ++++-
26861 glib/glibmodule.c | 2 +-
26862 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
26863 glib/pyglib.c | 6 +++---
26864 glib/pygoptioncontext.c | 2 +-
26865 gobject/gobjectmodule.c | 2 +-
26866 gobject/pygobject.h | 6 ++++++
26867 gobject/pygtype.c | 10 +++++-----
26868 9 files changed, 41 insertions(+), 13 deletions(-)
26870 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
26871 Author: John (J5) Palmieri <johnp@redhat.com>
26872 Date: Tue Sep 28 15:28:16 2010 -0400
26874 fix commit 7fe83108 which didn't use the compat functions for
26877 glib/glibmodule.c | 2 +-
26878 1 file changed, 1 insertion(+), 1 deletion(-)
26880 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
26881 Author: John (J5) Palmieri <johnp@redhat.com>
26882 Date: Tue Sep 28 13:15:57 2010 -0400
26884 Python 3 fixes for dsextras and the python.m4 distribution files
26886 dsextras.py | 13 +++++++------
26887 m4/python.m4 | 4 ++--
26888 2 files changed, 9 insertions(+), 8 deletions(-)
26890 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
26891 Author: John (J5) Palmieri <johnp@redhat.com>
26892 Date: Mon Sep 27 14:01:31 2010 -0400
26894 post release bump to 2.27.0 unstable
26896 * update hacking to fill in some holes in the release instructions
26899 configure.ac | 2 +-
26900 2 files changed, 5 insertions(+), 3 deletions(-)
26902 commit fd38010101411e6bc1ca9314657f418de660fa13
26903 Author: John (J5) Palmieri <johnp@redhat.com>
26904 Date: Mon Sep 27 12:03:10 2010 -0400
26906 update NEWS for release
26909 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26910 1 file changed, 93 insertions(+)
26912 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
26913 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26914 Date: Sun Sep 26 08:37:31 2010 +0200
26916 Pre-release version bump 2.26.0
26918 configure.ac | 4 ++--
26919 1 file changed, 2 insertions(+), 2 deletions(-)
26921 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
26922 Author: John Stowers <john.stowers@gmail.com>
26923 Date: Fri Sep 24 22:44:03 2010 +1200
26925 Wrap g_get_system_{config,data}_dirs ()
26927 * Also tidy up g_get_{cache,config,data}_dir
26928 to share common code
26930 glib/glibmodule.c | 68
26931 ++++++++++++++++++++++++++++++++++++++++---------------
26932 1 file changed, 50 insertions(+), 18 deletions(-)
26934 commit 328aca600714bdca89dfdb531c222ee561ede27e
26935 Author: John (J5) Palmieri <johnp@redhat.com>
26936 Date: Fri Sep 24 12:16:22 2010 -0400
26938 fixed make check and make dist
26940 tests/Makefile.am | 31 ++++++++++++++++++-------------
26941 1 file changed, 18 insertions(+), 13 deletions(-)
26943 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
26944 Author: John Stowers <john.stowers@gmail.com>
26945 Date: Fri Sep 24 21:20:53 2010 +1200
26947 Disable GI tests when introspection disabled
26949 tests/Makefile.am | 2 ++
26950 1 file changed, 2 insertions(+)
26952 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
26953 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26954 Date: Sat Jul 18 19:35:08 2009 +0200
26956 Wrap g_uri_list_extract_uris. Fixes bug #584431
26958 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
26959 gobject/__init__.py | 2 +-
26960 tests/Makefile.am | 3 ++-
26961 tests/test_uris.py | 15 +++++++++++++++
26962 4 files changed, 56 insertions(+), 2 deletions(-)
26964 commit d6721a59c294f2471142b8c32de2f647b7084bca
26965 Author: Paul Bolle <pebolle@tiscali.nl>
26966 Date: Thu Sep 23 15:38:40 2010 -0400
26968 Fix a few uses of TRUE and FALSE in the docs
26970 docs/reference/pygio-mount.xml | 5 +++--
26971 docs/reference/pyglib-functions.xml | 18 +++++++++---------
26972 docs/reference/pyglib-maincontext.xml | 12 ++++++------
26973 docs/reference/pyglib-mainloop.xml | 6 +++---
26974 docs/reference/pygobject-functions.xml | 6 +++---
26975 docs/reference/pygobject.xml | 4 ++--
26976 6 files changed, 26 insertions(+), 25 deletions(-)
26978 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
26979 Author: Damien Caliste <damien.caliste@cea.fr>
26980 Date: Tue Sep 21 17:52:14 2010 +0200
26982 pygi: always free the invocation_state struct
26984 In pygi-invoke.c, the invocation_state struct is never freed
26985 in case of success. Thus, always call _free_invocation_state()
26987 Modify _free_invocation_state to avoid double free in case of
26988 caller-allocated GValue, once as a released argument in the
26989 _process routine and another time in the _free as the special
26990 case. So move all argument releasing code from the _process
26991 routine to the _free one.
26992 Modify the tests for the callback routines to return an integer
26993 value as specified in the GIR file.
26995 Make check is as successful as before (already existing error
26996 related to GVariant is still there).
26998 https://bugzilla.gnome.org/show_bug.cgi?id=630271
27000 gi/pygi-invoke.c | 83
27001 +++++++++++++++++++++---------------------------
27002 tests/test_everything.py | 4 ++-
27003 2 files changed, 40 insertions(+), 47 deletions(-)
27005 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
27006 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27007 Date: Mon Sep 13 16:36:47 2010 +0200
27009 Start implementing something equivalent to g_variant_new
27011 https://bugzilla.gnome.org/show_bug.cgi?id=629367
27013 gi/gimodule.c | 20 +++++++
27014 gi/overrides/GLib.py | 131
27015 ++++++++++++++++++++++++++++++++++++++++++---
27016 gi/pygi-foreign-gvariant.c | 2 +-
27017 tests/test_everything.py | 16 ------
27018 tests/test_overrides.py | 25 +++++++++
27019 5 files changed, 170 insertions(+), 24 deletions(-)
27021 commit fc45abdd9b55ab63556798ab0f04715be79dba08
27022 Author: John (J5) Palmieri <johnp@redhat.com>
27023 Date: Thu Sep 23 10:49:36 2010 -0400
27025 fixed typo - missing comma in glib.option module
27027 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
27029 glib/option.py | 2 +-
27030 1 file changed, 1 insertion(+), 1 deletion(-)
27032 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
27033 Author: John (J5) Palmieri <johnp@redhat.com>
27034 Date: Fri Sep 17 12:08:09 2010 -0400
27036 add checks so we can compile under python 3 by setting PYTHON=python3
27038 * compile for python 3
27039 * disables gio if compiling under python 3.x
27040 * runs only pertinant tests
27042 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27044 configure.ac | 32 +++++++++++++++++++++++++++++---
27045 tests/Makefile.am | 35 ++++++++++++++++++++---------------
27046 tests/runtests.py | 4 ++++
27047 3 files changed, 53 insertions(+), 18 deletions(-)
27049 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
27050 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27051 Date: Fri Sep 17 15:50:47 2010 +0200
27053 Rename static methods as functions
27055 In recent gobject-introspection releases, static methods have been
27056 removed and placed as functions in the namespace level. In a future
27057 releases it's planned to become static methods again but for now
27058 let's fix the tests.
27060 tests/test_gi.py | 14 +++++++-------
27061 1 file changed, 7 insertions(+), 7 deletions(-)
27063 commit 2da8da589644d6125101210712defb1272a8abb1
27064 Author: John (J5) Palmieri <johnp@redhat.com>
27065 Date: Thu Sep 9 13:52:14 2010 -0400
27067 fix a couple of compiler warnings
27069 https://bugzilla.gnome.org/show_bug.cgi?id=629199
27071 gi/pygi-argument.c | 4 ++--
27072 gi/pygi-struct.c | 2 +-
27073 gobject/gobjectmodule.c | 2 +-
27074 3 files changed, 4 insertions(+), 4 deletions(-)
27076 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
27077 Author: John (J5) Palmieri <johnp@redhat.com>
27078 Date: Thu Sep 9 13:55:17 2010 -0400
27082 * we use richcompare now
27084 https://bugzilla.gnome.org/show_bug.cgi?id=629198
27086 gobject/pygtype.c | 9 ---------
27087 1 file changed, 9 deletions(-)
27089 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
27090 Author: John (J5) Palmieri <johnp@redhat.com>
27091 Date: Tue Sep 14 14:10:49 2010 -0400
27093 Check the type of the instance object
27095 * in python 2 methods were added to classes as unbound methods and
27097 check the instance type to make sure it was correct
27098 * in python 3 for perfomance reasons methods are added to classes
27100 functions which treat the instance as an untyped argument so
27103 * this patch adds a type check so that the correct errors are
27105 python 3 (python 2 this just adds another layer of redundancy should
27106 something change with type checking in the future)
27107 * since GI handles regular args and the instance arg slightly
27109 we had to split out the interface checks in
27110 _pygi_g_type_info_check_object
27111 in order to not duplicate code
27113 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27115 gi/pygi-argument.c | 182
27116 ++++++++++++++++++++++++++++-------------------------
27117 gi/pygi-argument.h | 2 +
27118 gi/pygi-invoke.c | 14 +++++
27119 3 files changed, 112 insertions(+), 86 deletions(-)
27121 commit 5d79498d38b147b66ae72c1481e397160491e8d6
27122 Author: John (J5) Palmieri <johnp@redhat.com>
27123 Date: Wed Sep 15 10:26:20 2010 -0400
27125 include the correct pycairo version
27127 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27129 gi/pygi-foreign-cairo.c | 6 ++++++
27130 1 file changed, 6 insertions(+)
27132 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
27133 Author: John (J5) Palmieri <johnp@redhat.com>
27134 Date: Thu Sep 9 22:16:58 2010 -0400
27136 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
27138 * in Py3k PyMapping_Check returns true for sequences such as strings
27139 and lists. Since we need to get the keys anyway, and it returns
27140 NULL if this is not a dict, this is a much better test, even in
27143 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27145 gi/pygi-argument.c | 10 +++-------
27146 1 file changed, 3 insertions(+), 7 deletions(-)
27148 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
27149 Author: John (J5) Palmieri <johnp@redhat.com>
27150 Date: Thu Sep 9 18:44:11 2010 -0400
27152 fix handling of UINT64 and INT64 arguments in py3k
27154 * decode to the right sized C long
27156 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27158 gi/pygi-argument.c | 20 ++++++++++++--------
27159 1 file changed, 12 insertions(+), 8 deletions(-)
27161 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
27162 Author: John (J5) Palmieri <johnp@redhat.com>
27163 Date: Thu Sep 9 17:35:10 2010 -0400
27165 properly handle ulongs properties in py3k
27167 * If this is a PyLong object pull use AsUnsignedLong
27169 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27171 gobject/pygtype.c | 29 ++++++++++++++++-------------
27172 1 file changed, 16 insertions(+), 13 deletions(-)
27174 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
27175 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27176 Date: Fri Sep 17 12:14:56 2010 +0200
27178 Specify encoding of tests/test_gi.py
27180 tests/test_gi.py | 3 ++-
27181 1 file changed, 2 insertions(+), 1 deletion(-)
27183 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
27184 Author: John (J5) Palmieri <johnp@redhat.com>
27185 Date: Thu Sep 9 13:24:30 2010 -0400
27187 use actual unicode in the tests on py3k, not the byte representation
27189 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27191 tests/test_gi.py | 6 +++++-
27192 1 file changed, 5 insertions(+), 1 deletion(-)
27194 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
27195 Author: John (J5) Palmieri <johnp@redhat.com>
27196 Date: Thu Sep 9 12:45:21 2010 -0400
27198 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
27201 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
27203 with both the METH_VARARGS and METH_KEYWORDS flags.
27205 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27207 glib/pygiochannel.c | 30 +++++++++++++++---------------
27208 glib/pygsource.c | 4 ++--
27209 gobject/pygobject.c | 2 +-
27210 3 files changed, 18 insertions(+), 18 deletions(-)
27212 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
27213 Author: John (J5) Palmieri <johnp@redhat.com>
27214 Date: Thu Sep 9 08:04:40 2010 -0400
27216 fix subclassing PyLong by calling __new__ correctly
27218 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27220 glib/pygspawn.c | 4 ++--
27221 1 file changed, 2 insertions(+), 2 deletions(-)
27223 commit a499b2f0d622b671bd154544f66b73f1278e66ed
27224 Author: John (J5) Palmieri <johnp@redhat.com>
27225 Date: Thu Sep 9 07:56:44 2010 -0400
27227 minor py3k fixups for python modules
27229 * add _basestring and _bytes and _callable wrappers
27230 * use items instead of iteritems and range instead of xrange
27234 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27236 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
27237 glib/option.py | 16 ++++++++++++----
27238 2 files changed, 28 insertions(+), 12 deletions(-)
27240 commit dec9001d26c97949e7b3578086cb35e98075c047
27241 Author: John (J5) Palmieri <johnp@redhat.com>
27242 Date: Thu Sep 9 07:36:04 2010 -0400
27244 minor fixes in tests for py3k compat
27246 * add a _bytes wrapper for API that expects bytes in py3k but str
27248 * fix some more exception handling using sys.exc_info()[:2]
27249 * use range instead of xrange, items instead of iteritems since py3k
27250 dropped support for the different ways of accessing iterators
27251 - this is less efficient in py2 but we plan to target py3k as the
27253 * use list(dict.items()) since py3k only returns iterables which
27256 * missed some _long wrapping
27258 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27260 tests/compathelper.py | 18 ++++++++++++++++++
27261 tests/test_everything.py | 5 +++--
27262 tests/test_mainloop.py | 3 ++-
27263 tests/test_option.py | 6 ++++--
27264 tests/test_overrides.py | 4 ++--
27265 tests/test_properties.py | 6 +++---
27266 6 files changed, 32 insertions(+), 10 deletions(-)
27268 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
27269 Author: Colin Walters <walters@verbum.org>
27270 Date: Thu Sep 9 16:25:51 2010 -0400
27272 compilation: Fix syntax error
27274 gi/pygi-info.c | 2 +-
27275 1 file changed, 1 insertion(+), 1 deletion(-)
27277 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
27278 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27279 Date: Thu Sep 9 22:17:00 2010 +0200
27283 gi/overrides/GLib.py | 48
27284 ++++++++++++++++++++++++++++++++++++++++++++++++
27285 1 file changed, 48 insertions(+)
27287 commit 306b792ac97a458ddee59fb86d66453495117f3e
27288 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27289 Date: Thu Jul 22 13:48:51 2010 +0100
27291 Add override for GLib.Variant.new_tuple
27293 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
27294 * gi/overrides/GLib.py: Override Variant.new_tuple and
27296 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
27297 _pygi_type_import_by_gi_info
27298 * gi/types.py: Never override gobject.TYPE_NONE
27299 * tests/test_everything.py: Add tests for GVariant tuples
27301 https://bugzilla.gnome.org/show_bug.cgi?id=625050
27303 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
27304 gi/overrides/Makefile.am | 1 +
27305 gi/pygi-type.c | 15 +++++++++------
27306 gi/pygi-type.h | 2 ++
27308 tests/test_everything.py | 9 +++++++++
27309 6 files changed, 60 insertions(+), 6 deletions(-)
27311 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
27312 Author: John (J5) Palmieri <johnp@redhat.com>
27313 Date: Wed Sep 8 13:08:48 2010 -0400
27315 fix for changes in the gi test libraries
27317 tests/test_everything.py | 2 +-
27318 1 file changed, 1 insertion(+), 1 deletion(-)
27320 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
27321 Author: John (J5) Palmieri <johnp@redhat.com>
27322 Date: Wed Sep 8 13:08:07 2010 -0400
27324 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
27326 gi/overrides/Gtk.py | 10 ++++++++--
27327 1 file changed, 8 insertions(+), 2 deletions(-)
27329 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
27330 Author: John (J5) Palmieri <johnp@redhat.com>
27331 Date: Wed Sep 8 12:35:09 2010 -0400
27333 no need to offset arg positions when is_method is true
27335 * The old GI libraries required we offset arg positions for the
27337 self argument. The new library fixes this so we don't have
27341 https://bugzilla.gnome.org/show_bug.cgi?id=629087
27343 gi/pygi-callbacks.c | 5 +----
27344 1 file changed, 1 insertion(+), 4 deletions(-)
27346 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
27347 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27348 Date: Fri Aug 20 14:54:35 2010 +0200
27350 gi: Add support for more property types
27352 https://bugzilla.gnome.org/show_bug.cgi?id=627494
27354 gi/pygi-property.c | 156
27355 ++++++++++++++++++++++++++++++++++++-----------
27356 tests/test_everything.py | 34 +++++++++++
27357 2 files changed, 154 insertions(+), 36 deletions(-)
27359 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
27360 Author: John (J5) Palmieri <johnp@redhat.com>
27361 Date: Fri Sep 3 12:04:16 2010 -0400
27363 use PyObject_SetAttrString, not PyDict_SetItemString when setting
27366 * When registering a gtype wrapper we used to set tp_dict
27367 directly. This works
27368 in python 2 but python 3 seems to handle attributes in a slightly
27370 way where the tp_dict and attr get out of sync. By setting the attr
27371 directly we avoid this issue.
27372 * Note that there are many more places where we set __gtype__
27374 however for objects which are not instantiated yet we have to
27377 * Since this one change fixes a lot of failed tests, for now we
27379 other places where we set __gtype__. If we run into more issues
27381 with __gtype__ we can take a closer look later.
27383 https://bugzilla.gnome.org/show_bug.cgi?id=627878
27385 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27387 gobject/gobjectmodule.c | 2 +-
27388 1 file changed, 1 insertion(+), 1 deletion(-)
27390 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
27391 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27392 Date: Wed Sep 1 11:03:40 2010 +0200
27394 Rename GArgument to GIArgument
27396 gi/pygi-argument.c | 52
27397 +++++++++++++++++++++++-----------------------
27398 gi/pygi-argument.h | 10 ++++-----
27399 gi/pygi-closure.c | 34 +++++++++++++++---------------
27400 gi/pygi-foreign-cairo.c | 8 +++----
27401 gi/pygi-foreign-gvariant.c | 4 ++--
27402 gi/pygi-foreign-gvariant.h | 4 ++--
27403 gi/pygi-foreign.c | 12 +++++------
27404 gi/pygi-foreign.h | 8 +++----
27405 gi/pygi-info.c | 8 +++----
27406 gi/pygi-invoke.c | 28 ++++++++++++-------------
27407 gi/pygi-property.c | 4 ++--
27408 gi/pygi.h | 16 +++++++-------
27409 12 files changed, 94 insertions(+), 94 deletions(-)
27411 commit 7197f85c9be2b03636639ac909ca2c3170653509
27412 Author: John (J5) Palmieri <johnp@redhat.com>
27413 Date: Wed Aug 18 10:29:19 2010 -0400
27415 fix up tests so they run in py3k
27417 * add a compat helper that should only be used by tests
27418 * fix long notation to use the compat helper instead
27419 * add parens to print statements
27420 * use compatable try/except pattern
27422 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27424 gobject/propertyhelper.py | 16 +++++++++++-----
27425 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
27426 tests/test_option.py | 7 ++++++-
27427 tests/test_properties.py | 24 ++++++++++++++----------
27428 tests/test_signal.py | 14 +++++++-------
27429 tests/test_source.py | 4 ++--
27430 6 files changed, 72 insertions(+), 25 deletions(-)
27432 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
27433 Author: Colin Walters <walters@verbum.org>
27434 Date: Fri Aug 20 10:58:48 2010 -0400
27436 tests: Port to new introspection tests
27438 Everything is renamed "Regress", and both it and GIMarshallingTests
27439 are now in source form, so we compile them.
27441 The scanner now adds "static methods" to objects, structs, and unions,
27442 so update the test code to use those.
27444 In the tests, remove broken (inout) cases - the person writing these
27445 tests misunderstood the semantics of (inout). It's not acceptable for
27446 a C API to mutate e.g. a GSList* passed in, or unref an object.
27448 The invocation code needed to be updated for this - remove some
27451 https://bugzilla.gnome.org/show_bug.cgi?id=627878
27453 configure.ac | 5 +-
27454 gi/pygi-argument.c | 9 +--
27455 gi/pygi-invoke.c | 147
27456 +++++----------------------------------------
27457 tests/Makefile.am | 42 ++++++++++++-
27458 tests/test_everything.py | 6 +-
27459 tests/test_gi.py | 151
27460 +++++++++--------------------------------------
27461 6 files changed, 93 insertions(+), 267 deletions(-)
27463 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
27464 Author: John (J5) Palmieri <johnp@redhat.com>
27465 Date: Fri Aug 20 10:43:58 2010 -0400
27467 we need to specify tp_hash since we overide tp_richcompare
27469 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27471 gobject/pygenum.c | 1 +
27472 gobject/pygflags.c | 1 +
27473 2 files changed, 2 insertions(+)
27475 commit c03e6b482548aee99362356807c804f8834fad2b
27476 Author: John Ehresman <jpe@wingware.com>
27477 Date: Thu Apr 15 17:11:30 2010 -0400
27479 working enum/flags/pid subclasses of long
27481 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27483 glib/pygspawn.c | 7 ++---
27484 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
27485 gobject/pygflags.c | 76
27486 +++++++++++++++++++++++-------------------------------
27487 3 files changed, 71 insertions(+), 73 deletions(-)
27489 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
27490 Author: John (J5) Palmieri <johnp@redhat.com>
27491 Date: Wed Aug 18 11:03:32 2010 -0400
27493 make vfuncs work in py3k
27495 * methods now export __func__ instead of im_func for getting the
27497 out of a method closure
27498 * however classes no longer return unbound methods in py3k and instead
27499 return the actual function
27500 * in python 2 we use im_func when getting the function from the
27502 * in py3k we simply assign vfunc to the function
27504 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27506 gi/types.py | 12 ++++++++----
27507 1 file changed, 8 insertions(+), 4 deletions(-)
27509 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
27510 Author: John (J5) Palmieri <johnp@redhat.com>
27511 Date: Tue Aug 17 15:43:42 2010 -0400
27513 make cairo module compile in py3k
27515 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27517 gi/Makefile.am | 2 +-
27518 gi/pygi-foreign-cairo.c | 17 +++++++----------
27519 2 files changed, 8 insertions(+), 11 deletions(-)
27521 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
27522 Author: John (J5) Palmieri <johnp@redhat.com>
27523 Date: Tue Aug 17 02:33:45 2010 -0400
27525 fix exceptions so they work in python 3.x
27527 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27529 gi/module.py | 2 +-
27531 2 files changed, 2 insertions(+), 2 deletions(-)
27533 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
27534 Author: John (J5) Palmieri <johnp@redhat.com>
27535 Date: Tue Aug 17 02:24:44 2010 -0400
27537 make the gi module compile under 3.x
27539 * include the compat macros
27540 * use GLIB_MODULE_START/END to define module
27541 * add PyInit__gi to the exported symbols
27543 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27545 gi/Makefile.am | 2 +-
27546 gi/gimodule.c | 24 +++++++++---------------
27547 2 files changed, 10 insertions(+), 16 deletions(-)
27549 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
27550 Author: John (J5) Palmieri <johnp@redhat.com>
27551 Date: Tue Aug 17 02:14:14 2010 -0400
27553 fix up testshelper module so it compiles in python 3.x
27555 * include the compat header
27556 * fix up PyInts to be PYGLIB_Long
27557 * Use PYGLIB_DEFINE_TYPE macros to define module objects
27558 * Use PYGLIB_MODULE_START/END to define modules
27560 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27562 tests/Makefile.am | 2 +-
27563 tests/testhelpermodule.c | 221
27564 ++++++-----------------------------------------
27565 2 files changed, 28 insertions(+), 195 deletions(-)
27567 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
27568 Author: John (J5) Palmieri <johnp@redhat.com>
27569 Date: Mon Aug 16 21:14:27 2010 -0400
27571 convert to using PYGLIB_DEFINE_TYPE for module objects
27573 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27575 gi/pygi-boxed.c | 43 ++-----------
27576 gi/pygi-info.c | 171
27577 ++++++++++++++++++++-------------------------------
27578 gi/pygi-repository.c | 39 +++---------
27579 gi/pygi-struct.c | 45 +++-----------
27580 4 files changed, 88 insertions(+), 210 deletions(-)
27582 commit 1efa2b12913b194d433c17014bc1077271a6ca32
27583 Author: John (J5) Palmieri <johnp@redhat.com>
27584 Date: Mon Aug 16 13:51:05 2010 -0400
27586 some more p3k PyString and PyInt eradication in GI
27588 * add the glib dir to the includes list in the build
27589 * make sure we include the compat macros
27590 * add GLIB_PyBytes_FromString to compat macros
27591 * add GLIB_PyNumber_Long to compat macros
27592 * use RichCompare instead of Compare
27594 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27596 gi/Makefile.am | 2 +-
27597 gi/pygi-argument.c | 96
27598 +++++++++++++++++++++++++++------------------
27599 gi/pygi-boxed.c | 1 +
27600 gi/pygi-info.c | 13 +++---
27601 gi/pygi-private.h | 23 +++++++++++
27602 gi/pygi-repository.c | 8 ++--
27603 gi/pygi-struct.c | 1 +
27604 glib/pyglib-python-compat.h | 6 +++
27605 8 files changed, 103 insertions(+), 47 deletions(-)
27607 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
27608 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27609 Date: Fri Aug 20 09:28:57 2010 +0200
27611 pyglib: Fix typo (Leo Singer)
27613 https://bugzilla.gnome.org/show_bug.cgi?id=627408
27615 glib/option.py | 4 ++--
27616 1 file changed, 2 insertions(+), 2 deletions(-)
27618 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
27619 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
27620 Date: Thu Aug 19 18:45:05 2010 -0300
27622 Add defines for size_t and ssize_t conversion functions
27624 These missing defines cause the resulting module to have unresolved
27625 symbols, rendering it unusable.
27627 https://bugzilla.gnome.org/show_bug.cgi?id=627440
27629 glib/pyglib-python-compat.h | 2 ++
27630 1 file changed, 2 insertions(+)
27632 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
27633 Author: Colin Walters <walters@verbum.org>
27634 Date: Thu Aug 19 17:50:35 2010 -0400
27636 pyglib: Fix a compiler warning
27638 glib/pyglib.c | 1 +
27639 1 file changed, 1 insertion(+)
27641 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
27642 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27643 Date: Wed Aug 18 20:36:51 2010 +0200
27645 Don't force gtk 2.0
27647 pygi-convert.sh | 11 +++++++----
27648 1 file changed, 7 insertions(+), 4 deletions(-)
27650 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
27651 Author: Steve Frécinaux <code@istique.net>
27652 Date: Tue Aug 17 14:49:30 2010 +0200
27654 Fix some ref leaks in hook_up_vfunc_implementation()
27656 https://bugzilla.gnome.org/show_bug.cgi?id=627143
27658 gi/gimodule.c | 9 +++++++--
27659 1 file changed, 7 insertions(+), 2 deletions(-)
27661 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
27662 Author: John (J5) Palmieri <johnp@redhat.com>
27663 Date: Thu Aug 12 12:16:31 2010 -0400
27665 handle strings correctly in gio
27667 gio/gappinfo.override | 5 +++++
27668 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
27669 2 files changed, 40 insertions(+), 7 deletions(-)
27671 commit 45ab0c03110c911b47519941dfd753326891b5e0
27672 Author: John (J5) Palmieri <johnp@redhat.com>
27673 Date: Wed Aug 11 16:13:59 2010 -0400
27675 make giomodule compile under py3k
27677 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27679 gio/giomodule.c | 153
27680 +++++++++++++++++++++++++++++---------------------------
27681 1 file changed, 78 insertions(+), 75 deletions(-)
27683 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
27684 Author: John (J5) Palmieri <johnp@redhat.com>
27685 Date: Wed Aug 11 16:04:48 2010 -0400
27687 for py3k we need to do some more processing to get bytes from a
27690 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27692 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
27693 1 file changed, 27 insertions(+), 4 deletions(-)
27695 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
27696 Author: John (J5) Palmieri <johnp@redhat.com>
27697 Date: Wed Aug 11 15:03:55 2010 -0400
27699 use Bytes instead of Unicode when reading io
27701 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27703 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
27704 1 file changed, 24 insertions(+), 6 deletions(-)
27706 commit 5824ff98175b749dbcfa72d24b994230b6e05377
27707 Author: John (J5) Palmieri <johnp@redhat.com>
27708 Date: Mon Aug 9 15:16:51 2010 -0400
27710 prefix compat macros with PYGLIB
27712 * refactor from John Ehresman <jpe@wingware.com> py3k branch
27713 * fix up some extranious PyString calls
27714 * remove duplicate macros from pyglib.h that are in
27715 pyglib-python-compat.h
27716 * pygobject.h can't import pyglib-python-compat.h so add codepaths
27717 for both Py3k and legacy code instead of using macros
27719 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27721 glib/glibmodule.c | 48 +++++-----
27722 glib/pygiochannel.c | 46 +++++-----
27723 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
27724 glib/pyglib.c | 22 ++---
27725 glib/pyglib.h | 14 ---
27726 glib/pygoptioncontext.c | 4 +-
27727 glib/pygsource.c | 16 ++--
27728 glib/pygspawn.c | 32 +++----
27729 gobject/gobjectmodule.c | 216
27730 ++++++++++++++++++++++----------------------
27731 gobject/pygboxed.c | 2 +-
27732 gobject/pygenum.c | 84 ++++++++---------
27733 gobject/pygflags.c | 122 ++++++++++++-------------
27734 gobject/pygobject-private.h | 12 +--
27735 gobject/pygobject.c | 46 +++++-----
27736 gobject/pygobject.h | 23 +++++
27737 gobject/pygparamspec.c | 24 ++---
27738 gobject/pygpointer.c | 2 +-
27739 gobject/pygtype.c | 170 +++++++++++++++++-----------------
27740 18 files changed, 563 insertions(+), 473 deletions(-)
27742 commit 231e934cc01d061e81bb60d35127a133cd0e1793
27743 Author: John (J5) Palmieri <johnp@redhat.com>
27744 Date: Mon Aug 16 10:14:04 2010 +0200
27746 Gtk.Button unit tests
27748 https://bugzilla.gnome.org/show_bug.cgi?id=622606
27750 tests/test_overrides.py | 10 ++++++++++
27751 1 file changed, 10 insertions(+)
27753 commit f07cfde377e42686c6b80f56cac62338ee333e61
27754 Author: Johan Dahlin <johan@gnome.org>
27755 Date: Mon Aug 16 10:08:38 2010 +0200
27757 [Gtk] Add overrides for Button
27759 https://bugzilla.gnome.org/show_bug.cgi?id=622606
27761 gi/overrides/Gtk.py | 13 +++++++++++++
27762 1 file changed, 13 insertions(+)
27764 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
27765 Author: Simon van der Linden <svdlinden@gnome.org>
27766 Date: Thu Aug 12 16:18:58 2010 +0200
27768 Make Cairo an optional dependency
27770 Add the --enable-cairo configure argument.
27772 https://bugzilla.gnome.org/show_bug.cgi?id=616732
27774 configure.ac | 15 ++++++++++++---
27775 gi/Makefile.am | 20 ++++++++++++--------
27776 2 files changed, 24 insertions(+), 11 deletions(-)
27778 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
27779 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27780 Date: Mon Aug 16 09:55:35 2010 +0200
27782 Don't import again PyGObject (John Ralls)
27784 https://bugzilla.gnome.org/show_bug.cgi?id=626996
27787 1 file changed, 1 insertion(+)
27789 commit 0dc3656070f496431829c6e8441ca17129c569f8
27790 Author: John (J5) Palmieri <johnp@redhat.com>
27791 Date: Mon Aug 9 16:11:55 2010 -0400
27793 move to using richcompare slot instead of compare
27795 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27797 glib/pygiochannel.c | 18 +++++++----
27799 +++++++++++++++++++++++++++++++++++++++++++++++++
27800 glib/pyglib.h | 3 ++
27801 glib/pygmaincontext.c | 17 ++++++----
27802 glib/pygmainloop.c | 17 ++++++----
27803 glib/pygoptioncontext.c | 18 +++++++----
27804 glib/pygoptiongroup.c | 22 +++++++------
27805 gobject/pygboxed.c | 18 +++++++----
27806 gobject/pygobject.c | 44 ++++++++++++++++++-------
27807 gobject/pygparamspec.c | 19 +++++++----
27808 gobject/pygpointer.c | 17 ++++++----
27809 gobject/pygtype.c | 26 +++++++++++----
27810 12 files changed, 233 insertions(+), 71 deletions(-)
27812 commit b426e531dc53d4b50e572a2da19733479635e662
27813 Author: Simon van der Linden <svdlinden@gnome.org>
27814 Date: Thu Aug 12 18:09:33 2010 +0200
27816 Replace autogen.sh by a newer version
27818 It pulls automake 1.10 or 1.11.
27819 Greatly inspired from GLib's.
27821 https://bugzilla.gnome.org/show_bug.cgi?id=625661
27824 +++++++------------------------------------------------------
27825 1 file changed, 58 insertions(+), 448 deletions(-)
27827 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
27828 Author: Simon van der Linden <svdlinden@gnome.org>
27829 Date: Thu Aug 12 14:11:55 2010 +0200
27833 pyglib.c: In function ‘pyglib_gerror_exception_check’:
27834 pyglib.c:362: warning: format not a string literal and no format
27836 pyglib.c:371: warning: format not a string literal and no format
27839 gio.override: In function 'pygio_notify_allocate_buffer':
27840 gio.override:144:13: warning: format '%d' expects type 'int', but
27844 https://bugzilla.gnome.org/show_bug.cgi?id=625437
27846 gio/gio.override | 2 +-
27847 glib/pyglib.c | 4 ++--
27848 2 files changed, 3 insertions(+), 3 deletions(-)
27850 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
27851 Author: Simon van der Linden <svdlinden@gnome.org>
27852 Date: Thu Aug 12 11:09:37 2010 +0200
27854 Fix caller-allocates emergency free.
27856 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
27858 NULL in order to be able caller-allocates. This patch adds those
27861 Moreover, the interface info needs to be freed afterwards.
27863 https://bugzilla.gnome.org/show_bug.cgi?id=626684
27865 gi/pygi-invoke.c | 9 ++++++++-
27866 1 file changed, 8 insertions(+), 1 deletion(-)
27868 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
27869 Author: Simon van der Linden <svdlinden@gnome.org>
27870 Date: Thu Aug 12 10:46:17 2010 +0200
27872 Remove useless checks.
27874 No need to check for state->arg_infos, state->arg_type_infos, and
27875 state->args_is_auxiliary to be NULL, they are always allocated.
27877 https://bugzilla.gnome.org/show_bug.cgi?id=626684
27879 gi/pygi-invoke.c | 14 +++-----------
27880 1 file changed, 3 insertions(+), 11 deletions(-)
27882 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
27883 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27884 Date: Tue Aug 10 17:40:16 2010 +0200
27886 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
27888 tests/Makefile.am | 2 +-
27889 1 file changed, 1 insertion(+), 1 deletion(-)
27891 commit 8be59c37dd57acc51875c7189ca09d728b729013
27892 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27893 Date: Wed Aug 4 13:43:17 2010 +0200
27897 gi/pygi-argument.c | 2 --
27898 gi/pygi-invoke.c | 2 +-
27899 gi/pygi-struct.c | 1 -
27900 3 files changed, 1 insertion(+), 4 deletions(-)
27902 commit 529eca6054e9a7e2267f1529e317c2373932762f
27903 Author: Simon van der Linden <svdlinden@gnome.org>
27904 Date: Fri Jul 30 22:39:40 2010 +0200
27906 Add myself as a maintainer
27908 MAINTAINERS | 4 ++++
27909 1 file changed, 4 insertions(+)
27911 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
27912 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27913 Date: Fri Jul 30 14:14:16 2010 +0200
27915 Properly allocate boxed structs that are (caller-allocates)
27917 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
27918 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
27919 are (caller-allocates)
27920 * tests/test_overrides.py: Split the TreeView tests
27922 https://bugzilla.gnome.org/show_bug.cgi?id=625653
27924 gi/pygi-boxed.c | 50
27925 ++++++++++++++++++++++++++++++++-----------------
27926 gi/pygi-boxed.h | 10 ++++++----
27927 gi/pygi-invoke.c | 16 ++++++----------
27928 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
27929 4 files changed, 64 insertions(+), 51 deletions(-)
27931 commit 99c7322898c00a576c7319ea0a7c808446253133
27932 Author: Toms Baugis <toms.baugis@gmail.com>
27933 Date: Fri Jul 30 15:44:21 2010 +0200
27935 override gdk.Event to return attribute from the proper event object
27937 https://bugzilla.gnome.org/show_bug.cgi?id=620593
27939 gi/overrides/Gdk.py | 48
27940 ++++++++++++++++++++++++++++++++++++++++++++++++
27941 gi/pygi-invoke.c | 4 ----
27942 tests/test_overrides.py | 10 ++++++++++
27943 3 files changed, 58 insertions(+), 4 deletions(-)
27945 commit 55814e722c2ae11310f346790c9221e4fad92b50
27946 Author: John (J5) Palmieri <johnp@redhat.com>
27947 Date: Fri Jul 30 06:30:48 2010 -0400
27949 check if z# needs an int or Py_ssize_t
27951 https://bugzilla.gnome.org/show_bug.cgi?id=625438
27953 gio/gio.override | 5 +++++
27954 1 file changed, 5 insertions(+)
27956 commit 477315465d0a6d84b51e146e86e254873bc564ff
27957 Author: John (J5) Palmieri <johnp@redhat.com>
27958 Date: Fri Jul 30 06:43:06 2010 -0400
27960 make sure we parse parameters to python object vars not glib vars
27962 * py_flags was already set up but due to a typo &flags was being
27966 https://bugzilla.gnome.org/show_bug.cgi?id=625438
27968 gio/gfile.override | 8 ++++----
27969 1 file changed, 4 insertions(+), 4 deletions(-)
27971 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
27972 Author: Paul Bolle <pebolle@tiscali.nl>
27973 Date: Fri Jul 30 10:56:01 2010 +0200
27975 Make an example and a demo work out of the box
27977 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
27978 regarding pygtk to work out of the box. So add those.
27980 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
27982 https://bugzilla.gnome.org/show_bug.cgi?id=625638
27984 demos/gtk-demo/gtk-demo.py | 2 ++
27985 examples/cairo-demo.py | 2 ++
27986 2 files changed, 4 insertions(+)
27988 commit c9da5782e6c633d9af43ee85075e9ee65db09780
27989 Author: John (J5) Palmieri <johnp@redhat.com>
27990 Date: Fri Jul 9 13:14:42 2010 -0400
27992 make sure caller allocated structs are freed when they go out of scope
27994 * Move struct transfer checks from pygi-arguments to pygi-invoke
27995 * add better warning if an unknown struct is fully transfered
27996 * only free GValues we create in the invoke cleanup. All other
27998 get cleaned up when they go out of scope in python
27999 * Fixes issues with caller allocated treeiters getting freed to early
28000 * this is a fix to crashes in the current test suite when API's
28002 TreeIters were annotated as out caller-allocates so no new tests
28005 https://bugzilla.gnome.org/show_bug.cgi?id=623969
28007 gi/pygi-argument.c | 13 +++++--------
28008 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
28009 2 files changed, 45 insertions(+), 14 deletions(-)
28011 commit e0a85305cd107aae5902e524afd074cd8c329927
28012 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28013 Date: Fri Jul 30 10:35:33 2010 +0200
28015 Revert "override gdk.Event to return attribute from the proper
28018 Pushed by mistake, we still need testcases
28020 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
28022 gi/overrides/Gdk.py | 44 --------------------------------------------
28023 1 file changed, 44 deletions(-)
28025 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
28026 Author: Paul Bolle <pebolle@tiscali.nl>
28027 Date: Thu Jul 29 22:55:28 2010 +0200
28029 PyGI: properly quit cairo-demo
28031 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
28033 https://bugzilla.gnome.org/show_bug.cgi?id=625619
28035 examples/cairo-demo.py | 2 +-
28036 1 file changed, 1 insertion(+), 1 deletion(-)
28038 commit e7bb3954880568884ca66e7751ede689dc2f24f6
28039 Author: Toms Baugis <toms.baugis@gmail.com>
28040 Date: Tue Jul 27 21:37:16 2010 +0200
28042 override gdk.Event to return attribute from the proper event object.
28044 https://bugzilla.gnome.org/show_bug.cgi?id=620593
28046 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
28047 1 file changed, 44 insertions(+)
28049 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
28050 Author: Simon van der Linden <svdlinden@gnome.org>
28051 Date: Wed Jul 28 14:56:00 2010 +0200
28053 Clean and improve the test infrastructure
28055 To run select tests, use for instance:
28056 % make check TEST_NAMES='test_everything test_gi.TestConstant'
28058 It works with check.gdb and check.valgrind too.
28060 https://bugzilla.gnome.org/show_bug.cgi?id=625488
28062 Makefile.am | 5 ----
28063 tests/Makefile.am | 65
28064 +++++++++++++++++++++-------------------------
28065 tests/common.py | 47 ---------------------------------
28066 tests/runtests.py | 43 ++++++++++++------------------
28067 tests/test_gcancellable.py | 4 +--
28068 tests/test_gi.py | 3 ---
28069 tests/test_gicon.py | 3 ++-
28070 tests/test_gio.py | 3 ++-
28071 tests/test_gobject.py | 3 ++-
28072 tests/test_gresolver.py | 4 +--
28073 tests/test_gsocket.py | 4 ++-
28074 tests/test_interface.py | 6 ++++-
28075 tests/test_mainloop.py | 11 +++-----
28076 tests/test_signal.py | 4 ++-
28077 tests/test_source.py | 4 +--
28078 tests/test_subprocess.py | 5 +---
28079 tests/test_thread.py | 5 +++-
28080 tests/test_unknown.py | 5 +++-
28081 18 files changed, 82 insertions(+), 142 deletions(-)
28083 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
28084 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28085 Date: Thu Jul 29 12:34:19 2010 +0200
28087 Add some more transformations to pygi-convert.sh
28089 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
28090 1 file changed, 29 insertions(+), 8 deletions(-)
28092 commit de519adcd21947a0aef7932cdecb78cef200c85e
28093 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28094 Date: Wed Jul 28 14:42:36 2010 +0200
28096 Adapt to API changes: g_irepository_enumerate_versions
28098 gi/importer.py | 2 +-
28099 gi/pygi-repository.c | 12 ++++++------
28100 2 files changed, 7 insertions(+), 7 deletions(-)
28102 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
28103 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28104 Date: Wed Jul 28 12:26:48 2010 +0200
28106 Add GValue<->GArgument marshalling for some more types
28108 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
28109 1 file changed, 36 insertions(+), 1 deletion(-)
28111 commit ddffa70c3ee0e837070f390632bc692430f79171
28112 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28113 Date: Wed Jul 28 11:10:42 2010 +0200
28115 Chain up with the non-introspection implementation for properties
28118 gobject/pygobject.c | 7 ++++++-
28119 1 file changed, 6 insertions(+), 1 deletion(-)
28121 commit 045433a1f8167205dc8eae613dcb8835d02c8916
28122 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28123 Date: Wed Jul 28 10:59:49 2010 +0200
28125 Improve error reporting for missing attributes in introspection
28128 gi/module.py | 4 ++--
28129 1 file changed, 2 insertions(+), 2 deletions(-)
28131 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
28132 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28133 Date: Tue Jul 27 21:52:49 2010 +0200
28135 Implement getting and setting properties using introspection
28138 This allows us to use information not present in GObject such as
28139 transfer and element types.
28141 https://bugzilla.gnome.org/show_bug.cgi?id=620808
28143 gi/Makefile.am | 2 +
28144 gi/gimodule.c | 2 +
28145 gi/pygi-argument.c | 2 +
28146 gi/pygi-private.h | 1 +
28147 gi/pygi-property.c | 226
28148 +++++++++++++++++++++++++++++++++++++++++++++++
28149 gi/pygi-property.h | 39 ++++++++
28150 gi/pygi.h | 41 +++++++++
28151 gobject/pygobject.c | 9 ++
28152 tests/test_everything.py | 19 ++++
28153 9 files changed, 341 insertions(+)
28155 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
28156 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28157 Date: Tue Jul 27 21:32:41 2010 +0200
28159 Readd Gdk.Rectangle override for Gtk-2.0
28161 gi/overrides/Gdk.py | 19 +++++++++++++++++++
28162 1 file changed, 19 insertions(+)
28164 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
28165 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28166 Date: Tue Jul 27 18:25:27 2010 +0200
28168 Allow specifying a version when loading a typelib
28170 * gi/importer.py: Defer loading the typelib until first usage.
28171 * gi/module.py: Load the typelib in IntrospectionModule().
28172 * gi/overrides/*.py: Adapt to API change.
28173 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
28174 g_irepository_get_version.
28176 gi/importer.py | 26 ++++++-----------
28178 +++++++++++++++++++++++++-------------
28179 gi/overrides/GIMarshallingTests.py | 2 +-
28180 gi/overrides/Gdk.py | 2 +-
28181 gi/overrides/Gtk.py | 2 +-
28182 gi/pygi-repository.c | 56
28183 +++++++++++++++++++++++++++++++++++-
28184 6 files changed, 105 insertions(+), 41 deletions(-)
28186 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
28187 Author: Jonathan Matthew <jonathan@d14n.org>
28188 Date: Tue Jul 13 20:27:28 2010 +1000
28190 treat GFreeFunc as equivalent to GDestroyNotify when scanning
28193 https://bugzilla.gnome.org/show_bug.cgi?id=624232
28195 gi/pygi-callbacks.c | 3 ++-
28196 1 file changed, 2 insertions(+), 1 deletion(-)
28198 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
28199 Author: Simon van der Linden <svdlinden@gnome.org>
28200 Date: Mon Jul 26 17:00:23 2010 +0200
28202 Don't use == to compare doubles, use <= and =>.
28204 This avoids inequality due to small precisions difference.
28206 https://bugzilla.gnome.org/show_bug.cgi?id=625326
28208 tests/testhelpermodule.c | 2 +-
28209 1 file changed, 1 insertion(+), 1 deletion(-)
28211 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
28212 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28213 Date: Thu Jul 8 11:36:12 2010 +0200
28215 Allow passing ints as enum args
28217 https://bugzilla.gnome.org/show_bug.cgi?id=622584
28219 gi/pygi-argument.c | 23 +++++++++++++++++++++--
28220 tests/test_gi.py | 6 ++++--
28221 2 files changed, 25 insertions(+), 4 deletions(-)
28223 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
28224 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28225 Date: Sun Jul 25 17:30:40 2010 +0100
28227 Make error message less ambiguous
28229 https://bugzilla.gnome.org/show_bug.cgi?id=625095
28231 gi/pygi-callbacks.c | 3 ++-
28232 1 file changed, 2 insertions(+), 1 deletion(-)
28234 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
28235 Author: John (J5) Palmieri <johnp@redhat.com>
28236 Date: Thu Jun 24 10:07:12 2010 -0400
28238 fix passing in type names as a GType and add gtype unit tests
28240 * a simple call to pyg_type_from_object covers all the bases
28241 * added unit tests to check for correct GType value passing
28242 * fixed up tree override tests to also check different ways of
28245 https://bugzilla.gnome.org/show_bug.cgi?id=622605
28247 gi/pygi-argument.c | 8 +-------
28248 tests/test_everything.py | 27 +++++++++++++++++++++++++++
28249 tests/test_overrides.py | 6 ++----
28250 3 files changed, 30 insertions(+), 11 deletions(-)
28252 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
28253 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28254 Date: Mon Jul 26 11:54:47 2010 +0200
28256 Increase a bit verbosity of tests so people know which test failed
28258 tests/runtests.py | 2 +-
28259 1 file changed, 1 insertion(+), 1 deletion(-)
28261 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
28262 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28263 Date: Thu Jul 15 15:17:53 2010 +0200
28265 Actually add the files for GVariant foreign structs
28267 gi/pygi-foreign-gvariant.c | 63
28268 ++++++++++++++++++++++++++++++++++++++++++++++
28269 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
28270 2 files changed, 104 insertions(+)
28272 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
28273 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28274 Date: Thu Jul 15 13:31:33 2010 +0200
28276 Add foreign struct support for GVariant
28278 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
28279 * gi/pygi-foreign.c: Register foreign support for GVariant
28280 * gi/pygi-struct.c: properly release foreign structs
28281 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
28283 * tests/test_everything.py: Add basic tests for GVariant
28285 https://bugzilla.gnome.org/show_bug.cgi?id=619501
28287 gi/Makefile.am | 2 +
28288 gi/pygi-argument.c | 2 +-
28289 gi/pygi-foreign-cairo.c | 16 +++----
28290 gi/pygi-foreign.c | 107
28291 +++++++++++++++++++++++++++++------------------
28292 gi/pygi-foreign.h | 7 ++--
28293 gi/pygi-invoke.c | 18 ++++----
28294 gi/pygi-struct.c | 10 ++++-
28296 tests/test_everything.py | 8 ++++
28297 9 files changed, 110 insertions(+), 69 deletions(-)
28299 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
28300 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28301 Date: Mon Jul 12 11:19:06 2010 +0200
28303 Add HACKING to MANIFEST.in
28306 1 file changed, 1 insertion(+), 1 deletion(-)
28308 commit 40bf08ff001b119c7daf709197005ef6480216c5
28309 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28310 Date: Mon Jul 12 11:18:04 2010 +0200
28312 Add HACKING file with instructions for releasing
28314 HACKING | 14 ++++++++++++++
28315 1 file changed, 14 insertions(+)
28317 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
28318 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28319 Date: Mon Jul 12 11:09:58 2010 +0200
28321 Post release version bump to 2.21.6
28323 configure.ac | 2 +-
28324 1 file changed, 1 insertion(+), 1 deletion(-)
28326 commit 42a5a0897b38156ae010c396ea254abf502f35de
28327 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28328 Date: Mon Jul 12 11:00:29 2010 +0200
28330 Update NEWS and release PyGObject-2.21.5
28332 NEWS | 17 +++++++++++++++++
28333 1 file changed, 17 insertions(+)
28335 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
28336 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28337 Date: Mon Jul 12 11:00:20 2010 +0200
28339 Pre-release version bump to 2.21.5
28341 configure.ac | 2 +-
28342 1 file changed, 1 insertion(+), 1 deletion(-)
28344 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
28345 Author: Florian Müllner <florian.muellner@gmail.com>
28346 Date: Sat Jul 10 22:35:13 2010 +0200
28348 Shut up some compiler warnings
28350 Remove unused variables, make sure variables are properly initialized.
28352 https://bugzilla.gnome.org/show_bug.cgi?id=624066
28354 gi/pygi-callbacks.c | 1 -
28355 gi/pygi-closure.c | 2 +-
28356 gi/pygi-invoke.c | 1 -
28357 3 files changed, 1 insertion(+), 3 deletions(-)
28359 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
28360 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
28361 Date: Mon Jul 12 10:31:42 2010 +0200
28363 Adjust to API break in GObject-Introspection
28365 As of commit 5cb925b20, many type_tags for standard C types have
28366 been removed - namely machine-dependent integer types and derived
28367 types (size_t, time_t).
28369 Most removals are just synonyms of other types, so their removal
28370 should not have too much impact, with the exception of time_t,
28371 which was translated to a native datetime object before.
28373 Also remove time_t tests (Tomeu Vizoso).
28375 https://bugzilla.gnome.org/show_bug.cgi?id=624065
28377 configure.ac | 2 +-
28378 gi/importer.py | 7 +--
28379 gi/pygi-argument.c | 146
28380 -----------------------------------------------------
28381 gi/pygi-closure.c | 10 ----
28382 gi/pygi-info.c | 37 --------------
28383 tests/test_gi.py | 21 --------
28384 6 files changed, 5 insertions(+), 218 deletions(-)
28386 commit 27a417c71f8c122e46c7472663bb25c17413f103
28387 Author: John (J5) Palmieri <johnp@redhat.com>
28388 Date: Thu Jul 8 16:01:25 2010 -0400
28390 pass in the demo app so demos can use utility methods like requesting
28393 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
28394 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
28395 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
28396 demos/gtk-demo/demos/assistant.py | 2 +-
28397 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
28398 demos/gtk-demo/demos/button_box.py | 2 +-
28399 demos/gtk-demo/demos/clipboard.py | 8 +-------
28400 demos/gtk-demo/demos/colorselector.py | 2 +-
28401 demos/gtk-demo/demos/combobox.py | 8 +++++---
28402 demos/gtk-demo/demos/drawingarea.py | 2 +-
28403 demos/gtk-demo/demos/test.py | 2 +-
28404 demos/gtk-demo/gtk-demo.py | 6 +++---
28405 12 files changed, 37 insertions(+), 26 deletions(-)
28407 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
28408 Author: John (J5) Palmieri <johnp@redhat.com>
28409 Date: Thu Jul 8 15:38:07 2010 -0400
28411 demo fixes to keep up with Gtk+
28413 * treeiter changes to reflect caller-allocate annotations
28414 * fix some flag handling
28415 * use get_indicies_with_depth instead of get_indices for paths
28417 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
28418 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
28419 demos/gtk-demo/gtk-demo.py | 13 +++++--------
28420 3 files changed, 24 insertions(+), 23 deletions(-)
28422 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
28423 Author: John (J5) Palmieri <johnp@redhat.com>
28424 Date: Thu Jul 8 12:54:43 2010 -0400
28426 override test fixes for new GTK+ annotations
28428 tests/test_overrides.py | 23 +++++++++++++----------
28429 1 file changed, 13 insertions(+), 10 deletions(-)
28431 commit 7a400f8139b70ddfe7c949035e0851689951c647
28432 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28433 Date: Thu Jul 8 12:42:25 2010 +0200
28437 gi/pygi-argument.c | 4 ++--
28438 1 file changed, 2 insertions(+), 2 deletions(-)
28440 commit 39fd0a85a3de06b1b877d1125f91036409886373
28441 Author: John (J5) Palmieri <johnp@redhat.com>
28442 Date: Wed Jul 7 15:48:36 2010 -0400
28444 fix up treeiter usage due to caller-allocates annotations in gtk+
28446 * we still don't pass tests because the caller-allocates code path
28448 handle the case where the parameter is followed by a regular
28451 gi/overrides/Gtk.py | 7 +++----
28452 tests/test_overrides.py | 21 +++++++++++----------
28453 2 files changed, 14 insertions(+), 14 deletions(-)
28455 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
28456 Author: John (J5) Palmieri <johnp@redhat.com>
28457 Date: Tue Jul 6 17:50:10 2010 -0400
28459 add entry completion demo
28461 demos/gtk-demo/demos/Entry/entry_completion.py | 87
28462 ++++++++++++++++++++++++++
28463 1 file changed, 87 insertions(+)
28465 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
28466 Author: John (J5) Palmieri <johnp@redhat.com>
28467 Date: Tue Jul 6 17:49:18 2010 -0400
28471 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
28472 1 file changed, 2 insertions(+), 2 deletions(-)
28474 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
28475 Author: John (J5) Palmieri <johnp@redhat.com>
28476 Date: Tue Jul 6 17:27:04 2010 -0400
28478 add the Entry demo directory and the entry_buffer demo
28480 demos/gtk-demo/demos/Entry/__init__.py | 0
28481 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
28482 ++++++++++++++++++++++++++++++
28483 2 files changed, 73 insertions(+)
28485 commit f2b1d222120f055bec9339cca55c9cc90f538c00
28486 Author: John (J5) Palmieri <johnp@redhat.com>
28487 Date: Tue Jul 6 17:26:03 2010 -0400
28489 fix loading of demo modules to support sub modules
28491 demos/gtk-demo/gtk-demo.py | 9 +++++++--
28492 1 file changed, 7 insertions(+), 2 deletions(-)
28494 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
28495 Author: John (J5) Palmieri <johnp@redhat.com>
28496 Date: Tue Jul 6 15:56:34 2010 -0400
28498 add the ability to have demos in sub catagories
28500 demos/gtk-demo/gtk-demo.py | 76
28501 ++++++++++++++++++++++++++++++++--------------
28502 1 file changed, 54 insertions(+), 22 deletions(-)
28504 commit dc2249a3ecf339008351316217191d0551ccc588
28505 Author: Jose Aliste <jaliste@src.gnome.org>
28506 Date: Mon Jul 5 14:36:59 2010 -0400
28508 Add __name__ to DynamicModule class.
28513 1 file changed, 1 insertion(+)
28515 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
28516 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28517 Date: Mon Jul 5 16:11:07 2010 +0200
28519 Do not override GdkRectangle.
28521 This class was lately removed from gtk+ 3, so there is no need
28525 gi/overrides/Gdk.py | 19 -------------------
28526 1 file changed, 19 deletions(-)
28528 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
28529 Author: Philip Withnall <philip.withnall@collabora.co.uk>
28530 Date: Tue Jun 29 16:37:36 2010 +0100
28532 Add override for TreeModel implementing __len__()
28536 gi/overrides/Gtk.py | 11 +++++++++--
28537 tests/test_overrides.py | 5 +++++
28538 2 files changed, 14 insertions(+), 2 deletions(-)
28540 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
28541 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28542 Date: Tue Jun 29 11:27:13 2010 +0200
28544 Update NEWS and release PyGObject-2.21.4
28546 NEWS | 27 +++++++++++++++++++++++++--
28547 1 file changed, 25 insertions(+), 2 deletions(-)
28549 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
28550 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28551 Date: Tue Jun 29 10:55:03 2010 +0200
28553 Remove files from the makefiles
28555 gi/Makefile.am | 4 +---
28556 gobject/Makefile.am | 3 +--
28557 2 files changed, 2 insertions(+), 5 deletions(-)
28559 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
28560 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28561 Date: Tue Jun 29 10:27:39 2010 +0200
28563 Build the cairo shim as a python module so the _gi module stops
28566 https://bugzilla.gnome.org/show_bug.cgi?id=623021
28569 gi/Makefile.am | 38 ++++++++++-----
28570 gi/gimodule.c | 8 +---
28571 gi/pygi-argument.c | 10 +---
28572 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
28573 gi/pygi-foreign-cairo.h | 55 ---------------------
28574 gi/pygi-foreign.c | 125
28575 ++++++++++++++++++++++++++++--------------------
28576 gi/pygi-foreign.h | 31 ++++++------
28577 gi/pygi.h | 40 ++++++++++++++--
28578 9 files changed, 196 insertions(+), 169 deletions(-)
28580 commit a6a90551311bc64f037cbd442e13f70c30060871
28581 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28582 Date: Mon Jun 28 14:20:43 2010 +0200
28584 Remove pygi-external.h
28586 https://bugzilla.gnome.org/show_bug.cgi?id=623021
28588 gi/gimodule.c | 8 +++---
28589 gi/pygi-type.c | 4 +--
28590 gi/pygi-type.h | 2 +-
28591 gi/pygi.h | 54 ++++++++++++++++-----------------------
28592 gobject/Makefile.am | 6 +++++
28593 gobject/pygboxed.c | 2 +-
28594 gobject/pygenum.c | 2 +-
28595 gobject/pygflags.c | 2 +-
28596 gobject/pygi-external.h | 67
28597 -------------------------------------------------
28598 gobject/pygobject.c | 2 +-
28599 gobject/pygpointer.c | 2 +-
28600 11 files changed, 40 insertions(+), 111 deletions(-)
28602 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
28603 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28604 Date: Fri Jun 25 13:54:57 2010 +0200
28606 Revert "correctly handle floating objects in gtk"
28608 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
28613 tests/test_everything.py
28615 gi/gimodule.c | 13 -------------
28616 tests/test_everything.py | 3 ++-
28617 2 files changed, 2 insertions(+), 14 deletions(-)
28619 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
28620 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28621 Date: Fri Jun 25 13:49:04 2010 +0200
28623 Make valgrind happy again
28625 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
28626 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
28628 gi/pygi-argument.c | 1 +
28629 gi/pygi-info.c | 2 ++
28630 gi/pygi-invoke.c | 8 ++++++--
28631 3 files changed, 9 insertions(+), 2 deletions(-)
28633 commit 63afe55906c8637e913783e65b82b540b81bed65
28634 Author: John (J5) Palmieri <johnp@redhat.com>
28635 Date: Thu Jun 24 16:13:37 2010 -0400
28637 add drawing area demo
28639 demos/gtk-demo/demos/drawingarea.py | 249
28640 ++++++++++++++++++++++++++++++++++++
28641 1 file changed, 249 insertions(+)
28643 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
28644 Author: John (J5) Palmieri <johnp@redhat.com>
28645 Date: Thu Jun 24 14:11:00 2010 -0400
28649 demos/gtk-demo/gtk-demo.py | 2 ++
28650 1 file changed, 2 insertions(+)
28652 commit b9da82742701ed276b01dee39626cd71cbef8556
28653 Author: John (J5) Palmieri <johnp@redhat.com>
28654 Date: Thu Jun 24 13:56:18 2010 -0400
28656 rename iter to treeiter so we aren't using a python reserved word
28658 demos/gtk-demo/gtk-demo.py | 12 ++++++------
28659 1 file changed, 6 insertions(+), 6 deletions(-)
28661 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
28662 Author: John (J5) Palmieri <johnp@redhat.com>
28663 Date: Thu Jun 24 13:47:54 2010 -0400
28665 Fixup for change in buffer API
28667 * Part of buffer API dealing with TextIter now marked (out
28670 demos/gtk-demo/gtk-demo.py | 10 ++++------
28671 1 file changed, 4 insertions(+), 6 deletions(-)
28673 commit 8d9516a593a515290109401a9db7aa259b5aa35c
28674 Author: John (J5) Palmieri <johnp@redhat.com>
28675 Date: Wed Jun 23 17:04:33 2010 -0400
28677 add ListStore, TreeStore and TreeViewColumn APIs
28679 * this is enough to support the gtk-demo.py shell
28680 * TreeStore and ListStore allow passing in as an argument list
28681 of either python or GLib types to the constructor as a description
28682 of the columns in the model
28683 * TreeStore and ListStore override the append method, allowing
28684 the application developer to send in a list of column values
28685 for one row in the model. Unlike the append in C which
28686 just returns an iter that you can then add data to,
28687 this append actualy appends data in one step
28688 * TreeViewColumn overrides the constructor to allow the adding
28689 of attributes and a cell renderer when constructing the
28692 https://bugzilla.gnome.org/show_bug.cgi?id=620405
28694 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
28695 tests/test_overrides.py | 69
28696 +++++++++++++++++++++++++++++++++++++++++++++++++
28697 2 files changed, 128 insertions(+)
28699 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
28700 Author: Johan Dahlin <johan@gnome.org>
28701 Date: Wed Jun 23 14:34:28 2010 -0300
28703 [gi] Add -I../gobject to cflags
28705 Since we're no longer pulling in pygobject cflags,
28706 add this to be able to include pygobject.h
28708 gi/Makefile.am | 3 +++
28709 1 file changed, 3 insertions(+)
28711 commit 53a093198851e3ba5abd1f6c3314737decd401d8
28712 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28713 Date: Wed Jun 23 18:09:19 2010 +0200
28715 Add unit test for add_actions user data.
28717 tests/test_overrides.py | 20 +++++++++++++++-----
28718 1 file changed, 15 insertions(+), 5 deletions(-)
28720 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
28721 Author: Paolo Borelli <pborelli@gnome.org>
28722 Date: Wed Jun 23 18:06:46 2010 +0200
28724 Pass user_data param when adding actions
28726 gi/overrides/Gtk.py | 12 ++++++------
28727 1 file changed, 6 insertions(+), 6 deletions(-)
28729 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
28730 Author: John (J5) Palmieri <johnp@redhat.com>
28731 Date: Wed Jun 23 12:02:04 2010 -0400
28733 add an exception type to the try/except block
28735 * we should always specify what exception types we are expecting
28737 gi/overrides/Gtk.py | 6 +++---
28738 1 file changed, 3 insertions(+), 3 deletions(-)
28740 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
28741 Author: Johan Dahlin <johan@gnome.org>
28742 Date: Wed Jun 23 12:31:51 2010 -0300
28744 Avoid duplicating required versions
28746 Avoid duplicating the version of all required packages.
28747 Also remove cyclic dependency of pygobject
28749 https://bugzilla.gnome.org/show_bug.cgi?id=622503
28751 configure.ac | 9 +++++----
28752 1 file changed, 5 insertions(+), 4 deletions(-)
28754 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
28755 Author: John (J5) Palmieri <johnp@redhat.com>
28756 Date: Tue Jun 22 15:03:08 2010 -0400
28758 return PyList instead of PyTuple for array, return empty list for
28761 * returns an empty list when a NULL array (empty array) is encountered
28762 * fix tests to check for lists instead of tuples or None
28763 * test the ability to send in both None and empty list for arrays
28766 gi/pygi-argument.c | 7 ++--
28767 tests/test_everything.py | 5 ++-
28768 tests/test_gi.py | 84
28769 ++++++++++++++++++++++++------------------------
28770 3 files changed, 49 insertions(+), 47 deletions(-)
28772 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
28773 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28774 Date: Wed Jun 23 15:42:29 2010 +0200
28776 Fix 'make distcheck'
28778 * Makefile.am: put the tests dir to the end
28779 * g*/Makefile.am: build the .so when running make check
28780 * tests/Makefile.am: Don't pass the src dir to runtests.py and
28781 remove (hopefully) unneeded cruft.
28782 * tests/common.py: Don't add the src dir to the python path
28783 * tests/runtests.py: Don't pass the src dir to common.py
28785 Makefile.am | 4 +++-
28786 gi/Makefile.am | 1 +
28787 gio/Makefile.am | 1 +
28788 glib/Makefile.am | 2 +-
28789 gobject/Makefile.am | 1 +
28790 tests/Makefile.am | 17 ++---------------
28791 tests/common.py | 3 +--
28792 tests/runtests.py | 12 +++++-------
28793 8 files changed, 15 insertions(+), 26 deletions(-)
28795 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
28796 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28797 Date: Wed Jun 23 13:59:14 2010 +0200
28799 Allow building pygobject without introspection support by providing
28800 --disable-introspection to configure.
28802 Makefile.am | 6 +++++-
28803 configure.ac | 15 ++++++++-------
28804 gobject/pygi-external.h | 4 ++--
28805 tests/Makefile.am | 8 ++++++--
28806 tests/runtests.py | 21 +++++++--------------
28807 5 files changed, 28 insertions(+), 26 deletions(-)
28809 commit cc3ea77318ee572673d2a044deca9001366b0f08
28810 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28811 Date: Wed Jun 23 12:26:51 2010 +0200
28813 Make sure that sys.argv is a list and not a sequence.
28815 Because Python's optparse will try to do things on it that can
28816 only be done with list.
28818 gi/overrides/Gtk.py | 2 +-
28819 1 file changed, 1 insertion(+), 1 deletion(-)
28821 commit 3d72b8248cc534a689dee5679a729b2fba56c528
28822 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28823 Date: Wed Jun 23 12:26:02 2010 +0200
28825 Force loading the GObject typelib so we have available the wrappers
28826 for base classes such as GInitiallyUnowned.
28828 gi/__init__.py | 3 +++
28829 1 file changed, 3 insertions(+)
28831 commit c7c94ef349c30597f2f10d90f74718d678ec7add
28832 Author: John (J5) Palmieri <johnp@redhat.com>
28833 Date: Tue Jun 22 14:45:48 2010 -0400
28835 we shouldn't g_array_free NULL pointers
28837 https://bugzilla.gnome.org/show_bug.cgi?id=622425
28839 gi/pygi-info.c | 5 +++--
28840 1 file changed, 3 insertions(+), 2 deletions(-)
28842 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
28843 Merge: acf7b43 5f9cb91
28844 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28845 Date: Wed Jun 23 12:53:05 2010 +0200
28847 Merge branch 'pygi'
28849 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
28850 Author: John (J5) Palmieri <johnp@redhat.com>
28851 Date: Tue Jun 22 15:39:46 2010 -0400
28853 remove unneeded TextIter creation in the tests
28855 tests/test_overrides.py | 3 ---
28856 1 file changed, 3 deletions(-)
28858 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
28859 Author: John (J5) Palmieri <johnp@redhat.com>
28860 Date: Mon Jun 21 11:42:12 2010 -0400
28862 add override for TextBuffer
28864 * TextBuffer.create_tag takes vargs which we can't bind yet so
28866 to except a keyword list of properties
28867 * override the insert* methods so the developer does not have to
28869 - lengths are already encapsulated by a string in Python
28871 https://bugzilla.gnome.org/show_bug.cgi?id=620583
28873 gi/overrides/Gtk.py | 51
28874 +++++++++++++++++++++++++++++++++++++++++++++++++
28875 tests/test_overrides.py | 25 ++++++++++++++++++++++++
28876 2 files changed, 76 insertions(+)
28878 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
28879 Author: John (J5) Palmieri <johnp@redhat.com>
28880 Date: Tue Jun 22 12:46:39 2010 -0400
28882 fix up some build issues
28884 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
28886 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
28887 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
28889 make check.gdb work
28891 configure.ac | 2 +-
28892 tests/Makefile.am | 2 +-
28893 2 files changed, 2 insertions(+), 2 deletions(-)
28895 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
28896 Author: John (J5) Palmieri <johnp@redhat.com>
28897 Date: Tue Jun 22 11:50:30 2010 -0400
28899 make the overrides file git friendly by appending to __all__ after
28902 * modifying the __all__ line for each override would confuse git as
28903 each override needs to get seperate approval before comitting.
28905 this commits would not always go in in the same order as they
28907 Also different people working on the same file would start from
28909 commit states. This caused conflicts when patches were merged.
28910 * instead of modifying a single hard coded list we now append to
28912 after each override. This creates distinct blocks of changed text
28913 which will not conflict
28915 gi/overrides/GIMarshallingTests.py | 10 ++++------
28916 gi/overrides/Gdk.py | 8 ++++----
28917 gi/overrides/Gtk.py | 7 +++++--
28918 3 files changed, 13 insertions(+), 12 deletions(-)
28920 commit 49321b934603e1ec69fb04082c63902970907d2b
28921 Author: Paolo Borelli <pborelli@gnome.org>
28922 Date: Sun Jun 20 13:27:34 2010 +0200
28924 Override Dialog constructor and add_buttons method
28926 gi/overrides/Gtk.py | 46
28927 +++++++++++++++++++++++++++++++++++++++++++++-
28928 tests/test_overrides.py | 16 ++++++++++++++++
28929 2 files changed, 61 insertions(+), 1 deletion(-)
28931 commit acf7b43a41ce814f0c57ce609a090826f04771db
28932 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28933 Date: Mon Jun 21 18:17:38 2010 +0200
28935 Post release version bump to 2.21.4
28937 configure.ac | 2 +-
28938 1 file changed, 1 insertion(+), 1 deletion(-)
28940 commit a7fa8b80406227a06cf18f8675dbc1f471283829
28941 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28942 Date: Mon Jun 21 18:10:32 2010 +0200
28944 Update NEWS and release PyGObject-2.21.3
28947 1 file changed, 7 insertions(+)
28949 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
28950 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
28951 Date: Tue Jul 21 16:28:34 2009 +0200
28953 Proper handling of null-ok in virtual methods
28955 https://bugzilla.gnome.org/show_bug.cgi?id=589253
28957 codegen/codegen.py | 2 ++
28958 codegen/reversewrapper.py | 18 +++++++++++++++---
28959 2 files changed, 17 insertions(+), 3 deletions(-)
28961 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
28962 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28963 Date: Mon Jun 21 17:34:54 2010 +0200
28965 Add *~ and *.orig to .gitignore
28967 .gitignore | 5 ++++-
28968 1 file changed, 4 insertions(+), 1 deletion(-)
28970 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
28971 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28972 Date: Mon Jun 21 17:33:56 2010 +0200
28974 Fall back to use the floating references API in glib if there isn't
28975 a sinkfunc defined.
28977 * tests/*: Add ref counting tests for floating objects
28978 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
28980 or g_object_ref if there isn't a sinkfunc defined. Make sure that
28981 pygobject_sink gets called only once per GObject instance.
28983 https://bugzilla.gnome.org/show_bug.cgi?id=583909
28985 gobject/gobjectmodule.c | 2 -
28986 gobject/pygobject.c | 50 +++++++++++++---------
28987 gobject/pygobject.h | 1 +
28988 tests/Makefile.am | 2 +
28989 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
28990 tests/test-floating.h | 60 ++++++++++++++++++++++++++
28991 tests/test_gobject.py | 19 ++++++++-
28992 tests/testhelpermodule.c | 109
28993 +++++++++++++++++++++++++++++++++++++++++++++++
28994 8 files changed, 315 insertions(+), 23 deletions(-)
28996 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
28997 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28998 Date: Mon Jun 21 13:06:13 2010 +0200
29000 Revert "Drop sinkfuncs."
29002 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
29004 gobject/gobjectmodule.c | 3 ++-
29005 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
29006 gobject/pygobject.h | 1 -
29007 3 files changed, 36 insertions(+), 10 deletions(-)
29009 commit b2661054d6bde673484eab472e69ca021124528d
29010 Author: Johan Dahlin <johan@gnome.org>
29011 Date: Sun Jun 20 11:09:57 2010 -0300
29015 For reasons outlined at:
29016 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
29018 Makefile.am | 14 +-
29019 configure.ac | 29 +-
29020 demos/gtk-demo/demos/__init__.py | 0
29021 demos/gtk-demo/demos/appwindow.py | 411 +++++
29022 demos/gtk-demo/demos/assistant.py | 134 ++
29023 demos/gtk-demo/demos/builder.py | 57 +
29024 demos/gtk-demo/demos/button_box.py | 121 ++
29025 demos/gtk-demo/demos/clipboard.py | 238 +++
29026 demos/gtk-demo/demos/colorselector.py | 121 ++
29027 demos/gtk-demo/demos/combobox.py | 282 ++++
29028 demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
29030 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
29031 demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
29033 demos/gtk-demo/demos/data/demo.ui | 258 ++++
29034 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
29035 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
29036 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
29037 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
29038 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
29039 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29040 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29041 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29042 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29043 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29044 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29045 demos/gtk-demo/demos/test.py | 14 +
29046 demos/gtk-demo/gtk-demo.py | 266 ++++
29047 examples/Makefile.am | 2 +-
29048 examples/cairo-demo.py | 121 ++
29049 gi/Makefile.am | 4 +-
29050 gi/demos/gtk-demo/demos/__init__.py | 0
29051 gi/demos/gtk-demo/demos/appwindow.py | 411 -----
29052 gi/demos/gtk-demo/demos/assistant.py | 134 --
29053 gi/demos/gtk-demo/demos/builder.py | 57 -
29054 gi/demos/gtk-demo/demos/button_box.py | 121 --
29055 gi/demos/gtk-demo/demos/clipboard.py | 238 ---
29056 gi/demos/gtk-demo/demos/colorselector.py | 121 --
29057 gi/demos/gtk-demo/demos/combobox.py | 282 ----
29058 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
29060 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
29061 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
29063 gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
29064 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
29065 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
29066 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
29067 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
29068 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
29069 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
29070 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
29071 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
29072 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
29073 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
29074 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
29075 gi/demos/gtk-demo/demos/test.py | 14 -
29076 gi/demos/gtk-demo/gtk-demo.py | 266 ----
29077 gi/examples/Makefile.am | 2 -
29078 gi/examples/cairo-demo.py | 121 --
29079 gi/tests/test_everything.py | 270 ----
29080 gi/tests/test_gi.py | 1624
29081 --------------------
29082 gi/tests/test_overrides.py | 132 --
29083 pygi-Makefile.am | 28 -
29084 pygi-configure.ac | 60 -
29086 pygobject.doap | 16 +-
29087 tests/Makefile.am | 23 +-
29088 tests/test_everything.py | 270 ++++
29089 tests/test_gi.py | 1624
29090 ++++++++++++++++++++
29091 tests/test_overrides.py | 132 ++
29092 68 files changed, 4124 insertions(+), 4186 deletions(-)
29094 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
29095 Merge: ec8d148 fa91dfd
29096 Author: Johan Dahlin <johan@gnome.org>
29097 Date: Sun Jun 20 10:53:46 2010 -0300
29099 Merge branch 'pygi-merge'
29101 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
29102 Author: Johan Dahlin <johan@gnome.org>
29103 Date: Sun Jun 20 10:53:36 2010 -0300
29110 autogen.sh | 166 --
29111 configure.ac | 60 -
29112 demos/gtk-demo/demos/__init__.py | 0
29113 demos/gtk-demo/demos/appwindow.py | 411 -----
29114 demos/gtk-demo/demos/assistant.py | 134 --
29115 demos/gtk-demo/demos/builder.py | 57 -
29116 demos/gtk-demo/demos/button_box.py | 121 --
29117 demos/gtk-demo/demos/clipboard.py | 238 ---
29118 demos/gtk-demo/demos/colorselector.py | 121 --
29119 demos/gtk-demo/demos/combobox.py | 282 ----
29120 demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
29122 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
29123 demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
29125 demos/gtk-demo/demos/data/demo.ui | 258 ----
29126 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
29127 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
29128 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
29129 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
29130 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
29131 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
29132 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
29133 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
29134 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
29135 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
29136 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
29137 demos/gtk-demo/demos/test.py | 14 -
29138 demos/gtk-demo/gtk-demo.py | 266 ----
29139 examples/Makefile.am | 2 -
29140 examples/cairo-demo.py | 121 --
29141 gi/.gitignore | 40 +
29143 gi/demos/gtk-demo/demos/__init__.py | 0
29144 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
29145 gi/demos/gtk-demo/demos/assistant.py | 134 ++
29146 gi/demos/gtk-demo/demos/builder.py | 57 +
29147 gi/demos/gtk-demo/demos/button_box.py | 121 ++
29148 gi/demos/gtk-demo/demos/clipboard.py | 238 +++
29149 gi/demos/gtk-demo/demos/colorselector.py | 121 ++
29150 gi/demos/gtk-demo/demos/combobox.py | 282 ++++
29151 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
29153 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
29154 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
29156 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
29157 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
29158 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
29159 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
29160 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
29161 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
29162 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29163 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29164 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29165 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29166 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29167 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29168 gi/demos/gtk-demo/demos/test.py | 14 +
29169 gi/demos/gtk-demo/gtk-demo.py | 266 ++++
29170 gi/examples/Makefile.am | 2 +
29171 gi/examples/cairo-demo.py | 121 ++
29172 gi/tests/Makefile.am | 22 +
29173 gi/tests/runtests.py | 21 +
29174 gi/tests/test_everything.py | 270 ++++
29175 gi/tests/test_gi.py | 1624
29176 ++++++++++++++++++++
29177 gi/tests/test_overrides.py | 132 ++
29178 pygi-Makefile.am | 28 +
29179 pygi-configure.ac | 60 +
29180 tests/Makefile.am | 22 -
29181 tests/runtests.py | 21 -
29182 tests/test_everything.py | 270 ----
29183 tests/test_gi.py | 1624
29184 --------------------
29185 tests/test_overrides.py | 132 --
29186 73 files changed, 4248 insertions(+), 4414 deletions(-)
29188 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
29189 Author: Johan Dahlin <johan@gnome.org>
29190 Date: Sun Jun 20 10:49:55 2010 -0300
29192 [giounix] Make it possible to compile on glib 2.20
29194 gio/unix.override | 2 ++
29195 1 file changed, 2 insertions(+)
29197 commit 606018a2c551d890fc2bb987d99683f777598bda
29198 Author: John (J5) Palmieri <johnp@redhat.com>
29199 Date: Mon Jun 7 16:32:29 2010 -0400
29201 Don't free transfer full struct pointers because we can't do it safely
29203 * Most libraries which are sending back structs as transfer-full
29204 are either annotated incorrectly or should be sending boxed types
29205 * It is much better to throw a warning and leak memory than it is to
29206 call free on an unknown struct pointer. Doing so may cause
29208 * Specific case is gdk_atom_intern where a GdkAtom is not actually
29210 but an integer stuffed into a pointer type
29212 https://bugzilla.gnome.org/show_bug.cgi?id=620898
29214 gi/pygi-argument.c | 9 ++++++++-
29215 gi/pygi-invoke.c | 11 +++++++++--
29216 2 files changed, 17 insertions(+), 3 deletions(-)
29218 commit 433ee2aa029a1482961f478252a06492bd3498e6
29219 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
29220 Date: Tue Jun 15 11:42:28 2010 +0200
29222 Release the lock when potentially invoking Python code.
29224 * gobject/pygobject.c: Release GIL lock when retrieving properties
29225 and when clearing a PyGObject.
29227 https://bugzilla.gnome.org/show_bug.cgi?id=530935
29229 gobject/pygobject.c | 11 ++++++++++-
29230 1 file changed, 10 insertions(+), 1 deletion(-)
29232 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
29233 Author: John (J5) Palmieri <johnp@redhat.com>
29234 Date: Mon Jun 14 18:36:57 2010 -0400
29236 add combobox example
29238 demos/gtk-demo/demos/combobox.py | 282
29239 +++++++++++++++++++++++++++++++++++++++
29240 1 file changed, 282 insertions(+)
29242 commit a8668694da59c2dd959c875f13337e64ca22f7e9
29243 Author: John (J5) Palmieri <johnp@redhat.com>
29244 Date: Mon Jun 14 13:43:53 2010 -0400
29246 fix leak in the allow None callbacks patch
29248 gi/pygi-callbacks.c | 4 ++--
29249 1 file changed, 2 insertions(+), 2 deletions(-)
29251 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
29252 Author: John (J5) Palmieri <johnp@redhat.com>
29253 Date: Mon Jun 7 17:12:09 2010 -0400
29255 Allow passing None for callbacks which are annotated allow-none
29257 * Many callbacks are optional parameters yet we were asserting on
29259 * We now check to see if allow_none is set when setting up callbacks,
29260 if it is set and py_function == Py_None, we set the closure to NULL
29262 * pygi-invoke.c now checks to see if the closure == NULL when setting
29264 * if it is NULL there is no reason to set the the destroy notify
29266 so we skip that too
29268 https://bugzilla.gnome.org/show_bug.cgi?id=620906
29270 gi/pygi-callbacks.c | 7 +++++++
29271 gi/pygi-invoke.c | 14 +++++++++++---
29272 tests/test_everything.py | 4 ++++
29273 3 files changed, 22 insertions(+), 3 deletions(-)
29275 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
29276 Author: Paolo Borelli <pborelli@gnome.org>
29277 Date: Mon Jun 14 19:06:45 2010 +0200
29279 Fix to match latest gtk annotations
29281 demos/gtk-demo/demos/appwindow.py | 3 +--
29282 1 file changed, 1 insertion(+), 2 deletions(-)
29284 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
29285 Author: John (J5) Palmieri <johnp@redhat.com>
29286 Date: Tue Jun 8 15:03:49 2010 -0400
29288 fix variable member names in Gdk.Color override
29290 * override was using r, g, and b for the red, green, blue components
29292 the struct specifies red, green, blue so we need to use those names
29294 https://bugzilla.gnome.org/show_bug.cgi?id=621007
29296 gi/overrides/Gdk.py | 10 +++++-----
29297 tests/test_overrides.py | 6 +++---
29298 2 files changed, 8 insertions(+), 8 deletions(-)
29300 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
29301 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29302 Date: Thu Jun 10 20:23:13 2010 +0200
29304 Post release version bump to 2.21.3
29306 configure.ac | 2 +-
29307 1 file changed, 1 insertion(+), 1 deletion(-)
29309 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
29310 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29311 Date: Thu Jun 10 20:21:13 2010 +0200
29313 Update NEWS and release PyGObject-2.21.2
29315 NEWS | 26 ++++++++++++++++++++++++++
29316 1 file changed, 26 insertions(+)
29318 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
29319 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29320 Date: Thu Jun 10 20:09:07 2010 +0200
29322 Remove deleted files from the Makefile.
29329 tests/Makefile.am | 4 ----
29330 1 file changed, 4 deletions(-)
29332 commit 495a301cb81c5e914bcef905999265604faa27fc
29333 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29334 Date: Thu Jun 10 19:39:09 2010 +0200
29336 Add myself to the maintainers list in the README
29339 1 file changed, 1 insertion(+)
29341 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
29342 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29343 Date: Thu Jun 10 19:24:31 2010 +0200
29347 * use g_object methods to sink floating refs instead of allowing
29348 custom sink functions to be registered
29349 * we now sink inside of pygobject_new_full to handle cases where
29350 a library creates its own gobject via g_object_new and just
29351 needs a python wrapper
29352 - a previous patch had done the sink when creating the gobject,
29353 since it needs to call pygobject_new_full to wrap the object,
29354 this patch handles both cases (e.g. pygobject created object
29355 and externally created gobject)
29357 https://bugzilla.gnome.org/show_bug.cgi?id=583909
29359 gobject/gobjectmodule.c | 3 +--
29360 gobject/pygobject.c | 42 ++++++++----------------------------------
29361 gobject/pygobject.h | 1 +
29362 3 files changed, 10 insertions(+), 36 deletions(-)
29364 commit 07df124dc06cf506634e95d08397f50a2d07fce2
29365 Author: Steve Frécinaux <code@istique.net>
29366 Date: Mon Jun 7 09:47:23 2010 +0200
29368 Make the "wrong argument count" exception more explicit.
29370 Previously we had messages like this one:
29371 TypeError: takes exactly 2 argument(s) (1 given)
29373 With this patch, they become like this:
29374 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
29376 It makes things much easier to debug when there are several pygi calls
29379 https://bugzilla.gnome.org/show_bug.cgi?id=620804
29381 gi/pygi-invoke.c | 3 ++-
29382 tests/test_everything.py | 6 ++++++
29383 2 files changed, 8 insertions(+), 1 deletion(-)
29385 commit b435319fe830a909cc4d414533b3b66574931e24
29386 Author: Steve Frécinaux <code@istique.net>
29387 Date: Mon Jun 7 09:54:06 2010 +0200
29389 Use bash explicitely in the pre-commit hook.
29391 The "builtin" command is not available in all sh flavours, so the
29392 pre-commit hook is going to fail if you use dash or others instead of
29393 bash as your default 'sh' alias.
29395 https://bugzilla.gnome.org/show_bug.cgi?id=620805
29397 pre-commit.hook | 2 +-
29398 1 file changed, 1 insertion(+), 1 deletion(-)
29400 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
29401 Author: John (J5) Palmieri <johnp@redhat.com>
29402 Date: Tue Jun 8 16:55:26 2010 -0400
29406 demos/gtk-demo/demos/colorselector.py | 121
29407 ++++++++++++++++++++++++++++++++++
29408 1 file changed, 121 insertions(+)
29410 commit ec598128de9e90dccab662ed2f5511c8d659e156
29411 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29412 Date: Tue Jun 8 15:48:33 2010 +0200
29414 Update PyGObject dependency to 2.21.1
29416 configure.ac | 2 +-
29417 1 file changed, 1 insertion(+), 1 deletion(-)
29419 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
29420 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29421 Date: Tue Jun 8 10:40:39 2010 +0200
29423 Add myself to maintainers
29425 MAINTAINERS | 4 ++++
29426 pygobject.doap | 7 +++++++
29427 2 files changed, 11 insertions(+)
29429 commit 46c91a11d448e5e11d142d3362aff1483226bca4
29430 Author: Colin Walters <walters@verbum.org>
29431 Date: Wed May 5 13:54:27 2010 -0400
29433 Clear error if we failed the import
29435 Otherwise we leave the exception set which causes bizarre problems
29436 later in unrelated code.
29438 https://bugzilla.redhat.com/show_bug.cgi?id=569885
29440 https://bugzilla.gnome.org/show_bug.cgi?id=617796
29442 gobject/pygi-external.h | 2 ++
29443 1 file changed, 2 insertions(+)
29445 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
29446 Author: John (J5) Palmieri <johnp@redhat.com>
29447 Date: Mon Jun 7 17:19:30 2010 -0400
29449 fix some typos and add a link to a patch which fixes a FIXME
29451 demos/gtk-demo/demos/clipboard.py | 7 +++++--
29452 1 file changed, 5 insertions(+), 2 deletions(-)
29454 commit e7fabb5024d94a3166766e5fca740741bc50380a
29455 Author: John (J5) Palmieri <johnp@redhat.com>
29456 Date: Mon Jun 7 16:21:42 2010 -0400
29460 demos/gtk-demo/demos/clipboard.py | 235
29461 ++++++++++++++++++++++++++++++++++++++
29462 1 file changed, 235 insertions(+)
29464 commit e0f1dce5ec58d071759f886697501da6eeea549d
29465 Author: John (J5) Palmieri <johnp@redhat.com>
29466 Date: Sun Jun 6 13:27:46 2010 -0400
29468 set is_fully_bound to false
29470 demos/gtk-demo/demos/button_box.py | 2 +-
29471 1 file changed, 1 insertion(+), 1 deletion(-)
29473 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
29474 Author: John (J5) Palmieri <johnp@redhat.com>
29475 Date: Sat Jun 5 23:53:36 2010 -0400
29477 new button box demo
29479 demos/gtk-demo/demos/button_box.py | 121
29480 +++++++++++++++++++++++++++++++++++++
29481 1 file changed, 121 insertions(+)
29483 commit e9f5f8a829121e59367bae690442150f144946ad
29484 Author: John (J5) Palmieri <johnp@redhat.com>
29485 Date: Sat Jun 5 23:26:03 2010 -0400
29487 set is_fully_bound to True fro builder example
29489 demos/gtk-demo/demos/builder.py | 2 +-
29490 1 file changed, 1 insertion(+), 1 deletion(-)
29492 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
29493 Author: John (J5) Palmieri <johnp@redhat.com>
29494 Date: Sat Jun 5 23:24:36 2010 -0400
29496 fix up formatting in demos
29498 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
29499 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
29500 demos/gtk-demo/demos/builder.py | 2 +-
29501 3 files changed, 21 insertions(+), 21 deletions(-)
29503 commit ffca02536bafb55e8c3bce31cd992365207429f6
29504 Author: John (J5) Palmieri <johnp@redhat.com>
29505 Date: Sat Jun 5 14:54:47 2010 -0400
29507 add the builder demo
29509 demos/gtk-demo/demos/builder.py | 57
29510 +++++++++++++++++++++++++++++++++++++++++
29511 1 file changed, 57 insertions(+)
29513 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
29514 Author: John (J5) Palmieri <johnp@redhat.com>
29515 Date: Fri Jun 4 17:48:24 2010 -0400
29519 demos/gtk-demo/demos/assistant.py | 134
29520 ++++++++++++++++++++++++++++++++++++++
29521 1 file changed, 134 insertions(+)
29523 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
29524 Author: John (J5) Palmieri <johnp@redhat.com>
29525 Date: Fri Jun 4 16:56:46 2010 -0400
29527 add formatting rules and copyright notice
29529 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
29530 1 file changed, 19 insertions(+)
29532 commit 03b99692b81631d397ab62dcd263341465bcee88
29533 Author: John (J5) Palmieri <johnp@redhat.com>
29534 Date: Fri Jun 4 16:26:54 2010 -0400
29536 add the gtk-demo app along with a couple of demos
29538 * note there are still a couple of patches in bugzilla that are
29541 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
29542 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
29544 demos/gtk-demo/demos/__init__.py | 0
29545 demos/gtk-demo/demos/appwindow.py | 393
29546 +++++++++++++++++++++++
29547 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
29548 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
29549 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
29550 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
29551 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
29552 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
29553 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
29554 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
29555 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
29556 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29557 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29558 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29559 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29560 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29561 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29562 demos/gtk-demo/demos/test.py | 14 +
29563 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
29564 19 files changed, 931 insertions(+)
29566 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
29567 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29568 Date: Fri Jun 4 11:25:08 2010 +0200
29570 Update gobject-introspection dependency to 0.6.14
29572 configure.ac | 2 +-
29573 1 file changed, 1 insertion(+), 1 deletion(-)
29575 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
29576 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29577 Date: Fri Jun 4 11:23:41 2010 +0200
29579 Post-release version bump to 0.6.1
29581 configure.ac | 2 +-
29582 1 file changed, 1 insertion(+), 1 deletion(-)
29584 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
29585 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29586 Date: Fri Jun 4 08:29:42 2010 +0200
29588 Pre-release version bump 0.6.0
29590 configure.ac | 2 +-
29591 1 file changed, 1 insertion(+), 1 deletion(-)
29593 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
29594 Author: John (J5) Palmieri <johnp@redhat.com>
29595 Date: Fri May 28 10:03:11 2010 -0400
29597 support for caller-allocates annotations for structs
29599 * out caller-allocates parameters expect an already constructed
29601 to be passed in by reference. It is then modified and the caller
29603 modified value. We support this by using only one level of pointer
29605 * Only structs are considered to be caller-allocates parameters
29607 they are marked as such by GI. This is because the GI scanner
29609 enough to correctly guess 100% of the time
29610 * GValues are a special case of a caller-allocates parameter when
29612 up (e.g. g_value_unset is called). GValues make no sense in
29614 language. Developers should never deal with them.
29616 https://bugzilla.gnome.org/show_bug.cgi?id=620406
29618 gi/pygi-invoke.c | 73
29619 +++++++++++++++++++++++++++++++++++++++++++++---
29620 tests/test_everything.py | 28 +++++++++++++++++++
29621 2 files changed, 97 insertions(+), 4 deletions(-)
29623 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
29624 Author: John (J5) Palmieri <johnp@redhat.com>
29625 Date: Wed Jun 2 14:14:16 2010 -0400
29627 don't import gobject directly in the tests
29629 * use from gi.repository import GObject
29631 tests/test_overrides.py | 5 ++---
29632 1 file changed, 2 insertions(+), 3 deletions(-)
29634 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
29635 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29636 Date: Tue Jun 1 14:28:57 2010 +0200
29638 Wrap C arrays in structs as GArrays before converting to Python
29640 https://bugzilla.gnome.org/show_bug.cgi?id=620247
29642 gi/pygi-info.c | 11 +++++++++++
29643 tests/test_gi.py | 17 +++++++++++++++++
29644 2 files changed, 28 insertions(+)
29646 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
29647 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29648 Date: Wed May 26 13:20:27 2010 +0200
29650 Install pre-commit hook that checks the code changes for style
29653 autogen.sh | 7 +++++++
29654 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
29655 2 files changed, 46 insertions(+)
29657 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
29658 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29659 Date: Wed May 26 12:19:17 2010 +0200
29661 Apply consistent whitespace formatting with:
29663 astyle -p -d -c -S -U -M60
29665 This won't affect git blame nor git diff if the switch -w is used.
29667 gi/gimodule.c | 138 +++----
29668 gi/pygi-argument.c | 960
29669 ++++++++++++++++++++++++------------------------
29670 gi/pygi-boxed.c | 108 +++---
29671 gi/pygi-callbacks.c | 154 ++++----
29672 gi/pygi-callbacks.h | 8 +-
29673 gi/pygi-closure.c | 270 +++++++-------
29674 gi/pygi-closure.h | 18 +-
29675 gi/pygi-foreign-cairo.c | 36 +-
29676 gi/pygi-foreign-cairo.h | 36 +-
29677 gi/pygi-foreign.c | 54 +--
29678 gi/pygi-foreign.h | 10 +-
29679 gi/pygi-info.c | 646 ++++++++++++++++----------------
29680 gi/pygi-invoke.c | 380 +++++++++----------
29681 gi/pygi-repository.c | 114 +++---
29682 gi/pygi-struct.c | 88 ++---
29683 gi/pygi-type.c | 32 +-
29685 gi/pygobject-external.h | 14 +-
29686 18 files changed, 1544 insertions(+), 1542 deletions(-)
29688 commit 6156f15cb15b4c20e975527227135d49207c520a
29689 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29690 Date: Tue May 25 14:08:51 2010 +0200
29692 Prepend gi.repository to the __module__ attribute of wrapper classes.
29694 https://bugzilla.gnome.org/show_bug.cgi?id=619597
29696 gi/module.py | 4 ++--
29697 tests/test_gi.py | 4 +++-
29698 2 files changed, 5 insertions(+), 3 deletions(-)
29700 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
29701 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29702 Date: Tue May 25 14:17:13 2010 +0200
29704 Correctly identify at creation time:
29706 * if the class is defined in python -> hook up vfuncs
29707 * if the class wraps a type from a .typelib -> set atributes
29708 * else (GLocalFile) -> do nothing
29710 https://bugzilla.gnome.org/show_bug.cgi?id=619604
29712 gi/types.py | 15 +++++++++++----
29713 1 file changed, 11 insertions(+), 4 deletions(-)
29715 commit 686e10fcdb108af9758eb025a3447813c3513a93
29716 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29717 Date: Thu Apr 29 10:55:13 2010 +0200
29719 Dont complain if another base has implemented the method
29721 https://bugzilla.gnome.org/show_bug.cgi?id=617153
29723 gi/types.py | 3 ++-
29724 1 file changed, 2 insertions(+), 1 deletion(-)
29726 commit 9f34d120845d936b04546a5cea599ec67e9181a7
29727 Author: John (J5) Palmieri <johnp@redhat.com>
29728 Date: Mon May 24 16:16:50 2010 -0400
29730 fix up Builder override, add new override methods, and add unit tests
29732 * check for flags when connecting signals now that we get gi
29734 * override the add_from_string and add_objects_from string overrides
29736 that you don't have to pass in the length of the buffer
29737 * add test that loads objects from strings and connects them to
29740 gi/overrides/Gtk.py | 19 +++++++++++--
29741 tests/test_overrides.py | 72
29742 ++++++++++++++++++++++++++++++++++++++++++++++---
29743 2 files changed, 86 insertions(+), 5 deletions(-)
29745 commit 1561d2977691f1cb8684f183a2e274c47960d931
29746 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29747 Date: Mon May 24 18:48:10 2010 +0200
29749 Improve handling of subclasses without __gtype_name__
29751 Gives a better message at type registration.
29753 https://bugzilla.gnome.org/show_bug.cgi?id=616849
29755 gi/gimodule.c | 9 +++++++++
29756 tests/test_gi.py | 13 ++++++++++++-
29757 2 files changed, 21 insertions(+), 1 deletion(-)
29759 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
29760 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29761 Date: Fri Apr 30 18:17:50 2010 +0200
29763 Add support for GArray args
29765 https://bugzilla.gnome.org/show_bug.cgi?id=617054
29767 gi/pygi-invoke.c | 11 +++++++----
29768 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
29769 2 files changed, 57 insertions(+), 4 deletions(-)
29771 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
29772 Author: John (J5) Palmieri <johnp@redhat.com>
29773 Date: Mon May 24 11:48:16 2010 -0400
29775 check refcounting of callback userdata in unit tests
29777 tests/test_everything.py | 18 ++++++++++++++++++
29778 1 file changed, 18 insertions(+)
29780 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
29781 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29782 Date: Sat May 22 15:12:37 2010 +0200
29784 Add support for out args in callbacks
29786 This patch refactors argument marshalling for closures in
29787 preparation for more complete support.
29789 Also fixes a bug in the memory management of user_data args.
29791 https://bugzilla.gnome.org/show_bug.cgi?id=617780
29793 gi/pygi-closure.c | 335
29794 +++++++++++++++++++++++++++++++++++++++++-------------
29795 tests/test_gi.py | 4 +
29796 2 files changed, 263 insertions(+), 76 deletions(-)
29798 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
29799 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29800 Date: Sun May 23 10:59:27 2010 +0200
29802 If None is passed to an interface which takes an object, convert it to
29805 * without this patch PyGI treats the None object as a PyGObject
29807 extracting garbage data causing a crash
29808 * None's equivalent in C is NULL so we must provide a special case
29810 marshal the None as NULL
29812 https://bugzilla.gnome.org/show_bug.cgi?id=617880
29814 gi/pygi-argument.c | 5 +++++
29815 tests/test_everything.py | 6 ++++++
29816 2 files changed, 11 insertions(+)
29818 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
29819 Author: John (J5) Palmieri <johnp@redhat.com>
29820 Date: Sat May 22 14:06:37 2010 +0200
29822 correctly handle floating objects in gtk
29824 * this is a stopgap so we work with older pygobject libraries
29825 * there is a patch at
29826 https://bugzilla.gnome.org/show_bug.cgi?id=583909
29827 which adds the correct fix to pygobject
29828 * once pygobject accepts the above patch this patch does not need to
29829 be reverted because pygobject_register_sinkfunc becomes a noop
29830 * add tests (Tomeu)
29832 https://bugzilla.gnome.org/show_bug.cgi?id=619007
29834 gi/gimodule.c | 12 ++++++++++++
29835 tests/test_everything.py | 3 +++
29836 2 files changed, 15 insertions(+)
29838 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
29839 Author: John (J5) Palmieri <johnp@redhat.com>
29840 Date: Sat May 22 13:21:30 2010 +0200
29842 Return an empty list when a NULL GList and GSList is returned
29844 * In GTK a GList * and GSList set to NULL is equivilant to empty
29846 GTK list methods can take a NULL and treat it as an empty list. e.g.
29847 g_list_length(NULL) returns 0
29848 * PyGtk consitently returns empty list when a NULL is returned for
29851 * Many PyGtk apps do this:
29852 for i in range(len(obj.get_list())):
29854 * If we were to continue to return None, they would have to add
29856 which is needlessly verbose and isn't very "pythonic"
29858 https://bugzilla.gnome.org/show_bug.cgi?id=619232
29860 gi/pygi-argument.c | 6 ------
29861 tests/test_everything.py | 4 ++--
29862 2 files changed, 2 insertions(+), 8 deletions(-)
29864 commit 71a2148b00dfdda99e0d961ae39b901608724e59
29865 Author: Steve Frécinaux <code@istique.net>
29866 Date: Fri May 21 19:05:03 2010 +0200
29868 Fix warning in configure.
29870 The warning is caused by the use of the construction 'CFLAGS+=' in a
29871 sh version that doesn't understand it (in this case, 'dash').
29873 https://bugzilla.gnome.org/show_bug.cgi?id=619311
29875 configure.ac | 2 +-
29876 1 file changed, 1 insertion(+), 1 deletion(-)
29878 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
29879 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29880 Date: Thu Apr 29 13:06:15 2010 +0200
29882 GTypeInterface cannot be unrefed
29884 https://bugzilla.gnome.org/show_bug.cgi?id=617159
29886 gi/gimodule.c | 4 +++-
29887 1 file changed, 3 insertions(+), 1 deletion(-)
29889 commit ab1aaff108d23aabd28c3634edfb67236eb55460
29890 Author: John (J5) Palmieri <johnp@redhat.com>
29891 Date: Sat May 22 13:09:48 2010 +0200
29893 fix NULL array unit tests and fix crasher when sending None as
29896 * Unit tests were wrong given the annotation for
29897 test_array_int_null_in and
29898 test_array_int_null_out:
29901 * test_array_int_null_in:
29902 * @arr: (array length=len) (allow-none):
29909 * test_array_int_null_out:
29910 * @arr: (out) (array length=len) (allow-none):
29911 * @len: (out) : length
29914 The (array length=len) annotation meant we don't pass in or
29915 receive the len argument as this is handled under the hood
29916 (Python's representation of an array, the list type, encapsulates
29917 the length inside the type)
29919 * Fixing up the tests revealed a latent crasher bug when passing
29921 interface that accepts an array. The fix was to check for NULL
29923 the length argument to 0 when invoking the bound method.
29925 https://bugzilla.gnome.org/show_bug.cgi?id=619235
29927 gi/pygi-invoke.c | 6 +++++-
29928 tests/test_everything.py | 4 ++--
29929 2 files changed, 7 insertions(+), 3 deletions(-)
29931 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
29932 Author: John (J5) Palmieri <johnp@redhat.com>
29933 Date: Fri May 14 14:57:27 2010 -0400
29935 don't error out on methods with callbacks as return type
29937 * Right now we just throw an error which means API's like
29938 gtk_about_dialog_set_url_hook aren't able to be called,
29939 * this allows us to call such APIs while printing a warning, in
29941 API such as this doesn't need to be used anymore and is a result of
29942 early GTK development
29944 gi/pygi-argument.c | 14 +++++++++++---
29945 1 file changed, 11 insertions(+), 3 deletions(-)
29947 commit d963007aab123f4e53a944a66a935db2d22907c2
29948 Author: John (J5) Palmieri <johnp@redhat.com>
29949 Date: Mon May 17 11:54:34 2010 -0400
29951 reset sys.argv to the return value of Gtk.init_check
29953 * applications which check command line arguments will error out if it
29954 encounters a GTK command line switch such as --g-fatal-warnings.
29955 * The Gtk.init* API reads these switches and returns a new argv with
29957 switches stripped out
29958 * In C argv is modified in place but in Python we must set sys.argv
29960 new modified argument list
29961 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
29963 gi/overrides/Gtk.py | 1 +
29964 1 file changed, 1 insertion(+)
29966 commit 897420ed97cc4a7b8a806894df5e76ed72617614
29967 Author: John (J5) Palmieri <johnp@redhat.com>
29968 Date: Wed May 12 14:25:32 2010 -0400
29970 add GtkUIManager and GtkActionGroup overrides
29972 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
29974 gi/overrides/Gtk.py | 167
29975 +++++++++++++++++++++++++++++++++++++++++++++++-
29976 tests/test_overrides.py | 45 +++++++++++++
29977 2 files changed, 211 insertions(+), 1 deletion(-)
29979 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
29980 Author: Zach Goldberg <zach@zachgoldberg.com>
29981 Date: Thu May 13 01:02:24 2010 -0400
29983 Bump version for development to 0.5.2 (hopefully 0.6)
29985 configure.ac | 2 +-
29986 1 file changed, 1 insertion(+), 1 deletion(-)
29988 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
29989 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29990 Date: Wed May 5 15:54:39 2010 +0200
29992 Fix overrides.Gdk.Color.__new__ args
29994 https://bugzilla.gnome.org/show_bug.cgi?id=617757
29996 gi/overrides/Gdk.py | 2 +-
29997 tests/Makefile.am | 3 ++-
29998 tests/test_overrides.py | 22 ++++++++++++++++++++++
29999 3 files changed, 25 insertions(+), 2 deletions(-)
30001 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
30002 Author: John (J5) Palmieri <johnp@redhat.com>
30003 Date: Thu Apr 29 14:55:33 2010 -0400
30005 wrap GObject module so we can go through GI when requesting attrs
30007 * This gives us the best of both worlds.
30008 - We remain backwards compatable with pygobject by checking for
30010 attrs in the gobject module
30011 - If an attr does not exist we use the GI mechanism to look it up
30013 things like flags look the same whether exported from GObject, Gtk
30014 or any GI managed library
30016 * add DynamicGObjectModule tests and make tests use the new module
30017 - change import gobject to from gi.repository import GObject
30019 gi/importer.py | 6 ++--
30020 gi/module.py | 30 ++++++++++++++++
30021 tests/test_everything.py | 6 ++--
30022 tests/test_gi.py | 93
30023 ++++++++++++++++++++++++++----------------------
30024 4 files changed, 87 insertions(+), 48 deletions(-)
30026 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
30027 Author: John (J5) Palmieri <johnp@redhat.com>
30028 Date: Fri Apr 30 14:11:55 2010 -0400
30030 override Gdk.Drawable to add cairo_create convinience method
30032 gi/overrides/Gdk.py | 7 ++++++-
30033 1 file changed, 6 insertions(+), 1 deletion(-)
30035 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
30036 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30037 Date: Mon May 3 19:13:46 2010 +0200
30039 Fix passing callbacks as constructor args
30041 https://bugzilla.gnome.org/show_bug.cgi?id=617551
30043 gi/pygi-callbacks.c | 3 ++-
30044 gi/pygi-callbacks.h | 1 +
30045 gi/pygi-invoke.c | 7 +++++--
30046 tests/test_everything.py | 21 +++++++++++++++++++++
30047 4 files changed, 29 insertions(+), 3 deletions(-)
30049 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
30050 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30051 Date: Wed May 5 08:06:03 2010 +0200
30053 Avoid freeing garbage
30055 gi/pygi-invoke.c | 6 ++++--
30056 1 file changed, 4 insertions(+), 2 deletions(-)
30058 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
30059 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30060 Date: Thu Apr 29 13:09:03 2010 +0200
30062 Only hookup vfunc implementations for locally-defined methods
30064 https://bugzilla.gnome.org/show_bug.cgi?id=617160
30066 gi/types.py | 10 +++++++++-
30067 tests/test_gi.py | 10 ++++++++++
30068 2 files changed, 19 insertions(+), 1 deletion(-)
30070 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
30071 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30072 Date: Mon May 3 18:35:13 2010 +0200
30074 Fix passing GDestroyNotify
30076 https://bugzilla.gnome.org/show_bug.cgi?id=617542
30078 gi/pygi-invoke.c | 3 ++-
30079 tests/test_everything.py | 10 ++++++++++
30080 2 files changed, 12 insertions(+), 1 deletion(-)
30082 commit 9669acd0fad193013ef3505ae231588307f9834c
30083 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30084 Date: Mon May 3 12:23:58 2010 +0200
30086 Move invocation code to its own file
30088 https://bugzilla.gnome.org/show_bug.cgi?id=617107
30090 gi/Makefile.am | 2 +
30091 gi/pygi-info.c | 884
30092 ----------------------------------------------------
30093 gi/pygi-invoke.c | 909
30094 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
30095 gi/pygi-invoke.h | 37 +++
30096 gi/pygi-private.h | 1 +
30097 5 files changed, 949 insertions(+), 884 deletions(-)
30099 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
30100 Author: John (J5) Palmieri <johnp@redhat.com>
30101 Date: Tue Apr 27 19:13:08 2010 -0400
30103 Add the Gtk.Builder override
30105 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
30106 1 file changed, 36 insertions(+), 1 deletion(-)
30108 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
30109 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30110 Date: Fri Apr 30 15:00:52 2010 +0200
30112 Fix GAsyncReadyCallback
30114 https://bugzilla.gnome.org/show_bug.cgi?id=616236
30116 gi/pygi-closure.c | 8 +++++++-
30117 tests/test_everything.py | 16 ++++++++++++++++
30118 2 files changed, 23 insertions(+), 1 deletion(-)
30120 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
30121 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30122 Date: Thu Apr 29 18:32:50 2010 +0200
30124 Add override for Gdk.Color
30126 https://bugzilla.gnome.org/show_bug.cgi?id=617162
30128 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
30129 1 file changed, 19 insertions(+), 1 deletion(-)
30131 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
30132 Author: John (J5) Palmieri <johnp@redhat.com>
30133 Date: Wed Apr 28 13:19:48 2010 -0400
30135 make __all__ be a list of strings, fix override mechanism to use
30138 * before we were adding classes to the __all__ module property but
30139 the convention is to use the name of the class
30140 * simplified the check to just check the name against __all__
30141 instead of trying to get the class and then checking the class
30142 against None as well as in __all__
30143 * went through all the overrides and made __all__ be a list of strings
30145 gi/module.py | 9 ++++-----
30146 gi/overrides/GIMarshallingTests.py | 2 +-
30147 gi/overrides/Gdk.py | 2 +-
30148 3 files changed, 6 insertions(+), 7 deletions(-)
30150 commit 64fa8f936bad9a90628df446e690d67d947a0a22
30151 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30152 Date: Mon Apr 26 11:41:06 2010 +0200
30154 One more step at refactoring _wrap_g_function_info_invoke
30156 https://bugzilla.gnome.org/show_bug.cgi?id=616357
30158 gi/pygi-callbacks.c | 22 +-
30159 gi/pygi-callbacks.h | 4 +-
30160 gi/pygi-info.c | 582
30161 ++++++++++++++++++++++++++++++----------------------
30162 3 files changed, 346 insertions(+), 262 deletions(-)
30164 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
30165 Author: Zach Goldberg <zach@zachgoldberg.com>
30166 Date: Tue Apr 20 23:23:38 2010 -0400
30168 Step 1 of refactoring _wrap_g_function_info_invoke
30170 Original patch by David Malcom <dmalcolm@redhat.com>
30172 This patch bitrots *REALLY* fast.
30174 https://bugzilla.gnome.org/show_bug.cgi?id=616357
30176 gi/pygi-info.c | 417
30177 +++++++++++++++++++++++++++++----------------------------
30178 1 file changed, 214 insertions(+), 203 deletions(-)
30180 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
30181 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30182 Date: Tue Apr 27 10:24:35 2010 +0200
30184 Dont force subclasses to implement all virtual methods of their bases
30186 https://bugzilla.gnome.org/show_bug.cgi?id=616674
30188 gi/types.py | 4 ++--
30189 tests/test_gi.py | 15 +++++++++++++++
30190 2 files changed, 17 insertions(+), 2 deletions(-)
30192 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
30193 Author: Zach Goldberg <zach@zachgoldberg.com>
30194 Date: Sun Apr 25 15:09:08 2010 -0400
30196 Correct the reference counting of userdata in closure handling
30198 Without this we lose references on every call and eventually end up
30200 while they are still in use.
30202 https://bugzilla.gnome.org/show_bug.cgi?id=616786
30204 gi/pygi-closure.c | 3 +++
30205 tests/test_everything.py | 13 +++++++++++++
30206 2 files changed, 16 insertions(+)
30208 commit 2b12049306bf57513c43d08017185468bf897a4a
30209 Author: Zach Goldberg <zach@zachgoldberg.com>
30210 Date: Tue Apr 20 22:57:14 2010 -0400
30212 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
30214 (Previous commit did not include the proper error message. I blame
30217 https://bugzilla.gnome.org/show_bug.cgi?id=616356
30219 gi/pygi-closure.c | 4 ++--
30220 1 file changed, 2 insertions(+), 2 deletions(-)
30222 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
30223 Author: Zach Goldberg <zach@zachgoldberg.com>
30224 Date: Tue Apr 20 23:53:57 2010 -0400
30226 Force out arguments to be initialized as NULL. Comes with a test.
30228 This fix was motivated by a real world library which had a transfer
30230 utf8 out argument which sometimes was not set. We would leave
30232 dangling and try and free it at the end of invoke() and crash.
30234 to change their behavior so we're forced to take care of it on
30237 https://bugzilla.gnome.org/show_bug.cgi?id=616043
30239 gi/pygi-info.c | 1 +
30240 tests/test_gi.py | 3 +++
30241 2 files changed, 4 insertions(+)
30243 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
30244 Author: Zach Goldberg <zach@zachgoldberg.com>
30245 Date: Tue Apr 20 22:57:14 2010 -0400
30247 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
30249 Be slightly nicer to library maintainers. It really isn't a fatal
30251 if we don't have a proper scope type, better to leave a good code
30253 and a warning than to cause their code to segv.
30255 https://bugzilla.gnome.org/show_bug.cgi?id=616356
30257 gi/pygi-closure.c | 3 ++-
30258 1 file changed, 2 insertions(+), 1 deletion(-)
30260 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
30261 Author: Zach Goldberg <zach@zachgoldberg.com>
30262 Date: Tue Apr 20 22:43:20 2010 -0400
30264 Refactor implementation of scope call to allow for multiple calls
30265 during lifetime of function invocation.
30267 https://bugzilla.gnome.org/show_bug.cgi?id=616343
30269 gi/pygi-closure.c | 10 +++++-----
30270 gi/pygi-info.c | 9 +++++++--
30271 tests/test_everything.py | 9 +++++++++
30272 3 files changed, 21 insertions(+), 7 deletions(-)
30274 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
30275 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30276 Date: Sat Jan 2 16:31:55 2010 +0100
30278 Add basic support for unions
30280 https://bugzilla.gnome.org/show_bug.cgi?id=603598
30282 gi/module.py | 3 +-
30283 gi/pygi-argument.c | 24 +++-----------
30284 gi/pygi-boxed.c | 18 +++++++++--
30285 gi/pygi-info.c | 94
30286 ++++++++++++++++++++++++++++++++++++++++++++++++------
30287 gi/pygi-info.h | 1 +
30288 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
30289 6 files changed, 165 insertions(+), 31 deletions(-)
30291 commit af9e4e086d160fe7fb24758ed81753e784b198a8
30292 Author: Simon van der Linden <svdlinden@src.gnome.org>
30293 Date: Fri Jan 22 22:16:32 2010 +0100
30295 Bump required GLib version to 2.22
30297 Since PyGObject now depends on GLib 2.22.4, there is no need to
30299 backward-compatible.
30301 configure.ac | 2 +-
30302 gi/pygi-private.h | 20 --------------------
30303 2 files changed, 1 insertion(+), 21 deletions(-)
30305 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
30306 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30307 Date: Sun Apr 18 11:50:14 2010 -0400
30309 Refactor get_* methods in the *Info wrappers
30311 https://bugzilla.gnome.org/show_bug.cgi?id=616108
30313 gi/pygi-info.c | 360
30314 +++++++++++++++++++++++++++------------------------------
30315 1 file changed, 168 insertions(+), 192 deletions(-)
30317 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
30318 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30319 Date: Tue Apr 20 15:12:47 2010 +0200
30321 Print any error messages raised inside _pygi_closure_handle
30323 https://bugzilla.gnome.org/show_bug.cgi?id=616279
30325 gi/pygi-closure.c | 9 +++++----
30326 1 file changed, 5 insertions(+), 4 deletions(-)
30328 commit d1ba23cdd05686ea721425f233371d573a2e9cce
30329 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30330 Date: Thu Apr 22 19:57:17 2010 +0200
30332 Rename variable with a very generic name
30334 gi/module.py | 28 ++++++++++++++--------------
30335 1 file changed, 14 insertions(+), 14 deletions(-)
30337 commit 391640b30ede50af3667b1019edb72bd79f2c68c
30338 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30339 Date: Thu Apr 22 19:53:06 2010 +0200
30341 Add support for enums without GType
30343 https://bugzilla.gnome.org/show_bug.cgi?id=616520
30345 gi/module.py | 6 +++++-
30346 gi/pygi-argument.c | 22 +++++++++++++++++++++-
30347 gi/types.py | 14 ++++++++++++++
30348 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
30349 4 files changed, 68 insertions(+), 4 deletions(-)
30351 commit 89704f60ddae0c81f1383d86491ef2785590a353
30352 Author: Zach Goldberg <zach@zachgoldberg.com>
30353 Date: Tue Apr 20 22:20:42 2010 -0400
30355 Bump version during development to 0.5.1
30357 This follows what is, according to Colin Walters,
30358 standard versioning practice. During development the
30359 version in your config is the *next* version you will release,
30360 not the version after. Thus after a release you make a new commit
30361 bumping to the next development version.
30363 configure.ac | 2 +-
30364 1 file changed, 1 insertion(+), 1 deletion(-)
30366 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
30367 Author: John Ehresman <jpe@wingware.com>
30368 Date: Tue Apr 20 20:40:02 2010 -0400
30370 Added missing , to keyword list of gio.GFile.set_attribute
30372 gio/gresolver.override | 2 +-
30373 1 file changed, 1 insertion(+), 1 deletion(-)
30375 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
30376 Author: John Ehresman <jpe@wingware.com>
30377 Date: Tue Apr 20 20:37:12 2010 -0400
30379 Fix arg conversion in gio.GFile.set_attribute
30381 gio/gfile.override | 232
30382 +++++++++++++++++++++++++++++++++++++++++++++++++++--
30383 1 file changed, 227 insertions(+), 5 deletions(-)
30385 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
30386 Author: John Ehresman <jpe@wingware.com>
30387 Date: Tue Apr 20 20:01:53 2010 -0400
30389 Set constants under python 2.5 or before
30391 gobject/gobjectmodule.c | 8 ++++++++
30392 1 file changed, 8 insertions(+)
30394 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
30395 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30396 Date: Sun Apr 18 20:22:21 2010 -0400
30398 Doc Extractor: Use replacements that make sense for &...;
30401 * codegen/docextract_to_xml.py: Use # and   respectively
30403 # (#) and . These are interpreted correctly in XML
30405 not make the parsing crash.
30407 codegen/docextract_to_xml.py | 4 ++--
30408 1 file changed, 2 insertions(+), 2 deletions(-)
30410 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
30411 Author: Zach Goldberg <zach@zachgoldberg.com>
30412 Date: Sun Apr 18 14:32:06 2010 -0400
30414 Bump version for release 0.5.0
30416 HACKING | 7 +++++++
30417 configure.ac | 4 ++--
30418 2 files changed, 9 insertions(+), 2 deletions(-)
30420 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
30421 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30422 Date: Sun Apr 18 14:28:13 2010 -0400
30424 One more missing file...
30426 examples/Makefile.am | 2 ++
30427 1 file changed, 2 insertions(+)
30429 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
30430 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30431 Date: Sun Apr 18 14:18:44 2010 -0400
30433 Add more stuff to the tarballs
30435 Makefile.am | 8 +++++++-
30437 2 files changed, 8 insertions(+), 1 deletion(-)
30439 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
30440 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30441 Date: Sun Apr 18 13:48:45 2010 -0400
30443 Add one more missing file to tarballs
30445 gi/overrides/GIMarshallingTests.py | 0
30446 gi/overrides/Makefile.am | 1 +
30447 2 files changed, 1 insertion(+)
30449 commit 979e01852fc7f830ee91093accdc387fa535075f
30450 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30451 Date: Sun Apr 18 13:45:29 2010 -0400
30453 Add missing file to tarballs
30455 tests/Makefile.am | 1 +
30456 1 file changed, 1 insertion(+)
30458 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
30459 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30460 Date: Sun Apr 18 13:11:11 2010 -0400
30464 https://bugzilla.gnome.org/show_bug.cgi?id=602736
30467 +++++++++++++++++++++++++++++++++++++++++++++++++++++
30468 gi/pygi-argument.c | 1 +
30469 gi/pygi-callbacks.c | 3 +-
30470 gi/pygi-closure.c | 4 +--
30471 gi/pygi-closure.h | 2 +-
30472 gi/pygi-info.c | 86
30473 +++++++++++++++++++++++++++++++++++++++++++++++++--
30474 gi/pygi-info.h | 1 +
30475 gi/types.py | 44 +++++++++++++++++---------
30476 tests/test_gi.py | 18 +++++++++++
30477 9 files changed, 227 insertions(+), 21 deletions(-)
30479 commit e239faacb4798fe2d166233ca1a19a843a6225e3
30480 Author: Zach Goldberg <zach@zachgoldberg.com>
30481 Date: Sun Apr 18 11:59:06 2010 -0400
30483 Fix a typo in pygi-callbacks.c header
30485 gi/pygi-callbacks.c | 2 +-
30486 1 file changed, 1 insertion(+), 1 deletion(-)
30488 commit 79aa416ae8632b123da61d79fb820d9e2704209c
30489 Author: Zach Goldberg <zach@zachgoldberg.com>
30490 Date: Sat Apr 17 12:00:05 2010 -0400
30492 Implement nullable argument support, including tests
30494 https://bugzilla.gnome.org/show_bug.cgi?id=616035
30496 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
30497 gi/pygi-argument.h | 3 ++-
30498 gi/pygi-info.c | 19 +++++++++++++------
30499 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
30500 4 files changed, 80 insertions(+), 13 deletions(-)
30502 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
30503 Author: Zach Goldberg <zach@zachgoldberg.com>
30504 Date: Sat Apr 17 12:56:19 2010 -0400
30506 Move some tests from test_gi to test_everything
30508 tests/test_everything.py | 60
30509 ++++++++++++++++++++++++++++++++++++++++++++++
30510 tests/test_gi.py | 62
30511 +-----------------------------------------------
30512 2 files changed, 61 insertions(+), 61 deletions(-)
30514 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
30515 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30516 Date: Sun Apr 18 10:44:35 2010 -0400
30518 Update to latest version of the pygi-convert.sh script
30520 pygi-convert.sh | 193
30521 ++++++++++++++++++++++++++++++++++++++++----------------
30522 1 file changed, 137 insertions(+), 56 deletions(-)
30524 commit 34a39318c674737c6d64f2430456daef86ba1626
30525 Author: Colin Walters <walters@verbum.org>
30526 Date: Sun Apr 18 10:40:44 2010 -0400
30528 Add Tomeu's prototype script for converting pygtk to pygi
30530 pygi-convert.sh | 71
30531 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
30532 1 file changed, 71 insertions(+)
30534 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
30535 Author: Olav Vitters <olav@vitters.nl>
30536 Date: Sun Apr 18 13:01:58 2010 +0200
30541 1 file changed, 4 insertions(+)
30543 commit 0de73d0bba79f92af22f43693f3575c596712416
30544 Author: Zach Goldberg <zach@zachgoldberg.com>
30545 Date: Sat Apr 17 16:01:31 2010 -0400
30547 Add Zach Goldberg as a pygi maintainer
30549 pygi.doap | 5 +++++
30550 1 file changed, 5 insertions(+)
30552 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
30553 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30554 Date: Sat Apr 17 11:47:54 2010 -0400
30558 configure.ac | 7 +------
30559 1 file changed, 1 insertion(+), 6 deletions(-)
30561 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
30562 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30563 Date: Sat Apr 17 11:40:14 2010 -0400
30565 Add examples/cairo-demo.py
30567 examples/cairo-demo.py | 121
30568 +++++++++++++++++++++++++++++++++++++++++++++++++
30569 1 file changed, 121 insertions(+)
30571 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
30572 Author: Zach Goldberg <zach@zachgoldberg.com>
30573 Date: Sat Apr 17 09:17:14 2010 -0400
30575 Implementation callback support with scoping and basic argument
30578 This patch was originally written by
30579 Zach Goldberg <zach@zachgoldberg.com> with modifications and
30580 review by Simon van der Linden <svdlinden@src.gnome.org> and
30581 Colin Walters <walters@verbum.org>.
30583 This impementation enforces the assumption that any one function
30584 signature can only have one (callback, userdata, destronotify) tuple.
30585 This allows us to move callback creation into the actual function
30586 invoke pipeline and also to keep just one destroy notify callback
30587 around, vastly simplifying the code.
30589 https://bugzilla.gnome.org/show_bug.cgi?id=603095
30592 gi/Makefile.am | 4 +
30593 gi/pygi-argument.c | 12 ++-
30594 gi/pygi-callbacks.c | 216
30595 ++++++++++++++++++++++++++++++++++++++++++++++++++++
30596 gi/pygi-callbacks.h | 47 ++++++++++++
30597 gi/pygi-closure.c | 205
30598 +++++++++++++++++++++++++++++++++++++++++++++++++
30599 gi/pygi-closure.h | 57 ++++++++++++++
30600 gi/pygi-info.c | 49 ++++++++++--
30601 gi/pygi-private.h | 2 +
30602 tests/test_gi.py | 64 +++++++++++++++-
30603 10 files changed, 648 insertions(+), 10 deletions(-)
30605 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
30606 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30607 Date: Sat Apr 17 10:54:45 2010 -0400
30609 Add support for foreign structs
30611 https://bugzilla.gnome.org/show_bug.cgi?id=603712
30613 configure.ac | 6 +++
30614 gi/Makefile.am | 10 +++-
30615 gi/gimodule.c | 7 +++
30616 gi/pygi-argument.c | 27 ++++++++++-
30617 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
30618 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
30619 gi/pygi-foreign.c | 123
30620 +++++++++++++++++++++++++++++++++++++++++++++++
30621 gi/pygi-foreign.h | 52 ++++++++++++++++++++
30622 gi/pygi-private.h | 1 +
30623 tests/test_everything.py | 48 ++++++++++++++++++
30624 10 files changed, 428 insertions(+), 4 deletions(-)
30626 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
30627 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30628 Date: Fri Apr 16 14:35:13 2010 -0400
30630 Allow creating structs with pointers
30632 https://bugzilla.gnome.org/show_bug.cgi?id=603537
30634 gi/pygi-struct.c | 6 ------
30635 tests/test_gi.py | 3 ++-
30636 2 files changed, 2 insertions(+), 7 deletions(-)
30638 commit fc9ff02e53aacf9e77625c70985e99813544912a
30639 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30640 Date: Fri Apr 16 10:40:40 2010 -0400
30642 Add gdb and valgrind variants for the tests
30644 HACKING | 19 +++++++++++++++++++
30645 Makefile.am | 12 ++++++++++++
30646 tests/Makefile.am | 14 +++++++++++++-
30647 3 files changed, 44 insertions(+), 1 deletion(-)
30649 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
30650 Author: John Stowers <john.stowers@gmail.com>
30651 Date: Fri Apr 16 14:36:11 2010 +1200
30653 Add build docs for windows
30656 README.win32 | 24 ++++++++++++++++++++++++
30657 2 files changed, 25 insertions(+)
30659 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
30660 Author: John Stowers <john.stowers@gmail.com>
30661 Date: Thu Apr 15 13:40:39 2010 +1200
30663 Setup.py cosmetic tidy
30665 * Remove local doc install, point to website instead
30666 * link to versioned docs
30668 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
30669 setup.py | 39 ++++++++++++++-------------------------
30670 2 files changed, 40 insertions(+), 42 deletions(-)
30672 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
30673 Author: John Stowers <john.stowers@gmail.com>
30674 Date: Sat Jul 25 14:12:30 2009 +1200
30676 Fix crash when importing gio
30678 Only seems to be necessary on windows, but
30679 no harm on linux as multiple calls to init
30682 gio/giomodule.c | 3 +++
30683 1 file changed, 3 insertions(+)
30685 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
30686 Author: John Stowers <john.stowers@gmail.com>
30687 Date: Thu Apr 15 22:52:48 2010 +1200
30689 Bug 589671 - Dont use generate-constants
30691 This breaks the build using distutils, and it is
30692 largely unneeded. Just add the G_XXX constants
30693 to the module directly
30695 gobject/Makefile.am | 16 +--------
30696 gobject/constants.py | 83
30697 ++++++++++++++++++++++++++++++++++++++++++++
30698 gobject/constants.py.in | 50 --------------------------
30699 gobject/generate-constants.c | 44 -----------------------
30700 gobject/gobjectmodule.c | 35 +++++++++++++++++++
30702 tests/runtests.py | 3 +-
30703 7 files changed, 121 insertions(+), 112 deletions(-)
30705 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
30706 Author: John Stowers <john.stowers@gmail.com>
30707 Date: Thu Apr 15 22:49:17 2010 +1200
30709 Bug 589671 - Fix setup.py for windows build
30711 * Building pyglib as a static private library
30712 * Update to include new defs
30713 * Modernise setup.py and add more util functions
30716 dsextras.py | 32 ++++++++++++++++---
30718 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
30719 2 files changed, 116 insertions(+), 18 deletions(-)
30721 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
30722 Author: John Stowers <john.stowers@gmail.com>
30723 Date: Thu Apr 15 22:48:28 2010 +1200
30725 Include pygsource.h
30727 glib/pygiochannel.c | 1 +
30728 1 file changed, 1 insertion(+)
30730 commit c5f6af4844c74354abc508d17969d9d45153acf2
30731 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30732 Date: Thu Apr 15 14:25:59 2010 -0400
30734 Add metadata to the .doap file
30737 1 file changed, 3 insertions(+)
30739 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
30740 Author: John (J5) Palmieri <johnp@redhat.com>
30741 Date: Wed Apr 14 12:01:43 2010 -0400
30743 override that wasn't checked in - fixes some test cases
30745 gi/overrides/GIMarshallingTests.py | 69
30746 ++++++++++++++++++++++++++++++++++++++
30747 1 file changed, 69 insertions(+)
30749 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
30750 Author: Colin Walters <walters@verbum.org>
30751 Date: Wed Apr 14 10:06:07 2010 -0400
30753 [Makefile.am] Clean up CFLAGS handling, don't override all: target
30755 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
30756 per-target CFLAGS forces Automake to prefix object files, which
30757 is unnecessary since we only have one target.
30759 More importantly, avoid overriding the all: target here; that's
30760 owned by Automake. Use all-local instead to append things to
30761 the end of the normal build.
30763 gi/Makefile.am | 15 +++++++++------
30764 1 file changed, 9 insertions(+), 6 deletions(-)
30766 commit 5a47e96e3f580c973e6880dafa747f54c144c760
30767 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30768 Date: Tue Apr 13 19:15:49 2010 -0400
30770 Use GIMarshallingTests (old TestGI) in gobject-introspection
30772 gi/overrides/TestGI.py | 69 --
30773 tests/Makefile.am | 40 -
30774 tests/libtestgi.c | 2924
30775 ------------------------------------------------
30776 tests/libtestgi.h | 628 -----------
30777 tests/test_gi.py | 832 +++++++-------
30778 5 files changed, 416 insertions(+), 4077 deletions(-)
30780 commit 681832c3cd040433a488a400693b68f213bf7078
30781 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30782 Date: Tue Apr 13 13:33:12 2010 -0400
30784 codegen/docextract_to_xml.py: One more &...; replacement ( ).
30786 * codegen/docextract_to_xml.py: Replace which also causes
30787 errors with a regular space.
30789 codegen/docextract_to_xml.py | 1 +
30790 1 file changed, 1 insertion(+)
30792 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
30793 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30794 Date: Tue Apr 13 12:28:10 2010 -0400
30796 codegen/docextract_to_xml.py: Replace some &..; that cause errors.
30798 * codegen/docextract_to_xml.py (escape_text): Replace some &..;
30799 expressions that cause errors with more appropriate output.
30801 codegen/docextract_to_xml.py | 4 ++++
30802 1 file changed, 4 insertions(+)
30804 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
30805 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30806 Date: Sun Apr 11 17:46:40 2010 -0400
30808 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
30810 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
30812 in text to '/ *' and '* /' respectively so that comment errors
30814 show up when the descriptions that include C++ code with C++
30815 multi-line comments are used in Doxygen blocks.
30817 codegen/docextract_to_xml.py | 9 +++++++++
30818 1 file changed, 9 insertions(+)
30820 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
30821 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30822 Date: Sun Apr 11 16:15:01 2010 -0400
30824 codegen/docextract.py: Stop final section processing on first
30827 * codegen/docextract.py (process_final_sections): Modify the final
30828 section pattern matching for loop to stop on first match so
30830 doesn't match both a colon return ('Returns: ...') and a no colon
30831 return ('Returns ...') which leads to annotation extraction
30834 codegen/docextract.py | 4 ++++
30835 1 file changed, 4 insertions(+)
30837 commit 825fd305f03b726665edca34963978ce27448182
30838 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30839 Date: Sun Apr 11 15:45:09 2010 -0400
30841 Update doc extraction tool to handle GObjectIntrospection
30844 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
30845 (GtkDoc::annotations): Added a list field to store annotations
30847 are 2-tuples of (name, value).
30848 (GtkDoc::ret): Modified field to store the return description
30850 with a list of annotations as described above.
30851 (GtkDoc::params): Now holds a list of 3-tupples: name,
30853 annotations (as described above).
30854 (GtkDoc::block_type): Add a field to tell if the comment block
30856 function block, signal block or property block.
30857 (GtkDoc::set_type):
30858 (GtkDoc::get_type): Add methods for setting/getting the block
30860 (GtkDoc::add_param): Modified to also accept a list of
30862 be added with the parameter.
30863 (GtkDoc::add_annotation):
30864 (GtkDoc::get_annotations): Added methods to add/get annotations
30867 (GtkDoc::append_description): Renamed to append_to_description().
30868 (GtkDoc::get_param_description): Removed unused method.
30869 (GtkDoc::get_description): Added method to get block description.
30870 (GtkDoc::add_return): Added method to add a return accepting
30872 line of the description and its annotations.
30873 (GtkDoc::append_return): Renamed to append_to_return().
30874 (Regular expressions):
30875 - Made the names of the variables un-abbreviated.
30877 - Added 'since', 'deprecated' and 'rename to' regular
30880 - Modified the return matching regular expression so that
30882 match descriptions that begin with 'Returns ...'.
30884 the docs of many function.
30886 - Added signal and property comment block identifier matching
30888 expressions in case those are useful.
30890 - Modified existing identifier matching regular expressions
30892 signal, and property regular expressions) to properly parse
30893 annotations. Also added a regular expression for extracting
30894 annotations from the parameter and return descriptions.
30896 - Refined the function name matching regular expression to
30898 identifiers that begin with a lowercase letter. This eliminates
30899 'SECTION:' matches.
30901 - Finally, grouped commonly related expressions like
30903 since_pattern, etc. into groups (in lists) so that matching
30905 sections can be done using loops.
30907 (Parsing algorithm): Modified the algorithm to use a functional
30908 approach to parsing. Extra methods like skip_to_comment() and
30909 processs_params() have been added and used in the parse_file()
30910 function to now process the comment blocks.
30911 (parse_dir): Added file processing output to stderr.
30912 * codegen/docextract_to_xml.py (usage): Added function to
30915 (print_annotations): Added function to print the given list of
30917 (options): Added --with-signals (-i), with-properties (-p) and
30918 --with-annotation (-a) to the existing --source-dir (-s) option.
30920 (algorithm): Now prints annotations, if specified. Also, prints
30921 signals and properties correctly (using names like
30923 for signals and Classs:property) with xml such as <signal
30924 name="...">...</signal>. The return xml is slightly modified with
30925 annotations but this would only be exhibited if annotation xml is
30928 codegen/docextract.py | 439
30929 ++++++++++++++++++++++++++++++++++---------
30930 codegen/docextract_to_xml.py | 87 ++++++---
30931 2 files changed, 414 insertions(+), 112 deletions(-)
30933 commit 9fef1acb42cd900d4a814a7378f60bc189121785
30934 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30935 Date: Fri Apr 9 13:47:03 2010 +0200
30937 Always create the .so link
30939 gi/Makefile.am | 2 +-
30940 1 file changed, 1 insertion(+), 1 deletion(-)
30942 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
30943 Author: Paul Bolle <pebolle@tiscali.nl>
30944 Date: Thu Apr 8 11:52:25 2010 +0200
30946 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
30948 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
30950 docs/reference/pygio-file.xml | 58
30951 ++++++++++++++++++------------------
30952 docs/reference/pygio-inputstream.xml | 22 +++++++-------
30953 docs/reference/pygio-mount.xml | 10 +++----
30954 3 files changed, 45 insertions(+), 45 deletions(-)
30956 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
30957 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30958 Date: Mon Apr 5 18:10:42 2010 +0200
30960 Bug 613341 - pygobject tests seem to require pygtk causing a circular
30961 dependencies problem
30963 move tests that require pygtk to pygtk itself
30965 tests/test_conversion.py | 83 --------------
30966 tests/test_enum.py | 234 --------------------------------------
30967 tests/test_gtype.py | 112 ------------------
30968 tests/test_subtype.py | 289
30969 -----------------------------------------------
30970 4 files changed, 718 deletions(-)
30972 commit ef0ceb266a45715ece58642fb0042e3376416755
30973 Author: Simon van der Linden <svdlinden@src.gnome.org>
30974 Date: Wed Feb 3 20:33:03 2010 +0100
30976 Add modelines and copyright information to overrides modules
30978 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
30979 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
30980 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
30981 3 files changed, 62 insertions(+)
30983 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
30984 Author: Simon van der Linden <svdlinden@src.gnome.org>
30985 Date: Wed Feb 3 20:29:55 2010 +0100
30987 Fix and complete overrides tests
30989 Those tests were missing in the last commit
30991 https://bugzilla.gnome.org/show_bug.cgi?id=602830
30993 gi/overrides/TestGI.py | 49
30994 +++++++++++++++++++++++++++++++++++++++++++++++++
30995 tests/test_gi.py | 8 +++++++-
30996 2 files changed, 56 insertions(+), 1 deletion(-)
30998 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
30999 Author: Simon van der Linden <svdlinden@src.gnome.org>
31000 Date: Thu Jan 21 17:30:51 2010 +0100
31002 Don't raise an error in _pygi_import if pygi support is disabled
31004 http://bugzilla.gnome.org/show_bug.cgi?id=607674
31006 gobject/pygboxed.c | 6 +-----
31007 gobject/pygi-external.h | 1 -
31008 gobject/pygobject.c | 6 +-----
31009 gobject/pygpointer.c | 6 +-----
31010 4 files changed, 3 insertions(+), 16 deletions(-)
31012 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
31013 Author: Simon van der Linden <svdlinden@src.gnome.org>
31014 Date: Fri Jan 22 22:22:37 2010 +0100
31016 Remove support for pointers to basic types as input-only argument
31019 There is no reason for an API to use such things, and
31020 g_function_info_invoke
31021 broke such features.
31023 https://bugzilla.gnome.org/show_bug.cgi?id=607759
31025 gi/pygi-argument.c | 586 ++++-------------------------------------------
31026 gi/pygi-argument.h | 1 -
31027 gi/pygi-info.c | 8 +-
31028 tests/libtestgi.c | 660
31029 -----------------------------------------------------
31030 tests/libtestgi.h | 86 -------
31031 tests/test_gi.py | 144 ------------
31032 6 files changed, 47 insertions(+), 1438 deletions(-)
31034 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
31035 Author: Simon van der Linden <svdlinden@src.gnome.org>
31036 Date: Fri Jan 22 13:41:21 2010 +0100
31038 Restore the overrides support
31040 Add a ModuleProxy in front of the DynamicModule when an overrides
31042 present. There is no need for an overrides module to be a class;
31043 it can just be a module.
31045 Add an override decorator to override the wrapper of a registered
31048 Adapt Gdk and Gtk accordingly.
31052 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31054 gi/importer.py | 40 +++++++-------------
31055 gi/module.py | 43 ++++++++++++++-------
31056 gi/overrides/Gdk.py | 42 +++++++++++++--------
31057 gi/overrides/Gtk.py | 16 ++++----
31058 gi/types.py | 6 +++
31059 tests/libtestgi.c | 105
31060 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31061 tests/libtestgi.h | 49 ++++++++++++++++++++++++
31062 tests/test_gi.py | 36 ++++++++++++++++++
31063 8 files changed, 273 insertions(+), 64 deletions(-)
31065 commit 289d641775d1ea52d2a5379126b70b7fcee46683
31066 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31067 Date: Sun Jan 10 21:01:59 2010 +0100
31069 Initialize PyGPollFD_Type.fd_obj to NULL
31071 https://bugzilla.gnome.org/show_bug.cgi?id=606582
31073 gio/gcancellable.override | 1 +
31074 1 file changed, 1 insertion(+)
31076 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
31077 Author: Simon van der Linden <svdlinden@src.gnome.org>
31078 Date: Fri Jan 8 21:10:28 2010 +0100
31080 Initialize struct fields to 0 when allocating
31082 gi/pygi-struct.c | 2 +-
31083 tests/test_gi.py | 5 +++++
31084 2 files changed, 6 insertions(+), 1 deletion(-)
31086 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
31087 Author: Simon van der Linden <svdlinden@src.gnome.org>
31088 Date: Fri Jan 8 20:33:44 2010 +0100
31090 Don't set a default constructor for structures.
31092 Update tests accordingly.
31094 The reason for this change is that setting __new__ in the metaclass
31096 one overrides it afterwards, in a subclass (in my experience, at
31098 though it seems weird).
31100 https://bugzilla.gnome.org/show_bug.cgi?id=603536
31102 gi/types.py | 35 +++++++----------------------------
31103 tests/libtestgi.c | 33 ---------------------------------
31104 tests/libtestgi.h | 7 -------
31105 tests/test_gi.py | 21 ++++++++++-----------
31106 4 files changed, 17 insertions(+), 79 deletions(-)
31108 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
31109 Author: Simon van der Linden <svdlinden@src.gnome.org>
31110 Date: Tue Jan 5 13:36:44 2010 +0100
31112 Suppress compilation warnings
31114 gi/pygi-argument.c | 3 ++-
31115 gi/pygi-boxed.c | 2 --
31116 gi/pygobject-external.h | 2 +-
31117 3 files changed, 3 insertions(+), 4 deletions(-)
31119 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
31120 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31121 Date: Mon Jan 4 08:35:14 2010 +0100
31123 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
31125 Committed a patch from Kevin Pyle
31127 Makefile.am | 27 +++++++++++++--------------
31128 1 file changed, 13 insertions(+), 14 deletions(-)
31130 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
31131 Author: Simon van der Linden <svdlinden@src.gnome.org>
31132 Date: Fri Dec 11 22:24:30 2009 +0100
31134 sys.path must be modified after pygtk is imported
31136 Otherwise, sys.path is overridden by pygtk and gi.repository is
31138 system's default site-package directory.
31140 tests/runtests.py | 1 -
31141 tests/test_gi.py | 3 +++
31142 2 files changed, 3 insertions(+), 1 deletion(-)
31144 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
31145 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31146 Date: Sun Jan 3 11:02:57 2010 +0100
31148 Wrap gio.Cancellable.make_pollfd() and add a test
31150 gio/Makefile.am | 1 +
31151 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
31152 gio/gio.override | 3 +++
31153 tests/test_gcancellable.py | 15 +++++++++++++++
31154 4 files changed, 56 insertions(+)
31156 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
31157 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31158 Date: Sat Jan 2 23:15:56 2010 +0100
31160 Make cancellable an optional parameter in many methods
31163 +++++++++++++++++++++++++++++------------------------------
31164 1 file changed, 51 insertions(+), 51 deletions(-)
31166 commit 49a078cd22d55dc33a03ecfda235d63955edc741
31167 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31168 Date: Sat Jan 2 23:15:21 2010 +0100
31170 Post release version bump to 2.21.2
31172 configure.ac | 2 +-
31173 1 file changed, 1 insertion(+), 1 deletion(-)
31175 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
31176 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31177 Date: Sat Jan 2 22:58:36 2010 +0100
31179 Update NEWS and release PyGObject-2.21.1
31181 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
31182 1 file changed, 55 insertions(+)
31184 commit c1f34be73bd186d7b4682dfef133da2c4229d213
31185 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31186 Date: Fri Jan 1 20:25:35 2010 +0100
31188 Wrap gio.Volume.eject_with_operation()
31190 gio/gvolume.override | 54
31191 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31192 1 file changed, 54 insertions(+)
31194 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
31195 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31196 Date: Fri Jan 1 20:22:21 2010 +0100
31198 gio.Mount.unmount_with_operation() fix a copy/paste leftover
31200 gio/gmount.override | 4 ++--
31201 1 file changed, 2 insertions(+), 2 deletions(-)
31203 commit 6f459786dd641cd49d81eba403d940620f961cab
31204 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31205 Date: Fri Jan 1 20:21:05 2010 +0100
31207 Wrap gio.Mount.eject_with_operation()
31209 gio/gmount.override | 54
31210 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31211 1 file changed, 54 insertions(+)
31213 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
31214 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31215 Date: Fri Jan 1 20:15:38 2010 +0100
31217 Wrap gio.Mount.unmount_mountable_with_operation()
31219 gio/gmount.override | 54
31220 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31221 1 file changed, 54 insertions(+)
31223 commit e919d47c2430451b436cec955e9b99237f97028c
31224 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31225 Date: Fri Jan 1 18:22:46 2010 +0100
31227 Wrap File.unmount_mountable_with_operation()
31229 gio/gfile.override | 54
31230 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31231 1 file changed, 54 insertions(+)
31233 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
31234 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31235 Date: Fri Jan 1 18:14:11 2010 +0100
31237 Wrap gio.File.stop_mountable()
31239 gio/gfile.override | 52
31240 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31241 1 file changed, 52 insertions(+)
31243 commit 6af506647f36f2b825bc6556df5ee57fa7721906
31244 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31245 Date: Fri Jan 1 18:10:49 2010 +0100
31247 Wrap gio.File.start_mountable()
31249 gio/gfile.override | 52
31250 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31251 1 file changed, 52 insertions(+)
31253 commit e700efc839fc0b651fc9794a1611190bffa80263
31254 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31255 Date: Fri Jan 1 18:02:46 2010 +0100
31257 Wrap gio.File.replace_readwrite_async()
31259 gio/gfile.override | 55
31260 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31261 1 file changed, 55 insertions(+)
31263 commit 92662f129fc728258fd5e34f53dcb081e3715017
31264 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31265 Date: Fri Jan 1 17:00:26 2010 +0100
31267 Wrap gio.File.poll_mountable()
31269 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
31270 1 file changed, 41 insertions(+)
31272 commit 99902b786500948c3278779841e4db54223b9256
31273 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31274 Date: Fri Jan 1 16:56:26 2010 +0100
31276 Wrap gio.File.open_readwrite_async()
31278 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
31279 1 file changed, 44 insertions(+)
31281 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
31282 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31283 Date: Fri Jan 1 16:50:15 2010 +0100
31285 Wrap gio.File.eject_mountable_with_operation()
31287 gio/gfile.override | 54
31288 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31289 1 file changed, 54 insertions(+)
31291 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
31292 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31293 Date: Fri Jan 1 13:30:24 2010 +0100
31295 Wrap gio.File.create_readwrite_async() and add a test
31297 gio/gfile.override | 51
31298 +++++++++++++++++++++++++++++++++++++++++++++++++++
31299 tests/test_gio.py | 24 ++++++++++++++++++++++++
31300 2 files changed, 75 insertions(+)
31302 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
31303 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31304 Date: Fri Jan 1 13:20:11 2010 +0100
31306 Wrap gio.Drive.stop()
31308 gio/gdrive.override | 52
31309 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31310 1 file changed, 52 insertions(+)
31312 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
31313 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31314 Date: Fri Jan 1 13:00:42 2010 +0100
31316 Wrap gio.Drive.start()
31318 gio/gdrive.override | 52
31319 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31320 1 file changed, 52 insertions(+)
31322 commit dff374287bbecc8af782bbc726fad86c6c867754
31323 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31324 Date: Fri Jan 1 12:45:29 2010 +0100
31326 Add more remainders on missing methods of gio.Socket and related types
31328 gio/gsocket.override | 3 +++
31329 1 file changed, 3 insertions(+)
31331 commit b8c7e996498bd72df551011af85ff05ef7335b4f
31332 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31333 Date: Fri Jan 1 12:41:08 2010 +0100
31335 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
31337 gio/gsocket.override | 86
31338 +++++++++++++++++++++++++++++++++++++++++++++++++--
31339 tests/test_gsocket.py | 24 ++++++++++++++
31340 2 files changed, 108 insertions(+), 2 deletions(-)
31342 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
31343 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31344 Date: Fri Jan 1 12:28:53 2010 +0100
31346 Wrap gio.SocketListener.accept_finish() and add a test
31348 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
31349 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
31350 2 files changed, 66 insertions(+), 2 deletions(-)
31352 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
31353 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31354 Date: Fri Jan 1 11:19:34 2010 +0100
31356 Wrap gio.SocketListener.accept_async()
31358 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31359 1 file changed, 42 insertions(+)
31361 commit c9496b29ef9ef232020a4044577d2947353953a5
31362 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31363 Date: Fri Jan 1 11:14:35 2010 +0100
31365 Wrap gio.SocketListener.accept_socket() and add a test
31367 gio/gsocket.override | 48
31368 +++++++++++++++++++++++++++++++++++++++++++++++-
31369 tests/test_gsocket.py | 13 +++++++++++++
31370 2 files changed, 60 insertions(+), 1 deletion(-)
31372 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
31373 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31374 Date: Thu Dec 31 16:35:18 2009 +0100
31376 Wrap gio.SocketListener.accept() and add a test
31378 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
31379 tests/test_gsocket.py | 13 +++++++++++++
31380 2 files changed, 58 insertions(+), 1 deletion(-)
31382 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
31383 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31384 Date: Thu Dec 31 16:25:33 2009 +0100
31386 Make cancellable optional in gio.SocketClient.connect_to_host()
31388 gio/gio.defs | 2 +-
31389 1 file changed, 1 insertion(+), 1 deletion(-)
31391 commit 3829d7667b19126fb74562b28d271e616b154c99
31392 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31393 Date: Thu Dec 31 15:25:10 2009 +0100
31395 Wrap gio.SocketListener.add_address() and add a test
31397 gio/gsocket.override | 57
31398 ++++++++++++++++++++++++++++++++++++++++++++++++++-
31399 tests/test_gsocket.py | 9 ++++++++
31400 2 files changed, 65 insertions(+), 1 deletion(-)
31402 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
31403 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31404 Date: Thu Dec 31 10:19:47 2009 +0100
31406 Add more remainders on missing methods of gio.Socket and related types
31408 gio/gsocket.override | 8 ++++++++
31409 1 file changed, 8 insertions(+)
31411 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
31412 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31413 Date: Thu Dec 31 10:16:18 2009 +0100
31415 Wrap gio.SocketClient.connect_to_service_async()
31417 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
31418 1 file changed, 47 insertions(+)
31420 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
31421 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31422 Date: Thu Dec 31 10:10:43 2009 +0100
31424 Wrap gio.SocketClient.connect_to_host_async()
31426 gio/gsocket.override | 48
31427 ++++++++++++++++++++++++++++++++++++++++++++++++
31428 1 file changed, 48 insertions(+)
31430 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
31431 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31432 Date: Thu Dec 31 09:59:46 2009 +0100
31434 Wrap gio.SocketClient.connect_async()
31436 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
31437 1 file changed, 45 insertions(+)
31439 commit dff024256295c15e49888ad9d5fef74a7746edd7
31440 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31441 Date: Wed Dec 30 23:44:25 2009 +0100
31443 Wrap gio.SocketAddressEnumerator.next_async() and add a test
31445 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31446 tests/test_gsocket.py | 16 ++++++++++++++++
31447 2 files changed, 58 insertions(+)
31449 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
31450 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31451 Date: Wed Dec 30 23:43:14 2009 +0100
31453 Add a missing object gio.InetSocketAddress new in GIO 2.22
31455 gio/gio-types.defs | 7 +++++++
31456 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
31457 2 files changed, 38 insertions(+)
31459 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
31460 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31461 Date: Wed Dec 30 22:54:47 2009 +0100
31463 Make cancellable optional for gio.SocketAddressEnumerator.next()
31465 gio/gio.defs | 2 +-
31466 1 file changed, 1 insertion(+), 1 deletion(-)
31468 commit b19f59790b9de943d69b6c5e483928e0443c3d20
31469 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31470 Date: Wed Dec 30 22:17:44 2009 +0100
31472 Add a remainder of the Socket methods that needs manual wrapping still
31474 gio/gsocket.override | 5 +++++
31475 1 file changed, 5 insertions(+)
31477 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
31478 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31479 Date: Wed Dec 30 17:20:35 2009 +0100
31481 Wrap gio.Socket.condition_wait() and add a test
31483 gio/gsocket.override | 27 +++++++++++++++++++++++++++
31484 tests/test_gsocket.py | 6 +++++-
31485 2 files changed, 32 insertions(+), 1 deletion(-)
31487 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
31488 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31489 Date: Wed Dec 30 16:21:49 2009 +0100
31491 Wrap gio.Socket.condition_check() and add a test
31493 gio/Makefile.am | 1 +
31494 gio/gio.override | 1 +
31495 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
31496 tests/test_gsocket.py | 21 +++++++++++++++++++++
31497 4 files changed, 64 insertions(+)
31499 commit de7a359e81792ae8573ac944455ea289985449ed
31500 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31501 Date: Wed Dec 30 14:07:52 2009 +0100
31503 Wrap gio.Resolver.lookup_service_finish() and add a test
31505 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
31506 tests/test_gresolver.py | 13 +++++++++++++
31507 2 files changed, 50 insertions(+)
31509 commit 308421789ce849040d645077c41c80b6e2e65e83
31510 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31511 Date: Wed Dec 30 14:00:22 2009 +0100
31513 Wrap gio.Resolver.lookup_service_async()
31515 gio/gresolver.override | 48
31516 ++++++++++++++++++++++++++++++++++++++++++++++++
31517 1 file changed, 48 insertions(+)
31519 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
31520 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31521 Date: Wed Dec 30 11:11:32 2009 +0100
31523 Wrap gio.Resolver.lookup_service() and add a test
31525 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31526 tests/test_gresolver.py | 5 +++++
31527 2 files changed, 47 insertions(+)
31529 commit 7fc71f490494dae73a5264869a97a9d30814930e
31530 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31531 Date: Tue Dec 29 22:12:50 2009 +0100
31533 Wrap gio.Resolver.lookup_by_address_async() and add a test
31535 gio/gresolver.override | 46
31536 ++++++++++++++++++++++++++++++++++++++++++++++
31537 tests/test_gresolver.py | 14 ++++++++++++++
31538 2 files changed, 60 insertions(+)
31540 commit c91656dbe56f07d3ebbad5113467c22427cf212a
31541 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31542 Date: Tue Dec 29 21:41:30 2009 +0100
31544 Wrap gio.Resolver.lookup_by_name_finish() and add a test
31546 gio/gresolver.override | 82
31547 +++++++++++++++++++++++++++++++++++++++++++++++++
31548 tests/test_gresolver.py | 16 ++++++++--
31549 2 files changed, 96 insertions(+), 2 deletions(-)
31551 commit 45b477342fa1c2435917c6d97745ad57665c4734
31552 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31553 Date: Tue Dec 29 17:15:44 2009 +0100
31555 Wrap gio.Drive.eject_with_data()
31557 gio/gdrive.override | 54
31558 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31559 1 file changed, 54 insertions(+)
31561 commit 635227480f9659a1f91ab1ec12536d3ed012a976
31562 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31563 Date: Tue Dec 29 17:06:52 2009 +0100
31565 Deprecate old gio.Drive methods
31567 gio/gdrive.override | 7 ++++++-
31569 2 files changed, 7 insertions(+), 1 deletion(-)
31571 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
31572 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31573 Date: Tue Dec 29 13:51:54 2009 +0100
31575 Small fix in the header
31577 gio/gdrive.override | 2 +-
31578 1 file changed, 1 insertion(+), 1 deletion(-)
31580 commit 7589128515b79d836365247dc876538c6352da23
31581 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31582 Date: Tue Dec 29 12:40:50 2009 +0100
31584 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
31586 gio/Makefile.am | 1 +
31587 gio/gio.override | 1 +
31588 gio/gresolver.override | 57
31589 +++++++++++++++++++++++++++++++++++++++++++++++++
31590 tests/test_gresolver.py | 21 ++++++++++++++++++
31591 4 files changed, 80 insertions(+)
31593 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
31594 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31595 Date: Tue Dec 29 12:39:13 2009 +0100
31597 Make cancellable an optional parameter in
31598 gio.Resolver.lookup_by_address()
31600 gio/gio.defs | 2 +-
31601 1 file changed, 1 insertion(+), 1 deletion(-)
31603 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
31604 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31605 Date: Tue Dec 29 10:15:14 2009 +0100
31607 Strip g_ prefix for many other functions
31610 ++++++++++++++++++++++++++++++------------------------------
31611 1 file changed, 47 insertions(+), 47 deletions(-)
31613 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
31614 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31615 Date: Tue Dec 29 10:12:53 2009 +0100
31617 Strip g_prefix from InetAddress functions
31619 gio/gio.defs | 8 ++++----
31620 1 file changed, 4 insertions(+), 4 deletions(-)
31622 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
31623 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31624 Date: Tue Dec 29 10:03:59 2009 +0100
31626 Fix function name gio.resolver_get_default()
31628 Strip the g_ prefix from function name
31630 gio/gio.defs | 2 +-
31631 1 file changed, 1 insertion(+), 1 deletion(-)
31633 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
31634 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31635 Date: Tue Dec 29 09:54:05 2009 +0100
31637 Wrap gio.FileIOStream.query_info_async() and add a test
31639 gio/Makefile.am | 1 +
31640 gio/gfileiostream.override | 68
31641 ++++++++++++++++++++++++++++++++++++++++++++++
31642 gio/gio.override | 1 +
31643 tests/test_gio.py | 18 ++++++++++++
31644 4 files changed, 88 insertions(+)
31646 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
31647 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31648 Date: Tue Dec 29 13:08:29 2009 +0100
31650 Register enums and flags in PyGI if needed
31652 https://bugzilla.gnome.org/show_bug.cgi?id=603534
31654 gobject/pygenum.c | 20 ++++++++++++++------
31655 gobject/pygflags.c | 19 +++++++++++++------
31656 2 files changed, 27 insertions(+), 12 deletions(-)
31658 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
31659 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31660 Date: Mon Dec 28 22:41:54 2009 +0100
31662 Wrap GIOStream.close_async() and add a test
31664 gio/Makefile.am | 1 +
31665 gio/gio.override | 1 +
31666 gio/giostream.override | 68
31667 ++++++++++++++++++++++++++++++++++++++++++++++++++
31668 tests/test_gio.py | 21 ++++++++++++++++
31669 4 files changed, 91 insertions(+)
31671 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
31672 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31673 Date: Mon Dec 28 22:39:09 2009 +0100
31675 Make cancellable an optional parameter in GFile.create_readwrite()
31677 gio/gio.defs | 2 +-
31678 1 file changed, 1 insertion(+), 1 deletion(-)
31680 commit 1cabd733cde269ce3164834933f4a226673ecb0b
31681 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31682 Date: Mon Dec 28 21:39:50 2009 +0100
31684 Remove a duplicate entry in gio.defs
31686 gio/gio.defs | 9 ---------
31687 1 file changed, 9 deletions(-)
31689 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
31690 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31691 Date: Mon Dec 28 21:37:49 2009 +0100
31693 Wrap gio.FileInfo.set_modification_time and add a test
31695 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
31696 tests/test_gio.py | 7 ++++++-
31697 2 files changed, 38 insertions(+), 2 deletions(-)
31699 commit 7bc2673f92138b1804d8eba091942d14d8884f90
31700 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31701 Date: Mon Dec 28 18:28:03 2009 +0100
31703 Wrap gio.EmblemedIcon.get_emblems() and add a test
31705 gio/gicon.override | 14 ++++++++++++++
31706 tests/test_gicon.py | 7 +++++++
31707 2 files changed, 21 insertions(+)
31709 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
31710 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31711 Date: Sat Dec 26 22:27:48 2009 +0100
31713 Update Enums and Flags with new API
31715 gio/gio-types.defs | 153
31716 +++++++++++++++++++++++++++++++++++++++++++++++++++--
31717 1 file changed, 149 insertions(+), 4 deletions(-)
31719 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
31720 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31721 Date: Fri Dec 25 18:06:39 2009 +0100
31723 Post release version bump to 2.21.1
31725 configure.ac | 2 +-
31726 1 file changed, 1 insertion(+), 1 deletion(-)
31728 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
31729 Author: Bastian Winkler <buz@netbuz.org>
31730 Date: Fri Aug 14 15:10:26 2009 +0200
31732 Fix handling of uchar in pyg_value_from_pyobject
31734 Set the value by g_value_set_uchar and allow to use integer types
31737 gobject/pygtype.c | 15 +++++++++++----
31738 1 file changed, 11 insertions(+), 4 deletions(-)
31740 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
31741 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31742 Date: Tue Dec 22 18:05:47 2009 +0100
31744 Add Gtk.keysyms to overrides
31746 gi/overrides/Gtk.py | 2 +
31747 gi/overrides/Makefile.am | 1 +
31748 gi/overrides/keysyms.py | 1499
31749 ++++++++++++++++++++++++++++++++++++++++++++++
31750 3 files changed, 1502 insertions(+)
31752 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
31753 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31754 Date: Wed Nov 25 10:33:56 2009 +0100
31756 The array field 'length' starts to count from the C arg list, so
31757 need to decrement when it's a method
31759 https://bugzilla.gnome.org/show_bug.cgi?id=602640
31761 gi/pygi-argument.c | 11 +++++++++-
31762 gi/pygi-argument.h | 3 ++-
31763 gi/pygi-info.c | 14 +++++++++++--
31764 tests/libtestgi.c | 60
31765 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31766 tests/libtestgi.h | 4 ++++
31767 tests/test_gi.py | 15 ++++++++++++++
31768 6 files changed, 103 insertions(+), 4 deletions(-)
31770 commit 867536c6734e606d045760837ed22583da06566e
31771 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31772 Date: Fri Dec 18 10:50:09 2009 +0100
31774 Update NEWS and README, release pygobject 2.21.0
31776 NEWS | 18 ++++++++++++++++++
31778 2 files changed, 21 insertions(+), 3 deletions(-)
31780 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
31781 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31782 Date: Fri Dec 18 10:31:48 2009 +0100
31784 Add pygi-external.h into Makefile SOURCES
31786 gobject/Makefile.am | 3 ++-
31787 1 file changed, 2 insertions(+), 1 deletion(-)
31789 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
31790 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31791 Date: Fri Dec 18 01:20:34 2009 +0100
31793 Bug 598435 - No wrapping for g_find_program_in_path ()
31795 glib/glibmodule.c | 20 ++++++++++++++++++++
31796 1 file changed, 20 insertions(+)
31798 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
31799 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31800 Date: Thu Dec 17 21:54:36 2009 +0100
31802 Wrap new API added in GIO-UNIX 2.22
31804 gio/unix-types.defs | 22 ++++++++++
31805 gio/unix.defs | 115
31806 +++++++++++++++++++++++++++++++++++++++++++++++++++-
31807 gio/unix.override | 8 ++++
31808 3 files changed, 144 insertions(+), 1 deletion(-)
31810 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
31811 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31812 Date: Thu Dec 17 21:52:11 2009 +0100
31814 Bump required glib version to 2.22.4
31816 I've committed a patch to glib which will be released in the stable
31818 Without the patch the unix module will fail, so I'm forced to bump.
31820 configure.ac | 6 +++---
31821 1 file changed, 3 insertions(+), 3 deletions(-)
31823 commit b630c8d4b1e55938dac89729768c4a877b305215
31824 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31825 Date: Thu Dec 17 02:24:45 2009 +0100
31827 Properly define Connectable as interface type and not object type
31829 gio/gio-types.defs | 12 ++++++------
31830 1 file changed, 6 insertions(+), 6 deletions(-)
31832 commit e955b931b07113c7432f7a85f882f69f12d263ad
31833 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
31834 Date: Mon Nov 30 22:01:25 2009 +0100
31836 Depend on GLib 2.20 rather than 2.22
31838 Backport g_array_get_element_size.
31840 https://bugzilla.gnome.org/show_bug.cgi?id=603411
31842 configure.ac | 2 +-
31843 gi/pygi-private.h | 19 +++++++++++++++++++
31844 2 files changed, 20 insertions(+), 1 deletion(-)
31846 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
31847 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31848 Date: Sat Nov 28 18:48:19 2009 +0000
31850 Use the limit constants from glib and interpret G_MAXUINT32 as
31851 PyLong_FromLongLong
31853 https://bugzilla.gnome.org/show_bug.cgi?id=602384
31855 gi/pygi-argument.c | 14 +++++++-------
31856 tests/test_gi.py | 18 +++++++++---------
31857 2 files changed, 16 insertions(+), 16 deletions(-)
31859 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
31860 Author: Simon van der Linden <svdlinden@src.gnome.org>
31861 Date: Mon Nov 30 00:10:56 2009 +0100
31863 Suppress warnings about format conversion
31865 https://bugzilla.gnome.org/show_bug.cgi?id=603355
31867 gobject/generate-constants.c | 32 ++++++++++++++++----------------
31868 1 file changed, 16 insertions(+), 16 deletions(-)
31870 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
31871 Author: Simon van der Linden <svdlinden@src.gnome.org>
31872 Date: Sat Nov 28 00:22:21 2009 +0100
31874 Remove global checks for pointers and move them in type cases that
31877 gi/pygi-argument.c | 516
31878 +++++++++++++++++++++++++++++++++++++++++++----------
31879 gi/pygi-info.c | 333 +++++++++++++++++-----------------
31880 2 files changed, 596 insertions(+), 253 deletions(-)
31882 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
31883 Author: Johan Dahlin <johan@gnome.org>
31884 Date: Mon Nov 23 15:58:17 2009 -0200
31886 Pythonify. Avoid ; and () around if statements
31888 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31890 gi/types.py | 8 ++++----
31891 1 file changed, 4 insertions(+), 4 deletions(-)
31893 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
31894 Author: Johan Dahlin <johan@gnome.org>
31895 Date: Tue Nov 24 10:36:18 2009 -0200
31897 Remove trailing whitespace
31899 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31901 gi/module.py | 4 ++--
31902 1 file changed, 2 insertions(+), 2 deletions(-)
31904 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
31905 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31906 Date: Mon Nov 30 10:03:34 2009 +0000
31908 Set a default constructor for boxed structs that don't have one
31910 https://bugzilla.gnome.org/show_bug.cgi?id=602735
31912 gi/Makefile.am | 2 +
31913 gi/gimodule.c | 1 +
31914 gi/module.py | 2 +-
31915 gi/pygi-argument.c | 14 +++-
31916 gi/pygi-boxed.c | 184
31917 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31918 gi/pygi-boxed.h | 40 ++++++++++++
31919 gi/pygi-info.c | 2 +-
31920 gi/pygi-private.h | 1 +
31922 gi/types.py | 18 ------
31923 tests/libtestgi.c | 72 ++++++++++-----------
31924 tests/libtestgi.h | 18 +++---
31925 tests/test_gi.py | 47 ++++++++------
31926 13 files changed, 321 insertions(+), 86 deletions(-)
31928 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
31929 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31930 Date: Mon Nov 30 10:53:57 2009 +0000
31932 Revert "Use the limit constants from glib and interpret G_MAXUINT32
31933 as PyLong_FromLongLong"
31935 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
31937 gi/pygi-argument.c | 14 +++++++-------
31938 tests/test_gi.py | 18 +++++++++---------
31939 2 files changed, 16 insertions(+), 16 deletions(-)
31941 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
31942 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31943 Date: Sat Nov 28 18:48:19 2009 +0000
31945 Use the limit constants from glib and interpret G_MAXUINT32 as
31946 PyLong_FromLongLong
31948 https://bugzilla.gnome.org/show_bug.cgi?id=602384
31950 gi/pygi-argument.c | 14 +++++++-------
31951 tests/test_gi.py | 18 +++++++++---------
31952 2 files changed, 16 insertions(+), 16 deletions(-)
31954 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
31955 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31956 Date: Sat Nov 28 18:45:54 2009 +0000
31958 Add the missing limit constants from glibconfig.h
31960 https://bugzilla.gnome.org/show_bug.cgi?id=603244
31962 gobject/generate-constants.c | 17 ++++++++++++++++-
31963 1 file changed, 16 insertions(+), 1 deletion(-)
31965 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
31966 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31967 Date: Sat Nov 28 18:48:49 2009 +0100
31969 Fix bad name when rebuilding the unix source module
31971 gio/Makefile.am | 2 +-
31972 1 file changed, 1 insertion(+), 1 deletion(-)
31974 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
31975 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31976 Date: Sat Nov 28 18:47:26 2009 +0100
31978 Wrap new API added in GIO 2.22
31980 gio/gio-types.defs | 138 +++
31981 gio/gio.defs | 2444
31982 +++++++++++++++++++++++++++++++++++++++++++++++-----
31983 2 files changed, 2360 insertions(+), 222 deletions(-)
31985 commit 96f6c638709636d7e2ddf560b877879691da3314
31986 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31987 Date: Sat Nov 28 11:03:51 2009 +0000
31989 A few tests about interfaces
31991 https://bugzilla.gnome.org/show_bug.cgi?id=601181
31993 tests/libtestgi.c | 23 +++++++++++++++++++++++
31994 tests/libtestgi.h | 16 ++++++++++++++++
31995 tests/test_gi.py | 21 +++++++++++++++++++++
31996 3 files changed, 60 insertions(+)
31998 commit 076ba3156c13375a75983cef7a409c8c8afea119
31999 Author: Simon van der Linden <svdlinden@src.gnome.org>
32000 Date: Thu Nov 26 23:50:54 2009 +0100
32002 Fix members initialization in metaclasses
32004 In metaclasses, the test for the name of the class was wrong, since it
32005 prevented one to create a subclass with the same name (especially
32007 overrides). Now, if a GType is available from the info, the fact
32009 doesn't have any wrapper yet means that the metaclass is creating
32011 class, which will be registerd just after its creation. This is
32013 objects, and for structures registered as boxed or pointer too.
32015 This patch includes a test for basic subclassing in Python. It
32017 that methods don't get overridden by the metaclass.
32019 gi/types.py | 5 +++--
32020 tests/test_gi.py | 19 +++++++++++++++++++
32021 2 files changed, 22 insertions(+), 2 deletions(-)
32023 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
32024 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32025 Date: Fri Nov 27 12:06:59 2009 +0000
32027 Structs in arrays are not marshalled correctly
32029 https://bugzilla.gnome.org/show_bug.cgi?id=602709
32031 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
32032 tests/libtestgi.c | 23 ++++++++++++++++++++++-
32033 tests/libtestgi.h | 7 +++++--
32034 tests/test_gi.py | 8 ++++++++
32035 4 files changed, 59 insertions(+), 8 deletions(-)
32037 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
32038 Author: Simon van der Linden <svdlinden@src.gnome.org>
32039 Date: Wed Nov 25 16:53:55 2009 +0100
32041 Use the right variable when looking up in sys.modules
32043 gi/importer.py | 2 +-
32044 1 file changed, 1 insertion(+), 1 deletion(-)
32046 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
32047 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32048 Date: Tue Nov 24 15:52:47 2009 +0100
32050 Accept 0 as a valid value for flag and enum arguments
32052 https://bugzilla.gnome.org/show_bug.cgi?id=602638
32054 gi/pygi-argument.c | 19 ++++++++++++++++++-
32055 tests/libtestgi.c | 6 ++++++
32056 tests/libtestgi.h | 1 +
32057 tests/test_gi.py | 1 +
32058 4 files changed, 26 insertions(+), 1 deletion(-)
32060 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
32061 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32062 Date: Tue Nov 24 13:10:11 2009 +0100
32064 Add stuff to .gitignore
32066 .gitignore | 7 +++++++
32067 1 file changed, 7 insertions(+)
32069 commit 5c010fe673d9bd01c27c8d7d312064665275888c
32070 Author: Simon van der Linden <svdlinden@src.gnome.org>
32071 Date: Mon Nov 23 22:39:12 2009 +0100
32073 Remove the girepository module
32076 configure.ac | 17 -
32077 girepository/Makefile.am | 54 --
32078 girepository/__init__.py | 24 -
32079 girepository/bank-argument.c | 379 ------------
32080 girepository/bank-info.c | 1194
32081 ------------------------------------
32082 girepository/bank-repository.c | 236 -------
32083 girepository/bank.c | 155 -----
32084 girepository/bank.h | 80 ---
32085 girepository/btypes.py | 300 ---------
32086 girepository/importer.py | 51 --
32087 girepository/module.py | 224 -------
32088 girepository/overrides/Gdk.py | 14 -
32089 girepository/overrides/Gtk.py | 8 -
32090 girepository/overrides/__init__.py | 0
32091 girepository/repository.py | 51 --
32092 tests/test_girepository.py | 386 ------------
32093 17 files changed, 1 insertion(+), 3174 deletions(-)
32095 commit a644edf0515c26ed027522891ccf02aceac764e8
32096 Author: Johan Dahlin <johan@gnome.org>
32097 Date: Mon Nov 23 15:32:16 2009 -0200
32099 Create overridden modules in two passes
32101 This patch splits overridden module creation into two passes. The
32103 creates the auto-generated module normally before the overridden
32105 attempted to be imported. The second pass imports the overridden
32107 replaces the auto-generated module with the overridden. This is
32109 for the overridden modules to be able to access the auto-generated
32112 gi/importer.py | 34 +++++++++++++++++++++-------------
32113 1 file changed, 21 insertions(+), 13 deletions(-)
32115 commit fad89e12a744b57e6348968f351d25d167de8248
32116 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32117 Date: Sun Nov 22 17:56:20 2009 +0100
32119 Add support for Any arguments
32121 https://bugzilla.gnome.org/show_bug.cgi?id=601253
32123 gi/pygi-argument.c | 20 ++++++++++++--------
32124 tests/libtestgi.c | 5 +++++
32125 tests/libtestgi.h | 5 +++++
32126 tests/test_gi.py | 5 +++++
32127 4 files changed, 27 insertions(+), 8 deletions(-)
32129 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
32130 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32131 Date: Sun Nov 22 17:25:04 2009 +0100
32133 Register interfaces
32135 https://bugzilla.gnome.org/show_bug.cgi?id=601181
32137 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
32138 gi/types.py | 5 ++++-
32139 2 files changed, 37 insertions(+), 1 deletion(-)
32141 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
32142 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32143 Date: Sun Nov 22 18:23:02 2009 +0200
32145 Ignore one more file.
32148 1 file changed, 1 insertion(+)
32150 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
32151 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32152 Date: Sun Nov 22 18:22:23 2009 +0200
32154 Fix wrong minimum checking in float properties
32156 Bug #587637. Test the fix.
32158 gobject/propertyhelper.py | 5 +++--
32159 tests/test_properties.py | 6 ++++++
32160 2 files changed, 9 insertions(+), 2 deletions(-)
32162 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
32163 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32164 Date: Mon Oct 26 18:06:06 2009 +0000
32166 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
32168 gi/pygi-argument.c | 3 +++
32169 1 file changed, 3 insertions(+)
32171 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
32172 Author: Simon van der Linden <svdlinden@src.gnome.org>
32173 Date: Sat Nov 14 21:42:43 2009 +0100
32175 Import pygtk properly to avoid failure on some setups
32177 tests/test_gi.py | 3 +++
32178 1 file changed, 3 insertions(+)
32180 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
32181 Author: Alex Dedul <rotmer@gmail.com>
32182 Date: Sat Nov 14 21:39:15 2009 +0100
32184 Search for python-config-${VERSION} when python${VERSION}-config is
32187 On Gentoo, notably, the config tool is named python-config-${VERSION},
32189 Fedora and Ubuntu, it is named python${VERSION}-config.
32191 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
32193 configure.ac | 7 +++++--
32194 1 file changed, 5 insertions(+), 2 deletions(-)
32196 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
32197 Author: Simon van der Linden <svdlinden@src.gnome.org>
32198 Date: Sat Nov 14 21:36:19 2009 +0100
32200 Fix silent rules setup
32202 configure.ac | 2 +-
32203 1 file changed, 1 insertion(+), 1 deletion(-)
32205 commit 602afea88c338a38327cd84e08703c5daa384ec6
32206 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32207 Date: Tue Nov 10 22:32:33 2009 +0200
32209 Move threads_init() function from 'gobject' to 'glib'
32211 Retain in original place for backward compatibility, but remove it
32214 docs/reference/pygobject-functions.xml | 36
32215 +++++++---------------------------
32216 glib/glibmodule.c | 16 +++++++++++++++
32217 2 files changed, 23 insertions(+), 29 deletions(-)
32219 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
32220 Author: Simon van der Linden <svdlinden@src.gnome.org>
32221 Date: Mon Nov 9 22:44:12 2009 +0100
32223 Remove PyGObject patches since they've been merged to master
32225 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
32226 patches/0002-Fix-girpository-build-setup.patch | 186
32227 -------------------
32228 ...capabilities-to-import-wrappers-from-pygi.patch | 200
32229 ---------------------
32230 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
32231 4 files changed, 493 deletions(-)
32233 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
32234 Author: Simon van der Linden <svdlinden@src.gnome.org>
32235 Date: Sat Nov 7 23:42:07 2009 +0100
32237 Create instances by calling tp_alloc rather than PyObject_NEW
32239 PyObject_NEW calls a generic allocator and should only be called by
32241 that the type's free function agrees. In pyg_boxed_new, we may
32243 PyGBoxed subtypes, so the subtype's allocation function must be
32246 gobject/pygboxed.c | 3 ++-
32247 1 file changed, 2 insertions(+), 1 deletion(-)
32249 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
32250 Author: Simon van der Linden <svdlinden@src.gnome.org>
32251 Date: Sat Nov 7 16:43:35 2009 +0100
32253 Add capabilities to import wrappers from pygi
32255 At instance creation for boxed and pointers, at lookup for objects,
32256 when the gtype has no wrapper yet, a wrapper may be imported from
32259 The feature is turned on at configure time by --enable-pygi.
32261 Because we couldn't create a circular build dependency, PyGI's import
32263 API definition had to be copied in this tree.
32265 configure.ac | 8 ++++++
32266 gobject/pygboxed.c | 10 ++++++++
32267 gobject/pygi-external.h | 66
32268 +++++++++++++++++++++++++++++++++++++++++++++++++
32269 gobject/pygobject.c | 10 ++++++++
32270 gobject/pygpointer.c | 11 +++++++++
32271 5 files changed, 105 insertions(+)
32273 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
32274 Author: Simon van der Linden <svdlinden@src.gnome.org>
32275 Date: Sun Nov 8 20:03:58 2009 +0100
32277 Update PyGObject patches
32279 A file, pygi-external.h, was missing in patch #3.
32281 ...capabilities-to-import-wrappers-from-pygi.patch | 74
32282 ++++++++++++++++++++--
32283 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
32284 2 files changed, 69 insertions(+), 7 deletions(-)
32286 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
32287 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32288 Date: Sun Nov 8 16:52:18 2009 +0100
32290 Add myself to pygi.doap
32292 pygi.doap | 5 +++++
32293 1 file changed, 5 insertions(+)
32295 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
32296 Author: Simon van der Linden <svdlinden@src.gnome.org>
32297 Date: Sun Nov 8 15:40:51 2009 +0100
32301 pygi.doap | 17 +++++++++++++++++
32302 1 file changed, 17 insertions(+)
32304 commit ce673b9027868e6add4eeb438bc707eb40bfd046
32305 Author: Simon van der Linden <svdlinden@src.gnome.org>
32306 Date: Sun Nov 8 13:06:54 2009 +0100
32308 Add PyGObject patches
32310 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
32311 patches/0002-Fix-girpository-build-setup.patch | 186
32312 +++++++++++++++++++++
32313 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
32314 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
32315 4 files changed, 431 insertions(+)
32317 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
32318 Author: Simon van der Linden <svdlinden@src.gnome.org>
32319 Date: Sun Nov 8 12:35:08 2009 +0100
32325 autogen.sh | 159 +++
32326 configure.ac | 53 +
32327 gi/Makefile.am | 50 +
32328 gi/__init__.py | 24 +
32329 gi/gimodule.c | 144 ++
32330 gi/importer.py | 89 ++
32331 gi/module.py | 167 +++
32332 gi/overrides/Gdk.py | 21 +
32333 gi/overrides/Gtk.py | 13 +
32334 gi/overrides/Makefile.am | 10 +
32335 gi/overrides/__init__.py | 0
32336 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
32337 gi/pygi-argument.h | 65 +
32338 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
32339 gi/pygi-info.h | 64 +
32340 gi/pygi-private.h | 55 +
32341 gi/pygi-repository.c | 238 ++++
32342 gi/pygi-repository.h | 39 +
32343 gi/pygi-struct.c | 175 +++
32344 gi/pygi-struct.h | 40 +
32345 gi/pygi-type.c | 96 ++
32346 gi/pygi-type.h | 43 +
32348 gi/pygobject-external.h | 83 ++
32349 gi/repository/Makefile.am | 8 +
32350 gi/repository/__init__.py | 30 +
32351 gi/types.py | 163 +++
32352 tests/Makefile.am | 48 +
32353 tests/libtestgi.c | 3397
32354 +++++++++++++++++++++++++++++++++++++++++++++
32355 tests/libtestgi.h | 643 +++++++++
32356 tests/runtests.py | 22 +
32357 tests/test_gi.py | 1416 +++++++++++++++++++
32358 34 files changed, 11566 insertions(+)
32360 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
32361 Author: Simon van der Linden <svdlinden@src.gnome.org>
32362 Date: Sat Nov 7 13:23:53 2009 +0100
32364 Fix girpository build setup
32366 configure.ac | 21 ++++++-----
32367 girepository/Makefile.am | 13 ++++---
32368 m4/introspection.m4 | 92
32369 ++++++++++++++++++++++++++++++++++++++++++++++++
32370 3 files changed, 111 insertions(+), 15 deletions(-)
32372 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
32373 Author: Simon van der Linden <svdlinden@src.gnome.org>
32374 Date: Fri Nov 6 19:17:36 2009 +0100
32376 Make GType.pytype aware of the interface, enum, flags, pointer and
32379 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
32380 1 file changed, 33 insertions(+), 6 deletions(-)
32382 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
32383 Author: Philippe Normad <phil@base-art.net>
32384 Date: Wed Oct 21 18:01:16 2009 +0200
32386 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
32390 glib/pygmainloop.c | 95
32391 ++++++++++++++++++++++++++++--------------------------
32392 1 file changed, 50 insertions(+), 45 deletions(-)
32394 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
32395 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32396 Date: Fri Sep 25 20:12:21 2009 +0200
32398 Post release version bump to 2.21.0
32400 configure.ac | 2 +-
32401 1 file changed, 1 insertion(+), 1 deletion(-)
32403 commit 33920eb013628a5e22b7b32403fb965ae3210f47
32404 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32405 Date: Wed Sep 23 21:52:04 2009 +0200
32407 Update NEWS and release 2.20.0
32410 1 file changed, 6 insertions(+)
32412 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
32413 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32414 Date: Wed Sep 23 21:51:43 2009 +0200
32416 Bump version to 2.20.0
32418 configure.ac | 2 +-
32419 1 file changed, 1 insertion(+), 1 deletion(-)
32421 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
32422 Author: Brian Cameron <Brian.Cameron@sun.com>
32423 Date: Wed Sep 23 12:11:50 2009 -0500
32425 Updated uninstalled.pc file so that it contains the right paths for
32426 defsdir files and codegen files. See bug #596023.
32428 pygobject-2.0-uninstalled.pc.in | 4 ++--
32429 1 file changed, 2 insertions(+), 2 deletions(-)
32431 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
32432 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32433 Date: Tue Sep 22 22:02:27 2009 +0300
32435 Plug reference leak of GSource in pyg_main_loop_init()
32437 Bug #579406, second change.
32439 glib/pygmainloop.c | 1 +
32440 1 file changed, 1 insertion(+)
32442 commit 640be8109d066e85ed77c810830a5f73c750415b
32443 Author: Frédéric Péters <fpeters@0d.be>
32444 Date: Sun Aug 30 16:46:02 2009 +0200
32446 Specify programming language in .devhelp file
32448 This add a new language attribute (hardcoded to python) in the
32450 file that is produced when using ref-html-style.xsl.
32452 docs/xsl/devhelp.xsl | 2 +-
32453 1 file changed, 1 insertion(+), 1 deletion(-)
32455 commit c888b5ca722fcad6a03de585606c677c2969ebd6
32456 Author: Paolo Borelli <pborelli@gnome.org>
32457 Date: Thu Aug 13 21:32:07 2009 +0200
32459 Allow to use automake 1.11
32461 autogen.sh | 13 +++++++------
32462 1 file changed, 7 insertions(+), 6 deletions(-)
32464 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
32465 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32466 Date: Tue Aug 11 22:19:50 2009 +0200
32470 README | 10 ++++++++--
32471 1 file changed, 8 insertions(+), 2 deletions(-)
32473 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
32474 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32475 Date: Tue Aug 11 22:16:52 2009 +0200
32479 AUTHORS | 8 +++++---
32480 1 file changed, 5 insertions(+), 3 deletions(-)
32482 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
32483 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32484 Date: Tue Aug 11 22:11:43 2009 +0200
32486 Add myself and Paul as maintainers
32488 MAINTAINERS | 8 ++++++++
32489 pygobject.doap | 14 ++++++++++++++
32490 2 files changed, 22 insertions(+)
32492 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
32493 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32494 Date: Tue Aug 11 20:52:44 2009 +0200
32496 Update NEWS release 2.19.0
32498 NEWS | 29 +++++++++++++++++++++++++++++
32499 1 file changed, 29 insertions(+)
32501 commit e82a1841f31ad54dd50569d0d45290713409e0bf
32502 Author: John Finlay <finlay@moeraki.com>
32503 Date: Tue Aug 11 00:04:31 2009 -0700
32505 Add macros to help with Python list to/from GList/GSList conversions.
32507 gobject/pygobject.h | 242
32508 +++++++++++++++++++++++++++++++++++++++++++++++++++-
32509 1 file changed, 241 insertions(+), 1 deletion(-)
32511 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
32512 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32513 Date: Sat Aug 8 21:37:54 2009 +0200
32515 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
32517 gio/gfileinfo.override | 4 ++--
32518 1 file changed, 2 insertions(+), 2 deletions(-)
32520 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
32521 Author: Johan Dahlin <johan@gnome.org>
32522 Date: Fri Jul 24 14:30:37 2009 -0300
32524 Remove myself as a maintainer
32526 MAINTAINERS | 4 ----
32527 pygobject.doap | 7 -------
32528 2 files changed, 11 deletions(-)
32530 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
32531 Author: John Finlay <finlay@moeraki.com>
32532 Date: Wed Jul 8 15:47:44 2009 -0700
32534 * codegen/defsgen.py (clean_patterns): Strip out Windows
32537 codegen/defsgen.py | 6 +++---
32538 1 file changed, 3 insertions(+), 3 deletions(-)
32540 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
32541 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32542 Date: Tue Jun 23 21:18:23 2009 +0200
32544 Fix the gio.unix namespace in docs
32546 docs/Makefile.am | 2 ++
32547 docs/reference/pygio-classes.xml | 2 --
32548 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
32549 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
32550 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
32551 docs/reference/pygobject-ref.xml | 1 +
32552 6 files changed, 42 insertions(+), 28 deletions(-)
32554 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
32555 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32556 Date: Mon Jun 22 23:13:36 2009 +0200
32558 Add docs for gio functions (mostly for content types)
32560 docs/Makefile.am | 2 +
32561 docs/reference/pygio-classes.xml | 1 +
32562 docs/reference/pygio-functions.xml | 395
32563 +++++++++++++++++++++++++++++++++++++
32564 3 files changed, 398 insertions(+)
32566 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
32567 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32568 Date: Sun Jun 21 18:35:56 2009 +0200
32570 Add docs for gio.Unix[In|Out]putStream classes
32572 docs/Makefile.am | 4 +
32573 docs/reference/pygio-classes.xml | 2 +
32574 docs/reference/pygio-unixinputstream.xml | 202
32575 ++++++++++++++++++++++++++++++
32576 docs/reference/pygio-unixoutputstream.xml | 202
32577 ++++++++++++++++++++++++++++++
32578 4 files changed, 410 insertions(+)
32580 commit 5b71e58117c85634d95d08449eb54079b246e5be
32581 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32582 Date: Sun Jun 21 16:50:03 2009 +0300
32584 Document that many functions got moved gobject -> glib
32586 docs/reference/pygobject-functions.xml | 7 +++++++
32587 1 file changed, 7 insertions(+)
32589 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
32590 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32591 Date: Sat Jun 20 19:23:25 2009 +0200
32593 Add docs for class gio.DataOutputStream
32595 docs/Makefile.am | 2 +
32596 docs/reference/pygio-classes.xml | 1 +
32597 docs/reference/pygio-dataoutputstream.xml | 504
32598 ++++++++++++++++++++++++++++++
32599 3 files changed, 507 insertions(+)
32601 commit 549313fc4886fa3deb31761de6f5400708165d86
32602 Author: Murray Cumming <murrayc@murrayc.com>
32603 Date: Thu Jun 18 18:48:37 2009 +0200
32605 Allow h2def.py to work when there are tabs or multiple spaces after
32606 the struct keyword.
32608 codegen/h2def.py | 8 ++++----
32609 1 file changed, 4 insertions(+), 4 deletions(-)
32611 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
32612 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32613 Date: Mon Jun 15 23:02:34 2009 +0200
32615 Add dpcs for class gio.DataInputStream
32617 docs/Makefile.am | 2 +
32618 docs/reference/pygio-classes.xml | 1 +
32619 docs/reference/pygio-constants.xml | 66 +++
32620 docs/reference/pygio-datainputstream.xml | 799
32621 +++++++++++++++++++++++++++++++
32622 4 files changed, 868 insertions(+)
32624 commit a8b36c343c6850af929c1d5a930f923831b4e637
32625 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
32626 Date: Mon Jun 15 23:25:01 2009 +0300
32628 Fix build when builddir is not the same as srcdir
32632 girepository/Makefile.am | 2 +-
32633 1 file changed, 1 insertion(+), 1 deletion(-)
32635 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
32636 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32637 Date: Mon Jun 15 23:19:47 2009 +0300
32639 Make gio.Emblem constructor new-style
32641 Add optional 'origin' parameter. Expand gio.Emblem documentation and
32642 mark gio.emblem_new_with_origin as sort-of-deprecated.
32644 docs/reference/pygio-emblem.xml | 51
32645 +++++++++++++++++++++++++++++++++++++++--
32646 gio/gio.defs | 5 ++--
32647 2 files changed, 52 insertions(+), 4 deletions(-)
32649 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
32650 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32651 Date: Sat Jun 13 14:44:47 2009 +0200
32653 Add docs for gio.BufferedOutputStream class
32655 docs/Makefile.am | 96 ++++-----
32656 docs/reference/pygio-bufferedoutputstream.xml | 275
32657 ++++++++++++++++++++++++++
32658 docs/reference/pygio-classes.xml | 1 +
32659 3 files changed, 325 insertions(+), 47 deletions(-)
32661 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
32662 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32663 Date: Sat Jun 13 14:38:34 2009 +0200
32665 Fix gio.BufferedInputStream docs
32667 Added the constructor reference and fixed a typo in properties header
32669 docs/reference/pygio-bufferedinputstream.xml | 34
32670 ++++++++++++++++++++++++++--
32671 1 file changed, 32 insertions(+), 2 deletions(-)
32673 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
32674 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32675 Date: Sat Jun 13 01:25:06 2009 +0200
32677 Add docs for gio.BufferedInputStream
32679 docs/Makefile.am | 2 +
32680 docs/reference/pygio-bufferedinputstream.xml | 431
32681 +++++++++++++++++++++++++++
32682 docs/reference/pygio-classes.xml | 1 +
32683 3 files changed, 434 insertions(+)
32685 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
32686 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32687 Date: Sun May 31 18:25:47 2009 +0300
32689 Cleanup GIO overrides to use Python function/method names
32691 Also move several gio.Mount overrides over from 'gio.override' to
32692 existing 'gmount.override'. Part of bug #584289.
32694 gio/gfile.override | 20 ++---
32695 gio/gfileenumerator.override | 6 +-
32696 gio/ginputstream.override | 2 +-
32697 gio/gio.override | 204
32698 -------------------------------------------
32699 gio/gmount.override | 204
32700 +++++++++++++++++++++++++++++++++++++++++++
32701 5 files changed, 218 insertions(+), 218 deletions(-)
32703 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
32704 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32705 Date: Sun May 31 18:56:55 2009 +0300
32707 Make codegen report errors using Python function/method names
32709 Part of bug #584289.
32711 codegen/codegen.py | 9 +++++----
32712 codegen/definitions.py | 10 +++++++++-
32713 2 files changed, 14 insertions(+), 5 deletions(-)
32715 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
32716 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32717 Date: Fri Jun 12 00:12:17 2009 +0200
32719 Fix object type in gio.BufferedInputStream_fill_async
32721 gio/gbufferedinputstream.override | 2 +-
32722 1 file changed, 1 insertion(+), 1 deletion(-)
32724 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
32725 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32726 Date: Tue Jun 9 00:08:21 2009 +0200
32728 Wrap gio.BufferedInputStream.fill_async
32730 Wrap the method gio.BufferedInputStream.fill_async and add a test
32732 gio/Makefile.am | 1 +
32733 gio/gbufferedinputstream.override | 70
32734 +++++++++++++++++++++++++++++++++++++++
32735 gio/gio.override | 1 +
32736 tests/test_gio.py | 25 ++++++++++++++
32737 4 files changed, 97 insertions(+)
32739 commit b7c96b41b287685fe57504e0add3a6f16e649975
32740 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32741 Date: Mon Jun 8 15:42:40 2009 +0200
32743 Add gio.BufferedOutputStream which was forgotten in the types
32746 gio/gio-types.defs | 7 +++++++
32747 1 file changed, 7 insertions(+)
32749 commit 3666f75af4ef2c8e038116aee5afada59d59f689
32750 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32751 Date: Mon Jun 8 14:20:02 2009 +0200
32753 Add docs for gio.MemoryOutputStream
32755 docs/Makefile.am | 2 +
32756 docs/reference/pygio-classes.xml | 1 +
32757 docs/reference/pygio-memoryoutputstream.xml | 175
32758 ++++++++++++++++++++++++++++
32759 3 files changed, 178 insertions(+)
32761 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
32762 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32763 Date: Mon Jun 8 13:30:15 2009 +0200
32765 Split overrides for gio.MemoryOutputStream
32767 gio/Makefile.am | 1 +
32768 gio/gio.override | 1 +
32769 gio/gmemoryoutputstream.override | 45
32770 ++++++++++++++++++++++++++++++++++++++++
32771 gio/goutputstream.override | 24 ---------------------
32772 4 files changed, 47 insertions(+), 24 deletions(-)
32774 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
32775 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32776 Date: Mon Jun 8 11:45:11 2009 +0200
32778 Wrap gio.memory_input_stream_new_from_data
32780 Add the wrapper for gio.memory_input_stream_new_from_data including
32783 docs/Makefile.am | 4 +-
32784 docs/reference/pygio-classes.xml | 1 +
32785 docs/reference/pygio-memoryinputstream.xml | 151
32786 +++++++++++++++++++++++++++++
32787 gio/Makefile.am | 1 +
32788 gio/ginputstream.override | 34 -------
32789 gio/gio.override | 1 +
32790 gio/gmemoryinputstream.override | 91 +++++++++++++++++
32791 tests/test_gio.py | 4 +
32792 8 files changed, 252 insertions(+), 35 deletions(-)
32794 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
32795 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32796 Date: Mon Jun 8 19:15:24 2009 +0200
32798 Fixes whitespaces style issues with girepository.
32800 girepository/Makefile.am | 2 +-
32801 girepository/bank-repository.c | 67
32802 +++++++++++++++++++++---------------------
32803 girepository/bank.h | 2 +-
32804 girepository/btypes.py | 6 ++--
32805 girepository/module.py | 2 +-
32806 5 files changed, 39 insertions(+), 40 deletions(-)
32808 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
32809 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32810 Date: Fri Jun 5 19:03:59 2009 +0200
32812 Removes the header but the modeline in test_girepository.py.
32814 tests/test_girepository.py | 26 +-------------------------
32815 1 file changed, 1 insertion(+), 25 deletions(-)
32817 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
32818 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32819 Date: Wed Jun 3 10:47:58 2009 +0200
32821 Adds overrides modules from PyBank.
32823 girepository/Makefile.am | 3 +++
32824 girepository/importer.py | 3 +--
32825 girepository/overrides/Gdk.py | 14 ++++++++++++++
32826 girepository/overrides/Gtk.py | 8 ++++++++
32827 girepository/overrides/__init__.py | 0
32828 5 files changed, 26 insertions(+), 2 deletions(-)
32830 commit c12964e6a3354d8063355225c94e6d21d621e08b
32831 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32832 Date: Tue Jun 2 23:40:41 2009 +0200
32834 Disables the tests that fail in tests/test_girepository.py.
32836 tests/test_girepository.py | 242
32837 ++++++++++++++++++++++++++++++++++-----------
32838 1 file changed, 182 insertions(+), 60 deletions(-)
32840 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
32841 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32842 Date: Tue Jun 2 23:03:26 2009 +0200
32844 Imports test_girepository.py from former PyBank's
32845 everything_unittest.py.
32847 tests/test_girepository.py | 288
32848 +++++++++++++++++++++++++++++++++++++++++++++
32849 1 file changed, 288 insertions(+)
32851 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
32852 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32853 Date: Thu May 28 17:45:11 2009 +0200
32855 Introduces the girepository module from the former PyBank.
32859 configure.ac | 12 +
32860 girepository/Makefile.am | 52 ++
32861 girepository/__init__.py | 24 +
32862 girepository/bank-argument.c | 379 +++++++++++++
32863 girepository/bank-info.c | 1194
32864 ++++++++++++++++++++++++++++++++++++++++
32865 girepository/bank-repository.c | 237 ++++++++
32866 girepository/bank.c | 155 ++++++
32867 girepository/bank.h | 80 +++
32868 girepository/btypes.py | 300 ++++++++++
32869 girepository/importer.py | 52 ++
32870 girepository/module.py | 224 ++++++++
32871 girepository/repository.py | 51 ++
32872 14 files changed, 2799 insertions(+), 32 deletions(-)
32874 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
32875 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32876 Date: Tue Jun 2 18:28:22 2009 +0200
32878 Fix the docs for gio.FilterOutputStream
32880 docs/reference/pygio-filteroutputstream.xml | 6 +++---
32881 1 file changed, 3 insertions(+), 3 deletions(-)
32883 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
32884 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32885 Date: Tue Jun 2 18:27:00 2009 +0200
32887 Add gio.FilterOutputStream docs
32889 docs/Makefile.am | 2 +
32890 docs/reference/pygio-classes.xml | 1 +
32891 docs/reference/pygio-filteroutputstream.xml | 152
32892 ++++++++++++++++++++++++++++
32893 3 files changed, 155 insertions(+)
32895 commit e2c31f916967229b6547e68013628ce0082cf875
32896 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32897 Date: Tue Jun 2 13:29:59 2009 +0200
32899 Add gio.FilterInputStream docs
32901 docs/Makefile.am | 2 +
32902 docs/reference/pygio-classes.xml | 1 +
32903 docs/reference/pygio-filterinputstream.xml | 152
32904 +++++++++++++++++++++++++++++
32905 3 files changed, 155 insertions(+)
32907 commit 49a467eee445bc75554db0374006722ac075194b
32908 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32909 Date: Tue Jun 2 11:33:20 2009 +0200
32911 Add API appeared in 2.20 but not marked as such in gio docs
32913 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
32914 1 file changed, 30 insertions(+)
32916 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
32917 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32918 Date: Tue Jun 2 10:41:26 2009 +0200
32920 Wrap gio.FileOutputStream.query_info_async
32922 Add the wrapper for gio.FileOutputStream.query_info_async
32923 including docs and a test.
32925 docs/Makefile.am | 2 +
32926 docs/reference/pygio-classes.xml | 1 +
32927 docs/reference/pygio-fileoutputstream.xml | 257
32928 ++++++++++++++++++++++++++++++
32929 gio/Makefile.am | 3 +-
32930 gio/gfileoutputstream.override | 68 ++++++++
32931 gio/gio.override | 1 +
32932 tests/test_gio.py | 27 ++++
32933 7 files changed, 358 insertions(+), 1 deletion(-)
32935 commit 4673577d1f6c3d54423808dd575987092fb05ad2
32936 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32937 Date: Tue Jun 2 10:17:41 2009 +0200
32939 Fix gio.FileInputStream docs
32941 Add implemented interface section and remove a method description
32943 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
32944 1 file changed, 9 insertions(+), 16 deletions(-)
32946 commit 1e1cad02879d514745b5233658654cbe944530a5
32947 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32948 Date: Mon Jun 1 22:54:26 2009 +0200
32950 Fix the method name
32952 gio/gfileinputstream.override | 14 +++++++-------
32953 1 file changed, 7 insertions(+), 7 deletions(-)
32955 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
32956 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32957 Date: Mon Jun 1 22:40:56 2009 +0200
32959 Wrap gio.FileInputStream.query_async
32961 Add the wrapper for gio.FileInputStream.query_async including docs and
32964 docs/Makefile.am | 2 +
32965 docs/reference/pygio-classes.xml | 1 +
32966 docs/reference/pygio-fileinputstream.xml | 221
32967 +++++++++++++++++++++++++++++++
32968 gio/Makefile.am | 1 +
32969 gio/gfileinputstream.override | 68 ++++++++++
32970 gio/gio.override | 1 +
32971 tests/test_gio.py | 27 ++++
32972 7 files changed, 321 insertions(+)
32974 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
32975 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32976 Date: Sun May 31 17:43:16 2009 +0300
32978 Install executable codegen parts with executing permissions
32980 Also add shebang where it was missing. Bug #583979.
32982 codegen/Makefile.am | 23 ++++++++++++-----------
32983 codegen/code-coverage.py | 2 ++
32984 codegen/codegen.py | 2 ++
32985 codegen/createdefs.py | 0
32986 codegen/defsconvert.py | 2 ++
32987 codegen/defsgen.py | 0
32988 codegen/docgen.py | 0
32989 codegen/scmexpr.py | 0
32990 8 files changed, 18 insertions(+), 11 deletions(-)
32992 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
32993 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32994 Date: Sat May 30 16:57:49 2009 +0300
32996 Wrap gio.DataInputStream.read_line_async and read_until_async
32998 Wrap the functions and their corresponding *_finish() functions.
32999 Create 'gdatainputstream.override' for these and move two existing
33000 functions there. Add unit tests. Re-enable synchronous read_line
33001 unit test and adjust it for new official GIO behavior. Bug #584285.
33003 gio/Makefile.am | 1 +
33004 gio/gdatainputstream.override | 250
33005 ++++++++++++++++++++++++++++++++++++++++++
33006 gio/ginputstream.override | 65 -----------
33007 gio/gio.defs | 4 +-
33008 gio/gio.override | 1 +
33009 tests/test_gio.py | 51 ++++++++-
33010 6 files changed, 300 insertions(+), 72 deletions(-)
33012 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
33013 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33014 Date: Sat May 30 17:24:15 2009 +0300
33016 Fix gio.OutputStream.splice_async
33020 gio/goutputstream.override | 8 ++++----
33021 1 file changed, 4 insertions(+), 4 deletions(-)
33023 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
33024 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33025 Date: Wed May 27 21:19:27 2009 +0300
33027 Code maintenance: ignore one more file created by unit tests
33029 tests/.gitignore | 1 +
33030 1 file changed, 1 insertion(+)
33032 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
33033 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33034 Date: Mon May 25 20:20:38 2009 +0200
33036 Update the docs with new 2.20 API
33038 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
33039 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
33040 docs/reference/pygio-mount.xml | 156
33041 +++++++++++++++++++++++++++++++++++++++
33042 3 files changed, 367 insertions(+), 3 deletions(-)
33044 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
33045 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33046 Date: Mon May 25 01:33:08 2009 +0200
33050 add the new API added in gio 2.20, some needs to be wrapped manually
33053 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33054 gio/unix.defs | 48 +++++++++++++++++++++-----
33055 2 files changed, 146 insertions(+), 8 deletions(-)
33057 commit 0d08df42514fba6abc896814abfee0d2d083c29e
33058 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33059 Date: Mon May 25 00:14:21 2009 +0200
33061 Post release version bump 2.19.0
33063 configure.ac | 2 +-
33064 1 file changed, 1 insertion(+), 1 deletion(-)
33066 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
33067 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33068 Date: Sun May 24 23:56:29 2009 +0200
33070 Update NEWS, release 2.18.0
33072 NEWS | 14 ++++++++++++++
33073 configure.ac | 4 ++--
33074 2 files changed, 16 insertions(+), 2 deletions(-)
33076 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
33077 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33078 Date: Sun May 24 22:18:40 2009 +0200
33080 Add documentation for the gio.OutputStream class
33082 The docs for this class are not completed, missing methods
33084 The index is complete though, it will be completed once all the
33086 are in place so we can ship a (almost) complete reference.
33088 docs/Makefile.am | 2 +
33089 docs/reference/pygio-classes.xml | 3 +-
33090 docs/reference/pygio-outputstream.xml | 140
33091 ++++++++++++++++++++++++++++++++++
33092 3 files changed, 144 insertions(+), 1 deletion(-)
33094 commit 11524cdf6472d9115a812ce431f6767aec5627bc
33095 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33096 Date: Sun May 24 22:12:04 2009 +0200
33098 Wrap gio.OutputStream.splice_async()
33100 wrap gio.OutputStream.splice_async() and add a test.
33102 gio/goutputstream.override | 58
33103 +++++++++++++++++++++++++++++++++++++++++++++-
33104 tests/test_gio.py | 20 ++++++++++++++++
33105 2 files changed, 77 insertions(+), 1 deletion(-)
33107 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
33108 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
33109 Date: Sun May 24 22:55:16 2009 +0300
33111 Add Python version into installed libpyglib name
33113 Do this now, while no-one (as far as we know) links to the library
33114 besides PyGObject itself. Bug #550235.
33116 configure.ac | 2 ++
33117 gio/Makefile.am | 2 +-
33118 glib/Makefile.am | 10 +++++-----
33119 gobject/Makefile.am | 2 +-
33120 4 files changed, 9 insertions(+), 7 deletions(-)
33122 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
33123 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33124 Date: Sun May 24 11:44:24 2009 +0200
33126 Wrap gio.OutputStream.flush_async()
33128 wrap gio.OutputStream.flush_async() and add a test.
33130 gio/goutputstream.override | 47
33131 +++++++++++++++++++++++++++++++++++++++++++++-
33132 tests/test_gio.py | 11 +++++++++++
33133 2 files changed, 57 insertions(+), 1 deletion(-)
33135 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
33136 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33137 Date: Sun May 17 17:29:37 2009 +0200
33139 Add documentation for the gio.FileMonitor class
33141 The docs for this class are not completed, missing methods
33143 The index is complete though, it will be completed once all the
33145 are in place so we can ship a (almost) complete reference.
33147 docs/Makefile.am | 2 +
33148 docs/reference/pygio-classes.xml | 1 +
33149 docs/reference/pygio-filemonitor.xml | 128
33150 +++++++++++++++++++++++++++++++++++
33151 3 files changed, 131 insertions(+)
33153 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
33154 Author: Josselin Mouette <joss@malsain.org>
33155 Date: Sun May 17 18:03:44 2009 +0300
33157 Use 'Requires.private' for libffi in '.pc' files
33159 Correction for patch in bug #550231.
33161 pygobject-2.0-uninstalled.pc.in | 3 ++-
33162 pygobject-2.0.pc.in | 3 ++-
33163 2 files changed, 4 insertions(+), 2 deletions(-)
33165 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
33166 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33167 Date: Wed May 13 21:54:39 2009 +0200
33169 Add wrapper for gio.FileAttributeMatcher
33171 added a boxed type for gio.FileAttributeMatcher which has been
33173 wrapping the gio API. This should probably be done in gio itself.
33175 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
33176 gio/gio-types.defs | 7 +++++++
33177 gio/gio.override | 2 ++
33178 3 files changed, 31 insertions(+), 2 deletions(-)
33180 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
33181 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33182 Date: Wed May 13 22:06:25 2009 +0300
33184 Mark relevant glib.IOChannel methods as METH_NOARGS
33186 Additionally fix glib.IOChannel.set_close_on_unref: was marked
33187 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
33189 glib/pygiochannel.c | 83
33190 +++++++++++++----------------------------------------
33191 1 file changed, 20 insertions(+), 63 deletions(-)
33193 commit 002915e5f458fec5a89766a54e8119a70a80caa7
33194 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33195 Date: Tue May 12 20:37:24 2009 +0200
33197 Add documentation for the gio.FileInfo class
33199 The docs for this class are not completed, missing methods
33201 The index is complete though, it will be completed once all the
33203 are in place so we can ship a (almost) complete reference.
33205 docs/Makefile.am | 2 +
33206 docs/reference/pygio-classes.xml | 1 +
33207 docs/reference/pygio-fileinfo.xml | 346
33208 ++++++++++++++++++++++++++++++++++++++
33209 3 files changed, 349 insertions(+)
33211 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
33212 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33213 Date: Sat May 9 16:46:04 2009 +0300
33215 Retire hand-written ChangeLog; autocreate from Git history
33217 Basically copied over from GLib source tree.
33220 ---------------------------------------------------
33221 ChangeLog.pre-2.18 | 3608
33222 ++++++++++++++++++++++++++++++++++++++++++++++++++++
33224 3 files changed, 3640 insertions(+), 3606 deletions(-)
33226 commit 23556bdbcf9cf06db866901fb822dd78a9043648
33227 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33228 Date: Sat May 9 00:03:05 2009 +0200
33230 Fix a bug in InputStream.skip_async
33232 use the count argument instead of buffer_size which is always zero
33234 gio/ginputstream.override | 3 ++-
33235 1 file changed, 2 insertions(+), 1 deletion(-)
33237 commit ed6b06315c17441b41c001d38537c904b8fe18de
33238 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33239 Date: Sat May 9 00:02:33 2009 +0200
33241 Add docs for the gio.InputStream class
33243 docs/Makefile.am | 2 +
33244 docs/reference/pygio-classes.xml | 1 +
33245 docs/reference/pygio-inputstream.xml | 730
33246 +++++++++++++++++++++++++++++++++++
33247 3 files changed, 733 insertions(+)
33249 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
33250 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33251 Date: Mon May 4 23:40:28 2009 +0200
33253 Wrap gio.InputStream.skip_async()
33255 wrap gio.InputStream.skip_async() and add a test.
33257 gio/ginputstream.override | 50
33258 ++++++++++++++++++++++++++++++++++++++++++++++-
33259 tests/test_gio.py | 20 +++++++++++++++++++
33260 2 files changed, 69 insertions(+), 1 deletion(-)
33262 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
33263 Author: Siavash Safi <siavash@siavashs.org>
33264 Date: Mon May 4 15:46:49 2009 +0430
33266 Add -n --namespace option and the code to remove
33267 dll API in headers, Added documentation
33269 Patch from bug #579275
33272 codegen/h2def.py | 133
33273 +++++++++++++++++++++++++++++++++++++++++++++----------
33274 2 files changed, 117 insertions(+), 24 deletions(-)
33276 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
33277 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33278 Date: Sat May 2 23:54:52 2009 +0300
33280 Properly mark glib.get_user_special_dir() as a keywords method
33284 glib/glibmodule.c | 2 +-
33285 1 file changed, 1 insertion(+), 1 deletion(-)
33287 commit f466dca880cc6ea68b9fe236943eea7a07d33520
33288 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33289 Date: Sun May 3 11:03:25 2009 +0200
33291 Add docs for the gio.LoadableIcon class
33293 docs/Makefile.am | 2 +
33294 docs/reference/pygio-classes.xml | 1 +
33295 docs/reference/pygio-loadableicon.xml | 198
33296 ++++++++++++++++++++++++++++++++++
33297 3 files changed, 201 insertions(+)
33299 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
33300 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33301 Date: Sun May 3 01:21:55 2009 +0200
33303 Add docs for the gio.ThemedIcon class
33305 docs/Makefile.am | 2 +
33306 docs/reference/pygio-classes.xml | 1 +
33307 docs/reference/pygio-themedicon.xml | 204
33308 ++++++++++++++++++++++++++++++++++++
33309 3 files changed, 207 insertions(+)
33311 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
33312 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33313 Date: Sat May 2 12:25:19 2009 +0200
33315 post release version bump to 2.17.1
33317 configure.ac | 2 +-
33318 1 file changed, 1 insertion(+), 1 deletion(-)
33320 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
33321 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33322 Date: Fri May 1 23:40:31 2009 +0200
33324 Fix the class title
33326 docs/reference/pygio-mountoperation.xml | 2 +-
33327 1 file changed, 1 insertion(+), 1 deletion(-)
33329 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
33330 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33331 Date: Fri May 1 22:24:33 2009 +0200
33333 Add docs for the gio.MountOperation class
33335 docs/Makefile.am | 2 +
33336 docs/reference/pygio-classes.xml | 1 +
33337 docs/reference/pygio-constants.xml | 107 +++++
33338 docs/reference/pygio-mountoperation.xml | 726
33339 ++++++++++++++++++++++++++++++++
33340 4 files changed, 836 insertions(+)
33342 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
33343 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33344 Date: Thu Apr 30 22:13:06 2009 +0200
33346 Update NEWS, release 2.17.0
33349 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33350 1 file changed, 93 insertions(+)
33352 commit 47389217d1a65a8e3f404d486c508cf5d3164756
33353 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33354 Date: Thu Apr 30 22:47:19 2009 +0300
33356 Fix memory leak in gio.File.query_info_async()
33358 After the recent patch it would leak exception data if old argument
33359 order was used. Properly decref the objects.
33361 gio/gfile.override | 4 ++++
33362 1 file changed, 4 insertions(+)