1 commit 9948a67e677c8a351f2de17080d7a671882570f3
2 Author: Christoph Reiter <reiter.christoph@gmail.com>
3 Date: Tue Jan 27 17:47:49 2015 +0100
5 tests: Don't use deprecated override attributes
7 In case the test explicitly tests the deprecated attribute
8 silence the resulting warnings.
10 Instead of replacing GObject.PARAM_READWRITE with
11 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
12 to not depend on a newer glib version.
14 https://bugzilla.gnome.org/show_bug.cgi?id=743514
16 tests/test_everything.py | 168
17 ++++++++++++++++++++++----------------------
18 tests/test_gi.py | 66 ++++++++---------
19 tests/test_glib.py | 33 +++++----
20 tests/test_gobject.py | 21 +++---
21 tests/test_internal_api.py | 4 +-
22 tests/test_iochannel.py | 11 +--
23 tests/test_overrides_gtk.py | 20 +++---
24 tests/test_properties.py | 100 ++++++++++++++------------
25 tests/test_signal.py | 111 ++++++++++++++---------------
26 tests/test_source.py | 8 +--
27 tests/test_subprocess.py | 7 +-
28 tests/testmodule.py | 3 +-
29 12 files changed, 292 insertions(+), 260 deletions(-)
31 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
32 Author: Christoph Reiter <reiter.christoph@gmail.com>
33 Date: Tue Jan 27 16:36:02 2015 +0100
35 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
37 They are defined in glib, not gobject and not included in the gir;
38 Similar constants like G_MAXINT64 are defined in GLib gir and marked
39 deprecated in the GObject overrides already.
41 https://bugzilla.gnome.org/show_bug.cgi?id=743514
43 gi/overrides/GLib.py | 12 ++++++++++++
44 gi/overrides/GObject.py | 4 +++-
45 tests/test_overrides_glib.py | 7 +++++++
46 3 files changed, 22 insertions(+), 1 deletion(-)
48 commit f74acb38f1410982f3419acb134adf173600e497
49 Author: Christoph Reiter <reiter.christoph@gmail.com>
50 Date: Tue Jan 27 16:06:03 2015 +0100
52 Emit PyGIDeprecationWarning when accessing deprecated override
55 Adds a new helper function for overrides to mark a module level
57 as deprecated. A warning will be emitted every time the attribute gets
60 e.g. when marking GObject.STATUS_FOO as deprecated using
62 STATUS_FOO = GLib.Status.FOO
63 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
64 __all__.append("STATUS_FOO")
66 accessing it will emit
68 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
70 https://bugzilla.gnome.org/show_bug.cgi?id=743514
72 gi/overrides/GLib.py | 44 ++++++++++++++++-------
73 gi/overrides/GObject.py | 90
74 +++++++++++++++++++++++++-----------------------
75 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
76 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
77 4 files changed, 221 insertions(+), 57 deletions(-)
79 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
80 Author: Christoph Reiter <reiter.christoph@gmail.com>
81 Date: Tue Jan 27 19:13:54 2015 +0100
83 Add namespace and container name to callable cache and include them
84 in all warnings/error messages.
86 https://bugzilla.gnome.org/show_bug.cgi?id=743468
88 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
89 gi/pygi-cache.h | 5 +++++
90 gi/pygi-closure.c | 4 +++-
91 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
92 tests/test_everything.py | 2 +-
93 tests/test_gi.py | 28 ++++++++++++++++++----------
94 6 files changed, 90 insertions(+), 29 deletions(-)
96 commit 747fc3754c296ad5481d354bbf35521f886c5c61
97 Author: Garrett Regier <garrettregier@gmail.com>
98 Date: Sun Mar 1 03:30:46 2015 -0800
100 tests: Add test for GIRepository.UnionInfo.get_size()
102 https://bugzilla.gnome.org/show_bug.cgi?id=745362
104 tests/test_repository.py | 1 +
105 1 file changed, 1 insertion(+)
107 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
108 Author: Garrett Regier <garrettregier@gmail.com>
109 Date: Fri Jan 23 01:37:35 2015 -0800
111 Avoid duping filenames when marshalling from Python to C
113 https://bugzilla.gnome.org/show_bug.cgi?id=744719
115 gi/pygi-basictype.c | 12 ++++++------
116 1 file changed, 6 insertions(+), 6 deletions(-)
118 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
119 Author: Simon Feltman <sfeltman@src.gnome.org>
120 Date: Fri Feb 20 22:06:24 2015 -0800
122 configure.ac: post release version bump to 3.15.1
125 1 file changed, 1 insertion(+), 1 deletion(-)
127 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
128 Author: Simon Feltman <sfeltman@src.gnome.org>
129 Date: Fri Feb 20 22:04:43 2015 -0800
134 1 file changed, 10 insertions(+)
136 commit 5dc113283c0a721c4027026bb8de7243585f1289
137 Author: Simon Feltman <sfeltman@src.gnome.org>
138 Date: Fri Feb 20 21:59:10 2015 -0800
140 Ignore deprecation warning for g_option_group_free()
142 gi/pygoptiongroup.c | 5 ++++-
143 1 file changed, 4 insertions(+), 1 deletion(-)
145 commit d8961622ea748c42171bdb4703e70022035ec3cc
146 Author: Simon Feltman <sfeltman@src.gnome.org>
147 Date: Fri Feb 20 21:52:58 2015 -0800
149 tests: Make get_all_dependendencies() test more robust
151 Replace array comparison with checking if individual items are in
153 This solves a problem where the returned array might be in a
155 as well as future proofs the test in case more dependencies are added.
157 tests/test_import_machinery.py | 8 +++++---
158 1 file changed, 5 insertions(+), 3 deletions(-)
160 commit b10ab49afb97655507e2d3b92f621387287a2928
161 Author: Simon Feltman <sfeltman@src.gnome.org>
162 Date: Fri Feb 20 20:16:35 2015 -0800
164 tests: Fix PEP8 error with commented code in test
166 tests/test_gi.py | 1 -
167 1 file changed, 1 deletion(-)
169 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
170 Author: Garrett Regier <garrett.regier@riftio.com>
171 Date: Tue Jan 27 10:39:53 2015 -0800
173 Avoid copying bytearrays from Python to C when transfer nothing
175 https://bugzilla.gnome.org/show_bug.cgi?id=743278
177 gi/pygi-array.c | 23 +++++++++++++++++++----
178 tests/test_gi.py | 14 +++++++++++++-
179 2 files changed, 32 insertions(+), 5 deletions(-)
181 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
182 Author: Garrett Regier <garrett.regier@riftio.com>
183 Date: Mon Jan 19 14:53:53 2015 -0800
185 Allows passing arguments to opaque Boxed types
187 https://bugzilla.gnome.org/show_bug.cgi?id=743214
189 gi/pygi-info.c | 7 +++++++
190 gi/types.py | 10 +++++++++-
191 tests/test_everything.py | 9 +++++++++
192 tests/test_glib.py | 6 +++---
193 4 files changed, 28 insertions(+), 4 deletions(-)
195 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
196 Author: Christoph Reiter <reiter.christoph@gmail.com>
197 Date: Sat Jan 24 20:01:00 2015 +0100
199 Emit ImportWarning when gi.require_version() is not used
201 gi tries to import the latest version of typelibs which can cause
202 existing code to break when a newer typelib is released.
203 Emit an ImportWarning when gi.require_version() is not used to give
204 developers this awareness so they can future proof their code.
206 https://bugzilla.gnome.org/show_bug.cgi?id=727379
209 +++++++++++++++++++++++++++++++++++++++++-
210 gi/pygi-repository.c | 35 +++++++++++++++
211 tests/compat_test_pygtk.py | 7 ++-
212 tests/test_atoms.py | 6 ++-
213 tests/test_import_machinery.py | 22 ++++++++++
214 tests/test_overrides_gtk.py | 7 ++-
215 tests/test_overrides_pango.py | 5 ++-
216 tests/test_properties.py | 5 ++-
217 tests/test_repository.py | 10 +++++
218 9 files changed, 187 insertions(+), 9 deletions(-)
220 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
221 Author: Christoph Reiter <reiter.christoph@gmail.com>
222 Date: Tue Dec 2 15:38:57 2014 +0100
224 Refactor overrides import/modules
226 Removes Registry and DynamicModule in favor of a simple module
228 contains only overrides and falls back to the introspection module.
229 Moves all the overrides logic into gi.overrides; Speeds up module
232 https://bugzilla.gnome.org/show_bug.cgi?id=736678
234 gi/importer.py | 11 ++--
235 gi/module.py | 68 ---------------------
236 gi/overrides/__init__.py | 131
237 ++++++++++++++++++++++++++++++-----------
238 tests/test_gi.py | 4 --
239 tests/test_import_machinery.py | 32 +++++++---
240 5 files changed, 126 insertions(+), 120 deletions(-)
242 commit 4d0ab13a8461f781986accc637fada3909cfb91a
243 Author: Simon Feltman <sfeltman@src.gnome.org>
244 Date: Thu Aug 21 15:11:39 2014 -0700
246 Replace statically bound GLib.Variant.new_tuple() with GI
248 Remove the static implementation of _wrap_pyg_variant_new_tuple with
249 usage of the dynamic version coming from GI. Array marshalling has
250 drastically improved in recent years making the dynamic version usable
251 with a small compatibility shim for the arguments.
253 https://bugzilla.gnome.org/show_bug.cgi?id=735199
255 gi/gimodule.c | 39 ---------------------------------------
256 gi/overrides/GLib.py | 12 +++++-------
257 2 files changed, 5 insertions(+), 46 deletions(-)
259 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
260 Author: Simon Feltman <sfeltman@src.gnome.org>
261 Date: Wed Sep 10 13:30:48 2014 -0700
263 overrides: Add Gdk.EventTouch union discrimination
265 Add EventTouch to get/setattr pass-through to support BEGIN,
267 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
268 get_axis(), get_coords(), and get_root_coords() are patched onto
271 https://bugzilla.gnome.org/show_bug.cgi?id=736380
273 gi/overrides/Gdk.py | 5 +++++
274 tests/test_overrides_gdk.py | 12 ++++++++++++
275 2 files changed, 17 insertions(+)
277 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
278 Author: Simon Feltman <sfeltman@src.gnome.org>
279 Date: Sat Jan 3 17:20:14 2015 -0800
281 tests: Update pixbuf loader test to not raise exception when closing
284 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
285 changed the close() method to raise if the a loader is prematurely
287 Update the test to write a 1x1 PNG stream to ensure close() will
290 tests/compat_test_pygtk.py | 9 +++++++++
291 1 file changed, 9 insertions(+)
293 commit fd3935541ab4baddb504e000ec659b80923afa13
294 Author: Murray Cumming <murrayc@murrayc.com>
295 Date: Tue Dec 2 19:55:51 2014 +0100
297 PyGObjectFlags: Remove a trailing comma on the enum.
299 Because this produces a g++ pedantic warning.
301 gi/pygobject.h | 2 +-
302 1 file changed, 1 insertion(+), 1 deletion(-)
304 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
305 Author: Simon Feltman <sfeltman@src.gnome.org>
306 Date: Mon Oct 27 20:19:23 2014 -0700
308 Remove redefinitions of function and vfunc cache typedefs
310 https://bugzilla.gnome.org/show_bug.cgi?id=737874
312 gi/pygi-cache.h | 8 ++++----
313 1 file changed, 4 insertions(+), 4 deletions(-)
315 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
316 Author: Simon Feltman <sfeltman@src.gnome.org>
317 Date: Mon Sep 22 13:26:24 2014 -0700
319 configure.ac: post release version bump to 3.15.0
322 1 file changed, 1 insertion(+), 1 deletion(-)
324 commit f20df385f480b65a8128986ce3df4022b324ade0
325 Author: Simon Feltman <sfeltman@src.gnome.org>
326 Date: Mon Sep 22 12:38:35 2014 -0700
331 1 file changed, 3 insertions(+)
333 commit 309d4100a08867d18420586c3b1f8709c360250f
334 Author: Simon Feltman <sfeltman@src.gnome.org>
335 Date: Mon Sep 22 12:24:32 2014 -0700
337 configure.ac: pre release version bump to 3.14.0
339 configure.ac | 4 ++--
340 1 file changed, 2 insertions(+), 2 deletions(-)
342 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
343 Author: Simon Feltman <sfeltman@src.gnome.org>
344 Date: Mon Sep 15 15:46:04 2014 -0700
349 1 file changed, 7 insertions(+)
351 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
352 Author: Simon Feltman <sfeltman@src.gnome.org>
353 Date: Fri Sep 12 17:10:04 2014 -0700
355 tests: Add test for Gio.Application.add_main_option()
357 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
358 1 file changed, 29 insertions(+)
360 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
361 Author: Simon Feltman <sfeltman@src.gnome.org>
362 Date: Thu Sep 11 19:32:53 2014 -0700
364 Split test_everything.TestEverything.test_string() into multiple tests
366 https://bugzilla.gnome.org/show_bug.cgi?id=735193
368 tests/test_everything.py | 25 +++++++++++++++++++------
369 1 file changed, 19 insertions(+), 6 deletions(-)
371 commit 6674701b6de02353738b9dc04ab88de23996704e
372 Author: Simon Feltman <sfeltman@src.gnome.org>
373 Date: Thu Sep 11 19:08:53 2014 -0700
375 tests: Split array tests up
377 Split test_everything.TestEverything.test_array(),
378 test_array_fixed_size(),
379 and test_ptrarray() into functions of a finer granularity. This
381 easier diagnosis of problems and leaks when they occur.
383 https://bugzilla.gnome.org/show_bug.cgi?id=735193
385 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
386 1 file changed, 32 insertions(+), 5 deletions(-)
388 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
389 Author: Simon Feltman <sfeltman@src.gnome.org>
390 Date: Thu Sep 11 16:17:13 2014 -0700
392 tests: Split test_strv() into multiple tests
394 https://bugzilla.gnome.org/show_bug.cgi?id=735193
396 tests/test_everything.py | 10 +++++++++-
397 1 file changed, 9 insertions(+), 1 deletion(-)
399 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
400 Author: Simon Feltman <sfeltman@src.gnome.org>
401 Date: Wed Sep 10 19:06:35 2014 -0700
403 Fix invalid read error in argument cleanup code
405 Always set initial length argument index for arrays to -1. Ensure
407 attempt retrieving Python cleanup arguments until we know it is valid.
408 This was causing an invalid read in test_gi.TestArray.test_array_out()
410 gi/pygi-array.c | 1 +
411 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
412 2 files changed, 9 insertions(+), 5 deletions(-)
414 commit 972e944ad4b2aac03c61633b8c277e35395c114c
415 Author: Simon Feltman <sfeltman@src.gnome.org>
416 Date: Wed Sep 10 18:55:45 2014 -0700
418 tests: Increase num-callers for valgrind runs
420 Additionally split valgrind check variations over multiple lines
423 tests/Makefile.am | 23 ++++++++++++++++++++---
424 1 file changed, 20 insertions(+), 3 deletions(-)
426 commit d70b300c7415dd7b20ff88b09fe835690da19831
427 Author: Simon Feltman <sfeltman@src.gnome.org>
428 Date: Sat Sep 6 23:58:25 2014 -0700
430 Fix memory management problems with struct arguments to signals
432 Replicate struct marshaling logic for determining if struct arguments
433 to signals should be passed by reference to callbacks.
434 Maintain a list of these structs and apply an in-place copy of
436 pointer if the struct wrapper is held longer than the duration of the
437 Python callback. This allows for both mutation of struct arguments
439 callbacks as well as memory safety incase a callbacks holds onto
442 https://bugzilla.gnome.org/show_bug.cgi?id=736175
444 gi/pygi-boxed.c | 20 ++++++++++++++++++++
445 gi/pygi-boxed.h | 2 ++
446 gi/pygi-signal-closure.c | 43
447 +++++++++++++++++++++++++++++++++++++------
448 tests/test_overrides_gtk.py | 1 -
449 tests/test_signal.py | 27 +++++++++++++++++++++++++++
450 5 files changed, 86 insertions(+), 7 deletions(-)
452 commit 09161ff690ad37c94668d5d65191f4d84829d41f
453 Author: Simon Feltman <sfeltman@src.gnome.org>
454 Date: Sun Sep 7 15:53:35 2014 -0700
456 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
458 Add struct type check before calling g_struct_info_is_foreign().
460 https://bugzilla.gnome.org/show_bug.cgi?id=736175
462 gi/pygi-argument.c | 11 ++++++++---
463 gi/pygi-struct-marshal.c | 7 +++++--
464 2 files changed, 13 insertions(+), 5 deletions(-)
466 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
467 Author: Simon Feltman <sfeltman@src.gnome.org>
468 Date: Sat Sep 6 15:16:06 2014 -0700
470 tests: Add failing regression test for Gtk.TextBuffer.insert-text
473 https://bugzilla.gnome.org/show_bug.cgi?id=736175
475 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
476 1 file changed, 19 insertions(+)
478 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
479 Author: Simon Feltman <sfeltman@src.gnome.org>
480 Date: Mon Sep 1 17:36:46 2014 -0700
482 configure.ac: post release version bump to 3.13.92
485 1 file changed, 1 insertion(+), 1 deletion(-)
487 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
488 Author: Simon Feltman <sfeltman@src.gnome.org>
489 Date: Mon Sep 1 17:31:39 2014 -0700
493 NEWS | 15 +++++++++++++++
494 1 file changed, 15 insertions(+)
496 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
497 Author: Simon Feltman <sfeltman@src.gnome.org>
498 Date: Mon Sep 1 16:48:15 2014 -0700
500 docs: Skip "Constructors" header for anonymous structs
502 Structs which don't have a size or constructor should not procuce
504 string. The trailing "::" was causing a problem with sphinx.
506 gi/docstring.py | 8 ++++++--
507 tests/test_docstring.py | 3 ++-
508 2 files changed, 8 insertions(+), 3 deletions(-)
510 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
511 Author: Simon Feltman <sfeltman@src.gnome.org>
512 Date: Mon Sep 1 15:21:04 2014 -0700
514 docs: Fix error when using may_return_null()
516 Fix error with an untested code path opened up by commit 1f78dc0ace.
518 gi/docstring.py | 3 ++-
519 tests/test_docstring.py | 4 ++++
520 2 files changed, 6 insertions(+), 1 deletion(-)
522 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
523 Author: Simon Feltman <sfeltman@src.gnome.org>
524 Date: Fri Aug 29 16:49:14 2014 -0700
526 docs: Fix function doc string generator return types
528 Change skip_return() access into a function call. This was causing
529 return type doc strings to always be skipped.
531 gi/docstring.py | 2 +-
532 tests/test_docstring.py | 8 ++++++--
533 2 files changed, 7 insertions(+), 3 deletions(-)
535 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
536 Author: Simon Feltman <sfeltman@src.gnome.org>
537 Date: Fri Aug 29 14:18:28 2014 -0700
539 Special case signal output arguments which are structs as
542 Add a special case which avoids copying of struct arguments marked
544 to signals. Since we don't currently support output arguments,
546 come to rely on a pass-by-reference bug which was fixed and caused
548 regress (bug 722899). Add unittest which is currently failing due
550 of issues with emit() not supporting type annotations or output
554 https://bugzilla.gnome.org/show_bug.cgi?id=735486
556 gi/pygi-signal-closure.c | 41
557 +++++++++++++++++++++++++++++++++++------
558 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
559 2 files changed, 59 insertions(+), 6 deletions(-)
561 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
562 Author: Simon Feltman <sfeltman@src.gnome.org>
563 Date: Wed Aug 27 23:55:06 2014 -0700
565 Ignore closure callbacks when Python is not initialized
567 Add an immediate return in ffi closures if Python is not initialized.
568 This fixes rare events when which lead to a segfault when a process
571 https://bugzilla.gnome.org/show_bug.cgi?id=722562
573 gi/pygi-closure.c | 7 +++++++
574 1 file changed, 7 insertions(+)
576 commit 27a14679dce33f64bbb5d77677eba83849f168ff
577 Author: Christoph Reiter <reiter.christoph@gmail.com>
578 Date: Fri Aug 22 21:51:31 2014 -0700
580 Change boxed init with args to warn instead of raise
582 Replace raising a TypeError in gi.types.Boxed() with a warning.
583 Even though passing arguments or keywords to the parent class is
584 incorrect here, raising an exception was causing a bit of fallout
585 in some apps (Gramps).
587 https://bugzilla.gnome.org/show_bug.cgi?id=727810
589 gi/pygi-boxed.c | 5 ++++-
590 tests/test_gi.py | 13 +++++++++++--
591 2 files changed, 15 insertions(+), 3 deletions(-)
593 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
594 Author: Simon Feltman <sfeltman@src.gnome.org>
595 Date: Fri Aug 22 02:16:10 2014 -0700
597 tests: Add test for GLib.spawn_async_with_pipes()
599 https://bugzilla.gnome.org/show_bug.cgi?id=735213
601 tests/test_signal.py | 2 +-
602 tests/test_subprocess.py | 17 +++++++++++++++++
603 2 files changed, 18 insertions(+), 1 deletion(-)
605 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
606 Author: Simon Feltman <sfeltman@src.gnome.org>
607 Date: Thu Aug 21 17:16:31 2014 -0700
609 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
611 This was accidentally pushed.
612 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
614 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
615 gi/overrides/GLib.py | 12 +++++++-----
616 2 files changed, 46 insertions(+), 5 deletions(-)
618 commit b7a4e68a224ab66f67e45667023f74dd743e6177
619 Author: Christoph Reiter <reiter.christoph@gmail.com>
620 Date: Fri Aug 22 01:04:40 2014 +0200
622 Fix crash in GList/GSList marshaling error handling path.
624 In case PySequence_GetItem() failed, the retured NULL was passed
627 https://bugzilla.gnome.org/show_bug.cgi?id=735201
629 gi/pygi-list.c | 4 ++--
630 tests/test_gi.py | 16 ++++++++++++++++
631 2 files changed, 18 insertions(+), 2 deletions(-)
633 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
634 Author: Simon Feltman <sfeltman@src.gnome.org>
635 Date: Thu Aug 21 15:11:39 2014 -0700
637 Replace statically bound GLib.Variant.new_tuple() with GI
639 Remove the static implementation of _wrap_pyg_variant_new_tuple with
640 usage of the dynamic version coming from GI. Array marshalling has
641 drastically improved in recent years making the dynamic version usable
642 with a small compatibility shim for the arguments.
644 https://bugzilla.gnome.org/show_bug.cgi?id=735199
646 gi/gimodule.c | 39 ---------------------------------------
647 gi/overrides/GLib.py | 12 +++++-------
648 2 files changed, 5 insertions(+), 46 deletions(-)
650 commit c1d387540a0b2db66e860c574b070051a5431914
651 Author: Simon Feltman <sfeltman@src.gnome.org>
652 Date: Thu Aug 21 14:37:14 2014 -0700
654 Fix reference counting problems with GLib.Variant.new_tuple()
656 Always sink the results of g_variant_new_tuple() in the statically
657 bound wrapper. This matches the generic GI marshalling behavior
658 of passing GVariants to Python with transfer-none.
660 https://bugzilla.gnome.org/show_bug.cgi?id=735166
663 tests/test_overrides_glib.py | 7 +++++++
664 2 files changed, 8 insertions(+)
666 commit 9ce261f27742ba200f70003f162291a375d244d3
667 Author: Simon Feltman <sfeltman@src.gnome.org>
668 Date: Tue Aug 19 14:57:31 2014 -0700
670 configure.ac: Fix darwin builds
672 Merge platform_win32 and os_win32 variables/case statements and
673 define "link_python_libs" for win32 as well as darwin.
675 https://bugzilla.gnome.org/show_bug.cgi?id=735068
677 configure.ac | 30 +++++++++++-------------------
678 1 file changed, 11 insertions(+), 19 deletions(-)
680 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
681 Author: Simon Feltman <sfeltman@src.gnome.org>
682 Date: Wed Aug 20 13:39:31 2014 -0700
684 Skip marshalling NULL output arguments in Python closures
686 Skip marshalling optional output arguments which are passed NULL
687 as the memory location. This fixes fallout from bug 727004.
689 https://bugzilla.gnome.org/show_bug.cgi?id=735090
691 gi/pygi-closure.c | 3 ++-
692 1 file changed, 2 insertions(+), 1 deletion(-)
694 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
695 Author: Simon Feltman <sfeltman@src.gnome.org>
696 Date: Mon Aug 18 19:10:36 2014 -0700
698 configure.ac: post release version bump to 3.13.91
701 1 file changed, 1 insertion(+), 1 deletion(-)
703 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
704 Author: Simon Feltman <sfeltman@src.gnome.org>
705 Date: Mon Aug 18 19:07:10 2014 -0700
709 NEWS | 15 +++++++++++++++
710 1 file changed, 15 insertions(+)
712 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
713 Author: Simon Feltman <sfeltman@src.gnome.org>
714 Date: Mon Aug 18 18:57:28 2014 -0700
716 configure.ac: pre release version bump to 3.13.90
719 1 file changed, 1 insertion(+), 1 deletion(-)
721 commit 3b5b590599ca98cc51871878618cd59fc05212d1
722 Author: Simon Feltman <sfeltman@src.gnome.org>
723 Date: Mon Aug 18 02:33:54 2014 -0700
725 gtk-demo: Don't use deprecated constructor for Gtk.Label
727 demos/gtk-demo/demos/pickers.py | 2 +-
728 1 file changed, 1 insertion(+), 1 deletion(-)
730 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
731 Author: Simon Feltman <sfeltman@src.gnome.org>
732 Date: Sat Aug 9 02:30:43 2014 -0700
734 Fast path Python Property getter when accessed through GObject
737 Break do_get_property() call into a re-usable function.
738 Call do_get_property() Python implementations instead of going
740 machinery for Python GObjects. This gives a performance boost
742 GObject properties when accessed via. obj.get_property() and
745 https://bugzilla.gnome.org/show_bug.cgi?id=723872
747 gi/gobjectmodule.c | 11 ++++-------
748 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
749 gi/pygi-property.h | 3 +++
750 3 files changed, 34 insertions(+), 15 deletions(-)
752 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
753 Author: Simon Feltman <sfeltman@src.gnome.org>
754 Date: Sat Aug 9 02:10:11 2014 -0700
756 Fast path Python Property getter when accessing descriptor directly
758 Call the Python implemented fget() when a property is accessed
760 on a Python implemented GObject. This skips going through the GObject
761 machinery which ends up calling fget() and marshalling the results
764 https://bugzilla.gnome.org/show_bug.cgi?id=723872
766 gi/_propertyhelper.py | 19 +++++++++++++++----
767 1 file changed, 15 insertions(+), 4 deletions(-)
769 commit 74722386192ad27aac8855d4603d8120af82c98e
770 Author: Simon Feltman <sfeltman@src.gnome.org>
771 Date: Mon Aug 18 02:05:58 2014 -0700
773 Don't use GI type for determining pointer extraction from GValues
775 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
776 pointers from GValues being marshalled from properties and signals.
777 This fixes fallout from commit abdfb0f.
779 gi/pygi-value.c | 10 ++++------
780 1 file changed, 4 insertions(+), 6 deletions(-)
782 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
783 Author: Simon Feltman <sfeltman@src.gnome.org>
784 Date: Fri Aug 8 23:58:17 2014 -0700
786 Fast path property access for basic types
788 Attempt marshalling with pygi_value_to_py_basic_type() prior to
790 GI info. This gives a quick conversion for basic types like bools,
792 strings without having to go through GIArgument and GI
794 gives approximately a 3x performance boost for accessing these
796 the unified GValue marshaller.
798 https://bugzilla.gnome.org/show_bug.cgi?id=726999
800 gi/pygi-property.c | 9 +++++++++
801 gi/pygi-value.c | 26 ++++++++++++++++++--------
802 2 files changed, 27 insertions(+), 8 deletions(-)
804 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
805 Author: Simon Feltman <sfeltman@src.gnome.org>
806 Date: Fri Aug 8 16:31:01 2014 -0700
808 Break pyg_value_as_pyobject into two functions
810 Add pygi_value_to_py_basic_type() which is limited to handling basic
811 types that don't need introspection information when marshalling
813 Add pygi_value_to_py_structured_type() for marshalling of structured
815 which can eventually accept GI type hints.
817 https://bugzilla.gnome.org/show_bug.cgi?id=726999
820 +++++++++++++++++++++++++++++++++++++++++++++++----------
821 gi/pygi-value.h | 6 +++++
822 2 files changed, 68 insertions(+), 12 deletions(-)
824 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
825 Author: Simon Feltman <sfeltman@src.gnome.org>
826 Date: Fri Aug 8 20:55:28 2014 -0700
828 Unify property getters
830 Consolidate duplicate logic into pygi_get_property_value().
831 Use the function for GObject.get_property(), GObject.get_properties(),
833 Remove overridden expected failures in TestCGetPropertyMethod which
834 now work due to the unification.
836 https://bugzilla.gnome.org/show_bug.cgi?id=733893
837 https://bugzilla.gnome.org/show_bug.cgi?id=726999
839 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
840 gi/pygi-property.h | 4 ++
842 +++++++-----------------------------------------
843 tests/test_properties.py | 38 -------------------
844 4 files changed, 77 insertions(+), 147 deletions(-)
846 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
847 Author: Simon Feltman <sfeltman@src.gnome.org>
848 Date: Mon Jul 28 19:09:30 2014 -0700
850 Merge pygi_get_property_value and _pygi_argument_from_g_value
852 Merge duplicated GValue marshaling code which has diverged over time
853 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
855 Use _pygi_argument_to_array within pygi_get_property_value. This
857 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
859 Side effects of this change also include support for properties
861 G_TYPE_FLAGS and G_TYPE_PARAM.
863 https://bugzilla.gnome.org/show_bug.cgi?id=726999
865 gi/pygi-property.c | 140
866 +++++------------------------------------------------
867 gi/pygi-value.c | 24 ++++++---
868 2 files changed, 28 insertions(+), 136 deletions(-)
870 commit 142ff1903d34876db3d1bee5e9782ac49de12313
871 Author: Simon Feltman <sfeltman@src.gnome.org>
872 Date: Mon Jul 28 04:40:36 2014 -0700
874 Never dup data structures when marshaling signal in arguments
876 Always assume transfer-none of GValue arguments to signal handlers.
877 A signal handler with arguments marked as transfer-full does not
878 make any sense, so assume they are always transfer-none.
880 https://bugzilla.gnome.org/show_bug.cgi?id=726999
882 gi/pygi-signal-closure.c | 4 +---
883 gi/pygi-value.c | 4 +++-
884 2 files changed, 4 insertions(+), 4 deletions(-)
886 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
887 Author: Simon Feltman <sfeltman@src.gnome.org>
888 Date: Mon Jul 28 04:23:39 2014 -0700
890 Never dup data structures when marshaling from g_object_get_property()
892 Always use transfer-none with the results of g_object_get_property()
893 and assume g_value_unset() will cleanup the results. This gives us
894 control over memory of properties and limits property anotations to
897 https://bugzilla.gnome.org/show_bug.cgi?id=726999
899 gi/pygi-property.c | 24 +++++++-----------------
900 1 file changed, 7 insertions(+), 17 deletions(-)
902 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
903 Author: Simon Feltman <sfeltman@src.gnome.org>
904 Date: Tue Jul 29 19:29:28 2014 -0700
906 Refactor boxed wrapper memory management strategy
908 Change pygi_boxed_new() to accept "copy_boxed" instead of
910 This changes memory management so the PyGIBoxed wrapper owns the boxed
911 pointer given to it. Use __del__ instead of dealloc for freeing
913 memory. This is needed for edge cases where objects like GSource can
914 trigger the finalized callback during de-alloc, resulting in the
916 references counts being manipulated and triggering a re-entrant
918 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
920 which rely on pass-by-reference.
921 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
923 https://bugzilla.gnome.org/show_bug.cgi?id=722899
925 https://bugzilla.gnome.org/show_bug.cgi?id=726999
927 gi/gimodule.c | 6 +++-
928 gi/overrides/GLib.py | 4 ---
929 gi/overrides/GObject.py | 3 ++
930 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
931 gi/pygi-boxed.h | 4 +--
932 gi/pygi-source.c | 6 ++--
933 gi/pygi-struct-marshal.c | 81
934 +++++++++++++++++++++++++++++++++++++++++++++---
935 tests/test_gi.py | 1 -
936 tests/test_source.py | 8 +++--
937 9 files changed, 140 insertions(+), 27 deletions(-)
939 commit 62aed0977090f7099a5e538209f7c680ea22fe12
940 Author: Simon Feltman <sfeltman@src.gnome.org>
941 Date: Sun Aug 17 19:04:51 2014 -0700
943 Replace GObject.signal_query with introspected version
945 Remove the static bindings for GObject.signal_query and replace with a
946 Python compatibility shim which utilizes the introspection exposed
950 https://bugzilla.gnome.org/show_bug.cgi?id=688792
952 gi/gobjectmodule.c | 89
953 -------------------------------------------------
954 gi/overrides/GObject.py | 39 ++++++++++++----------
955 2 files changed, 21 insertions(+), 107 deletions(-)
957 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
958 Author: Simon Feltman <sfeltman@src.gnome.org>
959 Date: Sun Aug 17 19:03:32 2014 -0700
961 Use array lengths specified on struct fields
963 Add array length marshalling policy for struct fields. This fixes
965 C array fields on structs which also specify a length field.
967 https://bugzilla.gnome.org/show_bug.cgi?id=688792
969 gi/pygi-argument.c | 14 ++++++-------
970 gi/pygi-argument.h | 4 ++++
972 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
973 3 files changed, 68 insertions(+), 9 deletions(-)
975 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
976 Author: Simon Feltman <sfeltman@src.gnome.org>
977 Date: Sun Aug 17 18:15:23 2014 -0700
979 Refactor signal array length marshalling to support a length policy
981 Replace passing arrays of data to non-caching array marshallers with
983 closure that can be customized depending on context. In the case
985 this is mostly scaffolding which will be replaced with caching
987 However, it opens the legacy marshaller for usage with struct
991 https://bugzilla.gnome.org/show_bug.cgi?id=688792
993 gi/pygi-argument.c | 70
994 ++++++++++++++++++++++++++++++++----------------
995 gi/pygi-argument.h | 14 +++++++---
996 gi/pygi-signal-closure.c | 8 ++++--
997 3 files changed, 64 insertions(+), 28 deletions(-)
999 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
1000 Author: Simon Feltman <sfeltman@src.gnome.org>
1001 Date: Sun Aug 17 13:58:10 2014 -0700
1003 Remove dead code for marshalling array lengths in the context
1006 Remove usage of the args parameter from _pygi_argument_to_array. This
1008 longer used because array marshalling for vfuncs is now handled by
1012 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1014 gi/pygi-argument.c | 24 +++++++++---------------
1015 1 file changed, 9 insertions(+), 15 deletions(-)
1017 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
1018 Author: Simon Feltman <sfeltman@src.gnome.org>
1019 Date: Sun Aug 17 21:53:55 2014 -0700
1021 Fix memory leak with unboxed caller allocated structs
1023 Take caller-allocates into account when wrapping unboxed structures.
1024 This will free the allocated memory when the Python object is
1027 gi/pygi-struct-marshal.c | 2 +-
1028 1 file changed, 1 insertion(+), 1 deletion(-)
1030 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
1031 Author: Simon Feltman <sfeltman@src.gnome.org>
1032 Date: Sat Aug 16 22:34:29 2014 -0700
1034 tests: Add reference count test for signal connection arguments
1036 Add tests for ensuring reference counts are what we expect for
1037 connect() callback, user_data, and swap object (currently broken
1040 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1042 tests/test_signal.py | 133
1043 +++++++++++++++++++++++++++++++++++++++++++++++++++
1044 1 file changed, 133 insertions(+)
1046 commit 7076669aadfc5227144df87277d69ae66865770a
1047 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
1048 Date: Sat Aug 16 17:46:50 2014 -0700
1050 Don't mask GObject sub-class doc strings in meta-class
1052 If a class has a __doc__ attribute explicitly set, always return it.
1053 Only generate doc strings for classes coming from gi.repository
1056 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1058 https://bugzilla.gnome.org/show_bug.cgi?id=731452
1060 https://bugzilla.gnome.org/show_bug.cgi?id=734926
1062 gi/types.py | 12 +++++++++++-
1063 tests/test_docstring.py | 2 --
1064 2 files changed, 11 insertions(+), 3 deletions(-)
1066 commit 4cdca4328da7442be247e775294fc676cf677bb7
1067 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
1068 Date: Sat Aug 16 15:06:40 2014 -0700
1070 tests: Add failing tests for GObject sub-class doc-strings
1072 Add tests for sub-class docstrings set with either doc-string
1073 syntax and by setting the __doc__ attribute directly.
1075 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1077 https://bugzilla.gnome.org/show_bug.cgi?id=731452
1079 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
1080 1 file changed, 39 insertions(+)
1082 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
1083 Author: Simon Feltman <sfeltman@src.gnome.org>
1084 Date: Thu Aug 14 22:47:14 2014 -0700
1086 configure.ac: post release version bump to 3.13.5
1089 1 file changed, 1 insertion(+), 1 deletion(-)
1091 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
1092 Author: Simon Feltman <sfeltman@src.gnome.org>
1093 Date: Thu Aug 14 22:42:27 2014 -0700
1097 NEWS | 22 ++++++++++++++++++++++
1098 1 file changed, 22 insertions(+)
1100 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
1101 Author: Simon Feltman <sfeltman@src.gnome.org>
1102 Date: Thu Aug 14 18:33:06 2014 -0700
1104 Fix invalid unref after getting callable container
1106 Don't unref the results of g_base_info_get_container() because it is
1107 transfer-none. This was causing an attempted unref on an invalid
1109 when setting up callback caches for signals.
1111 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1113 gi/pygi-cache.c | 2 --
1114 1 file changed, 2 deletions(-)
1116 commit 654c28faffc8d956bd31987adca092fa014cc897
1117 Author: Simon Feltman <sfeltman@src.gnome.org>
1118 Date: Thu Aug 14 21:31:33 2014 -0700
1120 tests: Silence valgrindlog and valgrindxml output from forked procs
1122 This is needed to properly diff valgrind runs between commits.
1124 tests/Makefile.am | 4 ++--
1125 1 file changed, 2 insertions(+), 2 deletions(-)
1127 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
1128 Author: Simon Feltman <sfeltman@src.gnome.org>
1129 Date: Wed Aug 13 10:27:01 2014 -0700
1131 Remove ffi wrapped destroy notify used for closure cleanup
1133 Remove global ffi wrapper for _pygi_invoke_closure_free() and
1135 a pointer to _pygi_invoke_closure_free() directly. There is no need
1137 a known single use function with an ffi closure. Originally
1139 commit 610dd1eec87f.
1141 gi/pygi-closure.c | 49 +------------------------------------------------
1142 1 file changed, 1 insertion(+), 48 deletions(-)
1144 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
1145 Author: Simon Feltman <sfeltman@src.gnome.org>
1146 Date: Tue Aug 12 22:19:24 2014 -0700
1148 tests: Update tests for static binding protection to check
1151 tests/test_import_machinery.py | 10 +++++-----
1152 1 file changed, 5 insertions(+), 5 deletions(-)
1154 commit e674340db90c29c556b45e0a8f8b2da72661b738
1155 Author: Simon Feltman <sfeltman@src.gnome.org>
1156 Date: Mon Aug 11 23:12:38 2014 -0700
1158 Use AttributeError for static binding protection
1160 Replace usage of RuntimeError with AttributeError in the dummy module
1161 protecting importing of static bindings. This is needed so we
1163 modules like inspect which is used by ipython.
1165 gi/__init__.py | 2 +-
1166 1 file changed, 1 insertion(+), 1 deletion(-)
1168 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
1169 Author: Simon Feltman <sfeltman@src.gnome.org>
1170 Date: Mon Aug 11 22:47:14 2014 -0700
1172 Add deprecation warning for connect_object() with non-GObject argument
1174 GObject.connect_object() accepts any Python object and holds a strong
1175 reference to it in the closure defeating the purpose of
1177 Add a warning so we can eventually limit connect_object() to GObject
1179 use the underlying g_signal_connect_object() which holds a weak
1182 https://bugzilla.gnome.org/show_bug.cgi?id=688064
1184 gi/pygobject.c | 9 +++++++++
1185 1 file changed, 9 insertions(+)
1187 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
1188 Author: Simon Feltman <sfeltman@src.gnome.org>
1189 Date: Mon Aug 11 22:39:13 2014 -0700
1191 tests: Add tests for connect_object()
1193 Add tests for both introspected and non-introspected signals
1195 of connect_object() and connect_object_after() in combination
1197 and Python object swap data.
1199 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1201 tests/test_signal.py | 139
1202 +++++++++++++++++++++++++++++++++++++++++++--------
1203 1 file changed, 117 insertions(+), 22 deletions(-)
1205 commit 581acc4c56be127b3a724df504bb46a40959fdd9
1206 Author: Simon Feltman <sfeltman@src.gnome.org>
1207 Date: Mon Aug 11 21:21:42 2014 -0700
1209 Add Python implementation of Object.connect_data()
1211 Add GObject.Object.connect_data() which takes an optional
1213 keyword argument accepting GObject.ConnectFlags enum values. This is
1214 for supporting user data swapping (ConnectFlags.SWAPPED).
1216 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1218 gi/overrides/GObject.py | 37 ++++++++++++++++
1219 tests/test_signal.py | 109
1220 ++++++++++++++++++++++++++++++++++++++++++++++++
1221 2 files changed, 146 insertions(+)
1223 commit b1caef95c4b68b65f3f159563162afde5a0b0939
1224 Author: Simon Feltman <sfeltman@src.gnome.org>
1225 Date: Sat Aug 9 02:14:23 2014 -0700
1227 tests: Add failing tests which verify exceptions raised in property
1230 https://bugzilla.gnome.org/show_bug.cgi?id=575652
1232 tests/test_properties.py | 17 +++++++++++++++++
1233 1 file changed, 17 insertions(+)
1235 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
1236 Author: Garrett Regier <Garrett.Regier@riftio.com>
1237 Date: Fri Aug 8 10:08:23 2014 -0400
1239 Cleanup input args when marshaling in closures
1241 The cleanup must happen before setting the out args otherwise
1242 the args that cleanup would free are the just set args, not the
1245 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1247 gi/pygi-closure.c | 2 +-
1248 1 file changed, 1 insertion(+), 1 deletion(-)
1250 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
1251 Author: Simon Feltman <sfeltman@src.gnome.org>
1252 Date: Fri Aug 8 02:47:11 2014 -0700
1254 tests: Fix Python 2 build for newly added test_array_parm()
1256 Use @unittest.skip() with a string argument as required by Python 2.
1258 tests/test_signal.py | 2 +-
1259 1 file changed, 1 insertion(+), 1 deletion(-)
1261 commit 3165c17a455652de9a61439428fa40f30120dc6a
1262 Author: Simon Feltman <sfeltman@src.gnome.org>
1263 Date: Fri Aug 8 02:46:26 2014 -0700
1265 Remove incorrect and unused casts from tp_free calls
1267 Arguments to Py_TYPE() do not need to be cast since the macro
1269 to a PyObject* internall.
1271 gi/pygi-boxed.c | 2 +-
1272 gi/pygi-ccallback.c | 2 +-
1273 gi/pygi-info.c | 2 +-
1274 gi/pygi-struct.c | 2 +-
1275 4 files changed, 4 insertions(+), 4 deletions(-)
1277 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
1278 Author: Simon Feltman <sfeltman@src.gnome.org>
1279 Date: Fri Aug 8 02:33:51 2014 -0700
1281 Fix GCallback Python wrapper leak
1283 The PyObject wrapper for GCallbacks was not calling tp_free in
1285 tp_dealloc class method.
1287 https://bugzilla.gnome.org/show_bug.cgi?id=695130
1289 gi/pygi-ccallback.c | 2 ++
1290 1 file changed, 2 insertions(+)
1292 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
1293 Author: Martin Pitt <martinpitt@gnome.org>
1294 Date: Fri Aug 8 01:55:21 2014 -0700
1296 tests: Add failing test for marshalling an array of GValues through
1299 https://bugzilla.gnome.org/show_bug.cgi?id=669496
1301 tests/test_signal.py | 12 ++++++++++++
1302 1 file changed, 12 insertions(+)
1304 commit d689d24f271c30612c6a86b5c51d50a1179aedad
1305 Author: Simon Feltman <sfeltman@src.gnome.org>
1306 Date: Thu Aug 7 17:52:35 2014 -0700
1308 tests: Add tests for GApplication local command line handling
1310 Add various tests which override Gio.Appliction.do_command_line and
1311 do_local_command_line.
1313 https://bugzilla.gnome.org/show_bug.cgi?id=690851
1315 tests/test_gio.py | 65
1316 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1317 1 file changed, 65 insertions(+)
1319 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
1320 Author: Garrett Regier <Garrett.Regier@riftio.com>
1321 Date: Thu Aug 7 12:25:59 2014 -0400
1323 Add test for a callback with an inout array
1325 This was broken until the closures used the caches for marshaling.
1327 https://bugzilla.gnome.org/show_bug.cgi?id=702508
1329 tests/test_everything.py | 19 +++++++++++++++++++
1330 1 file changed, 19 insertions(+)
1332 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
1333 Author: Garrett Regier <Garrett.Regier@riftio.com>
1334 Date: Thu Aug 7 12:06:30 2014 -0400
1336 Fix raising an error in a constructor
1338 It should raise a Python exception instead of warnings about
1339 a constructor returning NULL.
1341 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1343 gi/pygi-cache.c | 6 +++---
1344 tests/test_gi.py | 6 ++++++
1345 2 files changed, 9 insertions(+), 3 deletions(-)
1347 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
1348 Author: Garrett Regier <Garrett.Regier@riftio.com>
1349 Date: Wed Aug 6 15:30:58 2014 -0400
1351 Use the caches for marshaling the arguments in closures
1353 Changes to object marshaling when the calling context is from
1354 C was required to correctly keep the correct floating status.
1356 The array cache has been modified to set to/from_py_marshaller
1357 for the length arg cache. This is required for closures which include
1358 the length arg for backwards compatibility. The closure cache takes
1359 care to change the length arg cache's meta type so it gets marshalled
1362 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1364 gi/pygi-array.c | 5 +-
1365 gi/pygi-basictype.c | 4 +-
1366 gi/pygi-basictype.h | 36 +++--
1367 gi/pygi-cache.c | 30 +++-
1368 gi/pygi-closure.c | 403
1369 ++++++++++++++++++++++++++++------------------------
1370 gi/pygi-invoke.c | 3 +-
1371 6 files changed, 271 insertions(+), 210 deletions(-)
1373 commit 9337acf98d783777c94d4bcb912a185ba6791efb
1374 Author: Garrett Regier <Garrett.Regier@riftio.com>
1375 Date: Wed Aug 6 12:14:27 2014 -0400
1377 Specialize GObject marshaling when called from C
1379 These are needed otherwise the floating status of
1380 the GObject will not be kept.
1382 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1384 gi/pygi-object.c | 86
1385 +++++++++++++++++++++++++++++++++++++++++++++++---------
1386 1 file changed, 72 insertions(+), 14 deletions(-)
1388 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
1389 Author: Garrett Regier <Garrett.Regier@riftio.com>
1390 Date: Wed Aug 6 11:59:09 2014 -0400
1392 Move special handling of GObject from Python when calling from C
1394 This will soon be used in the GObject arg cache marshaling when
1395 the calling context is C.
1397 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1399 gi/pygi-argument.c | 21 +--------------------
1400 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
1401 gi/pygi-object.h | 5 +++++
1402 3 files changed, 36 insertions(+), 20 deletions(-)
1404 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
1405 Author: Garrett Regier <Garrett.Regier@riftio.com>
1406 Date: Wed Aug 6 11:53:39 2014 -0400
1408 Always pass along the callable cache to the arg cache constructors
1410 This will be needed in a future patch which requires that the callable
1411 cache is always available.
1413 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1415 gi/pygi-array.c | 20 ++++++++++++--------
1416 gi/pygi-array.h | 9 +++++----
1417 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
1418 gi/pygi-cache.h | 7 ++++---
1419 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
1420 gi/pygi-hashtable.h | 9 +++++----
1421 gi/pygi-list.c | 30 +++++++++++++++++++-----------
1422 gi/pygi-list.h | 9 +++++----
1423 gi/pygi-object.c | 25 ++++++++++++++-----------
1424 gi/pygi-object.h | 3 ++-
1425 10 files changed, 103 insertions(+), 74 deletions(-)
1427 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
1428 Author: Garrett Regier <Garrett.Regier@riftio.com>
1429 Date: Tue Aug 5 10:42:46 2014 -0400
1431 Set the correct meta type for GErrors when marshaling to Python
1433 Otherwise we do not pass the GError into python callbacks and
1434 we also want to convert these into Python Exceptions.
1436 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1438 gi/pygi-error.c | 2 +-
1439 1 file changed, 1 insertion(+), 1 deletion(-)
1441 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
1442 Author: Garrett Regier <Garrett.Regier@riftio.com>
1443 Date: Tue Aug 5 10:37:58 2014 -0400
1445 Pass the GIArgument to the closure assign functions
1447 This will be required once we use the caches for marshaling.
1449 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1451 gi/pygi-closure.c | 102
1452 ++++++++++++++++++++++++++----------------------------
1453 1 file changed, 50 insertions(+), 52 deletions(-)
1455 commit ca3579db14df278923674c294d07481a7255510f
1456 Author: Garrett Regier <Garrett.Regier@riftio.com>
1457 Date: Tue Aug 5 10:25:40 2014 -0400
1459 Use the caches for closures, but not yet for marshaling the arguments
1461 Instead of using the various GI functions we use the data from
1463 This also fixes generating an arg cache for a closure as it was
1465 data or simply setting incorrect data. Also, always included the
1467 until the closures no longer need it for marshaling the arguments.
1469 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1471 gi/pygi-cache.c | 33 +++++++-
1472 gi/pygi-cache.h | 4 +
1473 gi/pygi-closure.c | 245
1474 +++++++++++++++++++++++++-----------------------------
1475 gi/pygi-closure.h | 2 +
1476 4 files changed, 150 insertions(+), 134 deletions(-)
1478 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
1479 Author: Garrett Regier <Garrett.Regier@riftio.com>
1480 Date: Tue Aug 5 10:16:45 2014 -0400
1482 Correctly set the destroy notify for callbacks in closures
1484 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1486 gi/pygi-closure.c | 2 +-
1487 1 file changed, 1 insertion(+), 1 deletion(-)
1489 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
1490 Author: Garrett Regier <Garrett.Regier@riftio.com>
1491 Date: Fri Aug 1 11:40:08 2014 -0400
1493 Split the callable cache into the different types
1495 Instead of doing different things based on the various function types
1496 this adds vfuncs for generate_args_cache() and invoke() which are then
1497 specialized for the various function types. Also add a calling context
1498 to the callable cache which is then used to determine the direction
1499 when generating the arg caches.
1501 This is in preparation for adding closure caches.
1503 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1505 gi/pygi-cache.c | 514
1506 +++++++++++++++++++++++++++++++-----------
1507 gi/pygi-cache.h | 96 +++++---
1508 gi/pygi-ccallback.c | 16 +-
1509 gi/pygi-info.c | 3 +-
1510 gi/pygi-invoke-state-struct.h | 2 -
1511 gi/pygi-invoke.c | 244 ++++++++------------
1512 gi/pygi-invoke.h | 4 +
1514 8 files changed, 564 insertions(+), 317 deletions(-)
1516 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
1517 Author: Ignacio Casal Quinteiro <icq@gnome.org>
1518 Date: Wed Aug 6 08:27:43 2014 +0200
1520 Generate .dll libraries on windows
1522 https://bugzilla.gnome.org/show_bug.cgi?id=734288
1524 configure.ac | 8 ++++++++
1525 tests/Makefile.am | 8 ++++----
1526 2 files changed, 12 insertions(+), 4 deletions(-)
1528 commit d70403357d6b510356dd375304fb97e458fd12b2
1529 Author: Simon Feltman <sfeltman@src.gnome.org>
1530 Date: Tue Aug 5 22:45:46 2014 -0700
1532 Add protection against attempts at importing static bindings
1534 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
1536 gi with dummy modules which produce an error upon access.
1538 https://bugzilla.gnome.org/show_bug.cgi?id=709183
1540 gi/__init__.py | 25 ++++++++++++++++++++++---
1541 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
1542 2 files changed, 46 insertions(+), 3 deletions(-)
1544 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
1545 Author: Simon Feltman <sfeltman@src.gnome.org>
1546 Date: Tue Dec 31 16:15:04 2013 -0800
1548 Update and deprecate gi.overrides.keysyms
1550 Replace manually assigned keysyms with a dynamically generated version
1551 pulling names and values from Gdk via GI. Add a runtime warning when
1552 this module is imported.
1554 https://bugzilla.gnome.org/show_bug.cgi?id=721295
1556 gi/overrides/keysyms.py | 1490
1557 +-------------------------------------------
1558 pygtkcompat/pygtkcompat.py | 14 +-
1559 2 files changed, 27 insertions(+), 1477 deletions(-)
1561 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
1562 Author: Alexey Pavlov <alexpux@gmail.com>
1563 Date: Tue Aug 5 19:03:38 2014 -0700
1565 Use -no-undefined for building on Windows
1567 See LT_INIT([win32-dll]):
1568 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
1570 Additionally add PYTHON_LIBS to testhelper.la linking.
1572 https://bugzilla.gnome.org/show_bug.cgi?id=734284
1574 tests/Makefile.am | 6 +++---
1575 1 file changed, 3 insertions(+), 3 deletions(-)
1577 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
1578 Author: Alexey Pavlov <alexpux@gmail.com>
1579 Date: Tue Aug 5 18:40:53 2014 -0700
1581 Use python-config for libs when available
1583 https://bugzilla.gnome.org/show_bug.cgi?id=734289
1585 m4/python.m4 | 7 ++++++-
1586 1 file changed, 6 insertions(+), 1 deletion(-)
1588 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
1589 Author: Alexey Pavlov <alexpux@gmail.com>
1590 Date: Tue Aug 5 18:20:25 2014 -0700
1592 Link gi.so with FFI_LIBS
1594 https://bugzilla.gnome.org/show_bug.cgi?id=734286
1596 gi/Makefile.am | 3 ++-
1597 1 file changed, 2 insertions(+), 1 deletion(-)
1599 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
1600 Author: Alexey Pavlov <alexpux@gmail.com>
1601 Date: Tue Aug 5 15:45:04 2014 +0200
1603 Include math headers also on mingw
1605 https://bugzilla.gnome.org/show_bug.cgi?id=734287
1607 gi/pygi-basictype.c | 2 --
1608 1 file changed, 2 deletions(-)
1610 commit 964ced98e03c704074d10cc362abfa14c00457ba
1611 Author: Garrett Regier <Garrett.Regier@riftio.com>
1612 Date: Thu Jul 31 10:16:47 2014 -0400
1614 Added args_offset to the cache instead of checking the function type
1616 gi/pygi-array.c | 6 ++----
1617 gi/pygi-cache.c | 6 +++---
1618 gi/pygi-cache.h | 3 +++
1619 gi/pygi-closure.c | 4 +---
1620 4 files changed, 9 insertions(+), 10 deletions(-)
1622 commit 9943d876059201cbee87f072a84234ed774ed932
1623 Author: Simon Feltman <sfeltman@src.gnome.org>
1624 Date: Thu Jul 31 21:51:00 2014 -0700
1626 doap: Update homepage URL and email address
1628 pygobject.doap | 4 ++--
1629 1 file changed, 2 insertions(+), 2 deletions(-)
1631 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
1632 Author: Simon Feltman <sfeltman@src.gnome.org>
1633 Date: Thu Jul 31 21:46:37 2014 -0700
1635 Change maintainer in PKG-INFO to self
1637 PKG-INFO.in | 4 ++--
1638 1 file changed, 2 insertions(+), 2 deletions(-)
1640 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
1641 Author: Andre Klapper <a9016009@gmx.de>
1642 Date: Thu Jul 31 21:28:12 2014 +0200
1644 doap: add <programming-language>
1646 pygobject.doap | 2 ++
1647 1 file changed, 2 insertions(+)
1649 commit f30001f2b01896577a2b4d956bc4658350e56b8d
1650 Author: Simon Feltman <sfeltman@src.gnome.org>
1651 Date: Wed Jul 30 00:29:01 2014 -0700
1653 Add GClosure marshalling cleanup
1655 Add marshalling cleanup for Python callables and boxed GClosures
1656 passed as arguments. Make sure the marshaller owns a reference
1657 until clean. Fix transfer everything case by adding a new reference.
1658 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
1660 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1662 gi/pygi-struct-marshal.c | 46
1663 ++++++++++++++++++++++++++++++++++++++--------
1664 gi/pygi-struct-marshal.h | 4 ----
1665 2 files changed, 38 insertions(+), 12 deletions(-)
1667 commit cf4e830f1b613736ef9586562eb6c0b354165925
1668 Author: Simon Feltman <sfeltman@src.gnome.org>
1669 Date: Wed Jul 30 12:42:15 2014 -0700
1671 Remove decrementing argument index for failed marshalling cleanup
1673 Remove index decrement when cleanup function is called for failed
1675 marshalling. The decrement is incorrect and causes the failed argument
1676 cleanup to be skipped. The decrement also causes cleanup for arguments
1677 prior to the failed argument to receive "was_successful" as FALSE,
1681 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1683 gi/pygi-invoke.c | 10 +++++-----
1684 1 file changed, 5 insertions(+), 5 deletions(-)
1686 commit 662a4421125d126a11ca163c362d205f0c2147c4
1687 Author: Simon Feltman <sfeltman@src.gnome.org>
1688 Date: Wed Jul 30 12:46:18 2014 -0700
1690 Use cleanup data for argument marshalling failures
1692 Use state->args_cleanup_data when cleaning up failed argument
1694 This was overlooked when cleanup data tracking was implemented
1697 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1699 gi/pygi-marshal-cleanup.c | 14 +++++++-------
1700 1 file changed, 7 insertions(+), 7 deletions(-)
1702 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
1703 Author: Olav Vitters <olav@vitters.nl>
1704 Date: Wed Jul 30 20:41:37 2014 +0200
1708 pygobject.doap | 2 +-
1709 1 file changed, 1 insertion(+), 1 deletion(-)
1711 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
1712 Author: Simon Feltman <sfeltman@src.gnome.org>
1713 Date: Mon Jul 28 23:51:19 2014 -0700
1715 tests: Move object property reference count tests to test_properties
1717 Move and consolidate tests for object property reference counts from
1718 tests_object_marshaling to test_properties.
1720 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1722 tests/test_object_marshaling.py | 68
1723 -----------------------------------------
1724 tests/test_properties.py | 36 ++++++++++++++++++++++
1725 2 files changed, 36 insertions(+), 68 deletions(-)
1727 commit 15b795354ca5a8f436779ee5d81936af8961acb5
1728 Author: Simon Feltman <sfeltman@src.gnome.org>
1729 Date: Mon Jul 28 22:20:44 2014 -0700
1731 tests: Move test_everything.TestProperties into test_properties
1733 Consolidate property tests found in test_everything into test_property
1734 removing redundant tests already found in test_property.
1736 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1738 tests/test_everything.py | 69
1739 +-----------------------------------------------
1740 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
1741 2 files changed, 60 insertions(+), 68 deletions(-)
1743 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
1744 Author: Simon Feltman <sfeltman@src.gnome.org>
1745 Date: Mon Jul 28 21:32:44 2014 -0700
1747 tests: Add tests for get/set_property()
1749 Re-use the new CPropertiesTestBase class for testing
1753 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1755 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
1756 1 file changed, 32 insertions(+)
1758 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
1759 Author: Simon Feltman <sfeltman@src.gnome.org>
1760 Date: Mon Jul 28 21:32:00 2014 -0700
1762 tests: Break TestPropertiesObject up for re-use
1764 Refactor TestPropertiesObject into a base class which abstracts
1766 property methods. This will allow re-use for testing both
1768 and the props accessor.
1770 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1772 tests/test_properties.py | 221
1773 +++++++++++++++++++++++++----------------------
1774 1 file changed, 118 insertions(+), 103 deletions(-)
1776 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
1777 Author: Simon Feltman <sfeltman@src.gnome.org>
1778 Date: Mon Jul 28 19:32:00 2014 -0700
1780 tests: Move test_gi.TestPropertiesObject into test_properties
1782 Move all property testing code into the test_properties module.
1784 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1786 tests/test_gi.py | 233
1787 ----------------------------------------------
1788 tests/test_properties.py | 235
1789 +++++++++++++++++++++++++++++++++++++++++++++++
1790 2 files changed, 235 insertions(+), 233 deletions(-)
1792 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
1793 Author: Simon Feltman <sfeltman@src.gnome.org>
1794 Date: Fri Jul 25 18:33:15 2014 -0700
1796 pyflakes: Fix legacy print and exception usage under Python 3
1798 Fix print statements and legacy exception usage in examples.
1800 https://bugzilla.gnome.org/show_bug.cgi?id=731042
1802 examples/properties.py | 12 ++++++------
1803 tests/runtests-windows.py | 4 ++--
1804 2 files changed, 8 insertions(+), 8 deletions(-)
1806 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
1807 Author: Simon Feltman <sfeltman@src.gnome.org>
1808 Date: Fri Jul 25 17:49:57 2014 -0700
1810 tests: Ignore warnings for GtkAlignment
1812 This was causing unittests to bail. Even though this is deprecated,
1813 we still need to test its usage in the context of pygtkcompat.
1815 tests/compat_test_pygtk.py | 15 ++++++++++++++-
1816 1 file changed, 14 insertions(+), 1 deletion(-)
1818 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
1819 Author: Simon Feltman <sfeltman@src.gnome.org>
1820 Date: Fri Jul 25 17:40:36 2014 -0700
1822 tests: Remove usage of deprecated "schema" property in GSettings
1825 Use new and new_with_path instead as the schema property was causing a
1826 hard warning which fails the test suite.
1828 tests/test_gio.py | 6 +++---
1829 1 file changed, 3 insertions(+), 3 deletions(-)
1831 commit 6b806137825891cc6bdad82a68cf3deb087feb70
1832 Author: Simon Feltman <sfeltman@src.gnome.org>
1833 Date: Fri Jul 25 17:35:06 2014 -0700
1835 tests: Ignore stock-id usage warnings
1837 Add ignore_glib_warnings context manager for easily ignoring warnings
1838 caused by stock-id usage. Even though stock-id is deprecated, we still
1839 need to test the related Python binding overrides.
1841 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
1842 1 file changed, 24 insertions(+), 16 deletions(-)
1844 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
1845 Author: Simon Feltman <sfeltman@src.gnome.org>
1846 Date: Mon Jun 23 15:55:57 2014 -0700
1848 configure.ac: post release version bump to 3.13.4
1851 1 file changed, 1 insertion(+), 1 deletion(-)
1853 commit 58198b6ae426448cde82cad7304018c7c770c0ea
1854 Author: Simon Feltman <sfeltman@src.gnome.org>
1855 Date: Mon Jun 23 15:53:03 2014 -0700
1860 1 file changed, 8 insertions(+)
1862 commit cdf8c40768b00d08a1facca696a042efc6e8988f
1863 Author: Simon Feltman <sfeltman@src.gnome.org>
1864 Date: Thu May 29 13:02:44 2014 -0700
1866 demos: Cleanup CSS accordion demo to use a loop for adding buttons
1868 Also use Gtk.main_quit directly since it has been overridden to accept
1871 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
1872 1 file changed, 3 insertions(+), 18 deletions(-)
1874 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
1875 Author: Simon Feltman <sfeltman@src.gnome.org>
1876 Date: Tue May 27 19:24:20 2014 -0700
1878 refactor: Move builder connection utilities outside of Builder class
1880 Move _extract_handler_and_args and _builder_connect_callback into
1882 scope for re-use by GTK+ Composite Templates.
1884 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1886 gi/overrides/Gtk.py | 83
1887 ++++++++++++++++++++++++---------------------
1888 tests/test_overrides_gtk.py | 8 ++---
1889 2 files changed, 48 insertions(+), 43 deletions(-)
1891 commit f127fabe9664b243774b76a68e6fce5986aa23a0
1892 Author: Simon Feltman <sfeltman@src.gnome.org>
1893 Date: Tue May 27 15:52:10 2014 -0700
1895 tests: Move TestSignals from test_everything into test_signal
1897 Move these tests into a more meaningful location.
1899 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1901 tests/test_everything.py | 123
1902 --------------------------------------------
1903 tests/test_signal.py | 131
1904 +++++++++++++++++++++++++++++++++++++++++++++++
1905 2 files changed, 131 insertions(+), 123 deletions(-)
1907 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
1908 Author: Simon Feltman <sfeltman@src.gnome.org>
1909 Date: Mon May 26 04:21:07 2014 -0700
1911 configure.ac: post release version bump to 3.13.2
1914 1 file changed, 1 insertion(+), 1 deletion(-)
1916 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
1917 Author: Simon Feltman <sfeltman@src.gnome.org>
1918 Date: Mon May 26 04:18:55 2014 -0700
1922 NEWS | 21 +++++++++++++++++++++
1923 1 file changed, 21 insertions(+)
1925 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
1926 Author: Simon Feltman <sfeltman@src.gnome.org>
1927 Date: Mon May 26 03:01:13 2014 -0700
1929 Python 3.4 make check fixes
1931 Bump GI required version to 1.39.0. This is needed to get rid of
1932 expectedFailures which pass when built with 1.39.0 (unexpected
1934 fail unittesting in Python 3.4).
1935 Silence deprecation warning when using imp.reload.
1937 https://bugzilla.gnome.org/show_bug.cgi?id=730411
1940 pygtkcompat/pygtkcompat.py | 4 +++-
1941 tests/test_gi.py | 1 -
1942 tests/test_repository.py | 2 --
1943 4 files changed, 4 insertions(+), 5 deletions(-)
1945 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
1946 Author: Simon Feltman <sfeltman@src.gnome.org>
1947 Date: Mon May 26 01:53:14 2014 -0700
1949 tests: Don't use deprecated positional argument for Gio.Settings
1952 tests/test_gio.py | 6 +++---
1953 1 file changed, 3 insertions(+), 3 deletions(-)
1955 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
1956 Author: Simon Feltman <sfeltman@src.gnome.org>
1957 Date: Sun May 25 23:03:35 2014 -0700
1959 overrides: Add Gtk.Container.child_get/set overrides
1961 Add overrides for child_get and child_set to Gtk.Container since these
1962 are not introspectable methods.
1964 https://bugzilla.gnome.org/show_bug.cgi?id=685076
1966 gi/overrides/Gtk.py | 10 ++++++++++
1967 tests/test_overrides_gtk.py | 16 ++++++++++++++++
1968 2 files changed, 26 insertions(+)
1970 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
1971 Author: Simon Feltman <sfeltman@src.gnome.org>
1972 Date: Sun May 25 22:07:07 2014 -0700
1974 overrides: Make value argument to Widget.style_get_property optional
1976 Override Gtk.Widget.style_get_property to optionally accept the
1978 argument. If "value" is not supplied, the override will locate
1980 property value type and create the GValue. Additionally return
1982 GValue converted to a native Python value.
1984 https://bugzilla.gnome.org/show_bug.cgi?id=685076
1986 gi/overrides/Gtk.py | 11 +++++++++++
1987 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
1988 2 files changed, 40 insertions(+)
1990 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
1991 Author: Simon Feltman <sfeltman@src.gnome.org>
1992 Date: Sun May 25 21:08:47 2014 -0700
1994 overrides: Make value argument to Container.child_get_property
1997 Override Gtk.Container.child_get_property to optionally accept the
1999 argument. If "value" is not supplied, the override will locate
2001 property value type and create the GValue. Additionally return
2003 GValue converted to a native Python value.
2005 https://bugzilla.gnome.org/show_bug.cgi?id=685076
2007 gi/overrides/Gtk.py | 11 +++++++++++
2008 tests/test_overrides_gtk.py | 47
2009 +++++++++++++++++++++++++++++++++++++++++++++
2010 2 files changed, 58 insertions(+)
2012 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
2013 Author: Johan Dahlin <johan@gnome.org>
2014 Date: Mon Oct 1 06:42:24 2012 -0700
2016 Add GTypeClass methods as Python GObject class methods
2018 Take all the methods from an objects type classs and add them
2019 as class methods. For instance, GObject.ObjectClass.list_properties
2020 is available as GObject.Object.list_properties().
2022 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2024 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2026 gi/types.py | 13 +++++++++++++
2027 tests/test_typeclass.py | 13 +++++++++++++
2028 2 files changed, 26 insertions(+)
2030 commit 778d05c93e079ba207a250b754bda9377cb47457
2031 Author: Simon Feltman <sfeltman@src.gnome.org>
2032 Date: Sun May 25 19:05:56 2014 -0700
2034 Add marshalling coercion for Python classes and instances to
2037 Automatically marshal Python GObject classes and instances to
2039 structs (GObjectClass). This allows usage of the GTypeClass methods by
2040 passing a Python GObject class or instance to the GTypeClass method.
2041 This is needed to support usage of GTypeClass methods since we don't
2042 manually bind GTypeClasses and they are not very well supported with
2045 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2047 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
2048 tests/Makefile.am | 1 +
2049 tests/test_typeclass.py | 67
2050 ++++++++++++++++++++++++++++++++++++++++++++++++
2051 3 files changed, 117 insertions(+), 5 deletions(-)
2053 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
2054 Author: Simon Feltman <sfeltman@src.gnome.org>
2055 Date: Sun May 25 02:00:00 2014 -0700
2057 Cleanup struct marshalling function names
2059 Use a consistent naming scheme for struct marshalling cache related
2060 functions. This removes prefixed underscores from function names
2061 as well as redundant wording.
2063 To ignore this commit with git blame use:
2064 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
2066 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2068 gi/pygi-argument.c | 34 ++++----
2069 gi/pygi-array.c | 2 +-
2070 gi/pygi-struct-marshal.c | 221
2071 ++++++++++++++++++++---------------------------
2072 gi/pygi-struct-marshal.h | 56 ++++++------
2073 4 files changed, 142 insertions(+), 171 deletions(-)
2075 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
2076 Author: Simon Feltman <sfeltman@src.gnome.org>
2077 Date: Fri May 16 15:08:35 2014 -0700
2079 Use accessors for getting and setting PyGParamSpec pointers
2081 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
2082 setting the GParamSpec pointer field held by the Python wrapper. This
2083 is preliminary cleanup work for supporting fundamental types.
2085 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2087 gi/pygi-value.c | 2 +-
2088 gi/pygobject.h | 9 +++++++--
2089 gi/pygparamspec.c | 22 +++++++++++-----------
2090 3 files changed, 19 insertions(+), 14 deletions(-)
2092 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
2093 Author: Simon Feltman <sfeltman@src.gnome.org>
2094 Date: Fri May 16 14:50:57 2014 -0700
2096 Use accessors for getting and setting PyGPointer fields
2098 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
2099 setting the pointer field. This is preliminary cleanup work for
2103 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2105 gi/gimodule.c | 2 +-
2106 gi/pygi-struct.c | 6 +++---
2107 gi/pygobject.h | 2 ++
2108 gi/pygpointer.c | 14 +++++++-------
2109 4 files changed, 13 insertions(+), 11 deletions(-)
2111 commit 92fe52243d819ffe91597744a6a1c2362a295bce
2112 Author: Simon Feltman <sfeltman@src.gnome.org>
2113 Date: Fri May 16 14:19:47 2014 -0700
2115 Use accessors for getting and setting PyGBoxed pointers
2117 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
2119 the boxed pointer field. This is preliminary cleanup work for
2123 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2125 gi/pygboxed.c | 20 ++++++++++----------
2126 gi/pygi-boxed.c | 6 +++---
2127 gi/pygobject.h | 2 ++
2128 gi/pygtype.c | 3 ++-
2129 4 files changed, 17 insertions(+), 14 deletions(-)
2131 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
2132 Author: Simon Feltman <sfeltman@src.gnome.org>
2133 Date: Sun May 11 16:04:55 2014 -0700
2135 tests: Use assertRaises as a context manager for GError test
2137 Simplify tests/test_error.py:TestMarshalling.test_exception so that
2138 it no longer needs to pull exception information out of sys.exc_info.
2140 tests/test_error.py | 14 ++++++--------
2141 1 file changed, 6 insertions(+), 8 deletions(-)
2143 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
2144 Author: Andrew Grigorev <andrew@ei-grad.ru>
2145 Date: Sun May 11 23:54:46 2014 +0400
2147 Replace direct parent class call by super()
2149 Super works, it just needs the correct class.
2151 https://bugzilla.gnome.org/show_bug.cgi?id=729970
2153 demos/gtk-demo/gtk-demo.py | 6 ++----
2154 1 file changed, 2 insertions(+), 4 deletions(-)
2156 commit de827d00762f2a741f90bc38f8b55518593f4509
2157 Author: Simon Feltman <sfeltman@src.gnome.org>
2158 Date: Sun Mar 23 01:59:00 2014 -0700
2160 Add cairo marshaling support for non-introspected signals
2162 Add link dependency of cairo-gobject to _gi_cairo_la needed for
2164 the GTypes of cairo classes.
2165 Add GValue marshalers for cairo Context, Surface, FontFace,
2167 and Pattern classes.
2169 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2171 gi/Makefile.am | 2 +
2172 gi/pygi-foreign-cairo.c | 186
2173 ++++++++++++++++++++++++++++++++++++++++++++++++
2174 gi/pygi-type.h | 1 +
2176 tests/test_cairo.py | 65 +++++++++++++++++
2177 5 files changed, 256 insertions(+)
2179 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
2180 Author: Simon Feltman <sfeltman@src.gnome.org>
2181 Date: Mon May 5 19:37:18 2014 -0700
2183 [New API] Add gi.require_foreign
2185 Add gi.require_foreign(namespace, symbol=None) API for determining
2186 if a foreign marshaling module is available. This can be used in an
2187 applications import statement block to verify the existence of a
2188 specific foreign marshaling module (cairo).
2189 Additionally it forces loading of the foreign marshaling module as
2190 well as the GI repository module. This allows non-introspected signal
2191 closures to correctly marshal their arguments (bug 694604).
2193 https://bugzilla.gnome.org/show_bug.cgi?id=707735
2195 gi/__init__.py | 28 +++++++++++++++++++++++++
2196 gi/gimodule.c | 2 ++
2197 gi/pygi-foreign.c | 60
2198 ++++++++++++++++++++++++++++++++++++++++++++++-------
2199 gi/pygi-foreign.h | 4 ++++
2200 tests/test_cairo.py | 9 ++++++++
2201 5 files changed, 95 insertions(+), 8 deletions(-)
2203 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
2204 Author: Simon Feltman <sfeltman@src.gnome.org>
2205 Date: Mon May 5 19:48:06 2014 -0700
2207 tests: Move cairo tests into test_cairo.py
2209 Move cairo related tests from test_everything.py into test_cairo.py
2211 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2213 tests/Makefile.am | 1 +
2214 tests/test_cairo.py | 67
2215 ++++++++++++++++++++++++++++++++++++++++++++++++
2216 tests/test_everything.py | 43 +------------------------------
2217 3 files changed, 69 insertions(+), 42 deletions(-)
2219 commit 31ecd935564984068e6646676392122bdc03e42e
2220 Author: Simon Feltman <sfeltman@src.gnome.org>
2221 Date: Mon May 5 19:42:59 2014 -0700
2223 Initialize the foreign API at PyGI load time
2225 Initialize the foreign struct list at gi._gi module load time. This
2227 we always have a valid (non-null) list of foreign marshalers outside
2229 context of marshaling.
2231 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2233 gi/gimodule.c | 3 ++-
2234 gi/pygi-foreign.c | 12 ++++++++----
2235 gi/pygi-foreign.h | 2 ++
2236 3 files changed, 12 insertions(+), 5 deletions(-)
2238 commit def47144b63a1492ebf47a4eadb535f45253ff3a
2239 Author: Simon Feltman <sfeltman@src.gnome.org>
2240 Date: Sat Mar 22 14:13:01 2014 -0700
2242 Move pygi foreign API into pygi-foreign-api.h
2244 Move limited set of APIs necessary for registering foreign marshalers
2246 pygi-foreign-api.h. Remove "_real" from internally used APIs and
2248 includes to the rest of pygobject for calling directly (instead of
2250 the PyCapsule API within PyGI itself).
2251 This is needed to avoid compilation errors when including pygobject.h
2253 foreign marshaling plugins which conflicts with pygobject-private.h.
2255 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2257 gi/Makefile.am | 1 +
2258 gi/gimodule.c | 6 +--
2262 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
2263 gi/pygi-foreign-cairo.c | 8 ++--
2264 gi/pygi-foreign.c | 10 ++---
2265 gi/pygi-foreign.h | 14 +++----
2266 gi/pygi-property.c | 8 ++--
2267 gi/pygi-property.h | 14 ++++---
2268 gi/pygi-signal-closure.c | 12 +++---
2269 gi/pygi-signal-closure.h | 15 +++----
2270 gi/pygi-type.c | 4 +-
2271 gi/pygi-type.h | 2 +-
2273 -----------------------------------------------
2274 gi/pygobject.c | 3 ++
2275 gi/pygpointer.c | 1 +
2276 18 files changed, 139 insertions(+), 154 deletions(-)
2278 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
2279 Author: Simon Feltman <sfeltman@src.gnome.org>
2280 Date: Sun May 4 23:19:30 2014 -0700
2282 Clobber GLib.Error with custom implementation
2284 Clobber the introspection GLib.Error class with the custom Python
2285 implementation found in gi._error.GError. Update references to
2289 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2291 gi/_error.py | 3 ++-
2292 gi/overrides/GLib.py | 9 ++++++---
2293 gi/pygi-error.c | 10 +++++-----
2294 tests/test_error.py | 24 ++++++++++++------------
2295 4 files changed, 25 insertions(+), 21 deletions(-)
2297 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
2298 Author: Simon Feltman <sfeltman@src.gnome.org>
2299 Date: Sun May 4 23:43:50 2014 -0700
2301 Simplify pygi_error_marshal to use GError initializer arguments
2303 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2305 gi/pygi-error.c | 25 ++++++-------------------
2306 1 file changed, 6 insertions(+), 19 deletions(-)
2308 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
2309 Author: Simon Feltman <sfeltman@src.gnome.org>
2310 Date: Sun May 4 04:13:46 2014 -0700
2312 Add Python implementation of GError
2314 Add internally used gi/_error.py module as a basis for implementing
2315 a unified GError between introspection and static bindings. Patch
2317 implementations of GError.matches and GError.new_literal in the GLib
2320 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2324 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2325 gi/_option.py | 3 ++-
2326 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
2327 gi/pygi-error.c | 18 +++++++-----------
2328 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
2329 6 files changed, 125 insertions(+), 14 deletions(-)
2331 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
2332 Author: Simon Feltman <sfeltman@src.gnome.org>
2333 Date: Sun May 4 23:14:27 2014 -0700
2335 tests: Move GError tests into test_error.py
2337 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2339 tests/Makefile.am | 1 +
2340 tests/test_error.py | 81
2341 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2342 tests/test_gi.py | 49 --------------------------------
2343 3 files changed, 82 insertions(+), 49 deletions(-)
2345 commit 649895d83a90cd3a370da215a6f98a606b987419
2346 Author: Simon Feltman <sfeltman@src.gnome.org>
2347 Date: Sun May 4 00:18:41 2014 -0700
2349 Consolidate GError related code into pygi-error
2351 Rename all pyglib_error_* functions to pygi_error_* and move them into
2353 Register GError as part of the gi._gi module instead of gi._gi._glib.
2354 Update all code to use new naming.
2356 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2358 gi/_option.py | 6 +-
2359 gi/gimodule.c | 4 +-
2360 gi/glibmodule.c | 19 -----
2361 gi/gobjectmodule.c | 54 +-----------
2362 gi/overrides/GLib.py | 3 +-
2363 gi/pygi-argument.c | 6 +-
2364 gi/pygi-cache.c | 4 +-
2365 gi/pygi-error.c | 222
2366 ++++++++++++++++++++++++++++++++++++++++++++++++-
2367 gi/pygi-error.h | 21 ++++-
2368 gi/pygi-invoke.c | 5 +-
2369 gi/pyglib-private.h | 1 -
2370 gi/pyglib.c | 199 --------------------------------------------
2372 gi/pygobject-private.h | 3 -
2373 gi/pygoptioncontext.c | 3 +-
2374 gi/pygoptiongroup.c | 3 +-
2375 gi/pygspawn.c | 3 +-
2376 17 files changed, 262 insertions(+), 299 deletions(-)
2378 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
2379 Author: Simon Feltman <sfeltman@src.gnome.org>
2380 Date: Sat May 3 22:56:49 2014 -0700
2382 Add gi.CallableInfo.can_throw_gerror()
2384 Add static binding for g_callable_info_can_throw_gerror.
2386 gi/pygi-info.c | 10 ++++++++++
2387 tests/test_repository.py | 16 ++++++++++++++++
2388 2 files changed, 26 insertions(+)
2390 commit f129e78d579b7897cb86111c524d87b5b12019ad
2391 Author: Simon Feltman <sfeltman@src.gnome.org>
2392 Date: Sat May 3 22:56:03 2014 -0700
2394 Derive PyCallbackInfo from PyCallableInfo
2396 Update the static GI bindings for PyGICallbackInfo to derive
2397 from PyGICallableInfo. This makes all the gi.CallableInfo methods
2398 available to gi.CallbackInfo for use from Python.
2400 gi/pygi-info.c | 4 ++--
2401 tests/test_repository.py | 7 +++++++
2402 2 files changed, 9 insertions(+), 2 deletions(-)
2404 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
2405 Author: Simon Feltman <sfeltman@src.gnome.org>
2406 Date: Fri May 2 21:36:25 2014 -0700
2410 Use infix 'not' instead of prefixed.
2411 Don't use double comments (##).
2412 Use space between comment and text.
2413 Un-comment tests that now work.
2414 Move broken (and won't fix) implicit int64 signal tests into
2415 a new skipped test function.
2417 gi/overrides/GIMarshallingTests.py | 4 ++--
2418 gi/overrides/Gio.py | 4 ++--
2419 gi/overrides/Gtk.py | 6 +++---
2421 pygtkcompat/pygtkcompat.py | 4 ++--
2422 tests/test_everything.py | 1 -
2423 tests/test_gi.py | 9 +++------
2424 tests/test_iochannel.py | 2 +-
2425 tests/test_option.py | 2 +-
2426 tests/test_signal.py | 28 +++++++++++++---------------
2427 10 files changed, 28 insertions(+), 34 deletions(-)
2429 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
2430 Author: Simon Feltman <sfeltman@src.gnome.org>
2431 Date: Mon Apr 28 14:06:30 2014 -0700
2433 configure.ac: post release version bump to 3.13.2
2436 1 file changed, 1 insertion(+), 1 deletion(-)
2438 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
2439 Author: Simon Feltman <sfeltman@src.gnome.org>
2440 Date: Mon Apr 28 14:00:59 2014 -0700
2444 NEWS | 14 ++++++++++++++
2445 1 file changed, 14 insertions(+)
2447 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
2448 Author: Christoph Reiter <reiter.christoph@gmail.com>
2449 Date: Mon Apr 14 23:33:52 2014 +0200
2451 Raise TypeError if arguments are passed to Boxed.__init__
2453 This is a partial revert of
2454 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
2455 which removed a type check in __new__. This adds it back
2456 into __init__. Overrides which define __new__ now have to
2457 filter out any arguments in __init__ and not the other way
2458 around, which is a bit less surprising in the common case.
2460 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2462 gi/overrides/GLib.py | 6 ++++++
2463 gi/overrides/Gtk.py | 6 ++++++
2464 gi/overrides/Pango.py | 3 +++
2465 gi/pygi-boxed.c | 6 ++++++
2466 tests/test_gi.py | 4 ++++
2467 5 files changed, 25 insertions(+)
2469 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
2470 Author: Christoph Reiter <reiter.christoph@gmail.com>
2471 Date: Mon Apr 14 15:40:50 2014 +0200
2473 Gdk.Event: Override __setattr__ to set fields based on the event type
2475 Pass the setting of attributes through to the underlying union based
2476 on event type. This mirrors the logic in __getattr__.
2478 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2480 gi/overrides/Gdk.py | 7 +++++++
2481 tests/test_overrides_gdk.py | 13 ++++++++++---
2482 2 files changed, 17 insertions(+), 3 deletions(-)
2484 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
2485 Author: Christoph Reiter <reiter.christoph@gmail.com>
2486 Date: Mon Apr 14 13:06:02 2014 +0200
2488 Gdk.Event: Include GdkEventType in __repr__
2490 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2492 gi/overrides/Gdk.py | 4 ++++
2493 tests/test_overrides_gdk.py | 4 ++++
2494 2 files changed, 8 insertions(+)
2496 commit 23965455f060793ffcbc0d8288527d41a667579c
2497 Author: Simon Feltman <sfeltman@src.gnome.org>
2498 Date: Mon Apr 14 15:10:01 2014 -0700
2500 Fix crash with type checking for GObject arguments
2502 Ensure we have a valid GObject before attempting to call g_type_is_a.
2503 Swap conditional blocks to make if condition more readable.
2505 https://bugzilla.gnome.org/show_bug.cgi?id=727604
2507 gi/pygi-object.c | 19 ++++++++++---------
2508 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
2509 2 files changed, 45 insertions(+), 9 deletions(-)
2511 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
2512 Author: Paolo Borelli <pborelli@gnome.org>
2513 Date: Sun Mar 30 18:27:59 2014 +0200
2515 Do not leak info of destroy notify
2517 gi/pygi-closure.c | 11 ++++++-----
2518 1 file changed, 6 insertions(+), 5 deletions(-)
2520 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
2521 Author: Simon Feltman <sfeltman@src.gnome.org>
2522 Date: Fri Mar 28 19:51:58 2014 -0700
2524 configure.ac: Update PyGObject wiki link in AC_INIT
2527 1 file changed, 1 insertion(+), 1 deletion(-)
2529 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
2530 Author: Simon Feltman <sfeltman@src.gnome.org>
2531 Date: Mon Mar 24 18:57:56 2014 -0700
2533 Ignore GValueArray deprecations
2535 Wrap calls to GValueArray related calls with
2536 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
2537 Although GValueArray is deprecated, we still need to support the
2539 them in PyGObject. The deprecations add noise to the build processes
2541 new warnings could be lost. Essentially losing the element of surprise
2543 warning should have on maintainers.
2545 gi/pygi-value.c | 23 ++++++++++++++++++++---
2546 tests/testhelpermodule.c | 3 +++
2547 2 files changed, 23 insertions(+), 3 deletions(-)
2549 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
2550 Author: Simon Feltman <sfeltman@src.gnome.org>
2551 Date: Mon Mar 24 18:09:10 2014 -0700
2553 Raise ImportError when importing modules not found in repository
2555 Raise an ImportError with extra information noting the typelib was not
2556 found. This removes the need to log a similar message which adds
2558 noise when attempting controlled imports within try/except statements.
2559 In Python 2, the additional information is lost but in Python 3 it
2562 https://bugzilla.gnome.org/show_bug.cgi?id=726877
2564 gi/importer.py | 9 ++++-----
2565 tests/test_import_machinery.py | 18 ++++++++++++++++++
2566 2 files changed, 22 insertions(+), 5 deletions(-)
2568 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
2569 Author: Simon Feltman <sfeltman@src.gnome.org>
2570 Date: Mon Mar 24 18:04:27 2014 -0700
2572 tests: Rename test_overrides to test_import_machinery
2574 Rename this test to better suit the contents of the file. This
2576 us a more concise location to grow other tests related to import
2580 https://bugzilla.gnome.org/show_bug.cgi?id=726877
2582 tests/Makefile.am | 2 +-
2583 tests/test_import_machinery.py | 58
2584 ++++++++++++++++++++++++++++++++++++++++++
2585 tests/test_overrides.py | 58
2586 ------------------------------------------
2587 3 files changed, 59 insertions(+), 59 deletions(-)
2589 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
2590 Author: Simon Feltman <sfeltman@src.gnome.org>
2591 Date: Mon Mar 24 04:39:47 2014 -0700
2593 HACKING: Update branch creation instructions to include -b
2596 1 file changed, 1 insertion(+), 1 deletion(-)
2598 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
2599 Author: Simon Feltman <sfeltman@src.gnome.org>
2600 Date: Mon Mar 24 04:35:52 2014 -0700
2602 configure.ac: post release version bump to 3.13.1
2604 configure.ac | 4 ++--
2605 1 file changed, 2 insertions(+), 2 deletions(-)
2607 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
2608 Author: Simon Feltman <sfeltman@src.gnome.org>
2609 Date: Mon Mar 24 03:35:21 2014 -0700
2614 1 file changed, 2 insertions(+)
2616 commit 70020e9934abb39cbccfa49e582fb838465c0490
2617 Author: Simon Feltman <sfeltman@src.gnome.org>
2618 Date: Mon Mar 24 03:05:16 2014 -0700
2620 pre-release version bump to 3.12.0
2622 configure.ac | 4 ++--
2623 1 file changed, 2 insertions(+), 2 deletions(-)
2625 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
2626 Author: Simon Feltman <sfeltman@src.gnome.org>
2627 Date: Mon Mar 17 15:17:12 2014 -0700
2629 configure.ac: post release version bump to 3.11.93
2632 1 file changed, 1 insertion(+), 1 deletion(-)
2634 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
2635 Author: Simon Feltman <sfeltman@src.gnome.org>
2636 Date: Mon Mar 17 15:12:33 2014 -0700
2641 1 file changed, 6 insertions(+)
2643 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
2644 Author: Simon Feltman <sfeltman@src.gnome.org>
2645 Date: Mon Mar 17 14:55:52 2014 -0700
2647 configure.ac: Remove option to build without libffi
2649 We've always had a hard dependency on libffi headers.
2650 Commit 5798f94b6a727b93 added a direct module dependency on libffi
2651 instead of indirect via GI. Remove the option to build without libffi.
2653 configure.ac | 21 +++------------------
2654 1 file changed, 3 insertions(+), 18 deletions(-)
2656 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
2657 Author: Simon Feltman <sfeltman@src.gnome.org>
2658 Date: Sat Mar 15 00:50:14 2014 -0700
2660 docs: Standardize Python doc strings
2662 Use consistent doc string quotations (three double quotes).
2663 Update usage of GObject.GObject in docs to GObject.Object.
2664 Use reStructuredText markup for parameter annotations, instance
2666 admonitions, and code examples.
2667 This allows for better Sphinx documentation generation for the
2669 Preliminary style guide:
2670 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
2672 gi/_option.py | 67 +++++++++++++++------------
2673 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
2674 gi/_signalhelper.py | 117
2675 ++++++++++++++++++++++++-----------------------
2676 gi/docstring.py | 17 ++++---
2677 gi/glibmodule.c | 3 +-
2678 gi/overrides/GLib.py | 20 ++++----
2679 gi/overrides/GObject.py | 39 ++++++++++------
2680 gi/overrides/Gtk.py | 28 ++++++++----
2681 gi/overrides/__init__.py | 66 +++++++++++++-------------
2683 10 files changed, 242 insertions(+), 203 deletions(-)
2685 commit 2d268ef661badabcb63e696dab01857d57cb3371
2686 Author: Simon Feltman <sfeltman@src.gnome.org>
2687 Date: Sat Mar 15 00:49:00 2014 -0700
2689 Quote argument names in initializer deprecation warning
2691 Add quotation marks around names of deprecated positional arguments.
2692 This makes the message clearer in stating what has been deprecated
2693 in cases when only a single argument is displayed.
2695 gi/overrides/__init__.py | 2 +-
2696 tests/test_gi.py | 6 +++---
2697 2 files changed, 4 insertions(+), 4 deletions(-)
2699 commit a070e712526e433c236753813acc3ef300f0d203
2700 Author: Simon Feltman <sfeltman@src.gnome.org>
2701 Date: Sat Mar 15 00:35:03 2014 -0700
2703 docs: Ignore meta-class bases in dynamic docstring generation
2705 Skip attempts at generating a doc string for GObject meta-class bases
2706 since they do not contain an __info__ attribute.
2707 This circumvents errors with documentation generators (Sphinx).
2709 gi/types.py | 7 ++++++-
2710 1 file changed, 6 insertions(+), 1 deletion(-)
2712 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
2713 Author: Simon Feltman <sfeltman@src.gnome.org>
2714 Date: Thu Mar 13 10:13:34 2014 -0700
2716 Update Free Software Foundation addresses
2718 Update all references to the FSF physical address
2719 to use the web address: http://www.gnu.org/licenses
2721 gi/_constants.py | 4 +---
2722 gi/_gobject/__init__.py | 4 +---
2723 gi/_option.py | 4 +---
2724 gi/_propertyhelper.py | 4 +---
2725 gi/_signalhelper.py | 4 +---
2726 gi/glibmodule.c | 4 +---
2727 gi/gobjectmodule.c | 4 +---
2728 gi/overrides/keysyms.py | 4 +---
2729 gi/pygboxed.c | 4 +---
2730 gi/pygboxed.h | 4 +---
2731 gi/pygenum.c | 4 +---
2732 gi/pygenum.h | 4 +---
2733 gi/pygflags.c | 4 +---
2734 gi/pygflags.h | 4 +---
2735 gi/pygi-argument.c | 4 +---
2736 gi/pygi-argument.h | 4 +---
2737 gi/pygi-boxed.c | 4 +---
2738 gi/pygi-boxed.h | 4 +---
2739 gi/pygi-cache.c | 4 +---
2740 gi/pygi-cache.h | 4 +---
2741 gi/pygi-ccallback.c | 4 +---
2742 gi/pygi-ccallback.h | 4 +---
2743 gi/pygi-info.c | 4 +---
2744 gi/pygi-info.h | 4 +---
2745 gi/pygi-invoke.c | 4 +---
2746 gi/pygi-invoke.h | 4 +---
2747 gi/pygi-marshal-cleanup.c | 4 +---
2748 gi/pygi-marshal-cleanup.h | 4 +---
2749 gi/pygi-repository.c | 4 +---
2750 gi/pygi-repository.h | 4 +---
2751 gi/pygi-signal-closure.c | 4 +---
2752 gi/pygi-struct.c | 4 +---
2753 gi/pygi-struct.h | 4 +---
2754 gi/pygi-type.c | 4 +---
2755 gi/pygi-type.h | 4 +---
2757 gi/pyginterface.c | 4 +---
2758 gi/pyginterface.h | 4 +---
2759 gi/pyglib-private.h | 4 +---
2760 gi/pyglib-python-compat.h | 4 +---
2761 gi/pyglib.c | 4 +---
2762 gi/pyglib.h | 4 +---
2763 gi/pygobject-external.h | 4 +---
2764 gi/pygobject.c | 4 +---
2765 gi/pygoptioncontext.c | 4 +---
2766 gi/pygoptioncontext.h | 4 +---
2767 gi/pygoptiongroup.c | 4 +---
2768 gi/pygoptiongroup.h | 4 +---
2769 gi/pygparamspec.c | 4 +---
2770 gi/pygparamspec.h | 4 +---
2771 gi/pygpointer.c | 4 +---
2772 gi/pygpointer.h | 4 +---
2773 gi/pygspawn.c | 4 +---
2774 gi/pygspawn.h | 4 +---
2775 gi/pygtype.c | 4 +---
2776 gi/pygtype.h | 4 +---
2777 pygtkcompat/generictreemodel.py | 4 +---
2778 tests/test_generictreemodel.py | 4 +---
2779 58 files changed, 58 insertions(+), 174 deletions(-)
2781 commit bbfcebdfdc5e574999221b60520422ea6da82435
2782 Author: Owen W. Taylor <otaylor@fishsoup.net>
2783 Date: Wed Mar 12 18:32:47 2014 -0400
2785 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
2787 Any (transfer full) return of a cairo type other than a path
2790 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
2791 it for the cairo foreign type. For paths we can only handle
2792 (transfer full) so throw an error for (transfer none).
2794 https://bugzilla.gnome.org/show_bug.cgi?id=726206
2796 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
2797 gi/pygi-foreign.c | 3 ++-
2798 gi/pygi-foreign.h | 1 +
2799 gi/pygi-invoke.c | 1 +
2800 gi/pygi-struct-marshal.c | 1 +
2802 6 files changed, 31 insertions(+), 8 deletions(-)
2804 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
2805 Author: Simon Feltman <sfeltman@src.gnome.org>
2806 Date: Mon Mar 3 15:20:02 2014 -0800
2808 configure.ac: post release version bump to 3.11.92
2811 1 file changed, 1 insertion(+), 1 deletion(-)
2813 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
2814 Author: Simon Feltman <sfeltman@src.gnome.org>
2815 Date: Mon Mar 3 15:16:43 2014 -0800
2820 1 file changed, 7 insertions(+)
2822 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
2823 Author: Simon Feltman <sfeltman@src.gnome.org>
2824 Date: Mon Mar 3 06:49:09 2014 -0800
2826 build: Update release-news to use srcdir
2828 Use $(top_srcdir)/NEWS for pulling in news items to ensure
2829 "make release-news" works in a vpath build environment.
2832 1 file changed, 1 insertion(+), 1 deletion(-)
2834 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
2835 Author: Simon Feltman <sfeltman@src.gnome.org>
2836 Date: Fri Feb 7 20:16:21 2014 -0800
2838 Use ffi_call directly instead of g_callable_info_invoke
2840 Cleanup internal callable cache and state tracking by removing
2842 counting schemes for differently sized "in" and "out" argument arrays.
2843 Use a single count based on the total number of arguments passed to C
2844 (inclusive of instance argument and GError exception where
2846 Size all state tracking arrays to the same size and ensure argument
2848 indices always line up with these arrays. This cleans up logic
2850 required by g_callable_info_invoke for splitting "in" and "out"
2854 Cleanup array marshaling which can now rely on the new scheme
2856 the "arg_values" array always points to the correct location for
2860 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
2862 related GI methods. Overall, these changes can give a performance
2864 almost 2x for simple function calls (see ticket for micro benchmarks).
2866 https://bugzilla.gnome.org/show_bug.cgi?id=723642
2868 gi/pygi-array.c | 26 ++---
2869 gi/pygi-cache.c | 61 +++++++++--
2870 gi/pygi-cache.h | 10 +-
2871 gi/pygi-ccallback.c | 3 +-
2872 gi/pygi-closure.c | 6 +-
2873 gi/pygi-invoke-state-struct.h | 42 +++++---
2874 gi/pygi-invoke.c | 241
2875 +++++++++++++++++++++++-------------------
2876 gi/pygi-invoke.h | 2 +-
2877 gi/pygi-marshal-cleanup.c | 4 +-
2878 9 files changed, 230 insertions(+), 165 deletions(-)
2880 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
2881 Author: Simon Feltman <sfeltman@src.gnome.org>
2882 Date: Mon Mar 3 04:51:09 2014 -0800
2884 tests: Move class definition depending on GTK+ within function
2887 Move the definition of WindowWithSizeAllocOverride inside of the test
2888 function call to so it is lazily defined. This avoids problems
2890 on systems without GTK+ installed.
2892 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
2893 1 file changed, 16 insertions(+), 16 deletions(-)
2895 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
2896 Author: Simon Feltman <sfeltman@src.gnome.org>
2897 Date: Mon Mar 3 04:45:59 2014 -0800
2899 tests: Conditionalize usage of GTK+ in tests_generictreemodel
2901 This allows running make check without GTK+ installed.
2903 tests/test_generictreemodel.py | 16 +++++++++++++---
2904 1 file changed, 13 insertions(+), 3 deletions(-)
2906 commit 038563ed620e0d966e385a1779455d9b0e148c41
2907 Author: Simon Feltman <sfeltman@src.gnome.org>
2908 Date: Mon Mar 3 04:39:35 2014 -0800
2910 tests: Conditionalize usage of regress typelib in test_properties
2912 Unconditional usage of regress breaks tests when PyGObject is
2916 tests/test_properties.py | 27 +++++++++++++++++----------
2917 1 file changed, 17 insertions(+), 10 deletions(-)
2919 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
2920 Author: Simon Feltman <sfeltman@src.gnome.org>
2921 Date: Mon Mar 3 02:44:12 2014 -0800
2923 configure.ac: Use -std=c90 and error on declaration-after-statement
2925 Replace gcc option of -std=c9x with c90 and add
2926 -Werror=declaration-after-statement
2927 This ensures we keep compatibility with msvc builds.
2929 configure.ac | 3 ++-
2930 1 file changed, 2 insertions(+), 1 deletion(-)
2932 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
2933 Author: Simon Feltman <sfeltman@src.gnome.org>
2934 Date: Mon Mar 3 02:38:30 2014 -0800
2936 Use g_snprintf instead of snprintf
2938 Use g_snprintf for consistency with the rest of gobjectmodule.c
2940 gi/gobjectmodule.c | 2 +-
2941 1 file changed, 1 insertion(+), 1 deletion(-)
2943 commit b016ae6793839b2a6a00a69d00de30937bc611be
2944 Author: Simon Feltman <sfeltman@src.gnome.org>
2945 Date: Thu Feb 27 04:27:41 2014 -0800
2947 Use C style comments
2949 Update various locations which use C99 single line comments to
2951 C90 style comments. Found with: make CFLAGS="-std=C90"
2953 gi/gimodule.c | 2 +-
2954 gi/pygi-array.c | 3 ++-
2955 gi/pygi-property.c | 2 +-
2957 4 files changed, 5 insertions(+), 4 deletions(-)
2959 commit df7cba1495c167f1019dec7f4398dc5de62a5937
2960 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2961 Date: Tue Feb 25 14:38:41 2014 +0800
2963 Fix Build on Visual Studio
2965 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
2967 included the use of the NAN and INFINITY macros/constants, so the
2968 definitions for those need to be moved to pygi-basictype.c as well.
2970 avoid defining a variable in the middle of the block.
2972 https://bugzilla.gnome.org/show_bug.cgi?id=725122
2974 gi/pygi-basictype.c | 16 ++++++++++++++++
2975 gi/pygi-cache.c | 3 ++-
2976 gi/pygi-enum-marshal.c | 16 ----------------
2977 3 files changed, 18 insertions(+), 17 deletions(-)
2979 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
2980 Author: Simon Feltman <sfeltman@src.gnome.org>
2981 Date: Mon Feb 17 17:22:40 2014 -0800
2983 Update release steps to be more explicit in regards to NEWS
2985 Add an explicit step to commit the NEWS changes and push prior
2988 HACKING | 11 ++++++-----
2989 1 file changed, 6 insertions(+), 5 deletions(-)
2991 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
2992 Author: Simon Feltman <sfeltman@src.gnome.org>
2993 Date: Mon Feb 17 17:18:10 2014 -0800
2995 configure.ac: post release version bump to 3.11.91
2998 1 file changed, 1 insertion(+), 1 deletion(-)
3000 commit f87e341c5528d066371d4ec493956db28dd0bafa
3001 Author: Simon Feltman <sfeltman@src.gnome.org>
3002 Date: Mon Feb 17 17:08:13 2014 -0800
3007 1 file changed, 4 insertions(+)
3009 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
3010 Author: Simon Feltman <sfeltman@src.gnome.org>
3011 Date: Wed Feb 12 10:28:35 2014 -0800
3013 Use GObject type checking for instance arguments
3015 Add a g_type_is_a check to interface/object instance arguments
3017 to the Python IsInstance check. This loosens restrictions on
3019 don't use gi.overrides.override() and is needed to keep API
3021 which broke with commit:
3022 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
3024 https://bugzilla.gnome.org/show_bug.cgi?id=724009
3026 gi/pygi-object.c | 6 +++++-
3027 1 file changed, 5 insertions(+), 1 deletion(-)
3029 commit 419e13e1717b725d5c6815bae9672649b0afddd4
3030 Author: Simon Feltman <sfeltman@src.gnome.org>
3031 Date: Mon Feb 3 15:58:30 2014 -0800
3033 configure.ac: post release version bump to 3.11.90
3036 1 file changed, 1 insertion(+), 1 deletion(-)
3038 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
3039 Author: Simon Feltman <sfeltman@src.gnome.org>
3040 Date: Mon Feb 3 15:51:27 2014 -0800
3044 NEWS | 16 ++++++++++++++++
3045 1 file changed, 16 insertions(+)
3047 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
3048 Author: Simon Feltman <sfeltman@src.gnome.org>
3049 Date: Mon Feb 3 06:45:09 2014 -0800
3051 Restore pygobject_version API needed for pygobject.h
3053 Add gi._gobject.pygobject_version which was removed with commit:
3054 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
3055 This is needed for pygobject.h to function properly.
3057 gi/_gobject/__init__.py | 1 +
3058 1 file changed, 1 insertion(+)
3060 commit f3be4cedcb1d395a3fabee95d7460bce86268153
3061 Author: Simon Feltman <sfeltman@src.gnome.org>
3062 Date: Mon Feb 3 06:29:07 2014 -0800
3064 cache refactoring: Add comments to arg cache setup functions
3066 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3068 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
3069 1 file changed, 36 insertions(+)
3071 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
3072 Author: Simon Feltman <sfeltman@src.gnome.org>
3073 Date: Mon Feb 3 06:24:18 2014 -0800
3075 cache refactoring: Use consistent prefix for arg cache functions
3077 Use "pygi_arg_cache" as the prefix for arg cache memory related
3080 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3082 gi/pygi-array.c | 6 ++--
3083 gi/pygi-basictype.c | 4 +--
3084 gi/pygi-cache.c | 74
3085 ++++++++++++++++++++++++------------------------
3086 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
3087 gi/pygi-ccallback.c | 2 +-
3088 gi/pygi-closure.c | 6 ++--
3089 gi/pygi-enum-marshal.c | 4 +--
3090 gi/pygi-error.c | 4 +--
3091 gi/pygi-hashtable.c | 30 ++++++++++----------
3092 gi/pygi-info.c | 2 +-
3093 gi/pygi-invoke.c | 2 +-
3094 gi/pygi-list.c | 2 +-
3095 gi/pygi-object.c | 2 +-
3096 gi/pygi-struct-marshal.c | 2 +-
3097 14 files changed, 102 insertions(+), 96 deletions(-)
3099 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
3100 Author: Simon Feltman <sfeltman@src.gnome.org>
3101 Date: Sun Jan 12 12:26:30 2014 -0800
3103 marshal refactoring: Move GValue marshaling from pytype into
3106 Move marshaling of GValues to and from PyObjects into
3108 PyGTypeMarshal struct and related functions accessible via pygtype.h.
3110 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3112 gi/gobjectmodule.c | 2 +
3113 gi/pygi-struct-marshal.c | 1 +
3114 gi/pygi-value.c | 720
3115 +++++++++++++++++++++++++++++++++++++++++++++-
3116 gi/pygi-value.h | 12 +
3117 gi/pygobject-private.h | 16 --
3118 gi/pygobject.c | 2 +-
3120 +----------------------------------------------
3121 gi/pygtype.h | 17 ++
3122 8 files changed, 757 insertions(+), 741 deletions(-)
3124 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
3125 Author: Simon Feltman <sfeltman@src.gnome.org>
3126 Date: Sun Jan 12 11:41:20 2014 -0800
3128 marshal refactoring: Move GIArgument from GValue code to new file
3130 Add gi/pygi-value.h and .c files with initial contents of
3131 _pygi_argument_from_g_value. Eventually this file will contain
3133 related to GValue marshaling from various code locations in the
3136 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3138 gi/Makefile.am | 2 +
3139 gi/pygi-argument.c | 126 +----------------------------------------
3140 gi/pygi-argument.h | 3 -
3141 gi/pygi-signal-closure.c | 1 +
3142 gi/pygi-value.c | 144
3143 +++++++++++++++++++++++++++++++++++++++++++++++
3144 gi/pygi-value.h | 32 +++++++++++
3145 6 files changed, 180 insertions(+), 128 deletions(-)
3147 commit c2d5857e9b964427190e1230be32ae7919e86bc0
3148 Author: Simon Feltman <sfeltman@src.gnome.org>
3149 Date: Sat Oct 12 21:26:55 2013 -0700
3151 cache refactoring: Move enum and flags arg setup and marshaling to
3154 Move enum and flags argument cache setup and marshaling fragments into
3155 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
3157 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3159 gi/Makefile.am | 6 +-
3160 gi/pygi-argument.c | 2 -
3161 gi/pygi-cache.c | 74 ++-------
3162 gi/pygi-enum-marshal.c | 408
3163 ++++++++++++++++++++++++++++++++++++++++++++++
3164 gi/pygi-enum-marshal.h | 42 +++++
3165 gi/pygi-marshal-from-py.c | 206 -----------------------
3166 gi/pygi-marshal-from-py.h | 57 -------
3167 gi/pygi-marshal-to-py.c | 152 -----------------
3168 gi/pygi-marshal-to-py.h | 34 ----
3169 9 files changed, 464 insertions(+), 517 deletions(-)
3171 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
3172 Author: Simon Feltman <sfeltman@src.gnome.org>
3173 Date: Sat Oct 12 20:00:12 2013 -0700
3175 cache refactoring: Move various struct arg setup and marshaling to
3178 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
3180 cache setup and marshaling fragments into isolated file:
3181 pygi-struct-marshal.c.
3182 Remove redundant and dead code related to boxed and union marshaling.
3184 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3186 gi/Makefile.am | 2 +
3187 gi/pygi-argument.c | 1 +
3188 gi/pygi-array.c | 3 +
3189 gi/pygi-cache.c | 72 +------
3190 gi/pygi-cache.h | 1 +
3191 gi/pygi-marshal-cleanup.c | 48 -----
3192 gi/pygi-marshal-cleanup.h | 16 --
3193 gi/pygi-marshal-from-py.c | 288 --------------------------
3194 gi/pygi-marshal-from-py.h | 33 ---
3195 gi/pygi-marshal-to-py.c | 120 -----------
3196 gi/pygi-marshal-to-py.h | 27 ---
3197 gi/pygi-object.c | 2 +-
3198 gi/pygi-struct-marshal.c | 516
3199 ++++++++++++++++++++++++++++++++++++++++++++++
3200 gi/pygi-struct-marshal.h | 73 +++++++
3201 14 files changed, 607 insertions(+), 595 deletions(-)
3203 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
3204 Author: Simon Feltman <sfeltman@src.gnome.org>
3205 Date: Sat Oct 12 16:40:58 2013 -0700
3207 cache refactoring: Move GObject arg setup and marshaling into new file
3209 Move GObject argument cache setup and marshaling fragments into
3210 isolated file: pygi-object.c.
3211 Break GIInterfaceCache creation and setup into API for interface based
3212 argument cache usage.
3214 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3216 gi/Makefile.am | 2 +
3217 gi/pygi-argument.c | 7 +-
3218 gi/pygi-cache.c | 183 ++++++++++++++-----------------
3219 gi/pygi-cache.h | 7 ++
3220 gi/pygi-marshal-cleanup.c | 27 -----
3221 gi/pygi-marshal-cleanup.h | 10 --
3222 gi/pygi-marshal-from-py.c | 123 ---------------------
3223 gi/pygi-marshal-from-py.h | 12 --
3224 gi/pygi-marshal-to-py.c | 31 ------
3225 gi/pygi-marshal-to-py.h | 8 --
3226 gi/pygi-object.c | 273
3227 ++++++++++++++++++++++++++++++++++++++++++++++
3228 gi/pygi-object.h | 46 ++++++++
3229 12 files changed, 416 insertions(+), 313 deletions(-)
3231 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
3232 Author: Simon Feltman <sfeltman@src.gnome.org>
3233 Date: Sat Oct 12 12:39:20 2013 -0700
3235 cache refactoring: Move closure setup and marshaling into pygi-closure
3237 Move closure argument caching and marshaling fragments into
3240 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3242 gi/pygi-cache.c | 111 ++--------------
3243 gi/pygi-cache.h | 9 --
3244 gi/pygi-closure.c | 314
3245 +++++++++++++++++++++++++++++++++++++++++++++-
3246 gi/pygi-closure.h | 13 +-
3247 gi/pygi-marshal-cleanup.c | 14 ---
3248 gi/pygi-marshal-cleanup.h | 5 -
3249 gi/pygi-marshal-from-py.c | 160 -----------------------
3250 gi/pygi-marshal-from-py.h | 6 -
3251 gi/pygi-marshal-to-py.c | 13 --
3252 gi/pygi-marshal-to-py.h | 4 -
3253 10 files changed, 333 insertions(+), 316 deletions(-)
3255 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
3256 Author: Simon Feltman <sfeltman@src.gnome.org>
3257 Date: Sat Oct 12 11:30:36 2013 -0700
3259 cache refactoring: Move GError arg setup and marshaling to new file
3261 Move GError argument caching and marshaling fragments into
3262 isolated file: pygi-error.c.
3264 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3266 gi/Makefile.am | 2 +
3267 gi/pygi-cache.c | 93 ++++++++++++---------------------------
3268 gi/pygi-error.c | 109
3269 ++++++++++++++++++++++++++++++++++++++++++++++
3270 gi/pygi-error.h | 35 +++++++++++++++
3271 gi/pygi-marshal-from-py.c | 13 ------
3272 gi/pygi-marshal-from-py.h | 6 ---
3273 gi/pygi-marshal-to-py.c | 22 ----------
3274 gi/pygi-marshal-to-py.h | 4 --
3275 8 files changed, 174 insertions(+), 110 deletions(-)
3277 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
3278 Author: Simon Feltman <sfeltman@src.gnome.org>
3279 Date: Sat Oct 12 03:07:53 2013 -0700
3281 cache refactoring: Move GArray arg setup and marshaling into new file
3283 Move GArray argument caching and marshaling fragments into an
3284 isolated file: pygi-array.c.
3286 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3288 gi/Makefile.am | 2 +
3289 gi/pygi-array.c | 906
3290 ++++++++++++++++++++++++++++++++++++++++++++++
3291 gi/pygi-array.h | 42 +++
3292 gi/pygi-cache.c | 236 +-----------
3293 gi/pygi-marshal-cleanup.c | 150 --------
3294 gi/pygi-marshal-cleanup.h | 10 -
3295 gi/pygi-marshal-from-py.c | 354 ------------------
3296 gi/pygi-marshal-from-py.h | 6 -
3297 gi/pygi-marshal-to-py.c | 210 -----------
3298 gi/pygi-marshal-to-py.h | 4 -
3299 10 files changed, 963 insertions(+), 957 deletions(-)
3301 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
3302 Author: Simon Feltman <sfeltman@src.gnome.org>
3303 Date: Fri Oct 11 23:26:08 2013 -0700
3305 cache refactoring: Move GList/GSList arg setup and marshaling into
3308 Move GList and GSList argument caching and marshaling fragments
3310 isolated file: pygi-list.c.
3312 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3314 gi/Makefile.am | 2 +
3315 gi/pygi-cache.c | 71 ++-----
3316 gi/pygi-list.c | 466
3317 ++++++++++++++++++++++++++++++++++++++++++++++
3318 gi/pygi-list.h | 38 ++++
3319 gi/pygi-marshal-cleanup.c | 80 --------
3320 gi/pygi-marshal-cleanup.h | 10 -
3321 gi/pygi-marshal-from-py.c | 156 ----------------
3322 gi/pygi-marshal-from-py.h | 12 --
3323 gi/pygi-marshal-to-py.c | 98 ----------
3324 gi/pygi-marshal-to-py.h | 8 -
3325 10 files changed, 517 insertions(+), 424 deletions(-)
3327 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
3328 Author: Simon Feltman <sfeltman@src.gnome.org>
3329 Date: Fri Oct 11 21:30:45 2013 -0700
3331 cache refactoring: Break sequence cache up for array vs list
3333 Add new arg cache type specialized for arrays. This cleans up
3335 sequence cache type which does not need length and size related
3337 fixed length checks from GList and GSList from_py marshaling
3341 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3343 gi/pygi-cache.c | 160
3344 +++++++++++++++++++++++++++++++++++-----------
3345 gi/pygi-cache.h | 16 ++++-
3346 gi/pygi-invoke.c | 4 +-
3347 gi/pygi-marshal-cleanup.c | 28 ++++----
3348 gi/pygi-marshal-from-py.c | 37 ++++-------
3349 gi/pygi-marshal-to-py.c | 23 +++----
3350 6 files changed, 177 insertions(+), 91 deletions(-)
3352 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
3353 Author: Simon Feltman <sfeltman@src.gnome.org>
3354 Date: Fri Oct 11 20:12:01 2013 -0700
3356 cache refactoring: Move basic type arg setup and marshaling into
3359 Move all basic type arg caching and marshaling fragments into
3361 file where most functions are made static. pygi-basictype.h exposes:
3362 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
3364 _pygi_marshal_to_py_basic_type which allows continued use for all
3368 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3370 gi/Makefile.am | 2 +
3371 gi/pygi-argument.c | 1 +
3372 gi/pygi-basictype.c | 824
3373 ++++++++++++++++++++++++++++++++++++++++++++++
3374 gi/pygi-basictype.h | 42 +++
3375 gi/pygi-cache.c | 82 +----
3376 gi/pygi-cache.h | 1 +
3377 gi/pygi-marshal-cleanup.c | 26 --
3378 gi/pygi-marshal-cleanup.h | 10 -
3379 gi/pygi-marshal-from-py.c | 478 ---------------------------
3380 gi/pygi-marshal-from-py.h | 18 -
3381 gi/pygi-marshal-to-py.c | 155 ---------
3382 gi/pygi-marshal-to-py.h | 11 -
3383 12 files changed, 880 insertions(+), 770 deletions(-)
3385 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
3386 Author: Simon Feltman <sfeltman@src.gnome.org>
3387 Date: Fri Oct 11 17:39:31 2013 -0700
3389 cache refactoring: Move PyGIHashCache and related marshaling into
3392 Re-organize hash table arg cache and its marshaling by moving all
3393 related code fragments into an isolated file where most of it is made
3394 static. pygi-hashtable.h exposes a single function:
3395 pygi_arg_hash_table_new_from_info. This is all the caching system
3397 produce the proper bits for handling hash table marshaling.
3399 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3401 gi/Makefile.am | 4 +-
3402 gi/pygi-cache.c | 103 +-----------
3403 gi/pygi-cache.h | 21 ++-
3404 gi/pygi-hashtable.c | 413
3405 ++++++++++++++++++++++++++++++++++++++++++++++
3406 gi/pygi-hashtable.h | 35 ++++
3407 gi/pygi-marshal-cleanup.c | 63 -------
3408 gi/pygi-marshal-cleanup.h | 10 --
3409 gi/pygi-marshal-from-py.c | 125 --------------
3410 gi/pygi-marshal-from-py.h | 6 -
3411 gi/pygi-marshal-to-py.c | 85 ----------
3412 gi/pygi-marshal-to-py.h | 4 -
3413 11 files changed, 471 insertions(+), 398 deletions(-)
3415 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
3416 Author: Simon Feltman <sfeltman@src.gnome.org>
3417 Date: Fri Oct 11 15:49:32 2013 -0700
3419 cache refactoring: Separate ArgCache creation and setup
3421 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
3422 functions: pygi_arg_base_setup and pygi_arg_interface_setup
3424 Shift argument order and move arguments which will eventually
3426 from the signature into the tail with comment. Isolate special
3428 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
3429 _arg_cache_new_for_interface.
3431 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3433 gi/pygi-cache.c | 263
3434 ++++++++++++++++++++++++++++++++------------------------
3435 gi/pygi-cache.h | 15 ++++
3436 2 files changed, 167 insertions(+), 111 deletions(-)
3438 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
3439 Author: Simon Feltman <sfeltman@src.gnome.org>
3440 Date: Sun Feb 2 15:52:24 2014 -0800
3442 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
3444 https://bugzilla.gnome.org/show_bug.cgi?id=722899
3446 tests/test_gi.py | 3 +++
3447 1 file changed, 3 insertions(+)
3449 commit e79d2acc54c1e3b052835de5de20feb0b7069476
3450 Author: Mike Gorse <mgorse@suse.com>
3451 Date: Fri Jan 24 05:17:06 2014 -0600
3453 tests: Add test for an owned boxed struct passed in a callback
3455 https://bugzilla.gnome.org/show_bug.cgi?id=722899
3457 tests/test_gi.py | 11 +++++++++++
3458 1 file changed, 11 insertions(+)
3460 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
3461 Author: Simon Feltman <sfeltman@src.gnome.org>
3462 Date: Thu Jan 23 17:19:12 2014 -0800
3464 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
3466 Rename GIObjectMeta to GObjectMeta reverting it to its original
3468 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
3469 That change could have been considered an API break for anyone
3471 gi.types.GObjectMeta since it is essentially public API. Rename
3473 class to _GObjectMetaBase which was previously gi._gobject before
3474 commit 2624bd2b (private API).
3476 gi/module.py | 8 ++++----
3477 gi/types.py | 10 +++++-----
3478 2 files changed, 9 insertions(+), 9 deletions(-)
3480 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
3481 Author: Patrick Welche <prlw1@cam.ac.uk>
3482 Date: Thu Jan 23 23:49:51 2014 +0000
3484 build: Add --without-common configure option for package maintainers
3486 https://bugzilla.gnome.org/show_bug.cgi?id=721646
3489 configure.ac | 7 +++++++
3490 gi/Makefile.am | 2 ++
3491 3 files changed, 11 insertions(+)
3493 commit df21dbbc84fa319af2a0f0664de436ca30df616e
3494 Author: Simon Feltman <sfeltman@src.gnome.org>
3495 Date: Thu Jan 16 16:33:41 2014 -0800
3497 tests: Add skipped test for GLib.Source inheritance problems
3499 Add test showing memory problems with sub-classes of GLib.Source.
3501 https://bugzilla.gnome.org/show_bug.cgi?id=722387
3503 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
3504 1 file changed, 45 insertions(+)
3506 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
3507 Author: Simon Feltman <sfeltman@src.gnome.org>
3508 Date: Wed Jan 15 12:51:57 2014 -0800
3510 Fix reference sharing of gi sub-modules in Python 2
3512 Ensure we add a new reference to sub-modules added to gi._gi. This may
3513 have caused GC errors upon exiting the Python process since a
3515 shared by sys.modules and gi._gi.
3517 https://bugzilla.gnome.org/show_bug.cgi?id=722274
3519 gi/gimodule.c | 11 +++++++++++
3520 1 file changed, 11 insertions(+)
3522 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
3523 Author: Simon Feltman <sfeltman@src.gnome.org>
3524 Date: Tue Jan 14 23:46:44 2014 -0800
3526 demo: Add TreeModel interface implementation demonstration
3528 Add demo which shows how to implement the Gtk.TreeModel interfaces
3532 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
3533 +++++++++++++++++++++++
3534 1 file changed, 143 insertions(+)
3536 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
3537 Author: Simon Feltman <sfeltman@src.gnome.org>
3538 Date: Tue Jan 14 23:33:16 2014 -0800
3540 demo: Remove "Icon View" and "Tree View" directories
3542 demos/gtk-demo/demos/Icon View/__init__.py | 0
3543 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
3544 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
3545 demos/gtk-demo/demos/Tree View/__init__.py | 0
3546 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
3547 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
3549 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
3550 ---------------------
3551 7 files changed, 1041 deletions(-)
3553 commit f89fa08ba756a1c529ff48beb39025f834a249bf
3554 Author: Simon Feltman <sfeltman@src.gnome.org>
3555 Date: Tue Jan 14 23:08:33 2014 -0800
3557 demo: Remove spaces from demo sub-directories
3559 Move "Icon View" to IconView and "Tree View" to TreeView. This
3561 ability to package the demos in tarball releases in future versions.
3563 demos/gtk-demo/demos/IconView/__init__.py | 0
3564 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
3565 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
3566 demos/gtk-demo/demos/TreeView/__init__.py | 0
3567 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
3568 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
3570 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
3571 +++++++++++++++++++++
3572 7 files changed, 1041 insertions(+)
3574 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
3575 Author: Simon Feltman <sfeltman@src.gnome.org>
3576 Date: Tue Jan 14 14:28:52 2014 -0800
3578 build: Remove _glib directory include from testhelper CFLAGS
3580 tests/Makefile.am | 2 +-
3581 1 file changed, 1 insertion(+), 1 deletion(-)
3583 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
3584 Author: Colin Walters <walters@verbum.org>
3585 Date: Tue Jan 14 16:33:38 2014 -0500
3587 build: Set PLATFORM_VERSION again to 3.0
3589 We are installing headers to:
3590 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
3592 If the variable isn't set, then things attempting to use pygobject
3595 This was a regression from a build system refactoring.
3597 gi/Makefile.am | 2 ++
3598 1 file changed, 2 insertions(+)
3600 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
3601 Author: Simon Feltman <sfeltman@src.gnome.org>
3602 Date: Tue Jan 14 12:54:42 2014 -0800
3604 Fix Python 2 build warning for module definitions
3606 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
3608 needed now that the function signature created with
3609 PYGLIB_MODULE_START is
3610 consistent between the two versions.
3612 gi/pyglib-python-compat.h | 5 ++---
3613 1 file changed, 2 insertions(+), 3 deletions(-)
3615 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
3616 Author: Simon Feltman <sfeltman@src.gnome.org>
3617 Date: Tue Jan 14 12:26:16 2014 -0800
3619 tests: Run PyFlakes and PEP8 only on SUBDIRS
3621 Move PyFlakes and PEP8 checks into check-local of the root
3623 run these tools on selective subdirs of top_srcdir. This fixes
3625 where vpath build directories within the srcdir would contain links
3627 source files, causing these tools to run multiple times slowing
3631 Makefile.am | 21 ++++++++++++++++++++-
3632 tests/Makefile.am | 6 ------
3633 2 files changed, 20 insertions(+), 7 deletions(-)
3635 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
3636 Author: Simon Feltman <sfeltman@src.gnome.org>
3637 Date: Tue Jan 14 12:25:09 2014 -0800
3639 Remove _glib include path from gi module target
3641 gi/Makefile.am | 7 ++-----
3642 1 file changed, 2 insertions(+), 5 deletions(-)
3644 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
3645 Author: Simon Feltman <sfeltman@src.gnome.org>
3646 Date: Wed Jan 8 19:22:08 2014 -0800
3648 Move Python glib options module into gi package
3650 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
3654 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3658 gi/Makefile.am | 1 -
3659 gi/_glib/Makefile.am | 21 ---
3660 gi/_glib/__init__.py | 20 ---
3661 gi/_glib/option.py | 363
3662 ------------------------------------------------
3664 ++++++++++++++++++++++++++++++++++++++++++++++++
3665 gi/overrides/GLib.py | 2 +-
3666 gi/overrides/GObject.py | 2 +-
3667 9 files changed, 367 insertions(+), 409 deletions(-)
3669 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
3670 Author: Simon Feltman <sfeltman@src.gnome.org>
3671 Date: Wed Jan 8 18:57:58 2014 -0800
3673 Merge static PyGLib module into PyGI
3675 Remove gi._glib._glib as a separately compiled module. Move all C
3677 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
3679 shared dependency since we do not distribute header files for it.
3680 Remove unused threading macros.
3682 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3684 gi/Makefile.am | 16 +-
3685 gi/_glib/Makefile.am | 74 +------
3686 gi/_glib/__init__.py | 5 -
3687 gi/_glib/glibmodule.c | 103 ---------
3688 gi/_glib/option.py | 2 +-
3689 gi/_glib/pyglib-private.h | 49 -----
3690 gi/_glib/pyglib-python-compat.h | 195 -----------------
3691 gi/_glib/pyglib.c | 475
3692 ----------------------------------------
3693 gi/_glib/pyglib.h | 77 -------
3694 gi/_glib/pygoptioncontext.c | 337 ----------------------------
3695 gi/_glib/pygoptioncontext.h | 39 ----
3696 gi/_glib/pygoptiongroup.c | 298 -------------------------
3697 gi/_glib/pygoptiongroup.h | 42 ----
3698 gi/_glib/pygspawn.c | 259 ----------------------
3699 gi/_glib/pygspawn.h | 32 ---
3701 gi/glibmodule.c | 77 +++++++
3702 gi/gobjectmodule.c | 5 +-
3703 gi/overrides/GLib.py | 2 +-
3704 gi/pyglib-private.h | 43 ++++
3705 gi/pyglib-python-compat.h | 195 +++++++++++++++++
3706 gi/pyglib.c | 402 ++++++++++++++++++++++++++++++++++
3707 gi/pyglib.h | 67 ++++++
3708 gi/pygoptioncontext.c | 337 ++++++++++++++++++++++++++++
3709 gi/pygoptioncontext.h | 39 ++++
3710 gi/pygoptiongroup.c | 298 +++++++++++++++++++++++++
3711 gi/pygoptiongroup.h | 42 ++++
3712 gi/pygspawn.c | 259 ++++++++++++++++++++++
3713 gi/pygspawn.h | 32 +++
3714 29 files changed, 1819 insertions(+), 1991 deletions(-)
3716 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
3717 Author: Simon Feltman <sfeltman@src.gnome.org>
3718 Date: Thu Oct 31 03:13:53 2013 -0700
3720 Move gobject sub-module Python files into the main gi package
3722 This moves the signalhelper, propertyhelper, and constants Python
3724 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
3726 still needed to maintain the "_PyGObject_API" exposed by
3728 allows external modules compiled with prior versions of PyGObject to
3729 continue working with newer versions.
3731 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3734 gi/__init__.py | 19 +-
3735 gi/_constants.py | 49 +++++
3736 gi/_gobject/Makefile.am | 5 +-
3737 gi/_gobject/__init__.py | 42 +----
3738 gi/_gobject/constants.py | 50 -----
3739 gi/_gobject/propertyhelper.py | 417
3740 ------------------------------------------
3741 gi/_gobject/signalhelper.py | 259 --------------------------
3742 gi/_propertyhelper.py | 417
3743 ++++++++++++++++++++++++++++++++++++++++++
3744 gi/_signalhelper.py | 258 ++++++++++++++++++++++++++
3745 gi/module.py | 16 +-
3746 gi/overrides/GObject.py | 7 +-
3747 gi/overrides/__init__.py | 2 +-
3748 gi/types.py | 41 ++++-
3749 pygtkcompat/pygtkcompat.py | 4 +-
3750 tests/test_gi.py | 2 +-
3751 tests/test_gobject.py | 4 +-
3752 tests/test_properties.py | 2 +-
3753 tests/test_signal.py | 2 +-
3754 19 files changed, 796 insertions(+), 805 deletions(-)
3756 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
3757 Author: Simon Feltman <sfeltman@src.gnome.org>
3758 Date: Thu Oct 31 02:22:03 2013 -0700
3760 Merge gobject static code into the gi module
3762 Remove gi._gobject._gobject as a separately compiled static module and
3763 move all the files into gi._gi.
3764 Remove dead module initialization macros from "pyglib-python-compat.h"
3766 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3768 gi/Makefile.am | 31 +-
3769 gi/_glib/pyglib-python-compat.h | 62 +-
3770 gi/_gobject/Makefile.am | 69 +-
3771 gi/_gobject/__init__.py | 4 +-
3772 gi/_gobject/constants.py | 3 +-
3773 gi/_gobject/gobjectmodule.c | 2213
3774 -----------------------------------
3775 gi/_gobject/propertyhelper.py | 16 +-
3776 gi/_gobject/pygboxed.c | 235 ----
3777 gi/_gobject/pygboxed.h | 27 -
3778 gi/_gobject/pygenum.c | 371 ------
3779 gi/_gobject/pygenum.h | 27 -
3780 gi/_gobject/pygflags.c | 497 --------
3781 gi/_gobject/pygflags.h | 27 -
3782 gi/_gobject/pyginterface.c | 124 --
3783 gi/_gobject/pyginterface.h | 40 -
3784 gi/_gobject/pygobject-private.h | 204 ----
3785 gi/_gobject/pygobject.c | 2473
3786 ---------------------------------------
3787 gi/_gobject/pygobject.h | 636 ----------
3788 gi/_gobject/pygparamspec.c | 418 -------
3789 gi/_gobject/pygparamspec.h | 31 -
3790 gi/_gobject/pygpointer.c | 198 ----
3791 gi/_gobject/pygpointer.h | 27 -
3792 gi/_gobject/pygtype.c | 1927 ------------------------------
3793 gi/_gobject/pygtype.h | 28 -
3794 gi/_gobject/signalhelper.py | 3 +-
3795 gi/gimodule.c | 13 +-
3796 gi/gobjectmodule.c | 2213
3797 +++++++++++++++++++++++++++++++++++
3799 gi/pygboxed.c | 235 ++++
3800 gi/pygboxed.h | 27 +
3801 gi/pygenum.c | 371 ++++++
3803 gi/pygflags.c | 497 ++++++++
3804 gi/pygflags.h | 27 +
3805 gi/pygi-argument.c | 3 +-
3806 gi/pygi-boxed.c | 2 +-
3807 gi/pygi-ccallback.c | 2 +-
3808 gi/pygi-foreign.c | 2 +-
3809 gi/pygi-info.c | 2 +-
3810 gi/pygi-marshal-to-py.c | 3 +-
3811 gi/pygi-private.h | 2 +-
3812 gi/pygi-source.c | 3 +-
3813 gi/pygi-struct.c | 2 +-
3815 gi/pyginterface.c | 124 ++
3816 gi/pyginterface.h | 40 +
3817 gi/pygobject-private.h | 205 ++++
3818 gi/pygobject.c | 2473
3819 +++++++++++++++++++++++++++++++++++++++
3820 gi/pygobject.h | 636 ++++++++++
3821 gi/pygparamspec.c | 418 +++++++
3822 gi/pygparamspec.h | 33 +
3823 gi/pygpointer.c | 198 ++++
3824 gi/pygpointer.h | 27 +
3825 gi/pygtype.c | 1927 ++++++++++++++++++++++++++++++
3828 tests/Makefile.am | 2 +-
3829 57 files changed, 9594 insertions(+), 9649 deletions(-)
3831 commit a329f559002f2be0898309c9d81cdf2c34aef158
3832 Author: Simon Feltman <sfeltman@src.gnome.org>
3833 Date: Tue Jan 14 10:15:53 2014 -0800
3835 tests: Fix test_torture_profile to return a number from its callback
3837 Return a number from rather than None from the callback passed to
3838 regress_test_torture_signature_2. This fixes a TypeError being
3840 callback return argument marshaling which was ignored by the test
3843 tests/test_everything.py | 2 +-
3844 1 file changed, 1 insertion(+), 1 deletion(-)
3846 commit a50a8386aae54dace7e46569415fdef85758fb9c
3847 Author: Martin Pitt <martinpitt@gnome.org>
3848 Date: Tue Jan 14 08:53:25 2014 +0100
3850 Add test for callback user data arguments with following arguments
3852 In this case we can't use the varargs userdata handling. Provides
3854 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
3856 tests/test_everything.py | 48
3857 ++++++++++++++++++++++++++++++++++++++++++++++++
3858 1 file changed, 48 insertions(+)
3860 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
3861 Author: Simon Feltman <sfeltman@src.gnome.org>
3862 Date: Mon Jan 13 08:19:02 2014 -0800
3864 valgrind: Add suppression files for python3.3 and python3.3dm
3866 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
3867 suppression filename in the various make check.valgrind
3869 python.supp to python2.7.supp
3871 tests/Makefile.am | 6 +-
3872 tests/python.supp | 387 ----------------------------------------
3873 tests/python2.7.supp | 387 ++++++++++++++++++++++++++++++++++++++++
3874 tests/python3.3.supp | 471
3875 +++++++++++++++++++++++++++++++++++++++++++++++++
3876 tests/python3.3dm.supp | 471
3877 +++++++++++++++++++++++++++++++++++++++++++++++++
3878 5 files changed, 1332 insertions(+), 390 deletions(-)
3880 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
3881 Author: Simon Feltman <sfeltman@src.gnome.org>
3882 Date: Mon Jan 13 18:53:55 2014 -0800
3884 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
3886 Make sure NEWS generation uses top_srcdir to allow "make release-news"
3888 work under a vpath build (directory outside the source tree).
3889 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
3891 where running "make dist" under a vpath build directory would
3895 Makefile.am | 6 +++---
3896 1 file changed, 3 insertions(+), 3 deletions(-)
3898 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
3899 Author: Simon Feltman <sfeltman@src.gnome.org>
3900 Date: Mon Jan 13 18:53:02 2014 -0800
3902 Update HACKING to include better release tagging instructions
3904 HACKING | 15 ++++++++-------
3905 1 file changed, 8 insertions(+), 7 deletions(-)
3907 commit c0a43d259c003c5d06db23debd0675b87e805b74
3908 Author: Simon Feltman <sfeltman@src.gnome.org>
3909 Date: Mon Jan 13 17:20:17 2014 -0800
3911 configure.ac: post release version bump to 3.11.5
3913 NEWS | 16 ++++++++++++++++
3915 2 files changed, 17 insertions(+), 1 deletion(-)
3917 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
3918 Author: Simon Feltman <sfeltman@src.gnome.org>
3919 Date: Mon Jan 13 16:51:41 2014 -0800
3921 Fix mid-argument list callback user data expecting a tuple
3923 Ensure user data arguments are always packed into a tuple during
3925 marshaling. This fixes cases where there is mid-argument user data
3927 not in the form of a variable length tuple.
3929 https://bugzilla.gnome.org/show_bug.cgi?id=722104
3931 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
3932 1 file changed, 15 insertions(+), 1 deletion(-)
3934 commit 415b240e3baab522f3bf9752995610f950ba609e
3935 Author: Simon Feltman <sfeltman@src.gnome.org>
3936 Date: Tue Oct 15 03:57:52 2013 -0700
3938 Remove special case GObject base class check when creating GI classes
3940 Replace explicit GObject.Object string name check when calculating the
3941 introspection class hierarchy with a more generalized technique. This
3943 any C based wrapper of a GType to "underride" an introspection class
3944 automatically. This currently only handles the case of GObject.Object,
3946 will be used for fundamentals and GParamSpec.
3948 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3950 gi/module.py | 17 +++++++++++------
3951 1 file changed, 11 insertions(+), 6 deletions(-)
3953 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
3954 Author: Simon Feltman <sfeltman@src.gnome.org>
3955 Date: Tue Jan 7 09:16:54 2014 -0800
3957 overrides: Fix __repr__ for various Gdk structs
3959 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
3961 string reprentation that is valid Python given an expected
3963 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
3965 gi/overrides/Gdk.py | 10 +++++-----
3966 tests/test_atoms.py | 7 +++++--
3967 tests/test_overrides_gdk.py | 9 +++++++++
3968 3 files changed, 19 insertions(+), 7 deletions(-)
3970 commit f6a87935596a3b59c238a5572b288f34691b53d1
3971 Author: Simon Feltman <sfeltman@src.gnome.org>
3972 Date: Tue Jan 7 07:31:22 2014 -0800
3974 docs: Fix array length argument skipping with preceding out arguments
3976 Remove split_function_info_args and use a list of all arguments for
3977 generating skipped index lists. Determine argument skipping based
3979 full argument list in each in/inout and out/inout argument list
3981 This fixes a problem where out arguments preceding array length
3983 would still show array length arguments in the docstring. This was
3985 index mismatch when using split lists instead of list of all
3988 gi/docstring.py | 38 ++++++++++++--------------------------
3989 tests/test_docstring.py | 37 +++++++++++++++----------------------
3990 2 files changed, 27 insertions(+), 48 deletions(-)
3992 commit f114edc0a0afa64077a13459034afc4255b7a3f1
3993 Author: Simon Feltman <sfeltman@src.gnome.org>
3994 Date: Mon Jan 6 22:10:47 2014 -0800
3996 overrides: Remove GLib.Source.attach
3998 Remove GLib.Source.attach override now that tail end allow-none
4000 default to None when not specified.
4002 gi/overrides/GLib.py | 5 -----
4003 tests/test_glib.py | 7 +++++++
4004 2 files changed, 7 insertions(+), 5 deletions(-)
4006 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
4007 Author: Simon Feltman <sfeltman@src.gnome.org>
4008 Date: Mon Jan 6 21:42:09 2014 -0800
4010 overrides: Remove Gtk overrides with tail end allow-none keywords
4012 Remove overrides for Widget.render_icon, TextIter.begins_tag,
4014 toggles_tag, and TreeModel.filter_new. These overrides added an
4015 optional keyword=None for allow-none arguments. This is now implicitly
4016 accepted by the PyGObject machinery so the overrides can go away.
4018 gi/overrides/Gtk.py | 16 ----------------
4019 tests/test_overrides_gtk.py | 11 +++++++++++
4020 2 files changed, 11 insertions(+), 16 deletions(-)
4022 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
4023 Author: Simon Feltman <sfeltman@src.gnome.org>
4024 Date: Mon Jan 6 21:22:41 2014 -0800
4026 overrides: Remove Pango.Context.get_metrics
4028 Remove the override for Pango.Context and the get_metrics method. This
4030 be done now that tail end method arguments with "allow-none"
4032 defaulted to use None/NULL.
4034 gi/overrides/Pango.py | 9 ---------
4035 tests/test_overrides_pango.py | 12 ++++++++++++
4036 2 files changed, 12 insertions(+), 9 deletions(-)
4038 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
4039 Author: Simon Feltman <sfeltman@src.gnome.org>
4040 Date: Mon Jan 6 17:35:04 2014 -0800
4042 Add enum and flags member methods
4044 Add all methods from GIEnumInfo to both enums and flags classes.
4046 https://bugzilla.gnome.org/show_bug.cgi?id=693099
4049 tests/test_gi.py | 9 +++++++++
4050 2 files changed, 11 insertions(+)
4052 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
4053 Author: Patrick Welche <prlw1@cam.ac.uk>
4054 Date: Mon Jan 6 22:31:48 2014 +0000
4056 python.m4: g/c JD_PYTHON_CHECK_VERSION
4058 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
4059 is identical (made here).
4061 https://bugzilla.gnome.org/show_bug.cgi?id=721662
4063 configure.ac | 4 ++--
4064 m4/python.m4 | 23 ++---------------------
4065 2 files changed, 4 insertions(+), 23 deletions(-)
4067 commit aaaead18e2167c2becb309f1d9ae199222c0256b
4068 Author: Simon Feltman <sfeltman@src.gnome.org>
4069 Date: Sat Jan 4 16:31:56 2014 -0800
4071 Support union creation with PyGIStruct
4073 Add additional case for allowing the creation bare unions wrapped with
4074 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
4077 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
4078 tests/test_repository.py | 13 +++++++++++++
4079 2 files changed, 47 insertions(+), 5 deletions(-)
4081 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
4082 Author: Simon Feltman <sfeltman@src.gnome.org>
4083 Date: Sat Jan 4 16:07:44 2014 -0800
4085 Fix crash in error handling when creating struct with mismatched
4088 Error handling code was attempting to get the PyType of a pointer to a
4089 pointer. Use the correct amount of indirection so an exception is
4091 intended rather than a segfault.
4093 gi/pygi-info.c | 2 +-
4094 1 file changed, 1 insertion(+), 1 deletion(-)
4096 commit 07abf8343bbeac6f36d370ced654fa6506b22175
4097 Author: Simon Feltman <sfeltman@src.gnome.org>
4098 Date: Wed Jan 1 20:23:17 2014 -0800
4100 docs: Skip display of default constructor for disguised structs
4102 Structs which have zero length should now show a default constructor.
4103 Structs with a length should not show keyword arguments in the default
4106 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4108 gi/docstring.py | 9 ++++++++-
4109 tests/test_docstring.py | 18 ++++++++++++++++--
4110 2 files changed, 24 insertions(+), 3 deletions(-)
4112 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
4113 Author: Simon Feltman <sfeltman@src.gnome.org>
4114 Date: Wed Jan 1 19:57:06 2014 -0800
4116 Cleanup disguised struct constructor error and add it to boxed
4118 Give a cleaner error message when an attempt is made to create
4120 struct which also gives a hint to look at the pydoc. Add similar
4122 disguised boxed/unions.
4124 https://bugzilla.gnome.org/show_bug.cgi?id=647249
4126 gi/pygi-boxed.c | 17 ++++++++++++++---
4127 gi/pygi-struct.c | 2 +-
4128 tests/test_everything.py | 1 -
4129 tests/test_glib.py | 4 ++++
4130 4 files changed, 19 insertions(+), 5 deletions(-)
4132 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
4133 Author: Simon Feltman <sfeltman@src.gnome.org>
4134 Date: Wed Jan 1 19:54:59 2014 -0800
4136 docs: List default constructor in doc strings
4138 Add default constructor to class docs strings as:
4139 Object(**properties)
4141 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4143 gi/docstring.py | 10 ++++------
4144 1 file changed, 4 insertions(+), 6 deletions(-)
4146 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
4147 Author: Simon Feltman <sfeltman@src.gnome.org>
4148 Date: Wed Jan 1 17:34:32 2014 -0800
4150 docs: List constructors in object and struct doc strings
4152 Add type dispatching to gi.docstring documentation generator for
4154 of StructInfo and ObjectInfo. Add lazy doc string generation to
4155 Object and Struct meta classes by using a property for __doc__. This
4157 available constructors immediately in all GObject.Object and Struct
4163 Button(**properties)
4165 new_from_icon_name(icon_name:str, size:int)
4166 new_from_stock(stock_id:str)
4167 new_with_label(label:str)
4168 new_with_mnemonic(label:str)
4170 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4172 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
4173 gi/types.py | 9 +++++++++
4174 tests/test_docstring.py | 8 ++++++++
4175 3 files changed, 46 insertions(+), 7 deletions(-)
4177 commit 44612636575dd93c97210a7255c4490e2c84db67
4178 Author: Simon Feltman <sfeltman@src.gnome.org>
4179 Date: Wed Jan 1 17:10:15 2014 -0800
4181 docs: Cleanup PyGIBaseInfo repr
4183 Remove angle brackets and pointer address from
4184 PyGIBaseInfo.__repr__. This
4185 cleans up documentation and makes it easier to read.
4187 gi/pygi-info.c | 5 ++---
4188 1 file changed, 2 insertions(+), 3 deletions(-)
4190 commit 826c0e63eabac68fd665335950d311988a1405e3
4191 Author: Simon Feltman <sfeltman@src.gnome.org>
4192 Date: Tue Dec 31 21:45:21 2013 -0800
4194 docs: Add return values and skip implicit out arguments in functions
4196 Add gi.CallableInfo.skip_return static binding for testing if
4198 value should show up in docs. Skip implicit list index arguments
4202 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4204 gi/docstring.py | 26 +++++++++++++++++++++-----
4205 gi/pygi-info.c | 7 +++++++
4206 tests/test_docstring.py | 6 ++++++
4207 3 files changed, 34 insertions(+), 5 deletions(-)
4209 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
4210 Author: Simon Feltman <sfeltman@src.gnome.org>
4211 Date: Tue Dec 31 21:15:27 2013 -0800
4213 docs: Replace usage of functools.wraps with a custom version
4215 Using functools.wraps in overrides would cause docstring evaluation
4217 can hurt performance during overrides loading. Add custom wraps
4219 which only copies __name__ and __module__ attributes. Remove function
4220 wrapping used within gi.overrides.overridefunc because the wrapping
4222 doing anything, this preserves __doc__ ability without causing an
4226 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4228 gi/overrides/GObject.py | 3 +--
4229 gi/overrides/__init__.py | 21 ++++++++++++---------
4230 2 files changed, 13 insertions(+), 11 deletions(-)
4232 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
4233 Author: Simon Feltman <sfeltman@src.gnome.org>
4234 Date: Tue Dec 31 19:42:02 2013 -0800
4236 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
4238 Move the C implementation of pytype hinting into pure Python. Now that
4239 doc strings are lazily evaluated we can simplify this tedious bit of C
4240 code with Python. This is precursory work for getting return
4242 function doc strings.
4244 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4246 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
4247 gi/pygi-info.c | 49 ----------------------------------------
4249 ------------------------------------------------
4250 gi/pygi-type.h | 2 --
4251 tests/test_docstring.py | 8 ++++---
4252 tests/test_repository.py | 1 -
4253 6 files changed, 52 insertions(+), 116 deletions(-)
4255 commit 28a178e385e32c56910f1c430b370a8872218081
4256 Author: Simon Feltman <sfeltman@src.gnome.org>
4257 Date: Tue Dec 31 17:50:36 2013 -0800
4259 docs: Skip implicit array length args when building function doc
4262 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4264 gi/docstring.py | 8 ++++++--
4265 tests/test_docstring.py | 4 ++++
4266 2 files changed, 10 insertions(+), 2 deletions(-)
4268 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
4269 Author: Simon Feltman <sfeltman@src.gnome.org>
4270 Date: Tue Dec 31 13:41:20 2013 -0800
4272 gtk-demo: Avoid crash in CSS demos
4274 Avoid a potential crash in the CSS demos where the text editing
4276 out of sync with the last good CSS parsing buffer. In the case of CSS
4277 warnings, we get a parsing-error callback but no exception is raised.
4278 This would cause the buffers to become out of sync and accessing
4280 information from the parsing-error section would crash the text
4282 to an out of range iterator being created.
4284 demos/gtk-demo/demos/Css/css_basics.py | 31
4285 +++++++++++++++++++++--------
4286 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
4287 +++++++++++++++++++++--------
4288 2 files changed, 46 insertions(+), 16 deletions(-)
4290 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
4291 Author: Simon Feltman <sfeltman@src.gnome.org>
4292 Date: Tue Dec 31 02:05:46 2013 -0800
4294 gtk-demo: Add info bar and better error handling to CSS demos
4296 Use an info bar for displaying CSS parsing errors. Store the last good
4297 stylesheet text for use as a backup when a parsing error occures. This
4299 a seamless look while typing changes into the text editor.
4301 https://bugzilla.gnome.org/show_bug.cgi?id=719722
4303 demos/gtk-demo/demos/Css/css_basics.py | 28
4304 +++++++++++++++++++++-------
4305 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
4306 ++++++++++++++++++++++-------
4307 2 files changed, 43 insertions(+), 14 deletions(-)
4309 commit becb56734e13df182fd31cfe46c465477dfc4d2c
4310 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
4311 Date: Mon Dec 30 16:36:28 2013 +0100
4313 gtk-demo: Add CSS demos
4315 Add a couple of demos demostrating the use of CSS, the css files are
4316 stored into a GResource binary file compiled with
4317 glib-compile-resources,
4318 the comments in gtk-demo.py explain the usage of GResource.
4320 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
4322 https://bugzilla.gnome.org/show_bug.cgi?id=719722
4325 demos/gtk-demo/demos/Css/__init__.py | 0
4326 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
4327 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
4328 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
4329 ++++++++++++++++++++++++++
4330 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
4331 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
4332 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
4333 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
4334 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
4335 ++++++++++++++++++++++
4336 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
4337 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
4338 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
4339 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
4340 demos/gtk-demo/gtk-demo.py | 16 ++-
4341 15 files changed, 723 insertions(+), 1 deletion(-)
4343 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
4344 Author: Colin Watson <cjwatson@ubuntu.com>
4345 Date: Tue Dec 24 22:19:02 2013 +0000
4347 build: Avoid clash between gi/types.py and stdlib
4349 Use non-recursive make for the Python modules in gi/ to work around a
4350 clash between gi/types.py and the standard library's types module when
4353 https://bugzilla.gnome.org/show_bug.cgi?id=721025
4355 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
4357 Makefile.am | 24 ++++++++++++++++++++++++
4358 gi/Makefile.am | 20 ++------------------
4359 2 files changed, 26 insertions(+), 18 deletions(-)
4361 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
4362 Author: Simon Feltman <sfeltman@src.gnome.org>
4363 Date: Mon Dec 16 04:17:28 2013 -0800
4365 configure.ac: post-release bump to 3.11.4
4368 1 file changed, 1 insertion(+), 1 deletion(-)
4370 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
4371 Author: Simon Feltman <sfeltman@src.gnome.org>
4372 Date: Mon Dec 16 04:10:54 2013 -0800
4377 1 file changed, 4 insertions(+)
4379 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
4380 Author: Simon Feltman <sfeltman@src.gnome.org>
4381 Date: Thu Dec 12 01:35:11 2013 -0800
4383 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
4385 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
4387 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
4388 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
4389 we can use the GIStructInfo API for boxed types because we also
4391 base classes on GType checks as seen in:
4392 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
4393 This fixes some of the issues noted in bug 581525.
4395 https://bugzilla.gnome.org/show_bug.cgi?id=581525
4397 gi/pygi-info.c | 13 +------------
4398 1 file changed, 1 insertion(+), 12 deletions(-)
4400 commit b3c85eec75c62c138c136531ebe49a33351941f0
4401 Author: Simon Feltman <sfeltman@src.gnome.org>
4402 Date: Sun Nov 17 20:12:50 2013 -0800
4404 configure.ac: post release version bump to 3.11.3
4407 1 file changed, 1 insertion(+), 1 deletion(-)
4409 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
4410 Author: Simon Feltman <sfeltman@src.gnome.org>
4411 Date: Sun Nov 17 20:04:49 2013 -0800
4416 1 file changed, 6 insertions(+)
4418 commit 6fc3d977f17397e514aed492055e93d03c410f60
4419 Author: Simon Feltman <sfeltman@src.gnome.org>
4420 Date: Tue Nov 12 23:04:50 2013 -0800
4422 gtk-demo: Fix pyflakes error after recent commit
4424 demos/gtk-demo/demos/pixbuf.py | 2 +-
4425 1 file changed, 1 insertion(+), 1 deletion(-)
4427 commit a309b3baf5ee99139cc2d1817339233e24391bc2
4428 Author: Simon Feltman <sfeltman@src.gnome.org>
4429 Date: Tue Nov 12 18:41:35 2013 -0800
4431 gkt-demo: Change main info/source notebook into a GtkStack
4433 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
4435 and Source tabs. Beyond giving a newer look and feel to the demo,
4437 provides an example for how to use a GtkStack.
4439 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
4440 1 file changed, 17 insertions(+), 6 deletions(-)
4442 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
4443 Author: Simon Feltman <sfeltman@src.gnome.org>
4444 Date: Tue Nov 12 19:32:18 2013 -0800
4446 gtk-demo: Cleanup deprecated calls throughout demo code
4448 Specify constructor arguments as keyword args for various object
4449 creation calls. Update combobox demo to use bind_property instead
4451 signal connections with update callbacks.
4453 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
4454 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
4455 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
4456 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
4457 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
4458 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
4459 demos/gtk-demo/demos/appwindow.py | 4 +--
4460 demos/gtk-demo/demos/combobox.py | 30
4461 +++-------------------
4462 demos/gtk-demo/demos/dialogs.py | 26
4464 demos/gtk-demo/demos/expander.py | 9 +++----
4465 demos/gtk-demo/demos/images.py | 2 +-
4466 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
4467 demos/gtk-demo/demos/links.py | 10 ++++----
4468 demos/gtk-demo/demos/menus.py | 4 +--
4469 demos/gtk-demo/demos/pickers.py | 8 +++---
4470 demos/gtk-demo/demos/pixbuf.py | 4 +--
4471 demos/gtk-demo/demos/rotatedtext.py | 2 +-
4472 17 files changed, 64 insertions(+), 90 deletions(-)
4474 commit 890fb7b97823985d5c800284ead43a49174db244
4475 Author: Simon Feltman <sfeltman@src.gnome.org>
4476 Date: Tue Nov 12 18:19:34 2013 -0800
4478 Revert TreeStore and ListStore initializer replacements
4480 Revert changes to Tree/ListStore where the __init__ overrides were
4482 with __new__ overrides which accept column types directly. The
4484 the change is sub-classes of these types can override __init__
4486 passing in their own column types to the super class. These
4488 expect the super class to handle column type setup via __init__
4490 the change described is an API break. This reverts parts of commit:
4491 2f2069c9efcd8f312ce9ffa572df371fbc08822d
4493 gi/overrides/Gtk.py | 10 ++++++----
4494 1 file changed, 6 insertions(+), 4 deletions(-)
4496 commit 795201873a3aae530598f5e16470b6a8d2d55c23
4497 Author: Simon Feltman <sfeltman@src.gnome.org>
4498 Date: Thu Aug 15 20:01:48 2013 -0700
4500 Deprecate Gdk.Cursor constructor dispatching
4502 Give deprecation warning for the overridden __new__ method on
4503 Gdk.Cursor when more than one argument is used. Recommend using
4504 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
4507 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4509 gi/overrides/Gdk.py | 48
4510 ++++++++++++++++++++++++++-------------------
4511 tests/test_overrides_gdk.py | 17 ++++++++++++----
4512 2 files changed, 41 insertions(+), 24 deletions(-)
4514 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
4515 Author: Simon Feltman <sfeltman@src.gnome.org>
4516 Date: Thu Aug 15 19:23:18 2013 -0700
4518 Cleanup overzealous new and init implementations
4520 Remove PyGObject initializer code attempting to set properties on
4521 GObjects that have already been created. There were a number of
4522 overridden __new__ and __init__ methods that stripped away
4523 arguments before calling the base class to work around attempted
4524 property sets and argument count errors (fixing the symptom not
4526 Use Gtk.ListStore/TreeStore.new with __new__ override instead
4527 of __init__ with set_column_types.
4529 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4531 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
4532 gi/_gobject/pygobject.c | 16 ++++++++++++++--
4533 gi/overrides/GObject.py | 3 ---
4534 gi/overrides/Gdk.py | 15 ---------------
4535 gi/overrides/Gtk.py | 11 ++++-------
4536 gi/overrides/Pango.py | 5 -----
4537 gi/pygi-boxed.c | 6 ------
4538 7 files changed, 32 insertions(+), 59 deletions(-)
4540 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
4541 Author: Simon Feltman <sfeltman@src.gnome.org>
4542 Date: Tue Aug 13 18:02:54 2013 -0700
4544 Add deprecation warnings and cleanup class initializer overrides
4546 Print deprecation warnings for calls to class initializers which
4547 don't explicitly specify keywords. Print deprecation warning
4548 for overrides that have renamed keywords (Gtk.Table.rows should
4549 be n_rows). Additionally deprecate non-standard defaults with
4550 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
4551 and VERTICAL in PyGI).
4552 Remove AboutDialog override because it doesn't do anything.
4554 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4556 gi/overrides/Gio.py | 6 +-
4557 gi/overrides/Gtk.py | 367
4558 ++++++++++++++++++++++----------------------
4559 gi/overrides/__init__.py | 88 +++++++++++
4560 tests/test_gi.py | 75 +++++++++
4561 tests/test_overrides_gtk.py | 95 ++++++++----
4562 5 files changed, 411 insertions(+), 220 deletions(-)
4564 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
4565 Author: Simon Feltman <sfeltman@src.gnome.org>
4566 Date: Tue Aug 13 17:42:11 2013 -0700
4568 tests: Use explicit keywords args when calling initializers
4570 Replace all usage of GObject creation that relies on positional
4571 arguments from overrides. Positional initializer args will be
4572 deprecated, updating the tests as a first pass proves backwards
4573 and forwards compatibility of the deprecation.
4575 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4577 tests/test_overrides_gtk.py | 107
4578 +++++++++++++++++++++++---------------------
4579 1 file changed, 55 insertions(+), 52 deletions(-)
4581 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
4582 Author: Simon Feltman <sfeltman@src.gnome.org>
4583 Date: Tue Nov 12 03:46:08 2013 -0800
4585 Revert "Add type checking to positional Gtk.Box and Gtk.Window
4588 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
4590 gi/overrides/Gtk.py | 7 -------
4591 tests/test_overrides_gtk.py | 18 ------------------
4592 tests/test_properties.py | 9 ---------
4593 3 files changed, 34 deletions(-)
4595 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
4596 Author: Simon Feltman <sfeltman@src.gnome.org>
4597 Date: Sun Nov 10 03:26:10 2013 -0800
4599 Fix dir method for static GParamSpec in Python 3
4601 Add a __dir__ method which lists GParamSpec attributes and remove
4603 getattr which made use of the deprecated __members__ technique for dir
4604 (removed in Python 3). This makes dir(pspec) work again in Python 3.
4606 gi/_gobject/pygparamspec.c | 218
4607 ++++++++++++++++++++++++---------------------
4608 tests/test_gi.py | 10 +++
4609 2 files changed, 126 insertions(+), 102 deletions(-)
4611 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
4612 Author: Martin Pitt <martinpitt@gnome.org>
4613 Date: Tue Nov 5 15:28:12 2013 +0100
4615 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
4617 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
4619 when trying to create a subclass of them through the GObject
4621 positional arguments by at least verifying that their type is
4623 you can do things like
4625 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
4627 which succeeds, but does not have the desired effect (it sets the
4629 property of the Gtk.Box superclass instead).
4631 https://bugzilla.gnome.org/show_bug.cgi?id=711487
4633 gi/overrides/Gtk.py | 7 +++++++
4634 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
4635 tests/test_properties.py | 9 +++++++++
4636 3 files changed, 34 insertions(+)
4638 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
4639 Author: Simon Feltman <sfeltman@src.gnome.org>
4640 Date: Mon Nov 4 03:29:57 2013 -0800
4642 Remove overzealous argument checking for callback userdata
4644 Remove check which ensures userdata is None if the callback is None.
4645 This check would need to become more complicated with recent
4647 PyGObject where userdata can be variable (would also need to check
4649 a tuple containing None). Instead of adding more complex checking,
4651 remove the checking as it is unnecessary to begin with.
4653 https://bugzilla.gnome.org/show_bug.cgi?id=711173
4655 gi/pygi-marshal-from-py.c | 7 -------
4656 tests/test_overrides_gtk.py | 11 +++++++----
4657 2 files changed, 7 insertions(+), 11 deletions(-)
4659 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
4660 Author: Martin Pitt <martinpitt@gnome.org>
4661 Date: Mon Oct 28 16:00:57 2013 +0100
4663 configure.ac: post-release bump to 3.11.2
4666 1 file changed, 1 insertion(+), 1 deletion(-)
4668 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
4669 Author: Martin Pitt <martinpitt@gnome.org>
4670 Date: Mon Oct 28 15:59:51 2013 +0100
4674 NEWS | 27 +++++++++++++++++++++++++++
4675 1 file changed, 27 insertions(+)
4677 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
4678 Author: Simon Feltman <sfeltman@src.gnome.org>
4679 Date: Sun Oct 27 22:09:27 2013 -0700
4681 Fix toggleref safety problems by always enabling the GIL
4683 Call PyEval_InitThreads for the base gi module import. This forces the
4684 Python internals create the GIL and always support threading with the
4685 various thread state enter/exit funcs. This is needed since we cannot
4686 predict which GI repositories might accept Python callbacks and run
4688 non-Python threads or trigger toggle ref notifications in a thread
4692 https://bugzilla.gnome.org/show_bug.cgi?id=709223
4694 gi/__init__.py | 2 --
4695 gi/gimodule.c | 18 +++++++-----------
4696 gi/overrides/GLib.py | 8 ++------
4697 3 files changed, 9 insertions(+), 19 deletions(-)
4699 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
4700 Author: Simon Feltman <sfeltman@src.gnome.org>
4701 Date: Sun Oct 27 16:02:13 2013 -0700
4703 Add consistent GLib.MainLoop SIGINT cleanup
4705 Remove auto cleanup of SIGINT source handling by returning True
4707 signal callback. This gives the __del__ method consistent cleanup
4709 regardless of whether or not a SIGINT occurred.
4711 https://bugzilla.gnome.org/show_bug.cgi?id=710978
4713 gi/overrides/GLib.py | 4 ++++
4714 1 file changed, 4 insertions(+)
4716 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
4717 Author: Simon Feltman <sfeltman@src.gnome.org>
4718 Date: Sun Oct 27 15:16:09 2013 -0700
4720 tests: Fix source testing to handle critical with non-existing sources
4722 Silence new critical coming from g_source_remove on non-existing
4724 This function still returns False, but we need to silence the new
4726 so the test suite doesn't fail. See bug 710724.
4728 https://bugzilla.gnome.org/show_bug.cgi?id=710978
4730 tests/test_source.py | 18 ++++++++++++------
4731 1 file changed, 12 insertions(+), 6 deletions(-)
4733 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
4734 Author: Simon Feltman <sfeltman@src.gnome.org>
4735 Date: Sun Jul 28 00:01:35 2013 -0700
4737 docs: Add a keyword value of None for allow-none annotations
4739 Update documentation generator for allow-none arguments and
4740 user_data arguments to show a keyword value of None.
4741 Add skip for GDestroyNotify closure arguments.
4743 https://bugzilla.gnome.org/show_bug.cgi?id=640812
4745 gi/docstring.py | 20 +++++++++++++++++---
4746 tests/test_docstring.py | 10 ++++++++++
4747 2 files changed, 27 insertions(+), 3 deletions(-)
4749 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
4750 Author: Simon Feltman <sfeltman@src.gnome.org>
4751 Date: Sat Oct 19 19:03:12 2013 -0700
4753 Remove overrides for supporting pre-3.10 GObject signal functions
4755 Remove GObject override code for supporting pre-3.10 signal functions
4757 annotate the object argument as "gpointer". With PyGObject 3.11
4759 dependency on GObject 3.10, clear the special case overrides out.
4761 gi/overrides/GObject.py | 76
4762 ++++++-------------------------------------------
4763 1 file changed, 9 insertions(+), 67 deletions(-)
4765 commit 0c308de528c402f67808b13760ca30d55d4c99d7
4766 Author: Simon Feltman <sfeltman@src.gnome.org>
4767 Date: Fri Oct 18 17:15:06 2013 -0700
4769 Add threads_init back as a requirement for non-Python threaded repos
4771 Re-add a "threads_init" function to gi for explicit intialization
4773 threading support. This was marked as deprecated in the previous cycle
4774 because using Python threads already initializes everything.
4775 However, we still need an explicit initalization when using
4777 with non-Python threads which may interact with Python callbacks
4780 https://bugzilla.gnome.org/show_bug.cgi?id=710447
4782 gi/__init__.py | 2 ++
4783 gi/gimodule.c | 10 ++++++++++
4784 gi/overrides/GLib.py | 11 +++++++----
4785 3 files changed, 19 insertions(+), 4 deletions(-)
4787 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
4788 Author: Simon Feltman <sfeltman@src.gnome.org>
4789 Date: Mon Oct 14 20:38:13 2013 -0700
4791 Add dir method to GObject props accessor
4793 Remove special case __members__ attribute from the props accessor
4794 objects getattr method. This has been deprecated since Python 2.3 and
4795 removed in Python 3. Replace this with a __dir__ method making use
4797 old members list building code. Additionally fix error where the
4798 GObjectClass was being unref'd too many times when using
4800 causing a GLib critical.
4802 https://bugzilla.gnome.org/show_bug.cgi?id=705754
4804 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
4805 tests/test_gi.py | 14 ++++++++++++++
4806 2 files changed, 35 insertions(+), 8 deletions(-)
4808 commit 799989ada2f6b1d729f078f204445651c808a2c7
4809 Author: Simon Feltman <sfeltman@src.gnome.org>
4810 Date: Fri May 3 04:37:13 2013 -0700
4812 Remove PyGObjectWeakRef now that g_binding_unbind exists
4814 Remove the static code for managing GBinding weak references now
4816 has a method (unbind) for clearing out bindings.
4818 https://bugzilla.gnome.org/show_bug.cgi?id=699571
4820 gi/_gobject/pygobject.c | 59
4821 +------------------------------------------------
4822 gi/overrides/GObject.py | 19 ++++++++++++++++
4823 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
4824 3 files changed, 44 insertions(+), 75 deletions(-)
4826 commit fe217e0afbd63f05285e59628533f351896377d9
4827 Author: Simon Feltman <sfeltman@src.gnome.org>
4828 Date: Wed Oct 9 00:34:37 2013 -0700
4830 Fix GArray, GList, GSList, and GHashTable marshaling leaks
4832 Remove calling of cleanup code for transfer-everything modes by
4834 cleanup_data is set to NULL in from_py marshalers. Use array and hash
4835 table ref/unref functions for container transfer mode to ensure we
4837 valid container ref after invoke and during from_py cleanup of
4839 Rework restrictions with to_py marshaling cleanup so we always
4841 container for transfer-everything and transfer-container modes.
4843 https://bugzilla.gnome.org/show_bug.cgi?id=693402
4845 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
4846 gi/pygi-marshal-from-py.c | 77
4847 ++++++++++++++++++++++++++++++++++++++++-------
4848 2 files changed, 84 insertions(+), 47 deletions(-)
4850 commit 7407367f424595c2780a2d6a47d936ad0bd91735
4851 Author: Simon Feltman <sfeltman@src.gnome.org>
4852 Date: Mon Oct 7 14:11:39 2013 -0700
4854 Add cleanup_data argument used for Python to C marshaler cleanup
4856 Add a new output argument to all from_py marshalers which is used for
4857 keeping track of marshaling data that later needs cleanup. Previously
4859 marshalers would rely on the GIArgument->v_pointer as the means
4861 cleanup. However, this pointer would get clobbered in the case of
4862 bi-directional arguments (inout) and the memory lost.
4863 Use the new cleanup_data for storing temporarily wrapped C arrays
4865 don't need to re-calculate the length argument during cleanup.
4867 Additionally delay the from_py marshaling cleanup function until after
4868 _invoke_marshal_out_args is called. This gives inout arguments
4870 modify the pointer sufficient time to exist until they marshaled
4872 Python (gi_marshalling_tests_gvalue_inout).
4874 https://bugzilla.gnome.org/show_bug.cgi?id=693402
4876 gi/pygi-argument.c | 4 +-
4877 gi/pygi-cache.h | 3 +-
4878 gi/pygi-invoke-state-struct.h | 7 +-
4879 gi/pygi-invoke.c | 20 +++---
4880 gi/pygi-marshal-cleanup.c | 43 +++++-------
4881 gi/pygi-marshal-from-py.c | 160
4882 ++++++++++++++++++++++++++++--------------
4883 gi/pygi-marshal-from-py.h | 45 ++++++++----
4884 7 files changed, 177 insertions(+), 105 deletions(-)
4886 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
4887 Author: Simon Feltman <sfeltman@src.gnome.org>
4888 Date: Wed Aug 7 12:08:15 2013 -0700
4890 Add support for variable user data arguments
4892 Support a variable number of user data arguments for all callback
4893 connection function where the user data is the last explicit argument.
4894 This adds convience as well as consistency with the rest of PyGObject.
4895 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
4896 io_add_watch, and child_watch_add which manually implemented this
4899 https://bugzilla.gnome.org/show_bug.cgi?id=640812
4901 gi/overrides/GLib.py | 75
4902 +++++++++++++++--------------------------------
4903 gi/pygi-cache.c | 14 +++++++++
4904 gi/pygi-cache.h | 3 ++
4905 gi/pygi-closure.c | 37 +++++++++++++++--------
4906 gi/pygi-invoke.c | 71
4907 +++++++++++++++++++++++++++++++-------------
4908 gi/pygi-marshal-from-py.c | 5 ++++
4909 tests/test_everything.py | 32 ++++++++++++++++++++
4910 tests/test_glib.py | 21 +++++++++++++
4911 tests/test_subprocess.py | 8 ++---
4912 9 files changed, 177 insertions(+), 89 deletions(-)
4914 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
4915 Author: Martin Pitt <martinpitt@gnome.org>
4916 Date: Mon Oct 14 12:57:04 2013 +0200
4918 Bump glib and g-i dependencies to latest stable.
4920 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
4924 Drop @unittest.skipUnless tags from tests which didn't work with
4928 configure.ac | 6 +++---
4929 tests/test_gi.py | 2 --
4930 3 files changed, 5 insertions(+), 6 deletions(-)
4932 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
4933 Author: Nuno Araujo <nuno.araujo@russo79.com>
4934 Date: Fri Oct 11 18:41:48 2013 +0200
4936 Fix TypeError when setting drag target_list to None
4938 When calling Widget.drag_dest_set_target_list(None) or
4939 Widget.drag_source_set_target_list(None)
4940 a "TypeError: 'NoneType' object is not iterable" is thrown.
4942 According to Gtk documentation [1] [2], this shouldn't be the case
4943 since client code should be
4944 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
4945 gtk_drag_source_set_target_list.
4947 We now check if the target_list is None and do not try to create a
4948 TargetList if it is the case.
4951 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
4953 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
4955 https://bugzilla.gnome.org/show_bug.cgi?id=709926
4957 gi/overrides/Gtk.py | 4 ++--
4958 tests/test_overrides_gtk.py | 2 ++
4959 2 files changed, 4 insertions(+), 2 deletions(-)
4961 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
4962 Author: Simon Feltman <sfeltman@src.gnome.org>
4963 Date: Tue Oct 1 17:09:39 2013 -0700
4965 Use qdata for wrapper retrieval in toggle reference notifications
4967 Replace usage of user data holding PyGObject wrappers in toggle ref
4968 notifications with GObject qdata retrieval. This fixes thread
4970 where a toggle notify may be called from another thread during
4972 wrappers dealloc. In this case the toggle notify is blocked because
4974 is held in dealloc, and when it continues, the user data would be
4976 invalid PyGObject wrapper. Using qdata solves this by ensuring
4978 retrieval is done within the safety of the GIL and may turn up
4981 https://bugzilla.gnome.org/show_bug.cgi?id=709223
4983 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
4984 1 file changed, 14 insertions(+), 7 deletions(-)
4986 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
4987 Author: Simon Feltman <sfeltman@src.gnome.org>
4988 Date: Thu Oct 10 16:10:16 2013 -0700
4990 Add expected failure to deal with fixes in gimarshallingtests.c
4992 Fix test_object_full_inout based on newer gimarshallingtests.c >
4994 Add expectedFailure to deal with previous versions of
4995 gimarshallingtests.c.
4997 https://bugzilla.gnome.org/show_bug.cgi?id=709796
4999 tests/test_gi.py | 6 +++++-
5000 1 file changed, 5 insertions(+), 1 deletion(-)
5002 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
5003 Author: Simon Feltman <sfeltman@src.gnome.org>
5004 Date: Mon Oct 7 01:17:08 2013 -0700
5006 Fix memory leaks for inout array arguments
5008 Add tracking for array allocations to from_py marashalers in the
5009 argument states extra data (arg_data). This is then used later
5011 marshaling cleanup to call the array cleanup function.
5013 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5015 gi/pygi-invoke.c | 1 +
5016 gi/pygi-marshal-cleanup.c | 1 +
5017 gi/pygi-marshal-from-py.c | 13 +++++++++----
5018 3 files changed, 11 insertions(+), 4 deletions(-)
5020 commit 31263ac117027446c8e2fd1b56d7e348384aabef
5021 Author: Simon Feltman <sfeltman@src.gnome.org>
5022 Date: Sun Oct 6 21:54:15 2013 -0700
5024 Fix to Python marshaling leaks for arrays holding GVariants
5026 Add early check for array items holding pointers and simply assign the
5027 pointer to GIArgument.v_pointer prior giving it to the per-item
5029 This simplifies marshaling and fixes leaks regarding arrays of
5031 removing the unneeded g_variant_ref_sink (variants are always
5033 Conditionalize the use of g_variant_ref_sink based on transfer mode
5035 per-item marshaler. This fixes a reference leak where we are given
5037 of the variant (transfer full) but added a new ref anyway.
5039 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5041 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
5042 1 file changed, 18 insertions(+), 16 deletions(-)
5044 commit c9580ce1156789221aa19b00c7aab404db5431b5
5045 Author: Simon Feltman <sfeltman@src.gnome.org>
5046 Date: Sun Oct 6 04:26:18 2013 -0700
5048 Cleanup per-item array marshaling code for flat arrays
5050 Add an early per-item check which tests if the item being marshaled
5052 pointer and simply copies the pointer into the array. This takes
5054 GdkAtom and GVariant special cases because these items are always
5057 Fix error condition cleanup code when an item fails marshaling in
5061 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5063 gi/pygi-marshal-from-py.c | 87
5064 +++++++++++++++++++++--------------------------
5065 tests/test_gi.py | 32 +++++++++++++++++
5066 2 files changed, 71 insertions(+), 48 deletions(-)
5068 commit 4623caa71c54958ab821db27a9eff2790acb3975
5069 Author: Simon Feltman <sfeltman@src.gnome.org>
5070 Date: Sat Oct 5 17:00:54 2013 -0700
5072 Fix GValue array marshaling leaks and crash fallout
5074 * Decrement references for results of PySequence_GetItem. There were
5076 places we were not decrementing the Python reference, leaking
5078 * Add tracking of Python arguments with recursive marshaling
5080 allows arrays of GValues which have been coerced from Python types
5082 properly free'd (also fixes bug 703662).
5083 * Use g_variant_ref for variant arguments marked as transfer
5085 This fixes double free's caused by the decrementing of
5089 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5091 gi/pygi-cache.h | 1 +
5092 gi/pygi-invoke.c | 1 +
5093 gi/pygi-marshal-cleanup.c | 50
5094 +++++++++++++++++++++++++++++++++++++++++------
5095 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
5096 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
5097 gi/pygi-marshal-to-py.c | 1 +
5098 6 files changed, 78 insertions(+), 9 deletions(-)
5100 commit 549f849ef8854352483657df3d7558688a4b0007
5101 Author: Simon Feltman <sfeltman@src.gnome.org>
5102 Date: Sat Sep 28 00:26:28 2013 -0700
5104 Refactor GLib.io_add_watch to make it more testable
5106 Break the argument munging code into a separate function which
5107 can be tested in isolation of adding an io watch.
5108 Add additional failing test which specifies all args as keywords
5109 which we eventually need to support for consistency with the
5112 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5114 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
5115 1 file changed, 18 insertions(+), 5 deletions(-)
5117 commit bc780ed17bc4cc62959c63c3f0142161a924679f
5118 Author: Simon Feltman <sfeltman@src.gnome.org>
5119 Date: Fri Sep 27 20:59:45 2013 -0700
5121 Refactor GLib.child_watch_add to make it more testable
5123 Break the argument munging code into a separate function which
5124 can be tested in isolation of adding a child watch. Update tests
5125 to reflect this. Add additional failing test which specify
5126 all args as keywords which we eventually need to support for
5127 consistency with the rest of PyGObject.
5129 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5131 gi/overrides/GLib.py | 25 +++++++++-----
5132 tests/test_subprocess.py | 88
5133 +++++++++++++++++++++---------------------------
5134 2 files changed, 56 insertions(+), 57 deletions(-)
5136 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
5137 Author: Simon Feltman <sfeltman@src.gnome.org>
5138 Date: Thu Sep 26 19:05:20 2013 -0700
5140 Don't pass None to callbacks when user data is not specified
5142 For APIs which support a callback and optional user data,
5143 don't pass the user data to the callback if it was not explicitly
5144 specified when the callback was connected.
5146 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5148 gi/pygi-closure.c | 17 ++++++++++++++---
5149 gi/pygi-marshal-from-py.c | 5 -----
5150 tests/test_everything.py | 7 ++-----
5151 3 files changed, 16 insertions(+), 13 deletions(-)
5153 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
5154 Author: Simon Feltman <sfeltman@src.gnome.org>
5155 Date: Fri Oct 4 17:27:47 2013 -0700
5157 Add missing methods on PyGIBaseInfo and sub-classes
5159 Expose all methods of GIBaseBase info and its sub-classes.
5161 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5163 gi/_glib/pyglib-python-compat.h | 1 +
5164 gi/pygi-info.c | 550
5165 +++++++++++++++++++++++++++++++++++++++-
5166 tests/test_repository.py | 134 ++++++++++
5167 3 files changed, 677 insertions(+), 8 deletions(-)
5169 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
5170 Author: Simon Feltman <sfeltman@src.gnome.org>
5171 Date: Fri Oct 4 13:46:36 2013 -0700
5173 Expose all GI enum and flags types
5175 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
5176 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
5178 GInfoType. These types are found in the gi._gi module exposed
5180 "GI" prefix and contain all of their values as class attributes. e.g.
5181 gi._gi.Transfer.EVERYTHING.
5183 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5185 gi/docstring.py | 10 ++--
5186 gi/pygi-info.c | 150
5187 ++++++++++++++++++++++++++++++++++++++++++++---
5188 tests/test_repository.py | 13 +++-
5189 3 files changed, 158 insertions(+), 15 deletions(-)
5191 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
5192 Author: Simon Feltman <sfeltman@src.gnome.org>
5193 Date: Fri Oct 4 13:42:34 2013 -0700
5195 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
5197 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
5199 cause a crash. Avoid this by adding _safe_base_info_get_name and
5201 throughout the bindings.
5202 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
5204 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5206 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
5207 1 file changed, 25 insertions(+), 10 deletions(-)
5209 commit c86b2fe8d01070f06c45fffd910d890afba1313a
5210 Author: Simon Feltman <sfeltman@src.gnome.org>
5211 Date: Fri Oct 4 13:41:08 2013 -0700
5213 Add GIBaseInfo.equal method
5215 Break PyGIBaseInfo rich compare into two methods: equal and
5217 Equal is a direct exposure of the GI method and richcompare makes
5219 this with additional support for Pyton "==" and "!=" operators.
5221 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5223 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
5224 tests/test_repository.py | 1 +
5225 2 files changed, 25 insertions(+), 8 deletions(-)
5227 commit e7b758badd0ab0b147117859f7871c39fb5399c1
5228 Author: Simon Feltman <sfeltman@src.gnome.org>
5229 Date: Fri Oct 4 13:36:11 2013 -0700
5231 Move info string retrieval into generic function
5233 Add get_info_string for sharing binding of simple string retrieval on
5236 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5238 gi/pygi-info.c | 15 +++++++++++++--
5239 1 file changed, 13 insertions(+), 2 deletions(-)
5241 commit d2aef364de778da966bc1cfffe184d649f9ebb21
5242 Author: Simon Feltman <sfeltman@src.gnome.org>
5243 Date: Tue Sep 24 06:26:17 2013 -0700
5245 Move child info retrieval into generic function
5247 Add a generic function for bindings which return a single child info.
5248 This trivializes binding methods like PyGIObjectInfo.get_parent and
5249 fixes leaks in PyGIObjectInfo.get_class_struct and
5250 PyGIVFuncInfo.get_invoker.
5252 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5255 +++++++++++++++++++++++---------------------------------
5256 1 file changed, 23 insertions(+), 33 deletions(-)
5258 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
5259 Author: Simon Feltman <sfeltman@src.gnome.org>
5260 Date: Tue Sep 24 02:52:22 2013 -0700
5262 Move info tuple retrieval into generic function
5264 Create new generic function for retrieving a tuple of child infos.
5265 This greatly simplifies all the bindings which return tuples from
5266 a common pattern of functions on GIBaseInfo based instances.
5268 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5270 gi/pygi-info.c | 469
5271 ++++++++-------------------------------------------------
5272 1 file changed, 59 insertions(+), 410 deletions(-)
5274 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
5275 Author: Simon Feltman <sfeltman@src.gnome.org>
5276 Date: Sun Oct 6 16:41:37 2013 -0700
5278 tests: Update check.valgrind with always-malloc and add logging
5281 Based on notes in https://wiki.gnome.org/Valgrind we need to use
5282 always-malloc for valgrind runs.
5283 Add check.valgrindlog and check.valgrindxml which output valgrind
5285 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
5287 can track commits and use diff tools on the logs.
5290 Makefile.am | 6 ++++++
5291 tests/Makefile.am | 10 +++++++++-
5292 3 files changed, 16 insertions(+), 1 deletion(-)
5294 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
5295 Author: Simon Feltman <sfeltman@src.gnome.org>
5296 Date: Fri Oct 4 20:43:02 2013 -0700
5298 Move existing repository tests into test_repository
5300 Move flags and enum double registration tests into test_repository.py.
5301 Remove duplicate ObjectInfo tests from test_gi.py.
5303 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5305 tests/test_gi.py | 38 --------------------------------------
5306 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
5307 2 files changed, 28 insertions(+), 38 deletions(-)
5309 commit 31840888c8948aab78041da93c329572f3aabb64
5310 Author: Simon Feltman <sfeltman@src.gnome.org>
5311 Date: Fri Oct 4 17:31:21 2013 -0700
5313 Add unittests for GIRepository
5315 Add basic unittests for the existing classes and methods exposed for
5316 the GIRepository module (gi._gi).
5318 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5320 tests/Makefile.am | 1 +
5321 tests/test_repository.py | 170
5322 +++++++++++++++++++++++++++++++++++++++++++++++
5323 2 files changed, 171 insertions(+)
5325 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
5326 Author: Simon Feltman <sfeltman@src.gnome.org>
5327 Date: Fri Oct 4 15:50:05 2013 -0700
5329 Derive SignalInfo info from CallableInfo
5331 Change Python class derivation of PyGISignalInfo to use
5333 the base class. This accurately reflects the GI class layout and
5335 the callable information for signals.
5337 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5339 gi/pygi-info.c | 7 ++++---
5340 1 file changed, 4 insertions(+), 3 deletions(-)
5342 commit b01daba04ff001b9e63d343938e879d339d9a98c
5343 Author: Simon Feltman <sfeltman@src.gnome.org>
5344 Date: Fri Oct 4 15:48:05 2013 -0700
5346 Use PYGLIB_PyLong_FromLong for GIDirection return
5348 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5350 gi/pygi-info.c | 2 +-
5351 1 file changed, 1 insertion(+), 1 deletion(-)
5353 commit d644cbd0c0ad85142286754838db848c4eb1707f
5354 Author: Simon Feltman <sfeltman@src.gnome.org>
5355 Date: Thu Oct 3 19:25:34 2013 -0700
5357 Fix memory leak for caller allocated GValue out arguments
5359 Swizzle the order of type checks in _cleanup_caller_allocates so
5360 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
5362 important because G_TYPE_VALUE is a sub-type of boxed and so its
5364 cleanup code was never being called (g_value_unset).
5365 Additionally update check to use g_type_is_a instead of a compare
5367 the potential case of a G_TYPE_VALUE sub-type.
5369 https://bugzilla.gnome.org/show_bug.cgi?id=709397
5371 gi/pygi-marshal-cleanup.c | 11 ++++++-----
5372 1 file changed, 6 insertions(+), 5 deletions(-)
5374 commit 510789d52e9e2fd863d26613f3282364eb175601
5375 Author: Simon Feltman <sfeltman@src.gnome.org>
5376 Date: Sun Jul 28 14:44:51 2013 -0700
5378 Add support for default arguments annotated with allow-none
5380 Support default value of NULL for tail end arguments which are
5381 marked with allow-none.
5382 The implementation uses a place holder object for un-supplied
5384 which are annotated with allow-none. This is then used later during
5385 marshaling to supply NULL as the default.
5386 Additionally support an implicit default for callback user_data
5387 using the same technique.
5389 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5391 gi/gimodule.c | 6 +++
5392 gi/pygi-cache.c | 103
5393 ++++++++++++++++++++++++++++++----------------
5394 gi/pygi-cache.h | 8 ++++
5395 gi/pygi-invoke.c | 42 +++++++++++++------
5396 gi/pygi-marshal-from-py.c | 5 +++
5398 tests/test_everything.py | 16 +++++++
5399 tests/test_gi.py | 30 ++++++++++++++
5400 8 files changed, 162 insertions(+), 49 deletions(-)
5402 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
5403 Author: Simon Feltman <sfeltman@src.gnome.org>
5404 Date: Fri Aug 2 22:27:10 2013 -0700
5406 cache refactoring: Move arg cache field assignments into
5409 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5411 gi/pygi-cache.c | 23 +++++++++++------------
5412 1 file changed, 11 insertions(+), 12 deletions(-)
5414 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
5415 Author: Simon Feltman <sfeltman@src.gnome.org>
5416 Date: Fri Aug 2 20:27:02 2013 -0700
5418 cache refactoring: Cleanup array length argument marshaling
5420 Add shared function: _arg_cache_array_len_arg_setup for use
5421 with both to and from array marshaling setup. This function
5422 consolidates all of the edge cases regarding array length setup
5423 and removes the need for flagging arguments with
5424 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
5426 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5428 gi/pygi-cache.c | 145
5429 +++++++++++++++++++++++++++-----------------------------
5430 gi/pygi-cache.h | 5 --
5431 2 files changed, 71 insertions(+), 79 deletions(-)
5433 commit c9d8639401ae82977e960de44d80b94a501a2184
5434 Author: Simon Feltman <sfeltman@src.gnome.org>
5435 Date: Sat Aug 3 00:26:11 2013 -0700
5437 cache refactoring: Move variable declarations to blocks where they
5440 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5442 gi/pygi-cache.c | 25 ++++++++++++++-----------
5443 1 file changed, 14 insertions(+), 11 deletions(-)
5445 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
5446 Author: Simon Feltman <sfeltman@src.gnome.org>
5447 Date: Thu Aug 1 19:33:27 2013 -0700
5449 cache refactoring: Remove continue statements from
5450 _args_cache_generate
5452 Remove continue and goto statements from the large loop within
5453 _args_cache_generate. This simplifies the sharing of parts of
5454 the loop for future refactoring.
5456 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5458 gi/pygi-cache.c | 126
5459 +++++++++++++++++++++++++++-----------------------------
5460 1 file changed, 61 insertions(+), 65 deletions(-)
5462 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
5463 Author: Simon Feltman <sfeltman@src.gnome.org>
5464 Date: Wed Jul 31 18:10:05 2013 -0700
5466 cache refactoring: Use bit field for PyGIDirection instead of enum
5468 This supports cleaner logic when testing the direction of
5469 arguments due to the majority of these tests being along the
5470 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
5471 Which is replaced with: (direction & FROM_PYTHON)
5473 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5475 gi/pygi-cache.c | 64
5476 ++++++++++++++++++++++++++++-----------------------------
5477 gi/pygi-cache.h | 6 +++---
5478 2 files changed, 35 insertions(+), 35 deletions(-)
5480 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
5481 Author: Simon Feltman <sfeltman@src.gnome.org>
5482 Date: Sun Jul 28 20:45:05 2013 -0700
5484 cache refactoring: Remove special case marshaling for instance
5487 Remove duplicate code for marshaling struct and objects for
5488 instance arguments. Re-use individual cache marshalers for
5489 structs and objects with the instance argument. This required
5490 removal of passing GITypeInfo to the marshaler because it is
5491 not available for instance arguments. Instead always assume
5492 "is_pointer" for the instance argument by using the cache.
5494 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5496 gi/pygi-argument.c | 4 +--
5497 gi/pygi-cache.c | 16 ++++-----
5498 gi/pygi-marshal-from-py.c | 87
5499 +++--------------------------------------------
5500 gi/pygi-marshal-from-py.h | 16 ++-------
5501 4 files changed, 16 insertions(+), 107 deletions(-)
5503 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
5504 Author: Simon Feltman <sfeltman@src.gnome.org>
5505 Date: Sun Jul 28 16:44:01 2013 -0700
5507 cache refactoring: Use GPtrArray for callable arg cache
5509 Replace manual management of the C array holding individual
5510 argument caches with usage of GPtrArray. This provides storage
5511 of the array length along with item memory management.
5513 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5515 gi/pygi-cache.c | 62
5516 +++++++++++++++++++++++------------------------
5517 gi/pygi-cache.h | 16 +++++++++---
5518 gi/pygi-invoke.c | 16 ++++++------
5519 gi/pygi-marshal-cleanup.c | 8 +++---
5520 gi/pygi-marshal-from-py.c | 6 ++---
5521 gi/pygi-marshal-to-py.c | 6 ++---
5522 6 files changed, 62 insertions(+), 52 deletions(-)
5524 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
5525 Author: Simon Feltman <sfeltman@src.gnome.org>
5526 Date: Sun Jul 28 15:02:51 2013 -0700
5528 cache refactoring: Move PyGI direction code into new function
5530 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5532 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
5533 1 file changed, 21 insertions(+), 21 deletions(-)
5535 commit 83208bf495b152e93a28a231d445f43ea827d2eb
5536 Author: Simon Feltman <sfeltman@src.gnome.org>
5537 Date: Fri Aug 2 15:59:25 2013 -0700
5539 cache refactoring: Add comments to callable cache structure
5541 Add comments to count fields on _PyGICallableCache.
5543 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5545 gi/pygi-cache.h | 13 ++++++++++++-
5546 1 file changed, 12 insertions(+), 1 deletion(-)
5548 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
5549 Author: Simon Feltman <sfeltman@src.gnome.org>
5550 Date: Wed Jul 24 01:14:29 2013 -0700
5552 Remove support for allowing PyObjects as void pointers
5554 Final removal of marshaling Python object addresses as
5555 void pointers. This ensures we can successfully pass
5556 integer values as the pointer without the Python object
5557 leaking or crashing due to invalid memory.
5559 https://bugzilla.gnome.org/show_bug.cgi?id=688081
5561 gi/pygi-marshal-from-py.c | 20 ++++++--------------
5562 gi/pygi-marshal-to-py.c | 14 ++------------
5563 tests/test_signal.py | 5 +----
5564 3 files changed, 9 insertions(+), 30 deletions(-)
5566 commit 1469403ee2faa699430055384b338f0cd8e672d7
5567 Author: Simon Feltman <sfeltman@src.gnome.org>
5568 Date: Wed Sep 25 18:21:22 2013 -0700
5570 configure.ac: bump trunk to 3.11.1
5573 1 file changed, 1 insertion(+), 1 deletion(-)
5575 commit 8e774e61d62c82efa3d907c1201359121878b4b5
5576 Author: Simon Feltman <sfeltman@src.gnome.org>
5577 Date: Mon Sep 23 03:57:03 2013 -0700
5579 configure.ac: post-release bump to 3.10.1
5582 1 file changed, 1 insertion(+), 1 deletion(-)
5584 commit 95af6279a9affff5c816db2db53207ff0f19872d
5585 Author: Simon Feltman <sfeltman@src.gnome.org>
5586 Date: Mon Sep 23 03:17:19 2013 -0700
5591 configure.ac | 4 ++--
5592 2 files changed, 5 insertions(+), 2 deletions(-)
5594 commit c626be6317b610277c95461108573d1ae6f42b6d
5595 Author: Martin Pitt <martinpitt@gnome.org>
5596 Date: Mon Sep 23 12:06:11 2013 +0200
5598 Fix test_gi.TestProjectVersion.test_version_str()
5600 In this test case we only do a string comparison, not a proper
5602 component" numerical one. So relax the test to also work with 3.10.
5604 tests/test_gi.py | 2 +-
5605 1 file changed, 1 insertion(+), 1 deletion(-)
5607 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
5608 Author: Martin Pitt <martinpitt@gnome.org>
5609 Date: Mon Sep 16 10:12:33 2013 -0500
5614 1 file changed, 7 insertions(+)
5616 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
5617 Author: Simon Feltman <sfeltman@src.gnome.org>
5618 Date: Mon Sep 16 01:23:49 2013 -0700
5620 Update current maintainers list in README
5623 1 file changed, 2 insertions(+), 1 deletion(-)
5625 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
5626 Author: Simon Feltman <sfeltman@src.gnome.org>
5627 Date: Tue Sep 10 17:11:21 2013 -0700
5629 Fix union argument regression when marshaling from python
5631 Check for union members when marshaling boxed types from Python.
5632 This is a regression caused by stricter type checking added when
5633 merging code from pygi-argument.c.
5634 Re-add pyg_boxed_check to the same bit of code in addition to
5635 __gtype__ checking to avoid a double regression.
5637 https://bugzilla.gnome.org/show_bug.cgi?id=703873
5639 gi/pygi-marshal-from-py.c | 53
5640 ++++++++++++++++++++++++++---------------------
5641 1 file changed, 29 insertions(+), 24 deletions(-)
5643 commit 59a2964141e963d2961e55d4b84a777927b4f21b
5644 Author: Simon Feltman <sfeltman@src.gnome.org>
5645 Date: Wed Sep 11 05:05:33 2013 -0700
5647 Fix GLib.Source sub-classing with initializer args
5649 Add variable args and keyword args to the GLib.Source.__new__
5650 method to support sub-classes which want to implement __init__.
5652 https://bugzilla.gnome.org/show_bug.cgi?id=707904
5654 gi/overrides/GLib.py | 2 +-
5655 tests/test_source.py | 11 +++++++++++
5656 2 files changed, 12 insertions(+), 1 deletion(-)
5658 commit afa42ab95327da1de0cf86005974cd8ab0d46872
5659 Author: Vratislav Podzimek <vpodzime@redhat.com>
5660 Date: Wed Sep 4 14:17:31 2013 +0200
5662 Copy __doc__ when wrapping function
5664 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
5665 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5667 gi/overrides/__init__.py | 1 +
5668 1 file changed, 1 insertion(+)
5670 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
5671 Author: Martin Pitt <martinpitt@gnome.org>
5672 Date: Mon Sep 2 14:56:24 2013 +0200
5674 configure.ac: post-release bump to 3.9.92
5677 1 file changed, 1 insertion(+), 1 deletion(-)
5679 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
5680 Author: Martin Pitt <martinpitt@gnome.org>
5681 Date: Mon Sep 2 14:38:41 2013 +0200
5685 NEWS | 10 ++++++++++
5686 1 file changed, 10 insertions(+)
5688 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
5689 Author: Simon Feltman <sfeltman@src.gnome.org>
5690 Date: Mon Sep 2 04:19:35 2013 -0700
5692 Fix GObject signal methods to work with new annotations
5694 Add conditional support for signal methods annotated as gpointer
5695 or GObject.Object. This is needed to work with newer versions of
5696 glib which changed annotations to GObject.Object (bug #685387).
5698 https://bugzilla.gnome.org/show_bug.cgi?id=707280
5700 gi/overrides/GObject.py | 106
5701 ++++++++++++++++++++++++++++++------------------
5702 1 file changed, 66 insertions(+), 40 deletions(-)
5704 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
5705 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5706 Date: Thu Aug 15 14:41:40 2013 +0800
5708 Fix build on C89 Compilers
5710 Avoid a variable declaration at the middle of the block
5712 https://bugzilla.gnome.org/show_bug.cgi?id=707264
5714 gi/pygi-closure.c | 3 ++-
5715 1 file changed, 2 insertions(+), 1 deletion(-)
5717 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
5718 Author: Simon Feltman <sfeltman@src.gnome.org>
5719 Date: Sun Sep 1 20:44:26 2013 -0700
5721 Change boxed type checking in marshaling to use __gtype__ attribute
5723 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
5724 pyg_type_from_object. This has the effect of using the __gtype__
5725 attribute stashed on object class instead of the PyGBoxed
5726 internally held gtype. This fixes type descrepencies for objects
5727 marshaled into overridden signal class closures and passed back
5728 to functions taking an alias their type.
5730 https://bugzilla.gnome.org/show_bug.cgi?id=707140
5732 gi/pygi-marshal-from-py.c | 8 +++++++-
5733 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
5734 2 files changed, 41 insertions(+), 1 deletion(-)
5736 commit dab0c09f1996e124ca98334e5aea0852904b44b5
5737 Author: Simon Feltman <sfeltman@src.gnome.org>
5738 Date: Sun Sep 1 17:49:09 2013 -0700
5740 Use G_IS_VALUE for checking return values in closure marshaling
5742 Replace return_value argument NULL checks in GClosureMarshal
5743 implementations with G_IS_VALUE. This checks both NULL and
5744 validity of the value (!= G_TYPE_INVALID). This is needed
5745 because GLib can pass either NULL or an invalid value based
5746 on whether or not G_ENABLE_DEBUG is set.
5747 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
5749 https://bugzilla.gnome.org/show_bug.cgi?id=707170
5751 gi/_gobject/pygtype.c | 4 ++--
5752 gi/pygi-signal-closure.c | 2 +-
5753 2 files changed, 3 insertions(+), 3 deletions(-)
5755 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
5756 Author: Yanko Kaneti <yaneti@declera.com>
5757 Date: Wed Aug 21 08:53:07 2013 +0200
5759 Fix PEP-8 errors in propertyhelper.py
5761 https://bugzilla.gnome.org/show_bug.cgi?id=706319
5763 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5765 gi/_gobject/propertyhelper.py | 12 ++++++------
5766 1 file changed, 6 insertions(+), 6 deletions(-)
5768 commit 6fdd58404103596accb6ab04d4de33846d853c58
5769 Author: Martin Pitt <martinpitt@gnome.org>
5770 Date: Mon Aug 19 17:13:30 2013 +0200
5772 configure.ac: post-release bump to 3.9.91
5775 1 file changed, 1 insertion(+), 1 deletion(-)
5777 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
5778 Author: Martin Pitt <martinpitt@gnome.org>
5779 Date: Mon Aug 19 17:10:52 2013 +0200
5784 1 file changed, 9 insertions(+)
5786 commit a8d5da559ef088b05062681206758d2718946269
5787 Author: Martin Pitt <martinpitt@gnome.org>
5788 Date: Mon Aug 19 11:38:31 2013 +0200
5790 NEWS: retroactively fix last version number
5793 1 file changed, 1 insertion(+), 1 deletion(-)
5795 commit aba45eb2617c4b35168089bc9028f351732a617f
5796 Author: Benjamin Berg <benjamin@sipsolutions.net>
5797 Date: Tue Aug 6 00:41:52 2013 +0200
5799 Create GLib.Pid in the same way on python 2 and 3
5801 https://bugzilla.gnome.org/show_bug.cgi?id=705451
5803 gi/_glib/pygspawn.c | 8 --------
5804 1 file changed, 8 deletions(-)
5806 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
5807 Author: Benjamin Berg <benjamin@sipsolutions.net>
5808 Date: Mon Aug 5 17:04:15 2013 +0200
5810 Use PyLong_Type.tp_new for GLib.Pid
5812 For GLib.Pid the original implementation for __new__ needs to be used,
5813 as it is able to initialize the integer correctly.
5815 https://bugzilla.gnome.org/show_bug.cgi?id=705451
5817 gi/_glib/pygspawn.c | 1 +
5818 tests/test_subprocess.py | 1 +
5819 2 files changed, 2 insertions(+)
5821 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
5822 Author: Simon Feltman <sfeltman@src.gnome.org>
5823 Date: Mon Aug 5 14:40:38 2013 -0700
5825 Add accumulator and accu_data arguments to GObject.Signal decorator
5827 Update __init__, __call__, and copy methods to accept and pass
5828 accumulators and associated user data through them. Update
5829 accumulator unittests to use Signal decorators for testing accumulator
5830 pass throughs. Verified the __gsignals__ dictionary accepts None
5831 as valid values for accumulator and accu_data so specialization
5832 for these arguments is not necessary.
5834 https://bugzilla.gnome.org/show_bug.cgi?id=705533
5836 gi/_gobject/signalhelper.py | 17 ++++++++++-----
5837 tests/test_signal.py | 52
5838 ++++++++++++++++++++++++---------------------
5839 2 files changed, 40 insertions(+), 29 deletions(-)
5841 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
5842 Author: Simon Feltman <sfeltman@src.gnome.org>
5843 Date: Mon Aug 5 14:12:24 2013 -0700
5845 Pass return values through the GObject.Signal.emit wrapper
5847 Return the result of GObject.emit from the Signal decorators wrapping.
5848 Update unittest for decorated return type to use skipUnless for
5850 Add test for Signal decorator return type.
5852 https://bugzilla.gnome.org/show_bug.cgi?id=705530
5854 gi/_gobject/signalhelper.py | 2 +-
5855 tests/test_signal.py | 37 +++++++++++++++++++++----------------
5856 2 files changed, 22 insertions(+), 17 deletions(-)
5858 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
5859 Author: Simon Feltman <sfeltman@src.gnome.org>
5860 Date: Mon Jul 29 03:33:40 2013 -0700
5862 configure.ac: post-release bump to 3.9.90
5865 1 file changed, 1 insertion(+), 1 deletion(-)
5867 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
5868 Author: Simon Feltman <sfeltman@src.gnome.org>
5869 Date: Mon Jul 29 02:23:02 2013 -0700
5873 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
5875 2 files changed, 42 insertions(+), 1 deletion(-)
5877 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
5878 Author: Simon Feltman <sfeltman@src.gnome.org>
5879 Date: Mon Jul 29 01:21:19 2013 -0700
5881 Ensure exceptions set in closure out argument marshaling are printed
5883 Call PyErr_Print when an exception occurs after marshaling closure
5884 out arguments. These exceptions were being ignored and cleared out
5885 only to show up in debug builds of Python.
5887 https://bugzilla.gnome.org/show_bug.cgi?id=705064
5889 gi/pygi-closure.c | 8 ++++++++
5890 tests/test_generictreemodel.py | 17 +++++++++++------
5891 2 files changed, 19 insertions(+), 6 deletions(-)
5893 commit b5dcb1800839f747a052e487643c234668384677
5894 Author: Simon Feltman <sfeltman@src.gnome.org>
5895 Date: Sun Jul 28 23:00:26 2013 -0700
5897 Use Python error messages for marshaling integers from Python
5899 Use Pythons default error messages where possible.
5900 Change all explicitly raised ValueError to use OverflowError
5901 for out of range data.
5903 https://bugzilla.gnome.org/show_bug.cgi?id=705057
5905 gi/pygi-marshal-from-py.c | 76
5906 +++++++++++++++++------------------------------
5907 tests/test_everything.py | 52 ++++++++++++++++----------------
5908 tests/test_gi.py | 64 +++++++++++++++++++--------------------
5909 tests/test_gobject.py | 2 +-
5910 4 files changed, 86 insertions(+), 108 deletions(-)
5912 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
5913 Author: Simon Feltman <sfeltman@src.gnome.org>
5914 Date: Sat Jul 27 21:10:07 2013 -0700
5916 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
5918 gi/pygi-closure.c | 11 ++---------
5919 1 file changed, 2 insertions(+), 9 deletions(-)
5921 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
5922 Author: Simon Feltman <sfeltman@src.gnome.org>
5923 Date: Sat Jul 27 15:25:20 2013 -0700
5925 Cleanup invoke args and kwargs combiner code
5927 Change _py_args_combine_and_check_length use cleaner reference
5929 It no longer DECREFs input arguments and always returns a new value
5931 Use PyGICallableCache directly as an argument instead of passing
5935 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
5936 1 file changed, 17 insertions(+), 27 deletions(-)
5938 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
5939 Author: Simon Feltman <sfeltman@src.gnome.org>
5940 Date: Wed Jul 17 16:10:25 2013 -0700
5942 Replace Python VFunc descriptor directly with PyGIVFuncInfo
5944 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
5945 to be used directly as a callable descriptor. This piggy backs
5946 off the added support for functions and constructors in previous
5949 https://bugzilla.gnome.org/show_bug.cgi?id=704037
5951 gi/pygi-info.c | 25 +++++++++++++++++++++++--
5952 gi/types.py | 33 ++++-----------------------------
5953 2 files changed, 27 insertions(+), 31 deletions(-)
5955 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
5956 Author: Simon Feltman <sfeltman@src.gnome.org>
5957 Date: Tue Jul 16 16:00:14 2013 -0700
5959 Add callable and descriptor protocols to PyGICallableInfo
5961 Add tp_call (__call__) function to callable info objects.
5962 This allows for replacement of wrapped invoke methods directly
5963 with the already created callable info object. This has the
5964 additional side effect of making doc strings lazily bound
5965 (only generated when __doc__ is accessed).
5967 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
5968 a bound version of itself for methods and constructors.
5970 Update various internal type checks to reflect the changes.
5971 Update tests to reflect the new callable type being the same
5972 across Python 2 & 3.
5974 This patch gives roughly a %17 speedup for Gtk imports and
5975 an %11 speedup for GI method calls.
5977 https://bugzilla.gnome.org/show_bug.cgi?id=704037
5980 gi/overrides/__init__.py | 10 ++-
5981 gi/pygi-info.c | 179
5982 ++++++++++++++++++++++++++++++++++++++++++--
5984 gi/types.py | 35 +--------
5985 tests/test_docstring.py | 6 +-
5986 tests/test_gi.py | 32 +++-----
5987 tests/test_overrides_gtk.py | 4 +-
5988 8 files changed, 212 insertions(+), 72 deletions(-)
5990 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
5991 Author: Simon Feltman <sfeltman@src.gnome.org>
5992 Date: Fri Jul 26 19:33:32 2013 -0700
5994 Move "from Python" GObject out arg marshaler into specialized function
5996 Move hacks specific to out argument marshaling for vfuncs into a
5997 a specialized function. This allows standard function call marshaling
5998 to continue working correctly when there are no extra references
5999 holding the arguments "foo(SomeObject())". This is currently being
6000 masked because all GI functions are wrapped by additional layers
6001 of Python functions. When these layers are removed, it exposes
6002 bugs introduced by reference counting hacks intended for vfunc
6005 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6007 gi/pygi-argument.c | 2 +-
6008 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
6009 gi/pygi-marshal-from-py.h | 3 +++
6010 3 files changed, 34 insertions(+), 8 deletions(-)
6012 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
6013 Author: Simon Feltman <sfeltman@src.gnome.org>
6014 Date: Fri Jul 26 17:34:01 2013 -0700
6016 Add underscore prefix and _cache_adapter suffix to marshaling
6019 Add underscores to all _pygi_marshal_* functions. We don't currently
6020 export symbols, but we might need to for C unittesting. This will
6021 ensure we don't have a "public API".
6022 Add _cache_adapter suffix to marshaling functions which are light
6023 weight wrappers intended only for cached marshalers.
6025 gi/pygi-argument.c | 40 +++++++++++-----------
6026 gi/pygi-cache.c | 10 +++---
6027 gi/pygi-marshal-from-py.c | 86
6028 +++++++++++++++++++++++------------------------
6029 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
6030 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
6031 gi/pygi-marshal-to-py.h | 34 +++++++++----------
6032 6 files changed, 131 insertions(+), 131 deletions(-)
6034 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
6035 Author: Simon Feltman <sfeltman@src.gnome.org>
6036 Date: Tue Jul 16 11:13:17 2013 -0700
6038 Add common attribute accessors to PyGIBaseInfo
6040 Add __name__, __module__, and __doc__ accessors to
6041 PyGIBaseInfo object. This is a precursory patch for setting
6042 up PyGICallableInfo as a directly callable object with lazy
6043 doc string evaluation.
6045 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6047 gi/_glib/pyglib-python-compat.h | 5 +++
6049 +++++++++++++++++++++++++++++++++++++++--
6050 gi/types.py | 7 ++--
6051 3 files changed, 88 insertions(+), 7 deletions(-)
6053 commit ea194404843a16555f9a475cc973872a4428bfe1
6054 Author: Simon Feltman <sfeltman@src.gnome.org>
6055 Date: Sat Jul 13 23:10:31 2013 -0700
6057 Merge method and constructor setup
6059 Merge _setup_constructors into _setup_methods as they contain same
6060 basic logic. This removes an unnecessary call with additional
6061 filtering of GIObjectInfo.get_methods() which can be large for
6062 objects with many methods.
6064 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6066 gi/types.py | 15 ++++-----------
6067 1 file changed, 4 insertions(+), 11 deletions(-)
6069 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
6070 Author: Simon Feltman <sfeltman@src.gnome.org>
6071 Date: Sat Jul 13 18:11:18 2013 -0700
6073 Remove redundant info.get_name calls
6075 Remove a number of redundant calls to GIBaseInfo.get_name. Info
6076 names are already cached on function objects so re-use them when
6077 possible. This gives a small load time improvement by removing over
6078 2000 calls when importing Gtk.
6080 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6083 gi/types.py | 8 +++-----
6084 2 files changed, 3 insertions(+), 6 deletions(-)
6086 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
6087 Author: Simon Feltman <sfeltman@src.gnome.org>
6088 Date: Fri Jul 12 12:21:54 2013 -0700
6090 Move doc string generator into separate module
6092 Move the doc string generator for creating function signatures
6093 into "gi.docstring". This includes a new API for getting and
6094 setting the doc string creation functions:
6096 gi.docstring.get_doc_string_generator
6097 gi.docstring.set_doc_string_generator
6098 gi.docstring.generate_doc_string
6100 Beyond adding the ability for custom doc string generators,
6101 this API is a necessary step for adding lazy __doc__
6102 attribute access for optimization.
6104 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6106 gi/Makefile.am | 3 +-
6107 gi/docstring.py | 106
6108 ++++++++++++++++++++++++++++++++++++++++++++++++
6109 gi/types.py | 55 ++-----------------------
6110 tests/Makefile.am | 1 +
6111 tests/test_docstring.py | 49 ++++++++++++++++++++++
6112 tests/test_gi.py | 30 --------------
6113 6 files changed, 161 insertions(+), 83 deletions(-)
6115 commit f86701b15ee04c717d9c6bf688101606165e4f83
6116 Author: Simon Feltman <sfeltman@src.gnome.org>
6117 Date: Wed Jul 24 19:36:28 2013 -0700
6119 tests: Change GHashTable<string,GValue> marshaling test to use GValue
6121 Add test to explicitly use a boxed GStrv GValue in addition to a
6122 Python list sub-class.
6124 https://bugzilla.gnome.org/show_bug.cgi?id=666636
6126 tests/test_everything.py | 21 +++++++++++++++------
6127 1 file changed, 15 insertions(+), 6 deletions(-)
6129 commit 6ea41b60691e1ba7e21374582d7aea072af71103
6130 Author: Simon Feltman <sfeltman@src.gnome.org>
6131 Date: Thu Jul 25 18:00:47 2013 -0700
6133 gtk-demo: Change demo to use Gtk.Application
6135 Replace deriving from Gtk.Window with deriving from Gtk.Application
6136 connected to a Gtk.ApplicationWindow instance.
6138 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6140 demos/gtk-demo/demos/printing.py | 2 +-
6141 demos/gtk-demo/gtk-demo.py | 40
6142 ++++++++++++++++++++--------------------
6143 2 files changed, 21 insertions(+), 21 deletions(-)
6145 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
6146 Author: Simon Feltman <sfeltman@src.gnome.org>
6147 Date: Tue Jul 23 14:25:01 2013 -0700
6149 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
6151 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
6152 and rename to _pygi_marshal_to_py_basic_type.
6153 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
6156 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6158 gi/pygi-argument.c | 73 +-----------------------------
6159 gi/pygi-argument.h | 4 --
6160 gi/pygi-cache.c | 4 +-
6161 gi/pygi-marshal-to-py.c | 115
6162 +++++++++++++++++++++++++++++++++++++-----------
6163 gi/pygi-marshal-to-py.h | 27 +++---------
6164 5 files changed, 99 insertions(+), 124 deletions(-)
6166 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
6167 Author: Simon Feltman <sfeltman@src.gnome.org>
6168 Date: Tue Jul 23 13:06:33 2013 -0700
6170 Unify and clean up from Python marshalers for basic types
6172 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
6173 and filename marshalers.
6175 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6177 gi/pygi-cache.c | 101
6178 ++--------------------------------------------
6179 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
6180 gi/pygi-marshal-from-py.h | 30 --------------
6181 3 files changed, 28 insertions(+), 189 deletions(-)
6183 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
6184 Author: Simon Feltman <sfeltman@src.gnome.org>
6185 Date: Tue Jul 23 12:35:06 2013 -0700
6187 Unify from Python int64 and uint64 marshalers
6189 Replaced int64 and uint64 cached marshalers with usage of the
6190 unified basic type marshaler. Replace a large amount of int64
6191 exception formatting code with usage of %S for Python 3 and
6192 give a more vague message for Python 2.
6194 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6196 gi/pygi-cache.c | 36 +--------
6197 gi/pygi-marshal-from-py.c | 193
6198 ++++++++++------------------------------------
6199 gi/pygi-marshal-from-py.h | 10 ---
6200 3 files changed, 43 insertions(+), 196 deletions(-)
6202 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
6203 Author: Simon Feltman <sfeltman@src.gnome.org>
6204 Date: Tue Jul 23 11:03:14 2013 -0700
6206 Unify from Python int16 and int32 marshalers
6208 Add PyNumber_Check to unified basic type marshaler.
6209 Add bounds checking to unified int16 and int32 marshalers.
6210 Replaced int16 and int32 cached marshalers with usage of
6211 unified basic type marshaler.
6213 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6215 gi/pygi-cache.c | 69 +--------------
6216 gi/pygi-marshal-from-py.c | 218
6217 ++++++++++------------------------------------
6218 gi/pygi-marshal-from-py.h | 20 -----
6219 3 files changed, 48 insertions(+), 259 deletions(-)
6221 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
6222 Author: Simon Feltman <sfeltman@src.gnome.org>
6223 Date: Tue Jul 23 00:27:14 2013 -0700
6225 Unify from Python boolean, int8, and uint8 marshalers
6227 Replaced boolean, int8, and uint8 cached marshalers with usage of
6228 unified basic type marshaler. Add bounds checking to unified int8
6231 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6233 gi/pygi-cache.c | 48 +++------------
6234 gi/pygi-marshal-from-py.c | 146
6235 +++++++++++-----------------------------------
6236 gi/pygi-marshal-from-py.h | 20 ++-----
6237 3 files changed, 45 insertions(+), 169 deletions(-)
6239 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
6240 Author: Simon Feltman <sfeltman@src.gnome.org>
6241 Date: Mon Jul 22 23:24:13 2013 -0700
6243 Add support for PyBytes with int8 and uint8 from Python marshaler
6245 This additional type marshaling is necessary for unifying marhalers
6246 due to the same feature being available with cached argument
6249 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6251 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
6252 1 file changed, 14 insertions(+)
6254 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
6255 Author: Simon Feltman <sfeltman@src.gnome.org>
6256 Date: Mon Jul 22 23:23:29 2013 -0700
6258 Move from Python integer marshaling into separate function
6260 Add _pygi_marshal_from_py_long for marshaling Python objects
6261 that can convert to a PyLong type. This allows for better
6262 sharing of code amongst marshalers along with unifying
6263 them across Python 2.7 and 3.0.
6265 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6267 gi/pygi-argument.c | 3 +-
6268 gi/pygi-marshal-from-py.c | 159
6269 ++++++++++++++++++++++++----------------------
6270 2 files changed, 84 insertions(+), 78 deletions(-)
6272 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
6273 Author: Simon Feltman <sfeltman@src.gnome.org>
6274 Date: Mon Jul 22 22:19:26 2013 -0700
6276 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
6278 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
6279 and rename to: _pygi_marshal_from_py_basic_type
6281 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6283 gi/pygi-argument.c | 149
6284 +---------------------------------------------
6285 gi/pygi-marshal-from-py.c | 147
6286 +++++++++++++++++++++++++++++++++++++++++++++
6287 gi/pygi-marshal-from-py.h | 4 ++
6288 3 files changed, 152 insertions(+), 148 deletions(-)
6290 commit 9c9510eec782f242280af24e86adf3561e4fac72
6291 Author: Simon Feltman <sfeltman@src.gnome.org>
6292 Date: Fri Jul 19 23:37:35 2013 -0700
6294 Move basic type marshaling out of _pygi_argument_from_object
6296 Move the marshaling of Python objects to GI arguments for basic types
6297 into a new function: _pygi_argument_from_object_basic_type
6298 This is staging work needed before unifying basic type marshaling
6299 of arguments from Python to GI.
6301 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6303 gi/pygi-argument.c | 73
6304 ++++++++++++++++++++++++++++++++++--------------------
6305 1 file changed, 46 insertions(+), 27 deletions(-)
6307 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
6308 Author: Simon Feltman <sfeltman@src.gnome.org>
6309 Date: Fri Jul 19 20:16:10 2013 -0700
6311 Replace to Python cached marshalers with unified basic type marshaler
6313 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
6314 unifies functions, vfuncs, signals, and property marshaling for
6315 "basic types". Remove all the individual cached arg marshalers
6318 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6320 gi/pygi-argument.c | 104 +++++++++++------------------------
6321 gi/pygi-argument.h | 4 ++
6322 gi/pygi-cache.c | 114 +++++++-------------------------------
6323 gi/pygi-marshal-to-py.c | 142
6324 ++++--------------------------------------------
6325 gi/pygi-marshal-to-py.h | 48 ++--------------
6326 5 files changed, 73 insertions(+), 339 deletions(-)
6328 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
6329 Author: Simon Feltman <sfeltman@src.gnome.org>
6330 Date: Fri Jul 19 18:00:40 2013 -0700
6332 Move to Python basic type marshaling out of _pygi_argument_to_object
6334 Move the marshaling of GI arguments to Python objects for basic types
6335 into a new function. The required information for this marshaler
6336 is a GITypeTag and GITransfer. Argument marshaling matching these
6337 requirments are now found in: _pygi_argument_to_object_basic_type.
6338 The new marshaler can be used with a generic argument cache marshaler
6339 to unify all of the "basic type" marshaling.
6341 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6343 gi/pygi-argument.c | 86
6344 +++++++++++++++++++++++++++++++++++++++---------------
6345 1 file changed, 63 insertions(+), 23 deletions(-)
6347 commit dd43a1e19440dbe025451d2e4e07a6074086498d
6348 Author: Simon Feltman <sfeltman@src.gnome.org>
6349 Date: Sat Jul 6 14:16:36 2013 -0700
6351 Override GValue.set/get_boxed with static C marshaler
6353 Override boxed type get/set methods on GValue to use the static C
6354 GValue marshaler. This works around the inability of the introspection
6355 version of these methods to know what the held GValue type is.
6356 With this, all boxed types will now marshal properly with GValues as
6359 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6361 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
6362 gi/overrides/GObject.py | 9 +++++++++
6363 2 files changed, 47 insertions(+)
6365 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
6366 Author: Simon Feltman <sfeltman@src.gnome.org>
6367 Date: Sat Jul 6 14:10:20 2013 -0700
6369 Refactor pyg_value_from_pyobject into two functions
6371 Break pyg_value_from_pyobject into two functions. One which keeps
6372 Python exceptions queued (pyg_value_from_pyobject_with_error) and
6373 one which clears them (pyg_value_from_pyobject). This allows for
6374 re-use for code which want to keep the errors around
6376 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6378 gi/_gobject/gobjectmodule.c | 4 ++-
6379 gi/_gobject/pygobject-private.h | 1 +
6380 gi/_gobject/pygobject.h | 2 ++
6381 gi/_gobject/pygtype.c | 67
6382 ++++++++++++++++++++++++++++++++---------
6383 4 files changed, 59 insertions(+), 15 deletions(-)
6385 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
6386 Author: Simon Feltman <sfeltman@src.gnome.org>
6387 Date: Sat Jul 6 20:41:19 2013 -0700
6389 Fix indentation for pyg_value_from_pyobject
6391 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6393 gi/_gobject/pygtype.c | 744
6394 +++++++++++++++++++++++++-------------------------
6395 1 file changed, 372 insertions(+), 372 deletions(-)
6397 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
6398 Author: Simon Feltman <sfeltman@src.gnome.org>
6399 Date: Sat Jul 6 13:32:39 2013 -0700
6401 Add deprecation warning for marshaling arbitrary objects as pointers
6403 Add deprecation warning for marshaling arbitrary objects to/from void
6404 pointers with the exception of integers, PyCapsules, and None.
6406 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6408 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
6409 gi/pygi-marshal-to-py.c | 10 ++++++++--
6410 2 files changed, 24 insertions(+), 3 deletions(-)
6412 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
6413 Author: Simon Feltman <sfeltman@src.gnome.org>
6414 Date: Sat Jul 6 13:34:53 2013 -0700
6416 Move PyGIDeprecationWarning to C for shared Python/C usage
6418 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6420 gi/__init__.py | 19 ++++---------------
6421 gi/gimodule.c | 18 ++++++++++++++++++
6423 3 files changed, 24 insertions(+), 15 deletions(-)
6425 commit 90427107af36ea3c624b36967ee181ed13b9828f
6426 Author: Simon Feltman <sfeltman@src.gnome.org>
6427 Date: Thu Jul 18 14:59:55 2013 -0700
6429 Replace usage of __import__ with importlib.import_module
6431 https://bugzilla.gnome.org/show_bug.cgi?id=682320
6433 gi/module.py | 8 ++++----
6434 1 file changed, 4 insertions(+), 4 deletions(-)
6436 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
6437 Author: Mike Gorse <mgorse@suse.com>
6438 Date: Wed Jul 10 16:44:23 2013 -0500
6440 Always unref the GiTypeInfo when generating an argument cache
6442 We were leaking a GiTypeInfo when handling child arguments.
6444 https://bugzilla.gnome.org/show_bug.cgi?id=703973
6446 gi/pygi-cache.c | 1 +
6447 1 file changed, 1 insertion(+)
6449 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
6450 Author: Mike Gorse <mgorse@suse.com>
6451 Date: Wed Jul 10 12:10:16 2013 -0500
6453 Unref interface info when fetching enums or flags
6455 When calling g_type_info_get_interface, the resulting interface should
6456 be dereferenced by calling g_base_info_unref.
6458 https://bugzilla.gnome.org/show_bug.cgi?id=703960
6460 gi/pygi-marshal-from-py.c | 8 +++++++-
6461 gi/pygi-marshal-to-py.c | 3 +++
6462 2 files changed, 10 insertions(+), 1 deletion(-)
6464 commit a93755ddba9a1761b627583d7b9be63783c2c063
6465 Author: Daniel Drake <dsd@laptop.org>
6466 Date: Tue Jul 9 13:03:36 2013 -0600
6468 Speed up MRO calculation
6470 Optimize gi.type.mro() with the following observations and tricks:
6472 1. Python prepares all the base classes before trying to calculate the
6473 MRO of the current one (it first needs to populate __bases__, for
6474 example). So we can assume that the base class MRO is already
6476 in __mro__ and this will have been previously calculated (by us,
6478 case of gi classes). This avoids repeating a lot of MRO-calculating
6480 and also avoids (re)calculating MROs for inheritance chains
6482 have any gi classes in them anyway.
6484 2. With that simplification in place, we can avoid recursion, which
6486 all that great in Python...
6488 3. ...except in the uncommon case of a Python2 old-style classes,
6490 __mro__ is not available. There doesn't seem to be any existing
6491 function to calculate or read MRO of old-style python classes,
6493 keep doing as before: calculate the C3 MRO of the old-style
6495 recursion. That behaviour is not really correct, and the
6497 not desirable, so we print a warning here.
6499 This makes the "hello world" Sugar app start up approximately
6503 https://bugzilla.gnome.org/show_bug.cgi?id=703829
6505 gi/types.py | 30 +++++++++++++++++++++++++++---
6506 tests/test_gi.py | 16 ++++++++++++----
6507 2 files changed, 39 insertions(+), 7 deletions(-)
6509 commit 7aca95781fc76f3e820e63325ccc07d128a60075
6510 Author: Daniel Drake <dsd@laptop.org>
6511 Date: Wed Jul 10 10:45:47 2013 -0600
6513 tests: Add tests for MRO override
6515 Add tests for the MRO override to prevent against unintended
6518 https://bugzilla.gnome.org/show_bug.cgi?id=703829
6520 tests/test_gi.py | 66
6521 ++++++++++++++++++++++++++++++++++++++++++--------------
6522 1 file changed, 50 insertions(+), 16 deletions(-)
6524 commit a15333a36e31b76ea6b80251553840269ec5deb1
6525 Author: Simon Feltman <sfeltman@src.gnome.org>
6526 Date: Sat Jul 6 13:34:13 2013 -0700
6528 Add GIL safety to pyobject_copy for copying boxed PyObjects
6530 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6532 gi/_gobject/pygobject.c | 3 +++
6533 1 file changed, 3 insertions(+)
6535 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
6536 Author: Simon Feltman <sfeltman@src.gnome.org>
6537 Date: Sat Jul 6 09:48:35 2013 -0700
6539 testhelper: Fix import requirement for GObject
6541 Replace the importing of gi._gobject._gobject with
6542 gi.repository.GObject
6543 in tests/testhelpermodule.c
6545 The testhelper module was only importing the static bindings
6546 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
6547 This was causing some tests to fail when test_thread was the first
6548 test to run in the suite due to it registering new types based on
6551 https://bugzilla.gnome.org/show_bug.cgi?id=703647
6553 tests/testhelpermodule.c | 2 +-
6554 1 file changed, 1 insertion(+), 1 deletion(-)
6556 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
6557 Author: Simon Feltman <sfeltman@src.gnome.org>
6558 Date: Wed Jul 3 05:26:12 2013 -0700
6560 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
6562 Replace assertion for this case with a simple marshalling of the
6563 pointer value to a Python int. While not particularly useful
6564 this allows some callbacks in WebKit to function without causing
6567 https://bugzilla.gnome.org/show_bug.cgi?id=694233
6569 gi/pygi-argument.c | 4 ++--
6570 1 file changed, 2 insertions(+), 2 deletions(-)
6572 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
6573 Author: Cole Robinson <crobinso@redhat.com>
6574 Date: Sat Feb 16 17:26:43 2013 -0500
6576 GTK overrides: Make connect_signals handle tuple
6578 This is used for passing extra arguments to callbacks during
6579 signal emission in the form of:
6580 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
6582 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6584 https://bugzilla.gnome.org/show_bug.cgi?id=693994
6586 gi/overrides/Gtk.py | 51 ++++++++----
6587 tests/test_overrides_gtk.py | 196
6588 +++++++++++++++++++++++++++++---------------
6589 2 files changed, 165 insertions(+), 82 deletions(-)
6591 commit 466567373289e6f141709f08efa80ba588d3d64a
6592 Author: Simon Feltman <sfeltman@src.gnome.org>
6593 Date: Tue Jul 2 18:06:01 2013 -0700
6595 Re-add support for passing GValue's by reference
6597 Fix special casing when marshaling from a Python held GValue
6598 to a GValue argument intended for a function call.
6599 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
6600 broke this by always making a copy of the GValue. This removed the
6601 ability to retrieve values with functions like
6602 gtk_style_context_get_style_property.
6604 https://bugzilla.gnome.org/show_bug.cgi?id=701058
6606 gi/pygi-argument.c | 2 +-
6607 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
6608 2 files changed, 16 insertions(+), 18 deletions(-)
6610 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
6611 Author: Simon Feltman <sfeltman@src.gnome.org>
6612 Date: Tue Jul 2 19:20:04 2013 -0700
6614 tests: Add test for pass-by-reference GValue
6616 https://bugzilla.gnome.org/show_bug.cgi?id=701058
6618 tests/test_gi.py | 7 +++++++
6619 1 file changed, 7 insertions(+)
6621 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
6622 Author: Simon Feltman <sfeltman@src.gnome.org>
6623 Date: Tue Jul 2 23:02:17 2013 -0700
6625 Clear return value of closures to zero when an exception occures
6627 For return types other than void, set the ffi closure return argument
6628 to 0 when a Python exception occures. This a good default in general
6629 but also has the side affect of fixing failing idle callbacks
6630 by causing them to be removed from main loops (after their stack
6633 https://bugzilla.gnome.org/show_bug.cgi?id=702552
6635 gi/pygi-closure.c | 14 ++++++++++++++
6636 tests/test_gi.py | 8 ++++++++
6637 2 files changed, 22 insertions(+)
6639 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
6640 Author: Martin Pitt <martinpitt@gnome.org>
6641 Date: Wed Jul 3 10:40:28 2013 +0200
6643 Don't use doctest syntax in docstrings for examples
6645 These are not actual doctests, so don't use the >>> syntax there. Just
6649 This fixes pyflakes 0.7 failures.
6651 https://bugzilla.gnome.org/show_bug.cgi?id=701009
6653 gi/_gobject/propertyhelper.py | 11 +++++------
6654 gi/overrides/GObject.py | 8 ++++----
6655 gi/overrides/Gtk.py | 2 +-
6656 3 files changed, 10 insertions(+), 11 deletions(-)
6658 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
6659 Author: Garrett Regier <garrettregier@gmail.com>
6660 Date: Tue Jul 2 06:07:15 2013 -0700
6662 Add support for properties of type GInterface
6664 Add support for G_TYPE_INTERFACE/GInterface to switch
6665 statement which handles G_TYPE_OBJECT based properties.
6667 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
6669 https://bugzilla.gnome.org/show_bug.cgi?id=703456
6671 gi/_gobject/gobjectmodule.c | 1 +
6672 gi/_gobject/propertyhelper.py | 3 ++-
6673 tests/test_properties.py | 16 ++++++++++++++++
6674 3 files changed, 19 insertions(+), 1 deletion(-)
6676 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
6677 Author: Martin Pitt <martinpitt@gnome.org>
6678 Date: Fri Jun 21 07:27:48 2013 +0200
6680 pygtkcompat: Fix for missing methods on Windows
6682 Deal with non-existing Gtk.Clipboard.get() and
6683 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
6685 https://bugzilla.gnome.org/show_bug.cgi?id=702787
6687 pygtkcompat/pygtkcompat.py | 10 ++++++++--
6688 1 file changed, 8 insertions(+), 2 deletions(-)
6690 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
6691 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
6692 Date: Fri Jun 21 12:32:33 2013 +0800
6694 gi/pygi-info.c: Avoid C99-style variable declaration
6696 https://bugzilla.gnome.org/show_bug.cgi?id=702786
6698 gi/pygi-info.c | 3 ++-
6699 1 file changed, 2 insertions(+), 1 deletion(-)
6701 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
6702 Author: Martin Pitt <martinpitt@gnome.org>
6703 Date: Wed May 29 11:20:35 2013 +0200
6705 GLib overrides: fix typo in deprecation message
6707 Spotted by Dmitrijs Ledkovs, thanks!
6709 gi/overrides/GLib.py | 2 +-
6710 1 file changed, 1 insertion(+), 1 deletion(-)
6712 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
6713 Author: Martin Pitt <martinpitt@gnome.org>
6714 Date: Tue May 28 17:57:20 2013 +0200
6716 configure.ac: post-release version bump to 3.9.3
6719 1 file changed, 1 insertion(+), 1 deletion(-)
6721 commit 10f703189ed6a7104252907d1b1a114f26d79559
6722 Author: Martin Pitt <martinpitt@gnome.org>
6723 Date: Tue May 28 17:56:07 2013 +0200
6727 NEWS | 15 +++++++++++++++
6728 1 file changed, 15 insertions(+)
6730 commit af8d048442b924c72a1d0ae868ee63ccf292759d
6731 Author: Martin Pitt <martinpitt@gnome.org>
6732 Date: Fri May 24 13:03:07 2013 +0200
6734 examples/option.py: Port to GI and Python 3
6736 examples/option.py | 38 +++++++++++++++++++-------------------
6737 1 file changed, 19 insertions(+), 19 deletions(-)
6739 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
6740 Author: Simon Feltman <sfeltman@src.gnome.org>
6741 Date: Sun May 12 18:58:06 2013 -0700
6743 Fix vfunc info search for classes with multiple inheritance
6745 Ensure the search for vfunc GI info continues recursively even if the
6746 current class being looked at does not contain GI info of type
6747 InterfaceInfo. This more exhaustive search is needed for setups with
6748 multiple sub-classes and multiple inheritance.
6750 https://bugzilla.gnome.org/show_bug.cgi?id=700092
6752 gi/types.py | 12 +++++++-----
6753 tests/test_gi.py | 1 -
6754 2 files changed, 7 insertions(+), 6 deletions(-)
6756 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
6757 Author: Simon Feltman <sfeltman@src.gnome.org>
6758 Date: Sun May 12 22:19:38 2013 -0700
6760 Fix closure argument conversion for enum and flag in args
6762 Replace incorrect cast and assignment of double with uint for flags
6765 gi/pygi-closure.c | 2 +-
6766 1 file changed, 1 insertion(+), 1 deletion(-)
6768 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
6769 Author: Simon Feltman <sfeltman@src.gnome.org>
6770 Date: Sat May 11 21:47:54 2013 -0700
6772 tests: Add tests for overriding vfunc implementations
6774 Add tests for overriding vfuncs for both single inheritance
6775 and multiple inheritance with an interface (currently failing).
6777 https://bugzilla.gnome.org/show_bug.cgi?id=700092
6779 tests/test_gi.py | 23 +++++++++++++++++++++++
6780 1 file changed, 23 insertions(+)
6782 commit c4e1112840004af264b4f2a052f333ea38f95cb6
6783 Author: Simon Feltman <sfeltman@src.gnome.org>
6784 Date: Sat May 11 20:28:22 2013 -0700
6786 Fix marshaling Python to FFI return value for enum and flags
6788 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
6790 assignment of arg.v_pointer to the ffi return arg.
6792 gi/pygi-closure.c | 1 +
6793 1 file changed, 1 insertion(+)
6795 commit a703217eaf4075e9720d4247351e1dfc4f553772
6796 Author: Simon Feltman <sfeltman@src.gnome.org>
6797 Date: Fri Apr 19 06:37:24 2013 -0700
6799 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
6801 Remove half implemented GC tracking from PyGIBaseInfo as it was not
6802 needed (the implemented was also missing usage of
6803 PyObject_GC_New/Track).
6804 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
6807 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
6808 for both PyGIStruct and PyGIBoxed as these types were not being
6809 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
6811 https://bugzilla.gnome.org/show_bug.cgi?id=677091
6813 gi/pygi-boxed.c | 4 ----
6814 gi/pygi-info.c | 20 +++++---------------
6815 gi/pygi-struct.c | 4 ----
6816 3 files changed, 5 insertions(+), 23 deletions(-)
6818 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
6819 Author: Simon Feltman <sfeltman@src.gnome.org>
6820 Date: Fri May 3 02:00:07 2013 -0700
6822 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
6824 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
6825 of Py_BEGIN_ALLOW_THREADS.
6827 https://bugzilla.gnome.org/show_bug.cgi?id=699440
6829 gi/_glib/pyglib.h | 4 ----
6830 gi/_glib/pygoptioncontext.c | 4 ++--
6831 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
6832 gi/gimodule.c | 4 ++--
6833 gi/pygi-invoke.c | 4 ++--
6834 5 files changed, 22 insertions(+), 27 deletions(-)
6836 commit c9e95663d05de98a9abd3d1479554b1f09753382
6837 Author: Simon Feltman <sfeltman@src.gnome.org>
6838 Date: Thu May 2 03:57:05 2013 -0700
6840 Remove and deprecate API for setting of thread blocking functions
6842 Remove pyglib_set_thread_block_funcs and deprecate
6843 pyg_set_thread_block_funcs.
6844 The thread block function APIs are no longer be neccessary because
6846 can use the Python C API directly when working with threads.
6848 https://bugzilla.gnome.org/show_bug.cgi?id=699440
6850 gi/_glib/pyglib.c | 41 -----------------------------------
6851 gi/_glib/pyglib.h | 9 ++++----
6852 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
6853 gi/_gobject/pygobject-private.h | 33 ----------------------------
6854 gi/_gobject/pygobject.h | 48
6855 ++++++++++++++++++++---------------------
6856 gi/gimodule.c | 15 +++++++------
6857 6 files changed, 46 insertions(+), 125 deletions(-)
6859 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
6860 Author: Martin Pitt <martinpitt@gnome.org>
6861 Date: Tue Apr 30 11:51:05 2013 -0700
6863 configure.ac: Post-release bump to 3.9.2
6866 1 file changed, 1 insertion(+), 1 deletion(-)
6868 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
6869 Author: Martin Pitt <martinpitt@gnome.org>
6870 Date: Tue Apr 30 11:49:03 2013 -0700
6874 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
6875 1 file changed, 49 insertions(+)
6877 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
6878 Author: Simon Feltman <sfeltman@src.gnome.org>
6879 Date: Sun Apr 28 19:59:35 2013 -0700
6881 gtk-demo: Wrap description strings at 80 characters
6883 Wrap trailing demo description strings so they are easier to read
6884 in a programming editor. The gtk-demo itself re-wraps this using
6885 textwrap and the Gtk.TextView dynamic wrapping.
6887 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6889 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
6890 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
6891 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
6892 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
6893 demos/gtk-demo/demos/images.py | 6 ++++--
6894 demos/gtk-demo/demos/menus.py | 20
6895 ++++++++++++++++----
6896 demos/gtk-demo/demos/pickers.py | 4 ++--
6897 demos/gtk-demo/demos/pixbuf.py | 5 +++--
6898 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
6899 9 files changed, 43 insertions(+), 22 deletions(-)
6901 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
6902 Author: Simon Feltman <sfeltman@src.gnome.org>
6903 Date: Sat Apr 27 22:30:35 2013 -0700
6905 gtk-demo: Use textwrap to reformat description for Gtk.TextView
6907 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6909 demos/gtk-demo/gtk-demo.py | 8 +++++++-
6910 1 file changed, 7 insertions(+), 1 deletion(-)
6912 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
6913 Author: Simon Feltman <sfeltman@src.gnome.org>
6914 Date: Sat Apr 27 21:58:28 2013 -0700
6916 gtk-demo: Use GtkSource.View for showing source code
6918 Replace manual syntax highlighting of Gtk.TextView with usage of
6919 GtkSource.View when available. Fall back to TextView with no
6920 hightlighting when GtkSource is not available.
6922 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6924 demos/gtk-demo/gtk-demo.py | 170
6925 ++++++++++++---------------------------------
6926 1 file changed, 44 insertions(+), 126 deletions(-)
6928 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
6929 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
6930 Date: Sun Apr 28 01:40:34 2013 -0500
6932 Use correct class for GtkEditable's get_selection_bounds() function
6934 https://bugzilla.gnome.org/show_bug.cgi?id=699096
6936 gi/overrides/Gtk.py | 2 +-
6937 1 file changed, 1 insertion(+), 1 deletion(-)
6939 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
6940 Author: Simon Feltman <sfeltman@src.gnome.org>
6941 Date: Thu Apr 25 05:27:35 2013 -0700
6943 Test results of g_base_info_get_name for NULL
6945 Block against potential NULL result when generating type hint with
6946 _g_arg_get_pytype_hint.
6948 https://bugzilla.gnome.org/show_bug.cgi?id=698829
6950 gi/pygi-info.c | 12 ++++++++++--
6951 1 file changed, 10 insertions(+), 2 deletions(-)
6953 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
6954 Author: Jose Rostagno <joserostagno@vijona.com.ar>
6955 Date: Sun Apr 21 19:09:59 2013 -0300
6957 Remove g_type_init conditional call
6959 It's deprecated in the glib version we depend on.
6961 https://bugzilla.gnome.org/show_bug.cgi?id=698763
6963 gi/_gobject/gobjectmodule.c | 3 ---
6964 1 file changed, 3 deletions(-)
6966 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
6967 Author: Jose Rostagno <joserostagno@vijona.com.ar>
6968 Date: Sat Mar 30 20:59:44 2013 -0300
6970 Update deps versions also in README
6972 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
6975 https://bugzilla.gnome.org/show_bug.cgi?id=698763
6978 1 file changed, 2 insertions(+), 2 deletions(-)
6980 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
6981 Author: Jose Rostagno <joserostagno@vijona.com.ar>
6982 Date: Sat Mar 30 20:50:35 2013 -0300
6984 Drop compat code for old python version
6986 https://bugzilla.gnome.org/show_bug.cgi?id=698763
6988 gi/_glib/pyglib-python-compat.h | 12 ------------
6989 1 file changed, 12 deletions(-)
6991 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
6992 Author: Niklas Koep <niklas.koep@gmail.com>
6993 Date: Thu Apr 25 06:14:12 2013 +0200
6995 Remove duplicate call to _gi.Repository.require()
6997 repository.require() was called twice in IntrospectionModule's
7000 https://bugzilla.gnome.org/show_bug.cgi?id=698797
7003 1 file changed, 1 deletion(-)
7005 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
7006 Author: Johan Dahlin <johan@gnome.org>
7007 Date: Mon Oct 1 03:02:10 2012 -0700
7009 Add ObjectInfo.get_class_struct()
7011 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7013 gi/pygi-info.c | 15 +++++++++++++++
7014 tests/test_gi.py | 4 ++++
7015 2 files changed, 19 insertions(+)
7017 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
7018 Author: Simon Feltman <sfeltman@src.gnome.org>
7019 Date: Mon Apr 22 03:43:23 2013 -0700
7021 Change interpretation of NULL pointer field from None to 0
7023 The usage of 0 is needed because these fields should generally
7024 be used to store integer indices or hashes, not necessarily
7025 pointers to actual data.
7027 https://bugzilla.gnome.org/show_bug.cgi?id=698366
7029 gi/pygi-argument.c | 11 +----------
7030 tests/test_everything.py | 5 +++--
7031 2 files changed, 4 insertions(+), 12 deletions(-)
7033 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
7034 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
7035 Date: Fri Mar 8 08:25:58 2013 +0330
7037 Do not build tests until needed
7039 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
7041 https://bugzilla.gnome.org/show_bug.cgi?id=698444
7043 tests/Makefile.am | 12 ++++++------
7044 1 file changed, 6 insertions(+), 6 deletions(-)
7046 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
7047 Author: Kai Willadsen <kai.willadsen@gmail.com>
7048 Date: Sun Apr 14 15:16:40 2013 +1000
7050 pygi-convert: Support toolbar styles
7052 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7054 pygi-convert.sh | 1 +
7055 1 file changed, 1 insertion(+)
7057 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
7058 Author: Kai Willadsen <kai.willadsen@gmail.com>
7059 Date: Sun Apr 14 10:54:04 2013 +1000
7061 pygi-convert: Support new-style constructors for Gio.File
7063 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7065 pygi-convert.sh | 2 ++
7066 1 file changed, 2 insertions(+)
7068 commit 1e8120992dc103ac817351be3c150e6cb25f719f
7069 Author: Kai Willadsen <kai.willadsen@gmail.com>
7070 Date: Sun Apr 14 10:22:55 2013 +1000
7072 pygi-convert: Add some support for recent manager constructs
7074 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7076 pygi-convert.sh | 3 +++
7077 1 file changed, 3 insertions(+)
7079 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
7080 Author: Kai Willadsen <kai.willadsen@gmail.com>
7081 Date: Sun Apr 14 07:37:24 2013 +1000
7083 pygi-convert: Check for double quote in require statement
7085 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7087 pygi-convert.sh | 1 +
7088 1 file changed, 1 insertion(+)
7090 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
7091 Author: Kai Willadsen <kai.willadsen@gmail.com>
7092 Date: Sun Apr 14 07:37:00 2013 +1000
7094 pygi-convert: Don't transform arbitrary keysym imports
7096 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7098 pygi-convert.sh | 2 +-
7099 1 file changed, 1 insertion(+), 1 deletion(-)
7101 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
7102 Author: Simon Feltman <sfeltman@src.gnome.org>
7103 Date: Thu Apr 11 04:09:59 2013 -0700
7105 Remove Python keyword escapement in Repository.find_by_name
7107 Strip trailing underscore from module level items before
7108 calling g_irepository_find_by_name. This fixes a problem
7109 with GI module level items having the same name as a Python
7110 keyword raising an AttributeError during access (Pango.break_).
7112 https://bugzilla.gnome.org/show_bug.cgi?id=697363
7114 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
7115 gi/pygi-info.h | 2 ++
7116 gi/pygi-repository.c | 16 ++++++++++++++++
7117 tests/test_overrides_pango.py | 5 +++++
7118 4 files changed, 45 insertions(+), 10 deletions(-)
7120 commit c07404461b126206e369270b56e613f81369c70a
7121 Author: Daniel Drake <dsd@laptop.org>
7122 Date: Mon Mar 18 16:08:09 2013 -0600
7124 Optimize signal lookup in gi repository
7126 Now that we have GSignalQuery results available to us when connecting
7127 signals, we already know which GType implements the signal in
7130 Therefore there is no need to traverse the class parent hierarchy
7131 looking for this, which takes a considerable amount of CPU time.
7133 There is also no need to canonicalize the signal name; both before
7134 and after this patch, by the time we reach this point we have already
7135 successfully looked up the signal name as presented from Python.
7137 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7139 gi/_gobject/pygobject.c | 5 ++--
7140 gi/pygi-signal-closure.c | 59
7141 +++++++++++++-----------------------------------
7142 gi/pygi-signal-closure.h | 1 +
7144 4 files changed, 23 insertions(+), 46 deletions(-)
7146 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
7147 Author: Daniel Drake <dsd@laptop.org>
7148 Date: Mon Mar 18 15:38:19 2013 -0600
7150 Optimize connection of Python-implemented signals
7152 Like properties, when working with signals we must detect if the
7153 signal is implemented in a Python class or if it originates from the
7154 gi repository, and act accordingly.
7156 Asking the gi repository if it can find a signal that is implemented
7157 in a Python class (it can't) takes a considerable amount of CPU time.
7159 Use g_signal_query() to find out which GType implements the signal.
7160 Then perform a simple test to see if this type is implemented at the
7161 Python level, allowing us to to skip the GI querying in this case.
7163 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7165 gi/_gobject/pygobject.c | 19 +++++++++++++++----
7166 1 file changed, 15 insertions(+), 4 deletions(-)
7168 commit e91b35d72f93678a79623347dce271148d57046f
7169 Author: Daniel Drake <dsd@laptop.org>
7170 Date: Mon Mar 18 15:24:52 2013 -0600
7172 Consolidate signal connection code
7174 This code was repeated 4 times with very little variance;
7175 consolidate it and add simple tests to ensure basic coverage.
7177 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7179 gi/_gobject/pygobject.c | 129
7180 +++++++++++++++--------------------------------
7181 tests/test_everything.py | 33 ++++++++++++
7182 2 files changed, 74 insertions(+), 88 deletions(-)
7184 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
7185 Author: Daniel Drake <dsd@laptop.org>
7186 Date: Mon Mar 18 15:11:16 2013 -0600
7188 Fix setting of struct property values
7190 "goto out" in this context means that an error occurred, but this
7191 particular instance was sitting in the "good" codepath.
7193 Fixes setting of struct property values.
7195 gi/pygi-property.c | 3 ++-
7196 1 file changed, 2 insertions(+), 1 deletion(-)
7198 commit 8981ea0422c6837d488311dafe8937593372e736
7199 Author: Daniel Drake <dsd@laptop.org>
7200 Date: Mon Mar 18 14:25:45 2013 -0600
7202 Optimize property get/set when using GObject.props
7204 Skip GI repository lookup for properties defined on Python
7205 defined GObject types.
7207 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7209 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7211 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
7212 1 file changed, 19 insertions(+), 18 deletions(-)
7214 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
7215 Author: Christoph Reiter <reiter.christoph@gmail.com>
7216 Date: Sat Apr 13 17:28:26 2013 +0200
7218 configure.ac: Fix PYTHON_SO with Python3.3
7220 https://bugzilla.gnome.org/show_bug.cgi?id=696646
7222 configure.ac | 5 ++++-
7223 1 file changed, 4 insertions(+), 1 deletion(-)
7225 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
7226 Author: Daniel Drake <dsd@laptop.org>
7227 Date: Mon Mar 18 14:13:37 2013 -0600
7229 Simplify registration of custom types
7231 Use custom quark data to track Python created GTypes.
7233 Remove previous mechanism to track registration of python-implemented
7234 GTypes as it was unused (no custom registration was ever tracked).
7236 Leave vtable pointer and set to NULL to avoid an ABI break.
7238 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7240 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7242 gi/_gobject/gobjectmodule.c | 11 +++++--
7243 gi/_gobject/pygobject-private.h | 8 ++---
7244 gi/_gobject/pygobject.c | 8 ++---
7245 gi/_gobject/pygobject.h | 9 +++---
7246 gi/_gobject/pygtype.c | 69
7247 +++--------------------------------------
7248 5 files changed, 22 insertions(+), 83 deletions(-)
7250 commit 50702a09344825e3a8aa54365d78de807f989d88
7251 Author: Christoph Reiter <reiter.christoph@gmail.com>
7252 Date: Sat Apr 13 16:04:17 2013 +0200
7254 pygi-convert.sh: Add GStreamer rules
7256 https://bugzilla.gnome.org/show_bug.cgi?id=697951
7258 pygi-convert.sh | 17 +++++++++++++++++
7259 1 file changed, 17 insertions(+)
7261 commit b289176e6b37cb2825bd555cea019b85b68d5c57
7262 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
7263 Date: Sun Mar 10 15:04:40 2013 +0200
7265 pygi-convert: Add rule for TreeModelFlags
7267 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7269 pygi-convert.sh | 1 +
7270 1 file changed, 1 insertion(+)
7272 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
7273 Author: Simon Feltman <sfeltman@src.gnome.org>
7274 Date: Fri Mar 29 03:20:44 2013 -0700
7276 Unify interface struct to Python GI marshaling code
7278 Add pygi_marshal_to_py_interface_struct used for direct gi method
7279 call out args and vfunc in args.
7281 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7283 gi/pygi-argument.c | 72 ++++++-------------------------
7284 gi/pygi-marshal-to-py.c | 112
7285 +++++++++++++++++++++++++++++-------------------
7286 gi/pygi-marshal-to-py.h | 8 ++++
7287 3 files changed, 91 insertions(+), 101 deletions(-)
7289 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
7290 Author: Simon Feltman <sfeltman@src.gnome.org>
7291 Date: Thu Mar 28 22:41:51 2013 -0700
7293 Unify Python interface struct to GI marshaling code
7295 Add pygi_marshal_from_py_interface_struct used for direct gi method
7296 call in args and vfunc out args.
7298 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7300 gi/pygi-argument.c | 75 +++++++--------------
7301 gi/pygi-cache.c | 12 +---
7302 gi/pygi-marshal-from-py.c | 167
7303 +++++++++++++++++++++++++++++-----------------
7304 gi/pygi-marshal-from-py.h | 11 +++
7305 4 files changed, 141 insertions(+), 124 deletions(-)
7307 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
7308 Author: Simon Feltman <sfeltman@src.gnome.org>
7309 Date: Thu Mar 28 06:17:15 2013 -0700
7311 Unify Python float and double to GI marshaling code
7313 Change _pygi_argument_from_object to use the cachers marshalers
7314 (_pygi_marshal_from_py_float/double) directly instead of keeping a
7316 Refactor _pygi_marshal_from_py_float/double to use a common utility
7317 _pygi_py_arg_to_double for initial error checking and conversion.
7319 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7321 gi/pygi-argument.c | 26 ++++----------------------
7322 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
7323 2 files changed, 24 insertions(+), 44 deletions(-)
7325 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
7326 Author: Simon Feltman <sfeltman@src.gnome.org>
7327 Date: Thu Mar 28 05:29:08 2013 -0700
7329 Unify filename to Python GI marshaling code
7331 Change _pygi_argument_to_object to use the cachers marshaler
7332 (_pygi_marshal_to_py_filename) directly instead of keeping a
7335 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7337 gi/pygi-argument.c | 22 ++--------------------
7338 gi/pygi-marshal-to-py.c | 6 ++----
7339 2 files changed, 4 insertions(+), 24 deletions(-)
7341 commit 54aa043d96deb02589e13042a46917405ca53780
7342 Author: Simon Feltman <sfeltman@src.gnome.org>
7343 Date: Thu Mar 28 05:20:00 2013 -0700
7345 Unify utf8 to Python GI marshaling code
7347 Change _pygi_argument_to_object to use the cachers marshaler
7348 (_pygi_marshal_to_py_utf8) directly instead of keeping a
7351 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7353 gi/pygi-argument.c | 11 ++++-------
7354 gi/pygi-marshal-to-py.c | 4 +---
7355 2 files changed, 5 insertions(+), 10 deletions(-)
7357 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
7358 Author: Simon Feltman <sfeltman@src.gnome.org>
7359 Date: Thu Mar 28 05:10:45 2013 -0700
7361 Unify unichar to Python GI marshaling code
7363 Change _pygi_argument_to_object to use the cachers marshaler
7364 (_pygi_marshal_to_py_unichar) directly instead of keeping a
7367 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7369 gi/pygi-argument.c | 19 ++-----------------
7370 1 file changed, 2 insertions(+), 17 deletions(-)
7372 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
7373 Author: Simon Feltman <sfeltman@src.gnome.org>
7374 Date: Sat Feb 16 19:49:59 2013 -0800
7376 Unify Python unicode to filename GI marshaling code
7378 Change _pygi_argument_from_object to use the cachers marshaler
7379 (_pygi_marshal_from_py_filename) directly instead of keeping a
7382 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7384 gi/pygi-argument.c | 30 ++----------------------------
7385 1 file changed, 2 insertions(+), 28 deletions(-)
7387 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
7388 Author: Simon Feltman <sfeltman@src.gnome.org>
7389 Date: Sat Feb 16 19:32:54 2013 -0800
7391 Unify Python unicode to utf8 GI marshaling code
7393 Change _pygi_argument_from_object to use the cachers marshaler
7394 (_pygi_marshal_from_py_utf8) directly instead of keeping a
7397 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7399 gi/pygi-argument.c | 32 ++------------------------------
7400 1 file changed, 2 insertions(+), 30 deletions(-)
7402 commit e253c73335fccabc61e0329f8528a90f79858c67
7403 Author: Simon Feltman <sfeltman@src.gnome.org>
7404 Date: Sat Feb 16 19:16:43 2013 -0800
7406 Unify Python unicode to unichar GI marshaling code
7408 Change _pygi_argument_from_object to use the cachers marshaler
7409 (_pygi_marshal_from_py_unichar) directly instead of keeping a
7412 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7414 gi/pygi-argument.c | 34 ++--------------------------------
7415 gi/pygi-marshal-from-py.c | 9 +++++++++
7416 2 files changed, 11 insertions(+), 32 deletions(-)
7418 commit 216caf590b262fed40d10bb34d020089d1197160
7419 Author: Simon Feltman <sfeltman@src.gnome.org>
7420 Date: Thu Apr 4 15:57:12 2013 -0700
7422 Fix enum and flags marshaling type assumptions
7424 Replace assignments of GFlags and GEnum values to various GIArgument
7425 members with v_uint and v_int respectively.
7427 gi/pygi-argument.c | 6 +++---
7428 gi/pygi-property.c | 4 ++--
7429 2 files changed, 5 insertions(+), 5 deletions(-)
7431 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
7432 Author: Christoph Reiter <reiter.christoph@gmail.com>
7433 Date: Thu Apr 4 10:08:38 2013 +0200
7435 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
7437 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
7439 m4/python.m4 | 4 ++--
7440 1 file changed, 2 insertions(+), 2 deletions(-)
7442 commit f82f755a0f419539c223e4a74e33145726c6e69f
7443 Author: Christoph Reiter <reiter.christoph@gmail.com>
7444 Date: Thu Apr 4 09:05:48 2013 +0200
7446 Use distutils.sysconfig to retrieve the python include path.
7448 https://bugzilla.gnome.org/show_bug.cgi?id=696648
7450 m4/python.m4 | 8 ++------
7451 1 file changed, 2 insertions(+), 6 deletions(-)
7453 commit cf81dd66e6387bf27122a71176e91ca39beb6519
7454 Author: Martin Pitt <martinpitt@gnome.org>
7455 Date: Thu Apr 4 06:47:56 2013 +0200
7457 Use g_strdup() consistently
7459 https://bugzilla.gnome.org/show_bug.cgi?id=696650
7461 gi/pygi-marshal-from-py.c | 2 +-
7462 1 file changed, 1 insertion(+), 1 deletion(-)
7464 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
7465 Author: Christoph Reiter <reiter.christoph@gmail.com>
7466 Date: Tue Mar 26 16:03:59 2013 +0100
7468 Support PEP 3149 (ABI version tagged .so files)
7470 Add a ABI suffix to the shared library retrieved from
7472 instead of hardcoding it. This should also make things more robust
7475 https://bugzilla.gnome.org/show_bug.cgi?id=696646
7477 configure.ac | 3 +++
7478 gi/Makefile.am | 14 +++++++-------
7479 gi/_glib/Makefile.am | 14 +++++++-------
7480 gi/_gobject/Makefile.am | 14 +++++++-------
7481 4 files changed, 24 insertions(+), 21 deletions(-)
7483 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
7484 Author: Simon Feltman <sfeltman@src.gnome.org>
7485 Date: Sun Mar 31 01:32:34 2013 -0700
7487 Fix stack corruption due to incorrect format for argument parser
7489 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
7490 of "l" meaning long (8 bytes) in combination with an output pointer
7491 of guint (4 bytes). Change to use gulong with a format of "k".
7493 https://bugzilla.gnome.org/show_bug.cgi?id=696892
7495 gi/_gobject/pygflags.c | 4 ++--
7496 1 file changed, 2 insertions(+), 2 deletions(-)
7498 commit 48e52210ece0e144b4c959e773ea542a912358e7
7499 Author: Simon Feltman <sfeltman@src.gnome.org>
7500 Date: Thu Mar 7 00:26:37 2013 -0800
7502 Deprecate GLib and GObject threads_init
7504 Remove a handful of Python threading related helper functions
7505 from pyglib and pygobject. The binding internals required
7506 GLib.threads_init to be called for PyGObject to work with
7507 Python threads. This was removed as it should not be a requirement.
7508 Using the Python threading module already initializes threading
7509 for us (PyEval_InitThreads).
7511 https://bugzilla.gnome.org/show_bug.cgi?id=686914
7513 gi/_glib/glibmodule.c | 16 --------
7514 gi/_glib/pyglib.c | 94
7515 ---------------------------------------------
7516 gi/_glib/pyglib.h | 28 +++++++-------
7517 gi/_gobject/gobjectmodule.c | 31 ++++-----------
7518 gi/overrides/GLib.py | 8 +++-
7519 gi/overrides/GObject.py | 2 +-
7520 6 files changed, 28 insertions(+), 151 deletions(-)
7522 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
7523 Author: Martin Pitt <martinpitt@gnome.org>
7524 Date: Mon Mar 25 09:03:51 2013 +0100
7526 Drop support for Python 2.6
7528 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
7530 this unblocks e. g. GNOME #682320.
7532 Drop usage of PyCObject_* (which has been superseded by PyCapsule
7534 and drop Python 2.6 specific workarounds.
7537 gi/_glib/pyglib-python-compat.h | 20 ------------------
7538 gi/_gobject/pygobject.h | 6 ------
7541 tests/runtests.py | 45
7542 +----------------------------------------
7543 tests/test_gobject.py | 1 -
7544 tests/test_signal.py | 4 ----
7545 8 files changed, 3 insertions(+), 81 deletions(-)
7547 commit 56347953abb1e214817186581eaf2b2d8762cf97
7548 Author: Martin Pitt <martinpitt@gnome.org>
7549 Date: Wed Oct 24 16:43:25 2012 +0200
7551 Remove static PollFD bindings
7553 Use the GLib API through GI instead, and provide an override to keep a
7554 backwards compatible constructor syntax.
7556 https://bugzilla.gnome.org/show_bug.cgi?id=686795
7558 gi/_glib/Makefile.am | 2 --
7559 gi/_glib/glibmodule.c | 2 --
7560 gi/_glib/pygsource.c | 98
7561 ---------------------------------------------------
7562 gi/_glib/pygsource.h | 36 -------------------
7563 gi/overrides/GLib.py | 17 +++++++--
7564 5 files changed, 15 insertions(+), 140 deletions(-)
7566 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
7567 Author: Martin Pitt <martinpitt@gnome.org>
7568 Date: Mon Mar 25 08:44:24 2013 +0100
7570 Drop test skipping due to too old g-i
7572 We depend on gobject-introspection 1.35.9 now, which has all this API.
7574 tests/test_gi.py | 24 ------------------------
7575 tests/test_object_marshaling.py | 14 --------------
7576 2 files changed, 38 deletions(-)
7578 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
7579 Author: Martin Pitt <martinpitt@gnome.org>
7580 Date: Mon Mar 25 08:37:37 2013 +0100
7582 Bump glib and g-i dependencies
7584 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
7586 versions. This allows us to drop the conditional test suite skips
7588 static PollFD bindings.
7590 configure.ac | 6 +++---
7591 1 file changed, 3 insertions(+), 3 deletions(-)
7593 commit 252556d044322207429c0d0c269365f48e4d819a
7594 Author: Martin Pitt <martinpitt@gnome.org>
7595 Date: Mon Mar 25 08:43:53 2013 +0100
7597 configure.ac: post-release version bump to 3.9.1
7599 configure.ac | 4 ++--
7600 1 file changed, 2 insertions(+), 2 deletions(-)
7602 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
7603 Author: Martin Pitt <martinpitt@gnome.org>
7604 Date: Mon Mar 25 08:12:10 2013 +0100
7609 1 file changed, 4 insertions(+)
7611 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
7612 Author: Simon Feltman <sfeltman@src.gnome.org>
7613 Date: Wed Mar 20 23:45:01 2013 -0700
7615 tests: Fix incorrect assumption when testing pyglib version
7617 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
7618 value that can be used for a future proof unittest here.
7620 tests/test_glib.py | 4 ++--
7621 1 file changed, 2 insertions(+), 2 deletions(-)
7623 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
7624 Author: Martin Pitt <martinpitt@gnome.org>
7625 Date: Mon Mar 18 14:02:29 2013 +0100
7627 configure.ac: post-release bump to 3.8.0
7629 configure.ac | 4 ++--
7630 1 file changed, 2 insertions(+), 2 deletions(-)
7632 commit defbd63e95faafaa84230f160bc95dad0f55e37d
7633 Author: Martin Pitt <martinpitt@gnome.org>
7634 Date: Mon Mar 18 14:01:05 2013 +0100
7638 NEWS | 18 ++++++++++++++++++
7639 1 file changed, 18 insertions(+)
7641 commit a0844a896603c5c91bed24cf94106765f0ced74e
7642 Author: Simon Feltman <sfeltman@src.gnome.org>
7643 Date: Sun Mar 17 23:22:38 2013 -0700
7645 Fix stack smasher when marshaling enums as a vfunc return value
7647 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
7648 flag types. Default interfaces to marshal as a pointer.
7649 Add explicit cases for GType and Unichar out/return marshaling.
7650 Fix leaking of GIBaseInfo when marshaling interface as out arg.
7652 https://bugzilla.gnome.org/show_bug.cgi?id=637832
7654 gi/pygi-closure.c | 69
7655 ++++++++++++++++++++++++++++++++++++++++++++++---------
7656 tests/test_gi.py | 19 +++++++++++++++
7657 2 files changed, 77 insertions(+), 11 deletions(-)
7659 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
7660 Author: Simon Feltman <sfeltman@src.gnome.org>
7661 Date: Sun Mar 17 15:37:09 2013 -0700
7663 Change base class of PyGIDeprecationWarning based on minor version
7665 Use RuntimeWarning as the base class of PyGIDeprecationWarning
7666 for unstable (odd minor version) and use DeprecationWarning for
7667 stable (even minor version). This is so PyGObject deprecations
7668 behave the same as regular Python deprecations in stable releases.
7670 https://bugzilla.gnome.org/show_bug.cgi?id=696011
7672 gi/__init__.py | 14 +++++++++++---
7673 1 file changed, 11 insertions(+), 3 deletions(-)
7675 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
7676 Author: Alban Browaeys <prahal@yahoo.com>
7677 Date: Thu Feb 28 18:57:21 2013 +0100
7679 autogen.sh: Source gnome-autogen to fix out of source builddir
7681 https://bugzilla.gnome.org/show_bug.cgi?id=694889
7684 1 file changed, 1 insertion(+), 1 deletion(-)
7686 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
7687 Author: Martin Pitt <martinpitt@gnome.org>
7688 Date: Tue Mar 5 12:22:15 2013 +0100
7690 Add 3.7.91.1 NEWS entry
7692 Forgot to push this back then.
7695 1 file changed, 3 insertions(+)
7697 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
7698 Author: Simon Feltman <sfeltman@src.gnome.org>
7699 Date: Sun Mar 17 04:19:57 2013 -0700
7701 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
7703 Make get_geometry return a tuple of (x, y, width, height, depth)
7704 as it did in pygtk 2.
7705 Update pygtkcompat.enable_gtk() to default to version 3.0 because
7706 version 2.0 core dumps trying to use introspection with gtk 2.
7708 pygtkcompat/pygtkcompat.py | 8 +++++++-
7709 1 file changed, 7 insertions(+), 1 deletion(-)
7711 commit 38683f721c33cc35f0260868e58643fd35f04cbe
7712 Author: Simon Feltman <sfeltman@src.gnome.org>
7713 Date: Sun Mar 17 02:08:03 2013 -0700
7715 testhelpermodule: Fix build warning for PyGObject_Type redefinition
7717 Remove dynamic retrieval of PyGObject_Type as it is available
7718 in pygobject.h since commit 2656bc47 (causing this compile warning)
7720 tests/testhelpermodule.c | 14 +-------------
7721 1 file changed, 1 insertion(+), 13 deletions(-)
7723 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
7724 Author: Simon Feltman <sfeltman@src.gnome.org>
7725 Date: Sun Mar 17 01:51:33 2013 -0700
7727 pygtkcompat: Initialize hint to zero in set_geometry_hints
7729 pygtkcompat/pygtkcompat.py | 2 +-
7730 1 file changed, 1 insertion(+), 1 deletion(-)
7732 commit 471204953d6fc93b3d311afd133d40f7d75ec541
7733 Author: Simon Feltman <sfeltman@src.gnome.org>
7734 Date: Fri Mar 15 04:33:22 2013 -0700
7736 Remove incorrect bounds check with property helper flags
7738 Remove bounds check for flags as it is not necessary for the
7739 helper to make these kind of judgement calls in general.
7740 e.g. leave it to marshaling/internals to complain about potential
7741 problems. The flags were being bounds checked to a maximum
7742 value of 32 (the intention was most likely to limit it to 32 bits).
7744 gi/_gobject/propertyhelper.py | 3 ---
7745 tests/test_properties.py | 1 -
7746 2 files changed, 4 deletions(-)
7748 commit 2656bc47ca1219b329066da1c2c58018ae624866
7749 Author: Simon Feltman <sfeltman@src.gnome.org>
7750 Date: Thu Mar 7 18:07:17 2013 -0800
7752 Fix crash when setting property of type object to an incorrect type
7754 Add type check when marshaling an object from Python for GObject
7756 Add PyGObject_Type as part of the pygobject API to check for this.
7758 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7760 gi/_gobject/gobjectmodule.c | 3 ++-
7761 gi/_gobject/pygobject.h | 2 ++
7762 gi/pygi-marshal-from-py.c | 8 ++++++++
7763 tests/test_object_marshaling.py | 4 ++++
7764 4 files changed, 16 insertions(+), 1 deletion(-)
7766 commit 44587f42224a44a480629223c8d78a426bc32a12
7767 Author: Simon Feltman <sfeltman@src.gnome.org>
7768 Date: Thu Mar 7 17:59:02 2013 -0800
7770 Remove skipping of object property tests
7772 These were showing up as unexpected successes now that bug 675726
7775 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7777 tests/test_object_marshaling.py | 7 ++-----
7778 1 file changed, 2 insertions(+), 5 deletions(-)
7780 commit 10214ba2d96fd6d66eeea159219f585abff8632a
7781 Author: Simon Feltman <sfeltman@src.gnome.org>
7782 Date: Thu Mar 7 15:34:49 2013 -0800
7784 Give more informative error when setting property to incorrect type
7786 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7788 gi/_gobject/pygobject.c | 10 ++++++++--
7789 1 file changed, 8 insertions(+), 2 deletions(-)
7791 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
7792 Author: Martin Pitt <martinpitt@gnome.org>
7793 Date: Tue Mar 5 12:04:55 2013 +0100
7795 Revert "Drop gi.overrides.overridefunc()"
7797 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
7799 like GEdit plugins use @overrides for functions as well, we must
7803 https://bugzilla.gnome.org/show_bug.cgi?id=695199
7805 gi/overrides/Gtk.py | 7 ++++---
7806 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
7807 2 files changed, 26 insertions(+), 5 deletions(-)
7809 commit 862de794bf01a66aa6d796c674bce375cad37ba7
7810 Author: Martin Pitt <martinpitt@gnome.org>
7811 Date: Mon Mar 4 17:33:51 2013 +0100
7813 configure.ac: Post-release bump to 3.7.92
7816 1 file changed, 1 insertion(+), 1 deletion(-)
7818 commit bb12e652d661cf6ce931b44a89c11951894101bf
7819 Author: Martin Pitt <martinpitt@gnome.org>
7820 Date: Mon Mar 4 17:27:50 2013 +0100
7824 NEWS | 33 +++++++++++++++++++++++++++++++++
7825 1 file changed, 33 insertions(+)
7827 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
7828 Author: Martin Pitt <martinpitt@gnome.org>
7829 Date: Mon Mar 4 17:16:22 2013 +0100
7831 Dot not clobber original Gdk/Gtk functions with overrides
7833 https://bugzilla.gnome.org/show_bug.cgi?id=686835
7835 gi/overrides/Gdk.py | 3 ++-
7836 gi/overrides/Gtk.py | 3 ++-
7837 2 files changed, 4 insertions(+), 2 deletions(-)
7839 commit d50d16428edf42799489fe1befbc4ce56f0fa181
7840 Author: Martin Pitt <martinpitt@gnome.org>
7841 Date: Mon Mar 4 15:30:31 2013 +0100
7843 tests: Reorganize GError and GClosure tests
7845 Split TestGClosure.test_gclosure_in() into its three components.
7847 Merge the various TestGError* classes into one, to match the structure
7851 tests/test_gi.py | 59
7852 +++++++++++++++++++++++++-------------------------------
7853 1 file changed, 26 insertions(+), 33 deletions(-)
7855 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
7856 Author: Martin Pitt <martinpitt@gnome.org>
7857 Date: Mon Mar 4 15:16:25 2013 +0100
7859 Fix memory leaks in property setting/getting
7861 Do not leak GValues and string arrays, free them properly. As we
7863 the intermediate GValues, use g_value_dup_boxed() instead of
7864 g_value_get_boxed() when appropriate.
7866 Detected by test_gi.TestPropertiesObject.test_strv test case.
7868 gi/pygi-property.c | 21 ++++++++++++++++-----
7869 1 file changed, 16 insertions(+), 5 deletions(-)
7871 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
7872 Author: Martin Pitt <martinpitt@gnome.org>
7873 Date: Mon Mar 4 12:43:24 2013 +0100
7875 Fix memory leak in pyg_flags_get_value_nicks()
7877 Discovered by test_gi.TestKeywords.test_uppercase() test.
7879 gi/_gobject/pygflags.c | 7 +++++--
7880 1 file changed, 5 insertions(+), 2 deletions(-)
7882 commit 002a834dd993b82508a4fe262269befcf1a6d341
7883 Author: Martin Pitt <martinpitt@gnome.org>
7884 Date: Mon Mar 4 12:10:03 2013 +0100
7886 Fix memory leak in _pygi_argument_to_array()
7888 Free the originally allocated GArray data before setting it to
7892 Discovered by test_gi.TestStructure.test_boxed_struct_return test
7895 gi/pygi-argument.c | 1 +
7896 1 file changed, 1 insertion(+)
7898 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
7899 Author: Martin Pitt <martinpitt@gnome.org>
7900 Date: Mon Mar 4 10:19:34 2013 +0100
7902 Fix leaking inout C arrays
7904 g_*_info_invoke() changes the original state->in_args and state->args
7906 to the output values for (inout) arguments, thus losing the pointer
7908 originally allocated array. Remember that in state->args_data,
7910 free it in _pygi_marshal_cleanup_from_py_array().
7912 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
7914 gi/pygi-marshal-cleanup.c | 6 ++++++
7915 gi/pygi-marshal-from-py.c | 4 ++++
7916 2 files changed, 10 insertions(+)
7918 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
7919 Author: Martin Pitt <martinpitt@gnome.org>
7920 Date: Fri Mar 1 15:12:31 2013 +0100
7922 Fix leak in _PyGI_ERROR_PREFIX()
7924 Properly clean up our allocated py_error_prefix string.
7926 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
7928 gi/pygi-private.h | 1 +
7929 1 file changed, 1 insertion(+)
7931 commit b388c3e87ce86d26560337c88eb33d0a95647db8
7932 Author: Martin Pitt <martinpitt@gnome.org>
7933 Date: Fri Mar 1 15:01:06 2013 +0100
7935 Fix leaking of boxed array elements
7937 Commit 631d8ef879a copies struct array elements, but this needlessly
7939 and leaks the array element for boxed types. So only do it for
7942 This fixes the memory leak with
7943 test_gi.TestGValue.test_gvalue_flat_array_out.
7945 https://bugzilla.gnome.org/show_bug.cgi?id=693402
7947 gi/pygi-marshal-to-py.c | 3 ++-
7948 1 file changed, 2 insertions(+), 1 deletion(-)
7950 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
7951 Author: Martin Pitt <martinpitt@gnome.org>
7952 Date: Fri Mar 1 14:04:34 2013 +0100
7954 Drop gi.overrides.overridefunc()
7956 This just adds an unnecessary extra function call and is not really
7958 Drop it from the only remaining function which uses this
7960 drop overridefunc().
7962 https://bugzilla.gnome.org/show_bug.cgi?id=686835
7964 gi/overrides/Gtk.py | 7 +++----
7965 gi/overrides/__init__.py | 24 ++----------------------
7966 2 files changed, 5 insertions(+), 26 deletions(-)
7968 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
7969 Author: Martin Pitt <martinpitt@gnome.org>
7970 Date: Fri Mar 1 14:02:02 2013 +0100
7972 Add some tests for overridden Gdk/Gtk functions
7974 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
7976 have overrides for them.
7978 tests/test_overrides_gdk.py | 7 +++++++
7979 tests/test_overrides_gtk.py | 15 +++++++++++++++
7980 2 files changed, 22 insertions(+)
7982 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
7983 Author: Martin Pitt <martinpitt@gnome.org>
7984 Date: Fri Mar 1 11:10:01 2013 +0100
7986 Fix GLib.Source ref leak upon destruction
7988 In GLib.Source.__del__(), manually unref the source if we are a
7990 As we use a static binding to create it, the GI part won't unref it
7992 leading to finalize() method not being called and the GSource
7995 https://bugzilla.gnome.org/show_bug.cgi?id=510511
7997 gi/overrides/GLib.py | 4 ++++
7998 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
7999 2 files changed, 35 insertions(+)
8001 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
8002 Author: Martin Pitt <martinpitt@gnome.org>
8003 Date: Thu Feb 28 15:08:56 2013 +0100
8005 Add performance test for Gtk.ListStore.append
8007 We are going to optimize this in various ways, so let's measure it.
8009 tests/test_overrides_gtk.py | 14 ++++++++++++++
8010 1 file changed, 14 insertions(+)
8012 commit b1ff74b085bdca72c272f019be4dd387073a991a
8013 Author: Simon Feltman <sfeltman@src.gnome.org>
8014 Date: Thu Feb 28 04:32:30 2013 -0800
8016 Optimize GValue.get/set_value by setting GValue.g_type to a local
8018 This increases performance by a factor of 2x for types later
8021 https://bugzilla.gnome.org/show_bug.cgi?id=694857
8023 gi/overrides/GObject.py | 98
8024 +++++++++++++++++++++++++------------------------
8025 1 file changed, 51 insertions(+), 47 deletions(-)
8027 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
8028 Author: Martin Pitt <martinpitt@gnome.org>
8029 Date: Thu Feb 28 11:43:47 2013 +0100
8031 Fix leak of caller-allocated boxed values
8033 Add a new "allocated_slice" argument to _pygi_boxed_new() which
8035 whether its "boxed" pointer was allocated using a slice (by giving
8037 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
8041 Use this in _pygi_marshal_to_py_interface_struct() for
8042 caller-allocated boxed
8043 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
8045 which would otherwise leak.
8047 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
8049 https://bugzilla.gnome.org/show_bug.cgi?id=691501
8051 gi/gimodule.c | 2 +-
8052 gi/pygi-argument.c | 2 +-
8053 gi/pygi-boxed.c | 14 ++++++++++----
8054 gi/pygi-boxed.h | 3 ++-
8055 gi/pygi-marshal-to-py.c | 6 ++++--
8056 gi/pygi-source.c | 3 ++-
8057 6 files changed, 20 insertions(+), 10 deletions(-)
8059 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
8060 Author: Martin Pitt <martinpitt@gnome.org>
8061 Date: Thu Feb 28 10:48:18 2013 +0100
8063 Fix memory handling of caller-allocated boxed types
8065 _pygi_marshal_to_py_interface_struct() and other places treat
8067 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
8068 _caller_alloc() and _cleanup_caller_allocates() to consider
8070 subtypes as well and use the slice allocator instead of malloc()'ing
8072 This avoids trying to free an malloc'ed struct with g_slice_free()
8074 cleans up the boxed values.
8076 The leak was produced with:
8078 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
8079 --leak-check=full --show-possibly-lost=no \
8080 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
8081 (s,e) = b.get_bounds()'
8083 gi/pygi-invoke.c | 2 +-
8084 gi/pygi-marshal-cleanup.c | 2 +-
8085 2 files changed, 2 insertions(+), 2 deletions(-)
8087 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
8088 Author: Martin Pitt <martinpitt@gnome.org>
8089 Date: Wed Feb 27 23:21:34 2013 +0100
8091 Fix cleanup of GValue arrays
8093 Commit bc1fd8 introduced a thinko: We must not change
8094 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
8096 change, and instead put the hack into
8097 _pygi_marshal_cleanup_from_py_array(),
8098 which now short-circuits
8099 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
8100 trying to release a slice which has never been allocated in
8101 _pygi_marshal_from_py_array().
8103 https://bugzilla.gnome.org/show_bug.cgi?id=672224
8105 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
8106 gi/pygi-marshal-from-py.c | 10 +++-------
8107 2 files changed, 13 insertions(+), 8 deletions(-)
8109 commit 70118c3840b10e1585d066a4be485c097cd23e99
8110 Author: Martin Pitt <martinpitt@gnome.org>
8111 Date: Wed Feb 27 21:52:43 2013 +0100
8113 Revert "Mark caller-allocated boxed structures as having a slice
8116 This is wrong after all, as it sets slice_allocated to TRUE, but
8118 corresponding size. Also, poking in internal fields from that place
8120 this should rather be fixed in gi/pygi-marshal-cleanup.c
8121 _cleanup_caller_allocates().
8123 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
8125 gi/pygi-marshal-to-py.c | 4 +---
8126 1 file changed, 1 insertion(+), 3 deletions(-)
8128 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
8129 Author: Martin Pitt <martinpitt@gnome.org>
8130 Date: Wed Feb 27 21:51:30 2013 +0100
8132 Run tests with G_SLICE=debug_blocks
8134 This will help finding regressions in slice management, like in
8135 https://bugzilla.gnome.org/show_bug.cgi?id=691501
8137 tests/Makefile.am | 3 ++-
8138 1 file changed, 2 insertions(+), 1 deletion(-)
8140 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
8141 Author: Martin Pitt <martinpitt@gnome.org>
8142 Date: Wed Feb 27 18:30:23 2013 +0100
8144 Add override helper for stripping boolean returns
8146 Introduce a gi.overrides.strip_boolean_result() helper which checks
8148 return value and if True, return the remaining arguments, otherwise
8150 default. This pattern is being used by a lot of overrides, which get
8151 significantly smaller and more consistent that way.
8153 https://bugzilla.gnome.org/show_bug.cgi?id=694431
8155 gi/overrides/Gdk.py | 27 +-------
8156 gi/overrides/Gtk.py | 156
8157 +++++++++--------------------------------------
8158 gi/overrides/__init__.py | 22 +++++++
8159 3 files changed, 53 insertions(+), 152 deletions(-)
8161 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
8162 Author: Martin Pitt <martinpitt@gnome.org>
8163 Date: Wed Feb 27 15:39:23 2013 +0100
8165 Drop obsolete pygobject_register_sinkfunc() declaration
8167 There is no definition for this any more, nor is it being used
8170 https://bugzilla.gnome.org/show_bug.cgi?id=639849
8172 gi/_gobject/pygobject-private.h | 2 --
8173 1 file changed, 2 deletions(-)
8175 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
8176 Author: Martin Pitt <martinpitt@gnome.org>
8177 Date: Wed Feb 27 13:41:55 2013 +0100
8179 Fix marshalling of C arrays with explicit length in signal arguments
8181 We need _pygi_argument_to_array() from both closure marshalling
8183 the arguments as GIArgument array) and signal closure marshalling
8185 have the arguments in a GValue array). Add an alternative
8187 parameter to _pygi_argument_to_array() so that callers can specify
8189 other depending on which type they have available.
8191 This allows us to pass on the full argument list for signal closures,
8193 _pygi_argument_to_array() can access the explicit length argument
8197 This fixes the GSettings:change-event signal.
8199 https://bugzilla.gnome.org/show_bug.cgi?id=662241
8201 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
8202 gi/pygi-argument.h | 1 +
8203 gi/pygi-closure.c | 2 +-
8204 gi/pygi-info.c | 4 ++--
8205 gi/pygi-signal-closure.c | 3 ++-
8206 tests/test_gio.py | 18 ++++++++++++++++++
8207 6 files changed, 52 insertions(+), 12 deletions(-)
8209 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
8210 Author: Martin Pitt <martinpitt@gnome.org>
8211 Date: Wed Feb 27 08:07:20 2013 +0100
8213 Fix signedness, overflow checking, and 32 bit overflow of GFlags
8215 GFlagsValue.value is a guint, so we must access it as unsigned
8217 new macros PYGLIB_PyLong_FromUnsignedLong() and
8218 PYGLIB_PyLong_AsUnsignedLong()
8219 for that purpose, and consistently use them for handling flag
8221 checked variant of these functions which produce OverflowErrors
8223 of the unchecked PYGLIB_PyLong_AS_LONG().
8225 Insert zero padding after the PyLongObject in PyGFlags and
8227 this, the directly adjacent GType field seems to confuse
8228 PyLong_FromUnsignedLong() and includes the GType into the numeric
8231 https://bugzilla.gnome.org/show_bug.cgi?id=693121
8233 gi/_glib/pyglib-python-compat.h | 8 +++++++
8234 gi/_gobject/gobjectmodule.c | 2 +-
8235 gi/_gobject/pygflags.c | 52
8236 +++++++++++++++++++++++++----------------
8237 gi/_gobject/pygobject-private.h | 10 ++++----
8238 gi/_gobject/pygobject.h | 4 ++--
8239 gi/_gobject/pygtype.c | 6 ++---
8240 tests/test_overrides_gdk.py | 15 ++++++++++++
8241 7 files changed, 67 insertions(+), 30 deletions(-)
8243 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
8244 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8245 Date: Tue Feb 26 16:15:36 2013 +0800
8247 gi/pygi-marshal-from-py.c: Fix build on Visual C++
8249 Since Visual C++ does not provide the INFINITY and NAN constants
8251 math.h (they are items defined by C99), provide fallback
8253 for it here. The INFINITY constant can be provided with HUGE_VAL,
8255 we are using INFINITY to check the value of a variable of double
8257 we could use a rather simple workaround for NAN.
8259 Also avoid declaring variables in the middle of the block.
8261 https://bugzilla.gnome.org/show_bug.cgi?id=692856
8263 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
8264 1 file changed, 18 insertions(+), 1 deletion(-)
8266 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
8267 Author: Martin Pitt <martinpitt@gnome.org>
8268 Date: Tue Feb 26 16:42:19 2013 +0100
8270 Fix some style issues with previous patch
8272 gi/pygi-cache.c | 6 +++---
8273 1 file changed, 3 insertions(+), 3 deletions(-)
8275 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
8276 Author: Martin Pitt <martinpitt@gnome.org>
8277 Date: Tue Feb 26 10:15:22 2013 +0100
8279 Raise DeprecationWarning on deprecated callables
8281 Check if a callable is marked as deprecated and raise a
8282 DeprecationWarning in
8286 - Python hides DeprecationWarning by default, you need to enable
8288 - The deprecation message is currently not in the typelib (bug
8291 https://bugzilla.gnome.org/show_bug.cgi?id=665084
8293 gi/pygi-cache.c | 14 ++++++++++++++
8294 tests/test_gi.py | 10 ++++++++++
8295 2 files changed, 24 insertions(+)
8297 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
8298 Author: Simon Feltman <sfeltman@src.gnome.org>
8299 Date: Mon Feb 18 00:39:45 2013 -0800
8301 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
8303 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
8304 Add Gtk.Widget.window property which uses get_window()
8305 Add Gtk.TextView.scroll_to_mark with defaults
8306 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
8308 https://bugzilla.gnome.org/show_bug.cgi?id=694067
8310 gi/pygtkcompat.py | 2 ++
8311 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
8312 2 files changed, 16 insertions(+)
8314 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
8315 Author: Simon Feltman <sfeltman@src.gnome.org>
8316 Date: Sun Dec 16 02:56:06 2012 -0800
8318 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
8321 Monkey patch a keyword argument version of set_geometry_hints onto
8323 This version is compatible with pygtk and takes keywords instead of a
8324 Gdk.Geometry and Gdk.GeometryMask.
8326 https://bugzilla.gnome.org/show_bug.cgi?id=694067
8328 pygtkcompat/pygtkcompat.py | 44
8329 ++++++++++++++++++++++++++++++++++++++++++++
8330 1 file changed, 44 insertions(+)
8332 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
8333 Author: Martin Pitt <martinpitt@gnome.org>
8334 Date: Tue Feb 26 10:09:47 2013 +0100
8336 tests: Fix warning behaviour
8338 -Werror::* does not seem to do what it says on the tin, these
8340 ignored entirely apparently. Just keep -Wd to actually show all
8342 including DeprecationWarning, which is hidden by default.
8344 tests/Makefile.am | 2 +-
8345 1 file changed, 1 insertion(+), 1 deletion(-)
8347 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
8348 Author: Martin Pitt <martinpitt@gnome.org>
8349 Date: Tue Feb 26 08:49:10 2013 +0100
8351 Ship pygobject.doap for autogen.sh
8353 https://bugzilla.gnome.org/show_bug.cgi?id=694591
8356 1 file changed, 1 insertion(+)
8358 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
8359 Author: Simon Feltman <sfeltman@src.gnome.org>
8360 Date: Tue Feb 19 03:07:19 2013 -0800
8362 Fix crashes in various GObject signal handler functions
8364 Fix crashes in a large amount of signal handler functions exposed
8365 on the GObject module. This is possible now that the underlying
8366 GObject pointer is exposed to Python as a PyCapsule which marshaling
8367 can handle. The following functions in the GObject module have been
8370 signal_handler_unblock
8371 signal_handler_disconnect
8372 signal_handler_is_connected
8373 signal_stop_emission
8374 signal_stop_emission_by_name
8375 signal_has_handler_pending
8376 signal_connect_closure
8377 signal_connect_closure_by_id
8379 signal_handlers_destroy
8381 https://bugzilla.gnome.org/show_bug.cgi?id=633927
8383 gi/_gobject/gobjectmodule.c | 57 ++--------------
8384 gi/overrides/GObject.py | 158
8385 ++++++++++++++++++++++++++++++++++----------
8386 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
8387 3 files changed, 247 insertions(+), 89 deletions(-)
8389 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
8390 Author: Olivier Crête <olivier.crete@collabora.com>
8391 Date: Fri Sep 14 21:29:53 2012 -0400
8393 pygi-closure: Protect the GSList prepend with the GIL
8395 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8397 https://bugzilla.gnome.org/show_bug.cgi?id=684060
8399 gi/pygi-closure.c | 4 ++--
8400 1 file changed, 2 insertions(+), 2 deletions(-)
8402 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
8403 Author: Simon Feltman <sfeltman@src.gnome.org>
8404 Date: Wed Feb 20 01:21:32 2013 -0800
8406 generictreemodel: Fix bad default return type for get_column_type
8408 pygtkcompat/generictreemodel.py | 2 +-
8409 1 file changed, 1 insertion(+), 1 deletion(-)
8411 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
8412 Author: Martin Pitt <martinpitt@gnome.org>
8413 Date: Tue Feb 19 12:23:13 2013 +0100
8415 configure.ac: post-release bump to 3.7.91
8418 1 file changed, 1 insertion(+), 1 deletion(-)
8420 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
8421 Author: Martin Pitt <martinpitt@gnome.org>
8422 Date: Tue Feb 19 12:19:35 2013 +0100
8426 NEWS | 17 +++++++++++++++++
8428 2 files changed, 18 insertions(+), 1 deletion(-)
8430 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
8431 Author: Simon Feltman <sfeltman@src.gnome.org>
8432 Date: Mon Feb 18 01:46:22 2013 -0800
8434 overrides: Fix inconsistencies with drag and drop target list API
8436 Add support to Gtk.Widget.drag_dest_set_target_list and
8437 Gtk.Widget.drag_source_set_target_list to accept iterables containing
8438 mixed TargetEntry or a tuple of (target, flags, info).
8439 Add support to Gtk.TreeView.enable_model_drag_source and
8440 Gtk.TreeView.enable_model_drag_dest to accept a list of
8444 https://bugzilla.gnome.org/show_bug.cgi?id=680640
8446 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
8447 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
8448 2 files changed, 61 insertions(+), 11 deletions(-)
8450 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
8451 Author: Simon Feltman <sfeltman@src.gnome.org>
8452 Date: Mon Feb 18 03:19:34 2013 -0800
8454 tests: Add test_marshaling_object to Makefile.am
8456 tests/Makefile.am | 1 +
8457 1 file changed, 1 insertion(+)
8459 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
8460 Author: Simon Feltman <s.feltman@gmail.com>
8461 Date: Wed Aug 29 03:46:23 2012 -0700
8463 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
8465 Add Python implementation of the GenericTreeModel that was
8466 available in pygtk. The implementation attempts a better job
8467 than the original at ref counting by guaranteeing no leaks
8468 upon deletion of the model itself. Or by using the extra "node"
8469 argument to the row_deleted signal. The model is available in
8470 the pygtkcompat package directly as
8471 pygtkcompat.generictreemodel.GenericTreeModel or with as
8472 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
8474 Add file list and tree demos making use of GenericTreeModel
8477 Auto-expand gtk-demo app tree to give a better overview of
8478 the demos available.
8480 https://bugzilla.gnome.org/show_bug.cgi?id=682933
8482 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
8483 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
8484 demos/gtk-demo/gtk-demo.py | 2 +-
8485 gi/pygtkcompat.py | 2 +-
8486 pygtkcompat/Makefile.am | 1 +
8487 pygtkcompat/generictreemodel.py | 420
8488 +++++++++++++++++++++
8489 pygtkcompat/pygtkcompat.py | 3 +
8490 tests/Makefile.am | 1 +
8491 tests/test_generictreemodel.py | 406
8492 ++++++++++++++++++++
8493 9 files changed, 1346 insertions(+), 2 deletions(-)
8495 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
8496 Author: Simon Feltman <sfeltman@src.gnome.org>
8497 Date: Mon Feb 18 02:54:14 2013 -0800
8499 overrides: Add support for iterables besides tuples for TreePath
8502 Allow Gtk.TreePath to accept any iterable for creation of the path.
8504 https://bugzilla.gnome.org/show_bug.cgi?id=682933
8506 gi/overrides/Gtk.py | 2 +-
8507 1 file changed, 1 insertion(+), 1 deletion(-)
8509 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
8510 Author: Simon Feltman <sfeltman@src.gnome.org>
8511 Date: Fri Feb 15 22:56:29 2013 -0800
8513 Unify Python callable to GClosure GI marshaling code
8515 Add pygi_marshal_from_py_gclosure which can be used for direct
8517 call args and vfunc out args.
8519 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8521 gi/pygi-argument.c | 14 +-----------
8522 gi/pygi-marshal-from-py.c | 55
8523 ++++++++++++++++++++++++++++-------------------
8524 gi/pygi-marshal-from-py.h | 3 +++
8525 3 files changed, 37 insertions(+), 35 deletions(-)
8527 commit 9e47afe459df942d9ffc4f71b39f1443976293df
8528 Author: Simon Feltman <sfeltman@src.gnome.org>
8529 Date: Fri Feb 15 20:56:12 2013 -0800
8531 Unify Python object to GValue GI marshaling code
8533 Add pygi_marshal_from_py_g_value which can be used for direct
8535 call args and vfunc out args. The new method also adds an
8537 parameter that will be used to fix leaks in the future.
8539 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8541 gi/pygi-argument.c | 43 +++++++--------------------
8542 gi/pygi-marshal-from-py.c | 74
8543 ++++++++++++++++++++++++++++++++---------------
8544 gi/pygi-marshal-from-py.h | 5 ++++
8545 3 files changed, 65 insertions(+), 57 deletions(-)
8547 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
8548 Author: Simon Feltman <sfeltman@src.gnome.org>
8549 Date: Fri Feb 15 23:07:57 2013 -0800
8551 Rename pygi_marshal_from_py_object to make it more explicit
8553 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
8554 to make it more explicit and give consistency with future refactoring.
8556 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8558 gi/pygi-argument.c | 2 +-
8559 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
8560 gi/pygi-marshal-from-py.h | 6 +++---
8561 3 files changed, 17 insertions(+), 13 deletions(-)
8563 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
8564 Author: Niklas Koep <niklas.koep@gmail.com>
8565 Date: Fri Feb 15 21:23:01 2013 -0800
8567 Prefix __module__ attribute of function objects with gi.repository
8569 This allows gi module methods to work with pydoc and help().
8570 Additionally correct typo in two docstrings of the same module.
8572 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
8574 https://bugzilla.gnome.org/show_bug.cgi?id=693839
8576 gi/overrides/__init__.py | 3 ++-
8577 gi/types.py | 6 +++---
8578 2 files changed, 5 insertions(+), 4 deletions(-)
8580 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
8581 Author: Jonathan Ballet <jon@multani.info>
8582 Date: Thu Feb 14 07:50:02 2013 +0100
8584 configure.ac: only enable code coverage when available
8586 When building with an older gnome-common which does not yet provide
8588 coverage support, disable it instead of breaking the configure script.
8590 https://bugzilla.gnome.org/show_bug.cgi?id=693328
8592 configure.ac | 10 +++++++++-
8593 1 file changed, 9 insertions(+), 1 deletion(-)
8595 commit 42cbff60e2032f715d9be6ab280954211899e03c
8596 Author: Jonathan Ballet <jon@multani.info>
8597 Date: Tue Feb 12 23:03:00 2013 +0100
8599 Correctly set properties on object with statically defined properties
8601 Fix failures in GObject.Object.set_properties() when used with
8602 statically defined properties:
8604 * Calling the method was raising a "SystemError: error return without
8605 exception set" since `result` was (most of the time) still NULL at the
8606 end of pygobject_set_properties()
8608 * Calling the method with several properties would only set one of
8609 the properties, since the function was exiting too early.
8611 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8613 https://bugzilla.gnome.org/show_bug.cgi?id=693618
8615 gi/_gobject/pygobject.c | 19 +++++++++++--------
8616 tests/test_gi.py | 6 ++++++
8617 2 files changed, 17 insertions(+), 8 deletions(-)
8619 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
8620 Author: Martin Pitt <martinpitt@gnome.org>
8621 Date: Mon Feb 11 18:08:37 2013 +0100
8623 autogen.sh: Use gnome-autogen.sh
8625 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
8627 in a much better error message when gnome-common is not installed,
8630 https://bugzilla.gnome.org/show_bug.cgi?id=693328
8632 autogen.sh | 30 +++++++++++++++++-------------
8633 1 file changed, 17 insertions(+), 13 deletions(-)
8635 commit c107bb1f9275a748b494d3f32818f227e07cadf0
8636 Author: Christoph Reiter <christoph.reiter@gmx.at>
8637 Date: Mon Feb 11 10:07:47 2013 +0100
8639 GTK tests: Add and use context manager for realized widgets
8641 https://bugzilla.gnome.org/show_bug.cgi?id=693377
8643 tests/test_overrides_gtk.py | 91
8644 +++++++++++++++++++++++++--------------------
8645 1 file changed, 50 insertions(+), 41 deletions(-)
8647 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
8648 Author: Martin Pitt <martinpitt@gnome.org>
8649 Date: Mon Feb 11 08:55:19 2013 +0100
8651 _pygi_marshal_from_py_array: Fix uninitialized variable
8653 gi/pygi-marshal-from-py.c | 2 +-
8654 1 file changed, 1 insertion(+), 1 deletion(-)
8656 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
8657 Author: Christoph Reiter <christoph.reiter@gmx.at>
8658 Date: Mon Feb 11 08:34:42 2013 +0100
8660 Skip some vfunc tests with gi 1.34
8662 https://bugzilla.gnome.org/show_bug.cgi?id=693374
8664 tests/test_object_marshaling.py | 14 ++++++++++++++
8665 1 file changed, 14 insertions(+)
8667 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
8668 Author: Simon Feltman <sfeltman@src.gnome.org>
8669 Date: Sun Feb 10 13:40:45 2013 -0800
8671 Remove workaround for g_struct_info_get_size reporting incorrect size
8673 Remove workaround for g_struct_info_get_size reporting incorrect size
8674 for boxed GValues. Verified this now returns the correct size of 24.
8676 https://bugzilla.gnome.org/show_bug.cgi?id=622711
8678 gi/pygi-boxed.c | 31 +++++++++++++------------------
8679 1 file changed, 13 insertions(+), 18 deletions(-)
8681 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
8682 Author: Simon Feltman <sfeltman@src.gnome.org>
8683 Date: Mon Feb 4 20:50:10 2013 -0800
8685 Fix reference leaks with transient floating objects
8687 Unify and refactor caller and callee GObject argument marshalers.
8688 Combine code from the large switch statement used to marshal
8689 arguments to and from vfuncs/closures with the marshalers used
8690 for direct calls to gi functions. This fixes a reference leak
8691 when marshalling GObjects to Python with transfer=full due to
8692 the diverging code paths.
8693 Replace ability in gobject_new_full to optionally sink objects
8694 with ability to optionaly "steal" objects. This fits the premise
8695 that binding layers should always sink objects initially. The
8696 steal argument is then used for marshalling arguments which are
8698 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
8700 https://bugzilla.gnome.org/show_bug.cgi?id=687522
8702 gi/_gobject/gobjectmodule.c | 10 +++++--
8703 gi/_gobject/pygobject-private.h | 2 +-
8704 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
8705 gi/_gobject/pygobject.h | 8 ++++--
8706 gi/pygi-argument.c | 52 +++++++++++++++++------------------
8707 gi/pygi-marshal-from-py.c | 61
8708 +++++++++++++++++++++++++++++++++++++----
8709 gi/pygi-marshal-from-py.h | 6 ++++
8710 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
8711 gi/pygi-marshal-to-py.h | 5 ++++
8712 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
8713 10 files changed, 181 insertions(+), 97 deletions(-)
8715 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
8716 Author: Simon Feltman <sfeltman@src.gnome.org>
8717 Date: Wed Feb 6 12:56:44 2013 -0800
8719 tests: Fix spelling mistakes in new vfunc object marshalling tests
8721 tests/test_object_marshaling.py | 12 ++++++------
8722 1 file changed, 6 insertions(+), 6 deletions(-)
8724 commit cd96fd8b8e10add9890f36ec237bb78548de7002
8725 Author: Martin Pitt <martinpitt@gnome.org>
8726 Date: Tue Feb 5 07:53:38 2013 +0100
8728 configure.ac: post-release bump to 3.7.6
8731 1 file changed, 1 insertion(+), 1 deletion(-)
8733 commit 92b1404e61f46348168f32720eff4a482531e5e3
8734 Author: Martin Pitt <martinpitt@gnome.org>
8735 Date: Tue Feb 5 07:46:46 2013 +0100
8741 2 files changed, 4 insertions(+), 1 deletion(-)
8743 commit a3a30559240077194f23c4651d6f382fa59b7d63
8744 Author: Simon Feltman <sfeltman@src.gnome.org>
8745 Date: Mon Feb 4 15:16:37 2013 -0800
8747 Fix API break with pygobject.h
8749 Move pygobject_new_full after everything in the public API table.
8750 This fixes a break that went in along with bug 675726.
8752 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8754 gi/_gobject/gobjectmodule.c | 5 +++--
8755 gi/_gobject/pygobject.h | 2 +-
8756 2 files changed, 4 insertions(+), 3 deletions(-)
8758 commit b3ca7e27494c35620995840d777037a097082661
8759 Author: Martin Pitt <martinpitt@gnome.org>
8760 Date: Mon Feb 4 19:53:26 2013 +0100
8762 configure.ac: post-release bump to 3.7.6
8765 1 file changed, 1 insertion(+), 1 deletion(-)
8767 commit 77f638411314218748f349b337a36e2864eed1f4
8768 Author: Martin Pitt <martinpitt@gnome.org>
8769 Date: Mon Feb 4 19:37:14 2013 +0100
8773 NEWS | 24 ++++++++++++++++++++++++
8774 1 file changed, 24 insertions(+)
8776 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
8777 Author: Simon Feltman <sfeltman@src.gnome.org>
8778 Date: Sun Feb 3 23:56:14 2013 -0800
8780 Fix pointer cast warning that was missed in bug 675726
8782 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8784 gi/_gobject/pygobject.h | 2 +-
8785 1 file changed, 1 insertion(+), 1 deletion(-)
8787 commit b31d8a952cd57dc92b06a381e054199660a2d570
8788 Author: Simon Feltman <sfeltman@src.gnome.org>
8789 Date: Thu Jan 31 02:35:36 2013 -0800
8791 Move various signal methods from static bindings to gi and python
8793 Move disconnect, handler_is_connected, handler_block, handler_unblock,
8794 and stop_emission from static to gi python overrides.
8796 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8798 gi/_gobject/pygobject.c | 90
8799 -------------------------------------------------
8800 gi/overrides/GObject.py | 44 +++++++++++++++++-------
8801 tests/test_signal.py | 19 ++++++-----
8802 3 files changed, 42 insertions(+), 111 deletions(-)
8804 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
8805 Author: Paolo Borelli <pborelli@gnome.org>
8806 Date: Fri Feb 1 21:09:26 2013 +0100
8808 GLib overrides: Support unpacking 'maybe' variants
8810 Automatically unpack 'maybe' variants to None or to their actual value
8811 as we do for other kind of variants
8813 https://bugzilla.gnome.org/show_bug.cgi?id=693032
8815 gi/overrides/GLib.py | 5 +++++
8816 tests/test_overrides_glib.py | 8 ++++++++
8817 2 files changed, 13 insertions(+)
8819 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
8820 Author: Mike Gorse <mgorse@suse.com>
8821 Date: Mon Jan 21 16:45:52 2013 -0600
8823 Fix ref count leak when creating pygobject wrappers for input args
8825 Only sink input references for closures and vfuncs when transfer is
8826 everything. This fixes cases where incoming floating references for
8827 callbacks need to maintain their floating state throughout the
8828 callback so they don't leak a strong reference. Re-introduce a
8829 working "sink" argument to pygobject_new_full which allows for this.
8830 Change existing callers to always sink in order maintain behavior.
8832 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
8834 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8836 gi/_gobject/gobjectmodule.c | 5 +--
8837 gi/_gobject/pygobject.c | 7 ++--
8838 gi/_gobject/pygobject.h | 2 ++
8839 gi/pygi-argument.c | 13 +++----
8840 tests/test_object_marshaling.py | 76
8841 +++++++++++++++++++++++++++++++++++++----
8842 5 files changed, 85 insertions(+), 18 deletions(-)
8844 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
8845 Author: Simon Feltman <sfeltman@src.gnome.org>
8846 Date: Thu Jan 31 01:50:44 2013 -0800
8848 Add tests for signal stop_emission, disconnect, and
8849 handler_is_connected
8851 Add tests for methods which will be moving from static bindings to gi
8852 by using the new __gpointer__ attribute of GObject.
8854 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8856 tests/test_signal.py | 51
8857 ++++++++++++++++++++++++++++++++++++++++++++++++++-
8858 1 file changed, 50 insertions(+), 1 deletion(-)
8860 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
8861 Author: Simon Feltman <sfeltman@src.gnome.org>
8862 Date: Wed Jan 30 21:37:07 2013 -0800
8864 Add __gpointer__ property to GObject static binding
8866 Add access to the underlying C GObject pointer by wrapping it in a
8867 PyCapsule/PyCPointer and exposing it as __gpointer__.
8868 Add special case marshaling for gi parameters annotated as gpointer
8869 to accept a PyCapsule and extract the underlying pointer as the arg.
8870 This allows usage of methods like GObject.signal_handler_disconnect
8871 which we can start replacing the static bindings with.
8873 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8875 gi/_gobject/pygobject.c | 11 +++++++++--
8876 gi/pygi-marshal-from-py.c | 6 +++++-
8877 2 files changed, 14 insertions(+), 3 deletions(-)
8879 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
8880 Author: Simon Feltman <sfeltman@src.gnome.org>
8881 Date: Sun Jan 27 01:22:37 2013 -0800
8883 Prefix names of typeless enums and flags for GType registration
8885 Prefix names given to g_flags_register_static and
8886 g_enum_register_static
8887 with "Py". This avoids conflicts with GTypes of the same name being
8888 registered later by a library which does not provide a "get-type"
8891 https://bugzilla.gnome.org/show_bug.cgi?id=692515
8893 gi/gimodule.c | 10 ++++++++--
8894 tests/test_gi.py | 4 ++--
8895 2 files changed, 10 insertions(+), 4 deletions(-)
8897 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
8898 Author: Simon Feltman <sfeltman@src.gnome.org>
8899 Date: Wed Jan 30 04:35:32 2013 -0800
8901 Add tests for vfunc object arguments and returns
8903 Add tests which use different combinations of floating, transfer full,
8904 transfer none, and held wrapper as in, out, or return arguments
8906 Most of these are marked as skip or expectedFailure due to various
8910 https://bugzilla.gnome.org/show_bug.cgi?id=687522
8912 gi/overrides/GObject.py | 15 +-
8913 tests/test_object_marshaling.py | 540
8914 ++++++++++++++++++++++++++++++++++++++++
8915 2 files changed, 550 insertions(+), 5 deletions(-)
8917 commit 73a83186329ede7702501d5bc49df269482461e4
8918 Author: Paolo Borelli <pborelli@gnome.org>
8919 Date: Wed Jan 30 17:48:12 2013 +0100
8921 Cosmetic fix to last patch
8923 gi/pygi-argument.c | 7 +++++--
8924 1 file changed, 5 insertions(+), 2 deletions(-)
8926 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
8927 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8928 Date: Fri Jan 25 13:05:18 2013 +0800
8930 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
8932 Drop the array forward static declarations. They are not necessary
8936 Also move declarations of variables to the top of their respective
8939 https://bugzilla.gnome.org/show_bug.cgi?id=692856
8941 gi/pygi-info.c | 18 ++++++++++--------
8942 gi/pygi-repository.c | 2 --
8943 2 files changed, 10 insertions(+), 10 deletions(-)
8945 commit 2e7c458ef6377a872043634b47737ef12eed744a
8946 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8947 Date: Fri Jan 25 13:00:48 2013 +0800
8949 Move variable declaration to top of blocks (C99ism)
8951 Move variable declarations to the top of their respective blocks,
8953 code will build under C89 compilers such as Visual C++.
8955 https://bugzilla.gnome.org/show_bug.cgi?id=692856
8957 gi/pygi-argument.c | 10 ++++++----
8958 gi/pygi-closure.c | 23 +++++++++++++++--------
8959 gi/pygi-invoke.c | 3 ++-
8960 gi/pygi-marshal-cleanup.c | 3 ++-
8961 gi/pygi-property.c | 3 ++-
8962 5 files changed, 27 insertions(+), 15 deletions(-)
8964 commit 20fc5aa7514215fc7807adceb603d17f7943304a
8965 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8966 Date: Fri Jan 25 12:58:26 2013 +0800
8968 gi/pygobject-external.h: Remove GCCism
8970 We can use G_GNUC_UNUSED from GLib that does the same purpose of
8971 __attribute__ ( (unused)) when we are using a GCC that provides this.
8973 The GLib headers that defines that macro should have already been
8975 before this header is included (due to use of gboolean).
8977 https://bugzilla.gnome.org/show_bug.cgi?id=692856
8979 gi/pygobject-external.h | 2 +-
8980 1 file changed, 1 insertion(+), 1 deletion(-)
8982 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
8983 Author: Martin Pitt <martinpitt@gnome.org>
8984 Date: Wed Jan 30 14:59:11 2013 +0100
8986 tests: Update test_double() after e65c1248
8988 Commit e65c1248 introduced support for NaN and ±inf as valid
8990 rendering the "expect ValueError on 2*double" check broken. Just
8993 tests/test_everything.py | 1 -
8994 1 file changed, 1 deletion(-)
8996 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
8997 Author: Martin Pitt <martinpitt@gnome.org>
8998 Date: Wed Jan 23 07:14:16 2013 +0100
9000 Do not immediately initialize Gdk and Gtk on import
9002 Raising an exception if Gdk/Gtk cannot be imported makes it
9004 merely import a module for e. g. nosetests without actually running
9007 Programs who want to provide a proper error message should check
9008 Gtk.initialized explicitly after importing. Check initialized
9010 Window.__init__() instead to provide a reasonably early error message
9014 https://bugzilla.gnome.org/show_bug.cgi?id=692300
9016 gi/overrides/Gdk.py | 2 --
9017 gi/overrides/Gtk.py | 5 +++--
9018 2 files changed, 3 insertions(+), 4 deletions(-)
9020 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
9021 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9022 Date: Fri Jan 25 12:49:18 2013 +0800
9024 gi/overrides/Glib.py: Fix running on Windows/non-Unix
9026 The definition of self._signal_source uses a Unix-specific GLib
9028 does not exist or have a direct equivilant on Windows.
9030 Only define and use that variable when we aren't on Windows.
9032 gi/overrides/GLib.py | 18 ++++++++++--------
9033 1 file changed, 10 insertions(+), 8 deletions(-)
9035 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
9036 Author: Martin Pitt <martinpitt@gnome.org>
9037 Date: Wed Jan 23 14:56:02 2013 +0100
9039 Accept ±inf and NaN as float and double values
9041 Also fix the broken error message when a float value is out of range.
9042 PyErr_Format() does not support float macros.
9044 https://bugzilla.gnome.org/show_bug.cgi?id=692381
9046 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
9047 tests/test_gobject.py | 14 ++++++++++++++
9048 2 files changed, 33 insertions(+), 18 deletions(-)
9050 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
9051 Author: Martin Pitt <martinpitt@gnome.org>
9052 Date: Wed Jan 23 14:28:42 2013 +0100
9054 Fix repr() of GLib.Variant
9056 When using a standard constructor like GLib.Variant.new_*(), the
9058 not have a format_string property, and previously repr() would
9060 to get_type_string() instead.
9062 Also drop the unintended type annotations in repr().
9064 gi/overrides/GLib.py | 6 +++++-
9065 tests/test_overrides_glib.py | 15 ++++++++++++++-
9066 2 files changed, 19 insertions(+), 2 deletions(-)
9068 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
9069 Author: Martin Pitt <martinpitt@gnome.org>
9070 Date: Wed Jan 23 14:14:29 2013 +0100
9072 Fix gtk-demo for Python 3
9074 It was crashing with
9076 package = __import__(packagename, globals(), locals(),
9078 ValueError: level must be >= 0
9080 Using level zero works with both Python 2 and 3.
9082 demos/gtk-demo/gtk-demo.py | 2 +-
9083 1 file changed, 1 insertion(+), 1 deletion(-)
9085 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
9086 Author: Colin Walters <walters@verbum.org>
9087 Date: Tue Jan 22 10:49:57 2013 -0500
9089 build: Add autogen.sh to EXTRA_DIST
9091 So downstreams that patch the autotools can use it.
9094 1 file changed, 1 insertion(+)
9096 commit ed7fb99efa81854d947ae548d41a03f5275c5884
9097 Author: Martin Pitt <martinpitt@gnome.org>
9098 Date: Thu Jan 17 08:23:02 2013 +0100
9100 Define GObject.TYPE_VALUE gtype constant
9102 gi/overrides/GObject.py | 4 +++-
9103 tests/test_gobject.py | 4 ++++
9104 2 files changed, 7 insertions(+), 1 deletion(-)
9106 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
9107 Author: Olivier Crête <olivier.crete@collabora.com>
9108 Date: Mon Sep 17 15:37:04 2012 -0400
9110 gobject: Go through introspection on property setting
9112 Consider introspected properties in object.set_property().
9114 https://bugzilla.gnome.org/show_bug.cgi?id=684062
9116 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
9117 tests/test_properties.py | 13 ++++++++++---
9118 2 files changed, 27 insertions(+), 4 deletions(-)
9120 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
9121 Author: Mike Gorse <mgorse@suse.com>
9122 Date: Tue Jan 15 20:04:46 2013 -0600
9124 Clean up caller-allocated GValues and their memory
9126 When space for a GValue is allocated by the caller (as in
9127 gtk_tree_model_get_value), we need to free the space allocated for the
9128 value along with its contents. The GValue is not needed after
9129 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
9130 have it unset the value and deallocate the memory.
9132 https://bugzilla.gnome.org/show_bug.cgi?id=691820
9134 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
9135 1 file changed, 18 insertions(+), 2 deletions(-)
9137 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
9138 Author: Dmitry Shachnev <mitya57@ubuntu.com>
9139 Date: Wed Jan 16 13:44:42 2013 +0400
9141 tests: define correct unittest.skipIf for python 2.6
9143 tests/runtests.py | 2 +-
9144 1 file changed, 1 insertion(+), 1 deletion(-)
9146 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
9147 Author: Martin Pitt <martinpitt@gnome.org>
9148 Date: Wed Jan 16 09:17:13 2013 +0100
9150 tests: More robust tree view realization
9152 With current GNOME git head, the Gtk.TreeViews were not realized
9154 more to receive property values. Put them into a Gtk.Dialog now and
9156 ensure that they are realized.
9158 tests/test_overrides_gtk.py | 16 ++++++++++------
9159 1 file changed, 10 insertions(+), 6 deletions(-)
9161 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
9162 Author: Martin Pitt <martinpitt@gnome.org>
9163 Date: Tue Jan 15 10:42:49 2013 +0100
9165 Drop deprecated g_thread_create()
9167 Replace with g_thread_new(). This is available with glib >= 2.32,
9169 already require >= 2.34.
9171 tests/test-thread.c | 3 +--
9172 1 file changed, 1 insertion(+), 2 deletions(-)
9174 commit 98504273dead9eade6e53c2297bcaec7bea6265a
9175 Author: Martin Pitt <martinpitt@gnome.org>
9176 Date: Tue Jan 15 10:37:52 2013 +0100
9178 Drop usage of deprecated GStaticPrivate
9180 Replace with GPrivate.
9182 gi/_gobject/gobjectmodule.c | 6 +++---
9183 1 file changed, 3 insertions(+), 3 deletions(-)
9185 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
9186 Author: Martin Pitt <martinpitt@gnome.org>
9187 Date: Tue Jan 15 10:29:47 2013 +0100
9189 Don't call g_type_init() with glib >= 2.35.x
9191 This fixes a deprecation warning.
9193 gi/_gobject/gobjectmodule.c | 2 ++
9194 1 file changed, 2 insertions(+)
9196 commit 206e736380ba798c68de09f661d75c8e27451117
9197 Author: Martin Pitt <martinpitt@gnome.org>
9198 Date: Tue Jan 15 09:47:11 2013 +0100
9200 Use GNOME_COMPILE_WARNINGS from gnome-common
9202 As we are now using gnome-common anyway for the code coverage macro,
9204 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
9208 This also enables -Wstrict-prototypes.
9210 configure.ac | 14 ++++----------
9211 1 file changed, 4 insertions(+), 10 deletions(-)
9213 commit 137679426ff39507e15f08e9e6428d851fee06b7
9214 Author: Martin Pitt <martinpitt@gnome.org>
9215 Date: Tue Jan 15 09:46:01 2013 +0100
9217 Fix function prototypes and static functions
9219 These cause errors/warnings with -Wstrict-prototypes.
9221 gi/_glib/pyglib-python-compat.h | 2 ++
9222 gi/pygi-foreign.c | 2 +-
9223 gi/pygi-marshal-from-py.c | 4 ++--
9224 gi/pygi-marshal-to-py.c | 4 ++--
9225 gi/pygi-source.c | 2 +-
9226 gi/pygi-source.h | 2 +-
9227 6 files changed, 9 insertions(+), 7 deletions(-)
9229 commit d47927f1701a11aec8566425f22688c5df73d7f2
9230 Author: Martin Pitt <martinpitt@gnome.org>
9231 Date: Mon Jan 14 17:38:23 2013 +0100
9233 configure.ac: post-release bump to 3.7.5
9236 1 file changed, 1 insertion(+), 1 deletion(-)
9238 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
9239 Author: Martin Pitt <martinpitt@gnome.org>
9240 Date: Mon Jan 14 17:30:48 2013 +0100
9244 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
9245 1 file changed, 38 insertions(+)
9247 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
9248 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
9249 Date: Tue Dec 4 15:45:00 2012 +0200
9251 Allow setting values through GtkTreeModelFilter
9253 Previously, trying to set a value through filter throwed an exception
9255 model has no set_value() method. You had to first retrieve the
9257 model and set value to it.
9259 https://bugzilla.gnome.org/show_bug.cgi?id=689624
9261 gi/overrides/Gtk.py | 5 +++++
9262 tests/test_overrides_gtk.py | 11 +++++++++++
9263 2 files changed, 16 insertions(+)
9265 commit b092630efc691a6f7ae94ae896193254f5a961a6
9266 Author: Martin Pitt <martinpitt@gnome.org>
9267 Date: Mon Jan 14 12:37:18 2013 +0100
9269 tests: Add (failing) test case for GParamSpec arguments
9272 https://bugzilla.gnome.org/show_bug.cgi?id=682355
9274 tests/test_gi.py | 9 +++++++++
9275 1 file changed, 9 insertions(+)
9277 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
9278 Author: Martin Pitt <martinpitt@gnome.org>
9279 Date: Mon Jan 14 12:20:27 2013 +0100
9281 tests: Skip struct string member tests with g-i 1.34
9283 We still support building against gobject-introspection 1.34, so
9285 which do not work with that version yet.
9287 tests/test_gi.py | 8 ++++++++
9288 1 file changed, 8 insertions(+)
9290 commit f9429192cb1002725a11a75a7b8f9300375b9caf
9291 Author: Martin Pitt <martinpitt@gnome.org>
9292 Date: Mon Jan 14 12:15:27 2013 +0100
9294 Support GParamSpec signal arguments from Python
9296 In pyg_value_from_pyobject(), recognize both the real GI
9297 GObject.ParamSpec type
9298 as well as the statically wrapped _gobject.GParamSpec type.
9300 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
9302 https://bugzilla.gnome.org/show_bug.cgi?id=683099
9304 gi/_gobject/pygtype.c | 6 +++++-
9305 tests/test_signal.py | 12 ++++++++++++
9306 tests/testhelpermodule.c | 13 +++++++++++++
9307 3 files changed, 30 insertions(+), 1 deletion(-)
9309 commit 99f72925c7de76611f7592bce9d8217a9ff46809
9310 Author: Martin Pitt <martinpitt@gnome.org>
9311 Date: Mon Jan 14 11:48:11 2013 +0100
9313 pygobject_emit(): Fix cleanup on error
9315 Dot not try to unset GValues which have not been initialized yet,
9317 conversion fails for a parameter.
9319 gi/_gobject/pygobject.c | 8 ++++----
9320 1 file changed, 4 insertions(+), 4 deletions(-)
9322 commit acef1d3266d11b2465d61185a55526df879a5c62
9323 Author: Simon Feltman <sfeltman@src.gnome.org>
9324 Date: Mon Dec 31 19:01:57 2012 -0800
9326 Add signal emission methods to TreeModel which coerce the path
9329 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
9330 row_deleted, and rows_reordered methods to accept python iterables as
9331 the path parameter. This is for compatibility with pygtk and
9333 with the rest of the TreeModel and TreePath overrides.
9335 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9337 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
9338 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
9339 2 files changed, 55 insertions(+), 3 deletions(-)
9341 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
9342 Author: Martin Pitt <martinpitt@gnome.org>
9343 Date: Mon Jan 14 10:36:36 2013 +0100
9345 Simplify overrides and tests using the new GObject.Value override
9347 The previous commit added support for constructing a GObject.Value
9349 GType and Python object conversion. Use this to simplify the Gtk
9351 the tests that construct GValues.
9353 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
9355 gi/overrides/Gtk.py | 88
9356 +++------------------------------------------
9357 tests/test_gi.py | 26 +++++---------
9358 tests/test_overrides_gtk.py | 2 +-
9359 tests/test_signal.py | 12 ++-----
9360 4 files changed, 17 insertions(+), 111 deletions(-)
9362 commit f62b98398177991bfdbe0b6753342e79e6cf170a
9363 Author: Bastian Winkler <buz@netbuz.org>
9364 Date: Mon Jan 14 10:26:08 2013 +0100
9366 Add override for GValue
9368 Override GValue with a custom constructor and set_value()/get_value()
9369 methods. This allows you to call
9371 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
9375 >>> value = GObject.Value()
9376 >>> value.init(GObject.TYPE_FLOAT)
9377 >>> value.set_float(42.23)
9379 This is especially useful for overrides that need to convert a Python
9380 value to a expected type like G_TYPE_FLOAT.
9382 https://bugzilla.gnome.org/show_bug.cgi?id=677473
9384 gi/overrides/GObject.py | 127
9385 +++++++++++++++++++++++++++++++++++++++++++++++-
9386 tests/test_gobject.py | 47 +++++++++++++++++-
9387 2 files changed, 172 insertions(+), 2 deletions(-)
9389 commit dc3d21173b75232f7ea0b9913f7309486456a69d
9390 Author: Mike Gorse <mgorse@suse.com>
9391 Date: Thu Jan 10 15:48:30 2013 -0600
9393 Mark caller-allocated boxed structures as having a slice allocated
9395 When a C function takes a pointer and fills it with a boxed structure
9397 gtk_tree_store_insert_with_values), pygi should deallocate the slice
9399 box is no longer being used.
9401 https://bugzilla.gnome.org/show_bug.cgi?id=699501
9403 gi/pygi-marshal-to-py.c | 4 +++-
9404 1 file changed, 3 insertions(+), 1 deletion(-)
9406 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
9407 Author: Olivier Crête <olivier.crete@collabora.com>
9408 Date: Fri Sep 14 21:31:32 2012 -0400
9410 pygi-property: Support boxed GSList/GList types
9412 Note that this does not yet work for construct properties.
9414 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9416 https://bugzilla.gnome.org/show_bug.cgi?id=684059
9418 gi/pygi-property.c | 10 ++++++++--
9419 tests/test_gi.py | 21 +++++++++++++++++++++
9420 2 files changed, 29 insertions(+), 2 deletions(-)
9422 commit 074f10d815453e58f4bee2f440c5db799add3876
9423 Author: Martin Pitt <martinpitt@gnome.org>
9424 Date: Mon Jan 14 07:48:31 2013 +0100
9426 test_gio: Fix for Python 2
9428 Python 2 does not yet take an "encoding" argument for str(), while
9430 requires it. Use a less fancy static test string instead.
9432 tests/test_gio.py | 2 +-
9433 1 file changed, 1 insertion(+), 1 deletion(-)
9435 commit 734979d0c8317201148a7e94a323225fba2d1635
9436 Author: Martin Pitt <martinpitt@gnome.org>
9437 Date: Mon Jan 14 07:40:10 2013 +0100
9439 tests: Add missing backwards compat methods for Python 2.6
9441 Define skipIf(), assertLess(), and assertLessEqual() for running
9445 https://bugzilla.gnome.org/show_bug.cgi?id=691646
9447 tests/runtests.py | 17 +++++++++++++++++
9448 1 file changed, 17 insertions(+)
9450 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
9451 Author: Martin Pitt <martinpitt@gnome.org>
9452 Date: Mon Jan 14 07:34:46 2013 +0100
9454 tests: Stop using assertSequenceEqual()
9456 assertSequenceEqual() does not yet exist in Python 2.6, and is
9458 either as assertEqual() on sequences automatically does list
9461 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
9463 tests/test_gtype.py | 6 ++----
9464 tests/test_signal.py | 6 ++----
9465 2 files changed, 4 insertions(+), 8 deletions(-)
9467 commit 0a5587b6a56d417a6703e342f153596f08cd5889
9468 Author: Simon Feltman <sfeltman@src.gnome.org>
9469 Date: Sun Jan 13 18:19:51 2013 -0800
9471 Allow setting TreeModel values to None
9473 Change TreeModel.set_value to use an empty but initialized GValue when
9474 None is used as the value argument. This allows clearing of cell data
9475 which was not accessible due to auto-coercion.
9477 https://bugzilla.gnome.org/show_bug.cgi?id=684094
9479 gi/overrides/Gtk.py | 11 ++++++++---
9480 tests/test_overrides_gtk.py | 8 ++++++++
9481 2 files changed, 16 insertions(+), 3 deletions(-)
9483 commit 5ae129da436793478750f0dc9427a174a980e10b
9484 Author: Mike Gorse <mgorse@suse.com>
9485 Date: Thu Jan 10 16:42:17 2013 -0600
9487 Set clean-up handler for marshalled arrays
9489 Arrays did not have a cleanup handler set in some cases, resulting
9492 https://bugzilla.gnome.org/show_bug.cgi?id=691509
9494 gi/pygi-cache.c | 1 +
9495 1 file changed, 1 insertion(+)
9497 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
9498 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
9499 Date: Fri Jan 11 15:41:27 2013 +0100
9501 Support setting string fields in structs
9503 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9505 https://bugzilla.gnome.org/show_bug.cgi?id=678401
9507 gi/pygi-info.c | 3 ++-
9508 tests/test_gi.py | 16 ++++++++++++++++
9509 2 files changed, 18 insertions(+), 1 deletion(-)
9511 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
9512 Author: Martin Pitt <martinpitt@gnome.org>
9513 Date: Fri Jan 11 14:58:44 2013 +0100
9515 Re-enable test_gi.TestPropertiesObject.test_char test
9517 The gobject-introspection bug got fixed:
9518 https://bugzilla.gnome.org/show_bug.cgi?id=691524
9520 tests/test_gi.py | 14 +++-----------
9521 1 file changed, 3 insertions(+), 11 deletions(-)
9523 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
9524 Author: Martin Pitt <martinpitt@gnome.org>
9525 Date: Fri Jan 11 09:46:56 2013 +0100
9527 tests: Re-enable test_callback_scope_call_array() check
9529 Drop the expected failure from test_callback_scope_call_array()
9531 the explicit array length arguments. While it would look cleaner to
9533 them, it is probably not worth breaking the API for this.
9535 tests/test_everything.py | 9 +++------
9536 1 file changed, 3 insertions(+), 6 deletions(-)
9538 commit 609636424b5f9b659e99a4bb53a48c165187c430
9539 Author: Martin Pitt <martinpitt@gnome.org>
9540 Date: Fri Jan 11 09:13:36 2013 +0100
9542 Permit plain integers for "gchar" values
9544 Similar to guchar/guint8, allow plain integers (withing correct
9546 values for gchar/gint8 types.
9548 This is covered by the test_gi.TestPropertiesObject.test_char
9550 removing the "expected failure" flag.
9552 gi/_gobject/pygtype.c | 16 ++++++++++++----
9553 1 file changed, 12 insertions(+), 4 deletions(-)
9555 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
9556 Author: Martin Pitt <martinpitt@gnome.org>
9557 Date: Fri Jan 11 09:09:41 2013 +0100
9559 Allow single byte values for int8 types
9561 When fixing gobject-introspection to consider "gchar" as signed (see
9562 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
9564 single-element "bytes" array as a valid value for int8, not just
9567 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
9570 gi/pygi-argument.c | 4 ++--
9571 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
9572 2 files changed, 23 insertions(+), 15 deletions(-)
9574 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
9575 Author: Mike Gorse <mgorse@suse.com>
9576 Date: Thu Jan 10 14:11:56 2013 -0600
9578 Fix invalid memory access handling errors when registering an
9581 Don't free the name until we are done with it.
9583 gi/gimodule.c | 8 ++++----
9584 1 file changed, 4 insertions(+), 4 deletions(-)
9586 commit ecd235959317d39b6d598662c00829e0ec717b17
9587 Author: Martin Pitt <martinpitt@gnome.org>
9588 Date: Thu Jan 10 16:42:46 2013 +0100
9590 Fix (out) arguments in callbacks
9592 Do not ignore the first argument in _pygi_closure_set_out_arguments().
9593 Presumably that has been done to skip over "self", but callbacks
9595 required to have a self argument. As self is never (out), we can
9599 gi/pygi-closure.c | 2 +-
9600 tests/test_gi.py | 4 ----
9601 2 files changed, 1 insertion(+), 5 deletions(-)
9603 commit d8e241e24a816691acbd592775b73defd9aa4f44
9604 Author: Martin Pitt <martinpitt@gnome.org>
9605 Date: Thu Jan 10 15:14:05 2013 +0100
9607 Fix C to Python marshalling of struct pointer arrays
9609 Do not treat an array of pointers to values like an array of values on
9610 marshalling from C. This makes the test_array_boxed_struct_return()
9614 gi/pygi-marshal-to-py.c | 5 +++--
9615 tests/test_gi.py | 2 --
9616 2 files changed, 3 insertions(+), 4 deletions(-)
9618 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
9619 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
9620 Date: Tue Jan 8 23:22:54 2013 +0200
9624 Most notably this commit contains a test for
9625 Gio.File.replace_contents_async(),
9626 which currently fails. Disable the tests for now as it breaks the
9629 https://bugzilla.gnome.org/show_bug.cgi?id=690525
9631 tests/test_gio.py | 64
9632 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
9633 1 file changed, 64 insertions(+)
9635 commit 118c5eaad045580455515876ba73b9537a8468b4
9636 Author: Martin Pitt <martinpitt@gnome.org>
9637 Date: Thu Jan 10 13:56:11 2013 +0100
9639 Rename test_overrides_gio.py to test_gio.py
9641 As we want to add more tests for non-overridden API.
9643 tests/Makefile.am | 2 +-
9644 tests/test_gio.py | 121
9645 ++++++++++++++++++++++++++++++++++++++++++++
9646 tests/test_overrides_gio.py | 121
9647 --------------------------------------------
9648 3 files changed, 122 insertions(+), 122 deletions(-)
9650 commit 8117e6bce73581e89211371708ff7d5de7d870d4
9651 Author: Martin Pitt <martinpitt@gnome.org>
9652 Date: Thu Jan 10 12:13:16 2013 +0100
9654 Don't let Property.setter() method names define property names
9656 Defining property names in install_properties() is too late when using
9657 @propname.setter decorators; their method names don't define a
9659 nor are they even required to be a valid property identifier.
9661 So change the logic to already fix the property name when using
9663 decorator and use that instead of the member name in
9664 install_properties().
9666 https://bugzilla.gnome.org/show_bug.cgi?id=688971
9668 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
9669 tests/test_properties.py | 18 ++++++++++++++++++
9670 2 files changed, 40 insertions(+), 7 deletions(-)
9672 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
9673 Author: Martin Pitt <martinpitt@gnome.org>
9674 Date: Wed Jan 9 10:39:36 2013 +0100
9676 tests: Force UTF-8 file name encoding
9678 The test_gi.TestFilename tests fail if the environment specifies
9680 file name encoding. Force it to "UTF-8" for the tests.
9682 https://bugzilla.gnome.org/show_bug.cgi?id=691355
9684 tests/runtests.py | 1 +
9685 1 file changed, 1 insertion(+)
9687 commit c02a00ae9599a661076630b21b7e24e78fb88c29
9688 Author: Martin Pitt <martinpitt@gnome.org>
9689 Date: Tue Jan 8 16:56:40 2013 +0100
9691 Use g-i stack allocation API
9693 Where possible, i. e. when not keeping references across functions,
9695 _load_() methods instead of the _get_() ones from
9696 gobject-introspection, which
9697 is faster and less prone to memory leaks:
9699 g_callable_info_get_arg () → g_callable_info_load_arg ()
9700 g_callable_info_get_return_type() →
9701 g_callable_info_load_return_type ()
9702 g_arg_info_get_type() → g_arg_info_load_type ()
9704 https://bugzilla.gnome.org/show_bug.cgi?id=615982
9706 gi/pygi-argument.c | 16 ++++------
9707 gi/pygi-closure.c | 88
9708 ++++++++++++++++++++++++------------------------------
9709 2 files changed, 45 insertions(+), 59 deletions(-)
9711 commit 23d1f14f553069740465c82eaa937b877c41e0cb
9712 Author: Ray Strode <rstrode@redhat.com>
9713 Date: Wed Dec 19 13:04:32 2012 -0500
9715 pyg_value_from_pyobject: support GArray
9717 This commit adds support for marshalling a python list (or other
9719 returned from signal handlers to GArray, if necessary.
9721 This parallels the implementation written to marshal to (the now
9725 This fixes a crash in rhythmbox as seen downstream here:
9726 https://bugzilla.redhat.com/show_bug.cgi?id=872851
9728 https://bugzilla.gnome.org/show_bug.cgi?id=690514
9730 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9732 gi/_gobject/pygtype.c | 60
9733 ++++++++++++++++++++++++++++++++++++++++++++++++
9734 tests/test_everything.py | 22 ++++++++++++++++++
9735 2 files changed, 82 insertions(+)
9737 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
9738 Author: Marko Lindqvist <cazfi74@gmail.com>
9739 Date: Fri Jan 4 07:01:29 2013 +0100
9741 Fix obsolete automake macros
9743 https://bugzilla.gnome.org/show_bug.cgi?id=691101
9745 configure.ac | 3 +--
9746 1 file changed, 1 insertion(+), 2 deletions(-)
9748 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
9749 Author: Simon Feltman <sfeltman@src.gnome.org>
9750 Date: Mon Dec 31 02:53:07 2012 -0800
9752 Change dynamic enum and flag gtype creation to use namespaced naming
9754 Use the combination of g_base_info_get_namespace and
9755 g_base_info_get_name
9756 as the name for registering enum and flag types with glib through
9757 g_enum_register_static and g_flags_register_static. This avoids
9759 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
9760 and memory cleanup for invalid registration problems.
9762 https://bugzilla.gnome.org/show_bug.cgi?id=690455
9764 gi/_gobject/pygenum.c | 6 ++--
9766 ++++++++++++++++++++++++++++++++++++++++++++-------
9767 tests/test_gi.py | 35 +++++++++++++++++++++++
9768 3 files changed, 106 insertions(+), 13 deletions(-)
9770 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
9771 Author: Dan Horák <dan@danny.cz>
9772 Date: Fri Dec 28 22:12:32 2012 +0100
9774 Fix test for GBytes.compare()
9776 The result of the compare method is defined as equal, less than or
9778 and the test must match to that. The underlaying memcmp() function
9780 values than -1, 0 and 1. For example on architectures where it is
9781 implemented directly
9782 via a CPU instruction like on s390(x) where I can see -2 as a result
9786 https://bugzilla.gnome.org/show_bug.cgi?id=690837
9788 tests/test_gi.py | 4 ++--
9789 1 file changed, 2 insertions(+), 2 deletions(-)
9791 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
9792 Author: Jonathan Ballet <jon@multani.info>
9793 Date: Thu Dec 27 16:04:51 2012 +0100
9795 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
9797 The length argument is the size of the buffer in bytes, not in
9800 https://bugzilla.gnome.org/show_bug.cgi?id=690329
9802 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9804 gi/overrides/Gtk.py | 2 +-
9805 tests/test_overrides_gtk.py | 7 +++++++
9806 2 files changed, 8 insertions(+), 1 deletion(-)
9808 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
9809 Author: Mike Gorse <mgorse@suse.com>
9810 Date: Wed Dec 19 20:51:03 2012 -0500
9812 Don't dup strings before passing them to type registration functions
9814 Strings passed to g_enum_register_static and g_flags_register_static
9816 eventually passed to g_quark_from_string, which dups the string
9818 needed and does not take ownership of it, so passing in a
9819 dynamically-allocated
9820 string without freeing it results in a small leak.
9822 https://bugzilla.gnome.org/show_bug.cgi?id=690532
9824 gi/gimodule.c | 2 --
9825 1 file changed, 2 deletions(-)
9827 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
9828 Author: Carlos Garnacho <carlos@lanedo.com>
9829 Date: Tue Dec 18 22:47:09 2012 +0100
9831 Fix marshalling of arrays of boxed struct values
9833 This fixes methods like gtk_selection_set_with_data(). In such cases
9834 data is passed as an array of struct pointers, so it must be converted
9835 to an array of structs.
9837 https://bugzilla.gnome.org/show_bug.cgi?id=656312
9839 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9841 gi/pygi-marshal-from-py.c | 6 ++++++
9842 tests/test_gi.py | 12 ++++++++++++
9843 2 files changed, 18 insertions(+)
9845 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
9846 Author: Simon Feltman <sfeltman@src.gnome.org>
9847 Date: Tue Dec 18 02:03:41 2012 -0800
9849 Add reference counting tests for Object.bind_property
9851 Add tests which ensure transform callbacks and user_data
9852 are propertly ref-counted.
9854 https://bugzilla.gnome.org/show_bug.cgi?id=690397
9856 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
9857 1 file changed, 36 insertions(+), 4 deletions(-)
9859 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
9860 Author: Martin Pitt <martinpitt@gnome.org>
9861 Date: Tue Dec 18 11:43:04 2012 +0100
9863 testhelpermodule.c: Do not unref called method
9865 In _wrap_test_gerror_exception(), do not unref the method
9867 causes a crash when being run with the stricter refcounting/memory
9869 debug-enabled Python builds.
9871 tests/testhelpermodule.c | 1 -
9872 1 file changed, 1 deletion(-)
9874 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
9875 Author: Martin Pitt <martinpitt@gnome.org>
9876 Date: Mon Dec 17 23:20:50 2012 +0100
9878 configure.ac: post-release bump to 3.7.4
9881 1 file changed, 1 insertion(+), 1 deletion(-)
9883 commit 061b23d14386c0e54d2c3af113554231bbe85f16
9884 Author: Martin Pitt <martinpitt@gnome.org>
9885 Date: Mon Dec 17 23:18:31 2012 +0100
9889 NEWS | 19 +++++++++++++++++++
9890 1 file changed, 19 insertions(+)
9892 commit a242f02823a63c9dca5d0b1ce84b031221053690
9893 Author: Martin Pitt <martinpitt@gnome.org>
9894 Date: Mon Dec 17 23:11:29 2012 +0100
9896 Add (failing) tests for callbacks with out arguments
9898 Most of these fail and need marshalling fixes.
9900 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
9901 1 file changed, 36 insertions(+)
9903 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
9904 Author: Martin Pitt <martinpitt@gnome.org>
9905 Date: Mon Dec 17 22:50:59 2012 +0100
9907 Add tests for internal API
9909 These cover functions like pygobject_new(), pyg_value_from_pyobject()
9911 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
9913 functions can be tested in isolation without the whole GI stack
9916 tests/Makefile.am | 1 +
9917 tests/test_internal_api.py | 73
9918 ++++++++++++++++++++++++++++++++++++++++++++++
9919 2 files changed, 74 insertions(+)
9921 commit e44312139426f51e576ef9e880819542cc224383
9922 Author: Martin Pitt <martinpitt@gnome.org>
9923 Date: Mon Dec 17 18:02:15 2012 +0100
9925 Add support for caller-allocated GArray out arguments
9927 https://bugzilla.gnome.org/show_bug.cgi?id=690041
9929 gi/pygi-cache.c | 2 +-
9930 gi/pygi-invoke.c | 57
9931 ++++++++++++++++++++++++++++++--------------------------
9932 tests/test_gi.py | 5 +++--
9933 3 files changed, 35 insertions(+), 29 deletions(-)
9935 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
9936 Author: Martin Pitt <martinpitt@gnome.org>
9937 Date: Mon Dec 17 16:18:24 2012 +0100
9939 Add (failing) test for caller-allocated GArray return value
9941 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
9943 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
9945 The test is failing and causing a segfault right now, so disable it
9949 tests/test_gi.py | 4 ++++
9950 1 file changed, 4 insertions(+)
9952 commit 1cb4c30c3cf19690210010d39b6272965f489c58
9953 Author: Martin Pitt <martinpitt@gnome.org>
9954 Date: Mon Dec 17 15:56:44 2012 +0100
9956 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
9958 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
9960 available, but fall back to GLib.unix_signal_add_full() until we
9964 gi/overrides/GLib.py | 8 ++++++--
9965 1 file changed, 6 insertions(+), 2 deletions(-)
9967 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
9968 Author: Martin Pitt <martinpitt@gnome.org>
9969 Date: Fri Nov 30 14:17:18 2012 +0100
9971 Re-support calling GLib.io_add_watch with an fd or Python file
9973 This does not strictly adhere to the GLib API, but it's very
9975 unlike the other modes, does not change the number or order of
9977 let's keep support for this and drop the deprecation warning.
9979 gi/overrides/GLib.py | 9 +++------
9980 1 file changed, 3 insertions(+), 6 deletions(-)
9982 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
9983 Author: Martin Pitt <martinpitt@gnome.org>
9984 Date: Fri Nov 30 09:04:20 2012 +0100
9986 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
9988 Use a longer timeout to avoid races on slow architectures, and cut
9990 loop as soon as we received all expected events.
9992 tests/test_glib.py | 5 ++++-
9993 1 file changed, 4 insertions(+), 1 deletion(-)
9995 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
9996 Author: Martin Pitt <martinpitt@gnome.org>
9997 Date: Fri Nov 30 08:44:56 2012 +0100
9999 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
10001 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
10003 unavailable monitor backends in the test environment) to fail
10006 tests/test_overrides_gtk.py | 12 +++++++++---
10007 1 file changed, 9 insertions(+), 3 deletions(-)
10009 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
10010 Author: Martin Pitt <martinpitt@gnome.org>
10011 Date: Thu Nov 29 16:45:49 2012 +0100
10013 pygtkcompat: Work around IndexError on large flags
10015 On 32 bit systems pygtkcompat currently fails with
10017 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
10018 name = flag.value_names[-1].replace(modname + '_', '')
10019 IndexError: cannot fit 'int' into an index-sized integer
10021 on 32 bit systems as some flags in Gdk are too large to fit into a
10023 "long". Work around this crash until this gets fixed properly
10027 pygtkcompat/pygtkcompat.py | 7 ++++++-
10028 1 file changed, 6 insertions(+), 1 deletion(-)
10030 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
10031 Author: Martin Pitt <martinpitt@gnome.org>
10032 Date: Thu Nov 29 14:11:29 2012 +0100
10034 Fix pyg_value_from_pyobject() range check for uint
10036 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
10038 this overflows large uints. Use PyLong_AsLongLong() separately to
10040 negative values, and PyLong_AsUnsignedLong() for the actual
10043 gi/_gobject/pygtype.c | 12 ++++++++----
10044 1 file changed, 8 insertions(+), 4 deletions(-)
10046 commit 05d767a602571805e80099f1db47ad4164575c53
10047 Author: Martin Pitt <martinpitt@gnome.org>
10048 Date: Thu Nov 29 13:30:56 2012 +0100
10050 Fix tests to work with g-i 1.34.2
10052 Do not try to call GIMarshallingTests API which isn't present
10054 against g-i 1.34.2. This can be dropped when the g-i dependency gets
10058 tests/test_gi.py | 8 +++++---
10059 1 file changed, 5 insertions(+), 3 deletions(-)
10061 commit a107c928ef85b4e3b9075a408774b74879586029
10062 Author: Martin Pitt <martinpitt@gnome.org>
10063 Date: Thu Nov 29 13:13:14 2012 +0100
10065 Fix wrong refcount for GVariant property defaults
10067 Drop the bogus DECREF for the GVariant default argument, as we need
10069 around in the class. Otherwise the refcount drops to zero, and
10071 garbage collection run causes segfaults.
10073 https://bugzilla.gnome.org/show_bug.cgi?id=689267
10075 gi/_gobject/gobjectmodule.c | 1 -
10076 1 file changed, 1 deletion(-)
10078 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
10079 Author: Martin Pitt <martinpitt@gnome.org>
10080 Date: Thu Nov 29 11:44:22 2012 +0100
10082 test_gi: Fix TestFilename failure under C locale
10084 tests/test_gi.py | 1 +
10085 1 file changed, 1 insertion(+)
10087 commit 37ab227555ba8628b4fa99aa286bd046208745ed
10088 Author: Martin Pitt <martinpitt@gnome.org>
10089 Date: Thu Nov 29 11:16:26 2012 +0100
10091 Fix array arguments on 32 bit
10093 In _pygi_argument_from_object() we never put the actual element
10095 constructed array. The array contains GIArguments, or bytes in the
10097 passing a string as an array.
10099 This happened to work on 64 bit machines where GIArgument and char*
10101 same size, but not on 32 bit machines
10102 (test_gi.TestPropertiesObject.test_strv
10105 gi/pygi-argument.c | 6 +++++-
10106 1 file changed, 5 insertions(+), 1 deletion(-)
10108 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
10109 Author: Martin Pitt <martinpitt@gnome.org>
10110 Date: Thu Nov 29 10:20:27 2012 +0100
10112 test_gi: Disable failing check in test_module_name()
10114 When calling this under some conditions, such as
10116 TEST_NAMES='test_thread test_gi.TestOverrides'
10118 then the module name of GObject.InitiallyUnowned comes out as
10119 "importlib._bootstrap" instead of "gi.repository.GObject". To be
10121 Add a couple of other tests to ensure that it is not broken in
10124 tests/test_gi.py | 10 +++++++++-
10125 1 file changed, 9 insertions(+), 1 deletion(-)
10127 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
10128 Author: Martin Pitt <martinpitt@gnome.org>
10129 Date: Thu Nov 29 09:40:32 2012 +0100
10131 test_gdbus: Drop failure if timeout=0 works differently
10133 In some test environments we do not actually get a timeout exceptions
10135 timeout=0, but a different error message. So only ensure that we
10139 tests/test_gdbus.py | 4 +++-
10140 1 file changed, 3 insertions(+), 1 deletion(-)
10142 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
10143 Author: Martin Pitt <martinpitt@gnome.org>
10144 Date: Thu Nov 29 09:29:05 2012 +0100
10146 test_glib: Drop some assumptions about XDG dirs
10148 Some directories do not exist in minimal test environments, and this
10150 important for testing that calling these GLib functions works.
10152 tests/test_glib.py | 8 +++++---
10153 1 file changed, 5 insertions(+), 3 deletions(-)
10155 commit e45c690bc83b6d513887649de88965a9752e316d
10156 Author: Martin Pitt <martinpitt@gnome.org>
10157 Date: Wed Nov 28 12:20:31 2012 +0100
10159 Add backwards compatible API for GLib.unix_signal_add_full()
10161 This was renamed to GLib.unix_signal_add() in
10162 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
10164 Provide a backwards compatible shim with a deprecation message.
10166 gi/overrides/GLib.py | 10 ++++++++++
10167 1 file changed, 10 insertions(+)
10169 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
10170 Author: Martin Pitt <martinpitt@gnome.org>
10171 Date: Mon Nov 26 08:11:36 2012 +0100
10173 Drop MININT64/MAXUINT64 workaround
10175 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
10177 properly now. Drop the workaround in the overrides to manually
10181 gi/overrides/GLib.py | 7 -------
10182 1 file changed, 7 deletions(-)
10184 commit d16604f64d25d18409270d7537fc993113b65c19
10185 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10186 Date: Fri Nov 23 19:57:56 2012 +0200
10188 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
10190 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
10191 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
10192 warnings even tough values are valid.
10194 https://bugzilla.gnome.org/show_bug.cgi?id=688949
10196 gi/_gobject/propertyhelper.py | 6 +++---
10197 tests/test_properties.py | 11 ++++-------
10198 2 files changed, 7 insertions(+), 10 deletions(-)
10200 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
10201 Author: Martin Pitt <martinpitt@gnome.org>
10202 Date: Wed Nov 21 12:58:07 2012 +0100
10204 Test virtual methods with in and out arguments
10206 ... and both caller and callee out argument allocation.
10208 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
10210 tests/test_gi.py | 13 +++++++++++++
10211 1 file changed, 13 insertions(+)
10213 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
10214 Author: Martin Pitt <martinpitt@gnome.org>
10215 Date: Tue Nov 20 07:00:44 2012 +0100
10217 Ship pygi-convert.sh in tarballs
10219 https://bugzilla.gnome.org/show_bug.cgi?id=688697
10222 1 file changed, 1 insertion(+)
10224 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
10225 Author: Martin Pitt <martinpitt@gnome.org>
10226 Date: Mon Nov 19 15:25:38 2012 +0100
10228 Post-release version bump to 3.7.3
10230 configure.ac | 2 +-
10231 1 file changed, 1 insertion(+), 1 deletion(-)
10233 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
10234 Author: Martin Pitt <martinpitt@gnome.org>
10235 Date: Mon Nov 19 15:13:28 2012 +0100
10239 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
10240 1 file changed, 47 insertions(+)
10242 commit 29dc7425dd7584411b52ef07b50f929ed119a000
10243 Author: Martin Pitt <martinpitt@gnome.org>
10244 Date: Mon Nov 19 14:37:02 2012 +0100
10248 Commit e617f76e forgot to rename the file in EXTRA_DIST
10250 tests/Makefile.am | 2 +-
10251 1 file changed, 1 insertion(+), 1 deletion(-)
10253 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
10254 Author: Martin Pitt <martinpitt@gnome.org>
10255 Date: Mon Nov 19 14:34:13 2012 +0100
10257 tests: Fix unicode vs. str issues in Python 2
10259 Some of the tests assumed a system default encoding of UTF-8, which
10261 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
10264 tests/test_gi.py | 8 ++++----
10265 tests/test_iochannel.py | 16 +++++++++-------
10266 2 files changed, 13 insertions(+), 11 deletions(-)
10268 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
10269 Author: Martin Pitt <martinpitt@gnome.org>
10270 Date: Mon Nov 19 14:20:56 2012 +0100
10272 tests: Fix previous commit to fail properly on test failures
10274 tests/Makefile.am | 2 +-
10275 1 file changed, 1 insertion(+), 1 deletion(-)
10277 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
10278 Author: Martin Pitt <martinpitt@gnome.org>
10279 Date: Mon Nov 19 14:09:14 2012 +0100
10281 tests: Run pygtkcompat tests separately
10283 pygtkcompat changes the global namespace, in particular patching
10285 overrides. Run the tests in a separate process so that the main
10287 potentially affected by the pygtkcompat test.
10289 runtests.py runs all tests/test_*.py by default, so rename to
10290 compat_test_pygtk.py and run that explicitly after successfully
10294 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
10296 tests/Makefile.am | 3 +
10297 tests/compat_test_pygtk.py | 147
10298 +++++++++++++++++++++++++++++++++++++++++++++
10299 tests/test_pygtkcompat.py | 147
10300 ---------------------------------------------
10301 3 files changed, 150 insertions(+), 147 deletions(-)
10303 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
10304 Author: Simon Feltman <sfeltman@src.gnome.org>
10305 Date: Thu Nov 15 02:51:52 2012 -0800
10307 Move pygtkcompat into sibling package of gi
10309 Move the pygtkcompat module out of the gi package and into
10310 a sibling package as follows:
10316 This allows for pygtkcompat to grow without affecting the gi package.
10317 Add deprecation message to gi/pygtkcompat.py
10319 https://bugzilla.gnome.org/show_bug.cgi?id=688219
10323 gi/pygtkcompat.py | 524
10324 +++------------------------------------------
10325 pygtkcompat/Makefile.am | 15 ++
10326 pygtkcompat/__init__.py | 20 ++
10327 pygtkcompat/pygtkcompat.py | 501
10328 +++++++++++++++++++++++++++++++++++++++++++
10329 tests/test_pygtkcompat.py | 6 +-
10330 7 files changed, 565 insertions(+), 504 deletions(-)
10332 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
10333 Author: Martin Pitt <martinpitt@gnome.org>
10334 Date: Mon Nov 19 13:59:20 2012 +0100
10336 Bump g-i dependency to >= 1.34.2
10338 We need this for updated GLib annotations and new test API.
10340 configure.ac | 2 +-
10341 1 file changed, 1 insertion(+), 1 deletion(-)
10343 commit f6c994c76cd8010460b76bf455e1a341348d735b
10344 Author: Martin Pitt <martinpitt@gnome.org>
10345 Date: Mon Nov 19 10:39:26 2012 +0100
10347 test_gi: Fix failing tests with g-i 1.34.x
10349 Skip tests which require g-i test API from 1.35.x when building
10353 tests/test_gi.py | 6 ++++++
10354 1 file changed, 6 insertions(+)
10356 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
10357 Author: Martin Pitt <martinpitt@gnome.org>
10358 Date: Wed Nov 14 11:57:21 2012 +0100
10360 test_gi: Add tests for type "filename"
10362 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
10363 1 file changed, 30 insertions(+)
10365 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
10366 Author: Martin Pitt <martinpitt@gnome.org>
10367 Date: Wed Nov 14 11:09:33 2012 +0100
10369 Drop foreign GVariant registration/support
10371 This is dead code. We have tests for GVariant in and out method
10373 callback arguments and return values, properties, etc to ensure that
10377 gi/Makefile.am | 2 --
10378 gi/pygi-foreign-gvariant.c | 63
10379 ----------------------------------------------
10380 gi/pygi-foreign-gvariant.h | 41 ------------------------------
10381 gi/pygi-foreign.c | 8 +-----
10382 4 files changed, 1 insertion(+), 113 deletions(-)
10384 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
10385 Author: Martin Pitt <martinpitt@gnome.org>
10386 Date: Wed Nov 14 10:33:24 2012 +0100
10388 test_properties.py: Fix PEP-8 errors
10390 tests/test_properties.py | 3 +--
10391 1 file changed, 1 insertion(+), 2 deletions(-)
10393 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
10394 Author: Martin Pitt <martinpitt@gnome.org>
10395 Date: Wed Nov 14 10:14:36 2012 +0100
10397 Add support for GVariant properties defined in Python
10399 gi/_gobject/gobjectmodule.c | 13 +++++++
10400 gi/_gobject/propertyhelper.py | 11 ++++--
10401 tests/test_properties.py | 81
10402 +++++++++++++++++++++++++++++++++++++------
10403 3 files changed, 91 insertions(+), 14 deletions(-)
10405 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
10406 Author: Martin Pitt <martinpitt@gnome.org>
10407 Date: Wed Nov 14 09:33:43 2012 +0100
10409 pyg_value_from_pyobject(): Simplify GVariant type check
10411 Use pyg_type_from_object_strict() instead of the much more expensive
10413 pyg_get_gvariant_type().
10415 gi/_gobject/pygtype.c | 23 +----------------------
10416 1 file changed, 1 insertion(+), 22 deletions(-)
10418 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
10419 Author: Martin Pitt <martinpitt@gnome.org>
10420 Date: Wed Nov 14 09:27:42 2012 +0100
10422 test_everything: Add test for callback returning wrong type
10424 This covers the "expected a GVariant, got something else" check in
10425 pyg_value_from_pyobject().
10427 tests/test_everything.py | 16 ++++++++++++++++
10428 1 file changed, 16 insertions(+)
10430 commit 84db7109dfbaf443758a5a4871ee385686d2703d
10431 Author: Martin Pitt <martinpitt@gnome.org>
10432 Date: Wed Nov 14 08:42:53 2012 +0100
10434 Add type checking to GVariant argument assignment
10436 gi/pygi-argument.c | 7 ++++++-
10437 tests/test_gi.py | 5 ++---
10438 2 files changed, 8 insertions(+), 4 deletions(-)
10440 commit e944caf5ff53143a98dd4a5578530996358013ec
10441 Author: Martin Pitt <martinpitt@gnome.org>
10442 Date: Wed Nov 14 08:22:35 2012 +0100
10444 Add support for GVariant properties defined in C
10446 Note that trying to assign a non-GVariant value to a GVariant property
10449 gi/pygi-property.c | 6 +++++-
10450 tests/test_gi.py | 21 +++++++++++++++++++++
10451 2 files changed, 26 insertions(+), 1 deletion(-)
10453 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
10454 Author: Martin Pitt <martinpitt@gnome.org>
10455 Date: Wed Nov 14 07:09:58 2012 +0100
10457 test_unknown.py: Check property interface
10459 NB that the property implementation in test-unknown.c does not
10461 anything, we just want to assert that the properties are properly
10464 tests/test_unknown.py | 10 ++++++++++
10465 1 file changed, 10 insertions(+)
10467 commit 9d7771affcf788d251cced65da56fc2773a278b3
10468 Author: Martin Pitt <martinpitt@gnome.org>
10469 Date: Wed Nov 14 07:01:24 2012 +0100
10471 Fix previous commit for Python 2
10473 gi/pygi-foreign-cairo.c | 2 +-
10474 1 file changed, 1 insertion(+), 1 deletion(-)
10476 commit 997d4e70b2793039d916acf8921087576622152e
10477 Author: Martin Pitt <martinpitt@gnome.org>
10478 Date: Wed Nov 14 06:57:04 2012 +0100
10480 pygi-foreign-cairo.c: Use official py3cairo API
10482 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
10484 instead of our own code.
10486 gi/pygi-foreign-cairo.c | 4 ++--
10487 1 file changed, 2 insertions(+), 2 deletions(-)
10489 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
10490 Author: Martin Pitt <martinpitt@gnome.org>
10491 Date: Wed Nov 14 06:47:23 2012 +0100
10493 Drop dead code from pygi-callbacks.[hc]
10495 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
10497 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
10499 there, and drop pygi-callbacks.[hc] completely.
10501 gi/Makefile.am | 2 -
10502 gi/pygi-callbacks.c | 217
10503 ----------------------------------------------
10504 gi/pygi-callbacks.h | 48 ----------
10505 gi/pygi-marshal-from-py.c | 44 ++++++++++
10506 gi/pygi-private.h | 1 -
10507 5 files changed, 44 insertions(+), 268 deletions(-)
10509 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
10510 Author: Carlos Garnacho <carlos@lanedo.com>
10511 Date: Tue Nov 13 18:24:28 2012 +0100
10513 Fix marshalling of arrays of struct pointers to Python
10515 Fill in the pointer to the struct, not the pointer to the
10516 array position. This makes the GdkAtom** argument in
10517 gtk_clipboard_wait_for_targets() work.
10519 https://bugzilla.gnome.org/show_bug.cgi?id=678620
10521 gi/pygi-marshal-to-py.c | 5 ++++-
10522 1 file changed, 4 insertions(+), 1 deletion(-)
10524 commit fc021516552b1720bacc4afe6b7a610c413194c4
10525 Author: Martin Pitt <martinpitt@gnome.org>
10526 Date: Wed Nov 14 06:27:17 2012 +0100
10528 test_atoms.py: Add test for out array
10530 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
10532 tests/test_atoms.py | 19 +++++++++++++++++++
10533 1 file changed, 19 insertions(+)
10535 commit e2790d22610aae773635d4caef2458082a307283
10536 Author: Martin Pitt <martinpitt@gnome.org>
10537 Date: Tue Nov 13 16:38:36 2012 +0100
10539 Fix Gdk.Atom str()/repr() fallback
10541 Fix regression in commit 6713618: If an atom does not have a name,
10543 recursively call our own str()/repr() methods, but just print
10544 "Gdk.Atom<atom_id>".
10546 gi/overrides/Gdk.py | 6 ++++--
10547 1 file changed, 4 insertions(+), 2 deletions(-)
10549 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
10550 Author: Martin Pitt <martinpitt@gnome.org>
10551 Date: Tue Nov 13 13:16:14 2012 +0100
10553 test_gi: Stop using GLib.bytes.unref_to_array()
10555 This method isn't safe for GI, and should be (skip)ed. Use get_data()
10557 which is safe and works fine.
10559 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
10561 tests/test_gi.py | 6 ------
10562 1 file changed, 6 deletions(-)
10564 commit 671361841de797ef62b59d1d7568fc3d431898c7
10565 Author: Martin Pitt <martinpitt@gnome.org>
10566 Date: Tue Nov 13 12:56:11 2012 +0100
10568 Fix Gdk.Atom to have a proper str() and repr()
10570 Gdk.Atom is not proper GType'd class, so we cannot override the
10572 Just override its __str__() and __repr__() methods so that printing
10574 something sensible. For nameless/invalid atoms, fall back to the old
10575 <void at 0xdeadbeef> output to help with debugging.
10577 https://bugzilla.gnome.org/show_bug.cgi?id=678620
10579 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
10580 tests/test_atoms.py | 12 ++++++++++++
10581 2 files changed, 33 insertions(+)
10583 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
10584 Author: Simon Feltman <sfeltman@src.gnome.org>
10585 Date: Tue Nov 13 02:53:34 2012 -0800
10587 Make sure g_value_set_boxed does not cause a buffer overrun with
10590 Add NULL terminator to gchar** passed to g_value_set_boxed to
10591 make sure it does not overrun memory in pygi_set_property_value_real.
10592 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
10595 https://bugzilla.gnome.org/show_bug.cgi?id=688232
10597 gi/pygi-property.c | 8 ++++++--
10598 tests/Makefile.am | 1 +
10599 2 files changed, 7 insertions(+), 2 deletions(-)
10601 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
10602 Author: Martin Pitt <martinpitt@gnome.org>
10603 Date: Mon Nov 12 08:35:28 2012 +0100
10605 types.py: Fix PEP-8 violation
10608 1 file changed, 1 insertion(+), 1 deletion(-)
10610 commit df589458358d7e7bf178dff4e6ad937a70f806e3
10611 Author: Simon Feltman <sfeltman@src.gnome.org>
10612 Date: Sun Nov 11 22:26:19 2012 -0800
10614 Fix leaks with GValues holding boxed and object types
10616 Expose read access to PyGIBoxed.free_on_dealloc.
10617 Add GObject.Value.__del__ override and call unset() to
10618 correctly free reference counts.
10620 https://bugzilla.gnome.org/show_bug.cgi?id=688137
10622 gi/overrides/GObject.py | 9 +++++++++
10623 gi/pygi-boxed.c | 12 ++++++++++++
10624 tests/test_gi.py | 2 --
10625 3 files changed, 21 insertions(+), 2 deletions(-)
10627 commit c01c95b9fb3d726385efac945f6d1270ae65d109
10628 Author: Simon Feltman <sfeltman@src.gnome.org>
10629 Date: Sun Nov 11 19:46:15 2012 -0800
10631 Add expectantly failing unittests for GValue boxed/object leaks
10633 https://bugzilla.gnome.org/show_bug.cgi?id=688137
10635 tests/test_gi.py | 80
10636 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10637 1 file changed, 80 insertions(+)
10639 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
10640 Author: Simon Feltman <s.feltman@gmail.com>
10641 Date: Thu Aug 16 15:09:08 2012 -0700
10643 Add doc strings showing method signatures for gi methods
10645 Add signature based doc string to all methods pulled in from
10646 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
10647 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
10648 icon_area:cairo.RectangleInt
10650 https://bugzilla.gnome.org/show_bug.cgi?id=681967
10652 gi/overrides/GIMarshallingTests.py | 1 +
10653 gi/pygi-info.c | 103
10654 +++++++++++++++++++++++++++++++++----
10655 gi/pygi-type.c | 60 +++++++++++++++++++++
10656 gi/pygi-type.h | 1 +
10658 ++++++++++++++++++++++++++-------
10659 tests/test_gi.py | 30 +++++++++++
10660 6 files changed, 259 insertions(+), 28 deletions(-)
10662 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
10663 Author: Simon Feltman <sfeltman@src.gnome.org>
10664 Date: Fri Nov 9 19:17:03 2012 -0800
10666 Set Property instance doc string and blurb to getter doc string
10668 Assign Property getter __doc__ strings or explicit blurb parameters
10669 to the Property instances __doc__ attribute. This clobbers the
10670 default Property classes lengthy and unhelpful doc string in the case
10673 https://bugzilla.gnome.org/show_bug.cgi?id=688025
10675 gi/_gobject/propertyhelper.py | 10 +++++++---
10676 tests/test_properties.py | 14 ++++++++++----
10677 2 files changed, 17 insertions(+), 7 deletions(-)
10679 commit c5343d329ebb452d97afac30e4120ebab8477556
10680 Author: Martin Pitt <martinpitt@gnome.org>
10681 Date: Mon Nov 12 07:47:02 2012 +0100
10683 tests: Fix for Python 2
10685 Add quirks for Python 2's string handling, and disable the
10686 Everything.test_array_gint8_in() as there seems to be no way of
10690 tests/test_everything.py | 7 +++++--
10691 1 file changed, 5 insertions(+), 2 deletions(-)
10693 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
10694 Author: Martin Pitt <martinpitt@gnome.org>
10695 Date: Sat Nov 10 15:52:15 2012 +0100
10697 test_everything: Add tests for more Regress data and container types
10699 Add more tests for Regress' data and container type test API.
10701 This detects a number of bugs, which have been marked as expected
10703 disabled completely for the cases where they cause crashes:
10705 * unsigned enums with values >= 0x80000000 do not work
10706 * nested ghashes in return values do not work
10707 * array length arguments in callbacks are passed instead of
10710 tests/test_everything.py | 156
10711 ++++++++++++++++++++++++++++++++++++++++++++++-
10712 1 file changed, 154 insertions(+), 2 deletions(-)
10714 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
10715 Author: Martin Pitt <martinpitt@gnome.org>
10716 Date: Fri Nov 9 18:45:22 2012 +0100
10718 test_everything: Add tests for Regress type tests
10720 Add tests for all the data type handling tests of g-i's Regress
10723 tests/test_everything.py | 183
10724 +++++++++++++++++++++++++++++++++++++++++++++++
10725 1 file changed, 183 insertions(+)
10727 commit 0d7974396e8379b518403983d9d13629066680d7
10728 Author: Martin Pitt <martinpitt@gnome.org>
10729 Date: Fri Nov 9 18:44:50 2012 +0100
10731 Add GObject.G_MINSSIZE
10733 gi/_gobject/gobjectmodule.c | 1 +
10734 gi/overrides/GObject.py | 2 +-
10735 2 files changed, 2 insertions(+), 1 deletion(-)
10737 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
10738 Author: Martin Pitt <martinpitt@gnome.org>
10739 Date: Fri Nov 9 16:02:00 2012 +0100
10741 Fix marshalling of GByteArrays
10743 In _pygi_marshal_from_py_array(), set the array length after copying
10745 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
10747 will always come out as zero length.
10749 Enable the TestGByteArray.test_bytearray_none_in() test case as that
10752 gi/pygi-marshal-from-py.c | 1 +
10753 tests/test_gi.py | 3 +--
10754 2 files changed, 2 insertions(+), 2 deletions(-)
10756 commit fa568949c46dd4b537357f1af74d1f675294b760
10757 Author: Martin Pitt <martinpitt@gnome.org>
10758 Date: Fri Nov 9 15:23:37 2012 +0100
10760 Fix marshalling of ssize_t to smaller ints
10762 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
10763 TestArray.test_array_in test, so drop the expected failure.
10765 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
10766 tests/test_gi.py | 2 --
10767 2 files changed, 29 insertions(+), 3 deletions(-)
10769 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
10770 Author: Martin Pitt <martinpitt@gnome.org>
10771 Date: Fri Nov 9 09:37:00 2012 +0100
10773 test_gi: Enable GByteArray constructor tests
10775 GByteArray annotations have been fixed in GLib now, enable the
10778 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
10780 is the same as disabled_test_bytearray_none_in().
10782 tests/test_gi.py | 16 ++++------------
10783 1 file changed, 4 insertions(+), 12 deletions(-)
10785 commit e2c545896ab08b1f1885b502a8472db83f193d08
10786 Author: Martin Pitt <martinpitt@gnome.org>
10787 Date: Fri Nov 9 09:11:38 2012 +0100
10789 test_gi: Enable GBytes test cases
10791 GBytes annotations are fixed in GLib now, enable the test case and
10793 for g_bytes_new_take() and g_bytes_{compare,equal}().
10795 Please note that calling unref_to_array() on a GBytes object that
10797 ourselves currently causes a double free crash, so disable that part
10800 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
10801 1 file changed, 25 insertions(+), 5 deletions(-)
10803 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
10804 Author: Martin Pitt <martinpitt@gnome.org>
10805 Date: Fri Nov 9 08:26:29 2012 +0100
10807 test_gi: Add missing data type tests from GIMarshallingTests
10809 Add tests for types time_t, GBytes, GByteArray, and various variants
10811 around GValues, flags, enums, arrays, and boxed structs. This tests
10813 is provided by GIMarshallingTests, but which we did not cover yet.
10815 This detects a number of bugs in annotations and our
10816 marshalling. These have
10817 been marked as expected failure, or disabled completely for the
10819 they cause crashes.
10821 tests/test_gi.py | 152
10822 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
10823 1 file changed, 152 insertions(+)
10825 commit 0456d9c892b76ed79134230a4a8610a23c602964
10826 Author: Martin Pitt <martinpitt@gnome.org>
10827 Date: Fri Nov 9 06:44:46 2012 +0100
10829 autogen.sh: Only enable code coverage if lcov is installed
10831 Otherwise we break minimal build environments.
10833 autogen.sh | 8 +++++++-
10834 1 file changed, 7 insertions(+), 1 deletion(-)
10836 commit 76a3acebf73f930c541d0f30249f67d254f948ab
10837 Author: Martin Pitt <martinpitt@gnome.org>
10838 Date: Fri Nov 9 06:41:58 2012 +0100
10840 Lower autoconf dependency to 2.68 again
10842 configure.ac | 2 +-
10843 1 file changed, 1 insertion(+), 1 deletion(-)
10845 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
10846 Author: Martin Pitt <martinpitt@gnome.org>
10847 Date: Thu Nov 8 14:54:30 2012 +0100
10849 Add support for lcov code coverage
10851 Use gnome-common's new code coverage flags. Default to enabling
10853 in autogen.sh (but not for dist).
10855 To use this, run "make check-code-coverage" after building.
10860 configure.ac | 6 ++++++
10861 4 files changed, 10 insertions(+), 1 deletion(-)
10863 commit e46af4aba220cfaf4b84a9be847f3363da556993
10864 Author: Martin Pitt <martinpitt@gnome.org>
10865 Date: Wed Nov 7 17:14:22 2012 +0100
10867 Update documentation files
10869 Update AUTHORS to have the current maintainers.
10871 Update HACKING to drop Tomeu's GNOME login (this should be set in
10874 Update INSTALL to current upstream version.
10879 +++++++++++++++++++++++++++++++++++++++++++---------------------
10880 3 files changed, 267 insertions(+), 130 deletions(-)
10882 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
10883 Author: Martin Pitt <martinpitt@gnome.org>
10884 Date: Wed Nov 7 17:08:11 2012 +0100
10886 Quiesce automake output
10888 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
10890 existing symlinks on rebuilds.
10892 gi/Makefile.am | 2 +-
10893 gi/_glib/Makefile.am | 2 +-
10894 gi/_gobject/Makefile.am | 2 +-
10895 tests/Makefile.am | 6 +++---
10896 4 files changed, 6 insertions(+), 6 deletions(-)
10898 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
10899 Author: Martin Pitt <martinpitt@gnome.org>
10900 Date: Wed Nov 7 16:50:07 2012 +0100
10902 Drop unused variable, fail builds on those
10904 Build with -Werror=unused-variable, as these could hide programming
10906 incomplete refactoring, and are not platform dependent.
10908 Drop unused variable in pyg_type_add_interfaces().
10911 gi/_gobject/gobjectmodule.c | 1 -
10912 2 files changed, 1 insertion(+), 1 deletion(-)
10914 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
10915 Author: Martin Pitt <martinpitt@gnome.org>
10916 Date: Wed Nov 7 16:37:04 2012 +0100
10918 configure.ac: Drop maintainer mode, modernize libtool declarations
10920 Use all arguments of AC_INIT.
10922 AM_MAINTAINER_MODE is discouraged now, drop it.
10924 Use LT_PREREQ and LT_INIT for libtool initialization instead of
10928 See https://live.gnome.org/GnomeGoals/ModernAutotools
10930 configure.ac | 19 ++++++-------------
10931 1 file changed, 6 insertions(+), 13 deletions(-)
10933 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
10934 Author: Martin Pitt <martinpitt@gnome.org>
10935 Date: Wed Nov 7 16:21:13 2012 +0100
10937 autoupdate configure.ac
10939 Result of "autoupdate", with slight manual beautification.
10941 See https://live.gnome.org/GnomeGoals/ModernAutotools
10943 configure.ac | 21 +++++++++------------
10944 1 file changed, 9 insertions(+), 12 deletions(-)
10946 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
10947 Author: Jose Rostagno <joserostagno@vijona.com.ar>
10948 Date: Mon Nov 5 14:26:05 2012 -0300
10950 pygi-convert: remove deprecated GLib → GObject conversions
10952 Using these functions from the GObject module is deprecated now,
10956 pygi-convert.sh | 5 -----
10957 1 file changed, 5 deletions(-)
10959 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
10960 Author: Simon Feltman <sfeltman@src.gnome.org>
10961 Date: Wed Nov 7 03:49:24 2012 -0800
10963 Use hasattr when testing for __info__ when finding vfuncs
10965 Change gi.types.find_vfunc_info_in_interface to use hasattr
10966 when finding vfuncs. Using '__info__' in __dict__ was skipping
10967 overridden interfaces which don't directly contain the __info__.
10970 1 file changed, 1 insertion(+), 1 deletion(-)
10972 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
10973 Author: Martin Pitt <martinpitt@gnome.org>
10974 Date: Wed Nov 7 12:05:24 2012 +0100
10976 tests: Ensure that the fatal mask is always reset
10978 On test case failures the fatal mask might be left in a wrong state,
10980 with "finally" that it is reset on failed tests as well, to avoid
10984 tests/test_gi.py | 11 ++++++-----
10985 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
10986 tests/test_pygtkcompat.py | 6 ++++--
10987 tests/test_signal.py | 6 ++++--
10988 4 files changed, 33 insertions(+), 23 deletions(-)
10990 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
10991 Author: Simon Feltman <sfeltman@src.gnome.org>
10992 Date: Tue Nov 6 21:34:06 2012 -0800
10994 Replace GObject notify methods with introspection and python
10996 Replace static context managers for freeze_notify and
10997 handler_block with python context managers. Remove notify,
10998 freeze_notify, thaw_notify static methods as the introspection
10999 versions work fine.
11001 https://bugzilla.gnome.org/show_bug.cgi?id=672727
11003 gi/_gobject/pygobject.c | 173
11004 ++----------------------------------------------
11005 gi/overrides/GObject.py | 61 +++++++++++++++--
11006 tests/test_gobject.py | 26 ++++++--
11007 tests/test_signal.py | 13 +++-
11008 4 files changed, 91 insertions(+), 182 deletions(-)
11010 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
11011 Author: Simon Feltman <sfeltman@src.gnome.org>
11012 Date: Tue Oct 23 13:56:32 2012 -0700
11014 Add support for overriding GObject.Object
11016 Shift pygi module mechanics so the introspection generated 'Object'
11017 class becomes derived from the static GObject class. Add initial
11018 GObject.Object override which sets all static methods back essentially
11019 leapfrogging the introspection methods. This sets the stage for having
11020 the ability to remove static methods piecemeal in favor of
11021 introspection/python in future commits.
11023 https://bugzilla.gnome.org/show_bug.cgi?id=672727
11025 gi/module.py | 30 +++++++++++---------
11026 gi/overrides/GObject.py | 74
11027 ++++++++++++++++++++++++++++++++++++++++++++++++
11028 gi/pygobject-external.h | 10 +------
11029 gi/types.py | 7 +++++
11030 tests/test_gobject.py | 31 ++++++++++++++++----
11031 tests/testhelpermodule.c | 2 +-
11032 6 files changed, 126 insertions(+), 28 deletions(-)
11034 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
11035 Author: Martin Pitt <martinpitt@gnome.org>
11036 Date: Tue Nov 6 13:55:21 2012 +0100
11038 Bump glib dependency to >= 2.34.2
11040 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
11044 configure.ac | 4 ++--
11045 2 files changed, 3 insertions(+), 3 deletions(-)
11047 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
11048 Author: Martin Pitt <martinpitt@gnome.org>
11049 Date: Tue Nov 6 11:28:42 2012 +0100
11053 Point to python-hackers-list instead of the old pygtk list, update
11055 versions, and point to wiki page and IRC.
11057 README | 19 ++++++++++---------
11058 1 file changed, 10 insertions(+), 9 deletions(-)
11060 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
11061 Author: Martin Pitt <martinpitt@gnome.org>
11062 Date: Tue Nov 6 11:21:32 2012 +0100
11064 Add --with-python configure option
11066 This behaves like setting $PYTHON, but also works in build systems
11068 which do not support setting environment variables.
11070 Update README accordingly.
11072 README | 15 +++++++++------
11073 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
11074 2 files changed, 43 insertions(+), 15 deletions(-)
11076 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
11077 Author: Martin Pitt <martinpitt@gnome.org>
11078 Date: Tue Nov 6 10:39:27 2012 +0100
11080 python.m4: Add python3.3, do not prefer unversioned "python"
11082 Add python 3.3 to the search list.
11084 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
11086 "python", so use that as last fallback if more specific versions do
11089 configure.ac | 2 +-
11090 m4/python.m4 | 2 +-
11091 2 files changed, 2 insertions(+), 2 deletions(-)
11093 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
11094 Author: Martin Pitt <martinpitt@gnome.org>
11095 Date: Tue Nov 6 09:48:50 2012 +0100
11097 m4: Update py-compile to current upstream version
11099 Update py-compile to current versions from automake 1.11.6.
11102 +++++++++++++++++++++++++++++++++++------------------------
11103 1 file changed, 48 insertions(+), 33 deletions(-)
11105 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
11106 Author: Martin Pitt <martinpitt@gnome.org>
11107 Date: Tue Nov 6 09:57:00 2012 +0100
11109 m4: Update introspection.m4 to current upstream version
11111 m4/introspection.m4 | 4 ++++
11112 1 file changed, 4 insertions(+)
11114 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
11115 Author: Martin Pitt <martinpitt@gnome.org>
11116 Date: Tue Nov 6 09:53:15 2012 +0100
11118 option.py: Fix PEP-8 error
11120 gi/_glib/option.py | 2 +-
11121 1 file changed, 1 insertion(+), 1 deletion(-)
11123 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
11124 Author: Simon Feltman <sfeltman@src.gnome.org>
11125 Date: Mon Nov 5 18:27:56 2012 -0800
11127 Remove DynamicGLibModule and DynamicGObjectModule
11129 Move final bits of _glib static binding imports directly into
11130 the GLib override. Change _glib/option use the .so directly
11131 rather than the staged variables in _glib/__init__.py.
11132 Remove DynamicGLibModule and DynamicGObjectModule and update
11135 https://bugzilla.gnome.org/show_bug.cgi?id=687488
11137 gi/_glib/__init__.py | 11 ----------
11138 gi/_glib/option.py | 16 +++++++-------
11139 gi/importer.py | 12 ++---------
11141 ----------------------------------------------------
11142 gi/overrides/GLib.py | 14 ++++++++++++
11143 tests/test_gi.py | 9 ++------
11144 6 files changed, 26 insertions(+), 96 deletions(-)
11146 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
11147 Author: Daniel Drake <dsd@laptop.org>
11148 Date: Thu Nov 1 14:46:22 2012 +0000
11150 Fix property lookup in class hierarchy
11152 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
11153 a Python subclass of a gi-provided base class overrides a property
11157 The new behaviour in the above commit causes pygobject to seek
11159 in the base class and try to read it from there (resulting in
11161 rather than noticing that the property is overridden and present
11163 Python object instance.
11165 To provide a nicer solution here, we can exploit the fact that
11166 g_object_class_find_property() will traverse the hierarchy in order to
11167 find the right GParamSpec, and the returned GParamSpec can tell
11169 which GType introduces the property. The strategy is:
11171 1. Find pspec with g_object_class_find_property()
11172 2. Find the class that owns that property (pspec->owner_type)
11173 3. See if girepository owns that class.
11174 3a. If yes, get property from there.
11175 3b. If not, get property "directly"
11177 And the same for property setting.
11179 Now that _pygi_lookup_property_from_g_type is always passed the
11181 implements the property, it no longer has to go recursing through
11183 classes, which was the original cause of confusion.
11185 https://bugzilla.gnome.org/show_bug.cgi?id=686942
11187 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
11188 gi/pygi-property.c | 130
11189 ++++++++++++++++++++++-------------------------
11190 gi/pygi-property.h | 4 +-
11191 gi/pygi.h | 12 ++---
11192 tests/test_properties.py | 30 +++++++++++
11193 5 files changed, 164 insertions(+), 104 deletions(-)
11195 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
11196 Author: Martin Pitt <martinpitt@gnome.org>
11197 Date: Sat Nov 3 16:14:01 2012 +0100
11199 Move property and signal creation into _class_init()
11201 We must not add class interfaces after g_type_class_ref() has been
11203 first time. Move signal and property creation from pyg_type_register()
11205 pyg_object_class_init(), and drop the hack of registering interfaces
11208 This changed class initialization order now exposes GLib's warning
11210 unknown signals, so adjust
11211 test_signal.TestGSignalsError.test_invalid_name() to
11214 https://bugzilla.gnome.org/show_bug.cgi?id=686149
11216 gi/_gobject/gobjectmodule.c | 177
11217 ++++++++++++++++++--------------------------
11218 tests/test_signal.py | 6 +-
11219 2 files changed, 75 insertions(+), 108 deletions(-)
11221 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
11222 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11223 Date: Sat Nov 3 13:21:52 2012 -0300
11225 Remove unused macro definitions
11227 PYGLIB_*_VERSION are not used anywhere any more, remove those.
11228 (dropped in commit 8d52bceb1)
11230 gi/_glib/glibmodule.c | 5 -----
11231 1 file changed, 5 deletions(-)
11233 commit fa054fd15b8874760bee97d9af168a2969e6ece4
11234 Author: Martin Pitt <martinpitt@gnome.org>
11235 Date: Mon Nov 5 14:38:07 2012 +0100
11237 testhelpermodule.c: Drop obsolete g_thread_init()
11239 We already require a new enough glib version as we dropped
11241 the main code a long time ago. But for formality's sake, bump glib
11245 configure.ac | 4 ++--
11246 tests/testhelpermodule.c | 1 -
11247 2 files changed, 2 insertions(+), 3 deletions(-)
11249 commit 2e57530a27a44e94927d487cf2f2d9e543777654
11250 Author: Martin Pitt <martinpitt@gnome.org>
11251 Date: Mon Nov 5 14:37:11 2012 +0100
11253 pygi-source.c: Drop dead code
11255 gi/pygi-source.c | 2 --
11256 1 file changed, 2 deletions(-)
11258 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
11259 Author: Simon Feltman <sfeltman@src.gnome.org>
11260 Date: Sun Nov 4 22:22:53 2012 -0800
11262 Move TYPE constants from _gobject to GObject
11264 Clear out TYPE constants from _gobject/__init__.py and move them
11266 GObject overrides. Disperse class imports among modules that use
11268 of using _gobject/__init__.py as a staging area (e.g. GInterface).
11270 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11272 gi/_gobject/__init__.py | 30 ------------------------------
11273 gi/_gobject/constants.py | 2 +-
11274 gi/module.py | 38 +++++++++++++++++++++++++-------------
11275 gi/overrides/__init__.py | 9 ++++++---
11276 gi/types.py | 10 ++++++----
11277 5 files changed, 38 insertions(+), 51 deletions(-)
11279 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
11280 Author: Martin Pitt <martinpitt@gnome.org>
11281 Date: Mon Nov 5 13:10:05 2012 +0100
11283 Move G_MIN/MAX constants into GObject overrides
11285 These really ought to come from GLib's typelib, but are not right
11287 need to keep the static bindings for those. But drop them from
11289 move them into the overrides where they belong.
11291 gi/_gobject/__init__.py | 17 -----------------
11292 gi/_gobject/constants.py | 21 ---------------------
11293 gi/_gobject/propertyhelper.py | 2 +-
11294 gi/overrides/GObject.py | 9 +++++++++
11295 tests/test_gi.py | 32 ++++++++++++++++----------------
11296 5 files changed, 26 insertions(+), 55 deletions(-)
11298 commit 12b84727edc36f686a7031b5c4c6bf662838908d
11299 Author: Martin Pitt <martinpitt@gnome.org>
11300 Date: Mon Nov 5 11:04:54 2012 +0100
11302 Replace static OPTION_* constants with GI
11304 Drop static definitions of GLib.OPTION_* constants and use the ones
11308 https://bugzilla.gnome.org/show_bug.cgi?id=686765
11310 gi/_glib/__init__.py | 13 -------------
11311 gi/_glib/glibmodule.c | 32 --------------------------------
11312 gi/_glib/option.py | 46
11313 ++++++++++++++++++++++++----------------------
11314 gi/overrides/GLib.py | 13 +++++++++++++
11315 gi/overrides/GObject.py | 2 +-
11316 5 files changed, 38 insertions(+), 68 deletions(-)
11318 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
11319 Author: Martin Pitt <martinpitt@gnome.org>
11320 Date: Mon Nov 5 10:14:52 2012 +0100
11322 tests: Do not use deprecated assertRaisesRegexp()
11324 Use assertRaisesRegex() instead and provide 2.7 compatibility in
11327 tests/runtests.py | 3 +++
11328 tests/test_signal.py | 8 ++++----
11329 2 files changed, 7 insertions(+), 4 deletions(-)
11331 commit da2106902eb3dabebdff1674743cb3040566a745
11332 Author: Simon Feltman <sfeltman@src.gnome.org>
11333 Date: Sun Nov 4 02:57:29 2012 -0800
11335 Move gobject static functions and constants to gi
11337 Replace the following functions with gi and overrides:
11338 type_children, type_interfaces, signal_list_ids, signal_list_names,
11339 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
11340 PARAM_* from gi SignalFlags and ParamFlags respectively.
11341 Move module level assignments of a number of static functions to
11342 the GObject.py overrides file.
11344 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11346 docs/reference/pygobject-functions.xml | 25 ---
11347 gi/_gobject/__init__.py | 72 +--------
11348 gi/_gobject/gobjectmodule.c | 272
11349 ---------------------------------
11350 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
11351 gi/overrides/__init__.py | 5 +-
11352 tests/test_signal.py | 11 +-
11353 6 files changed, 215 insertions(+), 378 deletions(-)
11355 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
11356 Author: Simon Feltman <sfeltman@src.gnome.org>
11357 Date: Sun Nov 4 02:52:19 2012 -0800
11359 Make unitests for gobject functions moving to gi more strict
11361 Add expected failure test for invalid SystemError's coming from
11362 signal_lookup and signal_list_ids. Remove excessive type_name
11363 tests and type_from_name tests.
11365 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11367 tests/test_gtype.py | 53
11368 ----------------------------------------------------
11369 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
11370 2 files changed, 25 insertions(+), 68 deletions(-)
11372 commit 3267808318b284814e52f2803b17af56fca648ad
11373 Author: Martin Pitt <martinpitt@gnome.org>
11374 Date: Sat Nov 3 14:17:25 2012 +0100
11376 [API change] Remove static filename_from_utf8() binding
11378 Replace static GLib.filename_from_utf8() with GI. The old static
11380 tried to convert the result to an Unicode object, which will fail
11382 is not UTF-8 encoded (which is the whole point of this function
11386 Although the static binding was rather useless before, this is
11390 docs/reference/pyglib-functions.xml | 32 --------------------------------
11391 gi/_glib/__init__.py | 1 -
11392 gi/_glib/glibmodule.c | 26 --------------------------
11393 gi/_gobject/__init__.py | 1 -
11394 gi/overrides/GLib.py | 8 ++++++++
11395 gi/overrides/GObject.py | 3 ++-
11396 tests/test_glib.py | 8 ++++++++
11397 7 files changed, 18 insertions(+), 61 deletions(-)
11399 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
11400 Author: Martin Pitt <martinpitt@gnome.org>
11401 Date: Sat Nov 3 13:14:15 2012 +0100
11403 Drop static glib_version and pyglib_version constants
11405 Use the GLib version from GI instead, and the already existing
11408 docs/reference/pyglib-constants.xml | 50
11409 ----------------------------------
11410 docs/reference/pygobject-constants.xml | 19 -------------
11411 gi/_glib/__init__.py | 2 --
11412 gi/_glib/glibmodule.c | 21 --------------
11413 gi/_gobject/__init__.py | 1 -
11414 gi/overrides/GLib.py | 8 +++++-
11415 gi/overrides/GObject.py | 3 +-
11416 tests/test_glib.py | 12 ++++++++
11417 8 files changed, 21 insertions(+), 95 deletions(-)
11419 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
11420 Author: Martin Pitt <martinpitt@gnome.org>
11421 Date: Sat Nov 3 12:12:44 2012 +0100
11423 Drop static G_MININT8 and related constants
11425 Use the introspected constants from GLib instead.
11427 gi/_gobject/__init__.py | 12 ------------
11428 gi/_gobject/constants.py | 12 ------------
11429 gi/_gobject/gobjectmodule.c | 18 +-----------------
11430 gi/overrides/GObject.py | 17 +++++++++++++++++
11431 tests/test_gobject.py | 4 ++++
11432 5 files changed, 22 insertions(+), 41 deletions(-)
11434 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
11435 Author: Martin Pitt <martinpitt@gnome.org>
11436 Date: Sat Nov 3 11:58:40 2012 +0100
11438 test_gobject: Add test case for min/max int constants
11440 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
11442 tests/test_gobject.py | 9 +++++++++
11443 1 file changed, 9 insertions(+)
11445 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
11446 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11447 Date: Sat Oct 27 15:37:32 2012 -0300
11449 Use g_object_info_find_signal()
11451 Replace our custom code with a call to the corresponding
11452 gobject-instrospection
11455 https://bugzilla.gnome.org/show_bug.cgi?id=687371
11457 gi/pygi-signal-closure.c | 21 ++++-----------------
11458 1 file changed, 4 insertions(+), 17 deletions(-)
11460 commit ae6d0aada9587cd4dca168375527b80785b604a0
11461 Author: Martin Pitt <martinpitt@gnome.org>
11462 Date: Sat Nov 3 11:23:06 2012 +0100
11464 GLib overrides: code cleanup
11466 Factorize the logic to handle zero or multiple user_data arguments
11468 user_data_varargs_shim(), and put code that handles deprecated API
11470 corresponding "then" branches, to improve readability.
11472 gi/overrides/GLib.py | 87
11473 ++++++++++++++++++++++++++++------------------------
11474 1 file changed, 47 insertions(+), 40 deletions(-)
11476 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
11477 Author: Martin Pitt <martinpitt@gnome.org>
11478 Date: Sat Nov 3 09:33:08 2012 +0100
11480 Restore actual GLib API after previous fix
11482 Re-fix the acceptance of priority as first argument for idle_add(),
11483 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
11485 this keeps supporting the backwards compatible API with supplying
11489 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11491 gi/overrides/GLib.py | 117
11492 +++++++++++++++++++++++++-----------------------
11493 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
11494 tests/test_source.py | 30 +++++++++++++
11495 3 files changed, 158 insertions(+), 63 deletions(-)
11497 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
11498 Author: Simon Feltman <sfeltman@src.gnome.org>
11499 Date: Fri Nov 2 21:01:38 2012 -0700
11501 Add unittests for module level type and signal functions
11503 Add tests for the following methods: signal_list_ids,
11504 signal_name, signal_lookup, signal_query, type_children,
11505 type_from_name, type_name, type_is_a, and type_interfaces.
11507 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11509 tests/Makefile.am | 1 +
11510 tests/test_gtype.py | 106
11511 +++++++++++++++++++++++++++++++++++++++++++++++++++
11512 tests/test_signal.py | 43 +++++++++++++++++++++
11513 3 files changed, 150 insertions(+)
11515 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
11516 Author: Simon Feltman <sfeltman@src.gnome.org>
11517 Date: Tue Oct 30 18:33:44 2012 -0700
11519 Fix GLib override incompatibilities with old static API
11521 Change idle_add, timeout_add, timeout_add_seconds, and
11522 io_add_watch to accept *args and **kwargs as arguments
11523 to the callback functions instead of only accepting a single
11524 user_data arg. This ensures the new overridden introspection
11525 methods are backwards compatible with the static versions
11528 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11530 gi/overrides/GLib.py | 98
11531 ++++++++++++++++++++++++++++---------------------
11532 tests/test_iochannel.py | 37 +++++++++++++++++--
11533 2 files changed, 90 insertions(+), 45 deletions(-)
11535 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
11536 Author: Simon Feltman <sfeltman@src.gnome.org>
11537 Date: Tue Oct 30 12:01:44 2012 -0700
11539 Fix IOChannel unittests for python 2.7
11541 Use __future__ unicode_literals to minimize difference
11542 between python 2.7 and 3. Comparisons need to encode arguments as
11543 'UTF-8' for testing readline operations.
11544 Add backwards compatible "next" to support the python 2.7 iteration.
11545 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
11546 support all python versions (and duck typing).
11548 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11550 gi/overrides/GLib.py | 4 +++-
11551 tests/test_iochannel.py | 1 +
11552 2 files changed, 4 insertions(+), 1 deletion(-)
11554 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
11555 Author: Martin Pitt <martinpitt@gnome.org>
11556 Date: Mon Oct 29 23:00:31 2012 +0100
11558 Allow calling io_add_watch with a file object
11560 The old static bindings allowed that, so we need to allow it to
11562 backwards compatibility. Deprecate this mode as well, so that we
11566 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11568 gi/overrides/GLib.py | 7 +++++++
11569 tests/test_glib.py | 26 ++++++++++++++++++++++++++
11570 2 files changed, 33 insertions(+)
11572 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
11573 Author: John Ralls <jralls@ceridwen.us>
11574 Date: Mon Oct 29 14:57:22 2012 -0700
11576 Fix duplicate symbols error on OSX
11578 gi/pygi-source.c | 1 +
11579 1 file changed, 1 insertion(+)
11581 commit 5a367aa067e369f2b1e713199614e3426fecc10e
11582 Author: Martin Pitt <martinpitt@gnome.org>
11583 Date: Sun Oct 28 17:42:34 2012 +0100
11585 Drop removed markup-escape-text() from reference documentation
11587 docs/reference/pyglib-functions.xml | 36
11588 ------------------------------------
11589 1 file changed, 36 deletions(-)
11591 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
11592 Author: Martin Pitt <martinpitt@gnome.org>
11593 Date: Sun Oct 28 17:41:03 2012 +0100
11595 Drop some dead code from gi/_glib/glibmodule.c
11597 gi/_glib/glibmodule.c | 45 ---------------------------------------------
11598 1 file changed, 45 deletions(-)
11600 commit 7b12803bce3418bb487127f497f022c973f35888
11601 Author: Martin Pitt <martinpitt@gnome.org>
11602 Date: Sun Oct 28 17:37:29 2012 +0100
11604 Remove static get_current_time() binding
11606 Use GLib.get_real_time() through GI instead. Deprecate the function,
11608 GLib.get_real_time() should be called directly.
11610 docs/reference/pyglib-functions.xml | 26 --------------------------
11611 gi/_glib/__init__.py | 1 -
11612 gi/_glib/glibmodule.c | 11 -----------
11613 gi/_glib/pyglib.c | 16 ----------------
11614 gi/_glib/pyglib.h | 1 -
11615 gi/_gobject/__init__.py | 1 -
11616 gi/overrides/GLib.py | 8 ++++++++
11617 gi/overrides/GObject.py | 2 +-
11618 tests/test_glib.py | 6 +++++-
11619 9 files changed, 14 insertions(+), 58 deletions(-)
11621 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
11622 Author: Martin Pitt <martinpitt@gnome.org>
11623 Date: Sun Oct 28 17:23:23 2012 +0100
11625 Add more tests for GLib.spawn_async()
11627 Check spawn_async() with getting stdin/out/err pipes and specifying
11630 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
11631 1 file changed, 29 insertions(+)
11633 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
11634 Author: Martin Pitt <martinpitt@gnome.org>
11635 Date: Sun Oct 28 14:15:05 2012 +0100
11637 Remove static child_add_watch() binding
11639 Use the GLib API through GI instead, and provide override to keep
11641 compatible API. Also allow using the actual GLib API, and deprecate
11643 static API of calling without a priority as first argument.
11645 docs/reference/pyglib-functions.xml | 61 ---------------------------
11646 gi/_glib/__init__.py | 1 -
11647 gi/_glib/glibmodule.c | 72 -------------------------------
11648 gi/_gobject/__init__.py | 1 -
11649 gi/overrides/GLib.py | 46 ++++++++++++++++++++
11650 gi/overrides/GObject.py | 2 +-
11651 tests/test_mainloop.py | 2 +-
11652 tests/test_subprocess.py | 84
11653 ++++++++++++++++++++++++++++++++++---
11654 8 files changed, 127 insertions(+), 142 deletions(-)
11656 commit 4b16427714b850e33c6020d8de1833bae19a3b87
11657 Author: Martin Pitt <martinpitt@gnome.org>
11658 Date: Sun Oct 28 13:44:23 2012 +0100
11660 test_subprocess: Cover more child_watch_add() cases
11662 Verify that priority is set correctly, and also test calling without
11665 tests/test_subprocess.py | 24 +++++++++++++++++++-----
11666 1 file changed, 19 insertions(+), 5 deletions(-)
11668 commit 83ff5938612d37d52f112867a472777dd6786d69
11669 Author: Colin Walters <walters@verbum.org>
11670 Date: Sat Oct 27 12:22:53 2012 -0400
11672 gi/__init__.py: Pacify pep8 style checker
11674 It was complaining about finding only 1 blank line. Regression
11675 likely introduced by f976d05b.
11677 https://bugzilla.gnome.org/show_bug.cgi?id=686991
11679 gi/__init__.py | 1 +
11680 1 file changed, 1 insertion(+)
11682 commit f976d05b04f26e733d19988e68989e340eb3a29e
11683 Author: Martin Pitt <martinpitt@gnome.org>
11684 Date: Fri Oct 26 10:39:28 2012 +0200
11686 Use a custom deprecation warning to make them visible by default
11688 DeprecationWarning is not shown by default, and is thus rather
11690 developers. Use a custom PyGIDeprecationWarning class and derive
11692 RuntimeWarning to make it visible.
11694 gi/__init__.py | 5 +++++
11695 gi/overrides/GLib.py | 5 +++--
11696 gi/overrides/Gtk.py | 5 +++--
11697 gi/overrides/__init__.py | 4 ++--
11698 gi/pygtkcompat.py | 4 ++--
11699 tests/Makefile.am | 2 +-
11700 tests/test_glib.py | 5 +++--
11701 tests/test_gobject.py | 3 ++-
11702 tests/test_iochannel.py | 5 +++--
11703 tests/test_source.py | 3 ++-
11704 10 files changed, 26 insertions(+), 15 deletions(-)
11706 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
11707 Author: Martin Pitt <martinpitt@gnome.org>
11708 Date: Fri Oct 26 09:26:17 2012 +0200
11710 Remove static io_add_watch() binding
11712 Use the GLib API through GI instead, and provide override to keep
11714 compatible API. Also allow using the actual GLib API, and deprecate
11717 - calling with an fd as first argument instead of an IOChannel
11718 - calling without a priority as second argument
11720 docs/reference/pyglib-functions.xml | 106
11721 ------------------------------------
11722 gi/_glib/__init__.py | 1 -
11723 gi/_glib/glibmodule.c | 98
11724 ---------------------------------
11725 gi/_gobject/__init__.py | 1 -
11726 gi/overrides/GLib.py | 51 ++++++++++++++---
11727 gi/overrides/GObject.py | 3 +-
11728 tests/test_glib.py | 15 ++++-
11729 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
11730 8 files changed, 126 insertions(+), 219 deletions(-)
11732 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
11733 Author: Martin Pitt <martinpitt@gnome.org>
11734 Date: Fri Oct 26 08:48:35 2012 +0200
11736 Add tests for GLib.io_add_watch()
11738 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
11739 1 file changed, 36 insertions(+)
11741 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
11742 Author: Martin Pitt <martinpitt@gnome.org>
11743 Date: Thu Oct 25 15:55:46 2012 +0200
11745 Remove static GIOChannel bindings
11747 Use the GLib API through GI instead, and provide overrides to keep
11749 compatible API, including its bugs.
11751 We still need to keep a static wrapper around
11752 g_io_channel_read_chars() until
11753 we teach PyGObject to correctly handle caller allocated out array
11756 https://bugzilla.gnome.org/show_bug.cgi?id=686795
11758 gi/_glib/Makefile.am | 2 -
11759 gi/_glib/__init__.py | 1 -
11760 gi/_glib/glibmodule.c | 2 -
11761 gi/_glib/pygiochannel.c | 748
11762 ------------------------------------------------
11763 gi/_glib/pygiochannel.h | 29 --
11764 gi/_gobject/__init__.py | 1 -
11765 gi/gimodule.c | 72 +++++
11766 gi/overrides/GLib.py | 95 +++++-
11767 8 files changed, 161 insertions(+), 789 deletions(-)
11769 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
11770 Author: Martin Pitt <martinpitt@gnome.org>
11771 Date: Thu Oct 25 12:59:46 2012 +0200
11773 test_iochannel.py: Fix data type of IOFlags
11775 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
11777 the result is of type GLib.IOFlags again.
11779 tests/test_iochannel.py | 2 +-
11780 1 file changed, 1 insertion(+), 1 deletion(-)
11782 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
11783 Author: Martin Pitt <martinpitt@gnome.org>
11784 Date: Thu Oct 25 08:24:31 2012 +0200
11786 Add environment variable to disable pep8 checks
11788 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
11790 makes the test/fix turnaround time faster.
11792 tests/Makefile.am | 6 ++++--
11793 1 file changed, 4 insertions(+), 2 deletions(-)
11795 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
11796 Author: Simon Feltman <sfeltman@src.gnome.org>
11797 Date: Wed Oct 24 04:31:26 2012 -0700
11799 [API add] Add get_introspection_module for getting un-overridden
11802 Add gi.module.get_introspection_module to explicitly get a
11803 wrapped module pulled in through introspection without static
11804 and python override handling. This API is intended for python
11805 overrides to use rather than having them access
11806 gi.importer.modules['<name>']._introspection_module directly.
11807 Replace aforementioned usage in all overrides.
11809 https://bugzilla.gnome.org/show_bug.cgi?id=686828
11812 +++++++++++++++++++++++++++++++++++---
11813 gi/overrides/GIMarshallingTests.py | 4 ++--
11814 gi/overrides/GLib.py | 4 ++--
11815 gi/overrides/Gdk.py | 6 +++---
11816 gi/overrides/Gio.py | 4 ++--
11817 gi/overrides/Gtk.py | 5 +++--
11818 gi/overrides/Pango.py | 4 ++--
11819 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
11820 8 files changed, 78 insertions(+), 16 deletions(-)
11822 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
11823 Author: Martin Pitt <martinpitt@gnome.org>
11824 Date: Wed Oct 24 15:16:13 2012 +0200
11826 test_option: Use public API
11828 Use GLib.option, not gi._glib.option.
11830 tests/test_option.py | 42 ++++++++++++++++++++----------------------
11831 1 file changed, 20 insertions(+), 22 deletions(-)
11833 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
11834 Author: Martin Pitt <martinpitt@gnome.org>
11835 Date: Wed Oct 24 14:12:05 2012 +0200
11837 Drop static SPAWN_* constants
11839 Use the introspected constants instead, which are identical. Add
11841 compatible aliases.
11843 These constants are covered by tests/test_subprocess.py.
11845 https://bugzilla.gnome.org/show_bug.cgi?id=686765
11847 docs/reference/pyglib-constants.xml | 68
11848 ----------------------------------
11849 docs/reference/pyglib-functions.xml | 26 ++++++-------
11850 docs/reference/pygobject-constants.xml | 67
11851 ---------------------------------
11852 gi/_glib/__init__.py | 7 ----
11853 gi/_glib/glibmodule.c | 15 --------
11854 gi/_gobject/__init__.py | 7 ----
11855 gi/overrides/GLib.py | 6 +++
11856 gi/overrides/GObject.py | 6 ++-
11857 tests/test_subprocess.py | 6 ++-
11858 9 files changed, 29 insertions(+), 179 deletions(-)
11860 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
11861 Author: Martin Pitt <martinpitt@gnome.org>
11862 Date: Wed Oct 24 13:59:31 2012 +0200
11864 Drop static IO_* constants
11866 Use the introspected constants instead, which are identical. Add
11868 compatible aliases.
11870 These constants are covered by tests/test_iochannel.py.
11872 docs/reference/pyglib-constants.xml | 52
11873 -------------------------------------
11874 gi/_glib/__init__.py | 19 --------------
11875 gi/_glib/glibmodule.c | 32 -----------------------
11876 gi/_gobject/__init__.py | 18 -------------
11877 gi/overrides/GLib.py | 18 ++++++++++++-
11878 gi/overrides/GObject.py | 8 +++++-
11879 tests/test_iochannel.py | 1 +
11880 tests/test_source.py | 2 +-
11881 8 files changed, 26 insertions(+), 124 deletions(-)
11883 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
11884 Author: Martin Pitt <martinpitt@gnome.org>
11885 Date: Wed Oct 24 12:50:50 2012 +0200
11887 Fix various bugs in GLib.IOChannel
11889 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
11891 NULL on the last element, instead of raising a StopIteration.
11893 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
11895 stream is being used in binary mode; in that case, we should not
11897 do any automagic conversion to an Unicode object. As this special
11899 inconsistent and has never worked anyway, and the current buggy
11900 implementation breaks binary streams, just drop it without
11902 (Introduced in commit de9eae4dfcce8)
11904 These bugs were uncovered by the previously committed tests.
11906 gi/_glib/pygiochannel.c | 25 +++++--------------------
11907 1 file changed, 5 insertions(+), 20 deletions(-)
11909 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
11910 Author: Martin Pitt <martinpitt@gnome.org>
11911 Date: Wed Oct 24 12:49:04 2012 +0200
11913 Add tests for GLib.IOChannel
11915 This did not have any code coverage at all. The tests uncover a
11917 which will be fixed in the next commit.
11919 tests/Makefile.am | 1 +
11920 tests/test_iochannel.py | 262
11921 ++++++++++++++++++++++++++++++++++++++++++++++++
11922 2 files changed, 263 insertions(+)
11924 commit 1b27432abf6004553e9476d5ffeb2bf603534419
11925 Author: Martin Pitt <martinpitt@gnome.org>
11926 Date: Wed Oct 24 08:50:37 2012 +0200
11928 Remove static idle_add/timeout_add bindings
11930 Use the GLib functions through GI instead. Add overrides to ensure
11932 arguments continue to work as before, and that callbacks are called
11934 userdata argument if it wasn't specified.
11936 docs/reference/pyglib-functions.xml | 165
11937 ------------------------------------
11938 gi/_glib/__init__.py | 3 -
11939 gi/_glib/glibmodule.c | 139 ------------------------------
11940 gi/_gobject/__init__.py | 3 -
11941 gi/overrides/GLib.py | 31 +++++++
11942 gi/overrides/GObject.py | 3 +-
11943 tests/test_source.py | 19 +++++
11944 7 files changed, 52 insertions(+), 311 deletions(-)
11946 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
11947 Author: Martin Pitt <martinpitt@gnome.org>
11948 Date: Wed Oct 24 09:14:57 2012 +0200
11950 Add tests for priority argument of idle_add/timeout_add
11952 There is a potential to treat the priority as user data in a call like
11953 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
11955 using a keyword argument for the priority (but silently ignore it
11957 specify both userdata and priority as a positional argument).
11959 Test the correct handling of priority as well.
11961 tests/test_source.py | 63
11962 ++++++++++++++++++++++++++++++++++++++++++++++++----
11963 1 file changed, 59 insertions(+), 4 deletions(-)
11965 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
11966 Author: Martin Pitt <martinpitt@gnome.org>
11967 Date: Wed Oct 24 08:40:50 2012 +0200
11969 Drop old ChangeLog.pre-2.18
11971 This is ancient by now, quite sizable, and the complete history can
11973 seen in the git log.
11975 ChangeLog.pre-2.18 | 3608
11976 ----------------------------------------------------
11978 2 files changed, 3609 deletions(-)
11980 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
11981 Author: Martin Pitt <martinpitt@gnome.org>
11982 Date: Wed Oct 24 08:39:05 2012 +0200
11984 Fix PEP-8 whitespace in previous commit
11986 tests/test_source.py | 4 ++++
11987 1 file changed, 4 insertions(+)
11989 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
11990 Author: Martin Pitt <martinpitt@gnome.org>
11991 Date: Wed Oct 24 08:33:49 2012 +0200
11993 Add tests for idle_add()/timeout_add with and without user data
11995 This is implicitly spread over various test cases, but let's test
11997 to ensure that the behaviour stays consistent when moving this to GI.
11999 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
12000 1 file changed, 35 insertions(+)
12002 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
12003 Author: Martin Pitt <martinpitt@gnome.org>
12004 Date: Wed Oct 24 08:05:43 2012 +0200
12006 tests: consitent naming style
12008 Stop mixing camel case and underline naming, use the latter
12012 tests/test_gobject.py | 64
12013 +++++++++++++++++++++++------------------------
12014 tests/test_interface.py | 4 +--
12015 tests/test_option.py | 14 +++++------
12016 tests/test_pygtkcompat.py | 32 ++++++++++++------------
12017 tests/test_signal.py | 10 ++++----
12018 tests/test_source.py | 23 ++++++++---------
12019 tests/test_subprocess.py | 2 +-
12020 tests/test_thread.py | 2 +-
12021 tests/test_unknown.py | 2 +-
12022 9 files changed, 76 insertions(+), 77 deletions(-)
12024 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
12025 Author: Martin Pitt <martinpitt@gnome.org>
12026 Date: Wed Oct 24 07:28:10 2012 +0200
12028 Work around wrong 64 bit constants in GLib Gir
12030 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
12032 set them in an override, until this gets fixed properly.
12034 https://bugzilla.gnome.org/show_bug.cgi?id=685022
12036 gi/overrides/GLib.py | 8 ++++++++
12037 tests/test_gi.py | 9 +++++++++
12038 2 files changed, 17 insertions(+)
12040 commit f30efd2619911c89ca873fac6bec06a1b60fab82
12041 Author: Martin Pitt <martinpitt@gnome.org>
12042 Date: Tue Oct 23 13:32:14 2012 +0200
12044 Mark GLib.Source.get_current_time() as deprecated
12046 This method has been deprecated in GLib long ago. We have a workaround
12047 implementation using GLib.get_real_time(), but eventually this should
12050 gi/overrides/GLib.py | 5 ++++-
12051 tests/test_source.py | 8 +++++++-
12052 2 files changed, 11 insertions(+), 2 deletions(-)
12054 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
12055 Author: Martin Pitt <martinpitt@gnome.org>
12056 Date: Tue Oct 23 08:56:19 2012 +0200
12058 Mark GLib API that is exposed in GObject as deprecated
12060 A lot of API in GObject really belongs into GLib and is just there for
12061 historical/backwards compatible reasons. Mark these methods as
12063 that at some point we can drop them.
12065 gi/overrides/GObject.py | 3 ++-
12066 gi/overrides/__init__.py | 13 +++++++++++++
12067 tests/test_gobject.py | 24 ++++++++++++++----------
12068 3 files changed, 29 insertions(+), 11 deletions(-)
12070 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
12071 Author: Martin Pitt <martinpitt@gnome.org>
12072 Date: Fri Oct 19 09:55:05 2012 +0200
12074 Remove static MainLoop, MainContext, and some GSource bindings
12076 glib's MainLoop and MainContext are fully introspectable these days,
12078 our static bindings. This reduces our code, as well enables GLib
12080 hasn't been available through the static bindings before.
12082 This also requires dropping our custom static types for GLib Source,
12084 and Idle. The latter two work fine with introspection and just
12086 overrides for a backwards compatible API. g_source_new() is not
12088 though, so we need to keep our static wrappers for that. Move
12090 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
12093 Note that gi/_glib/pygsource.[hc] is still required for the static
12095 which is used by the static IOChannel binding. Once the latter
12097 PollFD can be dropped as well.
12099 https://bugzilla.gnome.org/show_bug.cgi?id=686443
12101 docs/Makefile.am | 6 +-
12102 docs/reference/pyglib-classes.xml | 2 -
12103 docs/reference/pyglib-constants.xml | 53 ---
12104 docs/reference/pyglib-functions.xml | 58 ---
12105 docs/reference/pyglib-maincontext.xml | 152 --------
12106 docs/reference/pyglib-mainloop.xml | 202 -----------
12107 gi/Makefile.am | 2 +
12108 gi/_glib/Makefile.am | 4 -
12109 gi/_glib/__init__.py | 12 -
12110 gi/_glib/glibmodule.c | 45 +--
12111 gi/_glib/pyglib.c | 15 -
12112 gi/_glib/pyglib.h | 1 -
12113 gi/_glib/pygmaincontext.c | 126 -------
12114 gi/_glib/pygmaincontext.h | 40 ---
12115 gi/_glib/pygmainloop.c | 362 -------------------
12116 gi/_glib/pygmainloop.h | 36 --
12117 gi/_glib/pygsource.c | 640
12118 ----------------------------------
12119 gi/_glib/pygsource.h | 3 -
12120 gi/_gobject/__init__.py | 13 -
12121 gi/gimodule.c | 9 +
12122 gi/overrides/GLib.py | 116 +++++-
12123 gi/overrides/GObject.py | 10 +-
12124 gi/pygi-private.h | 1 +
12125 gi/pygi-source.c | 247 +++++++++++++
12126 gi/pygi-source.h | 31 ++
12127 tests/test_glib.py | 22 +-
12128 tests/test_gobject.py | 2 +
12129 tests/test_source.py | 3 -
12130 28 files changed, 437 insertions(+), 1776 deletions(-)
12132 commit 326218a20681c1f2234a6eea1ed800382be57626
12133 Author: Simon Feltman <s.feltman@gmail.com>
12134 Date: Wed Sep 19 15:37:14 2012 -0700
12136 Deprecate void pointer fields as general PyObject storage.
12138 Complete deprecation of gpointer struct fields as general
12139 PyObject storage. Only int types are now allowed.
12140 Assignment of anything other than an int or None raises
12141 a TypeError stating the error and associated bug URL.
12143 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12145 gi/pygi-argument.c | 25 ++++++++++++++++-----
12146 gi/pygi-info.c | 28 ++++--------------------
12147 tests/test_everything.py | 53
12148 +++++++++++++++++++++++++--------------------
12149 tests/test_overrides_gtk.py | 41 -----------------------------------
12150 4 files changed, 54 insertions(+), 93 deletions(-)
12152 commit 3dba328010a4ffd9259700ffec95871c7341d491
12153 Author: Martin Pitt <martinpitt@gnome.org>
12154 Date: Tue Oct 23 11:59:08 2012 +0200
12156 Add some MainLoop, MainContext, and Source test cases
12158 These cover the remaining static API and behaviour, so that we
12160 regression tests for converting them to GI.
12162 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
12164 tests/test_glib.py | 21 +++++++++++++++++++++
12165 tests/test_gobject.py | 11 +++++++++++
12166 tests/test_mainloop.py | 16 ++++++++++++++++
12167 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
12168 4 files changed, 92 insertions(+)
12170 commit 7635340271df0a135873459e6a2a365fd4b187a2
12171 Author: Steve Frécinaux <code@istique.net>
12172 Date: Wed Feb 9 18:37:33 2011 +0100
12174 [API change] Do not bind gobject_get_data() and gobject_set_data()
12176 They will basically cause a crash if misused, and you can always use a
12177 python member attribute instead.
12179 These methods were marked as deprecated for 3.4 and throwing a
12181 let's remove them for good now.
12183 https://bugzilla.gnome.org/show_bug.cgi?id=641944
12185 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12187 docs/reference/pygobject.xml | 63
12188 --------------------------------------------
12189 gi/_gobject/pygobject.c | 44 -------------------------------
12190 2 files changed, 107 deletions(-)
12192 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
12193 Author: Martin Pitt <martinpitt@gnome.org>
12194 Date: Tue Oct 23 08:17:40 2012 +0200
12196 Add test for GLib.get_current_time()
12198 This adds a plausibility test, as well as ensuring the documented
12200 This will be useful if/once we drop the static _glib binding.
12202 tests/test_glib.py | 5 +++++
12203 1 file changed, 5 insertions(+)
12205 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
12206 Author: Martin Pitt <martinpitt@gnome.org>
12207 Date: Tue Oct 23 07:48:52 2012 +0200
12209 Drop unnecessary static _glib bindings
12211 Drop static pyglib bindings which have straightforward and working
12213 bindings. Add tests for all dropped functions to ensure they keep
12216 docs/reference/pyglib-constants.xml | 59 -------
12217 docs/reference/pyglib-functions.xml | 270 ------------------------------
12218 gi/_glib/__init__.py | 24 ---
12219 gi/_glib/glibmodule.c | 319
12220 ------------------------------------
12221 gi/_gobject/__init__.py | 9 -
12222 gi/overrides/GLib.py | 16 ++
12223 gi/overrides/GObject.py | 32 ++++
12224 gi/overrides/Makefile.am | 1 +
12225 tests/Makefile.am | 1 -
12226 tests/test_glib.py | 46 ++++++
12227 tests/test_gobject.py | 4 +
12228 tests/test_uris.py | 16 --
12229 12 files changed, 99 insertions(+), 698 deletions(-)
12231 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
12232 Author: Martin Pitt <martinpitt@gnome.org>
12233 Date: Tue Oct 23 06:12:08 2012 +0200
12235 Fix OverflowError in source_remove()
12237 GSource IDs are unsigned, so we must use 'I' for parsing then, not
12240 https://bugzilla.gnome.org/show_bug.cgi?id=684526
12242 gi/_glib/glibmodule.c | 2 +-
12243 tests/test_source.py | 13 ++++++++++++-
12244 2 files changed, 13 insertions(+), 2 deletions(-)
12246 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
12247 Author: Martin Pitt <martinpitt@gnome.org>
12248 Date: Mon Oct 22 13:38:23 2012 +0200
12250 Fix TestSource.testSources() test case
12252 PyGObject has established the assumption that the destruction of
12254 Python object does not destroy the actual GSource, as shown in
12255 TestSource.setup_timeout(), TestTimeout.test504337(), and
12256 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
12258 So we need to explicitly destroy our MySource and Idle objects
12260 them, as their callbacks always return True and we do not want them
12262 over into other tests.
12264 Also fix the assertions to actually verify that MySources' callback
12266 (pos > 0, not pos >= 0), and use the unittest comparison API instead
12268 simple assert statement.
12270 https://bugzilla.gnome.org/show_bug.cgi?id=686627
12272 tests/test_source.py | 8 +++++++-
12273 1 file changed, 7 insertions(+), 1 deletion(-)
12275 commit b984a5fe0d065818a153f259db4dbde79534f084
12276 Author: Martin Pitt <martinpitt@gnome.org>
12277 Date: Mon Oct 22 17:38:56 2012 +0200
12279 configure.ac: post-release bump to 3.7.2
12281 configure.ac | 2 +-
12282 1 file changed, 1 insertion(+), 1 deletion(-)
12284 commit ce0825f58c3eba6084143e430605ffb597622369
12285 Author: Martin Pitt <martinpitt@gnome.org>
12286 Date: Mon Oct 22 17:37:17 2012 +0200
12290 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
12291 1 file changed, 42 insertions(+)
12293 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
12294 Author: Martin Pitt <martinpitt@gnome.org>
12295 Date: Mon Oct 22 17:33:12 2012 +0200
12297 Bump version to 3.7.1
12299 Let's follow the real GNOME versioning from now on.
12301 configure.ac | 2 +-
12302 1 file changed, 1 insertion(+), 1 deletion(-)
12304 commit 3fb13cc05a281970c3a624c2dd152996031b482c
12305 Author: Martin Pitt <martinpitt@gnome.org>
12306 Date: Mon Oct 22 11:36:49 2012 +0200
12308 test_mainloop code cleanup
12310 Ensure that sys.excepthook is always restored, even if the test
12312 assert{True,False,Equal} unittest API instead of simple asserts for
12316 tests/test_mainloop.py | 19 ++++++++++---------
12317 1 file changed, 10 insertions(+), 9 deletions(-)
12319 commit 31061f20083aa60919f6763a12addbf2b052cab7
12320 Author: Simon Feltman <sfeltman@src.gnome.org>
12321 Date: Sun Oct 21 18:55:24 2012 -0700
12323 Change install_properties to not use getattr on classes
12325 The usage of getattr for accessing a classes __gproperties__
12326 variable can be problematic due to the potential of it returning
12327 the parent classes variable when it does not exist on the sub-class.
12328 Similar to the fix for
12329 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
12330 cls.__dict__.get is used to ensure this does not happen.
12332 https://bugzilla.gnome.org/show_bug.cgi?id=686559
12334 gi/_gobject/propertyhelper.py | 2 +-
12335 tests/test_properties.py | 6 ++++--
12336 2 files changed, 5 insertions(+), 3 deletions(-)
12338 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
12339 Author: Simon Feltman <sfeltman@src.gnome.org>
12340 Date: Sat Oct 20 19:56:04 2012 -0700
12342 Move property install function into propertyhelper.py
12344 Move _install_properties() into gi/_gobject/propertyhelper.py
12347 https://bugzilla.gnome.org/show_bug.cgi?id=686559
12349 gi/_gobject/__init__.py | 45 +++----------------------------
12350 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
12351 tests/test_properties.py | 63
12352 +++++++++++++++++++++++++++++++++++++++++++
12353 3 files changed, 111 insertions(+), 42 deletions(-)
12355 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
12356 Author: Simon Feltman <s.feltman@gmail.com>
12357 Date: Sat Oct 20 03:11:07 2012 -0700
12359 Fix Signal decorator to not use base class gsignals dict
12361 Fix install_signals to not use the parent classes __gsignals__
12362 dict if one does not exist on the given class.
12364 https://bugzilla.gnome.org/show_bug.cgi?id=686496
12366 gi/_gobject/signalhelper.py | 2 +-
12367 tests/test_signal.py | 43
12368 +++++++++++++++++++++++++++++++++++++++++++
12369 2 files changed, 44 insertions(+), 1 deletion(-)
12371 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
12372 Author: Martin Pitt <martinpitt@gnome.org>
12373 Date: Fri Oct 19 09:05:01 2012 +0200
12375 tests: Consistently use GLib.MainLoop
12377 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
12379 tests/test_everything.py | 4 ++--
12380 tests/test_gdbus.py | 11 +++++------
12381 2 files changed, 7 insertions(+), 8 deletions(-)
12383 commit ff7e7401b4cf50532fef70263f7559ea513b8333
12384 Author: Kalev Lember <kalevlember@gmail.com>
12385 Date: Wed Oct 17 18:27:14 2012 +0200
12387 Install the .egg-info files into correct multilib directory
12389 This makes sure the .egg-info files end up in the same python
12391 directory as the rest of the gi .py files.
12393 https://bugzilla.gnome.org/show_bug.cgi?id=686315
12395 Makefile.am | 6 +++---
12396 1 file changed, 3 insertions(+), 3 deletions(-)
12398 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
12399 Author: Simon Feltman <s.feltman@gmail.com>
12400 Date: Mon Oct 15 04:03:50 2012 -0700
12402 Fix leaked vfunc return values
12404 Simple fix to dec ref returned values from closures wrapping
12407 https://bugzilla.gnome.org/show_bug.cgi?id=686140
12409 gi/pygi-closure.c | 1 +
12410 tests/test_gi.py | 21 +++++++++++++++++++--
12411 2 files changed, 20 insertions(+), 2 deletions(-)
12413 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
12414 Author: Martin Pitt <martinpitt@gnome.org>
12415 Date: Mon Oct 15 07:42:05 2012 +0200
12417 Skip Regress tests with --disable-cairo
12419 We need cairo to build g-i's Regress library, gir, and typelib. Update
12420 configure.ac to only require cairo if --disable-cairo was not
12422 --disable-cairo, skip building the Regress library and skip all
12426 https://bugzilla.gnome.org/show_bug.cgi?id=685094
12428 configure.ac | 5 ++---
12429 tests/Makefile.am | 45
12430 +++++++++++++++++++++++++++------------------
12431 tests/test_everything.py | 15 +++++++++++----
12432 tests/test_overrides.py | 7 ++++++-
12433 4 files changed, 46 insertions(+), 26 deletions(-)
12435 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
12436 Author: Martin Pitt <martinpitt@gnome.org>
12437 Date: Fri Oct 12 11:05:24 2012 +0200
12439 _pygi_marshal_from_py_uint64: Re-fix check of negative values
12441 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
12445 https://bugzilla.gnome.org/show_bug.cgi?id=685000
12447 gi/pygi-marshal-from-py.c | 6 +++---
12448 1 file changed, 3 insertions(+), 3 deletions(-)
12450 commit 22c22124b787ae67638aff89796d7ce14900ea8e
12451 Author: Simon Feltman <s.feltman@gmail.com>
12452 Date: Mon Oct 8 05:54:30 2012 -0700
12454 Fix leak with python callables as closure argument.
12456 The fix adds an extra args_data list to the PyGIInvokeState
12457 structure. This list is used to track dynamically generated
12458 closures that wrap python callables. This allows the ffi closure
12459 and python callable to be freed when call scope has finished.
12461 https://bugzilla.gnome.org/show_bug.cgi?id=685598
12463 gi/pygi-cache.c | 1 +
12464 gi/pygi-closure.c | 41 +++++++++----
12465 gi/pygi-invoke-state-struct.h | 4 ++
12466 gi/pygi-invoke.c | 7 +++
12467 gi/pygi-marshal-cleanup.c | 14 +++++
12468 gi/pygi-marshal-cleanup.h | 4 ++
12469 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
12470 tests/test_everything.py | 137
12471 +++++++++++++++++++++++++++++++-----------
12472 8 files changed, 206 insertions(+), 59 deletions(-)
12474 commit c0bc69906df2db64560f7c054277ad1956aab57f
12475 Author: Martin Pitt <martinpitt@gnome.org>
12476 Date: Thu Oct 11 17:49:30 2012 +0200
12478 Gio overrides: Handle setting GSettings enum keys
12480 https://bugzilla.gnome.org/show_bug.cgi?id=685947
12482 gi/overrides/Gio.py | 9 ++++++++-
12483 tests/test_overrides_gio.py | 3 +++
12484 2 files changed, 11 insertions(+), 1 deletion(-)
12486 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
12487 Author: Martin Pitt <martinpitt@gnome.org>
12488 Date: Thu Oct 11 17:20:38 2012 +0200
12490 tests: Check reading GSettings enums in Gio overrides
12492 Also split test_override() into several smaller test cases.
12494 tests/org.gnome.test.gschema.xml | 9 +++++++++
12495 tests/test_overrides_gio.py | 14 +++++++++-----
12496 2 files changed, 18 insertions(+), 5 deletions(-)
12498 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
12499 Author: Martin Pitt <martinpitt@gnome.org>
12500 Date: Thu Oct 11 16:08:11 2012 +0200
12502 Fix unsigned values in GArray/GList/GSList/GHash
12504 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
12506 https://bugzilla.gnome.org/show_bug.cgi?id=685860
12508 gi/pygi-argument.c | 9 +++++++++
12509 tests/test_gi.py | 12 ++++++++++++
12510 2 files changed, 21 insertions(+)
12512 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
12513 Author: Colin Walters <walters@verbum.org>
12514 Date: Thu Oct 4 20:13:55 2012 -0400
12516 build: Fix srcdir != builddir
12519 1 file changed, 1 insertion(+), 1 deletion(-)
12521 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
12522 Author: Alban Browaeys <prahal@yahoo.com>
12523 Date: Thu Sep 27 22:44:22 2012 +0200
12525 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
12527 Casting an unsigned to signed and checking if positive was not
12529 unsigned 64 is below G_MAXUINT64 instead.
12531 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
12533 gi/pygi-marshal-from-py.c | 4 ++--
12534 1 file changed, 2 insertions(+), 2 deletions(-)
12536 commit f0870336b9fc7797895f206e0d3ef17a19efe253
12537 Author: Johan Dahlin <johan@gnome.org>
12538 Date: Tue Oct 2 05:30:16 2012 -0700
12540 Install an .egg-info file
12542 This will help easy_install and pip to figure out that PyGObject
12543 is already installed.
12545 https://bugzilla.gnome.org/show_bug.cgi?id=680138
12547 Makefile.am | 13 ++++++++-----
12548 1 file changed, 8 insertions(+), 5 deletions(-)
12550 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
12551 Author: Johan Dahlin <johan@gnome.org>
12552 Date: Thu Oct 4 09:42:41 2012 +0200
12554 PyGProps_getattro(): Fix GObjectClass leak
12556 https://bugzilla.gnome.org/show_bug.cgi?id=685218
12558 gi/_gobject/pygobject.c | 4 +++-
12559 1 file changed, 3 insertions(+), 1 deletion(-)
12561 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
12562 Author: Olivier Crête <olivier.crete@collabora.com>
12563 Date: Mon Sep 17 15:16:32 2012 -0400
12565 pygobject.c: Don't leak GObjectClass reference
12567 https://bugzilla.gnome.org/show_bug.cgi?id=684062
12569 gi/_gobject/pygobject.c | 6 +++++-
12570 1 file changed, 5 insertions(+), 1 deletion(-)
12572 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
12573 Author: Alban Browaeys <prahal@yahoo.com>
12574 Date: Sat Sep 29 01:17:14 2012 +0200
12576 Fix memory leak in _pygi_argument_to_array()
12578 Length arg and type info need to be unref'ed.
12580 https://bugzilla.gnome.org/show_bug.cgi?id=685082
12582 gi/pygi-argument.c | 3 +++
12583 1 file changed, 3 insertions(+)
12585 commit 34270a109d2af20391c80e88874ee7303eaf5c09
12586 Author: Martin Pitt <martinpitt@gnome.org>
12587 Date: Fri Sep 28 07:42:51 2012 +0200
12589 Fix error messages for out of range numbers
12591 PyErr_Format() does not understand %lli and %li, it needs to be %lld
12593 So we cannot use those and G_GINT64_FORMAT.
12595 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
12597 is a gint64 which can't possibly overflow its own data type. It
12599 an unprintable error message.
12601 https://bugzilla.gnome.org/show_bug.cgi?id=684314
12603 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
12604 1 file changed, 8 insertions(+), 13 deletions(-)
12606 commit 7f1422bf929976722edd6144beb0b4c96d74391b
12607 Author: Martin Pitt <martinpitt@gnome.org>
12608 Date: Fri Sep 28 06:59:38 2012 +0200
12610 Kill dbus-daemon after running tests
12612 dbus-launch does not kill the spawned dbus-daemon by itself (see
12613 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
12615 our tests. Take care to preserve the exit code.
12617 https://bugzilla.gnome.org/show_bug.cgi?id=685009
12619 tests/Makefile.am | 5 ++++-
12620 1 file changed, 4 insertions(+), 1 deletion(-)
12622 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
12623 Author: Martin Pitt <martinpitt@gnome.org>
12624 Date: Thu Sep 27 08:18:34 2012 +0200
12626 GVariant overrides: Support empty tuple arrays
12628 Implement the "empty value" branch in _create_tuple(), so that
12630 can call it for parsing the element type for an empty array.
12632 This fixes creating variants such as GLib.Variant('a(ii)', []).
12634 https://bugzilla.gnome.org/show_bug.cgi?id=684928
12636 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
12637 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
12638 2 files changed, 54 insertions(+), 7 deletions(-)
12640 commit 75d452ea5b179c3585adcf95356b4316c9180768
12641 Author: Martin Pitt <martinpitt@gnome.org>
12642 Date: Thu Sep 27 06:50:12 2012 +0200
12644 TestGVariant: Split creation test case into several smaller ones
12646 tests/test_overrides_glib.py | 20 ++++++--------------
12647 1 file changed, 6 insertions(+), 14 deletions(-)
12649 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
12650 Author: Martin Pitt <martinpitt@gnome.org>
12651 Date: Tue Sep 25 09:10:10 2012 +0200
12653 Fix unused variables and results
12655 This gets rid of all warnings except the deprecated symbol ones.
12657 gi/_glib/pygiochannel.c | 9 +++------
12658 gi/pygi-argument.c | 4 +---
12659 gi/pygi-callbacks.c | 4 ----
12660 gi/pygi-ccallback.c | 1 -
12661 gi/pygi-repository.c | 3 +--
12662 5 files changed, 5 insertions(+), 16 deletions(-)
12664 commit 5285f14fee93d2729d4422c40a945adc2be69c14
12665 Author: Martin Pitt <martinpitt@gnome.org>
12666 Date: Tue Sep 25 08:56:20 2012 +0200
12668 tests: Fix wrong return type in test_int64_callback()
12670 https://bugzilla.gnome.org/show_bug.cgi?id=684700
12672 tests/testhelpermodule.c | 2 +-
12673 1 file changed, 1 insertion(+), 1 deletion(-)
12675 commit e14ebab6099d082466ec11ca21d44de0d6017216
12676 Author: Giovanni Campagna <gcampagna@src.gnome.org>
12677 Date: Wed Sep 19 00:10:57 2012 +0200
12679 Fix GValue marshalling of long and unsigned long
12681 long can be equivalent to int64 or int32, depending on the
12683 and GI conflates this distinction in the typelib, but GType does
12685 warns if the wrong accessor is used.
12687 https://bugzilla.gnome.org/show_bug.cgi?id=684331
12689 gi/pygi-argument.c | 25 +++++++++++++++++++++----
12690 1 file changed, 21 insertions(+), 4 deletions(-)
12692 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
12693 Author: Simon Feltman <s.feltman@gmail.com>
12694 Date: Wed Sep 19 19:07:00 2012 -0700
12696 Clean up deprecation message for assigning gpointers to objects.
12698 The previous deprecation message was worded as if the deprecation
12699 had already occurred and it has not.
12701 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12703 gi/pygi-info.c | 4 ++--
12704 1 file changed, 2 insertions(+), 2 deletions(-)
12706 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
12707 Author: Olivier Crête <olivier.crete@collabora.com>
12708 Date: Tue Sep 18 08:52:02 2012 +0200
12710 pygi-property: Lookup property in base classes of non-introspected
12713 Look for introspection data in the base classes of non-introspected
12715 This is necessary to look up introspection data for plugins.
12717 https://bugzilla.gnome.org/show_bug.cgi?id=684058
12719 gi/pygi-property.c | 28 ++++++++++++++--------------
12720 tests/test_everything.py | 12 ++++++++++++
12721 2 files changed, 26 insertions(+), 14 deletions(-)
12723 commit 7aa94cc861082147b9c382b930f3257f0a842c84
12724 Author: Martin Pitt <martinpitt@gnome.org>
12725 Date: Mon Sep 24 09:41:10 2012 +0200
12727 post-release bump to 3.4.1
12729 configure.ac | 2 +-
12730 1 file changed, 1 insertion(+), 1 deletion(-)
12732 commit fcceed3adb8d78baba68861a1408627321b2c1ef
12733 Author: Martin Pitt <martinpitt@gnome.org>
12734 Date: Mon Sep 24 09:35:33 2012 +0200
12739 configure.ac | 4 ++--
12740 2 files changed, 5 insertions(+), 2 deletions(-)
12742 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
12743 Author: Martin Pitt <martinpitt@gnome.org>
12744 Date: Mon Sep 24 09:27:47 2012 +0200
12746 Bump g-i dependency to 1.33.14
12748 To ensure we have all the Regress test APIs that we use.
12750 configure.ac | 2 +-
12751 1 file changed, 1 insertion(+), 1 deletion(-)
12753 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
12754 Author: Martin Pitt <martinpitt@gnome.org>
12755 Date: Mon Sep 17 22:52:49 2012 +0200
12757 post-release bump to 3.3.93
12759 configure.ac | 2 +-
12760 1 file changed, 1 insertion(+), 1 deletion(-)
12762 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
12763 Author: Martin Pitt <martinpitt@gnome.org>
12764 Date: Mon Sep 17 22:48:13 2012 +0200
12768 NEWS | 12 ++++++++++++
12769 1 file changed, 12 insertions(+)
12771 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
12772 Author: Martin Pitt <martinpitt@gnome.org>
12773 Date: Mon Sep 17 22:32:55 2012 +0200
12775 release-news: Generate HTML changelog
12777 In addition to producing a NEWS paragraph from the changelog,
12779 changelog HTML which can be put into blog announcements.
12781 Update HACKING to point this out, too.
12784 Makefile.am | 22 ++++++++++++++++------
12785 2 files changed, 17 insertions(+), 7 deletions(-)
12787 commit be4a0682bdd189ee908ab1961001f759a80e133c
12788 Author: Simon Feltman <s.feltman@gmail.com>
12789 Date: Sun Sep 16 17:27:25 2012 -0700
12791 [API add] Add ObjectInfo.get_abstract method
12793 Adds exposure of g_object_info_get_abstract to python for
12794 helping with analysis of non-constructable objects from
12797 https://bugzilla.gnome.org/show_bug.cgi?id=675581
12799 gi/pygi-info.c | 8 ++++++++
12800 tests/test_gi.py | 12 ++++++++++++
12801 2 files changed, 20 insertions(+)
12803 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
12804 Author: Simon Feltman <s.feltman@gmail.com>
12805 Date: Thu Sep 13 20:53:22 2012 -0700
12807 Add deprecation warning when setting gpointers to anything other
12810 This is a first pass which does not change anything except add
12812 when anything other than an int is set on a gpointer on a boxed type.
12814 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12816 gi/pygi-info.c | 8 ++++++++
12817 1 file changed, 8 insertions(+)
12819 commit a047f61f26d9c78b82d22948199313e5a389e918
12820 Author: Martin Pitt <martinpitt@gnome.org>
12821 Date: Mon Sep 17 09:41:24 2012 +0200
12823 test_properties: Test accessing a property from a superclass
12825 We already cover accessing the superclass' property if that was
12827 Python. Add a corresponding test case for a property defined in C.
12829 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
12831 tests/test_properties.py | 12 ++++++++++++
12832 1 file changed, 12 insertions(+)
12834 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
12835 Author: Martin Pitt <martinpitt@gnome.org>
12836 Date: Mon Sep 17 09:31:05 2012 +0200
12838 test_properties.py: Consistent test names
12840 Use underscore style method/test case names consistently. Also rename
12842 cases to better describe what they do.
12844 tests/test_properties.py | 78
12845 ++++++++++++++++++++++++------------------------
12846 1 file changed, 39 insertions(+), 39 deletions(-)
12848 commit 4069c3d8547f35437e0cee175a5912febe25326d
12849 Author: Martin Pitt <martinpitt@gnome.org>
12850 Date: Wed Sep 12 06:51:24 2012 +0200
12852 test_everything: Ensure TestSignals callback does get called
12854 tests/test_everything.py | 3 +++
12855 1 file changed, 3 insertions(+)
12857 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
12858 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
12859 Date: Fri Sep 7 17:17:09 2012 -0400
12861 argument: Fix 64bit integer convertion from GValue
12863 Trying to get a 64bit integer using the wrong getter was resulting
12865 assertion and 0 being returned.
12867 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12869 https://bugzilla.gnome.org/show_bug.cgi?id=683596
12871 gi/pygi-argument.c | 8 ++++++--
12872 tests/test_everything.py | 52
12873 ++++++++++++++++++++++++++++++++++++++++++++++++
12874 2 files changed, 58 insertions(+), 2 deletions(-)
12876 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
12877 Author: Martin Pitt <martinpitt@gnome.org>
12878 Date: Tue Sep 11 12:32:10 2012 +0200
12880 Add Simon Feltman as a project maintainer
12882 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
12883 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
12885 pygobject.doap | 7 +++++++
12886 1 file changed, 7 insertions(+)
12888 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
12889 Author: Martin Pitt <martinpitt@gnome.org>
12890 Date: Tue Sep 11 10:17:50 2012 +0200
12892 test_signals.py: Drop global type variables
12894 Just use the real types and flags from GObject instead of redefining
12896 for them. They weren't used consistently, make the tests harder to
12898 really do not want global single-letter variables like "f" and "l".
12900 tests/test_signal.py | 38 ++++++++++++++++----------------------
12901 1 file changed, 16 insertions(+), 22 deletions(-)
12903 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
12904 Author: Martin Pitt <martinpitt@gnome.org>
12905 Date: Tue Sep 11 10:11:58 2012 +0200
12907 test_signals.py: Consistent test names
12909 Use underscore style method/test case names consistently.
12911 tests/test_signal.py | 88
12912 ++++++++++++++++++++++++++--------------------------
12913 1 file changed, 44 insertions(+), 44 deletions(-)
12915 commit 4559247553b792db956f69c9674c12344d719c82
12916 Author: Martin Pitt <martinpitt@gnome.org>
12917 Date: Tue Sep 11 09:43:14 2012 +0200
12919 Add test cases for GValue signal arguments
12921 These cover various types, (u)int(64) and string.
12923 Keep the test case for implicit int64 GValues disabled, as this
12925 not work and it is not clear whether it should:
12926 https://bugzilla.gnome.org/show_bug.cgi?id=683775
12928 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
12929 tests/testhelpermodule.c | 17 +++++++++++++++++
12930 2 files changed, 58 insertions(+)
12932 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
12933 Author: Martin Pitt <martinpitt@gnome.org>
12934 Date: Tue Sep 11 09:31:18 2012 +0200
12936 Add test for GValue signal return values
12938 Another attempt to reproduce the reported error in
12939 https://bugzilla.gnome.org/show_bug.cgi?id=683596
12940 but this works already.
12942 tests/test_signal.py | 13 +++++++++++++
12943 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
12944 2 files changed, 49 insertions(+)
12946 commit 4f77c7798563ea436ff5b6306a987f03de50b211
12947 Author: Simon Feltman <s.feltman@gmail.com>
12948 Date: Fri Sep 7 02:32:15 2012 -0700
12950 Improve setting pointer fields/arguments to NULL using None
12952 Setting gi pointers will set them to the address of the python object.
12953 This is good except in the case of None which should be used to NULL
12954 the pointer out as a special case.
12956 Commit 21b1d17d2a already fixed this. This improved patch
12957 does that in a cleaner and safer way and adds more comments.
12959 https://bugzilla.gnome.org/show_bug.cgi?id=683150
12961 gi/pygi-argument.c | 8 +-------
12962 gi/pygi-info.c | 14 +++++++++++++-
12963 2 files changed, 14 insertions(+), 8 deletions(-)
12965 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
12966 Author: Martin Pitt <martinpitt@gnome.org>
12967 Date: Mon Sep 10 16:46:30 2012 +0200
12969 Test gint64 C signal arguments and return values
12971 tests/test_signal.py | 12 ++++++++++++
12972 tests/testhelpermodule.c | 14 ++++++++++++++
12973 2 files changed, 26 insertions(+)
12975 commit 822d9e07a95f706a40f64335765293542787da90
12976 Author: Martin Pitt <martinpitt@gnome.org>
12977 Date: Mon Sep 10 16:29:32 2012 +0200
12979 Test in/out int64 GValue method arguments.
12981 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
12983 tests/test_gi.py | 9 +++++++++
12984 1 file changed, 9 insertions(+)
12986 commit 2d83e52233812618493af4b165615e8741ba41c8
12987 Author: Martin Pitt <martinpitt@gnome.org>
12988 Date: Wed Sep 5 08:54:53 2012 +0200
12990 Bump g-i dependency to 1.33.10
12992 To ensure we have all the Regress test APIs that we use.
12994 configure.ac | 2 +-
12995 1 file changed, 1 insertion(+), 1 deletion(-)
12997 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
12998 Author: Thibault Saunier <thibault.saunier@collabora.com>
12999 Date: Wed Aug 8 12:57:41 2012 -0400
13001 Fix -uninstalled.pc.in file
13003 https://bugzilla.gnome.org/show_bug.cgi?id=683379
13005 pygobject-3.0-uninstalled.pc.in | 6 +++---
13006 1 file changed, 3 insertions(+), 3 deletions(-)
13008 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
13009 Author: Martin Pitt <martinpitt@gnome.org>
13010 Date: Mon Sep 3 22:16:47 2012 +0200
13012 post-release bump to 3.3.92
13014 configure.ac | 2 +-
13015 1 file changed, 1 insertion(+), 1 deletion(-)
13017 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
13018 Author: Martin Pitt <martinpitt@gnome.org>
13019 Date: Mon Sep 3 22:04:01 2012 +0200
13023 NEWS | 32 ++++++++++++++++++++++++++++++++
13024 1 file changed, 32 insertions(+)
13026 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
13027 Author: Martin Pitt <martinpitt@gnome.org>
13028 Date: Mon Sep 3 21:57:00 2012 +0200
13030 Fix exception test case for Python 2
13032 Regression from commit 77844c5 which did not work with Python 2.
13034 tests/test_everything.py | 12 +++++++-----
13035 1 file changed, 7 insertions(+), 5 deletions(-)
13037 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
13038 Author: Martin Pitt <martinpitt@gnome.org>
13039 Date: Mon Sep 3 21:16:01 2012 +0200
13041 Bump g-i dependency
13043 Require at least 1.33.9, as we got a couple of bug fixes there which
13045 and for some cases the code, depend on. We actually require 1.33.10
13047 tests to succeed, but that hasn't been released yet.
13049 configure.ac | 2 +-
13050 1 file changed, 1 insertion(+), 1 deletion(-)
13052 commit 77844c571ad0badc189428b93de9f2572051b67e
13053 Author: Martin Pitt <martinpitt@gnome.org>
13054 Date: Mon Sep 3 17:58:38 2012 +0200
13056 Show proper exception when trying to allocate a disguised struct
13058 Instead of a simple "MemoryError" with no details, raise a proper
13059 TypeError with a traceback and an explanation what happened.
13061 https://bugzilla.gnome.org/show_bug.cgi?id=639972
13063 gi/pygi-struct.c | 7 +++++++
13064 tests/test_everything.py | 13 +++++++++++++
13065 2 files changed, 20 insertions(+)
13067 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
13068 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
13069 Date: Mon Sep 3 16:47:22 2012 +0200
13071 Support marshalling GParamSpec signal arguments
13073 Fix marshalling GParamSpec arguments from C to Python.
13075 https://bugzilla.gnome.org/show_bug.cgi?id=683099
13077 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13079 gi/pygi-argument.c | 10 +++++++++-
13080 tests/test_signal.py | 14 ++++++++++++++
13081 2 files changed, 23 insertions(+), 1 deletion(-)
13083 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
13084 Author: Martin Pitt <martinpitt@gnome.org>
13085 Date: Mon Sep 3 16:06:49 2012 +0200
13087 Add test for a signal that returns a GParamSpec
13089 https://bugzilla.gnome.org/show_bug.cgi?id=683265
13091 tests/test_signal.py | 6 ++++++
13092 tests/testhelpermodule.c | 12 ++++++++++++
13093 2 files changed, 18 insertions(+)
13095 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
13096 Author: Simon Feltman <s.feltman@gmail.com>
13097 Date: Tue Mar 20 04:33:50 2012 -0700
13099 [API add] Add Signal class for adding and connecting custom signals.
13101 The Signal class provides easy creation of signals and removes the
13102 need for __gsignals__ in client code. The Signal class can also be
13103 used as a decorator for wrapping up the custom closure. As well as
13104 providing a "BoundSignal" when accessed on an instance for making
13105 connections without specifying a signal name string.
13106 Python3 annotations can also be used to supply closure argument and
13107 return types when Signal is used as a decorator. For example:
13109 class Eggs(GObject.GObject):
13111 def spam(self, count:int):
13114 https://bugzilla.gnome.org/show_bug.cgi?id=434924
13116 examples/signal.py | 34 ++++--
13117 gi/_gobject/Makefile.am | 3 +-
13118 gi/_gobject/__init__.py | 5 +
13119 gi/_gobject/signalhelper.py | 251
13120 ++++++++++++++++++++++++++++++++++++++++++++
13121 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
13122 5 files changed, 482 insertions(+), 19 deletions(-)
13124 commit 96fa22369fd188465559fc904c7f76e73040e6dd
13125 Author: Martin Pitt <martinpitt@gnome.org>
13126 Date: Mon Sep 3 15:32:12 2012 +0200
13128 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
13130 We have a proper implementation for insert_column_with_attributes()
13132 drop pygtkcompat's empty stub for it.
13134 Also improve test case for
13135 Gtk.TreeView.insert_column_with_attributes().
13137 gi/pygtkcompat.py | 6 ------
13138 tests/test_overrides_gtk.py | 16 ++++++++--------
13139 2 files changed, 8 insertions(+), 14 deletions(-)
13141 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
13142 Author: Marta Maria Casetti <mmcasetti@gmail.com>
13143 Date: Mon Sep 3 13:06:22 2012 +0200
13145 Add override for Gtk.TreeView.insert_column_with_attributes()
13147 https://bugzilla.gnome.org/show_bug.cgi?id=679415
13149 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13151 gi/overrides/Gtk.py | 7 +++++++
13152 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
13153 2 files changed, 45 insertions(+)
13155 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
13156 Author: Martin Pitt <martinpitt@gnome.org>
13157 Date: Mon Sep 3 11:09:55 2012 +0200
13159 .gitignore: Add missing built files
13161 .gitignore | 9 +++++++--
13162 1 file changed, 7 insertions(+), 2 deletions(-)
13164 commit 96431f393036a688666dcf67911bf12b9824b264
13165 Author: Martin Pitt <martinpitt@gnome.org>
13166 Date: Mon Sep 3 11:07:32 2012 +0200
13168 Ship tests/gi in tarball
13170 Spotted by distcheck.
13172 tests/Makefile.am | 6 +++++-
13173 1 file changed, 5 insertions(+), 1 deletion(-)
13175 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
13176 Author: Martin Pitt <martinpitt@gnome.org>
13177 Date: Mon Sep 3 10:18:45 2012 +0200
13179 Fix separate build tree and distcheck
13181 Fix regression from c7c95a79: We must set sys.path in runtests.py
13183 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
13185 prepends the directory of the source file to sys.path, but that
13187 source dir, not the build dir. The build dir has to take precedence,
13189 we fail to import the built libraries.
13191 tests/runtests-windows.py | 10 +++++++---
13192 tests/runtests.py | 13 ++++++++-----
13193 2 files changed, 15 insertions(+), 8 deletions(-)
13195 commit 2d8f48f4ff56bb75985136452b50b75895258608
13196 Author: Martin Pitt <martinpitt@gnome.org>
13197 Date: Mon Sep 3 07:57:01 2012 +0200
13199 Split test_overrides.py
13201 Split the huge test_overrides.py into separate files for gdk, gtk,
13203 and pango. Further split the monolithic classes for Gtk and Gio
13207 https://bugzilla.gnome.org/show_bug.cgi?id=683188
13209 tests/Makefile.am | 5 +
13210 tests/test_overrides.py | 2198
13211 +----------------------------------------
13212 tests/test_overrides_gdk.py | 119 +++
13213 tests/test_overrides_gio.py | 114 +++
13214 tests/test_overrides_glib.py | 445 +++++++++
13215 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
13216 tests/test_overrides_pango.py | 32 +
13217 7 files changed, 2234 insertions(+), 2196 deletions(-)
13219 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
13220 Author: Martin Pitt <martinpitt@gnome.org>
13221 Date: Mon Sep 3 07:17:57 2012 +0200
13223 _pygi_argument_to_object(): Clean up array unmarshalling
13225 The NULL case is already handled at the top, so it does not need to be
13228 Emit a critical if we fail to allocate a Python array of the
13231 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
13232 1 file changed, 16 insertions(+), 31 deletions(-)
13234 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
13235 Author: Alban Browaeys <prahal@yahoo.com>
13236 Date: Wed Aug 29 21:24:17 2012 +0200
13238 Fix memory leak in _pygi_argument_to_object()
13240 Avoid leaking the item_type_info when breaking out of the
13241 switch in _pygi_argument_to_object() for unmarshalling arrays.
13243 https://bugzilla.gnome.org/show_bug.cgi?id=682979
13245 gi/pygi-argument.c | 4 ++++
13246 1 file changed, 4 insertions(+)
13248 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
13249 Author: Simon Feltman <s.feltman@gmail.com>
13250 Date: Sat Sep 1 03:40:31 2012 -0700
13252 Fix setting pointer fields/arguments to NULL using None.
13254 Setting gi pointers will set them to the address of the python object.
13255 This is good except in the case of None which should be used to NULL
13256 the pointer out as a special case.
13258 https://bugzilla.gnome.org/show_bug.cgi?id=683150
13260 gi/pygi-argument.c | 8 +++++++-
13261 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
13262 2 files changed, 48 insertions(+), 1 deletion(-)
13264 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
13265 Author: Martin Pitt <martinpitt@gnome.org>
13266 Date: Thu Aug 23 06:44:27 2012 +0200
13268 Fix for python 2.6, drop support for < 2.6
13270 Replace sys.version_info.major access to tuple access which also
13274 When building for Python 2.6, inject some missing unittest API such as
13275 @unittest.skipUnless and assertGreaterEqual() into the unittest
13277 runtests.py, so that the tests have a chance to run.
13279 As building with Python 2.5 has been broken for a long time with
13281 complaining, and 2.5 is ancient, bump minimum Python requirement to
13283 obsolete #ifdef paths which only apply to <= 2.5.
13285 https://bugzilla.gnome.org/show_bug.cgi?id=682422
13287 configure.ac | 2 +-
13288 gi/_glib/pyglib-python-compat.h | 8 --------
13289 gi/_gobject/gobjectmodule.c | 8 --------
13290 gi/module.py | 2 +-
13291 tests/runtests.py | 27 +++++++++++++++++++++++++++
13292 tests/test_gi.py | 2 +-
13293 6 files changed, 30 insertions(+), 19 deletions(-)
13295 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
13296 Author: Thibault Saunier <thibault.saunier@collabora.com>
13297 Date: Tue Aug 21 07:54:09 2012 +0200
13299 Allow overrides in other directories than gi itself
13301 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
13302 libraries can install overrides in a path that is different from
13304 pygobject installs itself into. These overrides need to put this
13306 __init__.py at the top:
13308 from pkgutil import extend_path
13309 __path__ = extend_path(__path__, __name__)
13311 and put themselves somewhere into the default PYTHONPATH.
13313 https://bugzilla.gnome.org/show_bug.cgi?id=680913
13315 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13316 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
13318 gi/__init__.py | 4 ++++
13319 gi/overrides/__init__.py | 4 ++++
13320 tests/gi/__init__.py | 2 ++
13321 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
13322 tests/gi/overrides/__init__.py | 2 ++
13323 tests/test_overrides.py | 6 ++++++
13324 6 files changed, 44 insertions(+)
13326 commit c7c95a795eee499373499ea5b771447746317bfb
13327 Author: Simon Feltman <s.feltman@gmail.com>
13328 Date: Thu Aug 23 06:03:09 2012 +0200
13330 Clean up sys.path handling in tests
13332 Only set sys.path once in runtests.py, not in the individual test
13334 reduces hidden dependencies between tests by building up a run
13336 search path, and also makes it easier in the future to run the
13338 the installed system libraries.
13340 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
13342 tests/runtests-windows.py | 6 +++++-
13343 tests/runtests.py | 3 +++
13344 tests/test_everything.py | 1 -
13345 tests/test_gdbus.py | 3 ---
13346 tests/test_overrides.py | 3 ---
13347 tests/test_pygtkcompat.py | 3 ---
13348 6 files changed, 8 insertions(+), 11 deletions(-)
13350 commit 3e3525e93d852cde0f63e835b774a9b004773c69
13351 Author: Simon Feltman <s.feltman@gmail.com>
13352 Date: Sun Aug 19 02:30:39 2012 -0700
13354 Fix dynamic creation of enum and flag gi types for Python 3.3
13356 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
13357 subclasses due to what looks to be an unsupported technique. Change
13358 tp_new() method for classes dynamically derived from PyGEnum_Type and
13359 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
13361 __new__() as a python method. This technique seems to work with all
13362 versions of python so the previous python version checking also became
13365 https://bugzilla.gnome.org/show_bug.cgi?id=682323
13367 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
13368 gi/_gobject/pygflags.c | 21 +++++++++------------
13369 2 files changed, 25 insertions(+), 25 deletions(-)
13371 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
13372 Author: Paolo Borelli <pborelli@gnome.org>
13373 Date: Wed Aug 22 10:45:39 2012 +0200
13375 [API add] Override g_menu_item_set_attribute
13377 This C utility API take a vararg, add a corresponding override that
13378 takes a list of tuples
13380 https://bugzilla.gnome.org/show_bug.cgi?id=682436
13382 gi/overrides/Gio.py | 10 ++++++++++
13383 tests/test_overrides.py | 11 +++++++++++
13384 2 files changed, 21 insertions(+)
13386 commit 836902801373e386d370c44e7487aac3432f19f6
13387 Author: Martin Pitt <martinpitt@gnome.org>
13388 Date: Mon Aug 20 23:37:40 2012 +0200
13390 post-release bump to 3.3.91
13392 configure.ac | 2 +-
13393 1 file changed, 1 insertion(+), 1 deletion(-)
13395 commit 6a629e23ff7b0d6f532184017577c7427d577e28
13396 Author: Martin Pitt <martinpitt@gnome.org>
13397 Date: Mon Aug 20 23:05:49 2012 +0200
13401 NEWS | 13 +++++++++++++
13402 configure.ac | 2 +-
13403 2 files changed, 14 insertions(+), 1 deletion(-)
13405 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
13406 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
13407 Date: Mon Aug 20 22:54:52 2012 +0200
13409 Implement marshalling for GParamSpec
13411 https://bugzilla.gnome.org/show_bug.cgi?id=681565
13413 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13415 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
13416 tests/test_gi.py | 14 ++++++++++++++
13417 2 files changed, 26 insertions(+), 4 deletions(-)
13419 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
13420 Author: Martin Pitt <martinpitt@gnome.org>
13421 Date: Mon Aug 20 15:24:10 2012 +0200
13423 Fix pep8/pyflakes invocation
13425 Fix regression from commit 1e056e4f4a: Do fail the tests if
13429 tests/Makefile.am | 4 ++--
13430 1 file changed, 2 insertions(+), 2 deletions(-)
13432 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
13433 Author: Simon Feltman <s.feltman@gmail.com>
13434 Date: Thu Aug 16 16:05:52 2012 -0700
13436 Fix erronous import statements for Python 3.3
13438 Update pygobject-external.h to use GType (which is what GTypeWrapper
13440 exposed as) instead of GTypeWrapper when attempting import.
13442 Catch ImportError around attempted imports of a typelibs override file
13443 which don't always exist (GObject...). This is a behavioural change in
13444 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
13447 https://bugzilla.gnome.org/show_bug.cgi?id=682051
13449 gi/module.py | 7 +++++--
13450 gi/pygobject-external.h | 2 +-
13451 2 files changed, 6 insertions(+), 3 deletions(-)
13453 commit 1e056e4f4a19fd1139187467677c2592c2722290
13454 Author: Martin Pitt <martinpitt@gnome.org>
13455 Date: Mon Aug 20 11:52:08 2012 +0200
13457 Do not fail tests if pyflakes or pep8 are not installed
13459 These tools might not be desirable in restricted build environments or
13460 backports, and e. g. Fedora patches those out. So let the tests
13464 tests/Makefile.am | 4 ++--
13465 1 file changed, 2 insertions(+), 2 deletions(-)
13467 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
13468 Author: Martin Pitt <martinpitt@gnome.org>
13469 Date: Mon Aug 20 11:42:47 2012 +0200
13471 gtk-demo: Fix some PEP-8 whitespace issues
13473 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
13474 demos/gtk-demo/demos/dialogs.py | 2 +-
13475 demos/gtk-demo/demos/rotatedtext.py | 3 +--
13476 3 files changed, 3 insertions(+), 5 deletions(-)
13478 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
13479 Author: Martin Pitt <martinpitt@gnome.org>
13480 Date: Mon Aug 20 11:38:50 2012 +0200
13482 test_overrides.py: Fix PEP8 whitespacing
13484 tests/test_overrides.py | 48
13485 +++++++++++++++++++++++++-----------------------
13486 1 file changed, 25 insertions(+), 23 deletions(-)
13488 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
13489 Author: Martin Pitt <martinpitt@gnome.org>
13490 Date: Mon Aug 20 11:36:19 2012 +0200
13492 Ignore E124 pep8 error
13494 This is "closing bracket does not match visual indentation" which
13496 stupid. We do want the closing bracket at the same indentation level
13498 opening bracket, not the indentation level of the whole statement.
13500 tests/Makefile.am | 2 +-
13501 1 file changed, 1 insertion(+), 1 deletion(-)
13503 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
13504 Author: David Malcolm <dmalcolm@redhat.com>
13505 Date: Mon Aug 20 11:27:52 2012 +0200
13507 Fix unmarshalling of gssize
13509 Do not assume that the v_int union member always corresponds to a
13511 is not true on big-endian 64 bit machines like ppc64, so add a new
13512 gi_argument_to_gssize() and use it properly.
13514 https://bugzilla.gnome.org/show_bug.cgi?id=680693
13515 https://bugzilla.redhat.com/show_bug.cgi?id=842880
13517 gi/pygi-argument.c | 53
13518 +++++++++++++++++++++++++++++++++++++++++++++---
13519 gi/pygi-argument.h | 1 +
13520 gi/pygi-closure.c | 2 +-
13521 gi/pygi-info.c | 4 ++--
13522 gi/pygi-signal-closure.c | 2 +-
13523 5 files changed, 55 insertions(+), 7 deletions(-)
13525 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
13526 Author: David Malcolm <dmalcolm@redhat.com>
13527 Date: Mon Aug 20 11:19:27 2012 +0200
13529 Fix various endianess errors
13531 Fix code which assumed little endian behaviour when mixing different
13533 ints, putting ints into pointers, etc.
13535 https://bugzilla.gnome.org/show_bug.cgi?id=680692
13536 https://bugzilla.redhat.com/show_bug.cgi?id=841596
13538 gi/pygi-argument.c | 64 +++++++++++++--
13539 gi/pygi-argument.h | 6 ++
13540 gi/pygi-cache.c | 2 +
13541 gi/pygi-closure.c | 57 ++++++++++++-
13542 gi/pygi-marshal-from-py.c | 203
13543 ++++++++++++++++++++++++++++++++++++----------
13544 gi/pygi-marshal-from-py.h | 3 +
13545 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
13546 7 files changed, 391 insertions(+), 81 deletions(-)
13548 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
13549 Author: Paolo Borelli <pborelli@gnome.org>
13550 Date: Wed Aug 15 13:16:11 2012 +0200
13552 Add unit test for the TreeModelSort override
13554 tests/test_overrides.py | 7 +++++++
13555 1 file changed, 7 insertions(+)
13557 commit 9f027daa5737107b5959964b699c0089aec8ab1e
13558 Author: Simon Feltman <s.feltman@gmail.com>
13559 Date: Thu Aug 9 03:33:06 2012 -0700
13561 Gtk overrides: Add TreeModelSort.__init__(self, model)
13563 This adds "model" as a required argument to TreeModelSort
13564 instead of it being a hidden keyword argument. This is needed
13565 because the model property is set to construct only and the
13566 default value of None/NULL makes the object useless anyhow.
13568 https://bugzilla.gnome.org/show_bug.cgi?id=681477
13570 gi/overrides/Gtk.py | 8 ++++++++
13571 1 file changed, 8 insertions(+)
13573 commit c8424c2bb19356679e250e73542682dd5f4c74a5
13574 Author: Manuel Quiñones <manuq@laptop.org>
13575 Date: Fri Aug 10 09:38:24 2012 -0300
13577 Convert Gtk.CellRendererState in the pygi-convert script
13579 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
13581 https://bugzilla.gnome.org/show_bug.cgi?id=681596
13583 pygi-convert.sh | 5 +++++
13584 1 file changed, 5 insertions(+)
13586 commit 54d829b34a0d32d852db370f61cc7f25c149f373
13587 Author: Paolo Borelli <pborelli@gnome.org>
13588 Date: Mon Aug 6 16:19:28 2012 +0200
13590 More updates to the HACKING file
13592 module-install has been replaced with 'ftpadmin install' and other
13596 HACKING | 26 ++++++++++----------------
13597 1 file changed, 10 insertions(+), 16 deletions(-)
13599 commit 0788880c6cf4070d3db09896c165fe470d2ec186
13600 Author: Paolo Borelli <pborelli@gnome.org>
13601 Date: Mon Aug 6 16:00:39 2012 +0200
13603 Post-release version bump to 3.3.6
13605 configure.ac | 2 +-
13606 1 file changed, 1 insertion(+), 1 deletion(-)
13608 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
13609 Author: Paolo Borelli <pborelli@gnome.org>
13610 Date: Mon Aug 6 15:52:22 2012 +0200
13614 NEWS | 29 +++++++++++++++++++++++++++++
13615 1 file changed, 29 insertions(+)
13617 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
13618 Author: Paolo Borelli <pborelli@gnome.org>
13619 Date: Mon Aug 6 15:44:32 2012 +0200
13621 Update HACKING file to mention "make release-news"
13623 HACKING | 7 +++----
13624 1 file changed, 3 insertions(+), 4 deletions(-)
13626 commit 587a0c33901383b891f8eb77351c17f06af20b4f
13627 Author: Paolo Borelli <pborelli@gnome.org>
13628 Date: Mon Aug 6 15:38:23 2012 +0200
13630 pygi-closure: remove unused variables
13632 These variables are assigned but never actually used
13634 gi/pygi-closure.c | 8 --------
13635 1 file changed, 8 deletions(-)
13637 commit dbc6df6aad7197fcf8721ade429baadd749f7069
13638 Author: Martin Pitt <martinpitt@gnome.org>
13639 Date: Fri Aug 3 07:13:55 2012 +0200
13641 tests: Do not break on Pango warnings
13643 In some restricted environments (like chroots) we sometimes get
13645 Pango when it cannot find an appropriate font. Do not make the tests
13649 tests/test_overrides.py | 4 ++++
13650 tests/test_pygtkcompat.py | 6 ++++++
13651 2 files changed, 10 insertions(+)
13653 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
13654 Author: Martin Pitt <martinpitt@gnome.org>
13655 Date: Fri Aug 3 06:45:48 2012 +0200
13657 Fix list marshalling on big-endian machines
13659 On big endian machines we cannot simply set e. g. GIArgument.v_int8
13661 GIArgument.v_pointer to be a correct representation. This needs to use
13662 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
13663 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
13665 to and from GList and GSList, and handle int8 and int16 as well.
13667 Part of porting pygobject to ppc64:
13668 https://bugzilla.redhat.com/show_bug.cgi?id=842880
13669 https://bugzilla.gnome.org/show_bug.cgi?id=680693
13671 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
13672 gi/pygi-marshal-to-py.c | 54
13673 +++++++++++++++++++++++++++--------------------
13674 2 files changed, 60 insertions(+), 42 deletions(-)
13676 commit b5cd13f47309ec26727b7574e33595a357602468
13677 Author: Colin Walters <walters@verbum.org>
13678 Date: Tue Jul 31 11:47:02 2012 -0400
13680 pygi-marshal: One more 32-bit -Werror=format fix
13682 gi/pygi-marshal-from-py.c | 6 +++---
13683 1 file changed, 3 insertions(+), 3 deletions(-)
13685 commit 526bf43691cb6ed908589312b1693a6389eba00c
13686 Author: Martin Pitt <martinpitt@gnome.org>
13687 Date: Tue Jul 31 17:14:37 2012 +0200
13689 Beautify class/interface type mismatch error messages
13691 Avoid saying "<unknown module>.int", just skip the module name
13692 completely if we do not have one.
13694 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
13695 1 file changed, 12 insertions(+), 8 deletions(-)
13697 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
13698 Author: Martin Pitt <martinpitt@gnome.org>
13699 Date: Tue Jul 31 13:13:21 2012 +0200
13701 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
13703 On initial jhbuild bootstrap or restricted environments, the Pango,
13705 and Gtk typelibs might not be available. Skip tests which need these
13707 failing the testsuite.
13709 tests/test_atoms.py | 7 ++++++-
13710 tests/test_everything.py | 9 ++++++++-
13711 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
13712 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
13713 4 files changed, 60 insertions(+), 18 deletions(-)
13715 commit a2e73c109f3ed6080eabc85810e624b9f984317e
13716 Author: Colin Walters <walters@verbum.org>
13717 Date: Tue Jul 31 09:02:24 2012 -0400
13719 pygi-argument: Fix -Wformat warning on 32 bit builds
13721 gi/pygi-argument.c | 4 ++--
13722 1 file changed, 2 insertions(+), 2 deletions(-)
13724 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
13725 Author: Martin Pitt <martinpitt@gnome.org>
13726 Date: Tue Jul 31 11:14:36 2012 +0200
13728 Fix tests for Python 2
13730 In Python 2 we get different error messages for a mismatching self
13732 check after commit 121b14028.
13734 tests/test_gi.py | 32 ++++++++++++++++++++------------
13735 1 file changed, 20 insertions(+), 12 deletions(-)
13737 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
13738 Author: Martin Pitt <martinpitt@gnome.org>
13739 Date: Tue Jul 31 10:30:22 2012 +0200
13741 Build with -Werror=format
13743 This catches format string problems on particular architectures like
13745 dea24f8e12 much more insistently.
13748 1 file changed, 1 insertion(+)
13750 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
13751 Author: Simon Feltman <s.feltman@gmail.com>
13752 Date: Mon Jul 30 02:00:16 2012 -0700
13754 [API add] pygtkcompat: Add more pixbuf creation functions
13756 Add the following functions:
13757 pixbuf_new_from_data
13758 pixbuf_new_from_file_at_scale
13759 pixbuf_new_from_file_at_size
13760 pixbuf_new_from_inline
13761 pixbuf_new_from_stream
13762 pixbuf_new_from_stream_at_scale
13763 pixbuf_new_from_xpm_data
13764 pixbuf_get_file_info
13766 https://bugzilla.gnome.org/show_bug.cgi?id=680814
13768 gi/pygtkcompat.py | 10 +++++++++-
13769 1 file changed, 9 insertions(+), 1 deletion(-)
13771 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
13772 Author: Colin Walters <walters@verbum.org>
13773 Date: Mon Jul 30 22:17:44 2012 -0400
13775 marshal: Fix a lot of format string warnings on 32 bit
13777 G_GUINT64_FORMAT and friends handle "%lld" portably.
13779 https://bugzilla.gnome.org/show_bug.cgi?id=680878
13781 gi/pygi-marshal-from-py.c | 18 +++++++++---------
13782 1 file changed, 9 insertions(+), 9 deletions(-)
13784 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
13785 Author: Colin Walters <walters@verbum.org>
13786 Date: Mon Jul 30 22:30:07 2012 -0400
13788 marshal: Fix build break on Python 2
13790 I *think* using this wrapper function instead is right.
13792 https://bugzilla.gnome.org/show_bug.cgi?id=680879
13794 gi/pygi-marshal-from-py.c | 8 ++++----
13795 1 file changed, 4 insertions(+), 4 deletions(-)
13797 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
13798 Author: Manuel Quiñones <manuq@laptop.org>
13799 Date: Mon Jul 30 12:53:36 2012 -0300
13801 Improve testcase for tree_view_column_set_attributes
13803 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
13805 https://bugzilla.gnome.org/show_bug.cgi?id=680320
13807 tests/test_overrides.py | 20 ++++++++++++++++++--
13808 1 file changed, 18 insertions(+), 2 deletions(-)
13810 commit 121b1402860407fe46f7501e42447bf3607872ec
13811 Author: Martin Pitt <martinpitt@gnome.org>
13812 Date: Tue Jul 31 00:37:55 2012 +0200
13814 Fix error messages on interface/class type mismatches
13816 Previously, when you called a function with an argument which was not
13817 compatible with the expected class/interface type, you got an
13821 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
13823 which had the wrong (and useless) class name for the actual type,
13825 tell you which argument caused the problem. With this it says e. g.
13827 TypeError: argument column: Expected Gtk.TreeViewColumn, but
13832 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
13833 tests/test_gi.py | 57
13834 ++++++++++++++++++++++++++++++++++++++++++++++-
13835 2 files changed, 88 insertions(+), 10 deletions(-)
13837 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
13838 Author: Simon Feltman <s.feltman@gmail.com>
13839 Date: Sun Jul 29 23:36:25 2012 -0700
13841 Fix crash when returning (False, None) from
13842 Gtk.TreeModel.do_get_iter()
13844 Add a Py_None check before attempting memcpy().
13846 https://bugzilla.gnome.org/show_bug.cgi?id=680812
13848 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13850 gi/pygi-closure.c | 10 +++++++---
13851 tests/test_overrides.py | 9 +++++++++
13852 2 files changed, 16 insertions(+), 3 deletions(-)
13854 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
13855 Author: Martin Pitt <martinpitt@gnome.org>
13856 Date: Mon Jul 30 11:58:24 2012 +0200
13858 Add test case for Gtk.TextIter.forward_search()
13860 https://bugzilla.gnome.org/show_bug.cgi?id=679415
13862 tests/test_overrides.py | 19 +++++++++++++++++++
13863 1 file changed, 19 insertions(+)
13865 commit aae4e77482c02e21154ab02b159f380f5f0f74be
13866 Author: Martin Pitt <martinpitt@gnome.org>
13867 Date: Fri Jul 27 23:06:39 2012 +0200
13869 Add missing static declarations
13871 This fixes a lot of -Wmissing-prototype warnings.
13873 Also remove _pygi_marshal_cleanup_closure_unref() which is not
13876 gi/_gobject/gobjectmodule.c | 4 ++--
13877 gi/_gobject/pygobject.c | 2 +-
13878 gi/pygi-cache.c | 2 +-
13879 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
13880 gi/pygi-foreign.c | 2 +-
13881 gi/pygi-marshal-cleanup.c | 9 ---------
13882 tests/test-unknown.c | 2 +-
13883 tests/testhelpermodule.c | 4 ++--
13884 8 files changed, 20 insertions(+), 29 deletions(-)
13886 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
13887 Author: Martin Pitt <martinpitt@gnome.org>
13888 Date: Fri Jul 27 23:01:08 2012 +0200
13890 Fix more missing #includes
13892 Add missing includes which caused -Wmissing-prototypes warnings.
13894 gi/_gobject/pygenum.c | 2 ++
13895 gi/_gobject/pyginterface.c | 2 ++
13896 2 files changed, 4 insertions(+)
13898 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
13899 Author: Martin Pitt <martinpitt@gnome.org>
13900 Date: Fri Jul 27 22:59:21 2012 +0200
13902 Make some warnings fatal
13904 Add -Werror for some warnings which are real errors in the source
13906 really want to avoid. This includes -Wmissing-prototypes, but that
13908 breaks on building g-i's regress.c.
13910 configure.ac | 5 +++++
13911 1 file changed, 5 insertions(+)
13913 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
13914 Author: Martin Pitt <martinpitt@gnome.org>
13915 Date: Fri Jul 27 22:08:47 2012 +0200
13917 Fix missing #includes
13919 Add missing includes which caused -Wmissing-prototypes warnings.
13921 gi/_glib/pygiochannel.c | 2 ++
13922 gi/_glib/pygspawn.c | 2 ++
13923 2 files changed, 4 insertions(+)
13925 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
13926 Author: Martin Pitt <martinpitt@gnome.org>
13927 Date: Fri Jul 27 20:52:00 2012 +0200
13929 pygi-info.c: Robustify pointer arithmetic
13931 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
13933 that we are using byte offsets. Fixes warnings:
13935 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
13936 arithmetic [-Werror=pointer-arith]
13938 gi/pygi-info.c | 4 ++--
13939 1 file changed, 2 insertions(+), 2 deletions(-)
13941 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
13942 Author: Martin Pitt <martinpitt@gnome.org>
13943 Date: Fri Jul 27 20:50:30 2012 +0200
13945 pyglib.c: Remove some dead code
13947 Drop unused pyglib_gil_state_ensure_py23() and
13948 pyglib_gil_state_release_py23().
13950 gi/_glib/pyglib.c | 18 ------------------
13951 1 file changed, 18 deletions(-)
13953 commit a46d165d906d0ac7613f4d946542423e979f39d5
13954 Author: Manuel Quiñones <manuq@laptop.org>
13955 Date: Fri Jul 20 10:37:04 2012 -0300
13957 Add set_attributes() override to Gtk.TreeViewColumn
13959 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
13960 gtk_cell_layout_clear_attributes and then
13961 gtk_cell_layout_add_attribute for each (name, value) passed. This
13962 patch makes the same in the overrides.
13964 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
13965 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13967 gi/overrides/Gtk.py | 7 +++++++
13968 tests/test_overrides.py | 6 ++++++
13969 2 files changed, 13 insertions(+)
13971 commit 4df676e10a5ea595a0d491af10268f557dd722d7
13972 Author: Daniel Narvaez <dwnarvaez@gmail.com>
13973 Date: Tue Jul 24 13:49:15 2012 +0200
13977 The autogenerated gitignores was missing several files. So we
13978 was using a manual .gitignore at the root. But since it's
13979 enough to add a couple of entries to it to cover the whole
13980 tree, there is no much point in using git.mk at all.
13982 https://bugzilla.gnome.org/show_bug.cgi?id=678192
13985 docs/Makefile.am | 2 -
13986 examples/Makefile.am | 3 -
13987 gi/Makefile.am | 3 -
13988 gi/_glib/Makefile.am | 3 -
13989 gi/_gobject/Makefile.am | 2 -
13990 gi/overrides/Makefile.am | 2 -
13991 gi/repository/Makefile.am | 2 -
13993 ----------------------------------------------
13994 tests/Makefile.am | 2 -
13995 10 files changed, 222 deletions(-)
13997 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
13998 Author: Simon Feltman <s.feltman@gmail.com>
13999 Date: Fri Jul 20 19:55:46 2012 -0700
14001 Gtk overrides: Add TreePath.__getitem__()
14003 Use pythons sub-script operator for indexing into TreePaths
14004 as was the case in PyGtk. Also changed __iter__ to use
14005 TreePath.get_indices as opposed to formatting and re-parsing
14006 a string for getting an index list.
14008 https://bugzilla.gnome.org/show_bug.cgi?id=680353
14010 gi/overrides/Gtk.py | 5 ++++-
14011 tests/test_overrides.py | 4 ++++
14012 2 files changed, 8 insertions(+), 1 deletion(-)
14014 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
14015 Author: Simon Feltman <s.feltman@gmail.com>
14016 Date: Fri Jul 20 21:34:33 2012 -0700
14018 Fix property type mapping from int to TYPE_INT for python3.
14020 Python3 does not have a long type, however, propertyhelper.py was
14021 using long_ = int; to get things working. Type mapping code
14022 was then checking for long_ first and always returning TYPE_LONG.
14023 Additional refactoring was done to move large if/elif statements
14024 into dictionary lookups and usage of tuples instead of lists
14025 for simple 'in' list of items tests.
14027 https://bugzilla.gnome.org/show_bug.cgi?id=679939
14029 gi/_gobject/propertyhelper.py | 117
14030 +++++++++++++++++++-----------------------
14031 tests/test_properties.py | 55 +++++++++++++++-----
14032 2 files changed, 96 insertions(+), 76 deletions(-)
14034 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
14035 Author: Manuel Quiñones <manuq@laptop.org>
14036 Date: Thu Jul 19 12:11:34 2012 -0300
14038 Convert Gtk.DestDefaults constants in pygi-convert.sh script
14040 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14042 https://bugzilla.gnome.org/show_bug.cgi?id=680259
14044 pygi-convert.sh | 1 +
14045 1 file changed, 1 insertion(+)
14047 commit d58c3553062fd8704a81a8233b4a1563a6611718
14048 Author: Manuel Quiñones <manuq@laptop.org>
14049 Date: Thu Jul 19 12:04:03 2012 -0300
14051 Convert all Gdk.WindowState constants in pygi-convert.sh
14053 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14055 https://bugzilla.gnome.org/show_bug.cgi?id=680257
14057 pygi-convert.sh | 1 +
14058 1 file changed, 1 insertion(+)
14060 commit a3aae2e152c0b955037b7b85e16d14d00881d870
14061 Author: Joe R. Nassimian <placidrage@gmail.com>
14062 Date: Thu Jul 19 15:48:20 2012 +0200
14064 [API add] Add API for checking pygobject's version
14066 Add a gi.__version__ attribute for the textual version, and
14067 gi.version_info for
14068 a version triple similar to sys.version_info.
14070 Also add a gi.require_version(<minimum_version>) which raises an
14072 the pygobject version is older.
14074 https://bugzilla.gnome.org/show_bug.cgi?id=680176
14076 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14078 gi/__init__.py | 16 ++++++++++++++++
14079 tests/test_gi.py | 16 ++++++++++++++++
14080 2 files changed, 32 insertions(+)
14082 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
14083 Author: Manuel Quiñones <manuq@laptop.org>
14084 Date: Mon Jul 16 17:14:46 2012 -0300
14086 pygi-convert.sh: Add some missing Gdk.CursorTypes
14088 This patch adds WATCH, ARROW and CLOCK.
14090 https://bugzilla.gnome.org/show_bug.cgi?id=680050
14092 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14093 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14095 pygi-convert.sh | 3 +++
14096 1 file changed, 3 insertions(+)
14098 commit 0b08c01414ac73a4604acd9a846e7af09574929f
14099 Author: Manuel Kaufmann <humitos@gmail.com>
14100 Date: Tue Jul 17 09:05:27 2012 -0300
14102 pygi-convert.sh: convert rsvg.Handle(data=...)
14104 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
14106 https://bugzilla.gnome.org/show_bug.cgi?id=680092
14108 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
14109 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14111 pygi-convert.sh | 2 ++
14112 1 file changed, 2 insertions(+)
14114 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
14115 Author: Martin Pitt <martinpitt@gnome.org>
14116 Date: Mon Jul 16 17:35:38 2012 +0200
14118 configure.ac: post-release bump to 3.3.5
14120 configure.ac | 2 +-
14121 1 file changed, 1 insertion(+), 1 deletion(-)
14123 commit 126842b7227fcc1381dc158acdc5a96d0a465515
14124 Author: Martin Pitt <martinpitt@gnome.org>
14125 Date: Mon Jul 16 17:33:08 2012 +0200
14129 NEWS | 28 ++++++++++++++++++++++++++++
14130 1 file changed, 28 insertions(+)
14132 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
14133 Author: Martin Pitt <martinpitt@gnome.org>
14134 Date: Mon Jul 16 17:29:22 2012 +0200
14136 test_gi: Fix for Python 2
14138 tests/test_gi.py | 7 +++++--
14139 1 file changed, 5 insertions(+), 2 deletions(-)
14141 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
14142 Author: Martin Pitt <martinpitt@gnome.org>
14143 Date: Mon Jul 16 16:35:33 2012 +0200
14145 pygi-convert.sh: Drop bogus filter_new() conversion
14147 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
14148 constructor, so do not try to convert it to a constructor call.
14150 https://bugzilla.gnome.org/show_bug.cgi?id=679999
14152 pygi-convert.sh | 1 -
14153 1 file changed, 1 deletion(-)
14155 commit c0607d970fc59528ca27d518282cf2871b92e909
14156 Author: Martin Pitt <martinpitt@gnome.org>
14157 Date: Mon Jul 16 16:00:40 2012 +0200
14159 Fix help() for GI modules
14161 Derive DynamicModule from types.ModuleType, so that the inspect
14163 ismodule() actually succeeds on those and generates useful help on
14167 https://bugzilla.gnome.org/show_bug.cgi?id=679804
14169 gi/module.py | 3 ++-
14170 tests/test_gi.py | 15 +++++++++++++++
14171 2 files changed, 17 insertions(+), 1 deletion(-)
14173 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
14174 Author: Martin Pitt <martinpitt@gnome.org>
14175 Date: Mon Jul 16 15:53:31 2012 +0200
14177 Skip gi.CallbackInfo objects from a module's dir()
14179 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
14181 implement __getattr__ for those.
14183 Add a test case that dir() works on GI modules, contain expected
14185 and that all identifiers in dir() can actually be retrieved.
14187 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
14189 gi/module.py | 7 +++++--
14190 tests/test_gi.py | 14 ++++++++++++++
14191 2 files changed, 19 insertions(+), 2 deletions(-)
14193 commit f6cc039e014448a553d626aac4020ee69717edab
14194 Author: Martin Pitt <martinpitt@gnome.org>
14195 Date: Mon Jul 16 15:38:05 2012 +0200
14197 Fix __path__ module attribute
14199 get_typelib_path() returns bytes, not strings, so in Python 3 we
14201 it to get a proper __path__ attribute.
14203 gi/module.py | 17 +++++++++++++++++
14204 tests/test_gi.py | 10 ++++++++++
14205 2 files changed, 27 insertions(+)
14207 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
14208 Author: Joe R. Nassimian <placidrage@gmail.com>
14209 Date: Mon Jul 16 15:02:10 2012 +0200
14211 pygi-convert.sh: Fix some child → getChild() false positives
14213 https://bugzilla.gnome.org/show_bug.cgi?id=680004
14215 pygi-convert.sh | 2 +-
14216 1 file changed, 1 insertion(+), 1 deletion(-)
14218 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
14219 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
14220 Date: Thu Jul 12 09:19:42 2012 +0200
14222 Fix array handling for interfaces, properties, and signals
14224 Fix lots of corner cases where arrays are not handled properly.
14225 _pygi_argument_to_object() now has the documented expectation of
14227 packed in GArrays. This was implicit before and not correctly done
14231 The helper _pygi_argument_to_array() has been improved to work on
14233 array. Fix all call sites of _pygi_argument_to_object() to do the
14234 array conversion appropriately before calling
14235 _pygi_argument_to_object().
14237 Adds a test case that implements a GInterface with a method that
14239 of variants as input.
14241 https://bugzilla.gnome.org/show_bug.cgi?id=667244
14243 gi/pygi-argument.c | 156
14244 ++++++++++++++++++++++++++++++++---------------
14245 gi/pygi-argument.h | 4 +-
14246 gi/pygi-closure.c | 11 ++++
14247 gi/pygi-info.c | 20 ++++--
14248 gi/pygi-property.c | 1 +
14249 gi/pygi-signal-closure.c | 14 ++++-
14250 tests/test_gi.py | 18 ++++++
14251 7 files changed, 167 insertions(+), 57 deletions(-)
14253 commit bb80d124269ee2389c04d03a478475868fd9ff7b
14254 Author: Manuel Quiñones <manuq@laptop.org>
14255 Date: Wed Jul 11 22:05:41 2012 -0300
14257 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
14259 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14261 https://bugzilla.gnome.org/show_bug.cgi?id=679775
14263 pygi-convert.sh | 3 +++
14264 1 file changed, 3 insertions(+)
14266 commit e3a63eefa5fb2abeabd210790e12642e577363c8
14267 Author: Manuel Quiñones <manuq@laptop.org>
14268 Date: Wed Jul 11 13:18:16 2012 -0300
14270 Add the same rules for pack_start to convert pack_end
14272 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14274 https://bugzilla.gnome.org/show_bug.cgi?id=679760
14276 pygi-convert.sh | 5 +++++
14277 1 file changed, 5 insertions(+)
14279 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
14280 Author: Dave Malcolm <dmalcolm@redhat.com>
14281 Date: Wed Jul 11 08:21:27 2012 +0200
14283 Add error-checking for the case where _arg_cache_new() fails
14285 This can happen when a typelib and its underlying library are
14287 converts the segfault into a more helpful traceback.
14289 https://bugzilla.gnome.org/show_bug.cgi?id=678914
14291 gi/pygi-cache.c | 2 ++
14292 1 file changed, 2 insertions(+)
14294 commit 41287d8a439c656e4ac60361fddec643c713234c
14295 Author: Manuel Quiñones <manuq@laptop.org>
14296 Date: Wed Jul 11 11:13:38 2012 -0300
14298 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
14301 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14303 https://bugzilla.gnome.org/show_bug.cgi?id=679754
14305 pygi-convert.sh | 6 ++++++
14306 1 file changed, 6 insertions(+)
14308 commit 5403149b900d1b73cbc78767dc43be2eb344c836
14309 Author: Simon Feltman <s.feltman@gmail.com>
14310 Date: Tue Jul 10 19:07:32 2012 -0700
14312 Fix PyObject_Repr and PyObject_Str reference leaks
14314 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
14317 https://bugzilla.gnome.org/show_bug.cgi?id=675857
14319 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14321 gi/_glib/glibmodule.c | 10 +++++++--
14322 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
14323 gi/_gobject/pygobject.c | 53
14324 ++++++++++++++++++++++++++++++---------------
14325 gi/pygi-marshal-from-py.c | 9 +++++---
14326 4 files changed, 62 insertions(+), 27 deletions(-)
14328 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
14329 Author: Martin Pitt <martinpitt@gnome.org>
14330 Date: Wed Jul 4 08:46:30 2012 +0200
14332 [API add] Gtk overrides: Add TreePath.__len__()
14334 Use the path depth as length of a Gtk.TreePath object.
14336 https://bugzilla.gnome.org/show_bug.cgi?id=679199
14338 gi/overrides/Gtk.py | 3 +++
14339 tests/test_overrides.py | 4 ++++
14340 2 files changed, 7 insertions(+)
14342 commit e1e849d1a9af77c29ee35971db8d439bac60d573
14343 Author: Martin Pitt <martinpitt@gnome.org>
14344 Date: Wed Jul 4 08:35:16 2012 +0200
14346 GLib.Variant: Fix repr(), add proper str()
14348 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
14350 proper __str__() method, and tests for both.
14352 Thanks to Rul Matos for spotting this!
14354 https://bugzilla.gnome.org/show_bug.cgi?id=679336
14356 gi/overrides/GLib.py | 6 +++++-
14357 tests/test_overrides.py | 5 +++++
14358 2 files changed, 10 insertions(+), 1 deletion(-)
14360 commit af20d7c929b9c1888454b52932a308d346e1c12b
14361 Author: Martin Pitt <martinpitt@gnome.org>
14362 Date: Thu Jun 28 06:51:22 2012 +0200
14364 m4/python.m4: Update Python version list
14366 Thanks to Dieter Verfaillie for pointing this out.
14368 m4/python.m4 | 3 +--
14369 1 file changed, 1 insertion(+), 2 deletions(-)
14371 commit a96a26234e2aaa157837d26094864e3ad9b63edf
14372 Author: Micah Carrick <micah@quixotix.com>
14373 Date: Mon Jun 25 09:05:59 2012 -0700
14375 Remove "label" property from Gtk.MenuItem if it is not set
14377 The Gtk.MenuItem will not render as a separator if the "label" or
14378 "user-underline" properties have been accessed. The constructor
14379 for Gtk.MenuItem override should not pass the "label" property
14380 as an argument if it is None since that will still result in an
14381 empty label widget which breaks Gtk.SeparatorMenuItem.
14383 https://bugzilla.gnome.org/show_bug.cgi?id=670575
14385 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14387 gi/overrides/Gtk.py | 5 ++++-
14388 1 file changed, 4 insertions(+), 1 deletion(-)
14390 commit afa12faf339efb4f7780168e884ecf49b630644a
14391 Author: Martin Pitt <martinpitt@gnome.org>
14392 Date: Mon Jun 25 16:36:31 2012 +0200
14394 configure.ac: Post-release bump to 3.3.4.
14396 configure.ac | 2 +-
14397 1 file changed, 1 insertion(+), 1 deletion(-)
14399 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
14400 Author: Martin Pitt <martinpitt@gnome.org>
14401 Date: Mon Jun 25 16:35:49 2012 +0200
14406 configure.ac | 2 +-
14407 2 files changed, 4 insertions(+), 1 deletion(-)
14409 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
14410 Author: Martin Pitt <martinpitt@gnome.org>
14411 Date: Mon Jun 25 16:32:45 2012 +0200
14413 Do not escape enum and flag names that are Python keywords
14415 These are translated to upper case, and thus can never be
14416 keywords. This broke
14417 existing API such as Gtk.ShadowType.IN.
14419 gi/module.py | 2 +-
14420 gi/pygi-info.c | 7 +++++++
14421 tests/test_gi.py | 3 +++
14422 3 files changed, 11 insertions(+), 1 deletion(-)
14424 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
14425 Author: Martin Pitt <martinpitt@gnome.org>
14426 Date: Mon Jun 25 15:39:50 2012 +0200
14428 configure.ac: Post-release version bump to 3.3.4
14430 configure.ac | 2 +-
14431 1 file changed, 1 insertion(+), 1 deletion(-)
14433 commit fe56faa346c8e8f9fd5915602424778d458a776d
14434 Author: Martin Pitt <martinpitt@gnome.org>
14435 Date: Mon Jun 25 15:36:37 2012 +0200
14439 NEWS | 15 +++++++++++++++
14440 1 file changed, 15 insertions(+)
14442 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
14443 Author: Martin Pitt <martinpitt@gnome.org>
14444 Date: Mon Jun 25 15:35:19 2012 +0200
14446 Bring back ChangeLog make target
14448 This is being used by "make dist".
14450 Makefile.am | 15 +++++++++++++++
14451 1 file changed, 15 insertions(+)
14453 commit 760118e4ed73de2f022706ef897fcc848e90c005
14454 Author: Martin Pitt <martinpitt@gnome.org>
14455 Date: Mon Jun 25 15:31:14 2012 +0200
14457 Remove obsolete ChangeLog and release-tag make targets
14459 Makefile.am | 23 -----------------------
14460 1 file changed, 23 deletions(-)
14462 commit e92278692bb51679d6e957c2ac36db64498a7c73
14463 Author: Simon Schampijer <simon@schampijer.de>
14464 Date: Fri Jun 15 16:11:21 2012 +0200
14466 Do not do any python calls when GObjects are destroyed after the
14467 python interpreter has been finalized
14469 This happens when pygobject_data_free () function is called after
14471 interpreter shuts down, we can't do python calls after that.
14473 Benzea did the findings because of a bug in Sugar, and commented
14475 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
14477 https://bugzilla.gnome.org/show_bug.cgi?id=678046
14479 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
14480 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14482 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
14483 1 file changed, 22 insertions(+), 5 deletions(-)
14485 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
14486 Author: Martin Pitt <martinpitt@gnome.org>
14487 Date: Mon Jun 25 15:06:47 2012 +0200
14489 Do not change constructor-only "type" Window property
14491 When reading a Gtk.Window subclass from a GtkBuilder object,
14493 properties are already set at __init__ time. Do not try to set it
14497 https://bugzilla.gnome.org/show_bug.cgi?id=678510
14499 gi/overrides/Gtk.py | 8 +++++++-
14500 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
14501 2 files changed, 43 insertions(+), 1 deletion(-)
14503 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
14504 Author: Martin Pitt <martinpitt@gnome.org>
14505 Date: Mon Jun 25 09:40:38 2012 +0200
14507 Escape identifiers which are Python keywords
14509 Add a trailing underscore to identifiers which are Python keywords.
14511 We use a per-major-version static identifier list derived from
14513 instead of calling out to Python's keyword.iskeyword(). This is
14515 and also allows us to tweak the result. For example, Python 3 dropped
14517 as a keyword, but we still want to escape that to avoid breaking
14519 between different Python versions.
14521 Error out when building with a major Python version not covered yet,
14523 do not forget to update the list in the future.
14525 https://bugzilla.gnome.org/show_bug.cgi?id=676746
14527 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
14528 tests/test_gi.py | 17 +++++++++++++++++
14529 2 files changed, 54 insertions(+), 1 deletion(-)
14531 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
14532 Author: Martin Pitt <martinpitt@gnome.org>
14533 Date: Fri Jun 22 13:13:37 2012 +0200
14535 Ignore E123 in pep8 tests
14537 This is "closing bracket does not match indentation of opening
14539 but it really looks better to have the closing bracket on the
14541 of the opening bracket instead of the indentation level of the
14543 contains the opening bracket.
14545 tests/Makefile.am | 2 +-
14546 1 file changed, 1 insertion(+), 1 deletion(-)
14548 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
14549 Author: Martin Pitt <martinpitt@gnome.org>
14550 Date: Fri Jun 22 13:08:34 2012 +0200
14552 PEP8: Fix indentation
14554 Spotted by current pep8 checker.
14556 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
14557 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
14558 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
14559 demos/gtk-demo/demos/appwindow.py | 2 +-
14560 demos/gtk-demo/demos/clipboard.py | 8 +--
14561 demos/gtk-demo/demos/colorselector.py | 6 +--
14562 demos/gtk-demo/demos/rotatedtext.py | 8 +--
14563 demos/gtk-demo/gtk-demo.py | 6 +--
14564 examples/option.py | 29 ++++++-----
14565 examples/signal.py | 3 +-
14566 gi/_glib/option.py | 6 +--
14567 gi/_gobject/propertyhelper.py | 18 +++----
14568 gi/module.py | 14 +++---
14569 gi/overrides/GLib.py | 2 +-
14570 gi/overrides/Gio.py | 11 +++--
14571 gi/overrides/Gtk.py | 16 +++---
14572 gi/pygtkcompat.py | 7 ++-
14573 gi/types.py | 17 ++++---
14574 tests/runtests.py | 2 +-
14575 tests/test_gdbus.py | 55 +++++++++++----------
14576 tests/test_gi.py | 15 +++---
14577 tests/test_gobject.py | 18 +++----
14578 tests/test_option.py | 26 +++++-----
14579 tests/test_overrides.py | 67
14580 +++++++++++++-------------
14581 tests/test_properties.py | 30 ++++++------
14582 tests/test_signal.py | 2 +-
14583 tests/test_uris.py | 9 ++--
14584 27 files changed, 200 insertions(+), 193 deletions(-)
14586 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
14587 Author: Martin Pitt <martinpitt@gnome.org>
14588 Date: Fri Jun 22 12:36:54 2012 +0200
14590 PEP8: Use isinstance() instead of direct type comparisons
14592 Spotted by current pep8 checker.
14594 gi/overrides/GLib.py | 2 +-
14595 gi/overrides/__init__.py | 2 +-
14596 2 files changed, 2 insertions(+), 2 deletions(-)
14598 commit 50e45a624e6301e65c150e137aad6d092f203f3f
14599 Author: Martin Pitt <martinpitt@gnome.org>
14600 Date: Fri Jun 22 12:30:10 2012 +0200
14602 PEP8: Fix continuation lines
14604 Spotted by current pep8 checker.
14606 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
14607 gi/__init__.py | 6 +++---
14608 gi/_gobject/__init__.py | 6 ++----
14609 gi/module.py | 6 +++---
14610 tests/test_overrides.py | 11 +++--------
14611 5 files changed, 14 insertions(+), 21 deletions(-)
14613 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
14614 Author: Martin Pitt <martinpitt@gnome.org>
14615 Date: Fri Jun 22 12:24:32 2012 +0200
14617 PEP8: Consistent comparisons against True, False, and None
14619 Spotted by current pep8 checker.
14621 demos/gtk-demo/demos/clipboard.py | 4 ++--
14622 demos/gtk-demo/demos/drawingarea.py | 4 ++--
14623 demos/gtk-demo/gtk-demo.py | 8 ++++----
14624 gi/overrides/Gdk.py | 2 +-
14625 gi/overrides/Gtk.py | 2 +-
14626 tests/test_gi.py | 4 ++--
14627 tests/test_overrides.py | 3 +--
14628 7 files changed, 13 insertions(+), 14 deletions(-)
14630 commit 379c1474a071292a1e8da413af2f5438cff09fc8
14631 Author: Martin Pitt <martinpitt@gnome.org>
14632 Date: Wed Jun 20 12:23:12 2012 +0200
14634 Fix crash in GLib.find_program_in_path()
14636 We need to handle a NULL return value properly.
14638 https://bugzilla.gnome.org/show_bug.cgi?id=678119
14640 gi/_glib/glibmodule.c | 10 ++++++++--
14641 tests/Makefile.am | 1 +
14642 tests/test_glib.py | 15 +++++++++++++++
14643 3 files changed, 24 insertions(+), 2 deletions(-)
14645 commit 73531fd7820bd1922347bd856298d68205a27877
14646 Author: Martin Pitt <martinpitt@gnome.org>
14647 Date: Wed Jun 20 11:16:39 2012 +0200
14649 Revert "Do not bind gobject_get_data() and gobject_set_data()"
14651 We should have some deprecation period for this, so bring back
14653 methods and add deprecation warnings.
14655 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
14657 https://bugzilla.gnome.org/show_bug.cgi?id=641944
14659 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
14660 1 file changed, 44 insertions(+)
14662 commit a0daa843801658929ffee5bcb9eb67d955dc7921
14663 Author: David Keijser <keijser@gmail.com>
14664 Date: Mon Jun 18 15:09:34 2012 +0200
14666 GVariant: Raise proper TypeError on invalid tuple input
14668 https://bugzilla.gnome.org/show_bug.cgi?id=678317
14670 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14672 gi/overrides/GLib.py | 4 ++--
14673 tests/test_overrides.py | 1 +
14674 2 files changed, 3 insertions(+), 2 deletions(-)
14676 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
14677 Author: Martin Pitt <martinpitt@gnome.org>
14678 Date: Tue Jun 5 19:11:38 2012 +0200
14680 configure.ac: Post-release bump to 3.3.3
14682 configure.ac | 2 +-
14683 1 file changed, 1 insertion(+), 1 deletion(-)
14685 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
14686 Author: Martin Pitt <martinpitt@gnome.org>
14687 Date: Tue Jun 5 19:09:12 2012 +0200
14691 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
14692 1 file changed, 44 insertions(+)
14694 commit 8209c1ae1632c77768699481e574d5d378956e71
14695 Author: Martin Pitt <martinpitt@gnome.org>
14696 Date: Tue Jun 5 19:04:49 2012 +0200
14698 Fix "release-news" make target
14700 Actually list changes since the previous release, not since 3.1.92.
14703 1 file changed, 1 insertion(+), 1 deletion(-)
14705 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
14706 Author: Bastian Winkler <buz@netbuz.org>
14707 Date: Wed May 9 19:04:01 2012 +0200
14709 foreign: Register cairo.Path and cairo.FontOptions foreign structs
14711 They are rarely used, but they are used at least by Gdk, PangoCairo
14715 clutter.Path is not used by any API that the test suite uses, so
14717 without a test for now.
14719 https://bugzilla.gnome.org/show_bug.cgi?id=677388
14721 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14723 gi/pygi-foreign-cairo.c | 85
14724 ++++++++++++++++++++++++++++++++++++++++++++++++
14725 tests/test_everything.py | 8 +++++
14726 2 files changed, 93 insertions(+)
14728 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
14729 Author: Marien Zwart <marien.zwart@gmail.com>
14730 Date: Wed May 23 01:51:46 2012 +0200
14732 Check types in GBoxed assignments
14734 Check if the Python value is GBoxed instead of assuming it is.
14735 Without this, the following segfaults:
14737 from gi.repository import Soup
14739 msg = Soup.Message()
14740 msg.props.uri = 'http://www.gnome.org'
14742 as we assume the new property is a GBoxed while it is actually a
14745 https://bugzilla.gnome.org/show_bug.cgi?id=676603
14747 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
14748 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14750 gi/pygi-argument.c | 10 +++++++---
14751 tests/test_gi.py | 19 +++++++++++++++++++
14752 2 files changed, 26 insertions(+), 3 deletions(-)
14754 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
14755 Author: Bastian Winkler <buz@netbuz.org>
14756 Date: Sat May 12 14:08:51 2012 +0200
14758 [API add] Gtk overrides: Add TreeModelRow.get_previous()
14760 TreeModelRow has get_next() and a next property, it should also have
14761 get_previous() and previous.
14763 https://bugzilla.gnome.org/show_bug.cgi?id=677389
14765 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14767 gi/overrides/Gtk.py | 9 +++++++++
14768 1 file changed, 9 insertions(+)
14770 commit 5501fba534696974899f2591929bff9e1b6ecd65
14771 Author: Bastian Winkler <buz@netbuz.org>
14772 Date: Sat May 12 13:50:02 2012 +0200
14774 [API add] Add missing GObject.TYPE_VARIANT
14776 Add TYPE_VARIANT to constants to make it accessible as
14777 GObject.TYPE_VARIANT.
14779 https://bugzilla.gnome.org/show_bug.cgi?id=677387
14781 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14783 gi/_gobject/__init__.py | 1 +
14784 gi/_gobject/constants.py | 1 +
14785 2 files changed, 2 insertions(+)
14787 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
14788 Author: Jasper St. Pierre <jstpierre@mecheye.net>
14789 Date: Fri Jun 1 02:53:13 2012 -0400
14791 Fix boxed type equality
14793 Each boxed type has its own Python type, not PyGBoxed_Type. Use
14794 PyObject_IsInstance instead of comparing against PyGBoxed_Type
14797 https://bugzilla.gnome.org/show_bug.cgi?id=677249
14799 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14801 gi/_gobject/pygboxed.c | 3 ++-
14802 tests/test_everything.py | 8 ++++++++
14803 2 files changed, 10 insertions(+), 1 deletion(-)
14805 commit dc8eef26906753fcb3ce057b23ca110137897fa5
14806 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14807 Date: Fri Jun 1 13:43:38 2012 +0200
14809 Fix TestProperties.testBoxed test
14811 A typo was preventing the test from being run.
14813 https://bugzilla.gnome.org/show_bug.cgi?id=676644
14815 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14817 tests/test_properties.py | 4 ++--
14818 1 file changed, 2 insertions(+), 2 deletions(-)
14820 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
14821 Author: Carlos Garnacho <carlos@lanedo.com>
14822 Date: Thu May 17 17:09:15 2012 +0200
14824 Fix handling of by-reference structs as out parameters
14826 When marshalling back from python, copy the result of by-reference
14827 structs into the memory expected by the native caller, instead of
14828 attempting to handle it as a pointer.
14830 https://bugzilla.gnome.org/show_bug.cgi?id=653151
14832 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14834 gi/pygi-closure.c | 17 +++++++++++++++++
14835 tests/test_gi.py | 5 +++++
14836 2 files changed, 22 insertions(+)
14838 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
14839 Author: Martin Pitt <martinpitt@gnome.org>
14840 Date: Fri Jun 1 12:28:53 2012 +0200
14842 tests: Add more vfunc checks for GIMarshallingTestsObject
14844 tests/test_gi.py | 25 +++++++++++++++++++++++++
14845 1 file changed, 25 insertions(+)
14847 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
14848 Author: Martin Pitt <martinpitt@gnome.org>
14849 Date: Fri Jun 1 12:02:55 2012 +0200
14851 Test caller-allocated GValue out parameter
14853 This came up as a side issue in
14854 https://bugzilla.gnome.org/show_bug.cgi?id=653151
14856 tests/test_gi.py | 3 +++
14857 1 file changed, 3 insertions(+)
14859 commit edc17e703e1a05e20545d3df9167ceb076450443
14860 Author: Bastian Winkler <buz@netbuz.org>
14861 Date: Wed May 16 11:13:05 2012 +0200
14863 GObject.bind_property: Support transform functions
14865 Add support for optional transformation functions to
14866 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
14867 return value correctly.
14869 https://bugzilla.gnome.org/show_bug.cgi?id=676169
14871 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14873 gi/_gobject/pygobject.c | 130
14874 +++++++++++++++++++++++++++++++++++++++++++++---
14875 tests/test_gobject.py | 59 ++++++++++++++++++++++
14876 2 files changed, 181 insertions(+), 8 deletions(-)
14878 commit 07a08b49aae83a297e2f91240448314e4663f724
14879 Author: Carlos Garnacho <carlos@lanedo.com>
14880 Date: Mon May 14 15:31:14 2012 +0200
14882 Fix lookup of vfuncs in parent classes
14884 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
14886 As subclasses implemented in python override the attribute for the
14887 vfunc, __mro__ has to be used so subclasses of the subclass overriding
14888 methods may find the corresponding VFuncInfo.
14890 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
14892 gi/types.py | 6 +++---
14893 tests/test_gi.py | 27 +++++++++++++++++++++++++++
14894 2 files changed, 30 insertions(+), 3 deletions(-)
14896 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
14897 Author: Martin Pitt <martinpitt@gnome.org>
14898 Date: Fri Jun 1 08:18:40 2012 +0200
14900 tests/test_properties.py: Fix whitespace
14902 The pep8 check failed on this.
14904 tests/test_properties.py | 2 +-
14905 1 file changed, 1 insertion(+), 1 deletion(-)
14907 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
14908 Author: Jasper St. Pierre <jstpierre@mecheye.net>
14909 Date: Wed May 30 16:45:53 2012 -0400
14911 gi: Support zero-terminated arrays with length arguments
14913 Sometimes, you may see (array zero-terminated=1 length=length)
14915 Don't expose the length argument to the user in this case.
14917 https://bugzilla.gnome.org/show_bug.cgi?id=677124
14919 gi/pygi-cache.c | 13 ++++---------
14920 tests/test_gi.py | 3 +++
14921 2 files changed, 7 insertions(+), 9 deletions(-)
14923 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
14924 Author: Jasper St. Pierre <jstpierre@mecheye.net>
14925 Date: Fri May 25 17:09:55 2012 -0400
14929 libregress now needs cairo-gobject
14931 configure.ac | 2 +-
14932 1 file changed, 1 insertion(+), 1 deletion(-)
14934 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
14935 Author: Martin Pitt <martinpitt@gnome.org>
14936 Date: Mon May 14 15:48:34 2012 +0200
14938 Fix comment in previous commit
14940 tests/test_gobject.py | 2 +-
14941 1 file changed, 1 insertion(+), 1 deletion(-)
14943 commit 6610428394d0c65987de5021bf2c38641cdb7116
14944 Author: Simon Feltman <s.feltman@gmail.com>
14945 Date: Tue May 8 20:04:09 2012 -0700
14947 [API add] Add GObject.bind_property method
14949 This adds the "bind_property" method for binding two gobject
14951 together. The method returns a weak reference to a GBinding object.
14952 The BindingWeakRef object is used to manage GBinding objects within
14954 created through GObject.bind_property. It is a sub-class
14955 PyGObjectWeakRef so
14956 that we can maintain the same reference counting semantics between
14958 and GObject Binding objects. This gives explicit direct control of the
14959 binding lifetime by using the "unbind" method on the BindingWeakRef
14961 along with implicit management based on the lifetime of the source or
14964 Note this does not yet include support for converter closures. This
14966 later after the initial implementation is accepted.
14968 https://bugzilla.gnome.org/show_bug.cgi?id=675582
14970 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14972 gi/_gobject/pygobject.c | 104
14973 +++++++++++++++++++++++++++++++++++++++++++++++-
14974 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
14975 2 files changed, 193 insertions(+), 1 deletion(-)
14977 commit 88babe7377402f6e6f912a8b83615aab848eae81
14978 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14979 Date: Fri May 11 19:08:47 2012 -0300
14981 pygtkcompat: Correctly set flags
14983 https://bugzilla.gnome.org/show_bug.cgi?id=675911
14985 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14987 gi/pygtkcompat.py | 5 ++---
14988 tests/test_pygtkcompat.py | 1 +
14989 2 files changed, 3 insertions(+), 3 deletions(-)
14991 commit 3f712b56397296bca2f5358cd52977b1a2011964
14992 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14993 Date: Fri May 11 12:39:05 2012 -0300
14995 Gtk overrides: Implement __delitem__ on TreeModel
14997 https://bugzilla.gnome.org/show_bug.cgi?id=675892
14999 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15001 gi/overrides/Gtk.py | 16 ++++++++++++----
15002 tests/test_overrides.py | 9 +++++++++
15003 2 files changed, 21 insertions(+), 4 deletions(-)
15005 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
15006 Author: Simon Feltman <s.feltman@gmail.com>
15007 Date: Sun May 6 18:10:39 2012 -0700
15009 Gdk Color override should support red/green/blue_float properties
15011 Added red_float, green_float, and blue_float properties to Color.
15012 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
15014 https://bugzilla.gnome.org/show_bug.cgi?id=675579
15016 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15018 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
15019 tests/Makefile.am | 2 +-
15020 tests/test_overrides.py | 17 +++++++++++++++++
15021 3 files changed, 62 insertions(+), 1 deletion(-)
15023 commit d9608c332d9592f03545b110cfac8105453ea035
15024 Author: Martin Pitt <martinpitt@gnome.org>
15025 Date: Sat May 5 12:42:42 2012 -0700
15027 Support marshalling of GVariants for closures
15029 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
15031 be called with GVariant arguments and return GVariant.
15033 Unmark the corresponding test case as "expected failure", and also
15035 for None values and type mismatches.
15037 https://bugzilla.gnome.org/show_bug.cgi?id=656554
15039 gi/_gobject/pygtype.c | 47
15040 +++++++++++++++++++++++++++++++++++++++++++++--
15041 tests/test_everything.py | 16 ++++++++++++----
15042 2 files changed, 57 insertions(+), 6 deletions(-)
15044 commit e7a909c16dc1c625ab11e270f23d540f15c71767
15045 Author: Johan Dahlin <johan@gnome.org>
15046 Date: Mon May 7 10:33:40 2012 -0300
15048 Require gobject-introspection 1.33.0
15050 configure.ac | 2 +-
15051 1 file changed, 1 insertion(+), 1 deletion(-)
15053 commit 9e8239684433631e0d1650d25416e4d7bf92a058
15054 Author: Martin Pitt <martinpitt@gnome.org>
15055 Date: Sun May 6 18:28:23 2012 -0700
15057 NEWS: Add API additions since 3.2.0
15060 1 file changed, 4 insertions(+), 3 deletions(-)
15062 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
15063 Author: Martin Pitt <martinpitt@gnome.org>
15064 Date: Sun May 6 18:25:23 2012 -0700
15066 NEWS: Mark API changes since 3.2.0
15069 1 file changed, 3 insertions(+), 3 deletions(-)
15071 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
15072 Author: Martin Pitt <martinpitt@gnome.org>
15073 Date: Sun May 6 18:19:35 2012 -0700
15075 Fix commit 168a087 for Python 3
15077 Simplify the type check and use the already existing one. Fix the
15079 to work with both Python 2 and 3.
15081 gi/pygi-argument.c | 42 +++++++++---------------------------------
15082 1 file changed, 9 insertions(+), 33 deletions(-)
15084 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
15085 Author: Martin Pitt <martinpitt@gnome.org>
15086 Date: Sun May 6 18:08:57 2012 -0700
15088 pygtkcompat.py: Typo fix
15090 Was missing a space around operator, causing the PEP8 check to fail.
15092 gi/pygtkcompat.py | 2 +-
15093 1 file changed, 1 insertion(+), 1 deletion(-)
15095 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
15096 Author: Martin Pitt <martinpitt@gnome.org>
15097 Date: Sun May 6 18:02:04 2012 -0700
15099 _pygi_argument_from_object(): Check for compatible data type
15101 Verify that the passed PyObject actually matches the expected type
15103 argument. With this, trying to assign a wrong type to a property
15105 a proper TypeError.
15107 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
15108 gi/pygi-property.c | 3 +++
15109 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
15110 3 files changed, 82 insertions(+)
15112 commit 5948b62ba3e08ea943e6965ee38c94c363186226
15113 Author: Martin Pitt <martinpitt@gnome.org>
15114 Date: Sun May 6 17:59:57 2012 -0700
15116 pygtkcompat: Fix color conversion
15118 gtk_style_context_get_background_color() returns a GdkRGBA value,
15120 float values between 0 and 1. However, we construct a GdkColor
15122 that, so we need to scale to 0..65535 and round to int.
15124 gi/pygtkcompat.py | 6 +++---
15125 1 file changed, 3 insertions(+), 3 deletions(-)
15127 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
15128 Author: Martin Pitt <martinpitt@gnome.org>
15129 Date: Sun May 6 06:02:31 2012 -0700
15131 test_gi: Check setting properties in constructor
15133 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
15134 1 file changed, 33 insertions(+)
15136 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
15137 Author: Martin Pitt <martinpitt@gnome.org>
15138 Date: Sun May 6 05:50:00 2012 -0700
15140 Support getting and setting GStrv properties
15142 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
15143 tests/test_gi.py | 11 +++++++++++
15144 2 files changed, 47 insertions(+)
15146 commit 8321af2c7df499291e664c676376f149a0c3dcac
15147 Author: Martin Pitt <martinpitt@gnome.org>
15148 Date: Sat May 5 13:58:29 2012 -0700
15150 Support defining GStrv properties from Python
15152 gi/_gobject/propertyhelper.py | 10 ++++++--
15153 tests/test_properties.py | 58
15154 +++++++++++++++++++++++++++++++++++++++++--
15155 2 files changed, 64 insertions(+), 4 deletions(-)
15157 commit f2494526e1c579c41babfe7ff67deef0f6966adf
15158 Author: Martin Pitt <martinpitt@gnome.org>
15159 Date: Sat May 5 13:21:20 2012 -0700
15161 Add GObject.TYPE_STRV constant
15163 gi/_gobject/__init__.py | 1 +
15164 gi/_gobject/constants.py | 1 +
15165 tests/test_everything.py | 2 +-
15166 tests/test_signal.py | 2 +-
15167 4 files changed, 4 insertions(+), 2 deletions(-)
15169 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
15170 Author: Martin Pitt <martinpitt@gnome.org>
15171 Date: Sat May 5 09:28:36 2012 +0200
15173 Unref GVariants when destroying the wrapper
15175 https://bugzilla.gnome.org/show_bug.cgi?id=675472
15177 gi/overrides/GLib.py | 3 +++
15178 1 file changed, 3 insertions(+)
15180 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
15181 Author: Martin Pitt <martinpitt@gnome.org>
15182 Date: Sat May 5 09:23:55 2012 +0200
15184 Fix TestArrayGVariant test cases
15186 test_array_gvariant_container_in() and test_array_gvariant_full_in()
15188 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
15190 Actually do what they mean to do now and call the corresponding
15191 GIMarshallingTests methods.
15193 tests/test_gi.py | 4 ++--
15194 1 file changed, 2 insertions(+), 2 deletions(-)
15196 commit fda8a069d503e63c76a6b1ba285a181822549059
15197 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15198 Date: Sat May 5 08:52:41 2012 +0200
15200 pygtkcompat: Add gdk.pixbuf_get_formats compat code
15202 https://bugzilla.gnome.org/show_bug.cgi?id=675489
15204 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15206 gi/pygtkcompat.py | 20 ++++++++++++++++++++
15207 tests/test_pygtkcompat.py | 8 ++++++++
15208 2 files changed, 28 insertions(+)
15210 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
15211 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15212 Date: Mon Apr 30 13:44:19 2012 -0300
15214 pygtkcompat: Add some more compat functions
15216 https://bugzilla.gnome.org/show_bug.cgi?id=675489
15218 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15220 gi/pygtkcompat.py | 14 ++++++++++++++
15221 1 file changed, 14 insertions(+)
15223 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
15224 Author: Martin Pitt <martinpitt@gnome.org>
15225 Date: Thu May 3 12:25:04 2012 +0200
15227 Fix tests for Python 3
15229 cmp() does not exist any more in Python 3, replace with comparison
15232 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
15234 can't pass a str (which is an Unicode object in Python 3). Pass a
15238 tests/test_gi.py | 2 +-
15239 tests/test_overrides.py | 2 +-
15240 2 files changed, 2 insertions(+), 2 deletions(-)
15242 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
15243 Author: Martin Pitt <martinpitt@gnome.org>
15244 Date: Thu May 3 09:38:56 2012 +0200
15246 Fix building with --disable-cairo
15248 Build gobject-introspection's regress.c against cairo, not
15249 pycairo/py3cairo. We
15250 always need cairo to build, so unconditionally check for this in
15253 In test_everything.py, gracefully handle the absence of the "cairo"
15255 module, which we do not have when building without cairo support.
15257 configure.ac | 3 +++
15258 tests/Makefile.am | 4 ++--
15259 tests/test_everything.py | 8 +++++++-
15260 3 files changed, 12 insertions(+), 3 deletions(-)
15262 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
15263 Author: Martin Pitt <martinpitt@gnome.org>
15264 Date: Thu May 3 09:28:51 2012 +0200
15266 tests: Fix deprecated assertions
15268 assertAlmostEquals → assertAlmostEqual
15269 assertNotEquals → assertNotEqual
15271 tests/test_everything.py | 4 ++--
15272 tests/test_gi.py | 12 ++++++------
15273 tests/test_overrides.py | 10 +++++-----
15274 3 files changed, 13 insertions(+), 13 deletions(-)
15276 commit 07f312e66c07357168098d3f96813d2c997e8dc7
15277 Author: Martin Pitt <martinpitt@gnome.org>
15278 Date: Wed May 2 12:08:19 2012 +0200
15280 Run tests with MALLOC_PERTURB_
15282 We mostly use the glib allocation functions, but this might
15283 help to uncover access to already freed or uninitialized memory in
15287 tests/Makefile.am | 1 +
15288 1 file changed, 1 insertion(+)
15290 commit b0740d386c2cbbd153878209b584b568968e4d98
15291 Author: Martin Pitt <martinpitt@gnome.org>
15292 Date: Mon Apr 30 16:26:57 2012 +0200
15294 configure.ac: Post-release bump to 3.3.2
15296 configure.ac | 2 +-
15297 1 file changed, 1 insertion(+), 1 deletion(-)
15299 commit d3977266faadacd3d05705497c1cf51a01a6606f
15300 Author: Martin Pitt <martinpitt@gnome.org>
15301 Date: Mon Apr 30 16:08:09 2012 +0200
15306 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15307 1 file changed, 66 insertions(+)
15309 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
15310 Author: Giovanni Campagna <gcampagna@src.gnome.org>
15311 Date: Sun Apr 29 23:55:15 2012 +0200
15313 GSettings: allow extra keyword arguments
15315 All GObject constructors are expected to accept any construct
15316 property as keyword argument, and overrides should respect that.
15317 In particular, not doing this for GSettings prevents using a custom
15320 https://bugzilla.gnome.org/show_bug.cgi?id=675105
15322 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15324 gi/overrides/Gio.py | 4 ++--
15325 1 file changed, 2 insertions(+), 2 deletions(-)
15327 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
15328 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15329 Date: Sun Apr 29 12:56:50 2012 -0300
15331 pygtkcompat: Correct Userlist module use
15333 https://bugzilla.gnome.org/show_bug.cgi?id=675084
15335 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15337 gi/pygtkcompat.py | 2 +-
15338 tests/test_pygtkcompat.py | 4 ++++
15339 2 files changed, 5 insertions(+), 1 deletion(-)
15341 commit 3551462a429ef30274fa01fc8111da5025f9c342
15342 Author: Martin Pitt <martinpitt@gnome.org>
15343 Date: Sun Apr 29 20:17:47 2012 +0200
15345 Add release-news make rule
15347 This produces a commit log since the previous release in our
15349 format. This does not currently wrap long lines automatically, though.
15351 Do include bug numbers from now on, as they are very useful.
15353 Makefile.am | 12 ++++++++++--
15354 1 file changed, 10 insertions(+), 2 deletions(-)
15356 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
15357 Author: Martin Pitt <martinpitt@gnome.org>
15358 Date: Wed Apr 25 13:07:59 2012 +0200
15360 Add "make check.nemiver" target
15362 Similar to "check.gdb", but invokes nemiver.
15364 Makefile.am | 3 +++
15365 tests/Makefile.am | 3 +++
15366 2 files changed, 6 insertions(+)
15368 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
15369 Author: Martin Pitt <martinpitt@gnome.org>
15370 Date: Tue Apr 24 13:24:00 2012 +0200
15372 Test flags and enums in GHash values
15374 https://bugzilla.gnome.org/show_bug.cgi?id=637466
15376 tests/test_everything.py | 18 ++++++++++++------
15377 1 file changed, 12 insertions(+), 6 deletions(-)
15379 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
15380 Author: Martin Pitt <martinpitt@gnome.org>
15381 Date: Tue Apr 24 13:03:36 2012 +0200
15383 tests: Activate test_hash_in and apply workaround
15385 Work around pygobject's current inability to produce a GStrv object
15387 string array by explicitly producing a GStrV object, and reactivate
15390 https://bugzilla.gnome.org/show_bug.cgi?id=666636
15392 tests/test_everything.py | 24 +++++++++++++-----------
15393 1 file changed, 13 insertions(+), 11 deletions(-)
15395 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
15396 Author: Martin Pitt <martinpitt@gnome.org>
15397 Date: Mon Apr 23 12:33:09 2012 +0200
15399 Add special case for Gdk.Atom array entries from Python
15401 Gdk.Atom pretends to be a struct pointer, but is really just an
15403 into a pointer. So we must not dereference it directly, nor free
15405 instead just copy the pointer value.
15407 Also add a few other test cases for "single Atom return", "single
15409 in", and Atom GList return", which already work fine.
15411 https://bugzilla.gnome.org/show_bug.cgi?id=661709
15413 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
15414 tests/Makefile.am | 1 +
15415 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
15416 3 files changed, 56 insertions(+), 4 deletions(-)
15418 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
15419 Author: Martin Pitt <martinpitt@gnome.org>
15420 Date: Mon Apr 23 20:09:43 2012 +0200
15422 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
15424 https://bugzilla.gnome.org/show_bug.cgi?id=667954
15426 tests/test_gdbus.py | 2 +-
15427 1 file changed, 1 insertion(+), 1 deletion(-)
15429 commit 3ae38d7519524288a57e5d522954b9d6725f0185
15430 Author: Martin Pitt <martinpitt@gnome.org>
15431 Date: Mon Apr 23 18:47:34 2012 +0200
15433 Add test case for Gtk.ListStore custom sort
15435 This works in Python 2, but crashes in Python 3, another case of
15437 we get when C calls a Python callback in Python 3.
15439 https://bugzilla.gnome.org/show_bug.cgi?id=674475
15441 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
15442 1 file changed, 31 insertions(+)
15444 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
15445 Author: Martin Pitt <martinpitt@gnome.org>
15446 Date: Mon Apr 23 17:40:23 2012 +0200
15448 GTK overrides: Add missing keyword arguments
15450 Add missing **kwargs to overridden __init__() constructors, to
15452 arbitrary widget properties.
15454 https://bugzilla.gnome.org/show_bug.cgi?id=660018
15456 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
15457 tests/test_overrides.py | 6 ++++++
15458 2 files changed, 24 insertions(+), 16 deletions(-)
15460 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
15461 Author: Martin Pitt <martinpitt@gnome.org>
15462 Date: Mon Apr 23 15:24:04 2012 +0200
15464 Add missing override for TreeModel.iter_previous()
15466 This should behave like the override for TreeModel.iter_next().
15468 https://bugzilla.gnome.org/show_bug.cgi?id=660018
15470 gi/overrides/Gtk.py | 6 ++++++
15471 tests/test_overrides.py | 4 ++++
15472 2 files changed, 10 insertions(+)
15474 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
15475 Author: Martin Pitt <martinpitt@gnome.org>
15476 Date: Sun Apr 22 16:45:06 2012 +0200
15478 pygi-convert.py: Drop obsolete drag method conversions
15480 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
15482 fixed a while ago to be proper Widget methods again.
15484 https://bugzilla.gnome.org/show_bug.cgi?id=652860
15486 pygi-convert.sh | 3 ---
15487 1 file changed, 3 deletions(-)
15489 commit f82eca6006dec21624796074af8ffe9b2256f7a4
15490 Author: Martin Pitt <martinpitt@gnome.org>
15491 Date: Sat Apr 21 14:00:50 2012 +0200
15493 tests: Replace deprecated assertEquals() with assertEqual()
15495 tests/test_everything.py | 144 ++++++-------
15496 tests/test_gi.py | 502
15497 +++++++++++++++++++++++-----------------------
15498 tests/test_gobject.py | 58 +++---
15499 tests/test_option.py | 6 +-
15500 tests/test_overrides.py | 352 ++++++++++++++++----------------
15501 tests/test_properties.py | 18 +-
15502 tests/test_pygtkcompat.py | 42 ++--
15503 7 files changed, 561 insertions(+), 561 deletions(-)
15505 commit ddb0bf01e694585d58af52673a21796e7c9578ea
15506 Author: Paolo Borelli <pborelli@gnome.org>
15507 Date: Sat Apr 21 12:02:54 2012 +0200
15509 Plug tiny leak in constant_info_get_value
15511 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
15513 gi/pygi-info.c | 1 +
15514 1 file changed, 1 insertion(+)
15516 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
15517 Author: Bastian Winkler <buz@netbuz.org>
15518 Date: Thu Apr 12 20:30:05 2012 +0200
15520 Fix len_arg_index for array arguments
15522 Don't set len_arg_index for arrays without the length annotation
15524 This fixes methods like Clutter.Texture.set_from_rgb_data() and
15525 Clutter.Image.set_data()
15527 https://bugzilla.gnome.org/show_bug.cgi?id=674271
15529 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15531 gi/pygi-cache.c | 4 +++-
15532 gi/pygi-marshal-cleanup.c | 4 ++--
15533 tests/test_gi.py | 3 +++
15534 3 files changed, 8 insertions(+), 3 deletions(-)
15536 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
15537 Author: Martin Pitt <martinpitt@gnome.org>
15538 Date: Thu Apr 19 13:11:56 2012 +0200
15540 Support defining GType properties from Python
15542 Commit 84e3471 fixed the handling of GType properties for properties
15544 defined in the C library already. Add the missing support for
15546 properties in Python as well.
15548 https://bugzilla.gnome.org/show_bug.cgi?id=674351
15550 gi/_gobject/gobjectmodule.c | 5 ++++-
15551 gi/_gobject/propertyhelper.py | 9 ++++++---
15552 tests/test_properties.py | 42
15553 +++++++++++++++++++++++++++++++++++++++---
15554 3 files changed, 49 insertions(+), 7 deletions(-)
15556 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
15557 Author: Martin Pitt <martinpitt@gnome.org>
15558 Date: Thu Apr 19 16:12:29 2012 +0200
15560 Fix typo in previous commit
15562 In the test case, actually assign the newly created object, so that
15564 properties of the right object.
15566 tests/test_everything.py | 2 +-
15567 1 file changed, 1 insertion(+), 1 deletion(-)
15569 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
15570 Author: Bastian Winkler <buz@netbuz.org>
15571 Date: Wed Apr 18 21:44:08 2012 +0200
15573 Handle GType properties correctly
15575 Fix conversion from/to properties of type G_TYPE_GTYPE
15577 https://bugzilla.gnome.org/show_bug.cgi?id=674351
15579 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15581 gi/_gobject/pygtype.c | 9 +++++++--
15582 tests/test_everything.py | 15 +++++++++++++++
15583 2 files changed, 22 insertions(+), 2 deletions(-)
15585 commit d1362451e070e156d2f49c9cde930cc38befb12b
15586 Author: Martin Pitt <martinpitt@gnome.org>
15587 Date: Thu Apr 19 07:27:10 2012 +0200
15589 Add missing GObject.TYPE_GTYPE
15591 gi/_gobject/__init__.py | 1 +
15592 gi/_gobject/constants.py | 1 +
15593 2 files changed, 2 insertions(+)
15595 commit d3225f1540e09719caa73e52d402e946da3add24
15596 Author: Martin Pitt <martinpitt@gnome.org>
15597 Date: Tue Apr 10 12:44:00 2012 +0200
15599 Fix test_mainloop.py for Python 3
15601 tests/test_mainloop.py | 9 +++++++--
15602 1 file changed, 7 insertions(+), 2 deletions(-)
15604 commit 903283119896f3e054694484da4147788b02ce60
15605 Author: Martin Pitt <martinpitt@gnome.org>
15606 Date: Mon Apr 9 15:20:39 2012 +0200
15608 Make callback exception propagation test stricter
15610 Propagating Python exceptions from callbacks through the C context
15612 original caller does not currently happen, is nontrivial/unsafe
15614 and not desirable at this point any more as by now we have established
15616 current behaviour. So remove the catching of ZeroDivisionError in
15619 https://bugzilla.gnome.org/show_bug.cgi?id=616279
15621 tests/test_everything.py | 16 ++++++++--------
15622 1 file changed, 8 insertions(+), 8 deletions(-)
15624 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
15625 Author: Simon Feltman <s.feltman@gmail.com>
15626 Date: Sun Mar 18 15:59:58 2012 -0700
15628 Add context management to freeze_notify() and handler_block().
15630 These methods now return a context manager object. Within the
15632 thaw_notify() and handler_unblock() are called respectively. This
15634 statements like the following:
15636 with obj.freeze_notify():
15637 obj.props.width = 100
15638 obj.props.height = 100
15639 obj.props.opacity = 0.5
15641 This does not affect standard usage of these methods.
15643 https://bugzilla.gnome.org/show_bug.cgi?id=672324
15645 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15647 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
15648 tests/test_gobject.py | 158
15649 ++++++++++++++++++++++++++++++++++++++++++++++++
15650 2 files changed, 288 insertions(+), 8 deletions(-)
15652 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
15653 Author: Martin Pitt <martinpitt@gnome.org>
15654 Date: Wed Apr 4 19:08:54 2012 +0200
15656 Add support for GFlags properties
15658 https://bugzilla.gnome.org/show_bug.cgi?id=620943
15660 gi/_gobject/propertyhelper.py | 9 +++++++--
15661 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
15662 2 files changed, 34 insertions(+), 3 deletions(-)
15664 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
15665 Author: Martin Pitt <martinpitt@gnome.org>
15666 Date: Wed Apr 4 17:54:52 2012 +0200
15668 Wrap GLib.Source.is_destroyed() method
15670 Based on original patch from Bryan Silverthorn.
15672 https://bugzilla.gnome.org/show_bug.cgi?id=524719
15674 gi/_glib/pygsource.c | 15 +++++++++++++++
15675 tests/test_source.py | 24 ++++++++++++++++++++++++
15676 2 files changed, 39 insertions(+)
15678 commit 05030a95a4d3090162ed5f510a26d69bbb152942
15679 Author: Martin Pitt <martinpitt@gnome.org>
15680 Date: Wed Apr 4 15:59:24 2012 +0200
15682 Fix error message when trying to override a non-GI class
15684 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
15686 https://bugzilla.gnome.org/show_bug.cgi?id=646667
15688 gi/overrides/__init__.py | 7 ++++---
15689 tests/test_overrides.py | 13 +++++++++++++
15690 2 files changed, 17 insertions(+), 3 deletions(-)
15692 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
15693 Author: Steve Frécinaux <code@istique.net>
15694 Date: Wed Apr 4 15:30:55 2012 +0200
15696 Fix segfault when accessing __grefcount__ before creating the GObject
15698 When creating a new instance using Type() and trying to access
15699 __grefcount__ before calling the subclass's __init__ function, there
15700 used to be a segmentation fault because we were trying to access the
15701 not yet created object. Now raise a proper exception instead.
15703 https://bugzilla.gnome.org/show_bug.cgi?id=640434
15705 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
15707 gi/_gobject/pygobject.c | 4 ++++
15708 tests/test_gobject.py | 11 +++++++++++
15709 2 files changed, 15 insertions(+)
15711 commit 24cc09a7105299805fcc5bc151f53ac69958d728
15712 Author: Steve Frécinaux <code@istique.net>
15713 Date: Wed Feb 9 18:37:33 2011 +0100
15715 Do not bind gobject_get_data() and gobject_set_data()
15717 They will basically cause a crash if misused, and you can always use a
15718 python member attribute instead.
15720 https://bugzilla.gnome.org/show_bug.cgi?id=641944
15722 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15724 gi/_gobject/pygobject.c | 40 ----------------------------------------
15725 1 file changed, 40 deletions(-)
15727 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
15728 Author: Martin Pitt <martinpitt@gnome.org>
15729 Date: Tue Apr 3 22:26:34 2012 +0200
15731 Add test case for multiple GLib.MainLoop instances
15733 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
15737 https://bugzilla.gnome.org/show_bug.cgi?id=663068
15739 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
15740 1 file changed, 24 insertions(+), 1 deletion(-)
15742 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
15743 Author: John (J5) Palmieri <johnp@redhat.com>
15744 Date: Tue Feb 21 15:13:42 2012 +0100
15746 Add a ccallback type which is used to invoke callbacks passed to
15749 Used when overriding methods like gtk_container_forall wich pass in a
15750 callback that needs to be executed on internal children:
15751 def do_forall(self, callback, userdata):
15752 callback(self.custom_child, userdata)
15754 https://bugzilla.gnome.org/show_bug.cgi?id=644926
15756 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
15757 Co-authored-by: Simon Schampijer <simon@laptop.org>
15759 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15761 gi/Makefile.am | 2 +
15762 gi/gimodule.c | 1 +
15763 gi/module.py | 5 +++
15764 gi/pygi-argument.c | 12 +----
15765 gi/pygi-cache.c | 28 ++++++++++--
15766 gi/pygi-cache.h | 9 ++--
15767 gi/pygi-ccallback.c | 100
15768 ++++++++++++++++++++++++++++++++++++++++++
15769 gi/pygi-ccallback.h | 41 +++++++++++++++++
15770 gi/pygi-closure.c | 50 ++++++++++++++++++++-
15771 gi/pygi-invoke-state-struct.h | 2 +
15772 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
15773 gi/pygi-invoke.h | 3 ++
15774 gi/pygi-private.h | 1 +
15775 gi/pygi.h | 10 +++++
15776 tests/test_gi.py | 16 +++++++
15777 15 files changed, 312 insertions(+), 41 deletions(-)
15779 commit db7e1d078db16b6f11dee51aa97525c451346632
15780 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
15781 Date: Tue Mar 27 17:34:48 2012 +0200
15783 Regression test: marshalling GValues in GHashTable
15785 https://bugzilla.gnome.org/show_bug.cgi?id=668903
15787 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15789 tests/test_everything.py | 19 +++++++++++++++++++
15790 1 file changed, 19 insertions(+)
15792 commit 7c0017c30129a8db391f902ed592782200d69c64
15793 Author: Martin Pitt <martin.pitt@ubuntu.com>
15794 Date: Mon Mar 26 17:55:41 2012 +0200
15796 Bump version to 3.3.1
15798 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
15800 continue with 3.3.x on master.
15802 configure.ac | 4 ++--
15803 1 file changed, 2 insertions(+), 2 deletions(-)
15805 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
15806 Author: Martin Pitt <martin.pitt@ubuntu.com>
15807 Date: Mon Mar 26 17:51:37 2012 +0200
15811 - Ignore *.o, backup files, and generated Makefiles in all
15813 - Ignore *.pyc files.
15814 - Do not ignore .gitignore, we actually want to track this.
15817 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15818 1 file changed, 61 insertions(+)
15820 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
15821 Author: Martin Pitt <martin.pitt@ubuntu.com>
15822 Date: Mon Mar 26 17:45:08 2012 +0200
15824 Fix "distcheck" and tests with out-of-tree builds
15826 - Symlink *.py files from srcdir into builddir during build, as
15828 accept the extensions and modules in different paths.
15829 - "make clean" should remove *.pyc files
15830 - tests/runtests.py: Look for tests in srcdir, not in builddir
15832 Makefile.am | 6 ++++--
15833 gi/Makefile.am | 13 +++++++++++--
15834 gi/_glib/Makefile.am | 12 ++++++++++--
15835 gi/_gobject/Makefile.am | 12 ++++++++++--
15836 gi/overrides/Makefile.am | 10 ++++++++++
15837 gi/repository/Makefile.am | 11 +++++++++++
15838 tests/runtests.py | 6 ++++--
15839 7 files changed, 60 insertions(+), 10 deletions(-)
15841 commit f83d95e6fff572bda659a48e309b4524dafa4e83
15842 Author: Johan Dahlin <johan@gnome.org>
15843 Date: Thu Mar 22 11:14:03 2012 -0300
15845 Add a pep8 check to the makefile
15847 Also reorganize the pyflakes check, since target dependencies do not
15848 take the exit status of the shell command into account.
15850 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15852 tests/Makefile.am | 9 ++++-----
15853 1 file changed, 4 insertions(+), 5 deletions(-)
15855 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
15856 Author: Johan Dahlin <johan@gnome.org>
15857 Date: Thu Mar 22 10:56:59 2012 -0300
15859 PEP8: Remaining whitespace fixes
15861 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15863 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
15864 demos/gtk-demo/demos/Tree View/liststore.py | 28
15865 +++++++++++++-------------
15866 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
15867 demos/gtk-demo/demos/rotatedtext.py | 2 +-
15868 examples/cairo-demo.py | 4 ++--
15869 tests/test_gi.py | 12 +++++------
15870 tests/test_overrides.py | 2 +-
15871 7 files changed, 32 insertions(+), 33 deletions(-)
15873 commit 032fcce2bf6070a9001cbb780e90403051e303b1
15874 Author: Johan Dahlin <johan@gnome.org>
15875 Date: Thu Mar 22 10:56:03 2012 -0300
15877 PEP8: Add spaces before #
15879 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15881 demos/gtk-demo/demos/drawingarea.py | 6 +++---
15882 demos/gtk-demo/demos/images.py | 10 +++++-----
15883 demos/gtk-demo/demos/rotatedtext.py | 2 +-
15884 gi/__init__.py | 2 +-
15885 gi/_glib/option.py | 2 +-
15886 gi/_gobject/__init__.py | 2 +-
15887 gi/overrides/GLib.py | 12 ++++++------
15888 gi/types.py | 4 ++--
15889 tests/runtests.py | 2 +-
15890 tests/test_gdbus.py | 4 ++--
15891 10 files changed, 23 insertions(+), 23 deletions(-)
15893 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
15894 Author: Johan Dahlin <johan@gnome.org>
15895 Date: Thu Mar 22 10:52:05 2012 -0300
15897 PEP8: Add missing whitespace after : and ,
15899 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15901 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
15902 demos/gtk-demo/demos/appwindow.py | 2 +-
15903 tests/test_everything.py | 23 +++++++++--------------
15904 tests/test_gi.py | 2 +-
15905 tests/test_overrides.py | 2 +-
15906 5 files changed, 13 insertions(+), 18 deletions(-)
15908 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
15909 Author: Johan Dahlin <johan@gnome.org>
15910 Date: Thu Mar 22 10:49:52 2012 -0300
15912 PEP8: Remove too whitespace before }
15914 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15916 tests/test_overrides.py | 2 +-
15917 1 file changed, 1 insertion(+), 1 deletion(-)
15919 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
15920 Author: Johan Dahlin <johan@gnome.org>
15921 Date: Thu Mar 22 10:49:27 2012 -0300
15923 PEP8: Remove too many blank lines
15925 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15927 demos/gtk-demo/demos/rotatedtext.py | 1 -
15928 tests/test_overrides.py | 1 -
15929 2 files changed, 2 deletions(-)
15931 commit 03e597cb8f3b075efae556ee51a598695a883ad3
15932 Author: Johan Dahlin <johan@gnome.org>
15933 Date: Thu Mar 22 10:48:59 2012 -0300
15935 PEP8: Fix whitespace around operators
15937 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15939 demos/gtk-demo/demos/images.py | 2 +-
15940 examples/cairo-demo.py | 8 ++++----
15941 tests/test_gi.py | 4 ++--
15942 tests/test_overrides.py | 8 ++++----
15943 tests/test_properties.py | 14 +++++++-------
15944 tests/test_signal.py | 2 +-
15945 6 files changed, 19 insertions(+), 19 deletions(-)
15947 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
15948 Author: Johan Dahlin <johan@gnome.org>
15949 Date: Thu Mar 22 10:46:17 2012 -0300
15951 PEP8: Remove whitespace before (
15953 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15955 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
15956 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
15957 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
15958 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
15959 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
15960 demos/gtk-demo/demos/dialogs.py | 12 ++---
15961 demos/gtk-demo/demos/pickers.py | 8 ++--
15962 demos/gtk-demo/demos/pixbuf.py | 4 +-
15963 demos/gtk-demo/demos/printing.py | 8 ++--
15964 demos/gtk-demo/demos/rotatedtext.py | 2 +-
15965 demos/gtk-demo/gtk-demo.py | 4 +-
15966 gi/module.py | 4 +-
15967 gi/overrides/Pango.py | 2 +-
15968 gi/pygtkcompat.py | 4 +-
15969 tests/test_everything.py | 4 +-
15970 tests/test_overrides.py | 62
15971 +++++++++++++-------------
15972 16 files changed, 68 insertions(+), 68 deletions(-)
15974 commit b04d209930ab01bae6563b0d714aec829739bdc6
15975 Author: Johan Dahlin <johan@gnome.org>
15976 Date: Thu Mar 22 10:40:46 2012 -0300
15978 PEP8: Remove whitespace around {}
15980 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15982 tests/test_signal.py | 20 ++++++++++----------
15983 1 file changed, 10 insertions(+), 10 deletions(-)
15985 commit 725483a5dc36739dc7836716b5d6d48091564bf8
15986 Author: Johan Dahlin <johan@gnome.org>
15987 Date: Thu Mar 22 10:38:59 2012 -0300
15989 PEP8: run via --fix from craigds fork
15991 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15993 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
15994 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
15995 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
15996 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
15997 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
15998 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
15999 demos/gtk-demo/demos/appwindow.py | 13 +++++-
16000 demos/gtk-demo/demos/assistant.py | 1 +
16001 demos/gtk-demo/demos/builder.py | 1 +
16002 demos/gtk-demo/demos/button_box.py | 1 +
16003 demos/gtk-demo/demos/clipboard.py | 2 +-
16004 demos/gtk-demo/demos/colorselector.py | 1 +
16005 demos/gtk-demo/demos/combobox.py | 4 +-
16006 demos/gtk-demo/demos/dialogs.py | 2 +
16007 demos/gtk-demo/demos/drawingarea.py | 1 +
16008 demos/gtk-demo/demos/expander.py | 4 +-
16009 demos/gtk-demo/demos/images.py | 10 +++--
16010 demos/gtk-demo/demos/infobars.py | 2 +
16011 demos/gtk-demo/demos/links.py | 2 +
16012 demos/gtk-demo/demos/menus.py | 2 +
16013 demos/gtk-demo/demos/pickers.py | 2 +
16014 demos/gtk-demo/demos/pixbuf.py | 2 +
16015 demos/gtk-demo/demos/printing.py | 5 ++-
16016 demos/gtk-demo/demos/rotatedtext.py | 4 +-
16017 demos/gtk-demo/demos/test.py | 1 +
16018 demos/gtk-demo/gtk-demo.py | 9 ++--
16019 examples/cairo-demo.py | 57
16020 ++++++++++++++----------
16021 examples/option.py | 1 -
16022 examples/properties.py | 1 +
16023 examples/signal.py | 4 ++
16024 gi/__init__.py | 2 +
16025 gi/_glib/option.py | 4 +-
16026 gi/_gobject/__init__.py | 1 +
16027 gi/_gobject/propertyhelper.py | 5 ++-
16028 gi/module.py | 3 ++
16029 gi/overrides/GIMarshallingTests.py | 2 +
16030 gi/overrides/GLib.py | 12 +++--
16031 gi/overrides/Gdk.py | 9 ++++
16032 gi/overrides/Gio.py | 4 ++
16033 gi/overrides/Gtk.py | 56
16034 ++++++++++++++++++++---
16035 gi/overrides/Pango.py | 2 +
16036 gi/overrides/__init__.py | 5 ++-
16037 gi/pygtkcompat.py | 16 +++++--
16039 tests/test_everything.py | 30 +++++++++----
16040 tests/test_gdbus.py | 1 +
16041 tests/test_gi.py | 30 +++++++------
16042 tests/test_gobject.py | 3 +-
16043 tests/test_mainloop.py | 1 +
16044 tests/test_option.py | 1 +
16045 tests/test_overrides.py | 55
16046 ++++++++++++-----------
16047 tests/test_properties.py | 11 ++++-
16048 tests/test_signal.py | 32 ++++++++++++-
16049 tests/test_source.py | 1 +
16050 tests/test_subprocess.py | 1 +
16051 tests/test_thread.py | 1 +
16052 tests/test_uris.py | 1 +
16053 tests/testmodule.py | 1 +
16054 58 files changed, 326 insertions(+), 111 deletions(-)
16056 commit 917275d4aa81db39ccaca34fa514032fb80a3187
16057 Author: Johan Dahlin <johan@gnome.org>
16058 Date: Thu Mar 22 10:33:29 2012 -0300
16060 PEP8: Remove spaces around = for keyword arguments
16062 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16064 demos/gtk-demo/demos/appwindow.py | 8 ++++----
16065 demos/gtk-demo/demos/colorselector.py | 4 ++--
16066 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
16067 examples/option.py | 4 ++--
16068 gi/_glib/option.py | 2 +-
16069 gi/overrides/Gtk.py | 2 +-
16070 tests/test_gi.py | 26 +++++++++++++-------------
16071 tests/test_option.py | 2 +-
16072 tests/test_overrides.py | 8 ++++----
16073 9 files changed, 40 insertions(+), 40 deletions(-)
16075 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
16076 Author: Johan Dahlin <johan@gnome.org>
16077 Date: Thu Mar 22 10:28:28 2012 -0300
16079 PEP8: Remove trailing ;
16081 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16083 demos/gtk-demo/demos/appwindow.py | 4 ++--
16084 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
16085 demos/gtk-demo/demos/links.py | 2 +-
16086 demos/gtk-demo/demos/pixbuf.py | 2 +-
16087 demos/gtk-demo/demos/printing.py | 8 ++++----
16088 gi/overrides/Gtk.py | 4 ++--
16089 tests/test_everything.py | 22 +++++++++++-----------
16090 tests/test_gi.py | 2 +-
16091 tests/test_overrides.py | 8 ++++----
16092 9 files changed, 41 insertions(+), 41 deletions(-)
16094 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
16095 Author: Johan Dahlin <johan@gnome.org>
16096 Date: Thu Mar 22 10:24:40 2012 -0300
16098 Remove all tabs and fix indentation
16100 By running the whole source tree via the indent.py script found
16101 in the Python distribution.
16103 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
16104 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
16105 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
16106 demos/gtk-demo/demos/appwindow.py | 18 +--
16107 demos/gtk-demo/demos/dialogs.py | 26 ++---
16108 demos/gtk-demo/demos/expander.py | 6 +-
16109 demos/gtk-demo/demos/images.py | 2 +-
16110 demos/gtk-demo/demos/links.py | 2 +-
16111 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
16112 gi/_glib/option.py | 2 +-
16113 gi/_gobject/constants.py | 1 -
16114 gi/importer.py | 1 -
16115 gi/module.py | 10 +-
16116 gi/overrides/GLib.py | 11 +-
16117 gi/overrides/Gdk.py | 30 ++---
16118 gi/overrides/Gio.py | 4 +-
16119 gi/overrides/Gtk.py | 150
16120 ++++++++++++-------------
16121 gi/overrides/Pango.py | 1 -
16122 gi/overrides/__init__.py | 10 +-
16123 gi/pygtkcompat.py | 2 +-
16124 tests/compathelper.py | 2 +-
16125 tests/runtests.py | 19 ++--
16126 tests/test_everything.py | 22 ++--
16127 tests/test_gdbus.py | 11 +-
16128 tests/test_gi.py | 38 +++----
16129 tests/test_gobject.py | 2 +-
16130 tests/test_interface.py | 1 -
16131 tests/test_option.py | 1 -
16132 tests/test_overrides.py | 78 ++++++-------
16133 tests/test_properties.py | 2 +-
16134 tests/test_uris.py | 1 -
16135 31 files changed, 255 insertions(+), 271 deletions(-)
16137 commit c375e3136f0f48eb8a6717c0053155db088b329d
16138 Author: Martin Pitt <martin.pitt@ubuntu.com>
16139 Date: Thu Mar 22 10:32:43 2012 +0100
16141 tests: Replace deprecated Python API
16143 failIf → assertFalse, failUnless → assertTrue
16145 Caught by the previous commit of making deprecations fatal.
16147 tests/test_option.py | 10 +++----
16148 tests/test_overrides.py | 66
16149 +++++++++++++++++++++++------------------------
16150 tests/test_properties.py | 14 +++++-----
16151 tests/test_pygtkcompat.py | 18 ++++++-------
16152 tests/test_signal.py | 4 +--
16153 5 files changed, 56 insertions(+), 56 deletions(-)
16155 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
16156 Author: Martin Pitt <martin.pitt@ubuntu.com>
16157 Date: Thu Mar 22 10:31:22 2012 +0100
16159 Fail tests if they use or encounter deprecations
16161 tests/Makefile.am | 2 +-
16162 1 file changed, 1 insertion(+), 1 deletion(-)
16164 commit 65762243a34af014950527c323a51a29d40fb3e1
16165 Author: Martin Pitt <martin.pitt@ubuntu.com>
16166 Date: Thu Mar 22 10:15:16 2012 +0100
16168 Do not run tests in two phases any more
16170 As we dropped the static bindings a while ago, there is no need any
16172 the tests in two phases (static/GI). Now just run them all in one go,
16173 simplifying tests/Makefile.am.
16175 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
16177 needs to happen even further, so move it from tests/test_overrides.py
16181 tests/Makefile.am | 33 ++++++++++++---------------------
16182 tests/runtests.py | 7 +++++++
16183 tests/test_overrides.py | 6 ------
16184 3 files changed, 19 insertions(+), 27 deletions(-)
16186 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
16187 Author: Martin Pitt <martin.pitt@ubuntu.com>
16188 Date: Thu Mar 22 09:58:21 2012 +0100
16190 test_overrides: Find local gsettings schema with current glib
16192 With current glib, gsettings now fails to find the gschemas.compiled
16194 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
16196 which makes this work again.
16198 tests/test_overrides.py | 9 +++++----
16199 1 file changed, 5 insertions(+), 4 deletions(-)
16201 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
16202 Author: Paolo Borelli <pborelli@gnome.org>
16203 Date: Wed Mar 21 21:09:24 2012 +0100
16205 Add GtkComboBoxEntry compatibility
16207 This widget has been removed in Gtk+ 3, add a small wrapper to the
16208 compat module to make at least basic pygtk programs that use it work.
16210 https://bugzilla.gnome.org/show_bug.cgi?id=672589
16212 gi/pygtkcompat.py | 19 +++++++++++++++++++
16213 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
16214 2 files changed, 41 insertions(+)
16216 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
16217 Author: Johan Dahlin <johan@gnome.org>
16218 Date: Wed Mar 21 16:01:35 2012 -0300
16220 Correct review comments from Martin
16222 https://bugzilla.gnome.org/show_bug.cgi?id=672578
16224 tests/test_everything.py | 4 ++--
16225 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
16226 2 files changed, 20 insertions(+), 2 deletions(-)
16228 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
16229 Author: Johan Dahlin <johan@gnome.org>
16230 Date: Wed Mar 21 14:45:53 2012 -0300
16232 Correct pyflakes warnings/errors
16234 And add a target to make check that runs pyflakes.
16236 https://bugzilla.gnome.org/show_bug.cgi?id=672578
16238 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
16239 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
16240 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
16241 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
16242 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
16243 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
16244 demos/gtk-demo/demos/appwindow.py | 13 +-
16245 demos/gtk-demo/demos/assistant.py | 4 +-
16246 demos/gtk-demo/demos/builder.py | 4 +-
16247 demos/gtk-demo/demos/button_box.py | 2 +-
16248 demos/gtk-demo/demos/clipboard.py | 2 +-
16249 demos/gtk-demo/demos/colorselector.py | 2 +-
16250 demos/gtk-demo/demos/combobox.py | 4 +-
16251 demos/gtk-demo/demos/dialogs.py | 4 +-
16252 demos/gtk-demo/demos/drawingarea.py | 2 +-
16253 demos/gtk-demo/demos/expander.py | 4 +-
16254 demos/gtk-demo/demos/images.py | 8 +-
16255 demos/gtk-demo/demos/infobars.py | 2 +-
16256 demos/gtk-demo/demos/links.py | 2 +-
16257 demos/gtk-demo/demos/menus.py | 5 +-
16258 demos/gtk-demo/demos/pickers.py | 2 +-
16259 demos/gtk-demo/demos/pixbuf.py | 2 +-
16260 demos/gtk-demo/demos/printing.py | 3 +-
16261 demos/gtk-demo/demos/rotatedtext.py | 6 +-
16262 demos/gtk-demo/gtk-demo.py | 9 +-
16263 examples/cairo-demo.py | 2 +-
16264 gi/__init__.py | 4 +
16265 gi/_glib/__init__.py | 101 ++++++++++-
16266 gi/_glib/option.py | 1 +
16267 gi/_gobject/__init__.py | 203
16268 ++++++++++++++++++++---
16269 gi/_gobject/constants.py | 2 -
16270 gi/_gobject/propertyhelper.py | 4 +-
16271 gi/importer.py | 2 +-
16273 gi/overrides/Gtk.py | 1 -
16274 gi/overrides/__init__.py | 1 -
16275 gi/pygtkcompat.py | 2 +
16277 tests/Makefile.am | 5 +
16278 tests/test_everything.py | 6 +-
16279 tests/test_gi.py | 8 +-
16280 tests/test_option.py | 10 +-
16281 tests/test_overrides.py | 30 ++--
16282 tests/test_properties.py | 12 +-
16283 tests/test_pygtkcompat.py | 4 -
16284 tests/test_signal.py | 4 +-
16285 tests/test_source.py | 6 +-
16286 47 files changed, 377 insertions(+), 138 deletions(-)
16288 commit 39650906559fcc39b4be406fa7e25c4788d349a3
16289 Author: Martin Pitt <martin.pitt@ubuntu.com>
16290 Date: Wed Mar 21 16:59:33 2012 +0100
16292 Make tests fail on CRITICAL logs, too, and apply to all tests
16294 Instead of setting warnings/criticals to fatal in individual test
16296 it in runtests.py, so that it applies to all tests.
16298 We currently have some tests which are known to generate CRITICALs
16300 with FIXME), and some WARNINGs (as they test behaviour with known-bad
16302 For these, warnings/criticals are now explicitly permitted.
16304 tests/runtests.py | 1 +
16305 tests/test_gi.py | 7 ++++++-
16306 tests/test_overrides.py | 14 +++++++-------
16307 tests/test_properties.py | 36 +++++++++++++++++++++---------------
16308 4 files changed, 35 insertions(+), 23 deletions(-)
16310 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
16311 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
16312 Date: Tue Mar 20 14:55:07 2012 +0400
16314 Support marshalling GI_TYPE_TAG_INTERFACE
16316 Marshalling of interfaces got broken with commit
16317 7746d2188ac4933c2c9011d84525d1e62fc18953.
16319 Also, do not abort on unsupported types, but log a critical failure
16323 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16325 gi/pygi-marshal-from-py.c | 3 ++-
16326 gi/pygi-marshal-to-py.c | 3 ++-
16327 2 files changed, 4 insertions(+), 2 deletions(-)
16329 commit 8d85d6639778ec6364235071d272d67e7aae49ae
16330 Author: Martin Pitt <martin.pitt@ubuntu.com>
16331 Date: Wed Mar 21 14:34:36 2012 +0100
16333 Fix warnings on None values in added tree/list store rows
16335 Commit bf8c95836e1c changed the List/TreeStore overrides to use
16336 insert_with_valuesv(), but supplied all columns instead of just
16338 not None. With this, None values cause warnings like
16340 (runtests.py:12375): Gtk-WARNING **:
16341 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
16342 convert from (null) to gboolean
16344 Update the tests to make warnings fatal, to catch this better.
16346 Change _convert_row() to skip the None entries and return the list
16348 columns, and use the latter instead of a simple range(n_columns). This
16350 the behaviour before bf8c95836e1c, where columns with None values
16354 https://bugzilla.gnome.org/show_bug.cgi?id=672463
16356 gi/overrides/Gtk.py | 26 ++++++++++++++------------
16357 tests/test_overrides.py | 5 +++++
16358 2 files changed, 19 insertions(+), 12 deletions(-)
16360 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
16361 Author: Martin Pitt <martin.pitt@ubuntu.com>
16362 Date: Wed Mar 21 15:21:02 2012 +0100
16364 pygtkcompat test: Properly clean up PixbufLoader
16366 Tests currently give
16368 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
16369 without calling gdk_pixbuf_loader_close() - this is not allowed. You
16370 must explicitly end the data stream to the loader before dropping
16371 the last reference.
16373 Fix this by calling close().
16375 tests/test_pygtkcompat.py | 3 ++-
16376 1 file changed, 2 insertions(+), 1 deletion(-)
16378 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
16379 Author: Martin Pitt <martin.pitt@ubuntu.com>
16380 Date: Mon Mar 19 16:58:22 2012 +0100
16384 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
16386 configure.ac | 2 +-
16387 1 file changed, 1 insertion(+), 1 deletion(-)
16389 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
16390 Author: Martin Pitt <martin.pitt@ubuntu.com>
16391 Date: Mon Mar 19 16:41:17 2012 +0100
16395 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
16396 1 file changed, 46 insertions(+)
16398 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
16399 Author: Martin Pitt <martin.pitt@ubuntu.com>
16400 Date: Mon Mar 19 16:14:54 2012 +0100
16402 README: Update current maintainers
16404 Also update Martin's email address.
16406 README | 10 ++++++----
16407 pygobject.doap | 2 +-
16408 2 files changed, 7 insertions(+), 5 deletions(-)
16410 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
16411 Author: Martin Pitt <martin.pitt@ubuntu.com>
16412 Date: Mon Mar 19 16:11:22 2012 +0100
16414 Bump version to 3.1.92, in sync with GNOME
16416 configure.ac | 2 +-
16417 1 file changed, 1 insertion(+), 1 deletion(-)
16419 commit 77d358f8c5f524259249ea686899e3a4da05562e
16420 Author: Johan Dahlin <johan@gnome.org>
16421 Date: Mon Mar 19 11:54:07 2012 -0300
16423 Correct Gtk.TreePath.__iter__ to work with Python 3
16425 gi/overrides/Gtk.py | 2 +-
16426 1 file changed, 1 insertion(+), 1 deletion(-)
16428 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
16429 Author: Martin Pitt <martin.pitt@ubuntu.com>
16430 Date: Mon Mar 19 15:54:13 2012 +0100
16432 Fix pygtkcompat.py to work with Python 3
16434 gi/pygtkcompat.py | 20 +++++++++++++++-----
16435 1 file changed, 15 insertions(+), 5 deletions(-)
16437 commit 96a9f92da801989464fbcedf6d849819f6dbea64
16438 Author: Martin Pitt <martin.pitt@ubuntu.com>
16439 Date: Mon Mar 19 15:32:22 2012 +0100
16441 Fix test_everything.TestSignals.test_object_param_signal test case
16443 The callback gets two arguments, not one. This short-circuited
16445 assertions. Fix the arguments and update the refcount check, as it
16447 exactly two at the moment.
16449 tests/test_everything.py | 4 ++--
16450 1 file changed, 2 insertions(+), 2 deletions(-)
16452 commit ba00afb1e50759b2b321f16e05a15946053cdafa
16453 Author: Johan Dahlin <johan@gnome.org>
16454 Date: Mon Mar 19 10:58:09 2012 -0300
16456 pygtkcompat: Remove first argument for get_origin()
16458 gi/pygtkcompat.py | 5 +++++
16459 tests/test_pygtkcompat.py | 5 +++++
16460 2 files changed, 10 insertions(+)
16462 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
16463 Author: Johan Dahlin <johan@gnome.org>
16464 Date: Fri Mar 16 16:08:44 2012 -0300
16466 GtkViewport: Add a default values for the adjustment constructor
16469 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16471 gi/overrides/Gtk.py | 10 ++++++++++
16472 tests/test_overrides.py | 11 +++++++++++
16473 2 files changed, 21 insertions(+)
16475 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
16476 Author: Johan Dahlin <johan@gnome.org>
16477 Date: Fri Mar 16 16:08:23 2012 -0300
16479 GtkIconSet: Add a default value for the pixbuf constructor parameter
16481 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16483 gi/overrides/Gtk.py | 11 +++++++++++
16484 tests/test_overrides.py | 6 ++++++
16485 2 files changed, 17 insertions(+)
16487 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
16488 Author: Johan Dahlin <johan@gnome.org>
16489 Date: Fri Mar 16 16:07:30 2012 -0300
16491 PangoLayout: Add a default value for set_markup()
16493 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16495 gi/overrides/Pango.py | 3 +++
16496 tests/test_overrides.py | 4 ++++
16497 2 files changed, 7 insertions(+)
16499 commit a3ca47b086b7fcf084282be788c5d737dde847ac
16500 Author: Johan Dahlin <johan@gnome.org>
16501 Date: Fri Mar 16 16:06:37 2012 -0300
16503 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
16506 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16508 gi/overrides/Gtk.py | 15 +++++++++++++++
16509 tests/test_overrides.py | 14 ++++++++++++++
16510 2 files changed, 29 insertions(+)
16512 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
16513 Author: Johan Dahlin <johan@gnome.org>
16514 Date: Fri Mar 16 16:06:12 2012 -0300
16516 GtkToolButton: Add a default value for the stock_id constructor
16519 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16521 gi/overrides/Gtk.py | 10 ++++++++++
16522 tests/test_overrides.py | 9 ++++++++-
16523 2 files changed, 18 insertions(+), 1 deletion(-)
16525 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
16526 Author: Johan Dahlin <johan@gnome.org>
16527 Date: Fri Mar 16 16:05:55 2012 -0300
16529 GtkIconView: Add a default value for the model constructor parameter
16531 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16533 gi/overrides/Gtk.py | 3 +++
16534 tests/test_overrides.py | 11 +++++++++++
16535 2 files changed, 14 insertions(+)
16537 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
16538 Author: Johan Dahlin <johan@gnome.org>
16539 Date: Thu Mar 15 15:22:46 2012 -0300
16541 Add a default value for column in Gtk.TreeView.get_cell_area()
16543 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16545 gi/overrides/Gtk.py | 5 +++++
16546 tests/test_overrides.py | 3 +++
16547 2 files changed, 8 insertions(+)
16549 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
16550 Author: Martin Pitt <martin.pitt@ubuntu.com>
16551 Date: Thu Mar 15 09:48:10 2012 +0100
16553 Atomic inserts in Gtk.{List,Tree}Store overrides
16555 Gtk.{List,Tree}Store's overrides provide append(), insert()
16557 take an optional data row array. If this is given, use
16558 insert_with_valuesv()
16559 instead of creating a new iter and then filling it with data. The
16561 row-added signal, at which time the row was still empty, and a
16563 row-changed signal. With this we only get a single row-added
16567 Note that this does not change insert_{before,after}(), as there is no
16568 counterpart of insert_with_valuesv() which takes a TreeIter instead
16570 position. For those you will still get two signals, and have to deal
16574 https://bugzilla.gnome.org/show_bug.cgi?id=671610
16576 gi/overrides/Gtk.py | 81
16577 ++++++++++++++++++++++++++++++-------------------
16578 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
16579 2 files changed, 124 insertions(+), 31 deletions(-)
16581 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
16582 Author: Martin Pitt <martin.pitt@ubuntu.com>
16583 Date: Sun Mar 18 16:07:26 2012 +0100
16585 Fix Gtk.Button constructor to accept use_stock parameter
16587 Thanks to kalanzun@googlemail.com!
16589 https://bugzilla.gnome.org/show_bug.cgi?id=672318
16591 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16593 gi/overrides/Gtk.py | 4 +---
16594 tests/test_overrides.py | 6 ++++++
16595 2 files changed, 7 insertions(+), 3 deletions(-)
16597 commit 466337cf2fd091738eeab12c10d250a9d0827284
16598 Author: Johan Dahlin <johan@gnome.org>
16599 Date: Fri Mar 16 16:55:47 2012 -0300
16601 Correct bad rebase, remove duplicate Window
16603 gi/overrides/Gtk.py | 7 -------
16604 1 file changed, 7 deletions(-)
16606 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
16607 Author: Johan Dahlin <johan@gnome.org>
16608 Date: Thu Mar 15 15:42:28 2012 -0300
16610 Add a PyGTK compatibility layer
16612 This module tries quite a bit harder to maintain compatibility
16613 with PyGTK, module names, enums, flags and some API.
16615 https://bugzilla.gnome.org/show_bug.cgi?id=653462
16617 gi/Makefile.am | 3 +-
16618 gi/pygtkcompat.py | 421
16619 ++++++++++++++++++++++++++++++++++++++++++++++
16620 tests/Makefile.am | 3 +-
16621 tests/test_pygtkcompat.py | 77 +++++++++
16622 4 files changed, 502 insertions(+), 2 deletions(-)
16624 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
16625 Author: Johan Dahlin <johan@gnome.org>
16626 Date: Wed Mar 14 15:20:53 2012 -0300
16628 Add bw-compatible arguments to Gtk.Adjustment
16630 The argument used to be called page/step_incr, if they
16631 are found map them to the existing properties for extra
16634 https://bugzilla.gnome.org/show_bug.cgi?id=672087
16636 gi/overrides/Gtk.py | 8 +++++++-
16637 1 file changed, 7 insertions(+), 1 deletion(-)
16639 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
16640 Author: Johan Dahlin <johan@gnome.org>
16641 Date: Wed Mar 14 17:13:04 2012 -0300
16643 GtkTreePath: make it iterable
16645 https://bugzilla.gnome.org/show_bug.cgi?id=672093
16647 gi/overrides/Gtk.py | 3 +++
16648 tests/test_overrides.py | 2 ++
16649 2 files changed, 5 insertions(+)
16651 commit a7b08cb75541612c78d123b1d968be7874e3c481
16652 Author: Johan Dahlin <johan@gnome.org>
16653 Date: Wed Mar 14 13:32:31 2012 -0300
16655 Add a default argument to TreeModelFilter.set_visible_func()
16657 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16659 gi/overrides/Gtk.py | 14 ++++++++++++++
16660 1 file changed, 14 insertions(+)
16662 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
16663 Author: Johan Dahlin <johan@gnome.org>
16664 Date: Wed Mar 14 13:31:41 2012 -0300
16666 Add a default argument to Gtk.TreeView.set_cursor
16668 And also make sure that the path is a Gtk.TreePath.
16670 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16672 gi/overrides/Gtk.py | 4 ++++
16673 tests/test_overrides.py | 10 ++++++++++
16674 2 files changed, 14 insertions(+)
16676 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
16677 Author: Johan Dahlin <johan@gnome.org>
16678 Date: Wed Mar 14 13:31:06 2012 -0300
16680 Add a default argument to Pango.Context.get_metrics()
16682 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16684 gi/overrides/Pango.py | 9 +++++++++
16685 1 file changed, 9 insertions(+)
16687 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
16688 Author: Martin Pitt <martin.pitt@ubuntu.com>
16689 Date: Fri Mar 16 13:27:56 2012 +0100
16691 Fix double-freeing GValues in arrays
16693 When marshalling a GValue array to C, the GValue items are copied
16695 GValue array, not a C GValue pointer
16696 array. _pygi_marshal_from_py_array()
16697 already calls the cleanup_func for the original item;
16698 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
16700 to g_slice_free the array item.
16702 https://bugzilla.gnome.org/show_bug.cgi?id=672224
16704 gi/pygi-marshal-from-py.c | 7 ++++++-
16705 1 file changed, 6 insertions(+), 1 deletion(-)
16707 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
16708 Author: Simon Feltman <s.feltman@gmail.com>
16709 Date: Fri Mar 16 00:29:31 2012 -0700
16711 Renamed "property" class to "Property"
16713 Renamed to match the rest of the class names in GObject and also
16714 not clobber the builtin python property.
16716 Keep the old "property" identifier for backwards compatibility
16719 https://bugzilla.gnome.org/show_bug.cgi?id=672168
16721 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16723 examples/properties.py | 6 +--
16724 gi/_gobject/__init__.py | 7 ++--
16725 gi/_gobject/propertyhelper.py | 12 +++---
16726 tests/test_interface.py | 4 +-
16727 tests/test_properties.py | 94
16728 +++++++++++++++++++++----------------------
16729 5 files changed, 62 insertions(+), 61 deletions(-)
16731 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
16732 Author: Martin Pitt <martin.pitt@ubuntu.com>
16733 Date: Wed Mar 14 22:52:47 2012 +0100
16735 Fix Python to C marshalling of GValue arrays
16737 For GValues we cannot just copy the GValue memory in
16738 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
16740 releases the GValue and with it its v_pointer. Use g_value_copy()
16744 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
16746 assumed that C arrays contained pointers, but this is not the case
16748 arrays: these are actual struct arrays, not struct pointer arrays
16750 construction in _pygi_marshal_from_py_array()). Check if an array
16752 pointers or values and compute the correct array item pointer for
16755 Also add a corresponding test case for marshalling GValue arrays
16757 Python, which works fine.
16759 https://bugzilla.gnome.org/show_bug.cgi?id=672065
16761 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
16762 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
16763 tests/test_gi.py | 8 ++++++++
16764 3 files changed, 34 insertions(+), 6 deletions(-)
16766 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
16767 Author: Johan Dahlin <johan@gnome.org>
16768 Date: Fri Mar 16 09:59:57 2012 +0100
16770 Correct the Gtk.Window hierarchy
16772 We need to make sure that all Gtk.Dialog subclasses inherit from
16773 the overridden Window class. For that to be done automaticly we need
16774 to create the Window class before the Dialog class.
16776 Now when it's inherited properly we need to avoid calling the Window
16777 constructor twice as it passes in a construct-only parameter. So add
16778 **kwargs to the Window constructor to allow us to pass in any kind
16779 of GObject property to it and refactor the Dialog subclasses to pass
16780 in all properties to the same constructor.
16782 Also adds a bunch of tests to make sure that the hiearchy is correct.
16784 https://bugzilla.gnome.org/show_bug.cgi?id=672158
16786 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16788 gi/overrides/Gtk.py | 56
16789 ++++++++++++++++++++++++-------------------------
16790 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
16791 2 files changed, 61 insertions(+), 30 deletions(-)
16793 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
16794 Author: simon <simon@gerty>
16795 Date: Tue Mar 13 01:41:53 2012 -0700
16797 Renamed getter/setter instance attributes to fget/fset respectively.
16799 The python 'property' class allows for decoration of methods using
16800 .getter and .setter. These were added as methods to the
16802 class to match that of the python property class and allow for
16806 In addition, __call__ was added to allow an instantiated decorator
16808 args to also decorate a method:
16810 class C(GObject.GObject):
16812 @GObject.property(type=int, default=0)
16816 def propInt(self, value):
16817 self._value = value
16819 https://bugzilla.gnome.org/show_bug.cgi?id=586181
16821 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16823 gi/_gobject/__init__.py | 10 ++++----
16824 gi/_gobject/propertyhelper.py | 59
16825 +++++++++++++++++++++++++++++++------------
16826 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
16827 3 files changed, 89 insertions(+), 21 deletions(-)
16829 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
16830 Author: Johan Dahlin <johan@gnome.org>
16831 Date: Tue Mar 13 17:10:13 2012 -0300
16833 Add Gtk.Arrow/Gtk.Window constructor override
16835 Adds argument that makes them compatible with PyGTK.
16837 https://bugzilla.gnome.org/show_bug.cgi?id=672045
16839 gi/overrides/Gtk.py | 17 +++++++++++++++++
16840 1 file changed, 17 insertions(+)
16842 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
16843 Author: Michel Dänzer <michel@daenzer.net>
16844 Date: Fri Mar 9 12:26:53 2012 +0100
16846 Fix marshalling to/from Python to work on big endian machines.
16848 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16850 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16852 gi/pygi-argument.c | 25 ++++++++++++++++---------
16853 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
16854 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
16855 3 files changed, 60 insertions(+), 16 deletions(-)
16857 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
16858 Author: Michel Dänzer <michel@daenzer.net>
16859 Date: Thu Mar 8 12:21:28 2012 +0100
16861 Use gi_cclosure_marshal_generic instead of duplicating it.
16863 Bump gobject-introspection dependency to ensure that we have the
16867 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16869 Signed-off-by: Michel Dänzer <michel@daenzer.net>
16870 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16872 configure.ac | 3 +-
16873 gi/_gobject/Makefile.am | 7 +-
16874 gi/_gobject/ffi-marshaller.c | 194
16875 -------------------------------------------
16876 gi/_gobject/ffi-marshaller.h | 31 -------
16877 gi/_gobject/gobjectmodule.c | 12 +--
16878 5 files changed, 4 insertions(+), 243 deletions(-)
16880 commit 8ca828825a2c47080055c5f986979aac8da9a93f
16881 Author: René Stadler <rene.stadler@collabora.co.uk>
16882 Date: Mon Mar 5 21:10:55 2012 +0100
16884 Override Gtk.TreeView.get_visible_range to fix return
16886 Just like IconView.
16888 https://bugzilla.gnome.org/show_bug.cgi?id=671409
16890 gi/overrides/Gtk.py | 5 +++++
16891 1 file changed, 5 insertions(+)
16893 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
16894 Author: Paolo Borelli <pborelli@gnome.org>
16895 Date: Sun Mar 4 16:41:18 2012 +0100
16897 Plug memory leak in _is_union_member
16899 When we found the member, unref the objects before breaking out of the
16902 gi/pygi-marshal-from-py.c | 9 +++------
16903 1 file changed, 3 insertions(+), 6 deletions(-)
16905 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
16906 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16907 Date: Tue Feb 21 15:37:18 2012 +0100
16909 tests: Split TestInterfaces into separate tests
16911 tests/test_gi.py | 36 +++++++++++++++++++-----------------
16912 1 file changed, 19 insertions(+), 17 deletions(-)
16914 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
16915 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16916 Date: Mon Feb 20 19:37:32 2012 +0100
16918 Post release version bump to 3.1.2
16920 configure.ac | 2 +-
16921 1 file changed, 1 insertion(+), 1 deletion(-)
16923 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
16924 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16925 Date: Mon Feb 20 19:33:56 2012 +0100
16927 Prepare 3.1.1 release
16929 NEWS | 18 ++++++++++++++++++
16930 1 file changed, 18 insertions(+)
16932 commit 99485d96811667ef7a7a393b68b7361733157d61
16933 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16934 Date: Sat Feb 18 00:38:05 2012 +0100
16936 Don't use C99 style
16938 gi/pygi-cache.c | 3 ++-
16939 1 file changed, 2 insertions(+), 1 deletion(-)
16941 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
16942 Author: Martin Pitt <martin.pitt@ubuntu.com>
16943 Date: Thu Feb 16 16:42:53 2012 +0100
16945 Add test for GPtrArray with transfer full
16947 This complements the already existing test for a "transfer container"
16949 array. We can't verify the internal refcount as these arrays get
16951 internally, but at least we can verify that it does not crash due to
16954 tests/test_everything.py | 10 +++++++++-
16955 1 file changed, 9 insertions(+), 1 deletion(-)
16957 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
16958 Author: Martin Pitt <martin.pitt@ubuntu.com>
16959 Date: Wed Feb 15 13:36:39 2012 +0100
16961 Drop obsolete g_thread_init()
16963 Not necessary any more since glib 2.24, and we depend on 2.31.
16965 gi/_glib/pyglib.c | 3 ---
16966 1 file changed, 3 deletions(-)
16968 commit 66fb610e45912a7def29e5848577d280ef55643a
16969 Author: Martin Pitt <martin.pitt@ubuntu.com>
16970 Date: Wed Feb 15 13:35:33 2012 +0100
16972 Fix deprecated g_source_get_current_time()
16974 Use g_get_real_time() instead as recommended by the
16975 documentation. This also
16976 simplifies the code.
16978 gi/_glib/pygsource.c | 4 +---
16979 1 file changed, 1 insertion(+), 3 deletions(-)
16981 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
16982 Author: Martin Pitt <martin.pitt@ubuntu.com>
16983 Date: Wed Feb 15 13:31:23 2012 +0100
16985 Fix deprecated g_value_[gs]et_char()
16987 Replace with _schar(). We depend on glib >= 2.31 already.
16989 gi/_gobject/ffi-marshaller.c | 2 +-
16990 gi/_gobject/pygtype.c | 6 +++---
16991 gi/pygi-argument.c | 2 +-
16992 3 files changed, 5 insertions(+), 5 deletions(-)
16994 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
16995 Author: Simon Schampijer <simon@schampijer.de>
16996 Date: Thu Feb 2 19:06:01 2012 +0100
16998 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
17000 Looking at the gir file gtk.gdk.x11_* should get converted to
17001 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
17003 pygi-convert.sh | 2 +-
17004 1 file changed, 1 insertion(+), 1 deletion(-)
17006 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
17007 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17008 Date: Fri Feb 10 13:29:41 2012 +0100
17010 Raise required glib version to 2.31 because of g_value_(get|set)_schar
17012 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
17014 configure.ac | 6 +++---
17015 1 file changed, 3 insertions(+), 3 deletions(-)
17017 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
17018 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17019 Date: Fri Feb 10 09:28:36 2012 +0100
17021 Fix cset_first typo
17023 https://bugzilla.gnome.org/show_bug.cgi?id=649267
17025 gi/_gobject/pygparamspec.c | 2 +-
17026 1 file changed, 1 insertion(+), 1 deletion(-)
17028 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
17029 Author: Bastian Winkler <buz@netbuz.org>
17030 Date: Mon Nov 14 14:41:08 2011 +0100
17032 pygi-convert: Handle Clutter and Cogl
17034 https://bugzilla.gnome.org/show_bug.cgi?id=664496
17036 pygi-convert.sh | 76
17037 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17038 1 file changed, 76 insertions(+)
17040 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
17041 Author: Cédric Krier <cedric.krier@b2ck.com>
17042 Date: Fri Feb 10 09:04:18 2012 +0100
17044 Provide access to gpointer struct values
17046 https://bugzilla.gnome.org/show_bug.cgi?id=668356
17048 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17050 gi/pygi-argument.c | 3 ++-
17051 gi/pygi-info.c | 13 +++++++++++++
17052 tests/test_everything.py | 21 +++++++++++++++++++++
17053 3 files changed, 36 insertions(+), 1 deletion(-)
17055 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
17056 Author: Paolo Borelli <pborelli@gnome.org>
17057 Date: Thu Feb 9 18:15:42 2012 +0100
17059 Add some GType tests
17061 Use what was recently added in g-i
17063 tests/test_gi.py | 17 +++++++++++++++--
17064 1 file changed, 15 insertions(+), 2 deletions(-)
17066 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
17067 Author: Paolo Borelli <pborelli@gnome.org>
17068 Date: Thu Feb 9 18:14:52 2012 +0100
17070 Split GStrv and array variant tests in their own classes
17072 Also tidy up the spacing a bit
17074 tests/test_gi.py | 29 +++++++++++++++++++++++------
17075 1 file changed, 23 insertions(+), 6 deletions(-)
17077 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
17078 Author: Paolo Borelli <pborelli@gnome.org>
17079 Date: Wed Feb 8 22:23:30 2012 +0100
17081 Add unit test for builder's connect_after
17083 tests/test_overrides.py | 8 ++++++++
17084 1 file changed, 8 insertions(+)
17086 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
17087 Author: Ryan Lortie <desrt@desrt.ca>
17088 Date: Wed Feb 8 16:06:22 2012 -0500
17090 fix GtkBuilder signal connection 'after' logic
17092 All GtkBuilder signals are presently being connected 'after', ignoring
17093 what is specified in the builder XML. This is due to an obvious logic
17096 https://bugzilla.gnome.org/show_bug.cgi?id=669705
17098 gi/overrides/Gtk.py | 2 +-
17099 1 file changed, 1 insertion(+), 1 deletion(-)
17101 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
17102 Author: Patrick Welche <prlw1@cam.ac.uk>
17103 Date: Tue Feb 7 11:49:58 2012 +0000
17105 test(1) uses '=' to test if strings are identical
17107 https://bugzilla.gnome.org/show_bug.cgi?id=669598
17109 m4/python.m4 | 6 +++---
17110 1 file changed, 3 insertions(+), 3 deletions(-)
17112 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
17113 Author: Ryan Lortie <desrt@desrt.ca>
17114 Date: Tue Feb 7 13:42:19 2012 -0500
17116 pygspawn: improve error checking
17118 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
17119 is enforced by checking that the passed argument is a sequence
17121 each item returned from it is a string.
17123 We do now, however, verify that each item can be successfully
17125 the sequence. 'os.environ' is an example of an object that passes
17126 PySequence_Check() but fails to return objects from PySequence_ITEM().
17128 Add a simple NULL check to avoid the crash.
17130 https://bugzilla.gnome.org/show_bug.cgi?id=669594
17132 gi/_glib/pygspawn.c | 4 ++--
17133 1 file changed, 2 insertions(+), 2 deletions(-)
17135 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
17136 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17137 Date: Mon Feb 6 19:15:53 2012 +0100
17139 Post release version bump to 3.1.1
17141 configure.ac | 2 +-
17142 1 file changed, 1 insertion(+), 1 deletion(-)
17144 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
17145 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17146 Date: Mon Feb 6 19:11:52 2012 +0100
17148 Prepare 3.1.0 release
17150 NEWS | 34 ++++++++++++++++++++++++++++++++++
17151 1 file changed, 34 insertions(+)
17153 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
17154 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17155 Date: Mon Feb 6 19:04:41 2012 +0100
17157 Updated DOAP file to only include people currently actively working
17160 Removed obsolete MAINTAINERS file
17162 MAINTAINERS | 19 -------------------
17163 pygobject.doap | 44 +++++++++++++++-----------------------------
17164 2 files changed, 15 insertions(+), 48 deletions(-)
17166 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
17167 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17168 Date: Mon Feb 6 18:57:01 2012 +0100
17170 Revert "Convert all strings to utf-8 encoding when retrieving from
17173 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
17175 Due to this commit breaking backwards compatability, we decided to
17178 gi/overrides/Gtk.py | 15 ---------------
17179 tests/compathelper.py | 2 --
17180 tests/test_overrides.py | 31 +------------------------------
17181 3 files changed, 1 insertion(+), 47 deletions(-)
17183 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
17184 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17185 Date: Sun Feb 5 13:47:10 2012 +0100
17187 tests: Fixed issues with python3
17189 tests/test_gi.py | 9 ++++++---
17190 1 file changed, 6 insertions(+), 3 deletions(-)
17192 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
17193 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17194 Date: Sun Feb 5 11:59:51 2012 +0100
17196 Properly distinguish between different integer types for properties
17198 https://bugzilla.gnome.org/show_bug.cgi?id=664150
17200 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
17201 tests/test_gi.py | 62
17202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17203 2 files changed, 106 insertions(+), 4 deletions(-)
17205 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
17206 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17207 Date: Sun Feb 5 11:46:21 2012 +0100
17209 Distinguish between GArray and GPtrArray when cleaning up
17211 This fixes a crash in test_gi.TestGPtrArray and makes sure
17212 memory is free'd correctly
17214 https://bugzilla.gnome.org/show_bug.cgi?id=669393
17216 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
17217 1 file changed, 23 insertions(+), 9 deletions(-)
17219 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
17220 Author: Paolo Borelli <pborelli@gnome.org>
17221 Date: Sun Feb 5 18:51:53 2012 +0100
17223 Add null_gerror_callback unit test
17225 This models the case where the callback is successful and does not set
17228 https://bugzilla.gnome.org/show_bug.cgi?id=669415
17230 tests/test_everything.py | 9 +++++++++
17231 1 file changed, 9 insertions(+)
17233 commit a41984780ee49dcf02c718ca1be87bba747472e5
17234 Author: Martin Pitt <martin.pitt@ubuntu.com>
17235 Date: Mon Feb 6 09:34:28 2012 +0100
17237 pyglib_error_check: Re-add missing NULL check
17239 Commit adcfe96d49b09bc accidentally dropped the check if *error is
17241 any error is actually set. Due to that, pyglib_error_check()
17243 TRUE. Reintroduce the check.
17245 Thanks to Alberto Mardegan for spotting this!
17247 https://bugzilla.gnome.org/show_bug.cgi?id=669415
17249 gi/_glib/pyglib.c | 2 ++
17250 1 file changed, 2 insertions(+)
17252 commit 2c797c17913999379e277788d5e4cce8d68cebb0
17253 Author: Michael Culbertson <michael.culbertson@gmail.com>
17254 Date: Sat Feb 4 16:11:34 2012 +0100
17256 Add tests/runtests-windows.py to source tarball
17258 https://bugzilla.gnome.org/show_bug.cgi?id=663288
17260 tests/Makefile.am | 1 +
17261 1 file changed, 1 insertion(+)
17263 commit d6a899cdf70e978534326155e3fad75a705f4b20
17264 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17265 Date: Sat Feb 4 15:55:55 2012 +0100
17267 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
17270 https://bugzilla.gnome.org/show_bug.cgi?id=665553
17272 gi/overrides/Gtk.py | 6 ++----
17273 1 file changed, 2 insertions(+), 4 deletions(-)
17275 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
17276 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
17277 Date: Sat Feb 4 15:42:36 2012 +0100
17279 Fix bool() operations on GLib.Variant objects
17281 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
17283 Also adds some tests for boolean comparisons.
17285 https://bugzilla.gnome.org/show_bug.cgi?id=647723
17287 gi/overrides/GLib.py | 18 ++++++++++++++++++
17288 tests/test_overrides.py | 45
17289 +++++++++++++++++++++++++++++++++++++++++++++
17290 2 files changed, 63 insertions(+)
17292 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
17293 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
17294 Date: Sat Feb 4 15:41:08 2012 +0100
17296 Fix hash() and __eq__() for GLib.Variant objects
17298 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
17299 be used in sets, dicts, and can be compared using == and != easily.
17301 Also adds some tests for this.
17303 https://bugzilla.gnome.org/show_bug.cgi?id=647725
17305 gi/overrides/GLib.py | 23 ++++++++++++++++++++
17306 tests/test_overrides.py | 56
17307 +++++++++++++++++++++++++++++++++++++++++++++++++
17308 2 files changed, 79 insertions(+)
17310 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
17311 Author: Martin Pitt <martin.pitt@ubuntu.com>
17312 Date: Wed Jan 25 07:01:06 2012 +0100
17314 Fix method names of callback tests
17316 Change test_everything.TestCallbacks.* test names from camelCase
17318 standard PEP-8 underscore_style. This is now consistent with all
17322 tests/test_everything.py | 30 +++++++++++++++---------------
17323 1 file changed, 15 insertions(+), 15 deletions(-)
17325 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
17326 Author: Will Thompson <will.thompson@collabora.co.uk>
17327 Date: Mon Jan 23 13:10:30 2012 +0000
17329 Cairo: add missing braces around array-of-struct definition
17331 This triggered a -Wmissing-braces warning.
17333 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17335 gi/pygi-foreign-cairo.c | 2 +-
17336 1 file changed, 1 insertion(+), 1 deletion(-)
17338 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
17339 Author: Will Thompson <will.thompson@collabora.co.uk>
17340 Date: Mon Jan 23 13:06:41 2012 +0000
17342 g_instance_init: cast to PyGObject * as needed
17344 This squashes a compiler warning.
17346 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17348 gi/_gobject/gobjectmodule.c | 2 +-
17349 1 file changed, 1 insertion(+), 1 deletion(-)
17351 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
17352 Author: Will Thompson <will.thompson@collabora.co.uk>
17353 Date: Mon Jan 23 13:01:27 2012 +0000
17355 Fix a few set-but-not-used warnings.
17357 In a couple of cases, the variable in question was set to a value
17358 spelled out again later in the function.
17360 The 'sequence_cache' variable is re-declared five lines below.
17362 The return value of 'read' was previously completely ignored. The
17363 'gssize ret' variable was in fact added to squash an unused-result
17366 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17368 gi/_glib/pygiochannel.c | 2 +-
17369 gi/_glib/pygmainloop.c | 3 +--
17370 gi/_gobject/pygobject.c | 2 +-
17371 gi/pygi-marshal-cleanup.c | 2 --
17372 4 files changed, 3 insertions(+), 6 deletions(-)
17374 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
17375 Author: Stefano Facchini <stefano.facchini@gmail.com>
17376 Date: Thu Jan 19 18:09:07 2012 +0100
17378 pygmainloop: allow for extra arguments in 'quit' method
17380 To allow for the common syntax:
17382 object.connect('signal-name', main_loop.quit)
17384 https://bugzilla.gnome.org/show_bug.cgi?id=668288
17386 gi/_glib/pygmainloop.c | 4 ++--
17387 1 file changed, 2 insertions(+), 2 deletions(-)
17389 commit 557a61c12c01137a0d7c679c4b053973df09d445
17390 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
17391 Date: Mon Dec 26 00:44:56 2011 -0500
17393 Fix bytearray test compatibility with python3
17395 https://bugs.gentoo.org/show_bug.cgi?id=321879
17397 https://bugzilla.gnome.org/show_bug.cgi?id=666852
17399 tests/test_gi.py | 4 ++--
17400 1 file changed, 2 insertions(+), 2 deletions(-)
17402 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
17403 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17404 Date: Mon Jan 23 12:37:26 2012 +0200
17406 Respect transfer-type when demarshalling GErrors
17408 The marshaller previously ignored "transfer full" on GError*
17410 crashes due to double-freeing them. This causes the
17411 testCallbackUserdata() test
17412 case to crash after the previous GError/GHashTable marshalling fix.
17414 https://bugzilla.gnome.org/show_bug.cgi?id=666270
17416 gi/pygi-argument.c | 12 +++++++++++-
17417 1 file changed, 11 insertions(+), 1 deletion(-)
17419 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
17420 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17421 Date: Thu Dec 15 16:12:01 2011 +0200
17423 Support GHashTable and GError as callback/closure arguments
17425 Marshalling of these types from C is already implemented, let's
17427 into use for calbacks and closures too.
17429 Add corresponding test cases.
17431 https://bugzilla.gnome.org/show_bug.cgi?id=666270
17433 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17435 gi/pygi-closure.c | 2 ++
17436 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
17437 2 files changed, 37 insertions(+)
17439 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
17440 Author: Will Thompson <will.thompson@collabora.co.uk>
17441 Date: Mon Jan 23 13:56:02 2012 +0000
17443 Don't leak when marshalling GErrors to C
17445 Python-land GLib.GErrors are supposed to have three attributes:
17446 "message", "domain" and "code". If those attributes are missing,
17448 have the wrong types, the C GError is filled in with a message
17449 describing the error. The present-but-ill-typed code paths did not
17450 DECREF the ill-typed values.
17452 https://bugzilla.gnome.org/show_bug.cgi?id=666098
17454 gi/_glib/pyglib.c | 3 +++
17455 1 file changed, 3 insertions(+)
17457 commit adcfe96d49b09bcc550653d73de196610fd5144d
17458 Author: Will Thompson <will.thompson@collabora.co.uk>
17459 Date: Fri Jan 20 16:20:10 2012 +0000
17461 Support functions which return GError
17463 GStreamer has the following method:
17465 void gst_message_parse_error (
17466 GstMessage *message,
17468 gchar **debug_message);
17470 With this patch, we marshal the GError out parameter as a
17472 exception, but return it rather than throwing it. The test cases cover
17473 two variations on the theme of the function above (one with (transfer
17474 full), as in GStreamer, and another with (transfer none)) as well as a
17475 function with return type GError *.
17477 https://bugzilla.gnome.org/show_bug.cgi?id=666098
17479 gi/_glib/pyglib.c | 46
17480 +++++++++++++++++++++++++++++++++++-----------
17481 gi/_glib/pyglib.h | 1 +
17482 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
17483 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
17484 4 files changed, 81 insertions(+), 14 deletions(-)
17486 commit 09f003729eac9d553a208c343c2a14d253b77d9a
17487 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17488 Date: Mon Jan 23 12:42:21 2012 +0200
17490 Fix indentation of _pygi_argument_to_object()
17492 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
17494 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17496 gi/pygi-argument.c | 26 +++++++++++++-------------
17497 1 file changed, 13 insertions(+), 13 deletions(-)
17499 commit c71c010be01d706f90bc200194325fd82f4071b2
17500 Author: Paolo Borelli <pborelli@gnome.org>
17501 Date: Sat Jan 14 14:24:23 2012 +0100
17505 gi/gimodule.c | 10 ++++++----
17506 1 file changed, 6 insertions(+), 4 deletions(-)
17508 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
17509 Author: Paolo Borelli <pborelli@gnome.org>
17510 Date: Fri Jan 6 13:39:31 2012 +0100
17512 Connect to first action of a radio group.
17514 gi/overrides/Gtk.py | 4 ++--
17515 1 file changed, 2 insertions(+), 2 deletions(-)
17517 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
17518 Author: Paolo Borelli <pborelli@gnome.org>
17519 Date: Wed Jan 4 16:40:51 2012 +0100
17521 Use g_slist_free_full in pygi-closure.
17523 gi/pygi-closure.c | 3 +--
17524 1 file changed, 1 insertion(+), 2 deletions(-)
17526 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
17527 Author: Paolo Borelli <pborelli@gnome.org>
17528 Date: Wed Jan 4 15:24:13 2012 +0100
17530 Avoid O(n^2) behavior when marshalling lists
17532 Appending requires walking the list every time: just prepend and
17534 the list at the end.
17536 https://bugzilla.gnome.org/show_bug.cgi?id=667261
17538 gi/pygi-marshal-from-py.c | 8 ++++----
17539 1 file changed, 4 insertions(+), 4 deletions(-)
17541 commit d68455e99b1a9ebba31209b17a11317b1958678b
17542 Author: Paolo Borelli <pborelli@gnome.org>
17543 Date: Tue Jan 3 16:57:40 2012 +0100
17545 Handle NULL as a valid case of a char** array
17547 Treat NULL as an empty array and add the corresponding testcase
17549 gi/pygi-marshal-to-py.c | 9 +++++----
17550 tests/test_gi.py | 3 +++
17551 2 files changed, 8 insertions(+), 4 deletions(-)
17553 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
17554 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17555 Date: Fri Dec 23 12:01:43 2011 +0100
17557 Branching, bump version to 3.1.0
17559 configure.ac | 4 ++--
17560 1 file changed, 2 insertions(+), 2 deletions(-)
17562 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
17563 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17564 Date: Mon Dec 12 18:35:30 2011 +0100
17566 Add notes about branching to HACKING
17568 HACKING | 10 ++++++++++
17569 1 file changed, 10 insertions(+)
17571 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
17572 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17573 Date: Sat Dec 10 12:51:45 2011 +0100
17575 Fixed bug where GObject.property did not respect minimum and maximum
17578 https://bugzilla.gnome.org/show_bug.cgi?id=664864
17580 gi/_gobject/propertyhelper.py | 2 +-
17581 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
17582 2 files changed, 32 insertions(+), 1 deletion(-)
17584 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
17585 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17586 Date: Mon Dec 12 17:00:24 2011 +0100
17588 Remove mention of removed option --enable-docs
17591 1 file changed, 1 insertion(+), 1 deletion(-)
17593 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
17594 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17595 Date: Mon Dec 12 17:00:03 2011 +0100
17597 Fix sebp's name in NEWS
17600 1 file changed, 1 insertion(+), 1 deletion(-)
17602 commit 8c95981d0ba224a577f87998030c384b3dae3d80
17603 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17604 Date: Mon Dec 12 16:20:09 2011 +0100
17608 NEWS | 15 +++++++++++++++
17609 1 file changed, 15 insertions(+)
17611 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
17612 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17613 Date: Mon Dec 12 16:16:44 2011 +0100
17615 Pre-release version bump
17617 configure.ac | 2 +-
17618 1 file changed, 1 insertion(+), 1 deletion(-)
17620 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
17621 Author: Manuel Quiñones <manuq@laptop.org>
17622 Date: Thu Dec 1 11:50:38 2011 -0300
17624 Convert all modifier constants to Gdk.ModifierType
17626 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17628 pygi-convert.sh | 14 ++++++++++++++
17629 1 file changed, 14 insertions(+)
17631 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
17632 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17633 Date: Tue Nov 8 12:38:12 2011 +0100
17635 Convert all strings to utf-8 encoding when retrieving from TreeModel
17637 https://bugzilla.gnome.org/show_bug.cgi?id=663610
17639 gi/overrides/Gtk.py | 15 +++++++++++++++
17640 tests/compathelper.py | 2 ++
17641 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
17642 3 files changed, 47 insertions(+), 1 deletion(-)
17644 commit 4f637212f13b197a95c824967a58496b9e3b877c
17645 Author: John (J5) Palmieri <johnp@redhat.com>
17646 Date: Wed Nov 2 14:51:24 2011 -0400
17648 add test for bytearray variants
17650 tests/test_gi.py | 4 ++++
17651 1 file changed, 4 insertions(+)
17653 commit 20ca3f129d6cc662285cce8c732b55596016aefa
17654 Author: John (J5) Palmieri <johnp@redhat.com>
17655 Date: Wed Nov 2 14:50:42 2011 -0400
17657 handle NULL arrays correctly for each array type
17659 gi/pygi-marshal-to-py.c | 11 ++++++-----
17660 1 file changed, 6 insertions(+), 5 deletions(-)
17662 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
17663 Author: John (J5) Palmieri <johnp@redhat.com>
17664 Date: Wed Nov 2 14:17:21 2011 -0400
17666 Revert "Revert "Fix array termination and size calculation""
17668 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
17670 gi/pygi-marshal-from-py.c | 6 +++++-
17671 gi/pygi-marshal-to-py.c | 8 +++++++-
17672 2 files changed, 12 insertions(+), 2 deletions(-)
17674 commit 832f16f96815adc22cc3acbeb3fa969631795a29
17675 Author: Owen W. Taylor <otaylor@fishsoup.net>
17676 Date: Sun Oct 30 18:08:57 2011 -0400
17678 pygmainloop: avoid lockups if multiple glib.MainLoop exist
17680 If multiple glib.MainLoop() sources exist, then we will add multiple
17681 watches, and when python writes a byte to the wakeup pipe, all of the
17682 sources will try to read it; only one will succeed and the others
17683 will block. Set both ends of the pipe nonblocking to avoid this.
17685 https://bugzilla.gnome.org/show_bug.cgi?id=663068
17687 gi/_glib/pygmainloop.c | 5 ++++-
17688 1 file changed, 4 insertions(+), 1 deletion(-)
17690 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
17691 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17692 Date: Sat Oct 29 15:08:03 2011 +0200
17694 Properly chain up to the class that implements a given vfunc.
17696 https://bugzilla.gnome.org/show_bug.cgi?id=662994
17698 gi/types.py | 22 +++++++++++++---------
17699 tests/test_gi.py | 20 ++++++++++----------
17700 2 files changed, 23 insertions(+), 19 deletions(-)
17702 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
17703 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17704 Date: Wed Nov 2 14:54:21 2011 +0100
17706 Revert "Fix array termination and size calculation"
17708 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
17710 gi/pygi-marshal-from-py.c | 6 +-----
17711 gi/pygi-marshal-to-py.c | 8 +-------
17712 2 files changed, 2 insertions(+), 12 deletions(-)
17714 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
17715 Author: Holger Berndt <hb@gnome.org>
17716 Date: Sun Oct 30 16:36:32 2011 +0100
17718 Fix array termination and size calculation
17720 When creating an array of element type uint8 and setting it directly
17722 memcpy(), make sure that zero-termination is respected.
17724 When calculating the length of a zero-terminated array of type uint8,
17725 fall back to strlen() instead of g_strv_length().
17727 https://bugzilla.gnome.org/show_bug.cgi?id=662550
17729 gi/pygi-marshal-from-py.c | 6 +++++-
17730 gi/pygi-marshal-to-py.c | 8 +++++++-
17731 2 files changed, 12 insertions(+), 2 deletions(-)
17733 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
17734 Author: Daniel Drake <dsd@laptop.org>
17735 Date: Sun Oct 30 09:20:45 2011 +0000
17737 pygi-convert: fix for Pango.Alignment
17739 pygi-convert.sh | 1 +
17740 1 file changed, 1 insertion(+)
17742 commit e3abd76096cc9f335681c7225f452c286b9c59e2
17743 Author: Daniel Drake <dsd@laptop.org>
17744 Date: Sun Oct 30 07:06:57 2011 +0000
17746 pygi-convert: fix for Gtk.Orientation
17748 pygi-convert.sh | 1 +
17749 1 file changed, 1 insertion(+)
17751 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
17752 Author: Martin Pitt <martin.pitt@ubuntu.com>
17753 Date: Thu Oct 27 07:16:24 2011 +0200
17755 Add tests for calling closures
17757 Add checks for correct handling of closure calls.
17758 Regress.test_closure_one_arg() is working fine and should continue
17760 Regress.test_closure_variant() is known to not work yet, so mark
17762 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
17764 tests/test_everything.py | 24 ++++++++++++++++++++++++
17765 1 file changed, 24 insertions(+)
17767 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
17768 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
17769 Date: Tue Oct 4 12:28:26 2011 +0200
17771 fix marshaling of arrays of GVariants
17773 Add unit tests for marshaling of arrays of variants with all
17774 transfer modes. Requires latest gobject-introspection.
17776 Plug potential leaks of GArray data members
17778 Fix calling of wrong cleanup_from_py for arrays
17780 Simplify and fix logic for cleaning up arrays both in from_py()
17781 and to_py() code paths.
17783 https://bugzilla.gnome.org/show_bug.cgi?id=638915
17785 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17787 gi/pygi-cache.c | 2 +-
17788 gi/pygi-marshal-cleanup.c | 81
17789 ++++++++++++++++++++++++++++++-----------------
17790 gi/pygi-marshal-from-py.c | 10 ++++--
17791 gi/pygi-marshal-to-py.c | 13 ++++++--
17792 tests/test_gi.py | 14 +++++++-
17793 5 files changed, 85 insertions(+), 35 deletions(-)
17795 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
17796 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17797 Date: Sat Oct 22 00:20:57 2011 +0200
17802 1 file changed, 8 insertions(+)
17804 commit 5c24760b797e985721f7fe51d52252e4dd54a417
17805 Author: Martin Pitt <martin.pitt@ubuntu.com>
17806 Date: Fri Oct 21 17:31:41 2011 +0200
17808 Fix "Returns: (skip)" method calls without (out) arguments
17810 When we have a method call with a skipped return value, but no
17812 arguments, we previously returned NULL to Python, which causes
17814 error return without exception set". Return None instead.
17816 https://bugzilla.gnome.org/show_bug.cgi?id=662383
17818 gi/pygi-invoke.c | 10 ++++++++++
17819 tests/test_everything.py | 8 ++++++++
17820 2 files changed, 18 insertions(+)
17822 commit 585222915dc98b0e375de3db4771466278a32e81
17823 Author: John (J5) Palmieri <johnp@redhat.com>
17824 Date: Tue Oct 18 00:39:16 2011 -0400
17826 Do union member checks for unions that are parameters
17828 * before we were only doing checks if the union was an instance
17830 https://bugzilla.gnome.org/show_bug.cgi?id=661673
17832 gi/pygi-marshal-from-py.c | 121
17833 ++++++++++++++++++++++++++--------------------
17834 1 file changed, 68 insertions(+), 53 deletions(-)
17836 commit 8deaec6b9abd87f02060c9feec773d4693e89028
17837 Author: Martin Pitt <martin.pitt@ubuntu.com>
17838 Date: Wed Oct 19 14:35:11 2011 +0200
17840 Gdk overrides: Unbreak for Gdk-2.0
17842 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
17844 only do this for Gdk >= 3.0.
17846 https://launchpad.net/bugs/875399
17848 gi/overrides/Gdk.py | 95
17849 +++++++++++++++++++++++++++--------------------------
17850 1 file changed, 48 insertions(+), 47 deletions(-)
17852 commit f395fb131caf7ca550acd17138d8061926ef4f92
17853 Author: John (J5) Palmieri <johnp@redhat.com>
17854 Date: Fri Oct 14 17:19:45 2011 -0400
17856 unit test for checking ref count of object param in signals
17858 https://bugzilla.gnome.org/show_bug.cgi?id=661359
17860 tests/test_everything.py | 11 +++++++++++
17861 1 file changed, 11 insertions(+)
17863 commit 611f58b99851328653af4930f188c33eccaa9f6f
17864 Author: John (J5) Palmieri <johnp@redhat.com>
17865 Date: Fri Oct 14 16:42:32 2011 -0400
17867 when converting an object with transfer none, make sure the wrapper
17870 https://bugzilla.gnome.org/show_bug.cgi?id=661359
17872 gi/pygi-argument.c | 10 ++++++++++
17873 1 file changed, 10 insertions(+)
17875 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
17876 Author: Timo Vanwynsberghe <timovwb@gmail.com>
17877 Date: Tue Oct 4 11:13:43 2011 +0200
17879 Allow GBoxed types as property
17881 Add the GBoxed type as valid type to the gobject property helper
17882 https://bugzilla.gnome.org/show_bug.cgi?id=660798
17884 gi/_gobject/propertyhelper.py | 5 +++--
17885 1 file changed, 3 insertions(+), 2 deletions(-)
17887 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
17888 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17889 Date: Mon Oct 10 11:24:42 2011 +0200
17891 Add tests for boxed properties.
17893 tests/test_properties.py | 20 ++++++++++++++++++--
17894 1 file changed, 18 insertions(+), 2 deletions(-)
17896 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
17897 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17898 Date: Fri Sep 30 20:21:07 2011 +0200
17900 Post release bump version
17902 configure.ac | 2 +-
17903 1 file changed, 1 insertion(+), 1 deletion(-)
17905 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
17906 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17907 Date: Fri Sep 30 20:19:46 2011 +0200
17912 configure.ac | 2 +-
17913 2 files changed, 6 insertions(+), 1 deletion(-)
17915 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
17916 Author: John (J5) Palmieri <johnp@redhat.com>
17917 Date: Thu Sep 22 19:03:20 2011 -0400
17919 when checking instances union members are same type as parent
17921 * this is so we can support sending Gdk.Event members in place of
17922 the Event union into methods
17923 * we only support this if the union member has a type of GI_INTERFACE
17926 https://bugzilla.gnome.org/show_bug.cgi?id=659879
17928 gi/pygi-marshal-from-py.c | 60
17929 +++++++++++++++++++++++++++++++++++++++++++----
17930 1 file changed, 56 insertions(+), 4 deletions(-)
17932 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
17933 Author: John (J5) Palmieri <johnp@redhat.com>
17934 Date: Wed Sep 21 21:50:48 2011 -0400
17936 add a floating flag to pygobjects
17938 * this allows us to correctly refcount when custom gobjects are
17942 gi/_gobject/gobjectmodule.c | 5 +++++
17943 gi/_gobject/pygobject-private.h | 3 +++
17944 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
17945 gi/_gobject/pygobject.h | 3 ++-
17946 4 files changed, 36 insertions(+), 2 deletions(-)
17948 commit d2d29ae5845217254b9336fd8629f369cb119b25
17949 Author: John (J5) Palmieri <johnp@redhat.com>
17950 Date: Wed Sep 21 21:13:22 2011 -0400
17952 Revert "Fix refcount bug by not creating python wrapper during
17953 gobject init stage"
17955 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
17957 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
17958 1 file changed, 17 insertions(+), 15 deletions(-)
17960 commit a24c10b779f2a1b0425d56d03d59c393389cad98
17961 Author: John (J5) Palmieri <johnp@redhat.com>
17962 Date: Wed Sep 21 21:10:00 2011 -0400
17964 make sure to commit the NEWS file
17967 1 file changed, 4 insertions(+)
17969 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
17970 Author: John (J5) Palmieri <johnp@redhat.com>
17971 Date: Mon Sep 19 13:19:57 2011 -0400
17973 prep for 3.0 release
17975 configure.ac | 6 +++---
17976 1 file changed, 3 insertions(+), 3 deletions(-)
17978 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
17979 Author: John (J5) Palmieri <johnp@redhat.com>
17980 Date: Fri Sep 16 14:19:15 2011 -0400
17982 up version required of gobject-introspection to 1.29.0
17984 configure.ac | 2 +-
17985 1 file changed, 1 insertion(+), 1 deletion(-)
17987 commit 225f21117b6b3546989abe22538c784291e86b2a
17988 Author: John (J5) Palmieri <johnp@redhat.com>
17989 Date: Fri Sep 16 12:26:10 2011 -0400
17993 * remove some unused vars
17994 * correctly cast vars
17995 * handle deprecated enums in switch statments by using default:
17996 * unused wanrings still remain in some places
17998 gi/pygi-argument.c | 2 +-
17999 gi/pygi-cache.c | 7 ++-----
18000 gi/pygi-info.c | 6 ++++++
18001 gi/pygi-invoke.c | 2 +-
18002 gi/pygi-marshal-from-py.c | 17 +++++++++--------
18003 gi/pygi-marshal-to-py.c | 3 +--
18004 6 files changed, 20 insertions(+), 17 deletions(-)
18006 commit 9a70f01288e1b049206d25d67938907f1b38a490
18007 Author: John (J5) Palmieri <johnp@redhat.com>
18008 Date: Fri Sep 16 12:24:38 2011 -0400
18012 configure.ac | 2 +-
18013 1 file changed, 1 insertion(+), 1 deletion(-)
18015 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
18016 Author: John (J5) Palmieri <johnp@redhat.com>
18017 Date: Thu Sep 15 18:12:01 2011 -0400
18019 edit HACKING file to show correct tag format
18022 1 file changed, 1 insertion(+), 1 deletion(-)
18024 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
18025 Author: John (J5) Palmieri <johnp@redhat.com>
18026 Date: Thu Sep 15 18:10:33 2011 -0400
18028 update NEWS file to prep for release
18030 NEWS | 35 +++++++++++++++++++++++++++++++++++
18031 1 file changed, 35 insertions(+)
18033 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
18034 Author: John (J5) Palmieri <johnp@redhat.com>
18035 Date: Thu Sep 15 17:59:31 2011 -0400
18037 fix typo s/lenth/length
18039 gi/overrides/Gtk.py | 2 +-
18040 1 file changed, 1 insertion(+), 1 deletion(-)
18042 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
18043 Author: John (J5) Palmieri <johnp@redhat.com>
18044 Date: Thu Sep 15 17:48:58 2011 -0400
18046 fix typo in docstring
18048 gi/_gobject/propertyhelper.py | 2 +-
18049 1 file changed, 1 insertion(+), 1 deletion(-)
18051 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
18052 Author: John (J5) Palmieri <johnp@redhat.com>
18053 Date: Thu Sep 15 17:46:46 2011 -0400
18055 do not pass in len(str) to the length argument of
18056 gtk_test_buffer_insert* apis
18058 * in python 3 len(str) returns the number of characters while
18060 parameter is expecting the number of bytes. It also excepts -1
18062 terminated string. Since all of our strings are null terminated,
18064 set length to that.
18066 gi/overrides/Gtk.py | 6 ++----
18067 1 file changed, 2 insertions(+), 4 deletions(-)
18069 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
18070 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18071 Date: Mon Sep 12 21:07:20 2011 +0200
18073 Switch tarball compression format to tar.xz only.
18076 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
18077 for more information.
18079 https://bugzilla.gnome.org/show_bug.cgi?id=659140
18081 configure.ac | 2 +-
18082 1 file changed, 1 insertion(+), 1 deletion(-)
18084 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
18085 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18086 Date: Thu Sep 15 14:18:57 2011 +0200
18088 Remove pygtk_version attribute from internal gi._gobject module.
18090 This used to be provided for backwards compatibility with older PyGTK
18091 versions. As PyGObject3 no longer provides support for static bindings
18092 like PyGTK, the pygtk_version attribute has become obsolete.
18094 https://bugzilla.gnome.org/show_bug.cgi?id=659142
18096 gi/_gobject/gobjectmodule.c | 4 ----
18097 gi/_gobject/pygobject.h | 2 --
18098 2 files changed, 6 deletions(-)
18100 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
18101 Author: John (J5) Palmieri <johnp@redhat.com>
18102 Date: Thu Sep 15 15:52:18 2011 -0400
18104 remove overridesdir from the .pc file and add it to the gi module
18106 * having the variable in the .pc file caused issues parallel
18108 for different versions of python
18109 * putting it into the module allows us to give the correct directory
18110 based on which version of python you run the script from
18111 * access the var as such:
18113 installdir = gi._overridesdir
18115 gi/__init__.py | 2 ++
18116 pygobject-3.0.pc.in | 10 +++++++++-
18117 2 files changed, 11 insertions(+), 1 deletion(-)
18119 commit beea7072a5a989be47a755ac46647380d4dbd6b4
18120 Author: John (J5) Palmieri <johnp@redhat.com>
18121 Date: Thu Sep 15 00:11:09 2011 -0400
18123 fix tests to correctly construct a dummy Gtk.TargetEntry
18125 * structs are sometimes a pain in gi. Simply constructing them
18127 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
18129 but not correctly initialize the fields which can cause a crash.
18130 * tests didn't crash before because they were sending in bogus
18132 somehow did not trigger the issue
18133 * now with the C struct array marshallers doing the right thing,
18135 use of TargetEntry was causing a crash
18137 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18139 tests/test_overrides.py | 4 ++--
18140 1 file changed, 2 insertions(+), 2 deletions(-)
18142 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
18143 Author: John (J5) Palmieri <johnp@redhat.com>
18144 Date: Thu Sep 15 00:08:31 2011 -0400
18146 we now assume that C arrays of structs are flat so memcpy them
18149 * there is no way in GI to tell if a C array is flat or an array
18151 so we assume that all arrays of simple structs and gvalues are
18153 all arrays of objects and boxed structs are pointer arrays.
18154 * this will be removed once GI gets the ability to annotate level
18157 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18159 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
18160 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
18161 2 files changed, 61 insertions(+), 3 deletions(-)
18163 commit e30a41592baa942188574e5c9f99572963e2e387
18164 Author: John (J5) Palmieri <johnp@redhat.com>
18165 Date: Thu Sep 15 00:02:34 2011 -0400
18167 only update the arg counts once if child arg comes before parent arg
18169 * if the child arg comes before the parent arg we need to update the
18170 argument counts and take the child arg out of the marshalling lists
18171 since it is handled by the parent
18172 * when two parents reference the same child arg as is the case with
18173 two arrays which have a single length argument we only want
18176 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
18178 and only do the count update if this is set
18179 * APIs should keep in mind that this take extra processing so
18181 should really come after their parents
18183 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18185 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
18186 gi/pygi-cache.h | 9 +++++++--
18187 2 files changed, 27 insertions(+), 12 deletions(-)
18189 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
18190 Author: John (J5) Palmieri <johnp@redhat.com>
18191 Date: Wed Sep 14 20:26:15 2011 -0400
18193 Fix refcount bug by not creating python wrapper during gobject
18196 * This only applys to python subclasses of GObject which are
18199 * Because we were creating the wrapper when the gobject is
18201 and then again calling pygobject_new_full the wrapper would get
18203 * we could not simply Py_DECREF the wrapper due to the fact that
18204 non-subclassed objects (e.g. GObject.Object) instantiated via
18205 new do not run the same initialization code and would not have the
18207 * solution was to simply not create the wrapper during initialization
18208 because if it doesn't exist when pygobject_new_full is called
18209 it gets created and registered there
18210 * move the call to __init__ into pyg_object_new
18212 https://bugzilla.gnome.org/show_bug.cgi?id=657403
18214 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
18215 1 file changed, 15 insertions(+), 17 deletions(-)
18217 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
18218 Author: John (J5) Palmieri <johnp@redhat.com>
18219 Date: Tue Sep 13 18:08:04 2011 -0400
18221 don't destroy just created wrapper when object is created via
18224 https://bugzilla.gnome.org/show_bug.cgi?id=657403
18226 gi/_gobject/gobjectmodule.c | 2 +-
18227 1 file changed, 1 insertion(+), 1 deletion(-)
18229 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
18230 Author: Steve Frécinaux <code@istique.net>
18231 Date: Fri Aug 26 11:22:09 2011 +0200
18233 Remove deprecated API from pygobject.h
18235 https://bugzilla.gnome.org/show_bug.cgi?id=657416
18237 gi/_gobject/pygobject.h | 19 +------------------
18238 1 file changed, 1 insertion(+), 18 deletions(-)
18240 commit e1c71092af6e2cffa36248519adfceac1874051d
18241 Author: Marcin Owsiany <marcin@owsiany.pl>
18242 Date: Wed Aug 31 09:43:28 2011 +0100
18244 Convert gtk.TRUE/FALSE to Python True/False.
18246 https://bugzilla.gnome.org/show_bug.cgi?id=657785
18248 pygi-convert.sh | 2 ++
18249 1 file changed, 2 insertions(+)
18251 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
18252 Author: Steve Frécinaux <code@istique.net>
18253 Date: Fri Sep 2 08:37:15 2011 +0200
18255 Drop legacy __gobject_init__ method of GObject.Object.
18257 This method was used in gobject initialization at some point, but now
18258 using GObject.__init__() is sufficient, so let's not keep this old
18259 method around and let people misuse it.
18261 https://bugzilla.gnome.org/show_bug.cgi?id=658032
18263 examples/signal.py | 2 --
18264 gi/_gobject/pygobject.c | 11 -----------
18265 2 files changed, 13 deletions(-)
18267 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
18268 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18269 Date: Tue Sep 13 12:05:30 2011 +0200
18271 AM_CHECK_PYTHON_LIBS does not work for lib64
18273 But on Windows, Python extension modules need to be explicitly
18274 linked to libpython.
18276 https://bugzilla.gnome.org/show_bug.cgi?id=658856
18278 configure.ac | 4 +++-
18279 gi/Makefile.am | 9 ++++++---
18280 gi/_glib/Makefile.am | 10 ++++++++--
18281 gi/_gobject/Makefile.am | 8 +++++++-
18282 4 files changed, 24 insertions(+), 7 deletions(-)
18284 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
18285 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18286 Date: Mon Sep 12 23:03:05 2011 +0200
18288 Remove common_ldflags from Makefile.am as it is no longer used.
18290 https://bugzilla.gnome.org/show_bug.cgi?id=658856
18292 Makefile.am | 6 ------
18293 1 file changed, 6 deletions(-)
18295 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
18296 Author: John (J5) Palmieri <johnp@redhat.com>
18297 Date: Tue Sep 13 16:20:48 2011 -0400
18299 cast params for PyObject_IsInstance to suppress warnings
18301 gi/_gobject/pygobject-private.h | 4 ++--
18302 1 file changed, 2 insertions(+), 2 deletions(-)
18304 commit 861369ec59b17f67151813dc2e87c6e86126b954
18305 Author: John (J5) Palmieri <johnp@redhat.com>
18306 Date: Tue Sep 13 16:04:31 2011 -0400
18308 check if object is actually a PyGFlag before trying to access g_type
18310 * we are lucky this bit of code worked for as long as it did but when
18311 checking if an object is a PyGFlag we can't just rely on looking
18312 at the g_type field because if a regular gobject is passed in
18313 as is the case when you compare a long to a gflag, the gobject
18314 will not have a g_type field. Accessing a non-existant field
18315 could at best give you a false positive and at worse read
18316 memory beyond the bounds of the actual structure passed in
18318 gi/_gobject/pygobject-private.h | 4 ++--
18319 1 file changed, 2 insertions(+), 2 deletions(-)
18321 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
18322 Author: John (J5) Palmieri <johnp@redhat.com>
18323 Date: Tue Sep 13 16:03:02 2011 -0400
18325 fix regression - add instance type checks since Py3 no longer does
18328 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
18329 1 file changed, 19 insertions(+), 2 deletions(-)
18331 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
18332 Author: John (J5) Palmieri <johnp@redhat.com>
18333 Date: Fri Sep 2 18:39:51 2011 -0400
18335 refactor in/out marshalling to be to_py/from_py
18337 * in/out make sense from a C perspective but when you get to the
18338 python layers it makes more sense to label them as to_py and
18339 from_py to denote which way we are marshalling
18340 * this helps clear up the difference between callbacks which
18341 call into python and invoked functions which call into C
18342 * in the callback case we marshal in values to Python objects
18343 and out values to C types but in the invoke case we do the
18344 reverse. Dealing with to_py/from_py makes the code much more
18345 resuable and consistant
18347 https://bugzilla.gnome.org/show_bug.cgi?id=658362
18349 gi/Makefile.am | 8 +-
18350 gi/pygi-cache.c | 673 ++++++++++-----------
18351 gi/pygi-cache.h | 62 +-
18352 gi/pygi-invoke.c | 144 ++---
18353 gi/pygi-marshal-cleanup.c | 168 +++---
18354 gi/pygi-marshal-cleanup.h | 128 ++--
18355 gi/pygi-marshal-from-py.c | 1412
18356 +++++++++++++++++++++++++++++++++++++++++++++
18357 gi/pygi-marshal-from-py.h | 186 ++++++
18358 gi/pygi-marshal-in.c | 1412
18359 ---------------------------------------------
18360 gi/pygi-marshal-in.h | 186 ------
18361 gi/pygi-marshal-out.c | 768 ------------------------
18362 gi/pygi-marshal-out.h | 144 -----
18363 gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
18364 gi/pygi-marshal-to-py.h | 144 +++++
18365 14 files changed, 3122 insertions(+), 3081 deletions(-)
18367 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
18368 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18369 Date: Fri Sep 9 16:50:25 2011 +0200
18371 Examples: fix cairo-demo.py imports
18373 examples/cairo-demo.py | 6 +++---
18374 1 file changed, 3 insertions(+), 3 deletions(-)
18376 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
18377 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18378 Date: Fri Sep 9 15:08:27 2011 +0200
18380 Fix paths and add missing overridesdir variable used in uninstalled
18383 https://bugzilla.gnome.org/show_bug.cgi?id=658654
18385 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
18386 1 file changed, 7 insertions(+), 7 deletions(-)
18388 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
18389 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18390 Date: Fri Sep 9 15:08:04 2011 +0200
18392 Remove no longer used variables from pkgconfig files
18394 https://bugzilla.gnome.org/show_bug.cgi?id=658654
18396 pygobject-3.0-uninstalled.pc.in | 6 ------
18397 pygobject-3.0.pc.in | 5 +----
18398 2 files changed, 1 insertion(+), 10 deletions(-)
18400 commit 81d388780311311d8dc4a027a59d114edf9a00fc
18401 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18402 Date: Fri Sep 9 14:57:58 2011 +0200
18404 docs/Makefile.am and m4/python.m4: Python3 portability fixes
18406 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18408 docs/Makefile.am | 2 +-
18409 m4/python.m4 | 2 +-
18410 2 files changed, 2 insertions(+), 2 deletions(-)
18412 commit 7e692ee061406e48e4862b98a0829650b1d6d585
18413 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18414 Date: Fri Sep 9 14:57:46 2011 +0200
18416 Refactor and clean Makefile.am files
18418 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18421 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
18422 gi/_glib/Makefile.am | 100
18423 ++++++++++++++++++++++++++++++----------------
18424 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
18425 gi/overrides/Makefile.am | 4 +-
18426 gi/repository/Makefile.am | 4 +-
18427 6 files changed, 162 insertions(+), 114 deletions(-)
18429 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
18430 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18431 Date: Fri Sep 9 14:57:36 2011 +0200
18433 Remove all PLATFORM_VERSION = 2.0 traces
18435 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18437 gi/Makefile.am | 2 --
18438 gi/overrides/Makefile.am | 1 -
18439 gi/repository/Makefile.am | 1 -
18440 3 files changed, 4 deletions(-)
18442 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
18443 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18444 Date: Fri Sep 9 14:57:25 2011 +0200
18446 Remove gi/tests/ directory as all the tests now live in tests/
18448 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18450 gi/tests/Makefile.am | 24 ------------------------
18451 gi/tests/runtests.py | 21 ---------------------
18452 2 files changed, 45 deletions(-)
18454 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
18455 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18456 Date: Fri Sep 9 14:55:25 2011 +0200
18458 autogen.sh: Use autoreconf instead of a custom script and honor
18461 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18465 +++++++------------------------------------------------------
18466 2 files changed, 12 insertions(+), 85 deletions(-)
18468 commit 4671f5397003f376f00830e3fd1c214de594619f
18469 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18470 Date: Fri Sep 9 14:55:01 2011 +0200
18472 use improved python.m4 macros to search for Python headers and libs
18474 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18476 configure.ac | 3 ++-
18477 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
18478 2 files changed, 39 insertions(+), 11 deletions(-)
18480 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
18481 Author: Javier Jardón <jjardon@gnome.org>
18482 Date: Fri Sep 9 15:38:22 2011 +0100
18484 Make maintiner mode enabled by default
18487 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
18489 configure.ac | 2 +-
18490 1 file changed, 1 insertion(+), 1 deletion(-)
18492 commit b24dcb415406668931e02a1f669ef9861bb3a660
18493 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18494 Date: Wed Aug 24 09:58:10 2011 +0200
18496 Disable documentation for now since they are completely wrong for GI.
18498 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18501 configure.ac | 25 -------------------------
18502 2 files changed, 1 insertion(+), 26 deletions(-)
18504 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
18505 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18506 Date: Wed Sep 7 10:38:28 2011 +0200
18508 Fix documentation installation directory
18510 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18512 docs/Makefile.am | 5 +++--
18513 1 file changed, 3 insertions(+), 2 deletions(-)
18515 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
18516 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18517 Date: Tue Sep 6 22:22:11 2011 +0200
18519 Remove distutils based build system.
18521 The only reason this might be brought back to life again is when
18522 the whole stack can be built with Visual Studio (including
18523 gobject-introspection) again. Building with MinGW/MSYS can now
18524 be done with the usual autogen.sh/configure/make/make install dance.
18526 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18529 Makefile.am | 25 +--
18530 README.win32 | 21 --
18532 -----------------------------------------------
18533 pygobject_postinstall.py | 9 -
18534 setup.py | 351 --------------------------------
18535 6 files changed, 7 insertions(+), 915 deletions(-)
18537 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
18538 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18539 Date: Wed Sep 7 10:40:36 2011 +0200
18541 [gtk-demo] Fix syntax highlighter encoding issue
18543 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
18544 Python 2 however we get a str (not unicode). So with Python 2 the
18545 tokenizer returned bogus data when ran over a demo that contains real
18546 UTF-8 codepoints (like rotatedtext.py for example).
18548 This patch thus fixes the "Gtk-CRITICAL **:
18549 gtk_text_iter_set_line_offset:
18550 assertion `char_on_line <= chars_in_line` failed" assertions when
18552 the rotated text demo in the treeview.
18554 demos/gtk-demo/gtk-demo.py | 3 +++
18555 1 file changed, 3 insertions(+)
18557 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
18558 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18559 Date: Tue Sep 6 22:13:54 2011 +0200
18561 overrides: add constants for atoms
18563 gi/overrides/Gdk.py | 49
18564 +++++++++++++++++++++++++++++++++++++++++++++++++
18565 1 file changed, 49 insertions(+)
18567 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
18568 Author: Steve Frécinaux <code@istique.net>
18569 Date: Wed Aug 31 14:18:56 2011 +0200
18571 Drop pygobject_construct() from public API.
18573 These functions were introduced in 2005 because python objects
18575 "just" be instantiated using g_object_new(), but this is not true
18576 anymore since the introduction of new-style constructors. Hence
18578 has no reason to be there anymore.
18580 Nowadays, people who want to construct GObjects defined in python
18582 just use g_object_new().
18584 https://bugzilla.gnome.org/show_bug.cgi?id=657814
18586 gi/_gobject/gobjectmodule.c | 118
18587 +++++++++-------------------------------
18588 gi/_gobject/pygobject-private.h | 3 -
18589 gi/_gobject/pygobject.h | 8 ---
18590 3 files changed, 26 insertions(+), 103 deletions(-)
18592 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
18593 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18594 Date: Wed Aug 31 18:00:44 2011 +0200
18596 post release version bump
18598 configure.ac | 2 +-
18599 1 file changed, 1 insertion(+), 1 deletion(-)
18601 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
18602 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18603 Date: Wed Aug 31 17:58:37 2011 +0200
18607 NEWS | 12 ++++++++++++
18608 1 file changed, 12 insertions(+)
18610 commit 429569abddada5a3bad554de707ddf35b349936e
18611 Author: John (J5) Palmieri <johnp@redhat.com>
18612 Date: Thu Aug 25 13:57:53 2011 -0400
18614 support skip annotation for return values
18616 * this is used for things like skiping gboolean returns that are
18617 useful is C but useless in python
18619 * cleans up after skipped returns that are also marked transfer
18621 https://bugzilla.gnome.org/show_bug.cgi?id=650135
18623 gi/pygi-cache.c | 1 +
18624 gi/pygi-cache.h | 1 +
18625 gi/pygi-invoke.c | 48
18626 ++++++++++++++++++++++++++++++------------------
18627 tests/test_everything.py | 8 ++++++++
18628 4 files changed, 40 insertions(+), 18 deletions(-)
18630 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
18631 Author: Xavier Claessens <xclaesse@gmail.com>
18632 Date: Tue Aug 2 12:05:12 2011 +0200
18634 Test GPtrArray regression
18636 tests/test_everything.py | 3 +++
18637 1 file changed, 3 insertions(+)
18639 commit 42fc9fa437102c882844a0e70a081ab08de92658
18640 Author: Steve Frécinaux <code@istique.net>
18641 Date: Fri Aug 26 10:53:43 2011 +0200
18643 Drop support for old constructor style.
18645 Bindings don't write their own constructors anymore, and the old style
18646 has been deprecated for ages, so let's just drop them now and make
18649 https://bugzilla.gnome.org/show_bug.cgi?id=657413
18651 gi/_gobject/gobjectmodule.c | 20 --------------------
18652 gi/_gobject/pygobject-private.h | 1 -
18653 gi/_gobject/pygobject.c | 1 -
18654 gi/_gobject/pygobject.h | 2 --
18655 gi/gimodule.c | 28 ----------------------------
18657 tests/testhelpermodule.c | 5 -----
18658 7 files changed, 59 deletions(-)
18660 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
18661 Author: Steve Frécinaux <code@istique.net>
18662 Date: Fri Aug 26 10:45:59 2011 +0200
18664 Drop support for sink functions.
18666 Sink functions were meant to deal with floating references in a custom
18667 way. They are not useful anymore with the dynamic bindings.
18669 https://bugzilla.gnome.org/show_bug.cgi?id=642233
18671 gi/_gobject/gobjectmodule.c | 1 -
18672 gi/_gobject/pygobject.c | 53 ----------------------------------------
18673 gi/_gobject/pygobject.h | 4 ---
18674 tests/test-floating.c | 59
18675 +++++++--------------------------------------
18676 tests/test-floating.h | 42 +++++++++-----------------------
18677 tests/test_gobject.py | 13 +++-------
18678 tests/testhelpermodule.c | 32 +++++++-----------------
18679 7 files changed, 32 insertions(+), 172 deletions(-)
18681 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
18682 Author: Mike Gorse <mgorse@novell.com>
18683 Date: Wed Aug 24 17:30:09 2011 -0500
18685 Reinstate copying of in-line structs in arrays
18687 For arrays of in-line, non-boxed structures with (transfer full),
18688 _pygi_marshal_free_out_array eventually gets called and frees
18690 data, so we should copy it (IE, BGO#653588).
18692 https://bugzilla.gnome.org/show_bug.cgi?id=657120
18694 gi/pygi-marshal-out.c | 8 +++++++-
18695 1 file changed, 7 insertions(+), 1 deletion(-)
18697 commit f38511f251602e18551c04617cc2e2d42e812e1e
18698 Author: John (J5) Palmieri <johnp@redhat.com>
18699 Date: Tue Aug 23 14:18:43 2011 -0400
18701 fix inline struct array handling
18703 * we now assume any non-boxed structs are inline in an array since
18705 no way to check in GI and this is the most common use for an
18709 https://bugzilla.gnome.org/show_bug.cgi?id=657120
18711 gi/pygi-marshal-out.c | 23 +++++++++--------------
18712 tests/test_gi.py | 8 ++++++++
18713 2 files changed, 17 insertions(+), 14 deletions(-)
18715 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
18716 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18717 Date: Tue Aug 23 11:30:41 2011 +0200
18719 [gtk-demo] printing.py: set print and error dialog transient parent
18721 demos/gtk-demo/demos/printing.py | 8 ++++----
18722 1 file changed, 4 insertions(+), 4 deletions(-)
18724 commit 1aebc1565752840075027b9452fe2a67217bf53b
18725 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18726 Date: Tue Aug 23 11:28:05 2011 +0200
18728 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
18729 handle printing errors
18731 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
18732 1 file changed, 10 insertions(+), 4 deletions(-)
18734 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
18735 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18736 Date: Tue Aug 23 08:05:43 2011 +0200
18738 [gtk-demo] show "activated" demo's in italic font in the TreeView
18740 demos/gtk-demo/gtk-demo.py | 7 +++++--
18741 1 file changed, 5 insertions(+), 2 deletions(-)
18743 commit 971d063f7a36e13ef6621db7002b00af52f6292a
18744 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18745 Date: Mon Aug 22 14:52:28 2011 +0200
18747 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
18748 token, so simply remove it
18750 demos/gtk-demo/gtk-demo.py | 5 +----
18751 1 file changed, 1 insertion(+), 4 deletions(-)
18753 commit c2979a37d6d505095b6e55789150a6498d95819d
18754 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18755 Date: Mon Aug 22 14:22:18 2011 +0200
18757 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
18758 but Gtk.TextBuffer.insert expects a string.
18760 Fixed by using codes.open() as hinted in
18761 http://docs.python.org/dev/howto/pyporting.html#text-files
18762 section "If pre-2.6 compatibility is needed" (because configure.ac
18763 is still happy with Python 2.5.2).
18765 demos/gtk-demo/gtk-demo.py | 6 +++++-
18766 1 file changed, 5 insertions(+), 1 deletion(-)
18768 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
18769 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18770 Date: Mon Aug 22 12:30:24 2011 +0200
18772 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
18774 demos/gtk-demo/demos/images.py | 2 +-
18775 1 file changed, 1 insertion(+), 1 deletion(-)
18777 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
18778 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18779 Date: Mon Aug 22 10:38:04 2011 +0200
18781 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
18784 demos/gtk-demo/demos/printing.py | 4 ++--
18785 1 file changed, 2 insertions(+), 2 deletions(-)
18787 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
18788 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18789 Date: Mon Aug 22 10:37:08 2011 +0200
18791 [gtk-demo] printing.py: fix text file loading
18793 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
18794 1 file changed, 16 insertions(+), 16 deletions(-)
18796 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
18797 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18798 Date: Mon Aug 22 10:20:35 2011 +0200
18800 [gtk-demo] pixbuf.py: fix image loading
18802 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
18803 1 file changed, 11 insertions(+), 14 deletions(-)
18805 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
18806 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18807 Date: Mon Aug 22 10:10:02 2011 +0200
18809 [gtk-demo] images.py: fix logo loading
18811 demos/gtk-demo/demos/images.py | 70
18812 +++++++++++++++++-------------------------
18813 1 file changed, 29 insertions(+), 41 deletions(-)
18815 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
18816 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18817 Date: Wed Aug 24 12:19:21 2011 +0200
18819 [gtk-demo] appwindow.py: set AboutDialog parent
18821 demos/gtk-demo/demos/appwindow.py | 7 +++----
18822 1 file changed, 3 insertions(+), 4 deletions(-)
18824 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
18825 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18826 Date: Mon Aug 22 07:58:25 2011 +0200
18828 [gtk-demo] appwindow.py: fix logo loading
18830 demos/gtk-demo/demos/appwindow.py | 10 +++-------
18831 1 file changed, 3 insertions(+), 7 deletions(-)
18833 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
18834 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18835 Date: Mon Aug 22 07:57:31 2011 +0200
18837 [gtk-demo] appwindow.py: fix callback signatures
18839 demos/gtk-demo/demos/appwindow.py | 6 +++---
18840 1 file changed, 3 insertions(+), 3 deletions(-)
18842 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
18843 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18844 Date: Mon Aug 22 07:48:28 2011 +0200
18846 [gtk-demo] fix glib vs GLib usage
18848 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
18849 demos/gtk-demo/demos/appwindow.py | 2 +-
18850 2 files changed, 2 insertions(+), 2 deletions(-)
18852 commit d29cad6976a80862e1fc590d3e7d190e8a234866
18853 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18854 Date: Wed Aug 24 12:19:02 2011 +0200
18856 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
18857 caused by improved GDK overrides
18859 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
18860 1 file changed, 3 insertions(+), 3 deletions(-)
18862 commit f29d3a85a275a39e8481484779264b0dea1160ab
18863 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18864 Date: Mon Aug 22 07:25:32 2011 +0200
18866 [gtk-demo] optimize source colorizer by only preparing iters for
18867 known colorized tokens
18869 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
18870 1 file changed, 15 insertions(+), 5 deletions(-)
18872 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
18873 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18874 Date: Fri Aug 19 18:31:20 2011 +0200
18876 [gtk-demo] small formatting fixes
18878 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
18879 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
18880 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
18881 demos/gtk-demo/demos/assistant.py | 1 +
18882 demos/gtk-demo/demos/builder.py | 4 +++-
18883 demos/gtk-demo/demos/button_box.py | 1 +
18884 demos/gtk-demo/demos/clipboard.py | 1 +
18885 demos/gtk-demo/demos/colorselector.py | 1 +
18886 demos/gtk-demo/demos/combobox.py | 1 +
18887 demos/gtk-demo/demos/drawingarea.py | 4 +++-
18888 demos/gtk-demo/demos/test.py | 2 ++
18889 11 files changed, 19 insertions(+), 6 deletions(-)
18891 commit c42cb4da399ff5732f4ca732b85134de796a60fa
18892 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18893 Date: Fri Aug 19 18:30:50 2011 +0200
18895 [gtk-demo] remove "is_fully_bound" from demos
18897 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
18898 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
18899 demos/gtk-demo/demos/appwindow.py | 3 ---
18900 demos/gtk-demo/demos/assistant.py | 2 --
18901 demos/gtk-demo/demos/builder.py | 2 --
18902 demos/gtk-demo/demos/button_box.py | 2 --
18903 demos/gtk-demo/demos/clipboard.py | 2 --
18904 demos/gtk-demo/demos/colorselector.py | 2 --
18905 demos/gtk-demo/demos/combobox.py | 2 --
18906 demos/gtk-demo/demos/drawingarea.py | 2 --
18907 demos/gtk-demo/demos/test.py | 1 -
18908 11 files changed, 22 deletions(-)
18910 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
18911 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18912 Date: Fri Aug 19 18:26:31 2011 +0200
18914 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
18915 and GTK+'s gtk-demo code
18917 demos/gtk-demo/gtk-demo.py | 116
18918 +++++++++++++++++++++++++++++++++++++++------
18919 1 file changed, 101 insertions(+), 15 deletions(-)
18921 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
18922 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18923 Date: Fri Aug 19 15:08:15 2011 +0200
18925 [gtk-demo] remove C-isms
18927 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
18928 1 file changed, 14 insertions(+), 14 deletions(-)
18930 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
18931 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18932 Date: Fri Aug 19 14:54:39 2011 +0200
18934 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
18936 demos/gtk-demo/gtk-demo.py | 4 ++--
18937 1 file changed, 2 insertions(+), 2 deletions(-)
18939 commit 241827208e25c72a990d8edd95a3b879470d6409
18940 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18941 Date: Fri Aug 19 14:40:56 2011 +0200
18943 [gtk-demo] remove duplicate storage of demos by only storing them
18944 in a TreeStore subclass
18946 This also moves demos loading code into the TreeStore subclass and
18947 demo loading code into the Demo class
18949 demos/gtk-demo/gtk-demo.py | 151
18950 +++++++++++++++++++++------------------------
18951 1 file changed, 70 insertions(+), 81 deletions(-)
18953 commit 58797c355a08a35375988881a17958bb42ad54bb
18954 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18955 Date: Fri Aug 19 14:40:00 2011 +0200
18957 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
18958 to demonstrate the GLib.MainLoop
18960 demos/gtk-demo/gtk-demo.py | 43
18961 ++++++++++++++++++++++++++-----------------
18962 1 file changed, 26 insertions(+), 17 deletions(-)
18964 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
18965 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18966 Date: Fri Aug 19 11:46:17 2011 +0200
18968 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
18970 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
18971 1 file changed, 23 insertions(+), 16 deletions(-)
18973 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
18974 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18975 Date: Fri Aug 19 11:02:35 2011 +0200
18977 [gtk-demo] drawingarea: fix labels
18979 demos/gtk-demo/demos/drawingarea.py | 4 ++--
18980 1 file changed, 2 insertions(+), 2 deletions(-)
18982 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
18983 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18984 Date: Fri Aug 19 09:57:31 2011 +0200
18986 [gtk-demo] fix imports
18988 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
18989 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
18990 demos/gtk-demo/gtk-demo.py | 8 ++++----
18991 3 files changed, 14 insertions(+), 9 deletions(-)
18993 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
18994 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18995 Date: Fri Aug 19 10:07:14 2011 +0200
18997 [gtk-demo] fix shebang
18999 demos/gtk-demo/gtk-demo.py | 2 +-
19000 1 file changed, 1 insertion(+), 1 deletion(-)
19002 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
19003 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19004 Date: Fri Aug 19 12:27:04 2011 +0200
19006 Added support for __setitem__ to TreeModel and support for slices
19009 https://bugzilla.gnome.org/show_bug.cgi?id=656891
19011 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
19012 tests/test_overrides.py | 57
19013 +++++++++++++++++++++++++++++++++++++++++++++++++
19014 2 files changed, 81 insertions(+), 2 deletions(-)
19016 commit d6da96c65b2ed3cda238886990a624fbc31f6987
19017 Author: Olav Vitters <olav@vitters.nl>
19018 Date: Wed Aug 24 16:31:12 2011 +0200
19020 Convert ACCEL_* constants into Gtk.AccelFlags.
19022 pygi-convert.sh | 1 +
19023 1 file changed, 1 insertion(+)
19025 commit 0841d41698302abb5d987849a5874252564ed428
19026 Author: Olav Vitters <olav@vitters.nl>
19027 Date: Wed Aug 24 16:22:17 2011 +0200
19029 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
19031 pygi-convert.sh | 1 +
19032 1 file changed, 1 insertion(+)
19034 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
19035 Author: John (J5) Palmieri <johnp@redhat.com>
19036 Date: Thu Aug 18 14:06:32 2011 -0400
19038 post commit version bump
19040 configure.ac | 2 +-
19041 1 file changed, 1 insertion(+), 1 deletion(-)
19043 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
19044 Author: John (J5) Palmieri <johnp@redhat.com>
19045 Date: Thu Aug 18 14:02:30 2011 -0400
19049 NEWS | 10 ++++++++++
19050 1 file changed, 10 insertions(+)
19052 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
19053 Author: John (J5) Palmieri <johnp@redhat.com>
19054 Date: Thu Aug 18 13:50:51 2011 -0400
19056 remove tests that were removed from gi
19058 tests/test_gi.py | 11 -----------
19059 1 file changed, 11 deletions(-)
19061 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
19062 Author: John (J5) Palmieri <johnp@redhat.com>
19063 Date: Thu Aug 18 13:48:57 2011 -0400
19065 don't calculate item_size using is_pointer
19067 * is_pointer is poorly defined and cacluating item_size for
19068 arrays causes a crash in the tests because of this
19069 * disregaurd is_pointer when cacluating item sizes
19071 gi/pygi-info.c | 8 ++------
19072 1 file changed, 2 insertions(+), 6 deletions(-)
19074 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
19075 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19076 Date: Wed Jul 6 01:50:31 2011 +0200
19078 Updated signal example to use GObject introspection
19080 https://bugzilla.gnome.org/show_bug.cgi?id=654162
19082 examples/signal.py | 9 ++++-----
19083 1 file changed, 4 insertions(+), 5 deletions(-)
19085 commit 0332010e704e253380e993874eab9dd122e59a7e
19086 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19087 Date: Wed Jul 6 01:54:50 2011 +0200
19089 Updated properties example to use GObject introspection
19091 https://bugzilla.gnome.org/show_bug.cgi?id=654162
19093 examples/properties.py | 14 +++++++-------
19094 1 file changed, 7 insertions(+), 7 deletions(-)
19096 commit c39f4555ebd703651eca6f978ed9870655b737f0
19097 Author: Martin Pitt <martin.pitt@ubuntu.com>
19098 Date: Fri Aug 12 22:55:02 2011 +0200
19100 Add override for GLib.Variant.split_signature()
19102 This is useful for e. g. iterating over method parameters which are
19104 single Variant. In particular we will need it for automatically
19106 introspection XML for exported DBus server objects.
19108 gi/overrides/GLib.py | 50
19109 +++++++++++++++++++++++++++++++++++++++++++++++++
19110 tests/test_overrides.py | 22 ++++++++++++++++++++++
19111 2 files changed, 72 insertions(+)
19113 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
19114 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19115 Date: Mon Aug 15 18:58:31 2011 +0200
19117 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
19119 https://bugzilla.gnome.org/show_bug.cgi?id=654001
19121 pygi-convert.sh | 2 ++
19122 1 file changed, 2 insertions(+)
19124 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
19125 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19126 Date: Mon Aug 15 13:12:49 2011 +0200
19128 Install pygobject.h again.
19130 This is needed by libpeas.
19132 gi/_gobject/Makefile.am | 5 ++++-
19133 pygobject-3.0-uninstalled.pc.in | 4 ++--
19134 pygobject-3.0.pc.in | 6 +++---
19135 3 files changed, 9 insertions(+), 6 deletions(-)
19137 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
19138 Author: John (J5) Palmieri <johnp@redhat.com>
19139 Date: Sun Aug 14 11:20:15 2011 -0400
19141 update the doap file
19143 pygobject.doap | 26 ++++++++++++++------------
19144 1 file changed, 14 insertions(+), 12 deletions(-)
19146 commit 762a36d2343bc39a502507d600fd1b9db9649dae
19147 Author: John (J5) Palmieri <johnp@redhat.com>
19148 Date: Sun Aug 14 11:13:25 2011 -0400
19152 configure.ac | 2 +-
19153 1 file changed, 1 insertion(+), 1 deletion(-)
19155 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
19156 Author: John (J5) Palmieri <johnp@redhat.com>
19157 Date: Sun Aug 14 10:13:37 2011 -0400
19159 get things ready for release
19162 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19163 1 file changed, 194 insertions(+)
19165 commit ffd057649380d4249c1c52e1225e3646f3994bc6
19166 Author: John (J5) Palmieri <johnp@redhat.com>
19167 Date: Sun Aug 14 05:26:18 2011 -0400
19169 pass exta keywords to the Box constructor
19171 gi/overrides/Gtk.py | 4 ++--
19172 1 file changed, 2 insertions(+), 2 deletions(-)
19174 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
19175 Author: John (J5) Palmieri <johnp@redhat.com>
19176 Date: Sat Aug 13 11:03:07 2011 -0400
19178 add (Tree|List)Store set method override
19180 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
19181 tests/test_overrides.py | 102
19182 ++++++++++++++++++++++++++++++++++++++++++++++--
19183 2 files changed, 149 insertions(+), 3 deletions(-)
19185 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
19186 Author: John (J5) Palmieri <johnp@redhat.com>
19187 Date: Sat Aug 13 09:19:29 2011 -0400
19189 add test for object arrays
19191 tests/test_everything.py | 6 ++++++
19192 1 file changed, 6 insertions(+)
19194 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
19195 Author: John (J5) Palmieri <johnp@redhat.com>
19196 Date: Sat Aug 13 08:46:18 2011 -0400
19198 only support C pointer arrays for structs and objects
19200 * There is no way to know if an array of structs or objects are
19202 or flat arrays. Since pointer arrays are the most useful and
19204 it has been decided to only support those arrays
19206 gi/pygi-marshal-out.c | 2 +-
19207 tests/test_gi.py | 8 --------
19208 2 files changed, 1 insertion(+), 9 deletions(-)
19210 commit b12379de1790b72d51883bf7b63c892639a892e7
19211 Author: John (J5) Palmieri <johnp@redhat.com>
19212 Date: Sat Aug 13 06:31:52 2011 -0400
19214 revert Gtk.Window override because it causes issues with subclasses
19216 gi/overrides/Gtk.py | 9 ---------
19217 1 file changed, 9 deletions(-)
19219 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
19220 Author: Jonathan Matthew <jonathan@d14n.org>
19221 Date: Thu Apr 7 21:05:32 2011 +1000
19223 take GIL in _pygi_invoke_closure_free (bug #647016)
19225 gi/pygi-closure.c | 3 +++
19226 1 file changed, 3 insertions(+)
19228 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
19229 Author: Johan Dahlin <jdahlin@litl.com>
19230 Date: Mon Jun 27 00:41:24 2011 -0300
19232 Add a default parameter to GtkTreeModel.filter_new
19234 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19236 gi/overrides/Gtk.py | 3 +++
19237 1 file changed, 3 insertions(+)
19239 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
19240 Author: Johan Dahlin <jdahlin@litl.com>
19241 Date: Mon Jun 27 00:40:12 2011 -0300
19243 Add vbox/action_area properties
19245 Accessing vbox/action_area directly creates segmentation fault,
19246 avoid that by mapping the fields to their getters for PyGTK
19249 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19251 gi/overrides/Gtk.py | 3 +++
19252 1 file changed, 3 insertions(+)
19254 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
19255 Author: Johan Dahlin <jdahlin@litl.com>
19256 Date: Mon Jun 27 00:39:41 2011 -0300
19258 Add a couple of constructors
19260 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
19263 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19265 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
19266 1 file changed, 40 insertions(+)
19268 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
19269 Author: Johan Dahlin <jdahlin@litl.com>
19270 Date: Mon Jun 27 00:38:30 2011 -0300
19272 Do not always pass in user_data to callbacks.
19274 This keeps API compatibility with PyGTK and avoids sending
19275 in user_data if it's None.
19277 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19279 gi/overrides/Gtk.py | 15 ++++++++++++---
19280 1 file changed, 12 insertions(+), 3 deletions(-)
19282 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
19283 Author: Johan Dahlin <jdahlin@litl.com>
19284 Date: Mon Jun 27 00:38:20 2011 -0300
19286 Add a default detail value for Widget.render_icon
19288 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19290 gi/overrides/Gtk.py | 3 +++
19291 1 file changed, 3 insertions(+)
19293 commit 5b1c875269b7979caae97e84919a690a34d92f29
19294 Author: Johan Dahlin <jdahlin@litl.com>
19295 Date: Mon Jun 27 00:36:20 2011 -0300
19297 Add an override for Gdk.color_parse()
19299 Change Gdk.color_parse() to not return a tuple, instead just
19300 return the created color or None if it wasn't possible to parse
19301 the name into a color.
19303 This keeps compatibility with PyGTK but breaks the current API.
19305 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19307 gi/overrides/Gdk.py | 8 ++++++++
19308 1 file changed, 8 insertions(+)
19310 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
19311 Author: Laszlo Pandy <lpandy@src.gnome.org>
19312 Date: Mon Aug 8 12:06:18 2011 +0200
19314 Support function calling with keyword arguments in invoke.
19316 https://bugzilla.gnome.org/show_bug.cgi?id=625596
19318 gi/pygi-cache.c | 39 ++++++++++++
19319 gi/pygi-cache.h | 4 ++
19320 gi/pygi-invoke.c | 162
19321 +++++++++++++++++++++++++++++++++++++++++++++--
19322 gi/types.py | 12 ++--
19323 tests/test_everything.py | 2 +-
19324 tests/test_gi.py | 58 +++++++++++++++++
19325 6 files changed, 265 insertions(+), 12 deletions(-)
19327 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
19328 Author: John (J5) Palmieri <johnp@redhat.com>
19329 Date: Sat Aug 13 04:13:28 2011 -0400
19331 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
19333 gi/pygi-info.c | 5 -----
19334 1 file changed, 5 deletions(-)
19336 commit 745001178fc72be5626c7211366d694f41162987
19337 Author: Martin Pitt <martin.pitt@ubuntu.com>
19338 Date: Thu Aug 11 15:11:42 2011 +0200
19340 Fix gobject vs. gi.repository warning
19342 Check the warning earlier and fix the operator, so that it actually
19344 update the warning to explain how to fix the problem.
19346 gi/_gobject/__init__.py | 8 ++++----
19347 1 file changed, 4 insertions(+), 4 deletions(-)
19349 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
19350 Author: John (J5) Palmieri <johnp@redhat.com>
19351 Date: Fri Jul 22 15:46:31 2011 -0400
19353 make GObject and GLib able to take overrides
19355 * derive directly from DynamicModule instead of InterfaceModule
19357 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19359 gi/importer.py | 11 +++---
19361 ++++++++++++++++++++++++++++-----------------------------
19362 2 files changed, 64 insertions(+), 65 deletions(-)
19364 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
19365 Author: John (J5) Palmieri <johnp@redhat.com>
19366 Date: Fri Jul 22 15:45:09 2011 -0400
19368 avoid dependency issue by importing the internal gobject
19370 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19372 gi/__init__.py | 2 +-
19373 1 file changed, 1 insertion(+), 1 deletion(-)
19375 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
19376 Author: John (J5) Palmieri <johnp@redhat.com>
19377 Date: Fri Jul 22 14:13:02 2011 -0400
19379 fix tests to use the new GLib module
19381 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19383 tests/test_mainloop.py | 7 +++----
19384 tests/test_option.py | 3 ++-
19385 tests/test_source.py | 24 +++++++++++-------------
19386 tests/test_subprocess.py | 12 +++++-------
19387 tests/test_thread.py | 10 ++++------
19388 tests/test_uris.py | 4 ++--
19389 6 files changed, 27 insertions(+), 33 deletions(-)
19391 commit 191ef79315f8a5641699536fde58da18e23ef904
19392 Author: John (J5) Palmieri <johnp@redhat.com>
19393 Date: Fri Jul 22 14:11:53 2011 -0400
19395 add DynamicGLibModule which works like DynamicGObjectModule
19397 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19399 gi/importer.py | 7 +++++--
19400 gi/module.py | 32 +++++++++++++++++++++++++++++---
19401 2 files changed, 34 insertions(+), 5 deletions(-)
19403 commit fbd4a8263260c187211799454c08b1e55e2cb998
19404 Author: John (J5) Palmieri <johnp@redhat.com>
19405 Date: Fri Jul 22 12:27:41 2011 -0400
19407 refactor, add objects and types to the correct internal module
19409 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19411 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
19412 gi/_glib/pygmaincontext.c | 2 +-
19413 gi/_glib/pygmainloop.c | 4 ++--
19414 gi/_glib/pygoptioncontext.c | 4 ++--
19415 gi/_glib/pygoptiongroup.c | 4 ++--
19416 gi/_glib/pygsource.c | 14 +++++++-------
19417 gi/_glib/pygspawn.c | 14 +++++++-------
19418 7 files changed, 40 insertions(+), 40 deletions(-)
19420 commit 7431b49a161df9178c55b814d3adff992ac2d722
19421 Author: John (J5) Palmieri <johnp@redhat.com>
19422 Date: Fri Jul 22 12:26:32 2011 -0400
19424 rename the pyglib shared library so we don't load the old one
19426 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19428 gi/Makefile.am | 2 +-
19429 gi/_glib/Makefile.am | 10 +++++-----
19430 gi/_gobject/Makefile.am | 2 +-
19431 3 files changed, 7 insertions(+), 7 deletions(-)
19433 commit b8700451acd4a19b59b64fc8641fca748d2189e2
19434 Author: John (J5) Palmieri <johnp@redhat.com>
19435 Date: Fri Jul 22 11:20:09 2011 -0400
19437 refactor tests to only use PyGObject 3 syntax
19439 * for PyGObject 3 we want to discourage the use of legacy
19441 * Using interfaces like from gi.repository import GObject makes
19442 sure that the internal _gobject module is loaded and not
19443 PyGObject 2's gobject module which would cause the application
19444 to not work correctly
19446 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19448 tests/runtests-windows.py | 4 +-
19449 tests/test_gdbus.py | 12 ++---
19450 tests/test_gi.py | 4 +-
19451 tests/test_gobject.py | 31 ++++++------
19452 tests/test_interface.py | 16 +++---
19453 tests/test_mainloop.py | 3 +-
19454 tests/test_overrides.py | 8 +--
19455 tests/test_properties.py | 124
19456 +++++++++++++++++++++++-----------------------
19457 tests/test_signal.py | 98 ++++++++++++++++++------------------
19458 tests/test_source.py | 5 +-
19459 tests/test_subprocess.py | 3 +-
19460 tests/test_thread.py | 5 +-
19461 tests/test_unknown.py | 8 +--
19462 tests/testhelpermodule.c | 2 +-
19463 tests/testmodule.py | 10 ++--
19464 15 files changed, 169 insertions(+), 164 deletions(-)
19466 commit c980dae21468fe073cc8782608148c346bb90ad7
19467 Author: John (J5) Palmieri <johnp@redhat.com>
19468 Date: Fri Jul 22 11:16:00 2011 -0400
19470 refactor the internal _glib module to import correct modules
19472 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19474 gi/_glib/__init__.py | 3 ++-
19475 gi/_glib/glibmodule.c | 10 +++++-----
19476 gi/_glib/option.py | 4 ++--
19477 gi/_glib/pyglib.c | 18 +++++++++---------
19478 4 files changed, 18 insertions(+), 17 deletions(-)
19480 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
19481 Author: John (J5) Palmieri <johnp@redhat.com>
19482 Date: Fri Jul 22 11:10:46 2011 -0400
19484 refactor to use the new internal _glib and _gobject modules
19486 * use relative imports instead of aboslute
19487 * fix the C imports to import the internal _gobject libs
19488 * add a check to see if the PyGObject 2 gobject module
19489 was already imported
19491 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19493 gi/_gobject/__init__.py | 20 +++++++++++++-------
19494 gi/_gobject/constants.py | 3 +--
19495 gi/_gobject/gobjectmodule.c | 2 +-
19496 gi/_gobject/propertyhelper.py | 11 +++++------
19497 gi/_gobject/pygobject.c | 16 ++++++++--------
19498 gi/_gobject/pygobject.h | 2 +-
19499 6 files changed, 29 insertions(+), 25 deletions(-)
19501 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
19502 Author: John (J5) Palmieri <johnp@redhat.com>
19503 Date: Fri Jul 22 11:07:10 2011 -0400
19505 refactor gi module to import and use internal _gobject module
19507 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19509 gi/importer.py | 2 --
19510 gi/module.py | 31 ++++++++++++++++---------------
19511 gi/overrides/Gtk.py | 2 +-
19512 gi/overrides/__init__.py | 6 +++---
19513 gi/pygobject-external.h | 2 +-
19514 gi/types.py | 12 ++++++------
19515 6 files changed, 27 insertions(+), 28 deletions(-)
19517 commit 6b9d738d78c6ac45d49f00402c89356887555069
19518 Author: John (J5) Palmieri <johnp@redhat.com>
19519 Date: Fri Jul 22 11:02:49 2011 -0400
19521 move the static bits internal to gi and refactor build files
19523 * the glib module now becomes the gi._glib module
19524 * the gobject module now becomes the gi._gobject module
19525 * we do this so we can install in parallel with PyGObject 2
19527 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19530 configure.ac | 6 +-
19531 gi/Makefile.am | 8 +-
19532 gi/_glib/Makefile.am | 58 +
19533 gi/_glib/__init__.py | 25 +
19534 gi/_glib/glibmodule.c | 969 ++++++++++++++
19535 gi/_glib/option.py | 358 ++++++
19536 gi/_glib/pygiochannel.c | 764 ++++++++++++
19537 gi/_glib/pygiochannel.h | 29 +
19538 gi/_glib/pyglib-private.h | 49 +
19539 gi/_glib/pyglib-python-compat.h | 245 ++++
19540 gi/_glib/pyglib.c | 633 ++++++++++
19541 gi/_glib/pyglib.h | 83 ++
19542 gi/_glib/pygmaincontext.c | 126 ++
19543 gi/_glib/pygmaincontext.h | 40 +
19544 gi/_glib/pygmainloop.c | 360 ++++++
19545 gi/_glib/pygmainloop.h | 36 +
19546 gi/_glib/pygoptioncontext.c | 337 +++++
19547 gi/_glib/pygoptioncontext.h | 39 +
19548 gi/_glib/pygoptiongroup.c | 298 +++++
19549 gi/_glib/pygoptiongroup.h | 42 +
19550 gi/_glib/pygsource.c | 725 +++++++++++
19551 gi/_glib/pygsource.h | 39 +
19552 gi/_glib/pygspawn.c | 264 ++++
19553 gi/_glib/pygspawn.h | 32 +
19554 gi/_gobject/Makefile.am | 71 ++
19555 gi/_gobject/__init__.py | 117 ++
19556 gi/_gobject/constants.py | 83 ++
19557 gi/_gobject/ffi-marshaller.c | 194 +++
19558 gi/_gobject/ffi-marshaller.h | 31 +
19559 gi/_gobject/gobjectmodule.c | 2638
19560 +++++++++++++++++++++++++++++++++++++++
19561 gi/_gobject/propertyhelper.py | 312 +++++
19562 gi/_gobject/pygboxed.c | 234 ++++
19563 gi/_gobject/pygboxed.h | 27 +
19564 gi/_gobject/pygenum.c | 366 ++++++
19565 gi/_gobject/pygenum.h | 27 +
19566 gi/_gobject/pygflags.c | 485 +++++++
19567 gi/_gobject/pygflags.h | 27 +
19568 gi/_gobject/pyginterface.c | 122 ++
19569 gi/_gobject/pyginterface.h | 40 +
19570 gi/_gobject/pygobject-private.h | 241 ++++
19571 gi/_gobject/pygobject.c | 2397
19572 +++++++++++++++++++++++++++++++++++
19573 gi/_gobject/pygobject.h | 667 ++++++++++
19574 gi/_gobject/pygparamspec.c | 404 ++++++
19575 gi/_gobject/pygparamspec.h | 31 +
19576 gi/_gobject/pygpointer.c | 198 +++
19577 gi/_gobject/pygpointer.h | 27 +
19578 gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
19579 gi/_gobject/pygtype.h | 28 +
19580 glib/Makefile.am | 61 -
19581 glib/__init__.py | 25 -
19582 glib/glibmodule.c | 969 --------------
19583 glib/option.py | 358 ------
19584 glib/pygiochannel.c | 764 ------------
19585 glib/pygiochannel.h | 29 -
19586 glib/pyglib-private.h | 49 -
19587 glib/pyglib-python-compat.h | 245 ----
19588 glib/pyglib.c | 633 ----------
19589 glib/pyglib.h | 83 --
19590 glib/pygmaincontext.c | 126 --
19591 glib/pygmaincontext.h | 40 -
19592 glib/pygmainloop.c | 360 ------
19593 glib/pygmainloop.h | 36 -
19594 glib/pygoptioncontext.c | 337 -----
19595 glib/pygoptioncontext.h | 39 -
19596 glib/pygoptiongroup.c | 298 -----
19597 glib/pygoptiongroup.h | 42 -
19598 glib/pygsource.c | 725 -----------
19599 glib/pygsource.h | 39 -
19600 glib/pygspawn.c | 264 ----
19601 glib/pygspawn.h | 32 -
19602 gobject/Makefile.am | 73 --
19603 gobject/__init__.py | 117 --
19604 gobject/constants.py | 83 --
19605 gobject/ffi-marshaller.c | 194 ---
19606 gobject/ffi-marshaller.h | 31 -
19607 gobject/gobjectmodule.c | 2638
19608 ---------------------------------------
19609 gobject/propertyhelper.py | 312 -----
19610 gobject/pygboxed.c | 234 ----
19611 gobject/pygboxed.h | 27 -
19612 gobject/pygenum.c | 366 ------
19613 gobject/pygenum.h | 27 -
19614 gobject/pygflags.c | 485 -------
19615 gobject/pygflags.h | 27 -
19616 gobject/pyginterface.c | 122 --
19617 gobject/pyginterface.h | 40 -
19618 gobject/pygobject-private.h | 241 ----
19619 gobject/pygobject.c | 2397
19620 -----------------------------------
19621 gobject/pygobject.h | 667 ----------
19622 gobject/pygparamspec.c | 404 ------
19623 gobject/pygparamspec.h | 31 -
19624 gobject/pygpointer.c | 198 ---
19625 gobject/pygpointer.h | 27 -
19626 gobject/pygtype.c | 1844 ---------------------------
19627 gobject/pygtype.h | 28 -
19628 tests/Makefile.am | 2 +-
19629 96 files changed, 16172 insertions(+), 16175 deletions(-)
19631 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
19632 Author: John (J5) Palmieri <johnp@redhat.com>
19633 Date: Mon Jul 18 18:46:31 2011 -0400
19637 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19639 Makefile.am | 5 ----
19641 -------------------------------------------------------------
19642 2 files changed, 100 deletions(-)
19644 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
19645 Author: John (J5) Palmieri <johnp@redhat.com>
19646 Date: Mon Jul 18 18:41:41 2011 -0400
19648 introspection is no longer optional
19650 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19652 Makefile.am | 8 +-------
19653 configure.ac | 43 +++++++++++++++++--------------------------
19654 gi/pygi.h | 37 -------------------------------------
19655 gobject/Makefile.am | 5 +----
19656 tests/Makefile.am | 7 +------
19657 5 files changed, 20 insertions(+), 80 deletions(-)
19659 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
19660 Author: John (J5) Palmieri <johnp@redhat.com>
19661 Date: Mon Jul 18 18:28:50 2011 -0400
19663 up platform version to 3.0
19665 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19668 configure.ac | 4 ++--
19669 pygobject-2.0-uninstalled.pc.in | 18 ------------------
19670 pygobject-2.0.pc.in | 22 ----------------------
19671 pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
19672 pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
19673 6 files changed, 43 insertions(+), 43 deletions(-)
19675 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
19676 Author: Martin Pitt <martin.pitt@ubuntu.com>
19677 Date: Thu Aug 11 09:53:15 2011 +0200
19679 [gi] Handle GVariants from callback return values
19681 Callbacks still use GIArgument, add missing GVariant support for
19684 gi/pygi-argument.c | 6 ++++--
19685 1 file changed, 4 insertions(+), 2 deletions(-)
19687 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
19688 Author: Martin Pitt <martin.pitt@ubuntu.com>
19689 Date: Wed Aug 10 14:11:10 2011 +0200
19691 Handle GVariants for callback arguments
19693 Callbacks still use GIArgument, add missing GVariant support. This
19695 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
19697 gi/pygi-argument.c | 7 +++++++
19698 1 file changed, 7 insertions(+)
19700 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
19701 Author: Laszlo Pandy <lpandy@src.gnome.org>
19702 Date: Mon Aug 8 01:58:10 2011 +0200
19704 [gi] Fix crash: check return value of
19705 _invoke_state_init_from_callable_cache() before continuing.
19707 gi/pygi-invoke.c | 4 +++-
19708 1 file changed, 3 insertions(+), 1 deletion(-)
19710 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
19711 Author: Laszlo Pandy <lpandy@src.gnome.org>
19712 Date: Fri Aug 5 21:03:33 2011 +0200
19714 [gi] Pass gtype as first parameter to vfuncs (instead of using
19717 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
19719 2 files changed, 19 insertions(+), 15 deletions(-)
19721 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
19722 Author: John (J5) Palmieri <johnp@redhat.com>
19723 Date: Mon Jul 18 18:21:51 2011 -0400
19728 codegen/Makefile.am | 33 -
19729 codegen/README.defs | 351 --------
19730 codegen/__init__.py | 16 -
19731 codegen/argtypes.py | 1043 -----------------------
19732 codegen/code-coverage.py | 44 -
19733 codegen/codegen.py | 1722
19734 --------------------------------------
19735 codegen/createdefs.py | 17 -
19736 codegen/definitions.py | 575 -------------
19737 codegen/defsconvert.py | 132 ---
19738 codegen/defsgen.py | 737 ----------------
19739 codegen/defsparser.py | 153 ----
19740 codegen/docextract.py | 461 ----------
19741 codegen/docextract_to_xml.py | 142 ----
19742 codegen/docgen.py | 766 -----------------
19743 codegen/h2def.py | 631 --------------
19744 codegen/mergedefs.py | 26 -
19745 codegen/missingdefs.py | 17 -
19746 codegen/mkskel.py | 89 --
19747 codegen/override.py | 285 -------
19748 codegen/pygobject-codegen-2.0.in | 11 -
19749 codegen/reversewrapper.py | 912 --------------------
19750 codegen/scanvirtuals.py | 54 --
19751 codegen/scmexpr.py | 143 ----
19753 pygobject-2.0-uninstalled.pc.in | 1 -
19754 pygobject-2.0.pc.in | 1 -
19755 27 files changed, 1 insertion(+), 8368 deletions(-)
19757 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
19758 Author: John (J5) Palmieri <johnp@redhat.com>
19759 Date: Mon Jul 18 11:04:58 2011 -0400
19761 remove some left over ifdefs to complete merge of the invoke-rewrite
19764 gi/pygi-cache.h | 2 --
19765 gi/pygi-info.c | 2 --
19766 gi/pygi-private.h | 5 +----
19768 4 files changed, 1 insertion(+), 10 deletions(-)
19770 commit 8c653ec3033fab47c4bb4071b5732a349357141f
19771 Author: John (J5) Palmieri <johnp@redhat.com>
19772 Date: Mon Jul 18 10:59:45 2011 -0400
19774 rename pygi-invoke-ng to pygi-invoke
19776 gi/Makefile.am | 3 +-
19777 gi/pygi-invoke-ng.c | 464
19778 ----------------------------------------------------
19779 gi/pygi-invoke.c | 464
19780 ++++++++++++++++++++++++++++++++++++++++++++++++++++
19781 3 files changed, 466 insertions(+), 465 deletions(-)
19783 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
19784 Author: John (J5) Palmieri <johnp@redhat.com>
19785 Date: Mon Jul 18 10:56:36 2011 -0400
19787 make invoke-ng the only invoker
19789 configure.ac | 11 -
19790 gi/Makefile.am | 10 +-
19791 gi/pygi-invoke.c | 1030
19792 ------------------------------------------------------
19793 3 files changed, 1 insertion(+), 1050 deletions(-)
19795 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
19796 Merge: 519e556 917ea2d
19797 Author: John (J5) Palmieri <johnp@redhat.com>
19798 Date: Mon Jul 18 10:45:18 2011 -0400
19800 Merge branch 'master' into invoke-rewrite
19802 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
19803 Merge: bab7e88 38cca3c
19804 Author: John (J5) Palmieri <johnp@redhat.com>
19805 Date: Mon Jul 18 10:37:20 2011 -0400
19807 Merge branch 'master' into invoke-rewrite
19809 commit bab7e88251bffcd360186c6dedc26be8eb077084
19810 Author: John (J5) Palmieri <johnp@redhat.com>
19811 Date: Mon Jul 18 10:35:10 2011 -0400
19813 split the marshalling routines into two source files
19815 * update copy and paste copyright info to list the correct owner
19817 gi/Makefile.am | 6 +-
19818 gi/pygi-cache.c | 3 +-
19819 gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
19820 gi/pygi-marshal-in.h | 186 +++++
19821 gi/pygi-marshal-out.c | 767 ++++++++++++++++++
19822 gi/pygi-marshal-out.h | 144 ++++
19823 gi/pygi-marshal.c | 2145
19824 -------------------------------------------------
19825 gi/pygi-marshal.h | 303 -------
19826 8 files changed, 2515 insertions(+), 2451 deletions(-)
19828 commit 917ea2dfa2d097e563233145003a66b3e4423287
19829 Author: Martin Pitt <martin.pitt@ubuntu.com>
19830 Date: Thu Jul 14 11:21:10 2011 +0200
19832 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
19834 tests/Makefile.am | 1 +
19835 1 file changed, 1 insertion(+)
19837 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
19838 Author: John (J5) Palmieri <johnp@redhat.com>
19839 Date: Wed Jul 13 15:43:02 2011 -0400
19841 [invoke] break out caller_allocates allocating into its own function
19843 gi/pygi-invoke-ng.c | 78
19844 +++++++++++++++++++++++++++++++++--------------------
19845 1 file changed, 49 insertions(+), 29 deletions(-)
19847 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
19848 Author: John (J5) Palmieri <johnp@redhat.com>
19849 Date: Wed Jul 13 15:42:26 2011 -0400
19851 [invoke] missed a bit when removing constructor_class usage
19853 gi/pygi-invoke-ng.c | 2 +-
19854 1 file changed, 1 insertion(+), 1 deletion(-)
19856 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
19857 Author: John (J5) Palmieri <johnp@redhat.com>
19858 Date: Wed Jul 13 15:16:17 2011 -0400
19860 [invoke] don't hold on to the constructor class, just add a TODO
19862 gi/pygi-invoke-ng.c | 11 +++++------
19863 gi/pygi-invoke-state-struct.h | 1 -
19864 2 files changed, 5 insertions(+), 7 deletions(-)
19866 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
19867 Author: Martin Pitt <martin.pitt@ubuntu.com>
19868 Date: Wed Jul 13 10:40:25 2011 +0200
19870 [gi] Port test_properties from static gio to GI Gio
19872 As we ripped out the static gio bindings a while ago, this test case
19874 the system installed gio bindings with Python 2, and now fails
19876 Python 3. Rewrite it to use gi.repository.Gio.
19878 tests/test_properties.py | 38 +++++++++++++++++++-------------------
19879 1 file changed, 19 insertions(+), 19 deletions(-)
19881 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
19882 Author: Martin Pitt <martin.pitt@ubuntu.com>
19883 Date: Wed Jul 13 08:42:22 2011 +0200
19885 [python3] Fix maketrans import
19887 Python3 moved the maketrans() function from the string module to a
19889 This unbreaks gi/module.py for Python 3 again.
19891 gi/module.py | 8 ++++++--
19892 1 file changed, 6 insertions(+), 2 deletions(-)
19894 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
19895 Author: John (J5) Palmieri <johnp@redhat.com>
19896 Date: Fri Jul 8 14:39:22 2011 -0400
19898 [caching] remove all inline compiler flags
19900 gi/pygi-cache.c | 96
19901 ++++++++++++++++++++++++++++-----------------------------
19902 1 file changed, 48 insertions(+), 48 deletions(-)
19904 commit bf7bb79b66ad406063fb443e7452d830c55986ef
19905 Author: John (J5) Palmieri <johnp@redhat.com>
19906 Date: Fri Jul 8 14:35:20 2011 -0400
19908 [caching] refactor function names to be less confusing
19910 gi/pygi-cache.c | 307
19911 +++++++++++++++++++++++++++-----------------------------
19912 1 file changed, 150 insertions(+), 157 deletions(-)
19914 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
19915 Author: John (J5) Palmieri <johnp@redhat.com>
19916 Date: Fri Jul 8 11:24:09 2011 -0400
19918 [overrides] deprecate the use of type keyword MessageDialog
19921 * pygtk used type to determine the "type" of message dialog to
19923 use the proper property name "message_type" since we should not be
19924 overriding a reserved word
19925 * to keep compat with pygtk we check the kwds hash for the key
19927 assign it to message_type while throwing a deprecation warning
19928 * also add a deprication warning when trying to use the depricated
19932 gi/overrides/Gtk.py | 13 ++++++++-----
19933 1 file changed, 8 insertions(+), 5 deletions(-)
19935 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
19936 Author: Martin Pitt <martin.pitt@ubuntu.com>
19937 Date: Fri Jul 8 10:15:53 2011 +0200
19939 gdbus tests: Fix hang if test case fails
19941 In the TestGDBusClient.test_native_calls_async() test case, the main
19943 never quit when the call failed.
19945 tests/test_gdbus.py | 6 ++++--
19946 1 file changed, 4 insertions(+), 2 deletions(-)
19948 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
19949 Author: John (J5) Palmieri <johnp@redhat.com>
19950 Date: Thu Jul 7 19:30:11 2011 -0400
19952 use an enum instead of booleans to denote function type
19954 gi/pygi-cache.c | 85
19955 ++++++++++++++++++++++++++++++-----------------------
19956 gi/pygi-cache.h | 18 +++++++++---
19957 gi/pygi-invoke-ng.c | 8 ++---
19958 3 files changed, 67 insertions(+), 44 deletions(-)
19960 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
19961 Author: John (J5) Palmieri <johnp@redhat.com>
19962 Date: Thu Jul 7 15:18:03 2011 -0400
19964 rename aux arguments to child arguments to make their purpose clearer
19966 gi/pygi-cache.c | 64
19967 ++++++++++++++++++++++++++---------------------------
19968 gi/pygi-cache.h | 29 ++++++++++++++++--------
19969 gi/pygi-invoke-ng.c | 10 ++++-----
19970 gi/pygi-marshal.c | 12 +++++-----
19971 4 files changed, 63 insertions(+), 52 deletions(-)
19973 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
19974 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19975 Date: Thu Jul 7 10:59:08 2011 +0200
19977 Fixed the cairo example
19979 https://bugzilla.gnome.org/show_bug.cgi?id=653844
19981 examples/cairo-demo.py | 6 ++----
19982 1 file changed, 2 insertions(+), 4 deletions(-)
19984 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
19985 Author: Adam Dingle <adam@yorba.org>
19986 Date: Tue Jul 5 14:28:20 2011 -0700
19988 Add override binding for Gtk.ListStore.prepend().
19990 https://bugzilla.gnome.org/show_bug.cgi?id=654056
19992 gi/overrides/Gtk.py | 8 ++++++++
19993 tests/test_overrides.py | 13 ++++++++++++-
19994 2 files changed, 20 insertions(+), 1 deletion(-)
19996 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
19997 Author: Martin Pitt <martin.pitt@ubuntu.com>
19998 Date: Thu Jul 7 13:39:19 2011 +0200
20000 Fix crash in Gtk.TextIter overrides
20002 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
20004 pointers when the search was unsuccessful. Actually check the
20006 value; if it is False return None, just like PyGTK used to.
20008 Thanks to Michael Vogt for discovering this and writing the test case!
20012 -------------- 8< -----------------
20013 from gi.repository import Gtk
20015 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
20016 textview = Gtk.TextView()
20017 buffer = textview.get_buffer()
20018 buffer.set_text("hello world")
20023 iter = buffer.get_start_iter()
20024 end = buffer.get_end_iter()
20025 ret = iter.forward_search("foo",
20026 Gtk.TextSearchFlags.VISIBLE_ONLY,
20028 print "this is my return value"
20030 print "now I crash"
20031 print ret[0].get_offset()
20034 -------------- 8< -----------------
20036 gi/overrides/Gtk.py | 10 ++++++++--
20037 1 file changed, 8 insertions(+), 2 deletions(-)
20039 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
20040 Author: John (J5) Palmieri <johnp@redhat.com>
20041 Date: Tue Jul 5 15:57:23 2011 -0400
20043 use gssize instead of int for arg indexes
20045 gi/pygi-cache.c | 24 ++++++++++++------------
20046 gi/pygi-cache.h | 6 +++---
20047 gi/pygi-invoke-ng.c | 6 +++---
20048 gi/pygi-marshal-cleanup.c | 6 +++---
20049 4 files changed, 21 insertions(+), 21 deletions(-)
20051 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
20052 Author: John (J5) Palmieri <johnp@redhat.com>
20053 Date: Tue Jul 5 14:17:30 2011 -0400
20055 [cache] remove refrence to default value as it is not implemented yet
20057 gi/pygi-cache.h | 1 -
20058 1 file changed, 1 deletion(-)
20060 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
20061 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20062 Date: Thu May 12 18:53:06 2011 +0200
20064 Handle arguments that are flags correctly
20066 https://bugzilla.gnome.org/show_bug.cgi?id=647581
20068 gi/pygi-argument.c | 2 ++
20069 1 file changed, 2 insertions(+)
20071 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
20072 Author: John (J5) Palmieri <johnp@redhat.com>
20073 Date: Fri Jul 1 05:19:15 2011 -0400
20075 correctly initialize the _gi_cairo_functions array to be zero filled
20077 gi/pygi-foreign-cairo.c | 2 +-
20078 1 file changed, 1 insertion(+), 1 deletion(-)
20080 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
20081 Author: John (J5) Palmieri <johnp@redhat.com>
20082 Date: Fri Jul 1 05:19:15 2011 -0400
20084 correctly initialize the _gi_cairo_functions array to be zero filled
20086 gi/pygi-foreign-cairo.c | 2 +-
20087 1 file changed, 1 insertion(+), 1 deletion(-)
20089 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
20090 Author: John (J5) Palmieri <johnp@redhat.com>
20091 Date: Wed Jun 29 18:14:40 2011 -0400
20093 pass in the address of the gerror, not the gerror itself
20095 gi/pygi-argument.c | 2 +-
20096 1 file changed, 1 insertion(+), 1 deletion(-)
20098 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
20099 Author: John (J5) Palmieri <johnp@redhat.com>
20100 Date: Wed Jun 29 18:01:44 2011 -0400
20102 [gi] handle marshalling gerrors arguments for signals
20104 gi/pygi-argument.c | 18 ++++++++++++++++--
20105 1 file changed, 16 insertions(+), 2 deletions(-)
20107 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
20108 Author: John (J5) Palmieri <johnp@redhat.com>
20109 Date: Wed Jun 29 12:12:29 2011 -0400
20111 [gi-invoke-ng] fix NULL check to check before we access the cache
20114 gi/pygi-cache.c | 6 +++---
20115 1 file changed, 3 insertions(+), 3 deletions(-)
20117 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
20118 Author: John (J5) Palmieri <johnp@redhat.com>
20119 Date: Tue Jun 28 18:21:55 2011 -0400
20121 [gi-tests] add test for PyGObject->PyObject TreeModel storage
20123 * make sure we can store a custom GObject as a PyObject inside of
20126 tests/test_overrides.py | 26 +++++++++++++++-----------
20127 1 file changed, 15 insertions(+), 11 deletions(-)
20129 commit b6842e4b2a28733e143d4022864041ca82e91f7a
20130 Author: John (J5) Palmieri <johnp@redhat.com>
20131 Date: Tue Jun 28 18:13:38 2011 -0400
20133 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
20135 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
20138 gi/overrides/Gtk.py | 7 ++++---
20139 gobject/pygtype.c | 7 ++++---
20140 2 files changed, 8 insertions(+), 6 deletions(-)
20142 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
20143 Author: John (J5) Palmieri <johnp@redhat.com>
20144 Date: Tue Jun 28 17:32:29 2011 -0400
20146 [gi-invoke-ng] copy structs when transfer is full for array
20148 gi/pygi-marshal.c | 21 ++++++++++++++++++---
20149 1 file changed, 18 insertions(+), 3 deletions(-)
20151 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
20152 Author: John (J5) Palmieri <johnp@redhat.com>
20153 Date: Tue Jun 28 13:54:48 2011 -0400
20155 [gtk-override] print warning if user imports Gtk 2.0
20157 * this is needed because people file bugs not realizing they are
20159 which is not supported
20161 gi/overrides/Gtk.py | 12 ++++++++++++
20162 1 file changed, 12 insertions(+)
20164 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
20165 Author: John (J5) Palmieri <johnp@redhat.com>
20166 Date: Tue Jun 28 13:08:49 2011 -0400
20168 [gtk-overrides] allow the message_type keyword to be used for
20171 * for pygtk compat we use the type keyword for message type but
20173 the use of message_type because it is more descriptive and does
20175 with a python reserved word
20176 * if you passed message_type into a MessageDialog constructor you
20178 an error because we also convert type to message_type when
20181 * this patch looks to see if message_type was passed in as a
20183 assigns it to type while removing message_type from the keywords
20185 to avoid name clashing
20187 gi/overrides/Gtk.py | 5 +++++
20188 1 file changed, 5 insertions(+)
20190 commit 2aa12267bee91aa696633a0cea2a0accae09250a
20191 Author: Johan Dahlin <jdahlin@litl.com>
20192 Date: Mon Jun 27 10:56:20 2011 -0300
20194 Add support for enums in gobject.property
20196 https://bugzilla.gnome.org/show_bug.cgi?id=653488
20198 gobject/propertyhelper.py | 23 ++++++++++++++++-------
20199 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
20200 2 files changed, 52 insertions(+), 11 deletions(-)
20202 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
20203 Author: Johan Dahlin <jdahlin@litl.com>
20204 Date: Mon Jun 27 10:56:20 2011 -0300
20206 Add support for enums in gobject.property
20208 https://bugzilla.gnome.org/show_bug.cgi?id=653488
20210 gobject/propertyhelper.py | 23 ++++++++++++++++-------
20211 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
20212 2 files changed, 52 insertions(+), 11 deletions(-)
20214 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
20215 Author: John (J5) Palmieri <johnp@redhat.com>
20216 Date: Fri Jun 24 14:17:24 2011 -0400
20218 [gi-invoke-ng] use g_slice for allocating GValues that are caller
20221 gi/pygi-invoke-ng.c | 2 ++
20222 gi/pygi-marshal-cleanup.c | 2 ++
20223 2 files changed, 4 insertions(+)
20225 commit eff65cd2ce490296865441c3c78b7846f380459c
20226 Author: John (J5) Palmieri <johnp@redhat.com>
20227 Date: Fri Jun 24 11:49:05 2011 -0400
20229 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
20232 gi/pygi-marshal.c | 56
20233 +++++++++++++++++++++++++++++++++++++++++++------------
20234 1 file changed, 44 insertions(+), 12 deletions(-)
20236 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
20237 Author: John (J5) Palmieri <johnp@redhat.com>
20238 Date: Wed Jun 22 12:26:39 2011 -0400
20240 [gi-invoke-ng] only cache caller allocates for interfaces as some
20243 gi/pygi-cache.c | 6 ++++--
20244 1 file changed, 4 insertions(+), 2 deletions(-)
20246 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
20247 Author: John (J5) Palmieri <johnp@redhat.com>
20248 Date: Fri Jun 17 17:07:56 2011 -0400
20250 [gi-invoke-ng] handle in pointer array marshalling
20252 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
20253 1 file changed, 22 insertions(+), 6 deletions(-)
20255 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
20256 Author: Alex Eftimie <alex@eftimie.ro>
20257 Date: Fri Jun 10 08:44:04 2011 +0300
20259 Adding GPtrArray tests
20261 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
20262 1 file changed, 42 insertions(+), 1 deletion(-)
20264 commit e32c2be53175014399d89e1e85c9afc6e53c94be
20265 Author: John (J5) Palmieri <johnp@redhat.com>
20266 Date: Fri Jun 17 11:32:28 2011 -0400
20268 [gi-invoke-ng] fix array element offset calculations
20270 * use pointer arithmetic to calculate based on element size instead of
20271 relying on the size of GIArgument
20272 * special case GPtrArrays
20274 gi/pygi-marshal.c | 27 +++++++++------------------
20275 1 file changed, 9 insertions(+), 18 deletions(-)
20277 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
20278 Author: John (J5) Palmieri <johnp@redhat.com>
20279 Date: Wed Jun 15 12:46:03 2011 -0400
20281 [gi] don't clean up arguments that weren't yet processed during in
20284 gi/pygi-marshal-cleanup.c | 2 +-
20285 1 file changed, 1 insertion(+), 1 deletion(-)
20287 commit af7c93ea98b7f492eef265e58c8b3c878805524f
20288 Author: John (J5) Palmieri <johnp@redhat.com>
20289 Date: Wed Jun 15 12:06:47 2011 -0400
20291 [gi-overrides] use new instead of init when constructing a
20292 GLib.VariantBuilder
20294 * init is now skipped in the gir
20296 gi/overrides/GLib.py | 18 ++++++++----------
20297 tests/test_overrides.py | 6 ++----
20298 2 files changed, 10 insertions(+), 14 deletions(-)
20300 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
20301 Author: John (J5) Palmieri <johnp@redhat.com>
20302 Date: Wed Jun 15 11:42:45 2011 -0400
20304 [gi-invoke-ng] actual code to import overrides
20306 gi/pygi-cache.c | 7 +------
20307 1 file changed, 1 insertion(+), 6 deletions(-)
20309 commit 902575d857beffb14e56821ea8a52f705385f6bb
20310 Author: John (J5) Palmieri <johnp@redhat.com>
20311 Date: Wed Jun 15 11:25:10 2011 -0400
20313 [gi-invoke-ng] import pytypes so we get overrides
20315 gi/pygi-marshal.c | 4 +++-
20316 1 file changed, 3 insertions(+), 1 deletion(-)
20318 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
20319 Author: John (J5) Palmieri <johnp@redhat.com>
20320 Date: Tue Jun 14 16:13:37 2011 -0400
20322 [gi-invoke-ng] handle gvariants now that they are not foreign
20324 gi/pygi-marshal.c | 7 ++++++-
20325 1 file changed, 6 insertions(+), 1 deletion(-)
20327 commit c1f5651062687e800a52b5d8d16c88c0acde2934
20328 Author: John (J5) Palmieri <johnp@redhat.com>
20329 Date: Tue Jun 14 16:12:43 2011 -0400
20331 [gi-invoke-ng] do not try to clean up NULL arguments
20333 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
20334 1 file changed, 16 insertions(+), 8 deletions(-)
20336 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
20337 Merge: 499b68d 1491f62
20338 Author: John (J5) Palmieri <johnp@redhat.com>
20339 Date: Mon Jun 13 17:28:23 2011 -0400
20341 Merge branch 'master' into invoke-rewrite
20343 commit 499b68d6c9040cffc6e43dc87789d68446564a92
20344 Merge: 4c9bced 426c710
20345 Author: John (J5) Palmieri <johnp@redhat.com>
20346 Date: Mon Jun 13 17:26:37 2011 -0400
20348 Merge branch 'master' into invoke-rewrite
20350 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
20351 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20352 Date: Fri Jun 10 14:01:32 2011 +0200
20354 closure: avoid double free crash
20356 gi/pygi-closure.c | 12 ++++--------
20357 1 file changed, 4 insertions(+), 8 deletions(-)
20359 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
20360 Author: Jason Siefken <siefkenj@gmail.com>
20361 Date: Fri Jun 3 23:11:17 2011 -0700
20363 Added __eq__ method for Gdk.Color and Gdk.RGBA
20365 Call Gdk.Color.equal and Gdk.RGBA.equal when
20366 == equality testing is used.
20368 gi/overrides/Gdk.py | 6 ++++++
20369 tests/test_overrides.py | 4 ++++
20370 2 files changed, 10 insertions(+)
20372 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
20373 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20374 Date: Wed Jun 8 19:13:48 2011 +0200
20376 closure: Check the out arg is not null. Fixes bug #651812
20378 gi/pygi-closure.c | 3 +++
20379 1 file changed, 3 insertions(+)
20381 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
20382 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20383 Date: Wed Jun 8 09:47:20 2011 +0200
20385 Use constants instead of literals
20387 tests/test_overrides.py | 8 ++++----
20388 1 file changed, 4 insertions(+), 4 deletions(-)
20390 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
20391 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20392 Date: Mon Jun 6 19:07:22 2011 +0200
20394 GVariant has now a GType, take that into account
20396 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20398 gi/pygi-argument.c | 8 ++++----
20399 gi/pygi-invoke.c | 20 +++++++++++++-------
20400 2 files changed, 17 insertions(+), 11 deletions(-)
20402 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
20403 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20404 Date: Mon Jun 6 19:05:07 2011 +0200
20406 GVariantType is a boxed struct
20408 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20410 gi/gimodule.c | 2 +-
20411 1 file changed, 1 insertion(+), 1 deletion(-)
20413 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
20414 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20415 Date: Mon Jun 6 17:38:21 2011 +0200
20417 Use _gi.Struct to wrap fundamentals
20419 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20421 gi/module.py | 4 +++-
20422 1 file changed, 3 insertions(+), 1 deletion(-)
20424 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
20425 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20426 Date: Mon Jun 6 17:24:28 2011 +0200
20428 Merge gi/HACKING into /HACKING
20430 HACKING | 16 ++++++++++++++++
20431 gi/HACKING | 26 --------------------------
20432 2 files changed, 16 insertions(+), 26 deletions(-)
20434 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
20435 Author: Daniel Drake <dsd@laptop.org>
20436 Date: Fri Jun 3 16:59:15 2011 +0100
20438 Fix GC-related crash during PyGObject deallocation
20440 Python-2.7.1's GC source has the following comment:
20442 /* Python's cyclic gc should never see an incoming refcount
20443 * of 0: if something decref'ed to 0, it should have been
20444 * deallocated immediately at that time.
20445 * Possible cause (if the assert triggers): a tp_dealloc
20446 * routine left a gc-aware object tracked during its teardown
20447 * phase, and did something-- or allowed something to
20449 * that called back into Python. gc can trigger then, and may
20450 * see the still-tracked dying object. Before this assert
20451 * was added, such mistakes went on to allow gc to try to
20452 * delete the object again. In a debug build, that caused
20453 * a mysterious segfault, when _Py_ForgetReference tried
20454 * to remove the object from the doubly-linked list of all
20455 * objects a second time. In a release build, an actual
20456 * double deallocation occurred, which leads to corruption
20457 * of the allocator's internal bookkeeping pointers. That's
20458 * so serious that maybe this should be a release-build
20459 * check instead of an assert?
20462 As shown in a backtrace at
20463 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
20465 this exact mistake. Before untracking its object, pygobject_dealloc
20466 calls PyObject_ClearWeakRefs() which can call back into python, create
20467 new allocations, and trigger the GC.
20469 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
20471 crash on a regular basis while interacting with widgets or launching
20474 Fix this by untracking the object early. Also fix the same issue
20476 in the GSource wrapper.
20478 Thanks to Bernie Innocenti for initial diagnosis.
20480 glib/pygsource.c | 6 ++++--
20481 gobject/pygobject.c | 8 +++++++-
20482 2 files changed, 11 insertions(+), 3 deletions(-)
20484 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
20485 Author: John (J5) Palmieri <johnp@redhat.com>
20486 Date: Tue May 31 16:59:41 2011 -0400
20488 [gi-invoke-ng] enable invoke-ng by default
20490 configure.ac | 8 ++++----
20491 1 file changed, 4 insertions(+), 4 deletions(-)
20493 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
20494 Author: John (J5) Palmieri <johnp@redhat.com>
20495 Date: Tue May 31 16:37:21 2011 -0400
20497 [gi-invoke-ng] add code to clean up when input values fail to marshal
20499 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
20500 1 file changed, 25 insertions(+), 5 deletions(-)
20502 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
20503 Author: John (J5) Palmieri <johnp@redhat.com>
20504 Date: Tue May 31 16:01:03 2011 -0400
20506 [gi-invoke-ng] add hash cleanup routines
20508 gi/pygi-cache.c | 2 ++
20509 gi/pygi-marshal-cleanup.c | 64
20510 +++++++++++++++++++++++++++++++++++++++++++++++
20511 gi/pygi-marshal-cleanup.h | 10 ++++++--
20512 3 files changed, 74 insertions(+), 2 deletions(-)
20514 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
20515 Author: John (J5) Palmieri <johnp@redhat.com>
20516 Date: Tue May 31 14:47:30 2011 -0400
20518 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
20520 gi/pygi-marshal-cleanup.c | 3 ++-
20521 1 file changed, 2 insertions(+), 1 deletion(-)
20523 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
20524 Author: John (J5) Palmieri <johnp@redhat.com>
20525 Date: Tue May 31 14:40:49 2011 -0400
20527 [gi-invoke-ng] add list cleanup routines
20529 gi/pygi-cache.c | 8 ++---
20530 gi/pygi-marshal-cleanup.c | 84
20531 +++++++++++++++++++++++++++++++++++++++++++++++
20532 gi/pygi-marshal-cleanup.h | 8 +++++
20533 3 files changed, 96 insertions(+), 4 deletions(-)
20535 commit 2e542c327cd52c1f77af28905557dd25c64175d8
20536 Author: John (J5) Palmieri <johnp@redhat.com>
20537 Date: Thu May 26 16:10:13 2011 -0400
20541 gi/pygi-marshal.c | 8 ++++----
20542 1 file changed, 4 insertions(+), 4 deletions(-)
20544 commit 601aec11c49e821fe97dd30a2187fe3c75844712
20545 Author: John (J5) Palmieri <johnp@redhat.com>
20546 Date: Thu May 26 16:09:38 2011 -0400
20548 [gi-invoke-ng] add out array cleanup
20550 gi/pygi-cache.c | 2 +-
20551 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
20552 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
20553 3 files changed, 56 insertions(+), 7 deletions(-)
20555 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
20556 Author: John (J5) Palmieri <johnp@redhat.com>
20557 Date: Thu May 26 13:22:38 2011 -0400
20559 [gi-invoke-ng] do not allocate null terminator for garray
20561 * We are simply setting our own array so we don't want any allocate
20564 gi/pygi-marshal.c | 2 +-
20565 1 file changed, 1 insertion(+), 1 deletion(-)
20567 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
20568 Author: John (J5) Palmieri <johnp@redhat.com>
20569 Date: Thu May 26 13:21:55 2011 -0400
20571 [gi-invoke-ng] add array cleanup for in arrays
20573 gi/pygi-cache.c | 2 +-
20574 gi/pygi-marshal-cleanup.c | 72
20575 ++++++++++++++++++++++++++++++++++++++++++++++-
20576 gi/pygi-marshal-cleanup.h | 9 ++++++
20577 gi/pygi-marshal.c | 13 +++++++--
20578 4 files changed, 91 insertions(+), 5 deletions(-)
20580 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
20581 Author: John (J5) Palmieri <johnp@redhat.com>
20582 Date: Mon May 23 17:06:30 2011 -0400
20584 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
20586 gi/pygi-invoke-ng.c | 7 +------
20587 gi/pygi-invoke-state-struct.h | 14 --------------
20588 2 files changed, 1 insertion(+), 20 deletions(-)
20590 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
20591 Author: John (J5) Palmieri <johnp@redhat.com>
20592 Date: Mon May 23 16:59:57 2011 -0400
20594 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
20597 * cleanup now has symmetry with setup so there are now in and out
20599 for each type that needs to be cleaned up
20600 * no longer use state machine but instead call different cleanup
20602 different stages of invoke, making it easier to understand what
20606 gi/pygi-cache.c | 19 ++-
20607 gi/pygi-cache.h | 7 +-
20608 gi/pygi-invoke-ng.c | 10 +-
20609 gi/pygi-invoke-state-struct.h | 2 +
20610 gi/pygi-marshal-cleanup.c | 301
20611 +++++++++++++++++-------------------------
20612 gi/pygi-marshal-cleanup.h | 45 ++++---
20613 gi/pygi-marshal.c | 15 +--
20614 7 files changed, 174 insertions(+), 225 deletions(-)
20616 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
20617 Author: John (J5) Palmieri <johnp@redhat.com>
20618 Date: Thu May 12 17:29:20 2011 -0400
20620 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
20622 * The state machine concept of cleaning up was getting a bit messy.
20623 It was like we took a big bowl of spaghetti code and dumped it.
20624 * Now we call specific cleanup functions at the point of failure (or
20625 successful completion of a marshalling stage)
20627 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
20628 gi/pygi-marshal-cleanup.c | 72
20629 +++++++++++++++++++++++++++++++++++++++++++++++
20630 gi/pygi-marshal-cleanup.h | 14 +++++++++
20631 3 files changed, 135 insertions(+), 10 deletions(-)
20633 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
20634 Author: José Alburquerque <jaalburqu@svn.gnome.org>
20635 Date: Thu May 12 11:53:40 2011 -0400
20637 Doc Extractor: Correct the logic of the --no-since option.
20639 * codegen/docextract.py (process_final_sections): If the
20641 option has been specified and a "Since:" is encountered during the
20642 processing of the final sections, simply don't append the
20644 instead of reading the next line. This preserves the logical
20648 codegen/docextract.py | 4 ++--
20649 1 file changed, 2 insertions(+), 2 deletions(-)
20651 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
20652 Author: José Alburquerque <jaalburqu@svn.gnome.org>
20653 Date: Mon May 9 17:32:09 2011 -0400
20655 Doc Extractor: Add a --no-since option.
20657 * codegen/docextract.py:
20658 * codegen/docextract_to_xml.py: Modified so that if a --no-since
20659 option is specified at the command line, the "Since: ..." portion
20661 the gtkdoc function block is omitted. This is useful for C++
20663 such as gstreamermm where this information would not be useful
20665 as the C API is still unstable.
20667 codegen/docextract.py | 15 ++++++++++++++-
20668 codegen/docextract_to_xml.py | 9 ++++++---
20669 2 files changed, 20 insertions(+), 4 deletions(-)
20671 commit 4f615c6e300d6f2d7551b640efa301060206ab58
20672 Author: John (J5) Palmieri <johnp@redhat.com>
20673 Date: Thu May 5 14:04:34 2011 -0400
20675 [gi-invoke-ng] tweek cleanup routines
20677 gi/pygi-cache.c | 5 +++
20678 gi/pygi-marshal-cleanup.c | 87
20679 +++++++++++++++++++++++++++++++++++------------
20680 gi/pygi-marshal-cleanup.h | 6 ++--
20681 gi/pygi-marshal.c | 11 ++----
20682 4 files changed, 76 insertions(+), 33 deletions(-)
20684 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
20685 Author: Martin Pitt <martin.pitt@ubuntu.com>
20686 Date: Mon May 2 15:49:52 2011 +0200
20688 Fix symbol names to be locale independent
20690 We currently use upper() to present enum values, which are usually
20692 lower case in the typelib, in upper cases. However, upper() is locale
20693 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
20694 because Turkish has some extra variants of "i".
20696 Use a local ASCII-only translate() call instead to avoid this. Thanks
20698 Philippsen for the idea!
20700 This also adds a test locale "te_ST@nouppera" which defines
20701 toupper('a') == 'a'.
20702 Run the Enum tests under this locale to reproduce the bug and verify
20705 https://bugzilla.gnome.org/show_bug.cgi?id=649165
20707 gi/module.py | 9 ++++++++-
20708 tests/te_ST@nouppera | 50
20709 ++++++++++++++++++++++++++++++++++++++++++++++++++
20710 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
20711 3 files changed, 88 insertions(+), 1 deletion(-)
20713 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
20714 Author: Martin Pitt <martin.pitt@ubuntu.com>
20715 Date: Wed May 4 08:35:27 2011 +0200
20717 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
20719 pygi-convert.sh | 1 +
20720 1 file changed, 1 insertion(+)
20722 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
20723 Author: John (J5) Palmieri <johnp@redhat.com>
20724 Date: Fri Apr 29 17:41:08 2011 -0400
20726 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
20728 gi/pygi-cache.c | 2 ++
20729 1 file changed, 2 insertions(+)
20731 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
20732 Author: John (J5) Palmieri <johnp@redhat.com>
20733 Date: Fri Apr 29 17:40:13 2011 -0400
20735 [gi-invoke-ng] handle caller allocates cleanup
20737 gi/pygi-invoke-ng.c | 5 ++-
20738 gi/pygi-marshal-cleanup.c | 104
20739 ++++++++++++++++++++++++++++++++++++----------
20740 gi/pygi-marshal-cleanup.h | 7 ++--
20741 3 files changed, 90 insertions(+), 26 deletions(-)
20743 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
20744 Author: John (J5) Palmieri <johnp@redhat.com>
20745 Date: Thu Apr 28 19:16:02 2011 -0400
20747 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
20750 gi/pygi-cache.c | 15 ++-----------
20751 gi/pygi-invoke-ng.c | 8 +++----
20752 gi/pygi-invoke-state-struct.h | 2 ++
20753 gi/pygi-marshal-cleanup.c | 51
20754 ++++++++++++++++++++++++++++++++++++++++++-
20755 gi/pygi-marshal-cleanup.h | 3 +++
20756 5 files changed, 60 insertions(+), 19 deletions(-)
20758 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
20759 Author: John (J5) Palmieri <johnp@redhat.com>
20760 Date: Wed Apr 27 15:47:19 2011 -0400
20762 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
20765 * PyCObject is deprecated and pycairo 1.10.0 is first release to
20768 configure.ac | 15 +++++++++++----
20769 gi/pygi-foreign-cairo.c | 2 +-
20770 2 files changed, 12 insertions(+), 5 deletions(-)
20772 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
20773 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20774 Date: Thu Apr 21 16:52:20 2011 +0200
20776 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
20778 gi/pygi-foreign-cairo.c | 7 ++++++-
20779 1 file changed, 6 insertions(+), 1 deletion(-)
20781 commit 3e933784df423757e591d703614cb700adb0bbe0
20782 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20783 Date: Mon Apr 18 18:36:25 2011 +0200
20787 pygobject.doap | 15 +++++++++++++++
20788 1 file changed, 15 insertions(+)
20790 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
20791 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20792 Date: Sat Apr 16 16:02:05 2011 +0200
20794 [gi] Don't create variant twice
20796 gi/overrides/GLib.py | 2 +-
20797 1 file changed, 1 insertion(+), 1 deletion(-)
20799 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
20800 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20801 Date: Fri Apr 15 16:14:43 2011 +0200
20803 pygi-convert.sh: Make sure the uppercase GObject module is imported
20804 instead of the lowercase
20806 https://bugzilla.gnome.org/show_bug.cgi?id=647736
20808 pygi-convert.sh | 1 +
20809 1 file changed, 1 insertion(+)
20811 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
20812 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20813 Date: Fri Apr 15 15:58:53 2011 +0200
20815 [gi] Removed hack to avoid using GLib.Variant.new_variant.
20817 The bug in the annotations of GLib is fixed now.
20818 https://bugzilla.gnome.org/show_bug.cgi?id=639952
20819 https://bugzilla.gnome.org/show_bug.cgi?id=647796
20821 gi/overrides/GLib.py | 14 +-------------
20822 1 file changed, 1 insertion(+), 13 deletions(-)
20824 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
20825 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20826 Date: Fri Apr 15 15:58:31 2011 +0200
20828 [gi] Added additional test case for GVariant handling
20830 tests/test_overrides.py | 15 +++++++++++++++
20831 1 file changed, 15 insertions(+)
20833 commit 138df2778543409752e229a09828a805f68a420d
20834 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20835 Date: Mon Apr 11 18:34:31 2011 +0200
20837 [gi] Added support for GVariant arguments
20839 This is required in order for the "g-signal" signal of GDBusProxy
20840 to work properly and thus to properly receive DBus signals with any
20843 https://bugzilla.gnome.org/show_bug.cgi?id=647477
20845 gi/pygi-argument.c | 2 ++
20846 1 file changed, 2 insertions(+)
20848 commit 985f239d891c7697d76ccecb797b189669ae6ee1
20849 Author: John (J5) Palmieri <johnp@redhat.com>
20850 Date: Tue Mar 22 18:46:28 2011 -0400
20852 fix static ABI for setting string gvalues from python objects
20854 * the static bindings used to be able to set a string gvalue to
20856 object that implemented __str__, for instance when setting a
20858 * this restores that code while still keeping unicode and python 3
20861 gobject/pygtype.c | 28 +++++++++++++++++++---------
20862 tests/test_properties.py | 8 ++++++++
20863 2 files changed, 27 insertions(+), 9 deletions(-)
20865 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
20866 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20867 Date: Tue Mar 22 20:47:51 2011 +0100
20869 dsextras.py: ensure eol characters are preserved when writing template
20870 files (so \n does not become \r\n)
20873 1 file changed, 1 insertion(+), 1 deletion(-)
20875 commit 629d267478982c426ba61a639d5c9603fed856e6
20876 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20877 Date: Tue Mar 22 11:35:44 2011 +0100
20879 dsextras.py: remove \r as wel as \n character
20882 1 file changed, 1 insertion(+), 1 deletion(-)
20884 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
20885 Author: John (J5) Palmieri <johnp@redhat.com>
20886 Date: Wed Apr 27 15:47:19 2011 -0400
20888 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
20891 * PyCObject is deprecated and pycairo 1.10.0 is first release to
20894 configure.ac | 15 +++++++++++----
20895 gi/pygi-foreign-cairo.c | 2 +-
20896 2 files changed, 12 insertions(+), 5 deletions(-)
20898 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
20899 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20900 Date: Thu Apr 21 16:52:20 2011 +0200
20902 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
20904 gi/pygi-foreign-cairo.c | 7 ++++++-
20905 1 file changed, 6 insertions(+), 1 deletion(-)
20907 commit 91ec337359720839862d3f5a8a0ea98f760a0752
20908 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20909 Date: Mon Apr 18 18:36:25 2011 +0200
20913 pygobject.doap | 15 +++++++++++++++
20914 1 file changed, 15 insertions(+)
20916 commit 05c766044c83340c44564d0097514bfc1d1d9df7
20917 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20918 Date: Sat Apr 16 16:02:05 2011 +0200
20920 [gi] Don't create variant twice
20922 gi/overrides/GLib.py | 2 +-
20923 1 file changed, 1 insertion(+), 1 deletion(-)
20925 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
20926 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20927 Date: Fri Apr 15 16:14:43 2011 +0200
20929 pygi-convert.sh: Make sure the uppercase GObject module is imported
20930 instead of the lowercase
20932 https://bugzilla.gnome.org/show_bug.cgi?id=647736
20934 pygi-convert.sh | 1 +
20935 1 file changed, 1 insertion(+)
20937 commit af31729573de24161ee90563e5738187c749783c
20938 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20939 Date: Fri Apr 15 15:58:53 2011 +0200
20941 [gi] Removed hack to avoid using GLib.Variant.new_variant.
20943 The bug in the annotations of GLib is fixed now.
20944 https://bugzilla.gnome.org/show_bug.cgi?id=639952
20945 https://bugzilla.gnome.org/show_bug.cgi?id=647796
20947 gi/overrides/GLib.py | 14 +-------------
20948 1 file changed, 1 insertion(+), 13 deletions(-)
20950 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
20951 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20952 Date: Fri Apr 15 15:58:31 2011 +0200
20954 [gi] Added additional test case for GVariant handling
20956 tests/test_overrides.py | 15 +++++++++++++++
20957 1 file changed, 15 insertions(+)
20959 commit 65aa040e86d94ee6bb227a2bce09668b60208027
20960 Author: John (J5) Palmieri <johnp@redhat.com>
20961 Date: Tue Apr 12 14:51:35 2011 -0400
20963 [gi-invoke-ng] fix prototype
20965 gi/pygi-cache.h | 2 +-
20966 1 file changed, 1 insertion(+), 1 deletion(-)
20968 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
20969 Author: John (J5) Palmieri <johnp@redhat.com>
20970 Date: Tue Apr 12 14:48:16 2011 -0400
20972 [gi-invoke-ng] create new framework for cleaning up args
20974 * we now have a state machine so we know what point in the marshalling
20976 we are and which args need to be cleaned up
20977 * call the cleanup functions after invoking the gi callable, after
20979 the out parameters and at any time an error occures
20981 gi/Makefile.am | 4 ++-
20982 gi/pygi-cache.c | 25 +++++++------
20983 gi/pygi-cache.h | 5 ++-
20984 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
20985 gi/pygi-invoke-state-struct.h | 13 +++++++
20986 gi/pygi-marshal-cleanup.c | 81
20987 +++++++++++++++++++++++++++++++++++++++++++
20988 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
20989 gi/pygi-marshal.c | 1 +
20990 8 files changed, 187 insertions(+), 19 deletions(-)
20992 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
20993 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20994 Date: Mon Apr 11 18:34:31 2011 +0200
20996 [gi] Added support for GVariant arguments
20998 This is required in order for the "g-signal" signal of GDBusProxy
20999 to work properly and thus to properly receive DBus signals with any
21002 https://bugzilla.gnome.org/show_bug.cgi?id=647477
21004 gi/pygi-argument.c | 2 ++
21005 1 file changed, 2 insertions(+)
21007 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
21008 Author: John (J5) Palmieri <johnp@redhat.com>
21009 Date: Wed Mar 30 16:40:31 2011 -0400
21011 [gi-invoke-ng] fix marshal header that is no longer part of
21014 gi/pygi-marshal.h | 8 ++++----
21015 1 file changed, 4 insertions(+), 4 deletions(-)
21017 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
21018 Author: John (J5) Palmieri <johnp@redhat.com>
21019 Date: Wed Mar 30 15:53:13 2011 -0400
21021 [gi-invoke-ng] code style space fixes
21023 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
21024 gi/pygi-invoke-ng.c | 145 +++++++-------
21025 gi/pygi-marshal.c | 565
21026 ++++++++++++++++++++++++++--------------------------
21027 3 files changed, 566 insertions(+), 564 deletions(-)
21029 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
21030 Author: John (J5) Palmieri <johnp@redhat.com>
21031 Date: Tue Mar 29 16:54:44 2011 -0400
21033 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
21035 gi/pygi-invoke-ng.c | 1 -
21036 1 file changed, 1 deletion(-)
21038 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
21039 Author: John (J5) Palmieri <johnp@redhat.com>
21040 Date: Tue Mar 29 15:23:06 2011 -0400
21042 [gi-invoke-ng] return None when appropriate so we don't crash
21044 gi/pygi-marshal.c | 18 +++++++++++++++++-
21045 1 file changed, 17 insertions(+), 1 deletion(-)
21047 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
21048 Author: John (J5) Palmieri <johnp@redhat.com>
21049 Date: Tue Mar 29 15:21:41 2011 -0400
21051 [gi-invoke-ng] fix aux value caching
21053 gi/pygi-cache.c | 15 ++++++++++-----
21054 1 file changed, 10 insertions(+), 5 deletions(-)
21056 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
21057 Author: John (J5) Palmieri <johnp@redhat.com>
21058 Date: Mon Mar 28 20:25:46 2011 -0400
21060 [gi-invoke-ng] backport handling flags with no gtype
21062 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
21063 1 file changed, 24 insertions(+), 1 deletion(-)
21065 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
21066 Author: John (J5) Palmieri <johnp@redhat.com>
21067 Date: Mon Mar 28 18:32:00 2011 -0400
21069 [gi-invoke-ng] backport raw gvalue handling
21071 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
21072 1 file changed, 18 insertions(+), 5 deletions(-)
21074 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
21075 Author: John (J5) Palmieri <johnp@redhat.com>
21076 Date: Mon Mar 28 18:30:31 2011 -0400
21078 [gi-invoke-ng] marshal instances seperately since they differ slightly
21081 gi/pygi-cache.c | 2 +-
21082 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
21083 2 files changed, 39 insertions(+), 1 deletion(-)
21085 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
21086 Author: John (J5) Palmieri <johnp@redhat.com>
21087 Date: Mon Mar 28 18:26:09 2011 -0400
21089 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
21091 gi/pygi-cache.c | 392
21092 +++++++++++++++++++++++++++-------------------------
21093 gi/pygi-cache.h | 12 +-
21094 gi/pygi-info.c | 2 +-
21095 gi/pygi-invoke-ng.c | 40 +++---
21096 gi/pygi-marshal.c | 140 +++++++++----------
21097 gi/pygi-marshal.h | 159 +++++++++------------
21099 7 files changed, 362 insertions(+), 385 deletions(-)
21101 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
21102 Author: John (J5) Palmieri <johnp@redhat.com>
21103 Date: Mon Mar 28 15:01:12 2011 -0400
21105 [gi-invoke-rewrite] backport glib error handling
21107 gi/pygi-invoke-ng.c | 14 ++++++--------
21108 1 file changed, 6 insertions(+), 8 deletions(-)
21110 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
21111 Author: John (J5) Palmieri <johnp@redhat.com>
21112 Date: Fri Mar 25 18:48:42 2011 -0400
21114 [gi-invoke-ng] backport closure passing from invoke
21116 gi/pygi-marshal.c | 13 ++++++++++---
21117 1 file changed, 10 insertions(+), 3 deletions(-)
21119 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
21120 Author: John (J5) Palmieri <johnp@redhat.com>
21121 Date: Fri Mar 25 18:47:36 2011 -0400
21123 [gi-invoke-ng] handle vfuncs and fix cosntrutors
21125 gi/pygi-cache.c | 9 +++++++
21126 gi/pygi-cache.h | 2 ++
21127 gi/pygi-invoke-ng.c | 56
21128 ++++++++++++++++++++++++++++++++-----------
21129 gi/pygi-invoke-state-struct.h | 2 ++
21130 4 files changed, 55 insertions(+), 14 deletions(-)
21132 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
21133 Author: John (J5) Palmieri <johnp@redhat.com>
21134 Date: Fri Mar 25 18:39:06 2011 -0400
21136 [gi-invoke-ng] handle foreign types correctly
21138 gi/pygi-cache.c | 22 ++++++----------------
21139 gi/pygi-marshal.c | 3 +++
21140 2 files changed, 9 insertions(+), 16 deletions(-)
21142 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
21143 Author: John (J5) Palmieri <johnp@redhat.com>
21144 Date: Fri Mar 25 13:14:01 2011 -0400
21146 [gi] remove the class parameter from the argument list of constructors
21148 * constructors pass in their class to be constructed. Since we
21150 and g_object_new to do the construction we ignore this for now but
21151 keep it around in the state for future use.
21153 gi/pygi-invoke-ng.c | 46
21154 +++++++++++++++++++++++++++++++++++++------
21155 gi/pygi-invoke-state-struct.h | 1 +
21156 2 files changed, 41 insertions(+), 6 deletions(-)
21158 commit 0534eb0e843cdf09611143da184052f7e549e4dc
21159 Author: John (J5) Palmieri <johnp@redhat.com>
21160 Date: Tue Mar 22 18:46:28 2011 -0400
21162 fix static ABI for setting string gvalues from python objects
21164 * the static bindings used to be able to set a string gvalue to
21166 object that implemented __str__, for instance when setting a
21168 * this restores that code while still keeping unicode and python 3
21171 gobject/pygtype.c | 28 +++++++++++++++++++---------
21172 tests/test_properties.py | 8 ++++++++
21173 2 files changed, 27 insertions(+), 9 deletions(-)
21175 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
21176 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21177 Date: Tue Mar 22 20:47:51 2011 +0100
21179 dsextras.py: ensure eol characters are preserved when writing template
21180 files (so \n does not become \r\n)
21183 1 file changed, 1 insertion(+), 1 deletion(-)
21185 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
21186 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21187 Date: Tue Mar 22 11:35:44 2011 +0100
21189 dsextras.py: remove \r as wel as \n character
21192 1 file changed, 1 insertion(+), 1 deletion(-)
21194 commit 86c436978c933f6ebe17627abe98325ce66f6baa
21195 Author: John (J5) Palmieri <johnp@redhat.com>
21196 Date: Tue Mar 22 16:13:58 2011 -0400
21198 [gi] make new invoke-ng codepath compile correctly
21201 gi/Makefile.am | 5 +-
21202 gi/pygi-cache.c | 2 +-
21203 gi/pygi-invoke-ng.c | 841 ----------------------
21204 gi/pygi-marshal.c | 1962
21205 +--------------------------------------------------
21206 gi/pygi-private.h | 4 +-
21207 6 files changed, 9 insertions(+), 2809 deletions(-)
21209 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
21210 Author: John (J5) Palmieri <johnp@redhat.com>
21211 Date: Tue Mar 22 15:40:02 2011 -0400
21213 [gi] conditionalize invoke code paths
21215 configure.ac | 7 +++++++
21216 gi/Makefile.am | 20 +++++++++++++++-----
21217 gi/pygi-cache.h | 2 ++
21218 gi/pygi-info.c | 4 +++-
21219 gi/pygi-private.h | 9 +++++++--
21221 6 files changed, 37 insertions(+), 9 deletions(-)
21223 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
21224 Author: John (J5) Palmieri <johnp@redhat.com>
21225 Date: Tue Mar 22 15:37:24 2011 -0400
21227 [gi] revert back to the type.py from master
21229 gi/types.py | 21 +++++++++++++++------
21230 1 file changed, 15 insertions(+), 6 deletions(-)
21232 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
21233 Author: John (J5) Palmieri <johnp@redhat.com>
21234 Date: Tue Mar 22 14:46:29 2011 -0400
21236 [gi] revert pygi-argument.h and move the invoke-ng code to
21239 gi/pygi-argument.h | 268 +-----------------------------------------
21240 gi/pygi-marshal.h | 336
21241 +++++++++++++++++++++++++++++++++++++++++++++++++++++
21242 2 files changed, 337 insertions(+), 267 deletions(-)
21244 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
21245 Merge: 7332a1b 01596a9
21246 Author: John (J5) Palmieri <johnp@redhat.com>
21247 Date: Tue Mar 22 13:34:36 2011 -0400
21249 Merge branch 'master' into invoke-rewrite
21254 gi/pygi-foreign-cairo.c
21255 gi/pygi-foreign-gvariant.c
21256 gi/pygi-foreign-gvariant.h
21262 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
21263 Author: John (J5) Palmieri <johnp@redhat.com>
21264 Date: Tue Mar 22 13:20:54 2011 -0400
21266 [gi] foreign types now take interface infos instead of type infos
21268 * this is a prep for the invoke-rewrite branch
21269 * when marshalling foreign structs we may not have the type info but
21270 we will always have the interface info to pass
21271 * this simplifies the code because we were simply converting the
21272 type info back to an interface info anyway so there is less
21273 refcounting to keep track of
21274 * also fixes a bug where we were leaking PyNone ref counts
21276 gi/pygi-argument.c | 4 ++--
21277 gi/pygi-foreign-cairo.c | 16 ++++++++--------
21278 gi/pygi-foreign-gvariant.c | 12 ++++++------
21279 gi/pygi-foreign.c | 32 +++++++++++++-------------------
21280 gi/pygi-foreign.h | 8 ++++----
21281 gi/pygi-invoke.c | 6 +++---
21282 gi/pygi.h | 12 ++++++------
21283 7 files changed, 42 insertions(+), 48 deletions(-)
21285 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
21286 Author: Martin Pitt <martin.pitt@ubuntu.com>
21287 Date: Tue Mar 22 15:04:01 2011 +0100
21289 Fix GSchema tests for separate build tree
21291 When using a separate build tree, the compiled GSettings schema will
21293 build tree, but as the test scripts are only in the source tree they
21295 the compiled schema. Pass the build dir as environment variable and
21297 over test_overrides.py's directory.
21299 tests/Makefile.am | 3 ++-
21300 tests/test_overrides.py | 4 +++-
21301 2 files changed, 5 insertions(+), 2 deletions(-)
21303 commit 7332a1b99775519fdc5500cab6628b713e946a8c
21304 Author: John (J5) Palmieri <johnp@redhat.com>
21305 Date: Mon Mar 21 19:03:29 2011 -0400
21307 [gi] start of merge from master
21309 * move some of the modified files that will cause merge conflicts
21311 own, nonconflicting files
21312 * copy the old files out of master
21314 gi/pygi-argument.c | 2101 +++------------------------
21315 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
21316 gi/pygi-invoke.c | 421 ++----
21317 gi/pygi-marshal.c | 3916
21318 +++++++++++++++++++++++++++++++++++++++++++++++++++
21319 4 files changed, 5389 insertions(+), 2228 deletions(-)
21321 commit 62b49dae97441953452d097cb1751df14302547a
21322 Author: John (J5) Palmieri <johnp@redhat.com>
21323 Date: Wed Mar 16 17:34:18 2011 -0400
21325 [gi] marshal raw closures
21327 * before we were able to marshal python callables into methods
21329 GClosures but we had no way to take a GClosure returned from one
21330 method and pass it to another - this enables that usecase
21332 https://bugzilla.gnome.org/show_bug.cgi?id=644757
21334 gi/pygi-argument.c | 17 ++++++++++-------
21335 tests/test_gi.py | 4 ++++
21336 2 files changed, 14 insertions(+), 7 deletions(-)
21338 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
21339 Author: John Stowers <john.stowers@gmail.com>
21340 Date: Sun Mar 6 23:41:01 2011 +1300
21342 pygi-convert.sh add GObject.xxx and webkit
21344 https://bugzilla.gnome.org/show_bug.cgi?id=644347
21346 pygi-convert.sh | 7 +++++++
21347 1 file changed, 7 insertions(+)
21349 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
21350 Author: John Stowers <john.stowers@gmail.com>
21351 Date: Sun Mar 6 23:41:30 2011 +1300
21353 pygi-convert.sh remove gobject tests, GObject works now
21355 https://bugzilla.gnome.org/show_bug.cgi?id=644347
21357 pygi-convert.sh | 28 ----------------------------
21358 1 file changed, 28 deletions(-)
21360 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
21361 Author: John (J5) Palmieri <johnp@redhat.com>
21362 Date: Fri Mar 11 14:09:02 2011 -0500
21364 [gi-demos] add pickers demo
21366 demos/gtk-demo/demos/pickers.py | 74
21367 +++++++++++++++++++++++++++++++++++++++++
21368 1 file changed, 74 insertions(+)
21370 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
21371 Author: John (J5) Palmieri <johnp@redhat.com>
21372 Date: Thu Mar 10 18:12:50 2011 -0500
21374 [gi-demos] add menu demo
21376 demos/gtk-demo/demos/menus.py | 122
21377 ++++++++++++++++++++++++++++++++++++++++++
21378 1 file changed, 122 insertions(+)
21380 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
21381 Author: John (J5) Palmieri <johnp@redhat.com>
21382 Date: Wed Mar 9 13:02:50 2011 -0500
21384 [gi-overrides] fix exception block so it works in Python 2.5
21386 gi/overrides/Gio.py | 5 ++++-
21387 1 file changed, 4 insertions(+), 1 deletion(-)
21389 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
21390 Author: Martin Pitt <martin.pitt@ubuntu.com>
21391 Date: Mon Mar 21 13:19:58 2011 +0100
21393 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
21395 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
21397 This introduces additional libpython dependencies, which breaks
21399 which support multiple Python versions, and also causes the python
21401 to be in memory twice in some cases.
21403 https://bugzilla.gnome.org/show_bug.cgi?id=620215
21405 gi/Makefile.am | 4 +---
21406 glib/Makefile.am | 2 +-
21407 m4/python.m4 | 7 ++-----
21408 tests/Makefile.am | 2 +-
21409 4 files changed, 5 insertions(+), 10 deletions(-)
21411 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
21412 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21413 Date: Fri Mar 18 17:06:08 2011 +0100
21415 setup.py: fix user_access_control option
21418 1 file changed, 1 insertion(+), 1 deletion(-)
21420 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
21421 Author: Martin Pitt <martin.pitt@ubuntu.com>
21422 Date: Wed Mar 16 10:22:35 2011 +0100
21424 [gi] Respect the MessageType for Gtk.MessageDialog
21426 Don't just ignore the type argument, actually pass it on. Thanks
21428 Chou for spotting this!
21430 gi/overrides/Gtk.py | 1 +
21431 1 file changed, 1 insertion(+)
21433 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
21434 Author: Martin Pitt <martin.pitt@ubuntu.com>
21435 Date: Tue Mar 15 10:22:39 2011 +0100
21437 [gi] Do not require signature for D-BUS methods without arguments
21439 Calling methods on DBusProxy objects usually requires specifying
21441 as first argument. However, if the D-BUS method does not take any
21443 specifying the empty '()' signature does not give any additional
21445 so allow the caller to just call the proxy method without any
21448 Also ensure that passing a non-string signature raises a
21450 exception, instead of crashing deep in the GVariant leaf constructor.
21452 https://bugzilla.gnome.org/show_bug.cgi?id=644260
21454 gi/overrides/Gio.py | 16 +++++++++++++++-
21455 tests/test_gdbus.py | 13 +++++++++++++
21456 2 files changed, 28 insertions(+), 1 deletion(-)
21458 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
21459 Author: John Stowers <john.stowers@gmail.com>
21460 Date: Sun Mar 6 23:05:33 2011 +1300
21462 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
21464 https://bugzilla.gnome.org/show_bug.cgi?id=644343
21466 gi/overrides/Gtk.py | 2 ++
21467 1 file changed, 2 insertions(+)
21469 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
21470 Author: John Stowers <john.stowers@gmail.com>
21471 Date: Sun Mar 6 17:48:04 2011 +1300
21473 [gi-demos] dont try and run demos that represent directories
21475 demos/gtk-demo/gtk-demo.py | 3 ++-
21476 1 file changed, 2 insertions(+), 1 deletion(-)
21478 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
21479 Author: John (J5) Palmieri <johnp@redhat.com>
21480 Date: Mon Mar 7 18:09:18 2011 -0500
21482 [gi-demos] some python 3 compat fixes
21484 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
21485 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
21486 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
21487 demos/gtk-demo/gtk-demo.py | 4 ++--
21488 4 files changed, 11 insertions(+), 5 deletions(-)
21490 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
21491 Author: John (J5) Palmieri <johnp@redhat.com>
21492 Date: Tue Feb 22 15:07:40 2011 -0500
21494 [gi-demos] add liststore demo
21496 demos/gtk-demo/demos/Tree View/__init__.py | 0
21497 demos/gtk-demo/demos/Tree View/liststore.py | 205
21498 ++++++++++++++++++++++++++++
21499 2 files changed, 205 insertions(+)
21501 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
21502 Author: John (J5) Palmieri <johnp@redhat.com>
21503 Date: Mon Mar 7 18:08:40 2011 -0500
21505 [gi-demos] catch the correct error class
21507 demos/gtk-demo/demos/images.py | 11 ++++++-----
21508 1 file changed, 6 insertions(+), 5 deletions(-)
21510 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
21511 Author: Steve Frécinaux <code@istique.net>
21512 Date: Sun Mar 6 21:18:36 2011 +0100
21514 Do not leak python references when using the gobject.property()
21517 Since this helper was storing plain references in a long-lived
21519 refcount for the instances would never drop to zero, and so they would
21520 never get finalized.
21522 https://bugzilla.gnome.org/show_bug.cgi?id=644039
21524 gobject/propertyhelper.py | 5 ++---
21525 tests/test_properties.py | 23 +++++++++++++++++++++++
21526 2 files changed, 25 insertions(+), 3 deletions(-)
21528 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
21529 Author: John (J5) Palmieri <johnp@redhat.com>
21530 Date: Fri Mar 4 12:25:49 2011 -0500
21532 handle uchar as bytes, not strings in python 3
21534 * This worked in Python2 because bytes and strings are equivilant
21536 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
21537 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
21539 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
21540 and a PyBytes object in Python 3
21542 gobject/pygtype.c | 2 +-
21543 1 file changed, 1 insertion(+), 1 deletion(-)
21545 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
21546 Author: John (J5) Palmieri <johnp@redhat.com>
21547 Date: Fri Mar 4 12:24:35 2011 -0500
21549 [gi-overrides] handle unichar gvalues when setting treemodels
21551 gi/overrides/Gtk.py | 10 ++++++++++
21552 1 file changed, 10 insertions(+)
21554 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
21555 Author: John (J5) Palmieri <johnp@redhat.com>
21556 Date: Fri Mar 4 11:43:51 2011 -0500
21558 [gi-overrides] special case python 2 keywords that crept in
21560 gi/overrides/Gtk.py | 6 +++++-
21561 tests/test_overrides.py | 8 ++++----
21562 2 files changed, 9 insertions(+), 5 deletions(-)
21564 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
21565 Author: John (J5) Palmieri <johnp@redhat.com>
21566 Date: Fri Mar 4 11:10:16 2011 -0500
21568 check for the py3 _thread module in configure.ac if thread is
21571 configure.ac | 6 +++++-
21572 1 file changed, 5 insertions(+), 1 deletion(-)
21574 commit 4645af87d3c587f535404867dab56608719e5c7b
21575 Author: John (J5) Palmieri <johnp@redhat.com>
21576 Date: Fri Mar 4 00:39:23 2011 -0500
21578 [gi-demos] add iconview demo
21580 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
21581 +++++++++++++++++++++++
21582 1 file changed, 212 insertions(+)
21584 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
21585 Author: John (J5) Palmieri <johnp@redhat.com>
21586 Date: Thu Mar 3 18:39:16 2011 -0500
21588 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
21590 * python < 2.6 does not allow sending in keyword litterals after
21592 *args. You can only send in **kwds.
21595 1 file changed, 1 insertion(+), 1 deletion(-)
21597 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
21598 Author: John (J5) Palmieri <johnp@redhat.com>
21599 Date: Thu Mar 3 18:30:40 2011 -0500
21601 [gi-demos] add the combobox with string ids section to the demos
21603 demos/gtk-demo/demos/combobox.py | 49
21604 +++++++++++++++++++++++++++++++++++++++-
21605 1 file changed, 48 insertions(+), 1 deletion(-)
21607 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
21608 Author: John (J5) Palmieri <johnp@redhat.com>
21609 Date: Thu Mar 3 16:47:51 2011 -0500
21611 [gi-overrides] add an override for Gdk.RGBA
21613 gi/overrides/Gdk.py | 18 ++++++++++++++++++
21614 tests/test_overrides.py | 10 ++++++++++
21615 2 files changed, 28 insertions(+)
21617 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
21618 Author: John (J5) Palmieri <johnp@redhat.com>
21619 Date: Thu Mar 3 16:10:17 2011 -0500
21621 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
21624 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
21625 1 file changed, 9 insertions(+), 14 deletions(-)
21627 commit cd046e4c355706ead5f512b810a2a48317f8c32e
21628 Author: John (J5) Palmieri <johnp@redhat.com>
21629 Date: Wed Mar 2 18:13:43 2011 -0500
21631 [gi-demos] add search entry demo
21633 demos/gtk-demo/demos/Entry/search_entry.py | 257
21634 +++++++++++++++++++++++++++++
21635 1 file changed, 257 insertions(+)
21637 commit d5ddaa92e6349c2f52b67317326060973cb69661
21638 Author: John (J5) Palmieri <johnp@redhat.com>
21639 Date: Wed Mar 2 15:37:27 2011 -0500
21641 [gi] wrap map in a list for Python 3 compat
21644 1 file changed, 1 insertion(+), 1 deletion(-)
21646 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
21647 Author: John (J5) Palmieri <johnp@redhat.com>
21648 Date: Tue Mar 1 14:52:00 2011 -0500
21650 [gi-demos] fix up the validation combobox
21652 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
21653 1 file changed, 15 insertions(+), 6 deletions(-)
21655 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
21656 Author: John (J5) Palmieri <johnp@redhat.com>
21657 Date: Tue Mar 1 12:31:35 2011 -0500
21659 add overridesdir variable in the .pc file for 3rd party overrides
21661 pygobject-2.0.pc.in | 1 +
21662 1 file changed, 1 insertion(+)
21664 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
21665 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21666 Date: Fri Feb 11 17:14:11 2011 +0100
21668 setup.py: Set bdist_wininst user-access-control property
21671 1 file changed, 2 insertions(+), 1 deletion(-)
21673 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
21674 Author: Martin Pitt <martin.pitt@ubuntu.com>
21675 Date: Wed Mar 2 16:29:00 2011 +0100
21677 Fix uninitialized variable in gi.require_version()
21679 gi/__init__.py | 3 ++-
21680 1 file changed, 2 insertions(+), 1 deletion(-)
21682 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
21683 Author: Martin Pitt <martin.pitt@ubuntu.com>
21684 Date: Tue Mar 1 23:26:07 2011 +0100
21686 Run tests with LC_MESSAGES="C"
21688 Some tests, such as tests/test_gdbus.py check parts of error messages
21690 visible strings. Ensure that these do not get translated in the
21693 tests/runtests.py | 2 ++
21694 1 file changed, 2 insertions(+)
21696 commit 0461e05174637ae02f34029b85ba217d5ae48c53
21697 Author: John (J5) Palmieri <johnp@redhat.com>
21698 Date: Mon Feb 28 18:21:43 2011 -0500
21700 [gi-overrides] override Gtk.stock_lookup to not return success
21702 demos/gtk-demo/demos/combobox.py | 2 +-
21703 gi/overrides/Gtk.py | 9 +++++++++
21704 2 files changed, 10 insertions(+), 1 deletion(-)
21706 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
21707 Author: John (J5) Palmieri <johnp@redhat.com>
21708 Date: Mon Feb 28 14:16:00 2011 -0500
21710 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
21713 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
21714 1 file changed, 50 insertions(+)
21716 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
21717 Author: John (J5) Palmieri <johnp@redhat.com>
21718 Date: Mon Feb 28 14:08:05 2011 -0500
21720 [gi-tests] use Gdk.test_simulate_button instead of emitting event
21723 * this function is available specifically so we can test events so
21725 instead of creating our own button press event
21727 tests/test_overrides.py | 9 +++++----
21728 1 file changed, 5 insertions(+), 4 deletions(-)
21730 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
21731 Author: Laszlo Pandy <lpandy@src.gnome.org>
21732 Date: Thu Feb 24 19:30:32 2011 +0100
21734 [gi-tests] tests for EventButton override.
21736 * John (J5) Palmieri - fixed up original patch so that we actually
21737 emit the event instead of just creating a Gdk.ButtonEvent object
21739 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21741 tests/test_overrides.py | 21 +++++++++++++++++++++
21742 1 file changed, 21 insertions(+)
21744 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
21745 Author: John (J5) Palmieri <johnp@redhat.com>
21746 Date: Wed Feb 23 18:43:27 2011 -0500
21748 [gi-overrides] Add event methods to all event union members
21750 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21752 gi/overrides/Gdk.py | 70
21753 +++++++++++++++++++++++++++++++++++++++++++++++++++++
21754 1 file changed, 70 insertions(+)
21756 commit 6e30c69d38fd382414eb820097c297a80be547ac
21757 Author: John (J5) Palmieri <johnp@redhat.com>
21758 Date: Wed Feb 23 14:14:16 2011 -0500
21760 [gi] check to see if object is a member of a union when validating
21763 * union members are not subclasses of the union they belong to so
21765 inteface requires you pass a union but you pass one of its members
21766 there will be a type error
21767 * this patch checks to see if the type you are passing is a member
21769 union and passes the checks if it is
21770 * this works in python 3 but in python 2 methods do their own
21772 check on the instance parameter (e.g. self) so we need to figure
21773 out how to override that for union methods
21774 (e.g. Gdk.Event.get_state)
21776 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21778 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
21779 1 file changed, 38 insertions(+)
21781 commit 525f21d1365c24488b768955362085bf82512dee
21782 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21783 Date: Wed Feb 16 09:44:12 2011 +0100
21785 Skip interfaces when checking for conflicts in the MRO
21787 https://bugzilla.gnome.org/show_bug.cgi?id=642437
21789 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
21790 gobject/gobjectmodule.c | 9 +++++++--
21791 tests/test_gi.py | 16 ++++++++++++++++
21792 3 files changed, 63 insertions(+), 2 deletions(-)
21794 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
21795 Author: Laszlo Pandy <lpandy@src.gnome.org>
21796 Date: Thu Feb 24 18:46:15 2011 +0100
21798 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
21801 gi/importer.py | 2 +-
21802 gi/module.py | 2 +-
21803 2 files changed, 2 insertions(+), 2 deletions(-)
21805 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
21806 Author: Laszlo Pandy <lpandy@src.gnome.org>
21807 Date: Wed Feb 23 12:05:03 2011 +0100
21809 Test case with John's fix for crash with C arrays and a GError is set.
21811 I have added a test case, and made a few fixes to John's patch,
21813 solution is the same his.
21815 Workaround a bug when freeing C array types
21817 * This is a hack and there is really no way around it without
21819 the current array handling code which spans between pygi-invoke.c
21821 pygi-argument.c and completely rewriting it.
21822 * The is no time before our stable release
21823 * This patch trades a segfault for a leak in the very unusual
21825 an error occures inside an interface that takes one or more C
21827 we wrap C arrays in GArrays internally but have to unwrap them
21829 to the introspected C function, there is a period of time where
21831 can occure with the C array in an unknown state (some being true
21833 and others still wrapped in a GArray)
21834 * This patch adds a c_arrays_are_wrapped state to signal that it
21836 free them. However since c_arrays_are_wrapped can only track
21838 as a group, not individually, if it is set to FALSE we can
21840 that every array is a pure C array, so instead we will simply
21842 to avoid incorrectly freeing one and causing a segfault.
21843 * This issue is fixed in the invoke rewrite branch as it treats
21845 GArrays separately, however that branch is not yet ready to be
21847 won't be until the next release.
21849 https://bugzilla.gnome.org/show_bug.cgi?id=642708
21851 gi/pygi-invoke.c | 54
21852 ++++++++++++++++++++++++++++++++++++++++++++++++++----
21853 tests/test_gi.py | 9 +++++++++
21854 2 files changed, 59 insertions(+), 4 deletions(-)
21856 commit 702a89beca92cab6b0142829b20281b9245f28b8
21857 Author: John (J5) Palmieri <johnp@redhat.com>
21858 Date: Wed Feb 23 15:11:59 2011 -0500
21860 [gi-overrides] fix setting rows in treeview to accept None as a value
21862 * as done in PyGTK None indicates the column should not be set
21864 gi/overrides/Gtk.py | 3 +++
21865 tests/test_overrides.py | 18 +++++++++++++-----
21866 2 files changed, 16 insertions(+), 5 deletions(-)
21868 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
21869 Author: Laszlo Pandy <lpandy@src.gnome.org>
21870 Date: Wed Feb 23 14:23:19 2011 +0100
21872 [gi] Add value_name for enum and flags from introspection
21873 "c:identifier" (if attr is available).
21875 gi/gimodule.c | 22 ++++++++++++++++++----
21876 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
21877 2 files changed, 54 insertions(+), 4 deletions(-)
21879 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
21880 Author: Laszlo Pandy <lpandy@src.gnome.org>
21881 Date: Wed Feb 23 11:40:55 2011 +0100
21883 Fix flags with multiple names for the same value.
21885 Flags constructs a dict __flags_values__ and uses it to cache
21886 instances. However some flags in Glib such as G_IO_FLAG_MASK and
21887 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
21888 override each other's place in the dictionary.
21890 The dict length check is not necessary. It only reduces the number
21891 of duplicate instances we keep, because if an instance is not
21892 found in the dict, a new one is created anyway.
21894 gobject/pygflags.c | 2 +-
21895 1 file changed, 1 insertion(+), 1 deletion(-)
21897 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
21898 Author: Laszlo Pandy <lpandy@src.gnome.org>
21899 Date: Tue Feb 22 21:37:33 2011 +0100
21901 Don't force loading of DynamicModule until set in sys.modules
21903 This fixes Tomeu's previous commit, which removed lazy loading.
21904 Forcing the loading of a module before it is installed in sys.modules
21905 prevents some overrides from being registered (namely Gtk.main_quit).
21907 https://bugzilla.gnome.org/show_bug.cgi?id=642305
21909 gi/importer.py | 2 +-
21910 1 file changed, 1 insertion(+), 1 deletion(-)
21912 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
21913 Author: John (J5) Palmieri <johnp@redhat.com>
21914 Date: Mon Feb 21 17:20:57 2011 -0500
21916 use GValue support to marshal GtkTreeModel values correctly
21918 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
21920 https://bugzilla.gnome.org/show_bug.cgi?id=642921
21922 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
21923 tests/test_overrides.py | 87
21924 +++++++++++++++++++++++++++++++++++++++++--------
21925 2 files changed, 107 insertions(+), 17 deletions(-)
21927 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
21928 Author: John (J5) Palmieri <johnp@redhat.com>
21929 Date: Mon Feb 21 16:14:20 2011 -0500
21931 [gi] pass raw GValues instead of trying to marshal them
21933 * Right now GValues are transparent to the user but this leave us no
21934 way to describe fundimental types other than those supported
21936 by python (e.g. int, str, etc)
21937 * If an interface is expecting a uint or other GValue type a user
21939 the raw GValue interfaces and expect paramaters that take
21941 marshal them correctly e.g.:
21942 value = GObject.Value()
21943 value.int(GObject.TYPE_UINT)
21944 value.set_uint(1234)
21945 * The objective here is to not for users to use this API but for
21947 to be able to utilize them. For instance in the TreeModel API
21949 get the expected type for a column and them create a GValue with
21951 type so that he underlying python object is marshalled correctly.
21953 https://bugzilla.gnome.org/show_bug.cgi?id=642914
21955 gi/pygi-argument.c | 24 ++++++++++++++++++------
21956 tests/test_gi.py | 9 ++++++++-
21957 2 files changed, 26 insertions(+), 7 deletions(-)
21959 commit b458f6f3424a04f6ceece09d443009372d70544c
21960 Author: John (J5) Palmieri <johnp@redhat.com>
21961 Date: Sat Feb 19 19:42:41 2011 -0500
21963 [gi-demos] add icon view edit and drag-and-drop demo
21965 demos/gtk-demo/demos/Icon View/__init__.py | 0
21966 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
21967 +++++++++++++++++++++++++
21968 2 files changed, 101 insertions(+)
21970 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
21971 Author: John (J5) Palmieri <johnp@redhat.com>
21972 Date: Sat Feb 19 17:26:42 2011 -0500
21974 [gi-demos] add info bars demo
21976 demos/gtk-demo/demos/infobars.py | 99
21977 ++++++++++++++++++++++++++++++++++++++++
21978 1 file changed, 99 insertions(+)
21980 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
21981 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21982 Date: Wed Feb 16 11:53:18 2011 +0100
21984 Load typelibs at import time, add gi.require_version()
21986 also adds Repository.get_loaded_namespaces()
21988 https://bugzilla.gnome.org/show_bug.cgi?id=642305
21990 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
21991 gi/importer.py | 1 +
21992 gi/module.py | 21 ++++-----------------
21993 gi/pygi-repository.c | 23 +++++++++++++++++++++++
21994 4 files changed, 56 insertions(+), 18 deletions(-)
21996 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
21997 Author: Laszlo Pandy <lpandy@src.gnome.org>
21998 Date: Sat Feb 19 23:11:25 2011 +0100
22000 [gi] Register GType for non-GType enums and flags at runtime.
22002 Note: rebuild of gobject-introspection is required for new tests.
22004 Previously non-GType enums used a separate type implemented in
22005 Python, and non-GType flags had no implementation at all. This
22006 removes the separate type for enums, and registers a new GType at
22007 runtime if there isn't one.
22009 This allows non-GType enums and flags to use the same Python type
22010 as GType enums and flags. This removes duplication of code, and
22011 make both kinds behave identically.
22013 https://bugzilla.gnome.org/show_bug.cgi?id=642607
22015 gi/gimodule.c | 117
22016 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22017 gi/module.py | 24 ++++++-----
22018 gi/pygi-info.c | 15 +++++++
22019 gi/types.py | 16 --------
22020 gobject/pygflags.c | 13 ++++--
22021 tests/test_gi.py | 35 ++++++++++++++++
22022 6 files changed, 191 insertions(+), 29 deletions(-)
22024 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
22025 Author: Martin Pitt <martin.pitt@ubuntu.com>
22026 Date: Tue Feb 8 15:38:21 2011 +0100
22028 [gi] Add Pythonic gdbus method invocation
22030 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
22032 Python object. This will handle the Python object <-> GVariant
22034 optional keyword arguments for flags, timeout, and a result handler
22036 asynchronous calls.
22038 Require specifying the input argument signature as the first argument
22040 method call. This ensures that the types of e. g. integers are
22042 and avoids having to do expensive D-Bus introspection for each call.
22044 https://bugzilla.gnome.org/show_bug.cgi?id=640181
22046 gi/overrides/Gio.py | 99
22047 ++++++++++++++++++++++++++++++++++++++++++++++++++
22048 tests/test_gdbus.py | 102
22049 ++++++++++++++++++++++++++++++++++++++++++++++++++--
22050 2 files changed, 199 insertions(+), 2 deletions(-)
22052 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
22053 Author: Laszlo Pandy <lpandy@src.gnome.org>
22054 Date: Fri Feb 18 22:48:59 2011 +0100
22056 Skip GError out parameters in Python closure.
22058 Python code should have never have to explicitely return a GError.
22059 Once we are able to marshal exceptions the Python code should
22060 throw an exception instead. Until then, set GError to NULL, and
22061 don't complain if a Python function doesn't return an arg for it.
22063 https://bugzilla.gnome.org/show_bug.cgi?id=642715
22065 gi/pygi-closure.c | 8 ++++++++
22066 1 file changed, 8 insertions(+)
22068 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
22069 Author: Laszlo Pandy <lpandy@src.gnome.org>
22070 Date: Fri Feb 18 10:15:59 2011 +0100
22072 Fix runtests.py to work with Python3 (print function syntax error).
22074 tests/runtests.py | 2 +-
22075 1 file changed, 1 insertion(+), 1 deletion(-)
22077 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
22078 Author: John (J5) Palmieri <johnp@redhat.com>
22079 Date: Thu Feb 17 19:46:49 2011 -0500
22081 [gi-demos] added rotate text demo
22083 * needs some Pango Attr fixes to be 100% done, See FIXME
22085 demos/gtk-demo/demos/rotatedtext.py | 196
22086 ++++++++++++++++++++++++++++++++++++
22087 1 file changed, 196 insertions(+)
22089 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
22090 Author: John (J5) Palmieri <johnp@redhat.com>
22091 Date: Thu Feb 17 17:25:00 2011 -0500
22093 [gi-demos] add images demo
22095 * needs annotation fix from GdkPixbuf for ImageLoader to work
22097 demos/gtk-demo/demos/images.py | 311
22098 +++++++++++++++++++++++++++++++++++++++++
22099 1 file changed, 311 insertions(+)
22101 commit 13b06170b89b3468e6255be32af4833ffc675c9d
22102 Author: John (J5) Palmieri <johnp@redhat.com>
22103 Date: Thu Feb 17 14:48:24 2011 -0500
22105 [gi-demos] add pixbuf demo
22107 demos/gtk-demo/demos/pixbuf.py | 183
22108 +++++++++++++++++++++++++++++++++++++++++
22109 1 file changed, 183 insertions(+)
22111 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
22112 Author: John (J5) Palmieri <johnp@redhat.com>
22113 Date: Thu Feb 17 14:47:12 2011 -0500
22115 [gi-demos] remove fixmes from print demo, fixed in pango
22117 demos/gtk-demo/demos/printing.py | 10 +++-------
22118 1 file changed, 3 insertions(+), 7 deletions(-)
22120 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
22121 Author: John (J5) Palmieri <johnp@redhat.com>
22122 Date: Wed Feb 16 19:39:30 2011 -0500
22124 [gi-demos] add printing demo
22126 * needs some annotations for pango before it is 100% useful
22128 demos/gtk-demo/demos/printing.py | 177
22129 +++++++++++++++++++++++++++++++++++++++
22130 1 file changed, 177 insertions(+)
22132 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
22133 Author: John (J5) Palmieri <johnp@redhat.com>
22134 Date: Wed Feb 16 17:52:38 2011 -0500
22136 [gi-overrides] add cursor overrides
22138 https://bugzilla.gnome.org/show_bug.cgi?id=635947
22140 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
22141 tests/test_overrides.py | 23 +++++++++++++++++++++++
22142 2 files changed, 64 insertions(+)
22144 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
22145 Author: John (J5) Palmieri <johnp@redhat.com>
22146 Date: Wed Feb 16 16:18:24 2011 -0500
22148 [gi-demos] add the links demo
22150 demos/gtk-demo/demos/links.py | 74
22151 +++++++++++++++++++++++++++++++++++++++++++
22152 1 file changed, 74 insertions(+)
22154 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
22155 Author: John (J5) Palmieri <johnp@redhat.com>
22156 Date: Wed Feb 16 15:48:40 2011 -0500
22158 [gi-demos] add expander demo
22160 demos/gtk-demo/demos/expander.py | 60
22161 ++++++++++++++++++++++++++++++++++++++++
22162 1 file changed, 60 insertions(+)
22164 commit 76cdb13ab872f91f8384d26b0f2932087a746117
22165 Author: John (J5) Palmieri <johnp@redhat.com>
22166 Date: Wed Feb 16 15:14:35 2011 -0500
22168 [gi-overrides] use pop instead of del and add extra tests for
22171 gi/overrides/Gtk.py | 6 ++----
22172 tests/test_overrides.py | 8 ++++++++
22173 2 files changed, 10 insertions(+), 4 deletions(-)
22175 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
22176 Author: Laszlo Pandy <lpandy@src.gnome.org>
22177 Date: Tue Feb 15 20:07:42 2011 +0100
22179 [tests] Separate processes for GI and static binding tests.
22181 Importing and using both static gobject bindings and
22182 introspection GObject bindings in the same process can cause
22183 conflicts with types which otherwise wouldn't be there.
22185 This patch changes "make check" to call runtests.py twice -- once
22186 for each set of tests.
22188 In the case of a test failure, runtests.py now sets the exit code
22189 so that make does not continue. Otherwise you might miss the
22190 failures from the first batch of tests in the scrollback.
22192 tests/Makefile.am | 19 +++++++++++--------
22193 tests/runtests.py | 4 +++-
22194 2 files changed, 14 insertions(+), 9 deletions(-)
22196 commit e0896b45f60f37097ec521f1bc38778383b78dd8
22197 Author: John (J5) Palmieri <johnp@redhat.com>
22198 Date: Tue Feb 15 14:47:10 2011 -0500
22200 [gi-demos] add dialogs demo
22202 demos/gtk-demo/demos/dialogs.py | 153
22203 ++++++++++++++++++++++++++++++++++++++++
22204 1 file changed, 153 insertions(+)
22206 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
22207 Author: John (J5) Palmieri <johnp@redhat.com>
22208 Date: Tue Feb 15 14:46:41 2011 -0500
22210 [gi-overrides] fix typo in GtkTable constructor
22212 gi/overrides/Gtk.py | 8 ++++----
22213 1 file changed, 4 insertions(+), 4 deletions(-)
22215 commit 9c277e1782c5a9d672d91fabf5289c5415891682
22216 Author: John (J5) Palmieri <johnp@redhat.com>
22217 Date: Tue Feb 15 13:26:38 2011 -0500
22219 [gi-demos] keep popup menu from destroying itself by holding a ref
22222 demos/gtk-demo/demos/clipboard.py | 8 ++++----
22223 1 file changed, 4 insertions(+), 4 deletions(-)
22225 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
22226 Author: John (J5) Palmieri <johnp@redhat.com>
22227 Date: Tue Feb 15 13:25:13 2011 -0500
22229 [gi-overrides] add a Gtk.Menu override for the popup method
22231 gi/overrides/Gtk.py | 7 +++++++
22232 1 file changed, 7 insertions(+)
22234 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
22235 Author: John (J5) Palmieri <johnp@redhat.com>
22236 Date: Tue Feb 15 13:24:33 2011 -0500
22238 [gi-demos] fix the about dialog in appwindow demo
22240 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
22241 1 file changed, 9 insertions(+), 13 deletions(-)
22243 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
22244 Author: John (J5) Palmieri <johnp@redhat.com>
22245 Date: Tue Feb 15 11:21:13 2011 -0500
22247 [gi-demos] fix clipboard demo so DnD works
22249 * menu popups don't work because the API takes a callback without
22253 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
22254 1 file changed, 10 insertions(+), 10 deletions(-)
22256 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
22257 Author: John (J5) Palmieri <johnp@redhat.com>
22258 Date: Tue Feb 15 10:18:53 2011 -0500
22260 [gi-demos] fix clipboard demo to reflect new API
22262 demos/gtk-demo/demos/clipboard.py | 6 +++---
22263 1 file changed, 3 insertions(+), 3 deletions(-)
22265 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
22266 Author: John (J5) Palmieri <johnp@redhat.com>
22267 Date: Mon Feb 14 18:17:20 2011 -0500
22269 [gi-demo] Fix color dialog demo to run with new draw, style and
22272 demos/gtk-demo/demos/colorselector.py | 44
22273 ++++++++++++++---------------------
22274 1 file changed, 17 insertions(+), 27 deletions(-)
22276 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
22277 Author: John (J5) Palmieri <johnp@redhat.com>
22278 Date: Mon Feb 14 17:58:25 2011 -0500
22280 [gi-demos] fix most of the combobox app
22282 * Still having some issues with filtering the ComboBoxText widget
22284 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
22285 1 file changed, 8 insertions(+), 9 deletions(-)
22287 commit 3606eb20ad1651af621bf1aa429ec102082565eb
22288 Author: Laszlo Pandy <lpandy@src.gnome.org>
22289 Date: Mon Feb 14 19:36:27 2011 +0100
22291 Use PyGI type conversion (to fix foreign types) for signal callbacks.
22293 First attempt at patch to fix foreign types in signal callbacks.
22294 Tests are not implemented yet.
22296 https://bugzilla.gnome.org/show_bug.cgi?id=637601
22298 gi/Makefile.am | 2 +
22299 gi/gimodule.c | 1 +
22300 gi/pygi-argument.c | 91 ++++++++++++++++++
22301 gi/pygi-argument.h | 2 +
22302 gi/pygi-private.h | 1 +
22303 gi/pygi-signal-closure.c | 245
22304 +++++++++++++++++++++++++++++++++++++++++++++++
22305 gi/pygi-signal-closure.h | 46 +++++++++
22306 gi/pygi.h | 28 ++++++
22307 gobject/pygobject.c | 24 ++++-
22308 9 files changed, 436 insertions(+), 4 deletions(-)
22310 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
22311 Author: John (J5) Palmieri <johnp@redhat.com>
22312 Date: Mon Feb 14 16:47:03 2011 -0500
22314 [gi-demos] fix drawingarea app to use the new draw api
22316 demos/gtk-demo/demos/drawingarea.py | 144
22317 +++++++++++++-----------------------
22318 1 file changed, 50 insertions(+), 94 deletions(-)
22320 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
22321 Author: John (J5) Palmieri <johnp@redhat.com>
22322 Date: Mon Feb 14 16:43:35 2011 -0500
22324 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
22326 * note this is the introspected gobject-cairo boxed type not the
22329 * we alias this so people do not get confused
22331 gi/overrides/Gdk.py | 5 +++++
22332 1 file changed, 5 insertions(+)
22334 commit d491c369e049ab726f09002af0462391d5c2f3ec
22335 Author: John (J5) Palmieri <johnp@redhat.com>
22336 Date: Mon Feb 14 15:07:11 2011 -0500
22338 [gi-overrides] let user set the proper property names in Gtk.Table
22340 * the old override added a columns and rows parameters to the Table
22342 to be in sync with PyGtk.
22343 * The GTK properties are n_columns and n_rows
22346 gi/overrides/Gtk.py | 8 ++++++++
22347 1 file changed, 8 insertions(+)
22349 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
22350 Author: John (J5) Palmieri <johnp@redhat.com>
22351 Date: Mon Feb 14 15:06:38 2011 -0500
22353 [gi-demos] get appwindow demo working again
22355 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
22356 1 file changed, 4 insertions(+), 20 deletions(-)
22358 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
22359 Author: John (J5) Palmieri <johnp@redhat.com>
22360 Date: Mon Feb 14 15:05:44 2011 -0500
22362 [gi-demos] fixed use of tree_iter_get
22364 demos/gtk-demo/gtk-demo.py | 2 +-
22365 1 file changed, 1 insertion(+), 1 deletion(-)
22367 commit 0c20977e4598e5447dd07c069e91226efacb1160
22368 Author: Simon van der Linden <svdlinden@gnome.org>
22369 Date: Fri Feb 11 22:02:03 2011 +0100
22371 Remove last GIO-related bits
22373 https://bugzilla.gnome.org/show_bug.cgi?id=638899
22377 configure.ac | 3 --
22378 examples/gio/directory-async.py | 33 ------------------
22379 examples/gio/downloader.py | 77
22380 -----------------------------------------
22381 pygobject.doap | 2 +-
22382 6 files changed, 3 insertions(+), 117 deletions(-)
22384 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
22385 Author: Simon van der Linden <svdlinden@gnome.org>
22386 Date: Fri Feb 11 18:38:27 2011 +0100
22388 Remove GIO documentation
22390 https://bugzilla.gnome.org/show_bug.cgi?id=638899
22392 docs/Makefile.am | 82 +-
22393 docs/reference/pygio-appinfo.xml | 894 -----
22394 docs/reference/pygio-applaunchcontext.xml | 194 --
22395 docs/reference/pygio-asyncresult.xml | 117 -
22396 docs/reference/pygio-bufferedinputstream.xml | 461 ---
22397 docs/reference/pygio-bufferedoutputstream.xml | 275 --
22398 docs/reference/pygio-cancellable.xml | 290 --
22399 docs/reference/pygio-classes.xml | 47 -
22400 docs/reference/pygio-constants.xml | 1540 ---------
22401 docs/reference/pygio-datainputstream.xml | 799 -----
22402 docs/reference/pygio-dataoutputstream.xml | 504 ---
22403 docs/reference/pygio-drive.xml | 546 ---
22404 docs/reference/pygio-emblem.xml | 232 --
22405 docs/reference/pygio-emblemedicon.xml | 160 -
22406 docs/reference/pygio-file.xml | 4534
22407 -------------------------
22408 docs/reference/pygio-fileattributeinfo.xml | 73 -
22409 docs/reference/pygio-fileenumerator.xml | 488 ---
22410 docs/reference/pygio-fileicon.xml | 109 -
22411 docs/reference/pygio-fileinfo.xml | 346 --
22412 docs/reference/pygio-fileinputstream.xml | 214 --
22413 docs/reference/pygio-filemonitor.xml | 128 -
22414 docs/reference/pygio-fileoutputstream.xml | 257 --
22415 docs/reference/pygio-filterinputstream.xml | 152 -
22416 docs/reference/pygio-filteroutputstream.xml | 152 -
22417 docs/reference/pygio-functions.xml | 395 ---
22418 docs/reference/pygio-icon.xml | 217 --
22419 docs/reference/pygio-inputstream.xml | 730 ----
22420 docs/reference/pygio-loadableicon.xml | 198 --
22421 docs/reference/pygio-memoryinputstream.xml | 151 -
22422 docs/reference/pygio-memoryoutputstream.xml | 175 -
22423 docs/reference/pygio-mount.xml | 962 ------
22424 docs/reference/pygio-mountoperation.xml | 726 ----
22425 docs/reference/pygio-outputstream.xml | 140 -
22426 docs/reference/pygio-seekable.xml | 231 --
22427 docs/reference/pygio-simpleasyncresult.xml | 317 --
22428 docs/reference/pygio-themedicon.xml | 204 --
22429 docs/reference/pygio-unixinputstream.xml | 202 --
22430 docs/reference/pygio-unixoutputstream.xml | 202 --
22431 docs/reference/pygio-volume.xml | 718 ----
22432 docs/reference/pygio-volumemonitor.xml | 844 -----
22433 docs/reference/pygiounix-classes.xml | 13 -
22434 docs/reference/pygobject-ref.xml | 2 -
22435 42 files changed, 1 insertion(+), 19020 deletions(-)
22437 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
22438 Author: John (J5) Palmieri <johnp@redhat.com>
22439 Date: Fri Feb 11 11:05:04 2011 -0500
22441 bump version to reflect the master branch moving towards pygobject 3.0
22443 * added NEWS file from branch pygobject-2-28
22445 * this branch will drop support for the static binding
22446 * use the pygobject-2-28 branch for static binding fixes
22449 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22450 configure.ac | 4 +-
22451 2 files changed, 291 insertions(+), 2 deletions(-)
22453 commit 16140237aa45b4f188923da9f95b9d2af971011b
22454 Author: John (J5) Palmieri <johnp@redhat.com>
22455 Date: Thu Feb 10 16:46:08 2011 -0500
22457 fix build to correctly use python-config
22460 configure.ac | 6 ------
22461 m4/python.m4 | 9 +++++----
22462 tests/runtests.py | 1 +
22463 4 files changed, 9 insertions(+), 10 deletions(-)
22465 commit c2079f415638ef892b1e51f25eaafa3e1621667f
22466 Author: Simon van der Linden <svdlinden@gnome.org>
22467 Date: Thu Feb 10 22:26:00 2011 +0100
22469 Add missing libraries to link against
22471 glib/Makefile.am | 2 +-
22472 gobject/Makefile.am | 1 +
22473 2 files changed, 2 insertions(+), 1 deletion(-)
22475 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
22476 Author: Steve Frécinaux <code@istique.net>
22477 Date: Wed Jan 19 15:00:56 2011 +0100
22479 Make runtests.py able to run command-line provided test files
22481 With this patch we are now able to run ./runtests.py <somefile>, which
22482 is more friendly than defining an environment variable to run some
22485 https://bugzilla.gnome.org/show_bug.cgi?id=639948
22487 tests/runtests.py | 9 +++++++++
22488 1 file changed, 9 insertions(+)
22490 commit 14c4cf8e6edae893538680964380d543bde4a14d
22491 Author: Martin Pitt <martin.pitt@ubuntu.com>
22492 Date: Wed Feb 9 11:34:59 2011 +0100
22494 Run test suite under dbus-launch
22496 When available, run the test suite in dbus-launch, so that the
22498 succeed even when building this in an environment without a running
22500 D-BUS (such as distribution package builds).
22502 tests/Makefile.am | 3 ++-
22503 1 file changed, 2 insertions(+), 1 deletion(-)
22505 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
22506 Author: Martin Pitt <martin.pitt@ubuntu.com>
22507 Date: Tue Feb 8 15:46:36 2011 +0100
22509 Fix test_gdbus.py to be Python3 friendly
22511 - TestCase.assert_() has been deprecated by assertTrue().
22512 - Exceptions don't have a message attribute any more, use str(e)
22514 tests/test_gdbus.py | 34 +++++++++++++++-------------------
22515 1 file changed, 15 insertions(+), 19 deletions(-)
22517 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
22518 Author: Martin Pitt <martin.pitt@ubuntu.com>
22519 Date: Sat Jan 29 12:20:50 2011 +0100
22521 [gi] Provide comfortable GSettings API
22523 Make Gio.Settings behave like a dictionary, with transparent
22525 GVariants. Also provide a more comfortable constructor.
22527 https://bugzilla.gnome.org/show_bug.cgi?id=640838
22529 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
22530 tests/org.gnome.test.gschema.xml | 9 +++++
22531 tests/test_overrides.py | 73
22532 ++++++++++++++++++++++++++++++++--------
22533 3 files changed, 122 insertions(+), 14 deletions(-)
22535 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
22536 Author: Laszlo Pandy <lpandy@src.gnome.org>
22537 Date: Fri Feb 4 16:36:07 2011 +0100
22539 Fix vfunc search bug when using GInterfaces and a do_* method.
22541 If a class inherits from a GInterface, as well as implements a do_*
22542 method (which is not in a super class), all the base interfaces
22543 will be searched for an __info__ attribute. GInterface doesn't
22544 have one, causing an error on class creation.
22546 https://bugzilla.gnome.org/show_bug.cgi?id=641493
22548 gi/types.py | 4 +++-
22549 tests/test_gi.py | 8 ++++++++
22550 2 files changed, 11 insertions(+), 1 deletion(-)
22552 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
22553 Author: Laszlo Pandy <lpandy@src.gnome.org>
22554 Date: Thu Feb 3 15:31:42 2011 +0100
22556 [GI] Add tests for Gtk.Widget.drag_* methods.
22558 Previously all the drag_* methods were accessible as Gtk.drag_*.
22559 Now that the (method) attribute has been included for these
22560 methods in Gtk+, this test checks that they are included as class
22561 methods when using pygobject introspection.
22563 https://bugzilla.gnome.org/show_bug.cgi?id=639945
22565 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
22566 1 file changed, 40 insertions(+)
22568 commit d57500537014b3da624be33b40401ba289fa22b8
22569 Author: John (J5) Palmieri <johnp@redhat.com>
22570 Date: Thu Feb 3 09:02:16 2011 -0500
22572 [gi] make caller allocates work again
22574 gi/pygi-cache.c | 18 +++---------------
22575 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
22576 2 files changed, 37 insertions(+), 18 deletions(-)
22578 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
22579 Author: John (J5) Palmieri <johnp@redhat.com>
22580 Date: Wed Feb 2 19:27:40 2011 -0500
22582 [gi] fix container object reffing
22584 gi/pygi-argument.c | 7 +++----
22585 gi/pygi-cache.c | 12 ++++--------
22586 2 files changed, 7 insertions(+), 12 deletions(-)
22588 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
22589 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22590 Date: Wed Feb 2 21:00:48 2011 +0100
22592 [python 3] use the right syntaxis to raise exceptions
22594 codegen/argtypes.py | 8 ++++----
22595 codegen/definitions.py | 14 +++++++-------
22596 gi/overrides/Gtk.py | 2 +-
22597 3 files changed, 12 insertions(+), 12 deletions(-)
22599 commit 36094e5982d3e05d5662843b6d401f0974f5235f
22600 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22601 Date: Wed Feb 2 20:50:12 2011 +0100
22603 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
22605 tests/testhelpermodule.c | 6 +++---
22606 1 file changed, 3 insertions(+), 3 deletions(-)
22608 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
22609 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22610 Date: Wed Feb 2 20:37:21 2011 +0100
22612 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
22614 This is to avoid some warnings when building with python 3
22616 gi/gimodule.c | 6 +++---
22617 1 file changed, 3 insertions(+), 3 deletions(-)
22619 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
22620 Author: Steve Frécinaux <code@istique.net>
22621 Date: Sat Jan 29 00:16:50 2011 +0100
22623 Fix wrong refcount when calling introspected widget constructors
22625 Introspected widget constructors, like Gtk.Button.new(), can return
22626 objects with a floating reference, which was then reffed by pygobject,
22627 resulting in two references, despite the object is not owned by
22630 This patch uses ref_sink() when pygobject takes its own reference, to
22631 avoid adding that extra reference. Hence we now claim ownership on
22632 objects returned by constructors with transfer=none (which is the case
22633 for nearly all the widget constructors, despite the floating ref).
22635 https://bugzilla.gnome.org/show_bug.cgi?id=640868
22637 gobject/pygobject.c | 4 +++-
22638 tests/test_everything.py | 9 ++++++++-
22639 2 files changed, 11 insertions(+), 2 deletions(-)
22641 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
22642 Author: Simon Schampijer <simon@laptop.org>
22643 Date: Wed Jan 19 16:19:46 2011 +0100
22645 Gdk.Window: Map the standard constructor to the *new* constructor
22647 Gdk.Window had to be made abstract
22648 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
22649 this override allows using the standard constructor
22651 This commit adds as well a testcase.
22653 https://bugzilla.gnome.org/show_bug.cgi?id=639936
22655 gi/overrides/Gdk.py | 6 ++++++
22656 tests/test_overrides.py | 8 ++++++++
22657 2 files changed, 14 insertions(+)
22659 commit 4a67f45880433905de33632fe0c32a13b44c0b33
22660 Author: John (J5) Palmieri <johnp@redhat.com>
22661 Date: Mon Jan 31 16:51:37 2011 -0500
22663 [gi] handle hash being NULL
22665 gi/pygi-argument.c | 6 ++++++
22666 1 file changed, 6 insertions(+)
22668 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
22669 Author: John (J5) Palmieri <johnp@redhat.com>
22670 Date: Mon Jan 31 16:50:52 2011 -0500
22672 [gi] handle the situation where an aux arg comes before its parent
22674 gi/pygi-cache.c | 70
22675 ++++++++++++++++++++++++++++++++++++++++----------------
22676 gi/pygi-invoke.c | 2 +-
22677 2 files changed, 51 insertions(+), 21 deletions(-)
22679 commit 858669f92c9907dd70b4966d6a8521ed122225be
22680 Author: Martin Pitt <martin.pitt@ubuntu.com>
22681 Date: Mon Jan 31 17:38:52 2011 +0100
22683 Ship tests/org.gnome.test.gschema.xml in dist tarballs
22685 tests/Makefile.am | 3 ++-
22686 1 file changed, 2 insertions(+), 1 deletion(-)
22688 commit 77d76df59606e470808085e977fb199cc76e8251
22689 Author: John (J5) Palmieri <johnp@redhat.com>
22690 Date: Sun Jan 30 18:21:24 2011 -0500
22692 [gi] allow caching and marshalling of ghash out
22694 gi/pygi-argument.c | 155
22695 +++++++++++++++++++++++++++++++++++++++++++++++++----
22696 gi/pygi-cache.c | 27 ++++++----
22697 2 files changed, 162 insertions(+), 20 deletions(-)
22699 commit bd66af67f248a3ca90d2fa2626605263c2392e16
22700 Author: John (J5) Palmieri <johnp@redhat.com>
22701 Date: Sun Jan 30 17:06:44 2011 -0500
22703 [gi] whitespace fixes
22705 gi/pygi-cache.c | 60
22706 ++++++++++++++++++++++++++++-----------------------------
22707 1 file changed, 30 insertions(+), 30 deletions(-)
22709 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
22710 Author: John (J5) Palmieri <johnp@redhat.com>
22711 Date: Sun Jan 30 17:04:13 2011 -0500
22713 [gi] added ugly aux arg counters
22715 * we need to simplify the ffi invoke so we can simply reference args
22716 at their position in the C parameter list
22717 * this works for now but is fragile if new aux values are added in
22720 gi/pygi-argument.c | 12 ++++++++--
22721 gi/pygi-cache.c | 66
22722 +++++++++++++++++++++++++++++++++++++-----------------
22723 gi/pygi-cache.h | 2 ++
22724 gi/pygi-invoke.c | 12 +++++++---
22725 4 files changed, 66 insertions(+), 26 deletions(-)
22727 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
22728 Author: John (J5) Palmieri <johnp@redhat.com>
22729 Date: Sun Jan 30 11:30:54 2011 -0500
22731 [gi] make inout marshalling work
22733 * refactor cache generation so we can create caches and then fill
22735 values based on if they are in, out or inout
22736 * in invoke we order the pointers based on their direction
22738 gi/pygi-cache.c | 1445
22739 ++++++++++++++++++++++++++----------------------------
22740 gi/pygi-invoke.c | 19 +-
22741 2 files changed, 711 insertions(+), 753 deletions(-)
22743 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
22744 Author: John (J5) Palmieri <johnp@redhat.com>
22745 Date: Sat Jan 29 13:49:36 2011 -0500
22747 [gi] marshal arrays out
22749 gi/pygi-argument.c | 101
22750 +++++++++++++++++++++++++++++++++++++++++++++++++++--
22751 1 file changed, 99 insertions(+), 2 deletions(-)
22753 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
22754 Author: John (J5) Palmieri <johnp@redhat.com>
22755 Date: Sat Jan 29 13:48:23 2011 -0500
22757 [gi] fix sequence caching to support out
22759 gi/pygi-cache.c | 111
22760 ++++++++++++++++++++++++++++++++++++++++++++------------
22761 1 file changed, 87 insertions(+), 24 deletions(-)
22763 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
22764 Author: Martin Pitt <martin.pitt@ubuntu.com>
22765 Date: Fri Jan 28 17:14:19 2011 +0100
22767 [gi] Add GSettings tests
22769 Ryan Lortie proposed an override for more convenient GSettings access,
22771 first make sure that the canonical GLib API works.
22773 tests/Makefile.am | 7 +++++--
22774 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
22775 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
22776 3 files changed, 52 insertions(+), 2 deletions(-)
22778 commit 488478a83640d50baee963337fcc870fec76b784
22779 Author: Martin Pitt <martin.pitt@ubuntu.com>
22780 Date: Fri Jan 28 07:20:26 2011 +0100
22782 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
22784 Provide an actual insert_with_tags_by_name() instead of overloading
22785 insert_with_tags() to handle both types. This keeps the overrides
22787 with the actual GTK API.
22789 gi/overrides/Gtk.py | 19 ++++++++++++++-----
22790 tests/test_overrides.py | 4 ++--
22791 2 files changed, 16 insertions(+), 7 deletions(-)
22793 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
22794 Author: Martin Pitt <martin.pitt@ubuntu.com>
22795 Date: Thu Jan 27 13:37:18 2011 +0100
22797 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
22799 Neither insert_with_tags() nor insert_with_tags_by_name() are
22801 due to using varargs. As both are useful, support both cases in
22804 gi/overrides/Gtk.py | 5 +++++
22805 tests/test_overrides.py | 9 +++++++++
22806 2 files changed, 14 insertions(+)
22808 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
22809 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22810 Date: Thu Jan 27 12:23:18 2011 +0100
22812 Add MAINTAINERCLEANFILES
22814 This var behaves like .gitignore and allows us to skip some specific
22817 Makefile.am | 27 +++++++++++++++++++++++++++
22818 1 file changed, 27 insertions(+)
22820 commit 8a98d26981ce68809a21c64cac4962e58c927905
22821 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22822 Date: Thu Jan 27 12:15:30 2011 +0100
22824 Remove .gitignore files and use git.mk
22826 git.mk is a script maintained in pango. From time to time we must
22827 check if it was updated and update it here.
22829 .gitignore | 46 -----------
22831 codegen/.gitignore | 2 -
22832 codegen/Makefile.am | 2 +
22833 docs/.gitignore | 7 --
22834 docs/Makefile.am | 2 +
22835 examples/Makefile.am | 2 +
22836 gi/.gitignore | 40 ----------
22837 gi/Makefile.am | 2 +
22838 gi/overrides/Makefile.am | 2 +
22839 gi/repository/Makefile.am | 2 +
22840 gi/tests/Makefile.am | 2 +
22842 ++++++++++++++++++++++++++++++++++++++++++++++
22843 glib/Makefile.am | 2 +
22844 gobject/.gitignore | 3 -
22845 gobject/Makefile.am | 2 +
22846 tests/.gitignore | 2 -
22847 tests/Makefile.am | 2 +
22848 18 files changed, 222 insertions(+), 100 deletions(-)
22850 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
22851 Author: Martin Pitt <martin.pitt@ubuntu.com>
22852 Date: Thu Jan 27 12:04:19 2011 +0100
22854 pygi-convert.sh: Convert Pango.TabAlign.*
22856 pygi-convert.sh | 1 +
22857 1 file changed, 1 insertion(+)
22859 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
22860 Author: Martin Pitt <martin.pitt@ubuntu.com>
22861 Date: Thu Jan 27 12:02:39 2011 +0100
22863 pygi-convert.sh: Drop window -> get_window() conversion
22865 It is doing more harm than good for projects which use things like
22868 pygi-convert.sh | 1 -
22869 1 file changed, 1 deletion(-)
22871 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
22872 Author: Martin Pitt <martin.pitt@ubuntu.com>
22873 Date: Thu Jan 27 11:58:26 2011 +0100
22875 pygi-convert.sh: Don't convert self.window assignments
22877 pygi-convert.sh | 2 +-
22878 1 file changed, 1 insertion(+), 1 deletion(-)
22880 commit 975341a26772966d4afc87a88a6a566d61237fa0
22881 Author: Steve Frécinaux <code@istique.net>
22882 Date: Fri Jan 21 18:41:54 2011 +0100
22884 Fix leaked python reference in python-defined subclasses
22886 https://bugzilla.gnome.org/show_bug.cgi?id=640184
22888 gobject/gobjectmodule.c | 1 +
22889 tests/test_gobject.py | 4 ++++
22890 2 files changed, 5 insertions(+)
22892 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
22893 Author: Steve Frécinaux <code@istique.net>
22894 Date: Fri Jan 21 15:54:43 2011 +0100
22896 Add some tests for the number of python refs held at creation time
22898 https://bugzilla.gnome.org/show_bug.cgi?id=640184
22900 tests/test_gobject.py | 21 +++++++++++++++++++++
22901 1 file changed, 21 insertions(+)
22903 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
22904 Author: Steve Frécinaux <code@istique.net>
22905 Date: Fri Jan 21 17:24:49 2011 +0100
22907 Factor out parameter marshalling from construction functions.
22909 https://bugzilla.gnome.org/show_bug.cgi?id=640197
22911 gobject/gobjectmodule.c | 35 ++--------------------
22912 gobject/pygobject-private.h | 5 ++++
22913 gobject/pygobject.c | 71
22914 +++++++++++++++++++++++++++------------------
22915 3 files changed, 50 insertions(+), 61 deletions(-)
22917 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
22918 Author: John (J5) Palmieri <johnp@redhat.com>
22919 Date: Wed Jan 26 15:34:24 2011 -0500
22921 [gi] in python 3 an array of uint8 can be bytes but not string
22923 tests/test_gi.py | 4 +++-
22924 1 file changed, 3 insertions(+), 1 deletion(-)
22926 commit 843553ea958eddec185bb660851a310dc050a14b
22927 Author: John (J5) Palmieri <johnp@redhat.com>
22928 Date: Wed Jan 26 15:30:06 2011 -0500
22930 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
22932 gi/overrides/Gio.py | 6 +++++-
22933 1 file changed, 5 insertions(+), 1 deletion(-)
22935 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
22936 Author: John (J5) Palmieri <johnp@redhat.com>
22937 Date: Wed Jan 26 15:17:03 2011 -0500
22939 [gi] python 3 fixes
22941 Patches need to work in Python 3 - here are some of the issues I
22943 Patch submitters should keep this in mind. When I note to only
22945 in tests it means that there is a compat module that is only available
22947 tests. Actuall code should either add the workaround to the top
22949 module or try not to have a distinction between things such as
22951 longs which no longer exist in Python 3
22953 * use range instead of xrange - loss of performance in Python 2 but
22955 treats range similarly to python 2's xrange
22956 * use dict.items() instead of dict.iteritems() - same as the xrange
22958 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
22960 if sys.version_info > (3, 0):
22962 return hasattr(obj, '__call__')
22964 * using unicode in tests is tricky, you can't use u'' even in
22966 conditional as python3's parser chokes on it. Do this in tests
22970 from compathelper import _unicode
22971 unicode_string = _unicode('this is a unicode string')
22973 * exception caching changed in 2.7, instead of except Exception,
22975 except Exception as e. Do this to be compatible with older
22979 etype, e = sys.exc_info()[:2]
22981 * Unbound methods with an im_func attribute no longer exits in 3.x.
22982 Unbound methods are now just functions so class.method in 3.x is
22983 equivalent to class.method.im_func in 2.x. If you have to go this
22986 func = class1.method
22987 if sys.version_info < (3,0):
22988 func = func.im_func
22990 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
22991 only in tests) do this:
22993 from compathelper import _long
22996 gi/overrides/GLib.py | 16 ++++++++--------
22997 gi/types.py | 5 ++++-
22998 tests/compathelper.py | 19 +++++++++++++++++++
22999 tests/test_gdbus.py | 12 ++++++++----
23000 tests/test_gi.py | 19 ++++++++++++-------
23001 tests/test_overrides.py | 8 +++++---
23002 6 files changed, 56 insertions(+), 23 deletions(-)
23004 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
23005 Author: John (J5) Palmieri <johnp@redhat.com>
23006 Date: Wed Jan 26 14:00:08 2011 -0500
23008 [gi] fix try/except blocks using depricated raise format
23010 gi/overrides/GLib.py | 4 ++--
23011 gi/overrides/Gdk.py | 2 +-
23012 2 files changed, 3 insertions(+), 3 deletions(-)
23014 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
23015 Author: Martin Pitt <martin.pitt@ubuntu.com>
23016 Date: Wed Jan 26 19:03:48 2011 +0100
23018 [gi] Add docstring to GLib.Variant constructor
23020 gi/overrides/GLib.py | 11 +++++++++++
23021 1 file changed, 11 insertions(+)
23023 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
23024 Author: Martin Pitt <martin.pitt@ubuntu.com>
23025 Date: Wed Jan 26 18:45:38 2011 +0100
23027 [gi] update gdbus test cases for previous GVariant change
23029 tests/test_gdbus.py | 4 ++--
23030 1 file changed, 2 insertions(+), 2 deletions(-)
23032 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
23033 Author: Martin Pitt <martin.pitt@ubuntu.com>
23034 Date: Wed Jan 26 18:39:17 2011 +0100
23036 [gi] Accept only a single object in GLib.Variant constructor
23038 We previously allowed flat arguments for tuple signatures, e. g.
23040 GLib.Variant('(ii)', 1, 2)
23042 However, that's not how GVariant is supposed to work. Remove the
23044 to handle flat argument lists, and only accept a single value, i. e.
23046 GLib.Variant('(ii)', (1, 2))
23048 Note that this breaks the current API, but as it is not used widely
23052 Thanks to Ryan Lortie for pointing this out!
23054 gi/overrides/GLib.py | 25 ++++++++++---------------
23055 tests/test_overrides.py | 32 +++++++++++++-------------------
23056 2 files changed, 23 insertions(+), 34 deletions(-)
23058 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
23059 Author: Laszlo Pandy <lpandy@src.gnome.org>
23060 Date: Wed Jan 26 00:40:49 2011 +0100
23062 Speed up _setup_native_vfuncs()
23064 This changes _setup_native_vfuncs() to only install native
23065 vfunc wrappers from the current class on the current class.
23066 Native vfuncs will not be propogated up or down the class
23067 hierarchy as this is unnecessary and wastes CPU and memory.
23069 Since the normal process in python to retrieve a method or
23070 attribute recurses to the base classes if an attribute is not
23071 found in the subclass, there is no need to setup all base class
23072 virtual functions on a subclass.
23074 This patch removes the recursion in _setup_native_vfuncs()
23075 and lets Python find them in the base classes like a normal
23076 Python class would work. This significantly increases the speed
23077 of any class which is or inherits from a C class which includes
23080 https://bugzilla.gnome.org/show_bug.cgi?id=640629
23082 gi/types.py | 26 +++++++++++++-------------
23083 tests/test_gi.py | 13 +++++++++++++
23084 2 files changed, 26 insertions(+), 13 deletions(-)
23086 commit 569d42ac2f50fb706ef289ff631db743483f40ee
23087 Author: Laszlo Pandy <lpandy@src.gnome.org>
23088 Date: Thu Jan 20 16:26:18 2011 +0100
23090 Speed up class creation: rewrite _setup_vfuncs() to be much more
23093 This patch rewrites the _setup_vfuncs() method to remove recursion and
23094 make the running time linear in the number of virtual functions to
23096 (ie. methods starting with "do_") instead of linear in the number of
23097 virtual functions in the base class which could possibly be
23100 Since most classes do not override all of the virtual functions in the
23101 base class (and many override none), this runs much faster.
23103 It is possible to not recurse on all base classes because
23105 base classes will have the virtual function installed as an attribute.
23106 Thus getattr() can be called, which recurses to the base classes much
23107 faster than a custom implementation in Python. If the method cannot be
23108 found with getattr(), all interface bases classes are searched
23111 The function is_function_in_classes() has been deleted. Because of the
23112 above changes, it is not used anymore.
23114 https://bugzilla.gnome.org/show_bug.cgi?id=640073
23117 ++++++++++++++++++++++++++++++++++---------------------
23118 tests/test_gi.py | 13 +++++++
23119 2 files changed, 77 insertions(+), 40 deletions(-)
23121 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
23122 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23123 Date: Mon Jan 24 19:23:19 2011 +0100
23125 pygi-convert.sh: Convert gtk.UI_MANAGER_*
23127 pygi-convert.sh | 1 +
23128 1 file changed, 1 insertion(+)
23130 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
23131 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23132 Date: Fri Jan 21 18:41:54 2011 +0100
23134 pygi-convert.sh: Convert gdk.GRAB_*
23136 pygi-convert.sh | 1 +
23137 1 file changed, 1 insertion(+)
23139 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
23140 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23141 Date: Fri Jan 21 16:45:07 2011 +0100
23143 [gi] set the gtype GValue correctly
23145 gi/pygi-property.c | 4 ++--
23146 1 file changed, 2 insertions(+), 2 deletions(-)
23148 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
23149 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23150 Date: Fri Jan 21 16:20:23 2011 +0100
23152 [gi] use the right argument type for callback
23154 gi/pygi-foreign-cairo.c | 8 ++++----
23155 gi/pygi-foreign-gvariant.c | 4 ++--
23156 gi/pygi-foreign-gvariant.h | 2 +-
23157 gi/pygi-foreign.c | 2 +-
23159 5 files changed, 9 insertions(+), 9 deletions(-)
23161 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
23162 Author: John (J5) Palmieri <johnp@redhat.com>
23163 Date: Fri Jan 21 09:23:54 2011 -0500
23165 [gi] marshal out flags and enum
23167 gi/pygi-argument.c | 14 +++++++++-----
23168 gi/pygi-cache.c | 24 ++++++++++++------------
23169 2 files changed, 21 insertions(+), 17 deletions(-)
23171 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
23172 Author: John (J5) Palmieri <johnp@redhat.com>
23173 Date: Fri Jan 21 08:18:37 2011 -0500
23175 [gi] marshal unions
23177 gi/pygi-cache.c | 27 +++++++++++++--------------
23178 1 file changed, 13 insertions(+), 14 deletions(-)
23180 commit a060287d1a6d190acb9d344f08fd5662e3296da5
23181 Author: Martin Pitt <martin.pitt@ubuntu.com>
23182 Date: Fri Jan 21 11:00:27 2011 +0100
23184 [gi] Add test cases for GDBus client operations
23186 tests/Makefile.am | 1 +
23187 tests/test_gdbus.py | 94
23188 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23189 2 files changed, 95 insertions(+)
23191 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
23192 Author: John (J5) Palmieri <johnp@redhat.com>
23193 Date: Fri Jan 21 04:28:15 2011 -0500
23195 [gi] error out if the constructor returns NULL
23197 gi/pygi-invoke.c | 7 +++++++
23198 1 file changed, 7 insertions(+)
23200 commit 58ff2b2c38c1004861083ca88633be76767229f0
23201 Author: John (J5) Palmieri <johnp@redhat.com>
23202 Date: Fri Jan 21 04:26:45 2011 -0500
23204 [gi] throw error for caller allocates until we can write code to
23207 gi/pygi-cache.c | 11 +++++++++++
23208 1 file changed, 11 insertions(+)
23210 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
23211 Author: John (J5) Palmieri <johnp@redhat.com>
23212 Date: Fri Jan 21 04:26:11 2011 -0500
23214 [gi] support struct out
23216 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
23217 gi/pygi-cache.c | 15 ++-------------
23218 2 files changed, 28 insertions(+), 17 deletions(-)
23220 commit 3133dc595adf44279397d30712c0f8595f0e1acc
23221 Author: John (J5) Palmieri <johnp@redhat.com>
23222 Date: Fri Jan 21 04:22:06 2011 -0500
23224 [gi] move to using type_info and interface_info instead of arg_info
23226 * only arguments have arg_infos, not return types and instances so
23227 type_info is much better to pass. In fact most API that took an
23228 arg_info simply converted it to a type_info
23229 * In the case of instances for methods we don't even have a type_info.
23230 Since all instances are interfaces, we also attach the
23232 to the interface cache
23234 gi/pygi-argument.c | 20 ++++----------------
23235 gi/pygi-cache.c | 43
23236 ++++++++++++++++++++++++++++++++-----------
23237 gi/pygi-cache.h | 4 +++-
23238 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
23239 gi/pygi-foreign-gvariant.c | 11 +++++------
23240 gi/pygi-foreign-gvariant.h | 10 +++++-----
23241 gi/pygi-foreign.c | 21 +++++++++------------
23242 gi/pygi-foreign.h | 6 +++---
23243 gi/pygi.h | 8 ++++----
23244 9 files changed, 77 insertions(+), 70 deletions(-)
23246 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
23247 Author: Martin Pitt <martin.pitt@ubuntu.com>
23248 Date: Fri Jan 21 09:54:14 2011 +0100
23250 [gi] Add Variant construction/unpack support for boxed Variants
23252 Construction uses a GVariantBuilder for now, as the new_variant()
23254 currently does not work (see
23255 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
23257 gi/overrides/GLib.py | 18 +++++++++++++++++-
23258 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
23259 2 files changed, 43 insertions(+), 1 deletion(-)
23261 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
23262 Merge: bc29600 bd002c7
23263 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23264 Date: Fri Jan 21 09:33:16 2011 +0100
23266 Merge branch 'windows-setup-fixes'
23268 commit bc29600a2a04c972ceab7ef8d3292e8633977591
23269 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
23270 Date: Thu Jan 20 19:48:23 2011 +0100
23272 pygi-convert.sh: GdkPixbuf methods
23276 pygi-convert.sh | 1 +
23277 1 file changed, 1 insertion(+)
23279 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
23280 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
23281 Date: Thu Jan 20 19:45:01 2011 +0100
23283 pygi-convert.sh: Gdk.COLORSPACE_RGB
23287 pygi-convert.sh | 1 +
23288 1 file changed, 1 insertion(+)
23290 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
23291 Author: Martin Pitt <martin.pitt@ubuntu.com>
23292 Date: Wed Jan 19 11:41:11 2011 +0100
23294 [gi] Support nested objects and empty sequences in GLib.Variant
23297 The GVariant constructor (in the overrides) previously did not
23299 arrays/dictionaries or nested structures. Rewrite the VariantCreator
23301 be fully recursive and determine the element types of
23302 arrays/dictionaries.
23304 This now also allows you to use actual tuples as input values for
23306 tuple types. Taking values from the flat argument list is still
23308 convenience, though.
23310 https://bugzilla.gnome.org/show_bug.cgi?id=639939
23312 gi/overrides/GLib.py | 229
23313 ++++++++++++++++++++++++++----------------------
23314 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
23315 2 files changed, 273 insertions(+), 115 deletions(-)
23317 commit ac095f5435f106e175fa3297cb273e63c85d2809
23318 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23319 Date: Thu Jan 20 15:55:45 2011 +0100
23321 Uncomment test_gi.TestInterfaceClash
23323 tests/test_gi.py | 22 +++++++++++-----------
23324 1 file changed, 11 insertions(+), 11 deletions(-)
23326 commit 1239f3709ba257c404dda72b7067b77b19c240fa
23327 Author: John (J5) Palmieri <johnp@redhat.com>
23328 Date: Thu Jan 20 09:05:02 2011 -0500
23330 [gi] add support for enum and flags
23332 gi/pygi-argument.c | 121
23333 +++++++++++++++++++++++++++++++++++++++++------------
23334 gi/pygi-cache.c | 30 ++++++-------
23335 2 files changed, 111 insertions(+), 40 deletions(-)
23337 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
23338 Author: Steve Frécinaux <code@istique.net>
23339 Date: Thu Jan 20 14:14:15 2011 +0100
23341 Fix reference leaks for GInitiallyUnowned objects
23343 References were leaked for GInitiallyUnowned objects which got their
23344 wrappers created several times, because someone else holds reference
23345 on it and it got out of python scope at some point.
23347 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23349 gobject/gobjectmodule.c | 2 ++
23350 gobject/pygobject.c | 14 +++++------
23351 tests/test-floating.c | 36 +++++++++++++++++++++++++++
23352 tests/test-floating.h | 21 ++++++++++++++++
23353 tests/test_gobject.py | 63
23354 ++++++++++++++++++++++++++++++++++++++++++++++++
23355 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
23356 6 files changed, 179 insertions(+), 7 deletions(-)
23358 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
23359 Author: Steve Frécinaux <code@istique.net>
23360 Date: Wed Jan 19 16:57:57 2011 +0100
23362 Add tests for refcount of a GObject owned by a library
23364 When the object is constructed, its refcount is 2 because the library
23365 refs it once. It should remain around until we ask the library to
23366 release its reference.
23368 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23370 tests/test-floating.c | 30 +++++++++++++++++++++++
23371 tests/test-floating.h | 20 ++++++++++++++++
23372 tests/test_gobject.py | 62
23373 ++++++++++++++++++++++++++++++++++++++++++++++++
23374 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
23375 4 files changed, 163 insertions(+)
23377 commit b6737b91938d527872eff1d645a205cacf94e15d
23378 Author: Steve Frécinaux <code@istique.net>
23379 Date: Wed Jan 19 14:52:41 2011 +0100
23381 Add a test to check for regular object reference count
23383 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23385 tests/test_gobject.py | 8 +++++++-
23386 1 file changed, 7 insertions(+), 1 deletion(-)
23388 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
23389 Author: Martin Pitt <martin.pitt@ubuntu.com>
23390 Date: Thu Jan 20 14:15:52 2011 +0100
23392 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
23394 GTK master now landed a lot of annotation fixes which also correctly
23396 array length argument of
23397 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
23398 drop the explicit array length argument from the call in the override.
23400 gi/overrides/Gtk.py | 2 --
23401 1 file changed, 2 deletions(-)
23403 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
23404 Author: Steve Frécinaux <code@istique.net>
23405 Date: Wed Jan 19 18:04:10 2011 +0100
23407 Fix a typo in a private symbol name.
23409 gobject/gobjectmodule.c | 6 +++---
23410 1 file changed, 3 insertions(+), 3 deletions(-)
23412 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
23413 Author: Martin Pitt <martin.pitt@ubuntu.com>
23414 Date: Thu Jan 20 11:49:08 2011 +0100
23416 pygi-convert.sh: Convert glib.source_remove()
23418 pygi-convert.sh | 1 +
23419 1 file changed, 1 insertion(+)
23421 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
23422 Author: Martin Pitt <martin.pitt@ubuntu.com>
23423 Date: Thu Jan 20 11:42:34 2011 +0100
23425 Fix typo in previous commit to actually convert glib.GError
23427 pygi-convert.sh | 2 +-
23428 1 file changed, 1 insertion(+), 1 deletion(-)
23430 commit b238cb614338f46e6feb7935cca0a55c7a929418
23431 Author: Martin Pitt <martin.pitt@ubuntu.com>
23432 Date: Thu Jan 20 11:40:14 2011 +0100
23434 pygi-convert.sh: Move some glib bits which are better handled
23437 pygi-convert.sh | 3 +++
23438 1 file changed, 3 insertions(+)
23440 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
23441 Author: Laszlo Pandy <lpandy@src.gnome.org>
23442 Date: Wed Jan 19 12:00:02 2011 +0100
23444 Modify override for Gtk.Adjustment to allow position or keyword
23445 arguments in __init__().
23447 Previously passing no arguments was not working, because the default
23448 value for each parameter was None, and GObject.__init__() refuses to
23449 allow None for integer properties. This patch does not pass None up
23450 to GObject.__init__. Instead it does not pass the parameter at all,
23451 and uses the class's default values.
23453 https://bugzilla.gnome.org/show_bug.cgi?id=639934
23455 gi/overrides/Gtk.py | 14 ++++++++++++--
23456 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
23457 2 files changed, 39 insertions(+), 9 deletions(-)
23459 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
23460 Author: Martin Pitt <martin.pitt@ubuntu.com>
23461 Date: Wed Jan 19 22:52:51 2011 +0100
23463 [gi] Fix small typo in previous commit
23465 The GVariant signature of the self test had a trailing 'i'. The
23467 GVariant builder doesn't mind, but the new implementation proposed
23471 tests/test_overrides.py | 2 +-
23472 1 file changed, 1 insertion(+), 1 deletion(-)
23474 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
23475 Author: Martin Pitt <martin.pitt@ubuntu.com>
23476 Date: Wed Jan 19 20:18:19 2011 +0100
23478 [gi] Add pythonic iterator and indexing for string GVariants
23480 This extends commit b1a98083c to also work for strings.
23482 gi/overrides/GLib.py | 8 +++++++-
23483 tests/test_overrides.py | 13 +++++++++++++
23484 2 files changed, 20 insertions(+), 1 deletion(-)
23486 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
23487 Author: John (J5) Palmieri <johnp@redhat.com>
23488 Date: Wed Jan 19 14:08:03 2011 -0500
23490 [gi] return NULL if out_marshaller fails
23492 gi/pygi-invoke.c | 5 +++++
23493 1 file changed, 5 insertions(+)
23495 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
23496 Author: John (J5) Palmieri <johnp@redhat.com>
23497 Date: Wed Jan 19 13:57:54 2011 -0500
23499 [gi] fix some transfer issues and test case failures
23501 gi/pygi-argument.c | 4 ++++
23502 gi/pygi-cache.c | 11 ++++++++---
23503 gi/pygi-invoke.c | 17 +++++++++--------
23504 3 files changed, 21 insertions(+), 11 deletions(-)
23506 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
23507 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23508 Date: Wed Jan 19 18:09:23 2011 +0100
23510 Construct structs using default API constructor
23512 If the struct has something that looks like a default constructor,
23513 use it instead of trying to directly allocate it, as it will fail
23514 if the struct fields are not exposed.
23516 https://bugzilla.gnome.org/show_bug.cgi?id=627444
23518 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
23519 gi/types.py | 7 +++++++
23520 2 files changed, 44 insertions(+)
23522 commit db7300e173388d9557dcd2333781bfaa6b021605
23523 Author: Martin Pitt <martin.pitt@ubuntu.com>
23524 Date: Wed Jan 19 18:54:39 2011 +0100
23526 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
23528 pygi-convert.sh | 2 ++
23529 1 file changed, 2 insertions(+)
23531 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
23532 Author: Martin Pitt <martin.pitt@ubuntu.com>
23533 Date: Wed Jan 19 18:43:29 2011 +0100
23535 pygi-convert.sh: Handle .window attributes
23537 In general, convert them to .get_window(). For some of them, prefer
23539 GtkWidget methods instead.
23541 pygi-convert.sh | 5 ++++-
23542 1 file changed, 4 insertions(+), 1 deletion(-)
23544 commit b1049b947d073fb569ba900a4d5c8519482d831e
23545 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23546 Date: Wed Jan 19 17:35:09 2011 +0100
23548 Also deal with foreign boxed structs
23550 cairo.Context has been boxed and our tests started failing
23552 https://bugzilla.gnome.org/show_bug.cgi?id=639967
23554 gi/pygi-argument.c | 4 ++--
23555 1 file changed, 2 insertions(+), 2 deletions(-)
23557 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
23558 Author: Laszlo Pandy <lpandy@src.gnome.org>
23559 Date: Wed Jan 19 17:45:11 2011 +0100
23561 [gi] Convert GErrors to GObject.GError exceptions, and throw them
23562 upon returning from calling the C function.
23564 This changes gi to make use of pyglib_error_check() which already
23567 The included tests make use of the other patch attached to this bug,
23568 to check that the right exception is thrown from the new function
23569 in GIMarshallingTests.
23570 two Gtk C functions.
23572 https://bugzilla.gnome.org/show_bug.cgi?id=639834
23574 gi/Makefile.am | 3 ++-
23575 gi/pygi-invoke.c | 12 +++---------
23576 tests/test_gi.py | 10 ++++++++++
23577 3 files changed, 15 insertions(+), 10 deletions(-)
23579 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
23580 Author: John (J5) Palmieri <johnp@redhat.com>
23581 Date: Wed Jan 19 12:05:45 2011 -0500
23583 [gi] fix out marshalling for a couple of int types
23585 gi/pygi-argument.c | 2 +-
23586 gi/pygi-cache.c | 2 +-
23587 2 files changed, 2 insertions(+), 2 deletions(-)
23589 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
23590 Author: John (J5) Palmieri <johnp@redhat.com>
23591 Date: Wed Jan 19 11:59:09 2011 -0500
23593 [gi] fixed range checking and type conversion with unsigned and
23596 gi/pygi-argument.c | 90
23597 +++++++++++++++++++++++++++++++++++++++++++++---------
23598 gi/pygi-cache.c | 2 +-
23599 2 files changed, 76 insertions(+), 16 deletions(-)
23601 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
23602 Author: Martin Pitt <martin.pitt@ubuntu.com>
23603 Date: Wed Jan 19 17:03:06 2011 +0100
23605 pygi-convert.sh: Don't convert glib -> GLib for now
23607 This currently leads to a load of crashes, MemoryErrors, etc, as
23609 very well introspectable, due to the low-level operations that
23612 John Palmieri confirms that using the static "glib" binding is
23614 now, so disable the replacement rules.
23616 pygi-convert.sh | 19 ++++++++++---------
23617 1 file changed, 10 insertions(+), 9 deletions(-)
23619 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
23620 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23621 Date: Wed Jan 19 16:47:08 2011 +0100
23623 Link libregress.so to GIO_LIBS again
23625 configure.ac | 5 +++++
23626 1 file changed, 5 insertions(+)
23628 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
23629 Author: Laszlo Pandy <lpandy@src.gnome.org>
23630 Date: Wed Jan 19 16:14:42 2011 +0100
23632 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
23634 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
23635 because in Python attributes starting with a numeral causes a
23638 gi/overrides/Gdk.py | 7 +++++--
23639 1 file changed, 5 insertions(+), 2 deletions(-)
23641 commit 4f5d20966d4a8c649e5fae584039621edab178f3
23642 Author: John (J5) Palmieri <johnp@redhat.com>
23643 Date: Wed Jan 19 10:02:40 2011 -0500
23645 [gi] use correct format stings when setting errors
23647 gi/pygi-argument.c | 12 ++++++------
23648 1 file changed, 6 insertions(+), 6 deletions(-)
23650 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
23651 Author: John (J5) Palmieri <johnp@redhat.com>
23652 Date: Wed Jan 19 09:45:09 2011 -0500
23654 [gi] allow marshalling strings as None
23656 gi/pygi-argument.c | 5 +++++
23657 1 file changed, 5 insertions(+)
23659 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
23660 Author: John (J5) Palmieri <johnp@redhat.com>
23661 Date: Wed Jan 19 09:41:56 2011 -0500
23663 [gi] make error messages more detailed
23665 gi/pygi-argument.c | 2 +-
23666 gi/pygi-cache.c | 18 +++++++++---------
23667 2 files changed, 10 insertions(+), 10 deletions(-)
23669 commit f0b17605ed2eb917b350654b070984beb553eae3
23670 Author: John (J5) Palmieri <johnp@redhat.com>
23671 Date: Wed Jan 19 09:41:13 2011 -0500
23673 [gi] allow marshalling None for hashes
23675 gi/pygi-argument.c | 5 +++++
23676 1 file changed, 5 insertions(+)
23678 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
23679 Author: John (J5) Palmieri <johnp@redhat.com>
23680 Date: Wed Jan 19 09:40:37 2011 -0500
23682 [gi] add marshalling to some out values
23684 gi/pygi-argument.c | 50
23685 +++++++++++++++++++++++++++++++++++++++++---------
23686 1 file changed, 41 insertions(+), 9 deletions(-)
23688 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
23689 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23690 Date: Wed Jan 19 15:27:33 2011 +0100
23692 [gi] Fixed typo in exception
23694 gi/overrides/Gtk.py | 2 +-
23695 1 file changed, 1 insertion(+), 1 deletion(-)
23697 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
23698 Author: John (J5) Palmieri <johnp@redhat.com>
23699 Date: Wed Jan 19 09:13:44 2011 -0500
23701 [gi] fix marshalling structs
23703 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
23704 gi/pygi-foreign.c | 18 ++++++++++++------
23705 gi/pygi-foreign.h | 8 ++++----
23706 3 files changed, 51 insertions(+), 22 deletions(-)
23708 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
23709 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23710 Date: Wed Jan 19 15:12:25 2011 +0100
23712 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
23714 gi/overrides/Gdk.py | 4 ++--
23715 1 file changed, 2 insertions(+), 2 deletions(-)
23717 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
23718 Author: Martin Pitt <martin.pitt@ubuntu.com>
23719 Date: Wed Jan 19 14:54:57 2011 +0100
23721 Revert "Fix Pango FontDescription override"
23724 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
23725 the default constructor actually does take no arguments; we should
23727 the MemoryError. Add a test case for this.
23729 Remove the FIXME though, as pango_font_description_from_string()
23731 FontDescription constructor, but a static factory method.
23733 Thanks to Paolo Borelli for pointing this out!
23735 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
23737 gi/overrides/Pango.py | 5 ++++-
23738 tests/test_overrides.py | 5 +++++
23739 2 files changed, 9 insertions(+), 1 deletion(-)
23741 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
23742 Author: Tony Young <rofflwaffls@gmail.com>
23743 Date: Thu Dec 16 23:39:33 2010 +0000
23745 Python iterator interface support for GFileEnumerator.
23747 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
23748 gi/overrides/Makefile.am | 1 +
23749 tests/test_overrides.py | 20 ++++++++++++++++++++
23750 3 files changed, 62 insertions(+)
23752 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
23753 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23754 Date: Fri Jan 7 12:10:37 2011 +0100
23756 Remove gio static bindings
23758 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23761 configure.ac | 25 -
23762 gio/.gitignore | 3 -
23763 gio/Makefile.am | 117 -
23764 gio/__init__.py | 40 -
23765 gio/gappinfo.override | 213 --
23766 gio/gapplaunchcontext.override | 99 -
23767 gio/gbufferedinputstream.override | 70 -
23768 gio/gcancellable.override | 38 -
23769 gio/gdatainputstream.override | 250 --
23770 gio/gdrive.override | 347 --
23771 gio/gfile.override | 2215 -----------
23772 gio/gfileattribute.override | 153 -
23773 gio/gfileenumerator.override | 184 -
23774 gio/gfileinfo.override | 121 -
23775 gio/gfileinputstream.override | 68 -
23776 gio/gfileiostream.override | 68 -
23777 gio/gfileoutputstream.override | 68 -
23778 gio/gicon.override | 310 --
23779 gio/ginputstream.override | 344 --
23780 gio/gio-types.defs | 807 ----
23781 gio/gio.defs | 7465
23782 -------------------------------------
23783 gio/gio.override | 409 --
23784 gio/giomodule.c | 208 --
23785 gio/giostream.override | 68 -
23786 gio/gmemoryinputstream.override | 91 -
23787 gio/gmemoryoutputstream.override | 45 -
23788 gio/gmount.override | 454 ---
23789 gio/goutputstream.override | 292 --
23790 gio/gresolver.override | 312 --
23791 gio/gsocket.override | 575 ---
23792 gio/gvolume.override | 237 --
23793 gio/gvolumemonitor.override | 94 -
23794 gio/pygio-utils.c | 236 --
23795 gio/pygio-utils.h | 49 -
23796 gio/unix-types.defs | 55 -
23797 gio/unix.defs | 475 ---
23798 gio/unix.override | 62 -
23799 gio/unixmodule.c | 52 -
23800 tests/Makefile.am | 9 -
23801 tests/runtests-windows.py | 3 -
23802 tests/test_gcancellable.py | 15 -
23803 tests/test_gicon.py | 112 -
23804 tests/test_gio.py | 1138 ------
23805 tests/test_gresolver.py | 68 -
23806 tests/test_gsocket.py | 126 -
23807 46 files changed, 1 insertion(+), 18191 deletions(-)
23809 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
23810 Author: John (J5) Palmieri <johnp@redhat.com>
23811 Date: Wed Jan 19 07:56:16 2011 -0500
23813 [gi] switch from using (*arg). to arg-> when referencing union
23816 gi/pygi-argument.c | 54
23817 +++++++++++++++++++++++++++---------------------------
23818 1 file changed, 27 insertions(+), 27 deletions(-)
23820 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
23821 Author: John (J5) Palmieri <johnp@redhat.com>
23822 Date: Wed Jan 19 07:49:52 2011 -0500
23824 [gi] return FALSE when setting errors in the marshaller
23826 gi/pygi-argument.c | 3 ++-
23827 1 file changed, 2 insertions(+), 1 deletion(-)
23829 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
23830 Author: John (J5) Palmieri <johnp@redhat.com>
23831 Date: Wed Jan 19 07:14:18 2011 -0500
23833 [gi] do arg counting in new invoke
23835 gi/pygi-cache.c | 2 ++
23836 gi/pygi-cache.h | 14 ++++++++------
23837 gi/pygi-invoke-state-struct.h | 2 +-
23838 gi/pygi-invoke.c | 20 +++++++++++++++++++-
23839 4 files changed, 30 insertions(+), 8 deletions(-)
23841 commit f45033858bed70d7defec3f71f26aa5b3999d680
23842 Author: John (J5) Palmieri <johnp@redhat.com>
23843 Date: Wed Jan 19 06:35:45 2011 -0500
23845 [gi] set length for uint8 in arrays in new invoke marshaller
23847 gi/pygi-argument.c | 1 +
23848 1 file changed, 1 insertion(+)
23850 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
23851 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23852 Date: Wed Jan 19 12:04:15 2011 +0100
23854 [gi] set length when marshalling guint8 erases
23856 gi/pygi-argument.c | 1 +
23857 tests/test_gi.py | 4 ++++
23858 2 files changed, 5 insertions(+)
23860 commit 22eee43e50a150ace80694213fb87be9f0c72f51
23861 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23862 Date: Wed Jan 19 10:27:47 2011 +0100
23864 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
23866 pygi-convert.sh | 1 +
23867 1 file changed, 1 insertion(+)
23869 commit a4b210d69c832629894090b7154ae194209b0c60
23870 Author: Arnaud Charlet <charlet@adacore.com>
23871 Date: Tue Jan 18 18:31:29 2011 +0100
23873 Disable calls to PyGILState_* when threads are disabled
23875 Since threads may also be disabled in Python too, those symbols
23879 https://bugzilla.gnome.org/show_bug.cgi?id=374603
23881 glib/pyglib.c | 12 ++++++++++++
23882 gobject/pygobject-private.h | 6 ++++++
23883 2 files changed, 18 insertions(+)
23885 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
23886 Author: John (J5) Palmieri <johnp@redhat.com>
23887 Date: Tue Jan 18 12:31:57 2011 -0500
23889 [gi] fix handling of garrays vs c arrays
23891 gi/pygi-argument.c | 9 +++++++--
23892 gi/pygi-cache.c | 2 ++
23893 gi/pygi-cache.h | 1 +
23894 3 files changed, 10 insertions(+), 2 deletions(-)
23896 commit a000627ec3904b9414ce375aec8d144fc0c26248
23897 Author: Martin Pitt <martin.pitt@ubuntu.com>
23898 Date: Tue Jan 18 18:29:50 2011 +0100
23900 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
23901 these should be ported properly
23903 pygi-convert.sh | 1 -
23904 1 file changed, 1 deletion(-)
23906 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
23907 Author: Martin Pitt <martin.pitt@ubuntu.com>
23908 Date: Tue Jan 18 18:26:01 2011 +0100
23910 pygi-convert.sh: Fix match for adding missing imports
23912 pygi-convert.sh | 8 ++++----
23913 1 file changed, 4 insertions(+), 4 deletions(-)
23915 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
23916 Author: Martin Pitt <martin.pitt@ubuntu.com>
23917 Date: Tue Jan 18 18:09:30 2011 +0100
23919 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
23921 As we are not replacing line by line, but the whole file at once,
23923 hackish unfortunately. We can't use a match test or a lookahead/behind
23926 pygi-convert.sh | 5 +++--
23927 1 file changed, 3 insertions(+), 2 deletions(-)
23929 commit f66051380c0432bf142774542ade2144adcd455e
23930 Author: John (J5) Palmieri <johnp@redhat.com>
23931 Date: Tue Jan 18 11:44:27 2011 -0500
23933 [gi] use correct union memeber when marshalling floats
23935 gi/pygi-argument.c | 2 +-
23936 1 file changed, 1 insertion(+), 1 deletion(-)
23938 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
23939 Author: Laszlo Pandy <lpandy@src.gnome.org>
23940 Date: Tue Jan 18 17:29:52 2011 +0100
23942 Remove trailing whitespace from gi/overrides/Gtk.py
23944 gi/overrides/Gtk.py | 10 +++++-----
23945 1 file changed, 5 insertions(+), 5 deletions(-)
23947 commit 1006df1929a667716c25e74b35b8f14643358732
23948 Author: John (J5) Palmieri <johnp@redhat.com>
23949 Date: Tue Jan 18 11:24:06 2011 -0500
23951 [gi] fix constructor invoking and add some support for interface
23954 * constructors are now simplified and are treated like normal
23956 which happen to return an instance
23958 gi/pygi-argument.c | 8 ++--
23959 gi/pygi-cache.c | 132
23960 +++++++++++++++++++++++++++++++++++++++++++++++++++--
23961 gi/pygi-invoke.c | 9 ++--
23962 gi/types.py | 21 +++------
23963 4 files changed, 142 insertions(+), 28 deletions(-)
23965 commit 8878c57676091c08e66bc6cbe735d898cb420582
23966 Author: Martin Pitt <martin.pitt@ubuntu.com>
23967 Date: Tue Jan 18 16:47:10 2011 +0100
23969 Fix Pango FontDescription override
23971 Trying to call __new__() on a record crashes with a MemoryError,
23973 the intended static factory method for a None argument as well
23977 gi/overrides/Pango.py | 7 +------
23978 1 file changed, 1 insertion(+), 6 deletions(-)
23980 commit efbbe71634037fa100b17327389b883b259cca54
23981 Author: Martin Pitt <martin.pitt@ubuntu.com>
23982 Date: Tue Jan 18 16:23:39 2011 +0100
23984 tests: Respect existing $GI_TYPELIB_PATH
23986 This allows us to run the test suite against local typelibs.
23988 tests/Makefile.am | 2 +-
23989 1 file changed, 1 insertion(+), 1 deletion(-)
23991 commit c96ca383350e5b9b079d9a86464922314939c006
23992 Author: John (J5) Palmieri <johnp@redhat.com>
23993 Date: Tue Jan 18 07:16:40 2011 -0500
23995 [gi] fix aux value offsets for methods and element size crashers
23997 * if the callable is a method we need to add 1 to the aux index
23998 for in values so we grab the right argument cache
23999 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
24002 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
24003 1 file changed, 24 insertions(+), 18 deletions(-)
24005 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
24006 Merge: 84d6142 7d997b6
24007 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24008 Date: Tue Jan 18 13:14:45 2011 +0100
24010 Merge branch 'value'
24012 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
24013 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24014 Date: Tue Jan 18 13:12:36 2011 +0100
24016 GTK overrides: Do type conversion to column types of ListStore and
24017 TreeStore in set_value
24019 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
24020 tests/test_overrides.py | 12 +++++++++++-
24021 2 files changed, 29 insertions(+), 11 deletions(-)
24023 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
24024 Author: Steve Frécinaux <code@istique.net>
24025 Date: Mon Jan 17 18:57:58 2011 +0100
24027 Always register a new GType when a GObject class is subclassed
24029 This patch makes the GType <-> python mapping much more predictible,
24030 and fixes the bug caused by overriding methods without specifying a
24031 __gtype_name__ member in the subclass, and makes type_register useless
24034 It is still possible to provide an explicit __gtype_name__ member
24036 subclass as it allows having a predictible GType name, which is handy
24037 for some of our tests. There is also an explicit special case for
24038 overrides because we obviously do not want to register new GTypes for
24039 those ones as it would clearly defeat the purpose of overrides.
24041 https://bugzilla.gnome.org/show_bug.cgi?id=543056
24043 gobject/__init__.py | 6 +++---
24044 tests/test_gi.py | 21 ++-------------------
24045 2 files changed, 5 insertions(+), 22 deletions(-)
24047 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
24048 Author: Simon van der Linden <svdlinden@gnome.org>
24049 Date: Tue Jan 18 12:57:13 2011 +0100
24051 Raise required versions of GLib and GObject-Introspection
24053 https://bugzilla.gnome.org/show_bug.cgi?id=612126
24055 configure.ac | 6 +++---
24056 1 file changed, 3 insertions(+), 3 deletions(-)
24058 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
24059 Author: Martin Pitt <martin.pitt@ubuntu.com>
24060 Date: Tue Jan 18 12:52:32 2011 +0100
24062 pygi-convert.sh: Handle keysyms
24064 pygi-convert.sh | 1 +
24065 1 file changed, 1 insertion(+)
24067 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
24068 Author: Martin Pitt <martin.pitt@ubuntu.com>
24069 Date: Tue Jan 18 12:14:09 2011 +0100
24071 GLib overrides: Add test case for array variant building
24073 tests/test_overrides.py | 7 +++++++
24074 1 file changed, 7 insertions(+)
24076 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
24077 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24078 Date: Tue Jan 18 10:21:03 2011 +0100
24080 Remove cairo.RectangleInt from the foreign module
24082 https://bugzilla.gnome.org/show_bug.cgi?id=639824
24084 gi/pygi-foreign-cairo.c | 96
24085 -------------------------------------------------
24086 1 file changed, 96 deletions(-)
24088 commit 017680c9a5e163021628bf29543598861a3b600a
24089 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24090 Date: Tue Jan 18 10:20:25 2011 +0100
24092 Dont try to guess the transfer if its a boxed
24094 https://bugzilla.gnome.org/show_bug.cgi?id=639823
24096 gi/pygi-invoke.c | 5 ++++-
24097 1 file changed, 4 insertions(+), 1 deletion(-)
24099 commit 771ef76574690eb98926249f38661d741d1ebbb0
24100 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24101 Date: Tue Jan 18 12:02:01 2011 +0100
24103 The tags can be Empty not None.
24105 gi/overrides/Gtk.py | 2 +-
24106 1 file changed, 1 insertion(+), 1 deletion(-)
24108 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
24109 Author: Martin Pitt <martin.pitt@ubuntu.com>
24110 Date: Tue Jan 18 12:01:28 2011 +0100
24112 Add Pythonic iterators and indexing to GVariant
24114 Add the usual set of iterators and index accessors to GLib.Variant
24116 which are containers.
24118 Add corresponding test cases.
24120 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
24121 tests/test_overrides.py | 55
24122 +++++++++++++++++++++++++++++++++++++++++++++++++
24123 2 files changed, 105 insertions(+)
24125 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
24126 Author: Martin Pitt <martin.pitt@ubuntu.com>
24127 Date: Tue Jan 18 10:48:03 2011 +0100
24129 Add GLib.Variant.unpack()
24131 This method decomposes a GLib.Variant into a native Python object,
24133 counterpart of _VariantCreator. This makes it a lot nicer for
24135 developers to use e. g. return values from gdbus calls.
24137 Add appropriate test case.
24139 gi/overrides/GLib.py | 45
24140 +++++++++++++++++++++++++++++++++++++++++++++
24141 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
24142 2 files changed, 77 insertions(+), 1 deletion(-)
24144 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
24145 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24146 Date: Tue Jan 18 10:56:18 2011 +0100
24148 Add override for gtk_text_buffer_insert_with_tags
24150 gi/overrides/Gtk.py | 12 ++++++++++++
24151 tests/test_overrides.py | 6 ++++++
24152 2 files changed, 18 insertions(+)
24154 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
24155 Author: Simon van der Linden <svdlinden@gnome.org>
24156 Date: Mon Jan 17 14:35:14 2011 +0100
24158 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
24160 https://bugzilla.gnome.org/show_bug.cgi?id=620215
24162 gi/Makefile.am | 6 ++++--
24163 gio/Makefile.am | 2 +-
24164 glib/Makefile.am | 2 +-
24165 m4/python.m4 | 7 +++++--
24166 tests/Makefile.am | 2 +-
24167 5 files changed, 12 insertions(+), 7 deletions(-)
24169 commit bceec758b27e6c396d17a79424633b5dc9116f54
24170 Author: Simon van der Linden <svdlinden@gnome.org>
24171 Date: Mon Jan 17 14:20:55 2011 +0100
24173 Kill JD_CHECK_PYTHON_HEADERS
24175 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
24177 https://bugzilla.gnome.org/show_bug.cgi?id=620215
24179 configure.ac | 2 +-
24180 m4/python.m4 | 31 +------------------------------
24181 2 files changed, 2 insertions(+), 31 deletions(-)
24183 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
24184 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24185 Date: Mon Jan 17 19:09:27 2011 +0100
24187 Revert "Override Gtk.Box.pack_start and pack_end to set default
24188 values to be compliant with pygtk"
24190 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
24194 gi/overrides/Gtk.py
24196 gi/overrides/Gtk.py | 10 ----------
24197 1 file changed, 10 deletions(-)
24199 commit 4fbae9629adc166627de05bb0946b71485343d69
24200 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24201 Date: Mon Jan 17 19:08:23 2011 +0100
24203 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
24204 default values to be compliant with pygtk"
24206 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
24208 gi/overrides/Gtk.py | 13 ++-----------
24209 1 file changed, 2 insertions(+), 11 deletions(-)
24211 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
24212 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24213 Date: Mon Jan 17 19:08:06 2011 +0100
24215 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
24216 set_cell_data_func to add default values to be compliant with pygtk"
24218 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
24220 gi/overrides/Gtk.py | 9 ---------
24221 1 file changed, 9 deletions(-)
24223 commit 2d9534f347505573da46743b47318e08bf073aef
24224 Author: Martin Pitt <martin.pitt@ubuntu.com>
24225 Date: Mon Jan 17 18:54:10 2011 +0100
24227 pygi-convert.sh: Handle gtk.combo_box_new_text()
24229 pygi-convert.sh | 1 +
24230 1 file changed, 1 insertion(+)
24232 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
24233 Author: John (J5) Palmieri <johnp@redhat.com>
24234 Date: Mon Jan 17 12:31:03 2011 -0500
24238 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
24239 gi/pygi-cache.c | 80
24240 +++++++++++++++++++++++++++++++++++++++++-------------
24241 gi/pygi-cache.h | 13 +++++++--
24242 gi/pygi-invoke.c | 2 +-
24243 4 files changed, 138 insertions(+), 25 deletions(-)
24245 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
24246 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24247 Date: Mon Jan 17 16:57:53 2011 +0100
24249 Override TreeSortable.set_sort_func and set_default_sort_func to
24250 add default values to be pygtk compliant
24252 gi/overrides/Gtk.py | 6 ++++++
24253 1 file changed, 6 insertions(+)
24255 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
24256 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24257 Date: Mon Jan 17 16:29:28 2011 +0100
24259 Override Gtk.TreeViewColumn.pack_start, pack_end and
24260 set_cell_data_func to add default values to be compliant with pygtk
24262 gi/overrides/Gtk.py | 9 +++++++++
24263 1 file changed, 9 insertions(+)
24265 commit 232841148f35684be83a2f47b5b18da4fb74f63a
24266 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24267 Date: Mon Jan 17 16:28:51 2011 +0100
24269 Override Gtk.CellLayout.pack_start and pack_end to add default values
24270 to be compliant with pygtk
24272 gi/overrides/Gtk.py | 13 +++++++++++--
24273 1 file changed, 11 insertions(+), 2 deletions(-)
24275 commit 1dec12826753756fcadefc8ef8c756fc902c320b
24276 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24277 Date: Mon Jan 17 15:54:32 2011 +0100
24279 Override Gtk.Paned pack1 and pack2 to add default values to be
24280 compliant with pygtk
24282 gi/overrides/Gtk.py | 10 ++++++++++
24283 1 file changed, 10 insertions(+)
24285 commit a8c727b9c4195d8085a45661683a18614ae84485
24286 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24287 Date: Mon Jan 17 15:46:25 2011 +0100
24289 Override Gtk.Box.pack_start and pack_end to set default values to
24290 be compliant with pygtk
24292 gi/overrides/Gtk.py | 10 ++++++++++
24293 1 file changed, 10 insertions(+)
24295 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
24296 Author: Steve Frécinaux <code@istique.net>
24297 Date: Wed Aug 4 00:30:05 2010 +0200
24299 Handle GObject subclasses in the property helper.
24301 https://bugzilla.gnome.org/show_bug.cgi?id=625982
24303 gobject/propertyhelper.py | 26 +++++++++++++-------------
24304 tests/test_properties.py | 9 +++++++++
24305 2 files changed, 22 insertions(+), 13 deletions(-)
24307 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
24308 Author: Martin Pitt <martin.pitt@ubuntu.com>
24309 Date: Mon Jan 17 17:52:15 2011 +0100
24311 Fix handling of unicode for GtkTreeModels
24313 The code previously converted an unicode object into unicode, but
24315 models actually have to specify 'str' (GTK expects a gchararray). So
24317 UTF-8 instead to get what GTK expects.
24319 Add corresponding test case.
24321 gi/overrides/Gtk.py | 2 +-
24322 tests/test_overrides.py | 12 +++++++++++-
24323 2 files changed, 12 insertions(+), 2 deletions(-)
24325 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
24326 Author: Laszlo Pandy <lpandy@src.gnome.org>
24327 Date: Mon Jan 17 16:46:08 2011 +0100
24329 In IntrospectionModule and DynamicModule classes, make all instance
24330 attributes start with an underscore.
24332 This changes IntrospectionModule.version to _version and
24333 DynamicModule.introspection_module to _introspection_module.
24334 This is done to mark the attributes as private, and also avoid name
24335 collisions with attributes from the typelib.
24336 In Gstreamer, there is a function gst_version, which was previously
24337 inaccessible because of IntrospectionModule.version overriding it.
24339 gi/module.py | 26 +++++++++++++-------------
24340 gi/overrides/GIMarshallingTests.py | 2 +-
24341 gi/overrides/GLib.py | 2 +-
24342 gi/overrides/Gdk.py | 10 +++++-----
24343 gi/overrides/Gtk.py | 2 +-
24344 gi/overrides/Pango.py | 2 +-
24345 gi/overrides/__init__.py | 2 +-
24346 tests/test_everything.py | 2 +-
24347 8 files changed, 24 insertions(+), 24 deletions(-)
24349 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
24350 Author: Laszlo Pandy <lpandy@src.gnome.org>
24351 Date: Mon Jan 17 16:17:25 2011 +0100
24353 Amend previous enum wrapping commit to remove redundant setting of
24354 __info__ attribute.
24356 gi/module.py | 2 +-
24357 gi/types.py | 6 +++---
24358 2 files changed, 4 insertions(+), 4 deletions(-)
24360 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
24361 Author: Martin Pitt <martin.pitt@ubuntu.com>
24362 Date: Mon Jan 17 16:16:45 2011 +0100
24364 pygi-convert.sh: Handle GdkPixbuf.InterpType
24366 pygi-convert.sh | 2 ++
24367 1 file changed, 2 insertions(+)
24369 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
24370 Author: Laszlo Pandy <laszlok2@gmail.com>
24371 Date: Mon Jan 17 15:43:34 2011 +0100
24373 Fix wrapping of enums: Create new Python type for each non-gtype enum.
24375 Previously non-gtype enums used the same class, which meant they
24376 were all the same type.
24377 This caused another problem that since they were all the same class,
24378 attributes from different enums were available from each other.
24380 A new test case is created to check for this bug. It requires a new
24381 enum from the GIMarshallingTests (updating gobject-introspection
24384 gi/module.py | 2 +-
24386 tests/test_gi.py | 10 ++++++++++
24387 3 files changed, 13 insertions(+), 1 deletion(-)
24389 commit da50d5620a42046d4fc905bb28a0890d73533cb1
24390 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24391 Date: Mon Dec 13 18:03:51 2010 +0100
24393 Use g_vfunc_info_invoke for chaining up in vfuncs
24395 https://bugzilla.gnome.org/show_bug.cgi?id=637165
24397 gi/pygi-info.c | 4 ++--
24398 gi/pygi-invoke.c | 72
24399 +++++++++++++++++++++++++++++++++++++++++++-------------
24400 gi/pygi-invoke.h | 3 ++-
24401 gi/types.py | 28 +++++++++++++++++++++-
24402 tests/test_gi.py | 5 ++--
24403 5 files changed, 89 insertions(+), 23 deletions(-)
24405 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
24406 Author: Simon van der Linden <svdlinden@gnome.org>
24407 Date: Fri Dec 31 18:38:04 2010 +0100
24409 Move pyglib_{main_context, option_context, option_group}_new into
24412 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
24414 when used inside the glib module, since pyglib_init is not called.
24416 pyglib.c is compiled as a stand-alone library loaded by the _glib
24418 declares the above-mentioned types. Hence, they cannot be accessed
24420 former. This patch moves the functions that need those symbols
24422 glib._glib module and exports them to the pyglib library through
24425 https://bugzilla.gnome.org/show_bug.cgi?id=636656
24427 glib/glibmodule.c | 5 ++++-
24428 glib/pyglib-private.h | 3 +++
24430 +++---------------------------------------------
24431 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
24432 glib/pygmaincontext.h | 2 +-
24433 glib/pygmainloop.c | 2 +-
24434 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
24435 glib/pygoptioncontext.h | 2 ++
24436 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
24437 glib/pygoptiongroup.h | 2 ++
24438 glib/pygsource.c | 2 +-
24439 11 files changed, 86 insertions(+), 49 deletions(-)
24441 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
24442 Author: Martin Pitt <martin.pitt@ubuntu.com>
24443 Date: Mon Jan 17 14:51:26 2011 +0100
24445 pygi-convert.sh: Handle Gdk.DragAction
24447 pygi-convert.sh | 1 +
24448 1 file changed, 1 insertion(+)
24450 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
24451 Author: Martin Pitt <martin.pitt@ubuntu.com>
24452 Date: Mon Jan 17 14:46:58 2011 +0100
24454 pygi-convert.sh: Generalize Gtk.Settings migration
24456 There are other GSettings.get_* functions like get_for_screen().
24458 pygi-convert.sh | 2 +-
24459 1 file changed, 1 insertion(+), 1 deletion(-)
24461 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
24462 Author: Martin Pitt <martin.pitt@ubuntu.com>
24463 Date: Mon Jan 17 11:22:46 2011 +0100
24465 pygi-convert.sh: Don't change the name of "glib" submodules
24467 This particular affects dbus.mainloop.glib.*
24469 pygi-convert.sh | 2 +-
24470 1 file changed, 1 insertion(+), 1 deletion(-)
24472 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
24473 Author: Paolo Borelli <pborelli@gnome.org>
24474 Date: Sun Jan 16 22:09:56 2011 +0100
24476 Plug another memory leak
24478 Do not leak interface info in (g|s)_et_property.
24480 gi/pygi-property.c | 4 ++++
24481 1 file changed, 4 insertions(+)
24483 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
24484 Author: Paolo Borelli <pborelli@gnome.org>
24485 Date: Sun Jan 16 21:43:30 2011 +0100
24487 Plug a small memory leak.
24489 Do not leak type_info in find_vfunc_info
24491 gi/gimodule.c | 10 +++++-----
24492 1 file changed, 5 insertions(+), 5 deletions(-)
24494 commit d0cbcc45366d40702c69cef207d3c0f361260c02
24495 Author: Paolo Borelli <pborelli@gnome.org>
24496 Date: Sun Jan 16 12:16:31 2011 +0100
24498 Override Table.attach() to behave like pygtk
24500 It is fairly common and even gtk itself still has attach_defaults.
24502 gi/overrides/Gtk.py | 3 +++
24503 tests/test_overrides.py | 4 ++++
24504 2 files changed, 7 insertions(+)
24506 commit 6409d659326bf3cefdf6051379e8bc2031f16733
24507 Author: Martin Pitt <martin.pitt@ubuntu.com>
24508 Date: Sat Jan 15 11:20:23 2011 -0600
24510 pygi-convert.sh: Convert Pango.WrapMode
24512 pygi-convert.sh | 1 +
24513 1 file changed, 1 insertion(+)
24515 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
24516 Author: Martin Pitt <martin.pitt@ubuntu.com>
24517 Date: Sat Jan 15 11:17:09 2011 -0600
24519 pygi-convert.sh: Don't change the name of "gtk" submodules
24521 Some projects have local modules like "myproject.ui.gtk". Avoid
24523 just change module names which start with "gtk" or "gdk".
24525 pygi-convert.sh | 4 ++--
24526 1 file changed, 2 insertions(+), 2 deletions(-)
24528 commit 9be0f1f2dfb89150faf1827ef482feea03645149
24529 Author: John (J5) Palmieri <johnp@redhat.com>
24530 Date: Thu Jan 13 23:56:19 2011 -0500
24532 [gi] implement aux arg handling for array lengths
24534 gi/pygi-argument.c | 8 ++++++++
24535 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
24536 gi/pygi-cache.h | 1 -
24537 gi/pygi-invoke.c | 8 ++++++--
24538 4 files changed, 42 insertions(+), 11 deletions(-)
24540 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
24541 Author: John (J5) Palmieri <johnp@redhat.com>
24542 Date: Thu Jan 13 21:07:25 2011 -0500
24544 [gi] marshal in hashes
24546 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
24547 gi/pygi-cache.c | 122
24548 +++++++++++++++++++++++++++++++++++++----------------
24549 2 files changed, 176 insertions(+), 39 deletions(-)
24551 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
24552 Author: Laszlo Pandy <git@laszlopandy.com>
24553 Date: Tue Jan 11 21:41:47 2011 +0100
24555 Fix the __dir__() methods on DynamicModule and IntrospectionModule
24557 Previously the __dir__() methods did not list all attributes.
24558 A simple test case is included. It does not test to see if
24559 every attribute is listed, it just tests a few of each kind:
24560 - (wrapped) typelib attributes
24561 - class attributes and methods
24562 - instance attributes
24564 A set() is used to avoid returning duplicate attributes.
24565 The test case checks for this as well.
24567 https://bugzilla.gnome.org/show_bug.cgi?id=639229
24569 gi/module.py | 28 +++++++++++++++++++++-------
24570 tests/test_everything.py | 18 ++++++++++++++++++
24571 2 files changed, 39 insertions(+), 7 deletions(-)
24573 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
24574 Author: Paolo Borelli <pborelli@gnome.org>
24575 Date: Thu Jan 13 00:02:20 2011 +0100
24577 pygi-convert.sh: handle ReliefStyle
24579 pygi-convert.sh | 1 +
24580 1 file changed, 1 insertion(+)
24582 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
24583 Author: John (J5) Palmieri <johnp@redhat.com>
24584 Date: Wed Jan 12 16:50:30 2011 -0500
24586 [gi] support for GList and GSList in
24588 gi/pygi-argument.c | 122
24589 ++++++++++++++++++++++++++++++++++++++++++++++++++---
24590 1 file changed, 116 insertions(+), 6 deletions(-)
24592 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
24593 Author: John (J5) Palmieri <johnp@redhat.com>
24594 Date: Wed Jan 12 16:24:17 2011 -0500
24596 [gi] handle allow_none for all args
24598 gi/pygi-cache.c | 3 ++-
24599 gi/pygi-cache.h | 1 +
24600 gi/pygi-invoke.c | 7 +++++++
24601 3 files changed, 10 insertions(+), 1 deletion(-)
24603 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
24604 Author: John (J5) Palmieri <johnp@redhat.com>
24605 Date: Wed Jan 12 16:23:02 2011 -0500
24607 [gi] fix marshalling fixed arrays
24609 * get the correct item_size and pass the GArray data not the GArray
24611 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
24612 gi/pygi-cache.c | 3 ++-
24613 2 files changed, 24 insertions(+), 18 deletions(-)
24615 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
24616 Author: John (J5) Palmieri <johnp@redhat.com>
24617 Date: Tue Jan 11 17:20:43 2011 -0500
24619 [gi] implement out arg handling
24621 gi/pygi-argument.c | 43 ++++++++++---------------------------
24622 gi/pygi-cache.c | 22 ++++++++++++++-----
24623 gi/pygi-invoke-state-struct.h | 13 +++++++++++
24624 gi/pygi-invoke.c | 50
24625 +++++++++++++++++++++++++++++++++++++++++--
24626 4 files changed, 89 insertions(+), 39 deletions(-)
24628 commit bd002c72675d35b5e60ab773181e7c36c30d2625
24629 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24630 Date: Tue Jan 11 22:21:18 2011 +0100
24632 setup.py: fix the provides keyword argument
24635 1 file changed, 1 insertion(+), 1 deletion(-)
24637 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
24638 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24639 Date: Tue Jan 11 22:19:18 2011 +0100
24641 setup.py: use the same spaces-less format for all setup() parameters
24643 setup.py | 8 ++++----
24644 1 file changed, 4 insertions(+), 4 deletions(-)
24646 commit c5c149be171895d292852df364541f14f0ec423a
24647 Author: John (J5) Palmieri <johnp@redhat.com>
24648 Date: Tue Jan 11 15:39:09 2011 -0500
24650 [gi] implemented return marshalling and started on out marshalling
24652 gi/pygi-argument.c | 387
24653 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
24654 gi/pygi-argument.h | 117 ++++++++++++++++
24655 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
24656 gi/pygi-cache.h | 8 +-
24657 gi/pygi-invoke.c | 12 +-
24658 5 files changed, 829 insertions(+), 11 deletions(-)
24660 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
24661 Author: John (J5) Palmieri <johnp@redhat.com>
24662 Date: Tue Jan 11 13:49:58 2011 -0500
24664 [gi] flesh out interface in marshalling a bit more
24666 gi/pygi-argument.c | 74
24667 ++++++++++++++++++++++++++++++++++++++++----------
24668 gi/pygi-cache.c | 79
24669 ++++++++++++++++++++++++++++++++++++++++++------------
24670 gi/pygi-cache.h | 1 +
24671 3 files changed, 123 insertions(+), 31 deletions(-)
24673 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
24674 Author: Laszlo Pandy <laszlok2@gmail.com>
24675 Date: Tue Jan 11 19:30:38 2011 +0100
24677 Add a __repr__() method to DynamicModule.
24679 This patch adds a __repr__() method to DynamicModule so that modules
24681 meaningful string with the typelib path included:
24683 >>> from gi.repository import Gtk
24685 <gi.module.DynamicModule 'Gtk' from
24686 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
24688 https://bugzilla.gnome.org/show_bug.cgi?id=639232
24690 gi/module.py | 9 +++++++++
24691 1 file changed, 9 insertions(+)
24693 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
24694 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24695 Date: Tue Jan 11 19:40:19 2011 +0100
24697 Go back to using getattr() in DynamicModule.__getattr__
24699 Breaks marshalling of some types
24701 gi/module.py | 2 +-
24702 1 file changed, 1 insertion(+), 1 deletion(-)
24704 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
24705 Author: Laszlo Pandy <laszlok2@gmail.com>
24706 Date: Tue Jan 11 19:26:50 2011 +0100
24708 Change __dir__() to report all the attributes that __getattr__
24711 Change DynamicModule.__dir__() to return the local class members as
24713 typelib attributes.
24715 Change DynamicModule.__getattr__() to call
24716 IntrospectionModule.__getattr__()
24717 directly, so that it won't inadvertently return class attributes from
24718 IntrospectionModule.
24720 https://bugzilla.gnome.org/show_bug.cgi?id=639229
24722 gi/module.py | 10 +++++++---
24723 1 file changed, 7 insertions(+), 3 deletions(-)
24725 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
24726 Author: John (J5) Palmieri <johnp@redhat.com>
24727 Date: Mon Jan 10 17:55:03 2011 -0500
24729 [gi] add object and interface in marshalling
24731 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
24734 gi/pygi-argument.c | 15 +++--
24735 gi/pygi-cache.c | 182
24736 ++++++++++++++++++++++++++++++++++++++++++++++++-----
24737 gi/pygi-cache.h | 1 -
24738 gi/pygi-invoke.c | 1 +
24739 4 files changed, 178 insertions(+), 21 deletions(-)
24741 commit 88531c58d0491a31dd319387237a03df5c9edc07
24742 Author: John (J5) Palmieri <johnp@redhat.com>
24743 Date: Mon Jan 10 15:33:56 2011 -0500
24745 [gi] fix casting when marshaling a char to uint8
24747 gi/pygi-argument.c | 2 +-
24748 1 file changed, 1 insertion(+), 1 deletion(-)
24750 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
24751 Author: John (J5) Palmieri <johnp@redhat.com>
24752 Date: Mon Jan 10 15:07:16 2011 -0500
24754 [gi] hook up invoke to the cache
24756 * We now can invoke with in values
24757 * out, constructors and returns still don't work along with numerous
24761 gi/Makefile.am | 1 +
24762 gi/pygi-argument.c | 60 +++++++++--------
24763 gi/pygi-argument.h | 60 ++++++++---------
24764 gi/pygi-cache.h | 6 +-
24765 gi/pygi-invoke-state-struct.h | 26 ++++++++
24766 gi/pygi-invoke.c | 149
24767 ++++++++++++++++++++++++++++++++----------
24768 gi/pygi-invoke.h | 2 +-
24769 gi/pygi-private.h | 1 +
24770 8 files changed, 208 insertions(+), 97 deletions(-)
24772 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
24773 Author: John (J5) Palmieri <johnp@redhat.com>
24774 Date: Sun Jan 9 19:37:55 2011 -0500
24776 hooked up caching stage and fixed segfaults
24778 * caching stage is hooked up but not used yet
24779 * throws exceptions for everything that can not be cached yet
24781 gi/pygi-cache.c | 59
24782 +++++++++++++++++++++++++++++++++++++++++++-------------
24783 gi/pygi-info.c | 3 +++
24784 gi/pygi-invoke.c | 5 +++++
24786 4 files changed, 56 insertions(+), 13 deletions(-)
24788 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
24789 Author: John (J5) Palmieri <johnp@redhat.com>
24790 Date: Sun Jan 9 18:05:31 2011 -0500
24792 [gi] fix some function names
24794 gi/pygi-cache.c | 5 ++---
24795 1 file changed, 2 insertions(+), 3 deletions(-)
24797 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
24798 Author: John (J5) Palmieri <johnp@redhat.com>
24799 Date: Sun Jan 9 15:58:06 2011 -0500
24801 [gi] refactor cache structs so they inherit from ArgCache
24803 gi/pygi-argument.c | 122 +++++++++----------
24804 gi/pygi-cache.c | 344
24805 +++++++++++++++++++++++++++++------------------------
24806 gi/pygi-cache.h | 50 ++++----
24807 3 files changed, 273 insertions(+), 243 deletions(-)
24809 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
24810 Author: John (J5) Palmieri <johnp@redhat.com>
24811 Date: Sat Jan 8 20:45:11 2011 -0500
24813 [gi]fix cache compile error - now compiles but cache still not
24816 gi/Makefile.am | 2 +
24817 gi/pygi-argument.c | 100 +++++++++++++++---------------
24818 gi/pygi-argument.h | 174
24819 ++++++++++++++++++++++++++++++++++++++++++++---------
24820 gi/pygi-cache.c | 169
24821 +++++++++++++++++++++++++--------------------------
24822 gi/pygi-cache.h | 25 ++++----
24823 5 files changed, 293 insertions(+), 177 deletions(-)
24825 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
24826 Author: John (J5) Palmieri <johnp@redhat.com>
24827 Date: Sat Jan 8 19:10:29 2011 -0500
24829 add sequence caching and array marshalling w/ item marshalling
24831 * simplify what we pass into the arg cache generators so we may
24833 for geneating marshalling caches for container items, not just
24836 gi/pygi-argument.c | 76 ++++++++++++++++-
24837 gi/pygi-cache.c | 242
24838 ++++++++++++++++++++++-------------------------------
24839 gi/pygi-cache.h | 4 +-
24840 3 files changed, 175 insertions(+), 147 deletions(-)
24842 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
24843 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
24844 Date: Sat Jan 8 02:19:52 2011 +0000
24846 Bump the minimum gio dependency
24848 Needed for G_TYPE_CONVERTER_FLAGS and others.
24850 configure.ac | 2 +-
24851 1 file changed, 1 insertion(+), 1 deletion(-)
24853 commit c3aa36151fdef9ed9884d93114786bbe86387983
24854 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24855 Date: Fri Jan 7 12:58:11 2011 +0100
24857 Add test for incorrect attributes in Gdk.Event
24859 tests/test_overrides.py | 4 ++++
24860 1 file changed, 4 insertions(+)
24862 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
24863 Author: Simon van der Linden <svdlinden@gnome.org>
24864 Date: Sun Jan 2 19:25:55 2011 +0100
24866 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
24868 __getattr__ is only called when the attribute is not found through
24870 mechanism, so getattr must not be called again in __getattr__
24872 create an infinite loop).
24874 Another possibility would be to implement __getattribute__ instead,
24876 called in place of the normal mechanism. In that case, calling
24878 needed for normal attributes.
24880 https://bugzilla.gnome.org/show_bug.cgi?id=638523
24882 gi/overrides/Gdk.py | 2 +-
24883 1 file changed, 1 insertion(+), 1 deletion(-)
24885 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
24886 Author: Mike Gorse <mgorse@novell.com>
24887 Date: Fri Jan 7 09:08:31 2011 +0100
24889 Release allocated array of arguments when handling closures
24891 https://bugzilla.gnome.org/show_bug.cgi?id=638847
24893 gi/pygi-closure.c | 3 +++
24894 1 file changed, 3 insertions(+)
24896 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
24897 Author: Mike Gorse <mgorse@novell.com>
24898 Date: Fri Jan 7 09:07:35 2011 +0100
24900 Release GIValueInfo when checking an enum argument
24902 https://bugzilla.gnome.org/show_bug.cgi?id=638847
24904 gi/pygi-argument.c | 1 +
24905 1 file changed, 1 insertion(+)
24907 commit 43849c51391fc9cd239697065c3d40fa02fb6783
24908 Author: John (J5) Palmieri <johnp@redhat.com>
24909 Date: Thu Jan 6 17:30:14 2011 -0500
24913 gi/pygi-cache.c | 24 ++++++++++++------------
24914 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
24915 2 files changed, 33 insertions(+), 33 deletions(-)
24917 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
24918 Author: John (J5) Palmieri <johnp@redhat.com>
24919 Date: Thu Jan 6 17:29:00 2011 -0500
24921 add marshalling for basic types and add more skeleton code
24923 * still doesn't compile
24925 gi/pygi-argument.c | 708
24926 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24927 gi/pygi-argument.h | 35 ++-
24928 gi/pygi-cache.c | 82 +++++--
24929 gi/pygi-cache.h | 41 +++-
24930 4 files changed, 832 insertions(+), 34 deletions(-)
24932 commit f554cf62848104d31518138ae85bc51acaafda67
24933 Author: John (J5) Palmieri <johnp@redhat.com>
24934 Date: Tue Jan 4 18:49:53 2011 -0500
24936 first checkin of the new caching branch
24938 * this does not compile and is not hooked up to the build system
24939 * lays out the caching data structures and some skeleton functions
24941 gi/pygi-cache.c | 480
24942 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24943 gi/pygi-cache.h | 104 ++++++++++++
24944 2 files changed, 584 insertions(+)
24946 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
24947 Author: Eitan Isaacson <eitan@monotonous.org>
24948 Date: Wed Dec 22 12:34:10 2010 -0800
24950 Respect different type lengths when assigning out-argument pointers.
24952 https://bugzilla.gnome.org/show_bug.cgi?id=637832
24954 gi/pygi-closure.c | 66
24955 ++++++++++++++++++++++++++++++++++++++++++++++---------
24956 1 file changed, 56 insertions(+), 10 deletions(-)
24958 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
24959 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24960 Date: Tue Dec 28 18:34:25 2010 +0100
24962 Fix stupid name clash
24964 gi/module.py | 7 +++++--
24965 1 file changed, 5 insertions(+), 2 deletions(-)
24967 commit 01b2a193d403beb861eab524300b4f1af63157ce
24968 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24969 Date: Tue Dec 28 13:49:18 2010 +0100
24971 Add /usr/share to XDG_DATA_DIRS when running the tests
24973 tests/Makefile.am | 7 ++++++-
24974 1 file changed, 6 insertions(+), 1 deletion(-)
24976 commit efc186f692f9eac781cc47456be74a3da7f14dcd
24977 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24978 Date: Tue Dec 28 13:25:34 2010 +0100
24980 Comment out tests that require SRV lookups
24982 tests/test_gresolver.py | 5 ++++-
24983 1 file changed, 4 insertions(+), 1 deletion(-)
24985 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
24986 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24987 Date: Tue Dec 28 13:00:16 2010 +0100
24989 Use suppresion file when running valgrind
24991 tests/Makefile.am | 2 +-
24992 tests/python.supp | 387
24993 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
24994 2 files changed, 388 insertions(+), 1 deletion(-)
24996 commit 0ee58113ecbea72784c52de928c041fc8fc88984
24997 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24998 Date: Thu Dec 23 00:10:41 2010 +0100
25002 gi/pygi-argument.c | 16 +++++++---------
25003 gi/pygi-foreign-cairo.c | 13 ++-----------
25004 gio/gfile.override | 5 ++---
25005 glib/pyglib-python-compat.h | 3 +++
25006 glib/pyglib.c | 2 +-
25007 glib/pygmainloop.c | 3 ++-
25008 6 files changed, 17 insertions(+), 25 deletions(-)
25010 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
25011 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
25012 Date: Sun Dec 19 23:10:57 2010 +0100
25014 Allow comparing Gtk.TreePath to None
25016 https://bugzilla.gnome.org/show_bug.cgi?id=637615
25018 gi/overrides/Gtk.py | 12 ++++++------
25019 tests/test_overrides.py | 6 ++++++
25020 2 files changed, 12 insertions(+), 6 deletions(-)
25022 commit 046cc5915286e042d1040271a90676b77632409e
25023 Author: John (J5) Palmieri <johnp@redhat.com>
25024 Date: Thu Dec 16 15:41:10 2010 -0500
25026 handle unicode objects in properties
25028 * There are still some cavets in Python 2:
25029 - properties are returned as String objects with the unicode
25031 - you must add # coding=utf-8 to the top of your python file
25033 will error out if it sees embeded unicode charaters (such as when
25034 supporting python 3 and python 2 from the same source)
25036 https://bugzilla.gnome.org/show_bug.cgi?id=620579
25038 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
25039 tests/test_properties.py | 16 ++++++++++++++++
25040 2 files changed, 42 insertions(+), 9 deletions(-)
25042 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
25043 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25044 Date: Tue Dec 14 12:29:54 2010 +0100
25046 dsextras.py: check if gcc is there when platform is win32 and compiler
25049 dsextras.py | 6 ++++++
25050 1 file changed, 6 insertions(+)
25052 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
25053 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25054 Date: Tue Dec 14 12:29:01 2010 +0100
25056 dsextras.py: be consistent in how distutils imports are done
25058 dsextras.py | 6 +++---
25059 1 file changed, 3 insertions(+), 3 deletions(-)
25061 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
25062 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25063 Date: Tue Dec 14 12:25:07 2010 +0100
25065 dsextras.py: add have_gcc() function
25067 dsextras.py | 5 +++++
25068 1 file changed, 5 insertions(+)
25070 commit 637c2c287cfb0e89365026531c651111f5593ac7
25071 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25072 Date: Tue Dec 14 12:24:41 2010 +0100
25074 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
25076 dsextras.py | 8 ++------
25077 1 file changed, 2 insertions(+), 6 deletions(-)
25079 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
25080 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25081 Date: Tue Dec 14 12:22:54 2010 +0100
25083 setup.py: fix another case of use True/False instead of 1/0
25086 1 file changed, 1 insertion(+), 1 deletion(-)
25088 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
25089 Author: Paolo Borelli <pborelli@gnome.org>
25090 Date: Mon Dec 13 10:21:52 2010 +0100
25092 pygi-convert.sh: improve GtkSourceView conversion
25094 pygi-convert.sh | 7 +++++++
25095 1 file changed, 7 insertions(+)
25097 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
25098 Author: Paolo Borelli <pborelli@gnome.org>
25099 Date: Mon Dec 13 10:27:56 2010 +0100
25101 pygi-convert.sh: Gtk.DialogFlags conversion
25103 pygi-convert.sh | 1 +
25104 1 file changed, 1 insertion(+)
25106 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
25107 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25108 Date: Sun Dec 12 20:38:46 2010 -0500
25110 Doc Extractor: Print the gtk-doc blocks sorted by function name.
25112 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
25114 alphabetical order according to the identifier (function name)
25116 the generation of xml files in the C++ bindings is deterministic.
25117 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
25120 codegen/docextract_to_xml.py | 2 +-
25121 1 file changed, 1 insertion(+), 1 deletion(-)
25123 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
25124 Author: Paolo Borelli <pborelli@gnome.org>
25125 Date: Mon Dec 13 00:17:26 2010 +0100
25127 pygi-convert.sh: add more Gtk conversions and sort
25129 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
25130 1 file changed, 26 insertions(+), 24 deletions(-)
25132 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
25133 Author: Paolo Borelli <pborelli@gnome.org>
25134 Date: Mon Dec 13 00:01:40 2010 +0100
25136 pygi-convert.sh: convert Atk
25138 pygi-convert.sh | 12 ++++++++++++
25139 1 file changed, 12 insertions(+)
25141 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
25142 Author: Paolo Borelli <pborelli@gnome.org>
25143 Date: Sun Dec 12 23:48:48 2010 +0100
25145 pygi-convert.sh: convert a few more Gio types
25147 pygi-convert.sh | 9 +++++++++
25148 1 file changed, 9 insertions(+)
25150 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
25151 Author: Paolo Borelli <pborelli@gnome.org>
25152 Date: Sun Dec 12 14:19:00 2010 +0100
25154 pygi-convert.sh: more GLib conversion
25156 pygi-convert.sh | 7 +++++++
25157 1 file changed, 7 insertions(+)
25159 commit c903390814bebdc62d530472f6f94feecc59b8b3
25160 Author: Paolo Borelli <pborelli@gnome.org>
25161 Date: Sun Dec 12 14:00:34 2010 +0100
25163 pygi-convert.sh: remove two cases handled by overrides
25165 pygi-convert.sh | 2 --
25166 1 file changed, 2 deletions(-)
25168 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
25169 Author: Paolo Borelli <pborelli@gnome.org>
25170 Date: Sun Dec 12 13:38:56 2010 +0100
25172 Override Gtk.ScrolledWindow constructor
25174 gi/overrides/Gtk.py | 7 +++++++
25175 tests/test_overrides.py | 7 +++++++
25176 2 files changed, 14 insertions(+)
25178 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
25179 Author: Paolo Borelli <pborelli@gnome.org>
25180 Date: Sun Dec 12 12:32:39 2010 +0100
25182 pygi-convert.sh: Fix 'find' syntax
25184 pygi-convert.sh | 2 +-
25185 1 file changed, 1 insertion(+), 1 deletion(-)
25187 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
25188 Author: Paolo Borelli <pborelli@gnome.org>
25189 Date: Sun Dec 12 12:29:38 2010 +0100
25191 pygi-convert.sh: start handling Gio and GLib
25193 pygi-convert.sh | 8 ++++++++
25194 1 file changed, 8 insertions(+)
25196 commit 365bf3251af3498dc797a58cce071805451b49b1
25197 Author: Paolo Borelli <pborelli@gnome.org>
25198 Date: Sat Dec 11 23:05:31 2010 +0100
25200 pygi-convert.sh: convert Gdk.ScrollDirection.
25202 pygi-convert.sh | 1 +
25203 1 file changed, 1 insertion(+)
25205 commit bca603de0f217fb290189a0ea330f82961c46d5d
25206 Author: Paolo Borelli <pborelli@gnome.org>
25207 Date: Sat Dec 11 15:03:21 2010 +0100
25209 Override Pango.Layout constructor.
25211 I must take a Pango.Context argument. Unfortumately the context is
25213 gobject property so we need to jump through some oops.
25215 gi/overrides/Pango.py | 13 +++++++++++++
25216 tests/test_overrides.py | 6 ++++++
25217 2 files changed, 19 insertions(+)
25219 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
25220 Author: Paolo Borelli <pborelli@gnome.org>
25221 Date: Sat Dec 11 14:18:53 2010 +0100
25223 Remove Pango.FontDescription() conversion.
25225 It is now properly handled by an override.
25227 pygi-convert.sh | 1 -
25228 1 file changed, 1 deletion(-)
25230 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
25231 Author: Paolo Borelli <pborelli@gnome.org>
25232 Date: Fri Dec 10 14:05:20 2010 +0100
25234 Override GtkAction and GtkRadioAction constructors.
25236 gi/overrides/Gtk.py | 20 +++++++++++++++++---
25237 tests/test_overrides.py | 18 ++++++++++++++++++
25238 2 files changed, 35 insertions(+), 3 deletions(-)
25240 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
25241 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
25242 Date: Sat Dec 4 22:13:28 2010 +0000
25244 Override Adjustment constructor to behave like pygtk
25246 https://bugzilla.gnome.org/show_bug.cgi?id=636486
25248 gi/overrides/Gtk.py | 7 +++++++
25249 tests/test_overrides.py | 9 +++++++++
25250 2 files changed, 16 insertions(+)
25252 commit e76352dd83c8706e68ad57d00d185da9afea99c4
25253 Author: John (J5) Palmieri <johnp@redhat.com>
25254 Date: Thu Dec 9 13:23:10 2010 -0500
25256 add secondary_text apis to MessageDialog
25258 gi/overrides/Gtk.py | 8 ++++++++
25259 tests/test_overrides.py | 8 ++++++++
25260 2 files changed, 16 insertions(+)
25262 commit de682b2d36c362140ab7d43c0743b01ec0865a74
25263 Author: John (J5) Palmieri <johnp@redhat.com>
25264 Date: Wed Dec 8 16:39:27 2010 -0500
25266 [gi] get rid of some debug prints and fix error messages
25268 gi/overrides/Gtk.py | 7 +++----
25269 1 file changed, 3 insertions(+), 4 deletions(-)
25271 commit dbb16571803bf51f497768bf80944514f4290ee5
25272 Author: Paolo Borelli <pborelli@gnome.org>
25273 Date: Wed Dec 8 18:25:15 2010 +0100
25275 Fix demo for override changes.
25277 demos/gtk-demo/gtk-demo.py | 5 +++--
25278 1 file changed, 3 insertions(+), 2 deletions(-)
25280 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
25281 Author: Paolo Borelli <pborelli@gnome.org>
25282 Date: Wed Dec 8 18:06:01 2010 +0100
25284 Override Pango.FontDescription.
25286 demos/gtk-demo/gtk-demo.py | 2 +-
25287 gi/overrides/Makefile.am | 1 +
25288 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
25289 tests/test_overrides.py | 7 +++++++
25290 4 files changed, 49 insertions(+), 1 deletion(-)
25292 commit 769da968c9187414d0420412d8fb8c833d12042a
25293 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25294 Date: Wed Dec 8 17:38:11 2010 +0100
25296 Stop checking that all vfuncs are implemented
25298 Because some methods are optionally implementable but g-i won't
25301 https://bugzilla.gnome.org/show_bug.cgi?id=619606
25303 gi/gimodule.c | 4 +++-
25304 gi/types.py | 12 ++----------
25305 tests/test_gi.py | 10 ----------
25306 3 files changed, 5 insertions(+), 21 deletions(-)
25308 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
25309 Author: Paolo Borelli <pborelli@gnome.org>
25310 Date: Wed Dec 8 17:37:00 2010 +0100
25312 Fix usage of TreeIter api that is now an override.
25314 demos/gtk-demo/gtk-demo.py | 6 +++---
25315 1 file changed, 3 insertions(+), 3 deletions(-)
25317 commit d2cfd6e9250d40de7c715ac74e299deddf137683
25318 Author: Paolo Borelli <pborelli@gnome.org>
25319 Date: Wed Dec 8 17:34:54 2010 +0100
25321 Fix Gtk.Label(label="Foo")
25323 Use 'label' as an argument name instead of 'str', otherwise we may
25324 end up up with two 'label' in the kwds dict. Besides 'str' is a
25327 gi/overrides/Gtk.py | 4 ++--
25328 1 file changed, 2 insertions(+), 2 deletions(-)
25330 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
25331 Author: Paolo Borelli <pborelli@gnome.org>
25332 Date: Wed Dec 8 14:16:39 2010 +0100
25334 Fix typo when raising an exception
25337 1 file changed, 1 insertion(+), 1 deletion(-)
25339 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
25340 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25341 Date: Wed Dec 8 10:46:27 2010 +0100
25343 pygi-convert.sh: Added more conversions
25345 pygi-convert.sh | 14 ++++++++++++++
25346 1 file changed, 14 insertions(+)
25348 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
25349 Author: Paolo Borelli <pborelli@gnome.org>
25350 Date: Tue Dec 7 20:39:15 2010 +0100
25352 Override LinkButton constructor to make 'uri' mandatory
25354 gi/overrides/Gtk.py | 7 +++++++
25355 tests/test_overrides.py | 6 ++++++
25356 2 files changed, 13 insertions(+)
25358 commit f4f7fb35af1b41598dc050f5df155a01c370a920
25359 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
25360 Date: Sat Dec 4 19:19:19 2010 +0600
25362 Container should be iterable.
25364 gi/overrides/Gtk.py | 9 +++++++++
25365 tests/test_overrides.py | 6 +++++-
25366 2 files changed, 14 insertions(+), 1 deletion(-)
25368 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
25369 Author: Paolo Borelli <pborelli@gnome.org>
25370 Date: Tue Dec 7 14:13:00 2010 +0100
25372 No need to import Gdk
25374 gi/overrides/Gtk.py | 1 -
25375 1 file changed, 1 deletion(-)
25377 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
25378 Author: Paolo Borelli <pborelli@gnome.org>
25379 Date: Tue Dec 7 14:07:53 2010 +0100
25383 gi/overrides/Gtk.py | 7 +++----
25384 1 file changed, 3 insertions(+), 4 deletions(-)
25386 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
25387 Author: John (J5) Palmieri <johnp@redhat.com>
25388 Date: Mon Dec 6 16:05:30 2010 -0500
25390 [gi] make sure Gtk.Button override passes all keywords to parent
25393 gi/overrides/Gtk.py | 4 ++--
25394 1 file changed, 2 insertions(+), 2 deletions(-)
25396 commit cede81ad65db017e95543d8d35715751aa202fed
25397 Author: Paolo Borelli <pborelli@gnome.org>
25398 Date: Sun Dec 5 13:31:20 2010 +0100
25400 Fix cut&paste error in the Label override
25402 gi/overrides/Gtk.py | 2 +-
25403 1 file changed, 1 insertion(+), 1 deletion(-)
25405 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
25406 Author: Paolo Borelli <pborelli@gnome.org>
25407 Date: Sat Dec 4 16:03:27 2010 +0100
25409 pygi-convert.sh: handle TextWindowType
25411 pygi-convert.sh | 1 +
25412 1 file changed, 1 insertion(+)
25414 commit dfeabe0b68938e27da2e65903983b5113dc422f1
25415 Author: Paolo Borelli <pborelli@gnome.org>
25416 Date: Sat Dec 4 15:49:15 2010 +0100
25418 Override Label constructor to behave like pygtk
25420 gi/overrides/Gtk.py | 7 +++++++
25421 tests/test_overrides.py | 4 ++++
25422 2 files changed, 11 insertions(+)
25424 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
25425 Author: Paolo Borelli <pborelli@gnome.org>
25426 Date: Sat Dec 4 15:40:35 2010 +0100
25428 Override GtkTable constructor to behave like pygtk
25430 gi/overrides/Gtk.py | 7 +++++++
25431 tests/test_overrides.py | 12 ++++++++++++
25432 2 files changed, 19 insertions(+)
25434 commit 81452c23ab1befa59ff375692e582791432796a5
25435 Author: Paolo Borelli <pborelli@gnome.org>
25436 Date: Sat Dec 4 12:59:43 2010 +0100
25438 pygi-convert.sh: convert MovementStep
25440 pygi-convert.sh | 1 +
25441 1 file changed, 1 insertion(+)
25443 commit 4d097eea94258eda0c328711491fd456cbd6741b
25444 Author: Paolo Borelli <pborelli@gnome.org>
25445 Date: Sat Dec 4 11:57:02 2010 +0100
25447 Update Gdk overrides to work with latest Gtk+ 3
25449 For now added consitionals on version == 2.0, but maybe at some
25451 shuld just clean up the old stuff.
25453 gi/overrides/Gdk.py | 22 ++++++++++++++++------
25454 1 file changed, 16 insertions(+), 6 deletions(-)
25456 commit cda317195566711d66190145b545e26ed7226172
25457 Author: Johan Dahlin <johan@gnome.org>
25458 Date: Thu Dec 2 23:47:40 2010 -0200
25460 Gtk: add an override for Gtk.main_quit
25462 Override gtk.main_quit so that it can be used as a callback
25463 to signals, most importantly to the destroy signal of a widget:
25465 widget.connect('destroy', gtk.main_quit)
25467 This is compatible with what PyGTK does.
25469 https://bugzilla.gnome.org/show_bug.cgi?id=636336
25471 gi/overrides/Gtk.py | 5 ++++-
25472 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
25473 2 files changed, 29 insertions(+), 3 deletions(-)
25475 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
25476 Author: John (J5) Palmieri <johnp@redhat.com>
25477 Date: Thu Dec 2 16:27:04 2010 -0500
25479 [gi] handle subtypes when inserting into tree models
25481 * Often modules will give back basic types wrapped in a subtype.
25482 This is the case with D-Bus where you may want to keep some of the
25483 metadata around. More often than not, the developer is just looking
25484 to use the basetype.
25486 * This override checks the column type and handles basic types such as
25487 gchararrays, ints, longs, floats and doubles, converting them
25489 base types before sending them to the generic GI type marshaller.
25491 * More types may need to be supported but these are the common
25495 https://bugzilla.gnome.org/show_bug.cgi?id=635172
25497 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
25498 tests/test_overrides.py | 8 +++++++-
25499 2 files changed, 43 insertions(+), 3 deletions(-)
25501 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
25502 Author: Paolo Borelli <pborelli@gnome.org>
25503 Date: Fri Dec 3 23:39:50 2010 +0100
25505 Override TreeSelection.select_path and TreeView.scroll_to_cell
25507 The "path" argument may also be a string or a tuple
25509 gi/overrides/Gtk.py | 10 ++++++++++
25510 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
25511 2 files changed, 39 insertions(+)
25513 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
25514 Author: Paolo Borelli <pborelli@gnome.org>
25515 Date: Fri Dec 3 23:29:00 2010 +0100
25517 Override TreePath.__new__
25519 Instead of having a private _tree_path_from_string it is cleaner to
25520 override __new__ and it will be useful for all the api that take a
25521 TreePath or a string or a tuple.
25523 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
25524 tests/test_overrides.py | 18 ++++++++++++++++++
25525 2 files changed, 33 insertions(+), 18 deletions(-)
25527 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
25528 Author: Paolo Borelli <pborelli@gnome.org>
25529 Date: Sun Nov 28 13:02:30 2010 +0100
25531 Override Container to behave like a sequence
25533 gi/overrides/Gtk.py | 6 ++++++
25534 tests/test_overrides.py | 11 +++++++++++
25535 2 files changed, 17 insertions(+)
25537 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
25538 Author: John (J5) Palmieri <johnp@redhat.com>
25539 Date: Tue Nov 30 16:57:05 2010 -0500
25541 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
25544 * this patch does the recursion using the previous patche's support
25547 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
25548 1 file changed, 45 insertions(+), 10 deletions(-)
25550 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
25551 Author: Jonathan Matthew <jonathan@d14n.org>
25552 Date: Thu Jul 22 23:19:51 2010 +1000
25554 Recurse up through base classes when setting up vfuncs
25556 * this patch adds the support methods to do the recursion
25558 https://bugzilla.gnome.org/show_bug.cgi?id=625033
25560 gi/gimodule.c | 130
25561 ++++++++++++++++++++++++++++++++++++++++---------------
25562 tests/test_gi.py | 37 ++++++++++++++++
25563 2 files changed, 131 insertions(+), 36 deletions(-)
25565 commit 78358e1ab54d02317f397276adee03ecb2187588
25566 Author: John (J5) Palmieri <johnp@redhat.com>
25567 Date: Mon Nov 29 18:29:57 2010 -0500
25569 add a profiling torture test for when we fix up invoke
25571 tests/test_everything.py | 67
25572 ++++++++++++++++++++++++++++++++++++++++++++++++
25573 1 file changed, 67 insertions(+)
25575 commit 792e679c06df4357843fd310c7953a931172fc99
25576 Author: John (J5) Palmieri <johnp@redhat.com>
25577 Date: Mon Nov 29 16:41:38 2010 -0500
25579 moved dynamic and base modules outside of gtk-2.0 directory
25581 * do not move header files yet as they are mostly used by static
25583 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
25585 these back to pygtk but you might want to import gio static
25587 having to have pygtk installed
25588 * I have not tested this with pygtk, committing it so we can find
25590 causes any issues with legacy modules and code
25592 gi/Makefile.am | 2 +-
25593 gi/overrides/Makefile.am | 2 +-
25594 gi/repository/Makefile.am | 2 +-
25595 glib/Makefile.am | 2 +-
25596 gobject/Makefile.am | 2 +-
25597 tests/test_gi.py | 2 --
25598 tests/test_overrides.py | 3 ---
25599 7 files changed, 5 insertions(+), 10 deletions(-)
25601 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
25602 Author: John (J5) Palmieri <johnp@redhat.com>
25603 Date: Mon Nov 29 15:11:46 2010 -0500
25605 add test for inout argument count
25607 tests/test_gi.py | 1 +
25608 1 file changed, 1 insertion(+)
25610 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
25611 Author: John (J5) Palmieri <johnp@redhat.com>
25612 Date: Mon Nov 22 19:17:23 2010 -0500
25614 [gi] add check for UNICHAR
25616 https://bugzilla.gnome.org/show_bug.cgi?id=623615
25618 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
25619 tests/test_everything.py | 17 +++++++++++++++--
25620 2 files changed, 41 insertions(+), 3 deletions(-)
25622 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
25623 Author: Paolo Borelli <pborelli@gnome.org>
25624 Date: Sun Nov 21 12:16:53 2010 +0100
25628 https://bugzilla.gnome.org/show_bug.cgi?id=623615
25630 gi/pygi-argument.c | 60
25631 ++++++++++++++++++++++++++++++++++++++++++++++++
25632 gi/pygi-info.c | 5 ++++
25633 tests/test_everything.py | 5 ++++
25634 3 files changed, 70 insertions(+)
25636 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
25637 Author: Paolo Borelli <pborelli@gnome.org>
25638 Date: Sat Nov 27 23:01:42 2010 +0100
25640 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
25642 pygi-convert.sh | 1 +
25643 1 file changed, 1 insertion(+)
25645 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
25646 Author: Paolo Borelli <pborelli@gnome.org>
25647 Date: Sat Nov 27 22:34:13 2010 +0100
25649 pygi-convert.sh: handle "from gtk import gdk"
25651 pygi-convert.sh | 2 ++
25652 1 file changed, 2 insertions(+)
25654 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
25655 Author: Paolo Borelli <pborelli@gnome.org>
25656 Date: Sat Nov 27 22:23:24 2010 +0100
25658 pygi-convert.sh: add some Pango special cases
25660 pygi-convert.sh | 3 +++
25661 1 file changed, 3 insertions(+)
25663 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
25664 Author: Paolo Borelli <pborelli@gnome.org>
25665 Date: Sat Nov 27 19:51:38 2010 +0100
25667 Override TextIter (begins|ends|toggles)_tag()
25669 Make the tag argument optional.
25671 gi/overrides/Gtk.py | 9 +++++++++
25672 tests/test_overrides.py | 17 +++++++++++++++++
25673 2 files changed, 26 insertions(+)
25675 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
25676 Author: Paolo Borelli <pborelli@gnome.org>
25677 Date: Sat Nov 27 19:32:48 2010 +0100
25679 Override TextBuffer.set_text() to make length optional
25681 gi/overrides/Gtk.py | 3 +++
25682 tests/test_overrides.py | 11 ++++++++++-
25683 2 files changed, 13 insertions(+), 1 deletion(-)
25685 commit bf55dc862755a57bb1b998702d284fc460e88a30
25686 Author: Paolo Borelli <pborelli@gnome.org>
25687 Date: Sat Nov 27 16:46:40 2010 +0100
25689 Override TextBuffer.create_mark()
25691 Override create_mark to make the left_gravity argument optional
25693 gi/overrides/Gtk.py | 3 +++
25694 tests/test_overrides.py | 3 +++
25695 2 files changed, 6 insertions(+)
25697 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
25698 Author: Paolo Borelli <pborelli@gnome.org>
25699 Date: Sat Nov 27 16:10:33 2010 +0100
25701 Fix TextBuffer.get_selection_bounds() override
25703 Fix the override and add unit test
25705 gi/overrides/Gtk.py | 8 +++++---
25706 tests/test_overrides.py | 7 +++++++
25707 2 files changed, 12 insertions(+), 3 deletions(-)
25709 commit 0cd717e3926276540b9145e58a4a3368136b00de
25710 Author: John (J5) Palmieri <johnp@redhat.com>
25711 Date: Mon Nov 22 18:35:09 2010 -0500
25713 [gi] fix ActionGroup constructor to allow other keyword properties
25716 gi/overrides/Gtk.py | 4 ++--
25717 1 file changed, 2 insertions(+), 2 deletions(-)
25719 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
25720 Author: John (J5) Palmieri <johnp@redhat.com>
25721 Date: Mon Nov 22 18:32:28 2010 -0500
25723 [gi] require the name parameter when creatin a Gtk.ActionGroup
25725 gi/overrides/Gtk.py | 3 +++
25726 tests/test_overrides.py | 2 ++
25727 2 files changed, 5 insertions(+)
25729 commit d0049fa9982d13b3553b05569fb0a227e48b6647
25730 Author: Paolo Borelli <pborelli@gnome.org>
25731 Date: Sun Nov 21 15:20:58 2010 +0100
25733 Override UIManager.insert_action_group
25735 https://bugzilla.gnome.org/show_bug.cgi?id=635437
25737 gi/overrides/Gtk.py | 3 +++
25738 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
25739 2 files changed, 24 insertions(+), 13 deletions(-)
25741 commit e1db544e46aeed984133896af34b671a6a5547df
25742 Author: Paolo Borelli <pborelli@gnome.org>
25743 Date: Sun Nov 21 23:03:25 2010 +0100
25745 Override TreeModel.get() to return a tuple
25747 https://bugzilla.gnome.org/show_bug.cgi?id=635466
25749 gi/overrides/Gtk.py | 15 +++++++++++++++
25750 tests/test_overrides.py | 6 ++++++
25751 2 files changed, 21 insertions(+)
25753 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
25754 Author: Paolo Borelli <pborelli@gnome.org>
25755 Date: Sun Nov 21 21:57:40 2010 +0100
25757 Make TreeSelection.get_selected_rows compatible with PyGtk
25759 https://bugzilla.gnome.org/show_bug.cgi?id=635464
25761 gi/overrides/Gtk.py | 6 ++++++
25762 1 file changed, 6 insertions(+)
25764 commit 1c537bc67107948c92b51ba6ba749747e84263e2
25765 Author: John (J5) Palmieri <johnp@redhat.com>
25766 Date: Mon Nov 22 15:04:00 2010 -0500
25768 [gi] switch to using sequences/tuples when marshalling
25769 cairo_rectangle_int_t
25771 * Upstream pycairo didn't want to add a new wrapper for
25772 cairo_rectangle_int_t
25773 * this works around that issue by using 4 element squences instead
25775 should be accepted by pycairo for any API that takes a rect
25777 gi/pygi-foreign-cairo.c | 85
25778 +++++++++++++++++++++++++++++++++++++------------
25779 1 file changed, 64 insertions(+), 21 deletions(-)
25781 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
25782 Author: John (J5) Palmieri <johnp@redhat.com>
25783 Date: Fri Nov 19 16:46:53 2010 -0500
25785 [gi] overrides for treeview Drag and Drop
25787 https://bugzilla.gnome.org/show_bug.cgi?id=627367
25789 gi/overrides/Gdk.py | 7 +++++++
25790 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
25791 2 files changed, 32 insertions(+)
25793 commit 3fd51bb903724b752f72f49c7cb35652b819791d
25794 Author: John (J5) Palmieri <johnp@redhat.com>
25795 Date: Fri Nov 19 16:44:32 2010 -0500
25797 [gi] when encountering guint8 arrays treat them as byte arrays
25799 * In Python 2 this means returning a PyString object
25800 * In Python 3 we return a PyBytes object
25802 https://bugzilla.gnome.org/show_bug.cgi?id=627367
25804 gi/pygi-argument.c | 65
25805 ++++++++++++++++++++++++++++++++++++++++++++----------
25806 tests/test_gi.py | 6 +++--
25807 2 files changed, 57 insertions(+), 14 deletions(-)
25809 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
25810 Author: Martin Pitt <martin.pitt@ubuntu.com>
25811 Date: Fri Nov 19 18:19:38 2010 +0100
25813 pygi-convert.sh: Add pynotify -> Notify
25815 pygi-convert.sh | 3 +++
25816 1 file changed, 3 insertions(+)
25818 commit bf03d4db03a7739ac16ddc4e614441557ede554d
25819 Author: Martin Pitt <martin.pitt@ubuntu.com>
25820 Date: Fri Nov 19 09:08:07 2010 +0100
25822 pygi-convert.sh: Remove sugar specifics, and allow command line
25825 This script is generally useful for converting pygtk2 projects,
25827 sugar. Remove the sugar specific bits, since they will just cause
25830 Also allow the user to specify the files to convert as command line
25831 arguments. If not given, all *.py files will be processed.
25833 https://bugzilla.gnome.org/show_bug.cgi?id=635244
25835 pygi-convert.sh | 25 +++++--------------------
25836 1 file changed, 5 insertions(+), 20 deletions(-)
25838 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
25839 Author: Martin Pitt <martin.pitt@ubuntu.com>
25840 Date: Fri Nov 19 09:00:35 2010 +0100
25842 pygi-convert.sh: Cover Message and Buttons types
25844 https://bugzilla.gnome.org/show_bug.cgi?id=635244
25846 pygi-convert.sh | 2 ++
25847 1 file changed, 2 insertions(+)
25849 commit ef74273c2043944708515e59a654ebe4944b46ff
25850 Author: John (J5) Palmieri <johnp@redhat.com>
25851 Date: Thu Nov 18 13:54:48 2010 -0500
25853 [gi] fix actiongroup test since actions are hashed
25855 * when actions are listed they may not show up in the order they
25857 since they reside in an unordered hash internally
25859 tests/test_overrides.py | 9 +++++----
25860 1 file changed, 5 insertions(+), 4 deletions(-)
25862 commit 2c25886bf6710568d0646f82dce4770faa44c40d
25863 Author: John (J5) Palmieri <johnp@redhat.com>
25864 Date: Wed Nov 17 14:38:09 2010 -0500
25866 [gi] when converting to UTF-8 accept Python Unicode objects as input
25869 https://bugzilla.gnome.org/show_bug.cgi?id=620579
25871 gi/pygi-argument.c | 14 ++++++++++++--
25872 glib/pyglib-python-compat.h | 5 +++++
25873 tests/test_gi.py | 3 +++
25874 3 files changed, 20 insertions(+), 2 deletions(-)
25876 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
25877 Author: Damien Caliste <damien.caliste@cea.fr>
25878 Date: Fri Nov 12 10:20:32 2010 +0100
25880 Correct a bug in the freeing of memory in pygi-invoke.c.
25882 When a method with inout arguments is called from Python with
25883 a wrong number of arguments, the system crashs because of an
25884 assertion fail. This patch corrects this behaviour.
25886 https://bugzilla.gnome.org/show_bug.cgi?id=634671
25888 gi/pygi-invoke.c | 25 ++++++++++++++-----------
25889 1 file changed, 14 insertions(+), 11 deletions(-)
25891 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
25892 Author: John (J5) Palmieri <johnp@redhat.com>
25893 Date: Wed Nov 10 14:11:56 2010 -0500
25895 update news for release
25898 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25899 1 file changed, 73 insertions(+)
25901 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
25902 Author: Jonathan Matthew <jonathan@d14n.org>
25903 Date: Tue Sep 28 13:44:13 2010 +1000
25905 Implement richcompare for GIBaseInfo
25907 https://bugzilla.gnome.org/show_bug.cgi?id=625033
25909 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
25910 1 file changed, 29 insertions(+)
25912 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
25913 Author: John (J5) Palmieri <johnp@redhat.com>
25914 Date: Tue Nov 9 22:57:41 2010 -0500
25916 [gi] add the rectangle_int_t forign cairo type
25918 * the pycairo maintainer is not being responsive so you will need
25920 https://bugs.freedesktop.org/show_bug.cgi?id=31111
25921 * added conditionals, if the api doesn't exist in PyCairo we will
25923 without the forign structs
25925 gi/pygi-foreign-cairo.c | 4 ++++
25926 1 file changed, 4 insertions(+)
25928 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
25929 Author: John (J5) Palmieri <johnp@redhat.com>
25930 Date: Mon Oct 25 18:28:36 2010 -0400
25932 add a foreign type for cairo_rectangle_int_t and allow it to be
25935 * this is needed because Gdk and Gtk switched from returning a
25937 to a CairoRectangleInt structure
25938 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
25940 for pycairo (however there is currently no patch for python 2)
25941 * added fix for foreign types to allow them to be caller allocated
25942 * in order for a type to be caller allocated it must be able to take
25944 and create an empty struct in foreign_struct_from_arg and it must
25946 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
25948 https://bugzilla.gnome.org/show_bug.cgi?id=627545
25950 gi/pygi-foreign-cairo.c | 57
25951 +++++++++++++++++++++++++++++++++++++++++++++++++
25952 gi/pygi-invoke.c | 15 +++++++++++--
25953 2 files changed, 70 insertions(+), 2 deletions(-)
25955 commit ce8b948310220288e9eef904eef4ec8f4e24a376
25956 Author: John (J5) Palmieri <johnp@redhat.com>
25957 Date: Tue Nov 9 22:11:51 2010 -0500
25959 [gi] add overrides to Gtk.Editable
25961 gi/overrides/Gtk.py | 17 +++++++++++++++++
25962 tests/test_overrides.py | 12 ++++++++++++
25963 2 files changed, 29 insertions(+)
25965 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
25966 Author: John (J5) Palmieri <johnp@redhat.com>
25967 Date: Tue Nov 9 21:12:54 2010 -0500
25969 [gi] handle virtual invokers
25971 * right now we check to see if there is an method with the same name
25972 as the virtual method and assume that is the invoker
25973 * some invokers are named different so we now ask the VFuncInfo if
25974 the vfunc has an invoker
25975 * this is still not completly correct, gi needs to support telling
25976 us which vfuncs must be overridden.
25977 * this keeps the old way of checking vfuncs while adding the edge case
25978 where vfunc is named differently from their invoker
25980 gi/pygi-info.c | 16 ++++++++++++++++
25982 2 files changed, 17 insertions(+), 1 deletion(-)
25984 commit 540e9f1f349ba3625e28b7673c92210eb8974098
25985 Author: John (J5) Palmieri <johnp@redhat.com>
25986 Date: Tue Nov 9 12:17:05 2010 -0500
25988 add overrides for the insert* apis of list_store and tree_store
25990 * add set_row to tree_model as convinience method for both list and
25993 https://bugzilla.gnome.org/show_bug.cgi?id=634423
25995 gi/overrides/Gtk.py | 80
25996 ++++++++++++++++++++++++++++++++++++++-----------
25997 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
25998 2 files changed, 114 insertions(+), 19 deletions(-)
26000 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
26001 Author: John (J5) Palmieri <johnp@redhat.com>
26002 Date: Fri Nov 5 13:56:12 2010 -0400
26004 fix dialogs overrides which were relying on broken inheritance
26007 gi/overrides/Gtk.py | 14 ++++++++++++--
26008 1 file changed, 12 insertions(+), 2 deletions(-)
26010 commit 89c104d17d79d7b935cd76101cba19d49390f7be
26011 Author: John (J5) Palmieri <johnp@redhat.com>
26012 Date: Thu Nov 4 12:00:14 2010 -0400
26014 Add a overrides registry so we can refrence overrides inside the
26017 * Overrides have a reentrancy issue when doing inheritance. If an
26019 inherits from another override down the stack it won't see the
26021 because the module is not finished loading and will inherit from the
26022 non-overriden object instead. This causes type errors later.
26023 * By adding the overrides to a registry outside of the module we
26025 registration and make the override available as soon as the class
26027 not when the whole module is parsed.
26029 https://bugzilla.gnome.org/show_bug.cgi?id=633347
26031 gi/module.py | 12 ++++++++++-
26032 gi/overrides/GIMarshallingTests.py | 2 +-
26033 gi/overrides/Gdk.py | 2 +-
26034 gi/overrides/Gtk.py | 2 +-
26035 gi/overrides/__init__.py | 43
26036 ++++++++++++++++++++++++++++++++++++++
26037 gi/types.py | 8 -------
26038 tests/test_overrides.py | 27 ++++++++++++++++++++++++
26039 7 files changed, 84 insertions(+), 12 deletions(-)
26041 commit 878b8f630acd2146bee364054acd45cd33eea37a
26042 Merge: cdacaa9 e317838
26043 Author: John Stowers <john.stowers@gmail.com>
26044 Date: Fri Nov 5 11:40:22 2010 +1300
26046 Merge remote branch 'dieterv/setup-fixes-for-merge'
26048 commit e317838178fba5f0590fb8bd323f49602d564b53
26049 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26050 Date: Thu Nov 4 11:16:43 2010 +0100
26052 setup.py: ease maintenance burden for tests installation
26054 setup.py | 23 +++--------------------
26055 1 file changed, 3 insertions(+), 20 deletions(-)
26057 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
26058 Author: John (J5) Palmieri <johnp@redhat.com>
26059 Date: Wed Nov 3 09:51:09 2010 -0400
26061 fix inheritence issues in overrides
26063 gi/overrides/Gtk.py | 79
26064 +++++++++++++++++++++++++++--------------------------
26065 1 file changed, 40 insertions(+), 39 deletions(-)
26067 commit 3d5955767d81f45e796ab2af0707533375681774
26068 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26069 Date: Wed Nov 3 09:38:56 2010 +0100
26071 tests: add runtests-windows.py script
26073 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26075 tests/runtests-windows.py | 47
26076 +++++++++++++++++++++++++++++++++++++++++++++++
26077 1 file changed, 47 insertions(+)
26079 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
26080 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26081 Date: Wed Nov 3 09:35:52 2010 +0100
26083 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
26084 postinstall as pkg-config on windows figures out the correct prefix
26087 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26089 pygobject_postinstall.py | 26 +++-----------------------
26090 1 file changed, 3 insertions(+), 23 deletions(-)
26092 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
26093 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26094 Date: Wed Nov 3 09:34:38 2010 +0100
26096 pygobject_postinstall.py: remove shortcut creation
26098 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26100 pygobject_postinstall.py | 35 +----------------------------------
26101 1 file changed, 1 insertion(+), 34 deletions(-)
26103 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
26104 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26105 Date: Wed Nov 3 09:31:14 2010 +0100
26107 setup.py: formatting cleanup, makes things readable
26109 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26111 setup.py | 56 ++++++++++++++++++++++++++------------------------------
26112 1 file changed, 26 insertions(+), 30 deletions(-)
26114 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
26115 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26116 Date: Wed Nov 3 09:28:36 2010 +0100
26118 setup.py: build and install tests
26120 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26124 1 file changed, 61 insertions(+)
26126 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
26127 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26128 Date: Wed Nov 3 09:26:59 2010 +0100
26130 setup.py: install documentation when available on build system
26132 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26135 1 file changed, 3 insertions(+)
26137 commit 78533d851ee1314686f18cfa793613a9cf7d6686
26138 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26139 Date: Wed Nov 3 09:25:56 2010 +0100
26141 setup.py: install pygobject-codegen script
26143 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26145 setup.py | 25 +++++++++++++++++++++++++
26146 1 file changed, 25 insertions(+)
26148 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
26149 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26150 Date: Wed Nov 3 09:24:45 2010 +0100
26152 setup.py: install fixxref.py script
26154 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26157 1 file changed, 3 insertions(+)
26159 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
26160 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26161 Date: Wed Nov 3 09:23:05 2010 +0100
26163 setup.py: rearrange constants
26165 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26167 setup.py | 37 ++++++++++++++++++++-----------------
26168 1 file changed, 20 insertions(+), 17 deletions(-)
26170 commit 7d353d04892de67265bf693f591f37fd393de639
26171 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26172 Date: Wed Nov 3 09:18:11 2010 +0100
26174 setup.py: check python version and pkgconig availability before
26177 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26179 setup.py | 18 ++++++++++--------
26180 1 file changed, 10 insertions(+), 8 deletions(-)
26182 commit 286364ed39953e942e24d5911519bcac2f90975a
26183 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26184 Date: Wed Nov 3 09:05:59 2010 +0100
26186 setup.py: simplify sys.platform != 'win32' detection and error
26189 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26191 setup.py | 29 +++++++++--------------------
26192 1 file changed, 9 insertions(+), 20 deletions(-)
26194 commit 3f70f92904c123e6cc40929c0affd3f75d061828
26195 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26196 Date: Wed Nov 3 09:02:30 2010 +0100
26198 setup.py: rearrange imports
26200 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26202 setup.py | 31 ++++++++++++++++++++++---------
26203 1 file changed, 22 insertions(+), 9 deletions(-)
26205 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
26206 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26207 Date: Wed Nov 3 08:58:00 2010 +0100
26209 README.win32: update build instructions
26211 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26213 README.win32 | 13 +++++--------
26214 1 file changed, 5 insertions(+), 8 deletions(-)
26216 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
26217 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26218 Date: Wed Nov 3 07:59:18 2010 +0100
26220 dsextras.py: formatting cleanup, makes things readable
26222 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26225 ++++++++++++++++++++++++++++++++++++++----------------------
26226 1 file changed, 93 insertions(+), 55 deletions(-)
26228 commit d03503d0412d173acb383926ab3c2d640dad3e3f
26229 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26230 Date: Wed Nov 3 07:00:40 2010 +0100
26232 dsextras.py: add ggc4 to MSVC compatible struct packing comment
26234 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26236 dsextras.py | 4 ++--
26237 1 file changed, 2 insertions(+), 2 deletions(-)
26239 commit 8c62968e9f8467e24870b8c4f61112676eef4630
26240 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26241 Date: Wed Nov 3 06:56:32 2010 +0100
26243 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
26244 incantations all over the place
26246 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26248 dsextras.py | 15 ++++++---------
26249 1 file changed, 6 insertions(+), 9 deletions(-)
26251 commit b98277afc24886bbda400e0ad360992bffa77b7c
26252 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26253 Date: Wed Nov 3 06:49:48 2010 +0100
26255 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
26257 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26259 dsextras.py | 10 ++++++++++
26260 1 file changed, 10 insertions(+)
26262 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
26263 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26264 Date: Wed Nov 3 06:45:05 2010 +0100
26266 dsextras.py: PEP8: Comparisons to singletons like None should always
26267 be done with 'is' or 'is not', never the equality operators.
26269 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26271 dsextras.py | 4 ++--
26272 1 file changed, 2 insertions(+), 2 deletions(-)
26274 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
26275 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26276 Date: Wed Nov 3 06:44:21 2010 +0100
26278 dsextras.py: use True/False instead of 1/0
26280 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26282 dsextras.py | 25 +++++++++++++------------
26283 1 file changed, 13 insertions(+), 12 deletions(-)
26285 commit 819a21cea831c3892040390e9446b78a91d1cbbe
26286 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26287 Date: Wed Nov 3 06:28:04 2010 +0100
26289 dsextras.py: rearrange imports
26291 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26294 +++++++++++++++++++++++++++++++---------------------------
26295 1 file changed, 31 insertions(+), 27 deletions(-)
26297 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
26298 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26299 Date: Wed Nov 3 06:16:21 2010 +0100
26301 Add distutils generated build/dist directories and eclipse
26302 configuration files to .gitignore
26304 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26306 .gitignore | 7 +++++++
26307 1 file changed, 7 insertions(+)
26309 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
26310 Author: John (J5) Palmieri <johnp@redhat.com>
26311 Date: Thu Oct 28 15:32:28 2010 -0400
26313 [gi] add tests for calling dir on a dynamic module
26315 tests/test_gi.py | 24 ++++++++++++++++++++++++
26316 1 file changed, 24 insertions(+)
26318 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
26319 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
26320 Date: Wed Oct 27 18:28:11 2010 -0400
26322 [gi] dir() now works for modules
26324 https://bugzilla.gnome.org/show_bug.cgi?id=625093
26326 gi/module.py | 8 ++++++++
26327 1 file changed, 8 insertions(+)
26329 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
26330 Author: Simón Pena <spenap@gmail.com>
26331 Date: Mon Sep 20 23:10:14 2010 +0200
26333 Don't check the inner type when comparing gpointers
26335 When using pyg_pointer_richcompare to compare two objects,
26336 don't check their inner types. As we can't compare their private
26337 fields, nor get a proper compare function, we can consider them
26338 gpointers and compare them that way.
26340 https://bugzilla.gnome.org/show_bug.cgi?id=629552
26342 gobject/pygpointer.c | 2 +-
26343 1 file changed, 1 insertion(+), 1 deletion(-)
26345 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
26346 Author: John (J5) Palmieri <johnp@redhat.com>
26347 Date: Thu Oct 28 14:21:12 2010 -0400
26349 Release GIL when calling into C functions
26351 Author: Daniel P. Berrange <dan@berrange.com>
26353 https://bugzilla.gnome.org/show_bug.cgi?id=629042
26355 gi/pygi-invoke.c | 10 +++++++++-
26356 1 file changed, 9 insertions(+), 1 deletion(-)
26358 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
26359 Author: José Aliste <jaliste@src.gnome.org>
26360 Date: Fri Oct 15 14:30:10 2010 -0300
26362 _gi.Repository : Implement missing info bindings.
26364 https://bugzilla.gnome.org/show_bug.cgi?id=632185
26366 gi/pygi-info.c | 91
26367 +++++++++++++++++++++++++++++++++++++++++++++++++---------
26368 gi/pygi-info.h | 7 +++++
26369 2 files changed, 84 insertions(+), 14 deletions(-)
26371 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
26372 Author: John (J5) Palmieri <johnp@redhat.com>
26373 Date: Thu Oct 28 13:49:15 2010 -0400
26375 include Python.h so that PY_VERSION_HEX gets defined
26377 gi/pygi-foreign-cairo.c | 1 +
26378 1 file changed, 1 insertion(+)
26380 commit 8b28b1d713df33931e255600ab98feda37a8e02a
26381 Author: John (J5) Palmieri <johnp@redhat.com>
26382 Date: Thu Oct 28 13:47:34 2010 -0400
26384 [gi] make overrides work for python 3.x protocols and alias for
26387 gi/overrides/Gtk.py | 9 +++++++--
26388 1 file changed, 7 insertions(+), 2 deletions(-)
26390 commit 3c09710d2f68af9c16ce39fd25656147656a486a
26391 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26392 Date: Sat Oct 23 14:24:24 2010 +0200
26394 Override Gtk.Widget.translate_coordinates to not return success value
26396 gi/overrides/Gtk.py | 11 +++++++++++
26397 1 file changed, 11 insertions(+)
26399 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
26400 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26401 Date: Sat Oct 23 14:22:36 2010 +0200
26403 Override Gtk.TreeViewColumn.cell_get_position to not return success
26406 gi/overrides/Gtk.py | 5 +++++
26407 1 file changed, 5 insertions(+)
26409 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
26410 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26411 Date: Sat Oct 23 14:21:36 2010 +0200
26413 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
26414 not return success value
26416 gi/overrides/Gtk.py | 15 +++++++++++++++
26417 1 file changed, 15 insertions(+)
26419 commit 80b1b266fa68a5c67106871502017166628f71e4
26420 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26421 Date: Sat Oct 23 14:20:38 2010 +0200
26423 Override Gtk.TreeSortable.get_sort_column_id to not return success
26426 gi/overrides/Gtk.py | 12 ++++++++++++
26427 1 file changed, 12 insertions(+)
26429 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
26430 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26431 Date: Sat Oct 23 14:19:20 2010 +0200
26433 Override forward_search and backward_search of Gtk.TextIter to not
26434 return success value
26436 gi/overrides/Gtk.py | 15 +++++++++++++++
26437 1 file changed, 15 insertions(+)
26439 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
26440 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26441 Date: Sat Oct 23 14:18:09 2010 +0200
26443 Override Gtk.TextBuffer.get_selection_bounds to not return success
26446 gi/overrides/Gtk.py | 5 +++++
26447 1 file changed, 5 insertions(+)
26449 commit da6d87460b9392c29d025a7eed9249fb604204bc
26450 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26451 Date: Sat Oct 23 14:17:04 2010 +0200
26453 Override Gtk.RecentInfo.get_application_info to not return success
26456 gi/overrides/Gtk.py | 10 ++++++++++
26457 1 file changed, 10 insertions(+)
26459 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
26460 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26461 Date: Sat Oct 23 14:16:21 2010 +0200
26463 Override Gtk.IMContext.get_surrounding to not return success value
26465 gi/overrides/Gtk.py | 10 ++++++++++
26466 1 file changed, 10 insertions(+)
26468 commit b85b445f15421209c0b4adf676d7c8218d6437c5
26469 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26470 Date: Sat Oct 23 14:15:24 2010 +0200
26472 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
26473 of Gtk.IconView to not return success value
26475 gi/overrides/Gtk.py | 19 +++++++++++++++++++
26476 1 file changed, 19 insertions(+)
26478 commit 684d716192d58c972083e579e909bcd97f8a5025
26479 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26480 Date: Sat Oct 23 14:13:47 2010 +0200
26482 Override Gtk.Container.get_focus_chain to not return success value
26484 gi/overrides/Gtk.py | 10 ++++++++++
26485 1 file changed, 10 insertions(+)
26487 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
26488 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26489 Date: Sat Oct 23 14:12:44 2010 +0200
26491 Override Gtk.ComboBox.get_active_iter to not return success value
26493 gi/overrides/Gtk.py | 10 ++++++++++
26494 1 file changed, 10 insertions(+)
26496 commit b483852904468722230903989e3451c7c6a24c0f
26497 Author: John (J5) Palmieri <johnp@redhat.com>
26498 Date: Tue Oct 12 12:18:33 2010 -0400
26500 [gi] make parameter check less strict when dealing with GValue params
26502 * Some GValue API can store a pointer to a python object for later
26503 use but our parameter checking was too strict to allow this
26504 * Add pyg_type_from_object_strict API which takes a strict boolean and
26505 returns PY_TYPE_OBJECT if no other GType can be found
26506 * Since we don't have enough info to genrically check GValue
26508 use the less strict type guessing when encountering a GValue param
26509 * Other API stays the same and continues to do strict testing
26511 https://bugzilla.gnome.org/show_bug.cgi?id=622987
26513 gi/pygi-argument.c | 17 ++++++---------
26514 gobject/gobjectmodule.c | 4 ++--
26515 gobject/pygobject-private.h | 1 +
26516 gobject/pygobject.h | 2 ++
26517 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
26518 tests/test_gi.py | 1 -
26519 tests/test_overrides.py | 50
26520 +++++++++++++++++++++++++++++++++++++++++----
26521 7 files changed, 90 insertions(+), 22 deletions(-)
26523 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
26524 Author: John Stowers <john.stowers@gmail.com>
26525 Date: Fri Oct 22 13:28:31 2010 +1300
26527 Shortcut removal is not needed on post-uninstall
26529 pygobject_postinstall.py | 14 ++------------
26530 1 file changed, 2 insertions(+), 12 deletions(-)
26532 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
26533 Author: John Stowers <john.stowers@gmail.com>
26534 Date: Thu Oct 21 13:25:35 2010 +1300
26536 Disable shortcut creation in windows installer
26538 pygobject_postinstall.py | 2 +-
26539 1 file changed, 1 insertion(+), 1 deletion(-)
26541 commit a3d6212b0abccef58f05d454c091936776413d98
26542 Author: John (J5) Palmieri <johnp@redhat.com>
26543 Date: Thu Oct 7 11:43:27 2010 -0400
26545 overrides for all subclasses of dialog
26547 https://bugzilla.gnome.org/show_bug.cgi?id=631634
26549 gi/overrides/Gtk.py | 94
26550 +++++++++++++++++++++++++++++++++++++++++++++----
26551 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
26552 2 files changed, 151 insertions(+), 7 deletions(-)
26554 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
26555 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26556 Date: Thu Oct 7 19:37:53 2010 +0200
26558 Make TreeModel behave like in GTK-2.x
26560 Moved stuff from __getitem__ to get_iter.
26561 Added TreePath.__cmp__
26563 get_iter_from_string throws ValueError.
26564 iterchildren() does not return None.
26566 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
26569 Added support for negative row and column indices
26571 Use rich comparison methods instead of __cmp__
26573 Added TreeModel.__bool__/__nonzero__
26575 Raise Error if tree path string is empty
26577 https://bugzilla.gnome.org/show_bug.cgi?id=631547
26579 gi/overrides/Gtk.py | 195
26580 ++++++++++++++++++++++++++++++++++++++++++++++++
26581 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
26582 2 files changed, 349 insertions(+), 6 deletions(-)
26584 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
26585 Author: John Stowers <john.stowers@gmail.com>
26586 Date: Sat Oct 16 18:59:25 2010 +1300
26588 Correctly build GIO on windows
26590 setup.py | 6 +++---
26591 1 file changed, 3 insertions(+), 3 deletions(-)
26593 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
26594 Author: John Stowers <john.stowers@gmail.com>
26595 Date: Sat Oct 16 18:17:28 2010 +1300
26597 Require Python >= 2.6.0 for Windows build
26600 1 file changed, 1 insertion(+), 1 deletion(-)
26602 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
26603 Author: John Stowers <john.stowers@gmail.com>
26604 Date: Sat Oct 16 17:41:01 2010 +1300
26606 Fix depreciation warning in dsextras.py
26609 1 file changed, 1 insertion(+), 1 deletion(-)
26611 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
26612 Author: John Stowers <john.stowers@gmail.com>
26613 Date: Sat Oct 16 17:34:50 2010 +1300
26615 Fix build on windows
26617 gi/pygi-foreign.c | 5 ++++-
26618 gi/pygi.h | 5 ++++-
26620 3 files changed, 10 insertions(+), 4 deletions(-)
26622 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
26623 Author: Michael Culbertson <michael.culbertson@gmail.com>
26624 Date: Sat Oct 16 17:08:11 2010 +1300
26626 Support for GCC4 in Windows distutils build - bug 626548
26628 dsextras.py | 3 ++-
26629 1 file changed, 2 insertions(+), 1 deletion(-)
26631 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
26632 Author: John Stowers <john.stowers@gmail.com>
26633 Date: Fri Oct 15 09:39:02 2010 +1300
26635 Remove obsolete comments in dsextras.py
26637 dsextras.py | 11 ++---------
26638 1 file changed, 2 insertions(+), 9 deletions(-)
26640 commit b5f383f854fb8f72677828b029589320c59006d1
26641 Author: John Stowers <john.stowers@gmail.com>
26642 Date: Fri Oct 15 09:21:03 2010 +1300
26644 Broken dsextras.py pkg-config check error message
26649 1 file changed, 1 insertion(+), 1 deletion(-)
26651 commit e1981da105b574e273ae6500fc6d25caf6af6aae
26652 Author: John (J5) Palmieri <johnp@redhat.com>
26653 Date: Tue Sep 28 15:31:03 2010 -0400
26655 add compat functions for the deprecated PyCObject api
26657 * Moved to using the PyCapsule API for python >= 3
26658 * PyCObject is removed from Python 3.2
26659 * It has also been deprecated in 2.7 but since we use the API in
26661 which are consumed by static binding modules, appling this for
26663 causes crashes unless the modules are recompiled, breaking ABI.
26665 to rely on for 2.7 because it will never be removed and there is
26667 undeprecating it upstream.
26668 * There is no issues with static bindings under python 3 because
26670 supported yet and most likely never will be.
26671 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
26673 which adds a poorman's type check when unboxing.
26675 https://bugzilla.gnome.org/show_bug.cgi?id=630844
26677 gi/gimodule.c | 2 +-
26678 gi/pygi.h | 5 ++++-
26679 glib/glibmodule.c | 2 +-
26680 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
26681 glib/pyglib.c | 6 +++---
26682 glib/pygoptioncontext.c | 2 +-
26683 gobject/gobjectmodule.c | 2 +-
26684 gobject/pygobject.h | 6 ++++++
26685 gobject/pygtype.c | 10 +++++-----
26686 9 files changed, 50 insertions(+), 13 deletions(-)
26688 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
26689 Author: Damien Caliste <damien.caliste@cea.fr>
26690 Date: Tue Sep 28 12:44:42 2010 +0200
26692 Add __path__ attributes.
26694 Add an attribute __path__ to DynamicModule and IntrospectionModule,
26695 using the path of the typelib.
26697 https://bugzilla.gnome.org/show_bug.cgi?id=630807
26699 gi/module.py | 2 ++
26700 1 file changed, 2 insertions(+)
26702 commit 28f9366c9cb382801bad080864f667c867daa3c7
26703 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26704 Date: Sat Oct 9 17:40:40 2010 +0200
26706 Override Gtk.TreeSelection.get_selected to not return success value.
26708 https://bugzilla.gnome.org/show_bug.cgi?id=631765
26710 gi/overrides/Gtk.py | 12 ++++++++++++
26711 1 file changed, 12 insertions(+)
26713 commit f01a7d9e8222663ce52100e061033f2745a5e7af
26714 Author: Vincent Untz <vuntz@gnome.org>
26715 Date: Thu Oct 7 09:42:24 2010 +0200
26717 Make row optional in Gtk.TreeStore/ListStore.append override
26719 https://bugzilla.gnome.org/show_bug.cgi?id=631548
26721 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
26722 1 file changed, 22 insertions(+), 14 deletions(-)
26724 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
26725 Author: John (J5) Palmieri <johnp@redhat.com>
26726 Date: Mon Oct 4 12:50:55 2010 -0400
26728 Revert "add compat functions for the deprecated PyCObject api"
26730 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
26732 I ment to commit another patch and ended up comitting both
26734 gi/gimodule.c | 2 +-
26735 gi/pygi.h | 5 +----
26736 glib/glibmodule.c | 2 +-
26737 glib/pyglib-python-compat.h | 19 -------------------
26738 glib/pyglib.c | 6 +++---
26739 glib/pygoptioncontext.c | 2 +-
26740 gobject/gobjectmodule.c | 2 +-
26741 gobject/pygobject.h | 6 ------
26742 gobject/pygtype.c | 10 +++++-----
26743 9 files changed, 13 insertions(+), 41 deletions(-)
26745 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
26746 Author: John (J5) Palmieri <johnp@redhat.com>
26747 Date: Mon Oct 4 12:43:31 2010 -0400
26749 return NULL instead of -1 which fixes crash when introspection is
26752 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
26755 1 file changed, 1 insertion(+), 1 deletion(-)
26757 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
26758 Author: John (J5) Palmieri <johnp@redhat.com>
26759 Date: Tue Sep 28 15:31:03 2010 -0400
26761 add compat functions for the deprecated PyCObject api
26763 * Moved to using the PyCapsule API for python >= 2.7
26765 https://bugzilla.gnome.org/show_bug.cgi?id=630844
26767 gi/gimodule.c | 2 +-
26768 gi/pygi.h | 5 ++++-
26769 glib/glibmodule.c | 2 +-
26770 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
26771 glib/pyglib.c | 6 +++---
26772 glib/pygoptioncontext.c | 2 +-
26773 gobject/gobjectmodule.c | 2 +-
26774 gobject/pygobject.h | 6 ++++++
26775 gobject/pygtype.c | 10 +++++-----
26776 9 files changed, 41 insertions(+), 13 deletions(-)
26778 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
26779 Author: John (J5) Palmieri <johnp@redhat.com>
26780 Date: Tue Sep 28 15:28:16 2010 -0400
26782 fix commit 7fe83108 which didn't use the compat functions for
26785 glib/glibmodule.c | 2 +-
26786 1 file changed, 1 insertion(+), 1 deletion(-)
26788 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
26789 Author: John (J5) Palmieri <johnp@redhat.com>
26790 Date: Tue Sep 28 13:15:57 2010 -0400
26792 Python 3 fixes for dsextras and the python.m4 distribution files
26794 dsextras.py | 13 +++++++------
26795 m4/python.m4 | 4 ++--
26796 2 files changed, 9 insertions(+), 8 deletions(-)
26798 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
26799 Author: John (J5) Palmieri <johnp@redhat.com>
26800 Date: Mon Sep 27 14:01:31 2010 -0400
26802 post release bump to 2.27.0 unstable
26804 * update hacking to fill in some holes in the release instructions
26807 configure.ac | 2 +-
26808 2 files changed, 5 insertions(+), 3 deletions(-)
26810 commit fd38010101411e6bc1ca9314657f418de660fa13
26811 Author: John (J5) Palmieri <johnp@redhat.com>
26812 Date: Mon Sep 27 12:03:10 2010 -0400
26814 update NEWS for release
26817 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26818 1 file changed, 93 insertions(+)
26820 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
26821 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26822 Date: Sun Sep 26 08:37:31 2010 +0200
26824 Pre-release version bump 2.26.0
26826 configure.ac | 4 ++--
26827 1 file changed, 2 insertions(+), 2 deletions(-)
26829 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
26830 Author: John Stowers <john.stowers@gmail.com>
26831 Date: Fri Sep 24 22:44:03 2010 +1200
26833 Wrap g_get_system_{config,data}_dirs ()
26835 * Also tidy up g_get_{cache,config,data}_dir
26836 to share common code
26838 glib/glibmodule.c | 68
26839 ++++++++++++++++++++++++++++++++++++++++---------------
26840 1 file changed, 50 insertions(+), 18 deletions(-)
26842 commit 328aca600714bdca89dfdb531c222ee561ede27e
26843 Author: John (J5) Palmieri <johnp@redhat.com>
26844 Date: Fri Sep 24 12:16:22 2010 -0400
26846 fixed make check and make dist
26848 tests/Makefile.am | 31 ++++++++++++++++++-------------
26849 1 file changed, 18 insertions(+), 13 deletions(-)
26851 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
26852 Author: John Stowers <john.stowers@gmail.com>
26853 Date: Fri Sep 24 21:20:53 2010 +1200
26855 Disable GI tests when introspection disabled
26857 tests/Makefile.am | 2 ++
26858 1 file changed, 2 insertions(+)
26860 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
26861 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26862 Date: Sat Jul 18 19:35:08 2009 +0200
26864 Wrap g_uri_list_extract_uris. Fixes bug #584431
26866 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
26867 gobject/__init__.py | 2 +-
26868 tests/Makefile.am | 3 ++-
26869 tests/test_uris.py | 15 +++++++++++++++
26870 4 files changed, 56 insertions(+), 2 deletions(-)
26872 commit d6721a59c294f2471142b8c32de2f647b7084bca
26873 Author: Paul Bolle <pebolle@tiscali.nl>
26874 Date: Thu Sep 23 15:38:40 2010 -0400
26876 Fix a few uses of TRUE and FALSE in the docs
26878 docs/reference/pygio-mount.xml | 5 +++--
26879 docs/reference/pyglib-functions.xml | 18 +++++++++---------
26880 docs/reference/pyglib-maincontext.xml | 12 ++++++------
26881 docs/reference/pyglib-mainloop.xml | 6 +++---
26882 docs/reference/pygobject-functions.xml | 6 +++---
26883 docs/reference/pygobject.xml | 4 ++--
26884 6 files changed, 26 insertions(+), 25 deletions(-)
26886 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
26887 Author: Damien Caliste <damien.caliste@cea.fr>
26888 Date: Tue Sep 21 17:52:14 2010 +0200
26890 pygi: always free the invocation_state struct
26892 In pygi-invoke.c, the invocation_state struct is never freed
26893 in case of success. Thus, always call _free_invocation_state()
26895 Modify _free_invocation_state to avoid double free in case of
26896 caller-allocated GValue, once as a released argument in the
26897 _process routine and another time in the _free as the special
26898 case. So move all argument releasing code from the _process
26899 routine to the _free one.
26900 Modify the tests for the callback routines to return an integer
26901 value as specified in the GIR file.
26903 Make check is as successful as before (already existing error
26904 related to GVariant is still there).
26906 https://bugzilla.gnome.org/show_bug.cgi?id=630271
26908 gi/pygi-invoke.c | 83
26909 +++++++++++++++++++++---------------------------
26910 tests/test_everything.py | 4 ++-
26911 2 files changed, 40 insertions(+), 47 deletions(-)
26913 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
26914 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26915 Date: Mon Sep 13 16:36:47 2010 +0200
26917 Start implementing something equivalent to g_variant_new
26919 https://bugzilla.gnome.org/show_bug.cgi?id=629367
26921 gi/gimodule.c | 20 +++++++
26922 gi/overrides/GLib.py | 131
26923 ++++++++++++++++++++++++++++++++++++++++++---
26924 gi/pygi-foreign-gvariant.c | 2 +-
26925 tests/test_everything.py | 16 ------
26926 tests/test_overrides.py | 25 +++++++++
26927 5 files changed, 170 insertions(+), 24 deletions(-)
26929 commit fc45abdd9b55ab63556798ab0f04715be79dba08
26930 Author: John (J5) Palmieri <johnp@redhat.com>
26931 Date: Thu Sep 23 10:49:36 2010 -0400
26933 fixed typo - missing comma in glib.option module
26935 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
26937 glib/option.py | 2 +-
26938 1 file changed, 1 insertion(+), 1 deletion(-)
26940 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
26941 Author: John (J5) Palmieri <johnp@redhat.com>
26942 Date: Fri Sep 17 12:08:09 2010 -0400
26944 add checks so we can compile under python 3 by setting PYTHON=python3
26946 * compile for python 3
26947 * disables gio if compiling under python 3.x
26948 * runs only pertinant tests
26950 https://bugzilla.gnome.org/show_bug.cgi?id=615872
26952 configure.ac | 32 +++++++++++++++++++++++++++++---
26953 tests/Makefile.am | 35 ++++++++++++++++++++---------------
26954 tests/runtests.py | 4 ++++
26955 3 files changed, 53 insertions(+), 18 deletions(-)
26957 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
26958 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26959 Date: Fri Sep 17 15:50:47 2010 +0200
26961 Rename static methods as functions
26963 In recent gobject-introspection releases, static methods have been
26964 removed and placed as functions in the namespace level. In a future
26965 releases it's planned to become static methods again but for now
26966 let's fix the tests.
26968 tests/test_gi.py | 14 +++++++-------
26969 1 file changed, 7 insertions(+), 7 deletions(-)
26971 commit 2da8da589644d6125101210712defb1272a8abb1
26972 Author: John (J5) Palmieri <johnp@redhat.com>
26973 Date: Thu Sep 9 13:52:14 2010 -0400
26975 fix a couple of compiler warnings
26977 https://bugzilla.gnome.org/show_bug.cgi?id=629199
26979 gi/pygi-argument.c | 4 ++--
26980 gi/pygi-struct.c | 2 +-
26981 gobject/gobjectmodule.c | 2 +-
26982 3 files changed, 4 insertions(+), 4 deletions(-)
26984 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
26985 Author: John (J5) Palmieri <johnp@redhat.com>
26986 Date: Thu Sep 9 13:55:17 2010 -0400
26990 * we use richcompare now
26992 https://bugzilla.gnome.org/show_bug.cgi?id=629198
26994 gobject/pygtype.c | 9 ---------
26995 1 file changed, 9 deletions(-)
26997 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
26998 Author: John (J5) Palmieri <johnp@redhat.com>
26999 Date: Tue Sep 14 14:10:49 2010 -0400
27001 Check the type of the instance object
27003 * in python 2 methods were added to classes as unbound methods and
27005 check the instance type to make sure it was correct
27006 * in python 3 for perfomance reasons methods are added to classes
27008 functions which treat the instance as an untyped argument so
27011 * this patch adds a type check so that the correct errors are
27013 python 3 (python 2 this just adds another layer of redundancy should
27014 something change with type checking in the future)
27015 * since GI handles regular args and the instance arg slightly
27017 we had to split out the interface checks in
27018 _pygi_g_type_info_check_object
27019 in order to not duplicate code
27021 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27023 gi/pygi-argument.c | 182
27024 ++++++++++++++++++++++++++++-------------------------
27025 gi/pygi-argument.h | 2 +
27026 gi/pygi-invoke.c | 14 +++++
27027 3 files changed, 112 insertions(+), 86 deletions(-)
27029 commit 5d79498d38b147b66ae72c1481e397160491e8d6
27030 Author: John (J5) Palmieri <johnp@redhat.com>
27031 Date: Wed Sep 15 10:26:20 2010 -0400
27033 include the correct pycairo version
27035 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27037 gi/pygi-foreign-cairo.c | 6 ++++++
27038 1 file changed, 6 insertions(+)
27040 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
27041 Author: John (J5) Palmieri <johnp@redhat.com>
27042 Date: Thu Sep 9 22:16:58 2010 -0400
27044 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
27046 * in Py3k PyMapping_Check returns true for sequences such as strings
27047 and lists. Since we need to get the keys anyway, and it returns
27048 NULL if this is not a dict, this is a much better test, even in
27051 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27053 gi/pygi-argument.c | 10 +++-------
27054 1 file changed, 3 insertions(+), 7 deletions(-)
27056 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
27057 Author: John (J5) Palmieri <johnp@redhat.com>
27058 Date: Thu Sep 9 18:44:11 2010 -0400
27060 fix handling of UINT64 and INT64 arguments in py3k
27062 * decode to the right sized C long
27064 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27066 gi/pygi-argument.c | 20 ++++++++++++--------
27067 1 file changed, 12 insertions(+), 8 deletions(-)
27069 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
27070 Author: John (J5) Palmieri <johnp@redhat.com>
27071 Date: Thu Sep 9 17:35:10 2010 -0400
27073 properly handle ulongs properties in py3k
27075 * If this is a PyLong object pull use AsUnsignedLong
27077 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27079 gobject/pygtype.c | 29 ++++++++++++++++-------------
27080 1 file changed, 16 insertions(+), 13 deletions(-)
27082 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
27083 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27084 Date: Fri Sep 17 12:14:56 2010 +0200
27086 Specify encoding of tests/test_gi.py
27088 tests/test_gi.py | 3 ++-
27089 1 file changed, 2 insertions(+), 1 deletion(-)
27091 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
27092 Author: John (J5) Palmieri <johnp@redhat.com>
27093 Date: Thu Sep 9 13:24:30 2010 -0400
27095 use actual unicode in the tests on py3k, not the byte representation
27097 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27099 tests/test_gi.py | 6 +++++-
27100 1 file changed, 5 insertions(+), 1 deletion(-)
27102 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
27103 Author: John (J5) Palmieri <johnp@redhat.com>
27104 Date: Thu Sep 9 12:45:21 2010 -0400
27106 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
27109 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
27111 with both the METH_VARARGS and METH_KEYWORDS flags.
27113 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27115 glib/pygiochannel.c | 30 +++++++++++++++---------------
27116 glib/pygsource.c | 4 ++--
27117 gobject/pygobject.c | 2 +-
27118 3 files changed, 18 insertions(+), 18 deletions(-)
27120 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
27121 Author: John (J5) Palmieri <johnp@redhat.com>
27122 Date: Thu Sep 9 08:04:40 2010 -0400
27124 fix subclassing PyLong by calling __new__ correctly
27126 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27128 glib/pygspawn.c | 4 ++--
27129 1 file changed, 2 insertions(+), 2 deletions(-)
27131 commit a499b2f0d622b671bd154544f66b73f1278e66ed
27132 Author: John (J5) Palmieri <johnp@redhat.com>
27133 Date: Thu Sep 9 07:56:44 2010 -0400
27135 minor py3k fixups for python modules
27137 * add _basestring and _bytes and _callable wrappers
27138 * use items instead of iteritems and range instead of xrange
27142 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27144 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
27145 glib/option.py | 16 ++++++++++++----
27146 2 files changed, 28 insertions(+), 12 deletions(-)
27148 commit dec9001d26c97949e7b3578086cb35e98075c047
27149 Author: John (J5) Palmieri <johnp@redhat.com>
27150 Date: Thu Sep 9 07:36:04 2010 -0400
27152 minor fixes in tests for py3k compat
27154 * add a _bytes wrapper for API that expects bytes in py3k but str
27156 * fix some more exception handling using sys.exc_info()[:2]
27157 * use range instead of xrange, items instead of iteritems since py3k
27158 dropped support for the different ways of accessing iterators
27159 - this is less efficient in py2 but we plan to target py3k as the
27161 * use list(dict.items()) since py3k only returns iterables which
27164 * missed some _long wrapping
27166 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27168 tests/compathelper.py | 18 ++++++++++++++++++
27169 tests/test_everything.py | 5 +++--
27170 tests/test_mainloop.py | 3 ++-
27171 tests/test_option.py | 6 ++++--
27172 tests/test_overrides.py | 4 ++--
27173 tests/test_properties.py | 6 +++---
27174 6 files changed, 32 insertions(+), 10 deletions(-)
27176 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
27177 Author: Colin Walters <walters@verbum.org>
27178 Date: Thu Sep 9 16:25:51 2010 -0400
27180 compilation: Fix syntax error
27182 gi/pygi-info.c | 2 +-
27183 1 file changed, 1 insertion(+), 1 deletion(-)
27185 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
27186 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27187 Date: Thu Sep 9 22:17:00 2010 +0200
27191 gi/overrides/GLib.py | 48
27192 ++++++++++++++++++++++++++++++++++++++++++++++++
27193 1 file changed, 48 insertions(+)
27195 commit 306b792ac97a458ddee59fb86d66453495117f3e
27196 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27197 Date: Thu Jul 22 13:48:51 2010 +0100
27199 Add override for GLib.Variant.new_tuple
27201 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
27202 * gi/overrides/GLib.py: Override Variant.new_tuple and
27204 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
27205 _pygi_type_import_by_gi_info
27206 * gi/types.py: Never override gobject.TYPE_NONE
27207 * tests/test_everything.py: Add tests for GVariant tuples
27209 https://bugzilla.gnome.org/show_bug.cgi?id=625050
27211 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
27212 gi/overrides/Makefile.am | 1 +
27213 gi/pygi-type.c | 15 +++++++++------
27214 gi/pygi-type.h | 2 ++
27216 tests/test_everything.py | 9 +++++++++
27217 6 files changed, 60 insertions(+), 6 deletions(-)
27219 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
27220 Author: John (J5) Palmieri <johnp@redhat.com>
27221 Date: Wed Sep 8 13:08:48 2010 -0400
27223 fix for changes in the gi test libraries
27225 tests/test_everything.py | 2 +-
27226 1 file changed, 1 insertion(+), 1 deletion(-)
27228 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
27229 Author: John (J5) Palmieri <johnp@redhat.com>
27230 Date: Wed Sep 8 13:08:07 2010 -0400
27232 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
27234 gi/overrides/Gtk.py | 10 ++++++++--
27235 1 file changed, 8 insertions(+), 2 deletions(-)
27237 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
27238 Author: John (J5) Palmieri <johnp@redhat.com>
27239 Date: Wed Sep 8 12:35:09 2010 -0400
27241 no need to offset arg positions when is_method is true
27243 * The old GI libraries required we offset arg positions for the
27245 self argument. The new library fixes this so we don't have
27249 https://bugzilla.gnome.org/show_bug.cgi?id=629087
27251 gi/pygi-callbacks.c | 5 +----
27252 1 file changed, 1 insertion(+), 4 deletions(-)
27254 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
27255 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27256 Date: Fri Aug 20 14:54:35 2010 +0200
27258 gi: Add support for more property types
27260 https://bugzilla.gnome.org/show_bug.cgi?id=627494
27262 gi/pygi-property.c | 156
27263 ++++++++++++++++++++++++++++++++++++-----------
27264 tests/test_everything.py | 34 +++++++++++
27265 2 files changed, 154 insertions(+), 36 deletions(-)
27267 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
27268 Author: John (J5) Palmieri <johnp@redhat.com>
27269 Date: Fri Sep 3 12:04:16 2010 -0400
27271 use PyObject_SetAttrString, not PyDict_SetItemString when setting
27274 * When registering a gtype wrapper we used to set tp_dict
27275 directly. This works
27276 in python 2 but python 3 seems to handle attributes in a slightly
27278 way where the tp_dict and attr get out of sync. By setting the attr
27279 directly we avoid this issue.
27280 * Note that there are many more places where we set __gtype__
27282 however for objects which are not instantiated yet we have to
27285 * Since this one change fixes a lot of failed tests, for now we
27287 other places where we set __gtype__. If we run into more issues
27289 with __gtype__ we can take a closer look later.
27291 https://bugzilla.gnome.org/show_bug.cgi?id=627878
27293 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27295 gobject/gobjectmodule.c | 2 +-
27296 1 file changed, 1 insertion(+), 1 deletion(-)
27298 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
27299 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27300 Date: Wed Sep 1 11:03:40 2010 +0200
27302 Rename GArgument to GIArgument
27304 gi/pygi-argument.c | 52
27305 +++++++++++++++++++++++-----------------------
27306 gi/pygi-argument.h | 10 ++++-----
27307 gi/pygi-closure.c | 34 +++++++++++++++---------------
27308 gi/pygi-foreign-cairo.c | 8 +++----
27309 gi/pygi-foreign-gvariant.c | 4 ++--
27310 gi/pygi-foreign-gvariant.h | 4 ++--
27311 gi/pygi-foreign.c | 12 +++++------
27312 gi/pygi-foreign.h | 8 +++----
27313 gi/pygi-info.c | 8 +++----
27314 gi/pygi-invoke.c | 28 ++++++++++++-------------
27315 gi/pygi-property.c | 4 ++--
27316 gi/pygi.h | 16 +++++++-------
27317 12 files changed, 94 insertions(+), 94 deletions(-)
27319 commit 7197f85c9be2b03636639ac909ca2c3170653509
27320 Author: John (J5) Palmieri <johnp@redhat.com>
27321 Date: Wed Aug 18 10:29:19 2010 -0400
27323 fix up tests so they run in py3k
27325 * add a compat helper that should only be used by tests
27326 * fix long notation to use the compat helper instead
27327 * add parens to print statements
27328 * use compatable try/except pattern
27330 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27332 gobject/propertyhelper.py | 16 +++++++++++-----
27333 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
27334 tests/test_option.py | 7 ++++++-
27335 tests/test_properties.py | 24 ++++++++++++++----------
27336 tests/test_signal.py | 14 +++++++-------
27337 tests/test_source.py | 4 ++--
27338 6 files changed, 72 insertions(+), 25 deletions(-)
27340 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
27341 Author: Colin Walters <walters@verbum.org>
27342 Date: Fri Aug 20 10:58:48 2010 -0400
27344 tests: Port to new introspection tests
27346 Everything is renamed "Regress", and both it and GIMarshallingTests
27347 are now in source form, so we compile them.
27349 The scanner now adds "static methods" to objects, structs, and unions,
27350 so update the test code to use those.
27352 In the tests, remove broken (inout) cases - the person writing these
27353 tests misunderstood the semantics of (inout). It's not acceptable for
27354 a C API to mutate e.g. a GSList* passed in, or unref an object.
27356 The invocation code needed to be updated for this - remove some
27359 https://bugzilla.gnome.org/show_bug.cgi?id=627878
27361 configure.ac | 5 +-
27362 gi/pygi-argument.c | 9 +--
27363 gi/pygi-invoke.c | 147
27364 +++++----------------------------------------
27365 tests/Makefile.am | 42 ++++++++++++-
27366 tests/test_everything.py | 6 +-
27367 tests/test_gi.py | 151
27368 +++++++++--------------------------------------
27369 6 files changed, 93 insertions(+), 267 deletions(-)
27371 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
27372 Author: John (J5) Palmieri <johnp@redhat.com>
27373 Date: Fri Aug 20 10:43:58 2010 -0400
27375 we need to specify tp_hash since we overide tp_richcompare
27377 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27379 gobject/pygenum.c | 1 +
27380 gobject/pygflags.c | 1 +
27381 2 files changed, 2 insertions(+)
27383 commit c03e6b482548aee99362356807c804f8834fad2b
27384 Author: John Ehresman <jpe@wingware.com>
27385 Date: Thu Apr 15 17:11:30 2010 -0400
27387 working enum/flags/pid subclasses of long
27389 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27391 glib/pygspawn.c | 7 ++---
27392 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
27393 gobject/pygflags.c | 76
27394 +++++++++++++++++++++++-------------------------------
27395 3 files changed, 71 insertions(+), 73 deletions(-)
27397 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
27398 Author: John (J5) Palmieri <johnp@redhat.com>
27399 Date: Wed Aug 18 11:03:32 2010 -0400
27401 make vfuncs work in py3k
27403 * methods now export __func__ instead of im_func for getting the
27405 out of a method closure
27406 * however classes no longer return unbound methods in py3k and instead
27407 return the actual function
27408 * in python 2 we use im_func when getting the function from the
27410 * in py3k we simply assign vfunc to the function
27412 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27414 gi/types.py | 12 ++++++++----
27415 1 file changed, 8 insertions(+), 4 deletions(-)
27417 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
27418 Author: John (J5) Palmieri <johnp@redhat.com>
27419 Date: Tue Aug 17 15:43:42 2010 -0400
27421 make cairo module compile in py3k
27423 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27425 gi/Makefile.am | 2 +-
27426 gi/pygi-foreign-cairo.c | 17 +++++++----------
27427 2 files changed, 8 insertions(+), 11 deletions(-)
27429 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
27430 Author: John (J5) Palmieri <johnp@redhat.com>
27431 Date: Tue Aug 17 02:33:45 2010 -0400
27433 fix exceptions so they work in python 3.x
27435 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27437 gi/module.py | 2 +-
27439 2 files changed, 2 insertions(+), 2 deletions(-)
27441 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
27442 Author: John (J5) Palmieri <johnp@redhat.com>
27443 Date: Tue Aug 17 02:24:44 2010 -0400
27445 make the gi module compile under 3.x
27447 * include the compat macros
27448 * use GLIB_MODULE_START/END to define module
27449 * add PyInit__gi to the exported symbols
27451 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27453 gi/Makefile.am | 2 +-
27454 gi/gimodule.c | 24 +++++++++---------------
27455 2 files changed, 10 insertions(+), 16 deletions(-)
27457 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
27458 Author: John (J5) Palmieri <johnp@redhat.com>
27459 Date: Tue Aug 17 02:14:14 2010 -0400
27461 fix up testshelper module so it compiles in python 3.x
27463 * include the compat header
27464 * fix up PyInts to be PYGLIB_Long
27465 * Use PYGLIB_DEFINE_TYPE macros to define module objects
27466 * Use PYGLIB_MODULE_START/END to define modules
27468 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27470 tests/Makefile.am | 2 +-
27471 tests/testhelpermodule.c | 221
27472 ++++++-----------------------------------------
27473 2 files changed, 28 insertions(+), 195 deletions(-)
27475 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
27476 Author: John (J5) Palmieri <johnp@redhat.com>
27477 Date: Mon Aug 16 21:14:27 2010 -0400
27479 convert to using PYGLIB_DEFINE_TYPE for module objects
27481 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27483 gi/pygi-boxed.c | 43 ++-----------
27484 gi/pygi-info.c | 171
27485 ++++++++++++++++++++-------------------------------
27486 gi/pygi-repository.c | 39 +++---------
27487 gi/pygi-struct.c | 45 +++-----------
27488 4 files changed, 88 insertions(+), 210 deletions(-)
27490 commit 1efa2b12913b194d433c17014bc1077271a6ca32
27491 Author: John (J5) Palmieri <johnp@redhat.com>
27492 Date: Mon Aug 16 13:51:05 2010 -0400
27494 some more p3k PyString and PyInt eradication in GI
27496 * add the glib dir to the includes list in the build
27497 * make sure we include the compat macros
27498 * add GLIB_PyBytes_FromString to compat macros
27499 * add GLIB_PyNumber_Long to compat macros
27500 * use RichCompare instead of Compare
27502 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27504 gi/Makefile.am | 2 +-
27505 gi/pygi-argument.c | 96
27506 +++++++++++++++++++++++++++------------------
27507 gi/pygi-boxed.c | 1 +
27508 gi/pygi-info.c | 13 +++---
27509 gi/pygi-private.h | 23 +++++++++++
27510 gi/pygi-repository.c | 8 ++--
27511 gi/pygi-struct.c | 1 +
27512 glib/pyglib-python-compat.h | 6 +++
27513 8 files changed, 103 insertions(+), 47 deletions(-)
27515 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
27516 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27517 Date: Fri Aug 20 09:28:57 2010 +0200
27519 pyglib: Fix typo (Leo Singer)
27521 https://bugzilla.gnome.org/show_bug.cgi?id=627408
27523 glib/option.py | 4 ++--
27524 1 file changed, 2 insertions(+), 2 deletions(-)
27526 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
27527 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
27528 Date: Thu Aug 19 18:45:05 2010 -0300
27530 Add defines for size_t and ssize_t conversion functions
27532 These missing defines cause the resulting module to have unresolved
27533 symbols, rendering it unusable.
27535 https://bugzilla.gnome.org/show_bug.cgi?id=627440
27537 glib/pyglib-python-compat.h | 2 ++
27538 1 file changed, 2 insertions(+)
27540 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
27541 Author: Colin Walters <walters@verbum.org>
27542 Date: Thu Aug 19 17:50:35 2010 -0400
27544 pyglib: Fix a compiler warning
27546 glib/pyglib.c | 1 +
27547 1 file changed, 1 insertion(+)
27549 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
27550 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27551 Date: Wed Aug 18 20:36:51 2010 +0200
27553 Don't force gtk 2.0
27555 pygi-convert.sh | 11 +++++++----
27556 1 file changed, 7 insertions(+), 4 deletions(-)
27558 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
27559 Author: Steve Frécinaux <code@istique.net>
27560 Date: Tue Aug 17 14:49:30 2010 +0200
27562 Fix some ref leaks in hook_up_vfunc_implementation()
27564 https://bugzilla.gnome.org/show_bug.cgi?id=627143
27566 gi/gimodule.c | 9 +++++++--
27567 1 file changed, 7 insertions(+), 2 deletions(-)
27569 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
27570 Author: John (J5) Palmieri <johnp@redhat.com>
27571 Date: Thu Aug 12 12:16:31 2010 -0400
27573 handle strings correctly in gio
27575 gio/gappinfo.override | 5 +++++
27576 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
27577 2 files changed, 40 insertions(+), 7 deletions(-)
27579 commit 45ab0c03110c911b47519941dfd753326891b5e0
27580 Author: John (J5) Palmieri <johnp@redhat.com>
27581 Date: Wed Aug 11 16:13:59 2010 -0400
27583 make giomodule compile under py3k
27585 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27587 gio/giomodule.c | 153
27588 +++++++++++++++++++++++++++++---------------------------
27589 1 file changed, 78 insertions(+), 75 deletions(-)
27591 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
27592 Author: John (J5) Palmieri <johnp@redhat.com>
27593 Date: Wed Aug 11 16:04:48 2010 -0400
27595 for py3k we need to do some more processing to get bytes from a
27598 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27600 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
27601 1 file changed, 27 insertions(+), 4 deletions(-)
27603 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
27604 Author: John (J5) Palmieri <johnp@redhat.com>
27605 Date: Wed Aug 11 15:03:55 2010 -0400
27607 use Bytes instead of Unicode when reading io
27609 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27611 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
27612 1 file changed, 24 insertions(+), 6 deletions(-)
27614 commit 5824ff98175b749dbcfa72d24b994230b6e05377
27615 Author: John (J5) Palmieri <johnp@redhat.com>
27616 Date: Mon Aug 9 15:16:51 2010 -0400
27618 prefix compat macros with PYGLIB
27620 * refactor from John Ehresman <jpe@wingware.com> py3k branch
27621 * fix up some extranious PyString calls
27622 * remove duplicate macros from pyglib.h that are in
27623 pyglib-python-compat.h
27624 * pygobject.h can't import pyglib-python-compat.h so add codepaths
27625 for both Py3k and legacy code instead of using macros
27627 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27629 glib/glibmodule.c | 48 +++++-----
27630 glib/pygiochannel.c | 46 +++++-----
27631 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
27632 glib/pyglib.c | 22 ++---
27633 glib/pyglib.h | 14 ---
27634 glib/pygoptioncontext.c | 4 +-
27635 glib/pygsource.c | 16 ++--
27636 glib/pygspawn.c | 32 +++----
27637 gobject/gobjectmodule.c | 216
27638 ++++++++++++++++++++++----------------------
27639 gobject/pygboxed.c | 2 +-
27640 gobject/pygenum.c | 84 ++++++++---------
27641 gobject/pygflags.c | 122 ++++++++++++-------------
27642 gobject/pygobject-private.h | 12 +--
27643 gobject/pygobject.c | 46 +++++-----
27644 gobject/pygobject.h | 23 +++++
27645 gobject/pygparamspec.c | 24 ++---
27646 gobject/pygpointer.c | 2 +-
27647 gobject/pygtype.c | 170 +++++++++++++++++-----------------
27648 18 files changed, 563 insertions(+), 473 deletions(-)
27650 commit 231e934cc01d061e81bb60d35127a133cd0e1793
27651 Author: John (J5) Palmieri <johnp@redhat.com>
27652 Date: Mon Aug 16 10:14:04 2010 +0200
27654 Gtk.Button unit tests
27656 https://bugzilla.gnome.org/show_bug.cgi?id=622606
27658 tests/test_overrides.py | 10 ++++++++++
27659 1 file changed, 10 insertions(+)
27661 commit f07cfde377e42686c6b80f56cac62338ee333e61
27662 Author: Johan Dahlin <johan@gnome.org>
27663 Date: Mon Aug 16 10:08:38 2010 +0200
27665 [Gtk] Add overrides for Button
27667 https://bugzilla.gnome.org/show_bug.cgi?id=622606
27669 gi/overrides/Gtk.py | 13 +++++++++++++
27670 1 file changed, 13 insertions(+)
27672 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
27673 Author: Simon van der Linden <svdlinden@gnome.org>
27674 Date: Thu Aug 12 16:18:58 2010 +0200
27676 Make Cairo an optional dependency
27678 Add the --enable-cairo configure argument.
27680 https://bugzilla.gnome.org/show_bug.cgi?id=616732
27682 configure.ac | 15 ++++++++++++---
27683 gi/Makefile.am | 20 ++++++++++++--------
27684 2 files changed, 24 insertions(+), 11 deletions(-)
27686 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
27687 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27688 Date: Mon Aug 16 09:55:35 2010 +0200
27690 Don't import again PyGObject (John Ralls)
27692 https://bugzilla.gnome.org/show_bug.cgi?id=626996
27695 1 file changed, 1 insertion(+)
27697 commit 0dc3656070f496431829c6e8441ca17129c569f8
27698 Author: John (J5) Palmieri <johnp@redhat.com>
27699 Date: Mon Aug 9 16:11:55 2010 -0400
27701 move to using richcompare slot instead of compare
27703 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27705 glib/pygiochannel.c | 18 +++++++----
27707 +++++++++++++++++++++++++++++++++++++++++++++++++
27708 glib/pyglib.h | 3 ++
27709 glib/pygmaincontext.c | 17 ++++++----
27710 glib/pygmainloop.c | 17 ++++++----
27711 glib/pygoptioncontext.c | 18 +++++++----
27712 glib/pygoptiongroup.c | 22 +++++++------
27713 gobject/pygboxed.c | 18 +++++++----
27714 gobject/pygobject.c | 44 ++++++++++++++++++-------
27715 gobject/pygparamspec.c | 19 +++++++----
27716 gobject/pygpointer.c | 17 ++++++----
27717 gobject/pygtype.c | 26 +++++++++++----
27718 12 files changed, 233 insertions(+), 71 deletions(-)
27720 commit b426e531dc53d4b50e572a2da19733479635e662
27721 Author: Simon van der Linden <svdlinden@gnome.org>
27722 Date: Thu Aug 12 18:09:33 2010 +0200
27724 Replace autogen.sh by a newer version
27726 It pulls automake 1.10 or 1.11.
27727 Greatly inspired from GLib's.
27729 https://bugzilla.gnome.org/show_bug.cgi?id=625661
27732 +++++++------------------------------------------------------
27733 1 file changed, 58 insertions(+), 448 deletions(-)
27735 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
27736 Author: Simon van der Linden <svdlinden@gnome.org>
27737 Date: Thu Aug 12 14:11:55 2010 +0200
27741 pyglib.c: In function ‘pyglib_gerror_exception_check’:
27742 pyglib.c:362: warning: format not a string literal and no format
27744 pyglib.c:371: warning: format not a string literal and no format
27747 gio.override: In function 'pygio_notify_allocate_buffer':
27748 gio.override:144:13: warning: format '%d' expects type 'int', but
27752 https://bugzilla.gnome.org/show_bug.cgi?id=625437
27754 gio/gio.override | 2 +-
27755 glib/pyglib.c | 4 ++--
27756 2 files changed, 3 insertions(+), 3 deletions(-)
27758 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
27759 Author: Simon van der Linden <svdlinden@gnome.org>
27760 Date: Thu Aug 12 11:09:37 2010 +0200
27762 Fix caller-allocates emergency free.
27764 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
27766 NULL in order to be able caller-allocates. This patch adds those
27769 Moreover, the interface info needs to be freed afterwards.
27771 https://bugzilla.gnome.org/show_bug.cgi?id=626684
27773 gi/pygi-invoke.c | 9 ++++++++-
27774 1 file changed, 8 insertions(+), 1 deletion(-)
27776 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
27777 Author: Simon van der Linden <svdlinden@gnome.org>
27778 Date: Thu Aug 12 10:46:17 2010 +0200
27780 Remove useless checks.
27782 No need to check for state->arg_infos, state->arg_type_infos, and
27783 state->args_is_auxiliary to be NULL, they are always allocated.
27785 https://bugzilla.gnome.org/show_bug.cgi?id=626684
27787 gi/pygi-invoke.c | 14 +++-----------
27788 1 file changed, 3 insertions(+), 11 deletions(-)
27790 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
27791 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27792 Date: Tue Aug 10 17:40:16 2010 +0200
27794 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
27796 tests/Makefile.am | 2 +-
27797 1 file changed, 1 insertion(+), 1 deletion(-)
27799 commit 8be59c37dd57acc51875c7189ca09d728b729013
27800 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27801 Date: Wed Aug 4 13:43:17 2010 +0200
27805 gi/pygi-argument.c | 2 --
27806 gi/pygi-invoke.c | 2 +-
27807 gi/pygi-struct.c | 1 -
27808 3 files changed, 1 insertion(+), 4 deletions(-)
27810 commit 529eca6054e9a7e2267f1529e317c2373932762f
27811 Author: Simon van der Linden <svdlinden@gnome.org>
27812 Date: Fri Jul 30 22:39:40 2010 +0200
27814 Add myself as a maintainer
27816 MAINTAINERS | 4 ++++
27817 1 file changed, 4 insertions(+)
27819 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
27820 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27821 Date: Fri Jul 30 14:14:16 2010 +0200
27823 Properly allocate boxed structs that are (caller-allocates)
27825 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
27826 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
27827 are (caller-allocates)
27828 * tests/test_overrides.py: Split the TreeView tests
27830 https://bugzilla.gnome.org/show_bug.cgi?id=625653
27832 gi/pygi-boxed.c | 50
27833 ++++++++++++++++++++++++++++++++-----------------
27834 gi/pygi-boxed.h | 10 ++++++----
27835 gi/pygi-invoke.c | 16 ++++++----------
27836 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
27837 4 files changed, 64 insertions(+), 51 deletions(-)
27839 commit 99c7322898c00a576c7319ea0a7c808446253133
27840 Author: Toms Baugis <toms.baugis@gmail.com>
27841 Date: Fri Jul 30 15:44:21 2010 +0200
27843 override gdk.Event to return attribute from the proper event object
27845 https://bugzilla.gnome.org/show_bug.cgi?id=620593
27847 gi/overrides/Gdk.py | 48
27848 ++++++++++++++++++++++++++++++++++++++++++++++++
27849 gi/pygi-invoke.c | 4 ----
27850 tests/test_overrides.py | 10 ++++++++++
27851 3 files changed, 58 insertions(+), 4 deletions(-)
27853 commit 55814e722c2ae11310f346790c9221e4fad92b50
27854 Author: John (J5) Palmieri <johnp@redhat.com>
27855 Date: Fri Jul 30 06:30:48 2010 -0400
27857 check if z# needs an int or Py_ssize_t
27859 https://bugzilla.gnome.org/show_bug.cgi?id=625438
27861 gio/gio.override | 5 +++++
27862 1 file changed, 5 insertions(+)
27864 commit 477315465d0a6d84b51e146e86e254873bc564ff
27865 Author: John (J5) Palmieri <johnp@redhat.com>
27866 Date: Fri Jul 30 06:43:06 2010 -0400
27868 make sure we parse parameters to python object vars not glib vars
27870 * py_flags was already set up but due to a typo &flags was being
27874 https://bugzilla.gnome.org/show_bug.cgi?id=625438
27876 gio/gfile.override | 8 ++++----
27877 1 file changed, 4 insertions(+), 4 deletions(-)
27879 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
27880 Author: Paul Bolle <pebolle@tiscali.nl>
27881 Date: Fri Jul 30 10:56:01 2010 +0200
27883 Make an example and a demo work out of the box
27885 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
27886 regarding pygtk to work out of the box. So add those.
27888 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
27890 https://bugzilla.gnome.org/show_bug.cgi?id=625638
27892 demos/gtk-demo/gtk-demo.py | 2 ++
27893 examples/cairo-demo.py | 2 ++
27894 2 files changed, 4 insertions(+)
27896 commit c9da5782e6c633d9af43ee85075e9ee65db09780
27897 Author: John (J5) Palmieri <johnp@redhat.com>
27898 Date: Fri Jul 9 13:14:42 2010 -0400
27900 make sure caller allocated structs are freed when they go out of scope
27902 * Move struct transfer checks from pygi-arguments to pygi-invoke
27903 * add better warning if an unknown struct is fully transfered
27904 * only free GValues we create in the invoke cleanup. All other
27906 get cleaned up when they go out of scope in python
27907 * Fixes issues with caller allocated treeiters getting freed to early
27908 * this is a fix to crashes in the current test suite when API's
27910 TreeIters were annotated as out caller-allocates so no new tests
27913 https://bugzilla.gnome.org/show_bug.cgi?id=623969
27915 gi/pygi-argument.c | 13 +++++--------
27916 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
27917 2 files changed, 45 insertions(+), 14 deletions(-)
27919 commit e0a85305cd107aae5902e524afd074cd8c329927
27920 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27921 Date: Fri Jul 30 10:35:33 2010 +0200
27923 Revert "override gdk.Event to return attribute from the proper
27926 Pushed by mistake, we still need testcases
27928 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
27930 gi/overrides/Gdk.py | 44 --------------------------------------------
27931 1 file changed, 44 deletions(-)
27933 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
27934 Author: Paul Bolle <pebolle@tiscali.nl>
27935 Date: Thu Jul 29 22:55:28 2010 +0200
27937 PyGI: properly quit cairo-demo
27939 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
27941 https://bugzilla.gnome.org/show_bug.cgi?id=625619
27943 examples/cairo-demo.py | 2 +-
27944 1 file changed, 1 insertion(+), 1 deletion(-)
27946 commit e7bb3954880568884ca66e7751ede689dc2f24f6
27947 Author: Toms Baugis <toms.baugis@gmail.com>
27948 Date: Tue Jul 27 21:37:16 2010 +0200
27950 override gdk.Event to return attribute from the proper event object.
27952 https://bugzilla.gnome.org/show_bug.cgi?id=620593
27954 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
27955 1 file changed, 44 insertions(+)
27957 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
27958 Author: Simon van der Linden <svdlinden@gnome.org>
27959 Date: Wed Jul 28 14:56:00 2010 +0200
27961 Clean and improve the test infrastructure
27963 To run select tests, use for instance:
27964 % make check TEST_NAMES='test_everything test_gi.TestConstant'
27966 It works with check.gdb and check.valgrind too.
27968 https://bugzilla.gnome.org/show_bug.cgi?id=625488
27970 Makefile.am | 5 ----
27971 tests/Makefile.am | 65
27972 +++++++++++++++++++++-------------------------
27973 tests/common.py | 47 ---------------------------------
27974 tests/runtests.py | 43 ++++++++++++------------------
27975 tests/test_gcancellable.py | 4 +--
27976 tests/test_gi.py | 3 ---
27977 tests/test_gicon.py | 3 ++-
27978 tests/test_gio.py | 3 ++-
27979 tests/test_gobject.py | 3 ++-
27980 tests/test_gresolver.py | 4 +--
27981 tests/test_gsocket.py | 4 ++-
27982 tests/test_interface.py | 6 ++++-
27983 tests/test_mainloop.py | 11 +++-----
27984 tests/test_signal.py | 4 ++-
27985 tests/test_source.py | 4 +--
27986 tests/test_subprocess.py | 5 +---
27987 tests/test_thread.py | 5 +++-
27988 tests/test_unknown.py | 5 +++-
27989 18 files changed, 82 insertions(+), 142 deletions(-)
27991 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
27992 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27993 Date: Thu Jul 29 12:34:19 2010 +0200
27995 Add some more transformations to pygi-convert.sh
27997 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
27998 1 file changed, 29 insertions(+), 8 deletions(-)
28000 commit de519adcd21947a0aef7932cdecb78cef200c85e
28001 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28002 Date: Wed Jul 28 14:42:36 2010 +0200
28004 Adapt to API changes: g_irepository_enumerate_versions
28006 gi/importer.py | 2 +-
28007 gi/pygi-repository.c | 12 ++++++------
28008 2 files changed, 7 insertions(+), 7 deletions(-)
28010 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
28011 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28012 Date: Wed Jul 28 12:26:48 2010 +0200
28014 Add GValue<->GArgument marshalling for some more types
28016 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
28017 1 file changed, 36 insertions(+), 1 deletion(-)
28019 commit ddffa70c3ee0e837070f390632bc692430f79171
28020 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28021 Date: Wed Jul 28 11:10:42 2010 +0200
28023 Chain up with the non-introspection implementation for properties
28026 gobject/pygobject.c | 7 ++++++-
28027 1 file changed, 6 insertions(+), 1 deletion(-)
28029 commit 045433a1f8167205dc8eae613dcb8835d02c8916
28030 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28031 Date: Wed Jul 28 10:59:49 2010 +0200
28033 Improve error reporting for missing attributes in introspection
28036 gi/module.py | 4 ++--
28037 1 file changed, 2 insertions(+), 2 deletions(-)
28039 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
28040 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28041 Date: Tue Jul 27 21:52:49 2010 +0200
28043 Implement getting and setting properties using introspection
28046 This allows us to use information not present in GObject such as
28047 transfer and element types.
28049 https://bugzilla.gnome.org/show_bug.cgi?id=620808
28051 gi/Makefile.am | 2 +
28052 gi/gimodule.c | 2 +
28053 gi/pygi-argument.c | 2 +
28054 gi/pygi-private.h | 1 +
28055 gi/pygi-property.c | 226
28056 +++++++++++++++++++++++++++++++++++++++++++++++
28057 gi/pygi-property.h | 39 ++++++++
28058 gi/pygi.h | 41 +++++++++
28059 gobject/pygobject.c | 9 ++
28060 tests/test_everything.py | 19 ++++
28061 9 files changed, 341 insertions(+)
28063 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
28064 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28065 Date: Tue Jul 27 21:32:41 2010 +0200
28067 Readd Gdk.Rectangle override for Gtk-2.0
28069 gi/overrides/Gdk.py | 19 +++++++++++++++++++
28070 1 file changed, 19 insertions(+)
28072 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
28073 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28074 Date: Tue Jul 27 18:25:27 2010 +0200
28076 Allow specifying a version when loading a typelib
28078 * gi/importer.py: Defer loading the typelib until first usage.
28079 * gi/module.py: Load the typelib in IntrospectionModule().
28080 * gi/overrides/*.py: Adapt to API change.
28081 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
28082 g_irepository_get_version.
28084 gi/importer.py | 26 ++++++-----------
28086 +++++++++++++++++++++++++-------------
28087 gi/overrides/GIMarshallingTests.py | 2 +-
28088 gi/overrides/Gdk.py | 2 +-
28089 gi/overrides/Gtk.py | 2 +-
28090 gi/pygi-repository.c | 56
28091 +++++++++++++++++++++++++++++++++++-
28092 6 files changed, 105 insertions(+), 41 deletions(-)
28094 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
28095 Author: Jonathan Matthew <jonathan@d14n.org>
28096 Date: Tue Jul 13 20:27:28 2010 +1000
28098 treat GFreeFunc as equivalent to GDestroyNotify when scanning
28101 https://bugzilla.gnome.org/show_bug.cgi?id=624232
28103 gi/pygi-callbacks.c | 3 ++-
28104 1 file changed, 2 insertions(+), 1 deletion(-)
28106 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
28107 Author: Simon van der Linden <svdlinden@gnome.org>
28108 Date: Mon Jul 26 17:00:23 2010 +0200
28110 Don't use == to compare doubles, use <= and =>.
28112 This avoids inequality due to small precisions difference.
28114 https://bugzilla.gnome.org/show_bug.cgi?id=625326
28116 tests/testhelpermodule.c | 2 +-
28117 1 file changed, 1 insertion(+), 1 deletion(-)
28119 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
28120 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28121 Date: Thu Jul 8 11:36:12 2010 +0200
28123 Allow passing ints as enum args
28125 https://bugzilla.gnome.org/show_bug.cgi?id=622584
28127 gi/pygi-argument.c | 23 +++++++++++++++++++++--
28128 tests/test_gi.py | 6 ++++--
28129 2 files changed, 25 insertions(+), 4 deletions(-)
28131 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
28132 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28133 Date: Sun Jul 25 17:30:40 2010 +0100
28135 Make error message less ambiguous
28137 https://bugzilla.gnome.org/show_bug.cgi?id=625095
28139 gi/pygi-callbacks.c | 3 ++-
28140 1 file changed, 2 insertions(+), 1 deletion(-)
28142 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
28143 Author: John (J5) Palmieri <johnp@redhat.com>
28144 Date: Thu Jun 24 10:07:12 2010 -0400
28146 fix passing in type names as a GType and add gtype unit tests
28148 * a simple call to pyg_type_from_object covers all the bases
28149 * added unit tests to check for correct GType value passing
28150 * fixed up tree override tests to also check different ways of
28153 https://bugzilla.gnome.org/show_bug.cgi?id=622605
28155 gi/pygi-argument.c | 8 +-------
28156 tests/test_everything.py | 27 +++++++++++++++++++++++++++
28157 tests/test_overrides.py | 6 ++----
28158 3 files changed, 30 insertions(+), 11 deletions(-)
28160 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
28161 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28162 Date: Mon Jul 26 11:54:47 2010 +0200
28164 Increase a bit verbosity of tests so people know which test failed
28166 tests/runtests.py | 2 +-
28167 1 file changed, 1 insertion(+), 1 deletion(-)
28169 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
28170 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28171 Date: Thu Jul 15 15:17:53 2010 +0200
28173 Actually add the files for GVariant foreign structs
28175 gi/pygi-foreign-gvariant.c | 63
28176 ++++++++++++++++++++++++++++++++++++++++++++++
28177 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
28178 2 files changed, 104 insertions(+)
28180 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
28181 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28182 Date: Thu Jul 15 13:31:33 2010 +0200
28184 Add foreign struct support for GVariant
28186 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
28187 * gi/pygi-foreign.c: Register foreign support for GVariant
28188 * gi/pygi-struct.c: properly release foreign structs
28189 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
28191 * tests/test_everything.py: Add basic tests for GVariant
28193 https://bugzilla.gnome.org/show_bug.cgi?id=619501
28195 gi/Makefile.am | 2 +
28196 gi/pygi-argument.c | 2 +-
28197 gi/pygi-foreign-cairo.c | 16 +++----
28198 gi/pygi-foreign.c | 107
28199 +++++++++++++++++++++++++++++------------------
28200 gi/pygi-foreign.h | 7 ++--
28201 gi/pygi-invoke.c | 18 ++++----
28202 gi/pygi-struct.c | 10 ++++-
28204 tests/test_everything.py | 8 ++++
28205 9 files changed, 110 insertions(+), 69 deletions(-)
28207 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
28208 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28209 Date: Mon Jul 12 11:19:06 2010 +0200
28211 Add HACKING to MANIFEST.in
28214 1 file changed, 1 insertion(+), 1 deletion(-)
28216 commit 40bf08ff001b119c7daf709197005ef6480216c5
28217 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28218 Date: Mon Jul 12 11:18:04 2010 +0200
28220 Add HACKING file with instructions for releasing
28222 HACKING | 14 ++++++++++++++
28223 1 file changed, 14 insertions(+)
28225 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
28226 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28227 Date: Mon Jul 12 11:09:58 2010 +0200
28229 Post release version bump to 2.21.6
28231 configure.ac | 2 +-
28232 1 file changed, 1 insertion(+), 1 deletion(-)
28234 commit 42a5a0897b38156ae010c396ea254abf502f35de
28235 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28236 Date: Mon Jul 12 11:00:29 2010 +0200
28238 Update NEWS and release PyGObject-2.21.5
28240 NEWS | 17 +++++++++++++++++
28241 1 file changed, 17 insertions(+)
28243 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
28244 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28245 Date: Mon Jul 12 11:00:20 2010 +0200
28247 Pre-release version bump to 2.21.5
28249 configure.ac | 2 +-
28250 1 file changed, 1 insertion(+), 1 deletion(-)
28252 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
28253 Author: Florian Müllner <florian.muellner@gmail.com>
28254 Date: Sat Jul 10 22:35:13 2010 +0200
28256 Shut up some compiler warnings
28258 Remove unused variables, make sure variables are properly initialized.
28260 https://bugzilla.gnome.org/show_bug.cgi?id=624066
28262 gi/pygi-callbacks.c | 1 -
28263 gi/pygi-closure.c | 2 +-
28264 gi/pygi-invoke.c | 1 -
28265 3 files changed, 1 insertion(+), 3 deletions(-)
28267 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
28268 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
28269 Date: Mon Jul 12 10:31:42 2010 +0200
28271 Adjust to API break in GObject-Introspection
28273 As of commit 5cb925b20, many type_tags for standard C types have
28274 been removed - namely machine-dependent integer types and derived
28275 types (size_t, time_t).
28277 Most removals are just synonyms of other types, so their removal
28278 should not have too much impact, with the exception of time_t,
28279 which was translated to a native datetime object before.
28281 Also remove time_t tests (Tomeu Vizoso).
28283 https://bugzilla.gnome.org/show_bug.cgi?id=624065
28285 configure.ac | 2 +-
28286 gi/importer.py | 7 +--
28287 gi/pygi-argument.c | 146
28288 -----------------------------------------------------
28289 gi/pygi-closure.c | 10 ----
28290 gi/pygi-info.c | 37 --------------
28291 tests/test_gi.py | 21 --------
28292 6 files changed, 5 insertions(+), 218 deletions(-)
28294 commit 27a417c71f8c122e46c7472663bb25c17413f103
28295 Author: John (J5) Palmieri <johnp@redhat.com>
28296 Date: Thu Jul 8 16:01:25 2010 -0400
28298 pass in the demo app so demos can use utility methods like requesting
28301 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
28302 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
28303 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
28304 demos/gtk-demo/demos/assistant.py | 2 +-
28305 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
28306 demos/gtk-demo/demos/button_box.py | 2 +-
28307 demos/gtk-demo/demos/clipboard.py | 8 +-------
28308 demos/gtk-demo/demos/colorselector.py | 2 +-
28309 demos/gtk-demo/demos/combobox.py | 8 +++++---
28310 demos/gtk-demo/demos/drawingarea.py | 2 +-
28311 demos/gtk-demo/demos/test.py | 2 +-
28312 demos/gtk-demo/gtk-demo.py | 6 +++---
28313 12 files changed, 37 insertions(+), 26 deletions(-)
28315 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
28316 Author: John (J5) Palmieri <johnp@redhat.com>
28317 Date: Thu Jul 8 15:38:07 2010 -0400
28319 demo fixes to keep up with Gtk+
28321 * treeiter changes to reflect caller-allocate annotations
28322 * fix some flag handling
28323 * use get_indicies_with_depth instead of get_indices for paths
28325 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
28326 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
28327 demos/gtk-demo/gtk-demo.py | 13 +++++--------
28328 3 files changed, 24 insertions(+), 23 deletions(-)
28330 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
28331 Author: John (J5) Palmieri <johnp@redhat.com>
28332 Date: Thu Jul 8 12:54:43 2010 -0400
28334 override test fixes for new GTK+ annotations
28336 tests/test_overrides.py | 23 +++++++++++++----------
28337 1 file changed, 13 insertions(+), 10 deletions(-)
28339 commit 7a400f8139b70ddfe7c949035e0851689951c647
28340 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28341 Date: Thu Jul 8 12:42:25 2010 +0200
28345 gi/pygi-argument.c | 4 ++--
28346 1 file changed, 2 insertions(+), 2 deletions(-)
28348 commit 39fd0a85a3de06b1b877d1125f91036409886373
28349 Author: John (J5) Palmieri <johnp@redhat.com>
28350 Date: Wed Jul 7 15:48:36 2010 -0400
28352 fix up treeiter usage due to caller-allocates annotations in gtk+
28354 * we still don't pass tests because the caller-allocates code path
28356 handle the case where the parameter is followed by a regular
28359 gi/overrides/Gtk.py | 7 +++----
28360 tests/test_overrides.py | 21 +++++++++++----------
28361 2 files changed, 14 insertions(+), 14 deletions(-)
28363 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
28364 Author: John (J5) Palmieri <johnp@redhat.com>
28365 Date: Tue Jul 6 17:50:10 2010 -0400
28367 add entry completion demo
28369 demos/gtk-demo/demos/Entry/entry_completion.py | 87
28370 ++++++++++++++++++++++++++
28371 1 file changed, 87 insertions(+)
28373 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
28374 Author: John (J5) Palmieri <johnp@redhat.com>
28375 Date: Tue Jul 6 17:49:18 2010 -0400
28379 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
28380 1 file changed, 2 insertions(+), 2 deletions(-)
28382 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
28383 Author: John (J5) Palmieri <johnp@redhat.com>
28384 Date: Tue Jul 6 17:27:04 2010 -0400
28386 add the Entry demo directory and the entry_buffer demo
28388 demos/gtk-demo/demos/Entry/__init__.py | 0
28389 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
28390 ++++++++++++++++++++++++++++++
28391 2 files changed, 73 insertions(+)
28393 commit f2b1d222120f055bec9339cca55c9cc90f538c00
28394 Author: John (J5) Palmieri <johnp@redhat.com>
28395 Date: Tue Jul 6 17:26:03 2010 -0400
28397 fix loading of demo modules to support sub modules
28399 demos/gtk-demo/gtk-demo.py | 9 +++++++--
28400 1 file changed, 7 insertions(+), 2 deletions(-)
28402 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
28403 Author: John (J5) Palmieri <johnp@redhat.com>
28404 Date: Tue Jul 6 15:56:34 2010 -0400
28406 add the ability to have demos in sub catagories
28408 demos/gtk-demo/gtk-demo.py | 76
28409 ++++++++++++++++++++++++++++++++--------------
28410 1 file changed, 54 insertions(+), 22 deletions(-)
28412 commit dc2249a3ecf339008351316217191d0551ccc588
28413 Author: Jose Aliste <jaliste@src.gnome.org>
28414 Date: Mon Jul 5 14:36:59 2010 -0400
28416 Add __name__ to DynamicModule class.
28421 1 file changed, 1 insertion(+)
28423 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
28424 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28425 Date: Mon Jul 5 16:11:07 2010 +0200
28427 Do not override GdkRectangle.
28429 This class was lately removed from gtk+ 3, so there is no need
28433 gi/overrides/Gdk.py | 19 -------------------
28434 1 file changed, 19 deletions(-)
28436 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
28437 Author: Philip Withnall <philip.withnall@collabora.co.uk>
28438 Date: Tue Jun 29 16:37:36 2010 +0100
28440 Add override for TreeModel implementing __len__()
28444 gi/overrides/Gtk.py | 11 +++++++++--
28445 tests/test_overrides.py | 5 +++++
28446 2 files changed, 14 insertions(+), 2 deletions(-)
28448 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
28449 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28450 Date: Tue Jun 29 11:27:13 2010 +0200
28452 Update NEWS and release PyGObject-2.21.4
28454 NEWS | 27 +++++++++++++++++++++++++--
28455 1 file changed, 25 insertions(+), 2 deletions(-)
28457 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
28458 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28459 Date: Tue Jun 29 10:55:03 2010 +0200
28461 Remove files from the makefiles
28463 gi/Makefile.am | 4 +---
28464 gobject/Makefile.am | 3 +--
28465 2 files changed, 2 insertions(+), 5 deletions(-)
28467 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
28468 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28469 Date: Tue Jun 29 10:27:39 2010 +0200
28471 Build the cairo shim as a python module so the _gi module stops
28474 https://bugzilla.gnome.org/show_bug.cgi?id=623021
28477 gi/Makefile.am | 38 ++++++++++-----
28478 gi/gimodule.c | 8 +---
28479 gi/pygi-argument.c | 10 +---
28480 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
28481 gi/pygi-foreign-cairo.h | 55 ---------------------
28482 gi/pygi-foreign.c | 125
28483 ++++++++++++++++++++++++++++--------------------
28484 gi/pygi-foreign.h | 31 ++++++------
28485 gi/pygi.h | 40 ++++++++++++++--
28486 9 files changed, 196 insertions(+), 169 deletions(-)
28488 commit a6a90551311bc64f037cbd442e13f70c30060871
28489 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28490 Date: Mon Jun 28 14:20:43 2010 +0200
28492 Remove pygi-external.h
28494 https://bugzilla.gnome.org/show_bug.cgi?id=623021
28496 gi/gimodule.c | 8 +++---
28497 gi/pygi-type.c | 4 +--
28498 gi/pygi-type.h | 2 +-
28499 gi/pygi.h | 54 ++++++++++++++++-----------------------
28500 gobject/Makefile.am | 6 +++++
28501 gobject/pygboxed.c | 2 +-
28502 gobject/pygenum.c | 2 +-
28503 gobject/pygflags.c | 2 +-
28504 gobject/pygi-external.h | 67
28505 -------------------------------------------------
28506 gobject/pygobject.c | 2 +-
28507 gobject/pygpointer.c | 2 +-
28508 11 files changed, 40 insertions(+), 111 deletions(-)
28510 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
28511 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28512 Date: Fri Jun 25 13:54:57 2010 +0200
28514 Revert "correctly handle floating objects in gtk"
28516 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
28521 tests/test_everything.py
28523 gi/gimodule.c | 13 -------------
28524 tests/test_everything.py | 3 ++-
28525 2 files changed, 2 insertions(+), 14 deletions(-)
28527 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
28528 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28529 Date: Fri Jun 25 13:49:04 2010 +0200
28531 Make valgrind happy again
28533 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
28534 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
28536 gi/pygi-argument.c | 1 +
28537 gi/pygi-info.c | 2 ++
28538 gi/pygi-invoke.c | 8 ++++++--
28539 3 files changed, 9 insertions(+), 2 deletions(-)
28541 commit 63afe55906c8637e913783e65b82b540b81bed65
28542 Author: John (J5) Palmieri <johnp@redhat.com>
28543 Date: Thu Jun 24 16:13:37 2010 -0400
28545 add drawing area demo
28547 demos/gtk-demo/demos/drawingarea.py | 249
28548 ++++++++++++++++++++++++++++++++++++
28549 1 file changed, 249 insertions(+)
28551 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
28552 Author: John (J5) Palmieri <johnp@redhat.com>
28553 Date: Thu Jun 24 14:11:00 2010 -0400
28557 demos/gtk-demo/gtk-demo.py | 2 ++
28558 1 file changed, 2 insertions(+)
28560 commit b9da82742701ed276b01dee39626cd71cbef8556
28561 Author: John (J5) Palmieri <johnp@redhat.com>
28562 Date: Thu Jun 24 13:56:18 2010 -0400
28564 rename iter to treeiter so we aren't using a python reserved word
28566 demos/gtk-demo/gtk-demo.py | 12 ++++++------
28567 1 file changed, 6 insertions(+), 6 deletions(-)
28569 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
28570 Author: John (J5) Palmieri <johnp@redhat.com>
28571 Date: Thu Jun 24 13:47:54 2010 -0400
28573 Fixup for change in buffer API
28575 * Part of buffer API dealing with TextIter now marked (out
28578 demos/gtk-demo/gtk-demo.py | 10 ++++------
28579 1 file changed, 4 insertions(+), 6 deletions(-)
28581 commit 8d9516a593a515290109401a9db7aa259b5aa35c
28582 Author: John (J5) Palmieri <johnp@redhat.com>
28583 Date: Wed Jun 23 17:04:33 2010 -0400
28585 add ListStore, TreeStore and TreeViewColumn APIs
28587 * this is enough to support the gtk-demo.py shell
28588 * TreeStore and ListStore allow passing in as an argument list
28589 of either python or GLib types to the constructor as a description
28590 of the columns in the model
28591 * TreeStore and ListStore override the append method, allowing
28592 the application developer to send in a list of column values
28593 for one row in the model. Unlike the append in C which
28594 just returns an iter that you can then add data to,
28595 this append actualy appends data in one step
28596 * TreeViewColumn overrides the constructor to allow the adding
28597 of attributes and a cell renderer when constructing the
28600 https://bugzilla.gnome.org/show_bug.cgi?id=620405
28602 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
28603 tests/test_overrides.py | 69
28604 +++++++++++++++++++++++++++++++++++++++++++++++++
28605 2 files changed, 128 insertions(+)
28607 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
28608 Author: Johan Dahlin <johan@gnome.org>
28609 Date: Wed Jun 23 14:34:28 2010 -0300
28611 [gi] Add -I../gobject to cflags
28613 Since we're no longer pulling in pygobject cflags,
28614 add this to be able to include pygobject.h
28616 gi/Makefile.am | 3 +++
28617 1 file changed, 3 insertions(+)
28619 commit 53a093198851e3ba5abd1f6c3314737decd401d8
28620 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28621 Date: Wed Jun 23 18:09:19 2010 +0200
28623 Add unit test for add_actions user data.
28625 tests/test_overrides.py | 20 +++++++++++++++-----
28626 1 file changed, 15 insertions(+), 5 deletions(-)
28628 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
28629 Author: Paolo Borelli <pborelli@gnome.org>
28630 Date: Wed Jun 23 18:06:46 2010 +0200
28632 Pass user_data param when adding actions
28634 gi/overrides/Gtk.py | 12 ++++++------
28635 1 file changed, 6 insertions(+), 6 deletions(-)
28637 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
28638 Author: John (J5) Palmieri <johnp@redhat.com>
28639 Date: Wed Jun 23 12:02:04 2010 -0400
28641 add an exception type to the try/except block
28643 * we should always specify what exception types we are expecting
28645 gi/overrides/Gtk.py | 6 +++---
28646 1 file changed, 3 insertions(+), 3 deletions(-)
28648 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
28649 Author: Johan Dahlin <johan@gnome.org>
28650 Date: Wed Jun 23 12:31:51 2010 -0300
28652 Avoid duplicating required versions
28654 Avoid duplicating the version of all required packages.
28655 Also remove cyclic dependency of pygobject
28657 https://bugzilla.gnome.org/show_bug.cgi?id=622503
28659 configure.ac | 9 +++++----
28660 1 file changed, 5 insertions(+), 4 deletions(-)
28662 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
28663 Author: John (J5) Palmieri <johnp@redhat.com>
28664 Date: Tue Jun 22 15:03:08 2010 -0400
28666 return PyList instead of PyTuple for array, return empty list for
28669 * returns an empty list when a NULL array (empty array) is encountered
28670 * fix tests to check for lists instead of tuples or None
28671 * test the ability to send in both None and empty list for arrays
28674 gi/pygi-argument.c | 7 ++--
28675 tests/test_everything.py | 5 ++-
28676 tests/test_gi.py | 84
28677 ++++++++++++++++++++++++------------------------
28678 3 files changed, 49 insertions(+), 47 deletions(-)
28680 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
28681 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28682 Date: Wed Jun 23 15:42:29 2010 +0200
28684 Fix 'make distcheck'
28686 * Makefile.am: put the tests dir to the end
28687 * g*/Makefile.am: build the .so when running make check
28688 * tests/Makefile.am: Don't pass the src dir to runtests.py and
28689 remove (hopefully) unneeded cruft.
28690 * tests/common.py: Don't add the src dir to the python path
28691 * tests/runtests.py: Don't pass the src dir to common.py
28693 Makefile.am | 4 +++-
28694 gi/Makefile.am | 1 +
28695 gio/Makefile.am | 1 +
28696 glib/Makefile.am | 2 +-
28697 gobject/Makefile.am | 1 +
28698 tests/Makefile.am | 17 ++---------------
28699 tests/common.py | 3 +--
28700 tests/runtests.py | 12 +++++-------
28701 8 files changed, 15 insertions(+), 26 deletions(-)
28703 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
28704 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28705 Date: Wed Jun 23 13:59:14 2010 +0200
28707 Allow building pygobject without introspection support by providing
28708 --disable-introspection to configure.
28710 Makefile.am | 6 +++++-
28711 configure.ac | 15 ++++++++-------
28712 gobject/pygi-external.h | 4 ++--
28713 tests/Makefile.am | 8 ++++++--
28714 tests/runtests.py | 21 +++++++--------------
28715 5 files changed, 28 insertions(+), 26 deletions(-)
28717 commit cc3ea77318ee572673d2a044deca9001366b0f08
28718 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28719 Date: Wed Jun 23 12:26:51 2010 +0200
28721 Make sure that sys.argv is a list and not a sequence.
28723 Because Python's optparse will try to do things on it that can
28724 only be done with list.
28726 gi/overrides/Gtk.py | 2 +-
28727 1 file changed, 1 insertion(+), 1 deletion(-)
28729 commit 3d72b8248cc534a689dee5679a729b2fba56c528
28730 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28731 Date: Wed Jun 23 12:26:02 2010 +0200
28733 Force loading the GObject typelib so we have available the wrappers
28734 for base classes such as GInitiallyUnowned.
28736 gi/__init__.py | 3 +++
28737 1 file changed, 3 insertions(+)
28739 commit c7c94ef349c30597f2f10d90f74718d678ec7add
28740 Author: John (J5) Palmieri <johnp@redhat.com>
28741 Date: Tue Jun 22 14:45:48 2010 -0400
28743 we shouldn't g_array_free NULL pointers
28745 https://bugzilla.gnome.org/show_bug.cgi?id=622425
28747 gi/pygi-info.c | 5 +++--
28748 1 file changed, 3 insertions(+), 2 deletions(-)
28750 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
28751 Merge: acf7b43 5f9cb91
28752 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28753 Date: Wed Jun 23 12:53:05 2010 +0200
28755 Merge branch 'pygi'
28757 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
28758 Author: John (J5) Palmieri <johnp@redhat.com>
28759 Date: Tue Jun 22 15:39:46 2010 -0400
28761 remove unneeded TextIter creation in the tests
28763 tests/test_overrides.py | 3 ---
28764 1 file changed, 3 deletions(-)
28766 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
28767 Author: John (J5) Palmieri <johnp@redhat.com>
28768 Date: Mon Jun 21 11:42:12 2010 -0400
28770 add override for TextBuffer
28772 * TextBuffer.create_tag takes vargs which we can't bind yet so
28774 to except a keyword list of properties
28775 * override the insert* methods so the developer does not have to
28777 - lengths are already encapsulated by a string in Python
28779 https://bugzilla.gnome.org/show_bug.cgi?id=620583
28781 gi/overrides/Gtk.py | 51
28782 +++++++++++++++++++++++++++++++++++++++++++++++++
28783 tests/test_overrides.py | 25 ++++++++++++++++++++++++
28784 2 files changed, 76 insertions(+)
28786 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
28787 Author: John (J5) Palmieri <johnp@redhat.com>
28788 Date: Tue Jun 22 12:46:39 2010 -0400
28790 fix up some build issues
28792 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
28794 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
28795 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
28797 make check.gdb work
28799 configure.ac | 2 +-
28800 tests/Makefile.am | 2 +-
28801 2 files changed, 2 insertions(+), 2 deletions(-)
28803 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
28804 Author: John (J5) Palmieri <johnp@redhat.com>
28805 Date: Tue Jun 22 11:50:30 2010 -0400
28807 make the overrides file git friendly by appending to __all__ after
28810 * modifying the __all__ line for each override would confuse git as
28811 each override needs to get seperate approval before comitting.
28813 this commits would not always go in in the same order as they
28815 Also different people working on the same file would start from
28817 commit states. This caused conflicts when patches were merged.
28818 * instead of modifying a single hard coded list we now append to
28820 after each override. This creates distinct blocks of changed text
28821 which will not conflict
28823 gi/overrides/GIMarshallingTests.py | 10 ++++------
28824 gi/overrides/Gdk.py | 8 ++++----
28825 gi/overrides/Gtk.py | 7 +++++--
28826 3 files changed, 13 insertions(+), 12 deletions(-)
28828 commit 49321b934603e1ec69fb04082c63902970907d2b
28829 Author: Paolo Borelli <pborelli@gnome.org>
28830 Date: Sun Jun 20 13:27:34 2010 +0200
28832 Override Dialog constructor and add_buttons method
28834 gi/overrides/Gtk.py | 46
28835 +++++++++++++++++++++++++++++++++++++++++++++-
28836 tests/test_overrides.py | 16 ++++++++++++++++
28837 2 files changed, 61 insertions(+), 1 deletion(-)
28839 commit acf7b43a41ce814f0c57ce609a090826f04771db
28840 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28841 Date: Mon Jun 21 18:17:38 2010 +0200
28843 Post release version bump to 2.21.4
28845 configure.ac | 2 +-
28846 1 file changed, 1 insertion(+), 1 deletion(-)
28848 commit a7fa8b80406227a06cf18f8675dbc1f471283829
28849 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28850 Date: Mon Jun 21 18:10:32 2010 +0200
28852 Update NEWS and release PyGObject-2.21.3
28855 1 file changed, 7 insertions(+)
28857 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
28858 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
28859 Date: Tue Jul 21 16:28:34 2009 +0200
28861 Proper handling of null-ok in virtual methods
28863 https://bugzilla.gnome.org/show_bug.cgi?id=589253
28865 codegen/codegen.py | 2 ++
28866 codegen/reversewrapper.py | 18 +++++++++++++++---
28867 2 files changed, 17 insertions(+), 3 deletions(-)
28869 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
28870 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28871 Date: Mon Jun 21 17:34:54 2010 +0200
28873 Add *~ and *.orig to .gitignore
28875 .gitignore | 5 ++++-
28876 1 file changed, 4 insertions(+), 1 deletion(-)
28878 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
28879 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28880 Date: Mon Jun 21 17:33:56 2010 +0200
28882 Fall back to use the floating references API in glib if there isn't
28883 a sinkfunc defined.
28885 * tests/*: Add ref counting tests for floating objects
28886 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
28888 or g_object_ref if there isn't a sinkfunc defined. Make sure that
28889 pygobject_sink gets called only once per GObject instance.
28891 https://bugzilla.gnome.org/show_bug.cgi?id=583909
28893 gobject/gobjectmodule.c | 2 -
28894 gobject/pygobject.c | 50 +++++++++++++---------
28895 gobject/pygobject.h | 1 +
28896 tests/Makefile.am | 2 +
28897 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
28898 tests/test-floating.h | 60 ++++++++++++++++++++++++++
28899 tests/test_gobject.py | 19 ++++++++-
28900 tests/testhelpermodule.c | 109
28901 +++++++++++++++++++++++++++++++++++++++++++++++
28902 8 files changed, 315 insertions(+), 23 deletions(-)
28904 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
28905 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28906 Date: Mon Jun 21 13:06:13 2010 +0200
28908 Revert "Drop sinkfuncs."
28910 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
28912 gobject/gobjectmodule.c | 3 ++-
28913 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
28914 gobject/pygobject.h | 1 -
28915 3 files changed, 36 insertions(+), 10 deletions(-)
28917 commit b2661054d6bde673484eab472e69ca021124528d
28918 Author: Johan Dahlin <johan@gnome.org>
28919 Date: Sun Jun 20 11:09:57 2010 -0300
28923 For reasons outlined at:
28924 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
28926 Makefile.am | 14 +-
28927 configure.ac | 29 +-
28928 demos/gtk-demo/demos/__init__.py | 0
28929 demos/gtk-demo/demos/appwindow.py | 411 +++++
28930 demos/gtk-demo/demos/assistant.py | 134 ++
28931 demos/gtk-demo/demos/builder.py | 57 +
28932 demos/gtk-demo/demos/button_box.py | 121 ++
28933 demos/gtk-demo/demos/clipboard.py | 238 +++
28934 demos/gtk-demo/demos/colorselector.py | 121 ++
28935 demos/gtk-demo/demos/combobox.py | 282 ++++
28936 demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
28938 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
28939 demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
28941 demos/gtk-demo/demos/data/demo.ui | 258 ++++
28942 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
28943 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
28944 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
28945 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
28946 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
28947 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
28948 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
28949 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
28950 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
28951 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
28952 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
28953 demos/gtk-demo/demos/test.py | 14 +
28954 demos/gtk-demo/gtk-demo.py | 266 ++++
28955 examples/Makefile.am | 2 +-
28956 examples/cairo-demo.py | 121 ++
28957 gi/Makefile.am | 4 +-
28958 gi/demos/gtk-demo/demos/__init__.py | 0
28959 gi/demos/gtk-demo/demos/appwindow.py | 411 -----
28960 gi/demos/gtk-demo/demos/assistant.py | 134 --
28961 gi/demos/gtk-demo/demos/builder.py | 57 -
28962 gi/demos/gtk-demo/demos/button_box.py | 121 --
28963 gi/demos/gtk-demo/demos/clipboard.py | 238 ---
28964 gi/demos/gtk-demo/demos/colorselector.py | 121 --
28965 gi/demos/gtk-demo/demos/combobox.py | 282 ----
28966 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
28968 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
28969 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
28971 gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
28972 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
28973 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
28974 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
28975 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
28976 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
28977 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
28978 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
28979 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
28980 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
28981 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
28982 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
28983 gi/demos/gtk-demo/demos/test.py | 14 -
28984 gi/demos/gtk-demo/gtk-demo.py | 266 ----
28985 gi/examples/Makefile.am | 2 -
28986 gi/examples/cairo-demo.py | 121 --
28987 gi/tests/test_everything.py | 270 ----
28988 gi/tests/test_gi.py | 1624
28989 --------------------
28990 gi/tests/test_overrides.py | 132 --
28991 pygi-Makefile.am | 28 -
28992 pygi-configure.ac | 60 -
28994 pygobject.doap | 16 +-
28995 tests/Makefile.am | 23 +-
28996 tests/test_everything.py | 270 ++++
28997 tests/test_gi.py | 1624
28998 ++++++++++++++++++++
28999 tests/test_overrides.py | 132 ++
29000 68 files changed, 4124 insertions(+), 4186 deletions(-)
29002 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
29003 Merge: ec8d148 fa91dfd
29004 Author: Johan Dahlin <johan@gnome.org>
29005 Date: Sun Jun 20 10:53:46 2010 -0300
29007 Merge branch 'pygi-merge'
29009 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
29010 Author: Johan Dahlin <johan@gnome.org>
29011 Date: Sun Jun 20 10:53:36 2010 -0300
29018 autogen.sh | 166 --
29019 configure.ac | 60 -
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 26529 ->
29030 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
29031 demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
29033 demos/gtk-demo/demos/data/demo.ui | 258 ----
29034 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
29035 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
29036 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
29037 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
29038 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
29039 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
29040 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
29041 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
29042 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
29043 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
29044 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 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/.gitignore | 40 +
29051 gi/demos/gtk-demo/demos/__init__.py | 0
29052 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
29053 gi/demos/gtk-demo/demos/assistant.py | 134 ++
29054 gi/demos/gtk-demo/demos/builder.py | 57 +
29055 gi/demos/gtk-demo/demos/button_box.py | 121 ++
29056 gi/demos/gtk-demo/demos/clipboard.py | 238 +++
29057 gi/demos/gtk-demo/demos/colorselector.py | 121 ++
29058 gi/demos/gtk-demo/demos/combobox.py | 282 ++++
29059 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
29061 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
29062 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
29064 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
29065 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
29066 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
29067 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
29068 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
29069 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
29070 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29071 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29072 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29073 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29074 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29075 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29076 gi/demos/gtk-demo/demos/test.py | 14 +
29077 gi/demos/gtk-demo/gtk-demo.py | 266 ++++
29078 gi/examples/Makefile.am | 2 +
29079 gi/examples/cairo-demo.py | 121 ++
29080 gi/tests/Makefile.am | 22 +
29081 gi/tests/runtests.py | 21 +
29082 gi/tests/test_everything.py | 270 ++++
29083 gi/tests/test_gi.py | 1624
29084 ++++++++++++++++++++
29085 gi/tests/test_overrides.py | 132 ++
29086 pygi-Makefile.am | 28 +
29087 pygi-configure.ac | 60 +
29088 tests/Makefile.am | 22 -
29089 tests/runtests.py | 21 -
29090 tests/test_everything.py | 270 ----
29091 tests/test_gi.py | 1624
29092 --------------------
29093 tests/test_overrides.py | 132 --
29094 73 files changed, 4248 insertions(+), 4414 deletions(-)
29096 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
29097 Author: Johan Dahlin <johan@gnome.org>
29098 Date: Sun Jun 20 10:49:55 2010 -0300
29100 [giounix] Make it possible to compile on glib 2.20
29102 gio/unix.override | 2 ++
29103 1 file changed, 2 insertions(+)
29105 commit 606018a2c551d890fc2bb987d99683f777598bda
29106 Author: John (J5) Palmieri <johnp@redhat.com>
29107 Date: Mon Jun 7 16:32:29 2010 -0400
29109 Don't free transfer full struct pointers because we can't do it safely
29111 * Most libraries which are sending back structs as transfer-full
29112 are either annotated incorrectly or should be sending boxed types
29113 * It is much better to throw a warning and leak memory than it is to
29114 call free on an unknown struct pointer. Doing so may cause
29116 * Specific case is gdk_atom_intern where a GdkAtom is not actually
29118 but an integer stuffed into a pointer type
29120 https://bugzilla.gnome.org/show_bug.cgi?id=620898
29122 gi/pygi-argument.c | 9 ++++++++-
29123 gi/pygi-invoke.c | 11 +++++++++--
29124 2 files changed, 17 insertions(+), 3 deletions(-)
29126 commit 433ee2aa029a1482961f478252a06492bd3498e6
29127 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
29128 Date: Tue Jun 15 11:42:28 2010 +0200
29130 Release the lock when potentially invoking Python code.
29132 * gobject/pygobject.c: Release GIL lock when retrieving properties
29133 and when clearing a PyGObject.
29135 https://bugzilla.gnome.org/show_bug.cgi?id=530935
29137 gobject/pygobject.c | 11 ++++++++++-
29138 1 file changed, 10 insertions(+), 1 deletion(-)
29140 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
29141 Author: John (J5) Palmieri <johnp@redhat.com>
29142 Date: Mon Jun 14 18:36:57 2010 -0400
29144 add combobox example
29146 demos/gtk-demo/demos/combobox.py | 282
29147 +++++++++++++++++++++++++++++++++++++++
29148 1 file changed, 282 insertions(+)
29150 commit a8668694da59c2dd959c875f13337e64ca22f7e9
29151 Author: John (J5) Palmieri <johnp@redhat.com>
29152 Date: Mon Jun 14 13:43:53 2010 -0400
29154 fix leak in the allow None callbacks patch
29156 gi/pygi-callbacks.c | 4 ++--
29157 1 file changed, 2 insertions(+), 2 deletions(-)
29159 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
29160 Author: John (J5) Palmieri <johnp@redhat.com>
29161 Date: Mon Jun 7 17:12:09 2010 -0400
29163 Allow passing None for callbacks which are annotated allow-none
29165 * Many callbacks are optional parameters yet we were asserting on
29167 * We now check to see if allow_none is set when setting up callbacks,
29168 if it is set and py_function == Py_None, we set the closure to NULL
29170 * pygi-invoke.c now checks to see if the closure == NULL when setting
29172 * if it is NULL there is no reason to set the the destroy notify
29174 so we skip that too
29176 https://bugzilla.gnome.org/show_bug.cgi?id=620906
29178 gi/pygi-callbacks.c | 7 +++++++
29179 gi/pygi-invoke.c | 14 +++++++++++---
29180 tests/test_everything.py | 4 ++++
29181 3 files changed, 22 insertions(+), 3 deletions(-)
29183 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
29184 Author: Paolo Borelli <pborelli@gnome.org>
29185 Date: Mon Jun 14 19:06:45 2010 +0200
29187 Fix to match latest gtk annotations
29189 demos/gtk-demo/demos/appwindow.py | 3 +--
29190 1 file changed, 1 insertion(+), 2 deletions(-)
29192 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
29193 Author: John (J5) Palmieri <johnp@redhat.com>
29194 Date: Tue Jun 8 15:03:49 2010 -0400
29196 fix variable member names in Gdk.Color override
29198 * override was using r, g, and b for the red, green, blue components
29200 the struct specifies red, green, blue so we need to use those names
29202 https://bugzilla.gnome.org/show_bug.cgi?id=621007
29204 gi/overrides/Gdk.py | 10 +++++-----
29205 tests/test_overrides.py | 6 +++---
29206 2 files changed, 8 insertions(+), 8 deletions(-)
29208 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
29209 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29210 Date: Thu Jun 10 20:23:13 2010 +0200
29212 Post release version bump to 2.21.3
29214 configure.ac | 2 +-
29215 1 file changed, 1 insertion(+), 1 deletion(-)
29217 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
29218 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29219 Date: Thu Jun 10 20:21:13 2010 +0200
29221 Update NEWS and release PyGObject-2.21.2
29223 NEWS | 26 ++++++++++++++++++++++++++
29224 1 file changed, 26 insertions(+)
29226 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
29227 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29228 Date: Thu Jun 10 20:09:07 2010 +0200
29230 Remove deleted files from the Makefile.
29237 tests/Makefile.am | 4 ----
29238 1 file changed, 4 deletions(-)
29240 commit 495a301cb81c5e914bcef905999265604faa27fc
29241 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29242 Date: Thu Jun 10 19:39:09 2010 +0200
29244 Add myself to the maintainers list in the README
29247 1 file changed, 1 insertion(+)
29249 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
29250 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29251 Date: Thu Jun 10 19:24:31 2010 +0200
29255 * use g_object methods to sink floating refs instead of allowing
29256 custom sink functions to be registered
29257 * we now sink inside of pygobject_new_full to handle cases where
29258 a library creates its own gobject via g_object_new and just
29259 needs a python wrapper
29260 - a previous patch had done the sink when creating the gobject,
29261 since it needs to call pygobject_new_full to wrap the object,
29262 this patch handles both cases (e.g. pygobject created object
29263 and externally created gobject)
29265 https://bugzilla.gnome.org/show_bug.cgi?id=583909
29267 gobject/gobjectmodule.c | 3 +--
29268 gobject/pygobject.c | 42 ++++++++----------------------------------
29269 gobject/pygobject.h | 1 +
29270 3 files changed, 10 insertions(+), 36 deletions(-)
29272 commit 07df124dc06cf506634e95d08397f50a2d07fce2
29273 Author: Steve Frécinaux <code@istique.net>
29274 Date: Mon Jun 7 09:47:23 2010 +0200
29276 Make the "wrong argument count" exception more explicit.
29278 Previously we had messages like this one:
29279 TypeError: takes exactly 2 argument(s) (1 given)
29281 With this patch, they become like this:
29282 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
29284 It makes things much easier to debug when there are several pygi calls
29287 https://bugzilla.gnome.org/show_bug.cgi?id=620804
29289 gi/pygi-invoke.c | 3 ++-
29290 tests/test_everything.py | 6 ++++++
29291 2 files changed, 8 insertions(+), 1 deletion(-)
29293 commit b435319fe830a909cc4d414533b3b66574931e24
29294 Author: Steve Frécinaux <code@istique.net>
29295 Date: Mon Jun 7 09:54:06 2010 +0200
29297 Use bash explicitely in the pre-commit hook.
29299 The "builtin" command is not available in all sh flavours, so the
29300 pre-commit hook is going to fail if you use dash or others instead of
29301 bash as your default 'sh' alias.
29303 https://bugzilla.gnome.org/show_bug.cgi?id=620805
29305 pre-commit.hook | 2 +-
29306 1 file changed, 1 insertion(+), 1 deletion(-)
29308 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
29309 Author: John (J5) Palmieri <johnp@redhat.com>
29310 Date: Tue Jun 8 16:55:26 2010 -0400
29314 demos/gtk-demo/demos/colorselector.py | 121
29315 ++++++++++++++++++++++++++++++++++
29316 1 file changed, 121 insertions(+)
29318 commit ec598128de9e90dccab662ed2f5511c8d659e156
29319 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29320 Date: Tue Jun 8 15:48:33 2010 +0200
29322 Update PyGObject dependency to 2.21.1
29324 configure.ac | 2 +-
29325 1 file changed, 1 insertion(+), 1 deletion(-)
29327 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
29328 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29329 Date: Tue Jun 8 10:40:39 2010 +0200
29331 Add myself to maintainers
29333 MAINTAINERS | 4 ++++
29334 pygobject.doap | 7 +++++++
29335 2 files changed, 11 insertions(+)
29337 commit 46c91a11d448e5e11d142d3362aff1483226bca4
29338 Author: Colin Walters <walters@verbum.org>
29339 Date: Wed May 5 13:54:27 2010 -0400
29341 Clear error if we failed the import
29343 Otherwise we leave the exception set which causes bizarre problems
29344 later in unrelated code.
29346 https://bugzilla.redhat.com/show_bug.cgi?id=569885
29348 https://bugzilla.gnome.org/show_bug.cgi?id=617796
29350 gobject/pygi-external.h | 2 ++
29351 1 file changed, 2 insertions(+)
29353 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
29354 Author: John (J5) Palmieri <johnp@redhat.com>
29355 Date: Mon Jun 7 17:19:30 2010 -0400
29357 fix some typos and add a link to a patch which fixes a FIXME
29359 demos/gtk-demo/demos/clipboard.py | 7 +++++--
29360 1 file changed, 5 insertions(+), 2 deletions(-)
29362 commit e7fabb5024d94a3166766e5fca740741bc50380a
29363 Author: John (J5) Palmieri <johnp@redhat.com>
29364 Date: Mon Jun 7 16:21:42 2010 -0400
29368 demos/gtk-demo/demos/clipboard.py | 235
29369 ++++++++++++++++++++++++++++++++++++++
29370 1 file changed, 235 insertions(+)
29372 commit e0f1dce5ec58d071759f886697501da6eeea549d
29373 Author: John (J5) Palmieri <johnp@redhat.com>
29374 Date: Sun Jun 6 13:27:46 2010 -0400
29376 set is_fully_bound to false
29378 demos/gtk-demo/demos/button_box.py | 2 +-
29379 1 file changed, 1 insertion(+), 1 deletion(-)
29381 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
29382 Author: John (J5) Palmieri <johnp@redhat.com>
29383 Date: Sat Jun 5 23:53:36 2010 -0400
29385 new button box demo
29387 demos/gtk-demo/demos/button_box.py | 121
29388 +++++++++++++++++++++++++++++++++++++
29389 1 file changed, 121 insertions(+)
29391 commit e9f5f8a829121e59367bae690442150f144946ad
29392 Author: John (J5) Palmieri <johnp@redhat.com>
29393 Date: Sat Jun 5 23:26:03 2010 -0400
29395 set is_fully_bound to True fro builder example
29397 demos/gtk-demo/demos/builder.py | 2 +-
29398 1 file changed, 1 insertion(+), 1 deletion(-)
29400 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
29401 Author: John (J5) Palmieri <johnp@redhat.com>
29402 Date: Sat Jun 5 23:24:36 2010 -0400
29404 fix up formatting in demos
29406 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
29407 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
29408 demos/gtk-demo/demos/builder.py | 2 +-
29409 3 files changed, 21 insertions(+), 21 deletions(-)
29411 commit ffca02536bafb55e8c3bce31cd992365207429f6
29412 Author: John (J5) Palmieri <johnp@redhat.com>
29413 Date: Sat Jun 5 14:54:47 2010 -0400
29415 add the builder demo
29417 demos/gtk-demo/demos/builder.py | 57
29418 +++++++++++++++++++++++++++++++++++++++++
29419 1 file changed, 57 insertions(+)
29421 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
29422 Author: John (J5) Palmieri <johnp@redhat.com>
29423 Date: Fri Jun 4 17:48:24 2010 -0400
29427 demos/gtk-demo/demos/assistant.py | 134
29428 ++++++++++++++++++++++++++++++++++++++
29429 1 file changed, 134 insertions(+)
29431 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
29432 Author: John (J5) Palmieri <johnp@redhat.com>
29433 Date: Fri Jun 4 16:56:46 2010 -0400
29435 add formatting rules and copyright notice
29437 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
29438 1 file changed, 19 insertions(+)
29440 commit 03b99692b81631d397ab62dcd263341465bcee88
29441 Author: John (J5) Palmieri <johnp@redhat.com>
29442 Date: Fri Jun 4 16:26:54 2010 -0400
29444 add the gtk-demo app along with a couple of demos
29446 * note there are still a couple of patches in bugzilla that are
29449 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
29450 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
29452 demos/gtk-demo/demos/__init__.py | 0
29453 demos/gtk-demo/demos/appwindow.py | 393
29454 +++++++++++++++++++++++
29455 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
29456 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
29457 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
29458 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
29459 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
29460 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
29461 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
29462 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
29463 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
29464 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29465 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29466 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29467 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29468 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29469 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29470 demos/gtk-demo/demos/test.py | 14 +
29471 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
29472 19 files changed, 931 insertions(+)
29474 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
29475 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29476 Date: Fri Jun 4 11:25:08 2010 +0200
29478 Update gobject-introspection dependency to 0.6.14
29480 configure.ac | 2 +-
29481 1 file changed, 1 insertion(+), 1 deletion(-)
29483 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
29484 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29485 Date: Fri Jun 4 11:23:41 2010 +0200
29487 Post-release version bump to 0.6.1
29489 configure.ac | 2 +-
29490 1 file changed, 1 insertion(+), 1 deletion(-)
29492 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
29493 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29494 Date: Fri Jun 4 08:29:42 2010 +0200
29496 Pre-release version bump 0.6.0
29498 configure.ac | 2 +-
29499 1 file changed, 1 insertion(+), 1 deletion(-)
29501 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
29502 Author: John (J5) Palmieri <johnp@redhat.com>
29503 Date: Fri May 28 10:03:11 2010 -0400
29505 support for caller-allocates annotations for structs
29507 * out caller-allocates parameters expect an already constructed
29509 to be passed in by reference. It is then modified and the caller
29511 modified value. We support this by using only one level of pointer
29513 * Only structs are considered to be caller-allocates parameters
29515 they are marked as such by GI. This is because the GI scanner
29517 enough to correctly guess 100% of the time
29518 * GValues are a special case of a caller-allocates parameter when
29520 up (e.g. g_value_unset is called). GValues make no sense in
29522 language. Developers should never deal with them.
29524 https://bugzilla.gnome.org/show_bug.cgi?id=620406
29526 gi/pygi-invoke.c | 73
29527 +++++++++++++++++++++++++++++++++++++++++++++---
29528 tests/test_everything.py | 28 +++++++++++++++++++
29529 2 files changed, 97 insertions(+), 4 deletions(-)
29531 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
29532 Author: John (J5) Palmieri <johnp@redhat.com>
29533 Date: Wed Jun 2 14:14:16 2010 -0400
29535 don't import gobject directly in the tests
29537 * use from gi.repository import GObject
29539 tests/test_overrides.py | 5 ++---
29540 1 file changed, 2 insertions(+), 3 deletions(-)
29542 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
29543 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29544 Date: Tue Jun 1 14:28:57 2010 +0200
29546 Wrap C arrays in structs as GArrays before converting to Python
29548 https://bugzilla.gnome.org/show_bug.cgi?id=620247
29550 gi/pygi-info.c | 11 +++++++++++
29551 tests/test_gi.py | 17 +++++++++++++++++
29552 2 files changed, 28 insertions(+)
29554 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
29555 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29556 Date: Wed May 26 13:20:27 2010 +0200
29558 Install pre-commit hook that checks the code changes for style
29561 autogen.sh | 7 +++++++
29562 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
29563 2 files changed, 46 insertions(+)
29565 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
29566 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29567 Date: Wed May 26 12:19:17 2010 +0200
29569 Apply consistent whitespace formatting with:
29571 astyle -p -d -c -S -U -M60
29573 This won't affect git blame nor git diff if the switch -w is used.
29575 gi/gimodule.c | 138 +++----
29576 gi/pygi-argument.c | 960
29577 ++++++++++++++++++++++++------------------------
29578 gi/pygi-boxed.c | 108 +++---
29579 gi/pygi-callbacks.c | 154 ++++----
29580 gi/pygi-callbacks.h | 8 +-
29581 gi/pygi-closure.c | 270 +++++++-------
29582 gi/pygi-closure.h | 18 +-
29583 gi/pygi-foreign-cairo.c | 36 +-
29584 gi/pygi-foreign-cairo.h | 36 +-
29585 gi/pygi-foreign.c | 54 +--
29586 gi/pygi-foreign.h | 10 +-
29587 gi/pygi-info.c | 646 ++++++++++++++++----------------
29588 gi/pygi-invoke.c | 380 +++++++++----------
29589 gi/pygi-repository.c | 114 +++---
29590 gi/pygi-struct.c | 88 ++---
29591 gi/pygi-type.c | 32 +-
29593 gi/pygobject-external.h | 14 +-
29594 18 files changed, 1544 insertions(+), 1542 deletions(-)
29596 commit 6156f15cb15b4c20e975527227135d49207c520a
29597 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29598 Date: Tue May 25 14:08:51 2010 +0200
29600 Prepend gi.repository to the __module__ attribute of wrapper classes.
29602 https://bugzilla.gnome.org/show_bug.cgi?id=619597
29604 gi/module.py | 4 ++--
29605 tests/test_gi.py | 4 +++-
29606 2 files changed, 5 insertions(+), 3 deletions(-)
29608 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
29609 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29610 Date: Tue May 25 14:17:13 2010 +0200
29612 Correctly identify at creation time:
29614 * if the class is defined in python -> hook up vfuncs
29615 * if the class wraps a type from a .typelib -> set atributes
29616 * else (GLocalFile) -> do nothing
29618 https://bugzilla.gnome.org/show_bug.cgi?id=619604
29620 gi/types.py | 15 +++++++++++----
29621 1 file changed, 11 insertions(+), 4 deletions(-)
29623 commit 686e10fcdb108af9758eb025a3447813c3513a93
29624 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29625 Date: Thu Apr 29 10:55:13 2010 +0200
29627 Dont complain if another base has implemented the method
29629 https://bugzilla.gnome.org/show_bug.cgi?id=617153
29631 gi/types.py | 3 ++-
29632 1 file changed, 2 insertions(+), 1 deletion(-)
29634 commit 9f34d120845d936b04546a5cea599ec67e9181a7
29635 Author: John (J5) Palmieri <johnp@redhat.com>
29636 Date: Mon May 24 16:16:50 2010 -0400
29638 fix up Builder override, add new override methods, and add unit tests
29640 * check for flags when connecting signals now that we get gi
29642 * override the add_from_string and add_objects_from string overrides
29644 that you don't have to pass in the length of the buffer
29645 * add test that loads objects from strings and connects them to
29648 gi/overrides/Gtk.py | 19 +++++++++++--
29649 tests/test_overrides.py | 72
29650 ++++++++++++++++++++++++++++++++++++++++++++++---
29651 2 files changed, 86 insertions(+), 5 deletions(-)
29653 commit 1561d2977691f1cb8684f183a2e274c47960d931
29654 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29655 Date: Mon May 24 18:48:10 2010 +0200
29657 Improve handling of subclasses without __gtype_name__
29659 Gives a better message at type registration.
29661 https://bugzilla.gnome.org/show_bug.cgi?id=616849
29663 gi/gimodule.c | 9 +++++++++
29664 tests/test_gi.py | 13 ++++++++++++-
29665 2 files changed, 21 insertions(+), 1 deletion(-)
29667 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
29668 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29669 Date: Fri Apr 30 18:17:50 2010 +0200
29671 Add support for GArray args
29673 https://bugzilla.gnome.org/show_bug.cgi?id=617054
29675 gi/pygi-invoke.c | 11 +++++++----
29676 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
29677 2 files changed, 57 insertions(+), 4 deletions(-)
29679 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
29680 Author: John (J5) Palmieri <johnp@redhat.com>
29681 Date: Mon May 24 11:48:16 2010 -0400
29683 check refcounting of callback userdata in unit tests
29685 tests/test_everything.py | 18 ++++++++++++++++++
29686 1 file changed, 18 insertions(+)
29688 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
29689 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29690 Date: Sat May 22 15:12:37 2010 +0200
29692 Add support for out args in callbacks
29694 This patch refactors argument marshalling for closures in
29695 preparation for more complete support.
29697 Also fixes a bug in the memory management of user_data args.
29699 https://bugzilla.gnome.org/show_bug.cgi?id=617780
29701 gi/pygi-closure.c | 335
29702 +++++++++++++++++++++++++++++++++++++++++-------------
29703 tests/test_gi.py | 4 +
29704 2 files changed, 263 insertions(+), 76 deletions(-)
29706 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
29707 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29708 Date: Sun May 23 10:59:27 2010 +0200
29710 If None is passed to an interface which takes an object, convert it to
29713 * without this patch PyGI treats the None object as a PyGObject
29715 extracting garbage data causing a crash
29716 * None's equivalent in C is NULL so we must provide a special case
29718 marshal the None as NULL
29720 https://bugzilla.gnome.org/show_bug.cgi?id=617880
29722 gi/pygi-argument.c | 5 +++++
29723 tests/test_everything.py | 6 ++++++
29724 2 files changed, 11 insertions(+)
29726 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
29727 Author: John (J5) Palmieri <johnp@redhat.com>
29728 Date: Sat May 22 14:06:37 2010 +0200
29730 correctly handle floating objects in gtk
29732 * this is a stopgap so we work with older pygobject libraries
29733 * there is a patch at
29734 https://bugzilla.gnome.org/show_bug.cgi?id=583909
29735 which adds the correct fix to pygobject
29736 * once pygobject accepts the above patch this patch does not need to
29737 be reverted because pygobject_register_sinkfunc becomes a noop
29738 * add tests (Tomeu)
29740 https://bugzilla.gnome.org/show_bug.cgi?id=619007
29742 gi/gimodule.c | 12 ++++++++++++
29743 tests/test_everything.py | 3 +++
29744 2 files changed, 15 insertions(+)
29746 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
29747 Author: John (J5) Palmieri <johnp@redhat.com>
29748 Date: Sat May 22 13:21:30 2010 +0200
29750 Return an empty list when a NULL GList and GSList is returned
29752 * In GTK a GList * and GSList set to NULL is equivilant to empty
29754 GTK list methods can take a NULL and treat it as an empty list. e.g.
29755 g_list_length(NULL) returns 0
29756 * PyGtk consitently returns empty list when a NULL is returned for
29759 * Many PyGtk apps do this:
29760 for i in range(len(obj.get_list())):
29762 * If we were to continue to return None, they would have to add
29764 which is needlessly verbose and isn't very "pythonic"
29766 https://bugzilla.gnome.org/show_bug.cgi?id=619232
29768 gi/pygi-argument.c | 6 ------
29769 tests/test_everything.py | 4 ++--
29770 2 files changed, 2 insertions(+), 8 deletions(-)
29772 commit 71a2148b00dfdda99e0d961ae39b901608724e59
29773 Author: Steve Frécinaux <code@istique.net>
29774 Date: Fri May 21 19:05:03 2010 +0200
29776 Fix warning in configure.
29778 The warning is caused by the use of the construction 'CFLAGS+=' in a
29779 sh version that doesn't understand it (in this case, 'dash').
29781 https://bugzilla.gnome.org/show_bug.cgi?id=619311
29783 configure.ac | 2 +-
29784 1 file changed, 1 insertion(+), 1 deletion(-)
29786 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
29787 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29788 Date: Thu Apr 29 13:06:15 2010 +0200
29790 GTypeInterface cannot be unrefed
29792 https://bugzilla.gnome.org/show_bug.cgi?id=617159
29794 gi/gimodule.c | 4 +++-
29795 1 file changed, 3 insertions(+), 1 deletion(-)
29797 commit ab1aaff108d23aabd28c3634edfb67236eb55460
29798 Author: John (J5) Palmieri <johnp@redhat.com>
29799 Date: Sat May 22 13:09:48 2010 +0200
29801 fix NULL array unit tests and fix crasher when sending None as
29804 * Unit tests were wrong given the annotation for
29805 test_array_int_null_in and
29806 test_array_int_null_out:
29809 * test_array_int_null_in:
29810 * @arr: (array length=len) (allow-none):
29817 * test_array_int_null_out:
29818 * @arr: (out) (array length=len) (allow-none):
29819 * @len: (out) : length
29822 The (array length=len) annotation meant we don't pass in or
29823 receive the len argument as this is handled under the hood
29824 (Python's representation of an array, the list type, encapsulates
29825 the length inside the type)
29827 * Fixing up the tests revealed a latent crasher bug when passing
29829 interface that accepts an array. The fix was to check for NULL
29831 the length argument to 0 when invoking the bound method.
29833 https://bugzilla.gnome.org/show_bug.cgi?id=619235
29835 gi/pygi-invoke.c | 6 +++++-
29836 tests/test_everything.py | 4 ++--
29837 2 files changed, 7 insertions(+), 3 deletions(-)
29839 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
29840 Author: John (J5) Palmieri <johnp@redhat.com>
29841 Date: Fri May 14 14:57:27 2010 -0400
29843 don't error out on methods with callbacks as return type
29845 * Right now we just throw an error which means API's like
29846 gtk_about_dialog_set_url_hook aren't able to be called,
29847 * this allows us to call such APIs while printing a warning, in
29849 API such as this doesn't need to be used anymore and is a result of
29850 early GTK development
29852 gi/pygi-argument.c | 14 +++++++++++---
29853 1 file changed, 11 insertions(+), 3 deletions(-)
29855 commit d963007aab123f4e53a944a66a935db2d22907c2
29856 Author: John (J5) Palmieri <johnp@redhat.com>
29857 Date: Mon May 17 11:54:34 2010 -0400
29859 reset sys.argv to the return value of Gtk.init_check
29861 * applications which check command line arguments will error out if it
29862 encounters a GTK command line switch such as --g-fatal-warnings.
29863 * The Gtk.init* API reads these switches and returns a new argv with
29865 switches stripped out
29866 * In C argv is modified in place but in Python we must set sys.argv
29868 new modified argument list
29869 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
29871 gi/overrides/Gtk.py | 1 +
29872 1 file changed, 1 insertion(+)
29874 commit 897420ed97cc4a7b8a806894df5e76ed72617614
29875 Author: John (J5) Palmieri <johnp@redhat.com>
29876 Date: Wed May 12 14:25:32 2010 -0400
29878 add GtkUIManager and GtkActionGroup overrides
29880 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
29882 gi/overrides/Gtk.py | 167
29883 +++++++++++++++++++++++++++++++++++++++++++++++-
29884 tests/test_overrides.py | 45 +++++++++++++
29885 2 files changed, 211 insertions(+), 1 deletion(-)
29887 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
29888 Author: Zach Goldberg <zach@zachgoldberg.com>
29889 Date: Thu May 13 01:02:24 2010 -0400
29891 Bump version for development to 0.5.2 (hopefully 0.6)
29893 configure.ac | 2 +-
29894 1 file changed, 1 insertion(+), 1 deletion(-)
29896 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
29897 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29898 Date: Wed May 5 15:54:39 2010 +0200
29900 Fix overrides.Gdk.Color.__new__ args
29902 https://bugzilla.gnome.org/show_bug.cgi?id=617757
29904 gi/overrides/Gdk.py | 2 +-
29905 tests/Makefile.am | 3 ++-
29906 tests/test_overrides.py | 22 ++++++++++++++++++++++
29907 3 files changed, 25 insertions(+), 2 deletions(-)
29909 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
29910 Author: John (J5) Palmieri <johnp@redhat.com>
29911 Date: Thu Apr 29 14:55:33 2010 -0400
29913 wrap GObject module so we can go through GI when requesting attrs
29915 * This gives us the best of both worlds.
29916 - We remain backwards compatable with pygobject by checking for
29918 attrs in the gobject module
29919 - If an attr does not exist we use the GI mechanism to look it up
29921 things like flags look the same whether exported from GObject, Gtk
29922 or any GI managed library
29924 * add DynamicGObjectModule tests and make tests use the new module
29925 - change import gobject to from gi.repository import GObject
29927 gi/importer.py | 6 ++--
29928 gi/module.py | 30 ++++++++++++++++
29929 tests/test_everything.py | 6 ++--
29930 tests/test_gi.py | 93
29931 ++++++++++++++++++++++++++----------------------
29932 4 files changed, 87 insertions(+), 48 deletions(-)
29934 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
29935 Author: John (J5) Palmieri <johnp@redhat.com>
29936 Date: Fri Apr 30 14:11:55 2010 -0400
29938 override Gdk.Drawable to add cairo_create convinience method
29940 gi/overrides/Gdk.py | 7 ++++++-
29941 1 file changed, 6 insertions(+), 1 deletion(-)
29943 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
29944 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29945 Date: Mon May 3 19:13:46 2010 +0200
29947 Fix passing callbacks as constructor args
29949 https://bugzilla.gnome.org/show_bug.cgi?id=617551
29951 gi/pygi-callbacks.c | 3 ++-
29952 gi/pygi-callbacks.h | 1 +
29953 gi/pygi-invoke.c | 7 +++++--
29954 tests/test_everything.py | 21 +++++++++++++++++++++
29955 4 files changed, 29 insertions(+), 3 deletions(-)
29957 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
29958 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29959 Date: Wed May 5 08:06:03 2010 +0200
29961 Avoid freeing garbage
29963 gi/pygi-invoke.c | 6 ++++--
29964 1 file changed, 4 insertions(+), 2 deletions(-)
29966 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
29967 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29968 Date: Thu Apr 29 13:09:03 2010 +0200
29970 Only hookup vfunc implementations for locally-defined methods
29972 https://bugzilla.gnome.org/show_bug.cgi?id=617160
29974 gi/types.py | 10 +++++++++-
29975 tests/test_gi.py | 10 ++++++++++
29976 2 files changed, 19 insertions(+), 1 deletion(-)
29978 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
29979 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29980 Date: Mon May 3 18:35:13 2010 +0200
29982 Fix passing GDestroyNotify
29984 https://bugzilla.gnome.org/show_bug.cgi?id=617542
29986 gi/pygi-invoke.c | 3 ++-
29987 tests/test_everything.py | 10 ++++++++++
29988 2 files changed, 12 insertions(+), 1 deletion(-)
29990 commit 9669acd0fad193013ef3505ae231588307f9834c
29991 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29992 Date: Mon May 3 12:23:58 2010 +0200
29994 Move invocation code to its own file
29996 https://bugzilla.gnome.org/show_bug.cgi?id=617107
29998 gi/Makefile.am | 2 +
29999 gi/pygi-info.c | 884
30000 ----------------------------------------------------
30001 gi/pygi-invoke.c | 909
30002 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
30003 gi/pygi-invoke.h | 37 +++
30004 gi/pygi-private.h | 1 +
30005 5 files changed, 949 insertions(+), 884 deletions(-)
30007 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
30008 Author: John (J5) Palmieri <johnp@redhat.com>
30009 Date: Tue Apr 27 19:13:08 2010 -0400
30011 Add the Gtk.Builder override
30013 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
30014 1 file changed, 36 insertions(+), 1 deletion(-)
30016 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
30017 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30018 Date: Fri Apr 30 15:00:52 2010 +0200
30020 Fix GAsyncReadyCallback
30022 https://bugzilla.gnome.org/show_bug.cgi?id=616236
30024 gi/pygi-closure.c | 8 +++++++-
30025 tests/test_everything.py | 16 ++++++++++++++++
30026 2 files changed, 23 insertions(+), 1 deletion(-)
30028 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
30029 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30030 Date: Thu Apr 29 18:32:50 2010 +0200
30032 Add override for Gdk.Color
30034 https://bugzilla.gnome.org/show_bug.cgi?id=617162
30036 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
30037 1 file changed, 19 insertions(+), 1 deletion(-)
30039 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
30040 Author: John (J5) Palmieri <johnp@redhat.com>
30041 Date: Wed Apr 28 13:19:48 2010 -0400
30043 make __all__ be a list of strings, fix override mechanism to use
30046 * before we were adding classes to the __all__ module property but
30047 the convention is to use the name of the class
30048 * simplified the check to just check the name against __all__
30049 instead of trying to get the class and then checking the class
30050 against None as well as in __all__
30051 * went through all the overrides and made __all__ be a list of strings
30053 gi/module.py | 9 ++++-----
30054 gi/overrides/GIMarshallingTests.py | 2 +-
30055 gi/overrides/Gdk.py | 2 +-
30056 3 files changed, 6 insertions(+), 7 deletions(-)
30058 commit 64fa8f936bad9a90628df446e690d67d947a0a22
30059 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30060 Date: Mon Apr 26 11:41:06 2010 +0200
30062 One more step at refactoring _wrap_g_function_info_invoke
30064 https://bugzilla.gnome.org/show_bug.cgi?id=616357
30066 gi/pygi-callbacks.c | 22 +-
30067 gi/pygi-callbacks.h | 4 +-
30068 gi/pygi-info.c | 582
30069 ++++++++++++++++++++++++++++++----------------------
30070 3 files changed, 346 insertions(+), 262 deletions(-)
30072 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
30073 Author: Zach Goldberg <zach@zachgoldberg.com>
30074 Date: Tue Apr 20 23:23:38 2010 -0400
30076 Step 1 of refactoring _wrap_g_function_info_invoke
30078 Original patch by David Malcom <dmalcolm@redhat.com>
30080 This patch bitrots *REALLY* fast.
30082 https://bugzilla.gnome.org/show_bug.cgi?id=616357
30084 gi/pygi-info.c | 417
30085 +++++++++++++++++++++++++++++----------------------------
30086 1 file changed, 214 insertions(+), 203 deletions(-)
30088 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
30089 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30090 Date: Tue Apr 27 10:24:35 2010 +0200
30092 Dont force subclasses to implement all virtual methods of their bases
30094 https://bugzilla.gnome.org/show_bug.cgi?id=616674
30096 gi/types.py | 4 ++--
30097 tests/test_gi.py | 15 +++++++++++++++
30098 2 files changed, 17 insertions(+), 2 deletions(-)
30100 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
30101 Author: Zach Goldberg <zach@zachgoldberg.com>
30102 Date: Sun Apr 25 15:09:08 2010 -0400
30104 Correct the reference counting of userdata in closure handling
30106 Without this we lose references on every call and eventually end up
30108 while they are still in use.
30110 https://bugzilla.gnome.org/show_bug.cgi?id=616786
30112 gi/pygi-closure.c | 3 +++
30113 tests/test_everything.py | 13 +++++++++++++
30114 2 files changed, 16 insertions(+)
30116 commit 2b12049306bf57513c43d08017185468bf897a4a
30117 Author: Zach Goldberg <zach@zachgoldberg.com>
30118 Date: Tue Apr 20 22:57:14 2010 -0400
30120 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
30122 (Previous commit did not include the proper error message. I blame
30125 https://bugzilla.gnome.org/show_bug.cgi?id=616356
30127 gi/pygi-closure.c | 4 ++--
30128 1 file changed, 2 insertions(+), 2 deletions(-)
30130 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
30131 Author: Zach Goldberg <zach@zachgoldberg.com>
30132 Date: Tue Apr 20 23:53:57 2010 -0400
30134 Force out arguments to be initialized as NULL. Comes with a test.
30136 This fix was motivated by a real world library which had a transfer
30138 utf8 out argument which sometimes was not set. We would leave
30140 dangling and try and free it at the end of invoke() and crash.
30142 to change their behavior so we're forced to take care of it on
30145 https://bugzilla.gnome.org/show_bug.cgi?id=616043
30147 gi/pygi-info.c | 1 +
30148 tests/test_gi.py | 3 +++
30149 2 files changed, 4 insertions(+)
30151 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
30152 Author: Zach Goldberg <zach@zachgoldberg.com>
30153 Date: Tue Apr 20 22:57:14 2010 -0400
30155 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
30157 Be slightly nicer to library maintainers. It really isn't a fatal
30159 if we don't have a proper scope type, better to leave a good code
30161 and a warning than to cause their code to segv.
30163 https://bugzilla.gnome.org/show_bug.cgi?id=616356
30165 gi/pygi-closure.c | 3 ++-
30166 1 file changed, 2 insertions(+), 1 deletion(-)
30168 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
30169 Author: Zach Goldberg <zach@zachgoldberg.com>
30170 Date: Tue Apr 20 22:43:20 2010 -0400
30172 Refactor implementation of scope call to allow for multiple calls
30173 during lifetime of function invocation.
30175 https://bugzilla.gnome.org/show_bug.cgi?id=616343
30177 gi/pygi-closure.c | 10 +++++-----
30178 gi/pygi-info.c | 9 +++++++--
30179 tests/test_everything.py | 9 +++++++++
30180 3 files changed, 21 insertions(+), 7 deletions(-)
30182 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
30183 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30184 Date: Sat Jan 2 16:31:55 2010 +0100
30186 Add basic support for unions
30188 https://bugzilla.gnome.org/show_bug.cgi?id=603598
30190 gi/module.py | 3 +-
30191 gi/pygi-argument.c | 24 +++-----------
30192 gi/pygi-boxed.c | 18 +++++++++--
30193 gi/pygi-info.c | 94
30194 ++++++++++++++++++++++++++++++++++++++++++++++++------
30195 gi/pygi-info.h | 1 +
30196 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
30197 6 files changed, 165 insertions(+), 31 deletions(-)
30199 commit af9e4e086d160fe7fb24758ed81753e784b198a8
30200 Author: Simon van der Linden <svdlinden@src.gnome.org>
30201 Date: Fri Jan 22 22:16:32 2010 +0100
30203 Bump required GLib version to 2.22
30205 Since PyGObject now depends on GLib 2.22.4, there is no need to
30207 backward-compatible.
30209 configure.ac | 2 +-
30210 gi/pygi-private.h | 20 --------------------
30211 2 files changed, 1 insertion(+), 21 deletions(-)
30213 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
30214 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30215 Date: Sun Apr 18 11:50:14 2010 -0400
30217 Refactor get_* methods in the *Info wrappers
30219 https://bugzilla.gnome.org/show_bug.cgi?id=616108
30221 gi/pygi-info.c | 360
30222 +++++++++++++++++++++++++++------------------------------
30223 1 file changed, 168 insertions(+), 192 deletions(-)
30225 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
30226 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30227 Date: Tue Apr 20 15:12:47 2010 +0200
30229 Print any error messages raised inside _pygi_closure_handle
30231 https://bugzilla.gnome.org/show_bug.cgi?id=616279
30233 gi/pygi-closure.c | 9 +++++----
30234 1 file changed, 5 insertions(+), 4 deletions(-)
30236 commit d1ba23cdd05686ea721425f233371d573a2e9cce
30237 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30238 Date: Thu Apr 22 19:57:17 2010 +0200
30240 Rename variable with a very generic name
30242 gi/module.py | 28 ++++++++++++++--------------
30243 1 file changed, 14 insertions(+), 14 deletions(-)
30245 commit 391640b30ede50af3667b1019edb72bd79f2c68c
30246 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30247 Date: Thu Apr 22 19:53:06 2010 +0200
30249 Add support for enums without GType
30251 https://bugzilla.gnome.org/show_bug.cgi?id=616520
30253 gi/module.py | 6 +++++-
30254 gi/pygi-argument.c | 22 +++++++++++++++++++++-
30255 gi/types.py | 14 ++++++++++++++
30256 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
30257 4 files changed, 68 insertions(+), 4 deletions(-)
30259 commit 89704f60ddae0c81f1383d86491ef2785590a353
30260 Author: Zach Goldberg <zach@zachgoldberg.com>
30261 Date: Tue Apr 20 22:20:42 2010 -0400
30263 Bump version during development to 0.5.1
30265 This follows what is, according to Colin Walters,
30266 standard versioning practice. During development the
30267 version in your config is the *next* version you will release,
30268 not the version after. Thus after a release you make a new commit
30269 bumping to the next development version.
30271 configure.ac | 2 +-
30272 1 file changed, 1 insertion(+), 1 deletion(-)
30274 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
30275 Author: John Ehresman <jpe@wingware.com>
30276 Date: Tue Apr 20 20:40:02 2010 -0400
30278 Added missing , to keyword list of gio.GFile.set_attribute
30280 gio/gresolver.override | 2 +-
30281 1 file changed, 1 insertion(+), 1 deletion(-)
30283 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
30284 Author: John Ehresman <jpe@wingware.com>
30285 Date: Tue Apr 20 20:37:12 2010 -0400
30287 Fix arg conversion in gio.GFile.set_attribute
30289 gio/gfile.override | 232
30290 +++++++++++++++++++++++++++++++++++++++++++++++++++--
30291 1 file changed, 227 insertions(+), 5 deletions(-)
30293 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
30294 Author: John Ehresman <jpe@wingware.com>
30295 Date: Tue Apr 20 20:01:53 2010 -0400
30297 Set constants under python 2.5 or before
30299 gobject/gobjectmodule.c | 8 ++++++++
30300 1 file changed, 8 insertions(+)
30302 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
30303 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30304 Date: Sun Apr 18 20:22:21 2010 -0400
30306 Doc Extractor: Use replacements that make sense for &...;
30309 * codegen/docextract_to_xml.py: Use # and   respectively
30311 # (#) and . These are interpreted correctly in XML
30313 not make the parsing crash.
30315 codegen/docextract_to_xml.py | 4 ++--
30316 1 file changed, 2 insertions(+), 2 deletions(-)
30318 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
30319 Author: Zach Goldberg <zach@zachgoldberg.com>
30320 Date: Sun Apr 18 14:32:06 2010 -0400
30322 Bump version for release 0.5.0
30324 HACKING | 7 +++++++
30325 configure.ac | 4 ++--
30326 2 files changed, 9 insertions(+), 2 deletions(-)
30328 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
30329 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30330 Date: Sun Apr 18 14:28:13 2010 -0400
30332 One more missing file...
30334 examples/Makefile.am | 2 ++
30335 1 file changed, 2 insertions(+)
30337 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
30338 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30339 Date: Sun Apr 18 14:18:44 2010 -0400
30341 Add more stuff to the tarballs
30343 Makefile.am | 8 +++++++-
30345 2 files changed, 8 insertions(+), 1 deletion(-)
30347 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
30348 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30349 Date: Sun Apr 18 13:48:45 2010 -0400
30351 Add one more missing file to tarballs
30353 gi/overrides/GIMarshallingTests.py | 0
30354 gi/overrides/Makefile.am | 1 +
30355 2 files changed, 1 insertion(+)
30357 commit 979e01852fc7f830ee91093accdc387fa535075f
30358 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30359 Date: Sun Apr 18 13:45:29 2010 -0400
30361 Add missing file to tarballs
30363 tests/Makefile.am | 1 +
30364 1 file changed, 1 insertion(+)
30366 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
30367 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30368 Date: Sun Apr 18 13:11:11 2010 -0400
30372 https://bugzilla.gnome.org/show_bug.cgi?id=602736
30375 +++++++++++++++++++++++++++++++++++++++++++++++++++++
30376 gi/pygi-argument.c | 1 +
30377 gi/pygi-callbacks.c | 3 +-
30378 gi/pygi-closure.c | 4 +--
30379 gi/pygi-closure.h | 2 +-
30380 gi/pygi-info.c | 86
30381 +++++++++++++++++++++++++++++++++++++++++++++++++--
30382 gi/pygi-info.h | 1 +
30383 gi/types.py | 44 +++++++++++++++++---------
30384 tests/test_gi.py | 18 +++++++++++
30385 9 files changed, 227 insertions(+), 21 deletions(-)
30387 commit e239faacb4798fe2d166233ca1a19a843a6225e3
30388 Author: Zach Goldberg <zach@zachgoldberg.com>
30389 Date: Sun Apr 18 11:59:06 2010 -0400
30391 Fix a typo in pygi-callbacks.c header
30393 gi/pygi-callbacks.c | 2 +-
30394 1 file changed, 1 insertion(+), 1 deletion(-)
30396 commit 79aa416ae8632b123da61d79fb820d9e2704209c
30397 Author: Zach Goldberg <zach@zachgoldberg.com>
30398 Date: Sat Apr 17 12:00:05 2010 -0400
30400 Implement nullable argument support, including tests
30402 https://bugzilla.gnome.org/show_bug.cgi?id=616035
30404 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
30405 gi/pygi-argument.h | 3 ++-
30406 gi/pygi-info.c | 19 +++++++++++++------
30407 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
30408 4 files changed, 80 insertions(+), 13 deletions(-)
30410 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
30411 Author: Zach Goldberg <zach@zachgoldberg.com>
30412 Date: Sat Apr 17 12:56:19 2010 -0400
30414 Move some tests from test_gi to test_everything
30416 tests/test_everything.py | 60
30417 ++++++++++++++++++++++++++++++++++++++++++++++
30418 tests/test_gi.py | 62
30419 +-----------------------------------------------
30420 2 files changed, 61 insertions(+), 61 deletions(-)
30422 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
30423 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30424 Date: Sun Apr 18 10:44:35 2010 -0400
30426 Update to latest version of the pygi-convert.sh script
30428 pygi-convert.sh | 193
30429 ++++++++++++++++++++++++++++++++++++++++----------------
30430 1 file changed, 137 insertions(+), 56 deletions(-)
30432 commit 34a39318c674737c6d64f2430456daef86ba1626
30433 Author: Colin Walters <walters@verbum.org>
30434 Date: Sun Apr 18 10:40:44 2010 -0400
30436 Add Tomeu's prototype script for converting pygtk to pygi
30438 pygi-convert.sh | 71
30439 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
30440 1 file changed, 71 insertions(+)
30442 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
30443 Author: Olav Vitters <olav@vitters.nl>
30444 Date: Sun Apr 18 13:01:58 2010 +0200
30449 1 file changed, 4 insertions(+)
30451 commit 0de73d0bba79f92af22f43693f3575c596712416
30452 Author: Zach Goldberg <zach@zachgoldberg.com>
30453 Date: Sat Apr 17 16:01:31 2010 -0400
30455 Add Zach Goldberg as a pygi maintainer
30457 pygi.doap | 5 +++++
30458 1 file changed, 5 insertions(+)
30460 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
30461 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30462 Date: Sat Apr 17 11:47:54 2010 -0400
30466 configure.ac | 7 +------
30467 1 file changed, 1 insertion(+), 6 deletions(-)
30469 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
30470 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30471 Date: Sat Apr 17 11:40:14 2010 -0400
30473 Add examples/cairo-demo.py
30475 examples/cairo-demo.py | 121
30476 +++++++++++++++++++++++++++++++++++++++++++++++++
30477 1 file changed, 121 insertions(+)
30479 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
30480 Author: Zach Goldberg <zach@zachgoldberg.com>
30481 Date: Sat Apr 17 09:17:14 2010 -0400
30483 Implementation callback support with scoping and basic argument
30486 This patch was originally written by
30487 Zach Goldberg <zach@zachgoldberg.com> with modifications and
30488 review by Simon van der Linden <svdlinden@src.gnome.org> and
30489 Colin Walters <walters@verbum.org>.
30491 This impementation enforces the assumption that any one function
30492 signature can only have one (callback, userdata, destronotify) tuple.
30493 This allows us to move callback creation into the actual function
30494 invoke pipeline and also to keep just one destroy notify callback
30495 around, vastly simplifying the code.
30497 https://bugzilla.gnome.org/show_bug.cgi?id=603095
30500 gi/Makefile.am | 4 +
30501 gi/pygi-argument.c | 12 ++-
30502 gi/pygi-callbacks.c | 216
30503 ++++++++++++++++++++++++++++++++++++++++++++++++++++
30504 gi/pygi-callbacks.h | 47 ++++++++++++
30505 gi/pygi-closure.c | 205
30506 +++++++++++++++++++++++++++++++++++++++++++++++++
30507 gi/pygi-closure.h | 57 ++++++++++++++
30508 gi/pygi-info.c | 49 ++++++++++--
30509 gi/pygi-private.h | 2 +
30510 tests/test_gi.py | 64 +++++++++++++++-
30511 10 files changed, 648 insertions(+), 10 deletions(-)
30513 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
30514 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30515 Date: Sat Apr 17 10:54:45 2010 -0400
30517 Add support for foreign structs
30519 https://bugzilla.gnome.org/show_bug.cgi?id=603712
30521 configure.ac | 6 +++
30522 gi/Makefile.am | 10 +++-
30523 gi/gimodule.c | 7 +++
30524 gi/pygi-argument.c | 27 ++++++++++-
30525 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
30526 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
30527 gi/pygi-foreign.c | 123
30528 +++++++++++++++++++++++++++++++++++++++++++++++
30529 gi/pygi-foreign.h | 52 ++++++++++++++++++++
30530 gi/pygi-private.h | 1 +
30531 tests/test_everything.py | 48 ++++++++++++++++++
30532 10 files changed, 428 insertions(+), 4 deletions(-)
30534 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
30535 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30536 Date: Fri Apr 16 14:35:13 2010 -0400
30538 Allow creating structs with pointers
30540 https://bugzilla.gnome.org/show_bug.cgi?id=603537
30542 gi/pygi-struct.c | 6 ------
30543 tests/test_gi.py | 3 ++-
30544 2 files changed, 2 insertions(+), 7 deletions(-)
30546 commit fc9ff02e53aacf9e77625c70985e99813544912a
30547 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30548 Date: Fri Apr 16 10:40:40 2010 -0400
30550 Add gdb and valgrind variants for the tests
30552 HACKING | 19 +++++++++++++++++++
30553 Makefile.am | 12 ++++++++++++
30554 tests/Makefile.am | 14 +++++++++++++-
30555 3 files changed, 44 insertions(+), 1 deletion(-)
30557 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
30558 Author: John Stowers <john.stowers@gmail.com>
30559 Date: Fri Apr 16 14:36:11 2010 +1200
30561 Add build docs for windows
30564 README.win32 | 24 ++++++++++++++++++++++++
30565 2 files changed, 25 insertions(+)
30567 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
30568 Author: John Stowers <john.stowers@gmail.com>
30569 Date: Thu Apr 15 13:40:39 2010 +1200
30571 Setup.py cosmetic tidy
30573 * Remove local doc install, point to website instead
30574 * link to versioned docs
30576 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
30577 setup.py | 39 ++++++++++++++-------------------------
30578 2 files changed, 40 insertions(+), 42 deletions(-)
30580 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
30581 Author: John Stowers <john.stowers@gmail.com>
30582 Date: Sat Jul 25 14:12:30 2009 +1200
30584 Fix crash when importing gio
30586 Only seems to be necessary on windows, but
30587 no harm on linux as multiple calls to init
30590 gio/giomodule.c | 3 +++
30591 1 file changed, 3 insertions(+)
30593 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
30594 Author: John Stowers <john.stowers@gmail.com>
30595 Date: Thu Apr 15 22:52:48 2010 +1200
30597 Bug 589671 - Dont use generate-constants
30599 This breaks the build using distutils, and it is
30600 largely unneeded. Just add the G_XXX constants
30601 to the module directly
30603 gobject/Makefile.am | 16 +--------
30604 gobject/constants.py | 83
30605 ++++++++++++++++++++++++++++++++++++++++++++
30606 gobject/constants.py.in | 50 --------------------------
30607 gobject/generate-constants.c | 44 -----------------------
30608 gobject/gobjectmodule.c | 35 +++++++++++++++++++
30610 tests/runtests.py | 3 +-
30611 7 files changed, 121 insertions(+), 112 deletions(-)
30613 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
30614 Author: John Stowers <john.stowers@gmail.com>
30615 Date: Thu Apr 15 22:49:17 2010 +1200
30617 Bug 589671 - Fix setup.py for windows build
30619 * Building pyglib as a static private library
30620 * Update to include new defs
30621 * Modernise setup.py and add more util functions
30624 dsextras.py | 32 ++++++++++++++++---
30626 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
30627 2 files changed, 116 insertions(+), 18 deletions(-)
30629 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
30630 Author: John Stowers <john.stowers@gmail.com>
30631 Date: Thu Apr 15 22:48:28 2010 +1200
30633 Include pygsource.h
30635 glib/pygiochannel.c | 1 +
30636 1 file changed, 1 insertion(+)
30638 commit c5f6af4844c74354abc508d17969d9d45153acf2
30639 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30640 Date: Thu Apr 15 14:25:59 2010 -0400
30642 Add metadata to the .doap file
30645 1 file changed, 3 insertions(+)
30647 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
30648 Author: John (J5) Palmieri <johnp@redhat.com>
30649 Date: Wed Apr 14 12:01:43 2010 -0400
30651 override that wasn't checked in - fixes some test cases
30653 gi/overrides/GIMarshallingTests.py | 69
30654 ++++++++++++++++++++++++++++++++++++++
30655 1 file changed, 69 insertions(+)
30657 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
30658 Author: Colin Walters <walters@verbum.org>
30659 Date: Wed Apr 14 10:06:07 2010 -0400
30661 [Makefile.am] Clean up CFLAGS handling, don't override all: target
30663 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
30664 per-target CFLAGS forces Automake to prefix object files, which
30665 is unnecessary since we only have one target.
30667 More importantly, avoid overriding the all: target here; that's
30668 owned by Automake. Use all-local instead to append things to
30669 the end of the normal build.
30671 gi/Makefile.am | 15 +++++++++------
30672 1 file changed, 9 insertions(+), 6 deletions(-)
30674 commit 5a47e96e3f580c973e6880dafa747f54c144c760
30675 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30676 Date: Tue Apr 13 19:15:49 2010 -0400
30678 Use GIMarshallingTests (old TestGI) in gobject-introspection
30680 gi/overrides/TestGI.py | 69 --
30681 tests/Makefile.am | 40 -
30682 tests/libtestgi.c | 2924
30683 ------------------------------------------------
30684 tests/libtestgi.h | 628 -----------
30685 tests/test_gi.py | 832 +++++++-------
30686 5 files changed, 416 insertions(+), 4077 deletions(-)
30688 commit 681832c3cd040433a488a400693b68f213bf7078
30689 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30690 Date: Tue Apr 13 13:33:12 2010 -0400
30692 codegen/docextract_to_xml.py: One more &...; replacement ( ).
30694 * codegen/docextract_to_xml.py: Replace which also causes
30695 errors with a regular space.
30697 codegen/docextract_to_xml.py | 1 +
30698 1 file changed, 1 insertion(+)
30700 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
30701 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30702 Date: Tue Apr 13 12:28:10 2010 -0400
30704 codegen/docextract_to_xml.py: Replace some &..; that cause errors.
30706 * codegen/docextract_to_xml.py (escape_text): Replace some &..;
30707 expressions that cause errors with more appropriate output.
30709 codegen/docextract_to_xml.py | 4 ++++
30710 1 file changed, 4 insertions(+)
30712 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
30713 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30714 Date: Sun Apr 11 17:46:40 2010 -0400
30716 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
30718 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
30720 in text to '/ *' and '* /' respectively so that comment errors
30722 show up when the descriptions that include C++ code with C++
30723 multi-line comments are used in Doxygen blocks.
30725 codegen/docextract_to_xml.py | 9 +++++++++
30726 1 file changed, 9 insertions(+)
30728 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
30729 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30730 Date: Sun Apr 11 16:15:01 2010 -0400
30732 codegen/docextract.py: Stop final section processing on first
30735 * codegen/docextract.py (process_final_sections): Modify the final
30736 section pattern matching for loop to stop on first match so
30738 doesn't match both a colon return ('Returns: ...') and a no colon
30739 return ('Returns ...') which leads to annotation extraction
30742 codegen/docextract.py | 4 ++++
30743 1 file changed, 4 insertions(+)
30745 commit 825fd305f03b726665edca34963978ce27448182
30746 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30747 Date: Sun Apr 11 15:45:09 2010 -0400
30749 Update doc extraction tool to handle GObjectIntrospection
30752 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
30753 (GtkDoc::annotations): Added a list field to store annotations
30755 are 2-tuples of (name, value).
30756 (GtkDoc::ret): Modified field to store the return description
30758 with a list of annotations as described above.
30759 (GtkDoc::params): Now holds a list of 3-tupples: name,
30761 annotations (as described above).
30762 (GtkDoc::block_type): Add a field to tell if the comment block
30764 function block, signal block or property block.
30765 (GtkDoc::set_type):
30766 (GtkDoc::get_type): Add methods for setting/getting the block
30768 (GtkDoc::add_param): Modified to also accept a list of
30770 be added with the parameter.
30771 (GtkDoc::add_annotation):
30772 (GtkDoc::get_annotations): Added methods to add/get annotations
30775 (GtkDoc::append_description): Renamed to append_to_description().
30776 (GtkDoc::get_param_description): Removed unused method.
30777 (GtkDoc::get_description): Added method to get block description.
30778 (GtkDoc::add_return): Added method to add a return accepting
30780 line of the description and its annotations.
30781 (GtkDoc::append_return): Renamed to append_to_return().
30782 (Regular expressions):
30783 - Made the names of the variables un-abbreviated.
30785 - Added 'since', 'deprecated' and 'rename to' regular
30788 - Modified the return matching regular expression so that
30790 match descriptions that begin with 'Returns ...'.
30792 the docs of many function.
30794 - Added signal and property comment block identifier matching
30796 expressions in case those are useful.
30798 - Modified existing identifier matching regular expressions
30800 signal, and property regular expressions) to properly parse
30801 annotations. Also added a regular expression for extracting
30802 annotations from the parameter and return descriptions.
30804 - Refined the function name matching regular expression to
30806 identifiers that begin with a lowercase letter. This eliminates
30807 'SECTION:' matches.
30809 - Finally, grouped commonly related expressions like
30811 since_pattern, etc. into groups (in lists) so that matching
30813 sections can be done using loops.
30815 (Parsing algorithm): Modified the algorithm to use a functional
30816 approach to parsing. Extra methods like skip_to_comment() and
30817 processs_params() have been added and used in the parse_file()
30818 function to now process the comment blocks.
30819 (parse_dir): Added file processing output to stderr.
30820 * codegen/docextract_to_xml.py (usage): Added function to
30823 (print_annotations): Added function to print the given list of
30825 (options): Added --with-signals (-i), with-properties (-p) and
30826 --with-annotation (-a) to the existing --source-dir (-s) option.
30828 (algorithm): Now prints annotations, if specified. Also, prints
30829 signals and properties correctly (using names like
30831 for signals and Classs:property) with xml such as <signal
30832 name="...">...</signal>. The return xml is slightly modified with
30833 annotations but this would only be exhibited if annotation xml is
30836 codegen/docextract.py | 439
30837 ++++++++++++++++++++++++++++++++++---------
30838 codegen/docextract_to_xml.py | 87 ++++++---
30839 2 files changed, 414 insertions(+), 112 deletions(-)
30841 commit 9fef1acb42cd900d4a814a7378f60bc189121785
30842 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30843 Date: Fri Apr 9 13:47:03 2010 +0200
30845 Always create the .so link
30847 gi/Makefile.am | 2 +-
30848 1 file changed, 1 insertion(+), 1 deletion(-)
30850 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
30851 Author: Paul Bolle <pebolle@tiscali.nl>
30852 Date: Thu Apr 8 11:52:25 2010 +0200
30854 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
30856 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
30858 docs/reference/pygio-file.xml | 58
30859 ++++++++++++++++++------------------
30860 docs/reference/pygio-inputstream.xml | 22 +++++++-------
30861 docs/reference/pygio-mount.xml | 10 +++----
30862 3 files changed, 45 insertions(+), 45 deletions(-)
30864 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
30865 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30866 Date: Mon Apr 5 18:10:42 2010 +0200
30868 Bug 613341 - pygobject tests seem to require pygtk causing a circular
30869 dependencies problem
30871 move tests that require pygtk to pygtk itself
30873 tests/test_conversion.py | 83 --------------
30874 tests/test_enum.py | 234 --------------------------------------
30875 tests/test_gtype.py | 112 ------------------
30876 tests/test_subtype.py | 289
30877 -----------------------------------------------
30878 4 files changed, 718 deletions(-)
30880 commit ef0ceb266a45715ece58642fb0042e3376416755
30881 Author: Simon van der Linden <svdlinden@src.gnome.org>
30882 Date: Wed Feb 3 20:33:03 2010 +0100
30884 Add modelines and copyright information to overrides modules
30886 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
30887 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
30888 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
30889 3 files changed, 62 insertions(+)
30891 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
30892 Author: Simon van der Linden <svdlinden@src.gnome.org>
30893 Date: Wed Feb 3 20:29:55 2010 +0100
30895 Fix and complete overrides tests
30897 Those tests were missing in the last commit
30899 https://bugzilla.gnome.org/show_bug.cgi?id=602830
30901 gi/overrides/TestGI.py | 49
30902 +++++++++++++++++++++++++++++++++++++++++++++++++
30903 tests/test_gi.py | 8 +++++++-
30904 2 files changed, 56 insertions(+), 1 deletion(-)
30906 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
30907 Author: Simon van der Linden <svdlinden@src.gnome.org>
30908 Date: Thu Jan 21 17:30:51 2010 +0100
30910 Don't raise an error in _pygi_import if pygi support is disabled
30912 http://bugzilla.gnome.org/show_bug.cgi?id=607674
30914 gobject/pygboxed.c | 6 +-----
30915 gobject/pygi-external.h | 1 -
30916 gobject/pygobject.c | 6 +-----
30917 gobject/pygpointer.c | 6 +-----
30918 4 files changed, 3 insertions(+), 16 deletions(-)
30920 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
30921 Author: Simon van der Linden <svdlinden@src.gnome.org>
30922 Date: Fri Jan 22 22:22:37 2010 +0100
30924 Remove support for pointers to basic types as input-only argument
30927 There is no reason for an API to use such things, and
30928 g_function_info_invoke
30929 broke such features.
30931 https://bugzilla.gnome.org/show_bug.cgi?id=607759
30933 gi/pygi-argument.c | 586 ++++-------------------------------------------
30934 gi/pygi-argument.h | 1 -
30935 gi/pygi-info.c | 8 +-
30936 tests/libtestgi.c | 660
30937 -----------------------------------------------------
30938 tests/libtestgi.h | 86 -------
30939 tests/test_gi.py | 144 ------------
30940 6 files changed, 47 insertions(+), 1438 deletions(-)
30942 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
30943 Author: Simon van der Linden <svdlinden@src.gnome.org>
30944 Date: Fri Jan 22 13:41:21 2010 +0100
30946 Restore the overrides support
30948 Add a ModuleProxy in front of the DynamicModule when an overrides
30950 present. There is no need for an overrides module to be a class;
30951 it can just be a module.
30953 Add an override decorator to override the wrapper of a registered
30956 Adapt Gdk and Gtk accordingly.
30960 https://bugzilla.gnome.org/show_bug.cgi?id=602830
30962 gi/importer.py | 40 +++++++-------------
30963 gi/module.py | 43 ++++++++++++++-------
30964 gi/overrides/Gdk.py | 42 +++++++++++++--------
30965 gi/overrides/Gtk.py | 16 ++++----
30966 gi/types.py | 6 +++
30967 tests/libtestgi.c | 105
30968 ++++++++++++++++++++++++++++++++++++++++++++++++++++
30969 tests/libtestgi.h | 49 ++++++++++++++++++++++++
30970 tests/test_gi.py | 36 ++++++++++++++++++
30971 8 files changed, 273 insertions(+), 64 deletions(-)
30973 commit 289d641775d1ea52d2a5379126b70b7fcee46683
30974 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30975 Date: Sun Jan 10 21:01:59 2010 +0100
30977 Initialize PyGPollFD_Type.fd_obj to NULL
30979 https://bugzilla.gnome.org/show_bug.cgi?id=606582
30981 gio/gcancellable.override | 1 +
30982 1 file changed, 1 insertion(+)
30984 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
30985 Author: Simon van der Linden <svdlinden@src.gnome.org>
30986 Date: Fri Jan 8 21:10:28 2010 +0100
30988 Initialize struct fields to 0 when allocating
30990 gi/pygi-struct.c | 2 +-
30991 tests/test_gi.py | 5 +++++
30992 2 files changed, 6 insertions(+), 1 deletion(-)
30994 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
30995 Author: Simon van der Linden <svdlinden@src.gnome.org>
30996 Date: Fri Jan 8 20:33:44 2010 +0100
30998 Don't set a default constructor for structures.
31000 Update tests accordingly.
31002 The reason for this change is that setting __new__ in the metaclass
31004 one overrides it afterwards, in a subclass (in my experience, at
31006 though it seems weird).
31008 https://bugzilla.gnome.org/show_bug.cgi?id=603536
31010 gi/types.py | 35 +++++++----------------------------
31011 tests/libtestgi.c | 33 ---------------------------------
31012 tests/libtestgi.h | 7 -------
31013 tests/test_gi.py | 21 ++++++++++-----------
31014 4 files changed, 17 insertions(+), 79 deletions(-)
31016 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
31017 Author: Simon van der Linden <svdlinden@src.gnome.org>
31018 Date: Tue Jan 5 13:36:44 2010 +0100
31020 Suppress compilation warnings
31022 gi/pygi-argument.c | 3 ++-
31023 gi/pygi-boxed.c | 2 --
31024 gi/pygobject-external.h | 2 +-
31025 3 files changed, 3 insertions(+), 4 deletions(-)
31027 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
31028 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31029 Date: Mon Jan 4 08:35:14 2010 +0100
31031 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
31033 Committed a patch from Kevin Pyle
31035 Makefile.am | 27 +++++++++++++--------------
31036 1 file changed, 13 insertions(+), 14 deletions(-)
31038 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
31039 Author: Simon van der Linden <svdlinden@src.gnome.org>
31040 Date: Fri Dec 11 22:24:30 2009 +0100
31042 sys.path must be modified after pygtk is imported
31044 Otherwise, sys.path is overridden by pygtk and gi.repository is
31046 system's default site-package directory.
31048 tests/runtests.py | 1 -
31049 tests/test_gi.py | 3 +++
31050 2 files changed, 3 insertions(+), 1 deletion(-)
31052 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
31053 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31054 Date: Sun Jan 3 11:02:57 2010 +0100
31056 Wrap gio.Cancellable.make_pollfd() and add a test
31058 gio/Makefile.am | 1 +
31059 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
31060 gio/gio.override | 3 +++
31061 tests/test_gcancellable.py | 15 +++++++++++++++
31062 4 files changed, 56 insertions(+)
31064 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
31065 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31066 Date: Sat Jan 2 23:15:56 2010 +0100
31068 Make cancellable an optional parameter in many methods
31071 +++++++++++++++++++++++++++++------------------------------
31072 1 file changed, 51 insertions(+), 51 deletions(-)
31074 commit 49a078cd22d55dc33a03ecfda235d63955edc741
31075 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31076 Date: Sat Jan 2 23:15:21 2010 +0100
31078 Post release version bump to 2.21.2
31080 configure.ac | 2 +-
31081 1 file changed, 1 insertion(+), 1 deletion(-)
31083 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
31084 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31085 Date: Sat Jan 2 22:58:36 2010 +0100
31087 Update NEWS and release PyGObject-2.21.1
31089 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
31090 1 file changed, 55 insertions(+)
31092 commit c1f34be73bd186d7b4682dfef133da2c4229d213
31093 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31094 Date: Fri Jan 1 20:25:35 2010 +0100
31096 Wrap gio.Volume.eject_with_operation()
31098 gio/gvolume.override | 54
31099 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31100 1 file changed, 54 insertions(+)
31102 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
31103 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31104 Date: Fri Jan 1 20:22:21 2010 +0100
31106 gio.Mount.unmount_with_operation() fix a copy/paste leftover
31108 gio/gmount.override | 4 ++--
31109 1 file changed, 2 insertions(+), 2 deletions(-)
31111 commit 6f459786dd641cd49d81eba403d940620f961cab
31112 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31113 Date: Fri Jan 1 20:21:05 2010 +0100
31115 Wrap gio.Mount.eject_with_operation()
31117 gio/gmount.override | 54
31118 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31119 1 file changed, 54 insertions(+)
31121 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
31122 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31123 Date: Fri Jan 1 20:15:38 2010 +0100
31125 Wrap gio.Mount.unmount_mountable_with_operation()
31127 gio/gmount.override | 54
31128 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31129 1 file changed, 54 insertions(+)
31131 commit e919d47c2430451b436cec955e9b99237f97028c
31132 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31133 Date: Fri Jan 1 18:22:46 2010 +0100
31135 Wrap File.unmount_mountable_with_operation()
31137 gio/gfile.override | 54
31138 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31139 1 file changed, 54 insertions(+)
31141 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
31142 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31143 Date: Fri Jan 1 18:14:11 2010 +0100
31145 Wrap gio.File.stop_mountable()
31147 gio/gfile.override | 52
31148 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31149 1 file changed, 52 insertions(+)
31151 commit 6af506647f36f2b825bc6556df5ee57fa7721906
31152 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31153 Date: Fri Jan 1 18:10:49 2010 +0100
31155 Wrap gio.File.start_mountable()
31157 gio/gfile.override | 52
31158 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31159 1 file changed, 52 insertions(+)
31161 commit e700efc839fc0b651fc9794a1611190bffa80263
31162 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31163 Date: Fri Jan 1 18:02:46 2010 +0100
31165 Wrap gio.File.replace_readwrite_async()
31167 gio/gfile.override | 55
31168 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31169 1 file changed, 55 insertions(+)
31171 commit 92662f129fc728258fd5e34f53dcb081e3715017
31172 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31173 Date: Fri Jan 1 17:00:26 2010 +0100
31175 Wrap gio.File.poll_mountable()
31177 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
31178 1 file changed, 41 insertions(+)
31180 commit 99902b786500948c3278779841e4db54223b9256
31181 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31182 Date: Fri Jan 1 16:56:26 2010 +0100
31184 Wrap gio.File.open_readwrite_async()
31186 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
31187 1 file changed, 44 insertions(+)
31189 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
31190 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31191 Date: Fri Jan 1 16:50:15 2010 +0100
31193 Wrap gio.File.eject_mountable_with_operation()
31195 gio/gfile.override | 54
31196 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31197 1 file changed, 54 insertions(+)
31199 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
31200 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31201 Date: Fri Jan 1 13:30:24 2010 +0100
31203 Wrap gio.File.create_readwrite_async() and add a test
31205 gio/gfile.override | 51
31206 +++++++++++++++++++++++++++++++++++++++++++++++++++
31207 tests/test_gio.py | 24 ++++++++++++++++++++++++
31208 2 files changed, 75 insertions(+)
31210 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
31211 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31212 Date: Fri Jan 1 13:20:11 2010 +0100
31214 Wrap gio.Drive.stop()
31216 gio/gdrive.override | 52
31217 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31218 1 file changed, 52 insertions(+)
31220 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
31221 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31222 Date: Fri Jan 1 13:00:42 2010 +0100
31224 Wrap gio.Drive.start()
31226 gio/gdrive.override | 52
31227 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31228 1 file changed, 52 insertions(+)
31230 commit dff374287bbecc8af782bbc726fad86c6c867754
31231 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31232 Date: Fri Jan 1 12:45:29 2010 +0100
31234 Add more remainders on missing methods of gio.Socket and related types
31236 gio/gsocket.override | 3 +++
31237 1 file changed, 3 insertions(+)
31239 commit b8c7e996498bd72df551011af85ff05ef7335b4f
31240 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31241 Date: Fri Jan 1 12:41:08 2010 +0100
31243 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
31245 gio/gsocket.override | 86
31246 +++++++++++++++++++++++++++++++++++++++++++++++++--
31247 tests/test_gsocket.py | 24 ++++++++++++++
31248 2 files changed, 108 insertions(+), 2 deletions(-)
31250 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
31251 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31252 Date: Fri Jan 1 12:28:53 2010 +0100
31254 Wrap gio.SocketListener.accept_finish() and add a test
31256 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
31257 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
31258 2 files changed, 66 insertions(+), 2 deletions(-)
31260 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
31261 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31262 Date: Fri Jan 1 11:19:34 2010 +0100
31264 Wrap gio.SocketListener.accept_async()
31266 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31267 1 file changed, 42 insertions(+)
31269 commit c9496b29ef9ef232020a4044577d2947353953a5
31270 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31271 Date: Fri Jan 1 11:14:35 2010 +0100
31273 Wrap gio.SocketListener.accept_socket() and add a test
31275 gio/gsocket.override | 48
31276 +++++++++++++++++++++++++++++++++++++++++++++++-
31277 tests/test_gsocket.py | 13 +++++++++++++
31278 2 files changed, 60 insertions(+), 1 deletion(-)
31280 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
31281 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31282 Date: Thu Dec 31 16:35:18 2009 +0100
31284 Wrap gio.SocketListener.accept() and add a test
31286 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
31287 tests/test_gsocket.py | 13 +++++++++++++
31288 2 files changed, 58 insertions(+), 1 deletion(-)
31290 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
31291 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31292 Date: Thu Dec 31 16:25:33 2009 +0100
31294 Make cancellable optional in gio.SocketClient.connect_to_host()
31296 gio/gio.defs | 2 +-
31297 1 file changed, 1 insertion(+), 1 deletion(-)
31299 commit 3829d7667b19126fb74562b28d271e616b154c99
31300 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31301 Date: Thu Dec 31 15:25:10 2009 +0100
31303 Wrap gio.SocketListener.add_address() and add a test
31305 gio/gsocket.override | 57
31306 ++++++++++++++++++++++++++++++++++++++++++++++++++-
31307 tests/test_gsocket.py | 9 ++++++++
31308 2 files changed, 65 insertions(+), 1 deletion(-)
31310 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
31311 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31312 Date: Thu Dec 31 10:19:47 2009 +0100
31314 Add more remainders on missing methods of gio.Socket and related types
31316 gio/gsocket.override | 8 ++++++++
31317 1 file changed, 8 insertions(+)
31319 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
31320 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31321 Date: Thu Dec 31 10:16:18 2009 +0100
31323 Wrap gio.SocketClient.connect_to_service_async()
31325 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
31326 1 file changed, 47 insertions(+)
31328 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
31329 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31330 Date: Thu Dec 31 10:10:43 2009 +0100
31332 Wrap gio.SocketClient.connect_to_host_async()
31334 gio/gsocket.override | 48
31335 ++++++++++++++++++++++++++++++++++++++++++++++++
31336 1 file changed, 48 insertions(+)
31338 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
31339 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31340 Date: Thu Dec 31 09:59:46 2009 +0100
31342 Wrap gio.SocketClient.connect_async()
31344 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
31345 1 file changed, 45 insertions(+)
31347 commit dff024256295c15e49888ad9d5fef74a7746edd7
31348 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31349 Date: Wed Dec 30 23:44:25 2009 +0100
31351 Wrap gio.SocketAddressEnumerator.next_async() and add a test
31353 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31354 tests/test_gsocket.py | 16 ++++++++++++++++
31355 2 files changed, 58 insertions(+)
31357 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
31358 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31359 Date: Wed Dec 30 23:43:14 2009 +0100
31361 Add a missing object gio.InetSocketAddress new in GIO 2.22
31363 gio/gio-types.defs | 7 +++++++
31364 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
31365 2 files changed, 38 insertions(+)
31367 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
31368 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31369 Date: Wed Dec 30 22:54:47 2009 +0100
31371 Make cancellable optional for gio.SocketAddressEnumerator.next()
31373 gio/gio.defs | 2 +-
31374 1 file changed, 1 insertion(+), 1 deletion(-)
31376 commit b19f59790b9de943d69b6c5e483928e0443c3d20
31377 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31378 Date: Wed Dec 30 22:17:44 2009 +0100
31380 Add a remainder of the Socket methods that needs manual wrapping still
31382 gio/gsocket.override | 5 +++++
31383 1 file changed, 5 insertions(+)
31385 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
31386 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31387 Date: Wed Dec 30 17:20:35 2009 +0100
31389 Wrap gio.Socket.condition_wait() and add a test
31391 gio/gsocket.override | 27 +++++++++++++++++++++++++++
31392 tests/test_gsocket.py | 6 +++++-
31393 2 files changed, 32 insertions(+), 1 deletion(-)
31395 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
31396 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31397 Date: Wed Dec 30 16:21:49 2009 +0100
31399 Wrap gio.Socket.condition_check() and add a test
31401 gio/Makefile.am | 1 +
31402 gio/gio.override | 1 +
31403 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
31404 tests/test_gsocket.py | 21 +++++++++++++++++++++
31405 4 files changed, 64 insertions(+)
31407 commit de7a359e81792ae8573ac944455ea289985449ed
31408 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31409 Date: Wed Dec 30 14:07:52 2009 +0100
31411 Wrap gio.Resolver.lookup_service_finish() and add a test
31413 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
31414 tests/test_gresolver.py | 13 +++++++++++++
31415 2 files changed, 50 insertions(+)
31417 commit 308421789ce849040d645077c41c80b6e2e65e83
31418 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31419 Date: Wed Dec 30 14:00:22 2009 +0100
31421 Wrap gio.Resolver.lookup_service_async()
31423 gio/gresolver.override | 48
31424 ++++++++++++++++++++++++++++++++++++++++++++++++
31425 1 file changed, 48 insertions(+)
31427 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
31428 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31429 Date: Wed Dec 30 11:11:32 2009 +0100
31431 Wrap gio.Resolver.lookup_service() and add a test
31433 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31434 tests/test_gresolver.py | 5 +++++
31435 2 files changed, 47 insertions(+)
31437 commit 7fc71f490494dae73a5264869a97a9d30814930e
31438 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31439 Date: Tue Dec 29 22:12:50 2009 +0100
31441 Wrap gio.Resolver.lookup_by_address_async() and add a test
31443 gio/gresolver.override | 46
31444 ++++++++++++++++++++++++++++++++++++++++++++++
31445 tests/test_gresolver.py | 14 ++++++++++++++
31446 2 files changed, 60 insertions(+)
31448 commit c91656dbe56f07d3ebbad5113467c22427cf212a
31449 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31450 Date: Tue Dec 29 21:41:30 2009 +0100
31452 Wrap gio.Resolver.lookup_by_name_finish() and add a test
31454 gio/gresolver.override | 82
31455 +++++++++++++++++++++++++++++++++++++++++++++++++
31456 tests/test_gresolver.py | 16 ++++++++--
31457 2 files changed, 96 insertions(+), 2 deletions(-)
31459 commit 45b477342fa1c2435917c6d97745ad57665c4734
31460 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31461 Date: Tue Dec 29 17:15:44 2009 +0100
31463 Wrap gio.Drive.eject_with_data()
31465 gio/gdrive.override | 54
31466 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31467 1 file changed, 54 insertions(+)
31469 commit 635227480f9659a1f91ab1ec12536d3ed012a976
31470 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31471 Date: Tue Dec 29 17:06:52 2009 +0100
31473 Deprecate old gio.Drive methods
31475 gio/gdrive.override | 7 ++++++-
31477 2 files changed, 7 insertions(+), 1 deletion(-)
31479 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
31480 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31481 Date: Tue Dec 29 13:51:54 2009 +0100
31483 Small fix in the header
31485 gio/gdrive.override | 2 +-
31486 1 file changed, 1 insertion(+), 1 deletion(-)
31488 commit 7589128515b79d836365247dc876538c6352da23
31489 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31490 Date: Tue Dec 29 12:40:50 2009 +0100
31492 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
31494 gio/Makefile.am | 1 +
31495 gio/gio.override | 1 +
31496 gio/gresolver.override | 57
31497 +++++++++++++++++++++++++++++++++++++++++++++++++
31498 tests/test_gresolver.py | 21 ++++++++++++++++++
31499 4 files changed, 80 insertions(+)
31501 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
31502 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31503 Date: Tue Dec 29 12:39:13 2009 +0100
31505 Make cancellable an optional parameter in
31506 gio.Resolver.lookup_by_address()
31508 gio/gio.defs | 2 +-
31509 1 file changed, 1 insertion(+), 1 deletion(-)
31511 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
31512 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31513 Date: Tue Dec 29 10:15:14 2009 +0100
31515 Strip g_ prefix for many other functions
31518 ++++++++++++++++++++++++++++++------------------------------
31519 1 file changed, 47 insertions(+), 47 deletions(-)
31521 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
31522 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31523 Date: Tue Dec 29 10:12:53 2009 +0100
31525 Strip g_prefix from InetAddress functions
31527 gio/gio.defs | 8 ++++----
31528 1 file changed, 4 insertions(+), 4 deletions(-)
31530 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
31531 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31532 Date: Tue Dec 29 10:03:59 2009 +0100
31534 Fix function name gio.resolver_get_default()
31536 Strip the g_ prefix from function name
31538 gio/gio.defs | 2 +-
31539 1 file changed, 1 insertion(+), 1 deletion(-)
31541 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
31542 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31543 Date: Tue Dec 29 09:54:05 2009 +0100
31545 Wrap gio.FileIOStream.query_info_async() and add a test
31547 gio/Makefile.am | 1 +
31548 gio/gfileiostream.override | 68
31549 ++++++++++++++++++++++++++++++++++++++++++++++
31550 gio/gio.override | 1 +
31551 tests/test_gio.py | 18 ++++++++++++
31552 4 files changed, 88 insertions(+)
31554 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
31555 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31556 Date: Tue Dec 29 13:08:29 2009 +0100
31558 Register enums and flags in PyGI if needed
31560 https://bugzilla.gnome.org/show_bug.cgi?id=603534
31562 gobject/pygenum.c | 20 ++++++++++++++------
31563 gobject/pygflags.c | 19 +++++++++++++------
31564 2 files changed, 27 insertions(+), 12 deletions(-)
31566 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
31567 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31568 Date: Mon Dec 28 22:41:54 2009 +0100
31570 Wrap GIOStream.close_async() and add a test
31572 gio/Makefile.am | 1 +
31573 gio/gio.override | 1 +
31574 gio/giostream.override | 68
31575 ++++++++++++++++++++++++++++++++++++++++++++++++++
31576 tests/test_gio.py | 21 ++++++++++++++++
31577 4 files changed, 91 insertions(+)
31579 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
31580 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31581 Date: Mon Dec 28 22:39:09 2009 +0100
31583 Make cancellable an optional parameter in GFile.create_readwrite()
31585 gio/gio.defs | 2 +-
31586 1 file changed, 1 insertion(+), 1 deletion(-)
31588 commit 1cabd733cde269ce3164834933f4a226673ecb0b
31589 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31590 Date: Mon Dec 28 21:39:50 2009 +0100
31592 Remove a duplicate entry in gio.defs
31594 gio/gio.defs | 9 ---------
31595 1 file changed, 9 deletions(-)
31597 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
31598 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31599 Date: Mon Dec 28 21:37:49 2009 +0100
31601 Wrap gio.FileInfo.set_modification_time and add a test
31603 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
31604 tests/test_gio.py | 7 ++++++-
31605 2 files changed, 38 insertions(+), 2 deletions(-)
31607 commit 7bc2673f92138b1804d8eba091942d14d8884f90
31608 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31609 Date: Mon Dec 28 18:28:03 2009 +0100
31611 Wrap gio.EmblemedIcon.get_emblems() and add a test
31613 gio/gicon.override | 14 ++++++++++++++
31614 tests/test_gicon.py | 7 +++++++
31615 2 files changed, 21 insertions(+)
31617 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
31618 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31619 Date: Sat Dec 26 22:27:48 2009 +0100
31621 Update Enums and Flags with new API
31623 gio/gio-types.defs | 153
31624 +++++++++++++++++++++++++++++++++++++++++++++++++++--
31625 1 file changed, 149 insertions(+), 4 deletions(-)
31627 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
31628 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31629 Date: Fri Dec 25 18:06:39 2009 +0100
31631 Post release version bump to 2.21.1
31633 configure.ac | 2 +-
31634 1 file changed, 1 insertion(+), 1 deletion(-)
31636 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
31637 Author: Bastian Winkler <buz@netbuz.org>
31638 Date: Fri Aug 14 15:10:26 2009 +0200
31640 Fix handling of uchar in pyg_value_from_pyobject
31642 Set the value by g_value_set_uchar and allow to use integer types
31645 gobject/pygtype.c | 15 +++++++++++----
31646 1 file changed, 11 insertions(+), 4 deletions(-)
31648 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
31649 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31650 Date: Tue Dec 22 18:05:47 2009 +0100
31652 Add Gtk.keysyms to overrides
31654 gi/overrides/Gtk.py | 2 +
31655 gi/overrides/Makefile.am | 1 +
31656 gi/overrides/keysyms.py | 1499
31657 ++++++++++++++++++++++++++++++++++++++++++++++
31658 3 files changed, 1502 insertions(+)
31660 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
31661 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31662 Date: Wed Nov 25 10:33:56 2009 +0100
31664 The array field 'length' starts to count from the C arg list, so
31665 need to decrement when it's a method
31667 https://bugzilla.gnome.org/show_bug.cgi?id=602640
31669 gi/pygi-argument.c | 11 +++++++++-
31670 gi/pygi-argument.h | 3 ++-
31671 gi/pygi-info.c | 14 +++++++++++--
31672 tests/libtestgi.c | 60
31673 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31674 tests/libtestgi.h | 4 ++++
31675 tests/test_gi.py | 15 ++++++++++++++
31676 6 files changed, 103 insertions(+), 4 deletions(-)
31678 commit 867536c6734e606d045760837ed22583da06566e
31679 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31680 Date: Fri Dec 18 10:50:09 2009 +0100
31682 Update NEWS and README, release pygobject 2.21.0
31684 NEWS | 18 ++++++++++++++++++
31686 2 files changed, 21 insertions(+), 3 deletions(-)
31688 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
31689 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31690 Date: Fri Dec 18 10:31:48 2009 +0100
31692 Add pygi-external.h into Makefile SOURCES
31694 gobject/Makefile.am | 3 ++-
31695 1 file changed, 2 insertions(+), 1 deletion(-)
31697 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
31698 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31699 Date: Fri Dec 18 01:20:34 2009 +0100
31701 Bug 598435 - No wrapping for g_find_program_in_path ()
31703 glib/glibmodule.c | 20 ++++++++++++++++++++
31704 1 file changed, 20 insertions(+)
31706 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
31707 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31708 Date: Thu Dec 17 21:54:36 2009 +0100
31710 Wrap new API added in GIO-UNIX 2.22
31712 gio/unix-types.defs | 22 ++++++++++
31713 gio/unix.defs | 115
31714 +++++++++++++++++++++++++++++++++++++++++++++++++++-
31715 gio/unix.override | 8 ++++
31716 3 files changed, 144 insertions(+), 1 deletion(-)
31718 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
31719 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31720 Date: Thu Dec 17 21:52:11 2009 +0100
31722 Bump required glib version to 2.22.4
31724 I've committed a patch to glib which will be released in the stable
31726 Without the patch the unix module will fail, so I'm forced to bump.
31728 configure.ac | 6 +++---
31729 1 file changed, 3 insertions(+), 3 deletions(-)
31731 commit b630c8d4b1e55938dac89729768c4a877b305215
31732 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31733 Date: Thu Dec 17 02:24:45 2009 +0100
31735 Properly define Connectable as interface type and not object type
31737 gio/gio-types.defs | 12 ++++++------
31738 1 file changed, 6 insertions(+), 6 deletions(-)
31740 commit e955b931b07113c7432f7a85f882f69f12d263ad
31741 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
31742 Date: Mon Nov 30 22:01:25 2009 +0100
31744 Depend on GLib 2.20 rather than 2.22
31746 Backport g_array_get_element_size.
31748 https://bugzilla.gnome.org/show_bug.cgi?id=603411
31750 configure.ac | 2 +-
31751 gi/pygi-private.h | 19 +++++++++++++++++++
31752 2 files changed, 20 insertions(+), 1 deletion(-)
31754 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
31755 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31756 Date: Sat Nov 28 18:48:19 2009 +0000
31758 Use the limit constants from glib and interpret G_MAXUINT32 as
31759 PyLong_FromLongLong
31761 https://bugzilla.gnome.org/show_bug.cgi?id=602384
31763 gi/pygi-argument.c | 14 +++++++-------
31764 tests/test_gi.py | 18 +++++++++---------
31765 2 files changed, 16 insertions(+), 16 deletions(-)
31767 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
31768 Author: Simon van der Linden <svdlinden@src.gnome.org>
31769 Date: Mon Nov 30 00:10:56 2009 +0100
31771 Suppress warnings about format conversion
31773 https://bugzilla.gnome.org/show_bug.cgi?id=603355
31775 gobject/generate-constants.c | 32 ++++++++++++++++----------------
31776 1 file changed, 16 insertions(+), 16 deletions(-)
31778 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
31779 Author: Simon van der Linden <svdlinden@src.gnome.org>
31780 Date: Sat Nov 28 00:22:21 2009 +0100
31782 Remove global checks for pointers and move them in type cases that
31785 gi/pygi-argument.c | 516
31786 +++++++++++++++++++++++++++++++++++++++++++----------
31787 gi/pygi-info.c | 333 +++++++++++++++++-----------------
31788 2 files changed, 596 insertions(+), 253 deletions(-)
31790 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
31791 Author: Johan Dahlin <johan@gnome.org>
31792 Date: Mon Nov 23 15:58:17 2009 -0200
31794 Pythonify. Avoid ; and () around if statements
31796 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31798 gi/types.py | 8 ++++----
31799 1 file changed, 4 insertions(+), 4 deletions(-)
31801 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
31802 Author: Johan Dahlin <johan@gnome.org>
31803 Date: Tue Nov 24 10:36:18 2009 -0200
31805 Remove trailing whitespace
31807 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31809 gi/module.py | 4 ++--
31810 1 file changed, 2 insertions(+), 2 deletions(-)
31812 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
31813 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31814 Date: Mon Nov 30 10:03:34 2009 +0000
31816 Set a default constructor for boxed structs that don't have one
31818 https://bugzilla.gnome.org/show_bug.cgi?id=602735
31820 gi/Makefile.am | 2 +
31821 gi/gimodule.c | 1 +
31822 gi/module.py | 2 +-
31823 gi/pygi-argument.c | 14 +++-
31824 gi/pygi-boxed.c | 184
31825 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31826 gi/pygi-boxed.h | 40 ++++++++++++
31827 gi/pygi-info.c | 2 +-
31828 gi/pygi-private.h | 1 +
31830 gi/types.py | 18 ------
31831 tests/libtestgi.c | 72 ++++++++++-----------
31832 tests/libtestgi.h | 18 +++---
31833 tests/test_gi.py | 47 ++++++++------
31834 13 files changed, 321 insertions(+), 86 deletions(-)
31836 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
31837 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31838 Date: Mon Nov 30 10:53:57 2009 +0000
31840 Revert "Use the limit constants from glib and interpret G_MAXUINT32
31841 as PyLong_FromLongLong"
31843 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
31845 gi/pygi-argument.c | 14 +++++++-------
31846 tests/test_gi.py | 18 +++++++++---------
31847 2 files changed, 16 insertions(+), 16 deletions(-)
31849 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
31850 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31851 Date: Sat Nov 28 18:48:19 2009 +0000
31853 Use the limit constants from glib and interpret G_MAXUINT32 as
31854 PyLong_FromLongLong
31856 https://bugzilla.gnome.org/show_bug.cgi?id=602384
31858 gi/pygi-argument.c | 14 +++++++-------
31859 tests/test_gi.py | 18 +++++++++---------
31860 2 files changed, 16 insertions(+), 16 deletions(-)
31862 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
31863 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31864 Date: Sat Nov 28 18:45:54 2009 +0000
31866 Add the missing limit constants from glibconfig.h
31868 https://bugzilla.gnome.org/show_bug.cgi?id=603244
31870 gobject/generate-constants.c | 17 ++++++++++++++++-
31871 1 file changed, 16 insertions(+), 1 deletion(-)
31873 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
31874 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31875 Date: Sat Nov 28 18:48:49 2009 +0100
31877 Fix bad name when rebuilding the unix source module
31879 gio/Makefile.am | 2 +-
31880 1 file changed, 1 insertion(+), 1 deletion(-)
31882 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
31883 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31884 Date: Sat Nov 28 18:47:26 2009 +0100
31886 Wrap new API added in GIO 2.22
31888 gio/gio-types.defs | 138 +++
31889 gio/gio.defs | 2444
31890 +++++++++++++++++++++++++++++++++++++++++++++++-----
31891 2 files changed, 2360 insertions(+), 222 deletions(-)
31893 commit 96f6c638709636d7e2ddf560b877879691da3314
31894 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31895 Date: Sat Nov 28 11:03:51 2009 +0000
31897 A few tests about interfaces
31899 https://bugzilla.gnome.org/show_bug.cgi?id=601181
31901 tests/libtestgi.c | 23 +++++++++++++++++++++++
31902 tests/libtestgi.h | 16 ++++++++++++++++
31903 tests/test_gi.py | 21 +++++++++++++++++++++
31904 3 files changed, 60 insertions(+)
31906 commit 076ba3156c13375a75983cef7a409c8c8afea119
31907 Author: Simon van der Linden <svdlinden@src.gnome.org>
31908 Date: Thu Nov 26 23:50:54 2009 +0100
31910 Fix members initialization in metaclasses
31912 In metaclasses, the test for the name of the class was wrong, since it
31913 prevented one to create a subclass with the same name (especially
31915 overrides). Now, if a GType is available from the info, the fact
31917 doesn't have any wrapper yet means that the metaclass is creating
31919 class, which will be registerd just after its creation. This is
31921 objects, and for structures registered as boxed or pointer too.
31923 This patch includes a test for basic subclassing in Python. It
31925 that methods don't get overridden by the metaclass.
31927 gi/types.py | 5 +++--
31928 tests/test_gi.py | 19 +++++++++++++++++++
31929 2 files changed, 22 insertions(+), 2 deletions(-)
31931 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
31932 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31933 Date: Fri Nov 27 12:06:59 2009 +0000
31935 Structs in arrays are not marshalled correctly
31937 https://bugzilla.gnome.org/show_bug.cgi?id=602709
31939 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
31940 tests/libtestgi.c | 23 ++++++++++++++++++++++-
31941 tests/libtestgi.h | 7 +++++--
31942 tests/test_gi.py | 8 ++++++++
31943 4 files changed, 59 insertions(+), 8 deletions(-)
31945 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
31946 Author: Simon van der Linden <svdlinden@src.gnome.org>
31947 Date: Wed Nov 25 16:53:55 2009 +0100
31949 Use the right variable when looking up in sys.modules
31951 gi/importer.py | 2 +-
31952 1 file changed, 1 insertion(+), 1 deletion(-)
31954 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
31955 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31956 Date: Tue Nov 24 15:52:47 2009 +0100
31958 Accept 0 as a valid value for flag and enum arguments
31960 https://bugzilla.gnome.org/show_bug.cgi?id=602638
31962 gi/pygi-argument.c | 19 ++++++++++++++++++-
31963 tests/libtestgi.c | 6 ++++++
31964 tests/libtestgi.h | 1 +
31965 tests/test_gi.py | 1 +
31966 4 files changed, 26 insertions(+), 1 deletion(-)
31968 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
31969 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31970 Date: Tue Nov 24 13:10:11 2009 +0100
31972 Add stuff to .gitignore
31974 .gitignore | 7 +++++++
31975 1 file changed, 7 insertions(+)
31977 commit 5c010fe673d9bd01c27c8d7d312064665275888c
31978 Author: Simon van der Linden <svdlinden@src.gnome.org>
31979 Date: Mon Nov 23 22:39:12 2009 +0100
31981 Remove the girepository module
31984 configure.ac | 17 -
31985 girepository/Makefile.am | 54 --
31986 girepository/__init__.py | 24 -
31987 girepository/bank-argument.c | 379 ------------
31988 girepository/bank-info.c | 1194
31989 ------------------------------------
31990 girepository/bank-repository.c | 236 -------
31991 girepository/bank.c | 155 -----
31992 girepository/bank.h | 80 ---
31993 girepository/btypes.py | 300 ---------
31994 girepository/importer.py | 51 --
31995 girepository/module.py | 224 -------
31996 girepository/overrides/Gdk.py | 14 -
31997 girepository/overrides/Gtk.py | 8 -
31998 girepository/overrides/__init__.py | 0
31999 girepository/repository.py | 51 --
32000 tests/test_girepository.py | 386 ------------
32001 17 files changed, 1 insertion(+), 3174 deletions(-)
32003 commit a644edf0515c26ed027522891ccf02aceac764e8
32004 Author: Johan Dahlin <johan@gnome.org>
32005 Date: Mon Nov 23 15:32:16 2009 -0200
32007 Create overridden modules in two passes
32009 This patch splits overridden module creation into two passes. The
32011 creates the auto-generated module normally before the overridden
32013 attempted to be imported. The second pass imports the overridden
32015 replaces the auto-generated module with the overridden. This is
32017 for the overridden modules to be able to access the auto-generated
32020 gi/importer.py | 34 +++++++++++++++++++++-------------
32021 1 file changed, 21 insertions(+), 13 deletions(-)
32023 commit fad89e12a744b57e6348968f351d25d167de8248
32024 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32025 Date: Sun Nov 22 17:56:20 2009 +0100
32027 Add support for Any arguments
32029 https://bugzilla.gnome.org/show_bug.cgi?id=601253
32031 gi/pygi-argument.c | 20 ++++++++++++--------
32032 tests/libtestgi.c | 5 +++++
32033 tests/libtestgi.h | 5 +++++
32034 tests/test_gi.py | 5 +++++
32035 4 files changed, 27 insertions(+), 8 deletions(-)
32037 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
32038 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32039 Date: Sun Nov 22 17:25:04 2009 +0100
32041 Register interfaces
32043 https://bugzilla.gnome.org/show_bug.cgi?id=601181
32045 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
32046 gi/types.py | 5 ++++-
32047 2 files changed, 37 insertions(+), 1 deletion(-)
32049 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
32050 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32051 Date: Sun Nov 22 18:23:02 2009 +0200
32053 Ignore one more file.
32056 1 file changed, 1 insertion(+)
32058 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
32059 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32060 Date: Sun Nov 22 18:22:23 2009 +0200
32062 Fix wrong minimum checking in float properties
32064 Bug #587637. Test the fix.
32066 gobject/propertyhelper.py | 5 +++--
32067 tests/test_properties.py | 6 ++++++
32068 2 files changed, 9 insertions(+), 2 deletions(-)
32070 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
32071 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32072 Date: Mon Oct 26 18:06:06 2009 +0000
32074 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
32076 gi/pygi-argument.c | 3 +++
32077 1 file changed, 3 insertions(+)
32079 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
32080 Author: Simon van der Linden <svdlinden@src.gnome.org>
32081 Date: Sat Nov 14 21:42:43 2009 +0100
32083 Import pygtk properly to avoid failure on some setups
32085 tests/test_gi.py | 3 +++
32086 1 file changed, 3 insertions(+)
32088 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
32089 Author: Alex Dedul <rotmer@gmail.com>
32090 Date: Sat Nov 14 21:39:15 2009 +0100
32092 Search for python-config-${VERSION} when python${VERSION}-config is
32095 On Gentoo, notably, the config tool is named python-config-${VERSION},
32097 Fedora and Ubuntu, it is named python${VERSION}-config.
32099 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
32101 configure.ac | 7 +++++--
32102 1 file changed, 5 insertions(+), 2 deletions(-)
32104 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
32105 Author: Simon van der Linden <svdlinden@src.gnome.org>
32106 Date: Sat Nov 14 21:36:19 2009 +0100
32108 Fix silent rules setup
32110 configure.ac | 2 +-
32111 1 file changed, 1 insertion(+), 1 deletion(-)
32113 commit 602afea88c338a38327cd84e08703c5daa384ec6
32114 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32115 Date: Tue Nov 10 22:32:33 2009 +0200
32117 Move threads_init() function from 'gobject' to 'glib'
32119 Retain in original place for backward compatibility, but remove it
32122 docs/reference/pygobject-functions.xml | 36
32123 +++++++---------------------------
32124 glib/glibmodule.c | 16 +++++++++++++++
32125 2 files changed, 23 insertions(+), 29 deletions(-)
32127 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
32128 Author: Simon van der Linden <svdlinden@src.gnome.org>
32129 Date: Mon Nov 9 22:44:12 2009 +0100
32131 Remove PyGObject patches since they've been merged to master
32133 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
32134 patches/0002-Fix-girpository-build-setup.patch | 186
32135 -------------------
32136 ...capabilities-to-import-wrappers-from-pygi.patch | 200
32137 ---------------------
32138 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
32139 4 files changed, 493 deletions(-)
32141 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
32142 Author: Simon van der Linden <svdlinden@src.gnome.org>
32143 Date: Sat Nov 7 23:42:07 2009 +0100
32145 Create instances by calling tp_alloc rather than PyObject_NEW
32147 PyObject_NEW calls a generic allocator and should only be called by
32149 that the type's free function agrees. In pyg_boxed_new, we may
32151 PyGBoxed subtypes, so the subtype's allocation function must be
32154 gobject/pygboxed.c | 3 ++-
32155 1 file changed, 2 insertions(+), 1 deletion(-)
32157 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
32158 Author: Simon van der Linden <svdlinden@src.gnome.org>
32159 Date: Sat Nov 7 16:43:35 2009 +0100
32161 Add capabilities to import wrappers from pygi
32163 At instance creation for boxed and pointers, at lookup for objects,
32164 when the gtype has no wrapper yet, a wrapper may be imported from
32167 The feature is turned on at configure time by --enable-pygi.
32169 Because we couldn't create a circular build dependency, PyGI's import
32171 API definition had to be copied in this tree.
32173 configure.ac | 8 ++++++
32174 gobject/pygboxed.c | 10 ++++++++
32175 gobject/pygi-external.h | 66
32176 +++++++++++++++++++++++++++++++++++++++++++++++++
32177 gobject/pygobject.c | 10 ++++++++
32178 gobject/pygpointer.c | 11 +++++++++
32179 5 files changed, 105 insertions(+)
32181 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
32182 Author: Simon van der Linden <svdlinden@src.gnome.org>
32183 Date: Sun Nov 8 20:03:58 2009 +0100
32185 Update PyGObject patches
32187 A file, pygi-external.h, was missing in patch #3.
32189 ...capabilities-to-import-wrappers-from-pygi.patch | 74
32190 ++++++++++++++++++++--
32191 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
32192 2 files changed, 69 insertions(+), 7 deletions(-)
32194 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
32195 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32196 Date: Sun Nov 8 16:52:18 2009 +0100
32198 Add myself to pygi.doap
32200 pygi.doap | 5 +++++
32201 1 file changed, 5 insertions(+)
32203 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
32204 Author: Simon van der Linden <svdlinden@src.gnome.org>
32205 Date: Sun Nov 8 15:40:51 2009 +0100
32209 pygi.doap | 17 +++++++++++++++++
32210 1 file changed, 17 insertions(+)
32212 commit ce673b9027868e6add4eeb438bc707eb40bfd046
32213 Author: Simon van der Linden <svdlinden@src.gnome.org>
32214 Date: Sun Nov 8 13:06:54 2009 +0100
32216 Add PyGObject patches
32218 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
32219 patches/0002-Fix-girpository-build-setup.patch | 186
32220 +++++++++++++++++++++
32221 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
32222 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
32223 4 files changed, 431 insertions(+)
32225 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
32226 Author: Simon van der Linden <svdlinden@src.gnome.org>
32227 Date: Sun Nov 8 12:35:08 2009 +0100
32233 autogen.sh | 159 +++
32234 configure.ac | 53 +
32235 gi/Makefile.am | 50 +
32236 gi/__init__.py | 24 +
32237 gi/gimodule.c | 144 ++
32238 gi/importer.py | 89 ++
32239 gi/module.py | 167 +++
32240 gi/overrides/Gdk.py | 21 +
32241 gi/overrides/Gtk.py | 13 +
32242 gi/overrides/Makefile.am | 10 +
32243 gi/overrides/__init__.py | 0
32244 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
32245 gi/pygi-argument.h | 65 +
32246 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
32247 gi/pygi-info.h | 64 +
32248 gi/pygi-private.h | 55 +
32249 gi/pygi-repository.c | 238 ++++
32250 gi/pygi-repository.h | 39 +
32251 gi/pygi-struct.c | 175 +++
32252 gi/pygi-struct.h | 40 +
32253 gi/pygi-type.c | 96 ++
32254 gi/pygi-type.h | 43 +
32256 gi/pygobject-external.h | 83 ++
32257 gi/repository/Makefile.am | 8 +
32258 gi/repository/__init__.py | 30 +
32259 gi/types.py | 163 +++
32260 tests/Makefile.am | 48 +
32261 tests/libtestgi.c | 3397
32262 +++++++++++++++++++++++++++++++++++++++++++++
32263 tests/libtestgi.h | 643 +++++++++
32264 tests/runtests.py | 22 +
32265 tests/test_gi.py | 1416 +++++++++++++++++++
32266 34 files changed, 11566 insertions(+)
32268 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
32269 Author: Simon van der Linden <svdlinden@src.gnome.org>
32270 Date: Sat Nov 7 13:23:53 2009 +0100
32272 Fix girpository build setup
32274 configure.ac | 21 ++++++-----
32275 girepository/Makefile.am | 13 ++++---
32276 m4/introspection.m4 | 92
32277 ++++++++++++++++++++++++++++++++++++++++++++++++
32278 3 files changed, 111 insertions(+), 15 deletions(-)
32280 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
32281 Author: Simon van der Linden <svdlinden@src.gnome.org>
32282 Date: Fri Nov 6 19:17:36 2009 +0100
32284 Make GType.pytype aware of the interface, enum, flags, pointer and
32287 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
32288 1 file changed, 33 insertions(+), 6 deletions(-)
32290 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
32291 Author: Philippe Normad <phil@base-art.net>
32292 Date: Wed Oct 21 18:01:16 2009 +0200
32294 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
32298 glib/pygmainloop.c | 95
32299 ++++++++++++++++++++++++++++--------------------------
32300 1 file changed, 50 insertions(+), 45 deletions(-)
32302 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
32303 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32304 Date: Fri Sep 25 20:12:21 2009 +0200
32306 Post release version bump to 2.21.0
32308 configure.ac | 2 +-
32309 1 file changed, 1 insertion(+), 1 deletion(-)
32311 commit 33920eb013628a5e22b7b32403fb965ae3210f47
32312 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32313 Date: Wed Sep 23 21:52:04 2009 +0200
32315 Update NEWS and release 2.20.0
32318 1 file changed, 6 insertions(+)
32320 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
32321 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32322 Date: Wed Sep 23 21:51:43 2009 +0200
32324 Bump version to 2.20.0
32326 configure.ac | 2 +-
32327 1 file changed, 1 insertion(+), 1 deletion(-)
32329 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
32330 Author: Brian Cameron <Brian.Cameron@sun.com>
32331 Date: Wed Sep 23 12:11:50 2009 -0500
32333 Updated uninstalled.pc file so that it contains the right paths for
32334 defsdir files and codegen files. See bug #596023.
32336 pygobject-2.0-uninstalled.pc.in | 4 ++--
32337 1 file changed, 2 insertions(+), 2 deletions(-)
32339 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
32340 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32341 Date: Tue Sep 22 22:02:27 2009 +0300
32343 Plug reference leak of GSource in pyg_main_loop_init()
32345 Bug #579406, second change.
32347 glib/pygmainloop.c | 1 +
32348 1 file changed, 1 insertion(+)
32350 commit 640be8109d066e85ed77c810830a5f73c750415b
32351 Author: Frédéric Péters <fpeters@0d.be>
32352 Date: Sun Aug 30 16:46:02 2009 +0200
32354 Specify programming language in .devhelp file
32356 This add a new language attribute (hardcoded to python) in the
32358 file that is produced when using ref-html-style.xsl.
32360 docs/xsl/devhelp.xsl | 2 +-
32361 1 file changed, 1 insertion(+), 1 deletion(-)
32363 commit c888b5ca722fcad6a03de585606c677c2969ebd6
32364 Author: Paolo Borelli <pborelli@gnome.org>
32365 Date: Thu Aug 13 21:32:07 2009 +0200
32367 Allow to use automake 1.11
32369 autogen.sh | 13 +++++++------
32370 1 file changed, 7 insertions(+), 6 deletions(-)
32372 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
32373 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32374 Date: Tue Aug 11 22:19:50 2009 +0200
32378 README | 10 ++++++++--
32379 1 file changed, 8 insertions(+), 2 deletions(-)
32381 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
32382 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32383 Date: Tue Aug 11 22:16:52 2009 +0200
32387 AUTHORS | 8 +++++---
32388 1 file changed, 5 insertions(+), 3 deletions(-)
32390 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
32391 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32392 Date: Tue Aug 11 22:11:43 2009 +0200
32394 Add myself and Paul as maintainers
32396 MAINTAINERS | 8 ++++++++
32397 pygobject.doap | 14 ++++++++++++++
32398 2 files changed, 22 insertions(+)
32400 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
32401 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32402 Date: Tue Aug 11 20:52:44 2009 +0200
32404 Update NEWS release 2.19.0
32406 NEWS | 29 +++++++++++++++++++++++++++++
32407 1 file changed, 29 insertions(+)
32409 commit e82a1841f31ad54dd50569d0d45290713409e0bf
32410 Author: John Finlay <finlay@moeraki.com>
32411 Date: Tue Aug 11 00:04:31 2009 -0700
32413 Add macros to help with Python list to/from GList/GSList conversions.
32415 gobject/pygobject.h | 242
32416 +++++++++++++++++++++++++++++++++++++++++++++++++++-
32417 1 file changed, 241 insertions(+), 1 deletion(-)
32419 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
32420 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32421 Date: Sat Aug 8 21:37:54 2009 +0200
32423 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
32425 gio/gfileinfo.override | 4 ++--
32426 1 file changed, 2 insertions(+), 2 deletions(-)
32428 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
32429 Author: Johan Dahlin <johan@gnome.org>
32430 Date: Fri Jul 24 14:30:37 2009 -0300
32432 Remove myself as a maintainer
32434 MAINTAINERS | 4 ----
32435 pygobject.doap | 7 -------
32436 2 files changed, 11 deletions(-)
32438 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
32439 Author: John Finlay <finlay@moeraki.com>
32440 Date: Wed Jul 8 15:47:44 2009 -0700
32442 * codegen/defsgen.py (clean_patterns): Strip out Windows
32445 codegen/defsgen.py | 6 +++---
32446 1 file changed, 3 insertions(+), 3 deletions(-)
32448 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
32449 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32450 Date: Tue Jun 23 21:18:23 2009 +0200
32452 Fix the gio.unix namespace in docs
32454 docs/Makefile.am | 2 ++
32455 docs/reference/pygio-classes.xml | 2 --
32456 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
32457 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
32458 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
32459 docs/reference/pygobject-ref.xml | 1 +
32460 6 files changed, 42 insertions(+), 28 deletions(-)
32462 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
32463 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32464 Date: Mon Jun 22 23:13:36 2009 +0200
32466 Add docs for gio functions (mostly for content types)
32468 docs/Makefile.am | 2 +
32469 docs/reference/pygio-classes.xml | 1 +
32470 docs/reference/pygio-functions.xml | 395
32471 +++++++++++++++++++++++++++++++++++++
32472 3 files changed, 398 insertions(+)
32474 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
32475 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32476 Date: Sun Jun 21 18:35:56 2009 +0200
32478 Add docs for gio.Unix[In|Out]putStream classes
32480 docs/Makefile.am | 4 +
32481 docs/reference/pygio-classes.xml | 2 +
32482 docs/reference/pygio-unixinputstream.xml | 202
32483 ++++++++++++++++++++++++++++++
32484 docs/reference/pygio-unixoutputstream.xml | 202
32485 ++++++++++++++++++++++++++++++
32486 4 files changed, 410 insertions(+)
32488 commit 5b71e58117c85634d95d08449eb54079b246e5be
32489 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32490 Date: Sun Jun 21 16:50:03 2009 +0300
32492 Document that many functions got moved gobject -> glib
32494 docs/reference/pygobject-functions.xml | 7 +++++++
32495 1 file changed, 7 insertions(+)
32497 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
32498 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32499 Date: Sat Jun 20 19:23:25 2009 +0200
32501 Add docs for class gio.DataOutputStream
32503 docs/Makefile.am | 2 +
32504 docs/reference/pygio-classes.xml | 1 +
32505 docs/reference/pygio-dataoutputstream.xml | 504
32506 ++++++++++++++++++++++++++++++
32507 3 files changed, 507 insertions(+)
32509 commit 549313fc4886fa3deb31761de6f5400708165d86
32510 Author: Murray Cumming <murrayc@murrayc.com>
32511 Date: Thu Jun 18 18:48:37 2009 +0200
32513 Allow h2def.py to work when there are tabs or multiple spaces after
32514 the struct keyword.
32516 codegen/h2def.py | 8 ++++----
32517 1 file changed, 4 insertions(+), 4 deletions(-)
32519 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
32520 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32521 Date: Mon Jun 15 23:02:34 2009 +0200
32523 Add dpcs for class gio.DataInputStream
32525 docs/Makefile.am | 2 +
32526 docs/reference/pygio-classes.xml | 1 +
32527 docs/reference/pygio-constants.xml | 66 +++
32528 docs/reference/pygio-datainputstream.xml | 799
32529 +++++++++++++++++++++++++++++++
32530 4 files changed, 868 insertions(+)
32532 commit a8b36c343c6850af929c1d5a930f923831b4e637
32533 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
32534 Date: Mon Jun 15 23:25:01 2009 +0300
32536 Fix build when builddir is not the same as srcdir
32540 girepository/Makefile.am | 2 +-
32541 1 file changed, 1 insertion(+), 1 deletion(-)
32543 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
32544 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32545 Date: Mon Jun 15 23:19:47 2009 +0300
32547 Make gio.Emblem constructor new-style
32549 Add optional 'origin' parameter. Expand gio.Emblem documentation and
32550 mark gio.emblem_new_with_origin as sort-of-deprecated.
32552 docs/reference/pygio-emblem.xml | 51
32553 +++++++++++++++++++++++++++++++++++++++--
32554 gio/gio.defs | 5 ++--
32555 2 files changed, 52 insertions(+), 4 deletions(-)
32557 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
32558 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32559 Date: Sat Jun 13 14:44:47 2009 +0200
32561 Add docs for gio.BufferedOutputStream class
32563 docs/Makefile.am | 96 ++++-----
32564 docs/reference/pygio-bufferedoutputstream.xml | 275
32565 ++++++++++++++++++++++++++
32566 docs/reference/pygio-classes.xml | 1 +
32567 3 files changed, 325 insertions(+), 47 deletions(-)
32569 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
32570 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32571 Date: Sat Jun 13 14:38:34 2009 +0200
32573 Fix gio.BufferedInputStream docs
32575 Added the constructor reference and fixed a typo in properties header
32577 docs/reference/pygio-bufferedinputstream.xml | 34
32578 ++++++++++++++++++++++++++--
32579 1 file changed, 32 insertions(+), 2 deletions(-)
32581 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
32582 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32583 Date: Sat Jun 13 01:25:06 2009 +0200
32585 Add docs for gio.BufferedInputStream
32587 docs/Makefile.am | 2 +
32588 docs/reference/pygio-bufferedinputstream.xml | 431
32589 +++++++++++++++++++++++++++
32590 docs/reference/pygio-classes.xml | 1 +
32591 3 files changed, 434 insertions(+)
32593 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
32594 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32595 Date: Sun May 31 18:25:47 2009 +0300
32597 Cleanup GIO overrides to use Python function/method names
32599 Also move several gio.Mount overrides over from 'gio.override' to
32600 existing 'gmount.override'. Part of bug #584289.
32602 gio/gfile.override | 20 ++---
32603 gio/gfileenumerator.override | 6 +-
32604 gio/ginputstream.override | 2 +-
32605 gio/gio.override | 204
32606 -------------------------------------------
32607 gio/gmount.override | 204
32608 +++++++++++++++++++++++++++++++++++++++++++
32609 5 files changed, 218 insertions(+), 218 deletions(-)
32611 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
32612 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32613 Date: Sun May 31 18:56:55 2009 +0300
32615 Make codegen report errors using Python function/method names
32617 Part of bug #584289.
32619 codegen/codegen.py | 9 +++++----
32620 codegen/definitions.py | 10 +++++++++-
32621 2 files changed, 14 insertions(+), 5 deletions(-)
32623 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
32624 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32625 Date: Fri Jun 12 00:12:17 2009 +0200
32627 Fix object type in gio.BufferedInputStream_fill_async
32629 gio/gbufferedinputstream.override | 2 +-
32630 1 file changed, 1 insertion(+), 1 deletion(-)
32632 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
32633 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32634 Date: Tue Jun 9 00:08:21 2009 +0200
32636 Wrap gio.BufferedInputStream.fill_async
32638 Wrap the method gio.BufferedInputStream.fill_async and add a test
32640 gio/Makefile.am | 1 +
32641 gio/gbufferedinputstream.override | 70
32642 +++++++++++++++++++++++++++++++++++++++
32643 gio/gio.override | 1 +
32644 tests/test_gio.py | 25 ++++++++++++++
32645 4 files changed, 97 insertions(+)
32647 commit b7c96b41b287685fe57504e0add3a6f16e649975
32648 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32649 Date: Mon Jun 8 15:42:40 2009 +0200
32651 Add gio.BufferedOutputStream which was forgotten in the types
32654 gio/gio-types.defs | 7 +++++++
32655 1 file changed, 7 insertions(+)
32657 commit 3666f75af4ef2c8e038116aee5afada59d59f689
32658 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32659 Date: Mon Jun 8 14:20:02 2009 +0200
32661 Add docs for gio.MemoryOutputStream
32663 docs/Makefile.am | 2 +
32664 docs/reference/pygio-classes.xml | 1 +
32665 docs/reference/pygio-memoryoutputstream.xml | 175
32666 ++++++++++++++++++++++++++++
32667 3 files changed, 178 insertions(+)
32669 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
32670 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32671 Date: Mon Jun 8 13:30:15 2009 +0200
32673 Split overrides for gio.MemoryOutputStream
32675 gio/Makefile.am | 1 +
32676 gio/gio.override | 1 +
32677 gio/gmemoryoutputstream.override | 45
32678 ++++++++++++++++++++++++++++++++++++++++
32679 gio/goutputstream.override | 24 ---------------------
32680 4 files changed, 47 insertions(+), 24 deletions(-)
32682 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
32683 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32684 Date: Mon Jun 8 11:45:11 2009 +0200
32686 Wrap gio.memory_input_stream_new_from_data
32688 Add the wrapper for gio.memory_input_stream_new_from_data including
32691 docs/Makefile.am | 4 +-
32692 docs/reference/pygio-classes.xml | 1 +
32693 docs/reference/pygio-memoryinputstream.xml | 151
32694 +++++++++++++++++++++++++++++
32695 gio/Makefile.am | 1 +
32696 gio/ginputstream.override | 34 -------
32697 gio/gio.override | 1 +
32698 gio/gmemoryinputstream.override | 91 +++++++++++++++++
32699 tests/test_gio.py | 4 +
32700 8 files changed, 252 insertions(+), 35 deletions(-)
32702 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
32703 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32704 Date: Mon Jun 8 19:15:24 2009 +0200
32706 Fixes whitespaces style issues with girepository.
32708 girepository/Makefile.am | 2 +-
32709 girepository/bank-repository.c | 67
32710 +++++++++++++++++++++---------------------
32711 girepository/bank.h | 2 +-
32712 girepository/btypes.py | 6 ++--
32713 girepository/module.py | 2 +-
32714 5 files changed, 39 insertions(+), 40 deletions(-)
32716 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
32717 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32718 Date: Fri Jun 5 19:03:59 2009 +0200
32720 Removes the header but the modeline in test_girepository.py.
32722 tests/test_girepository.py | 26 +-------------------------
32723 1 file changed, 1 insertion(+), 25 deletions(-)
32725 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
32726 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32727 Date: Wed Jun 3 10:47:58 2009 +0200
32729 Adds overrides modules from PyBank.
32731 girepository/Makefile.am | 3 +++
32732 girepository/importer.py | 3 +--
32733 girepository/overrides/Gdk.py | 14 ++++++++++++++
32734 girepository/overrides/Gtk.py | 8 ++++++++
32735 girepository/overrides/__init__.py | 0
32736 5 files changed, 26 insertions(+), 2 deletions(-)
32738 commit c12964e6a3354d8063355225c94e6d21d621e08b
32739 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32740 Date: Tue Jun 2 23:40:41 2009 +0200
32742 Disables the tests that fail in tests/test_girepository.py.
32744 tests/test_girepository.py | 242
32745 ++++++++++++++++++++++++++++++++++-----------
32746 1 file changed, 182 insertions(+), 60 deletions(-)
32748 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
32749 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32750 Date: Tue Jun 2 23:03:26 2009 +0200
32752 Imports test_girepository.py from former PyBank's
32753 everything_unittest.py.
32755 tests/test_girepository.py | 288
32756 +++++++++++++++++++++++++++++++++++++++++++++
32757 1 file changed, 288 insertions(+)
32759 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
32760 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32761 Date: Thu May 28 17:45:11 2009 +0200
32763 Introduces the girepository module from the former PyBank.
32767 configure.ac | 12 +
32768 girepository/Makefile.am | 52 ++
32769 girepository/__init__.py | 24 +
32770 girepository/bank-argument.c | 379 +++++++++++++
32771 girepository/bank-info.c | 1194
32772 ++++++++++++++++++++++++++++++++++++++++
32773 girepository/bank-repository.c | 237 ++++++++
32774 girepository/bank.c | 155 ++++++
32775 girepository/bank.h | 80 +++
32776 girepository/btypes.py | 300 ++++++++++
32777 girepository/importer.py | 52 ++
32778 girepository/module.py | 224 ++++++++
32779 girepository/repository.py | 51 ++
32780 14 files changed, 2799 insertions(+), 32 deletions(-)
32782 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
32783 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32784 Date: Tue Jun 2 18:28:22 2009 +0200
32786 Fix the docs for gio.FilterOutputStream
32788 docs/reference/pygio-filteroutputstream.xml | 6 +++---
32789 1 file changed, 3 insertions(+), 3 deletions(-)
32791 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
32792 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32793 Date: Tue Jun 2 18:27:00 2009 +0200
32795 Add gio.FilterOutputStream docs
32797 docs/Makefile.am | 2 +
32798 docs/reference/pygio-classes.xml | 1 +
32799 docs/reference/pygio-filteroutputstream.xml | 152
32800 ++++++++++++++++++++++++++++
32801 3 files changed, 155 insertions(+)
32803 commit e2c31f916967229b6547e68013628ce0082cf875
32804 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32805 Date: Tue Jun 2 13:29:59 2009 +0200
32807 Add gio.FilterInputStream docs
32809 docs/Makefile.am | 2 +
32810 docs/reference/pygio-classes.xml | 1 +
32811 docs/reference/pygio-filterinputstream.xml | 152
32812 +++++++++++++++++++++++++++++
32813 3 files changed, 155 insertions(+)
32815 commit 49a467eee445bc75554db0374006722ac075194b
32816 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32817 Date: Tue Jun 2 11:33:20 2009 +0200
32819 Add API appeared in 2.20 but not marked as such in gio docs
32821 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
32822 1 file changed, 30 insertions(+)
32824 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
32825 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32826 Date: Tue Jun 2 10:41:26 2009 +0200
32828 Wrap gio.FileOutputStream.query_info_async
32830 Add the wrapper for gio.FileOutputStream.query_info_async
32831 including docs and a test.
32833 docs/Makefile.am | 2 +
32834 docs/reference/pygio-classes.xml | 1 +
32835 docs/reference/pygio-fileoutputstream.xml | 257
32836 ++++++++++++++++++++++++++++++
32837 gio/Makefile.am | 3 +-
32838 gio/gfileoutputstream.override | 68 ++++++++
32839 gio/gio.override | 1 +
32840 tests/test_gio.py | 27 ++++
32841 7 files changed, 358 insertions(+), 1 deletion(-)
32843 commit 4673577d1f6c3d54423808dd575987092fb05ad2
32844 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32845 Date: Tue Jun 2 10:17:41 2009 +0200
32847 Fix gio.FileInputStream docs
32849 Add implemented interface section and remove a method description
32851 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
32852 1 file changed, 9 insertions(+), 16 deletions(-)
32854 commit 1e1cad02879d514745b5233658654cbe944530a5
32855 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32856 Date: Mon Jun 1 22:54:26 2009 +0200
32858 Fix the method name
32860 gio/gfileinputstream.override | 14 +++++++-------
32861 1 file changed, 7 insertions(+), 7 deletions(-)
32863 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
32864 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32865 Date: Mon Jun 1 22:40:56 2009 +0200
32867 Wrap gio.FileInputStream.query_async
32869 Add the wrapper for gio.FileInputStream.query_async including docs and
32872 docs/Makefile.am | 2 +
32873 docs/reference/pygio-classes.xml | 1 +
32874 docs/reference/pygio-fileinputstream.xml | 221
32875 +++++++++++++++++++++++++++++++
32876 gio/Makefile.am | 1 +
32877 gio/gfileinputstream.override | 68 ++++++++++
32878 gio/gio.override | 1 +
32879 tests/test_gio.py | 27 ++++
32880 7 files changed, 321 insertions(+)
32882 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
32883 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32884 Date: Sun May 31 17:43:16 2009 +0300
32886 Install executable codegen parts with executing permissions
32888 Also add shebang where it was missing. Bug #583979.
32890 codegen/Makefile.am | 23 ++++++++++++-----------
32891 codegen/code-coverage.py | 2 ++
32892 codegen/codegen.py | 2 ++
32893 codegen/createdefs.py | 0
32894 codegen/defsconvert.py | 2 ++
32895 codegen/defsgen.py | 0
32896 codegen/docgen.py | 0
32897 codegen/scmexpr.py | 0
32898 8 files changed, 18 insertions(+), 11 deletions(-)
32900 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
32901 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32902 Date: Sat May 30 16:57:49 2009 +0300
32904 Wrap gio.DataInputStream.read_line_async and read_until_async
32906 Wrap the functions and their corresponding *_finish() functions.
32907 Create 'gdatainputstream.override' for these and move two existing
32908 functions there. Add unit tests. Re-enable synchronous read_line
32909 unit test and adjust it for new official GIO behavior. Bug #584285.
32911 gio/Makefile.am | 1 +
32912 gio/gdatainputstream.override | 250
32913 ++++++++++++++++++++++++++++++++++++++++++
32914 gio/ginputstream.override | 65 -----------
32915 gio/gio.defs | 4 +-
32916 gio/gio.override | 1 +
32917 tests/test_gio.py | 51 ++++++++-
32918 6 files changed, 300 insertions(+), 72 deletions(-)
32920 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
32921 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32922 Date: Sat May 30 17:24:15 2009 +0300
32924 Fix gio.OutputStream.splice_async
32928 gio/goutputstream.override | 8 ++++----
32929 1 file changed, 4 insertions(+), 4 deletions(-)
32931 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
32932 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32933 Date: Wed May 27 21:19:27 2009 +0300
32935 Code maintenance: ignore one more file created by unit tests
32937 tests/.gitignore | 1 +
32938 1 file changed, 1 insertion(+)
32940 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
32941 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32942 Date: Mon May 25 20:20:38 2009 +0200
32944 Update the docs with new 2.20 API
32946 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
32947 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
32948 docs/reference/pygio-mount.xml | 156
32949 +++++++++++++++++++++++++++++++++++++++
32950 3 files changed, 367 insertions(+), 3 deletions(-)
32952 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
32953 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32954 Date: Mon May 25 01:33:08 2009 +0200
32958 add the new API added in gio 2.20, some needs to be wrapped manually
32961 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
32962 gio/unix.defs | 48 +++++++++++++++++++++-----
32963 2 files changed, 146 insertions(+), 8 deletions(-)
32965 commit 0d08df42514fba6abc896814abfee0d2d083c29e
32966 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32967 Date: Mon May 25 00:14:21 2009 +0200
32969 Post release version bump 2.19.0
32971 configure.ac | 2 +-
32972 1 file changed, 1 insertion(+), 1 deletion(-)
32974 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
32975 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32976 Date: Sun May 24 23:56:29 2009 +0200
32978 Update NEWS, release 2.18.0
32980 NEWS | 14 ++++++++++++++
32981 configure.ac | 4 ++--
32982 2 files changed, 16 insertions(+), 2 deletions(-)
32984 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
32985 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32986 Date: Sun May 24 22:18:40 2009 +0200
32988 Add documentation for the gio.OutputStream class
32990 The docs for this class are not completed, missing methods
32992 The index is complete though, it will be completed once all the
32994 are in place so we can ship a (almost) complete reference.
32996 docs/Makefile.am | 2 +
32997 docs/reference/pygio-classes.xml | 3 +-
32998 docs/reference/pygio-outputstream.xml | 140
32999 ++++++++++++++++++++++++++++++++++
33000 3 files changed, 144 insertions(+), 1 deletion(-)
33002 commit 11524cdf6472d9115a812ce431f6767aec5627bc
33003 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33004 Date: Sun May 24 22:12:04 2009 +0200
33006 Wrap gio.OutputStream.splice_async()
33008 wrap gio.OutputStream.splice_async() and add a test.
33010 gio/goutputstream.override | 58
33011 +++++++++++++++++++++++++++++++++++++++++++++-
33012 tests/test_gio.py | 20 ++++++++++++++++
33013 2 files changed, 77 insertions(+), 1 deletion(-)
33015 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
33016 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
33017 Date: Sun May 24 22:55:16 2009 +0300
33019 Add Python version into installed libpyglib name
33021 Do this now, while no-one (as far as we know) links to the library
33022 besides PyGObject itself. Bug #550235.
33024 configure.ac | 2 ++
33025 gio/Makefile.am | 2 +-
33026 glib/Makefile.am | 10 +++++-----
33027 gobject/Makefile.am | 2 +-
33028 4 files changed, 9 insertions(+), 7 deletions(-)
33030 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
33031 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33032 Date: Sun May 24 11:44:24 2009 +0200
33034 Wrap gio.OutputStream.flush_async()
33036 wrap gio.OutputStream.flush_async() and add a test.
33038 gio/goutputstream.override | 47
33039 +++++++++++++++++++++++++++++++++++++++++++++-
33040 tests/test_gio.py | 11 +++++++++++
33041 2 files changed, 57 insertions(+), 1 deletion(-)
33043 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
33044 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33045 Date: Sun May 17 17:29:37 2009 +0200
33047 Add documentation for the gio.FileMonitor class
33049 The docs for this class are not completed, missing methods
33051 The index is complete though, it will be completed once all the
33053 are in place so we can ship a (almost) complete reference.
33055 docs/Makefile.am | 2 +
33056 docs/reference/pygio-classes.xml | 1 +
33057 docs/reference/pygio-filemonitor.xml | 128
33058 +++++++++++++++++++++++++++++++++++
33059 3 files changed, 131 insertions(+)
33061 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
33062 Author: Josselin Mouette <joss@malsain.org>
33063 Date: Sun May 17 18:03:44 2009 +0300
33065 Use 'Requires.private' for libffi in '.pc' files
33067 Correction for patch in bug #550231.
33069 pygobject-2.0-uninstalled.pc.in | 3 ++-
33070 pygobject-2.0.pc.in | 3 ++-
33071 2 files changed, 4 insertions(+), 2 deletions(-)
33073 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
33074 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33075 Date: Wed May 13 21:54:39 2009 +0200
33077 Add wrapper for gio.FileAttributeMatcher
33079 added a boxed type for gio.FileAttributeMatcher which has been
33081 wrapping the gio API. This should probably be done in gio itself.
33083 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
33084 gio/gio-types.defs | 7 +++++++
33085 gio/gio.override | 2 ++
33086 3 files changed, 31 insertions(+), 2 deletions(-)
33088 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
33089 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33090 Date: Wed May 13 22:06:25 2009 +0300
33092 Mark relevant glib.IOChannel methods as METH_NOARGS
33094 Additionally fix glib.IOChannel.set_close_on_unref: was marked
33095 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
33097 glib/pygiochannel.c | 83
33098 +++++++++++++----------------------------------------
33099 1 file changed, 20 insertions(+), 63 deletions(-)
33101 commit 002915e5f458fec5a89766a54e8119a70a80caa7
33102 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33103 Date: Tue May 12 20:37:24 2009 +0200
33105 Add documentation for the gio.FileInfo class
33107 The docs for this class are not completed, missing methods
33109 The index is complete though, it will be completed once all the
33111 are in place so we can ship a (almost) complete reference.
33113 docs/Makefile.am | 2 +
33114 docs/reference/pygio-classes.xml | 1 +
33115 docs/reference/pygio-fileinfo.xml | 346
33116 ++++++++++++++++++++++++++++++++++++++
33117 3 files changed, 349 insertions(+)
33119 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
33120 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33121 Date: Sat May 9 16:46:04 2009 +0300
33123 Retire hand-written ChangeLog; autocreate from Git history
33125 Basically copied over from GLib source tree.
33128 ---------------------------------------------------
33129 ChangeLog.pre-2.18 | 3608
33130 ++++++++++++++++++++++++++++++++++++++++++++++++++++
33132 3 files changed, 3640 insertions(+), 3606 deletions(-)
33134 commit 23556bdbcf9cf06db866901fb822dd78a9043648
33135 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33136 Date: Sat May 9 00:03:05 2009 +0200
33138 Fix a bug in InputStream.skip_async
33140 use the count argument instead of buffer_size which is always zero
33142 gio/ginputstream.override | 3 ++-
33143 1 file changed, 2 insertions(+), 1 deletion(-)
33145 commit ed6b06315c17441b41c001d38537c904b8fe18de
33146 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33147 Date: Sat May 9 00:02:33 2009 +0200
33149 Add docs for the gio.InputStream class
33151 docs/Makefile.am | 2 +
33152 docs/reference/pygio-classes.xml | 1 +
33153 docs/reference/pygio-inputstream.xml | 730
33154 +++++++++++++++++++++++++++++++++++
33155 3 files changed, 733 insertions(+)
33157 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
33158 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33159 Date: Mon May 4 23:40:28 2009 +0200
33161 Wrap gio.InputStream.skip_async()
33163 wrap gio.InputStream.skip_async() and add a test.
33165 gio/ginputstream.override | 50
33166 ++++++++++++++++++++++++++++++++++++++++++++++-
33167 tests/test_gio.py | 20 +++++++++++++++++++
33168 2 files changed, 69 insertions(+), 1 deletion(-)
33170 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
33171 Author: Siavash Safi <siavash@siavashs.org>
33172 Date: Mon May 4 15:46:49 2009 +0430
33174 Add -n --namespace option and the code to remove
33175 dll API in headers, Added documentation
33177 Patch from bug #579275
33180 codegen/h2def.py | 133
33181 +++++++++++++++++++++++++++++++++++++++++++++----------
33182 2 files changed, 117 insertions(+), 24 deletions(-)
33184 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
33185 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33186 Date: Sat May 2 23:54:52 2009 +0300
33188 Properly mark glib.get_user_special_dir() as a keywords method
33192 glib/glibmodule.c | 2 +-
33193 1 file changed, 1 insertion(+), 1 deletion(-)
33195 commit f466dca880cc6ea68b9fe236943eea7a07d33520
33196 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33197 Date: Sun May 3 11:03:25 2009 +0200
33199 Add docs for the gio.LoadableIcon class
33201 docs/Makefile.am | 2 +
33202 docs/reference/pygio-classes.xml | 1 +
33203 docs/reference/pygio-loadableicon.xml | 198
33204 ++++++++++++++++++++++++++++++++++
33205 3 files changed, 201 insertions(+)
33207 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
33208 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33209 Date: Sun May 3 01:21:55 2009 +0200
33211 Add docs for the gio.ThemedIcon class
33213 docs/Makefile.am | 2 +
33214 docs/reference/pygio-classes.xml | 1 +
33215 docs/reference/pygio-themedicon.xml | 204
33216 ++++++++++++++++++++++++++++++++++++
33217 3 files changed, 207 insertions(+)
33219 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
33220 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33221 Date: Sat May 2 12:25:19 2009 +0200
33223 post release version bump to 2.17.1
33225 configure.ac | 2 +-
33226 1 file changed, 1 insertion(+), 1 deletion(-)
33228 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
33229 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33230 Date: Fri May 1 23:40:31 2009 +0200
33232 Fix the class title
33234 docs/reference/pygio-mountoperation.xml | 2 +-
33235 1 file changed, 1 insertion(+), 1 deletion(-)
33237 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
33238 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33239 Date: Fri May 1 22:24:33 2009 +0200
33241 Add docs for the gio.MountOperation class
33243 docs/Makefile.am | 2 +
33244 docs/reference/pygio-classes.xml | 1 +
33245 docs/reference/pygio-constants.xml | 107 +++++
33246 docs/reference/pygio-mountoperation.xml | 726
33247 ++++++++++++++++++++++++++++++++
33248 4 files changed, 836 insertions(+)
33250 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
33251 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33252 Date: Thu Apr 30 22:13:06 2009 +0200
33254 Update NEWS, release 2.17.0
33257 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33258 1 file changed, 93 insertions(+)
33260 commit 47389217d1a65a8e3f404d486c508cf5d3164756
33261 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33262 Date: Thu Apr 30 22:47:19 2009 +0300
33264 Fix memory leak in gio.File.query_info_async()
33266 After the recent patch it would leak exception data if old argument
33267 order was used. Properly decref the objects.
33269 gio/gfile.override | 4 ++++
33270 1 file changed, 4 insertions(+)